id
stringlengths
33
33
doc_url
stringlengths
33
33
title
stringlengths
13
211
publication_date
timestamp[s]
update_date
timestamp[s]
authors
stringlengths
6
16.6k
category_primary
stringclasses
60 values
category_all
stringlengths
5
132
abstract
stringlengths
123
1.99k
embeddings
listlengths
768
768
http://arxiv.org/abs/2403.06611v1
http://arxiv.org/pdf/2403.06611v1
MedKP: Medical Dialogue with Knowledge Enhancement and Clinical Pathway Encoding
2024-03-11T10:57:45
2024-03-11T10:57:45
Jiageng Wu, Xian Wu, Yefeng Zheng, Jie Yang
cs.CL
cs.CL, cs.AI
With appropriate data selection and training techniques, Large Language Models (LLMs) have demonstrated exceptional success in various medical examinations and multiple-choice questions. However, the application of LLMs in medical dialogue generation-a task more closely aligned with actual medical practice-has been less explored. This gap is attributed to the insufficient medical knowledge of LLMs, which leads to inaccuracies and hallucinated information in the generated medical responses. In this work, we introduce the Medical dialogue with Knowledge enhancement and clinical Pathway encoding (MedKP) framework, which integrates an external knowledge enhancement module through a medical knowledge graph and an internal clinical pathway encoding via medical entities and physician actions. Evaluated with comprehensive metrics, our experiments on two large-scale, real-world online medical consultation datasets (MedDG and KaMed) demonstrate that MedKP surpasses multiple baselines and mitigates the incidence of hallucinations, achieving a new state-of-the-art. Extensive ablation studies further reveal the effectiveness of each component of MedKP. This enhancement advances the development of reliable, automated medical consultation responses using LLMs, thereby broadening the potential accessibility of precise and real-time medical assistance.
[ -0.30332788825035095, -0.631285548210144, 0.9319556951522827, 0.021695274859666824, -0.21753375232219696, 0.13239149749279022, -0.01886293664574623, -0.6513636112213135, 0.5613548755645752, 0.8213322162628174, -0.7643119096755981, -0.5471705198287964, -0.5377416610717773, 0.12564390897750854, 0.16701263189315796, 0.5854132175445557, 0.22853131592273712, 0.8661952018737793, -0.22876474261283875, 0.05316033959388733, -0.6143156290054321, -0.5235681533813477, -0.7832058072090149, -0.5405546426773071, 0.4484045207500458, 0.16690462827682495, 0.5838454961776733, 0.38421791791915894, 0.6792057752609253, 0.27870863676071167, 0.11077460646629333, 0.5725218653678894, -0.11032962799072266, 0.5217160582542419, 0.055015359073877335, -0.4426129460334778, -0.4118959605693817, -0.4322952628135681, 0.43149349093437195, 0.9207345843315125, -0.32402539253234863, -0.23853319883346558, -0.10662280768156052, 0.8091964721679688, -0.45694461464881897, 0.12191864103078842, -0.47796228528022766, 0.24581970274448395, 0.25530171394348145, -0.6189963817596436, -0.2581321895122528, -0.37203294038772583, 0.12824758887290955, -0.4897908866405487, -0.1161101683974266, -0.018528901040554047, 0.508416473865509, 0.6216394901275635, -0.2029111087322235, -0.5592131018638611, -0.7498888969421387, 0.17342866957187653, -0.9292190074920654, 0.567793071269989, 0.5381177663803101, 0.433936208486557, -0.516703724861145, -0.7777203321456909, -0.34977054595947266, -0.21098020672798157, -0.17324088513851166, 0.3429683446884155, 0.20670174062252045, 0.67275470495224, 0.2592350244522095, 0.24253533780574799, -0.16967038810253143, 0.028580673038959503, -0.3040124773979187, -0.3754937946796417, 0.21815048158168793, 0.6041193604469299, 0.17306295037269592, -0.20054717361927032, -0.06748038530349731, 0.2548741102218628, -0.7340455651283264, -0.11376112699508667, -0.12424735724925995, -0.0032582206185907125, -0.1192769855260849, 0.6769881844520569, -0.2543531060218811, 0.8403489589691162, -0.06578488647937775, -0.4234485924243927, 0.029529044404625893, -0.21202689409255981, -0.3941749632358551, 0.07867222279310226, 0.6465529203414917, 0.8325448036193848, -0.1851205974817276, -0.14364270865917206, 0.2952762544155121, 0.22915637493133545, 0.44324931502342224, -0.7409487366676331, -0.2001425325870514, 0.5486548542976379, -0.6935777068138123, -0.32762646675109863, -0.3260148763656616, -0.7645165324211121, -0.8720129132270813, -0.45878180861473083, 0.03266926109790802, -0.5327739715576172, -0.1798170953989029, 0.4649997353553772, 0.006066030357033014, 0.22149740159511566, 0.4234723150730133, -0.7496790885925293, 0.33764827251434326, 0.5590900182723999, 0.6141451001167297, 0.07207071036100388, 0.3580899238586426, -0.2622796297073364, 0.30040839314460754, -0.39716994762420654, 0.9039989709854126, -0.7102496027946472, -0.35663238167762756, 0.2656680941581726, 0.005921552423387766, 0.12799809873104095, -0.8005640506744385, 0.5418912768363953, -0.32229480147361755, 0.27620065212249756, -0.2918585538864136, -0.7131670117378235, -0.002863114234060049, 0.3452211022377014, -0.1861642301082611, 0.5909315943717957, 0.16926944255828857, -0.5753178000450134, 0.52988600730896, -0.7817872762680054, -0.12747018039226532, 0.2376381903886795, -0.6937703490257263, -0.043744973838329315, 0.05102366954088211, 0.2985805869102478, 0.39341238141059875, -0.49566927552223206, 0.13554225862026215, -0.25936228036880493, 0.08374461531639099, 0.2911031246185303, -0.3384140431880951, 0.4681893587112427, 0.277228981256485, 0.033725351095199585, 0.041066959500312805, -0.9307883381843567, 0.11677046120166779, -0.04476318135857582, -0.4977157711982727, -0.2980669438838959, -0.23628956079483032, -0.4916796088218689, 0.49277836084365845, -0.09980610758066177, -0.6504108905792236, 0.38720831274986267, -0.8883370161056519, 0.17912401258945465, 0.5540826320648193, 0.5283952951431274, 0.06728657335042953, -0.5062330961227417, 0.5692930221557617, 0.18904106318950653, 0.2585609555244446, -0.21071061491966248, -0.8460203409194946, -0.7792350649833679, -0.19648171961307526, -0.09405814111232758, 0.6089645028114319, -0.9312289953231812, 0.47774583101272583, -0.17520351707935333, -0.3390541076660156, -0.9049374461174011, -0.048709936439991, 0.2383027970790863, 1.0693022012710571, 0.35671865940093994, -0.2751210629940033, -0.6585267186164856, -0.771390438079834, 0.042211923748254776, -0.24427105486392975, -0.32442399859428406, 0.6364452838897705, -0.12466689199209213, -0.5124187469482422, 0.7110031843185425, -0.5485933423042297, -0.35393184423446655, -0.15691663324832916, -0.2102348357439041, 0.23277558386325836, 0.3058026134967804, 0.16752320528030396, -0.2908284664154053, -0.5372448563575745, -0.1031767874956131, -0.7533220052719116, -0.4197808504104614, -0.22370098531246185, -0.18057769536972046, 0.12465228140354156, 0.31217068433761597, -0.6102725267410278, 0.3046010732650757, 0.36743825674057007, -0.4681835174560547, 0.4326213598251343, -0.34205538034439087, 0.5739498734474182, -1.3112932443618774, -0.06883678585290909, -0.41134369373321533, -0.0883714109659195, -0.7865614891052246, -0.28224724531173706, -0.1985165774822235, -0.03865006938576698, -0.19583237171173096, 0.42755964398384094, -0.05432919040322304, 0.07476160675287247, -0.29846927523612976, 0.04737928882241249, -0.20246873795986176, 0.48649075627326965, 0.1752437949180603, 0.2546195387840271, 0.552345335483551, -0.5690519213676453, 0.5895922780036926, 0.5194529294967651, -0.2174859493970871, 0.8236656785011292, -0.024113455787301064, 0.18683785200119019, -0.14875191450119019, 0.2788943350315094, -0.763124406337738, -0.4302850365638733, 0.5669390559196472, -0.44543445110321045, 0.4017564356327057, -0.3040247857570648, -0.452662855386734, -0.4028843343257904, -0.00771735655143857, 0.2098126858472824, 0.5709241628646851, -0.3575931787490845, 0.49562010169029236, 0.3933982849121094, -0.3826749622821808, -0.482346773147583, -0.44681844115257263, 0.29495495557785034, -0.02670663222670555, -0.7019277811050415, -0.023960992693901062, -0.16511042416095734, -0.15939749777317047, -0.42176926136016846, -0.1510927975177765, -0.011025951243937016, -0.36157557368278503, 0.3933941721916199, 0.3773413300514221, -0.2073146104812622, 0.1634804606437683, 0.29722893238067627, -0.31806325912475586, 0.43616729974746704, -0.30490830540657043, 0.7295424342155457, 0.4409237205982208, -0.7430575489997864, -0.551898717880249, 0.3877742886543274, 0.5295409560203552, 0.3528192937374115, 0.7042412161827087, 0.28201693296432495, -0.5670264363288879, 0.12843145430088043, -0.8679447770118713, -0.5630146265029907, -0.4739370048046112, 0.32105767726898193, -0.08798005431890488, -0.7290621995925903, 0.4308061897754669, -0.43057140707969666, 0.047895483672618866, 0.0804995745420456, 0.7795703411102295, -0.15753909945487976, 1.2837573289871216, 0.2216479331254959, 0.2127796858549118, -0.10635370016098022, 0.021815869957208633, 0.19628511369228363, -0.8840863108634949, -0.6607664823532104, -0.2650049328804016, 0.023621361702680588, -0.37572312355041504, -0.5089725255966187, 0.6919359564781189, -0.09575724601745605, -0.001900986535474658, -0.20201250910758972, -0.6833016276359558, 0.22388353943824768, 0.2115652859210968, 0.5355496406555176, 0.43208372592926025, 0.15317969024181366, -0.49620527029037476, -0.5800994038581848, -0.9866750836372375, -0.3070482313632965, 1.2340891361236572, 0.4434049427509308, 0.7109261155128479, -0.18045847117900848, 0.3530709743499756, 0.0913541316986084, 0.32833951711654663, -0.7862087488174438, 0.5544231534004211, 0.14612266421318054, -0.20150889456272125, 0.13165751099586487, -0.4290563464164734, -0.6989563703536987, 0.07702163606882095, -0.5406157374382019, -0.5955209732055664, -0.07205250859260559, 0.326724648475647, -0.6595529317855835, 0.29043591022491455, -0.5259228348731995, 0.4269205629825592, -0.09098157286643982, -0.2495407909154892, -0.2776198983192444, -0.9247304797172546, 0.3000003397464752, -0.07191278785467148, 0.19136682152748108, 0.08824022859334946, -0.14118140935897827, 0.5098841190338135, -0.5688831210136414, 0.8041639924049377, -0.3207550644874573, -0.28349432349205017, -0.1410769671201706, 0.038866374641656876, 0.4873100817203522, 0.16276700794696808, 0.3054961562156677, 0.03014420159161091, 0.011114386841654778, -0.014127461239695549, -0.7683589458465576, 0.5175341367721558, -0.40925106406211853, -0.5652598738670349, 0.0541643425822258, -0.774341881275177, -0.8843904137611389, 0.0009571862174198031, 0.10760375112295151, 0.5543171167373657, 0.1574333757162094, -0.04583924263715744, 0.5544394254684448, -0.7012670636177063, -0.19597721099853516, 0.6678351163864136, -0.30343544483184814, -0.590285062789917, 0.49723008275032043, -0.16731984913349152, 0.59784996509552, 0.32441118359565735, 0.26941895484924316, -0.42795056104660034, -0.5638598799705505, -0.16394518315792084, 0.5342384576797485, -1.1476880311965942, -0.26756083965301514, -0.9804296493530273, -0.5486102104187012, -0.68781977891922, -0.2164863795042038, -0.09166530519723892, -0.428189754486084, 0.1016494408249855, -0.022186772897839546, 0.33790987730026245, 0.7231776118278503, -0.07242885231971741, 0.20016984641551971, -0.976012110710144, 0.5150244832038879, 0.03624366223812103, 0.5332064032554626, -0.12207293510437012, -0.28104713559150696, -0.27278146147727966, 0.11762665957212448, -0.20385703444480896, -0.9101912379264832, 0.32748958468437195, -0.20074698328971863, 0.5091733336448669, 0.8048518300056458, 0.054325252771377563, 0.8917403221130371, -0.6575214862823486, 0.7747980356216431, 0.4745995104312897, -0.20863685011863708, 0.5469062328338623, -0.19535358250141144, 0.3020917773246765, 0.31976354122161865, 0.2681155204772949, -0.850614070892334, -0.9247527122497559, -0.4795359671115875, -0.4567945599555969, 0.5018641948699951, 0.06299978494644165, -0.1911105364561081, -0.014962075278162956, 0.4544334411621094, 0.04781901463866234, 0.1546878069639206, -0.38081276416778564, -0.31045958399772644, 0.0891878753900528, -0.3522537052631378, 0.2909219563007355, -0.33061909675598145, -0.5725564360618591, -0.27415919303894043, 0.513831615447998, 0.014897206798195839, 0.58939528465271, 0.573555588722229, 0.27604517340660095, -0.07922602444887161, 0.22102802991867065, 0.6726206541061401, 0.47939690947532654, -0.001998898573219776, 0.0627044066786766, 0.16344423592090607, -0.7956103086471558, 0.017170336097478867, -0.10667551308870316, 0.24284841120243073, 0.05957924947142601, 0.3712071180343628, 0.4830586016178131, -0.12594938278198242, -0.8143230080604553, 0.11050327867269516, -0.07705328613519669, -0.23521699011325836, -0.121049664914608, 0.1771394908428192, 0.01433733943849802, 0.3482152223587036, 0.09372939169406891, 0.05003674700856209, 0.14340081810951233, -0.12040436267852783, 0.2636404037475586, 0.5437900424003601, -0.3563433885574341, 0.10066147893667221, 0.7301687002182007, 0.3372064530849457, -0.4457528293132782, 0.4085582494735718, 0.30026155710220337, -0.3396204113960266, 0.27697789669036865, 0.5285910367965698, 0.6081872582435608, -0.1906171441078186, -0.005175475031137466, 0.39996564388275146, 0.27667155861854553, 0.22510911524295807, 0.3150770664215088, -0.04573614150285721, -0.6274268627166748, -0.5966809391975403, -0.42870762944221497, -0.5133920907974243, 0.5592291355133057, -0.28957241773605347, 0.24986693263053894, -0.43734827637672424, -0.22579413652420044, -0.0923587828874588, -0.13906626403331757, -0.36574411392211914, 0.0265114177018404, 0.10452684015035629, 0.8950490355491638, -0.5804168581962585, 0.6338021755218506, 0.4650757312774658, -0.18741971254348755, -0.5779950618743896, -0.19162413477897644, 0.04650777950882912, -0.9653773903846741, 0.37627026438713074, 0.04689484462141991, -0.00035523937549442053, -0.17116451263427734, -0.3865044414997101, -0.5168951153755188, 0.9248831272125244, 0.40422654151916504, -0.36377599835395813, -0.18503260612487793, 0.7563682794570923, 0.5655242204666138, -0.5725297927856445, 0.1214374303817749, 0.45440390706062317, 0.2588975131511688, 0.2892848253250122, -0.903601884841919, 0.29554614424705505, -0.10310851782560349, -0.2888390123844147, 0.2168450504541397, -0.0070319510996341705, -0.21496060490608215, -0.18925540149211884, -0.06475293636322021, 0.19390104711055756, -0.05307888239622116, 0.31286749243736267, 0.13161608576774597, 0.36436641216278076, 0.44177696108818054, 0.6209008097648621, -0.027046170085668564, 0.8519809246063232, -0.8135393857955933, -0.3126792907714844, 0.9446719288825989, -0.19949081540107727, 0.33062997460365295, 0.6218884587287903, -0.19926714897155762, 0.24640046060085297, 0.6082221865653992, 0.11203650385141373, 0.500969409942627, 0.02660875767469406, -0.5699038505554199, -0.3958578407764435, -0.2461315244436264, -0.5155817270278931, -0.03644588962197304, 0.7248057126998901, -0.5965947508811951, -0.1003497764468193, 0.040174275636672974, 0.0011721355840563774, -0.08373496681451797, -0.2822795510292053, 1.136957049369812, 0.2472716122865677, -0.8110601305961609, 0.5365437865257263, -0.3368575870990753, 0.2982085347175598, -0.9697754383087158, -0.39401617646217346, -0.09463440626859665, 0.10316304117441177, -0.3825942277908325, -0.5388188362121582, 0.1666349619626999, -0.32405611872673035, 0.03972630947828293, -0.09890903532505035, 0.9826934933662415, -0.5369876027107239, -0.4293690621852875, 0.1555156707763672, 0.3658430874347687, 0.26000022888183594, 0.37667593359947205, -0.7305202484130859, -0.24743042886257172, 0.04236564785242081, 0.18342822790145874, 0.2390098124742508, 0.2900872230529785, 0.4782966077327728, 0.9474363923072815, 0.8355273604393005, 0.7202995419502258, 0.01971467211842537, 0.3612273633480072, 0.941001832485199, -0.38380131125450134, -0.4583693742752075, -0.5766022801399231, 0.5117524862289429, -0.26662421226501465, 0.1906713843345642, 0.4905908405780792, 0.5069995522499084, 0.37930911779403687, -0.03389090672135353, 0.7317262291908264, 0.27046462893486023, 0.7134683728218079, -0.776944637298584, 0.7692455649375916, -0.28187793493270874, 0.4604736268520355, -0.4083525538444519, -0.5160462856292725, -0.3864108622074127, 0.5055202841758728, 0.021455205976963043, -0.06051355600357056, 0.7390680313110352, 0.8212318420410156, 0.2059721201658249, -0.051434896886348724, 0.5639799237251282, 0.4029060900211334, 0.34350672364234924, 0.6764110326766968, 0.8317341804504395, -0.06051158159971237, 0.3991042971611023, -0.255033016204834, -0.3174766004085541, 0.06131352111697197, -0.5748679041862488, -0.8867917656898499, -0.4676399230957031, -0.1267109215259552, -0.7020883560180664, -0.039803676307201385, 1.1546372175216675, 0.5582248568534851, -0.4175289571285248, 0.010059460066258907, -0.174531489610672, -0.16174449026584625, -0.01687268540263176, -0.20558378100395203, 0.1992790549993515, -0.5622453689575195, -0.269098699092865, 0.46409377455711365, 0.59503173828125, 0.20358695089817047, -0.4178951680660248, -0.35051482915878296, 0.23981942236423492, 0.018533218652009964, 0.3782161474227905, 0.06091722100973129, -0.5634810328483582, -0.05416536331176758, 0.16806863248348236, 0.04894628748297691, 0.4686293303966522, 1.0876046419143677, -0.7707475423812866, 0.8149415254592896, 0.16928009688854218, 0.8078404068946838, 0.18045379221439362, -0.22515609860420227, 0.849072277545929, -0.4224531948566437, 0.13943912088871002, 0.3787311017513275, 0.32232025265693665, 0.1807641088962555, -0.49265727400779724, 0.3986629247665405, 0.31136202812194824, -0.5623964667320251, -0.7649868130683899, 0.45420247316360474, -0.6483467221260071, -0.15434858202934265, 0.9664519429206848, 0.10238741338253021, 0.27716100215911865, -0.6589909791946411, -0.5535991787910461, 0.2008068561553955, -0.12172139436006546, 1.0722476243972778, 0.6245709657669067, -0.5715888142585754, -0.05473591014742851, -0.8578199148178101, 0.9809194207191467, 0.34054797887802124, -1.074892282485962, 0.14466506242752075, 0.6552243232727051, 0.016776759177446365, 0.17451073229312897, 0.9557015299797058, -0.2857474088668823, 0.2815248966217041, -0.023280436173081398, -0.1386563926935196, 0.005378061439841986, 0.007887428626418114, -0.2037591189146042, 0.0040073818527162075, -0.05492042005062103, -0.04846486449241638 ]
http://arxiv.org/abs/2403.06609v2
http://arxiv.org/pdf/2403.06609v2
Guiding Clinical Reasoning with Large Language Models via Knowledge Seeds
2024-03-11T10:53:20
2024-06-08T04:14:46
Jiageng WU, Xian Wu, Jie Yang
cs.CL
cs.CL, cs.AI
Clinical reasoning refers to the cognitive process that physicians employ in evaluating and managing patients. This process typically involves suggesting necessary examinations, diagnosing patients' diseases, and deciding on appropriate therapies, etc. Accurate clinical reasoning requires extensive medical knowledge and rich clinical experience, setting a high bar for physicians. This is particularly challenging in developing countries due to the overwhelming number of patients and limited physician resources, contributing significantly to global health inequity and necessitating automated clinical reasoning approaches. Recently, the emergence of large language models (LLMs) such as ChatGPT and GPT-4 have demonstrated their potential in clinical reasoning. However, these LLMs are prone to hallucination problems, and the reasoning process of LLMs may not align with the clinical decision path of physicians. In this study, we introduce a novel framework, In-Context Padding (ICP), designed to enhance LLMs with medical knowledge. Specifically, we infer critical clinical reasoning elements (referred to as knowledge seeds) and use these as anchors to guide the generation process of LLMs. Experiments on two clinical question datasets demonstrate that ICP significantly improves the clinical reasoning ability of LLMs.
[ -0.16715148091316223, -0.7161188125610352, 1.0865654945373535, 0.24247246980667114, -0.2260054498910904, -0.07165078073740005, -0.3819049298763275, -0.2902514636516571, -0.015483253635466099, 0.5511935353279114, -0.25784510374069214, -0.6405534744262695, -0.6261904835700989, 0.010952017270028591, 0.18958379328250885, 0.7572678327560425, -0.1330210268497467, 0.32486703991889954, -0.441845566034317, -0.10582315921783447, -0.6347272396087646, -0.45133474469184875, -0.4172201454639435, -0.33655309677124023, 0.02722688391804695, 0.593255877494812, 0.5655418038368225, 0.5672846436500549, 0.4236690104007721, 0.18684163689613342, -0.0337388701736927, 0.43137848377227783, -0.2708342373371124, 0.42197126150131226, -0.16519294679164886, -0.35036394000053406, -0.28677037358283997, -0.2563140392303467, 0.17584767937660217, 0.9620624780654907, -0.21617478132247925, -0.37423810362815857, 0.07330957800149918, 0.27121347188949585, -0.45448848605155945, 0.09304502606391907, -0.6446791887283325, 0.17543691396713257, -0.013561164028942585, -0.6602100133895874, -0.48550572991371155, -0.4251597821712494, 0.3522661328315735, -0.666600227355957, 0.27740490436553955, -0.13781410455703735, 0.5515400767326355, 0.1350395828485489, -0.3877004384994507, -0.563098669052124, -0.28623244166374207, 0.6995384693145752, -0.8905502557754517, 0.0455598384141922, 0.6644256114959717, 0.1985461413860321, -0.5409043431282043, -0.5679135918617249, -0.4845139980316162, -0.15194660425186157, -0.19867904484272003, -0.11639324575662613, 0.23784895241260529, 0.35082754492759705, 0.3438475430011749, 0.1517297774553299, -0.3682311475276947, -0.021637236699461937, -0.20019440352916718, -0.12430086731910706, 0.48609793186187744, 0.07836979627609253, 0.5157222151756287, -0.05683860555291176, -0.2819055914878845, -0.010962819680571556, -1.050270438194275, -0.0595603883266449, -0.4944103956222534, 0.1266895830631256, -0.12956508994102478, 0.3771113455295563, -0.04136452078819275, 0.8370545506477356, -0.14018461108207703, -0.5648074746131897, -0.05134373903274536, 0.11777788400650024, -0.38737913966178894, 0.36666086316108704, 0.5916340351104736, 0.5709483623504639, 0.18675296008586884, -0.12166494131088257, 0.17533434927463531, 0.24152995645999908, 0.34229737520217896, -0.8150399327278137, -0.2399379312992096, 0.39986279606819153, -0.45126283168792725, -0.42223411798477173, -0.3260907828807831, -0.7521892189979553, -0.7828400135040283, -0.1582481414079666, 0.18183065950870514, -0.8398979306221008, -0.023385748267173767, 0.4153008460998535, -0.03236759454011917, 0.19192413985729218, 0.6317322254180908, -0.8603999018669128, 0.2014438360929489, 0.7001107335090637, 0.7363360524177551, 0.18523678183555603, 0.1865829974412918, -0.4039165675640106, 0.5224636793136597, -0.420204758644104, 0.8694053292274475, -0.8071144223213196, -0.6365030407905579, 0.2855933904647827, -0.07890097796916962, -0.20363552868366241, -0.4856698513031006, 0.6635378003120422, -0.19786886870861053, 0.1418641060590744, -0.5802754163742065, -0.7789555788040161, -0.14037400484085083, 0.5056736469268799, 0.03640829399228096, 0.506210207939148, 0.10548614710569382, -0.6686165928840637, 0.6492123007774353, -0.5976781249046326, -0.5416334271430969, 0.32989850640296936, -0.8964972496032715, -0.3069194555282593, 0.06079000607132912, 0.6569664478302002, 0.5166405439376831, -0.627764105796814, 0.40868380665779114, -0.4347856044769287, -0.10681846737861633, 0.35314637422561646, -0.09764021635055542, 0.6060310006141663, 0.31327617168426514, -0.36546480655670166, 0.04900050163269043, -0.6321888566017151, 0.12248382717370987, -0.05514689162373543, -0.040190014988183975, -0.5062462687492371, 0.054761748760938644, -0.4030805826187134, 0.31407031416893005, -0.39321377873420715, -0.502434253692627, 0.6568002700805664, -0.3376392126083374, 0.7140219211578369, 0.5328047871589661, 0.395649790763855, 0.132267028093338, -0.3497283458709717, 0.6754617691040039, 0.10586326569318771, 0.20540779829025269, -0.36118730902671814, -0.758564829826355, -0.6964067816734314, -0.25011053681373596, -0.18495109677314758, 0.3673607409000397, -0.7584159970283508, 0.27183839678764343, -0.19561438262462616, -0.40245234966278076, -0.4741578698158264, -0.022899171337485313, 0.37282681465148926, 0.8941664099693298, 0.49523138999938965, -0.04824824258685112, -0.314222514629364, -0.6153789162635803, 0.024698780849575996, -0.06461226940155029, 0.1393292099237442, 0.42944595217704773, 0.4943667948246002, -0.20308999717235565, 0.7654024958610535, -0.7234559059143066, -0.42499881982803345, -0.40038010478019714, -0.1594645380973816, 0.0984448492527008, 0.6992948055267334, 0.22570262849330902, -0.6529860496520996, -0.2951717674732208, 0.13128484785556793, -1.0646976232528687, -0.23399630188941956, -0.24306946992874146, -0.3530358076095581, -0.24387769401073456, 0.7472746968269348, -0.7873733043670654, 0.5046833753585815, 0.2821941375732422, -0.6379464864730835, 0.44550657272338867, -0.5754354596138, 0.1458214968442917, -1.11588716506958, -0.07393275946378708, 0.0020267509389668703, -0.09802959114313126, -0.5675875544548035, 0.004423609934747219, 0.11450935900211334, -0.05299043655395508, -0.08709301799535751, 0.6006424427032471, -0.33718279004096985, 0.39381083846092224, -0.23242180049419403, 0.038033295422792435, 0.22442911565303802, 0.07182111591100693, 0.3642491102218628, 0.6769735813140869, 0.5098918080329895, -0.6248107552528381, -0.015098039992153645, 0.5317767262458801, -0.5658941268920898, 0.6346133351325989, -0.6025940179824829, -0.043376389890909195, 0.00648422772064805, 0.4950995445251465, -0.5361312627792358, -0.4479809105396271, 0.004545492120087147, -0.27121198177337646, 0.3243851959705353, -0.5251886248588562, -0.3961184024810791, -0.35662922263145447, 0.11269216984510422, 0.5426605343818665, 0.43994179368019104, -0.32963624596595764, 0.12771329283714294, 0.5461408495903015, -0.2983179986476898, -0.3899688720703125, -0.5534678101539612, 0.0654284730553627, -0.2591685652732849, -0.7071981430053711, 0.45393627882003784, 0.10765065252780914, -0.3898659944534302, -0.2607771158218384, 0.1893361359834671, -0.03541649878025055, -0.17518945038318634, 0.31181800365448, 0.2179262489080429, -0.3365890383720398, 0.6209558844566345, 0.3279690146446228, -0.14358475804328918, 0.027576643973588943, -0.4914950430393219, 0.47019436955451965, -0.013419453985989094, -0.7123841047286987, -0.1442435085773468, 0.37538859248161316, 0.5995429158210754, -0.15916307270526886, 0.8889504075050354, 0.0661069005727768, -0.5238426923751831, -0.27226927876472473, -0.9225340485572815, -0.44283774495124817, -0.3962370753288269, 0.13818715512752533, -0.269422322511673, -0.8809001445770264, 0.258735716342926, -0.2911149263381958, -0.234760582447052, 0.20719586312770844, 0.8218762278556824, -0.10927601903676987, 1.0539581775665283, 0.44796866178512573, 0.29012390971183777, -0.35594120621681213, -0.19879592955112457, 0.3100999593734741, -0.9706023335456848, -0.36683759093284607, -0.3139570951461792, -0.013689090497791767, -0.37729015946388245, -0.9621685743331909, 0.8410760760307312, 0.21195299923419952, -0.1416662484407425, -0.20372426509857178, -0.6702725887298584, 0.3736876845359802, 0.32482799887657166, 0.26814842224121094, 0.19334185123443604, -0.09126512706279755, -0.6552764773368835, -0.07076576352119446, -0.987276554107666, -0.6138978600502014, 0.9707971215248108, 0.2763651907444, 0.5637447834014893, -0.04795096069574356, 0.3362266719341278, 0.053022630512714386, 0.33963820338249207, -0.3569904863834381, 0.4130594730377197, 0.1323244720697403, -0.3212827444076538, -0.20631888508796692, -0.1885858178138733, -0.9984002709388733, 0.39961686730384827, -0.2597256898880005, -0.7301278710365295, 0.30725452303886414, 0.1951725035905838, -0.7052698731422424, 0.3482481837272644, -0.5438007712364197, 0.8222905397415161, -0.1419927179813385, -0.42072075605392456, -0.12545239925384521, -0.684334397315979, 0.34362566471099854, 0.23795485496520996, 0.3481299579143524, -0.029784392565488815, 0.195221409201622, 0.39173105359077454, -0.8543297052383423, 0.8746709227561951, -0.362741082906723, -0.06443319469690323, 0.2476317286491394, 0.22370554506778717, 0.45797520875930786, 0.35127055644989014, -0.022505588829517365, -0.2369057983160019, 0.09372025728225708, -0.47635558247566223, -0.48857060074806213, 0.8644097447395325, -0.5693919658660889, -0.6901870369911194, -0.40283551812171936, -0.7186975479125977, -0.6892784237861633, 0.008034825325012207, 0.20785893499851227, 0.47041478753089905, 0.02036261186003685, 0.27819666266441345, 0.9523832201957703, -0.8633044362068176, -0.10068095475435257, 0.45351263880729675, -0.03964893892407417, -0.23208852112293243, 0.440586119890213, -0.10618685185909271, 0.30078548192977905, 0.30215170979499817, 0.4944663345813751, -0.1944354921579361, -0.7798107862472534, -0.3264591693878174, 0.40584370493888855, -0.8183889389038086, -0.26494288444519043, -0.8594279885292053, -0.19225558638572693, -0.6598204970359802, -0.5425117611885071, 0.05148577317595482, -0.11462230235338211, 0.12155161052942276, -0.11941662430763245, 0.5386256575584412, 0.5320649743080139, 0.2614250183105469, 0.2614820897579193, -0.880124568939209, 0.12587806582450867, 0.14645540714263916, 0.2779272794723511, -0.02435559406876564, -0.37391698360443115, -0.11233775317668915, -0.04423827305436134, -0.3681531548500061, -0.8141537308692932, 0.53775554895401, -0.14839671552181244, 0.49483010172843933, 0.7712738513946533, 0.14107047021389008, 1.0450795888900757, -0.45612362027168274, 0.6274285316467285, 0.1096140593290329, -0.5841542482376099, 0.811008870601654, -0.5275521278381348, 0.22226323187351227, 0.5002430081367493, 0.21503864228725433, -0.7135053277015686, -0.39471304416656494, -0.6671671867370605, -0.6982154250144958, 0.3927113115787506, 0.09406843036413193, -0.06599445641040802, -0.36614951491355896, 0.3913308382034302, 0.2518879175186157, 0.16027365624904633, -0.4632945656776428, 0.3846481740474701, 0.0761168822646141, -0.29443758726119995, 0.10177585482597351, -0.4380633533000946, -0.5410180687904358, -0.26643356680870056, 0.6575192809104919, -0.3792140781879425, 0.023728638887405396, 0.6101544499397278, -0.12725409865379333, -0.041554756462574005, 0.34804463386535645, 0.7198274731636047, 0.7070709466934204, -0.03418237715959549, 0.21906426548957825, 0.0656595379114151, -0.3654695749282837, -0.004196527414023876, 0.004755786620080471, -0.1525782197713852, -0.4260653257369995, 0.5682345032691956, 0.6080113053321838, 0.145288348197937, -0.9186705350875854, 0.680625855922699, 0.08917097002267838, -0.12935049831867218, -0.29817521572113037, -0.04248695820569992, 0.12552383542060852, 0.1594894677400589, -0.12518452107906342, 0.009306211024522781, -0.08259563148021698, -0.2250863015651703, 0.13361379504203796, 0.37222301959991455, -0.501994788646698, 0.007369457744061947, 0.5818802714347839, 0.19759170711040497, 0.20207782089710236, 0.855446994304657, 0.0746646523475647, -0.4009969234466553, 0.5203561186790466, 0.815146803855896, 0.4654575288295746, -0.027267131954431534, 0.13548755645751953, 0.28833481669425964, 0.11750859767198563, -0.11443635821342468, 0.18796080350875854, -0.116907998919487, -0.8174943923950195, -0.6106336712837219, -0.42858338356018066, -0.36018112301826477, 0.3307604193687439, -0.25713810324668884, 0.2918109893798828, -0.32951200008392334, -0.043980371206998825, -0.2708075940608978, -0.26689785718917847, -0.5197856426239014, 0.33438023924827576, 0.11193627864122391, 0.9919369220733643, -0.7149006724357605, 1.046817660331726, 0.5499382615089417, -0.3769020140171051, -0.7697327136993408, 0.009377839975059032, 0.06185156852006912, -0.9659945368766785, 0.5219770669937134, 0.23740363121032715, 0.34464940428733826, -0.5104535222053528, -0.34884151816368103, -0.6237420439720154, 1.0047109127044678, 0.19867120683193207, -0.3524095118045807, 0.010133912786841393, 0.3012993633747101, 0.4984973669052124, -0.554533839225769, 0.2636495530605316, 0.44899216294288635, 0.32919323444366455, 0.27621421217918396, -0.6758070588111877, 0.28825023770332336, -0.3616701066493988, -0.12981830537319183, 0.023418713361024857, -0.23066624999046326, 0.6155202388763428, -0.5878793597221375, 0.25552791357040405, 0.04927049204707146, 0.18448828160762787, 0.871353268623352, 0.2797553241252899, 0.3904775083065033, 0.638300895690918, 0.8730391263961792, -0.11208730190992355, 1.2906641960144043, -0.5396764278411865, -0.166824072599411, 1.0231648683547974, -0.490033358335495, 0.46934422850608826, 0.7094942331314087, -0.045735787600278854, 0.5217313170433044, 0.41779157519340515, 0.11767341941595078, 0.3394125699996948, 0.3542592525482178, -0.44845911860466003, -0.42694291472435, -0.3263993561267853, -0.6841393113136292, 0.3196743130683899, 0.8830159902572632, -0.6365691423416138, 0.03308780491352081, 0.03879920765757561, 0.4115767478942871, 0.2007831633090973, -0.05700227618217468, 0.714486837387085, 0.3170829713344574, -1.0725061893463135, 0.46141499280929565, -0.10071634501218796, 0.09008491784334183, -0.7663331031799316, -0.38804665207862854, -0.2193402796983719, 0.4133080542087555, -0.13424022495746613, -0.7345409989356995, -0.03429976478219032, -0.03227601572871208, 0.006227044854313135, -0.36987119913101196, 0.8097625970840454, -0.38133949041366577, -0.6176660060882568, 0.011530074290931225, 0.4152374565601349, 0.09552615135908127, -0.04278977960348129, -0.4578142464160919, -0.05987121909856796, -0.04401742294430733, -0.010331438854336739, 0.45665302872657776, 0.9035946726799011, -0.3052007257938385, 0.9069982171058655, 0.8062637448310852, 0.5721927285194397, -0.28314054012298584, 0.41177815198898315, 0.9119674563407898, -0.5104328989982605, -0.6205688118934631, -0.9094399213790894, 0.2151014804840088, -0.38490530848503113, -0.1592607945203781, 0.5197488069534302, 0.33570972084999084, 0.3156798183917999, -0.09993678331375122, 0.9877106547355652, 0.011056327261030674, 0.4694143235683441, -0.6188645958900452, 0.7491448521614075, -0.3082372844219208, 0.5098320841789246, -0.42606496810913086, -0.25739532709121704, -0.7053171992301941, 0.7830378413200378, -0.5397936105728149, 0.043687790632247925, 0.5843203067779541, 0.775879442691803, 0.10346625745296478, 0.12941409647464752, 0.36371850967407227, 0.5153204798698425, 0.7765073180198669, 0.7990201711654663, 0.7101334929466248, 0.0071471380069851875, 0.21864277124404907, -0.31651732325553894, -0.4552152454853058, -0.16589005291461945, -1.0195292234420776, -0.7954705953598022, -0.3073487877845764, -0.2613838016986847, -0.517440676689148, 0.11523690819740295, 1.2797679901123047, 0.9237672686576843, -0.786083459854126, -0.011399098671972752, -0.3886217474937439, -0.10167896002531052, -0.2703723907470703, -0.18449130654335022, 0.8155214190483093, -0.5638810396194458, -0.12083643674850464, 0.41336724162101746, 0.5438458919525146, -0.0049889711663126945, -0.07226508110761642, -0.1739879995584488, -0.1143481507897377, -0.07335668057203293, 0.6382631063461304, 0.17459110915660858, -0.6942703723907471, -0.09607859700918198, -0.23227083683013916, 0.041112951934337616, 0.14243899285793304, 1.2189488410949707, -0.9770598411560059, 0.7102324366569519, 0.19977721571922302, 0.5620850920677185, 0.1544117033481598, -0.19288796186447144, 0.955193042755127, -0.31402555108070374, 0.3405070900917053, 0.4963138997554779, 0.564558744430542, 0.34589847922325134, -0.22550928592681885, 0.3773772120475769, 0.2536470293998718, -0.6871721744537354, -0.8356066346168518, 0.128271222114563, -0.7552827596664429, -0.40841150283813477, 1.306482195854187, -0.23071129620075226, 0.12191351503133774, -0.260104775428772, -0.4708538353443146, 0.16307637095451355, -0.14392176270484924, 1.194356083869934, 0.5477619767189026, -0.3212568759918213, -0.021996207535266876, -0.6606935262680054, 0.8723160624504089, 0.4468238651752472, -0.9667593836784363, 0.0509255975484848, 0.2407958209514618, 0.1316555291414261, -0.10204111039638519, 0.8850239515304565, -0.5560766458511353, 0.2214258313179016, -0.010831508785486221, -0.05828440561890602, 0.2367897927761078, 0.033773284405469894, 0.2040299028158188, 0.2431994527578354, 0.15592990815639496, 0.08277787268161774 ]
http://arxiv.org/abs/2403.06591v1
http://arxiv.org/pdf/2403.06591v1
Academically intelligent LLMs are not necessarily socially intelligent
2024-03-11T10:35:53
2024-03-11T10:35:53
Ruoxi Xu, Hongyu Lin, Xianpei Han, Le Sun, Yingfei Sun
cs.CL
cs.CL, cs.CY
The academic intelligence of large language models (LLMs) has made remarkable progress in recent times, but their social intelligence performance remains unclear. Inspired by established human social intelligence frameworks, particularly Daniel Goleman's social intelligence theory, we have developed a standardized social intelligence test based on real-world social scenarios to comprehensively assess the social intelligence of LLMs, termed as the Situational Evaluation of Social Intelligence (SESI). We conducted an extensive evaluation with 13 recent popular and state-of-art LLM agents on SESI. The results indicate the social intelligence of LLMs still has significant room for improvement, with superficially friendliness as a primary reason for errors. Moreover, there exists a relatively low correlation between the social intelligence and academic intelligence exhibited by LLMs, suggesting that social intelligence is distinct from academic intelligence for LLMs. Additionally, while it is observed that LLMs can't ``understand'' what social intelligence is, their social intelligence, similar to that of humans, is influenced by social factors.
[ -0.03571907430887222, -0.9040188789367676, 0.8214187026023865, 0.15932951867580414, 0.028434008359909058, 0.8238561153411865, -0.4133235812187195, -0.5924007892608643, 0.6185367107391357, -0.17571114003658295, -0.5223374962806702, -0.5330742001533508, -0.5842077136039734, 0.17243698239326477, -0.2779359519481659, 0.6635457277297974, 0.3902176320552826, 0.11909499764442444, -0.5091133713722229, -0.44786855578422546, 0.13383695483207703, -0.4926247000694275, -0.6885830760002136, -0.3820425271987915, 0.5877444744110107, 0.3890642821788788, 0.6816311478614807, 0.19346825778484344, 0.7757566571235657, 0.42265820503234863, -0.47188496589660645, 0.20584167540073395, -0.8270364999771118, -0.011650791391730309, -0.31427767872810364, -0.28571444749832153, -0.5626156330108643, 0.13453060388565063, 0.615739643573761, 0.9261631965637207, -0.11068358272314072, 0.33831363916397095, 0.08373484015464783, 0.9101806282997131, -0.3620598018169403, 0.05002729222178459, -0.6397088766098022, -0.27770912647247314, -0.14042052626609802, -0.044731687754392624, -0.46253523230552673, -0.6702199578285217, 0.16742518544197083, -0.3326283395290375, -0.13182099163532257, 0.24682605266571045, 0.6535002589225769, -0.007275020238012075, -0.33983439207077026, -0.03822896257042885, -0.6827707886695862, 0.8294615745544434, -0.5470570921897888, 0.05509401485323906, 0.020707031711935997, 0.3891909420490265, -0.478716641664505, -0.48930177092552185, -0.46961233019828796, -0.32629719376564026, 0.16847734153270721, 0.3116110563278198, 0.4417605400085449, -0.13369721174240112, 0.027652839198708534, -0.10393879562616348, -0.4241078794002533, 0.04245585948228836, -0.48927420377731323, 0.22108010947704315, 1.0500237941741943, 0.39779990911483765, 0.3934171795845032, -0.1494847536087036, -0.3225354254245758, 0.1398412138223648, -0.6484861969947815, 0.40769580006599426, 0.14634265005588531, 0.07167714834213257, -0.2179861068725586, 0.48454734683036804, -0.27002424001693726, -0.07973117381334305, -0.28886425495147705, -0.10465097427368164, 0.3628648519515991, -0.33994919061660767, 0.06991901993751526, 0.04011939465999603, 0.710005521774292, 0.5085840821266174, 0.8088632822036743, -0.2342267781496048, -0.21273821592330933, 0.2883961498737335, 0.19306056201457977, -0.6037786602973938, 0.1700628250837326, 0.09984643757343292, -0.4658381938934326, -0.46713605523109436, 0.18131627142429352, -0.5721904635429382, -0.4169890582561493, -0.18208980560302734, 0.2189561426639557, -0.2767525315284729, -0.26394256949424744, -0.27720746397972107, -0.11521953344345093, 0.6795413494110107, 0.26964807510375977, -0.5703964829444885, 0.2541391849517822, 0.922075629234314, 0.8717261552810669, -0.4379189610481262, -0.47176021337509155, -0.09701069444417953, 0.14497314393520355, -0.6666749715805054, 1.050449252128601, -0.8972852230072021, -0.5810208320617676, 0.15303783118724823, 0.08478853106498718, -0.2612062096595764, -0.4208512604236603, 0.20885306596755981, -0.5699190497398376, -0.40258216857910156, -0.5457732081413269, -0.4950461685657501, 0.044584184885025024, 0.2014586329460144, -0.0646517425775528, 0.9581267237663269, 0.029823368415236473, -0.4694846272468567, 0.1930236518383026, -0.6833854913711548, -0.4536912739276886, 0.5304948687553406, -0.20210471749305725, -0.007844089530408382, 0.05432705953717232, -0.3756369650363922, 0.5281285643577576, -0.09428660571575165, 0.4816027283668518, -0.9941012859344482, -0.9088373780250549, 0.752730131149292, -0.3087595999240875, 0.6757916808128357, -0.14621809124946594, -0.2649819552898407, 0.02074485458433628, -0.7905176877975464, 0.13546967506408691, 0.3843829333782196, -0.3001277446746826, -0.4243144094944, 0.33802950382232666, -0.5540438294410706, -0.05877644196152687, 0.552273154258728, -0.5495447516441345, -0.1341426968574524, -0.39362838864326477, 0.5381055474281311, 1.1747949123382568, 0.05311723053455353, 0.39721986651420593, -0.7640048861503601, 0.16215260326862335, -0.4853382706642151, 0.10099814087152481, 0.5867313146591187, -0.45054957270622253, -0.8704105019569397, -0.17388634383678436, 0.08579933643341064, 0.7181258201599121, -0.5199849605560303, 0.30837902426719666, -0.5639011263847351, -0.8139997124671936, -0.29170337319374084, 0.31386104226112366, 0.29615721106529236, -0.19297204911708832, -0.06550798565149307, 0.03936176002025604, -0.1513596922159195, -0.7509909868240356, -0.7226631045341492, -0.4185514748096466, 0.3033492863178253, 0.3836296796798706, 0.7783359885215759, -0.2786892056465149, 0.3200749158859253, -0.026598265394568443, 0.140123650431633, -0.38811346888542175, -0.26912015676498413, 0.004748354200273752, 0.16050061583518982, 0.24006713926792145, -0.2881375551223755, -0.24272257089614868, -0.04494178295135498, -1.0363709926605225, -0.000574195000808686, 0.35612940788269043, -0.2298625409603119, 0.05822443962097168, 0.7603355646133423, -0.37090620398521423, 0.3636765778064728, 0.18049658834934235, -0.49835073947906494, 0.37225988507270813, -0.1903844177722931, 0.22185279428958893, -0.7418091297149658, -0.2961781919002533, 0.19284763932228088, -0.11181804537773132, -0.5922093391418457, -0.1423792541027069, -0.12914220988750458, 0.09525864571332932, -0.4715608060359955, 0.6835487484931946, -0.2584215998649597, -0.29943472146987915, 0.25717538595199585, 0.6197500824928284, -0.21218253672122955, 0.4576122462749481, -0.3854716122150421, 0.6702815890312195, 0.2952905297279358, -0.674869179725647, 0.3681824207305908, -0.06236831843852997, -0.5047362446784973, 0.8999739289283752, -0.796634316444397, 0.36951929330825806, -0.30994072556495667, -0.19445165991783142, -1.0182123184204102, -0.5536249279975891, -0.032447997480630875, -0.44452103972435, 0.16213004291057587, 0.4379631280899048, -0.34416675567626953, -0.31964877247810364, -0.6382307410240173, 0.046668656170368195, 0.6808714270591736, -0.4467407166957855, 0.7021445035934448, 0.4304654896259308, -0.5406665205955505, -0.1886802613735199, -0.42455971240997314, -0.17668619751930237, -0.26026707887649536, -0.8681635856628418, 0.2611047327518463, -0.30001094937324524, -1.0087125301361084, 0.09056518226861954, 0.005691481754183769, 0.0819665715098381, 0.27313780784606934, 0.23916611075401306, 0.516984760761261, -0.189219132065773, 0.0014831749722361565, 0.07562225311994553, 0.14742904901504517, 0.4344010055065155, 0.7233313918113708, 0.09727354347705841, -0.4983028769493103, -0.5685913562774658, -0.34371277689933777, -0.0004288384225219488, 0.7271999716758728, 0.02755778282880783, 0.8371577858924866, -0.0819929763674736, -0.2910166382789612, -0.26683124899864197, -0.5618260502815247, -0.046087946742773056, -0.4874206483364105, 0.5037413835525513, -0.2603863775730133, -0.8084921836853027, 0.6736941337585449, -0.1277197003364563, 0.12173829227685928, 0.3337906301021576, 0.3041943907737732, -0.4085344672203064, 1.144144892692566, 0.2707837224006653, 0.12648114562034607, 0.47507476806640625, -0.23938773572444916, 0.28715598583221436, -0.8044362664222717, -0.5474042296409607, -0.5143743753433228, -0.5072100162506104, -0.527156412601471, 0.040519267320632935, 0.15022191405296326, -0.40069594979286194, -0.4633900225162506, -0.33959439396858215, -0.3054095506668091, 0.695472002029419, 0.16942283511161804, 0.14775125682353973, 0.13948415219783783, -0.1111740693449974, 0.2923540771007538, 0.18012762069702148, -0.5157742500305176, -0.9281966686248779, 0.8440555930137634, 0.4219733476638794, 0.7832313179969788, 0.4174952208995819, 0.5992246866226196, 0.3326740264892578, 0.48994219303131104, -0.6384029388427734, 1.1039341688156128, -0.13668979704380035, -0.3008166253566742, -0.37871065735816956, -0.4511793255805969, -0.6901837587356567, 0.0145613644272089, -0.15304593741893768, -0.7821309566497803, 0.1214052140712738, -0.49521464109420776, -0.42157697677612305, -0.07543319463729858, -0.7779049873352051, 0.707175076007843, -0.4094959795475006, -0.436000257730484, -0.31300488114356995, -0.5077849626541138, 0.24685567617416382, -0.04380260407924652, 0.34862542152404785, -0.7318791151046753, 0.003631914732977748, 0.9447288513183594, -0.2495701164007187, 0.8561955094337463, -0.14052675664424896, 0.431940495967865, 0.33034899830818176, -0.0164816714823246, 0.5118081569671631, 0.20251010358333588, -0.33106017112731934, 0.21070216596126556, 0.3710102140903473, -0.6122363209724426, -0.6948733329772949, 0.8825153112411499, -1.0756285190582275, -0.8354072570800781, -0.5521007180213928, -0.17819255590438843, -0.17248757183551788, -0.1562950164079666, -0.10077042132616043, 0.4117072522640228, -0.6312551498413086, 0.3548488914966583, 0.5873970985412598, -0.017769549041986465, 0.41588294506073, 0.6029344797134399, -0.0501464381814003, -0.15720751881599426, 1.0068483352661133, 0.4996328353881836, 0.31955331563949585, -0.16112421452999115, 0.020158205181360245, -0.3340212106704712, -0.43426209688186646, -0.2802475690841675, 0.48395007848739624, -0.9120798110961914, 0.2526833117008209, -0.3862847685813904, -0.48122891783714294, -0.468037486076355, -0.614668071269989, -0.15656234323978424, 0.026170335710048676, -0.2846493422985077, -0.002919386839494109, 0.3451620638370514, 1.1322507858276367, 0.2312195599079132, -0.07602842897176743, -0.458853155374527, -0.0691717267036438, 0.37182092666625977, 0.26093143224716187, -0.22299621999263763, -0.781234860420227, 0.07047595828771591, -0.11106754094362259, 0.08890277147293091, -0.7560867667198181, -0.08066181093454361, 0.36779433488845825, 0.822961688041687, 0.5196791887283325, 0.2263800948858261, 0.5271228551864624, -0.22707617282867432, 0.7751953601837158, -0.3393108546733856, -0.6250281929969788, 0.37954750657081604, -0.001756797544658184, 0.091917484998703, 0.9015833735466003, 0.24500153958797455, -0.1422652006149292, -0.720657467842102, -0.6643301844596863, -0.5996115207672119, 0.5548131465911865, -0.039667025208473206, 0.43196403980255127, -0.3408794105052948, 0.594747006893158, -0.3475551903247833, -0.0524882934987545, -0.7461832761764526, -0.17749978601932526, 0.10956589132547379, -0.42804276943206787, -0.00750302616506815, -0.5800567865371704, 0.036149438470602036, -0.2096683830022812, 0.9028096795082092, -0.004514850676059723, 0.0876530110836029, 0.14586931467056274, 0.08521223813295364, 0.0059279268607497215, 0.37288716435432434, 0.34350520372390747, 1.0539499521255493, -0.2401633858680725, 0.10871422290802002, 0.6665614247322083, -0.33959659934043884, 0.42919230461120605, -0.2200108766555786, -0.018437912687659264, -0.26869434118270874, 0.31195130944252014, 0.40845686197280884, 0.3414139449596405, -0.7785815596580505, 0.7979212403297424, -0.25488796830177307, -0.3641323149204254, -0.9102298021316528, 0.4853101074695587, 0.3334978222846985, 0.4918574392795563, 0.18196944892406464, -0.05147348716855049, -0.15013885498046875, -0.7950087189674377, -0.26785680651664734, 0.781798779964447, -0.48132485151290894, -0.341482937335968, 0.30646541714668274, 0.5098057985305786, -0.7931191921234131, 0.36727121472358704, -0.7175939083099365, -0.4406336545944214, 0.8353968858718872, 0.4164487421512604, 0.6356387138366699, -0.14319013059139252, 0.2974272072315216, -0.07327405363321304, 0.5122697353363037, -0.007966911420226097, 0.4426022469997406, 0.24966633319854736, -0.87074875831604, -0.35882842540740967, -0.64896160364151, -0.5266960263252258, -0.00038073290488682687, -0.3128511309623718, 0.2637316584587097, -0.7661696672439575, -0.05028446018695831, -0.12308163940906525, 0.22188985347747803, -0.5600530505180359, 0.030929267406463623, -0.20882302522659302, 0.9260016679763794, -0.6725562810897827, 0.6007890701293945, 1.1118268966674805, 0.04802205041050911, -0.7719224095344543, -0.1755320131778717, -0.013223139569163322, -0.8351550102233887, 0.7591113448143005, 0.49312686920166016, -0.4235868453979492, 0.03371579945087433, -0.4815676510334015, -0.7273102402687073, 1.1118496656417847, 0.15922392904758453, -0.4426380693912506, 0.03831887245178223, -0.06497813761234283, 0.6309958696365356, -0.5492023229598999, 0.3778146505355835, 0.6589393019676208, 0.45665988326072693, 0.10716085135936737, -0.14802969992160797, -0.10771604627370834, -0.7246158719062805, 0.2774486541748047, -0.08110484480857849, -1.0465439558029175, 0.18533362448215485, -0.33670344948768616, -0.4082159698009491, 0.06521959602832794, 0.8432598114013672, 0.3670368790626526, 0.7198877930641174, 0.30539485812187195, 0.27600860595703125, 0.9852914214134216, -0.1623416244983673, 1.0079604387283325, -0.6137273907661438, -0.09315630793571472, 0.5911984443664551, -0.7656039595603943, 0.8454642295837402, 0.17769581079483032, -0.2218005210161209, 0.7403256297111511, 0.7838776707649231, 0.13639028370380402, 0.40094780921936035, 0.11583268642425537, -0.5548389554023743, -0.42420199513435364, -0.09956096112728119, -0.13673026859760284, 0.3938746452331543, 0.4151066541671753, -0.19575051963329315, 0.3987322151660919, -0.3921439051628113, -0.03384396433830261, 0.27440714836120605, -0.42866241931915283, 0.861665666103363, 0.24686656892299652, -0.5512550473213196, 0.13687406480312347, -0.06721183657646179, 0.5426238179206848, -0.3265734016895294, 0.20601055026054382, -0.2842112183570862, 0.11812739074230194, -0.17009517550468445, -0.6581005454063416, 0.3812991976737976, 0.12347137928009033, 0.11625368148088455, 0.19228415191173553, 1.017088770866394, 0.09772694110870361, -0.5285685658454895, 0.6818915605545044, 0.8767350316047668, 0.5164836645126343, 0.40417060256004333, -0.5938522815704346, -0.1227446049451828, -0.24154983460903168, -0.5005991458892822, 0.3923394978046417, 0.6789063215255737, 0.11173839122056961, 0.8867800831794739, 0.7178906798362732, 0.1870526820421219, -0.17164459824562073, 0.2719350755214691, 0.5779155492782593, -0.7997131943702698, -0.07277059555053711, -1.2279133796691895, 0.2235744595527649, -0.347019225358963, -0.4083755612373352, 0.5357169508934021, 0.1738661378622055, 0.5749393701553345, 0.4679696559906006, 0.5885427594184875, 0.3237677812576294, 0.5418357849121094, -0.3544725179672241, 0.7708351016044617, -0.564287543296814, 0.4898516535758972, -0.1461285501718521, -1.0244991779327393, 0.12124938517808914, 0.6829108595848083, -0.7153716683387756, 0.3793891370296478, 0.7593888640403748, 0.8605906367301941, 0.38697198033332825, 0.24757206439971924, 0.5594337582588196, 0.2164154201745987, -0.03929564356803894, 0.42381879687309265, 1.2701234817504883, 0.19230632483959198, 0.44992437958717346, -0.111615389585495, -0.44988036155700684, -0.1960914433002472, -0.5127886533737183, -1.4187638759613037, -0.05837700143456459, -0.31852105259895325, -0.32958710193634033, 0.44202306866645813, 1.0433903932571411, 0.31912821531295776, -0.4390880763530731, -0.09922748804092407, 0.11245371401309967, 0.4725764989852905, 0.10463916510343552, -0.3025107979774475, -0.06648795306682587, -0.3221411406993866, -0.5376213192939758, 0.5411624312400818, 0.705903947353363, 0.05652722716331482, -0.4588880240917206, -0.278780072927475, -0.034108877182006836, 0.6952430009841919, 0.6294456720352173, -0.11045002937316895, -0.5655386447906494, -0.6329700350761414, 0.3816911578178406, -0.4154617190361023, -0.033258844166994095, -0.02943151630461216, -0.3940448760986328, -0.14008209109306335, 0.4016994833946228, 0.6379842758178711, -0.26763319969177246, -0.0691717192530632, -0.07272527366876602, -0.10019058734178543, -0.20041464269161224, 0.043176330626010895, 0.5300854444503784, 0.3671500086784363, -0.43637514114379883, 0.634498119354248, 0.5476648211479187, -0.9881978034973145, -0.7832530736923218, 0.05040512979030609, -0.6858716011047363, -0.10288166999816895, 1.2610920667648315, -0.2095002382993698, -0.7859287261962891, -0.2113063633441925, 0.1492307335138321, -0.025971781462430954, -0.6159101128578186, 0.8655869364738464, 0.7346431612968445, -0.09058913588523865, 0.041792381554841995, -0.6043610572814941, 0.1325521469116211, 0.5708233118057251, -0.9803919792175293, -0.28153514862060547, 0.1939011961221695, 0.15580955147743225, 0.2690061628818512, 0.8440901041030884, -0.093670554459095, 0.19398446381092072, -0.21137282252311707, -0.1628636121749878, 0.29358431696891785, -0.39646437764167786, -0.09427811950445175, 0.1047968938946724, 0.47762998938560486, 0.33561384677886963 ]
http://arxiv.org/abs/2403.06586v1
http://arxiv.org/pdf/2403.06586v1
ContextGPT: Infusing LLMs Knowledge into Neuro-Symbolic Activity Recognition Models
2024-03-11T10:32:23
2024-03-11T10:32:23
Luca Arrotta, Claudio Bettini, Gabriele Civitarese, Michele Fiori
cs.LG
cs.LG, cs.AI, cs.CL
Context-aware Human Activity Recognition (HAR) is a hot research area in mobile computing, and the most effective solutions in the literature are based on supervised deep learning models. However, the actual deployment of these systems is limited by the scarcity of labeled data that is required for training. Neuro-Symbolic AI (NeSy) provides an interesting research direction to mitigate this issue, by infusing common-sense knowledge about human activities and the contexts in which they can be performed into HAR deep learning classifiers. Existing NeSy methods for context-aware HAR rely on knowledge encoded in logic-based models (e.g., ontologies) whose design, implementation, and maintenance to capture new activities and contexts require significant human engineering efforts, technical knowledge, and domain expertise. Recent works show that pre-trained Large Language Models (LLMs) effectively encode common-sense knowledge about human activities. In this work, we propose ContextGPT: a novel prompt engineering approach to retrieve from LLMs common-sense knowledge about the relationship between human activities and the context in which they are performed. Unlike ontologies, ContextGPT requires limited human effort and expertise. An extensive evaluation carried out on two public datasets shows how a NeSy model obtained by infusing common-sense knowledge from ContextGPT is effective in data scarcity scenarios, leading to similar (and sometimes better) recognition rates than logic-based approaches with a fraction of the effort.
[ -0.12449122220277786, -0.639763355255127, 0.8369348049163818, 0.08570284396409988, -0.2393680214881897, -0.2710971534252167, -0.09303257614374161, -0.3851947486400604, 0.1567765176296234, 0.45656639337539673, -0.6003974676132202, -0.43902817368507385, -0.4694772958755493, -0.06021271273493767, -0.17170526087284088, 0.6551101207733154, -0.09203454852104187, -0.1340196132659912, -0.0858202651143074, -0.06139269843697548, -0.7065281867980957, -0.7391228079795837, -0.6784688830375671, -0.5286568403244019, 0.33598241209983826, 0.18869687616825104, 0.272744357585907, 0.39801618456840515, 0.1556091606616974, 0.2653767168521881, -0.12780997157096863, 0.2909177243709564, -0.09751465171575546, 0.13814978301525116, 0.12700879573822021, -0.0200657919049263, -0.4585728049278259, -0.15234516561031342, 0.16672228276729584, 0.621230959892273, -0.042535752058029175, 0.048624612390995026, 0.30321088433265686, 0.36198553442955017, -0.4796057939529419, 0.40959611535072327, -0.5092065334320068, 0.04483240842819214, 0.17411744594573975, -0.1985492706298828, -0.1396889090538025, 0.013732816092669964, 0.3500980734825134, -0.6707018613815308, -0.04001886397600174, -0.09395778924226761, 0.48540034890174866, 0.5188769698143005, -0.5964995622634888, -0.3846338987350464, -0.265133261680603, 0.7406374216079712, -0.4835803806781769, 0.2655218243598938, 0.37678465247154236, 0.25934329628944397, -0.2932080924510956, -0.6374796628952026, -0.5586612820625305, -0.3494676351547241, -0.2163333296775818, 0.044334329664707184, -0.02049536444246769, 0.0488860085606575, 0.3513700067996979, -0.24686408042907715, -0.42757317423820496, -0.19077520072460175, -0.05738860368728638, -0.13043098151683807, 0.6398645639419556, 0.340668261051178, 0.4962159991264343, -0.44423624873161316, -0.5576573610305786, 0.2537458837032318, -0.7168678641319275, 0.08010999113321304, -0.33527711033821106, 0.3013096749782562, -0.02053886465728283, 0.42649176716804504, -0.4251304268836975, 0.712925136089325, 0.04375934973359108, 0.026205942034721375, 0.14440792798995972, -0.2928946614265442, -0.20513232052326202, 0.39478054642677307, 0.560036301612854, 0.256111204624176, 0.028440669178962708, -0.4545605182647705, -0.5370488166809082, -0.04911680147051811, 0.19175468385219574, -0.9376636743545532, -0.147047221660614, 0.03501933813095093, -0.2823748290538788, -0.08283956348896027, -0.011473283171653748, -0.23142226040363312, -0.6317975521087646, -0.5886744856834412, 0.5574060678482056, -0.4624457359313965, -0.10724470019340515, 0.3827768564224243, -0.0574302151799202, 0.1325661689043045, 0.5375298261642456, -0.7220903038978577, 0.03803408145904541, 0.9244871735572815, 0.9934968948364258, -0.1594318002462387, -0.36775854229927063, -0.5543692708015442, 0.266998291015625, 0.15931473672389984, 0.5939169526100159, -0.4463847279548645, -0.17165614664554596, -0.19324669241905212, 0.15461796522140503, -0.15722593665122986, -0.1852959543466568, 0.5169223546981812, -0.6710493564605713, -0.17294012010097504, -0.30314648151397705, -0.4475192427635193, -0.4253666400909424, 0.5806383490562439, -0.5199952125549316, 0.9449053406715393, 0.05421153083443642, -0.6048302054405212, 0.40230682492256165, -1.1119130849838257, -0.5271348357200623, 0.2605355978012085, -0.3618251085281372, -0.031246673315763474, 0.09342923015356064, 0.2615302801132202, 0.7894269227981567, -0.16231772303581238, 0.5724501013755798, -0.1451040357351303, -0.3218412399291992, 0.34130537509918213, -0.3560025691986084, 0.8035498261451721, 0.11331069469451904, -0.5143166780471802, 0.15252049267292023, -0.6357322335243225, -0.054141800850629807, -0.1644219309091568, -0.17066068947315216, -0.5981618762016296, 0.07695753127336502, 0.0893893837928772, 0.614759087562561, 0.34256258606910706, -0.6062836647033691, 0.21140427887439728, -0.38058432936668396, 0.8678781390190125, 0.7576287388801575, -0.08211375027894974, 0.45337381958961487, -0.12053008377552032, 0.2626309394836426, -0.15773487091064453, -0.13061115145683289, -0.12295510619878769, -0.5480645298957825, -0.23924176394939423, -0.22630028426647186, -0.11547477543354034, 0.6215518712997437, -0.6165404319763184, 0.6457529067993164, -0.4949979782104492, -0.3465995788574219, 0.2337687611579895, -0.050836604088544846, 0.11678525805473328, 0.9300889372825623, 0.32805702090263367, -0.19750763475894928, -0.5406237840652466, -0.4456777572631836, -0.2154586762189865, 0.07884442806243896, -0.32967066764831543, 0.756418764591217, 0.6206077337265015, -0.5587723255157471, 1.1976122856140137, -0.5154921412467957, -0.2530626952648163, -0.21923679113388062, 0.3004307746887207, 0.4516925811767578, 0.47105488181114197, 0.30392932891845703, -0.7982559204101562, -0.29538747668266296, 0.1323106735944748, -0.9526058435440063, -0.0803404375910759, -0.13277064263820648, -0.10669585317373276, -0.10500776767730713, 0.4959237575531006, -0.8144050240516663, 0.5754317045211792, 0.3345847427845001, -0.655077338218689, 0.24178864061832428, -0.1504967361688614, 0.07197808474302292, -1.166294813156128, 0.2725749909877777, -0.09295263141393661, -0.1217641532421112, -0.7999703288078308, -0.41230806708335876, 0.101931631565094, -0.42697569727897644, -0.6057010889053345, 1.0118016004562378, -0.5155901908874512, 0.05919451639056206, -0.47049787640571594, -0.13676489889621735, -0.29067936539649963, 0.5678561925888062, 0.3867865800857544, 0.7034049034118652, 0.6815077662467957, -0.890418529510498, 0.1835019290447235, 0.3380386531352997, -0.16742496192455292, 0.3555131256580353, -0.6123006939888, 0.17442166805267334, -0.001028177561238408, 0.2210913896560669, -0.7916484475135803, -0.6291648745536804, 0.2683981657028198, -0.31244489550590515, -0.11578258872032166, -0.3119068741798401, -0.5541424751281738, 0.023433642461895943, 0.10181814432144165, 0.7051063179969788, 0.6121824383735657, -0.8866703510284424, 1.0146803855895996, 0.6057831048965454, 0.0923900306224823, -0.4865609407424927, -0.6059970259666443, 0.08873041719198227, -0.5082860589027405, -0.7288836240768433, 0.46565911173820496, 0.1570339798927307, 0.1805756837129593, -0.15118399262428284, -0.44076821208000183, -0.46631237864494324, 0.38850685954093933, 0.6644267439842224, 0.28925713896751404, 0.05424346402287483, 0.22390536963939667, -0.13310977816581726, -0.31240978837013245, 0.44962552189826965, -0.3972373306751251, 0.5957431197166443, -0.21515537798404694, -0.4774852991104126, -0.4201613664627075, 0.22548739612102509, 0.40856072306632996, 0.10527990758419037, 0.343487024307251, 0.5359823107719421, -0.5524020195007324, -0.0349888801574707, -0.25216707587242126, -0.41138848662376404, -0.5510237812995911, 0.3770655691623688, -0.18979386985301971, -1.067704677581787, 0.27450665831565857, -0.5059869289398193, -0.043803248554468155, 0.0559152327477932, 0.27990245819091797, -0.08490902930498123, 1.082614779472351, 0.4409834146499634, -0.15800563991069794, 0.6285131573677063, -0.11232168972492218, 0.2663955092430115, -0.8260195851325989, -0.1710771769285202, -0.09164788573980331, -0.5113822221755981, -0.36214306950569153, -0.304063618183136, 0.5684749484062195, -0.07862509042024612, -0.5123036503791809, 0.3895179331302643, -0.6767191290855408, 0.518208920955658, 0.4119105935096741, 0.441946417093277, 0.11322198808193207, -0.01823689416050911, 0.3884887993335724, 0.12667594850063324, -0.8019932508468628, -0.7423304319381714, 0.9364669919013977, -0.055962175130844116, 0.6707464456558228, -0.04752814769744873, 0.969272255897522, 0.1012207642197609, 0.4227161407470703, -0.9269908666610718, 0.8182774782180786, 0.06609285622835159, -0.4047389626502991, -0.3649693429470062, -0.28464025259017944, -1.102079153060913, -0.12883834540843964, 0.08263663202524185, -0.939339280128479, 0.08746418356895447, 0.4035717248916626, -0.623569667339325, 0.22909730672836304, -0.6158894300460815, 1.0295408964157104, -0.5151671171188354, -0.39218518137931824, -0.12222215533256531, -0.6994964480400085, 0.23425205051898956, 0.11413349211215973, 0.012739361263811588, -0.12855203449726105, -0.1752159744501114, 0.7413391470909119, -0.2259148806333542, 1.180685043334961, -0.3424889147281647, 0.05838586017489433, 0.2503589987754822, 0.14603185653686523, 0.8251571655273438, 0.339974969625473, 0.09608839452266693, 0.1452527642250061, -0.2645389139652252, -0.24848119914531708, -0.7008954882621765, 0.7022644281387329, -0.4316614270210266, -0.49696648120880127, -0.5478940606117249, -0.604636549949646, -0.19383357465267181, 0.2637057602405548, 0.05333372950553894, 0.46338722109794617, -0.20225290954113007, 0.07320260256528854, 0.7707595229148865, 0.013553127646446228, 0.6423469185829163, 0.09312941879034042, 0.27654585242271423, -0.16556885838508606, 0.9606150984764099, -0.004230463411659002, -0.4004238247871399, 0.3400595188140869, 0.06766432523727417, -0.21447180211544037, -0.2335333526134491, -0.4023134708404541, -0.0148152532055974, -0.5787407159805298, -0.20161332190036774, -0.7557092905044556, -0.07100784033536911, -0.18200217187404633, -0.4553097188472748, -0.20246466994285583, -0.41827288269996643, -0.4392920136451721, 0.21393521130084991, 0.4569878578186035, 0.4983549118041992, -0.0071070934645831585, 0.3809852600097656, -0.8171617388725281, 0.22258947789669037, 0.5840907096862793, 0.20775288343429565, -0.00122273457236588, -0.3367643356323242, -0.21006613969802856, -0.05710635334253311, -0.14908282458782196, -0.9434099793434143, 0.4673303961753845, -0.03568322956562042, 0.48740318417549133, 0.3268449008464813, 0.08244787156581879, 0.5412658452987671, -0.33960261940956116, 0.744475245475769, 0.3247745633125305, -0.9163956046104431, 0.5270758867263794, -0.26993465423583984, 0.07321329414844513, 0.46605384349823, 0.4062938690185547, -0.596400797367096, 0.554492712020874, -0.6862787008285522, -1.0785801410675049, 0.8119925856590271, -0.0263393372297287, 0.2607688009738922, -0.017913788557052612, 0.29272451996803284, -0.04445301368832588, 0.17963117361068726, -0.6912380456924438, 0.1318236142396927, -0.36532464623451233, -0.2334643304347992, 0.19909319281578064, -0.0032609892077744007, -0.24818021059036255, -0.2825668156147003, 0.4722110629081726, -0.26091769337654114, 0.3231143653392792, 0.2207498997449875, -0.3687596321105957, 0.6098228096961975, 0.25146761536598206, 0.37419193983078003, 0.40963035821914673, -0.05225230008363724, 0.34474021196365356, 0.501121997833252, -0.5111979246139526, 0.25029456615448, 0.011755300685763359, -0.2321363091468811, -0.07887333631515503, 0.06328476220369339, 0.6132351160049438, 0.36158475279808044, -0.91790372133255, 0.5502499341964722, 0.047150105237960815, -0.015853282064199448, -0.5138899683952332, 0.24343298375606537, 0.012488014996051788, 0.30581071972846985, 0.18411104381084442, 0.20602203905582428, 0.29407355189323425, -0.3672245144844055, 0.21620897948741913, 0.5210100412368774, -0.5612096786499023, -0.5307309031486511, 0.4278208911418915, 0.2314276397228241, -0.44344839453697205, 0.5685670375823975, -0.4375218152999878, -0.546865701675415, 0.6689431071281433, 0.49170610308647156, 1.07049560546875, 0.06259014457464218, -0.027219204232096672, 0.6014969944953918, -0.013921782374382019, -0.29725781083106995, 0.4391968250274658, -0.41543489694595337, -0.6338503360748291, -0.3453623950481415, -0.2494277060031891, -0.24566374719142914, 0.11397538334131241, -0.22091828286647797, 0.20577682554721832, -0.21897383034229279, -0.14532750844955444, -0.38035058975219727, -0.2536652088165283, -0.7512805461883545, 0.19541388750076294, 0.03339715301990509, 0.598773181438446, -0.7388306856155396, 0.801354169845581, 0.886986494064331, -0.16631117463111877, -0.8363875150680542, 0.09950008243322372, -0.2200041115283966, -0.6504974365234375, 1.141899585723877, 0.5408618450164795, -0.0801813080906868, -0.009548511356115341, -0.5998918414115906, -0.9147889018058777, 1.4519286155700684, 0.3320503234863281, -0.2725120186805725, -0.05560264363884926, -0.07102197408676147, 0.24134618043899536, -0.4600030183792114, 0.0850132405757904, 0.3493654727935791, 0.6852355599403381, -0.0007824792992323637, -0.5608125329017639, 0.5153236985206604, -0.27857762575149536, -0.20707379281520844, 0.10440488159656525, -0.23798568546772003, 0.7326859831809998, -0.18303437530994415, -0.44596007466316223, -0.29404792189598083, 0.6747781038284302, 0.6980263590812683, 0.8201077580451965, 0.6758145689964294, 0.2890523374080658, 0.7553512454032898, 0.05694849044084549, 0.7824536561965942, -0.5483129024505615, 0.12985390424728394, 0.988415002822876, -0.31100738048553467, 0.521704375743866, 0.6942837834358215, 0.23082362115383148, 0.1792447417974472, 0.5343988537788391, 0.1922105997800827, 0.6218597888946533, 0.1471087485551834, -0.6374916434288025, -0.5099776387214661, -0.11436466872692108, -0.20890502631664276, 0.35248157382011414, 0.2449210286140442, -0.2235288769006729, -0.269361287355423, -0.12853291630744934, -0.006243601907044649, -0.25001925230026245, -0.254446804523468, 0.6540855765342712, 0.12566687166690826, -0.7072718739509583, 0.47275689244270325, -0.14027124643325806, 0.9106061458587646, -0.48253050446510315, -0.2732639014720917, 0.015822727233171463, -0.17007988691329956, -0.2995535135269165, -0.6701558828353882, 0.3947218060493469, 0.06876559555530548, -0.15531951189041138, -0.3342117369174957, 1.0047715902328491, -0.08747147768735886, -0.13389283418655396, 0.08047081530094147, 0.49553382396698, 0.20302064716815948, -0.5575855374336243, -0.5759784579277039, -0.4562303423881531, -0.31667059659957886, -0.28541499376296997, 0.46857282519340515, 0.6604426503181458, -0.16824498772621155, 0.6897903680801392, 0.6568943858146667, -0.21850183606147766, -0.26747027039527893, -0.2400253415107727, 1.033463954925537, -0.8398926258087158, -0.7986806035041809, -0.9151593446731567, 0.43578633666038513, -0.1986420899629593, -0.4096810817718506, 0.6091333627700806, 0.46045011281967163, 0.4718608856201172, -0.10645849257707596, 0.8461438417434692, -0.35062089562416077, -0.0802500918507576, -0.5003848671913147, 0.7831857204437256, -0.4534212350845337, 0.32921305298805237, 0.06763657182455063, -0.4442151188850403, -0.21322667598724365, 0.7548142075538635, -0.46535050868988037, -0.013936284929513931, 0.5152732729911804, 1.0225672721862793, -0.5222901701927185, 0.054373301565647125, 0.2886701822280884, -0.14734433591365814, 0.13457706570625305, 0.9152479767799377, 1.058593988418579, -0.28804174065589905, 0.3169802129268646, -0.05051598325371742, -0.24984227120876312, -0.1990930289030075, -1.16864013671875, -0.9408101439476013, -0.672284722328186, -0.11291671544313431, -0.16868101060390472, 0.05844655632972717, 1.1814223527908325, 0.9233905673027039, -0.5604944825172424, -0.19622007012367249, -0.548863410949707, 0.04923277720808983, -0.3406904339790344, -0.15901179611682892, 0.5362991094589233, -0.3024844825267792, -0.3565511107444763, 0.7173588275909424, 0.08450445532798767, -0.0791221633553505, 0.11302106082439423, -0.35832837224006653, 0.04470090568065643, -0.20955179631710052, 0.7782717943191528, 0.3711892366409302, -0.6033630967140198, -0.31752046942710876, 0.1754579246044159, -0.0386546365916729, 0.026461349800229073, 1.0239546298980713, -1.0268726348876953, -0.1086471825838089, 0.7307747602462769, 0.9959457516670227, 0.31918850541114807, -0.05249627307057381, 0.3341428339481354, -0.8260436058044434, 0.05382275953888893, 0.34387272596359253, 0.42531344294548035, 0.14500944316387177, -0.5754381418228149, 0.7767090797424316, 0.2925872206687927, -0.5814482569694519, -0.8026292324066162, 0.25930944085121155, -1.3358168601989746, -0.2176527976989746, 1.240977168083191, -0.09694334119558334, -0.4300808310508728, -0.36179473996162415, -0.3542003631591797, 0.24387390911579132, -0.6257785558700562, 1.1332454681396484, 0.38278070092201233, -0.5540444850921631, 0.05911337956786156, -0.5760699510574341, 0.5318443775177002, 0.41636040806770325, -0.9219170808792114, 0.33979901671409607, 0.42651310563087463, 0.250016450881958, 0.04802068695425987, 0.6109142899513245, 0.3765468895435333, 0.40143099427223206, -0.329951673746109, 0.08401944488286972, -0.4272277355194092, -0.15397100150585175, -0.21932248771190643, 0.30792149901390076, -0.42474421858787537, -0.03557458892464638 ]
http://arxiv.org/abs/2403.06574v1
http://arxiv.org/pdf/2403.06574v1
AC-EVAL: Evaluating Ancient Chinese Language Understanding in Large Language Models
2024-03-11T10:24:37
2024-03-11T10:24:37
Yuting Wei, Yuanxing Xu, Xinru Wei, Simin Yang, Yangfu Zhu, Yuqing Li, Di Liu, Bin Wu
cs.CL
cs.CL
Given the importance of ancient Chinese in capturing the essence of rich historical and cultural heritage, the rapid advancements in Large Language Models (LLMs) necessitate benchmarks that can effectively evaluate their understanding of ancient contexts. To meet this need, we present AC-EVAL, an innovative benchmark designed to assess the advanced knowledge and reasoning capabilities of LLMs within the context of ancient Chinese. AC-EVAL is structured across three levels of difficulty reflecting different facets of language comprehension: general historical knowledge, short text understanding, and long text comprehension. The benchmark comprises 13 tasks, spanning historical facts, geography, social customs, art, philosophy, classical poetry and prose, providing a comprehensive assessment framework. Our extensive evaluation of top-performing LLMs, tailored for both English and Chinese, reveals a substantial potential for enhancing ancient text comprehension. By highlighting the strengths and weaknesses of LLMs, AC-EVAL aims to promote their development and application forward in the realms of ancient Chinese language education and scholarly research. The AC-EVAL data and evaluation code are available at https://github.com/yuting-wei/AC-EVAL.
[ -0.3303101062774658, -1.0973011255264282, 0.6344326138496399, 0.1265629082918167, -0.21711690723896027, 0.08975441008806229, -0.6435219049453735, -0.34795334935188293, -0.26016613841056824, 0.33160704374313354, -0.1345665007829666, -0.6300197839736938, -0.22458991408348083, 0.15784430503845215, -0.5309879779815674, 0.7385060787200928, -0.45673468708992004, 0.20777159929275513, -0.12062520533800125, -0.30146485567092896, -0.12169750779867172, -0.4447709321975708, -0.8980848789215088, -0.442268431186676, 0.11940592527389526, 0.26798585057258606, 0.5022778511047363, 0.7866557836532593, 0.5316795110702515, 0.23809188604354858, -0.2850077152252197, 0.20953892171382904, -0.2535707354545593, 0.07607835531234741, -0.09313316643238068, -0.4149872064590454, -0.6834165453910828, 0.04787442460656166, 0.9386194348335266, 0.661872386932373, -0.2065953016281128, 0.19356778264045715, 0.23409397900104523, 0.7013199925422668, -0.7808608412742615, 0.10790388286113739, -0.5147427916526794, -0.09263897687196732, -0.3066152036190033, -0.38290584087371826, -0.4410870671272278, -0.20904049277305603, 0.2227291613817215, -0.6042330861091614, -0.056288134306669235, 0.17541810870170593, 0.7149275541305542, 0.14014527201652527, -0.3720884621143341, -0.1420133113861084, -0.39889177680015564, 0.6358157992362976, -0.6550315022468567, 0.34754493832588196, 0.3735431432723999, 0.3752342760562897, 0.20895615220069885, -0.9832903146743774, -0.6679033041000366, -0.603289008140564, 0.02413281984627247, 0.05658707767724991, -0.3595774471759796, 0.12599283456802368, 0.20495381951332092, 0.7839067578315735, -0.7040637135505676, 0.0654943659901619, -0.083866648375988, -0.07347238808870316, 0.5460166335105896, 0.31800299882888794, 0.5698533058166504, -0.009238212369382381, -0.4888831079006195, -0.1998675912618637, -0.7939143180847168, 0.10038440674543381, 0.047680340707302094, 0.006998163182288408, -0.2029677927494049, 0.2926281690597534, -0.25335603952407837, 0.623306930065155, -0.21766628324985504, -0.023693324998021126, 0.20880138874053955, -0.2620715796947479, -0.3092513382434845, -0.0295757707208395, 0.7187530398368835, 0.03895999491214752, 0.27211469411849976, -0.03259854391217232, -0.3542628884315491, -0.031439408659935, -0.05679607018828392, -0.5536202788352966, -0.38205158710479736, -0.037161748856306076, -0.5532089471817017, -0.013948739506304264, -0.01447885762900114, -0.6082826256752014, -0.42813611030578613, -0.14674685895442963, 0.427534818649292, -0.6186512112617493, -0.25080424547195435, -0.034631434828042984, 0.017080726101994514, 0.3957548439502716, 0.4747992157936096, -0.610506534576416, 0.5848885774612427, 0.8805898427963257, 0.9068882465362549, -0.330624520778656, -0.7163886427879333, -0.5116153359413147, -0.05739254504442215, -0.39904242753982544, 0.7629011869430542, -0.576541543006897, -0.15637585520744324, -0.08965300023555756, -0.2531253695487976, -0.016782166436314583, -0.44162753224372864, 0.8051035404205322, -0.4560132622718811, -0.12134488672018051, -0.003718758001923561, -0.5350562334060669, -0.4700092673301697, 0.48915207386016846, -0.7431403994560242, 0.945505678653717, 0.08837035298347473, -0.4322754144668579, 0.004001034423708916, -0.5598481893539429, -0.5146235823631287, 0.5440453886985779, -0.15913709998130798, 0.008535453118383884, -0.0070387255400419235, 0.34436771273612976, 0.16323500871658325, -0.5356234908103943, 0.070744089782238, -0.16593630611896515, -0.4831017553806305, 0.13053235411643982, -0.8749451041221619, 0.6424721479415894, 0.35470128059387207, -0.6263226270675659, 0.036325909197330475, -0.5415297746658325, 0.14439620077610016, 0.006108325440436602, -0.30558642745018005, -0.5110749006271362, 0.0777416080236435, 0.11787361651659012, -0.07463181763887405, 0.5213103890419006, -0.1128234714269638, 0.24495664238929749, -0.3802274763584137, 0.20331721007823944, 0.7086853384971619, -0.2015760987997055, 0.20840543508529663, -0.18241026997566223, 0.5996221899986267, -0.35514023900032043, -0.09534455090761185, -0.37577003240585327, -0.08284113556146622, -0.8511492609977722, -0.02630806155502796, 0.204203799366951, 0.4326692521572113, -0.7061824202537537, 0.3360099196434021, -0.2919921278953552, -0.6633597612380981, -0.7022141814231873, 0.32791146636009216, 0.517075777053833, 0.28722861409187317, 0.3992393910884857, -0.32050666213035583, -0.20068798959255219, -0.5858607888221741, -0.3597833216190338, -0.6740821599960327, -0.021312320604920387, 0.5223334431648254, 0.4568063020706177, -0.02736923098564148, 0.43419429659843445, -0.18767207860946655, -0.3014339804649353, -0.5338566899299622, 0.21876516938209534, -0.03604617342352867, 0.2002294957637787, 0.4801803231239319, -0.6281667947769165, -0.4272588789463043, 0.483271986246109, -0.3337756097316742, -0.2739095091819763, -0.16634905338287354, -0.06063252314925194, 0.3845660388469696, 0.3415048122406006, -0.24652400612831116, 0.40680015087127686, 0.7270678281784058, -0.4970444142818451, 0.6428321003913879, -0.3478086292743683, 0.47679373621940613, -0.6730136275291443, 0.5184426307678223, 0.0847180038690567, 0.034689612686634064, -0.6066297292709351, 0.45149359107017517, 0.40005257725715637, 0.09399612993001938, -0.6036757230758667, 0.794288694858551, -0.6735267043113708, 0.10239827632904053, -0.39820849895477295, 0.5806620717048645, 0.04103122279047966, 0.30888885259628296, 0.3058897852897644, 0.6613934636116028, 0.5195127725601196, -0.5312615036964417, 0.5211229920387268, 0.03236803784966469, -0.5687881708145142, 0.4628567695617676, -0.4021904170513153, 0.13272222876548767, 0.20164939761161804, 0.23421570658683777, -0.76882404088974, -0.0380391888320446, 0.0616319440305233, -0.40359795093536377, 0.05131998658180237, 0.06218879669904709, -0.33041781187057495, -0.12228814512491226, -0.13713523745536804, 0.7523863315582275, 0.32074424624443054, -0.5841488838195801, 0.703211784362793, 0.1549137830734253, -0.019617559388279915, -0.6474211812019348, -0.5205103754997253, 0.21529515087604523, -0.27987828850746155, -0.48511895537376404, 0.07872951775789261, -0.1756811887025833, -0.6925548911094666, 0.025576988235116005, -0.16776101291179657, -0.271342396736145, 0.3448643684387207, -0.341665118932724, 0.3858981430530548, -0.6397020816802979, -0.13222138583660126, -0.12402951717376709, 0.0608145035803318, 0.07578005641698837, 0.09639417380094528, 0.8308852314949036, -0.41646820306777954, -0.45715659856796265, -0.49403616786003113, -0.05992363020777702, 0.6357638239860535, -0.37910792231559753, 0.4998565912246704, 0.22211796045303345, -0.5275483727455139, -0.3743533194065094, -0.7496097683906555, 0.22842620313167572, -0.42889800667762756, 0.5379719734191895, -0.39473065733909607, -0.5511325597763062, 0.4873565137386322, 0.14535649120807648, 0.1678578108549118, 0.7283603549003601, 0.6264193058013916, 0.4649289548397064, 0.7741482257843018, 0.23181815445423126, -0.5486603379249573, 0.2755230963230133, -0.12164335697889328, -0.12212751060724258, -0.9839882850646973, -0.18359549343585968, -0.5241174101829529, -0.1779954582452774, -0.2320910543203354, -0.32305318117141724, 0.22844946384429932, 0.10932451486587524, -0.27505913376808167, 0.19541583955287933, -0.114421546459198, 0.4712657928466797, 0.23028331995010376, -0.03831174224615097, 0.5530623197555542, -0.42276179790496826, 0.09898111969232559, 0.39316070079803467, -0.26148682832717896, -0.7518410086631775, 0.9172636866569519, 0.5293713808059692, 0.9344154000282288, 0.06401713192462921, 0.41196587681770325, 0.3177874982357025, 0.30015018582344055, -0.8832895159721375, 0.5658622980117798, -0.22969749569892883, -0.3729217052459717, -0.282755583524704, -0.5707163214683533, -0.8094438314437866, 0.3439492881298065, 0.10809602588415146, -0.6835013031959534, -0.156719371676445, 0.11452401429414749, -0.4590056538581848, 0.4652535617351532, -0.5170867443084717, 1.0268852710723877, -0.7504191398620605, -0.05020764097571373, -0.528667151927948, -0.35266900062561035, 0.40212002396583557, -0.04922885075211525, 0.2784176170825958, 0.015374058857560158, -0.36342570185661316, 0.6391986608505249, 0.0315818190574646, 0.31135597825050354, 0.1811114102602005, 0.027659131214022636, 0.20422130823135376, 0.3403850197792053, 0.28250330686569214, -0.005146291572600603, -0.26059699058532715, 0.09606096893548965, 0.171652153134346, -0.21403691172599792, -0.4957912862300873, 0.824244499206543, -0.8288195729255676, -0.5898194909095764, -0.547829270362854, -0.4215163290500641, 0.1205626130104065, 0.15264275670051575, -0.09469176828861237, 0.4233609139919281, -0.5625966191291809, 0.24077069759368896, 0.4032348692417145, -0.3400118350982666, 0.44203823804855347, 0.8242955207824707, -0.07945214956998825, -0.29592519998550415, 0.6706472039222717, -0.18514291942119598, 0.44695261120796204, 0.4667139947414398, 0.23391786217689514, -0.11597820371389389, -0.8478730916976929, -0.4622161090373993, -0.10785471647977829, -0.6950249075889587, -0.03705715015530586, -0.40991833806037903, -0.42137253284454346, -0.3192739188671112, 0.03041692264378071, -0.31965622305870056, -0.04595888406038284, -0.430685430765152, 0.08038551360368729, 0.024305330589413643, 0.7627867460250854, -0.04041846841573715, 0.008404087275266647, -0.6529549956321716, 0.44176992774009705, -0.009138723835349083, 0.46889618039131165, 0.3185826241970062, -0.566947877407074, -0.303682416677475, -0.010467960499227047, -0.29134219884872437, -0.6991168856620789, 0.44770896434783936, 0.2685152590274811, 0.835681140422821, 0.6937732100486755, 0.0965413972735405, 0.7903251647949219, -0.564089834690094, 0.9438650012016296, -0.08933085948228836, -1.2478524446487427, 0.44567179679870605, 0.11161571741104126, 0.2768530547618866, 0.6104574799537659, 0.10542438924312592, -0.9938352704048157, -0.4847559928894043, -0.45445647835731506, -1.0789501667022705, 0.6510568857192993, 0.05291494354605675, -0.10366649925708771, -0.014463279396295547, 0.3394123911857605, 0.14766038954257965, -0.2283092439174652, -0.922936737537384, -0.5416134595870972, 0.07290594279766083, 0.02948729880154133, -0.18205466866493225, -0.07944223284721375, 0.15606296062469482, -0.2950955629348755, 0.68427973985672, -0.04551036283373833, -0.1941707730293274, 0.13056223094463348, -0.46369102597236633, -0.17283223569393158, 0.44977790117263794, 0.33405551314353943, 0.8968815207481384, 0.050516773015260696, 0.35430094599723816, 0.7341229319572449, -0.6016721129417419, -0.2316628247499466, 0.31798726320266724, 0.14328940212726593, -0.3155568540096283, 0.6067915558815002, 0.823590099811554, -0.04538791999220848, -0.8457441329956055, 0.355049729347229, -0.2262479066848755, 0.1132914125919342, -0.4834372103214264, 0.19230034947395325, -0.23443327844142914, 0.21493273973464966, 0.8667915463447571, -0.315583735704422, 0.27934715151786804, -0.7319441437721252, 0.2553648352622986, 0.41533347964286804, -0.31179723143577576, -0.13443796336650848, 0.5763751864433289, 0.14275868237018585, -0.31542763113975525, 0.5923120379447937, 0.01893804408609867, -0.7824786901473999, 0.550262451171875, 0.4373810887336731, 0.8719546794891357, -0.39637506008148193, -0.032394323498010635, 0.3541027903556824, 0.3741055130958557, -0.1538792848587036, -0.08379057049751282, -0.15797485411167145, -0.48383450508117676, -0.5352778434753418, -0.6649494767189026, -0.6846362948417664, 0.3780990242958069, -0.62357097864151, 0.4127712547779083, -0.21363423764705658, 0.3875090777873993, -0.21320925652980804, 0.5023013949394226, -0.651793360710144, 0.3153807818889618, 0.48693954944610596, 1.332150936126709, -0.7192578911781311, 0.8829319477081299, 0.6955803036689758, -0.17417152225971222, -0.7686070799827576, 0.23832173645496368, 0.13853050768375397, -0.9258886575698853, 0.48735830187797546, 0.14746996760368347, -0.10473410040140152, 0.01759018748998642, -0.39446213841438293, -0.5993014574050903, 1.0601094961166382, 0.22904565930366516, -0.5427082180976868, 0.0031857620924711227, -0.06553217768669128, 0.7178013324737549, -0.3248060941696167, 0.697609007358551, 1.0271012783050537, 0.5862542986869812, -0.13491953909397125, -1.0999186038970947, 0.1104353815317154, -0.6111370921134949, -0.28343066573143005, 0.0664157047867775, -0.559921145439148, 0.6446422338485718, 0.003741421503946185, -0.5416769981384277, 0.6595642566680908, 0.7643946409225464, 0.3844296932220459, 0.4921596050262451, 0.559868335723877, 0.5205923914909363, 0.604035496711731, -0.3298620581626892, 1.135392427444458, -0.45244652032852173, 0.13617634773254395, 0.8009432554244995, -0.066914401948452, 0.9951929450035095, 0.1871030032634735, -0.13569167256355286, 0.4888833463191986, 0.6874749064445496, 0.06111985445022583, 0.19205239415168762, 0.25776931643486023, -0.5484278798103333, -0.2689794600009918, -0.11848999559879303, -0.5834112763404846, 0.4270581305027008, 0.42909786105155945, -0.19238947331905365, -0.1208585873246193, -0.27143529057502747, 0.047511350363492966, 0.07945919036865234, -0.5803877711296082, 0.7416970133781433, 0.1764821857213974, -0.7817457318305969, 0.3985729217529297, -0.05653494969010353, 0.4995289146900177, -0.597920298576355, -0.1384250819683075, -0.2097495198249817, 0.24890607595443726, -0.039489805698394775, -1.0718783140182495, -0.12295433133840561, 0.0662880539894104, 0.4609730541706085, 0.018878987058997154, 0.45908644795417786, -0.42389458417892456, -0.25063568353652954, 0.3247903883457184, 0.5556683540344238, 0.3190763592720032, 0.09616059809923172, -0.5409882068634033, 0.18721020221710205, -0.13709382712841034, -0.48262229561805725, 0.060360636562108994, 0.6432276964187622, 0.0786021500825882, 0.7103238105773926, 0.45462265610694885, 0.40906643867492676, -0.45434609055519104, 0.1698702573776245, 0.6702678203582764, -0.759290874004364, -0.3268851339817047, -1.243537187576294, 0.34990328550338745, 0.20738919079303741, -0.5619819760322571, 0.7562419772148132, 0.7122998237609863, 0.8214632272720337, 0.48473405838012695, 0.8241013288497925, -0.035365499556064606, 0.1336120218038559, -0.40481507778167725, 1.073944091796875, -0.7136304378509521, 0.4156365394592285, -0.46331945061683655, -0.8927276134490967, -0.2538515627384186, 0.6032969355583191, -0.386471688747406, 0.030411524698138237, 0.9385682940483093, 0.2637680470943451, 0.133592426776886, 0.06745931506156921, 0.2748410999774933, 0.18380150198936462, 0.23112601041793823, 0.829753577709198, 1.163755178451538, -0.10989726334810257, 0.7351222634315491, -0.3418135344982147, -0.4532288610935211, 0.1034068763256073, -0.7470237612724304, -0.8180957436561584, -0.601334273815155, -0.15100452303886414, -0.27995795011520386, 0.11368855834007263, 0.961656391620636, 0.12243165075778961, -0.8517181277275085, -0.5104526281356812, 0.11152198165655136, 0.17977523803710938, -0.44066449999809265, -0.22840149700641632, 0.8181072473526001, -0.276246041059494, -0.9479011297225952, 0.4955815076828003, 0.2968563437461853, -0.14680293202400208, -0.34145471453666687, -0.3770467936992645, -0.02257869392633438, -0.09589140862226486, 0.440362811088562, 0.38870707154273987, -0.9496014714241028, -0.3573908805847168, 0.11337529867887497, -0.1257617175579071, -0.03693860024213791, 0.8070683479309082, -0.7078859806060791, 0.40514788031578064, 0.6441023349761963, 0.6257304549217224, 0.24824963510036469, 0.02112801931798458, 0.654900312423706, -0.1595981866121292, -0.25717613101005554, 0.3060813546180725, 0.7700270414352417, 0.29327812790870667, -0.09066778421401978, 0.5236762762069702, -0.07358536869287491, -0.6529482007026672, -0.8105801939964294, -0.12500379979610443, -1.052036166191101, -0.402511328458786, 1.3452324867248535, -0.30896469950675964, -0.19117723405361176, -0.05071413889527321, -0.3278883397579193, 0.36588937044143677, -0.2533906400203705, 0.8746451735496521, 0.8266689777374268, 0.03140728175640106, -0.4876544177532196, -0.4175434410572052, 0.28399989008903503, 0.3948473036289215, -0.9407123327255249, 0.21342606842517853, 0.6228155493736267, -0.002134401584044099, -0.009154802188277245, 0.4729699492454529, -0.027368884533643723, 0.7218224406242371, -0.262069970369339, 0.04892539232969284, 0.14488956332206726, -0.18472014367580414, -0.38265687227249146, 0.0892009511590004, 0.29542356729507446, 0.13831521570682526 ]
http://arxiv.org/abs/2403.06570v1
http://arxiv.org/pdf/2403.06570v1
Improving Speaker Assignment in Speaker-Attributed ASR for Real Meeting Applications
2024-03-11T10:11:29
2024-03-11T10:11:29
Can Cui, Imran Ahamad Sheikh, Mostafa Sadeghi, Emmanuel Vincent
cs.CL
cs.CL
Past studies on end-to-end meeting transcription have focused on model architecture and have mostly been evaluated on simulated meeting data. We present a novel study aiming to optimize the use of a Speaker-Attributed ASR (SA-ASR) system in real-life scenarios, such as the AMI meeting corpus, for improved speaker assignment of speech segments. First, we propose a pipeline tailored to real-life applications involving Voice Activity Detection (VAD), Speaker Diarization (SD), and SA-ASR. Second, we advocate using VAD output segments to fine-tune the SA-ASR model, considering that it is also applied to VAD segments during test, and show that this results in a relative reduction of Speaker Error Rate (SER) up to 28%. Finally, we explore strategies to enhance the extraction of the speaker embedding templates used as inputs by the SA-ASR system. We show that extracting them from SD output rather than annotated speaker segments results in a relative SER reduction up to 20%.
[ -0.5185572504997253, -0.5585914850234985, 0.169968381524086, 0.13738636672496796, -0.33209657669067383, 0.06639392673969269, -0.27243873476982117, -0.5685500502586365, 0.3648509681224823, 0.33019715547561646, -0.5355945825576782, -0.07881001383066177, -0.24880903959274292, 0.012138241901993752, -0.4480920732021332, 0.47727131843566895, 0.3336382508277893, 0.28439491987228394, -0.4262012839317322, -0.14934790134429932, -0.43471306562423706, -0.9192396402359009, -0.7810539603233337, -0.19087332487106323, 0.08584986627101898, 0.5615748167037964, 0.2999209463596344, 0.7518471479415894, 0.4545031487941742, 0.22353561222553253, -0.46297937631607056, 0.18360456824302673, -0.17392268776893616, 0.12886829674243927, 0.011770252138376236, -0.22686322033405304, -0.6593078374862671, -0.17582297325134277, 0.7796716094017029, 0.7073052525520325, -0.5938246250152588, 0.1720171570777893, -0.12101582437753677, 0.23954591155052185, -0.4614197909832001, 0.07316115498542786, -0.6202915906906128, -0.10518898069858551, -0.203939750790596, -0.40112942457199097, -0.4062277376651764, -0.08847071975469589, 0.27179068326950073, -0.3666178584098816, 0.406310498714447, 0.10452720522880554, 0.915215790271759, 0.20795950293540955, -0.09284231811761856, -0.19950635731220245, -0.9993157386779785, 0.4463810324668884, -0.7910363674163818, 0.7284818291664124, 0.2961901128292084, 0.5463376641273499, -0.0786605030298233, -0.3370656371116638, -0.6623716354370117, -0.27453896403312683, 0.17280451953411102, -0.03699253872036934, -0.15357518196105957, 0.2139826864004135, 0.2943502366542816, 0.31066620349884033, -0.23824109137058258, 0.30854710936546326, -0.42797309160232544, -0.28883060812950134, 0.6024937629699707, 0.028509529307484627, 0.3363704979419708, 0.03257209435105324, -0.10126025229692459, -0.07614093273878098, -0.6254771947860718, -0.016638167202472687, 0.32626742124557495, 0.7301285862922668, 0.09171879291534424, 0.6884065270423889, -0.12827879190444946, 0.6137439012527466, 0.309705913066864, 0.2768089771270752, 0.24424855411052704, -0.37952178716659546, 0.0761813074350357, 0.44911402463912964, 0.43843135237693787, 0.4501315653324127, 0.3165392577648163, -0.08803143352270126, -0.22732609510421753, -0.03504106029868126, 0.32548657059669495, -0.7738077640533447, -0.35694849491119385, -0.04393073543906212, -0.32116132974624634, 0.061404503881931305, 0.03798185661435127, -0.6705527305603027, -0.14846768975257874, -0.46114417910575867, 0.519668698310852, -0.508347749710083, -0.16119857132434845, -0.16272452473640442, -0.2043554037809372, 0.2843087613582611, 0.3579168915748596, -0.8681486248970032, 0.6785176396369934, 0.5638639330863953, 0.9750889539718628, -0.12533913552761078, -0.08305943757295609, -1.136117696762085, 0.47166645526885986, -0.07318201661109924, 0.8695235848426819, -0.5125468969345093, -0.6532654762268066, -0.19889546930789948, -0.31726494431495667, -0.28639650344848633, -0.7057207226753235, 0.5726246237754822, -0.13061299920082092, 0.17841802537441254, -0.36065950989723206, -0.6850488781929016, 0.4978291988372803, -0.12359382957220078, -0.3879024088382721, 0.7677818536758423, -0.05231127142906189, -0.16037245094776154, 0.2554250657558441, -1.0355234146118164, -0.45887625217437744, 0.029393356293439865, -0.42319101095199585, -0.3645288646221161, 0.1268850415945053, 0.42254072427749634, 0.24480853974819183, 0.0030837843660265207, -0.23062027990818024, 0.10564124584197998, -0.5716182589530945, 0.47962242364883423, -0.1600065976381302, 0.32254311442375183, 0.3209218680858612, -0.3576754927635193, 0.16679531335830688, -0.9636285901069641, -0.24032069742679596, -0.23165728151798248, -0.3757268190383911, -0.5001294016838074, 0.5653678178787231, 0.21635624766349792, -0.060223910957574844, -0.13426519930362701, -0.886751651763916, -0.11387401074171066, -0.6867288947105408, 0.26293936371803284, 0.7679228186607361, 0.19226305186748505, 0.4493001103401184, -0.13280253112316132, 0.512467622756958, -0.08953350782394409, -0.049052778631448746, -0.06054012477397919, -0.2833254933357239, -0.8755097985267639, -0.6633884906768799, 0.3650263547897339, 0.4807877242565155, -0.4889388680458069, 0.6850752830505371, -0.6703385710716248, -0.4878237843513489, -0.8243268728256226, -0.4542483687400818, 0.6389222741127014, 0.4774312376976013, 0.3000114858150482, -0.46100524067878723, -0.5557971000671387, -0.7846450209617615, -0.43002814054489136, -0.341554194688797, -0.3566431999206543, 0.6224420070648193, -0.147971972823143, -0.028876030817627907, 0.9903472661972046, -0.4082866311073303, -0.357589453458786, -0.19545157253742218, 0.06002297252416611, 0.0010980026563629508, 0.5045775771141052, 0.3919864594936371, -0.850476861000061, -0.4966927468776703, -0.034936241805553436, 0.22352473437786102, -0.5456518530845642, -0.19829782843589783, 0.11861125379800797, 0.2008204162120819, 0.5750168561935425, -0.35713642835617065, 0.4636424481868744, 0.29724058508872986, -0.4654140770435333, 0.5341724157333374, -0.046373747289180756, 0.12497653067111969, -0.8420224785804749, 0.031589724123477936, -0.10478506982326508, -0.32872724533081055, -0.8962201476097107, -0.1690988689661026, -0.12312185764312744, -0.2700532376766205, -0.3997119069099426, 0.2613210082054138, -0.5505315661430359, -0.4626334309577942, -0.30873700976371765, 0.19173100590705872, -0.1853250414133072, 0.4319896996021271, 0.20110951364040375, 1.1112562417984009, 0.15523381531238556, -0.7171716690063477, 0.12901991605758667, 0.7953500747680664, -0.460299015045166, 0.6423295140266418, -0.6106247305870056, 0.33990252017974854, 0.021995404735207558, 0.1980830729007721, -1.1452234983444214, -0.18374906480312347, -0.00545013090595603, -0.5705585479736328, 0.38253170251846313, -0.258670449256897, -0.2819689214229584, 0.06837183237075806, -0.08472780883312225, 0.3503498435020447, 0.33917155861854553, -0.6202359795570374, 0.5322731137275696, 0.6685243844985962, -0.5664886236190796, 0.01712685264647007, -0.5243058800697327, 0.24757739901542664, -0.24766099452972412, -0.353639155626297, 0.6234068870544434, -0.05610983818769455, -0.11652390658855438, -0.32241877913475037, -0.2682424783706665, -0.026575515046715736, -0.23501978814601898, 0.34245336055755615, -0.06018201634287834, -0.16234736144542694, -0.14200499653816223, -0.18617196381092072, -0.22932682931423187, -0.20552805066108704, 0.24082395434379578, 0.6842744946479797, -0.09713120758533478, -0.7262418866157532, -0.8304567933082581, 0.668729305267334, 0.581477165222168, -0.29314151406288147, 0.4720472991466522, 0.5036213994026184, -0.3434111475944519, 0.18845458328723907, -0.7647829055786133, 0.1022319495677948, -0.4638415277004242, 0.493927001953125, -0.44106167554855347, -0.8634503483772278, 0.699541449546814, -0.004089602269232273, 0.0590694323182106, 0.12962575256824493, 0.4639793634414673, -0.149424746632576, 0.9479619264602661, 0.48644864559173584, -0.10481145232915878, 0.9209621548652649, -0.005372055806219578, 0.5181781053543091, -1.144736409187317, -0.2620942294597626, -0.8122081756591797, -0.3071689307689667, -0.2929798662662506, -0.5314524173736572, 0.4438663721084595, -0.2884454131126404, 0.08984609693288803, 0.6049494743347168, -0.43020543456077576, 0.36123931407928467, 0.7223027348518372, -0.041609302163124084, 0.03289742395281792, 0.035849109292030334, 0.21685028076171875, -0.3150252103805542, -0.6553046107292175, -0.3914564251899719, 0.5528004169464111, 0.27804943919181824, 0.397016704082489, 0.3107054829597473, 0.6408907175064087, 0.2429121434688568, -0.07012571394443512, -0.6029985547065735, 0.5875466465950012, -0.17939253151416779, -0.3920228183269501, -0.567088782787323, -0.4920920431613922, -0.6364849805831909, 0.2832341194152832, 0.14461687207221985, -0.9847820997238159, 0.744871973991394, 0.2820545732975006, -0.6368153095245361, -0.007148429751396179, -0.8168033361434937, 0.5579338669776917, -0.06668122857809067, 0.21743284165859222, -0.17395520210266113, -0.6373687982559204, -0.34989842772483826, 0.05694098770618439, 0.3238556683063507, -0.1997278332710266, 0.22390468418598175, 0.9438365697860718, -0.3361462354660034, 0.5997171401977539, -0.41410404443740845, 0.05479327589273453, 0.2155015468597412, -0.11118563264608383, 0.6858343482017517, -0.2721182405948639, -0.5525624752044678, -0.20372293889522552, 0.23200103640556335, -0.10604589432477951, -0.5000174641609192, 0.48291775584220886, -0.8940015435218811, -0.36050763726234436, -0.047976672649383545, -0.4008435904979706, -0.3074304461479187, -0.2170397937297821, 0.4267699718475342, 0.8830869197845459, -0.36450308561325073, 0.4148117005825043, 0.4211280643939972, -0.14617788791656494, 0.221278578042984, 0.49425968527793884, 0.12762805819511414, -0.3593367338180542, 1.2267040014266968, 0.27765825390815735, 0.5586223006248474, 0.43125638365745544, 0.01022262405604124, -0.20744143426418304, -0.8435191512107849, -0.23264117538928986, -0.03615722805261612, -0.4103811979293823, -0.015131074003875256, -0.7627635598182678, -0.23664523661136627, -0.7981202006340027, -0.1806180775165558, -0.7001738548278809, -0.8341765403747559, -0.520187258720398, -0.15615077316761017, -0.011686557903885841, -0.2132268249988556, -0.029424592852592468, 0.8841619491577148, -0.6371501088142395, 0.4294201135635376, 0.13483230769634247, 0.22528576850891113, -0.4538820683956146, -0.769753634929657, -0.29928380250930786, 0.24615824222564697, -0.13308727741241455, -0.8617064952850342, 0.5267997980117798, 0.9883689880371094, 0.7665538787841797, 0.37879741191864014, 0.2316591739654541, 1.3344056606292725, -0.549721360206604, 0.9140425324440002, 0.04688841849565506, -0.9695761799812317, 0.6751386523246765, -0.40705475211143494, 0.15607763826847076, 0.7458524107933044, -0.18812595307826996, -0.7589146494865417, -0.3623468279838562, -0.6155867576599121, -1.2381823062896729, 0.9985969662666321, 0.4239463210105896, 0.14397478103637695, -0.014666950330138206, 0.45225775241851807, -0.09696555137634277, 0.11706062406301498, -0.2891038954257965, -0.20941781997680664, -0.07483626157045364, 0.13993826508522034, -0.04744214564561844, -0.4145844280719757, -0.17524556815624237, -0.4730234146118164, 0.8823038339614868, -0.05222303047776222, 0.6648018956184387, 0.2499164193868637, -0.08765896409749985, -0.36379435658454895, 0.35007673501968384, 0.5761377811431885, 0.6555023789405823, -0.44904184341430664, 0.09710846096277237, 0.31315433979034424, -0.2628398835659027, -0.009242627769708633, 0.11842560023069382, 0.09729977697134018, 0.2735441029071808, 0.17483381927013397, 0.9150906801223755, 0.1551673263311386, -0.9523328542709351, 0.6333867907524109, -0.1314583718776703, -0.00017262589244637638, -0.5725786685943604, 0.29301509261131287, -0.10052313655614853, 0.1445804089307785, 0.44140544533729553, -0.08608196675777435, 0.23776385188102722, -0.5023984313011169, 0.38683128356933594, 0.23862998187541962, -0.6514378190040588, -0.3650723099708557, 0.6319395303726196, 0.5555083751678467, -1.0157392024993896, 0.7658929228782654, -0.07100843638181686, -0.5118203163146973, 0.5140267014503479, 0.6996141672134399, 0.8159658312797546, -0.6799474954605103, -0.17322196066379547, 0.03135992959141731, 0.13279381394386292, 0.405052125453949, 0.38079652190208435, -0.23544634878635406, -0.5800394415855408, -0.411109060049057, -0.6550406813621521, -0.6608308553695679, 0.02626223862171173, -0.9311464428901672, 0.3897995054721832, -0.07544420659542084, -0.19773398339748383, 0.1656499207019806, -0.16464769840240479, -0.3562309443950653, 0.00711000245064497, 0.2373073250055313, 0.6774126887321472, -0.88676518201828, 0.6971944570541382, 0.8347672820091248, 0.08714713901281357, -0.5709730982780457, -0.06164257600903511, -0.03753018006682396, -0.3601188063621521, -0.09663663059473038, 0.0314791314303875, -0.002780458191409707, 0.09096502512693405, -0.2565248906612396, -0.80820631980896, 0.9821344614028931, 0.4752103388309479, -0.8163985013961792, 0.07483679801225662, 0.06481938064098358, 0.5979777574539185, -0.49870964884757996, -0.083301842212677, 0.401827871799469, 0.2675720453262329, 0.40520426630973816, -1.3036963939666748, -0.2406575232744217, -0.39222630858421326, -0.07886700332164764, 0.3093249201774597, -0.4425120949745178, 0.38851916790008545, -0.018397752195596695, -0.16897337138652802, 0.10309338569641113, 0.9308247566223145, 0.37338587641716003, 0.4756283760070801, 0.8131681680679321, 0.10485322773456573, 0.530762255191803, 0.07403511554002762, 0.7882993221282959, 0.01027851365506649, -0.08508624136447906, 1.4084066152572632, -0.44746920466423035, 0.9701045155525208, 0.9128977656364441, -0.14242899417877197, 0.1788601130247116, 0.47694727778434753, 0.018294960260391235, 0.7642210125923157, 0.29102209210395813, -0.4183211922645569, -0.3388749361038208, -0.250537246465683, -0.31126099824905396, 0.5985420346260071, 0.5523363351821899, -0.10772492736577988, 0.08469482511281967, 0.09202592819929123, -0.2951793372631073, 0.2389514148235321, 0.04315657913684845, 0.9369697570800781, 0.026684613898396492, -0.3688685894012451, 0.1893891841173172, -0.06100720167160034, 0.31864890456199646, -0.3813754916191101, 0.07504234462976456, -0.006380828563123941, 0.20395047962665558, -0.06429729610681534, -0.062617227435112, 0.5083863735198975, 0.1822342574596405, -0.09204772859811783, -0.30022913217544556, 0.5676356554031372, -0.5536312460899353, -0.4567178785800934, -0.026567848399281502, 0.25476983189582825, 0.41028887033462524, -0.2578921318054199, -0.15017567574977875, 0.10819912701845169, 0.00545094208791852, -0.19581320881843567, 0.4728465974330902, 0.2135714888572693, -0.16528239846229553, 0.5702715516090393, 0.7040471434593201, 0.2867562770843506, 0.14500389993190765, 0.42366668581962585, 0.893463134765625, -0.4758543074131012, -0.8365874290466309, -0.6155464053153992, 0.4036903977394104, -0.26103344559669495, -0.2454223781824112, 0.640831708908081, 0.8406463861465454, 0.46462148427963257, 0.17950208485126495, 0.5878727436065674, -0.12400428205728531, 0.8992522358894348, -0.045185502618551254, 0.5365935564041138, -0.2420155555009842, 0.5785359144210815, -0.538425087928772, -0.7243208289146423, -0.2130851149559021, 0.7979217171669006, -0.06781693547964096, -0.31246471405029297, 0.17450976371765137, 0.9929574131965637, -0.16184061765670776, 0.09486294537782669, 0.23616072535514832, -0.057410720735788345, 0.912037193775177, 0.11842826753854752, 0.9025099873542786, -0.43397772312164307, 0.5658919215202332, -0.21823391318321228, -0.26247334480285645, -0.4942834675312042, -0.6787311434745789, -0.5122930407524109, -0.8004178404808044, -0.7887241244316101, 0.004031349439173937, 0.35875365138053894, 1.1944866180419922, 0.5725950598716736, -0.8348855972290039, -0.44971922039985657, 0.2030181735754013, -0.48478391766548157, -0.46472737193107605, -0.15273281931877136, 0.46686646342277527, -0.009813324548304081, -0.7245621085166931, 0.9379218220710754, 0.2116788625717163, -0.0828288272023201, 0.48323333263397217, -0.1935584545135498, -0.3894921839237213, 0.24715597927570343, 0.4586569666862488, 0.2721584439277649, -0.5517481565475464, -0.8754576444625854, 0.002340486506000161, 0.1612483710050583, -0.04579829052090645, 0.6793730854988098, -0.4241010546684265, 0.46095648407936096, 0.4358537793159485, 0.42604508996009827, 0.6260057687759399, 0.5442118048667908, 0.9328010678291321, -1.1864615678787231, 0.07102661579847336, 0.45574596524238586, 0.0643400177359581, 0.3038841784000397, -0.32242801785469055, 0.5122684836387634, 0.015459565445780754, -0.6256837248802185, -1.2326196432113647, -0.029841933399438858, -1.3833187818527222, 0.17488020658493042, 1.2600537538528442, -0.013253303244709969, 0.05883187800645828, -0.2758263051509857, -0.3984377384185791, 0.5673388242721558, -0.4194657504558563, 0.8880314826965332, 0.5254660248756409, -0.6445578932762146, -0.13345226645469666, -0.32472389936447144, 0.4625341296195984, 0.5389449000358582, -0.5243843793869019, 0.24985317885875702, 0.6870546936988831, 0.021170584484934807, 0.20679064095020294, 0.961408793926239, -0.0063779717311263084, 0.38895753026008606, -0.4276648759841919, 0.16984736919403076, -0.1619216501712799, -0.25232821702957153, -0.2956225275993347, 0.022701524198055267, 0.020151287317276, -0.7085203528404236 ]
http://arxiv.org/abs/2403.06563v3
http://arxiv.org/pdf/2403.06563v3
Unraveling the Mystery of Scaling Laws: Part I
2024-03-11T10:05:29
2024-04-05T06:39:34
Hui Su, Zhi Tian, Xiaoyu Shen, Xunliang Cai
cs.LG
cs.LG, cs.CL
Scaling law principles indicate a power-law correlation between loss and variables such as model size, dataset size, and computational resources utilized during training. These principles play a vital role in optimizing various aspects of model pre-training, ultimately contributing to the success of large language models such as GPT-4, Llama and Gemini. However, the original scaling law paper by OpenAI did not disclose the complete details necessary to derive the precise scaling law formulas, and their conclusions are only based on models containing up to 1.5 billion parameters. Though some subsequent works attempt to unveil these details and scale to larger models, they often neglect the training dependency of important factors such as the learning rate, context length and batch size, leading to their failure to establish a reliable formula for predicting the test loss trajectory. In this technical report, we confirm that the scaling law formulations proposed in the original OpenAI paper remain valid when scaling the model size up to 33 billion, but the constant coefficients in these formulas vary significantly with the experiment setup. We meticulously identify influential factors and provide transparent, step-by-step instructions to estimate all constant terms in scaling-law formulas by training on models with only 1M~60M parameters. Using these estimated formulas, we showcase the capability to accurately predict various attributes for models with up to 33B parameters before their training, including (1) the minimum possible test loss; (2) the minimum required training steps and processed tokens to achieve a specific loss; (3) the critical batch size with an optimal time/computation trade-off at any loss value; and (4) the complete test loss trajectory with arbitrary batch size.
[ -0.3647915720939636, -0.4521329700946808, 0.5713735222816467, 0.27337053418159485, 0.07126423716545105, -0.6245178580284119, -0.2947200536727905, -0.20043087005615234, -0.09527545422315598, 0.5979762673377991, -0.5958635210990906, 0.3461090922355652, -0.603621244430542, -0.23158887028694153, -0.2733507752418518, 1.151473879814148, -0.23305630683898926, 0.2612636387348175, 0.06857932358980179, -0.17911577224731445, -0.24142678081989288, -0.31240007281303406, -0.425773948431015, -0.22912649810314178, 0.5398916006088257, 0.3265119791030884, 0.6146214604377747, 0.9698952436447144, 0.7485899925231934, 0.08037672936916351, -0.40257129073143005, -0.2600860893726349, -0.7163659334182739, -0.46120133996009827, 0.060817379504442215, -0.8348342180252075, -0.38753363490104675, 0.25439581274986267, 0.9121024012565613, 0.6587827205657959, -0.30130720138549805, 0.20068436861038208, 0.07905679196119308, 0.698212206363678, -0.6796560883522034, 0.13160330057144165, -0.37321895360946655, 0.11491351574659348, -0.1960686892271042, -0.14886493980884552, -0.553390622138977, -0.13788311183452606, -0.04265723377466202, -0.6812098026275635, 0.3618026375770569, 0.07140909135341644, 1.0455759763717651, 0.31826722621917725, -0.6844402551651001, -0.34485071897506714, -0.7583099603652954, 0.7996768355369568, -0.705147385597229, 0.17427434027194977, 0.39591076970100403, 0.377672016620636, -0.025622885674238205, -0.7558121681213379, -0.5413578152656555, -0.44647952914237976, -0.05136491358280182, -0.20950858294963837, -0.04719145596027374, 0.17798377573490143, 0.578467845916748, 0.5211876034736633, -0.36765262484550476, 0.33949896693229675, -0.5833402872085571, -0.2418932169675827, 0.5664412379264832, 0.29976460337638855, 0.24577157199382782, 0.3206612467765808, -0.0996798425912857, -0.3199893534183502, -0.963459849357605, -0.0936388149857521, 0.3186793327331543, 0.5754405856132507, -0.2923908531665802, 0.37253808975219727, 0.10129592567682266, 0.2614773213863373, 0.18194781243801117, -0.3525109589099884, 0.20441178977489471, -0.6210547685623169, -0.2081911712884903, 0.04074409604072571, 0.778428316116333, 0.28408119082450867, 0.28958016633987427, -0.027388794347643852, 0.10163123160600662, -0.5936977863311768, 0.38019585609436035, -1.2252051830291748, 0.03973725438117981, -0.21721088886260986, -0.5157634615898132, -0.40515318512916565, 0.0023137503303587437, -0.32965168356895447, -0.367410808801651, -0.12944425642490387, 0.7059727907180786, -0.047192808240652084, -0.45828408002853394, -0.03724055737257004, 0.05809810385107994, 0.4179803729057312, 0.21280741691589355, -1.1074273586273193, 0.3475291132926941, 0.5210955739021301, 0.8475699424743652, 0.36041268706321716, -0.2952232360839844, -0.33453837037086487, -0.19573917984962463, -0.5735791325569153, -0.13354012370109558, -0.11334600299596786, -0.17240044474601746, -0.16689635813236237, 0.029355164617300034, -0.03190712258219719, -0.1930726170539856, 0.3966737389564514, -0.5341356992721558, -0.15862791240215302, -0.3591388165950775, -0.5760689377784729, -0.16847150027751923, -0.01739591732621193, -0.835185170173645, 0.46462222933769226, 0.08773523569107056, -0.7536554336547852, 0.5832706689834595, -0.6506134271621704, -0.5052714943885803, -0.13808217644691467, 0.02915804833173752, -0.7650683522224426, 0.3070423901081085, -0.16130851209163666, 0.4615749418735504, -0.6667920351028442, -0.07648933678865433, -0.4110615849494934, -0.14793117344379425, -0.16235652565956116, -0.28168895840644836, 0.9623656272888184, 0.31696197390556335, -0.37338653206825256, -0.039206333458423615, -0.6803548336029053, 0.1165507584810257, 0.3630506694316864, -0.24865449965000153, -0.06092383340001106, -0.17503689229488373, -0.09786989539861679, -0.19828811287879944, 0.135476753115654, -0.6300138235092163, 0.2727511525154114, 0.03613732382655144, 0.5774966478347778, 0.5611454844474792, -0.03973858430981636, 0.5811861157417297, -0.019630173221230507, 0.5499880313873291, -0.23128654062747955, 0.31803634762763977, -0.2861238121986389, -0.37063080072402954, -0.37016481161117554, -0.04598340764641762, 0.28670915961265564, 0.20594331622123718, 0.06278679519891739, -0.00898992270231247, -0.27199703454971313, -0.8243733048439026, -0.2830224633216858, 0.10688134282827377, 0.43899381160736084, 0.425617516040802, 0.16781415045261383, -0.013657032512128353, -0.7872690558433533, -0.8205510973930359, -0.2415105402469635, -0.316705584526062, -0.09446510672569275, 0.14235587418079376, 0.6532793641090393, -0.0690363198518753, 0.6590999960899353, -0.40093016624450684, -0.3069760501384735, -0.17256921529769897, 0.15806546807289124, 0.24448978900909424, 0.4841729998588562, 0.6436586380004883, -0.8473529815673828, -0.41892221570014954, 0.30866360664367676, -0.5050511956214905, 0.04754853621125221, -0.08495965600013733, 0.2603794038295746, -0.23048539459705353, 0.6931326985359192, -0.3872050344944, 0.44650501012802124, 0.3805532455444336, -0.05437752604484558, 0.9101443290710449, -0.4427274167537689, -0.006280888337641954, -0.8285325169563293, -0.0891377255320549, 0.22037261724472046, 0.13835057616233826, -0.7101713418960571, 0.3687942624092102, 0.49904510378837585, 0.17693203687667847, -0.4303227365016937, 0.4663955569267273, -0.3452187478542328, 0.09251882880926132, -0.21920521557331085, -0.5691414475440979, -0.22442954778671265, 0.4391411244869232, -0.41724470257759094, 0.9893665909767151, 0.5223729014396667, -0.8522985577583313, 0.035154569894075394, -0.13271397352218628, -0.042201124131679535, 0.3482230603694916, -0.6964320540428162, -0.20124782621860504, 0.14958003163337708, 0.16631652414798737, -0.7362778186798096, -0.16380488872528076, -0.22646532952785492, -0.3479749858379364, 0.49752137064933777, -0.30753621459007263, -0.6655667424201965, -0.3472093939781189, -0.1269248127937317, 0.5035381317138672, 0.7581000328063965, -0.4447990953922272, 0.6340841054916382, 0.3401816487312317, 0.4279177486896515, -0.47729071974754333, -0.8852041959762573, -0.2083163559436798, -0.38707035779953003, -0.5583140850067139, 0.20925968885421753, -0.2312169075012207, -0.30336421728134155, -0.3544193208217621, -0.11504119634628296, -0.31637611985206604, 0.1428491473197937, 0.3429538309574127, -0.07027121633291245, -0.5516898036003113, 0.07201056182384491, -0.2759268581867218, 0.23324993252754211, 0.5352407097816467, -0.24912826716899872, 0.3656638264656067, -0.500911295413971, 0.03486691787838936, -0.49518436193466187, -0.3076033890247345, 0.7478947043418884, -0.0912269800901413, 0.8444979190826416, 0.5640724897384644, -0.11849038302898407, 0.10895298421382904, -0.3498692512512207, -0.06988905370235443, -0.43992891907691956, 0.5326361060142517, -0.5349624156951904, -0.44004204869270325, 0.8066871166229248, 0.11068368703126907, -0.014663582667708397, 0.8460054397583008, 0.6220645308494568, 0.13398674130439758, 0.9259912371635437, 1.0333949327468872, -0.1925351619720459, 0.5502642393112183, -0.29738849401474, 0.05788587033748627, -0.8499512672424316, -0.06468468904495239, -0.5605111718177795, -0.18000318109989166, -0.995834231376648, -0.2677464485168457, 0.3332762122154236, -0.13017511367797852, -0.6984803676605225, 0.37162673473358154, -0.1254577338695526, 0.6872918009757996, 0.44868430495262146, 0.12485864758491516, -0.016076356172561646, -0.06387542933225632, -0.042342595756053925, 0.04369749873876572, -0.4707454741001129, -0.03753980994224548, 1.6552090644836426, 0.5637418031692505, 0.8649466037750244, 0.0537433885037899, 0.5363353490829468, 0.1195358857512474, 0.3824116289615631, -0.8646937012672424, 0.42307373881340027, 0.07926808297634125, -0.8222066760063171, -0.6155876517295837, -0.8879048824310303, -0.8749030828475952, 0.06927669048309326, 0.2759719789028168, -0.3768487274646759, -0.16552145779132843, 0.09954224526882172, -0.19477039575576782, 0.7371952533721924, -0.6656634211540222, 0.8000114560127258, -0.19314119219779968, -0.15996971726417542, -0.2821114957332611, -0.9473093748092651, 0.28076353669166565, -0.2748023271560669, 0.17070996761322021, 0.15048284828662872, -0.13144823908805847, 1.0235573053359985, -1.037415862083435, 0.6340635418891907, -0.2823588252067566, -0.2601371109485626, 0.3804642856121063, 0.026403464376926422, 0.3447186350822449, -0.30676594376564026, 0.11557916551828384, 0.18034882843494415, -0.03566034883260727, -0.5225442051887512, -0.6361201405525208, 0.4032716453075409, -0.904968798160553, -0.25984588265419006, -0.04150458797812462, -0.5021312832832336, 0.043853744864463806, 0.5186402797698975, 0.4803200662136078, 0.26465699076652527, -0.0020517748780548573, 0.4019084572792053, 0.8872058391571045, 0.1885015219449997, 0.35949844121932983, 0.5354520678520203, -0.13556110858917236, -0.2749009132385254, 0.8157788515090942, 0.366586834192276, 0.5121163129806519, 0.2965123653411865, 0.6433917284011841, 0.037655822932720184, -0.74225914478302, -0.27168402075767517, 0.630906343460083, -0.6551408767700195, 0.1455651819705963, -0.1664782166481018, -0.344312846660614, -0.40209415555000305, 0.034807853400707245, -0.6005946397781372, -0.27959296107292175, -0.14961417019367218, -0.07366852462291718, 0.27638134360313416, 0.7065321207046509, -0.16200999915599823, 0.5842212438583374, -0.351831316947937, -0.03771721571683884, 0.1285460740327835, 0.41223931312561035, 0.027966002002358437, -1.0203800201416016, -0.43091312050819397, 0.10025817900896072, -0.22284963726997375, -0.6221039295196533, 0.1995173543691635, 0.21551989018917084, 0.3843095898628235, 0.6556318402290344, -0.10452207922935486, 0.601660430431366, -0.629194974899292, 0.4872550666332245, 0.4283636510372162, -0.6438738703727722, 0.5196888446807861, -0.33802667260169983, 0.05996404215693474, 0.34489309787750244, 0.5072505474090576, -0.15701408684253693, -0.01997026428580284, -0.7793515920639038, -0.6339083909988403, 0.6493733525276184, 0.12614190578460693, 0.3011291027069092, 0.5237805247306824, 0.835045337677002, 0.09843239188194275, 0.029296664521098137, -0.7227613925933838, -0.2246181070804596, -0.07453587651252747, -0.15090464055538177, -0.22994491457939148, -0.16738370060920715, -0.05233268067240715, -0.27142077684402466, 0.6537083387374878, -0.030552169308066368, 0.07867813855409622, -0.10782543569803238, 0.03163006529211998, -0.22466334700584412, -0.03757896646857262, 0.87225741147995, 0.6918192505836487, -0.31086546182632446, -0.2230391949415207, 0.19753554463386536, -1.0854274034500122, 0.3777085840702057, -0.08388224989175797, -0.2348461002111435, -0.4336342215538025, 0.3113742172718048, 0.8825541734695435, 0.07283414155244827, -0.4657807946205139, 0.48497891426086426, -0.21552301943302155, -0.503777265548706, -0.4033830761909485, 0.07071974873542786, -0.29519134759902954, -0.0004853905120398849, 0.43182122707366943, -0.02640374004840851, -0.05874314531683922, -0.4601883888244629, 0.19149784743785858, 0.18477927148342133, -0.545954704284668, -0.38512691855430603, 0.8728405833244324, -0.11456789076328278, -0.11002439260482788, 0.7308818101882935, -0.08970261365175247, -0.20121248066425323, 0.9854102730751038, 0.3480108380317688, 0.6777023077011108, -0.44314706325531006, 0.11225231736898422, 0.5109736323356628, 0.6721914410591125, -0.476712703704834, -0.28331154584884644, 0.09197192639112473, -0.421064555644989, -0.3226284086704254, -0.39537766575813293, -0.5601027607917786, 0.21843034029006958, -0.9863884449005127, 0.2176838368177414, -0.768429160118103, -0.0783444344997406, 0.04387577995657921, 0.29288655519485474, -0.6711856126785278, 0.4500739276409149, 0.0644388422369957, 0.9121352434158325, -0.8360607028007507, 0.3649563491344452, 0.2660422921180725, -0.8640044331550598, -1.279065489768982, 0.03474954888224602, 0.19561858475208282, -0.9290500283241272, 0.6821498870849609, 0.1913159042596817, 0.1549682766199112, -0.1236814334988594, -0.688585102558136, -0.9310561418533325, 1.1319130659103394, 0.5393504500389099, -0.3328793942928314, -0.29294878244400024, 0.08911547809839249, 0.5582440495491028, -0.4144255220890045, 0.46224695444107056, 0.4961445927619934, 0.32829830050468445, 0.2964881360530853, -1.2720319032669067, 0.3318865895271301, -0.05765620991587639, -0.11332666128873825, 0.4849167466163635, -0.7343490719795227, 1.2575018405914307, -0.6942601799964905, 0.17681851983070374, 0.0911027267575264, 0.6505880951881409, -0.15882810950279236, 0.2857862710952759, 0.37178876996040344, 0.6280661225318909, 0.6506568789482117, 0.010098896920681, 1.347393274307251, -0.154214009642601, 0.5374898314476013, 0.8676928281784058, -0.14967122673988342, 0.7308270335197449, 0.25330111384391785, -0.4582592248916626, 0.28724437952041626, 0.7057589292526245, -0.17696276307106018, 0.4721374213695526, 0.37925583124160767, 0.22690434753894806, 0.2491573542356491, 0.09236739575862885, -0.3584767282009125, 0.2429085075855255, 0.0420755073428154, -0.5408913493156433, -0.05514957383275032, 0.06305166333913803, 0.39407965540885925, -0.3714033365249634, -0.8308491110801697, 0.46987903118133545, -0.21074466407299042, -0.39951542019844055, 0.7081481218338013, -0.15695708990097046, 0.19739361107349396, -0.7250596880912781, 0.29056504368782043, -0.20432007312774658, 0.442994624376297, 0.013890397734940052, -0.5321641564369202, 0.05670581012964249, -0.237395241856575, -0.22362913191318512, -0.24165348708629608, 0.1770843267440796, 0.021480459719896317, -0.39694663882255554, -0.0086125573143363, -0.132473886013031, 0.38858741521835327, -0.3122272491455078, -0.36115220189094543, -0.08828255534172058, 0.023523962125182152, -0.3461652398109436, 0.3988116681575775, 0.41930708289146423, 0.044621191918849945, 0.8095749616622925, 0.2396117001771927, 0.2252308428287506, 0.2409999966621399, 0.020779501646757126, 0.6700823307037354, -0.536067008972168, -0.5341747403144836, -0.7455602288246155, 0.267644464969635, 0.04859599098563194, -0.3514518737792969, 0.7975533604621887, 0.4869210124015808, 0.8014585375785828, 0.11904168128967285, 0.6692674160003662, 0.03889349102973938, 0.04737091064453125, -0.3898150324821472, 0.7452560067176819, -0.734757125377655, 0.06148725748062134, -0.026711707934737206, -0.7078152894973755, -0.1514454483985901, 0.25876113772392273, -0.1947818547487259, 0.3782818019390106, 0.7988728284835815, 0.6694295406341553, 0.034088149666786194, -0.06709795445203781, 0.3248251974582672, 0.40183013677597046, 0.49212029576301575, 0.38069143891334534, -0.010751994326710701, -0.686228334903717, 0.9704995155334473, -0.10602796822786331, -0.3683772087097168, -0.4796238839626312, -0.5569218397140503, -0.627569854259491, -0.5370973348617554, -0.4615502655506134, -0.45457321405410767, -0.3571390211582184, 0.36702531576156616, 0.9176552891731262, -0.480307012796402, -0.3840048909187317, -0.428518146276474, -0.2557830512523651, -0.49611371755599976, -0.17594286799430847, 0.25344160199165344, -0.35241901874542236, -0.09675571322441101, -0.03191114589571953, -0.07856297492980957, 0.29049941897392273, -0.5995111465454102, -0.37814801931381226, 0.055306680500507355, 0.2835380434989929, 0.18185226619243622, 0.5960429310798645, -0.6430778503417969, 0.007071270607411861, -0.287153035402298, -0.1825677752494812, 0.057752467691898346, 1.0344340801239014, -0.21044433116912842, 0.47423306107521057, 0.34051501750946045, 0.5194830298423767, 0.7138826847076416, -0.5398197174072266, 0.6223315596580505, -0.5748835802078247, 0.051854487508535385, 0.033692844212055206, 0.3225853145122528, -0.039897020906209946, -0.35886162519454956, 0.789117157459259, 0.10905478149652481, -0.6579499840736389, -1.0250972509384155, 0.25860047340393066, -0.790948212146759, 0.025209546089172363, 0.8939414620399475, -0.23021851480007172, -0.531798779964447, 0.626778244972229, 0.01639430783689022, 0.09496559947729111, 0.06141853705048561, 0.5578795671463013, 0.7444482445716858, -0.08389438688755035, -0.3140569031238556, -0.7089701294898987, 0.34569743275642395, 0.4751257002353668, -0.43995222449302673, 0.3564455509185791, 0.178428515791893, 0.39924490451812744, 0.361136794090271, 0.36930692195892334, -0.09059212356805801, 0.30321237444877625, 0.4150511622428894, -0.037284404039382935, -0.06511162221431732, -0.138618603348732, -0.3813784420490265, 0.20501616597175598, 0.01993686892092228, -0.05123934894800186 ]
http://arxiv.org/abs/2403.07039v1
http://arxiv.org/pdf/2403.07039v1
From English to ASIC: Hardware Implementation with Large Language Model
2024-03-11T09:57:16
2024-03-11T09:57:16
Emil Goh, Maoyang Xiang, I-Chyn Wey, T. Hui Teo
cs.AR
cs.AR, cs.AI, cs.CL
In the realm of ASIC engineering, the landscape has been significantly reshaped by the rapid development of LLM, paralleled by an increase in the complexity of modern digital circuits. This complexity has escalated the requirements for HDL coding, necessitating a higher degree of precision and sophistication. However, challenges have been faced due to the less-than-optimal performance of modern language models in generating hardware description code, a situation further exacerbated by the scarcity of the corresponding high-quality code datasets. These challenges have highlighted the gap between the potential of LLMs to revolutionize digital circuit design and their current capabilities in accurately interpreting and implementing hardware specifications. To address these challenges, a strategy focusing on the fine-tuning of the leading-edge nature language model and the reshuffling of the HDL code dataset has been developed. The fine-tuning aims to enhance models' proficiency in generating precise and efficient ASIC design, while the dataset reshuffling is intended to broaden the scope and improve the quality of training material. The model demonstrated significant improvements compared to the base model, with approximately 10% to 20% increase in accuracy across a wide range of temperature for the pass@1 metric. This approach is expected to facilitate a simplified and more efficient LLM-assisted framework for complex circuit design, leveraging their capabilities to meet the sophisticated demands of HDL coding and thus streamlining the ASIC development process.
[ -0.5670956969261169, -0.7997541427612305, 0.326689749956131, 0.2147267460823059, -0.2732909321784973, 0.1017511710524559, -0.3631400465965271, -0.6711657643318176, -0.09590835124254227, 0.538488507270813, -0.629156768321991, -0.3973483443260193, -0.4881385266780853, 0.09241573512554169, -0.34215834736824036, 0.5943164825439453, -0.44706106185913086, -0.02594834752380848, -0.05867999792098999, 0.11263521015644073, -0.45062485337257385, -0.319661408662796, -0.47792908549308777, -0.6972837448120117, -0.014067619107663631, 0.21045322716236115, 0.49167799949645996, 0.688702404499054, 0.7143470644950867, 0.2547421157360077, -0.3534906506538391, 0.23232579231262207, -0.11947589367628098, 0.014114098623394966, -0.16123108565807343, -0.2378852367401123, -0.7926642298698425, 0.030776353552937508, 0.8059647679328918, 0.7614192366600037, -0.18764038383960724, 0.3053082823753357, 0.20795834064483643, 0.777184009552002, -0.306184321641922, 0.20821532607078552, -0.6765403747558594, 0.054865751415491104, -0.21172131597995758, -0.5356350541114807, -0.4039105176925659, -0.072270467877388, -0.2867213189601898, -0.5712688565254211, -0.12238233536481857, 0.08895504474639893, 0.8887789845466614, 0.11167976260185242, -0.28692686557769775, -0.29083430767059326, -1.0527955293655396, 0.8301976323127747, -0.7242840528488159, 0.9128133058547974, 0.17692610621452332, 0.1419551968574524, -0.133685901761055, -0.5894037485122681, -0.3201105296611786, -0.08668945729732513, 0.3649676740169525, -0.10821869224309921, 0.09755579382181168, 0.2887037396430969, 0.24701446294784546, 0.68783038854599, -0.23079872131347656, 0.29355597496032715, -0.6271810531616211, 0.024420330300927162, 0.7719986438751221, 0.19747063517570496, 0.09567094594240189, 0.04005088657140732, -0.10357250273227692, 0.38350340723991394, -1.1223185062408447, -0.2308616191148758, 0.5067185163497925, 0.7394819259643555, -0.1874319165945053, 0.3278874456882477, -0.2335958480834961, 0.646998405456543, -0.047732219099998474, 0.07855638861656189, 0.07269985228776932, -0.4406979978084564, -0.2866238057613373, 0.019743572920560837, 0.5095338225364685, 0.31509214639663696, 0.27043676376342773, 0.14751698076725006, -0.4842854142189026, -0.16262374818325043, 0.23781803250312805, -0.9949420094490051, -0.24855853617191315, 0.42253798246383667, -0.6018772125244141, -0.2906739115715027, -0.16041024029254913, -0.5110699534416199, -0.16499614715576172, -0.7787423133850098, 0.1613430231809616, -0.12119848281145096, -0.1952235996723175, 0.4112449586391449, 0.3187527060508728, 0.23960788547992706, 0.30439460277557373, -1.0075373649597168, 0.5234440565109253, 0.9378877282142639, 0.6502564549446106, -0.029230261221528053, -0.08107125014066696, -0.2763424515724182, 0.1736416518688202, -0.25008726119995117, 0.5808122754096985, -0.4835498631000519, -0.4993759095668793, -0.097074493765831, -0.09819678217172623, 0.4047641158103943, -0.5961571931838989, 0.46715202927589417, -0.6845682263374329, -0.09509624540805817, -0.06481226533651352, -0.4235166013240814, 0.03484051674604416, 0.3594876527786255, -0.45305177569389343, 0.8141314387321472, -0.4238930642604828, -0.6290302872657776, 0.015110482461750507, -0.7689803838729858, -0.8347000479698181, 0.1335771679878235, -0.12996774911880493, -0.28217998147010803, 0.30672597885131836, 0.05984039977192879, 0.2030746191740036, -0.7196274399757385, 0.11748898029327393, -0.029658693820238113, -0.3652307987213135, 0.019973281770944595, -0.5524799823760986, 0.7606619596481323, 0.42696478962898254, -0.13920612633228302, 0.09938213229179382, -0.6796445846557617, 0.20613716542720795, -0.1161104366183281, -0.6823275089263916, -0.05967951938509941, 0.09525524079799652, 0.27999454736709595, 0.0012392416829243302, 0.681529700756073, -0.7561002373695374, 0.20758621394634247, -0.6632928848266602, 0.7565680146217346, 0.7586515545845032, -0.24116496741771698, 0.34166717529296875, -0.04660278558731079, 0.3225381076335907, -0.20529846847057343, 0.5066699385643005, -0.13549843430519104, -0.5000152587890625, -0.3630361557006836, 0.1677449494600296, 0.4149426221847534, 0.6172082424163818, -0.582132875919342, 0.30361655354499817, -0.1570044904947281, -0.2373499572277069, -0.5985627174377441, 0.35808783769607544, 0.3941704332828522, 0.24485847353935242, 0.3687015771865845, -0.18782517313957214, -0.6837913393974304, -0.765792965888977, 0.12840916216373444, -0.05822368711233139, -0.2031213492155075, 0.44838982820510864, 0.22054477035999298, -0.43706220388412476, 0.501180112361908, -0.5519394278526306, 0.004719773773103952, -0.2689681649208069, 0.009295032359659672, 0.48532915115356445, 0.6483758687973022, -0.04937540739774704, -0.7060260772705078, -0.29379743337631226, 0.544174313545227, -0.6618977785110474, -0.03628366440534592, 0.3525318205356598, 0.10418800264596939, 0.5318278074264526, 0.6286023259162903, -0.471432626247406, 0.2946557402610779, 0.49440672993659973, -0.12763045728206635, 0.6969063878059387, -0.5426194667816162, 0.39093634486198425, -1.0594009160995483, 0.09952195733785629, -0.10238208621740341, -0.042572714388370514, -0.49404677748680115, 0.6690241098403931, 0.08613427728414536, -0.23666912317276, -0.5215945839881897, 0.6142576932907104, -0.3880487084388733, -0.026461411267518997, -0.3937816321849823, -0.1943168342113495, -0.08064550906419754, 0.04573621228337288, 0.05910540744662285, 0.8111163377761841, 0.5374640226364136, -0.7224264740943909, 0.3863488435745239, 0.04321923851966858, -0.12874948978424072, 0.5366500616073608, -0.767308235168457, 0.0006134387804195285, -0.01307806558907032, -0.23215366899967194, -0.3931431472301483, 0.058545179665088654, -0.11612045764923096, -0.2804231345653534, 0.49642372131347656, -0.01625308208167553, -0.7931448817253113, -0.6612472534179688, -0.28375542163848877, 0.6875508427619934, 0.5944032073020935, -0.4640377163887024, 0.7720646858215332, 0.5237078070640564, -0.17918746173381805, -0.20308873057365417, -0.6226538419723511, -0.030033422634005547, 0.06503703445196152, -0.672330379486084, 0.5122379064559937, -0.39784055948257446, -0.37654802203178406, -0.3865378499031067, -0.08868741244077682, -0.10308446735143661, 0.1616978943347931, 0.18336746096611023, 0.24226535856723785, -0.5468816757202148, 0.04665259271860123, 0.026069937273859978, -0.2589700520038605, 0.019865814596414566, -0.5001875758171082, 0.7389084100723267, -0.12046398222446442, -0.20173479616641998, -0.8853883147239685, 0.3342689573764801, 0.6136003136634827, -0.21254605054855347, 0.3586953282356262, -0.06927695870399475, -0.6148395538330078, -0.294574111700058, -0.3958859443664551, -0.2591722905635834, -0.605137050151825, 0.2933635711669922, -0.7562946677207947, -0.6985747814178467, 0.632505476474762, -0.06394100934267044, 0.4394634962081909, 0.36004871129989624, 0.31648096442222595, -0.3872409760951996, 1.0372402667999268, 0.8304734826087952, -0.07314497232437134, 0.38925811648368835, -0.16937988996505737, 0.23365727066993713, -0.8850167393684387, -0.14805103838443756, -0.3850400745868683, -0.45241063833236694, -0.6995018124580383, -0.3090996742248535, 0.20816288888454437, -0.06897192448377609, -0.5341223478317261, 0.254169225692749, -0.534122884273529, 0.6421879529953003, 0.3788456618785858, 0.2045292854309082, 0.529161810874939, 0.3873135447502136, 0.024246959015727043, -0.11279790848493576, -0.521124541759491, -0.3535834848880768, 1.0776808261871338, 0.6780208945274353, 0.9890217781066895, -0.036866988986730576, 0.40339043736457825, 0.0883883461356163, 0.15800583362579346, -0.55551677942276, 0.4920290410518646, -0.7278451919555664, -0.5733229517936707, -0.14153766632080078, -0.38544487953186035, -0.6938156485557556, -0.47846847772598267, 0.16633571684360504, -0.5745463371276855, -0.19598326086997986, 0.2532149851322174, -0.5236793756484985, 0.4643881022930145, -0.34995102882385254, 0.7179058790206909, -0.3383236527442932, -0.4443657696247101, -0.5881887674331665, -0.2696525454521179, 0.21269714832305908, 0.09325394034385681, 0.28290441632270813, 0.09362156689167023, 0.19852295517921448, 0.6207650303840637, -0.496163547039032, 0.6185315251350403, 0.017769375815987587, -0.43292897939682007, 0.39133042097091675, 0.09122394770383835, 0.3538506329059601, 0.015529212541878223, -0.37056198716163635, 0.1829083412885666, -0.0031667565926909447, -0.45408502221107483, -0.35189855098724365, 0.883988082408905, -0.872295081615448, -0.587615430355072, 0.10250770300626755, -0.764945924282074, -0.2001924067735672, 0.0705740824341774, 0.127052441239357, 0.7563685774803162, 0.08616888523101807, 0.0729779601097107, 1.0000375509262085, -0.37539568543434143, 0.1995580494403839, 0.4302940368652344, -0.5201546549797058, -0.3592659533023834, 1.118124008178711, 0.11454134434461594, 0.2912530303001404, 0.34733718633651733, -0.07165241986513138, -0.21063978970050812, -0.7871360778808594, -0.48454153537750244, 0.2448401153087616, -0.695254921913147, -0.3020085394382477, -0.37210386991500854, -0.7003517746925354, -0.2659958600997925, -0.48569074273109436, -0.7038692831993103, -0.10222920775413513, -0.3356945216655731, 0.04256495460867882, 0.4515586197376251, 1.0367056131362915, 0.2151433527469635, 0.34816107153892517, -0.7228257656097412, 0.3436843752861023, 0.16493061184883118, 0.7536881566047668, 0.017408980056643486, -0.8104348182678223, -0.26780965924263, 0.13463295996189117, -0.38862091302871704, -0.41346466541290283, 0.22002963721752167, 0.12010568380355835, 0.4078778028488159, 0.12714256346225739, -0.35676342248916626, 0.7683064341545105, -0.5139039158821106, 0.4046589136123657, -0.10165685415267944, -0.9960073828697205, 0.7931694388389587, -0.37520575523376465, 0.5015934705734253, 0.5000892877578735, 0.09107904881238937, -0.3736244738101959, -0.1468157023191452, -0.5530344843864441, -0.8931286334991455, 0.4851231276988983, -0.05896137282252312, 0.22422583401203156, 0.43026846647262573, 0.5904409289360046, 0.06170777603983879, 0.44219163060188293, -0.5601264834403992, -0.20070526003837585, 0.1813877671957016, -0.395028293132782, 0.11766768991947174, -0.24369440972805023, 0.15175318717956543, -0.5372413992881775, 0.8250831365585327, -0.04232846945524216, 0.2785228192806244, -0.3280981481075287, -0.009123191237449646, -0.1978691816329956, 0.1545691341161728, 0.5975694060325623, 0.511164128780365, -0.24688857793807983, 0.09603460878133774, 0.221165731549263, -0.5667518973350525, -0.0481613427400589, 0.1297273337841034, -0.40255007147789, -0.23315651714801788, 0.06865329295396805, 0.5513620972633362, 0.2606554925441742, -0.6405404210090637, 0.06367950886487961, 0.07958488166332245, -0.05462857335805893, -0.16975842416286469, -0.13569530844688416, 0.07096098363399506, 0.2196427434682846, 0.31283479928970337, -0.10358972102403641, 0.18070121109485626, -0.7537556290626526, 0.43004342913627625, 0.6075600981712341, -0.301132470369339, -0.5635245442390442, 0.7713220119476318, 0.5101845860481262, -0.45836541056632996, 0.9655185341835022, -0.35969072580337524, -0.4781757891178131, 0.8186227679252625, 0.6793976426124573, 0.6720801591873169, -0.2273278385400772, -0.1525275558233261, 0.48074716329574585, 0.546945333480835, -0.04004650190472603, 0.862086832523346, 0.03775792196393013, -0.68165123462677, -0.49402397871017456, -1.073082447052002, -0.22076144814491272, -0.006943365093320608, -0.4754285514354706, 0.6115357875823975, -0.8597519993782043, 0.13040757179260254, -0.2229885458946228, 0.3403986394405365, -0.5666243433952332, 0.24236580729484558, 0.35844436287879944, 1.3144359588623047, -0.9112346172332764, 0.9570814371109009, 0.7774572968482971, -0.059467580169439316, -0.7682478427886963, -0.20397736132144928, -0.18659177422523499, -0.7026968002319336, 0.701826810836792, 0.01796843484044075, 0.005785416346043348, 0.21045592427253723, -0.259580135345459, -0.7155502438545227, 1.118881106376648, 0.24141494929790497, -0.8719651699066162, 0.08191583305597305, 0.08511640876531601, 0.5869689583778381, -0.41819730401039124, 0.10151498764753342, 0.7829325795173645, 0.3649330735206604, 0.4311079978942871, -1.21965754032135, -0.10539629310369492, -0.2732134461402893, -0.02239198237657547, 0.5147426724433899, -0.46347978711128235, 0.7915037870407104, -0.1303689330816269, -0.11164963245391846, 0.08944372087717056, 0.6477731466293335, 0.4455912709236145, 0.1412169337272644, -0.050590191036462784, 0.2982341945171356, 0.8347740173339844, -0.07918083667755127, 0.9853239059448242, -0.9105076789855957, 0.14247463643550873, 0.9420964121818542, -0.3685775697231293, 1.1547890901565552, 0.47852903604507446, -0.3770359754562378, 0.16310785710811615, 0.5316352248191833, 0.12990860641002655, 0.23665443062782288, 0.20943889021873474, -0.3059995174407959, -0.2627801299095154, -0.19377928972244263, -0.26830869913101196, 0.07648319751024246, 0.6744276285171509, -0.26161354780197144, -0.04628594592213631, 0.1412641853094101, -0.24088779091835022, 0.07221704721450806, -0.9834350347518921, 0.4393371045589447, 0.13932745158672333, -0.20587711036205292, 0.5095133185386658, 0.25900813937187195, 0.8924462795257568, -0.1455519050359726, 0.1691649705171585, -0.19806885719299316, 0.1937628835439682, -0.35880911350250244, -0.9461970925331116, 0.5727353096008301, -0.056714724749326706, -0.4835055470466614, -0.4338456094264984, 0.6044831871986389, -0.29815244674682617, -0.8410577178001404, 0.1073850765824318, 0.16490446031093597, 0.218068927526474, 0.044704876840114594, -0.5817358493804932, 0.6410459876060486, -0.001369117177091539, 0.0037553005386143923, -0.002437035320326686, 0.2421802431344986, -0.03738546743988991, 0.7883205413818359, 0.35634246468544006, 0.4039454162120819, -0.06349188834428787, 0.032290078699588776, 0.7399309873580933, -0.6772775650024414, -0.4359041750431061, -0.7663195729255676, 0.47286421060562134, 0.17485110461711884, -0.0663287490606308, 0.46733254194259644, 0.8079901337623596, 0.6885420680046082, 0.073573537170887, 0.609752357006073, 0.1991635411977768, 0.133566752076149, -0.6231817603111267, 0.6205965280532837, -0.5494043827056885, 0.596447765827179, 0.09011736512184143, -0.7232731580734253, -0.45081827044487, 0.4394303262233734, -0.4611815810203552, 0.051201436668634415, 0.6256064176559448, 0.8007892370223999, -0.3096889853477478, 0.16102753579616547, 0.2863807678222656, 0.5538833737373352, 0.24641667306423187, 0.5621806383132935, 0.47462743520736694, -0.8190895318984985, 0.27993014454841614, -0.06480413675308228, -0.08869350701570511, -0.10674526542425156, -0.7303231954574585, -0.5484214425086975, -0.4553118050098419, -0.534062922000885, -0.12697462737560272, 0.11952447891235352, 1.0705095529556274, 0.6670936346054077, -1.0175124406814575, -0.5719196200370789, -0.42541244626045227, 0.05839153379201889, 0.02191207744181156, -0.16259288787841797, 0.01528126746416092, -0.144648015499115, -0.6360543966293335, 0.24500831961631775, 0.6506474614143372, 0.09576836973428726, -0.5401427149772644, -0.33075979351997375, 0.05034869164228439, 0.3339725434780121, 0.8289079666137695, 0.28094491362571716, -0.6897424459457397, -0.08760413527488708, 0.07996759563684464, -0.07496124505996704, 0.2252771407365799, 0.6381319761276245, -0.6925786137580872, 0.2686885893344879, 0.45051324367523193, 0.6289475560188293, 0.2844724953174591, -0.15450064837932587, 0.7760719656944275, -0.7182918190956116, -0.043797075748443604, -0.043791405856609344, 0.23697495460510254, 0.40913277864456177, -0.33858969807624817, 0.11406777799129486, 0.10218218713998795, -0.5416296124458313, -1.007251501083374, 0.453665167093277, -0.6597607731819153, -0.33864477276802063, 1.1969218254089355, 0.28650861978530884, -0.41176149249076843, 0.027165204286575317, -0.1399167776107788, 0.10737943649291992, -0.1737097054719925, 0.8936014175415039, 0.6108351349830627, -0.056758251041173935, -0.17355608940124512, -0.7559005618095398, 0.2947878837585449, 0.1478646844625473, -0.8473731875419617, 0.41085562109947205, 0.21275483071804047, 0.26451823115348816, 0.12790144979953766, 0.46983397006988525, -0.07110477238893509, 0.4025607109069824, -0.090556301176548, 0.3832431435585022, -0.07351703196763992, -0.6142293214797974, -0.5337441563606262, 0.3123217225074768, 0.5379559397697449, 0.10215282440185547 ]
http://arxiv.org/abs/2403.06537v1
http://arxiv.org/pdf/2403.06537v1
On the Consideration of AI Openness: Can Good Intent Be Abused?
2024-03-11T09:24:06
2024-03-11T09:24:06
Yeeun Kim, Eunkyung Choi, Hyunjun Kim, Hongseok Oh, Hyunseo Shin, Wonseok Hwang
cs.CL
cs.CL
Openness is critical for the advancement of science. In particular, recent rapid progress in AI has been made possible only by various open-source models, datasets, and libraries. However, this openness also means that technologies can be freely used for socially harmful purposes. Can open-source models or datasets be used for malicious purposes? If so, how easy is it to adapt technology for such goals? Here, we conduct a case study in the legal domain, a realm where individual decisions can have profound social consequences. To this end, we build EVE, a dataset consisting of 200 examples of questions and corresponding answers about criminal activities based on 200 Korean precedents. We found that a widely accepted open-source LLM, which initially refuses to answer unethical questions, can be easily tuned with EVE to provide unethical and informative answers about criminal activities. This implies that although open-source technologies contribute to scientific progress, some care must be taken to mitigate possible malicious use cases. Warning: This paper contains contents that some may find unethical.
[ 0.24052949249744415, -0.9896969199180603, 0.9020155668258667, -0.1884857714176178, -0.17574003338813782, -0.701106071472168, -0.23369506001472473, -0.6603952050209045, -0.22912286221981049, 0.7663337588310242, -0.055940527468919754, -0.5286833047866821, -0.4789626896381378, -0.20099078118801117, -0.31710678339004517, 1.0230838060379028, 0.07416936755180359, 0.2272731065750122, -0.35498955845832825, -0.485599547624588, -0.3762338161468506, -0.3587101697921753, -0.6451094746589661, 0.1461450159549713, 0.4484770894050598, 0.39124807715415955, 0.9190833568572998, 0.7663723826408386, 0.7677710056304932, 0.3778340518474579, 0.31062233448028564, -0.18576690554618835, -0.728313684463501, 0.19966132938861847, -0.5118396282196045, -0.7491746544837952, -0.4637395739555359, 0.288720041513443, 0.07472743839025497, 0.40678662061691284, 0.028827926144003868, 0.3840487003326416, -0.17049916088581085, 0.663423478603363, -0.6316413283348083, -0.17834648489952087, -0.7605237364768982, -0.028981493785977364, -0.30917438864707947, -0.014415505342185497, -0.33678290247917175, -0.44419318437576294, -0.08472006767988205, -0.9318411946296692, -0.09554031491279602, -0.007016671821475029, 0.31888312101364136, 0.6878460645675659, 0.038688696920871735, -0.5556509494781494, -1.1131373643875122, 0.5797972083091736, -0.45755550265312195, 0.04916219040751457, 0.4667208790779114, 0.45764756202697754, -0.14195258915424347, -0.8178662061691284, -0.42293304204940796, -0.36331242322921753, 0.05209274962544441, 0.14403976500034332, -0.5463311672210693, 0.1698228120803833, 0.5140315294265747, -0.10880649089813232, -0.37835124135017395, 0.023415885865688324, -0.8245367407798767, -0.15700185298919678, 0.7950310707092285, 0.16306982934474945, 0.6555168032646179, 0.23856616020202637, -0.1315518617630005, 0.013451151549816132, -0.8619569540023804, 0.38108983635902405, 0.8101297616958618, 0.38510793447494507, 0.019541805610060692, 1.0453763008117676, 0.009703593328595161, 0.12398166954517365, -0.2098572552204132, 0.4170503318309784, 0.11194510012865067, -0.36284661293029785, -0.401140034198761, 0.21250054240226746, 0.7130251526832581, 0.5844838619232178, 0.49123814702033997, -0.10808310657739639, 0.0669233649969101, 0.017709219828248024, 0.716197669506073, -0.47263023257255554, 0.08184453845024109, 0.7280310988426208, -0.807303249835968, -0.355819970369339, 0.44445765018463135, -0.5039869546890259, -0.5932154655456543, -0.08842320740222931, 0.13486725091934204, -0.22670218348503113, -0.16853143274784088, 0.11323188990354538, -0.07715961337089539, 0.10258210450410843, 0.516237199306488, -0.07139360159635544, 0.03799924626946449, 0.8209921717643738, 0.6893956065177917, 0.2564615309238434, -0.25411632657051086, -0.5671564340591431, 0.11470703780651093, -0.43136173486709595, 0.04988249018788338, -0.46752288937568665, -0.40145665407180786, -0.11287686973810196, 0.08469721674919128, 0.35355550050735474, -0.46338844299316406, 0.6869381666183472, -0.6140131950378418, 0.03363151475787163, -0.046855296939611435, -0.12819765508174896, -0.31321004033088684, -0.012373176403343678, -0.5970178246498108, 0.5371267795562744, -0.16622190177440643, -0.6883339881896973, 0.5064713954925537, -1.1845574378967285, -0.4591810405254364, 0.18636833131313324, -0.0904339998960495, -0.3134027421474457, 0.17140693962574005, -0.0820927694439888, 0.27241235971450806, 0.2636880874633789, 0.4514966905117035, -0.6097863912582397, -0.31377387046813965, 0.3992040753364563, -0.48654258251190186, 1.2905362844467163, 0.5616702437400818, -0.35980719327926636, 0.27126699686050415, -0.6342707276344299, -0.21377243101596832, 0.15185292065143585, -0.018718106672167778, -0.9889792799949646, 0.1756991446018219, -0.4973006844520569, 0.05528904125094414, 0.11420615017414093, -0.8448115587234497, -0.04802807420492172, -0.30321940779685974, 0.14682316780090332, 1.1334021091461182, -0.17254003882408142, 0.5344834923744202, -0.5233784914016724, 0.3755531907081604, -0.08784620463848114, 0.3966667652130127, -0.030436113476753235, -0.6797178387641907, -0.34170815348625183, 0.05333550646901131, -0.16506540775299072, 0.6887927651405334, -0.4482092559337616, 0.03412618115544319, 0.0662032887339592, -0.5004996061325073, -1.0018857717514038, -0.2933993935585022, 0.2622074782848358, 0.22072848677635193, 0.2520541846752167, 0.13601908087730408, -0.32622408866882324, -0.8262102007865906, -0.6295720934867859, -0.27644824981689453, -0.03808194398880005, 0.9442004561424255, 0.5529277324676514, 0.18846911191940308, 0.6377655863761902, -0.1633526235818863, -0.19682033360004425, 0.30990225076675415, -0.19432435929775238, 0.47684234380722046, 0.534255862236023, 0.43670499324798584, -0.766707181930542, -0.23378978669643402, 0.007341329008340836, -1.263672113418579, 0.05294787883758545, 0.004497205838561058, -0.29480093717575073, -0.06225180998444557, 0.6973169445991516, -0.6207327842712402, 0.7321470975875854, -0.0665145069360733, -0.7628454566001892, 0.311025470495224, -0.2832227051258087, 0.36117491126060486, -0.84370356798172, 0.3079616129398346, -0.20003411173820496, -0.16772685945034027, -0.901222825050354, 0.5236139893531799, -0.24242109060287476, -0.12955544888973236, -1.105788230895996, 0.33848607540130615, 0.23385637998580933, 0.048614583909511566, -0.2662811875343323, -0.07648440450429916, -0.5464785695075989, -0.2029668241739273, -0.45273512601852417, 0.7637761831283569, 0.6635158061981201, -0.782869279384613, 0.28129228949546814, 0.16935746371746063, -0.31274107098579407, 0.5498089790344238, -0.7152613401412964, 0.2880019545555115, -0.4908665418624878, -0.27821776270866394, -0.18590261042118073, -0.28923308849334717, 0.6609402894973755, -0.6250010132789612, -0.2921411395072937, -0.1049477756023407, -0.13486196100711823, -0.015158732421696186, -0.45809516310691833, 0.5720299482345581, 0.5012009143829346, -0.3480701148509979, 0.5272672176361084, 0.2837764024734497, -0.08522625267505646, -0.8157173991203308, -0.7597538232803345, -0.12133479863405228, -0.46346932649612427, -0.9092851877212524, 0.017069967463612556, -0.09745802730321884, -1.0019053220748901, 0.46987056732177734, 0.2607939839363098, 0.22243499755859375, 0.3569200038909912, 0.5585660934448242, 0.1660136580467224, -0.26521986722946167, -0.12234301120042801, -0.3130638599395752, 0.12451650202274323, 0.40046247839927673, -0.17787450551986694, 0.26273271441459656, 0.03678439185023308, -0.5152868628501892, -0.3515271246433258, 0.4735107421875, 0.6428759694099426, 0.02775620110332966, 0.45384129881858826, 0.18942420184612274, -0.4983312785625458, -0.09493174403905869, -0.023375462740659714, -0.0054533048532903194, -0.5350919961929321, 0.304720938205719, -0.09572955220937729, -1.042137861251831, 0.4603663980960846, 0.17091183364391327, 0.3718915581703186, 0.4630873203277588, 0.6184747219085693, -0.252543568611145, 0.6690999865531921, 0.6506799459457397, -0.10915300250053406, 0.2494361698627472, 0.10587374866008759, 0.25425639748573303, -0.42177513241767883, -0.23592573404312134, -0.601374626159668, -0.22830981016159058, -0.9451854228973389, -0.25208455324172974, 0.4228837788105011, -0.22685794532299042, -0.38032230734825134, 0.09146056324243546, -0.4368857443332672, 0.7222301959991455, 0.8632715940475464, 0.39194047451019287, 0.32783570885658264, -0.08160743862390518, 0.3659074604511261, 0.5127109885215759, -0.29694193601608276, -0.8368499279022217, 1.4836363792419434, 0.4988595247268677, 0.7832933068275452, 0.0964839905500412, 0.4602617621421814, 0.6376276016235352, 0.041346557438373566, -0.46228042244911194, 0.5721267461776733, -0.2482207715511322, -0.8076753616333008, -0.6548670530319214, -0.13642676174640656, -1.2157812118530273, -0.15785090625286102, 0.20033667981624603, -0.8705927133560181, 0.20976726710796356, 0.017374420538544655, -0.43314477801322937, 0.5208885073661804, -0.3805115818977356, 0.4488031566143036, -0.32892951369285583, -0.5510229468345642, -0.4095657765865326, -0.5979695320129395, 0.5324016213417053, 0.014797746203839779, 0.44025200605392456, -0.26033803820610046, 0.1084095686674118, 0.7827339172363281, -0.44777345657348633, 0.660712718963623, -0.6288542151451111, 0.14569714665412903, 0.7716021537780762, 0.11264408379793167, 0.41363778710365295, 0.26537325978279114, -0.1284332126379013, 0.2570424973964691, -0.23438496887683868, -0.16585156321525574, -0.45470497012138367, 0.5281760096549988, -0.9617686867713928, -0.936311662197113, -0.33908313512802124, -0.6241094470024109, 0.23538082838058472, 0.35405996441841125, 0.20042133331298828, -0.03025815263390541, -0.3569338321685791, 0.21205444633960724, 0.5501731634140015, -0.3252113461494446, 0.23786111176013947, 0.5544167160987854, -0.17865103483200073, -0.010966740548610687, 0.9082282781600952, -0.22652271389961243, 0.1229400485754013, -0.3404553532600403, 0.40656861662864685, 0.15961141884326935, -0.767961859703064, -0.3552035093307495, 0.009870233945548534, -0.8500205278396606, -0.11395314335823059, -0.4131982922554016, 0.02035801112651825, -0.48822346329689026, -0.19528412818908691, -0.13834787905216217, -0.3112260401248932, -0.3482155203819275, 0.0048323944211006165, 0.3320881426334381, 1.03597891330719, -0.18588422238826752, -0.17917652428150177, -0.5143864154815674, 0.33086270093917847, -0.013748178258538246, 0.3691174387931824, -0.45068463683128357, -0.2363131195306778, 0.08955865353345871, 0.3570704162120819, -0.07278113067150116, -0.47266942262649536, -0.18473303318023682, -0.16047127544879913, 0.60654217004776, 0.40942612290382385, 0.316835880279541, 0.1643998622894287, -0.4367996156215668, 0.9639348983764648, -0.19403918087482452, -0.3838149309158325, 0.774802029132843, -0.4300609230995178, -0.12449879944324493, 0.6937946677207947, 0.752524733543396, -0.16816064715385437, -0.6627700924873352, -0.6889925003051758, -0.5951246619224548, 0.9195746183395386, 0.3712417483329773, 0.33929944038391113, 0.41141754388809204, 0.480907678604126, 0.39952731132507324, 0.13223589956760406, -0.7967610359191895, -0.23807524144649506, -0.5317348837852478, -0.008000032044947147, 0.2265314906835556, 0.2791551351547241, -0.495039165019989, -0.06897986680269241, 0.7337241172790527, 0.0411936454474926, 0.4440380930900574, 0.22492718696594238, 0.1042371541261673, -0.3361390233039856, 0.3537762761116028, 0.405161052942276, 0.29742592573165894, 0.038041166961193085, -0.055177152156829834, -0.2662496566772461, -0.5173468589782715, 0.15182876586914062, -0.015465870499610901, -0.7305615544319153, -0.4896756410598755, 0.06586026400327682, 0.5127496123313904, -0.727807879447937, -0.7658922672271729, 0.6748889684677124, -0.02251986786723137, -0.28312253952026367, -0.31250447034835815, 0.404619038105011, -0.4594038724899292, 0.5353830456733704, 0.0905860885977745, 0.29039689898490906, 0.32212790846824646, -1.0030055046081543, 0.17161275446414948, 0.5999974608421326, -0.47210755944252014, -0.2435729056596756, 0.788581371307373, -0.03420408442616463, -0.45109957456588745, 0.8785156011581421, -0.20027057826519012, -0.16637203097343445, 0.6655929088592529, 0.34333106875419617, 0.9022800326347351, -0.23065637052059174, 0.1495123654603958, 0.1224883571267128, 0.6710366606712341, 0.23286426067352295, 0.6858242750167847, 0.13327310979366302, -0.8537613153457642, -0.15859375894069672, -0.2181083709001541, -0.3467257618904114, 0.3535792827606201, -0.2954910397529602, 0.28680357336997986, -0.48472851514816284, 0.027136096730828285, -0.06282934546470642, -0.7651494741439819, -0.5847477912902832, 0.039308324456214905, -0.14817291498184204, 0.8128288388252258, -0.6351131200790405, 0.47832420468330383, 0.680132269859314, -0.36217111349105835, -0.37126174569129944, -0.009197425097227097, 0.1867491900920868, -0.8841762542724609, 0.33346953988075256, 0.05449008196592331, 0.06932475417852402, -0.37304115295410156, -1.1534368991851807, -0.7773323059082031, 0.9808304905891418, 0.26125213503837585, -0.19634075462818146, -0.07005589455366135, 0.53829026222229, 0.3991814851760864, -0.14037001132965088, 0.06945977360010147, 0.41912901401519775, 0.6735759377479553, -0.2179209440946579, -0.6149467825889587, 0.21632015705108643, -0.4192585051059723, -0.6470975279808044, 0.12700729072093964, -0.513176441192627, 0.8330936431884766, -0.5068932175636292, -0.4198039472103119, 0.06332655996084213, 0.42119649052619934, -0.014342724345624447, 0.9364539980888367, 0.3538009226322174, 0.4023081362247467, 0.743514358997345, -0.022295786067843437, 1.0089236497879028, -0.1382363885641098, -0.25104689598083496, 0.8938297629356384, -0.40188732743263245, 0.4075849950313568, 0.26738810539245605, -0.15135569870471954, 0.11654534935951233, 0.24777300655841827, -0.2920028567314148, 0.6463849544525146, 0.11445668339729309, -0.039048824459314346, 0.17605933547019958, -0.3536249101161957, -0.07173135131597519, 0.5998439192771912, 0.5199308395385742, -0.42946624755859375, -0.16446316242218018, 0.22526465356349945, -0.04711653292179108, 0.07364026457071304, -0.6200657486915588, 0.882043182849884, -0.04809977486729622, -0.6305997967720032, -0.34955692291259766, 0.1265544295310974, 0.4250442683696747, -0.39853137731552124, -0.13791318237781525, 0.36006006598472595, 0.014457248151302338, -0.45409730076789856, -1.0643235445022583, 0.5353938937187195, 0.2614802420139313, 0.15536420047283173, 0.03330465406179428, 1.09013032913208, 0.1828521192073822, -0.14304113388061523, 0.09575343132019043, 0.5747407674789429, 0.43028584122657776, -0.029653184115886688, -0.5197089910507202, -0.1619485765695572, -0.061858367174863815, -0.16328753530979156, 0.05763816088438034, 0.2435767501592636, -0.24729612469673157, 0.5494086146354675, 0.9164959788322449, 0.23822851479053497, 0.1319485306739807, -0.21733057498931885, 0.8973633050918579, -0.4613192677497864, -0.4875512421131134, -0.977435827255249, 0.5375597476959229, -0.08090272545814514, -0.33431476354599, 0.6357070207595825, 0.46700167655944824, 1.1569457054138184, 0.3905172348022461, 1.165570616722107, -0.2611512243747711, 0.31316524744033813, -0.7862136960029602, 0.7454108595848083, -0.3924376368522644, 0.25057631731033325, -0.21673698723316193, -0.7925375699996948, -0.08593694865703583, 0.31988856196403503, -0.18686488270759583, 0.14027076959609985, 0.4072996973991394, 0.5962181091308594, -0.05961868166923523, 0.4552769660949707, 0.4001200795173645, 0.27902477979660034, 0.45058971643447876, 0.1661468893289566, 0.8997336626052856, -0.005604863632470369, 0.3834001123905182, -0.3589670956134796, -0.33803197741508484, -0.11320251226425171, -0.7317280173301697, -0.7983714938163757, -0.3059220314025879, -0.0008123808656819165, -0.43245238065719604, 0.35796689987182617, 0.9231607913970947, 0.2545112669467926, -0.6946347951889038, -0.057608284056186676, -0.18716399371623993, -0.03555373474955559, -0.031027711927890778, -0.24892280995845795, 0.27560052275657654, -0.1144653856754303, -0.5262115001678467, 0.6500433087348938, 0.09554567188024521, 0.12400726974010468, -0.2733074426651001, -0.03622389957308769, 0.05436703935265541, 0.23136219382286072, 0.44202327728271484, 0.3241505026817322, -0.5995835065841675, -0.4971870481967926, 0.23284517228603363, 0.02462163195014, 0.0870770588517189, 1.077580213546753, -0.44352591037750244, 0.5245229601860046, 0.28395217657089233, 0.658488392829895, -0.07230834662914276, 0.0954534262418747, 0.536736249923706, -0.3181149363517761, 0.007202281150966883, 0.6277537941932678, 0.4129372537136078, -0.16451486945152283, -0.853992223739624, 0.631358802318573, -0.045952361077070236, -0.8605841994285583, -0.6245795488357544, 0.16201692819595337, -0.4997137784957886, -0.5513870716094971, 0.9946835041046143, -0.20156897604465485, -0.3922516107559204, -0.4244365096092224, -0.12443364411592484, 0.23038332164287567, -0.6567812561988831, 0.7583190202713013, 0.48314130306243896, -0.4062349796295166, 0.4239681363105774, -0.8949554562568665, 0.37372711300849915, -0.027952004224061966, -0.8217161297798157, 0.2143108993768692, 0.4399050772190094, 0.10744481533765793, 0.24940162897109985, 0.7612791061401367, -0.3497362434864044, 0.5900551676750183, -0.09256265312433243, -0.33630701899528503, -0.4532369077205658, -0.538698136806488, -0.40759968757629395, 0.2682502269744873, 0.10312772542238235, -0.19097493588924408 ]
http://arxiv.org/abs/2403.06520v1
http://arxiv.org/pdf/2403.06520v1
How to Understand Named Entities: Using Common Sense for News Captioning
2024-03-11T08:52:52
2024-03-11T08:52:52
Ning Xu, Yanhui Wang, Tingting Zhang, Hongshuo Tian, Mohan Kankanhalli, An-An Liu
cs.CL
cs.CL, cs.AI
News captioning aims to describe an image with its news article body as input. It greatly relies on a set of detected named entities, including real-world people, organizations, and places. This paper exploits commonsense knowledge to understand named entities for news captioning. By ``understand'', we mean correlating the news content with common sense in the wild, which helps an agent to 1) distinguish semantically similar named entities and 2) describe named entities using words outside of training corpora. Our approach consists of three modules: (a) Filter Module aims to clarify the common sense concerning a named entity from two aspects: what does it mean? and what is it related to?, which divide the common sense into explanatory knowledge and relevant knowledge, respectively. (b) Distinguish Module aggregates explanatory knowledge from node-degree, dependency, and distinguish three aspects to distinguish semantically similar named entities. (c) Enrich Module attaches relevant knowledge to named entities to enrich the entity description by commonsense information (e.g., identity and social position). Finally, the probability distributions from both modules are integrated to generate the news captions. Extensive experiments on two challenging datasets (i.e., GoodNews and NYTimes) demonstrate the superiority of our method. Ablation studies and visualization further validate its effectiveness in understanding named entities.
[ -0.6296387910842896, -0.6439319849014282, 0.6052253246307373, 0.04368111118674278, -0.8758838176727295, 0.08705996721982956, -0.14812038838863373, -0.7547626495361328, 0.31215378642082214, 0.4918581545352936, -0.4087328612804413, -0.5335779190063477, -0.505786657333374, 0.209348663687706, -0.4193350076675415, 1.113523244857788, 0.03887272998690605, 0.13296478986740112, -0.38574090600013733, -0.4933648705482483, -0.3904068171977997, -0.016564222052693367, -0.7039042115211487, 0.02230876311659813, 0.8053354024887085, 0.3594021797180176, 0.6697902679443359, 0.523760199546814, 0.3787546157836914, 0.2909666895866394, -0.24320188164710999, 0.33461877703666687, -0.3776296079158783, -0.35437291860580444, -0.41600552201271057, -0.29713010787963867, -0.05321589484810829, 0.027460504323244095, 0.38785529136657715, 0.8146055340766907, 0.06605151295661926, -0.06064172834157944, -0.1693676859140396, 0.5502163171768188, -0.41142478585243225, 0.3623790740966797, -0.8635619878768921, 0.050444599241018295, -0.00787658803164959, -0.26167094707489014, -0.21782179176807404, -0.13334698975086212, 0.14754420518875122, -1.1695280075073242, 0.3111061751842499, 0.43783149123191833, 1.3139595985412598, 0.34133633971214294, -0.5998485088348389, -0.2017972320318222, -0.3057245910167694, 0.8569620847702026, -0.3777647018432617, 0.4947262704372406, -0.042332008481025696, 0.4894901514053345, -0.05581829324364662, -0.6063494086265564, -0.9967420101165771, -0.012685609981417656, -0.29741787910461426, 0.19484645128250122, -0.3678111732006073, -0.08764911442995071, 0.027396736666560173, 0.25720179080963135, -0.35328617691993713, 0.006312886252999306, -0.7394909858703613, -0.175753653049469, 0.4388662278652191, -0.4663412570953369, 0.44325685501098633, -0.4423782527446747, -0.8100170493125916, 0.31616196036338806, -0.609814465045929, -0.22218072414398193, 0.17382200062274933, 0.2596626579761505, -0.12393717467784882, 0.4466271996498108, -0.5021195411682129, 0.7967790961265564, -0.17602956295013428, -0.09965763241052628, 0.16331888735294342, 0.2002992480993271, -0.4905414581298828, 0.0931607335805893, 0.2026410698890686, 0.8798369765281677, 0.7215845584869385, -0.5297134518623352, -0.02155209891498089, -0.11034101992845535, 0.17332178354263306, -0.43711066246032715, -0.1011548638343811, -0.03249640762805939, -0.35926562547683716, -0.47824186086654663, 0.21648675203323364, -0.7152631282806396, -0.5416201949119568, -0.8013133406639099, 0.3880419135093689, -0.1744270920753479, -0.3946242034435272, -0.04407453536987305, -0.47272539138793945, 0.4207717776298523, 0.6668877005577087, -0.5451416969299316, 0.4442361891269684, 0.7615278363227844, 0.750542402267456, -0.4176346957683563, -0.29730767011642456, -0.7355831265449524, 0.309344083070755, 0.08547205477952957, 1.2987089157104492, -0.2399888038635254, 0.33193615078926086, -0.24146701395511627, 0.1496717929840088, -0.0015281341038644314, -0.4946405589580536, 0.20595484972000122, -0.950385332107544, -0.12600752711296082, 0.07214629650115967, -0.6751524209976196, -0.6622775197029114, 0.3324712812900543, -1.0808305740356445, 0.17206546664237976, 0.008129234425723553, -0.7601575255393982, 0.660641074180603, -0.7430274486541748, -0.5196962356567383, 0.17892864346504211, -0.06702541559934616, -0.10378164052963257, 0.35513290762901306, 0.52565598487854, 0.6669764518737793, 0.23187831044197083, 0.4077951908111572, -0.1534956693649292, -0.0026651101652532816, 0.3936736285686493, -0.2658153176307678, 0.5648868680000305, 0.5375992655754089, 0.22896558046340942, -0.23795244097709656, -0.8799846768379211, -0.3236374258995056, 0.029226722195744514, -0.022037656977772713, -0.6651352643966675, -0.0717998668551445, 0.05143546313047409, -0.39767491817474365, -0.07278477400541306, -0.4334011375904083, -0.195956289768219, -0.07200799882411957, 0.5431347489356995, 0.16474296152591705, 0.6245763301849365, 0.7510939240455627, -0.1121344044804573, 0.08747444301843643, 0.49288210272789, 0.03573693335056305, -0.12009512633085251, -0.3630591034889221, -0.4176845848560333, -0.2116289734840393, 0.33453065156936646, 0.2703886032104492, -0.8956051468849182, 0.028978528454899788, -0.29873916506767273, -0.34635743498802185, -0.15445250272750854, 0.05472033843398094, -0.016238240525126457, 0.6425238847732544, 0.5861350893974304, -0.27353331446647644, -0.4388777017593384, -1.0307738780975342, -0.7418241500854492, 0.09051495045423508, 0.08629275113344193, 0.24207177758216858, 0.43074896931648254, 0.05724538490176201, 1.1096032857894897, -0.6030572652816772, -0.1744462251663208, -0.3124302625656128, 0.2619631588459015, 0.1452479064464569, 0.25898003578186035, 0.36116117238998413, -1.3957549333572388, -0.019074784591794014, -0.06309401988983154, -0.40947479009628296, 0.030278293415904045, -0.5034278631210327, -0.07697353512048721, 0.15158461034297943, 0.468311607837677, -0.8756210803985596, 0.3988938629627228, 0.2172006517648697, -0.15182678401470184, 0.4346112906932831, 0.14961810410022736, 0.10692423582077026, -0.938515305519104, -0.12907928228378296, 0.19275861978530884, -0.42935484647750854, -0.45189133286476135, 0.2461535781621933, -0.07147540152072906, -0.1919354349374771, -0.7710646390914917, 0.7700119018554688, -0.7991208434104919, -0.4117630124092102, -0.09117560088634491, 0.6502112150192261, 0.2548940181732178, 0.4171764850616455, 0.5384912490844727, 0.37412288784980774, 0.5944722890853882, -0.8291712999343872, 0.6203299760818481, -0.04688010364770889, -0.4978676736354828, 0.9037330746650696, -0.4336549937725067, -0.21308179199695587, -0.42155390977859497, 0.09615806490182877, -0.7117567658424377, -0.47802433371543884, 0.332828164100647, -0.6339578628540039, 0.07229441404342651, -0.4132004678249359, -0.5784819722175598, -0.091342031955719, 0.3559532165527344, 0.0454656258225441, -0.046853989362716675, -0.6500726938247681, 0.510215699672699, 0.43060263991355896, 0.011494198814034462, -0.564562976360321, -0.9318481683731079, 0.15239903330802917, -0.35246166586875916, -0.4225347340106964, 0.2091846615076065, 0.08826348930597305, -0.46417802572250366, 0.38653692603111267, -0.3002048134803772, -0.6022234559059143, 0.42087623476982117, 0.15654712915420532, 0.08549376577138901, -0.16492199897766113, 0.5317221283912659, 0.29053956270217896, -0.18274961411952972, 0.004730916582047939, 0.019953567534685135, 0.09876096248626709, -0.0640828087925911, -0.1851288378238678, -0.2550494968891144, 0.3838387727737427, 0.5785425305366516, -0.46782082319259644, 0.7376049757003784, 0.5090060234069824, -0.547153115272522, -0.2817629277706146, -0.3063827157020569, -0.2300119549036026, -0.3543303608894348, 0.41943609714508057, -0.15306419134140015, -0.6059483289718628, 0.5996100902557373, -0.24468894302845, -0.05900311842560768, 0.3956605792045593, -0.026417188346385956, -0.09931455552577972, 0.4375656843185425, 0.3237171471118927, -0.08575192093849182, 0.1847860962152481, -0.11404848098754883, 0.32232001423835754, -0.47684386372566223, -0.15102368593215942, -0.14857813715934753, -0.4004754424095154, -0.36409616470336914, -0.37212085723876953, -0.14019642770290375, 0.23149743676185608, 0.049135275185108185, 0.44003620743751526, -0.5752488970756531, 1.0089410543441772, 0.4026655852794647, 0.05584060773253441, 0.7641488909721375, 0.2603769600391388, 0.2590152621269226, 0.15748856961727142, -0.25981271266937256, -0.6039374470710754, 0.5261248350143433, 0.44343897700309753, 0.8185996413230896, 0.06340057402849197, 0.8198167085647583, 0.28354501724243164, 0.44265612959861755, -0.9895622134208679, 0.5472384691238403, -0.004027692601084709, -0.6587144136428833, -0.17273467779159546, -0.34070885181427, -0.9014996886253357, 0.17187222838401794, -0.1982886791229248, -0.5831119418144226, 0.14466264843940735, -0.09224240481853485, -0.5068119764328003, 0.32087722420692444, -0.7879505753517151, 0.7681045532226562, -0.08043195307254791, 0.15013855695724487, -0.38153818249702454, -0.5644529461860657, 0.40664395689964294, 0.24315109848976135, 0.43514248728752136, -0.1410188227891922, -0.2660299837589264, 0.6539086103439331, 0.14832715690135956, 0.8292108178138733, -0.256707102060318, 0.18512943387031555, 0.3859408497810364, -0.278887003660202, 0.19478105008602142, 0.5190939903259277, 0.24692723155021667, 0.1968919187784195, -0.08758702874183655, -0.3588310182094574, -0.7209702134132385, 0.7933560013771057, -0.6864659786224365, -0.3450063169002533, -0.33633551001548767, -0.5418014526367188, 0.13291218876838684, 0.3525589406490326, 0.2104126662015915, 0.5584686994552612, -0.21371814608573914, 0.14722439646720886, 0.6476277112960815, -0.04091893136501312, 0.3150002956390381, 0.8229069709777832, -0.037432268261909485, -0.500257670879364, 0.8425101637840271, 0.17651651799678802, -0.14271515607833862, 0.6477096676826477, -0.2253720462322235, -0.24539174139499664, -0.5833759307861328, -0.6024733185768127, 0.21681851148605347, -0.7208490371704102, -0.5118350982666016, -0.5663405060768127, -0.14734190702438354, -0.20852461457252502, -0.199861541390419, -0.06232400983572006, -0.43891772627830505, -0.5432028770446777, -0.21210332214832306, 0.5987285375595093, 0.636538565158844, 0.09359335899353027, 0.26200225949287415, -0.9286113977432251, 0.7270320057868958, 0.546742856502533, 0.4724508821964264, -0.02420191839337349, -0.11149918287992477, -0.2101450115442276, -0.0535716712474823, -0.15547074377536774, -1.3202528953552246, 0.35539013147354126, 0.1343241184949875, 0.8290319442749023, 0.6298431158065796, 0.4000442624092102, 0.6463338136672974, -0.3329831659793854, 0.6315429210662842, 0.00824431236833334, -0.8482135534286499, 0.5232393145561218, -0.15124131739139557, -0.05628116801381111, 0.5940663814544678, 0.29456162452697754, -0.6772223711013794, -0.5781587958335876, -0.7552878260612488, -0.6845401525497437, 0.3246046304702759, 0.2422848492860794, 0.23061440885066986, -0.300650954246521, 0.38514870405197144, 0.07146874815225601, 0.34007489681243896, -1.0497304201126099, -0.14919860661029816, -0.19294749200344086, -0.1565096527338028, 0.23077617585659027, 0.07658324390649796, -0.26265352964401245, -0.003429956967011094, 0.47568783164024353, -0.12241494655609131, 0.15092752873897552, 0.4286056160926819, -0.7287686467170715, -0.044031329452991486, 0.42705437541007996, 0.7049407362937927, 0.5452823042869568, 0.007867325097322464, 0.4233456552028656, 0.08480992913246155, -0.2087469846010208, -0.43001502752304077, 0.39782819151878357, 0.03786100074648857, 0.3007640540599823, 0.3609127998352051, 0.6911779642105103, 0.5800195336341858, -0.40960410237312317, 0.494686096906662, -0.004260515794157982, 0.01228007860481739, -0.3952333927154541, 0.1238764151930809, 0.26658040285110474, 0.3606529235839844, 0.6759405136108398, 0.40388697385787964, 0.2995784282684326, -0.5758421421051025, 0.33574989438056946, 0.22866718471050262, -0.16262033581733704, -0.11581837385892868, 0.3575097918510437, 0.6260731816291809, -0.050854843109846115, 0.289743036031723, -0.5421301126480103, -0.4838995635509491, 0.9382564425468445, 0.43194520473480225, 0.47883209586143494, 0.45081546902656555, 0.3503568470478058, 0.3615846633911133, 0.15506717562675476, 0.02405928261578083, -0.061870213598012924, -0.30894550681114197, -0.9717060923576355, -0.42398330569267273, -0.42952051758766174, -0.4336024522781372, 0.16840319335460663, -0.7822531461715698, 0.30243322253227234, -0.2838580906391144, 0.2686830759048462, 0.3385373651981354, 0.2808035910129547, -0.8371434211730957, 0.35878485441207886, 0.3719542324542999, 1.3460428714752197, -1.10044527053833, 0.38012149930000305, 1.2412768602371216, -0.535778820514679, -0.93766850233078, 0.06868442893028259, -0.10100642591714859, -0.835472047328949, 0.5523966550827026, 0.48513874411582947, 0.40494170784950256, 0.34177711606025696, -0.9137350916862488, -0.7987252473831177, 1.291850209236145, 0.056924913078546524, -0.7332045435905457, 0.21698248386383057, -0.19415777921676636, 0.30207693576812744, -0.5668550133705139, 0.05952609330415726, 0.34211063385009766, 0.8619153499603271, 0.1848386973142624, -0.5681721568107605, 0.02609233930706978, 0.0074136462062597275, -0.3435923755168915, 0.08504732698202133, -0.5822232365608215, 0.3589014410972595, -0.5381921529769897, -0.57411789894104, 0.030425913631916046, 1.0755598545074463, 0.3409641981124878, 1.158316969871521, 0.7578794956207275, 0.7392585873603821, 0.9089865684509277, 0.05001102015376091, 0.7458339929580688, -0.09585759788751602, 0.4304836094379425, 1.1520850658416748, 0.07249438017606735, 0.6473186612129211, 0.6703271269798279, 0.10552038252353668, 0.6035363078117371, 0.5782471299171448, -0.36380860209465027, 0.5978519916534424, 0.25618892908096313, -0.2741675078868866, -0.14397257566452026, -0.1950383335351944, 0.009020214900374413, 0.38961276412010193, 0.14193150401115417, -0.43132492899894714, -0.6279133558273315, 0.19022716581821442, 0.07970260828733444, 0.2647819519042969, -0.6170397996902466, 0.9175267219543457, 0.3222270905971527, -0.7028599381446838, -0.05317043885588646, -0.24475359916687012, 0.30806222558021545, -0.057531073689460754, -0.0673595741391182, -0.209170401096344, -0.25488337874412537, -0.3058975338935852, -1.2068982124328613, 0.4462531805038452, 0.11414588242769241, -0.299587219953537, 0.13555002212524414, 0.9059020280838013, -0.5897648930549622, -0.24037107825279236, 0.008589117787778378, 0.5687652230262756, 0.5500879883766174, -0.4506891071796417, -0.44006213545799255, -0.2731102406978607, -0.12758846580982208, -0.17066223919391632, -0.10425233840942383, 0.8569443821907043, -0.07594427466392517, 0.5010479092597961, 0.4386512041091919, 0.22795164585113525, -0.27603381872177124, 0.38074854016304016, 0.800416111946106, -0.6614566445350647, -0.5490338802337646, -0.47775763273239136, 0.4917070269584656, -0.4783148169517517, -0.23169074952602386, 0.2811889052391052, 0.5206748843193054, 0.6812902092933655, -0.30641359090805054, 0.45695215463638306, -0.013410954736173153, 0.47949978709220886, -0.4914029538631439, 0.9999951124191284, -0.5886629819869995, 0.11141916364431381, 0.07432026416063309, -1.0318069458007812, -0.6162092089653015, 0.3785346448421478, -0.3116898238658905, -0.34867173433303833, 0.5299022197723389, 0.6044751405715942, -0.23850508034229279, -0.07047810405492783, 0.3283248841762543, 0.12006238102912903, -0.07527261227369308, 0.23491156101226807, 0.8501861095428467, -0.14128635823726654, 0.7085269689559937, -0.1748005598783493, 0.08727142959833145, -0.055328093469142914, -1.1086246967315674, -0.7754127383232117, -0.3908766806125641, -0.5526978373527527, 0.38372716307640076, 0.11938191205263138, 0.5060359835624695, 0.8122861981391907, -0.7103337645530701, 0.564762532711029, -0.3231028914451599, 0.6911290884017944, -0.19711627066135406, -0.3544914722442627, 0.2512178122997284, -0.37832170724868774, -0.8167545199394226, -0.0007461911300197244, 0.016355302184820175, 0.04523443803191185, 0.008459925651550293, -0.11085342615842819, 0.14718523621559143, 0.05539795383810997, 0.33950626850128174, 0.2733130156993866, -0.9504808783531189, -0.5210266709327698, -0.23007109761238098, 0.03131912276148796, -0.1458514928817749, 0.5277930498123169, -1.0440278053283691, 0.13588139414787292, 0.46795395016670227, 0.2888964116573334, 0.05534318462014198, 0.2757236659526825, 0.15520869195461273, -0.9016637802124023, 0.03865418955683708, 0.08950675278902054, 0.4203742444515228, 0.5658738613128662, -0.5196964740753174, 0.38559046387672424, 0.4623385965824127, -0.4262629747390747, -0.569995641708374, 0.33275333046913147, -1.4950414896011353, -0.335288941860199, 1.054734468460083, -0.09136909991502762, -0.42004168033599854, -0.19765138626098633, -0.15826085209846497, 0.5452671647071838, -0.709568202495575, 0.6104730367660522, 0.46326974034309387, 0.2309296876192093, -0.7308884263038635, -0.5733840465545654, 0.29906368255615234, -0.12961937487125397, -0.8023892045021057, -0.09304480999708176, 0.4389229118824005, 0.5355499982833862, 0.3232160806655884, 0.14516054093837738, 0.041841521859169006, 0.38532406091690063, -0.25986698269844055, -0.014443579129874706, -0.3095482587814331, -0.31565696001052856, -0.06696486473083496, -0.04130195826292038, -0.30511200428009033, -0.4868241250514984 ]
http://arxiv.org/abs/2403.06503v1
http://arxiv.org/pdf/2403.06503v1
Automatic Generation of Python Programs Using Context-Free Grammars
2024-03-11T08:25:52
2024-03-11T08:25:52
Kamel Yamani, Marwa Naïr, Riyadh Baghdadi
cs.PL
cs.PL, cs.CL, cs.LG
In recent years, data has emerged as the new gold, serving as a powerful tool for creating intelligent systems. However, procuring high-quality data remains challenging, especially for code. To address this, we developed TinyPy Generator, a tool that generates random Python programs using a context-free grammar. The generated programs are guaranteed to be correct by construction. Our system uses custom production rules (in the Backus-Naur Form (BNF) format) to recursively generate code. This allows us to generate code with different levels of complexity, ranging from code containing only assignments to more complex code containing conditionals and loops. Our proposed tool enables effortless large-scale Python code generation, beneficial for a wide range of applications. TinyPy Generator is particularly useful in the field of machine learning, where it can generate substantial amounts of Python code for training Python language models. Additionally, researchers who are studying programming languages can utilize this tool to create datasets for their experiments, which can help validate the robustness of code interpreters or compilers. Unlike existing research, we have open-sourced our implementation. This allows customization according to user needs and extends potential usage to other languages.
[ -0.12250268459320068, -0.6254737377166748, 0.2915284335613251, 0.3952571451663971, 0.02939002774655819, -0.42519938945770264, -0.516045093536377, -0.068614162504673, 0.21473202109336853, 0.29907742142677307, -0.47265881299972534, -0.2429860681295395, -0.17356732487678528, 0.4362942576408386, -0.3781771957874298, 1.1384979486465454, 0.3488798141479492, -0.40685588121414185, -0.31456077098846436, -0.031399406492710114, -0.4674094319343567, -0.22291815280914307, -0.4123649299144745, -0.257372111082077, 0.2782626152038574, 0.7030991315841675, 0.670415997505188, 0.8831472992897034, 0.16792936623096466, 0.351583331823349, 0.33330026268959045, -0.0030400368850678205, -0.29058942198753357, 0.22999203205108643, -0.2322075515985489, -0.17951907217502594, -0.31611132621765137, -0.14278103411197662, 0.6233408451080322, 0.6104764938354492, -0.06964826583862305, 0.5587658882141113, -0.06631536036729813, 0.35212242603302, -0.5592758059501648, 0.24975083768367767, -0.708484411239624, -0.0258440300822258, -0.05750003084540367, -0.29598501324653625, -0.3208816647529602, -0.5247367024421692, -0.29823675751686096, -0.5191429257392883, 0.3907829225063324, -0.13396470248699188, 0.6766662001609802, 0.4044339656829834, -0.2827761173248291, -0.5130600929260254, -0.20746716856956482, 0.7406197786331177, -0.6336802244186401, -0.055259887129068375, 0.05057511478662491, 0.2109624743461609, -0.5188088417053223, -0.9799295663833618, -0.5352652072906494, -0.11954312771558762, -0.2825824022293091, -0.28905564546585083, -0.2819066643714905, -0.06556398421525955, 0.4418758749961853, 0.5265181064605713, -0.7546568512916565, -0.3043444752693176, -0.2670125365257263, -0.14575767517089844, 0.6800775527954102, 0.289831280708313, 0.24023938179016113, -0.5185317397117615, 0.4157264530658722, 0.09716473519802094, -0.7503489255905151, -0.050178900361061096, 0.37253111600875854, 0.4148973524570465, -0.019307374954223633, 0.8756221532821655, -0.5644164681434631, 0.7169150710105896, -0.049309756606817245, 0.08748875558376312, 0.21631182730197906, -0.39765143394470215, -0.4710795283317566, 0.010224404744803905, 0.8992812037467957, 0.3367382287979126, 0.3776276111602783, -0.10144414007663727, -0.34582656621932983, 0.11227180808782578, 0.04383004456758499, -1.0437180995941162, -0.5749541521072388, 0.4530828297138214, -0.4222222566604614, -0.7271769046783447, -0.14528177678585052, -0.45031872391700745, -0.12355300784111023, -0.06751928478479385, 0.16282016038894653, -0.5022233724594116, -0.15097495913505554, -0.2507997751235962, -0.35275840759277344, -0.18177296221256256, -0.13899008929729462, -0.9297618865966797, -0.170695498585701, 0.5956014394760132, 0.6576951146125793, 0.23844832181930542, -0.4127746522426605, -1.0307340621948242, 0.1169455274939537, -0.48725607991218567, 0.44307178258895874, -0.33311253786087036, -0.11804094165563583, -0.06701682507991791, -0.09723987430334091, 0.04501314088702202, -0.49584320187568665, -0.012051423080265522, -0.04861066862940788, 0.08977250009775162, 0.2576858401298523, -0.3237895369529724, 0.2197350710630417, -0.0252703744918108, -0.35405656695365906, 0.8815940022468567, 0.4876345098018646, -0.7005228400230408, 0.4693269729614258, -0.4452063739299774, -0.5939872860908508, 0.36965346336364746, -0.44178906083106995, -0.4117538630962372, 0.2909460961818695, -0.04275636002421379, 0.4122943878173828, 0.21039311587810516, 0.37786611914634705, -0.2688223719596863, -0.2742314338684082, 0.4042741656303406, -0.04590238258242607, 0.8789815306663513, 0.4922649562358856, -0.3340819776058197, 0.29657259583473206, -0.9664881825447083, 0.6190032958984375, 0.09304094314575195, -0.6953904628753662, -0.23133540153503418, -0.026622718200087547, 0.15331870317459106, 0.2610682249069214, 0.16284938156604767, -0.4515187442302704, 0.49392232298851013, -0.575879693031311, 0.7814629673957825, 0.5302442908287048, 0.09227974712848663, 0.6008226871490479, -0.21060287952423096, 0.2835252285003662, -0.3599304258823395, -0.21998736262321472, -0.40178725123405457, -0.5486571192741394, -0.7582286596298218, -0.27935102581977844, 0.2766147553920746, 0.36303675174713135, -0.6381317377090454, 0.6814197301864624, -0.14923933148384094, -0.17109109461307526, -0.2420881986618042, 0.36189329624176025, 0.26050034165382385, 0.20442131161689758, 0.013768418692052364, 0.05570143833756447, -1.0542235374450684, -0.6099327206611633, 0.0228707417845726, -0.020776689052581787, -0.2599741816520691, 0.32888874411582947, 0.5900996327400208, -0.5854613184928894, 1.1623866558074951, -0.43700987100601196, -0.033968549221754074, -0.6134675741195679, 0.12348155677318573, 0.3026001751422882, 0.847070574760437, 0.6253443956375122, -0.3738546073436737, -0.15640531480312347, -0.08599253743886948, -0.48251643776893616, -0.4667510688304901, -0.20136544108390808, -0.22600334882736206, 0.5574706196784973, 0.2270243912935257, -0.695334792137146, 0.14341150224208832, 0.6333374977111816, -0.4500310719013214, 0.4801158905029297, -0.23923133313655853, -0.37209028005599976, -1.0049793720245361, 0.5291874408721924, -0.2093348354101181, -0.27569761872291565, -0.3061506748199463, 0.5174686312675476, 0.03400419279932976, -0.43422767519950867, -0.2989543378353119, 0.5090458393096924, 0.019595472142100334, -0.061453867703676224, -0.017528852447867393, -0.26578661799430847, -0.15849602222442627, 0.17592091858386993, 0.1418657898902893, 0.7394313216209412, 0.31538522243499756, -0.6110793352127075, 0.3813899755477905, -0.021461915224790573, -0.12034882605075836, 0.18197672069072723, -0.5733537673950195, -0.09309012442827225, 0.326020210981369, 0.04406702145934105, -0.6278151273727417, -0.7711259126663208, 0.22104161977767944, -0.535655677318573, 0.05937112495303154, -0.31232038140296936, -0.4465729892253876, -0.2944934368133545, -0.10628648102283478, 0.11282587051391602, 0.5797049403190613, -0.5221473574638367, -0.010512156412005424, 0.15070612728595734, -0.1996665745973587, -0.33207064867019653, -0.6825827360153198, 0.07091861218214035, -0.10408786684274673, -0.6519725918769836, -0.06924709677696228, -0.2090015560388565, -0.36882904171943665, 0.048094071447849274, 0.023734411224722862, -0.1696593463420868, 0.16324713826179504, 0.42096981406211853, -0.01895061321556568, -0.37341979146003723, -0.183390274643898, 0.1661616712808609, -0.19204729795455933, 0.02266944944858551, -0.6504920721054077, 0.4799986183643341, -0.4484836757183075, 0.17446067929267883, -0.21534597873687744, 0.41854873299598694, 0.2598858177661896, -0.01638464629650116, 0.22164711356163025, 0.535840630531311, -0.35295370221138, -0.8616561889648438, 0.0780174657702446, 0.07574386894702911, -0.4927900433540344, 0.1012595072388649, -0.3551153838634491, -0.6651965975761414, 0.07222038507461548, 0.18464751541614532, 0.15872593224048615, 0.2904703915119171, 0.8562209606170654, 0.1356663852930069, 0.9750915765762329, 0.7436726093292236, 0.1294359266757965, 0.45595136284828186, -0.4284156262874603, 0.09114322066307068, -0.1596449464559555, 0.110007144510746, -0.5250100493431091, -0.09924660623073578, -0.6625493764877319, -0.092742420732975, -0.07819043844938278, 0.008534261025488377, -0.33497875928878784, 0.4020354151725769, -0.8097526431083679, 0.6806389093399048, 0.9518138766288757, -0.4379108250141144, 0.12971508502960205, 0.09678078442811966, -0.14382974803447723, 0.29044365882873535, -0.9007936120033264, -0.5383244752883911, 1.1507562398910522, -0.21722622215747833, 0.7752805352210999, -0.2719883322715759, 1.3152461051940918, 0.3571549355983734, 0.23383376002311707, -0.8819761276245117, 0.4712385833263397, 0.07678324729204178, -0.3986358046531677, -0.2030602991580963, -0.7650195360183716, -0.8795921206474304, -0.04698328301310539, -0.010218947194516659, -0.688082754611969, 0.02447810210287571, 0.4574911594390869, -0.5884538292884827, -0.2019285261631012, -0.9258390069007874, 1.1968002319335938, 0.10256282240152359, -0.4413049519062042, 0.025503072887659073, -0.49214813113212585, 0.4287564158439636, 0.10442613810300827, 0.09043733030557632, 0.05430535972118378, 0.28307458758354187, 0.4283696413040161, -0.8088103532791138, 0.49665990471839905, -0.11162951588630676, -0.008683825843036175, 0.5592509508132935, 0.5280947089195251, 0.24767935276031494, 0.5138043165206909, -0.03155062347650528, 0.18750044703483582, 0.23095156252384186, -0.17647328972816467, -0.13031667470932007, 0.9227323532104492, -0.48026859760284424, -0.18767951428890228, -0.5475133061408997, -0.8290560841560364, 0.33464324474334717, 0.6006975769996643, 0.5243532657623291, 0.28042179346084595, -0.15404735505580902, 0.32008951902389526, 0.2518632113933563, -0.29335007071495056, 0.6845402121543884, 0.07545912265777588, -0.13460253179073334, -0.48883694410324097, 1.2423726320266724, 0.0522812083363533, -0.17227301001548767, 0.09269385039806366, 0.2603316605091095, 0.1709308624267578, -0.3266628682613373, -0.7463912963867188, -0.18411728739738464, -0.39092445373535156, -0.5544076561927795, -0.36421310901641846, -0.14296728372573853, -0.7442633509635925, -0.40945011377334595, -0.23611599206924438, -1.013651967048645, -0.12196238338947296, 0.2019767016172409, 0.1447141319513321, 0.5106204152107239, -0.2414391040802002, 0.08540096133947372, -0.5816124081611633, 0.48901936411857605, 0.34144553542137146, 0.253871887922287, -0.4380365312099457, 0.15916404128074646, -0.3861912190914154, 0.04739658161997795, -0.46803519129753113, -0.36743074655532837, 0.5477479100227356, 0.4419311583042145, 0.26968035101890564, 0.2765069901943207, 0.2415664792060852, 0.3739740550518036, -0.4457147717475891, 0.8796696066856384, -0.1255195438861847, -0.9013367891311646, 0.7669206261634827, -0.37880170345306396, 0.06444872170686722, 0.263658344745636, -0.3587440848350525, -0.4806687831878662, -0.6682672500610352, -0.7722894549369812, -0.7184554934501648, 0.8811608552932739, 0.45164045691490173, -0.019534526392817497, -0.24882586300373077, 0.14713448286056519, 0.23144571483135223, 0.40710383653640747, -0.5801773071289062, 0.12876681983470917, -0.7070772051811218, -0.6388298273086548, 0.010936720296740532, -0.0010284450836479664, -0.1994982808828354, -0.09879894554615021, 0.6269693970680237, -0.3781543970108032, 0.14896835386753082, -0.12634141743183136, -0.3451913595199585, -0.41248399019241333, 0.3791200518608093, 0.40035757422447205, 0.47672730684280396, -0.22462384402751923, 0.17207549512386322, -0.26888617873191833, -0.37291961908340454, 0.022536462172865868, -0.03637034818530083, -0.6546636819839478, 0.06594745814800262, 0.1960766613483429, 0.18245241045951843, -0.19905422627925873, -1.0121097564697266, 0.6124925017356873, -0.052273236215114594, -0.12015371769666672, -0.5271666646003723, 0.7210875153541565, -0.10402590036392212, 0.32264965772628784, 0.08907713741064072, 0.14269281923770905, 0.10399402678012848, -0.340780109167099, 0.3540785014629364, 0.31472107768058777, 0.38183778524398804, -0.22123368084430695, 0.7525778412818909, 0.2311902642250061, -0.29765403270721436, 0.9433386325836182, -0.4729496240615845, 0.036656420677900314, 0.7889904379844666, 0.9113366603851318, 0.8126543164253235, 0.18991532921791077, 0.12844692170619965, 0.39866989850997925, 0.30963829159736633, 0.15210086107254028, 0.5288697481155396, -0.2681828439235687, -0.3875249922275543, -0.2584037780761719, -0.917813777923584, -0.347880482673645, 0.2291693091392517, -0.29325512051582336, 0.14071542024612427, -0.6188819408416748, 0.03393755480647087, -0.30323395133018494, 0.13709308207035065, -0.5263315439224243, 0.26632365584373474, 0.2760818898677826, 0.7538872957229614, -0.6974294781684875, 1.0596920251846313, 0.8451666831970215, -0.5617064833641052, -0.7456984519958496, -0.09769709408283234, 0.00412774458527565, -0.3990987241268158, 0.5639365315437317, 0.47398641705513, 0.25297459959983826, 0.11324457824230194, -0.7554454803466797, -0.7391735911369324, 0.8103739619255066, 0.5152909159660339, 0.012705168686807156, -0.11627794802188873, 0.09999612718820572, 0.38481083512306213, -0.45887717604637146, -0.0762307420372963, 0.7071170806884766, 0.2642771601676941, -0.22404225170612335, -0.5573070049285889, 0.20021462440490723, -0.6946920156478882, 0.1356966644525528, -0.1242639422416687, -0.44411543011665344, 1.1166315078735352, -0.3642069697380066, -0.18294137716293335, 0.4665048122406006, 0.5798799395561218, 0.5324790477752686, 0.47983843088150024, 0.05833346024155617, 0.4732500910758972, 0.6541858911514282, -0.22508540749549866, 0.9612680673599243, -0.5137540698051453, 0.3579561710357666, 1.1062270402908325, 0.061090148985385895, 0.5572409629821777, 0.5671901702880859, 0.16864469647407532, 0.5409786701202393, 0.46357595920562744, -0.2293751984834671, 0.4154711663722992, 0.24144840240478516, 0.0062240599654614925, -0.18670837581157684, 0.23781335353851318, -0.39080575108528137, 0.18640469014644623, 0.46445775032043457, -0.43499451875686646, -0.21664904057979584, -0.21887649595737457, -0.0008214613771997392, -0.1571130007505417, -0.27196457982063293, 0.4572487771511078, -0.06627096235752106, -0.7507389783859253, 0.8161312937736511, 0.2770904302597046, 0.6795890927314758, -0.5458605289459229, -0.11360947787761688, -0.5172159671783447, 0.536299467086792, -0.6941683292388916, -0.6112532019615173, 0.5137495994567871, 0.20845365524291992, -0.16468675434589386, -0.3146129548549652, 0.6348977088928223, -0.3581331670284271, -0.32066866755485535, -0.4378586411476135, 0.22569498419761658, 0.2931944727897644, 0.07156350463628769, -0.373080313205719, -0.06529898941516876, -0.07800772041082382, -0.4514405131340027, 0.22296088933944702, 0.7422353029251099, 0.010791698470711708, 0.5623915195465088, 0.7064533233642578, 0.3504170775413513, 0.36805135011672974, -0.22854289412498474, 0.7288188338279724, -0.5744432806968689, -0.7749070525169373, -0.6070094108581543, 0.32281938195228577, -0.026644650846719742, -0.2712302803993225, 0.8786211013793945, 0.8115993738174438, 1.1825119256973267, -0.3069761097431183, 1.149908185005188, -0.8158469200134277, -0.0725974291563034, -0.25833937525749207, 0.9550541639328003, -0.5048527121543884, 0.00352155021391809, -0.19261068105697632, -0.706572413444519, -0.39760416746139526, 0.9346282482147217, 0.08755306154489517, -0.2705139219760895, 0.5602421164512634, 0.9380268454551697, -0.25679492950439453, -0.223895862698555, -0.007906465791165829, -0.0018048916244879365, 0.4444018304347992, 0.7465206384658813, 0.6650696396827698, -0.17941835522651672, 0.8864899277687073, -0.6375908851623535, -0.1936468482017517, -0.4590851962566376, -1.019669532775879, -0.7870143055915833, -0.1990172415971756, -0.2544202208518982, -0.5917496681213379, -0.18452326953411102, 1.2580779790878296, 0.5816136598587036, -0.9048869013786316, -0.4394277036190033, -0.4519653022289276, 0.3284277021884918, -0.5271889567375183, -0.2883566915988922, 0.2610521912574768, -0.8388777375221252, -0.6997476816177368, 0.5171622037887573, 0.0443943552672863, -0.19926628470420837, 0.06826744228601456, -0.3507975935935974, 0.280147522687912, -0.15725091099739075, 0.6264797449111938, 0.6058757305145264, -0.24154196679592133, -0.36310437321662903, -0.2189423143863678, -0.35283029079437256, -0.1360471248626709, 1.0395437479019165, -0.9090738892555237, 0.14324751496315002, 0.836721658706665, 0.3750074803829193, -0.11662188172340393, -0.1201782375574112, 0.5428777933120728, -1.1929996013641357, 0.33854395151138306, 0.026371680200099945, 0.4979139566421509, 0.2009068876504898, -0.35788044333457947, 0.5342723727226257, 0.5000354051589966, -0.5523537993431091, -0.9834533929824829, 0.17072930932044983, -0.6986940503120422, -0.2755684554576874, 1.348850965499878, -0.028747573494911194, -0.3050001263618469, 0.20118869841098785, -0.27959680557250977, 0.3795206844806671, -0.5754024386405945, 0.7194125056266785, 0.2534742057323456, -0.35989275574684143, 0.3305237293243408, -0.1955975741147995, 0.5304219126701355, -0.11657030135393143, -0.5343521237373352, 0.37861448526382446, 0.9594506025314331, 0.649372935295105, 0.11139480769634247, 0.6654409766197205, 0.15809266269207, 0.46111375093460083, 0.3320873975753784, 0.17439799010753632, -0.5546102523803711, -0.42630383372306824, -0.30491337180137634, 0.5222489237785339, -0.10948216915130615, -0.0337698794901371 ]
http://arxiv.org/abs/2403.06487v3
http://arxiv.org/pdf/2403.06487v3
Multilingual Turn-taking Prediction Using Voice Activity Projection
2024-03-11T07:50:29
2024-03-14T23:59:59
Koji Inoue, Bing'er Jiang, Erik Ekstedt, Tatsuya Kawahara, Gabriel Skantze
cs.CL
cs.CL, cs.SD, eess.AS
This paper investigates the application of voice activity projection (VAP), a predictive turn-taking model for spoken dialogue, on multilingual data, encompassing English, Mandarin, and Japanese. The VAP model continuously predicts the upcoming voice activities of participants in dyadic dialogue, leveraging a cross-attention Transformer to capture the dynamic interplay between participants. The results show that a monolingual VAP model trained on one language does not make good predictions when applied to other languages. However, a multilingual model, trained on all three languages, demonstrates predictive performance on par with monolingual models across all languages. Further analyses show that the multilingual model has learned to discern the language of the input signal. We also analyze the sensitivity to pitch, a prosodic cue that is thought to be important for turn-taking. Finally, we compare two different audio encoders, contrastive predictive coding (CPC) pre-trained on English, with a recent model based on multilingual wav2vec 2.0 (MMS).
[ -0.41910499334335327, -0.38109061121940613, 0.5964144468307495, 0.48612773418426514, -0.03872010111808777, 0.033529117703437805, -0.08437909930944443, -0.40959280729293823, 0.36137765645980835, 0.6542447805404663, -0.6286517381668091, -0.3133305311203003, -0.49801042675971985, -0.1122363954782486, -0.29820895195007324, 0.5481448769569397, 0.18711529672145844, 0.5735032558441162, -0.18337686359882355, 0.030463807284832, -0.5462294816970825, -0.725590169429779, -0.6494241952896118, -0.5074895620346069, 0.28810223937034607, 0.3316647410392761, 0.47963112592697144, -0.05280998721718788, 0.18818777799606323, 0.28173816204071045, -0.0874539464712143, 0.011399820446968079, -0.10793838649988174, 0.18718986213207245, 0.16002540290355682, -0.6060506701469421, -0.44470155239105225, -0.0342247448861599, 0.7206777930259705, 0.5909075140953064, -0.43496254086494446, -0.05659911409020424, -0.021516447886824608, 0.4321701228618622, -0.37941375374794006, 0.4963819682598114, -0.4981214106082916, 0.18743634223937988, 0.017733952030539513, -0.36344048380851746, -0.4552103877067566, -0.03895542025566101, 0.1957402527332306, -0.4629948139190674, 0.20449385046958923, -0.21674340963363647, 0.2679600417613983, 0.15662896633148193, -0.28559646010398865, -0.27187579870224, -1.0288811922073364, 0.6146376729011536, -0.7119649052619934, 0.5411490797996521, 0.5004937052726746, 0.43510693311691284, 0.06802500039339066, -0.5127103924751282, -0.8108208179473877, -0.14378002285957336, 0.035619597882032394, 0.3926105201244354, 0.04108738526701927, 0.0868607833981514, 0.24059130251407623, 0.28300660848617554, -0.45856523513793945, 0.013289236463606358, -0.3620586693286896, 0.05480698496103287, 0.5497550368309021, 0.046761054545640945, 0.27011170983314514, -0.21836256980895996, -0.2549479901790619, -0.05661803483963013, -0.5560628771781921, 0.3887189030647278, 0.32620692253112793, 0.4653966426849365, -0.4456377327442169, 0.4877478778362274, -0.05781157687306404, 0.41346460580825806, 0.17852698266506195, -0.3929242789745331, 0.26805293560028076, -0.3471216559410095, -0.11773517727851868, 0.3916449546813965, 0.8305597901344299, 0.3549710512161255, 0.2684023976325989, 0.2951558530330658, 0.17747634649276733, -0.10481931269168854, 0.28143593668937683, -0.5347453951835632, 0.027174193412065506, 0.33291158080101013, -0.3361150324344635, -0.02236100658774376, 0.08800676465034485, -0.8350061774253845, -0.22722823917865753, -0.3699035048484802, -0.0568489208817482, -0.35096460580825806, -0.5388799905776978, 0.17471803724765778, 0.19397146999835968, 0.23577217757701874, 0.2021559327840805, -0.9434418678283691, 0.30324211716651917, 0.6508179903030396, 0.9558709859848022, -0.24895566701889038, -0.5532836318016052, -0.5924168229103088, 0.12046045809984207, -0.22652022540569305, 0.49430784583091736, -0.512015700340271, -0.6034886837005615, 0.42481711506843567, 0.22907720506191254, -0.21188487112522125, -0.3641261160373688, 0.46075576543807983, -0.09542371332645416, 0.3888415992259979, 0.021555859595537186, -0.07052002847194672, -0.38848230242729187, 0.11494604498147964, -1.013009786605835, 0.7202352285385132, -0.034867413341999054, -0.5806996822357178, 0.21728995442390442, -0.48284268379211426, -0.5429162979125977, -0.08381738513708115, -0.3138228952884674, -0.522939920425415, 0.062378063797950745, 0.24664580821990967, 0.4299876093864441, -0.05246882885694504, 0.29715508222579956, -0.013876245357096195, -0.20291994512081146, 0.48240673542022705, -0.6272522211074829, 0.5699439644813538, -0.13561494648456573, -0.26708459854125977, 0.15348681807518005, -0.6543044447898865, -0.14027348160743713, 0.04854794964194298, -0.14589466154575348, 0.04662083834409714, 0.29896512627601624, 0.06276028603315353, 0.717923104763031, -0.01804482378065586, -0.6812337040901184, 0.05664557218551636, -0.4131941795349121, 0.1327122151851654, 0.37440818548202515, -0.05895475670695305, 0.2537975013256073, -0.05353669822216034, 1.0091122388839722, 0.10049489140510559, 0.12218153476715088, -0.47718724608421326, -0.7301400899887085, -0.8384711146354675, 0.07109633833169937, 0.10028361529111862, 0.6942613124847412, -0.924868106842041, -0.18267935514450073, -0.18751883506774902, -0.5089297890663147, -0.8094238638877869, -0.3774424195289612, 0.6071544289588928, 0.09097006916999817, 0.41588786244392395, -0.20517006516456604, -0.5889689922332764, -0.7900925874710083, -0.01872759684920311, -0.5163381695747375, -0.05160507559776306, 0.24103008210659027, -0.07636352628469467, 0.1720479428768158, 0.17220641672611237, -0.36363157629966736, -0.2898823022842407, -0.7316941618919373, 0.29131439328193665, 0.2511172294616699, 0.31238171458244324, 0.39368441700935364, -1.0639097690582275, -0.8056018352508545, 0.18798142671585083, -0.30607685446739197, -0.006481921300292015, -0.3747977018356323, 0.14084996283054352, 0.10766158998012543, 0.49325212836265564, -0.5328709483146667, 0.3876018822193146, 1.0672211647033691, -0.14817163348197937, 0.5260519981384277, -0.09142894297838211, 0.3336959779262543, -1.1040904521942139, -0.1846500039100647, 0.09224938601255417, -0.17685212194919586, -1.049617886543274, -0.493517130613327, -0.1296042650938034, -0.2660661041736603, -0.7931959629058838, 0.30073922872543335, -0.36301055550575256, -0.19549527764320374, -0.25625374913215637, -0.1313047558069229, -0.17741908133029938, 0.668265700340271, 0.7073023319244385, 0.7634153366088867, 0.4615239202976227, -0.593934953212738, 0.16597265005111694, 0.18444888293743134, -0.5269903540611267, 0.18478111922740936, -0.46175700426101685, 0.11117684841156006, 0.001146588590927422, 0.030683310702443123, -0.9726795554161072, -0.0700388178229332, -0.2021845281124115, -0.7331213355064392, 0.6970146894454956, -0.22947798669338226, 0.044651057571172714, -0.3003145456314087, 0.002911147428676486, 0.4373149573802948, 0.2889460623264313, -0.45996618270874023, 0.6307246088981628, 0.5705708861351013, -0.5966829061508179, -0.5533572435379028, -0.5534300804138184, -0.23405931890010834, -0.11692158877849579, -0.18563248217105865, 0.5188248753547668, 0.03400619700551033, 0.027259347960352898, -0.6843237280845642, 0.17031961679458618, -0.05270632356405258, -0.3582911193370819, 0.4281901717185974, 0.30297863483428955, 0.09328432381153107, -0.23267987370491028, -0.13793863356113434, -0.3359196186065674, 0.22939521074295044, 0.16843968629837036, 0.8215417265892029, 0.07516726106405258, -0.5608507394790649, -0.32329651713371277, 0.7113626599311829, 0.8360074758529663, -0.24574053287506104, 0.29908040165901184, 0.6342512369155884, -0.21970759332180023, 0.276424765586853, -0.3664206266403198, 0.13537563383579254, -0.3722241222858429, 0.6633448600769043, -0.40058374404907227, -0.5005062818527222, 0.40627095103263855, 0.02228632941842079, -0.037944987416267395, 0.1743149310350418, 0.901647686958313, 0.04554238170385361, 1.6321756839752197, 0.7871459126472473, -0.01828821189701557, 0.7021389603614807, -0.14802372455596924, 0.32224151492118835, -0.940305233001709, -0.4512347877025604, -0.4294285476207733, 0.016815155744552612, -1.04831063747406, -0.8042609095573425, 0.5737659931182861, -0.23479755222797394, 0.2955479025840759, 0.2635945975780487, -0.33022448420524597, 0.1310870498418808, 0.5519942045211792, -0.46694374084472656, 0.11281193792819977, -0.13317300379276276, -0.026954034343361855, -0.3410138487815857, -0.7258841395378113, -0.33982712030410767, 0.9280560612678528, 0.33510255813598633, 0.4149561822414398, 0.08426449447870255, 0.3754560053348541, -0.11807406693696976, 0.055176910012960434, -0.7751733660697937, 0.369098424911499, -0.10793591290712357, -0.48279449343681335, -0.31875577569007874, 0.07193931937217712, -0.8592480421066284, 0.4382622539997101, -0.1301615983247757, -0.5577743053436279, 0.23379404842853546, 0.014332244172692299, -0.1745082139968872, 0.21775193512439728, -0.4466345012187958, 0.4860723316669464, -0.44055670499801636, -0.20256859064102173, -0.3658251166343689, -0.3408770263195038, 0.08331651240587234, 0.20212015509605408, 0.38812872767448425, -0.1365983933210373, 0.3082273006439209, 0.6138368248939514, 0.23364484310150146, 0.7956996560096741, -0.4413372278213501, -0.049587711691856384, 0.3407340347766876, 0.08470947295427322, 0.20319993793964386, 0.24861188232898712, -0.04533262923359871, 0.4534217417240143, 0.09654819220304489, -0.14870457351207733, -0.40677401423454285, 0.4645634889602661, -0.6389198303222656, -0.5178711414337158, -0.5448794364929199, -0.1239984855055809, -0.3336499333381653, 0.05784676969051361, 0.5211800932884216, 0.15746073424816132, -0.7300753593444824, -0.025739172473549843, 0.3033129572868347, -0.18513482809066772, 0.5655200481414795, 0.7481884360313416, -0.537079393863678, -0.34868085384368896, 0.9565840363502502, 0.2051428109407425, 0.3921634256839752, 0.647298276424408, 0.0618661493062973, -0.14101335406303406, -0.45303359627723694, -0.39658015966415405, 0.1935269683599472, -0.3540344834327698, 0.07278169691562653, -0.4486013948917389, -0.29752007126808167, -0.4569588899612427, 0.01887686178088188, -0.6925856471061707, -0.37384307384490967, 0.15734532475471497, -0.16374953091144562, -0.37478333711624146, 0.5249273777008057, 0.07568122446537018, 0.1642865389585495, -0.5285378098487854, 0.36547333002090454, 0.26437053084373474, 0.08474650979042053, -0.2715331017971039, -0.4088228940963745, -0.55796217918396, 0.0620729885995388, -0.36506980657577515, -0.8465116620063782, 0.917496919631958, 0.20608334243297577, 0.6420366168022156, 0.22101521492004395, -0.23643483221530914, 0.32580363750457764, -0.6472256779670715, 1.0990116596221924, 0.5215849280357361, -0.7881988883018494, 0.5987040400505066, -0.23395289480686188, 0.638049304485321, 0.33920443058013916, 0.6145615577697754, -0.974699079990387, -0.3164418637752533, -0.6008005738258362, -0.6537269949913025, 0.7207984924316406, 0.009272937662899494, -0.01636582985520363, 0.07302672415971756, -0.05730666220188141, 0.41351836919784546, 0.41809478402137756, -0.7890341877937317, -0.17996621131896973, -0.46145978569984436, 0.08886570483446121, -0.46808573603630066, -0.23582720756530762, 0.2003510594367981, -0.30873921513557434, 0.5984595417976379, -0.3858749568462372, 0.6860822439193726, 0.09384260326623917, 0.31476178765296936, -0.22221004962921143, 0.30178576707839966, 0.7403883934020996, 0.43744176626205444, -0.17513751983642578, -0.08333653956651688, 0.12341135740280151, -0.544800877571106, 0.035900868475437164, -0.10781926661729813, -0.1360020786523819, 0.3707781136035919, 0.6254869103431702, 1.2570374011993408, 0.191635400056839, -0.586519181728363, 0.4305800199508667, -0.2168339341878891, -0.06197703629732132, -0.9167231917381287, -0.1526551991701126, 0.12867999076843262, 0.08920024335384369, 0.02604413963854313, -0.22601088881492615, 0.3530024290084839, -0.6541082262992859, -0.29236000776290894, 0.17654849588871002, -0.7350630760192871, -0.7098597288131714, 0.42006441950798035, 0.242012158036232, -0.5316479206085205, 0.38065382838249207, 0.04158546030521393, -0.8763070702552795, 0.6597890853881836, 0.5722195506095886, 1.1457798480987549, -0.9358955025672913, 0.1657096892595291, 0.6484969258308411, 0.0293726846575737, 0.2746942937374115, 0.5126165747642517, -0.12445729225873947, -0.7968237400054932, -0.6122192740440369, -0.40485671162605286, -0.7507230639457703, 0.30757325887680054, -0.947911262512207, 0.42180323600769043, -0.11238628625869751, -0.2613034248352051, 0.16024178266525269, -0.12848159670829773, -0.7195389270782471, 0.18269123136997223, 0.7997896671295166, 0.38386985659599304, -0.9266510009765625, 1.0879024267196655, 0.7767916321754456, -0.21072502434253693, -0.3730553686618805, 0.18291670083999634, 0.10061705112457275, -0.7287775874137878, 0.3658362030982971, 0.3503056764602661, -0.26178574562072754, -0.39314964413642883, -0.048632100224494934, -0.9423834681510925, 0.8412721753120422, 0.06918484717607498, -0.6687655448913574, -0.162787064909935, 0.4119006395339966, 0.5321632027626038, -0.6840013265609741, 0.3965446352958679, 0.6425378322601318, 0.416288286447525, -0.05162123590707779, -1.297184944152832, -0.5371460318565369, -0.3744988739490509, -0.06788320094347, 0.10595843940973282, -0.7212788462638855, 0.9916984438896179, -0.2216958999633789, -0.16390883922576904, -0.26325491070747375, 0.5989386439323425, 0.15254950523376465, 0.3628228008747101, 0.4771624505519867, -0.09207969903945923, 0.31644055247306824, -0.11190976202487946, 0.9787103533744812, -0.41232728958129883, 0.0090360501781106, 1.2062032222747803, -0.3651789128780365, 1.161585807800293, 0.6717464923858643, -0.4383985996246338, 0.5791678428649902, 0.25538134574890137, 0.4687773883342743, 0.7183317542076111, -0.2923940420150757, -0.26405540108680725, -0.222264364361763, -0.14435915648937225, -0.13997428119182587, 1.0852246284484863, 0.5980085134506226, -0.30959850549697876, 0.5480562448501587, 0.2670624554157257, -0.10362682491540909, 0.017504645511507988, -0.22366207838058472, 0.9994044899940491, 0.07430142909288406, -1.285814881324768, 0.48471933603286743, -0.0203829538077116, 0.5440598726272583, -0.5448746085166931, -0.2039344161748886, 0.088424913585186, 0.176631897687912, -0.0314052477478981, -0.8357848525047302, 0.23560427129268646, -0.29618868231773376, -0.28423622250556946, -0.3181400001049042, 0.41925954818725586, -0.8110585808753967, -0.5029983520507812, 0.7441138029098511, 0.4271807372570038, 0.10493819415569305, -0.041888006031513214, -0.7124999165534973, -0.11609456688165665, 0.40078848600387573, -0.33552172780036926, 0.4291726052761078, 0.20518897473812103, 0.09131228178739548, 0.5433393120765686, 0.49432969093322754, 0.39296069741249084, 0.053866732865571976, 0.482363760471344, 0.4985630214214325, -0.5511436462402344, -0.7884436249732971, -0.41126713156700134, 0.5327677726745605, -0.04264310747385025, -0.2431769073009491, 0.4758923053741455, 0.4864560663700104, 1.0483462810516357, -0.06134479492902756, 1.0004743337631226, 0.2620869278907776, 0.8616144061088562, -0.7436792254447937, 0.1137009933590889, -0.31169044971466064, -0.002781013259664178, -0.20283852517604828, -0.8578580617904663, 0.29826924204826355, 0.660493016242981, -0.1841985136270523, 0.09900318831205368, 0.7680391669273376, 0.49271827936172485, 0.14518877863883972, 0.04671521112322807, 0.5428841710090637, -0.07279115170240402, 0.4939076006412506, 0.672130286693573, 0.6179797053337097, -0.2447284311056137, 0.22171051800251007, -0.7248514890670776, -0.124514639377594, -0.37263768911361694, -0.614687979221344, -0.7410407662391663, -1.0057584047317505, -0.20249180495738983, -0.26068392395973206, -0.32640257477760315, 0.6552829146385193, 0.7448486089706421, -0.9262263178825378, -0.652978241443634, 0.1418345868587494, -0.07603337615728378, -0.6004171967506409, -0.19100242853164673, 0.08713904768228531, 0.038901202380657196, -1.2654427289962769, 0.799088180065155, 0.35182327032089233, 0.07378940284252167, -0.6726818680763245, -0.29510244727134705, -0.3609539568424225, 0.1026894822716713, 0.6817846894264221, 0.42358145117759705, -0.8742582201957703, -0.08551008999347687, 0.0643734261393547, 0.13479627668857574, 0.20460866391658783, 1.212927222251892, -0.5213115215301514, 0.833507239818573, 0.42553097009658813, -0.1347217559814453, 1.0032895803451538, -0.0458894744515419, 0.9831621646881104, -0.7305745482444763, 0.6000493764877319, 0.4514912962913513, 0.45291125774383545, 0.5169107913970947, -0.33228278160095215, 0.3185483515262604, -0.18475978076457977, -0.42027562856674194, -0.6129717230796814, 0.3219287395477295, -0.8722608089447021, -0.08967290818691254, 1.1727007627487183, -0.1771123856306076, -0.05621681362390518, -0.248641699552536, -0.45737558603286743, 0.43002212047576904, -0.3499186635017395, 0.5095570087432861, 0.9200902581214905, -0.3526241183280945, -0.3598361611366272, -0.9652066230773926, 0.7264149188995361, 0.5666106939315796, -0.43331179022789, 0.24571309983730316, 0.20124638080596924, -0.32636669278144836, 0.5562918782234192, 0.7810925245285034, -0.11637582629919052, 0.42255085706710815, 0.10925079882144928, 0.3246408700942993, 0.10328256338834763, -0.6492945551872253, -0.48832786083221436, 0.10071352124214172, 0.15261802077293396, -0.15967479348182678 ]
http://arxiv.org/abs/2403.06485v1
http://arxiv.org/pdf/2403.06485v1
Knowledge-aware Alert Aggregation in Large-scale Cloud Systems: a Hybrid Approach
2024-03-11T07:48:35
2024-03-11T07:48:35
Jinxi Kuang, Jinyang Liu, Junjie Huang, Renyi Zhong, Jiazhen Gu, Lan Yu, Rui Tan, Zengyin Yang, Michael R. Lyu
cs.SE
cs.SE, cs.CL, cs.LG
Due to the scale and complexity of cloud systems, a system failure would trigger an "alert storm", i.e., massive correlated alerts. Although these alerts can be traced back to a few root causes, the overwhelming number makes it infeasible for manual handling. Alert aggregation is thus critical to help engineers concentrate on the root cause and facilitate failure resolution. Existing methods typically utilize semantic similarity-based methods or statistical methods to aggregate alerts. However, semantic similarity-based methods overlook the causal rationale of alerts, while statistical methods can hardly handle infrequent alerts. To tackle these limitations, we introduce leveraging external knowledge, i.e., Standard Operation Procedure (SOP) of alerts as a supplement. We propose COLA, a novel hybrid approach based on correlation mining and LLM (Large Language Model) reasoning for online alert aggregation. The correlation mining module effectively captures the temporal and spatial relations between alerts, measuring their correlations in an efficient manner. Subsequently, only uncertain pairs with low confidence are forwarded to the LLM reasoning module for detailed analysis. This hybrid design harnesses both statistical evidence for frequent alerts and the reasoning capabilities of computationally intensive LLMs, ensuring the overall efficiency of COLA in handling large volumes of alerts in practical scenarios. We evaluate COLA on three datasets collected from the production environment of a large-scale cloud platform. The experimental results show COLA achieves F1-scores from 0.901 to 0.930, outperforming state-of-the-art methods and achieving comparable efficiency. We also share our experience in deploying COLA in our real-world cloud system, Cloud X.
[ -0.30775290727615356, -0.8779290914535522, 0.6018036007881165, 0.6016757488250732, -0.04143582284450531, 0.18391896784305573, -0.09394931048154831, -0.7532029747962952, 0.5752668380737305, 0.2933906316757202, -0.4595964550971985, -0.44082269072532654, -0.3299228250980377, -0.1350126415491104, -0.7476216554641724, 0.8187061548233032, 0.3157413601875305, -0.2607281506061554, -0.5165190100669861, 0.20126478374004364, -0.6971474289894104, -0.7957104444503784, -0.6100908517837524, -0.15143083035945892, 0.032802339643239975, 0.29896798729896545, 0.7846705317497253, 0.16719581186771393, 0.657787561416626, 0.3217179477214813, -0.06324359029531479, 0.36071011424064636, -0.5307066440582275, 0.029117975383996964, 0.136098250746727, -0.5260201096534729, -0.3201912045478821, -0.5206748843193054, 0.38993293046951294, 0.5690637230873108, -0.37811532616615295, -0.22342531383037567, -0.001035241293720901, 0.43401676416397095, -1.0033174753189087, 0.1995777189731598, -0.7646719217300415, 0.0049424488097429276, 0.10300907492637634, -0.2099589854478836, -0.27799174189567566, -0.06348516047000885, 0.0917191207408905, -0.7108321189880371, 0.013101964257657528, 0.22778531908988953, 0.3815421760082245, 0.21218341588974, -0.313264936208725, -0.36254364252090454, -0.7470675110816956, 1.0702892541885376, -0.22067034244537354, 0.3565394878387451, 0.2620668113231659, 0.43655627965927124, -0.3332778513431549, -0.5003284811973572, -0.32126834988594055, 0.1944841742515564, -0.09978996962308884, 0.4390661418437958, -0.1594027727842331, -0.24339675903320312, -0.1613832265138626, 0.3873743414878845, -0.37952283024787903, 0.3781959116458893, -0.0019693844951689243, -0.40658941864967346, 0.7159296870231628, 0.3884383738040924, 0.12296202778816223, 0.052388519048690796, -0.9565058946609497, 0.08637015521526337, -0.6795192360877991, -0.044717978686094284, 0.025022845715284348, 0.3888084292411804, -0.415081650018692, 0.2197473794221878, -0.15557335317134857, 0.6135774254798889, 0.02701476961374283, -0.34117257595062256, 0.06860539317131042, -0.5203535556793213, -0.4331667721271515, 0.3663724660873413, 0.989764928817749, 0.44263678789138794, -0.2165602147579193, -0.40675872564315796, -0.28725767135620117, 0.24791164696216583, 0.11674213409423828, -0.41309306025505066, 0.01684051938354969, 0.5861361622810364, -0.2557992935180664, -0.27140533924102783, -0.024511808529496193, -0.9924416542053223, -0.8010335564613342, -0.26782312989234924, 0.4099860191345215, -0.5295608639717102, -0.26850664615631104, 0.028475988656282425, -0.23107050359249115, -0.12976545095443726, 0.3156886696815491, -0.5078431367874146, 0.32770687341690063, 1.098313570022583, 0.8208959102630615, -0.08119409531354904, -0.22719763219356537, -0.6059990525245667, 0.031175751239061356, -0.384049654006958, 0.897279679775238, -0.2577308714389801, -0.4918223023414612, 0.20803506672382355, -0.6031745672225952, -0.08139060437679291, -0.7143747210502625, 0.6473222374916077, -0.8259077072143555, -0.04866806045174599, 0.02828185074031353, -0.46537330746650696, -0.09587372839450836, 0.14767669141292572, -0.2552001178264618, 1.0061506032943726, -0.050304725766181946, -0.6419389843940735, 0.39869457483291626, -0.3934888541698456, -0.5249553918838501, 0.18773256242275238, -0.30134040117263794, -0.2672644257545471, 0.043768107891082764, 0.27893325686454773, 0.3569791615009308, -0.9958672523498535, 0.4794406592845917, -0.49162474274635315, 0.0644397959113121, 0.07839703559875488, 0.21365013718605042, 0.8980650305747986, 0.4962860941886902, -0.08957511186599731, 0.08257999271154404, -0.7343959212303162, 0.08192066103219986, 0.13105551898479462, 0.24155375361442566, -0.6675018668174744, 0.0024152384139597416, -0.11384333670139313, -0.005984804593026638, 0.44179266691207886, -0.3314148187637329, -0.14716222882270813, 0.13224953413009644, 0.1435261219739914, 0.6286851763725281, 0.24470184743404388, 0.3221862018108368, -0.4440074563026428, 0.32476991415023804, 0.206917867064476, 0.5037189722061157, -0.08781668543815613, -0.39852550625801086, -0.7035159468650818, -0.6371937394142151, -0.2514990568161011, 0.787280797958374, -0.556481659412384, 1.0885568857192993, -0.4145984351634979, -0.6655979156494141, -0.03679332137107849, 0.43700647354125977, 0.15267693996429443, 0.6727988123893738, 0.3752012550830841, 0.07943454384803772, -0.8513916730880737, -0.8834959268569946, -0.06355652958154678, -0.11156480759382248, -0.08285597711801529, 0.18497644364833832, 0.2270982712507248, -0.4709821939468384, 1.110940933227539, -0.6814745664596558, -0.4966341555118561, -0.0486888661980629, 0.18815217912197113, 0.31098735332489014, 0.16594205796718597, 0.6757586598396301, -0.8732239007949829, -0.18549898266792297, -0.008879883214831352, -0.97817063331604, -0.08337008208036423, -0.2751351594924927, -0.054191749542951584, -0.23157474398612976, 0.49219048023223877, -0.45109063386917114, -0.02609853819012642, 0.5030401349067688, -0.34428784251213074, 0.6985048055648804, -0.12382229417562485, 0.10678596794605255, -0.9006337523460388, -0.3289926052093506, 0.04584665969014168, 0.10817697644233704, -0.5998334288597107, 0.14546845853328705, -0.15043067932128906, -0.24267719686031342, -0.292444109916687, -0.05798006057739258, -0.28021568059921265, -0.13449187576770782, -0.27229928970336914, -0.00918235257267952, -0.21621166169643402, 0.1976596862077713, -0.028807615861296654, 0.533149242401123, 1.0156368017196655, -0.9523218870162964, 0.7442344427108765, 0.027703233063220978, -0.5303426384925842, 0.6803958415985107, -0.36876076459884644, -0.06214025989174843, 0.01932837814092636, 0.34241941571235657, -0.7203953862190247, -0.12981317937374115, -0.2628677487373352, -0.15120235085487366, -0.20556265115737915, 0.2344786822795868, -0.7380120754241943, -0.15652874112129211, -0.21071979403495789, 0.17731353640556335, 0.5130511522293091, -0.7785388231277466, 0.9681867957115173, 0.65133136510849, 0.08176075667142868, -0.10164758563041687, -0.6997405290603638, 0.07017676532268524, -0.3823578655719757, -0.9558492302894592, 0.2191697061061859, 0.1356075257062912, -0.6436823606491089, -0.1049068421125412, -0.14809288084506989, -0.15331198275089264, 0.3081988990306854, 0.46251389384269714, 0.22374239563941956, -0.043338753283023834, 0.04094315692782402, -0.49044927954673767, -0.11951414495706558, 0.3198866844177246, -0.23774570226669312, 0.5878679752349854, -0.17458786070346832, -0.23890936374664307, -0.47709155082702637, 0.6169189214706421, 0.852463960647583, 0.05876082181930542, 1.0030879974365234, 0.12004711478948593, -0.518538773059845, -0.20139798521995544, -0.5556243658065796, -0.23491531610488892, -0.40199166536331177, 0.01729586347937584, -0.30578580498695374, -0.3804316520690918, 0.769472599029541, -0.28242138028144836, 0.07108623534440994, 0.5146793723106384, 0.4780235290527344, -0.15267139673233032, 0.8518424034118652, 0.5228114128112793, -0.4653548300266266, 0.61130291223526, -0.3620513379573822, 0.43761903047561646, -0.5076106786727905, -0.3616238534450531, -0.6444219946861267, 0.05678373947739601, -0.34003713726997375, -0.3484385907649994, 0.7148813009262085, 0.17564770579338074, -0.3249388337135315, 0.15719661116600037, -0.043922532349824905, -0.01591544598340988, 0.5146016478538513, 0.19324891269207, 0.36910417675971985, 0.09719444066286087, 0.16167007386684418, 0.4007398784160614, -0.8601841330528259, 0.16924302279949188, 0.6625282168388367, 0.007240054197609425, 0.6457192897796631, 0.266255259513855, 0.6484194993972778, 0.42670491337776184, 0.17156551778316498, -0.6751284599304199, 0.5553500652313232, 0.15376240015029907, -0.4994400143623352, -0.09826552867889404, -0.6696082949638367, -0.8313709497451782, 0.15699678659439087, -0.6173359751701355, -0.8604497313499451, 0.15474671125411987, 0.27793654799461365, -0.377652645111084, 0.09191344678401947, -1.1995543241500854, 0.31207340955734253, -0.5640837550163269, -0.3159455955028534, -0.5046179294586182, -0.40722256898880005, 0.5271115899085999, -0.3649010956287384, 0.8198176026344299, 0.25345900654792786, -0.040981706231832504, 0.6211736798286438, -0.9096139073371887, 0.991034209728241, 0.07047459483146667, -0.15455497801303864, 0.7970753908157349, 0.03241220861673355, 0.9161485433578491, -0.08774455636739731, -0.13737814128398895, 0.3767075538635254, -0.3666226267814636, -0.3277375102043152, -0.8405171632766724, 1.1038755178451538, -0.9608047604560852, -0.4480535686016083, -0.5794728398323059, -0.5281882882118225, -0.38548892736434937, 0.18404318392276764, 0.37334081530570984, 0.27101942896842957, 0.22009076178073883, 0.30685701966285706, 0.20906409621238708, 0.08583768457174301, 0.09977987408638, 0.49167150259017944, -0.24467402696609497, -0.5694960951805115, 0.7738043665885925, 0.08985716849565506, 0.4158712923526764, 0.6038541793823242, 0.5054097771644592, -0.38649481534957886, -0.3679214417934418, 0.24523980915546417, -0.023512210696935654, -0.6932801008224487, -0.3803302049636841, -0.6214207410812378, -0.18232692778110504, -0.47976234555244446, -0.40002894401550293, -0.3591406047344208, -0.02873421460390091, -0.11939097195863724, 0.0012096326099708676, 0.6713917851448059, 0.21332167088985443, 0.01878267712891102, 0.46830427646636963, -0.8752724528312683, 0.3533453345298767, 0.3944476246833801, 0.3969745934009552, 0.19309170544147491, -0.1129617691040039, -0.1680362969636917, 0.087642602622509, -0.12124663591384888, -0.7002607583999634, 0.18269318342208862, 0.04890843853354454, 0.5157179236412048, 0.6331437230110168, 0.5255603194236755, 0.8895304203033447, 0.12725745141506195, 0.6909396052360535, 0.6561421751976013, -0.8519750237464905, 0.6328381299972534, -0.3517451882362366, 0.06835509091615677, 0.35497286915779114, 0.353063702583313, -0.3668506145477295, -0.3472301959991455, -0.8650696873664856, -0.9439492225646973, 0.46182724833488464, 0.16224227845668793, -0.45231297612190247, 0.03895088657736778, -0.21429216861724854, -0.14739392697811127, 0.05276889726519585, -0.24927625060081482, -0.31660783290863037, 0.06861352175474167, -0.07555103302001953, -0.26671648025512695, -0.025251520797610283, -0.5205823183059692, 0.2058330774307251, 0.7118935585021973, -0.012678341940045357, 0.143136128783226, 0.056861765682697296, -0.1450267732143402, 0.07955002784729004, 0.20672300457954407, 0.2166242152452469, 0.5321938991546631, -0.34133782982826233, 0.275664359331131, 0.2883848547935486, -0.31607329845428467, -0.1064736470580101, -0.2084541767835617, -0.36564111709594727, -0.38175100088119507, 0.5557960271835327, 0.4179477393627167, 0.18857590854167938, -0.9273852705955505, 0.4200422465801239, 0.06570275872945786, -0.06503237783908844, -0.510819137096405, 0.08833704888820648, -0.04123814031481743, -0.006078985054045916, 0.43646377325057983, 0.11310407519340515, 0.2036833018064499, -0.7401448488235474, -0.10944084823131561, 0.5975486636161804, -0.1684534102678299, -0.12839996814727783, 0.30530938506126404, 0.41458097100257874, -0.1643492728471756, 0.4907096326351166, 0.0746094360947609, -0.5687733888626099, 0.9195250868797302, 0.8269990086555481, 0.7361430525779724, 0.11538565158843994, -0.18380261957645416, 0.1545426994562149, 0.2969415783882141, -0.034151967614889145, 0.24817124009132385, -0.06126038730144501, -0.9063950181007385, -0.26815858483314514, -0.38367390632629395, -0.4671911597251892, 0.28096306324005127, -0.3808676302433014, 0.40330201387405396, -0.6947284936904907, 0.00960087776184082, -0.013618014752864838, -0.188667893409729, -0.7397772669792175, 0.27551984786987305, 0.009464893490076065, 1.0508594512939453, -1.2178722620010376, 0.08515286445617676, 0.7785279750823975, -0.11631900072097778, -0.6901611685752869, -0.40439051389694214, 0.35289615392684937, -0.9636866450309753, 0.38183891773223877, -0.04774076119065285, -0.18024274706840515, -0.4498942792415619, -0.2116447240114212, -0.8146721720695496, 0.9751831293106079, 0.20943059027194977, -0.6228998899459839, 0.6184711456298828, -0.021419335156679153, 0.6592130661010742, -0.3903672993183136, 0.4397919476032257, 0.6001819372177124, 0.3378993272781372, 0.21444007754325867, -0.6876367926597595, 0.00001149707350123208, 0.05754406005144119, -0.29290831089019775, 0.4899277985095978, -0.9571429491043091, 0.43656522035598755, -0.2536672055721283, -0.30180686712265015, -0.41582557559013367, 0.7606982588768005, 0.2466154545545578, 0.6945178508758545, 0.9566140174865723, 0.6192988157272339, 0.855072557926178, 0.18608660995960236, 1.1743321418762207, -0.5334476232528687, 0.275594025850296, 1.0880745649337769, -0.37064599990844727, 0.6131523847579956, 0.437467098236084, -0.3185713589191437, 0.48209434747695923, 0.4620405435562134, 0.3706618845462799, 0.5478951334953308, -0.28508883714675903, -0.57087641954422, -0.6311525702476501, -0.48654496669769287, -0.4200383126735687, 0.3225909471511841, 0.539174497127533, -0.21577467024326324, -0.25032180547714233, -0.2409137487411499, -0.12808774411678314, 0.07692945748567581, -0.5243069529533386, 0.9462388157844543, 0.13548444211483002, -0.770203709602356, 0.5683705806732178, -0.3518275320529938, 0.556550145149231, -0.6895112991333008, 0.32112422585487366, 0.06817255914211273, 0.4138393700122833, -0.6255488991737366, -0.5467101335525513, 0.2982787489891052, 0.1331397444009781, -0.35953089594841003, -0.2587338387966156, 0.5482409596443176, 0.07741435617208481, -0.5481674075126648, 0.5609315633773804, 0.2723594009876251, -0.05644533410668373, -0.14432068169116974, -0.174752876162529, 0.07399342209100723, -0.148538276553154, 0.47552821040153503, 0.44082945585250854, 0.37445586919784546, -0.3197510540485382, 0.8790407180786133, 0.9174153804779053, 0.22988474369049072, -0.006177701987326145, 0.03852832689881325, 0.9102851152420044, -0.4225315451622009, -1.0539995431900024, -0.6669595241546631, 0.16803285479545593, -0.2912627160549164, -0.030348340049386024, 0.7605786919593811, 0.7969454526901245, 0.3147720396518707, -0.03522269427776337, 0.9993014931678772, -0.09394846856594086, 0.4143371284008026, -0.4982796609401703, 0.04616225138306618, -0.38689523935317993, 0.5838915109634399, -0.06730997562408447, -0.6367805600166321, -0.3221868574619293, 0.08012671023607254, -0.5779229402542114, -0.415321946144104, 0.6372528076171875, 0.821958601474762, 0.042223475873470306, 0.4385049641132355, -0.03430048003792763, 0.2712503969669342, 0.530737578868866, 0.5922417640686035, 0.9505661129951477, -0.2437591552734375, 0.8242276310920715, -0.3878876268863678, -0.6938803791999817, -0.5750677585601807, -1.0807057619094849, -0.3739304542541504, -0.36176207661628723, -0.39264923334121704, -0.32951468229293823, -0.19371885061264038, 0.8959513306617737, 0.6653140783309937, -0.8755165338516235, -0.12639789283275604, -0.38745516538619995, 0.43060001730918884, -0.6986053586006165, -0.2576011121273041, 0.3443194627761841, -0.4833698272705078, -0.1074867770075798, 0.35283002257347107, 0.19827717542648315, -0.1533409059047699, 0.007213145960122347, 0.11329234391450882, 0.014291130006313324, -0.09108548611402512, 0.6477287411689758, 0.22861887514591217, -0.2526666522026062, -0.23903575539588928, -0.10867593437433243, 0.015683533623814583, -0.17306865751743317, 0.8407777547836304, -0.7245622277259827, 0.47599369287490845, 0.8291314244270325, 0.7397172451019287, 0.22358760237693787, 0.13135339319705963, 0.4308701753616333, -0.6924010515213013, 0.36790594458580017, 0.16303643584251404, 0.6164543628692627, 0.2902941107749939, -0.7354300618171692, 0.18199604749679565, 0.35219985246658325, -0.42742618918418884, -0.6379084587097168, 0.2327767312526703, -1.1283433437347412, -0.12681889533996582, 1.1404755115509033, 0.09702663123607635, -0.1515243798494339, -0.18048076331615448, 0.05115940421819687, -0.14722830057144165, -0.5919961929321289, 1.0727860927581787, 0.46591541171073914, -0.4509620666503906, 0.15747901797294617, 0.011334477923810482, 0.07811141014099121, 0.3041900098323822, -1.1038398742675781, 0.08999965339899063, 0.5649648904800415, -0.015806905925273895, 0.7941992878913879, 0.32595688104629517, 0.14634336531162262, 0.26660677790641785, 0.3671010434627533, -0.12112873792648315, 0.0715637281537056, -0.4334559440612793, -0.09719768911600113, 0.47689497470855713, -0.24458974599838257, -0.39407551288604736 ]
http://arxiv.org/abs/2403.06448v2
http://arxiv.org/pdf/2403.06448v2
Unsupervised Real-Time Hallucination Detection based on the Internal States of Large Language Models
2024-03-11T05:51:03
2024-06-10T05:48:30
Weihang Su, Changyue Wang, Qingyao Ai, Yiran HU, Zhijing Wu, Yujia Zhou, Yiqun Liu
cs.CL
cs.CL, cs.AI
Hallucinations in large language models (LLMs) refer to the phenomenon of LLMs producing responses that are coherent yet factually inaccurate. This issue undermines the effectiveness of LLMs in practical applications, necessitating research into detecting and mitigating hallucinations of LLMs. Previous studies have mainly concentrated on post-processing techniques for hallucination detection, which tend to be computationally intensive and limited in effectiveness due to their separation from the LLM's inference process. To overcome these limitations, we introduce MIND, an unsupervised training framework that leverages the internal states of LLMs for real-time hallucination detection without requiring manual annotations. Additionally, we present HELM, a new benchmark for evaluating hallucination detection across multiple LLMs, featuring diverse LLM outputs and the internal states of LLMs during their inference process. Our experiments demonstrate that MIND outperforms existing state-of-the-art methods in hallucination detection.
[ -0.592473030090332, -0.850551426410675, 0.8313041925430298, 0.15878844261169434, -0.4184846878051758, 0.08678333461284637, -0.5877705216407776, -0.6814975738525391, 0.4299730360507965, 0.5044487714767456, -0.7898183465003967, -0.4945536255836487, -0.45275619626045227, 0.09788542985916138, -0.5343905687332153, 0.5054647326469421, 0.09041231870651245, 0.18986336886882782, -0.3023482859134674, 0.045826129615306854, -0.3617337644100189, -0.7380815148353577, -0.43596723675727844, -0.5201769471168518, 0.24495913088321686, 0.14323019981384277, 0.3212132751941681, 0.13898564875125885, 0.29478973150253296, 0.2090543508529663, 0.18029369413852692, 0.4943189024925232, -0.40587666630744934, 0.4418303072452545, 0.020316990092396736, -0.335489958524704, -0.2533953785896301, -0.18169517815113068, 0.4444715976715088, 0.5528072714805603, -0.24622614681720734, 0.0790996178984642, 0.03412525728344917, 0.5550171732902527, -0.8780247569084167, 0.10583676397800446, -0.7999380230903625, 0.3810965120792389, -0.1581827849149704, -0.2402338981628418, -0.5667457580566406, -0.18453112244606018, -0.04555604234337807, -0.34341853857040405, 0.2798750698566437, 0.16498692333698273, 0.4166397750377655, 0.583858072757721, 0.13409744203090668, -0.2324167788028717, -0.6752845644950867, 0.6412425637245178, -0.6068314909934998, 0.8454416990280151, 0.34699344635009766, 0.22834454476833344, -0.24925874173641205, -0.5902979969978333, -1.0685288906097412, -0.22607044875621796, -0.006301249843090773, 0.026001842692494392, -0.07774269580841064, 0.06317900121212006, 0.30148059129714966, 0.2671966850757599, -0.4973897337913513, 0.23549221456050873, 0.1604306846857071, -0.4572412371635437, 0.22438277304172516, 0.0527474470436573, 0.18323497474193573, -0.06806037575006485, -0.16109244525432587, -0.1733226329088211, -0.5101548433303833, -0.37117889523506165, 0.12550900876522064, 0.10525484383106232, 0.062490660697221756, 0.488271564245224, -0.15390737354755402, 0.5031150579452515, 0.0502488911151886, -0.20368030667304993, 0.3283107280731201, 0.32352307438850403, -0.38363757729530334, 0.3909618556499481, 0.7670860290527344, 0.3054986894130707, 0.48526841402053833, -0.7259260416030884, -0.35927873849868774, 0.5364834666252136, 0.4697943329811096, -0.7063711881637573, -0.21470992267131805, 0.4678637683391571, -0.29671621322631836, -0.2159828096628189, 0.014166721142828465, -0.7045052647590637, -0.8688815832138062, -0.34888333082199097, 0.4098185896873474, -0.30939069390296936, -0.595847487449646, 0.2837217450141907, 0.13910989463329315, 0.3540394902229309, 0.07051777094602585, -0.6481432318687439, 0.41773930191993713, 0.6706331372261047, 0.8936083912849426, -0.6352933645248413, -0.29709264636039734, -0.6304640173912048, 0.020410552620887756, -0.5427234768867493, 1.2551934719085693, -0.329875648021698, -0.1799079030752182, 0.006786366458982229, 0.13724537193775177, 0.14968805015087128, -0.8248913884162903, 0.4719531834125519, -0.40031084418296814, -0.1719822734594345, -0.2861839830875397, -0.6059412956237793, -0.2553452253341675, 0.1553821861743927, -0.4245113432407379, 0.941737174987793, -0.04162399843335152, -0.6681324243545532, 0.5168176889419556, -0.2950226366519928, -0.3500646650791168, 0.07660890370607376, -0.4434909522533417, -0.42223528027534485, 0.3748225271701813, 0.34809115529060364, 0.6675571203231812, -0.22459015250205994, 0.5897043347358704, -0.45182251930236816, -0.7788619995117188, 0.3878194987773895, -0.33587121963500977, 0.5095095038414001, -0.06113448739051819, -0.6030332446098328, 0.46651357412338257, -0.7220366597175598, -0.044752102345228195, 0.0953497663140297, 0.09863536059856415, -0.19419147074222565, 0.13549844920635223, 0.05027605965733528, -0.00621033227071166, -0.1430279165506363, -0.7061939835548401, 0.0895778015255928, -0.5261766314506531, 0.10961010307073593, 0.7102548480033875, -0.010634029284119606, 0.18382537364959717, -0.186885267496109, 0.18470324575901031, 0.1815933883190155, -0.0593239888548851, 0.25062793493270874, -0.22075699269771576, -0.9324086904525757, -0.4956277012825012, -0.2870546877384186, 0.4850713312625885, -0.49276259541511536, 0.706804096698761, -0.16970980167388916, -0.3543330729007721, -0.5740313529968262, -0.14935459196567535, 0.29756981134414673, 0.581302285194397, 0.48765847086906433, -0.22964826226234436, -0.7799960374832153, -0.8729422688484192, -0.34317901730537415, 0.014858233742415905, -0.2531469166278839, -0.03264794126152992, 0.5492430329322815, -0.5076786279678345, 0.837465763092041, -0.5504807233810425, -0.5940114259719849, -0.1852838546037674, 0.14528021216392517, 0.04320407658815384, 0.2147897630929947, 0.13486348092556, -0.49104973673820496, -0.09770826250314713, -0.2360212802886963, -1.2114334106445312, -0.2553316652774811, -0.13058097660541534, 0.055581431835889816, 0.3501609265804291, 0.6980916261672974, -0.6107798218727112, 0.41365811228752136, 0.3335217535495758, -0.14490386843681335, 0.8147285580635071, -0.06920452415943146, 0.13699260354042053, -0.8073251843452454, -0.15204016864299774, -0.1937871277332306, -0.11738408356904984, -0.4472179114818573, -0.02848171629011631, 0.12528595328330994, 0.19365951418876648, -0.3152875006198883, 0.5329763293266296, -0.6558887362480164, -0.460465669631958, -0.42945829033851624, 0.2376335710287094, -0.33375149965286255, 0.6398646235466003, 0.40298202633857727, 0.7588902115821838, 0.7618983387947083, -0.7015029788017273, 0.563531219959259, 0.07234010845422745, -0.7368547320365906, 0.6754008531570435, -0.24074293673038483, 0.29423198103904724, -0.24703095853328705, 0.3637993633747101, -0.8617630004882812, -0.3833906054496765, 0.41677188873291016, -0.17142939567565918, 0.10195855051279068, 0.18444451689720154, -0.6652606129646301, -0.2837595045566559, -0.32276347279548645, 0.22955965995788574, 0.3650566637516022, -0.7609691023826599, 0.493582546710968, 0.5909168124198914, 0.42106571793556213, -0.39841288328170776, -0.8515239357948303, 0.22412419319152832, -0.13698641955852509, -0.21799130737781525, 0.3535197675228119, -0.17466548085212708, -0.5223008990287781, -0.2035217583179474, -0.43571537733078003, -0.05316825583577156, -0.010702031664550304, 0.5163399577140808, 0.03239844739437103, -0.015517056919634342, 0.17236857116222382, -0.075384221971035, -0.036820538341999054, 0.2864254117012024, -0.42639705538749695, 0.793674647808075, 0.07241936773061752, -0.6358737945556641, -0.6871922612190247, 0.1508050262928009, 0.7051892876625061, -0.10232686251401901, 0.6831547617912292, 0.6178918480873108, -0.9138492941856384, -0.5763238668441772, -0.8364740014076233, -0.6786418557167053, -0.43531444668769836, 0.3440578579902649, -0.42415618896484375, -0.6135260462760925, 0.5233083963394165, 0.028725994750857353, -0.06377024948596954, 0.05633780360221863, 0.6417407393455505, 0.027404317632317543, 0.7951688766479492, 0.3076993525028229, -0.042113982141017914, 0.09614136070013046, -0.17524711787700653, 0.39586395025253296, -1.030488133430481, -0.5087510347366333, -0.04930683225393295, -0.268555223941803, -0.2785120904445648, -0.5435010194778442, 0.37980765104293823, -0.12718985974788666, -0.12756188213825226, 0.06298039108514786, -0.8200826644897461, 0.5171410441398621, 0.22849754989147186, 0.35633713006973267, 0.3691835105419159, 0.17708425223827362, -0.24788103997707367, -0.2686082422733307, -0.2897481322288513, -0.33723530173301697, 0.9701828360557556, 0.11186983436346054, 0.7849346995353699, -0.12172196805477142, 0.566810131072998, 0.553466260433197, 0.5059770345687866, -1.0023421049118042, 0.709452748298645, 0.05883361026644707, -0.36158934235572815, -0.4208565056324005, -0.1609710305929184, -0.5465983152389526, 0.5949111580848694, -0.3976091742515564, -0.8860592842102051, 0.0024704444222152233, -0.12909947335720062, -0.3236336410045624, 0.75831139087677, -0.26682716608047485, 0.6087378263473511, -0.21073667705059052, -0.29706740379333496, -0.334095299243927, -0.24177876114845276, 0.5713835954666138, -0.24731676280498505, 0.1519317328929901, -0.14618231356143951, 0.16183005273342133, 0.7599573135375977, -0.05795755609869957, 0.9477311372756958, -0.19931288063526154, -0.3880583643913269, 0.15838952362537384, 0.2351600080728531, 0.5053324699401855, 0.08163587749004364, 0.16715575754642487, 0.33424362540245056, -0.37807944416999817, 0.07545144855976105, -0.38211891055107117, 0.9493574500083923, -0.4708877503871918, -0.4986231327056885, -0.5553180575370789, -0.7552041411399841, -0.5575295090675354, 0.046954117715358734, 0.4787343144416809, 0.37146851420402527, -0.22002732753753662, 0.01835988089442253, 1.0221556425094604, -0.2593638598918915, 0.3406415581703186, 0.45804741978645325, -0.4326827824115753, -0.25559908151626587, 0.8605891466140747, 0.12421806156635284, -0.19868256151676178, 0.32271841168403625, 0.001234535127878189, -0.4519738554954529, -0.6028188467025757, -0.33180537819862366, 0.4587070941925049, -0.7205392718315125, -0.005375070031732321, -0.9782022833824158, -0.17646515369415283, -0.5039544701576233, 0.02043260633945465, -0.47636470198631287, 0.017004845663905144, -0.255244642496109, -0.13835041224956512, 0.21333527565002441, 0.7418689131736755, -0.0011911222245544195, 0.17067337036132812, -0.3906778395175934, 0.8646572828292847, 0.3635309636592865, 0.43065914511680603, 0.07432365417480469, -0.4769338071346283, -0.01632433757185936, -0.07935823500156403, -0.017288675531744957, -0.8758328557014465, 0.35052281618118286, -0.11185506731271744, 0.5611337423324585, 0.6480019688606262, 0.20404604077339172, 0.7626696825027466, -0.39146289229393005, 0.47159504890441895, 0.07550028711557388, -0.9457517266273499, 0.1878899484872818, 0.069066621363163, 0.23091347515583038, 0.307646244764328, 0.1558389961719513, -0.6162005662918091, -0.7021386027336121, -0.17577092349529266, -0.5672614574432373, 0.4578990340232849, -0.1386527568101883, -0.3190593123435974, -0.10470247268676758, 0.2243186980485916, 0.32164743542671204, 0.26353946328163147, -0.7655927538871765, -0.05934545770287514, 0.06528037786483765, -0.08022197335958481, -0.002143262652680278, -0.34672245383262634, 0.05863369256258011, -0.2657025456428528, 0.47686007618904114, -0.08036015927791595, 0.3936384618282318, 0.266003280878067, -0.585185170173645, -0.21548032760620117, -0.10008128732442856, 0.5621703267097473, 0.6699533462524414, -0.3818223178386688, 0.42951253056526184, 0.3980913758277893, -0.5450421571731567, 0.16125543415546417, -0.34448036551475525, -0.06334303319454193, 0.04631869122385979, 0.5474034547805786, 0.7422813177108765, 0.4149046242237091, -0.8545483946800232, 0.3833722174167633, -0.048946429044008255, -0.17630192637443542, -0.6979566812515259, 0.093533456325531, 0.09832550585269928, 0.35461369156837463, 0.41055506467819214, 0.01769717037677765, 0.12048696726560593, -0.46177929639816284, 0.4414835274219513, 0.6085459589958191, -0.4819980263710022, -0.2886010706424713, 0.7699959874153137, -0.14435812830924988, -0.25859561562538147, 0.6743279695510864, -0.09026677161455154, -0.5439826250076294, 0.4005734324455261, 0.636800229549408, 1.3056739568710327, -0.20883364975452423, -0.01032929215580225, 0.20827341079711914, 0.4910734295845032, -0.2567416727542877, 0.3812260329723358, -0.17768840491771698, -0.9999276995658875, -0.3308050036430359, -0.8264216184616089, -0.46731120347976685, 0.6785605549812317, -0.6684521436691284, 0.019857043400406837, -0.41430774331092834, -0.06305291503667831, -0.29815009236335754, -0.3639545142650604, -0.49840089678764343, 0.2169884890317917, 0.467061847448349, 0.6707057356834412, -0.6758875250816345, 0.8780269622802734, 0.39017418026924133, 0.0014178483979776502, -0.11685125529766083, 0.5327746868133545, 0.11843894422054291, -0.743384838104248, 0.4383077919483185, 0.5252343416213989, -0.7083505392074585, -0.03195382282137871, -0.5458382964134216, -0.40674448013305664, 0.7173713445663452, 0.4672616124153137, -0.6456688046455383, 0.10079582780599594, -0.06707055866718292, 0.41349107027053833, -0.323699951171875, -0.030493710190057755, 0.7234328389167786, 0.4832626283168793, -0.2533314526081085, -0.5801674127578735, 0.1491154134273529, 0.23413538932800293, -0.34404245018959045, 0.15384051203727722, -0.26641103625297546, 0.6415809988975525, -0.3065206706523895, -0.45500800013542175, -0.2496272474527359, 0.9209925532341003, 0.476655513048172, 0.21981991827487946, 0.7638875842094421, 0.7106755971908569, 0.9440196752548218, -0.07963510602712631, 0.720868706703186, -0.40913891792297363, 0.08281223475933075, 1.0328549146652222, -0.5209447145462036, 0.8040519952774048, 0.548504650592804, -0.04217234253883362, 0.36579808592796326, 0.6153450608253479, 0.1075245663523674, 0.5213531851768494, 0.4467609226703644, -0.39584365487098694, -0.5043469071388245, -0.0117636788636446, -0.26455193758010864, 0.3120003044605255, 0.5320882201194763, 0.17179453372955322, 0.012594782747328281, 0.3984659016132355, -0.004784471355378628, 0.06871312111616135, -0.1724807173013687, 0.696955144405365, 0.1355878710746765, -0.728481113910675, 0.859342634677887, -0.358929306268692, 1.0359495878219604, -0.43097564578056335, -0.1321733146905899, -0.30443161725997925, 0.336229532957077, -0.26075634360313416, -0.5881606340408325, 0.31296929717063904, 0.1291225254535675, -0.08167080581188202, -0.07966506481170654, 0.6394385695457458, -0.3532973825931549, -0.34699827432632446, 0.7418144345283508, 0.44897666573524475, 0.4944433867931366, -0.6363212466239929, -0.17541411519050598, 0.24180348217487335, -0.22213728725910187, -0.3106765151023865, 0.2531157433986664, 0.4404037296772003, -0.09140370786190033, 0.9341937899589539, 0.6558162569999695, 0.343485027551651, -0.07079105824232101, 0.3253178894519806, 0.7250357866287231, -0.6727981567382812, -0.41329750418663025, -0.9881587624549866, -0.09061598777770996, -0.10249058157205582, -0.11220826953649521, 0.6347180008888245, 0.5387105345726013, 0.9893540740013123, -0.29840952157974243, 0.7807890772819519, 0.28351911902427673, 0.5053821206092834, -0.5118570923805237, 0.9199040532112122, -0.6155967116355896, 0.28218454122543335, -0.19912560284137726, -1.0818907022476196, -0.4401622414588928, 0.8904679417610168, -0.024917636066675186, -0.22624848783016205, 0.9407128691673279, 0.8964347839355469, -0.14092448353767395, 0.09965019673109055, 0.5519305467605591, 0.5003604292869568, 0.07179460674524307, 0.3523000180721283, 0.8205122351646423, 0.08741936832666397, 0.21637092530727386, -0.37817978858947754, -0.20186267793178558, -0.19189707934856415, -0.7161279916763306, -1.0636342763900757, -0.6538450121879578, -0.16264422237873077, -0.2111186683177948, 0.009082774631679058, 0.9341087937355042, 0.5903252363204956, -1.1581693887710571, -0.5022856593132019, -0.14506033062934875, 0.02951406128704548, -0.4935038685798645, -0.23682832717895508, 0.4203025996685028, -0.40100929141044617, -0.5865830183029175, 0.764153003692627, 0.49769845604896545, -0.16226737201213837, -0.7430891394615173, -0.06051700934767723, -0.03178049996495247, 0.053971029818058014, 0.7476189732551575, -0.10916417837142944, -1.053002119064331, -0.36813440918922424, -0.001111700083129108, -0.08247540891170502, 0.020783977583050728, 0.8209002614021301, -1.0362942218780518, 0.4321647584438324, 0.3380374014377594, 0.535945475101471, 0.4796806275844574, -0.3764283061027527, 0.22735755145549774, -0.4953598082065582, 0.36413198709487915, 0.21643607318401337, 0.36611077189445496, 0.43614962697029114, -0.30988213419914246, 0.5089573264122009, 0.5635629892349243, -0.3690279424190521, -1.1381150484085083, 0.18169982731342316, -0.8107886910438538, -0.6554564237594604, 1.008384346961975, 0.33109384775161743, -0.26955729722976685, -0.23280243575572968, -0.19319812953472137, 0.49210384488105774, -0.13570718467235565, 1.097997784614563, 0.758882462978363, -0.26060715317726135, -0.023719582706689835, -0.6288151144981384, 0.5778194069862366, 0.19279421865940094, -0.9103476405143738, 0.4684921205043793, 0.47104570269584656, 0.04687384143471718, 0.04265478625893593, 0.6545951962471008, 0.14684166014194489, -0.006835606414824724, -0.07669142633676529, 0.4781314730644226, 0.05439354106783867, -0.6120487451553345, -0.12485410273075104, 0.23048646748065948, -0.3056281507015228, -0.2855460047721863 ]
http://arxiv.org/abs/2403.12999v1
http://arxiv.org/pdf/2403.12999v1
Prompt Selection and Augmentation for Few Examples Code Generation in Large Language Model and its Application in Robotics Control
2024-03-11T04:13:29
2024-03-11T04:13:29
On Tai Wu, Frodo Kin Sun Chan, Zunhao Zhang, Yan Nei Law, Benny Drescher, Edmond Shiao Bun Lai
cs.RO
cs.RO, cs.AI, cs.CL, cs.LG
Few-shot prompting and step-by-step reasoning have enhanced the capabilities of Large Language Models (LLMs) in tackling complex tasks including code generation. In this paper, we introduce a prompt selection and augmentation algorithm aimed at improving mathematical reasoning and robot arm operations. Our approach incorporates a multi-stage example augmentation scheme combined with an example selection scheme. This algorithm improves LLM performance by selecting a set of examples that increase diversity, minimize redundancy, and increase relevance to the question. When combined with the Program-of-Thought prompting, our algorithm demonstrates an improvement in performance on the GSM8K and SVAMP benchmarks, with increases of 0.3% and 1.1% respectively. Furthermore, in simulated tabletop environments, our algorithm surpasses the Code-as-Policies approach by achieving a 3.4% increase in successful task completions and a decrease of over 70% in the number of examples used. Its ability to discard examples that contribute little to solving the problem reduces the inferencing time of an LLM-powered robotics system. This algorithm also offers important benefits for industrial process automation by streamlining the development and deployment process, reducing manual programming effort, and enhancing code reusability.
[ -0.5979617834091187, -0.8933517932891846, 0.8151317834854126, 0.25510215759277344, -0.44034016132354736, -0.10208811610937119, -0.09528618305921555, -0.20206859707832336, -0.14531797170639038, 0.6544248461723328, -0.8803727626800537, -0.4714800715446472, -0.29403188824653625, 0.3094857335090637, 0.10940766334533691, 0.7141092419624329, 0.09074874967336655, -0.07054412364959717, -0.11438151448965073, 0.025350458920001984, -0.53022700548172, -0.21156980097293854, -0.6494608521461487, -0.574081540107727, 0.28767943382263184, 0.6640874743461609, 0.6793050169944763, 0.590840756893158, 0.5450200438499451, 0.31870219111442566, -0.24317339062690735, 0.5640009045600891, -0.034397050738334656, 0.12287914007902145, 0.04296664893627167, -0.5165446400642395, -0.3027009069919586, -0.2382427155971527, 0.4612216055393219, 0.6032732129096985, 0.029367618262767792, 0.07085227966308594, -0.05152316391468048, 0.6639273762702942, -0.46071192622184753, 0.12979258596897125, -0.4669019281864166, 0.030297959223389626, 0.25741592049598694, -0.517747700214386, -0.4482133686542511, -0.5580158829689026, -0.25110575556755066, -0.4940503239631653, -0.21509212255477905, 0.16183416545391083, 0.45118388533592224, 0.31421396136283875, -0.1304193139076233, -0.29092249274253845, -0.5186398029327393, 0.8620421886444092, -0.8670791983604431, -0.010641980916261673, 0.2625865936279297, 0.2729448974132538, -0.614348828792572, -0.4216584265232086, -0.8274903893470764, -0.5574325919151306, 0.023253003135323524, 0.08130421489477158, -0.2906431257724762, 0.38222289085388184, 0.8747071623802185, -0.1552903652191162, -0.5913852453231812, 0.2641097903251648, -0.36894553899765015, -0.15795578062534332, 0.3402695059776306, 0.06020103394985199, 0.2691921591758728, -0.31872040033340454, -0.11302588135004044, -0.36130499839782715, -0.9654712080955505, 0.13940657675266266, 0.6053937077522278, 0.5347931385040283, -0.047534093260765076, 0.7304140329360962, -0.49286600947380066, 0.8266977071762085, -0.05421663075685501, -0.3811168968677521, 0.47624486684799194, -0.3134767711162567, -0.05051884800195694, -0.19499856233596802, 0.510624349117279, 0.35121625661849976, 0.2002418041229248, 0.4428877830505371, -0.2751446068286896, 0.12969164550304413, 0.10560227930545807, -0.7224026918411255, -0.02946474589407444, 0.3221479058265686, -0.4157520830631256, -0.0818825215101242, -0.06884653121232986, -0.6954900622367859, -0.30685678124427795, -0.35538986325263977, 0.38177406787872314, -0.34662413597106934, 0.19364847242832184, 0.11186075955629349, -0.3027259409427643, 0.24740935862064362, 0.6474394202232361, -0.5021727085113525, -0.010889485478401184, 0.8052573204040527, 0.7547761797904968, -0.046530745923519135, -0.17879752814769745, -1.0383431911468506, -0.1884942501783371, -0.559856116771698, 0.7834823131561279, -0.7140442728996277, -0.4795096516609192, 0.07457317411899567, -0.21118900179862976, 0.41298967599868774, -0.8029747009277344, 0.6026191115379333, -0.6058664917945862, 0.19491305947303772, 0.09784740954637527, -0.29435408115386963, -0.24659164249897003, 0.18459852039813995, -0.43538370728492737, 0.9942247271537781, 0.08716847002506256, -0.1815594881772995, 0.38924339413642883, -0.9187588691711426, -0.5800804495811462, 0.1600726693868637, -0.3463441729545593, -0.5183386206626892, -0.19961552321910858, 0.5787205696105957, 0.5535182952880859, -0.009579303674399853, -0.2402319312095642, -0.31862324476242065, -0.30261504650115967, 0.03769279271364212, -0.20017054677009583, 0.6867483258247375, 0.3151395916938782, -0.11096742749214172, 0.3423113524913788, -0.5923638343811035, 0.2446242719888687, 0.01160785835236311, -0.06789502501487732, -0.10575959831476212, -0.22495287656784058, -0.33870360255241394, 0.5046605467796326, 0.2001129388809204, -0.3087480366230011, 0.6021852493286133, -0.6216636896133423, 0.1854524463415146, 0.6893377900123596, 0.3201901614665985, 0.6869774460792542, -0.4118194282054901, 0.853111982345581, -0.09907209128141403, 0.1036796048283577, -0.6614494919776917, -0.5828980207443237, -0.47459182143211365, -0.43863144516944885, 0.11005611717700958, 0.8565744757652283, -1.3070250749588013, 0.6525909900665283, 0.24843411147594452, -0.21348726749420166, -0.257486492395401, 0.5208842754364014, 0.35749369859695435, 0.46511533856391907, 0.4385012090206146, -0.05635623633861542, -0.4006386399269104, -0.8210156559944153, 0.18857111036777496, -0.21497945487499237, -0.3497193455696106, 0.2666836082935333, 0.39574745297431946, -0.14740730822086334, 0.87026047706604, -0.5090163946151733, -0.010460983030498028, -0.6458167433738708, 0.20557299256324768, 0.6658945083618164, 0.5555616617202759, 0.45104730129241943, -0.4177195727825165, -0.0721864402294159, 0.06921955943107605, -0.44278910756111145, -0.29939112067222595, -0.4433461129665375, -0.1829736828804016, 0.05924374237656593, 0.34435221552848816, -0.6615801453590393, 0.34291160106658936, 0.32260966300964355, 0.1358649581670761, 0.38068675994873047, -0.4341883361339569, 0.20395846664905548, -0.9008123278617859, -0.23689132928848267, 0.067526675760746, -0.2650965452194214, -0.4718988537788391, 0.22800135612487793, -0.004954460542649031, -0.1548662930727005, -0.6144238710403442, 0.4250693917274475, -0.3852793574333191, -0.11903753131628036, -0.6155685186386108, 0.31781989336013794, -0.043809495866298676, 0.5047698616981506, -0.07164209336042404, 0.9150441288948059, 0.5369561314582825, -0.9047984480857849, 0.2770940959453583, 0.20891126990318298, -0.4156034588813782, 0.2523188889026642, -0.5044461488723755, 0.28417330980300903, -0.1594262421131134, 0.286813884973526, -0.9061372876167297, -0.13693960011005402, 0.4245865046977997, -0.28144511580467224, 0.05725736916065216, -0.2676790654659271, -0.5648247003555298, -0.7082641124725342, -0.4556009769439697, 0.013305354863405228, 0.9674320220947266, -0.7003822326660156, 0.5972217321395874, 0.06848713755607605, -0.4043482840061188, -0.43154487013816833, -0.3764677941799164, -0.19858187437057495, -0.08481945842504501, -0.43715572357177734, -0.026167381554841995, -0.2724989056587219, -0.16723547875881195, -0.38876524567604065, -0.3172643184661865, 0.052456844598054886, 0.10588768869638443, 0.003513898467645049, 0.5632140636444092, 0.004075177945196629, -0.030295079573988914, 0.5666773319244385, -0.24777358770370483, -0.011074841022491455, -0.12978892028331757, 0.7637730836868286, 0.25204142928123474, -0.6589792966842651, -0.6497452259063721, 0.23122535645961761, 0.1819496601819992, -0.07344137877225876, 0.0977526307106018, 0.3664886951446533, -0.22027182579040527, -0.7088979482650757, -0.32377779483795166, -0.5966578722000122, -0.5923051238059998, 0.37575429677963257, -0.4180663824081421, -0.8568052649497986, 0.3452761769294739, -0.4556407630443573, 0.2991889715194702, 0.012854631058871746, 0.5420641899108887, -0.07539006322622299, 1.0394657850265503, 0.3208352029323578, -0.050671860575675964, 0.783245325088501, -0.19310630857944489, 0.30583804845809937, -0.6772318482398987, 0.13058437407016754, -0.7503235340118408, -0.05497656762599945, -0.4874754846096039, -0.790928840637207, 0.5748308300971985, 0.1999521255493164, -0.12170028686523438, 0.40723857283592224, -0.5860657095909119, 0.7184083461761475, 0.4603272080421448, 0.3137214183807373, 0.26208826899528503, 0.048024192452430725, -0.17668403685092926, 0.2898695170879364, -0.8499393463134766, -0.8077638149261475, 0.6972212195396423, 0.10816165059804916, 0.7704227566719055, -0.08124483376741409, 0.8055655360221863, 0.5052347183227539, -0.04075212404131889, -0.8443999886512756, 0.8089177012443542, 0.06331922858953476, -0.17528317868709564, -0.3706349730491638, -0.3837359547615051, -0.8540198802947998, 0.20337191224098206, -0.16465868055820465, -0.6676571369171143, 0.09240533411502838, 0.3921283781528473, -0.7626592516899109, -0.05421575531363487, -0.7848964333534241, 0.5468654036521912, -0.05903574824333191, -0.12651801109313965, -0.46347835659980774, -0.5048702359199524, 0.24987365305423737, 0.04093337059020996, 0.027801277115941048, -0.17336799204349518, -0.12091439217329025, 0.31481850147247314, -0.2783876657485962, 0.5852561593055725, -0.22105887532234192, -0.06977030634880066, 0.6460913419723511, 0.005578760523349047, 1.048439860343933, -0.07037375122308731, -0.22653722763061523, -0.12662622332572937, -0.36684074997901917, -0.2885422110557556, -0.9188986420631409, 0.39225220680236816, -0.47264549136161804, -0.5800397992134094, -0.10530903935432434, -0.42163094878196716, -0.26819631457328796, 0.023725086823105812, -0.08139524608850479, 0.384611576795578, 0.4322032630443573, 0.18324795365333557, 0.5347984433174133, -0.507202684879303, 0.7513498067855835, 0.2394523322582245, -0.29010310769081116, -0.3162323236465454, 0.7520468831062317, -0.27320027351379395, 0.38108155131340027, 0.37796348333358765, 0.20387586951255798, -0.26638051867485046, -0.5754367709159851, -0.6582214832305908, -0.11875967681407928, -0.784535825252533, -0.5066605806350708, -0.5466399788856506, 0.07099267840385437, -0.27032271027565, -0.40941834449768066, -0.02111569233238697, -0.5125834941864014, -0.24136368930339813, 0.03932444751262665, 0.47466886043548584, 0.5243374705314636, 0.14007438719272614, 0.6380821466445923, -0.8276016116142273, 0.7301623821258545, 0.34378382563591003, 0.06497756391763687, -0.09482424706220627, -0.5219457149505615, -0.025210022926330566, -0.014049503020942211, -0.4398884177207947, -0.6645078659057617, 0.2345961481332779, -0.05716094374656677, 0.7359899878501892, 0.4942933917045593, 0.10490477085113525, 0.7169325351715088, -0.5132501721382141, 0.7000481486320496, 0.23765763640403748, -0.981704592704773, 0.6779648661613464, -0.25834164023399353, 0.540562093257904, 0.36387431621551514, 0.028690265491604805, -0.26708725094795227, -0.4412040114402771, -0.4321722984313965, -0.7498548030853271, 0.7469074726104736, 0.11311548948287964, 0.2294541299343109, 0.08002544194459915, 0.18404114246368408, 0.055727142840623856, 0.24182161688804626, -0.28986912965774536, -0.19821153581142426, 0.22610880434513092, -0.08140354603528976, 0.26549047231674194, 0.026054026558995247, 0.017121242359280586, -0.05510185286402702, 0.7049722075462341, -0.5188212394714355, 0.3339671790599823, 0.0013692241627722979, -0.0991329625248909, -0.09018588811159134, 0.5862767100334167, 0.9886046648025513, 0.615280032157898, 0.15474475920200348, -0.31619152426719666, 0.4853362441062927, -0.2401583343744278, 0.044020965695381165, 0.05313969776034355, -0.3689859211444855, -0.1351499706506729, 0.18344907462596893, 0.6920551061630249, -0.2234516739845276, -0.7364171743392944, 0.281025767326355, 0.47137391567230225, -0.026606472209095955, -0.037378426641225815, 0.46756595373153687, -0.40893813967704773, 0.5215364098548889, 0.6250973343849182, 0.24475592374801636, 0.2678662836551666, -0.30468693375587463, 0.3199700117111206, 0.5142411589622498, 0.2502502202987671, 0.10713553428649902, 0.16300252079963684, 0.16683344542980194, -0.30862078070640564, 0.3980858325958252, -0.6403732299804688, -0.5480870008468628, 0.84218829870224, 0.49651631712913513, 0.7340018153190613, 0.10342302173376083, 0.21384352445602417, 0.44295990467071533, 0.5048921704292297, -0.20559042692184448, 0.4069782495498657, -0.1503848135471344, -0.8910432457923889, -0.9328513145446777, -0.2911990284919739, -0.7510977983474731, -0.1000392884016037, -0.2347279042005539, 0.45621541142463684, -0.7398648262023926, -0.18172718584537506, -0.26982754468917847, 0.1278606653213501, -0.5282981395721436, -0.0445411317050457, 0.22825945913791656, 0.7345701456069946, -0.7453821897506714, 0.8253054022789001, 0.6407627463340759, -0.3421422839164734, -0.7969406843185425, -0.16986694931983948, -0.1992015242576599, -0.7606209516525269, 0.5227758884429932, 0.06382361054420471, -0.26973915100097656, -0.2354888916015625, -0.6717223525047302, -0.4053376615047455, 0.7687707543373108, 0.26923051476478577, -0.6482642889022827, 0.2344442456960678, -0.11197929084300995, 0.43825215101242065, -0.4960376024246216, 0.5695540308952332, 0.5491499304771423, 0.5950577855110168, 0.2673453390598297, -0.7967173457145691, -0.0381866991519928, -0.07027094811201096, 0.09080079942941666, 0.1735796183347702, -0.4821028709411621, 0.5301772356033325, -0.5186943411827087, 0.05987353250384331, 0.25985535979270935, 0.7267860174179077, 0.8869274258613586, 0.37510988116264343, 0.5846139192581177, 0.23941119015216827, 0.7500360608100891, -0.0052198003977537155, 1.0585265159606934, -0.27796241641044617, -0.0423809178173542, 1.0563156604766846, -0.5461263060569763, 0.6658309102058411, 0.4819472134113312, -0.33539044857025146, 0.5451496243476868, 0.456207811832428, -0.13440155982971191, 0.35264715552330017, 0.15296319127082825, -0.20610971748828888, -0.35315170884132385, -0.10320717096328735, -0.2986663579940796, 0.2632492482662201, 0.2346123307943344, -0.1376267820596695, -0.3419869542121887, 0.2783460319042206, -0.02846231497824192, -0.0192929208278656, -0.44762513041496277, 0.6740716099739075, 0.03525647148489952, -0.6124704480171204, 0.3149372339248657, -0.001090534497052431, 0.7006650567054749, -0.5672909617424011, -0.5785394310951233, -0.1210673600435257, -0.09320373088121414, -0.1800794005393982, -0.7809420824050903, -0.07139409333467484, -0.0016498466720804572, -0.13233022391796112, -0.5130415558815002, 0.7458205223083496, -0.3229128420352936, -0.3772331178188324, -0.15280646085739136, 0.6278505325317383, 0.16310229897499084, 0.07712273299694061, -0.6808083653450012, 0.06646249443292618, 0.10114537924528122, -0.126977801322937, 0.09437943994998932, 0.4737831950187683, -0.2251695692539215, 0.8798103332519531, 0.9474222660064697, 0.1060459315776825, -0.043737173080444336, 0.2310800850391388, 1.1121654510498047, -0.5080056190490723, -0.508711576461792, -0.7655794620513916, 0.5128392577171326, -0.1042034924030304, -0.24368640780448914, 0.7604802846908569, 0.3967892825603485, 0.7362185120582581, -0.2319575846195221, 0.7121188044548035, -0.021329062059521675, 0.41112130880355835, -0.739020824432373, 0.20309968292713165, -0.29147621989250183, 0.3988340497016907, -0.5608376860618591, -0.9389595985412598, -0.49660059809684753, 0.884827733039856, -0.3872952163219452, 0.20677125453948975, 0.6315287351608276, 1.0492631196975708, 0.29306745529174805, -0.3028663098812103, 0.546565592288971, -0.21709607541561127, 0.16590826213359833, 0.3805816173553467, 0.900453507900238, -0.12577617168426514, 0.51340651512146, -0.3096972703933716, -0.10542181879281998, -0.15434396266937256, -1.0062689781188965, -0.8429587483406067, -0.08956880122423172, -0.38660651445388794, -0.29711148142814636, -0.10654964298009872, 1.7322157621383667, 0.664931058883667, -0.839714527130127, -0.15752075612545013, -0.06566263735294342, 0.49251610040664673, -0.3330138921737671, -0.19402267038822174, 0.017629656940698624, -0.6228666305541992, -0.833813488483429, 0.6925411224365234, 0.36670228838920593, -0.019177095964550972, 0.007417449727654457, -0.16537973284721375, 0.049497656524181366, 0.08429434895515442, 0.8846815228462219, 0.39490893483161926, -0.6376951932907104, -0.20390188694000244, 0.06710074096918106, 0.05822550877928734, 0.26461294293403625, 0.8316260576248169, -0.8905019760131836, 0.341991126537323, 0.7059122920036316, 0.7392498254776001, 0.1950218230485916, 0.2851921319961548, 0.3801587224006653, -0.7333385348320007, 0.5498789548873901, 0.43227580189704895, 0.4551282525062561, 0.09732583910226822, -0.21897415816783905, 0.2455502450466156, -0.06219925731420517, -0.4682691693305969, -0.6682206988334656, 0.4046521782875061, -1.1280280351638794, -0.10836885869503021, 1.1711546182632446, 0.062007348984479904, -0.22982697188854218, -0.022849058732390404, -0.5685475468635559, 0.048065945506095886, -0.9156858921051025, 0.5785374641418457, 0.4573149085044861, -0.37156522274017334, -0.46766233444213867, -0.44184961915016174, 0.32716163992881775, 0.35216471552848816, -1.1040794849395752, -0.20454710721969604, 0.7887226939201355, -0.2724822163581848, 0.1631973385810852, 0.34846779704093933, 0.1235673725605011, 0.5122300386428833, -0.14744152128696442, 0.23429428040981293, -0.08775238692760468, -0.39448994398117065, -0.6631850600242615, 0.17886564135551453, 0.22295282781124115, -0.21147392690181732 ]
http://arxiv.org/abs/2403.06414v1
http://arxiv.org/pdf/2403.06414v1
Evolving Knowledge Distillation with Large Language Models and Active Learning
2024-03-11T03:55:24
2024-03-11T03:55:24
Chengyuan Liu, Yangyang Kang, Fubang Zhao, Kun Kuang, Zhuoren Jiang, Changlong Sun, Fei Wu
cs.CL
cs.CL
Large language models (LLMs) have demonstrated remarkable capabilities across various NLP tasks. However, their computational costs are prohibitively high. To address this issue, previous research has attempted to distill the knowledge of LLMs into smaller models by generating annotated data. Nonetheless, these works have mainly focused on the direct use of LLMs for text generation and labeling, without fully exploring their potential to comprehend the target task and acquire valuable knowledge. In this paper, we propose EvoKD: Evolving Knowledge Distillation, which leverages the concept of active learning to interactively enhance the process of data generation using large language models, simultaneously improving the task capabilities of small domain model (student model). Different from previous work, we actively analyze the student model's weaknesses, and then synthesize labeled samples based on the analysis. In addition, we provide iterative feedback to the LLMs regarding the student model's performance to continuously construct diversified and challenging samples. Experiments and analysis on different NLP tasks, namely, text classification and named entity recognition show the effectiveness of EvoKD.
[ -0.04146882891654968, -1.2382010221481323, 0.5419609546661377, -0.14094336330890656, -0.3687989413738251, 0.2850533723831177, -0.5836993455886841, -0.41737788915634155, -0.012463868595659733, 0.4483329951763153, -0.3371447026729584, -0.4539394974708557, -0.4624650180339813, 0.12073320895433426, -0.2286842167377472, 1.043961763381958, -0.27025651931762695, -0.1420636624097824, -0.17655140161514282, -0.06822414696216583, -0.435732901096344, -0.3105851709842682, -0.8266544938087463, -0.4698117673397064, 0.33941450715065, 0.3872637450695038, 0.19809876382350922, 0.3590983748435974, 0.21722029149532318, 0.27821287512779236, -0.3210493326187134, 0.4780330955982208, -0.4572359621524811, 0.8674085140228271, -0.19751563668251038, -0.44588860869407654, -0.3909163773059845, -0.16171742975711823, 0.4327726662158966, 0.7563955783843994, -0.29003646969795227, 0.16884522140026093, 0.2948504090309143, 0.5217453837394714, -0.31049326062202454, 0.06922047585248947, -0.8915300369262695, -0.05868025869131088, -0.11080583184957504, 0.07519800215959549, -0.29616135358810425, -0.14832466840744019, 0.3911781907081604, -0.5317613482475281, 0.29164227843284607, -0.02339283376932144, 0.7426747679710388, 0.4256620705127716, -0.2887665927410126, -0.6678220629692078, -1.0518385171890259, 0.61077481508255, -0.7500365972518921, 0.26295578479766846, 0.25373175740242004, 0.34311363101005554, -0.19840674102306366, -1.0516358613967896, -0.6659358143806458, -0.11539316922426224, 0.32423362135887146, 0.03450639545917511, -0.10234528034925461, -0.04700412601232529, 0.08465015143156052, 0.35597822070121765, -0.07164773344993591, 0.1794603168964386, -0.42685264348983765, 0.2918771207332611, 0.5083504915237427, -0.03705355152487755, 0.24799028038978577, 0.003138394793495536, -0.24417197704315186, -0.06579528748989105, -0.6338781118392944, -0.16519515216350555, 0.43621912598609924, 0.46466031670570374, 0.41408392786979675, 0.706303060054779, -0.05208195745944977, 0.7044071555137634, 0.3147376477718353, -0.21187151968479156, 0.28824713826179504, -0.08719971776008606, -0.3955886960029602, 0.2127167135477066, 0.5327471494674683, -0.09545829892158508, -0.1780773550271988, -0.04372282326221466, -0.18218830227851868, -0.39048245549201965, 0.4057334065437317, -0.6832213997840881, -0.6265783309936523, 0.3170534372329712, -0.3113015294075012, -0.39389291405677795, -0.23487421870231628, -0.7915008664131165, -0.48730015754699707, -0.357098788022995, 0.4828733801841736, -0.57314532995224, -0.49062857031822205, 0.1465533971786499, -0.10101352632045746, -0.15693004429340363, 0.6180315017700195, -0.9636858105659485, 0.11877242475748062, 0.45723044872283936, 0.8437174558639526, -0.4203110933303833, -0.09937779605388641, -0.23159687221050262, 0.24270260334014893, -0.12874841690063477, 0.6435867547988892, -0.4891825318336487, -0.13719552755355835, -0.0867990180850029, 0.04757864028215408, -0.014367629773914814, -0.7376315593719482, 0.47118470072746277, -0.642444908618927, -0.050037138164043427, 0.12859265506267548, -0.7428983449935913, -0.339774489402771, 0.26185929775238037, -0.8961704969406128, 1.3871439695358276, 0.09305743128061295, -0.5617187023162842, 0.6499747037887573, -0.7409559488296509, -0.45878511667251587, 0.42406314611434937, -0.11138037592172623, -0.7277300357818604, 0.2554558515548706, 0.16313673555850983, 0.6083494424819946, 0.033604517579078674, 0.5102207064628601, -0.2037317454814911, 0.3925631642341614, 0.06293150037527084, -0.24487973749637604, 0.6028929352760315, 0.3742032051086426, -0.47003456950187683, -0.05840234458446503, -0.8254162669181824, -0.17547668516635895, 0.20776116847991943, -0.780424177646637, -0.7789617776870728, 0.14983238279819489, -0.22366149723529816, -0.013483920134603977, 0.25170955061912537, -0.3996720016002655, 0.5409064292907715, -0.15629756450653076, 0.45204076170921326, 0.6860151290893555, 0.3092951476573944, 0.5858978033065796, 0.0017379896016791463, 0.5379290580749512, -0.005062581039965153, -0.03206663578748703, -0.2519511282444, -0.5822781920433044, -0.868603527545929, -0.3728886544704437, 0.48128557205200195, 0.1621270775794983, -1.0799874067306519, 0.5360205769538879, -0.2371908575296402, -0.5274614691734314, -0.6567853093147278, 0.5459222793579102, -0.24211947619915009, 0.19717907905578613, 0.43430715799331665, 0.23057876527309418, -0.385323166847229, -0.5371382236480713, -0.04348253458738327, -0.19530652463436127, -0.08977814763784409, 0.1335853487253189, 0.40082040429115295, -0.253988116979599, 0.8538334369659424, -0.5158437490463257, -0.2525099217891693, -0.67177814245224, 0.21329045295715332, -0.005392768420279026, 0.3477022349834442, 0.41671520471572876, -0.712882936000824, -0.7472532391548157, 0.19844578206539154, -0.5197093486785889, -0.2953627109527588, -0.26125580072402954, -0.23417656123638153, -0.13543018698692322, 0.4809098541736603, -0.39642202854156494, -0.02939184010028839, 0.6215370297431946, -0.3182297646999359, 0.0979875773191452, -0.1329517364501953, -0.02373160794377327, -1.2364490032196045, -0.03992335498332977, -0.08276983350515366, -0.2678772807121277, -0.6578232049942017, -0.029143689200282097, 0.14810720086097717, -0.020366806536912918, -0.23646895587444305, 0.6450745463371277, -0.8035321831703186, 0.41276541352272034, -0.4795023202896118, 0.1652660071849823, 0.028090981766581535, 0.21552880108356476, 0.15731050074100494, 0.14656974375247955, 0.5634375810623169, -0.7062207460403442, 0.707659900188446, 0.06622546911239624, -0.5408334732055664, 0.08842793852090836, -0.4037279486656189, 0.02902984619140625, -0.008153233677148819, 0.06806251406669617, -0.9282976388931274, -0.09102880954742432, -0.0802624523639679, -0.1659131497144699, 0.6322838664054871, -0.2760746479034424, -0.35140547156333923, -0.3907393217086792, -0.0960947796702385, 0.2915897071361542, 0.6303746104240417, -0.8929192423820496, 0.838544487953186, 0.35533440113067627, -0.538162350654602, -0.24977946281433105, -0.453475683927536, 0.11838968098163605, -0.33564579486846924, -0.5165134072303772, 0.25279563665390015, 0.15320417284965515, -0.4307931661605835, 0.22892196476459503, -0.12715652585029602, 0.08639075607061386, 0.0781594067811966, -0.01577349379658699, 0.11822279542684555, -0.06988522410392761, 0.512963056564331, 0.49184879660606384, 0.313019335269928, -0.1772758513689041, -0.4220578670501709, 0.40995338559150696, 0.47538796067237854, -0.32206812500953674, -0.1280677318572998, -0.09721328318119049, 0.48374953866004944, -0.14571669697761536, 0.7489438652992249, 0.31937646865844727, -0.3614742159843445, -1.0837222337722778, -0.47331613302230835, -0.2959558963775635, -0.5009955763816833, 0.4797888696193695, -0.23339825868606567, -0.9292520880699158, 0.4142652153968811, -0.7482742667198181, 0.6374142169952393, 0.5033044219017029, 0.681807816028595, 0.03635694086551666, 0.7556881904602051, 0.7746075391769409, 0.4176558554172516, 0.7060039043426514, -0.23140430450439453, 0.25551483035087585, -0.7622172236442566, -0.40756887197494507, -0.34907835721969604, -0.5849854350090027, -0.05703732743859291, -0.6959103345870972, 0.10295367985963821, 0.4252569377422333, 0.17977698147296906, 0.07303151488304138, -0.5827380418777466, 0.2983143627643585, 0.39306676387786865, 0.13887564837932587, 0.37157437205314636, 0.07229384779930115, -0.18352770805358887, 0.006409564055502415, -0.7739948630332947, -0.6052832007408142, 1.4267528057098389, 0.4840390384197235, 1.015068769454956, 0.09797261655330658, 0.8033896088600159, 0.37505999207496643, 0.42740562558174133, -0.8863062262535095, 0.36785972118377686, -0.04758268967270851, -0.5810003876686096, -0.4822043478488922, -0.5129206776618958, -0.9090269804000854, 0.33250001072883606, -0.2642422020435333, -0.27775686979293823, 0.09013509005308151, 0.1280170977115631, -0.42882239818573, 0.3773280680179596, -0.749297559261322, 0.49440544843673706, -0.533869206905365, -0.4274527430534363, 0.009034661576151848, -0.17542019486427307, 0.3469375967979431, -0.543848991394043, 0.14557158946990967, -0.07091479748487473, -0.09399663656949997, 1.067670226097107, -0.45579200983047485, 0.8849493265151978, -0.3510238230228424, -0.34611594676971436, 0.570912778377533, -0.022268349304795265, 0.675390899181366, 0.1980188637971878, -0.16654962301254272, -0.2719425559043884, -0.4694373607635498, -0.1599942296743393, -0.5511704087257385, 0.7007075548171997, -0.6402304172515869, -0.5549893379211426, -0.14679475128650665, -0.2470483034849167, -0.15506479144096375, 0.13010896742343903, -0.12468148022890091, 0.1562620848417282, -0.2007562220096588, 0.22942136228084564, 0.9649327397346497, -0.32215645909309387, 0.4272771179676056, 0.5981015563011169, -0.32402434945106506, -0.27288123965263367, 0.5260608196258545, 0.214843288064003, 0.3401210308074951, 0.0589170902967453, 0.1540534645318985, -0.2783438563346863, -0.8407061100006104, -0.5580210089683533, 0.16093283891677856, -0.8113824129104614, -0.4054167568683624, -0.8238036632537842, -0.029230665415525436, -0.29168900847435, -0.1214035227894783, -0.5873730778694153, -0.5172425508499146, -0.3012102544307709, -0.5369826555252075, 0.6434483528137207, 0.8960769176483154, 0.06905340403318405, 0.0857255682349205, -0.6508463621139526, 0.32519304752349854, 0.6205708384513855, 0.030285993590950966, 0.18404453992843628, -0.7373452186584473, -0.3908756673336029, 0.12707367539405823, -0.4082098603248596, -0.8036884665489197, 0.4616723656654358, 0.5379709005355835, 0.8320198059082031, 0.47115010023117065, 0.3943531811237335, 0.40034735202789307, -0.5955966114997864, 0.8880425095558167, 0.13049326837062836, -0.6881322860717773, 0.6913453936576843, -0.050102349370718, 0.24316823482513428, 0.6141961216926575, 0.36922821402549744, -0.23027683794498444, -0.6926102042198181, -0.5554710626602173, -1.3280271291732788, 0.615585207939148, 0.09412084519863129, 0.24923284351825714, -0.01385218184441328, 0.5860349535942078, 0.5642859935760498, 0.13327625393867493, -0.732257604598999, -0.13866716623306274, 0.024898944422602654, -0.47563427686691284, 0.21474216878414154, -0.09605441987514496, -0.12170267105102539, -0.4448276460170746, 0.9686589241027832, -0.020510291680693626, -0.08723823726177216, -0.03984435275197029, -0.20572161674499512, -0.11110682040452957, 0.1671094447374344, 0.08991070836782455, 0.5119816064834595, 0.10950395464897156, 0.406583696603775, 0.2798100709915161, -0.8179426193237305, 0.13948954641819, 0.006979566998779774, -0.11304734647274017, 0.15925125777721405, 0.24140791594982147, 0.9137054681777954, 0.02606680803000927, -0.7613946199417114, 0.22263115644454956, -0.06518229097127914, -0.404584139585495, -0.012723054736852646, 0.2639254033565521, 0.30434831976890564, 0.49415525794029236, 0.7354059219360352, -0.2504233419895172, -0.1930692046880722, -0.6172651052474976, 0.2496437430381775, 0.05521935597062111, -0.14319458603858948, -0.35347792506217957, 0.7148561477661133, 0.6273031830787659, -0.10765060037374496, 0.672530472278595, -0.24190811812877655, -0.6008198857307434, 0.48683950304985046, 0.5467824935913086, 1.0116301774978638, -0.4958546459674835, 0.23867733776569366, 0.310670405626297, 0.19176803529262543, -0.30056795477867126, 0.11548773944377899, -0.12067150324583054, -0.7328671216964722, -0.35924574732780457, -1.0550659894943237, -0.2465442568063736, 0.3265059292316437, -0.5300267934799194, 0.5063028335571289, -0.15566128492355347, -0.2176111787557602, 0.17978858947753906, -0.00028961696079932153, -0.47651103138923645, 0.04340491071343422, -0.06440414488315582, 0.4296552836894989, -0.9314224123954773, 1.082381248474121, 1.1319330930709839, -0.05469674989581108, -0.5964350700378418, -0.09481740742921829, -0.3568296730518341, -0.4958561360836029, 0.8063111305236816, -0.1682354360818863, 0.2927122414112091, 0.2709718942642212, -0.4489337205886841, -0.5927494764328003, 1.3365144729614258, 0.05743333324790001, -0.777014970779419, 0.03932898864150047, -0.12484975904226303, 0.6343366503715515, -0.2894195318222046, -0.12738174200057983, 0.31102636456489563, 0.3762982189655304, 0.3302065432071686, -0.6925085186958313, -0.04546583816409111, -0.3112008571624756, -0.25945553183555603, 0.3505815267562866, -0.25249600410461426, 0.8782517313957214, -0.2494787871837616, -0.35836169123649597, -0.3950645327568054, 0.6348521113395691, 0.09451530128717422, 0.19209137558937073, 0.5282219052314758, 0.746045708656311, 0.9346290230751038, 0.006417249329388142, 0.3728804290294647, -0.0944407656788826, 0.4212479591369629, 1.1573904752731323, -0.4568975865840912, 0.8727716207504272, 0.47177615761756897, -0.19383102655410767, 0.2727586328983307, 0.6415163278579712, -0.21481645107269287, 0.6695173978805542, 0.20878995954990387, -0.49695539474487305, -0.21608871221542358, 0.3478676676750183, -0.07861770689487457, 0.2261282354593277, 0.42553240060806274, -0.5169417262077332, -0.25947269797325134, 0.5138848423957825, 0.030350105836987495, 0.0044366586953401566, -0.2341693639755249, 1.2463442087173462, -0.0025435066781938076, -0.5204411149024963, 0.4399307072162628, 0.1316358745098114, 0.8191876411437988, -0.6342064738273621, -0.13854943215847015, -0.07188614457845688, 0.22981159389019012, -0.0974644124507904, -0.5808935165405273, 0.05752234533429146, 0.21813638508319855, -0.06912698596715927, -0.4212509095668793, 0.7468356490135193, -0.8299124836921692, -0.5298416614532471, 0.18045534193515778, 0.717943012714386, -0.050423745065927505, 0.1291685253381729, -0.5891169309616089, 0.03776772320270538, 0.26464176177978516, -0.6587731838226318, 0.3873733580112457, 0.8458828926086426, 0.0881161093711853, 0.5831502676010132, 0.568930983543396, 0.2879469394683838, 0.4442116618156433, -0.001502737170085311, 1.1127229928970337, -0.26072168350219727, -0.35994458198547363, -0.8992782235145569, 0.4437951445579529, -0.205848827958107, -0.20249880850315094, 0.8688204288482666, 0.5225173830986023, 0.6967165470123291, 0.043409619480371475, 1.1395816802978516, -0.32428789138793945, 0.5196816325187683, -0.5571818947792053, 0.8262667655944824, -0.560865044593811, 0.4857669770717621, -0.15623198449611664, -1.2364674806594849, -0.06764204055070877, 0.6342427134513855, -0.1590583324432373, -0.08058848977088928, 0.6938058137893677, 0.21636928617954254, -0.1229611486196518, -0.08063632249832153, 0.1796535700559616, 0.30814045667648315, 0.513763427734375, 0.14377404749393463, 0.843072772026062, -0.094725601375103, 0.41418328881263733, -0.18617872893810272, -0.3566676378250122, -0.19500982761383057, -0.6501066088676453, -1.1015677452087402, -0.7891547679901123, -0.5858240723609924, -0.09608166664838791, 0.08749593794345856, 0.7845736742019653, 0.42363470792770386, -0.5552840232849121, 0.13681760430335999, -0.16368620097637177, -0.0016940132481977344, -0.26538947224617004, -0.24043232202529907, 0.5361769795417786, -0.5139073133468628, -1.1079214811325073, 0.43482068181037903, 0.12318714708089828, 0.17366310954093933, -0.24419493973255157, 0.04509574919939041, -0.2520114481449127, 0.08515707403421402, 0.6860384941101074, 0.09591740369796753, -0.3645351529121399, -0.03624480217695236, -0.15807589888572693, 0.101620614528656, -0.29590868949890137, 0.7694465517997742, -0.6378517746925354, 0.7720997333526611, 0.5167528986930847, 0.82159024477005, 0.6500326991081238, 0.06874526292085648, 0.6675246953964233, -0.6904009580612183, -0.08075153827667236, 0.4592139720916748, 0.1381610631942749, 0.3288269639015198, -0.28747066855430603, 0.4250012934207916, 0.042683519423007965, -0.6065210700035095, -0.9719390869140625, -0.026454001665115356, -0.8123050332069397, -0.6967440843582153, 1.5482923984527588, -0.22610874474048615, -0.11383809894323349, -0.47639498114585876, -0.2404516190290451, 0.35813194513320923, -0.4332537353038788, 0.9837578535079956, 0.5940005779266357, -0.12670601904392242, -0.026421990245580673, -0.723039448261261, 0.667048990726471, -0.012308268807828426, -0.8504447937011719, 0.42071911692619324, 0.43898919224739075, 0.4199505150318146, 0.011093996465206146, 0.28927740454673767, 0.12191438674926758, -0.261726975440979, 0.01699681580066681, 0.31760671734809875, -0.3146161139011383, -0.3301732540130615, -0.08499156683683395, 0.24017836153507233, 0.3274472653865814, -0.023660993203520775 ]
http://arxiv.org/abs/2403.06412v3
http://arxiv.org/pdf/2403.06412v3
CLIcK: A Benchmark Dataset of Cultural and Linguistic Intelligence in Korean
2024-03-11T03:54:33
2024-03-15T08:53:31
Eunsu Kim, Juyoung Suk, Philhoon Oh, Haneul Yoo, James Thorne, Alice Oh
cs.CL
cs.CL
Despite the rapid development of large language models (LLMs) for the Korean language, there remains an obvious lack of benchmark datasets that test the requisite Korean cultural and linguistic knowledge. Because many existing Korean benchmark datasets are derived from the English counterparts through translation, they often overlook the different cultural contexts. For the few benchmark datasets that are sourced from Korean data capturing cultural knowledge, only narrow tasks such as bias and hate speech detection are offered. To address this gap, we introduce a benchmark of Cultural and Linguistic Intelligence in Korean (CLIcK), a dataset comprising 1,995 QA pairs. CLIcK sources its data from official Korean exams and textbooks, partitioning the questions into eleven categories under the two main categories of language and culture. For each instance in CLIcK, we provide fine-grained annotation of which cultural and linguistic knowledge is required to answer the question correctly. Using CLIcK, we test 13 language models to assess their performance. Our evaluation uncovers insights into their performances across the categories, as well as the diverse factors affecting their comprehension. CLIcK offers the first large-scale comprehensive Korean-centric analysis of LLMs' proficiency in Korean culture and language.
[ -0.3428780734539032, -0.46974360942840576, 0.3732835650444031, 0.21591384708881378, -0.032647278159856796, 0.2682782709598541, -0.43660804629325867, -0.28263527154922485, 0.13651718199253082, 0.6126384139060974, -0.6769440770149231, -0.7154501676559448, -0.2731751501560211, 0.14635764062404633, -0.08254830539226532, 0.745330274105072, 0.055944349616765976, 0.2072790563106537, -0.5976164937019348, -0.46392324566841125, -0.2684720456600189, -0.20316670835018158, -0.5511393547058105, -0.3561117649078369, 0.4749312698841095, 0.4762861430644989, 0.62191241979599, 0.7300772070884705, 0.4476760923862457, 0.20492033660411835, -0.07762733846902847, 0.057573623955249786, -0.6062200665473938, 0.10922933369874954, -0.16043397784233093, -0.6003851890563965, -0.2945254147052765, 0.5467385649681091, 0.329321026802063, 0.9835130572319031, 0.4424349069595337, 0.684699535369873, -0.4385785460472107, 0.8810248970985413, -0.3745238184928894, 0.19286787509918213, -0.6995561718940735, -0.07273943722248077, -0.18969084322452545, 0.010553543455898762, -0.24784189462661743, -0.7940073013305664, 0.08219370245933533, -0.5907926559448242, -0.1868542730808258, -0.08399765938520432, 0.5570304989814758, 0.47652462124824524, -0.903721034526825, -0.1350756585597992, -0.44213956594467163, 0.7080219388008118, -0.30380284786224365, 0.6788063645362854, 0.5812087059020996, 0.17814584076404572, 0.05752616748213768, -0.5377663373947144, -0.4813638925552368, -0.5111831426620483, 0.08957550674676895, 0.1846534162759781, 0.20888325572013855, -0.25761643052101135, 0.46464547514915466, 0.19428257644176483, -0.7973886728286743, 0.01035586278885603, -0.347568541765213, -0.23252654075622559, 0.9056750535964966, 0.311990886926651, 0.6701267957687378, -0.36434483528137207, -0.3614713251590729, -0.12183535099029541, -0.6768948435783386, 0.2412792593240738, 0.4700116217136383, 0.15381760895252228, 0.024756621569395065, 0.4459158778190613, -0.7642126083374023, 0.38992172479629517, -0.12616047263145447, -0.5485408306121826, 0.5261759757995605, -0.46684327721595764, 0.21861864626407623, -0.048775382339954376, 0.6490222215652466, 0.7481854557991028, 0.9010722041130066, -0.19468878209590912, 0.24336892366409302, 0.25322425365448, 0.001423774752765894, -0.7498716711997986, -0.47230494022369385, 0.34429633617401123, -0.6338266134262085, -0.22992119193077087, -0.35877034068107605, -0.7950562238693237, -0.4760141372680664, -0.32348260283470154, 0.14692255854606628, -0.20817871391773224, -0.44471627473831177, -0.1149270236492157, 0.02551213838160038, 0.11635760962963104, -0.10786847770214081, -0.5418263077735901, 0.015242529101669788, 0.5475152134895325, 0.2634493112564087, -0.41870883107185364, -0.6196093559265137, -0.22922419011592865, -0.1434946358203888, -0.5949103236198425, 0.6450026631355286, -0.6990001201629639, -0.1215941309928894, 0.09647613763809204, 0.05231820046901703, -0.1780284196138382, -0.9153473973274231, 0.5584805607795715, -0.7715343236923218, -0.0033236765302717686, -0.4064410626888275, -0.5001928806304932, -0.5448172688484192, 0.29557332396507263, -0.7620013356208801, 1.2342783212661743, 0.1539420634508133, -0.37000784277915955, 0.5858622789382935, -0.317025363445282, -0.39111077785491943, 0.3829956650733948, -0.23037457466125488, 0.1252753883600235, -0.13837464153766632, 0.06442409008741379, 0.3552210032939911, -0.2852088212966919, 0.1704745590686798, -0.44063135981559753, -0.20334167778491974, 0.4040093719959259, -0.1927049309015274, 0.8358854055404663, 0.10732430964708328, -0.1276244819164276, -0.17837832868099213, -1.1225793361663818, 0.4138088524341583, 0.3161388039588928, -0.5676689147949219, -0.5057094693183899, -0.21388761699199677, -0.047116369009017944, 0.5327264666557312, 0.4448475241661072, -0.2777045965194702, -0.0000896694982657209, -0.02148246392607689, -0.10268884152173996, 0.3596537709236145, -0.2218429148197174, 0.49861931800842285, -0.18131236732006073, 0.7047616839408875, -0.06885389983654022, 0.02327592298388481, -0.17929759621620178, -0.3763434588909149, -0.4532925486564636, -0.18308186531066895, 0.2883383333683014, 0.8382453322410583, -0.7441056370735168, 0.09762635827064514, -0.4864990711212158, -0.6514863967895508, -0.9042313694953918, 0.44838982820510864, 0.3707098364830017, 0.5422577857971191, 0.014904355630278587, -0.046587150543928146, -0.39915981888771057, -0.7643056511878967, -0.5819263458251953, -0.20864158868789673, -0.23555198311805725, 0.45363348722457886, 0.39892515540122986, 0.15930049121379852, 0.7409766316413879, -0.38448581099510193, -0.03637439385056496, -0.2194860577583313, -0.056566596031188965, 0.24554122984409332, 0.08315806835889816, 0.28784894943237305, -0.9414258003234863, -0.8003999590873718, 0.01564996875822544, -0.8085882067680359, -0.4863162338733673, 0.2856021523475647, -0.126685231924057, 0.14698471128940582, 0.8716839551925659, -0.19169239699840546, 0.23459745943546295, 0.5555117130279541, -0.41639795899391174, 0.5957983732223511, 0.39209672808647156, 0.4673417806625366, -0.9778196811676025, 0.25538209080696106, -0.23582583665847778, 0.07818246632814407, -0.956430971622467, 0.013857879675924778, 0.24457712471485138, -0.16211937367916107, -0.5630102753639221, 0.7026844024658203, -0.14618933200836182, -0.002247567055746913, -0.25211045145988464, 0.34553879499435425, -0.1536620408296585, 0.47729936242103577, 0.04975901544094086, 0.7257277369499207, 0.13801231980323792, -0.595669686794281, 0.5066593885421753, 0.3206416070461273, -0.5752097368240356, 0.9165132641792297, -0.3810407817363739, 0.2433813065290451, -0.02886187843978405, -0.029670197516679764, -0.981930673122406, -0.4330047070980072, 0.0447634793817997, -0.46144452691078186, -0.08036753535270691, -0.5163581967353821, -0.3488461673259735, -0.328717440366745, -0.28663399815559387, 0.5393069386482239, 0.540342390537262, -0.38653117418289185, 0.5108174085617065, 0.42880892753601074, -0.27956512570381165, -0.4656432867050171, -0.3324071168899536, -0.12259213626384735, -0.37914496660232544, -0.7938224673271179, 0.06994736939668655, -0.20121528208255768, -0.3267335295677185, 0.007506777998059988, 0.03169543668627739, 0.07898902148008347, 0.16806605458259583, 0.09730102866888046, 0.2161460667848587, -0.3968420624732971, 0.138635516166687, -0.3410152494907379, -0.27372491359710693, 0.3398178815841675, -0.06501611322164536, 0.6586791276931763, 0.0829089805483818, -0.33229658007621765, -0.18122701346874237, 0.11547322571277618, 0.8667966723442078, -0.2372576892375946, 0.5276361107826233, 0.6924890279769897, -0.20193034410476685, -0.03954925388097763, -0.6177871227264404, -0.0622374564409256, -0.42062944173812866, 0.6592415571212769, -0.5512890219688416, -0.7318413257598877, 0.7464657425880432, -0.4578860402107239, -0.41764622926712036, 0.2112177014350891, 0.4401029348373413, -0.043573860079050064, 1.0833461284637451, 0.3207590579986572, -0.37252911925315857, 0.12752200663089752, 0.11394059658050537, 0.19624409079551697, -0.702171266078949, -0.39758121967315674, -0.4658288061618805, -0.4455178380012512, -0.7690987586975098, -0.35362470149993896, 0.44263502955436707, 0.10753601044416428, -0.4492570161819458, 0.020688682794570923, 0.18460309505462646, 0.8144511580467224, 0.5931540727615356, -0.17666247487068176, 0.3341587781906128, -0.03100704587996006, -0.16677652299404144, -0.2725241184234619, -0.530904233455658, -0.5438582897186279, 1.1162856817245483, 0.1670079380273819, 0.6546080112457275, -0.04190578684210777, 0.21107730269432068, -0.0010746890911832452, -0.009815904311835766, -0.7813227772712708, 0.8556450605392456, -0.30008840560913086, -0.5334121584892273, -0.1886877715587616, -0.3107544779777527, -0.6812140941619873, -0.0160902738571167, 0.07071438431739807, -0.7205089926719666, -0.10007290542125702, -0.21189221739768982, 0.01822110265493393, 0.08614328503608704, -0.513482928276062, 0.9261177778244019, -0.19726227223873138, -0.13600312173366547, -0.10211041569709778, -0.5197291374206543, 0.307720810174942, -0.050105880945920944, -0.030045541003346443, -0.649551272392273, -0.14075039327144623, 0.8020967245101929, 0.11592186242341995, 0.7119650840759277, -0.013213707134127617, 0.12245695292949677, 0.11280418932437897, 0.36230170726776123, 0.352321982383728, -0.20505787432193756, -0.1425628811120987, 0.13245846331119537, -0.05464177206158638, -0.41489991545677185, -0.5254608392715454, 0.7072263956069946, -0.6018622517585754, -0.426323264837265, -0.03343737870454788, -0.8636977076530457, -0.5530247092247009, 0.03615500405430794, -0.04922422394156456, 0.1916404664516449, -0.02989332750439644, 0.19529308378696442, 0.7411038279533386, -0.15386579930782318, 0.14300699532032013, 0.7911421060562134, -0.45130395889282227, -0.5036730766296387, 1.033337950706482, 0.24884958565235138, 0.4060768187046051, -0.05522910878062248, 0.028453519567847252, -0.48087412118911743, -0.36247944831848145, -0.4732132852077484, 0.3696710169315338, -0.9819920659065247, 0.1683366596698761, -0.5718047022819519, -0.32812511920928955, -0.33709314465522766, -0.061847373843193054, -0.27464205026626587, -0.042397111654281616, 0.03413262218236923, -0.033331770449876785, 0.46557947993278503, 0.716050922870636, 0.09853389114141464, -0.1074216291308403, -0.6612746119499207, 0.34857675433158875, 0.3854162096977234, 0.5981115102767944, 0.06459669768810272, -0.4469369351863861, -0.1406933069229126, -0.27490052580833435, 0.07778692245483398, -0.9017528295516968, 0.17933496832847595, 0.03814670443534851, 0.688517153263092, 0.36011603474617004, 0.103648841381073, 0.36044129729270935, -0.4447157382965088, 0.7996503114700317, -0.40106791257858276, -0.5947335958480835, 0.4877248704433441, -0.42583411931991577, 0.5569888353347778, 0.8135037422180176, 0.9801391363143921, -1.0620752573013306, -0.23121681809425354, -0.4075060784816742, -0.6188806295394897, 0.7966524958610535, -0.32578274607658386, 0.02345976047217846, -0.08271922916173935, 0.06520716100931168, 0.07787679880857468, 0.1860547810792923, -0.6028900146484375, -0.4125247597694397, 0.11077728867530823, -0.4314240515232086, 0.05758284404873848, -0.3605993688106537, -0.12723945081233978, -0.13590627908706665, 0.6745234131813049, -0.422953337430954, -0.2658239006996155, -0.213935986161232, -0.34084364771842957, -0.05376311019062996, 0.002098075347021222, 0.26622524857521057, 0.742034912109375, 0.013844894245266914, -0.04317030310630798, 0.3845096230506897, -0.8052586913108826, 0.1465492844581604, -0.21106009185314178, -0.313951700925827, -0.400472491979599, 0.1545325070619583, 0.505439281463623, 0.09748145192861557, -0.8811852335929871, 0.293838769197464, 0.21476073563098907, -0.10388143360614777, -0.14646925032138824, -0.05327075719833374, 0.41226664185523987, 0.2720613479614258, 0.30913540720939636, -0.4783281981945038, -0.06706739217042923, -0.43907612562179565, 0.2620525658130646, 0.23251020908355713, -0.36601635813713074, -0.3112761974334717, 0.5556931495666504, 0.27161601185798645, -0.18327200412750244, 0.8205328583717346, -0.26384419202804565, -0.935913622379303, 0.6952722668647766, 0.39957019686698914, 0.6727514266967773, -0.20881833136081696, 0.522794783115387, 0.47781914472579956, 0.35613396763801575, 0.20937420427799225, 0.6563529968261719, 0.3192436099052429, -0.7889599204063416, -0.5586701035499573, -0.603155791759491, -0.303300142288208, 0.5301176309585571, -0.667165219783783, 0.13548658788204193, -0.11080986261367798, 0.3185204565525055, -0.23211683332920074, 0.3516465723514557, -0.8216593265533447, 0.39155834913253784, 0.32742422819137573, 1.1078169345855713, -1.2535895109176636, 0.6603811383247375, 0.9148228168487549, -0.3651981055736542, -0.6810930967330933, 0.1807819902896881, 0.20992788672447205, -0.9351714849472046, 0.8512546420097351, 0.16490770876407623, 0.18037068843841553, -0.0846574604511261, -0.4215629994869232, -1.1489440202713013, 0.9483528137207031, 0.04874967038631439, 0.004190895240753889, 0.6943497061729431, 0.5767412781715393, 0.6201962232589722, -0.484159916639328, 0.28344404697418213, 0.9825921654701233, 0.38985204696655273, -0.014746952801942825, -0.846640408039093, 0.049902331084012985, -0.4041740596294403, -0.06592920422554016, 0.09776390343904495, -0.8887194395065308, 0.5143141746520996, 0.040993623435497284, -0.027314994484186172, -0.05745183303952217, 0.5803592205047607, 0.37007442116737366, 0.743072509765625, 0.5807733535766602, 0.547962486743927, 0.950623095035553, -0.12991683185100555, 0.6524580717086792, -0.474944531917572, -0.19007690250873566, 1.017154335975647, -0.5180623531341553, 0.9130575060844421, 0.07644304633140564, -0.3882753551006317, 0.3576061427593231, 0.6935042142868042, 0.052187275141477585, 0.3929407596588135, 0.273040771484375, -0.23089949786663055, -0.4378916621208191, -0.6977327466011047, -0.1578366458415985, 0.8096720576286316, 0.23636990785598755, -0.15725181996822357, 0.135820209980011, 0.008542981930077076, 0.34800785779953003, 0.3239266574382782, -0.5029024481773376, 0.7287659645080566, -0.22619661688804626, -0.7482617497444153, 0.4342232048511505, -0.459438294172287, 0.5793173313140869, -0.5704078674316406, 0.26635172963142395, -0.5234856605529785, -0.16742047667503357, -0.10887575149536133, -0.7792552709579468, -0.05947991460561752, -0.03816194459795952, -0.46715623140335083, 0.060568153858184814, 0.840426504611969, -0.7757126092910767, -0.30572980642318726, 0.36439740657806396, 0.6826611161231995, 0.5007264018058777, -0.00907632801681757, -0.45173409581184387, 0.06475057452917099, 0.09150426089763641, -0.1408344954252243, 0.38845154643058777, 0.32126709818840027, -0.2740669846534729, 0.8108721971511841, 0.6409486532211304, 0.16349700093269348, 0.2808859348297119, 0.3448637127876282, 0.5992805361747742, -0.7361949682235718, -0.24597197771072388, -0.5086263418197632, 0.28304633498191833, -0.22875429689884186, -0.5077201128005981, 0.6705788969993591, 0.4527515769004822, 1.2885476350784302, -0.10474387556314468, 0.8171366453170776, 0.07533931732177734, 0.7265578508377075, -0.38972821831703186, 0.8835538029670715, -0.601081371307373, -0.1859259158372879, -0.02108299918472767, -0.7233647108078003, 0.12316355854272842, 0.08378580212593079, -0.5683759450912476, 0.27038413286209106, 0.8168598413467407, 0.9006418585777283, 0.10039885342121124, 0.20975463092327118, 0.5689353942871094, 0.3273044526576996, -0.1303703933954239, 0.41861122846603394, 0.9387267231941223, -0.3213047981262207, 0.8063427209854126, -0.49505168199539185, -0.09695711731910706, -0.10306835919618607, -0.9298696517944336, -1.1077766418457031, -0.7440329790115356, -0.5160453915596008, -0.21815788745880127, -0.1941094845533371, 0.9631914496421814, 0.4975336194038391, -0.8362480998039246, -0.25256413221359253, 0.7571508884429932, 0.1959216594696045, -0.2199796438217163, -0.26335370540618896, 0.4777297377586365, -0.37847986817359924, -0.8873770833015442, 0.60830157995224, 0.20569060742855072, -0.10136554390192032, -0.25442221760749817, 0.03521997854113579, -0.17615322768688202, 0.0749831274151802, 0.4926353096961975, 0.26506873965263367, -0.6419163346290588, -0.20534424483776093, 0.34466519951820374, -0.15299828350543976, -0.327618807554245, 0.608754575252533, -0.9222536087036133, 0.465472012758255, 0.7651228904724121, 0.7889634370803833, -0.18339072167873383, -0.13983990252017975, 0.38048607110977173, -0.6039341688156128, -0.045738037675619125, 0.09599453210830688, -0.06278012692928314, 0.31428787112236023, -0.19886209070682526, 0.7938628196716309, 0.3758353292942047, -0.7330756187438965, -0.6317943334579468, 0.3167285919189453, -0.6783835291862488, 0.02204853482544422, 1.2940601110458374, -0.11995024234056473, -0.233614981174469, -0.3681970238685608, 0.04303387552499771, 0.0015027873450890183, -0.006908533629029989, 0.7317163348197937, 0.9637581706047058, 0.14414191246032715, 0.08983438462018967, -0.8675383925437927, 0.7365201115608215, 0.6317592859268188, -0.6935528516769409, 0.08846329152584076, 0.32142576575279236, 0.4203747510910034, 0.15418197214603424, 0.48263776302337646, -0.06053842231631279, 0.5375058650970459, -0.0380847230553627, 0.06808056682348251, 0.19426849484443665, -0.45469069480895996, -0.26824820041656494, 0.17795075476169586, -0.11085367947816849, -0.1640363484621048 ]
http://arxiv.org/abs/2403.06410v1
http://arxiv.org/pdf/2403.06410v1
A Logical Pattern Memory Pre-trained Model for Entailment Tree Generation
2024-03-11T03:45:09
2024-03-11T03:45:09
Li Yuan, Yi Cai, Haopeng Ren, Jiexin Wang
cs.CL
cs.CL, cs.AI
Generating coherent and credible explanations remains a significant challenge in the field of AI. In recent years, researchers have delved into the utilization of entailment trees to depict explanations, which exhibit a reasoning process of how a hypothesis is deduced from the supporting facts. However, existing models often overlook the importance of generating intermediate conclusions with logical consistency from the given facts, leading to inaccurate conclusions and undermining the overall credibility of entailment trees. To address this limitation, we propose the logical pattern memory pre-trained model (LMPM). LMPM incorporates an external memory structure to learn and store the latent representations of logical patterns, which aids in generating logically consistent conclusions. Furthermore, to mitigate the influence of logically irrelevant domain knowledge in the Wikipedia-based data, we introduce an entity abstraction approach to construct the dataset for pre-training LMPM. The experimental results highlight the effectiveness of our approach in improving the quality of entailment tree generation. By leveraging logical entailment patterns, our model produces more coherent and reasonable conclusions that closely align with the underlying premises. Code and Data are released at https://github.com/YuanLi95/T5-LMPM
[ -0.18117088079452515, -0.9688354730606079, 0.7752462029457092, -0.13600988686084747, -0.47702234983444214, -0.4187523424625397, -0.03855036944150925, -0.42077428102493286, 0.11242885887622833, 0.40846842527389526, -0.4395385980606079, -0.5601499080657959, -0.46127238869667053, -0.07209637016057968, -0.6942731142044067, 0.795872151851654, -0.2550772726535797, -0.09588948637247086, -0.38034409284591675, 0.11203853785991669, -0.6041427254676819, -0.27870556712150574, -0.6966774463653564, -0.2569277286529541, 0.3852153718471527, 0.24735583364963531, 0.3821295499801636, 1.0289229154586792, 0.31952279806137085, 0.381939560174942, 0.43753162026405334, 0.4746084213256836, -0.46493008732795715, 0.19466632604599, -0.2102801650762558, -0.569403886795044, -0.3544251024723053, 0.13673031330108643, 0.5268599987030029, 0.4875715672969818, -0.39422133564949036, 0.15242348611354828, -0.16515697538852692, 0.48204830288887024, -0.5640743374824524, 0.4182673990726471, -0.9926086664199829, -0.016239862889051437, -0.2864764630794525, -0.4812106490135193, -0.7071239948272705, -0.3693927526473999, 0.043411985039711, -0.8540424108505249, 0.12559735774993896, 0.1282714158296585, 1.1186022758483887, 0.5339958667755127, -0.009928792715072632, -0.23653723299503326, -0.6893294453620911, 0.4388764798641205, -0.7219211459159851, 0.3595488369464874, 0.4865534007549286, 0.27808627486228943, -0.23932293057441711, -0.787534773349762, -0.6004080772399902, -0.12219654023647308, -0.09426005184650421, 0.23708461225032806, 0.16415436565876007, -0.17380084097385406, 0.33295419812202454, -0.006085946690291166, -0.37502461671829224, -0.1750241369009018, -0.24688611924648285, -0.06241685524582863, 0.49491339921951294, 0.22425000369548798, 0.3030414581298828, 0.10561471432447433, -0.27014973759651184, 0.2449599653482437, -0.7926880121231079, 0.010012026876211166, 0.3092975914478302, 0.023498041555285454, 0.1823512315750122, 0.631342351436615, -0.09124521911144257, 0.8833447098731995, 0.30925247073173523, -0.3161757290363312, 0.14076779782772064, -0.25282275676727295, -0.410214900970459, 0.4791681468486786, 0.5591443777084351, 0.18481937050819397, 0.5181302428245544, -0.33361804485321045, -0.1547851860523224, 0.45642760396003723, 0.35491785407066345, -1.2050113677978516, -0.4413413405418396, 0.15477603673934937, -0.6157504320144653, -0.11245743930339813, 0.24601419270038605, -0.3679828643798828, -0.012810919433832169, -0.5975664258003235, 0.44420310854911804, -1.024105191230774, -0.24082595109939575, 0.30614638328552246, -0.032343827188014984, 0.24407847225666046, 0.6494505405426025, -0.5703686475753784, 0.2554178535938263, 0.6700575947761536, 0.5061405897140503, -0.02566230297088623, -0.2969154417514801, -0.42175742983818054, 0.7124903798103333, -0.555284857749939, 0.7704461216926575, -0.81502366065979, -0.0351075679063797, -0.2760925590991974, -0.09746464341878891, -0.047362178564071655, -0.4513165056705475, 0.40721166133880615, -0.652821958065033, 0.38243675231933594, -0.04575052112340927, -0.8514306545257568, -0.40921705961227417, 0.3163159489631653, -0.34724730253219604, 0.6758525967597961, -0.15265478193759918, -1.0520896911621094, 0.4576301574707031, -0.3612865209579468, -0.42709293961524963, -0.09798766672611237, -0.6533999443054199, -0.45313236117362976, 0.04240284860134125, 0.07115048915147781, 0.29453355073928833, -0.277785062789917, 0.5260517001152039, -0.2276524007320404, -0.3019832372665405, 0.09195301681756973, -0.2558583617210388, 0.8286400437355042, 0.08723050355911255, -0.3071672320365906, 0.1302340179681778, -0.6961607336997986, 0.060454316437244415, 0.3571789562702179, -0.19094452261924744, -0.5028371214866638, 0.3808872401714325, -0.787826418876648, 0.16100674867630005, 0.12978646159172058, -0.3680118918418884, -0.17853541672229767, -0.3851412534713745, 0.20339345932006836, 0.9269123673439026, 0.05663838982582092, 0.3218967318534851, -0.40165573358535767, 0.0539960116147995, 0.7419666051864624, -0.23800870776176453, -0.7094511985778809, -0.5909250378608704, -0.8425582051277161, -0.21917593479156494, 0.11920695006847382, 0.4771850109100342, -0.5447632670402527, 0.6240034103393555, -0.3728832006454468, -0.34962889552116394, -0.21844330430030823, 0.005802573170512915, 0.24967065453529358, 1.0108174085617065, 0.32103216648101807, -0.4255266487598419, -0.5982566475868225, -0.8024885654449463, -0.3634629249572754, -0.32620325684547424, 0.05954155698418617, 0.0031057028099894524, 0.5862356424331665, -0.16807976365089417, 1.1486213207244873, -0.4040016233921051, -0.01944103091955185, 0.20755553245544434, -0.038353536278009415, 0.13229496777057648, 0.6781626343727112, 0.3096795380115509, -0.730521023273468, -0.40272778272628784, -0.36239442229270935, -0.8139975666999817, 0.25083479285240173, -0.17993521690368652, -0.5393694043159485, 0.22695502638816833, 0.5140215754508972, -1.241418480873108, 0.4922184646129608, -0.06870052218437195, -0.38576918840408325, 0.26159408688545227, -0.1601896584033966, 0.028119903057813644, -1.0614603757858276, -0.06965766102075577, -0.05594370886683464, -0.20197363197803497, -0.37768658995628357, -0.13116641342639923, -0.09790179878473282, 0.017178010195493698, -0.19443118572235107, 0.14412373304367065, -0.38844481110572815, 0.191973477602005, 0.03142666071653366, -0.07755456864833832, 0.045070670545101166, 0.504456102848053, 0.19034752249717712, 0.34928905963897705, 0.6286015510559082, -0.7599822282791138, 0.2208971530199051, 0.10936373472213745, -0.4924432337284088, 0.3018965721130371, -0.4138956665992737, 0.07395964860916138, -0.5947338938713074, 0.3111928105354309, -0.6231867671012878, -0.308514267206192, 0.6060060262680054, -0.4202078580856323, 0.4770767390727997, -0.01304949726909399, -0.495917946100235, -0.00840873084962368, -0.10895834863185883, 0.21568895876407623, 0.7485616207122803, -0.5524455308914185, 0.7678743004798889, 0.3059805929660797, 0.20648331940174103, -0.2468649446964264, -0.49115893244743347, -0.452218621969223, -0.42322883009910583, -0.8092038035392761, 0.49296465516090393, -0.005137627478688955, -0.4677266478538513, 0.3228755295276642, -0.44716373085975647, -0.02766237035393715, -0.03994997963309288, 0.28165093064308167, 0.15361644327640533, -0.512572169303894, 0.2846941649913788, -0.3551587164402008, -0.20004740357398987, 0.5057898163795471, -0.5628613829612732, 0.4058527648448944, -0.002070694463327527, -0.5895167589187622, -0.3668577969074249, 0.17666438221931458, 0.09920437633991241, -0.4204675257205963, 0.8190015554428101, 0.2800828516483307, -0.7889014482498169, -0.5142107605934143, -0.21031813323497772, -0.2436043918132782, -0.44645586609840393, 0.3237861394882202, -0.4922313392162323, -0.3633531332015991, 0.1873396635055542, -0.31206580996513367, 0.15111050009727478, 0.5003608465194702, 0.3603445291519165, -0.22560933232307434, 0.9651939868927002, 0.39186280965805054, 0.11955717206001282, 0.3594975471496582, -0.11200875788927078, 0.25288936495780945, -0.16292068362236023, -0.4591320753097534, -0.3819008767604828, -0.1269499808549881, -0.3701147437095642, -0.5849806666374207, -0.24078106880187988, 0.5215816497802734, -0.7340563535690308, -0.06157134845852852, -0.5240039825439453, 0.5501965284347534, 0.5570886135101318, 0.3354308307170868, 0.4221137464046478, 0.3267584443092346, 0.24035613238811493, -0.0634564533829689, -0.7245864868164062, -0.5949599742889404, 0.911119818687439, 0.19267132878303528, 0.7394442558288574, 0.01221241895109415, 0.8015791177749634, 0.03015369549393654, 0.4396989941596985, -0.6369815468788147, 0.7537007331848145, 0.09262640029191971, -0.28145354986190796, -0.36899858713150024, -0.5653306245803833, -0.761162281036377, 0.04574478045105934, 0.026090338826179504, -0.5805820822715759, -0.19586648046970367, 0.4160946309566498, -0.15121357142925262, 0.3460248112678528, -0.7183380722999573, 0.8001475930213928, -0.31975898146629333, -0.17435002326965332, -0.38878151774406433, -0.4092656970024109, 0.7813381552696228, -0.26493772864341736, -0.007716669235378504, -0.2305397093296051, -0.012476326897740364, 0.7218613624572754, -0.7419834136962891, 0.8087629079818726, -0.3257697522640228, -0.0956290066242218, 0.6754657626152039, 0.10546226054430008, 0.735345721244812, 0.2143053412437439, -0.03571467474102974, 0.15199311077594757, -0.46247398853302, -0.28125202655792236, -0.5910360813140869, 0.5325430035591125, -0.7822862267494202, -0.9701496958732605, -0.31719210743904114, -0.3585340976715088, -0.1276862919330597, 0.2733767032623291, 0.27118581533432007, 0.2539713978767395, -0.011396799236536026, -0.05061894655227661, 1.0458221435546875, -0.18300744891166687, 0.16870813071727753, 0.4573509693145752, -0.18668104708194733, 0.052461251616477966, 1.0349583625793457, 0.13676397502422333, 0.010510582476854324, 0.4697783887386322, 0.12475713342428207, 0.025562815368175507, -0.6909545660018921, -0.31098252534866333, -0.06560194492340088, -0.7278518080711365, -0.33219730854034424, -0.5700497031211853, -0.5318699479103088, -0.1486961841583252, 0.13707399368286133, -0.15802700817584991, -0.3178505003452301, -0.02533571980893612, -0.1492922157049179, 0.5256989002227783, 0.46017786860466003, 0.2138337641954422, 0.05833066999912262, -0.5236638188362122, 0.637825071811676, 0.24342697858810425, 0.2732887268066406, 0.027267474681138992, -0.504677951335907, -0.19210925698280334, 0.24771235883235931, -0.3205247223377228, -0.8972799181938171, 0.18276871740818024, 0.3065621554851532, 0.6472890973091125, 0.7295474410057068, -0.010581581853330135, 0.8858520984649658, -0.857387363910675, 0.3694206774234772, 0.2624271810054779, -0.6715794205665588, 0.8581258654594421, -0.27645567059516907, -0.006008547265082598, 0.1521761417388916, 0.5154186487197876, 0.03797262907028198, -0.4005086421966553, -0.8448458909988403, -0.6426105499267578, 0.8465831875801086, 0.11496264487504959, -0.21266888082027435, -0.1333274394273758, 0.3519362807273865, 0.14626994729042053, 0.10610708594322205, -0.5092545747756958, -0.2565346956253052, -0.5653697848320007, -0.426932692527771, 0.023078763857483864, 0.024781854823231697, -0.17798253893852234, -0.3595244288444519, 0.7634944319725037, 0.03220593184232712, 0.274792343378067, 0.05522588640451431, -0.1906849890947342, -0.13833066821098328, -0.11337892711162567, 0.34411776065826416, 0.8452427387237549, -0.12482455372810364, 0.3587377071380615, -0.028669381514191628, -0.43151354789733887, 0.02296522818505764, 0.12077758461236954, -0.5715695023536682, 0.2651014029979706, 0.4666336178779602, 0.5863115787506104, -0.2684711515903473, -0.5829870700836182, 0.2795519530773163, 0.11632107943296432, -0.1096283569931984, -0.5201225876808167, 0.3847229480743408, 0.41859450936317444, -0.021605217829346657, 0.10247471183538437, 0.33145204186439514, -0.12985005974769592, -0.5912330150604248, 0.2706688940525055, 0.3930050730705261, 0.06782291829586029, -0.283139169216156, 0.6528329849243164, 0.0460636243224144, -0.1618584394454956, 0.8787409663200378, 0.010776964016258717, -0.1866379827260971, 0.841830313205719, 0.7558683753013611, 0.5673753619194031, -0.24707891047000885, 0.024186208844184875, 0.5246863961219788, 0.37914901971817017, -0.15679877996444702, 0.3711082339286804, -0.019541993737220764, -0.9715821743011475, -0.4242519438266754, -0.6251017451286316, 0.09046638011932373, 0.14984031021595, -0.22318267822265625, 0.2829141616821289, -0.5900516510009766, 0.16405688226222992, -0.008784439414739609, -0.25567132234573364, -0.6880331039428711, 0.4057351052761078, 0.014017297886312008, 1.164509892463684, -0.40651586651802063, 1.273762822151184, 0.4991469383239746, -0.5936912894248962, -1.0827664136886597, 0.13180691003799438, -0.28255167603492737, -0.8248465657234192, 0.7615807056427002, 0.4520968496799469, -0.12616370618343353, 0.003437355626374483, -0.6523892283439636, -0.8757103085517883, 1.1153537034988403, 0.644514262676239, -0.4912484884262085, -0.16394229233264923, 0.11947950720787048, 0.16287001967430115, -0.5902016162872314, 0.0836636871099472, 0.36012011766433716, 0.5956203937530518, 0.05272964760661125, -0.1803874373435974, 0.331617534160614, -0.26978766918182373, -0.06986841559410095, 0.2512950301170349, -0.40681207180023193, 0.9754812121391296, -0.40354737639427185, -0.5857554078102112, -0.12064670026302338, 0.8606029152870178, 0.5947847962379456, 0.21529357135295868, 0.5394297242164612, 0.9399848580360413, 0.9074144959449768, -0.04101698473095894, 0.7589774131774902, -0.4952999949455261, -0.26136118173599243, 1.5507750511169434, -0.21337759494781494, 0.7740744352340698, 0.5065536499023438, 0.10407665371894836, 0.6730254888534546, 0.884607195854187, 0.13700485229492188, 0.558247983455658, 0.3184064030647278, -0.08908676356077194, -0.523338258266449, 0.019720742478966713, -0.6724430918693542, 0.3137058913707733, 0.5529446601867676, -0.5571767091751099, -0.1959928572177887, -0.6856231689453125, -0.14768272638320923, 0.0047632381319999695, -0.5368777513504028, 0.6205166578292847, 0.17772383987903595, -0.8260204195976257, 0.27788442373275757, 0.16563042998313904, 0.39000004529953003, -0.8050414323806763, -0.4070608913898468, -0.14330488443374634, 0.31321075558662415, -0.39125990867614746, -0.4974895715713501, 0.40690889954566956, -0.05729006975889206, -0.3085545301437378, -0.3972921073436737, 0.910366952419281, -0.5371013879776001, -0.47673648595809937, 0.06957341730594635, 0.5002779364585876, 0.2213921695947647, 0.14294253289699554, -0.4895297884941101, -0.2916448414325714, -0.13453203439712524, -0.31014713644981384, 0.07275422662496567, 1.0858197212219238, -0.2830052971839905, 0.4393670856952667, 0.8247689604759216, -0.07688730955123901, 0.1527414619922638, -0.10643379390239716, 0.8252708315849304, -0.6350054740905762, -0.5318958163261414, -1.225109577178955, 0.45132777094841003, -0.08894787728786469, 0.0913250744342804, 0.9671131372451782, 0.7038766145706177, 1.1184883117675781, -0.07979881018400192, 0.5625026822090149, 0.00789061188697815, 0.263760507106781, -0.744455873966217, 0.5744746923446655, -0.2462790310382843, 0.20550978183746338, -0.017027270048856735, -0.8027981519699097, 0.08524224907159805, 0.7822483777999878, 0.02304406277835369, 0.15394632518291473, 0.702597439289093, 0.7141532897949219, -0.2734527587890625, 0.23176155984401703, 0.06346633285284042, 0.5151212811470032, 0.008246579207479954, 0.6286736726760864, 1.0927612781524658, -0.15633097290992737, 0.4363844394683838, 0.005628838669508696, 0.031684957444667816, 0.244707852602005, -0.8910046219825745, -0.8856580853462219, -0.37403982877731323, -0.33302736282348633, -0.36732035875320435, 0.12066787481307983, 0.6855875253677368, 0.7402891516685486, -0.7641725540161133, 0.0024550578091293573, -0.6558975577354431, 0.15807309746742249, 0.10274384170770645, -0.16142123937606812, 0.3544740080833435, -0.44325295090675354, -0.3276236951351166, 0.18777626752853394, 0.27320152521133423, 0.07358571141958237, -0.10869325697422028, -0.5097552537918091, -0.17561182379722595, 0.18657729029655457, 0.3987566828727722, -0.007327946834266186, -0.7833041548728943, -0.2449457049369812, -0.23612704873085022, -0.0839524045586586, 0.14649276435375214, 0.8876127004623413, -1.090319275856018, 0.1787545531988144, 0.5130143761634827, 0.7963285446166992, 0.3791236877441406, 0.07985013723373413, 0.7256641387939453, -0.40439116954803467, 0.18800203502178192, 0.0778970718383789, 0.6127462387084961, 0.12515874207019806, -0.2919357717037201, 0.48719388246536255, 0.3368011713027954, -0.004525807686150074, -0.6187187433242798, 0.28088051080703735, -0.5533246397972107, -0.48876523971557617, 0.7587069869041443, -0.3496902883052826, -0.3073713779449463, -0.014114533551037312, 0.030636508017778397, 0.46414437890052795, -0.2905932664871216, 0.7583036422729492, 0.6336755156517029, -0.17125917971134186, -0.07567674666643143, -0.345736563205719, 0.7271967530250549, 0.32081833481788635, -1.1245213747024536, -0.21262924373149872, 0.5974016785621643, 0.22758406400680542, 0.15969067811965942, 0.8250998854637146, 0.056780047714710236, 0.21171048283576965, 0.31700506806373596, -0.24266834557056427, -0.2075480967760086, -0.5582420825958252, 0.17515315115451813, 0.20274896919727325, -0.09203905612230301, -0.28796082735061646 ]
http://arxiv.org/abs/2403.09712v1
http://arxiv.org/pdf/2403.09712v1
A Knowledge-Injected Curriculum Pretraining Framework for Question Answering
2024-03-11T03:42:03
2024-03-11T03:42:03
Xin Lin, Tianhuang Su, Zhenya Huang, Shangzi Xue, Haifeng Liu, Enhong Chen
cs.CL
cs.CL, cs.AI
Knowledge-based question answering (KBQA) is a key task in NLP research, and also an approach to access the web data and knowledge, which requires exploiting knowledge graphs (KGs) for reasoning. In the literature, one promising solution for KBQA is to incorporate the pretrained language model (LM) with KGs by generating KG-centered pretraining corpus, which has shown its superiority. However, these methods often depend on specific techniques and resources to work, which may not always be available and restrict its application. Moreover, existing methods focus more on improving language understanding with KGs, while neglect the more important human-like complex reasoning. To this end, in this paper, we propose a general Knowledge-Injected Curriculum Pretraining framework (KICP) to achieve comprehensive KG learning and exploitation for KBQA tasks, which is composed of knowledge injection (KI), knowledge adaptation (KA) and curriculum reasoning (CR). Specifically, the KI module first injects knowledge into the LM by generating KG-centered pretraining corpus, and generalizes the process into three key steps that could work with different implementations for flexible application. Next, the KA module learns knowledge from the generated corpus with LM equipped with an adapter as well as keeps its original natural language understanding ability to reduce the negative impacts of the difference between the generated and natural corpus. Last, to enable the LM with complex reasoning, the CR module follows human reasoning patterns to construct three corpora with increasing difficulties of reasoning, and further trains the LM from easy to hard in a curriculum manner. We provide an implementation of the general framework, and evaluate the proposed KICP on four real-word datasets. The results demonstrate that our framework can achieve higher performances.
[ -0.4109179973602295, -0.7828686833381653, 0.562923014163971, 0.08500417321920395, -0.3102332651615143, 0.055293288081884384, 0.06620378792285919, -0.1486215889453888, -0.07711148262023926, 0.7058979272842407, -0.4612874388694763, -0.5501581430435181, -0.5479527711868286, -0.15333682298660278, -0.14406129717826843, 0.6162245869636536, -0.11706153303384781, 0.13901811838150024, -0.37662273645401, 0.13100431859493256, -0.6664603352546692, -0.5149793028831482, -0.36991164088249207, -0.26567795872688293, 0.26485535502433777, 0.43192946910858154, 0.4709429442882538, 0.2825823426246643, 0.04553679749369621, 0.22313447296619415, 0.13256828486919403, 0.18995052576065063, -0.35298171639442444, -0.21696992218494415, -0.16470447182655334, -0.6467088460922241, -0.2599778473377228, -0.08555146306753159, 0.48165714740753174, 0.7812243700027466, -0.16357934474945068, -0.042748525738716125, 0.18017013370990753, 0.7185861468315125, -1.0769026279449463, 0.13658075034618378, -0.6824660897254944, -0.017673464491963387, 0.1325138509273529, -0.15152719616889954, -0.49790093302726746, -0.4850795567035675, 0.35058748722076416, -1.0800474882125854, -0.16668832302093506, 0.03757763281464577, 0.8300150632858276, 0.13656920194625854, -0.5811563730239868, -0.7230893969535828, -0.26321399211883545, 0.6537476181983948, -0.6205772161483765, 0.5150477886199951, 0.6412002444267273, 0.7140974402427673, -0.21440140902996063, -1.0642575025558472, -0.6995423436164856, 0.03820766136050224, -0.28104448318481445, 0.34671980142593384, 0.18667072057724, 0.2698996961116791, -0.08590272814035416, 0.02045176550745964, -0.6488972306251526, -0.160832941532135, -0.41531381011009216, -0.4024845063686371, 0.06481615453958511, 0.050062887370586395, 0.3354901671409607, -0.23653960227966309, -0.3056288957595825, -0.06770381331443787, -0.6592692136764526, 0.28015902638435364, 0.3855796456336975, 0.25125378370285034, -0.03843695670366287, 0.2675393223762512, -0.4455539584159851, 0.8669017553329468, -0.12515632808208466, -0.041986752301454544, 0.1439276784658432, -0.09613601118326187, -0.3010472059249878, 0.14368164539337158, 0.4981885254383087, 0.20954403281211853, 0.5958952307701111, -0.36875972151756287, 0.3646600842475891, -0.1192021295428276, 0.6079931855201721, -0.8336347341537476, -0.33454060554504395, 0.1474328339099884, -0.10541097819805145, -0.23557932674884796, -0.288085013628006, -0.6715470552444458, 0.046220600605010986, -0.3778316378593445, 0.7062478065490723, -0.6812155842781067, -0.1894860863685608, 0.4646940529346466, -0.06497768312692642, 0.5195279121398926, 0.3977258801460266, -0.6154201626777649, 0.08565644919872284, 0.5363997220993042, 0.35110995173454285, -0.06001158431172371, -0.11716394126415253, -0.21865983307361603, 0.3584871292114258, -0.2692849040031433, 0.6549541354179382, -0.5372796058654785, -0.2136813849210739, 0.1578841507434845, -0.046580780297517776, -0.2388884574174881, -0.3638356924057007, 0.3315369188785553, -1.1170583963394165, 0.5019239783287048, -0.4130648076534271, -0.6233590841293335, -0.2775612771511078, 0.6357364058494568, -0.2387838512659073, 0.8672181963920593, 0.3415501117706299, -0.7556674480438232, 0.2954241931438446, -0.7452033758163452, -0.26671698689460754, 0.18561293184757233, -0.1575978547334671, -0.040436286479234695, -0.6361692547798157, 0.4201582372188568, 0.4050276279449463, -0.34812673926353455, 0.5541523694992065, -0.08674909174442291, -0.3966502249240875, -0.08409924060106277, 0.08661539107561111, 1.0293692350387573, 0.19668832421302795, -0.15668566524982452, -0.13984446227550507, -0.6991919875144958, 0.6196720600128174, -0.0585588663816452, -0.44086089730262756, -0.2313614934682846, -0.26428112387657166, -0.432862788438797, 0.16513592004776, 0.0769294872879982, -0.34988224506378174, 0.12700864672660828, -0.6389564275741577, 0.31777745485305786, 0.5493274927139282, 0.2144034057855606, 0.5714776515960693, -0.07706940919160843, 0.7875649929046631, 0.26174405217170715, 0.035221587866544724, 0.029262395575642586, -0.41194242238998413, -0.7112331390380859, -0.25915175676345825, 0.3941802680492401, 0.7612936496734619, -1.2466524839401245, 0.444324254989624, -0.07933437824249268, -0.632479727268219, -0.4850839078426361, 0.10661880671977997, 0.6626446843147278, 0.9695213437080383, 0.7190138697624207, -0.18956899642944336, -0.39331725239753723, -0.849970281124115, -0.2318262755870819, -0.26189523935317993, -0.30740949511528015, 0.25629207491874695, 0.29757803678512573, -0.006433731876313686, 1.2778525352478027, -0.736748218536377, -0.07690025120973587, -0.37415602803230286, 0.20432141423225403, 0.18789564073085785, 0.5143219828605652, 0.5628646016120911, -0.8579307198524475, -0.4191558361053467, -0.3760782480239868, -0.6444430351257324, -0.15910747647285461, 0.16942866146564484, -0.6456884145736694, -0.23594877123832703, 0.3750954568386078, -0.39910897612571716, 0.4212336540222168, 0.19058889150619507, -0.30319857597351074, 1.0035419464111328, -0.01845887489616871, 0.24735714495182037, -1.0692418813705444, 0.15270023047924042, -0.4805755913257599, -0.00764768011868, -0.7288408875465393, 0.11347370594739914, 0.2557731568813324, -0.1840202659368515, -0.7364869713783264, 0.5937677025794983, -0.06036121025681496, 0.19003631174564362, -0.03432079404592514, 0.1664978414773941, 0.34401893615722656, 0.8100023865699768, -0.013032247312366962, 0.6963168978691101, 0.4034861922264099, -0.8875985145568848, 0.10848589986562729, 0.40164947509765625, -0.6181552410125732, 0.39060738682746887, -0.5367684364318848, 0.19329208135604858, -0.40809303522109985, 0.37080448865890503, -0.9078494906425476, -0.09223438054323196, 0.40583178400993347, -0.3914758265018463, 0.22425715625286102, -0.0423857681453228, -0.28771862387657166, -0.3274950385093689, -0.032699380069971085, 0.45965930819511414, 0.39815035462379456, -0.38394322991371155, 0.7641012668609619, 0.12100904434919357, -0.024894852191209793, -0.9564704298973083, -0.5302435755729675, -0.33257201313972473, 0.0501251257956028, -0.5029088854789734, 0.31393003463745117, -0.16381625831127167, 0.32387402653694153, 0.12299907952547073, 0.1063305214047432, -0.5596608519554138, 0.15500283241271973, -0.0013567113783210516, 0.227522075176239, -0.37208348512649536, 0.25338029861450195, 0.35794511437416077, -0.13582472503185272, 0.07414156198501587, -0.3334234058856964, 0.7140254974365234, -0.11037018895149231, -0.4846158027648926, -0.3025941848754883, 0.16243408620357513, 0.27818670868873596, -0.22585909068584442, 0.671093761920929, 0.5625532865524292, -0.2236286848783493, 0.03266989812254906, -0.6079167723655701, -0.034836865961551666, -0.488239049911499, 0.5870378613471985, -0.38483938574790955, -1.0656036138534546, 0.22260349988937378, -0.35330137610435486, -0.1335759162902832, 0.17769357562065125, 0.39223819971084595, -0.23473408818244934, 0.6499652862548828, 0.3161892294883728, -0.0417376384139061, -0.10686562210321426, -0.23635654151439667, 0.2649397552013397, -0.8079962730407715, -0.2597018778324127, -0.5443596839904785, -0.10764812678098679, -0.1455114781856537, -0.47157007455825806, 0.2366776019334793, 0.7611552476882935, -0.6546041369438171, 0.16328567266464233, -0.42967426776885986, 0.551875114440918, 0.49522408843040466, 0.09390275180339813, -0.0076930103823542595, -0.2578282654285431, -0.6685989499092102, 0.046387046575546265, -0.8473008871078491, -0.41936904191970825, 1.1453038454055786, -0.09050372987985611, 0.17337413132190704, -0.032951947301626205, 0.4082460105419159, 0.06567773222923279, 0.4911991059780121, -0.45918339490890503, 0.6213105320930481, 0.06588312983512878, -0.7490405440330505, -0.2493385672569275, -0.39024409651756287, -0.7505174279212952, 0.15841808915138245, -0.32710927724838257, -0.8086950778961182, -0.00343951303511858, 0.376855731010437, -0.2696394920349121, 0.17327317595481873, -0.8519590497016907, 0.9864658713340759, -0.2059628963470459, -0.06555897742509842, -0.03350093215703964, -0.9560022354125977, 0.4112212359905243, -0.10919317603111267, 0.22541217505931854, 0.11274129897356033, 0.17448236048221588, 0.692704975605011, -0.210932195186615, 0.7389577627182007, -0.6740515232086182, 0.266032874584198, 0.6283547282218933, -0.012380789034068584, 0.27355918288230896, -0.09538102895021439, -0.1499699056148529, -0.16611343622207642, 0.301281601190567, -0.6652052402496338, -0.8235269784927368, 0.16629399359226227, -0.9689334034919739, -0.6860811710357666, 0.05386162921786308, -0.6956015229225159, -0.7888185381889343, 0.3677518665790558, 0.04874471575021744, 0.30016881227493286, -0.17741510272026062, 0.348247766494751, 0.504718005657196, -0.6117461323738098, -0.11716575175523758, 0.4489513039588928, -0.3242643177509308, -0.6096875071525574, 0.7741659879684448, 0.050326909869909286, 0.5115218758583069, 0.6118531823158264, 0.3134441673755646, -0.4458725154399872, -0.4197116792201996, -0.5945145487785339, -0.040657296776771545, -0.8446253538131714, -0.2490576207637787, -0.8927952647209167, -0.3195466101169586, -0.7250837683677673, -0.5053784251213074, -0.05203990265727043, -0.3247147500514984, -0.01815570518374443, 0.035066284239292145, -0.03590976074337959, 0.20803198218345642, 0.3427256941795349, 0.7576729655265808, -0.7371329069137573, 0.415508508682251, 0.6943629384040833, 0.14836490154266357, 0.19961991906166077, -0.4676612317562103, -0.07112476229667664, 0.17706122994422913, -0.4230613112449646, -0.8335022926330566, 0.12027386575937271, 0.15280257165431976, 0.5966708064079285, 0.39238816499710083, 0.23385001718997955, 0.8261155486106873, -0.32320812344551086, 0.6418654322624207, 0.25687870383262634, -0.7841589450836182, 0.36860015988349915, -0.1890108585357666, 0.6594604849815369, 0.8825634717941284, 0.8382920026779175, -0.43064749240875244, -0.3531458377838135, -0.43656888604164124, -0.8038696646690369, 0.612766444683075, 0.11198977380990982, 0.10443639755249023, -0.05857706442475319, 0.7037140727043152, -0.013609147630631924, 0.4764805734157562, -0.5735887289047241, -0.06346222013235092, -0.44013074040412903, -0.4244951903820038, 0.362672358751297, -0.326076865196228, 0.1131264716386795, -0.382720947265625, 0.9133963584899902, -0.2935125529766083, 0.10998581349849701, 0.07017749547958374, -0.3564346134662628, 0.40066781640052795, 0.3769940137863159, 0.18738259375095367, 0.7294167876243591, -0.2769334316253662, 0.10245199501514435, 0.42873868346214294, -0.6145877838134766, 0.08720964938402176, -0.1690850704908371, -0.14497289061546326, -0.49195224046707153, 0.31900784373283386, 0.46483492851257324, 0.3780314326286316, -0.8583834171295166, 0.6906355619430542, 0.051040168851614, -0.4011287987232208, -0.17536970973014832, 0.22627505660057068, 0.676691472530365, 0.13210944831371307, 0.35145074129104614, -0.353208988904953, -0.16619299352169037, -0.2912653088569641, 0.2230660766363144, 0.2376459240913391, -0.32600417733192444, -0.012665917165577412, 0.42271479964256287, 0.03463270142674446, -0.07235928624868393, 0.8801859617233276, -0.3831718862056732, -0.9123095870018005, 0.6374507546424866, 0.7564737200737, 0.3566237688064575, -0.2992948591709137, 0.2609044015407562, 0.6262515187263489, 0.19559605419635773, 0.30654507875442505, 0.305378794670105, -0.3013865351676941, -1.0680737495422363, -0.6510033011436462, -0.9268142580986023, -0.3268069326877594, 0.23418590426445007, -0.7004395127296448, 0.36090731620788574, -0.4081122577190399, 0.39356714487075806, -0.25657764077186584, -0.07839799672365189, -0.7582556009292603, 0.569602906703949, -0.2273278832435608, 1.0369395017623901, -0.7263336777687073, 1.0022671222686768, 0.6695107817649841, -0.2421119064092636, -1.1839033365249634, -0.14610709249973297, -0.269713819026947, -1.1196179389953613, 0.8638647794723511, 0.2660103440284729, 0.08361271023750305, 0.3065353333950043, -0.5128864049911499, -0.6085329055786133, 1.2908929586410522, 0.40055492520332336, -0.23433509469032288, -0.3430132567882538, 0.6155949831008911, 0.3114042580127716, -0.41255906224250793, 0.23989945650100708, 0.3533143997192383, 0.5321663022041321, 0.45425868034362793, -0.4263104498386383, -0.050321776419878006, -0.1298808753490448, -0.37950068712234497, 0.17323197424411774, -0.19928386807441711, 0.36564019322395325, 0.11448618769645691, -0.039231665432453156, -0.16181398928165436, 0.6028990745544434, 0.40666434168815613, 0.19492629170417786, 0.8047797679901123, 0.8541936874389648, 0.6513650417327881, 0.1434231698513031, 0.6576966643333435, -0.38406825065612793, 0.0543823204934597, 1.207579255104065, -0.16669103503227234, 0.6458988189697266, 0.31145790219306946, -0.3123369812965393, 0.5443654656410217, 0.33188262581825256, 0.4728778600692749, 0.6811981797218323, 0.36183133721351624, -0.2123325765132904, -0.6301793456077576, 0.008113539777696133, -0.5039281249046326, 0.5355408191680908, 0.503905177116394, -0.08476967364549637, -0.497504323720932, -0.0270833820104599, 0.07173782587051392, -0.04260044917464256, -0.23882320523262024, 0.5269210934638977, 0.026835236698389053, -0.6744866967201233, 0.47729793190956116, -0.16971364617347717, 0.3432917594909668, -1.0619856119155884, -0.14129985868930817, 0.2273920476436615, -0.22544695436954498, 0.030411366373300552, -0.6127880811691284, 0.29914647340774536, -0.06076670438051224, 0.003895675530657172, -0.154593363404274, 1.023928165435791, -0.3953317105770111, -0.33901312947273254, 0.30982428789138794, 0.6349396705627441, 0.1540527492761612, -0.021446075290441513, -0.6349917054176331, -0.5207390785217285, 0.03345029428601265, -0.31722262501716614, 0.5722931623458862, 0.565060555934906, 0.14641578495502472, 0.505159318447113, 0.8187735676765442, -0.11093053221702576, 0.0007494171732105315, -0.05621296912431717, 1.0953209400177002, -0.38518041372299194, -0.6701896786689758, -0.3732406795024872, 0.551551878452301, 0.03973362222313881, -0.23601149022579193, 0.17101092636585236, 0.4942881464958191, 0.7644014954566956, -0.0015216906322166324, 0.6578627228736877, -0.19290481507778168, 0.4489833414554596, -0.5461416244506836, 0.9572314620018005, -0.3610847592353821, -0.1445501446723938, -0.33063483238220215, -0.6589095592498779, -0.23877689242362976, 0.4924700856208801, -0.6017836928367615, -0.13930733501911163, 0.659119725227356, 0.8500727415084839, 0.019750051200389862, 0.19366680085659027, 0.41770845651626587, 0.09382675588130951, 0.2453845888376236, 0.7308367490768433, 0.6664378643035889, -0.10137882083654404, 0.8055513501167297, -0.2844218313694, -0.14389388263225555, 0.07645706087350845, -1.0491509437561035, -0.6904363632202148, -0.5992023944854736, 0.0089271180331707, -0.2889440655708313, 0.3169856667518616, 0.7588016986846924, 0.6287747025489807, -0.7084755897521973, 0.15910950303077698, -0.23539334535598755, -0.027699876576662064, 0.14403986930847168, -0.26740381121635437, 0.708737313747406, -0.5217982530593872, -0.32794302701950073, 0.21271029114723206, 0.0325007401406765, -0.31558510661125183, 0.027256950736045837, -0.22985777258872986, -0.5918054580688477, -0.0881301760673523, 0.5878535509109497, 0.1841878890991211, -0.3595432937145233, -0.6525938510894775, -0.020231178030371666, 0.08782093226909637, -0.02313532866537571, 0.7421558499336243, -1.0962883234024048, 0.6681426167488098, 0.3623557686805725, 1.2946628332138062, 0.45051246881484985, -0.03687911480665207, 0.4888767898082733, -0.7847601175308228, 0.1553068459033966, 0.41033458709716797, 0.08146167546510696, -0.03517848625779152, -0.13573677837848663, 0.30073195695877075, 0.17100965976715088, -0.4471869170665741, -0.6185824871063232, 0.3369166851043701, -0.8473430871963501, -0.4377157986164093, 0.7968407273292542, -0.4491795003414154, -0.12259677797555923, -0.5738065838813782, -0.10646242648363113, 0.5461282134056091, 0.08058753609657288, 0.6797782778739929, 0.8930610418319702, 0.0077268886379897594, 0.11377175152301788, -0.7279115319252014, 0.31081104278564453, 0.6584358215332031, -0.9060282707214355, -0.2433098703622818, 0.17256125807762146, 0.3287316560745239, 0.22901791334152222, 0.8626512885093689, -0.16879776120185852, 0.32656002044677734, -0.32009032368659973, 0.19771400094032288, -0.23176680505275726, -0.1673685610294342, 0.4596812129020691, 0.4860835075378418, -0.009644837118685246, -0.006131697911769152 ]
http://arxiv.org/abs/2403.06402v1
http://arxiv.org/pdf/2403.06402v1
'One size doesn't fit all': Learning how many Examples to use for In-Context Learning for Improved Text Classification
2024-03-11T03:28:13
2024-03-11T03:28:13
Manish Chandra, Debasis Ganguly, Yiwen Li, Iadh Ounis
cs.CL
cs.CL, cs.LG
Predictive models in natural language processing (NLP) have evolved from training models from scratch to fine-tuning pre-trained models with labelled data. An extreme form of this fine-tuning involves in-context learning (ICL), where the output of a pre-trained generative model (frozen decoder parameters) is controlled only with variations in the input strings (called instructions or prompts). An important component of ICL is the use of a small number of labelled data instances as examples in the prompt. While existing work uses a static number of examples during inference for each data instance, in this paper we propose a novel methodology of dynamically adapting the number of examples as per the data. This is analogous to the use of a variable-sized neighborhood in k-nearest neighbors (k-NN) classifier. In our proposed workflow of adaptive ICL (AICL), the number of demonstrations to employ during the inference on a particular data instance is predicted by the Softmax posteriors of a classifier. The parameters of this classifier are fitted on the optimal number of examples in ICL required to correctly infer the label of each instance in the training set with the hypothesis that a test instance that is similar to a training instance should use the same (or a closely matching) number of few-shot examples. Our experiments show that our AICL method results in improvement in text classification task on several standard datasets.
[ -0.48753347992897034, -0.6693440079689026, 0.43998047709465027, 0.03701423481106758, -0.5619000792503357, -0.12148763984441757, -0.24588148295879364, -0.18967054784297943, -0.39588066935539246, 0.3137001693248749, -0.34848111867904663, -0.6084527969360352, -0.42554983496665955, 0.4194018542766571, -0.3295809030532837, 1.339842677116394, -0.07848072797060013, -0.17814311385154724, -0.32763129472732544, -0.3700619041919708, -0.4887072741985321, -0.2864813506603241, -0.5407330989837646, -0.19794976711273193, 0.3697763979434967, 0.886362612247467, 0.3387422561645508, 0.6909291744232178, 0.19603098928928375, 0.2553046941757202, -0.09004643559455872, 0.25157710909843445, -0.28832536935806274, 0.09210268408060074, 0.07809273898601532, -0.4523874521255493, 0.014215708710253239, 0.010528339073061943, 0.9024367332458496, 0.4370674192905426, -0.07384897023439407, 0.11758029460906982, 0.2820882797241211, 0.4690922200679779, -0.5624370574951172, -0.07968796789646149, -0.7597259879112244, 0.11216194927692413, 0.012723542749881744, -0.16789253056049347, -0.6552246809005737, -0.1965067982673645, 0.3789980113506317, -0.6341874003410339, 0.17177213728427887, 0.20056280493736267, 0.21687112748622894, 0.37008973956108093, -0.4886600971221924, -0.5436670184135437, -0.42361220717430115, 0.8573362231254578, -0.9867695569992065, 0.12788324058055878, 0.2987273931503296, 0.285531222820282, -0.22052498161792755, -0.6909676194190979, -0.4829617738723755, -0.039160434156656265, -0.2306336760520935, 0.0011059948010370135, 0.0055294157937169075, -0.14073269069194794, 0.2617812752723694, -0.13831660151481628, -0.5094785094261169, 0.35541674494743347, -0.22762270271778107, 0.11698584258556366, 0.41131487488746643, 0.0857747495174408, 0.129479318857193, 0.2349170446395874, -0.3634800612926483, -0.18245720863342285, -0.4122912585735321, 0.011782164685428143, -0.023422816768288612, 0.4665313959121704, -0.19862255454063416, -0.021079936996102333, -0.11155549436807632, 1.0607073307037354, 0.18656492233276367, -0.3789721727371216, 0.20677030086517334, -0.10748816281557083, -0.27939677238464355, 0.5093326568603516, 0.6520900726318359, 0.1250290721654892, 0.15330378711223602, -0.03268709033727646, 0.07390078902244568, -0.33413055539131165, 0.2419487088918686, -1.0232694149017334, -0.10679496824741364, -0.05799094960093498, -0.4607546329498291, -0.4703024923801422, -0.006284030620008707, -0.946509063243866, -0.3323885202407837, -0.2509022653102875, 0.5245406627655029, -0.43904921412467957, 0.23205821216106415, 0.18212459981441498, -0.06641726940870285, -0.00247041299007833, 0.4176803529262543, -0.8336904048919678, 0.480830579996109, 0.3188962936401367, 1.0252938270568848, -0.25927212834358215, -0.3350529074668884, -0.5710852146148682, -0.02131582796573639, -0.2925058603286743, 0.9104702472686768, -0.5985745191574097, -0.09776400774717331, -0.03937777504324913, -0.2175559401512146, -0.16893886029720306, -0.5002034306526184, 0.47388285398483276, -0.17214173078536987, 0.4543909430503845, 0.08685155212879181, -0.7285683751106262, -0.10784308612346649, 0.23715171217918396, -0.32910192012786865, 0.7563951015472412, 0.19414035975933075, -0.8097050189971924, 0.5161904692649841, -0.7859749794006348, -0.4092070758342743, 0.132462278008461, -0.07543403655290604, -0.8115381598472595, 0.2537757456302643, 0.2662699222564697, 0.653024435043335, -0.1753772497177124, 0.048087023198604584, -0.3426209092140198, -0.4611090123653412, 0.3324221968650818, -0.5088565349578857, 0.7009087204933167, 0.19245269894599915, -0.33470356464385986, 0.2788602113723755, -0.7107940912246704, 0.01500725094228983, -0.24250482022762299, -0.40676119923591614, -0.4562971293926239, -0.001431480050086975, 0.1601213663816452, 0.2833790183067322, -0.19798186421394348, -0.4762601852416992, 0.3330661356449127, -0.43068715929985046, 0.4576835632324219, 0.7172563076019287, 0.18743015825748444, 0.6449339985847473, -0.5316091179847717, 0.42625412344932556, -0.034042470157146454, -0.08944184333086014, -0.3637767434120178, -0.3410183787345886, -0.5116257667541504, -0.36191436648368835, 0.4834328889846802, 0.37975987792015076, -0.6875929832458496, 0.4529998004436493, -0.18037912249565125, -0.6285609006881714, -0.2561433017253876, 0.21182096004486084, 0.19396494328975677, 0.5855088233947754, 0.3053777813911438, -0.07942776381969452, -0.3700858950614929, -0.6041719913482666, -0.23509803414344788, -0.11946341395378113, -0.12448233366012573, 0.3109607696533203, 0.5179600119590759, -0.026125213131308556, 1.0086491107940674, -0.23544372618198395, -0.4639895558357239, -0.2545016407966614, 0.1479048728942871, 0.15664473176002502, 0.46390241384506226, 0.7838783860206604, -0.9237357378005981, -0.9355473518371582, 0.0763712003827095, -0.5619993805885315, -0.12492376565933228, -0.5160447359085083, 0.0265094805508852, 0.11762137711048126, 0.715395987033844, 0.024104489013552666, 0.49418726563453674, 0.39664989709854126, -0.3817051649093628, 0.24108366668224335, -0.490972638130188, -0.28233954310417175, -0.9849974513053894, -0.5099219083786011, 0.22734373807907104, -0.2712249159812927, -0.6174209117889404, -0.08325862884521484, 0.20741787552833557, 0.12372986227273941, -0.3469081521034241, 0.7724267840385437, -0.32169610261917114, 0.26561233401298523, -0.4551878869533539, -0.015970541164278984, -0.1611100286245346, 0.3567708432674408, -0.21071533858776093, 0.6811078786849976, 0.6003649234771729, -0.8261460065841675, 0.03958193212747574, 0.247726172208786, -0.5441350936889648, 0.5095742344856262, -0.253841757774353, 0.18930916488170624, -0.38906148076057434, 0.5183323621749878, -1.1251165866851807, -0.1708168089389801, 0.08566208928823471, -0.16292020678520203, 0.31705135107040405, 0.09247567504644394, -0.5576629042625427, 0.009366207756102085, -0.2681843340396881, 0.4806387722492218, 0.5561583042144775, -1.0157878398895264, 0.6822562217712402, 0.0662459284067154, -0.050808582454919815, -0.2695445418357849, -0.5334605574607849, -0.043818142265081406, -0.6578558087348938, -0.060237348079681396, 0.4888472557067871, -0.4871132969856262, -0.03931518271565437, -0.07578977197408676, -0.1028905138373375, -0.3325612246990204, 0.35003986954689026, 0.05656464025378227, -0.07885709404945374, -0.13575226068496704, 0.4594844579696655, 0.37791600823402405, 0.1024603545665741, -0.3007377088069916, -0.4990776777267456, 0.20945732295513153, -0.19086097180843353, -0.0020434455946087837, -0.47101107239723206, 0.297882616519928, 0.6163737177848816, 0.1749873161315918, 0.7616912722587585, 0.5712748169898987, -0.417130708694458, -0.6711342930793762, -0.1718207448720932, -0.21825458109378815, -0.43937915563583374, 0.444570392370224, -0.35015058517456055, -0.8632826805114746, 0.23209604620933533, -0.10851890593767166, 0.18992513418197632, 0.1814863085746765, 0.4627158045768738, 0.019272271543741226, 1.0444982051849365, 0.8336920142173767, -0.21122333407402039, 0.6396274566650391, 0.09562638401985168, 0.20898188650608063, -0.6705588102340698, 0.0626857578754425, -0.5727571845054626, -0.2853766083717346, -0.6741176843643188, -0.16853301227092743, 0.41969817876815796, 0.10659186542034149, -0.25550276041030884, 0.24841688573360443, -0.6768105030059814, 0.6797745823860168, 0.43700772523880005, 0.303750216960907, 0.1302289366722107, 0.18388471007347107, -0.10347793251276016, 0.0014883914263918996, -1.10426926612854, -0.4589272439479828, 0.8604437112808228, 0.16936419904232025, 0.5269131064414978, 0.23787641525268555, 0.549453854560852, 0.32627758383750916, 0.7105423212051392, -0.8668371438980103, 0.3150538504123688, -0.6173455119132996, -0.40667644143104553, -0.360442578792572, -0.2506946623325348, -0.8360015749931335, 0.3549227714538574, -0.31791985034942627, -0.738267183303833, 0.23267215490341187, 0.2628425657749176, -0.2514795660972595, 0.28392496705055237, -0.6353284120559692, 0.835883378982544, -0.18400752544403076, -0.1740345060825348, 0.029190242290496826, -0.4141652286052704, -0.0024773606564849615, -0.5571151375770569, 0.2713097929954529, 0.10079111158847809, -0.10873740166425705, 0.679755687713623, -0.16919736564159393, 1.0843571424484253, -0.04539389908313751, 0.10989965498447418, 0.36931365728378296, -0.178924098610878, 0.45458969473838806, 0.036125801503658295, -0.37196066975593567, -0.18197758495807648, -0.04199375584721565, -0.48426732420921326, -0.700374186038971, 0.4911821782588959, -0.5247690677642822, -0.09727037698030472, -0.49351224303245544, -0.594048261642456, -0.20185783505439758, 0.002741311676800251, 0.6290287971496582, 0.6301314234733582, 0.03444519639015198, 0.7221404910087585, 0.5718769431114197, -0.2630610466003418, 0.6592801809310913, 0.3446628749370575, 0.1957862824201584, -0.1391168087720871, 0.6623688340187073, 0.18318134546279907, 0.13176995515823364, 0.568911075592041, 0.582374095916748, -0.1380682736635208, -0.8116021752357483, -0.41034406423568726, -0.08940048515796661, -0.7357526421546936, -0.4927423894405365, -0.5648901462554932, 0.04365384951233864, -0.26769906282424927, -0.47768571972846985, 0.08432552963495255, 0.037880174815654755, -0.6020287871360779, 0.08451046049594879, 0.43077895045280457, 0.639974057674408, 0.3229548931121826, 0.7686038613319397, -0.524024486541748, 0.04026300832629204, 0.3734428584575653, 0.4885973632335663, 0.16762545704841614, -0.9821314215660095, -0.24295474588871002, -0.2441747486591339, -0.02848139964044094, -0.8831889033317566, 0.5819542407989502, 0.6769802570343018, 0.6230664849281311, 0.3363804221153259, 0.33645838499069214, 0.48124197125434875, -0.6502804160118103, 0.36042487621307373, 0.09397079050540924, -0.8501158356666565, 0.3986499309539795, -0.1618552803993225, 0.6788042783737183, 0.6946207880973816, 0.5793489217758179, -0.5131590366363525, -0.1691734492778778, -0.5286714434623718, -0.6682291626930237, 0.6438477635383606, -0.03908570483326912, 0.18107864260673523, 0.05999035760760307, 0.6686418056488037, 0.4141387939453125, -0.0076967282220721245, -0.6992865800857544, -0.06710229814052582, -0.037796054035425186, -0.9101051092147827, -0.05963653326034546, -0.3502829670906067, 0.19689379632472992, -0.4065958261489868, 0.6933141946792603, -0.6714633107185364, 0.09414483606815338, 0.08217009902000427, -0.20798875391483307, 0.24129383265972137, 0.36788660287857056, 0.6399405002593994, 0.7400663495063782, -0.14153288304805756, 0.16923102736473083, 0.639128565788269, -0.4405505657196045, 0.134104385972023, -0.1051250696182251, -0.3205574154853821, 0.15198102593421936, 0.3398814797401428, 0.8632095456123352, 0.21703870594501495, -0.6967836618423462, 0.4035446345806122, -0.26696160435676575, -0.40500974655151367, -0.28198060393333435, 0.16238723695278168, -0.4399147927761078, 0.1958693265914917, 0.42266368865966797, 0.014474458992481232, 0.17418088018894196, -0.5000616312026978, 0.3950290381908417, 0.2294492870569229, -0.7563787698745728, 0.028867851942777634, 0.2916095554828644, -0.1581304967403412, -0.4623081386089325, 0.5392531156539917, -0.35185712575912476, -0.4766896069049835, 0.648405909538269, 0.8287956118583679, 0.6859118342399597, -0.07972947508096695, 0.28109055757522583, 0.36856508255004883, 0.06319216638803482, -0.2660047113895416, -0.3354604244232178, -0.06621014326810837, -0.8367688059806824, -0.31755465269088745, -0.6093946099281311, -0.32784736156463623, 0.17048411071300507, -0.48451879620552063, 0.26913198828697205, -0.6221732497215271, 0.24253712594509125, 0.3033590018749237, -0.10267054289579391, -0.6222696900367737, 0.15876659750938416, -0.03220633044838905, 0.9632782340049744, -1.0741688013076782, 1.041617751121521, 0.7584114670753479, 0.013459879904985428, -0.4539153277873993, 0.139059379696846, 0.032570455223321915, -0.16367942094802856, 0.4720943868160248, 0.3885757625102997, 0.2630831003189087, 0.0580228753387928, -0.8594050407409668, -0.6648241877555847, 0.7710269093513489, 0.06551056355237961, -0.46607235074043274, 0.35976314544677734, -0.3083758056163788, 0.6143513321876526, -0.9354599118232727, 0.07303059846162796, 0.4198017120361328, 0.2836836874485016, -0.2470884919166565, -0.7220735549926758, -0.040629979223012924, -0.08961792290210724, 0.036651961505413055, 0.048187535256147385, -0.4299573004245758, 0.6258571743965149, -0.20577475428581238, 0.10297304391860962, 0.21147267520427704, 0.43561631441116333, 0.35904940962791443, 0.5051301121711731, 0.9028891921043396, 0.02444174885749817, 0.7036397457122803, 0.1541748344898224, 1.0645307302474976, 0.19400754570960999, 0.2660214900970459, 1.3263099193572998, -0.01023212168365717, 0.7520349621772766, 0.2910071313381195, 0.05742466822266579, 0.6064243316650391, 0.6834180951118469, -0.17145584523677826, 0.4874638319015503, 0.270060658454895, -0.3290947675704956, -0.15027645230293274, -0.06966957449913025, 0.10804177075624466, 0.5594934225082397, 0.437404066324234, -0.32182496786117554, -0.19999977946281433, 0.501525342464447, -0.13411591947078705, 0.3258320093154907, -0.19616320729255676, 0.9458563923835754, -0.17202040553092957, -0.4259042739868164, 0.38090550899505615, 0.015643645077943802, 0.8855076432228088, -0.4047062397003174, -0.18925167620182037, -0.08246953785419464, 0.269226610660553, -0.09142560511827469, -0.4780743420124054, -0.15154439210891724, -0.05291853845119476, -0.27267467975616455, -0.24801339209079742, 0.6912555694580078, -0.3389240503311157, -0.7203913331031799, 0.03336859121918678, 0.019576357677578926, 0.23646949231624603, -0.07743887603282928, -0.5895426869392395, -0.2547987103462219, 0.19956183433532715, -0.04916936159133911, 0.6498433947563171, 0.6501895785331726, -0.264375776052475, 0.5806200504302979, 0.36371910572052, -0.1572885662317276, 0.09672079980373383, -0.0740821436047554, 0.6481693983078003, -0.41996607184410095, -0.5247974395751953, -0.8404163718223572, 0.3770076334476471, -0.20499947667121887, -0.566037654876709, 0.6081384420394897, 0.4231220781803131, 1.034706950187683, -0.013782352209091187, 0.7105650901794434, 0.15016786754131317, 0.3988991677761078, -0.4719187021255493, 0.3149755895137787, -0.5920406579971313, 0.25010547041893005, -0.19384245574474335, -0.8281126618385315, -0.6281497478485107, 1.0409200191497803, -0.14592911303043365, 0.020813923329114914, 0.6950762271881104, 0.4089672565460205, -0.11902301013469696, 0.041366174817085266, 0.33150312304496765, 0.21995887160301208, 0.3273380398750305, 0.3446970283985138, 0.3947993516921997, -0.4392443895339966, 0.5381311178207397, -0.45795461535453796, -0.27513250708580017, -0.36554303765296936, -1.0649809837341309, -0.8056146502494812, -0.7370381355285645, -0.5461931228637695, -0.19454066455364227, -0.00011085795267717913, 1.0468217134475708, 0.9000263214111328, -0.7669764161109924, -0.08871391415596008, -0.17278075218200684, 0.15863773226737976, -0.32998761534690857, -0.20099760591983795, 0.297946959733963, -0.547160804271698, -0.7084922790527344, 0.29286566376686096, 0.23946808278560638, 0.2019067406654358, 0.20472368597984314, 0.08091872185468674, -0.2690802216529846, -0.25954532623291016, 0.7874045968055725, 0.20950548350811005, -0.37440386414527893, -0.31191200017929077, -0.2510499954223633, 0.17380428314208984, 0.06535033136606216, 0.7395492792129517, -0.8804401159286499, 0.4943588078022003, 0.4813877046108246, 0.8448266983032227, 0.5381079316139221, -0.05512905493378639, 0.3634070158004761, -0.8874188661575317, 0.3241696357727051, 0.2885276675224304, 0.10750176757574081, 0.23190638422966003, -0.39403876662254333, 0.448718786239624, -0.18569377064704895, -0.6094739437103271, -0.8088633418083191, 0.19626040756702423, -0.8731788396835327, -0.8543117642402649, 0.9378926157951355, 0.010571589693427086, -0.114622563123703, -0.17117305099964142, -0.24820354580879211, -0.0021745667327195406, -0.4272098243236542, 0.8516840934753418, 0.5500720739364624, -0.22773657739162445, -0.360515832901001, -0.6849055290222168, 0.49978798627853394, 0.3418111801147461, -0.871512234210968, -0.0345333106815815, 0.25671496987342834, 0.21095918118953705, 0.04866325482726097, 0.31447023153305054, 0.2774570882320404, 0.07323935627937317, -0.24562408030033112, -0.3308778405189514, 0.1992330402135849, -0.5212116837501526, -0.6747900247573853, 0.273808091878891, 0.016423191875219345, -0.02738049440085888 ]
http://arxiv.org/abs/2403.06399v2
http://arxiv.org/pdf/2403.06399v2
GlossLM: Multilingual Pretraining for Low-Resource Interlinear Glossing
2024-03-11T03:21:15
2024-06-27T05:22:05
Michael Ginn, Lindia Tjuatja, Taiqi He, Enora Rice, Graham Neubig, Alexis Palmer, Lori Levin
cs.CL
cs.CL
Language documentation projects often involve the creation of annotated text in a format such as interlinear glossed text (IGT), which captures fine-grained morphosyntactic analyses in a morpheme-by-morpheme format. However, there are few existing resources providing large amounts of standardized, easily accessible IGT data, limiting their applicability to linguistic research, and making it difficult to use such data in NLP modeling. We compile the largest existing corpus of IGT data from a variety of sources, covering over 450k examples across 1.8k languages, to enable research on crosslingual transfer and IGT generation. We normalize much of our data to follow a standard set of labels across languages. Furthermore, we explore the task of automatically generating IGT in order to aid documentation projects. As many languages lack sufficient monolingual data, we pretrain a large multilingual model on our corpus. We demonstrate the utility of this model by finetuning it on monolingual corpora, outperforming SOTA models by up to 6.6%. We will make our pretrained model and dataset available through Hugging Face, as well as provide access through a web interface for use in language documentation efforts.
[ -0.6774230599403381, -0.5388078093528748, 0.05430964380502701, 0.39165422320365906, -0.20546714961528778, 0.11377941817045212, -0.340118944644928, -0.3761339485645294, 0.30950695276260376, 0.5268844962120056, -0.593528151512146, -0.4846111238002777, -0.6877774596214294, 0.019223429262638092, -0.4805261194705963, 1.456537127494812, -0.015585360117256641, 0.2400984764099121, -0.2921447157859802, -0.18528422713279724, 0.389976441860199, -0.881362795829773, -0.46986642479896545, -0.3223574459552765, 0.6931508183479309, 0.5785571336746216, 0.619134783744812, 0.14443187415599823, 0.4799509644508362, 0.10999618470668793, 0.12135135382413864, 0.08594804257154465, -0.5394393801689148, -0.10355424135923386, -0.06864181905984879, -0.18672730028629303, -0.6679655313491821, 0.060801297426223755, 0.45303875207901, 0.9139307737350464, -0.23253127932548523, 0.36561429500579834, 0.12639299035072327, 0.5188078284263611, -0.48820793628692627, 0.2768963575363159, -0.4549039900302887, -0.1592688411474228, -0.713493824005127, -0.19826503098011017, -0.1459977775812149, -0.2918905019760132, 0.25306829810142517, -0.8201813697814941, 0.17281582951545715, -0.012483510188758373, 1.0023986101150513, 0.21466206014156342, -0.18301557004451752, -0.6819848418235779, -0.41271060705184937, 0.3653812110424042, -0.8546428084373474, 0.4391767978668213, 0.6861552596092224, 0.19376026093959808, 0.2878861725330353, -1.1211680173873901, -0.3346480429172516, -0.47701892256736755, -0.27083200216293335, 0.21687808632850647, 0.07673855125904083, 0.350275456905365, 0.30339059233665466, 0.3374481797218323, -0.7192700505256653, 0.027183622121810913, -0.5730432868003845, -0.08249527215957642, 0.43351852893829346, -0.11688417941331863, 0.34044817090034485, -0.032720427960157394, -0.42278003692626953, -0.11756434291601181, -0.637150228023529, -0.2132917195558548, 0.5090988278388977, 0.5179144144058228, -0.20179693400859833, 0.34878331422805786, -0.04313750937581062, 0.5059928297996521, -0.2907204031944275, -0.14605236053466797, 0.25630995631217957, -0.5395450592041016, -0.08626250922679901, -0.1002369076013565, 0.7722629904747009, 0.14962486922740936, 0.38719096779823303, -0.2598603665828705, -0.2849273383617401, -0.32952162623405457, 0.22463010251522064, -0.9683167934417725, -0.37190404534339905, -0.15075230598449707, -0.26186615228652954, 0.31135693192481995, 0.050538070499897, -0.8123021721839905, -0.11082742363214493, -0.5553061366081238, 0.2672249674797058, -0.6170904636383057, -0.26196059584617615, 0.04637439548969269, 0.11477812379598618, 0.027968447655439377, 0.12691418826580048, -1.1781878471374512, 0.47676941752433777, 0.30727285146713257, 0.8875396847724915, -0.14572034776210785, -0.608099102973938, -0.567687451839447, -0.015198350884020329, -0.030215511098504066, 0.5321305990219116, -0.16490033268928528, -0.3602108657360077, 0.23221425712108612, 0.004096804652363062, -0.03178653493523598, -0.5214347243309021, 0.380884051322937, -0.40843015909194946, 0.3454034924507141, 0.0638265609741211, -0.4431585967540741, 0.033354487270116806, 0.330919086933136, -0.5924094915390015, 1.0710675716400146, 0.5133403539657593, -0.7675571441650391, 0.2753404974937439, -0.8265882730484009, -0.2773393392562866, 0.2980312407016754, -0.1597737818956375, -0.2570808231830597, -0.06191626191139221, 0.0024192933924496174, 0.17296886444091797, -0.4424862563610077, 0.5077893137931824, -0.12294188886880875, -0.030613791197538376, -0.5441350936889648, -0.2284746617078781, 0.8322283625602722, 0.31297779083251953, -0.2009914219379425, 0.37262415885925293, -0.7774070501327515, 0.07314004749059677, -0.1389535367488861, -0.4362216293811798, -0.5706358551979065, -0.4853183329105377, 0.4611084759235382, 0.35532301664352417, 0.5105266571044922, -0.2058393955230713, 0.5120089054107666, -0.26763060688972473, 0.03907978907227516, 0.4428555369377136, -0.4993526339530945, 0.36167702078819275, -0.0734122171998024, 0.9452531933784485, -0.040601082146167755, 0.4611961543560028, 0.05338253080844879, -0.2094346433877945, -0.9687466621398926, 0.015293640084564686, 0.59959876537323, 0.457148939371109, -1.13459312915802, 0.003433520207181573, -0.315169095993042, -0.422397643327713, -0.6264564394950867, 0.21920470893383026, 0.7161191701889038, 0.47011852264404297, 0.42133843898773193, -0.2715076506137848, -0.5748149752616882, -0.9386511445045471, -0.0011433785548433661, 0.03997984156012535, 0.02246384136378765, 0.016345564275979996, 0.39112553000450134, -0.33761149644851685, 0.8149694204330444, -0.2498331069946289, -0.41714438796043396, -0.06287849694490433, 0.6199421882629395, 0.11599955707788467, 0.42202961444854736, 0.7831047177314758, -0.6872636675834656, -0.8199722766876221, -0.06420242786407471, -0.7011454105377197, -0.3786426782608032, 0.1645783632993698, -0.16459393501281738, 0.2488550990819931, 0.9647725224494934, -0.25400328636169434, 0.1761726289987564, 0.995940089225769, -0.3655102550983429, 0.6040359139442444, -0.5257009863853455, -0.24887344241142273, -0.7530390024185181, 0.3580162227153778, -0.36216995120048523, -0.2890388071537018, -0.7982771992683411, 0.10637462884187698, 0.1247231662273407, -0.073117695748806, -0.47057726979255676, 0.893068253993988, -0.6459763646125793, 0.06929049640893936, -0.1262853592634201, 0.18927207589149475, -0.1315276026725769, 0.4044693410396576, -0.05651339516043663, 1.0131937265396118, 0.6004769802093506, -0.5605563521385193, -0.009791409596800804, 0.4551351070404053, -0.3372429311275482, 0.40641966462135315, -0.23505182564258575, 0.15452702343463898, -0.2866264283657074, -0.039899129420518875, -0.5832938551902771, -0.20949965715408325, 0.10889692604541779, -0.0928601324558258, 0.34030312299728394, -0.1077926754951477, -0.4530012607574463, -0.1343553215265274, -0.11092230677604675, 0.22882969677448273, 0.3268549144268036, -0.5507211685180664, 0.5590282678604126, 0.4145413935184479, -0.5570110082626343, -0.6690267324447632, -0.5311743021011353, 0.18088398873806, -0.1788654327392578, -0.550932765007019, 0.2903902530670166, -0.3474805951118469, -0.3717404305934906, -0.16458845138549805, 0.08422340452671051, -0.16450421512126923, 0.054858945310115814, 0.1722286343574524, 0.06624811887741089, -0.3332700729370117, 0.4387716054916382, -0.23919296264648438, -0.11373884975910187, -0.11709528416395187, -0.24491620063781738, 0.7945455312728882, -0.32785654067993164, -0.3556831181049347, 0.32979485392570496, 0.5454380512237549, 0.575110912322998, -0.23397395014762878, 0.6859319806098938, 0.8406789302825928, -0.31355926394462585, -0.09758739918470383, -0.3519168496131897, -0.07386244833469391, -0.41880303621292114, 0.09861502051353455, -0.5033079385757446, -0.6308717727661133, 0.44840869307518005, -0.19262003898620605, 0.17057257890701294, 0.3380589187145233, 0.3138940632343292, 0.025724155828356743, 0.6720874905586243, 0.9861201047897339, 0.14081081748008728, 0.6164199113845825, -0.2150077074766159, 0.025215182453393936, -0.5569728016853333, -0.23715943098068237, -0.32236790657043457, 0.05967608094215393, -0.42298656702041626, -0.3276617228984833, 0.48537731170654297, 0.4886777102947235, 0.02845262922346592, 0.031559284776449203, -0.17820832133293152, 0.24615029990673065, 0.983656108379364, -0.2753419876098633, 0.36112529039382935, -0.05594837665557861, -0.1428772211074829, -0.002728757681325078, -0.7727771997451782, -0.6057695150375366, 0.9638336300849915, 0.06270363926887512, 0.8663415908813477, 0.06759775429964066, 0.6780006885528564, 0.03965244069695473, 0.6033533811569214, -0.6749475598335266, 0.2614193260669708, -0.7332903146743774, -0.49994930624961853, -0.35870838165283203, -0.06940482556819916, -1.0053645372390747, 0.08983579277992249, -0.07726454734802246, -0.20965105295181274, -0.05703863874077797, 0.247195765376091, -0.24752867221832275, -0.028986139222979546, -0.7804498076438904, 0.901738703250885, -0.545620322227478, -0.06420568376779556, 0.13656671345233917, -0.8202705383300781, 0.31411072611808777, -0.4374144971370697, 0.3740328550338745, -0.22279544174671173, 0.11647350341081619, 0.8134100437164307, -0.704370379447937, 0.6341109871864319, -0.2950001060962677, -0.28260958194732666, 0.005241768434643745, -0.2512942850589752, 0.25462502241134644, -0.10642582178115845, -0.16348333656787872, 0.3935457766056061, 0.18562904000282288, -0.4117875099182129, -0.27416136860847473, 0.3619280457496643, -0.6325920224189758, -0.5026899576187134, -0.24529479444026947, -0.5542806386947632, -0.5473067164421082, 0.299591988325119, 0.6517837643623352, 0.3420757055282593, -0.28552043437957764, -0.04475507140159607, 0.4541299641132355, -0.048997774720191956, 0.33820345997810364, 0.4797227382659912, -0.7218952775001526, -0.17562924325466156, 0.8725473880767822, 0.3199670910835266, 0.5399839282035828, 0.007604482118040323, 0.14587579667568207, -0.3703400194644928, -0.6903384327888489, -0.3936953842639923, 0.37359002232551575, -0.9504417181015015, -0.06144768372178078, -0.5503198504447937, -0.4844266176223755, -0.4259527325630188, -0.09265494346618652, -0.214872345328331, -0.33328986167907715, -0.26497188210487366, 0.06294393539428711, 0.3960767984390259, 0.7963393926620483, -0.20206283032894135, 0.7702431678771973, -0.7476583123207092, 0.475093811750412, 0.27606549859046936, 0.514583945274353, -0.39470258355140686, -0.365650475025177, -0.4829012155532837, -0.029785707592964172, 0.18206757307052612, -0.5095906257629395, 0.5710633993148804, 0.5439122319221497, 0.5510401725769043, 0.17145965993404388, 0.00659805815666914, 0.782983660697937, -0.453370600938797, 0.6229682564735413, 0.2908645272254944, -0.9906443357467651, 0.4212999641895294, -0.40686023235321045, 0.5436266660690308, 0.8572592735290527, 0.6967729330062866, -0.7162044644355774, -0.4964732825756073, -0.6617545485496521, -1.1067653894424438, 0.7767645716667175, -0.16078780591487885, 0.1131189614534378, 0.11869170516729355, 0.2388053834438324, 0.4929306209087372, 0.2768729329109192, -0.7511625289916992, -0.27853816747665405, -0.36647307872772217, -0.2572382688522339, -0.31355029344558716, -0.25556910037994385, -0.4103429913520813, -0.13842123746871948, 0.7761695981025696, -0.5224783420562744, -0.35007327795028687, 0.1078500971198082, -0.43255922198295593, 0.2122168242931366, 0.13371342420578003, 0.6069052219390869, 0.8871467113494873, -0.248554527759552, 0.43045201897621155, 0.09992676973342896, -0.7243437767028809, -0.15372537076473236, 0.41308119893074036, -0.27125945687294006, 0.29306554794311523, 0.28852564096450806, 0.9931497573852539, 0.009809929877519608, -0.8513427376747131, 0.5445517897605896, -0.1492006778717041, -0.34935152530670166, -0.35453981161117554, -0.36900290846824646, 0.21418578922748566, 0.09213575720787048, 0.13417576253414154, -0.2381862848997116, -0.05099146068096161, -0.461570143699646, 0.3726981282234192, 0.41664445400238037, -0.46363112330436707, -0.3151749074459076, 0.6430667042732239, 0.11495056003332138, -0.11570318043231964, 0.6686052680015564, -0.2942461669445038, -0.3532369136810303, 0.27585023641586304, 0.35602113604545593, 0.5133260488510132, -0.2828789949417114, 0.17374546825885773, 0.4015086889266968, 0.20611542463302612, -0.08880645781755447, 0.35586172342300415, 0.16192419826984406, -0.27332761883735657, -0.21984726190567017, -1.015547513961792, -0.4061255156993866, 0.42838406562805176, -0.576324999332428, 0.4720054864883423, -0.4196678400039673, -0.045341379940509796, 0.004226854536682367, -0.19040852785110474, -0.6884516477584839, 0.23350933194160461, 0.5196513533592224, 0.9663474559783936, -0.8019766807556152, 1.0777084827423096, 0.49604305624961853, -0.6628660559654236, -0.5549466609954834, 0.02507738023996353, -0.23899519443511963, -0.9250146150588989, 0.8366551995277405, -0.006641242653131485, -0.26629507541656494, 0.16202861070632935, -0.5708157420158386, -1.0234721899032593, 0.7126913070678711, 0.6778572797775269, -0.6558879017829895, -0.5209764242172241, 0.15535502135753632, 0.5982609987258911, -0.13133591413497925, 0.24249008297920227, 0.5845102667808533, 0.7158763408660889, -0.05388089269399643, -1.3045871257781982, -0.22581805288791656, -0.37722471356391907, -0.27675414085388184, 0.08045623451471329, -0.4246271848678589, 1.2568951845169067, 0.14125299453735352, -0.363302081823349, -0.08628518879413605, 0.39023557305336, 0.006266603246331215, 0.09775057435035706, 0.4980764091014862, 0.3084845542907715, 0.9845240116119385, -0.1557272970676422, 0.9859921932220459, -0.5035555362701416, 0.22287152707576752, 1.3760054111480713, 0.04688762128353119, 0.5682307481765747, 0.57655268907547, 0.03552410006523132, 0.36241719126701355, 0.7032605409622192, 0.20399029552936554, 0.4929240345954895, 0.3930417001247406, -0.31892916560173035, -0.012750032357871532, -0.3884178400039673, -0.4024749994277954, 0.38677680492401123, 0.5452789068222046, -0.12243624031543732, -0.48595747351646423, 0.4576672613620758, 0.1739567071199417, -0.09006451815366745, -0.396943598985672, 0.7298884391784668, 0.1532953977584839, -0.8111469745635986, 0.9764447808265686, -0.3993319869041443, 1.0266501903533936, -1.1636337041854858, 0.13497932255268097, -0.3698399066925049, 0.02994762547314167, -0.37515392899513245, -0.5444881319999695, 0.4279138147830963, -0.09598901867866516, 0.08181063085794449, -0.6592630743980408, 0.5101246237754822, -0.9948344230651855, -0.2037978172302246, 0.6164609789848328, 0.8946142792701721, 0.43654412031173706, -0.015678195282816887, -0.5438273549079895, -0.34210434556007385, -0.12097715586423874, -0.21852263808250427, 0.49189141392707825, 0.304332435131073, -0.33159661293029785, 0.4839431941509247, 0.5482137799263, 0.17061373591423035, 0.45683103799819946, 0.606895387172699, 0.8002009987831116, -0.47763970494270325, -0.3220818340778351, -0.6463655233383179, 0.45959314703941345, -0.01683303527534008, -0.5183255076408386, 0.7612552046775818, 0.6448154449462891, 0.8763823509216309, -0.18171104788780212, 0.934693455696106, -0.14769577980041504, 0.4002639949321747, -0.7603684067726135, 0.795157253742218, -0.6703181266784668, -0.21060335636138916, 0.17980600893497467, -0.7007924318313599, -0.34186625480651855, 0.22200363874435425, -0.03864732012152672, -0.29875448346138, 0.6748387813568115, 0.41721847653388977, -0.3035082519054413, -0.3251834213733673, 0.36403271555900574, 0.09444021433591843, 0.329210102558136, 0.2889914810657501, 0.8431792259216309, -0.19941231608390808, 0.592922568321228, -0.2413627952337265, -0.11578162014484406, -0.35976657271385193, -0.9033927321434021, -0.7384529113769531, -0.9588088393211365, -0.16319629549980164, -0.17934280633926392, -0.0026080692186951637, 0.7757121324539185, 0.9165889620780945, -0.7335734963417053, -0.4569603204727173, -0.12247425317764282, -0.2345835566520691, 0.203901469707489, -0.14283327758312225, 0.33773618936538696, -0.6878438591957092, -0.8098469972610474, 0.3415636420249939, 0.2035558670759201, 0.4169345200061798, -0.5158048868179321, -0.09513332694768906, -0.4919430911540985, -0.05287971347570419, 0.6041963696479797, 0.4091078042984009, -0.6548708081245422, -0.026736434549093246, -0.17900770902633667, -0.41168394684791565, 0.3061918020248413, 0.7202699780464172, -0.5180606245994568, 0.5132975578308105, 0.39376941323280334, 0.3249281048774719, 0.8881345987319946, -0.034077323973178864, 0.48936331272125244, -1.170883297920227, 0.37899765372276306, 0.34102863073349, 0.3553791642189026, 0.44279512763023376, -0.13903899490833282, 0.8257179260253906, -0.13456648588180542, -0.30849549174308777, -0.7151784896850586, 0.12930305302143097, -0.7992879748344421, -0.2943124771118164, 1.1468309164047241, -0.38428443670272827, 0.06010159105062485, -0.21542204916477203, -0.2866370975971222, 0.3786282241344452, 0.06280477344989777, 0.5313074588775635, 0.9460782408714294, -0.26672202348709106, -0.12920041382312775, -0.775955319404602, 1.017564296722412, 0.26393502950668335, -1.368007779121399, 0.30654704570770264, 0.28413423895835876, 0.16209635138511658, 0.49835026264190674, 1.146510362625122, 0.16430890560150146, -0.10377417504787445, 0.10969425737857819, 0.42140600085258484, 0.09175296872854233, -0.33823466300964355, -0.34549805521965027, 0.19863587617874146, 0.2673642039299011, 0.19708582758903503 ]
http://arxiv.org/abs/2403.06360v1
http://arxiv.org/pdf/2403.06360v1
Human and Automatic Interpretation of Romanian Noun Compounds
2024-03-11T01:18:00
2024-03-11T01:18:00
Ioana Marinescu, Christiane Fellbaum
cs.CL
cs.CL, cs.AI
Determining the intended, context-dependent meanings of noun compounds like "shoe sale" and "fire sale" remains a challenge for NLP. Previous work has relied on inventories of semantic relations that capture the different meanings between compound members. Focusing on Romanian compounds, whose morphosyntax differs from that of their English counterparts, we propose a new set of relations and test it with human annotators and a neural net classifier. Results show an alignment of the network's predictions and human judgments, even where the human agreement rate is low. Agreement tracks with the frequency of the selected relations, regardless of structural differences. However, the most frequently selected relation was none of the sixteen labeled semantic relations, indicating the need for a better relation inventory.
[ -0.1465478092432022, -0.33807119727134705, 0.23209139704704285, 0.35644274950027466, -0.4243822991847992, 0.13644643127918243, -0.15007393062114716, -0.8673734068870544, 0.41194745898246765, 0.2448526918888092, -0.47817617654800415, -0.4288927912712097, -0.53398597240448, 0.6527794599533081, -0.2893185317516327, 0.8789408802986145, -0.06299185752868652, 0.23949268460273743, -0.026093943044543266, -0.40481099486351013, -0.33193397521972656, -0.5093294978141785, -0.3360203206539154, -0.5357010364532471, 0.6965274810791016, -0.08868297189474106, 0.9591935276985168, 0.5621888637542725, 0.8771649599075317, 0.380715012550354, -0.11772321909666061, -0.23119620978832245, 0.02429972216486931, 0.2514953017234802, -0.2382192760705948, -0.6113541722297668, -0.40050843358039856, -0.0998295396566391, 0.24865472316741943, 0.9021168351173401, 0.04278823360800743, 0.08983656018972397, -0.24886097013950348, 0.49626749753952026, -0.7274006605148315, 0.14737758040428162, -0.7175447344779968, -0.04031575843691826, -0.029388198629021645, -0.4532039165496826, -0.4429027736186981, -0.0777285099029541, 0.439873069524765, -0.6229036450386047, 0.33065909147262573, 0.27089300751686096, 1.3001272678375244, 0.046694833785295486, -0.5113797783851624, -0.45413529872894287, -0.6959511041641235, 0.6879875063896179, -0.46189767122268677, 0.2776797413825989, 0.30588990449905396, 0.2768576145172119, -0.5309107303619385, -0.6492154002189636, -0.30201172828674316, -0.3179140090942383, -0.5501223802566528, -0.028961675241589546, -0.1916630119085312, 0.17200005054473877, -0.145501971244812, 0.6340624094009399, -0.4958837330341339, -0.1736084669828415, -0.5536527037620544, -0.18206636607646942, 0.4781046211719513, 0.12480314821004868, 0.6776246428489685, -0.6687982082366943, -0.8080185055732727, 0.2202979177236557, -0.7403457760810852, -0.16214172542095184, 0.35763120651245117, 0.5256655812263489, 0.10894028842449188, 0.6579465866088867, -0.1390066146850586, 0.7688266038894653, -0.18522347509860992, -0.048357341438531876, 0.2527111768722534, -0.593029797077179, -0.6580079197883606, 0.13178446888923645, 0.7034305334091187, 0.49383243918418884, 0.0989157184958458, -0.5474469065666199, -0.3104500472545624, 0.568434476852417, 0.029857521876692772, -0.5232448577880859, -0.4961819648742676, 0.038999032229185104, -0.38420480489730835, -0.4310627579689026, 0.11813762038946152, -0.46853309869766235, 0.15159042179584503, -0.5976135730743408, 0.41525688767433167, 0.02892615832388401, -0.21693965792655945, 0.26568716764450073, -0.3600049614906311, 0.04861458018422127, 0.08270837366580963, -1.0506218671798706, 0.9121371507644653, 0.6545424461364746, 0.7060365080833435, -0.4601479172706604, -0.2818982005119324, -0.21630001068115234, 0.013063102960586548, -0.34364795684814453, 0.8418061137199402, -0.36200806498527527, -0.3040880560874939, -0.3356413245201111, 0.2543671131134033, -0.14637744426727295, -0.7507224678993225, 0.2296106070280075, -0.535906195640564, 0.3913221061229706, -0.16874928772449493, -0.47261202335357666, -0.0929657444357872, 0.24391312897205353, -0.5486043691635132, 0.7542775273323059, 0.25281980633735657, -0.6219680905342102, 0.46156632900238037, -0.28128722310066223, -0.39497750997543335, 0.25160831212997437, -0.4467552602291107, 0.1739625781774521, 0.052745163440704346, -0.21129611134529114, 0.2514619529247284, -0.2703510522842407, 0.24983566999435425, 0.0010164572158828378, -0.015145610086619854, 0.387412428855896, 0.0014007369754835963, 1.0436936616897583, 0.04274279996752739, -0.49973100423812866, 0.14320048689842224, -0.7536584734916687, -0.4060392677783966, -0.26868945360183716, -0.48284274339675903, -0.5988103747367859, -0.013250703923404217, 0.507119357585907, 0.42096006870269775, -0.027529414743185043, -0.504790186882019, 0.42391344904899597, -0.5069446563720703, 0.3756207227706909, 0.8033021092414856, -0.046971824020147324, 0.6527251601219177, -0.09350430220365524, 0.8958656787872314, -0.012765584513545036, -0.03908926248550415, -0.02360345423221588, -0.838302731513977, -0.7761653065681458, 0.1895700991153717, 0.6153095364570618, 0.516694962978363, -0.35903871059417725, 0.4283421039581299, -0.3803500533103943, -0.2183019518852234, 0.11107195168733597, 0.26682770252227783, 0.3677656948566437, 0.321622759103775, 0.09003555029630661, -0.4471173882484436, -0.539646565914154, -0.9808226227760315, -0.2493162304162979, -0.3374994993209839, -0.17633453011512756, 0.48943352699279785, 0.7207353115081787, -0.30427590012550354, 0.9001913070678711, -0.678127110004425, -0.5917260646820068, 0.17169047892093658, 0.4438600540161133, 0.03277769684791565, 0.3913605213165283, 0.6550775766372681, -0.843462347984314, -0.2632281482219696, 0.18161216378211975, -0.3126623332500458, 0.1781315952539444, -0.2625117599964142, -0.5557982325553894, 0.23130403459072113, 0.19087904691696167, -0.585692286491394, 0.4783146381378174, 0.49506041407585144, -0.7862321138381958, 0.4237014353275299, -0.1449042409658432, -0.10483500361442566, -1.101447582244873, -0.05066792666912079, 0.207785502076149, -0.11249640583992004, -0.519146740436554, -0.09304236620664597, -0.16987213492393494, 0.223165363073349, -0.7368384003639221, 0.5441995859146118, -0.6981117129325867, -0.49620476365089417, 0.18129496276378632, 0.3220542371273041, 0.32933101058006287, 0.4658392667770386, 0.24168731272220612, 0.5579195022583008, 0.23078258335590363, -0.8898274898529053, 0.9667525291442871, 0.478538453578949, -0.4868593215942383, 0.5542908906936646, -0.6046815514564514, -0.23581992089748383, -0.01156990509480238, 0.2878129780292511, -0.8275172710418701, -0.2733539640903473, 0.41818761825561523, -0.6536659598350525, 0.07095946371555328, -0.2608032822608948, -0.3894634246826172, 0.07093457877635956, 0.13374371826648712, 0.42850813269615173, -0.1284574419260025, -0.26643162965774536, 0.6898841261863708, 0.30792197585105896, 0.34574469923973083, -0.506303071975708, -1.0240199565887451, 0.25908970832824707, -0.38049277663230896, -0.8344247937202454, 0.5342654585838318, 0.1341223269701004, -0.6870530247688293, 0.27649980783462524, -0.1627422720193863, -0.4580932855606079, 0.35092970728874207, 0.11730065196752548, 0.44423961639404297, -0.4147915840148926, 0.741068959236145, -0.5271655321121216, -0.2242909073829651, 0.26447823643684387, -0.19321930408477783, 0.25298449397087097, -0.15097685158252716, 0.12336257845163345, -0.3864348828792572, 0.27169492840766907, 0.5357112884521484, 0.05014600232243538, 0.601552426815033, 0.015226386487483978, -0.6512765884399414, 0.3011459708213806, -0.14624112844467163, -0.22996532917022705, -0.3898593783378601, -0.004610187374055386, -0.48250359296798706, -0.16433365643024445, 0.5817191004753113, 0.19847123324871063, -0.1844252645969391, 0.6176824569702148, 0.45121634006500244, -0.02361847646534443, 0.6704322099685669, 0.2620071470737457, -0.08253780007362366, -0.13529638946056366, -0.17820946872234344, 0.2707718014717102, -0.8361785411834717, -0.3817567527294159, -0.6423376202583313, -0.6923916339874268, -0.6779364943504333, -0.10202611237764359, -0.1516295075416565, -0.08174792677164078, 0.13630683720111847, 0.8598915338516235, -0.5299627184867859, 0.40114644169807434, 0.4160776436328888, 0.0563298799097538, 0.44544628262519836, -0.05814795568585396, 0.05115240439772606, -0.1533377766609192, -0.24282963573932648, -0.4470890760421753, 0.8299906849861145, -0.073032446205616, 0.4410112500190735, 0.38150373101234436, 0.4382764995098114, 0.054257236421108246, 0.14683812856674194, -1.1721075773239136, 0.29809653759002686, -0.02836681343615055, -1.0075873136520386, -0.07388677448034286, -0.3640042543411255, -1.347570538520813, 0.2504136264324188, -0.3511423170566559, -0.9977462887763977, 0.53822261095047, 0.06881691515445709, -0.5459375381469727, 0.1786002516746521, -0.7133094072341919, 1.140333890914917, -0.6816652417182922, -0.07176875323057175, -0.030422281473875046, -0.6175875067710876, 0.28114476799964905, 0.1366724818944931, 0.08074130117893219, -0.4674193859100342, -0.2683678865432739, 0.7464521527290344, -0.2415170967578888, 0.32618167996406555, 0.2929300367832184, -0.02416071482002735, -0.09437001496553421, 0.2563363015651703, 0.14109940826892853, -0.2508532404899597, 0.10012777894735336, -0.3248527944087982, 0.17689374089241028, -0.41425472497940063, -0.8344466090202332, 0.6538333296775818, -0.4960501790046692, -0.3403540551662445, -0.6483235955238342, -0.32930120825767517, -0.012206561863422394, 0.04520859569311142, 0.31501758098602295, 0.647412896156311, -0.2876490652561188, 0.4635787308216095, 0.06441517919301987, -0.07110141962766647, 0.0048642028123140335, 0.030050652101635933, -0.5620654225349426, -0.03310493007302284, 0.7626951932907104, 0.054276321083307266, 0.4532318711280823, 0.4438749849796295, 0.30070391297340393, -0.16298352181911469, -0.3169412314891815, -0.25770094990730286, 0.01644004136323929, -0.7094292044639587, -0.15280906856060028, -0.490837424993515, 0.21136802434921265, -0.4150676131248474, -0.06476014107465744, 0.018762169405817986, -0.6623015403747559, -0.4018857479095459, -0.20162734389305115, 0.49780896306037903, 0.7647423148155212, 0.03553526848554611, 0.3083614110946655, -0.6899423599243164, 0.5717248916625977, 0.43125081062316895, 0.2532985806465149, -0.42689892649650574, -0.24292507767677307, 0.07791390269994736, -0.04066278040409088, -0.062260061502456665, -1.1710996627807617, 0.3965078294277191, 0.34119731187820435, 0.24734513461589813, 0.8193185329437256, 0.11165979504585266, 0.5389924049377441, -0.10130324214696884, 0.6414403915405273, 0.42011743783950806, -0.8158861398696899, 0.6378514766693115, -0.46286511421203613, -0.06858165562152863, 0.5542711019515991, 0.34525948762893677, -0.793586790561676, -0.006009564734995365, -0.8399735689163208, -1.0663355588912964, 0.7391899824142456, 0.7712848782539368, 0.30816301703453064, -0.12690623104572296, 0.11887660622596741, -0.2168508917093277, 0.19016055762767792, -0.6279913187026978, -0.5792966485023499, 0.27760428190231323, 0.04607994109392166, 0.049234483391046524, -0.22769521176815033, -0.02492457628250122, -0.5152536630630493, 0.7165002822875977, 0.27863356471061707, -0.019783245399594307, 0.07547423243522644, -0.17971494793891907, 0.009976477362215519, 0.31843292713165283, 0.6750938892364502, 1.1199945211410522, -0.4129932224750519, 0.4295760989189148, -0.10976848751306534, -0.5132849216461182, 0.34053945541381836, -0.2882011830806732, -0.19519129395484924, 0.4751378297805786, 0.029252853244543076, 0.6836462616920471, 0.8005523681640625, -0.6893656253814697, 0.5217437744140625, -0.12249074876308441, -0.1511492133140564, -0.5265108346939087, -0.2175888866186142, 0.22133442759513855, -0.10870502889156342, 0.3165525794029236, 0.37367236614227295, 0.3100784122943878, -0.9477271437644958, 0.3948565125465393, 0.149620920419693, -0.31700804829597473, -0.42503154277801514, 0.28611090779304504, 0.3322293162345886, -0.738487184047699, 0.6154372692108154, -0.25828829407691956, -0.8125964999198914, 0.8142319321632385, 0.05094029754400253, 0.6577392220497131, -0.19045236706733704, 0.3125206530094147, 0.3269719183444977, 0.2835450768470764, 0.08963223546743393, 0.09076767414808273, -0.10806239396333694, -0.9812780022621155, -0.0040630861185491085, -0.4458549916744232, -0.1571054309606552, 0.07460421323776245, -0.8543514609336853, 0.5045475363731384, -0.14594455063343048, -0.31555628776550293, 0.33560556173324585, 0.007408484350889921, -0.4103491008281708, 0.3472900390625, -0.1084013283252716, 0.622974157333374, -0.9552386403083801, 0.7534103989601135, 0.5397963523864746, -0.6031241416931152, -0.6697341203689575, -0.17702990770339966, 0.13863958418369293, -0.2983653247356415, 1.4027528762817383, 0.1304522603750229, -0.07668143510818481, -0.3309650123119354, 0.0031278308015316725, -0.696760892868042, 0.8771225810050964, 0.29440292716026306, -0.2882423996925354, -0.3612859547138214, 0.1310773491859436, 0.4859829843044281, -0.49465566873550415, 0.07785362005233765, 0.7824704051017761, 0.5125474333763123, 0.09657929092645645, -0.7048683762550354, -0.23787754774093628, -0.526689350605011, -0.0030265336390584707, 0.3804031312465668, 0.12540411949157715, 0.8389176726341248, 0.36609840393066406, -0.5938891172409058, 0.11988289654254913, 0.5335928201675415, -0.02318619377911091, 0.20330548286437988, 0.6521650552749634, 0.4440435767173767, 0.6225960850715637, -0.18868474662303925, 0.9229122400283813, -0.357619047164917, 0.3201896846294403, 1.3766223192214966, 0.13461706042289734, 1.0741291046142578, 0.7393244504928589, -0.46313557028770447, 0.7698108553886414, 0.8790459036827087, -0.20858806371688843, 0.10969192534685135, 0.5837172269821167, -0.39156705141067505, -0.26582837104797363, -0.11951521784067154, -0.0813673883676529, 0.6048049926757812, 0.45430904626846313, -0.6250115633010864, -0.20208585262298584, -0.2947462499141693, -0.06463953852653503, 0.0719541609287262, 0.08310171961784363, 0.6681122183799744, 0.21538284420967102, -0.6711986064910889, 0.4225996136665344, -0.08217370510101318, 0.6268684267997742, -0.2666313350200653, 0.17946664988994598, 0.041410356760025024, 0.22923077642917633, -0.5131464004516602, -0.39910799264907837, 0.5089371800422668, -0.27691972255706787, -0.17300903797149658, 0.03635528311133385, 0.41512060165405273, -0.31927812099456787, -0.6786033511161804, 0.646691620349884, 0.1165342628955841, 0.31345778703689575, -0.08702640235424042, -0.49455901980400085, -0.2876216769218445, -0.234013631939888, -0.1337689608335495, 0.03830379992723465, 0.30073782801628113, 0.14290496706962585, 0.35978126525878906, 0.5709315538406372, 0.34388265013694763, 0.41217532753944397, -0.25908568501472473, 0.4445643126964569, -0.4813082218170166, -0.1660865992307663, -0.5965818762779236, 0.3975542187690735, 0.03678066283464432, -0.5877231955528259, 0.6454288959503174, 0.5967005491256714, 0.8919247388839722, 0.1345152109861374, 0.3698570132255554, 0.2315480262041092, 0.06332266330718994, -0.43719226121902466, 0.485749214887619, -0.4204017221927643, 0.33038070797920227, -0.14398090541362762, -1.0651997327804565, -0.5032834410667419, 0.7197340130805969, -0.0913626179099083, -0.3247867524623871, 0.9227806925773621, 0.6598815321922302, -0.2547105848789215, -0.05891301482915878, 0.19943803548812866, 0.16637064516544342, -0.08612947165966034, 0.5506190657615662, 0.6641768217086792, -0.7496493458747864, 0.6048629283905029, -0.60881108045578, 0.14927947521209717, -0.21755588054656982, -0.7459480166435242, -0.6410051584243774, -0.764805257320404, -0.4098380208015442, -0.3931131660938263, -0.19803442060947418, 1.3178561925888062, 0.4364038109779358, -0.8436182737350464, -0.5940361022949219, -0.39589011669158936, 0.018699994310736656, 0.013873881660401821, -0.203044593334198, 0.42206165194511414, -0.2264806628227234, -0.8237993717193604, 0.08489298075437546, 0.31694817543029785, 0.13242819905281067, -0.5991471409797668, -0.2080342173576355, -0.40964943170547485, -0.27341845631599426, 0.5457760691642761, 0.1263345628976822, -1.0933496952056885, -0.02704090252518654, 0.22849830985069275, -0.023020869120955467, 0.43174150586128235, 1.103472352027893, -0.7674456834793091, 0.6059107184410095, 0.9074785709381104, 0.41221046447753906, 0.13093852996826172, -0.08953327685594559, 0.8465743064880371, -0.5529088973999023, 0.37949591875076294, 0.24039341509342194, 0.6596367955207825, 0.37627723813056946, -0.48604264855384827, 0.4039689004421234, 0.466397762298584, -0.23721539974212646, -0.5930067896842957, 0.48325315117836, -0.9869294166564941, -0.4230647087097168, 1.2528425455093384, -0.3108600080013275, -0.44842037558555603, -0.44856953620910645, -0.07711038738489151, 0.00439817551523447, -0.2934451699256897, 0.8351114392280579, 0.8128958940505981, 0.12617112696170807, -0.05408884584903717, -0.5537175536155701, 0.5410178303718567, 0.16163261234760284, -0.8257150650024414, -0.125381201505661, 0.6255063414573669, -0.15698005259037018, 0.5405416488647461, 0.40516427159309387, 0.022152163088321686, 0.3153575658798218, -0.43172699213027954, -0.10605106502771378, 0.6299378275871277, -0.2719540596008301, -0.19574615359306335, -0.13350805640220642, -0.0690535306930542, -0.4009456932544708 ]
http://arxiv.org/abs/2403.06355v1
http://arxiv.org/pdf/2403.06355v1
Multi-modal Semantic Understanding with Contrastive Cross-modal Feature Alignment
2024-03-11T01:07:36
2024-03-11T01:07:36
Ming Zhang, Ke Chang, Yunfang Wu
cs.CL
cs.CL, cs.CV
Multi-modal semantic understanding requires integrating information from different modalities to extract users' real intention behind words. Most previous work applies a dual-encoder structure to separately encode image and text, but fails to learn cross-modal feature alignment, making it hard to achieve cross-modal deep information interaction. This paper proposes a novel CLIP-guided contrastive-learning-based architecture to perform multi-modal feature alignment, which projects the features derived from different modalities into a unified deep space. On multi-modal sarcasm detection (MMSD) and multi-modal sentiment analysis (MMSA) tasks, the experimental results show that our proposed model significantly outperforms several baselines, and our feature alignment strategy brings obvious performance gain over models with different aggregating methods and models even enriched with knowledge. More importantly, our model is simple to implement without using task-specific external knowledge, and thus can easily migrate to other multi-modal tasks. Our source codes are available at https://github.com/ChangKe123/CLFA.
[ -0.5422210693359375, -0.49390852451324463, 0.5969640016555786, 0.11559932678937912, -0.6030505299568176, -0.07885363698005676, -0.23420998454093933, -0.4563416838645935, 0.21993854641914368, 0.08661570399999619, -0.9460299015045166, -0.45390522480010986, -0.5467017889022827, -0.16619113087654114, -0.08603637665510178, 0.8779048919677734, 0.14869897067546844, 0.377631276845932, -0.32600513100624084, -0.3926893472671509, -0.5286834239959717, -0.23713241517543793, -0.09558995068073273, -0.0035629156045615673, 0.37965264916419983, 0.3390035331249237, 0.8362330198287964, 0.33745619654655457, 0.42301732301712036, 0.2917995750904083, -0.11991705745458603, 0.4597732424736023, -0.2803812026977539, -0.18906788527965546, -0.3522982895374298, -0.2211320847272873, -0.2766464948654175, -0.1965513676404953, 0.2823798358440399, 0.49049994349479675, 0.2596769630908966, -0.005977454595267773, 0.07684244215488434, 0.28099462389945984, -0.7505693435668945, 0.10479814559221268, -0.5457108020782471, -0.10721290111541748, 0.07077143341302872, -0.07371322065591812, -0.2537648677825928, 0.12835007905960083, 0.255346417427063, -0.6979649662971497, 0.09545213729143143, -0.20451132953166962, 0.8621437549591064, 0.38966691493988037, -0.8062137365341187, -0.47283491492271423, -0.12789300084114075, 0.8720569610595703, -0.4519597589969635, 0.6446391940116882, -0.018051691353321075, 0.2880594730377197, 0.2676713466644287, -0.42607244849205017, -0.76214599609375, 0.17762096226215363, -0.1403445601463318, 0.2068033665418625, 0.20510666072368622, -0.08412878215312958, -0.23879674077033997, 0.48922184109687805, -0.3324023187160492, -0.040787942707538605, -0.24627342820167542, -0.35010087490081787, 0.09126973897218704, 0.22566600143909454, 0.2730851471424103, -0.48836594820022583, -1.10658597946167, -0.055214621126651764, -0.2527373731136322, 0.35249757766723633, -0.027212390676140785, 0.29061493277549744, -0.3875305950641632, 0.33821871876716614, 0.005893429275602102, 0.46698513627052307, 0.1660999059677124, -0.281068354845047, 0.551206111907959, -0.8187940716743469, -0.31264838576316833, -0.31658411026000977, 0.6447558403015137, 0.4663296937942505, -0.2605946660041809, -0.001112523372285068, -0.13228826224803925, 0.2932155132293701, 0.15347705781459808, -0.8728631734848022, 0.015825772657990456, -0.05597275123000145, -0.5953689813613892, -0.39323118329048157, 0.24648180603981018, -0.8423036336898804, -0.305044025182724, -0.44686052203178406, 0.5486503839492798, -0.7166296243667603, -0.17070239782333374, 0.3179655373096466, -0.24722333252429962, 0.3253110647201538, 0.551384449005127, -0.5751473903656006, 0.0037808874621987343, 0.6035317778587341, 0.7267677187919617, -0.12557463347911835, -0.4802577793598175, -0.38251450657844543, 0.2269579917192459, 0.08828533440828323, 0.5869554281234741, -0.7308942675590515, -0.23602423071861267, -0.04776766896247864, -0.008928928524255753, -0.2062445729970932, -0.17711366713047028, 0.633063793182373, -0.6617799997329712, 0.5211383104324341, -0.29570916295051575, -0.27094337344169617, -0.5738425850868225, 0.45298632979393005, -0.6520799398422241, 0.6690270304679871, -0.10732246190309525, -0.736331045627594, 0.4632575213909149, -0.60804283618927, -0.35681912302970886, -0.3451576232910156, -0.3330734372138977, -0.19511516392230988, 0.06970258057117462, 0.5685281753540039, 0.41378673911094666, -0.3349229097366333, 0.29117152094841003, -0.40324831008911133, -0.3074710965156555, 0.47516557574272156, -0.5014024376869202, 0.5816850662231445, 0.17618077993392944, -0.22803816199302673, 0.24869291484355927, -0.5339707136154175, -0.19118274748325348, -0.03881548345088959, -0.20364998281002045, -0.3793376684188843, -0.19596698880195618, 0.1760372817516327, 0.6653867959976196, 0.35694432258605957, -0.4557899534702301, -0.10058348625898361, -0.08814682811498642, 0.2814800441265106, 0.655674397945404, -0.1239035502076149, 0.5203164219856262, -0.21462152898311615, 0.3116708993911743, 0.6243340373039246, 0.31784072518348694, -0.581556499004364, -0.2101629078388214, -0.6240886449813843, -0.8268213868141174, 0.18118804693222046, 0.47227656841278076, -0.7999473214149475, 0.4809982478618622, -0.32694151997566223, 0.002806134521961212, -0.6259360909461975, 0.31136563420295715, 0.5640193223953247, 0.7579953074455261, 0.6455325484275818, -0.5208595991134644, -0.2946334481239319, -0.8304373621940613, 0.1070372462272644, 0.319917768239975, 0.08162140101194382, 0.6009517312049866, 0.37959858775138855, -0.5384471416473389, 0.7394900918006897, -0.5322992205619812, -0.5276761651039124, -0.005306451581418514, 0.2401055246591568, -0.11873418837785721, 0.4311161935329437, 0.5614556074142456, -1.0779099464416504, -0.1320967823266983, 0.061688926070928574, -0.5307748913764954, -0.004177678842097521, -0.2212890237569809, -0.26378104090690613, -0.11298337578773499, 0.41824454069137573, -0.5957484245300293, 0.22670678794384003, 0.3732371926307678, -0.47903016209602356, 0.33555173873901367, 0.20816892385482788, 0.38345056772232056, -1.3501412868499756, 0.057582125067710876, 0.06067200377583504, -0.3400881886482239, -0.37413862347602844, -0.04843335598707199, 0.25216203927993774, -0.06106970086693764, -0.5475907325744629, 0.2070716917514801, -0.5168614983558655, -0.05062947794795036, -0.22228802740573883, 0.4061717092990875, 0.46982118487358093, 0.6608148217201233, 0.06105321645736694, 0.7677642107009888, 0.5020354986190796, -0.48970460891723633, 0.05510135367512703, 0.40466412901878357, -0.20728354156017303, 0.7840437889099121, -0.23837213218212128, -0.05312998220324516, -0.08663694560527802, 0.1533469408750534, -0.9472678899765015, -0.1264895647764206, 0.20036178827285767, -0.4692970812320709, 0.18131019175052643, -0.1968177855014801, 0.04084571450948715, -0.002282507251948118, -0.6777966022491455, 0.6927230954170227, 0.2145458161830902, -0.7717074155807495, 0.9012002348899841, 0.18827851116657257, 0.15241515636444092, -0.9318942427635193, -0.7049421072006226, -0.16765323281288147, -0.15680839121341705, -0.7340775728225708, 0.631840705871582, -0.032801005989313126, 0.26382768154144287, 0.2902225852012634, -0.1617790311574936, -0.21026511490345, -0.027100548148155212, 0.23481979966163635, 0.3960459232330322, -0.46165919303894043, 0.3830811083316803, 0.18544931709766388, 0.08829168975353241, -0.22180236876010895, -0.03890570253133774, 0.5450109839439392, -0.21284982562065125, -0.5506429076194763, -0.6994728446006775, 0.5238004922866821, 0.9019104242324829, -0.4129950702190399, 0.5504338145256042, 0.8738336563110352, -0.14935703575611115, -0.2020999640226364, -0.5407369136810303, -0.11998791992664337, -0.4534946084022522, 0.42860230803489685, -0.6133689284324646, -0.9353165626525879, 0.4932123124599457, -0.3447406589984894, -0.24349501729011536, 0.3645437955856323, 0.5235409736633301, -0.10075641423463821, 1.0105297565460205, 0.8878746628761292, -0.042262639850378036, 0.6180746555328369, -0.05765906721353531, 0.1493457406759262, -0.8951188921928406, -0.453761488199234, -0.1060822606086731, -0.3816784620285034, 0.04678274318575859, -0.928628146648407, 0.18890470266342163, 0.21897590160369873, -0.06702366471290588, 0.06166145205497742, -0.30603712797164917, 0.41962963342666626, 0.20277781784534454, 0.39887529611587524, 0.35916703939437866, -0.28364235162734985, -0.1931343823671341, -0.14443786442279816, -0.3549613058567047, -0.20219622552394867, 0.6125336289405823, 0.36236655712127686, 0.8838041424751282, 0.239131897687912, 0.4015296697616577, 0.1583269089460373, -0.10789825022220612, -0.9327690005302429, 0.3659975528717041, -0.29022231698036194, -0.09159480035305023, -0.02308979071676731, -0.2326265275478363, -0.4662748873233795, 0.7202613949775696, -0.35768717527389526, -0.24168947339057922, 0.5536147356033325, -0.052507273852825165, -0.24502761662006378, 0.09154638648033142, -0.827610969543457, 1.0624452829360962, -0.4541556239128113, -0.13755300641059875, -0.5024728178977966, -0.7543679475784302, 0.6531963348388672, 0.24063658714294434, 0.3039208948612213, -0.17956186830997467, -0.5028204917907715, 0.254798024892807, -0.22594870626926422, 1.1927095651626587, -0.17479504644870758, 0.10441053658723831, 0.024375926703214645, 0.01822713576257229, 0.02294735796749592, 0.2577897012233734, 0.16981841623783112, -0.08991905301809311, -0.02023349516093731, -0.22519946098327637, -0.8561340570449829, 0.610363781452179, -0.5890201330184937, -0.2705868184566498, -0.07419990748167038, -0.6664462089538574, -0.15262816846370697, 0.17018038034439087, -0.005854662507772446, 0.5654952526092529, -0.4132721424102783, 0.13447147607803345, 0.7042276859283447, 0.09934921562671661, 0.5046964883804321, 0.43933168053627014, -0.0031113282311707735, -0.7591286301612854, 0.8622018694877625, -0.5270446538925171, 0.19560503959655762, 0.46303674578666687, 0.10815852880477905, -0.32710686326026917, -0.18207332491874695, -0.6223751306533813, 0.1572399139404297, -0.9757989645004272, -0.4278223514556885, -0.6266974210739136, 0.16579972207546234, -0.39219993352890015, -0.48867687582969666, -0.4261072278022766, -0.2681463658809662, -0.609399676322937, 0.2149454951286316, 0.06835756450891495, 0.45302262902259827, 0.05043340474367142, 0.16597536206245422, -0.8366414308547974, 0.4055708944797516, 0.4434265196323395, 0.2106344848871231, 0.009523208253085613, -0.44497057795524597, -0.14612342417240143, -0.0930381566286087, -0.29603537917137146, -0.9486300945281982, 0.1318310797214508, 0.3300454318523407, 0.5352470278739929, 0.8041344881057739, -0.004365640226751566, 0.9337520599365234, -0.1336354911327362, 0.6778060793876648, 0.6413779258728027, -1.3907345533370972, 0.3328152000904083, 0.010926471091806889, 0.43287137150764465, 0.814522385597229, 0.3784772455692291, -0.5234016180038452, 0.06553788483142853, -0.18692487478256226, -0.5800308585166931, 0.6247292757034302, -0.3545074760913849, 0.1955421417951584, 0.11013815551996231, -0.025603996589779854, 0.3772747814655304, 0.2279004603624344, -0.777447521686554, 0.13427673280239105, -0.5199100971221924, -0.6490873098373413, 0.17970259487628937, -0.25278007984161377, -0.44893842935562134, -0.24256832897663116, 0.33554282784461975, -0.6170774698257446, 0.16319957375526428, 0.23121345043182373, -0.6961256265640259, 0.3455217182636261, 0.45590823888778687, 0.7912286520004272, 0.5079479813575745, 0.11278823763132095, 0.4093494713306427, 0.1771174818277359, -0.2818912863731384, -0.13271130621433258, 0.13389307260513306, 0.07636415213346481, -0.1833035796880722, 0.12741193175315857, 0.8025936484336853, 0.7178161144256592, -0.6972342133522034, 1.1155775785446167, -0.03335142880678177, -0.029448658227920532, 0.15093199908733368, -0.13635247945785522, 0.0980740413069725, 0.5029096007347107, 0.08392288535833359, 0.26208147406578064, 0.31547287106513977, -0.5883912444114685, 0.31767481565475464, 0.7363542914390564, -0.5065045356750488, -0.4996143877506256, 0.32471421360969543, 0.3916873037815094, 0.23401780426502228, 0.2101118564605713, -0.06963498145341873, -0.8530899286270142, 0.3038944602012634, 0.4760175049304962, 0.8152804374694824, 0.025547616183757782, 0.3092162609100342, -0.04284704849123955, 0.13472384214401245, 0.3247601091861725, 0.3920411765575409, -0.5415475368499756, -0.6810895204544067, -0.42064401507377625, -0.43784767389297485, -0.36146309971809387, -0.22778917849063873, -0.6029564738273621, 0.3883588910102844, -0.23598702251911163, 0.033949024975299835, 0.0034886712674051523, -0.48865455389022827, -0.7534967660903931, 0.19983479380607605, 0.21745792031288147, 0.8750358819961548, -0.8772914409637451, 0.6526085138320923, 0.6223294734954834, -0.5962651371955872, -0.40924423933029175, 0.2211616486310959, 0.14862139523029327, -0.8195332884788513, 0.5562628507614136, 0.4877455234527588, -0.6192532181739807, -0.5513051748275757, -0.3717494606971741, -0.7491823434829712, 1.2879366874694824, 0.29470786452293396, -0.016015132889151573, 0.10282056033611298, -0.11419154703617096, 0.32091593742370605, -0.7825713753700256, 0.22381417453289032, 0.25430572032928467, 0.24154599010944366, 0.2528982162475586, -0.8160631656646729, 0.23681318759918213, -0.25004875659942627, -0.10692423582077026, 0.18165414035320282, -0.8011513948440552, 0.7323335409164429, -0.20389404892921448, -0.2714046537876129, -0.2444426417350769, 0.8443306684494019, -0.268648236989975, 0.2947409152984619, 0.5962404012680054, 0.7552875280380249, 0.7102437019348145, 0.17990389466285706, 0.5422936677932739, -0.2435702681541443, 0.2535851299762726, 1.097185730934143, -0.1920595020055771, 0.7898300886154175, 0.6091592311859131, 0.3254319727420807, 0.8303647041320801, 0.3014894425868988, 0.055018410086631775, 0.7617511749267578, -0.4107491075992584, -0.40517058968544006, -0.5324205160140991, -0.19443254172801971, -0.2838292717933655, 0.7097307443618774, 0.43576580286026, -0.5412411689758301, -0.3771531283855438, 0.17688937485218048, -0.19319447875022888, 0.01717621088027954, -0.2427292913198471, 0.9724532961845398, -0.08756580948829651, -0.3813122808933258, 0.3502741754055023, -0.06277820467948914, 1.1513638496398926, -0.5314807295799255, -0.0006131326663307846, 0.17369423806667328, 0.16737639904022217, -0.24299094080924988, -0.8734313249588013, 0.28392696380615234, -0.3369312882423401, -0.5188103914260864, 0.023891087621450424, 0.7203139662742615, -0.5419090986251831, -0.18840914964675903, 0.38159891963005066, 0.5385317206382751, -0.25794270634651184, 0.1412658393383026, -0.7530176043510437, 0.2287430763244629, -0.0639340877532959, -0.025194425135850906, 0.3738274872303009, 0.5301406979560852, 0.08700131624937057, 0.33015966415405273, 0.5714395046234131, -0.49542132019996643, 0.026637820526957512, 0.1746634542942047, 1.2214478254318237, -0.6538602113723755, -0.6957724690437317, -0.7136796116828918, 0.5934443473815918, -0.29867300391197205, -0.44264206290245056, 0.357046902179718, 0.402907133102417, 0.7665534615516663, -0.08471161127090454, 0.5135990381240845, 0.03947603702545166, 0.3293517529964447, -0.6606664657592773, 0.2976016700267792, -0.7184219360351562, 0.048646993935108185, -0.05878381431102753, -0.4919310212135315, -0.20401263236999512, 0.3423943817615509, -0.16390879452228546, -0.12897911667823792, 0.8702439069747925, 0.7674240469932556, -0.4684131443500519, 0.04141785576939583, 0.30408775806427, -0.1868664175271988, 0.15648342669010162, 0.7609848976135254, 0.7623056173324585, -0.26296067237854004, 0.8422215580940247, -0.4058088958263397, -0.28269946575164795, -0.20329542458057404, -0.7843838334083557, -0.9680033326148987, -0.6417637467384338, -0.08003028482198715, -0.09357546269893646, -0.29386812448501587, 0.8386185765266418, 0.8502473831176758, -0.6826527118682861, 0.19351251423358917, 0.30232688784599304, 0.25693556666374207, -0.17872269451618195, -0.23747874796390533, 0.4487587809562683, -0.6109110713005066, -0.6828897595405579, 0.5881770849227905, 0.44047272205352783, -0.1103273406624794, -0.14843662083148956, -0.06183862313628197, -0.18679669499397278, 0.21528097987174988, 0.56937175989151, 0.14781728386878967, -0.8715510368347168, -0.3189018964767456, 0.04846527427434921, -0.39798393845558167, 0.28047966957092285, 1.0227965116500854, -0.7974438667297363, 0.4478136897087097, 0.5502995252609253, 0.9982410669326782, 0.32930195331573486, 0.23342394828796387, 0.32493409514427185, -0.627200722694397, 0.1943143904209137, 0.1369948834180832, 0.44977232813835144, 0.36075377464294434, -0.49546724557876587, 0.044608891010284424, 0.29709044098854065, -0.25328847765922546, -0.47920119762420654, 0.39107030630111694, -1.41725492477417, -0.5587591528892517, 0.7258660197257996, 0.08448664098978043, -0.22091145813465118, -0.15391704440116882, -0.4707304835319519, 0.13615478575229645, -0.4848858714103699, 0.6290925145149231, 0.40078556537628174, -0.08835975080728531, -0.3710920810699463, -0.02830193005502224, 0.4235497713088989, 0.6436368227005005, -0.6832161545753479, -0.09278583526611328, 0.8221936225891113, 0.25089338421821594, 0.26373475790023804, 0.3716808259487152, -0.30243560671806335, 0.6347540616989136, -0.09723290055990219, 0.054858069866895676, -0.3340930640697479, -0.41432854533195496, -0.6028079390525818, 0.4739554822444916, -0.3147277235984802, -0.5865452885627747 ]
http://arxiv.org/abs/2403.06354v1
http://arxiv.org/pdf/2403.06354v1
Amharic LLaMA and LLaVA: Multimodal LLMs for Low Resource Languages
2024-03-11T01:04:36
2024-03-11T01:04:36
Michael Andersland
cs.CL
cs.CL
Large Language Models (LLMs) like GPT-4 and LLaMA have shown incredible proficiency at natural language processing tasks and have even begun to excel at tasks across other modalities such as vision and audio. Despite their success, LLMs often struggle to perform well on low-resource languages because there is so little training data available. This shortcoming is especially prevalent with open source models. In this work, we explore training LLaMA-2 to speak Amharic, a language which is spoken by over 50 million people world wide, but has orders of magnitude less data available than languages like English. We employ methods previously used for training LLMs on other languages with data scarcity, and use open source translation models to perform data augmentation and grow our dataset from millions of tokens to billions. We further enhance the capabilities of our model by connecting an image encoder and training on a translated visual instruction tuning dataset in the same manner as LLaVA, resulting in a multimodal Amharic LLM that can understand images along with text. We introduce an Amharic version of a popular benchmarking dataset to evaluate our work. Our models and dataset are open sourced and available on GitHub.
[ -0.1860557198524475, -0.6598961353302002, 0.30641815066337585, 0.1857469528913498, -0.4200884699821472, 0.49528637528419495, -0.5170235633850098, -0.8075858950614929, 0.33205801248550415, 0.33218154311180115, -0.4071744978427887, -0.5206570625305176, -0.7261865139007568, 0.1784701943397522, -0.11072906851768494, 0.735090434551239, -0.4422074258327484, 0.26848742365837097, -0.28113746643066406, -0.5904462337493896, -0.3828134834766388, -0.38043448328971863, -0.5371547341346741, -0.20230382680892944, 0.4448094069957733, 0.722015380859375, 0.7531067728996277, 0.6827766299247742, 0.26873740553855896, 0.32638847827911377, 0.003087360644713044, 0.4040223956108093, -0.4493889808654785, 0.10411562770605087, 0.22630180418491364, -0.5940443873405457, -0.2826489508152008, -0.06047872081398964, 0.6229755878448486, 0.468269407749176, -0.15359781682491302, 0.3657156825065613, -0.12458694726228714, 0.4722084701061249, -0.6774061918258667, 0.44411447644233704, -0.6666933298110962, 0.06677912175655365, -0.4407145380973816, 0.036395568400621414, -0.15225835144519806, -0.25494125485420227, -0.36363667249679565, -0.6889359354972839, -0.038823213428258896, 0.23875188827514648, 0.500636100769043, 0.46424242854118347, -0.5551226139068604, -0.4142981767654419, -0.5491530299186707, 0.9733805656433105, -0.43021732568740845, 0.3792079985141754, 0.5538510084152222, 0.30130836367607117, 0.07000813633203506, -0.4545252323150635, -0.7011813521385193, -0.39168912172317505, 0.1528678685426712, -0.060843706130981445, -0.28988730907440186, -0.1000325083732605, 0.18050755560398102, 0.609352171421051, -0.3748786449432373, 0.3068372905254364, -0.41703078150749207, -0.20200258493423462, 0.3252798020839691, 0.18975664675235748, 0.21557846665382385, -0.22560422122478485, -0.3764825165271759, -0.11070602387189865, -0.724063515663147, -0.03768778592348099, 0.45213380455970764, 0.14021450281143188, -0.5041441321372986, 0.8628594875335693, -0.08004050701856613, 0.6621331572532654, -0.5173811316490173, -0.3189646899700165, 0.3229964077472687, -0.4651370644569397, 0.02501523867249489, -0.12232109904289246, 0.673270583152771, 0.237554669380188, 0.3935689926147461, 0.0028855379205197096, -0.31678128242492676, 0.10361509770154953, 0.06787995994091034, -0.5939691066741943, -0.13548485934734344, -0.21228571236133575, -0.4990836977958679, -0.20723788440227509, -0.5836998224258423, -0.7677187919616699, -0.40814098715782166, -0.3625156581401825, 0.17350612580776215, -0.3055288791656494, -0.0473356731235981, -0.13102199137210846, 0.3017100393772125, 0.22179579734802246, 0.5450835227966309, -1.1991568803787231, 0.2487640678882599, 0.17954736948013306, 1.1331586837768555, -0.04804346337914467, -0.2669426500797272, -0.6028634309768677, 0.21033009886741638, -0.2879396080970764, 0.76595139503479, -0.7703121304512024, -0.38340258598327637, -0.01559564657509327, 0.03924817219376564, 0.08337665349245071, -0.5209276080131531, 0.536992073059082, -0.38120269775390625, -0.22664159536361694, -0.2098473310470581, -0.0059694088995456696, -0.31204015016555786, 0.3816354274749756, -0.7670702934265137, 0.8726229667663574, 0.14191828668117523, -0.6369462013244629, 0.08558465540409088, -0.6748597025871277, -0.49691468477249146, 0.11681658774614334, -0.31491705775260925, -0.165085107088089, 0.17338846623897552, 0.5543925166130066, 0.24037110805511475, -0.6402215957641602, -0.22119662165641785, -0.3512127995491028, -0.16511870920658112, 0.2488652914762497, -0.6342451572418213, 0.49384626746177673, 0.29915738105773926, 0.09884607791900635, 0.0651620402932167, -0.64521324634552, -0.018502691760659218, 0.3159051537513733, -0.8937031030654907, -0.2917364239692688, -0.10425896942615509, 0.3940570056438446, 0.06725842505693436, 0.42907074093818665, -0.6906996965408325, 0.2630985379219055, -0.23868153989315033, 0.7534166574478149, 0.7547521591186523, -0.3772789239883423, 0.3630061745643616, -0.21375331282615662, 0.6525012254714966, 0.1308155059814453, 0.15587660670280457, -0.23604609072208405, -0.5958669781684875, -1.0350786447525024, -0.3573181629180908, 0.3860124945640564, 0.6452692747116089, -1.0729496479034424, -0.259754478931427, -0.31320008635520935, -0.18154674768447876, -0.9340454339981079, 0.6112606525421143, 0.34041762351989746, 0.35808348655700684, 0.47851288318634033, -0.459269255399704, -0.4923427700996399, -1.1027753353118896, 0.05843331664800644, -0.20923453569412231, -0.04906012862920761, 0.5656853914260864, 0.4849746823310852, -0.32073527574539185, 0.4130694568157196, -0.31515568494796753, -0.3417922556400299, -0.3544728457927704, -0.09307270497083664, 0.13824142515659332, 0.3541189134120941, 0.45910143852233887, -0.6037670373916626, -0.36240440607070923, 0.2934281527996063, -0.8291988968849182, 0.08073171228170395, 0.30569371581077576, 0.09126017987728119, 0.344432532787323, 0.42127475142478943, -0.3938579857349396, 0.15203514695167542, 0.9433504939079285, 0.14779439568519592, 0.2768579423427582, -0.3296591341495514, 0.24146582186222076, -1.1331602334976196, -0.09316269308328629, -0.0634842962026596, -0.2884805500507355, -0.44114115834236145, -0.09511582553386688, 0.07605918496847153, -0.2697327136993408, -0.5695667266845703, 0.6613129377365112, -0.6370174884796143, -0.33208516240119934, -0.24377749860286713, -0.04728839546442032, -0.3535238802433014, 0.5785683393478394, -0.03147440403699875, 1.018458366394043, 0.4538147747516632, -0.29919981956481934, 0.6061696410179138, 0.4920309782028198, -0.6806186437606812, 0.3842889070510864, -0.489263653755188, 0.15790021419525146, -0.01277677621692419, 0.10222452133893967, -0.7899618744850159, -0.5760604739189148, 0.38346436619758606, -0.10232575237751007, 0.24286480247974396, -0.22184738516807556, -0.6983493566513062, -0.3272015154361725, -0.28722891211509705, 0.6430589556694031, 0.3581034243106842, -0.8542320728302002, 0.5871233344078064, 0.5244655013084412, -0.17566874623298645, -0.8112857937812805, -0.8490097522735596, 0.30096256732940674, -0.015818554908037186, -0.6374257802963257, 0.1351107954978943, -0.07403083145618439, -0.08123345673084259, -0.014638709835708141, 0.06626735627651215, -0.03400163725018501, 0.052418556064367294, 0.3566032350063324, 0.1698925495147705, -0.16788829863071442, 0.2788218557834625, 0.046487271785736084, -0.12092342227697372, -0.3573567867279053, -0.12935121357440948, 0.5093027949333191, -0.3485092222690582, -0.5364007949829102, -0.21933768689632416, 0.29036223888397217, 0.4977894425392151, -0.35660263895988464, 0.7504904866218567, 0.636610209941864, -0.31817173957824707, 0.010763317346572876, -0.5721407532691956, 0.21383953094482422, -0.458279550075531, 0.35244253277778625, -0.3153032660484314, -0.9105264544487, 0.43344542384147644, -0.18899847567081451, -0.028987983241677284, -0.010811234824359417, 0.8403728008270264, -0.06188850477337837, 0.6491179466247559, 0.8234476447105408, -0.24965395033359528, 0.5744485855102539, -0.15319964289665222, -0.023448677733540535, -0.8102936744689941, -0.2952660024166107, -0.16024580597877502, -0.5680223703384399, -0.6367789506912231, -0.8704662919044495, 0.44058945775032043, 0.05097442492842674, 0.09861847758293152, 0.22939306497573853, -0.10321858525276184, 0.7893840074539185, 0.6549398303031921, 0.1923520714044571, 0.550973117351532, 0.2719297707080841, -0.1364961862564087, -0.008302662521600723, -0.5983151197433472, -0.7871142029762268, 1.1854325532913208, 0.365816205739975, 1.1413955688476562, 0.13253793120384216, 0.2734931409358978, 0.21473832428455353, 0.24861663579940796, -0.9114558696746826, 0.4329509437084198, -0.35064995288848877, -0.3811882734298706, -0.11851626634597778, -0.2712715268135071, -0.6865440011024475, 0.2699289619922638, -0.31941720843315125, -0.31325504183769226, 0.006175123620778322, 0.288576602935791, 0.08030998706817627, 0.4636383652687073, -0.8009475469589233, 0.7343120574951172, -0.5278051495552063, -0.2672250270843506, -0.4088720679283142, -0.5725017189979553, 0.5629060864448547, -0.28198158740997314, 0.26700350642204285, -0.2875402867794037, -0.5148097276687622, 0.5525259971618652, -0.25159752368927, 0.9363425374031067, 0.010603554546833038, -0.10756398737430573, 0.24227876961231232, -0.20909518003463745, 0.5688712000846863, 0.24613958597183228, -0.056552134454250336, 0.5509018898010254, -0.3797319829463959, -0.6871029138565063, -0.17744489014148712, 0.6820704340934753, -0.965576708316803, -0.3951297998428345, -0.10201112180948257, -0.5777286887168884, -0.15314152836799622, -0.0852341577410698, 0.016470536589622498, 0.16984237730503082, -0.2129780501127243, 0.2544892132282257, 0.2963528335094452, -0.42023611068725586, 0.4081404507160187, 0.5183156132698059, 0.08111429214477539, -0.634289562702179, 0.8003376126289368, 0.058890677988529205, 0.1398358941078186, 0.28306812047958374, -0.1300651580095291, -0.21374385058879852, -0.7156081795692444, -0.7928835153579712, 0.36824026703834534, -0.9305857419967651, -0.35611197352409363, -0.5668514966964722, -0.04464622214436531, -0.006651235744357109, -0.00041809503454715014, -0.35137462615966797, -0.4564434289932251, -0.35994094610214233, 0.03969196230173111, 0.5432288646697998, 0.8807519674301147, -0.13838273286819458, 0.5216627717018127, -0.6928440928459167, 0.2558894455432892, 0.41061538457870483, 0.41526687145233154, -0.02588079869747162, -0.38975515961647034, -0.5455365180969238, 0.023991426452994347, -0.42432650923728943, -0.5999395251274109, 0.4556867182254791, 0.3197062909603119, 0.4660075306892395, 0.12823741137981415, -0.24736429750919342, 0.6493679285049438, -0.5881524085998535, 0.5789576172828674, 0.27829235792160034, -0.9292490482330322, 0.5432645678520203, -0.14840351045131683, 0.29000693559646606, 0.4601821303367615, 0.44550108909606934, -0.5471274852752686, -0.27126431465148926, -0.022891145199537277, -0.5818214416503906, 0.8025103211402893, 0.2300109565258026, 0.2593229413032532, 0.10743923485279083, 0.185889333486557, 0.2256670743227005, 0.35861197113990784, -0.9295496940612793, -0.07594329118728638, -0.40125879645347595, -0.35933712124824524, -0.29246431589126587, -0.2948843836784363, -0.12142553180456161, -0.0024899307172745466, 0.4589509665966034, -0.28480902314186096, 0.16371667385101318, -0.27074989676475525, -0.3453756868839264, -0.2972666323184967, 0.26594775915145874, 0.5554688572883606, 0.2623308300971985, 0.14602947235107422, 0.2348565012216568, 0.5178138017654419, -0.6672722101211548, 0.3444899022579193, -0.015993591398000717, 0.09082446247339249, -0.20597171783447266, 0.482904314994812, 1.0257586240768433, 0.3856102228164673, -0.9414823055267334, 0.45212671160697937, -0.11715365946292877, 0.007665220648050308, -0.35710883140563965, -0.08751950412988663, 0.15435874462127686, 0.48781007528305054, 0.10292184352874756, 0.23129744827747345, -0.2379261702299118, -0.3388507664203644, -0.23902714252471924, 0.45187535881996155, -0.11099346727132797, -0.4806284010410309, 0.723924994468689, 0.4298650324344635, -0.06747955828905106, 0.704268753528595, -0.047583967447280884, -0.24575011432170868, 0.46285635232925415, 0.4412166476249695, 0.49896857142448425, -0.12825538218021393, 0.10256347805261612, 0.3176743686199188, 0.5857698917388916, -0.004698735661804676, 0.25079503655433655, -0.25200220942497253, -0.6554471850395203, -0.5636045932769775, -0.8599269390106201, -0.6617015600204468, 0.24940767884254456, -0.24073539674282074, 0.4463002681732178, -0.33910566568374634, -0.02409978397190571, -0.2473982572555542, -0.034135378897190094, -0.7217048406600952, -0.2522525489330292, 0.27908599376678467, 0.6321724057197571, -0.9329556822776794, 1.0105243921279907, 0.7852177619934082, -0.47693848609924316, -0.49702543020248413, -0.27035951614379883, -0.01994963176548481, -1.3374295234680176, 0.8499829769134521, 0.2445100098848343, -0.03637656569480896, -0.016764895990490913, -0.6432755589485168, -0.8904436826705933, 1.19282066822052, 0.7673198580741882, -0.5902613997459412, -0.030554858967661858, 0.20220230519771576, 0.41740837693214417, -0.41616058349609375, 0.14841455221176147, 0.2176591157913208, 0.39435818791389465, 0.277149498462677, -0.9316985011100769, -0.2426694631576538, -0.24705807864665985, 0.11680332571268082, 0.18509654700756073, -0.8178604245185852, 0.893471896648407, -0.5061758756637573, -0.33525940775871277, 0.24952302873134613, 0.5800398588180542, 0.1211128681898117, 0.12343613058328629, 0.5208042860031128, 0.6032910346984863, 0.7532830238342285, 0.08587571233510971, 0.908838152885437, -0.30487895011901855, 0.02986677922308445, 0.9779122471809387, -0.21987521648406982, 0.9591304659843445, 0.46381595730781555, -0.14923086762428284, 0.3958832919597626, 0.7532273530960083, -0.05153685808181763, 0.4295240342617035, 0.15598748624324799, -0.5404182076454163, -0.3511955440044403, -0.45989087224006653, -0.20426598191261292, 0.7490883469581604, 0.423456609249115, -0.20053496956825256, -0.23241929709911346, 0.3170568645000458, -0.22746722400188446, -0.049963731318712234, -0.3705723285675049, 0.5738662481307983, 0.18117199838161469, -0.1749522089958191, 0.8175041675567627, 0.09595721960067749, 0.8100298047065735, -0.5605871081352234, -0.030217928811907768, -0.31497952342033386, 0.07717641443014145, -0.05536773428320885, -0.6562873721122742, 0.10898638516664505, 0.35275545716285706, -0.18047964572906494, -0.12268227338790894, 0.6169164776802063, -0.5197202563285828, -0.4741845428943634, 0.3283522427082062, 0.6614972352981567, 0.40474313497543335, 0.36158815026283264, -0.6361222267150879, 0.22707092761993408, 0.036215100437402725, -0.0667487308382988, 0.4186284840106964, 0.29905030131340027, -0.2505475580692291, 0.9193390607833862, 0.5877841114997864, 0.1665601283311844, 0.16461500525474548, 0.020232275128364563, 1.0251171588897705, -0.44367480278015137, -0.10456857830286026, -0.6902632117271423, 0.1265445053577423, 0.191445454955101, -0.1706504225730896, 0.6334974765777588, 0.5334537029266357, 0.8990615606307983, -0.3716118335723877, 0.7154641151428223, 0.11069604009389877, 0.2827114462852478, -0.6806379556655884, 0.4645015299320221, -0.5450550317764282, 0.22287292778491974, 0.18613870441913605, -0.8909182548522949, -0.08578527718782425, 0.5088983178138733, -0.22153370082378387, -0.07362160831689835, 0.4228789508342743, 0.850851833820343, -0.13721853494644165, 0.0400715172290802, 0.4340049624443054, 0.14244653284549713, 0.1741725504398346, 0.6718277335166931, 1.1256171464920044, -0.338914692401886, 0.8988174796104431, -0.12432282418012619, -0.17157380282878876, -0.11354614794254303, -0.7638068795204163, -0.9609025120735168, -0.4571102559566498, -0.0018564567435532808, 0.17380265891551971, -0.05134221538901329, 0.9320380091667175, 0.6065402030944824, -0.6179209351539612, -0.33281397819519043, 0.03766295313835144, 0.1343613862991333, 0.17494429647922516, -0.010521032847464085, 0.010403881780803204, -0.36236321926116943, -0.9590325951576233, 0.6312494277954102, 0.31880706548690796, 0.5163886547088623, -0.38208669424057007, -0.21460022032260895, -0.1586327701807022, -0.1811809241771698, 0.7088362574577332, 0.3033851683139801, -0.7471563816070557, -0.0016165164997801185, -0.2000109702348709, 0.02254103310406208, 0.231984943151474, 0.6997868418693542, -0.7695854306221008, 0.47904446721076965, 0.21009476482868195, 0.6400794386863708, 0.6286311149597168, -0.03757192939519882, 0.3570939898490906, -0.8910093307495117, 0.466084748506546, 0.05766462907195091, 0.4536490738391876, 0.6696678996086121, 0.05355726554989815, 0.6989017128944397, 0.19237032532691956, -0.495654821395874, -0.7633113861083984, 0.16026532649993896, -0.8378157615661621, -0.072918601334095, 1.08712899684906, -0.06659892201423645, -0.3167053163051605, -0.09512254595756531, -0.17017382383346558, 0.20166344940662384, -0.46813395619392395, 0.485370397567749, 0.65052330493927, 0.09351523965597153, -0.2295023649930954, -1.0052562952041626, 0.18590176105499268, 0.18232454359531403, -0.90160071849823, 0.1600901037454605, 0.43940985202789307, 0.09978902339935303, 0.07337643206119537, 0.6667447090148926, -0.005013745743781328, 0.01723940670490265, 0.020582756027579308, 0.11887062340974808, -0.186181902885437, -0.2560408115386963, -0.41099849343299866, -0.14823471009731293, 0.31509488821029663, -0.39483171701431274 ]
http://arxiv.org/abs/2403.06350v1
http://arxiv.org/pdf/2403.06350v1
IndicLLMSuite: A Blueprint for Creating Pre-training and Fine-Tuning Datasets for Indian Languages
2024-03-11T00:46:56
2024-03-11T00:46:56
Mohammed Safi Ur Rahman Khan, Priyam Mehta, Ananth Sankar, Umashankar Kumaravelan, Sumanth Doddapaneni, Suriyaprasaad G, Varun Balan G, Sparsh Jain, Anoop Kunchukuttan, Pratyush Kumar, Raj Dabre, Mitesh M. Khapra
cs.CL
cs.CL
Despite the considerable advancements in English LLMs, the progress in building comparable models for other languages has been hindered due to the scarcity of tailored resources. Our work aims to bridge this divide by introducing an expansive suite of resources specifically designed for the development of Indic LLMs, covering 22 languages, containing a total of 251B tokens and 74.8M instruction-response pairs. Recognizing the importance of both data quality and quantity, our approach combines highly curated manually verified data, unverified yet valuable data, and synthetic data. We build a clean, open-source pipeline for curating pre-training data from diverse sources, including websites, PDFs, and videos, incorporating best practices for crawling, cleaning, flagging, and deduplication. For instruction-fine tuning, we amalgamate existing Indic datasets, translate/transliterate English datasets into Indian languages, and utilize LLaMa2 and Mixtral models to create conversations grounded in articles from Indian Wikipedia and Wikihow. Additionally, we address toxicity alignment by generating toxic prompts for multiple scenarios and then generate non-toxic responses by feeding these toxic prompts to an aligned LLaMa2 model. We hope that the datasets, tools, and resources released as a part of this work will not only propel the research and development of Indic LLMs but also establish an open-source blueprint for extending such efforts to other languages. The data and other artifacts created as part of this work are released with permissive licenses.
[ -0.1407870501279831, -0.2664058208465576, 0.045077208429574966, 0.4119923412799835, -0.24939675629138947, 0.3631434142589569, -0.48429158329963684, -0.39734041690826416, 0.1829139143228531, 0.4620782732963562, -0.703494668006897, -0.5554622411727905, -0.4049607813358307, 0.25000715255737305, -0.3429192006587982, 1.1026698350906372, -0.08143489807844162, 0.17731772363185883, -0.20950569212436676, -0.23708784580230713, -0.6446352005004883, -0.03277803957462311, -0.5124486088752747, -0.16457559168338776, 0.35568350553512573, 0.8446669578552246, 0.3228631913661957, 0.5271767377853394, 0.3811088502407074, 0.18953466415405273, 0.15300028026103973, 0.4085692763328552, -0.5388868451118469, 0.33489692211151123, -0.35372573137283325, -0.5728766322135925, -0.10206246376037598, 0.08393842726945877, 0.32286229729652405, 0.44563034176826477, -0.2655787169933319, 0.5834837555885315, 0.29031693935394287, 0.4645214080810547, -0.7183808088302612, 0.222884863615036, -0.6858058571815491, -0.045015640556812286, -0.5277800559997559, -0.4123257100582123, -0.3824537694454193, -0.5779151916503906, -0.43146812915802, -0.5386507511138916, -0.353046715259552, -0.07661332190036774, 0.4565471410751343, 0.4686274826526642, -0.15051743388175964, -0.46967679262161255, -0.7126860618591309, 0.7642953395843506, -0.8177835941314697, 0.27560293674468994, 0.42534124851226807, 0.06882412731647491, -0.028244080021977425, -0.7706575989723206, -0.36923137307167053, -0.05413055419921875, -0.04523385688662529, 0.1831989288330078, 0.38276803493499756, -0.07551852613687515, 0.016298266127705574, 0.5967225432395935, -0.556704580783844, 0.32523471117019653, -0.5781807899475098, 0.00810152292251587, 0.7590479850769043, 0.5327990651130676, 0.6368985772132874, 0.2267419397830963, -0.403287798166275, 0.2036779373884201, -1.2051852941513062, -0.017698241397738457, 0.5023199915885925, 0.5520790815353394, -0.4184073507785797, 0.8479433059692383, -0.11799123883247375, 0.5548621416091919, -0.15577055513858795, -0.1658972203731537, 0.16193817555904388, -0.43960797786712646, -0.13011661171913147, 0.10279599577188492, 0.7067002654075623, 0.1703350841999054, 0.34248045086860657, -0.2135535627603531, -0.1716020107269287, 0.11579310148954391, 0.02296522632241249, -0.6853253841400146, -0.1987190991640091, 0.3763996660709381, -0.16540053486824036, -0.18448476493358612, -0.5200165510177612, -0.6230714917182922, -0.6144295334815979, -0.7829806208610535, 0.12649622559547424, -0.4678429961204529, -0.4485321044921875, -0.09913644194602966, 0.22967371344566345, 0.52764493227005, -0.012976001016795635, -1.189123272895813, 0.21089999377727509, 0.5087281465530396, 0.6995159387588501, -0.38693228363990784, -0.45100611448287964, -0.19780263304710388, 0.2237171232700348, -0.4193064868450165, 0.892749011516571, -0.8672823309898376, -0.4444934129714966, 0.26841264963150024, -0.19984613358974457, 0.1228201761841774, -0.589851975440979, 0.5058445930480957, -0.21992914378643036, 0.2118336409330368, -0.14527739584445953, -0.5552759170532227, 0.16330388188362122, 0.3901318311691284, -0.2637935280799866, 1.1423801183700562, 0.06258765608072281, -0.9337337613105774, 0.43597254157066345, -0.8227057456970215, -0.5344550013542175, 0.44517847895622253, -0.4507557153701782, 0.07515693455934525, -0.03730583190917969, 0.09309032559394836, 0.28645920753479004, -0.6276134252548218, 0.05015560984611511, 0.005021058488637209, -0.43583863973617554, -0.232167050242424, -0.08884292095899582, 1.1740291118621826, 0.4900091588497162, -0.11834365874528885, 0.25481662154197693, -0.6772170066833496, 0.15644285082817078, 0.062391508370637894, -0.4329642355442047, -0.3173951804637909, -0.10006406158208847, 0.02993352711200714, 0.24605922400951385, 0.2934359908103943, -0.646430253982544, 0.09008637070655823, -0.4912116527557373, 0.3521811068058014, 0.6671314239501953, -0.04996972158551216, 0.49349141120910645, -0.08510894328355789, 0.6673234105110168, 0.02077857218682766, 0.5940595865249634, -0.28508976101875305, -0.16847842931747437, -0.6752095818519592, -0.20847167074680328, -0.07822640240192413, 0.9141146540641785, -0.511710524559021, 0.10752221941947937, -0.21616458892822266, -0.6736845374107361, -0.8423606753349304, 0.491166353225708, 0.4036954939365387, 0.48641660809516907, 0.2811679542064667, -0.15489061176776886, -0.6913008093833923, -0.9496568441390991, -0.3378964066505432, 0.08058096468448639, 0.06475948542356491, -0.1067635640501976, 0.13859710097312927, -0.24357272684574127, 0.8642867803573608, -0.1735018789768219, -0.2762151062488556, -0.10825426876544952, -0.18248963356018066, 0.1381886899471283, 0.5355710983276367, 0.21260859072208405, -0.45180743932724, -0.8368867039680481, 0.00912939477711916, -0.781528651714325, -0.02304297499358654, 0.18934805691242218, -0.18418733775615692, 0.08158271014690399, 0.7733074426651001, -0.5575500726699829, 0.1836124211549759, 0.5268456935882568, -0.008915233425796032, 0.4300391376018524, 0.028424106538295746, 0.04910315200686455, -1.4661351442337036, -0.03142816573381424, -0.17671088874340057, 0.13303709030151367, -0.4721781611442566, 0.09384752064943314, 0.009188463911414146, -0.28947725892066956, -0.7395386099815369, 0.7607285380363464, -0.5463311076164246, 0.2834753692150116, 0.04063042998313904, 0.023684317246079445, -0.46174725890159607, 0.36770927906036377, -0.176913321018219, 1.2016428709030151, 0.5393975377082825, -0.5778826475143433, 0.19467280805110931, 0.6238534450531006, -0.27211886644363403, 0.6756487488746643, -0.5203374624252319, 0.025677243247628212, -0.13864314556121826, -0.21590647101402283, -0.825634777545929, -0.18577656149864197, 0.2534325420856476, -0.45628270506858826, 0.5966095328330994, -0.2626565396785736, -0.6439264416694641, 0.01852181926369667, -0.42981037497520447, 0.23701058328151703, 0.4362114667892456, -0.6275609135627747, 0.5280396938323975, 0.7149196267127991, -0.42097586393356323, -0.7962279915809631, -0.9045631289482117, 0.13240006566047668, -0.26332318782806396, -0.41996994614601135, -0.11713403463363647, -0.29680702090263367, -0.2471528947353363, -0.1189323216676712, -0.0018152836710214615, -0.03743891790509224, -0.12166038900613785, 0.41955694556236267, 0.27992385625839233, -0.04388154670596123, 0.06914235651493073, 0.09028270095586777, -0.11990449577569962, 0.1887819916009903, -0.0373079814016819, 0.44824323058128357, -0.005674420390278101, -0.4067141115665436, -0.24315808713436127, 0.16407880187034607, 0.5318541526794434, -0.6114432215690613, 0.5878690481185913, 0.5546625256538391, -0.5118908286094666, -0.29827558994293213, -0.5471092462539673, -0.11710930615663528, -0.4950629472732544, 0.2159331887960434, -0.06646592915058136, -0.6533098816871643, 0.5155916213989258, -0.2084258645772934, 0.48659199476242065, 0.24524888396263123, 0.8305036425590515, 0.03158167377114296, 0.6704520583152771, 0.7265570759773254, -0.13070441782474518, 0.3992784023284912, -0.15926353633403778, 0.4309436082839966, -0.8310909271240234, -0.604555606842041, -0.41496869921684265, 0.0010852417908608913, -0.667849600315094, -0.17021068930625916, 0.11639048904180527, -0.3379688858985901, -0.5767245292663574, 0.14151400327682495, -0.6695111393928528, 0.8795551657676697, 0.3845984637737274, -0.08447947353124619, 0.2194923758506775, 0.15844982862472534, -0.060852400958538055, -0.2550317645072937, -0.6435438990592957, -0.7358693480491638, 1.2132970094680786, 0.23221755027770996, 1.1480436325073242, 0.030036145821213722, 0.6811732053756714, 0.12850366532802582, 0.6877290606498718, -0.3475903570652008, 0.398368775844574, -0.14833472669124603, -0.8036089539527893, -0.27132824063301086, 0.07560797035694122, -0.7490508556365967, -0.17306776344776154, -0.21463896334171295, -0.41972365975379944, -0.06895274668931961, 0.06376663595438004, -0.23720799386501312, 0.3005032539367676, -0.969055712223053, 0.714558482170105, -0.38801607489585876, -0.5813586711883545, -0.16502603888511658, -0.6840595602989197, 0.6840866208076477, 0.0590323880314827, 0.17047782242298126, -0.24956288933753967, -0.186298206448555, 0.5014722943305969, -0.41422373056411743, 1.0047632455825806, -0.12285260856151581, -0.19714896380901337, 0.4573017358779907, 0.061933211982250214, 0.3547402322292328, 0.2576751410961151, 0.0372915081679821, 0.08946288377046585, -0.003317758906632662, -0.4303109347820282, -0.09962118417024612, 0.8115956783294678, -0.6742912530899048, -0.24914279580116272, -0.24465422332286835, -0.6136396527290344, -0.5532660484313965, 0.15787169337272644, 0.3408884108066559, 0.14085634052753448, 0.035555608570575714, -0.06619864702224731, 0.8483026623725891, -0.33692145347595215, 0.28814804553985596, 0.58879154920578, 0.0036078887060284615, -0.2419891059398651, 0.9686585664749146, -0.017634715884923935, 0.09615872800350189, 0.24107103049755096, -0.21074409782886505, -0.4294993579387665, -0.7673084735870361, -0.30384182929992676, 0.2941078245639801, -0.861911416053772, -0.5441136360168457, -0.3271682560443878, -0.4183981716632843, -0.24168045818805695, -0.0440521314740181, -0.5395755767822266, -0.17926643788814545, -0.19618123769760132, -0.2142043262720108, 0.5788136720657349, 0.906021237373352, -0.12795180082321167, 0.07113142311573029, -0.7070629596710205, -0.09839728474617004, 0.2777990400791168, 0.8782829642295837, -0.22190354764461517, -0.48545199632644653, -0.36596357822418213, 0.047013066709041595, -0.04719824716448784, -0.5123273134231567, 0.2814182937145233, 0.15604989230632782, 0.6154829859733582, 0.11485614627599716, -0.03884963318705559, 0.5928480625152588, -0.3844541907310486, 0.8069374561309814, 0.0531592033803463, -0.5375823974609375, 0.7165617346763611, -0.36212292313575745, 0.002542951377108693, 0.9399051070213318, 0.6305520534515381, -0.5115864276885986, -0.5394900441169739, -0.20992906391620636, -1.0341923236846924, 0.663219690322876, 0.13206568360328674, 0.43275606632232666, -0.16522592306137085, 0.37068235874176025, 0.3358648717403412, 0.09470684081315994, -0.4982229173183441, -0.4327627122402191, -0.001439639599993825, -0.5477647185325623, 0.03589235246181488, -0.36375924944877625, -0.28239870071411133, -0.29329535365104675, 0.7897946238517761, 0.1195075586438179, -0.18592555820941925, -0.13621476292610168, -0.36497244238853455, -0.027420159429311752, 0.2530129849910736, 0.5030889511108398, 0.7968261241912842, -0.12306199967861176, -0.09036193042993546, 0.3985463082790375, -0.7969422936439514, 0.13811801373958588, 0.06569981575012207, 0.05360656604170799, -0.39172857999801636, 0.2558653652667999, 0.49857449531555176, 0.03206890448927879, -1.1349115371704102, 0.34655672311782837, -0.25966116786003113, 0.25736138224601746, -0.7710562348365784, 0.12148269265890121, 0.27114391326904297, 0.17636710405349731, 0.20065587759017944, -0.26591217517852783, -0.06882785260677338, -0.3037358522415161, 0.07219768315553665, 0.3407019376754761, -0.296183705329895, -0.23760546743869781, 0.86850905418396, 0.4729371666908264, -0.2559508979320526, 0.7491105794906616, -0.15237772464752197, -0.00936891045421362, 0.30264848470687866, 0.4124884307384491, 0.6560083031654358, -0.5212015509605408, -0.0644611120223999, 0.6741694808006287, 0.6464515924453735, 0.08101332932710648, 0.5942867994308472, 0.19035392999649048, -0.374931275844574, -0.579965353012085, -0.6312039494514465, -0.4198223054409027, 0.4002240002155304, -0.37166476249694824, 0.5725013613700867, -0.6077062487602234, 0.3093610107898712, -0.3848559558391571, 0.008116288110613823, -0.8500690460205078, 0.16510793566703796, 0.1975197196006775, 1.2615503072738647, -1.1966581344604492, 0.6412663459777832, 0.8066842555999756, -0.9138204455375671, -0.8898472785949707, -0.36463433504104614, -0.10680842399597168, -1.0571972131729126, 0.530835747718811, -0.1349901556968689, 0.030092529952526093, 0.09827279299497604, -0.7877744436264038, -0.8750910758972168, 1.0766942501068115, 0.5562288165092468, -0.5360881090164185, 0.18838801980018616, 0.4716845750808716, 0.46004584431648254, -0.38593611121177673, 0.3360324800014496, 0.675700306892395, 0.30375218391418457, -0.21487000584602356, -0.7430641651153564, -0.031205134466290474, -0.5486395955085754, -0.05349178612232208, 0.08980048447847366, -0.5884342193603516, 0.6991968154907227, -0.14494797587394714, -0.31293049454689026, -0.13611771166324615, 0.35400399565696716, 0.11742494255304337, -0.0495726577937603, 0.17001302540302277, 0.6184400320053101, 0.5908783078193665, 0.10293029993772507, 0.9560637474060059, -0.786011278629303, -0.06562729924917221, 1.452163815498352, -0.212372824549675, 0.7523773908615112, 0.5764952301979065, -0.2692272365093231, 0.29777345061302185, 0.926777720451355, 0.31144607067108154, 0.3223188817501068, 0.19835811853408813, -0.3604995906352997, -0.0008024872513487935, -0.41879191994667053, -0.38167980313301086, 0.3258691132068634, 0.7383062243461609, -0.03310519829392433, -0.3346594572067261, -0.07640201598405838, -0.0009755345527082682, 0.3322792053222656, -0.22321859002113342, 0.6707242727279663, 0.044994987547397614, -0.5378806591033936, 0.615427553653717, -0.3407103717327118, 0.8952305316925049, -0.787128210067749, -0.0456114299595356, -0.7255392670631409, -0.024921434000134468, -0.5411756634712219, -1.03328275680542, 0.4775293171405792, 0.11411342769861221, 0.10780074447393417, -0.13301309943199158, 0.6144651174545288, -0.8483607769012451, -0.1900440752506256, 0.11651607602834702, 0.4587431252002716, 0.1762927919626236, 0.2659642696380615, -0.4484017789363861, 0.1018848568201065, -0.07134824991226196, 0.045867905020713806, 0.32207733392715454, 0.4243766665458679, 0.0016909143887460232, 0.7287824749946594, 0.4802010953426361, 0.21043382585048676, 0.26486244797706604, -0.00485590286552906, 0.8032587170600891, -0.34758463501930237, -0.17199283838272095, -0.6822836995124817, 0.7526062726974487, -0.03238809481263161, -0.4395803213119507, 0.7509203553199768, 0.9112722873687744, 1.086249589920044, -0.23298248648643494, 0.9135205149650574, -0.006395368371158838, 0.619814395904541, -0.34149622917175293, 0.794845461845398, -0.41153469681739807, 0.2997439205646515, 0.291607141494751, -0.8817879557609558, -0.26582881808280945, 0.20974647998809814, 0.08439067751169205, -0.11097054928541183, 0.39918163418769836, 1.0567107200622559, -0.20537607371807098, -0.18067312240600586, -0.1275055706501007, 0.24567073583602905, 0.19890904426574707, 0.40275126695632935, 0.8372931480407715, -0.20530691742897034, 0.6229866743087769, -0.2527002990245819, -0.16441017389297485, 0.0279508326202631, -0.8502955436706543, -0.8544072508811951, -0.7887746095657349, -0.2682128846645355, -0.14214082062244415, 0.047820813953876495, 1.2942755222320557, 0.6707419753074646, -0.9178321957588196, -0.34091803431510925, -0.11885838210582733, -0.010689875110983849, 0.34482839703559875, -0.16530923545360565, 0.12528134882450104, -0.8322717547416687, -0.6363658905029297, 0.33763211965560913, 0.5092483758926392, 0.08406016230583191, -0.41778966784477234, -0.20157606899738312, -0.2964082658290863, 0.17080636322498322, 0.7320940494537354, 0.7332642674446106, -0.31536972522735596, 0.2335275411605835, -0.11328007280826569, -0.2115624099969864, -0.023998189717531204, 0.7411739826202393, -0.5092254877090454, 0.45352301001548767, 0.273240327835083, 0.7585919499397278, 0.1948564499616623, -0.4387374222278595, 0.36427804827690125, -0.97788405418396, 0.5322047472000122, 0.41199591755867004, 0.18202009797096252, 0.6079837083816528, -0.3649384379386902, 0.8432053923606873, -0.21522226929664612, -0.4254280924797058, -0.991717517375946, 0.12569363415241241, -0.5522989630699158, -0.08562837541103363, 1.1162272691726685, 0.20186465978622437, -0.11463991552591324, -0.12169848382472992, -0.20051270723342896, 0.32350069284439087, -0.12064904719591141, 0.840258777141571, 0.4958116114139557, -0.08016953617334366, -0.014998948201537132, -0.652754008769989, 0.8164607882499695, 0.2323870062828064, -1.1764452457427979, 0.2503981292247772, 0.24151475727558136, 0.5748428702354431, -0.12066052854061127, 0.8719289302825928, -0.38179320096969604, 0.06283930689096451, -0.10932514071464539, 0.3873046040534973, -0.06616675853729248, -0.13498824834823608, -0.21098411083221436, -0.4128536283969879, 0.47020500898361206, -0.22954298555850983 ]
http://arxiv.org/abs/2403.06326v1
http://arxiv.org/pdf/2403.06326v1
From Instructions to Constraints: Language Model Alignment with Automatic Constraint Verification
2024-03-10T22:14:54
2024-03-10T22:14:54
Fei Wang, Chao Shang, Sarthak Jain, Shuai Wang, Qiang Ning, Bonan Min, Vittorio Castelli, Yassine Benajiba, Dan Roth
cs.CL
cs.CL, cs.AI, cs.LG
User alignment is crucial for adapting general-purpose language models (LMs) to downstream tasks, but human annotations are often not available for all types of instructions, especially those with customized constraints. We observe that user instructions typically contain constraints. While assessing response quality in terms of the whole instruction is often costly, efficiently evaluating the satisfaction rate of constraints is feasible. We investigate common constraints in NLP tasks, categorize them into three classes based on the types of their arguments, and propose a unified framework, ACT (Aligning to ConsTraints), to automatically produce supervision signals for user alignment with constraints. Specifically, ACT uses constraint verifiers, which are typically easy to implement in practice, to compute constraint satisfaction rate (CSR) of each response. It samples multiple responses for each prompt and collect preference labels based on their CSR automatically. Subsequently, ACT adapts the LM to the target task through a ranking-based learning process. Experiments on fine-grained entity typing, abstractive summarization, and temporal question answering show that ACT is able to enhance LMs' capability to adhere to different classes of constraints, thereby improving task performance. Further experiments show that the constraint-following capabilities are transferable.
[ -0.05004106089472771, -0.39945289492607117, 0.5545101165771484, 0.22277455031871796, 0.178399458527565, -0.12384526431560516, -0.24252595007419586, -0.38069218397140503, -0.02603544294834137, 0.8814783096313477, -0.5874753594398499, -0.4552725851535797, -0.5021945238113403, 0.2862110435962677, -0.39616507291793823, 0.9247751235961914, -0.32636046409606934, -0.27092206478118896, -0.48102110624313354, -0.08189303427934647, -0.8405938148498535, -0.6193204522132874, -0.2213459461927414, -0.26927220821380615, 0.16042199730873108, 0.39688795804977417, 0.8721435070037842, 0.9524251222610474, 0.6748448610305786, 0.41980722546577454, 0.22119736671447754, 0.400296688079834, -0.11402955651283264, -0.05489831790328026, -0.4225366711616516, -0.40139463543891907, -0.29157957434654236, -0.16777002811431885, 0.3858405351638794, 0.7346028685569763, -0.2419201135635376, 0.18981000781059265, 0.3645399212837219, 0.3304232954978943, -0.7186611294746399, 0.08087819069623947, -0.4083961844444275, -0.1505831629037857, 0.03714534267783165, -0.14702442288398743, -0.4928101599216461, -0.35741594433784485, 0.14329153299331665, -0.6031957864761353, 0.024921616539359093, 0.187234029173851, 1.1031924486160278, 0.8250584006309509, -0.5198395848274231, -0.5242727994918823, -0.8789324164390564, 0.637531578540802, -0.6419228911399841, 0.2346426397562027, 0.323569118976593, 0.11414344608783722, -0.3382537066936493, -0.5594801902770996, -0.45620042085647583, -0.26030492782592773, -0.5508938431739807, -0.24277469515800476, -0.0007353572291322052, 0.32084551453590393, 0.40747278928756714, 0.2168489396572113, -0.5999437570571899, 0.09827473014593124, -0.15305469930171967, -0.3881934881210327, 0.6087899208068848, 0.2048356831073761, 0.6358627080917358, -0.2660987079143524, -0.35834047198295593, -0.006533640902489424, -0.451078861951828, 0.2960047423839569, 0.36145076155662537, 0.4516027867794037, 0.022686878219246864, 0.7310228943824768, -0.23802673816680908, 1.1178882122039795, 0.17963626980781555, 0.04252789914608002, 0.016556518152356148, -0.2819660007953644, -0.16005277633666992, -0.042562924325466156, 0.7913540005683899, 0.20800046622753143, 0.03147168084979057, -0.13654661178588867, -0.3252623379230499, -0.022238394245505333, 0.6549188494682312, -0.3526052236557007, 0.005455671809613705, 0.07494311779737473, -0.1555546522140503, 0.13550551235675812, 0.06848294287919998, -0.21483075618743896, -0.33709263801574707, -0.7643312811851501, 0.6220006346702576, -0.22052186727523804, 0.1844286173582077, 0.23806753754615784, 0.30256712436676025, 0.2532082498073578, 0.380790114402771, -1.1845370531082153, 0.5910297632217407, 0.982674241065979, 0.46249470114707947, -0.2975027859210968, -0.3206588923931122, -0.743652880191803, 0.23786680400371552, -0.09615612775087357, 0.5837224721908569, -0.3997615873813629, -0.03377501666545868, 0.07835400104522705, 0.05073227733373642, -0.40692734718322754, -0.29009971022605896, 0.7544066905975342, -0.3472693860530853, 0.32004961371421814, -0.3135903477668762, -0.7986999154090881, -0.09240630269050598, 0.11774349957704544, -0.4746055006980896, 0.9343463182449341, 0.2670818567276001, -0.45491257309913635, 0.20360414683818817, -0.7136077284812927, -0.602118968963623, -0.025386661291122437, -0.2366911619901657, -0.03157469257712364, 0.07394734025001526, 0.3101096451282501, 0.23945333063602448, -0.23049382865428925, 0.22172214090824127, -0.09801964461803436, -0.30306610465049744, 0.2789832353591919, 0.05334334075450897, 0.835640549659729, 0.14621195197105408, -0.31684908270835876, 0.3053918778896332, -0.6667579412460327, 0.11180202662944794, -0.24492543935775757, -0.3759849965572357, -0.32012397050857544, 0.2670113444328308, -0.25450772047042847, 0.1322634071111679, 0.23440082371234894, -0.2791081964969635, 0.4317546784877777, -0.3308032751083374, 0.4976455569267273, 0.48853304982185364, -0.003021715674549341, 0.42213746905326843, -0.03020394779741764, 0.3995175063610077, -0.4286401569843292, 0.31220346689224243, 0.10321130603551865, -0.2953481376171112, -0.7813006043434143, 0.016844963654875755, 0.29442715644836426, 0.8672294020652771, -0.31255534291267395, 0.836660623550415, -0.2831280529499054, 0.0037022000178694725, -0.6184486150741577, 0.44092312455177307, 0.577027440071106, 0.6254720091819763, 0.4653194844722748, -0.49548810720443726, -0.6380971074104309, -0.8891088962554932, -0.26028716564178467, -0.5107815861701965, -0.25829166173934937, 0.1988622397184372, 0.3956422507762909, -0.051420070230960846, 1.0417518615722656, -0.5241194367408752, -0.4356785714626312, -0.09587258845567703, 0.32918858528137207, 0.019861340522766113, 0.6126545667648315, 0.14653030037879944, -0.6864913702011108, -0.3410423994064331, -0.14144863188266754, -0.5518221855163574, -0.6428470015525818, -0.34280329942703247, -0.07860932499170303, 0.16426420211791992, 0.5623119473457336, -0.3917897045612335, 0.3683255910873413, 0.5497452020645142, -0.36350059509277344, 0.3156585991382599, -0.12171194702386856, 0.13803943991661072, -0.86124587059021, 0.08869916945695877, -0.08103182911872864, -0.3793642222881317, -0.6137424111366272, 0.13874679803848267, 0.0944124087691307, -0.07812309265136719, -0.09755176305770874, 0.3691293001174927, -0.5345777273178101, -0.01749069057404995, -0.34546083211898804, 0.057379186153411865, 0.09215150773525238, 0.6169188022613525, 0.14555799961090088, 0.6329154968261719, 0.2654017508029938, -0.5971624255180359, 0.1936134397983551, 0.4425177276134491, -0.3576171100139618, 0.556278645992279, -0.6655087471008301, 0.2982753813266754, 0.13236938416957855, 0.0075447349809110165, -0.9537692070007324, -0.33439305424690247, 0.36379092931747437, -0.18810738623142242, 0.3384612798690796, -0.3418000638484955, -0.3210032284259796, -0.302876740694046, 0.18555498123168945, 0.012876425869762897, 0.33577749133110046, -0.31089913845062256, 0.9912658333778381, 0.2684846818447113, 0.09984656423330307, -0.8780982494354248, -0.5652243494987488, 0.16049599647521973, -0.003941119648516178, -0.4520815312862396, 0.539546012878418, -0.010242480784654617, -0.048116449266672134, 0.28561699390411377, -0.2238587737083435, -0.12374548614025116, 0.30572709441185, 0.4993951618671417, 0.1719309687614441, -0.04231743514537811, -0.11645311862230301, -0.04388273507356644, 0.03478005900979042, 0.04036273434758186, -0.3327028453350067, 0.22560317814350128, -0.07566910982131958, -0.7173841595649719, -0.7440347075462341, 0.23222336173057556, 0.37838661670684814, -0.2943742871284485, 0.3801521062850952, 0.3889094889163971, -0.27898839116096497, -0.14147400856018066, -0.5575242042541504, -0.07457316666841507, -0.48647210001945496, 0.3011550009250641, -0.3399769961833954, -0.9445193409919739, 0.27140694856643677, 0.08191832900047302, 0.36496132612228394, 0.2160126119852066, 0.3769265413284302, 0.032441671937704086, 1.1602462530136108, 0.770320475101471, -0.16285528242588043, 0.2704818546772003, 0.31152501702308655, 0.2165200114250183, -0.7779316306114197, -0.02800804376602173, -0.729771614074707, -0.4217938482761383, -0.2849746644496918, -0.21697507798671722, -0.02076556161046028, 0.3916192948818207, -0.021729810163378716, 0.8799713253974915, -0.7884150743484497, 0.49826422333717346, 0.5518676042556763, -0.17775487899780273, 0.07725071907043457, -0.41860103607177734, 0.006085309199988842, -0.009380259551107883, -0.3167729079723358, -0.6185142397880554, 0.7834256291389465, 0.17551171779632568, 0.689125120639801, 0.3251922130584717, 0.8047289848327637, 0.35090404748916626, 0.4723758101463318, -0.6443504095077515, 0.6158767938613892, -0.2050684541463852, -0.6922072172164917, -0.37209588289260864, -0.3704533576965332, -0.6392771005630493, -0.08974114805459976, -0.2220831662416458, -1.1325563192367554, 0.07418050616979599, 0.5810110569000244, -0.5916314721107483, -0.13498671352863312, -0.7900556325912476, 0.9974865317344666, -0.5075321197509766, -0.2258417159318924, 0.1329440176486969, -0.820967435836792, 0.22512365877628326, 0.19493801891803741, -0.035970717668533325, -0.20433300733566284, -0.09474840760231018, 0.5353202819824219, -0.5743781328201294, 0.9860930442810059, -0.279053270816803, -0.1866014301776886, 0.2478940784931183, -0.00525274220854044, 0.5461910963058472, -0.21745368838310242, 0.10122419148683548, -0.3691306412220001, 0.04645133763551712, -0.05254363268613815, -0.9296447038650513, 0.4560096263885498, -0.6258621215820312, -0.9170592427253723, -0.10011348873376846, -0.7244269847869873, -0.30227938294410706, 0.1792616844177246, 0.07174740731716156, 0.29570451378822327, -0.12893669307231903, 0.03195986896753311, 0.5211473703384399, 0.0576339028775692, 0.19614169001579285, 0.47589099407196045, -0.2463388442993164, -0.2848135530948639, 0.7225267887115479, -0.045470304787158966, 0.2629930078983307, 0.7205376625061035, 0.06981047987937927, -0.4538528621196747, -0.6212188601493835, -0.5025821328163147, -0.03948568180203438, -0.6845573782920837, -0.19131073355674744, -0.5760936737060547, -0.12098361551761627, -0.47956886887550354, -0.22962161898612976, -0.2560807168483734, -0.5633673667907715, -0.2574461102485657, 0.09349102526903152, 0.01288803294301033, 0.4772721230983734, 0.07749424129724503, 0.3971821665763855, -0.6938271522521973, 0.21106427907943726, 0.48894840478897095, 0.24377624690532684, -0.3515000343322754, -0.6932538151741028, -0.10742944478988647, -0.28120195865631104, -0.32436785101890564, -0.7987541556358337, -0.03422931954264641, 0.328977108001709, 0.4816347658634186, 0.33522167801856995, 0.2350015789270401, 0.587390124797821, -0.48082447052001953, 0.7775112390518188, -0.012696295976638794, -1.1809743642807007, 0.40498101711273193, 0.11318260431289673, 0.18439018726348877, 0.6790508031845093, 0.25393104553222656, -0.6403746604919434, -0.5294895768165588, -0.1987375169992447, -0.6757515668869019, 0.7290650606155396, 0.1080588549375534, 0.19591102004051208, 0.2765059173107147, 0.6745076179504395, -0.203838512301445, -0.024834437295794487, -0.8046391010284424, -0.16151440143585205, -0.014112677425146103, -0.6138761043548584, 0.09935420006513596, -0.22063422203063965, -0.3874048590660095, -0.03696945682168007, 0.5911316275596619, -0.3031214773654938, -0.08270017057657242, 0.151212677359581, -0.3832501471042633, -0.034817736595869064, 0.4806470572948456, 0.7393291592597961, 0.6070895195007324, -0.11529133468866348, 0.10984895378351212, 0.08080838620662689, -0.14331284165382385, 0.3666801452636719, 0.3280664384365082, -0.4301653206348419, -0.19034674763679504, 0.4345106780529022, 0.9576518535614014, 0.2654740512371063, -0.39387091994285583, 0.5266345143318176, -0.10842619836330414, -0.12987668812274933, 0.07401195168495178, 0.5773922801017761, 0.03388288989663124, 0.04468007758259773, 0.10676486045122147, -0.010923182591795921, 0.15989547967910767, -0.2238096445798874, 0.23600633442401886, 0.30243584513664246, -0.5509985089302063, -0.4028441607952118, 0.84115070104599, 0.2963672876358032, -0.4947023093700409, 0.4497920274734497, -0.1731940656900406, -0.538022518157959, 0.24060098826885223, 0.5823920369148254, 0.9427776336669922, -0.38922837376594543, 0.16469474136829376, 0.36404865980148315, 0.44726863503456116, -0.2780439555644989, 0.3572251498699188, -0.10254344344139099, -0.680690348148346, -0.8134520649909973, -0.5471673607826233, -0.5614804029464722, -0.05652254819869995, -0.8053802847862244, 0.28781428933143616, -0.4627588987350464, -0.17008979618549347, 0.24564407765865326, -0.23007696866989136, -0.47567224502563477, 0.14118772745132446, 0.23274435102939606, 0.6526497602462769, -0.8846157193183899, 0.6428501009941101, 0.7958502769470215, -0.41366684436798096, -1.0127527713775635, -0.024493921548128128, 0.45006266236305237, -0.7500726580619812, 0.5582727789878845, 0.22969579696655273, -0.1646081954240799, -0.0626460537314415, -0.5415104031562805, -0.8695424795150757, 0.5787632465362549, 0.5534504652023315, -0.5408489108085632, -0.24146287143230438, 0.43023622035980225, 0.5455108284950256, -0.39640480279922485, -0.07635702192783356, 0.5172696113586426, 0.48181405663490295, -0.17811036109924316, -0.8853517770767212, 0.2236153483390808, -0.07244457304477692, -0.04181539639830589, 0.44553330540657043, -0.15214580297470093, 0.3552900552749634, -0.1850685477256775, -0.33846768736839294, 0.047091320157051086, 0.8513559103012085, -0.10346987843513489, -0.04348072409629822, 0.8549609184265137, 0.6618494391441345, 0.6874167323112488, -0.15225256979465485, 0.7973612546920776, -0.35655832290649414, 0.17900164425373077, 1.4502885341644287, -0.4992526173591614, 0.737973153591156, 0.5545943975448608, -0.04516424611210823, 0.6119881868362427, 0.37054896354675293, -0.05252121388912201, 0.2823899984359741, 0.45247936248779297, 0.050420667976140976, -0.2639229893684387, -0.2968071401119232, 0.08756016194820404, 0.5096130967140198, 0.3034004271030426, -0.16658195853233337, 0.0038870531134307384, -0.17997823655605316, -0.12026642262935638, 0.44779732823371887, -0.0959475189447403, 0.8923105001449585, -0.06397481262683868, -1.167686104774475, 0.5202817916870117, -0.03466523438692093, 0.28660881519317627, -0.6854951977729797, -0.05799935758113861, 0.0872025340795517, 0.1258961260318756, -0.36592644453048706, -0.7944608330726624, 0.3651735782623291, 0.05507366731762886, -0.23904787003993988, -0.31248268485069275, 0.5806511044502258, -0.5562682747840881, -0.14647948741912842, 0.12469765543937683, 0.06303910911083221, -0.05173160135746002, 0.24754802882671356, -0.7497925162315369, 0.07114872336387634, 0.1560209095478058, -0.1704024076461792, 0.16034947335720062, 0.23832350969314575, -0.14358612895011902, 0.6351334452629089, 0.27847567200660706, 0.06604427844285965, -0.029178157448768616, 0.12400306016206741, 0.47261080145835876, -0.3443697988986969, -0.2993801534175873, -0.645540177822113, 0.5721717476844788, -0.1386791169643402, -0.3602018654346466, 0.49441036581993103, 0.3190912902355194, 0.9143326878547668, 0.09659299999475479, 0.6256962418556213, -0.3035910129547119, 0.4670346677303314, -0.654790997505188, 0.2794411778450012, -0.4817826449871063, 0.35182830691337585, -0.14035667479038239, -0.8480598330497742, -0.6089965105056763, 0.3153235614299774, -0.3525736927986145, -0.27888181805610657, 0.635921061038971, 0.8752684593200684, -0.14031454920768738, -0.15849800407886505, -0.05246295407414436, -0.3296504020690918, 0.394257128238678, 0.6293805241584778, 0.7602375149726868, -0.1080426275730133, 0.7261689305305481, -0.39039433002471924, -0.12023025751113892, -0.25457432866096497, -1.0481631755828857, -0.6517534852027893, -0.6757914423942566, -0.6112228035926819, -0.30424779653549194, -0.104607954621315, 1.2475495338439941, 0.7115392684936523, -1.0595684051513672, -0.42639458179473877, -0.027141420170664787, 0.0943736806511879, -0.6328878998756409, -0.16714581847190857, 0.561907947063446, -0.6520044207572937, -0.6524356603622437, 0.3271440863609314, 0.2606115937232971, -0.04559078440070152, 0.0037485677748918533, -0.25930315256118774, -0.17512445151805878, 0.05429844558238983, 0.10346484184265137, 0.7497280836105347, -0.8987258672714233, -0.6592512130737305, -0.037681397050619125, -0.497010737657547, 0.0017094466602429748, 1.040703535079956, -0.23458081483840942, 0.37101849913597107, 0.4130692481994629, 1.0426875352859497, -0.09041465818881989, 0.35059666633605957, 0.7506787180900574, -1.0249104499816895, -0.22708605229854584, 0.1362898051738739, 0.33391115069389343, 0.3928879201412201, -0.32012420892715454, 0.518142580986023, -0.21576924622058868, -0.7599585056304932, -0.9372467398643494, 0.39896807074546814, -0.9861633777618408, -0.07820796966552734, 0.9953896403312683, -0.33949822187423706, -0.24121999740600586, -0.2202327400445938, -0.24875394999980927, 0.203095480799675, -0.19590312242507935, 0.8447577357292175, 0.6769275665283203, -0.30027973651885986, -0.11048905551433563, -0.34347259998321533, 0.7906395792961121, 0.6771804094314575, -0.8586550354957581, 0.4150601327419281, 0.6082338690757751, 0.15662357211112976, 0.4768148958683014, 0.3466311991214752, 0.1388748586177826, 0.23233789205551147, -0.589540421962738, 0.30708298087120056, -0.1215783879160881, -0.25243711471557617, -0.27282607555389404, 0.18247060477733612, 0.2530800700187683, -0.16240568459033966 ]
http://arxiv.org/abs/2403.06301v1
http://arxiv.org/pdf/2403.06301v1
LIEDER: Linguistically-Informed Evaluation for Discourse Entity Recognition
2024-03-10T20:20:16
2024-03-10T20:20:16
Xiaomeng Zhu, Robert Frank
cs.CL
cs.CL
Discourse Entity (DE) recognition is the task of identifying novel and known entities introduced within a text. While previous work has found that large language models have basic, if imperfect, DE recognition abilities (Schuster and Linzen, 2022), it remains largely unassessed which of the fundamental semantic properties that govern the introduction and subsequent reference to DEs they have knowledge of. We propose the Linguistically-Informed Evaluation for Discourse Entity Recognition (LIEDER) dataset that allows for a detailed examination of language models' knowledge of four crucial semantic properties: existence, uniqueness, plurality, and novelty. We find evidence that state-of-the-art large language models exhibit sensitivity to all of these properties except novelty, which demonstrates that they have yet to reach human-level language understanding abilities.
[ -0.3879517912864685, -0.6206154823303223, 0.9100227952003479, 0.031895652413368225, -0.2708296775817871, 0.2970618009567261, -0.15257182717323303, -0.4808567762374878, 0.02489868924021721, 0.6677113175392151, -0.28686627745628357, -0.47956207394599915, -0.7837392091751099, 0.10786468535661697, -0.6187394857406616, 1.0814893245697021, 0.20088468492031097, -0.05719977617263794, -0.16242170333862305, -0.2298031598329544, -0.28207927942276, -0.1986200213432312, -0.11128450930118561, -0.34789714217185974, 0.2518273591995239, -0.003204100299626589, 0.6071553230285645, 0.4780341386795044, 0.5145701169967651, 0.43031272292137146, -0.2840687334537506, -0.19904856383800507, -0.5679018497467041, 0.044244199991226196, -0.5927541851997375, -0.529251217842102, -0.15164096653461456, -0.05415983870625496, 1.0585752725601196, 1.0390130281448364, 0.2531266510486603, 0.162751242518425, -0.033186811953783035, 0.31745028495788574, -0.615720808506012, 0.1510583907365799, -1.0694584846496582, -0.17178556323051453, -0.2287605106830597, 0.16193288564682007, -0.6822091341018677, -0.3923821449279785, 0.6994944214820862, -0.49709439277648926, 0.3303285241127014, -0.00281965802423656, 1.1028497219085693, 0.36009475588798523, -0.8961736559867859, -0.43419069051742554, -0.8954553604125977, 0.6715335845947266, -0.5084820985794067, 0.616639256477356, 0.1135195791721344, 0.15158872306346893, -0.17532265186309814, -0.7204725742340088, -0.673672080039978, -0.2609461545944214, -0.3502446413040161, 0.04902726784348488, -0.3608757555484772, 0.14529481530189514, 0.3150157332420349, 0.44539356231689453, -0.4278213381767273, 0.25797784328460693, -0.21157197654247284, -0.32635873556137085, 0.39925578236579895, 0.07991896569728851, 0.3708140552043915, -0.48197808861732483, -0.5300870537757874, 0.38528111577033997, -0.45537132024765015, 0.11093569546937943, 0.36732280254364014, -0.14994080364704132, -0.03907611966133118, 0.48286575078964233, 0.08415084332227707, 0.6583422422409058, -0.022672191262245178, -0.3909739553928375, 0.3806665241718292, -0.05775255337357521, -0.020619669929146767, 0.06953722983598709, 0.746553897857666, -0.09206267446279526, 0.0941184014081955, -0.3107828199863434, -0.3204129636287689, 0.2079520970582962, 0.2309456765651703, -0.5844505429267883, -0.29973822832107544, 0.12293863296508789, -0.48658230900764465, -0.2399139255285263, 0.27609866857528687, -0.5727657079696655, -0.4782421588897705, -0.45465216040611267, 0.15154366195201874, -0.6476265788078308, -0.4232428967952728, 0.07125314325094223, -0.21961107850074768, 0.5419028997421265, 0.3646020293235779, -0.6921934485435486, 0.6238151788711548, 0.9127203226089478, 0.38986483216285706, -0.5226336121559143, -0.29995962977409363, -0.32957908511161804, -0.0019451786065474153, -0.1577731817960739, 1.0745611190795898, -0.8368539214134216, -0.26029956340789795, -0.1642693132162094, 0.1756972223520279, -0.1302180141210556, -0.34968674182891846, 0.7969205975532532, -0.8010034561157227, 0.1651581972837448, -0.29728636145591736, -0.8721466064453125, -0.43327420949935913, -0.006948342081159353, -0.8940527439117432, 0.6845477819442749, 0.29825490713119507, -0.9663552641868591, 0.5922432541847229, -0.4823255240917206, -0.3348337411880493, 0.3348444104194641, -0.18614092469215393, -0.24357187747955322, 0.4945024847984314, -0.046370480209589005, 0.17537742853164673, -0.3949081003665924, 0.5839930772781372, -0.04361036792397499, -0.2147437036037445, 0.6427283883094788, -0.685147762298584, 0.8554940819740295, -0.02993553876876831, -0.12607932090759277, -0.11395144462585449, -1.2675302028656006, -0.0010514711029827595, -0.00391919631510973, -0.39068400859832764, -0.6712038516998291, -0.245749369263649, -0.05395058915019035, 0.10068054497241974, 0.30407869815826416, -0.6065880656242371, -0.08422032743692398, -0.8823939561843872, 0.2685720920562744, 0.6604525446891785, 0.3818748891353607, 0.5409128665924072, 0.16627830266952515, 0.516273558139801, 0.20118120312690735, -0.45136481523513794, -0.24097484350204468, -0.37824809551239014, -0.9943192601203918, -0.28867149353027344, 1.0004971027374268, 0.5587393045425415, -0.5781139135360718, 0.6010957360267639, -0.557307243347168, -0.41205161809921265, -0.5658367276191711, -0.22441495954990387, 0.5633761882781982, 0.3335953950881958, -0.04714734107255936, -0.4122241735458374, -0.6474063396453857, -1.157185435295105, -0.26397982239723206, -0.21564461290836334, -0.08424989879131317, 0.31645432114601135, 0.8892238140106201, -0.12522508203983307, 1.0999256372451782, -0.6922711133956909, 0.2911039888858795, -0.01461812388151884, 0.3106769323348999, 0.09881596267223358, 0.052256468683481216, 0.6087137460708618, -0.811576783657074, -0.21207918226718903, 0.08388686180114746, -0.8724079728126526, -0.053311292082071304, -0.007914993911981583, 0.06472749263048172, 0.04812020808458328, 0.0727800503373146, -0.5034066438674927, 0.35241883993148804, 0.4371248781681061, -0.3025042712688446, 0.3379291296005249, -0.14302781224250793, 0.058809295296669006, -0.8497812747955322, 0.031993817538022995, -0.1203920990228653, -0.21146917343139648, -0.8394020199775696, -0.24521447718143463, 0.10800083726644516, -0.07575403153896332, -0.49302157759666443, 0.7439948916435242, -0.5499749779701233, -0.31227532029151917, -0.23497961461544037, 0.2936941087245941, 0.23656119406223297, 0.3916964530944824, 0.18017899990081787, 0.5120275616645813, 0.5355251431465149, -0.6357443928718567, 0.20109696686267853, 0.3767988085746765, -0.5416530966758728, 0.9700815677642822, -0.5880611538887024, 0.404178649187088, -0.27654796838760376, -0.05743931978940964, -0.9737251400947571, -0.31855952739715576, 0.14283086359500885, -0.2822977304458618, 0.28520461916923523, -0.20502279698848724, -0.08522617071866989, -0.34623000025749207, 0.21366560459136963, 0.4696018397808075, 0.19716452062129974, -0.3640071749687195, 0.8996054530143738, 0.8288085460662842, -0.0485125295817852, -0.5448346734046936, -0.3812939524650574, 0.1410476565361023, -0.1647731363773346, -0.4577503204345703, 0.3902657926082611, 0.2473565936088562, -0.3392816483974457, 0.1260787844657898, -0.13304737210273743, -0.4351089596748352, 0.1531611829996109, 0.304974228143692, 0.3013351559638977, -0.2719534635543823, 0.2829785943031311, 0.18158318102359772, -0.3567580580711365, 0.1943039447069168, -0.4149620532989502, 0.28315603733062744, -0.2848720848560333, -0.37965795397758484, -0.4035031497478485, 0.11537590622901917, 0.4211893677711487, -0.325970321893692, 0.5327377915382385, 0.40788304805755615, -0.6280423402786255, -0.02559182234108448, -0.5995706915855408, 0.008745405822992325, -0.391145795583725, 0.3177982270717621, -0.697043240070343, -0.8586339950561523, 0.5008375644683838, -0.25935548543930054, -0.17081594467163086, 0.6798985600471497, 0.3555152416229248, 0.0031827192287892103, 0.4755730926990509, 0.5414544939994812, -0.006071887910366058, -0.12096422910690308, 0.07246167212724686, 0.42272838950157166, -0.7179471850395203, -0.21148864924907684, -0.7504071593284607, -0.1609991490840912, -0.9041394591331482, -0.013143517076969147, 0.1890663355588913, -0.36110377311706543, 0.041269466280937195, 0.3442303538322449, -0.34386947751045227, 0.555996835231781, 0.2561458647251129, 0.02025136724114418, 0.4660749137401581, -0.3679932951927185, -0.12802371382713318, -0.4481290280818939, -0.23958119750022888, -0.8725600242614746, 0.799923300743103, 0.4627441167831421, 0.5695842504501343, 0.013867422007024288, 0.6757362484931946, 0.16007526218891144, 0.02824457176029682, -0.9094080328941345, 0.7921447157859802, -0.05942900478839874, -0.48998627066612244, -0.19822673499584198, -0.47908228635787964, -1.1798585653305054, 0.28035011887550354, -0.3403831124305725, -0.9643039703369141, 0.34924280643463135, -0.055052563548088074, -0.23418274521827698, 0.04119410738348961, -0.5286562442779541, 0.6560173034667969, -0.2975715696811676, 0.22111158072948456, 0.06551190465688705, -0.6194219589233398, 0.5211588144302368, -0.3638443350791931, 0.25597521662712097, -0.21000969409942627, -0.1554408222436905, 0.8153998851776123, 0.0761873722076416, 0.6451184153556824, -0.11490140855312347, -0.3279234766960144, 0.2724844515323639, 0.29277563095092773, 0.38639065623283386, 0.05477924644947052, 0.004950477741658688, 0.0368293821811676, -0.022464057430624962, 0.11836300790309906, -0.7866240739822388, 0.6006558537483215, -0.6094556450843811, -0.5110726952552795, -0.46911779046058655, -0.4261091351509094, -0.1354759782552719, 0.5798106789588928, 0.09400500357151031, 0.3366384208202362, -0.8817147612571716, 0.04675797373056412, 0.8463096022605896, -0.22760170698165894, 0.14274191856384277, 0.7249312996864319, -0.21975956857204437, -0.2603727877140045, 0.9739709496498108, 0.15785183012485504, 0.004659208934754133, 0.4238590896129608, 0.031069865450263023, -0.30932149291038513, -0.5249634981155396, -0.24730490148067474, 0.3657730519771576, -0.8452139496803284, 0.001358707551844418, -1.0464911460876465, -0.3633536994457245, -0.006854203529655933, 0.2256632298231125, -0.3430394232273102, -0.6263386607170105, -0.24632328748703003, -0.22693243622779846, 0.1368458867073059, 1.0893474817276, 0.29820799827575684, 0.25442013144493103, -0.6257112622261047, 0.42358747124671936, 0.2531079351902008, 0.29518434405326843, -0.3374519348144531, -0.7736377120018005, 0.1936359703540802, -0.11612735688686371, -0.22903652489185333, -1.0761512517929077, 0.03717106580734253, 0.3151623010635376, 0.6490494608879089, 0.5148329734802246, -0.012795131653547287, 0.019412478432059288, -0.5941075086593628, 0.6663383841514587, -0.019920451566576958, -1.286275029182434, 0.6226997375488281, -0.15322160720825195, 0.2647482454776764, 0.5534461140632629, 0.5452980399131775, -0.24048884212970734, -0.33666130900382996, -0.8411560654640198, -0.5463408827781677, 0.6063264012336731, 0.38926568627357483, 0.3307366967201233, 0.0032668958883732557, 0.2497871071100235, 0.2489231377840042, 0.4651082158088684, -0.8501455783843994, -0.1955193132162094, 0.015690548345446587, -0.015545791015028954, 0.4026503264904022, -0.46542057394981384, -0.030711213126778603, -0.13344940543174744, 0.49759796261787415, -0.005163777153939009, 0.2505449652671814, -0.3738689124584198, -0.3397466540336609, 0.24203574657440186, 0.6328859329223633, 0.2644995450973511, 0.8570079207420349, 0.06603112816810608, 0.4073379635810852, 0.5055441856384277, -0.48086825013160706, 0.5264335870742798, 0.11488808691501617, -0.35700279474258423, 0.20982563495635986, 0.3184632956981659, 0.9697105884552002, 0.7060447931289673, -0.40647071599960327, 0.6501324772834778, -0.08628293126821518, -0.07851890474557877, -0.35820841789245605, 0.10657773911952972, 0.00313940760679543, -0.058197420090436935, 0.12738433480262756, 0.15116740763187408, 0.5155867338180542, -0.3567298352718353, 0.3488687574863434, 0.41183799505233765, -0.41812723875045776, -0.550987184047699, 0.20314307510852814, -0.017926929518580437, -0.3279222249984741, 0.5451696515083313, -0.5113210678100586, -0.7501019835472107, 0.3199474513530731, 0.5673708319664001, 0.736979067325592, -0.5929945111274719, 0.3891986906528473, 0.38841530680656433, 0.2667933404445648, 0.23260432481765747, 0.06878350675106049, 0.2769891917705536, -1.0152755975723267, -0.09818097203969955, -0.6840143203735352, -0.2795538604259491, 0.12171541154384613, -0.6410565972328186, 0.5153059959411621, -0.27399787306785583, -0.19734665751457214, 0.631687343120575, -0.2629714012145996, -0.9030815362930298, 0.3652970492839813, -0.06146365776658058, 0.5522919297218323, -0.8042852282524109, 0.5751569271087646, 0.4789187014102936, -0.22513465583324432, -0.5965589284896851, 0.0238107331097126, 0.1511741727590561, -0.6068613529205322, 0.5353313088417053, 0.08719034492969513, -0.12210021167993546, 0.03593049570918083, -0.21707259118556976, -0.9954416155815125, 0.633259117603302, 0.6636680364608765, -0.3545384407043457, -0.21806743741035461, 0.30831703543663025, 0.6334102153778076, -0.506883978843689, 0.4251435101032257, 1.0225520133972168, 0.6369007229804993, 0.08583658933639526, -0.8493688702583313, -0.012612276710569859, -0.12995468080043793, 0.2644746005535126, 0.3696657419204712, -0.10721781849861145, 0.44985952973365784, -0.1501864343881607, -0.5537441372871399, -0.1972726434469223, 0.775637149810791, -0.10409941524267197, 0.11093851923942566, 0.7115197777748108, 0.559597373008728, 1.1517658233642578, -0.3023552894592285, 0.7034633159637451, -0.2071203589439392, 0.3210908770561218, 1.2680997848510742, -0.4800194203853607, 0.6072383522987366, 0.06622165441513062, -0.2366635501384735, 0.7234396934509277, 0.16086044907569885, -0.1391647607088089, 0.44436129927635193, 0.23634807765483856, -0.32910534739494324, -0.024620313197374344, -0.3271893262863159, -0.11138001084327698, 1.1824345588684082, 0.4921322762966156, -0.5840126872062683, -0.241312637925148, 0.2635881304740906, -0.04077141359448433, 0.13209404051303864, 0.04281067103147507, 1.168034553527832, 0.12254595756530762, -0.7078279852867126, 0.5327929258346558, -0.24386321008205414, 0.19069570302963257, -0.31292060017585754, -0.0035204412415623665, 0.3437701463699341, -0.16979418694972992, -0.22251009941101074, -1.1404451131820679, 0.38528972864151, -0.06406977772712708, -0.23276008665561676, 0.34716737270355225, 1.1080266237258911, -0.18391764163970947, -0.47563862800598145, 0.26565250754356384, 0.6137357354164124, 0.31754299998283386, 0.19423076510429382, -0.44468075037002563, 0.1479204148054123, -0.03466489911079407, -0.14138703048229218, -0.02403615042567253, 0.8552207946777344, 0.12065606564283371, 0.5135911107063293, 0.3022879362106323, -0.14725512266159058, -0.2892506420612335, 0.23403623700141907, 0.8795444965362549, -0.6366177797317505, -0.37707412242889404, -0.6586133241653442, 0.5929718017578125, -0.27810198068618774, -0.45286017656326294, 0.5410369038581848, 0.5396826267242432, 0.6194348335266113, -0.006036327686160803, 0.9248616695404053, 0.05039077252149582, 0.5881600975990295, -0.4880950450897217, 0.4968808889389038, -0.03437400981783867, 0.3823959231376648, -0.615543007850647, -1.0052549839019775, -0.05737894028425217, 0.5623353719711304, -0.6190587878227234, -0.005363347940146923, 0.8257248997688293, 0.5766268372535706, -0.2783571183681488, 0.43414655327796936, 0.39410319924354553, 0.3940982222557068, 0.011348351836204529, 0.3127724826335907, 1.0341438055038452, -0.3994453251361847, 0.18275105953216553, 0.056008823215961456, -0.3482441008090973, 0.26881539821624756, -0.9504241943359375, -0.8590283989906311, -0.9525665044784546, -0.27392441034317017, -0.22087624669075012, -0.0027655260637402534, 0.8030201196670532, 0.4150794446468353, -0.8731305599212646, 0.18813788890838623, -0.007964080199599266, 0.1533723920583725, 0.1779133826494217, -0.1785275936126709, 0.28838029503822327, -0.06699518114328384, -0.6583688855171204, 0.24771210551261902, 0.39879342913627625, 0.06191261485219002, -0.38883769512176514, 0.21326349675655365, -0.16852501034736633, 0.24125345051288605, 0.4734214246273041, 0.08477767556905746, -0.9575632810592651, -0.5457618236541748, -0.1870381087064743, -0.04635617882013321, 0.12776750326156616, 0.858571469783783, -0.8270600438117981, 0.4632161855697632, 0.31964409351348877, 0.7633459568023682, 0.2634202539920807, -0.19011615216732025, 0.46509450674057007, -0.5701220631599426, 0.16982105374336243, 0.47191187739372253, 0.6616237163543701, 0.3403629958629608, -0.45605742931365967, 0.45464399456977844, 0.13704685866832733, -0.6473495364189148, -0.7814614772796631, 0.46282222867012024, -0.914097249507904, -0.00835829135030508, 0.8902521133422852, -0.4338451325893402, -0.152837336063385, -0.49071744084358215, -0.36033713817596436, -0.008427077904343605, -0.2352372258901596, 0.48395344614982605, 0.7421379089355469, 0.19396178424358368, -0.36897268891334534, -0.3617601692676544, 0.37806636095046997, 0.02181193418800831, -0.9909387230873108, -0.06896638125181198, 0.48965373635292053, 0.33131733536720276, 0.28294774889945984, 0.5312942862510681, -0.010083824396133423, 0.14511314034461975, -0.10375586152076721, -0.2621780037879944, 0.5269158482551575, -0.47276535630226135, -0.25418391823768616, 0.18879947066307068, 0.2938411831855774, 0.21131961047649384 ]
http://arxiv.org/abs/2403.06292v1
http://arxiv.org/pdf/2403.06292v1
Transformer based Multitask Learning for Image Captioning and Object Detection
2024-03-10T19:31:13
2024-03-10T19:31:13
Debolena Basak, P. K. Srijith, Maunendra Sankar Desarkar
cs.CV
cs.CV, cs.CL
In several real-world scenarios like autonomous navigation and mobility, to obtain a better visual understanding of the surroundings, image captioning and object detection play a crucial role. This work introduces a novel multitask learning framework that combines image captioning and object detection into a joint model. We propose TICOD, Transformer-based Image Captioning and Object detection model for jointly training both tasks by combining the losses obtained from image captioning and object detection networks. By leveraging joint training, the model benefits from the complementary information shared between the two tasks, leading to improved performance for image captioning. Our approach utilizes a transformer-based architecture that enables end-to-end network integration for image captioning and object detection and performs both tasks jointly. We evaluate the effectiveness of our approach through comprehensive experiments on the MS-COCO dataset. Our model outperforms the baselines from image captioning literature by achieving a 3.65% improvement in BERTScore.
[ -0.42485588788986206, -0.23826192319393158, 0.2584034204483032, -0.15121063590049744, -0.6900065541267395, 0.26128819584846497, 0.006113192066550255, -0.5820448994636536, -0.06618130207061768, 0.5561908483505249, -0.49615004658699036, -0.40064316987991333, -0.6751585602760315, 0.08315785974264145, -0.1249818205833435, 0.5469865798950195, 0.008088131435215473, 0.05040234699845314, -0.5837961435317993, -0.3077309727668762, -0.8934508562088013, -0.28521665930747986, -0.7173953056335449, -0.06380106508731842, 0.33294281363487244, 0.6421077251434326, 0.4245631694793701, 0.4261889159679413, 0.6842201948165894, 0.31507283449172974, 0.4348371922969818, 0.493441641330719, -0.030259830877184868, 0.1581716537475586, -0.04625856131315231, -0.6057533025741577, 0.05020294338464737, -0.3878617286682129, 0.25280267000198364, 0.22749875485897064, 0.011972282081842422, -0.0712115615606308, -0.18732652068138123, 0.5734883546829224, -0.887094259262085, 0.6921743750572205, -0.5194709300994873, 0.27673736214637756, -0.12098752707242966, -0.13519376516342163, -0.4481646418571472, 0.4842272698879242, -0.27502208948135376, -0.6269466280937195, 0.7256109118461609, 0.44720983505249023, 0.7484448552131653, 0.5440512299537659, -0.4138326942920685, -0.20346394181251526, -0.41003602743148804, 0.8124197125434875, -0.15288808941841125, 0.668545126914978, 0.020815450698137283, 0.5117807388305664, 0.4049781858921051, -0.519324541091919, -0.710469663143158, -0.20438529551029205, -0.35387229919433594, 0.29805898666381836, 0.036554399877786636, -0.03635120764374733, -0.044273827224969864, 0.4499744772911072, -0.46774822473526, -0.04992353171110153, -0.3311000168323517, -0.22655458748340607, 0.4701246917247772, 0.058737751096487045, 0.48035508394241333, -0.22152899205684662, -0.5975185632705688, -0.2867196202278137, -0.35994723439216614, 0.41753721237182617, 0.09187181293964386, 0.19783446192741394, -0.13815844058990479, 0.35223183035850525, -0.3015688955783844, 0.6107774972915649, -0.15198300778865814, -0.051956530660390854, 0.3582696318626404, -0.32664862275123596, -0.096204973757267, -0.10358312726020813, 0.8957663774490356, 0.6238316893577576, 0.14903941750526428, -0.6827821731567383, -0.2803456485271454, 0.1968221664428711, 0.3763071894645691, -0.4439498782157898, -0.2664955258369446, 0.01180215273052454, -0.5340315699577332, -0.39034298062324524, 0.5636636018753052, -0.6005538105964661, -0.16661570966243744, -0.36410629749298096, 0.17126330733299255, -0.14536535739898682, -0.4174764156341553, 0.20077747106552124, 0.03845802694559097, 0.41012412309646606, 0.12786094844341278, -0.7150087952613831, 0.3021405041217804, 0.4874979257583618, 0.9572498202323914, -0.6832908391952515, -0.44082027673721313, -0.9481049180030823, 0.269442081451416, -0.22277581691741943, 1.3091182708740234, -0.1654059886932373, -0.34864264726638794, -0.08817140758037567, 0.5778409838676453, -0.29519426822662354, -0.4354190528392792, 0.4438198208808899, -0.5670041441917419, -0.10466158390045166, 0.03568723797798157, 0.09023032337427139, -0.47593745589256287, 0.41919586062431335, -0.9640056490898132, 0.9670713543891907, -0.0688394084572792, -0.7765058875083923, 0.49292466044425964, -1.0212832689285278, -0.9886986017227173, 0.22810311615467072, -0.029238009825348854, -1.1574801206588745, 0.05243619158864021, 0.5881516933441162, 0.8859873414039612, -0.0867156982421875, 0.3440360128879547, -0.1407318264245987, -0.39251527190208435, 0.13883830606937408, -0.3445945382118225, 0.44972971081733704, -0.025792216882109642, -0.15554775297641754, 0.37272563576698303, -0.11143087595701218, -0.2748773992061615, 0.2788887619972229, -0.06272104382514954, -0.017609121277928352, -0.13016213476657867, 0.39728546142578125, 0.25594690442085266, 0.04528060555458069, -0.7749566435813904, 0.08727087825536728, -0.0526106096804142, 0.2609921991825104, 0.20852568745613098, 0.015224577859044075, 0.4900391697883606, -0.2607654631137848, 0.6782089471817017, 0.1708601415157318, 0.3745124936103821, -0.505494236946106, -0.580003559589386, -0.6406585574150085, -0.06030835211277008, -0.2319878190755844, 0.47450295090675354, -1.1781775951385498, 0.3832550048828125, -0.3612351417541504, -0.13652904331684113, -0.12642209231853485, -0.12201236188411713, 0.43954622745513916, 0.45752039551734924, 0.5944571495056152, -0.31217578053474426, -0.39424753189086914, -0.7267704606056213, -0.00711109209805727, 0.24747195839881897, 0.14648255705833435, 0.22507622838020325, 0.6485020518302917, 0.17542169988155365, 0.717864453792572, -0.6569256782531738, -0.9091558456420898, -0.41923758387565613, -0.014273864217102528, -0.2186467945575714, 0.3593660295009613, 0.4612683057785034, -1.3034439086914062, -0.708112895488739, 0.058552712202072144, -0.718691349029541, 0.33978471159935, 0.005376312881708145, 0.18525750935077667, 0.0774809718132019, 0.736084520816803, -0.45921260118484497, 0.46734920144081116, 0.23812392354011536, -0.004693630617111921, 0.4403267800807953, -0.1953016221523285, 0.436145544052124, -1.1867245435714722, -0.14785881340503693, -0.056270379573106766, -0.5067105889320374, -0.4536052346229553, 0.23257094621658325, 0.22091016173362732, -0.2599303424358368, -0.6953703165054321, 0.11192336678504944, -0.7199752330780029, -0.36571162939071655, -0.5377681851387024, -0.19989486038684845, 0.14436089992523193, 0.7351297736167908, 0.30766016244888306, 0.7986271381378174, 1.0239578485488892, -0.45768386125564575, 0.6913737654685974, 0.2345000058412552, -0.32070788741111755, 0.8520883321762085, -0.4983181357383728, 0.1760619431734085, -0.39188382029533386, 0.2251943051815033, -1.1327006816864014, -0.2294774353504181, 0.36311060190200806, -0.23019349575042725, 0.19431772828102112, -0.32546257972717285, -0.5679590702056885, -0.7343025207519531, -0.2318967878818512, 0.29978933930397034, -0.1506766378879547, -0.6586492657661438, 0.8752639889717102, 0.16642139852046967, 0.20176656544208527, -0.8076543807983398, -0.7046634554862976, 0.12230588495731354, -0.15579697489738464, -0.5060197114944458, 0.4886623024940491, 0.1496123969554901, 0.4909023940563202, 0.10816655308008194, -0.24907679855823517, -0.20715047419071198, -0.045525941997766495, 0.530985414981842, 0.5025400519371033, 0.05178774893283844, 0.31933271884918213, -0.19668641686439514, -0.4317852854728699, -0.10336527973413467, -0.3384198248386383, 0.5232217907905579, -0.2649639844894409, -0.5719668865203857, -0.712006151676178, 0.3834761083126068, 0.8497475385665894, -0.9888715147972107, 0.6305036544799805, 0.9744717478752136, -0.2127935290336609, 0.10919950157403946, -0.5077696442604065, -0.3733550012111664, -0.4620422422885895, 0.5906621813774109, -0.6203964948654175, -0.547827422618866, 0.29836633801460266, -0.11816789954900742, -0.2230476588010788, 0.22499461472034454, 0.26684343814849854, -0.2579843997955322, 0.620230495929718, 0.644478976726532, 0.0392947793006897, 0.6478082537651062, -0.8142741322517395, 0.4332129657268524, -0.9533308744430542, -0.5123340487480164, -0.08724608272314072, -0.1584896594285965, -0.08108837157487869, -0.7055879831314087, 0.3823075592517853, -0.09714841097593307, 0.27508753538131714, 0.6020851135253906, -0.7472214698791504, 0.6893256902694702, 0.46461188793182373, 0.6793411374092102, 0.6785595417022705, 0.015876594930887222, 0.2621021270751953, 0.2664974331855774, -0.6163555383682251, -0.17188043892383575, 1.1567528247833252, 0.03677308186888695, 0.49473437666893005, -0.15457725524902344, 0.41598036885261536, 0.4347752630710602, 0.3882216811180115, -0.9151709675788879, 0.4191892743110657, -0.32233670353889465, -0.26986733078956604, -0.3274146318435669, -0.03719589114189148, -0.8138682842254639, 0.36084407567977905, -0.09993685781955719, -0.44414061307907104, 0.027422064915299416, -0.0607198029756546, -0.19558903574943542, 0.6041348576545715, -0.7414135336875916, 1.33332097530365, -0.401827871799469, -0.2968098819255829, -0.08484453707933426, -0.6802963018417358, 0.40128105878829956, 0.2265165001153946, 0.2818770706653595, -0.18478094041347504, 0.029400980100035667, 0.720954418182373, 0.11042892932891846, 0.7864488959312439, -0.36734703183174133, 0.3135546147823334, 0.5286925435066223, -0.022313078865408897, 0.527642011642456, 0.1738133281469345, 0.3770001232624054, 0.16095031797885895, -0.16712523996829987, -0.192574143409729, -0.4489423930644989, 0.429058313369751, -0.41928529739379883, -0.29426878690719604, -0.3480188250541687, -0.8916274309158325, 0.16941416263580322, 0.19652867317199707, 0.38296982645988464, 0.4396785497665405, 0.21206489205360413, 0.40899887681007385, 0.37150174379348755, -0.10541784018278122, 0.7629343271255493, 0.3205675184726715, -0.09493019431829453, -0.16523385047912598, 1.0021576881408691, -0.35680174827575684, 0.03112514317035675, 0.707251787185669, 0.10139332711696625, -0.6546863913536072, -0.4266643822193146, -0.45622703433036804, 0.07022164016962051, -0.6561394333839417, -0.530796229839325, -0.8448728919029236, 0.12329008430242538, -0.24124859273433685, -0.15731868147850037, -0.4973176121711731, 0.22944653034210205, -0.20384334027767181, 0.10590022802352905, 0.19604286551475525, 0.6119686365127563, 0.3104478716850281, 0.5368286371231079, -0.4768922030925751, 0.7229647636413574, 0.45684391260147095, 0.46377354860305786, 0.13974522054195404, -0.17269547283649445, -0.19809064269065857, -0.20095038414001465, -0.41065743565559387, -0.5766769647598267, 0.20475992560386658, -0.003814278868958354, 0.5560168623924255, 0.3244749903678894, 0.3135637938976288, 0.3037368059158325, -0.21295562386512756, 0.5102740526199341, 0.523669421672821, -0.7796473503112793, 0.31992942094802856, 0.11992888152599335, 0.289893239736557, 0.21314416825771332, 0.023701870813965797, -0.547346830368042, -0.2709672451019287, -0.36218830943107605, -0.40217480063438416, 0.808017373085022, 0.10028356313705444, -0.07040654122829437, 0.3452543318271637, -0.05007557570934296, 0.003921472001820803, 0.15021611750125885, -1.0262585878372192, 0.0570622980594635, -0.45032060146331787, -0.29055169224739075, -0.008151543326675892, 0.19893814623355865, 0.20788750052452087, -0.16623924672603607, 0.2068690061569214, -0.5115112066268921, 0.5391106605529785, 0.029654446989297867, -0.43049225211143494, 0.13513065874576569, 0.12946149706840515, 0.5096415281295776, 0.1728099137544632, 0.18656276166439056, 0.19857798516750336, 0.18662361800670624, -0.3776533007621765, 0.2228943109512329, 0.05814450979232788, 0.3759958744049072, -0.1436832994222641, 0.4866810142993927, 0.7473227977752686, 0.19263912737369537, -0.43248435854911804, 0.9221407175064087, -0.015216582454741001, -0.03723129630088806, -0.19636698067188263, 0.09953052550554276, 0.17079171538352966, 0.22611582279205322, 0.5450644493103027, 0.6269409656524658, 0.1857672929763794, -0.28071972727775574, 0.38005340099334717, 0.47522085905075073, -0.4103027582168579, -0.05028755962848663, 0.8968178033828735, 0.15534687042236328, -0.3781880736351013, 0.37204569578170776, -0.5277397632598877, -0.8411319851875305, 1.1274242401123047, 0.23172271251678467, 0.7064500451087952, -0.18757089972496033, 0.28698331117630005, 0.29290348291397095, 0.2336844503879547, -0.18575060367584229, 0.17640134692192078, -0.5275897979736328, -0.9574266672134399, -0.42129015922546387, -0.21869014203548431, -0.23720641434192657, -0.0489819310605526, -0.4898631274700165, 0.2968183755874634, 0.06837009638547897, 0.1601114571094513, 0.04033934697508812, -0.37811803817749023, -0.9202803373336792, 0.1952502727508545, -0.06461434066295624, 0.13066861033439636, -0.8895843625068665, 0.74111008644104, 0.770959198474884, -0.5642387866973877, -0.37147095799446106, -0.04007713869214058, -0.4113868772983551, -0.7920050621032715, 0.738908052444458, 0.8783686757087708, -0.3298558294773102, 0.08394315093755722, -0.25746455788612366, -0.4653888940811157, 1.3118144273757935, 0.02677028253674507, -0.618341326713562, 0.034794725477695465, 0.2292025089263916, 0.11626484245061874, -0.5501191020011902, 0.21059823036193848, -0.054149895906448364, 0.32679858803749084, 0.28649088740348816, -0.8450126051902771, -0.17343266308307648, 0.17172323167324066, 0.06467558443546295, 0.14499212801456451, -0.6865954995155334, 0.7604703307151794, -0.5560393333435059, -0.20977303385734558, -0.08271358162164688, 0.40398091077804565, -0.12832793593406677, 0.4216165840625763, 0.8731489777565002, 0.4144178330898285, 0.2406710535287857, -0.12269178032875061, 0.7801725268363953, -0.34408169984817505, 0.6834632158279419, 0.9908831715583801, -0.12096711248159409, 0.538788378238678, 0.4907524883747101, -0.06400758028030396, 0.3770170509815216, 0.3759714663028717, -0.23337732255458832, 0.7293593883514404, -0.1959654837846756, -0.3481498062610626, -0.4812812805175781, -0.2534048855304718, 0.04205571115016937, 0.656902015209198, 0.23090100288391113, -0.1310722976922989, -0.3915511965751648, 1.0552775859832764, -0.5042988061904907, 0.020627086982131004, -0.2572936713695526, 0.7112749218940735, -0.3291471302509308, -0.6760275959968567, 0.2957848310470581, -0.006134732160717249, 0.840000331401825, -0.05856730788946152, -0.1271546483039856, 0.09163738042116165, 0.2348615527153015, -0.2985118627548218, -1.0685855150222778, 0.48987454175949097, -0.15967653691768646, -0.1686147302389145, -0.1643514484167099, 0.8082526922225952, -0.457953542470932, -0.4354887902736664, 0.19195415079593658, 0.3357919156551361, 0.05102955922484398, -0.7014127373695374, -0.5613559484481812, 0.15526802837848663, -0.10992158204317093, 0.3161855936050415, -0.20112495124340057, 0.0812506303191185, -0.0077228243462741375, 0.8593534827232361, 0.717323899269104, -0.4709375202655792, 0.03772605583071709, -0.005244204308837652, 0.7511595487594604, -0.22199517488479614, -0.88742995262146, -0.47910016775131226, 0.5156865119934082, -0.17928358912467957, 0.27195480465888977, 0.17363083362579346, 0.8077138066291809, 0.899171769618988, -0.7081918120384216, 0.5774835348129272, -0.17489315569400787, 0.0753137618303299, -0.48706814646720886, 0.42345017194747925, -0.6180815696716309, -0.016736095771193504, 0.08518990874290466, -0.8625126481056213, -0.5003536343574524, 0.4983437657356262, -0.31760847568511963, -0.10924217849969864, 0.941822350025177, 0.8076764345169067, -0.5862014889717102, 0.018181048333644867, 0.5753039717674255, -0.6226082444190979, 0.4344189465045929, 0.7174147963523865, 0.642760694026947, -0.8613784909248352, 0.9468070864677429, -0.5795788764953613, 0.08709535747766495, -0.23143072426319122, -0.7870045304298401, -1.1802223920822144, -0.8525216579437256, -0.46244359016418457, 0.255940318107605, -0.012798766605556011, 0.346794068813324, 1.122373104095459, -0.7854985594749451, -0.054126862436532974, -0.4606689512729645, 0.14942823350429535, -0.5820605158805847, -0.3577131927013397, 0.5792210102081299, -0.32888248562812805, -0.8350793123245239, 0.20789873600006104, 0.35112014412879944, -0.00819022860378027, -0.1487964391708374, -0.12450955808162689, -0.2554020583629608, -0.6904591917991638, 0.6875728368759155, 0.08850353211164474, -0.7425264120101929, -0.32648608088493347, 0.07457918673753738, 0.13741691410541534, 0.39264366030693054, 0.924715518951416, -0.7213653326034546, 0.6389469504356384, 0.09696400165557861, 0.5242916941642761, 0.6555371284484863, -0.011919403448700905, -0.029846062883734703, -0.9316374063491821, 0.4961337447166443, -0.17856653034687042, 0.4227088689804077, 0.6303609609603882, -0.4301295280456543, 0.41137242317199707, 0.5732211470603943, -0.32345202565193176, -0.34204357862472534, 0.22482900321483612, -1.107422947883606, -0.3205777108669281, 0.450058251619339, -0.2301715910434723, -0.23882479965686798, -0.38047224283218384, -0.355817973613739, 0.3717731237411499, -0.4159955382347107, 0.6328708529472351, 0.30243217945098877, -0.06539907306432724, -0.9137890934944153, -0.4623606503009796, 0.10823789238929749, -0.0038571942131966352, -1.0187411308288574, 0.045550618320703506, 0.047354865819215775, 0.32663026452064514, 0.3940102756023407, 0.12661325931549072, 0.2170776128768921, 0.6116675138473511, -0.24089939892292023, 0.5416704416275024, -0.7684664726257324, -0.5745165944099426, 0.08260377496480942, 0.33095383644104004, -0.5567144155502319, -1.1356908082962036 ]
http://arxiv.org/abs/2403.06265v2
http://arxiv.org/pdf/2403.06265v2
Unpacking Tokenization: Evaluating Text Compression and its Correlation with Model Performance
2024-03-10T17:02:53
2024-06-22T16:00:49
Omer Goldman, Avi Caciularu, Matan Eyal, Kris Cao, Idan Szpektor, Reut Tsarfaty
cs.CL
cs.CL, cs.AI, cs.LG
Despite it being the cornerstone of BPE, the most common tokenization algorithm, the importance of compression in the tokenization process is still unclear. In this paper, we argue for the theoretical importance of compression, that can be viewed as 0-gram language modeling where equal probability is assigned to all tokens. We also demonstrate the empirical importance of compression for downstream success of pre-trained language models. We control the compression ability of several BPE tokenizers by varying the amount of documents available during their training: from 1 million documents to a character-based tokenizer equivalent to no training data at all. We then pre-train English language models based on those tokenizers and fine-tune them over several tasks. We show that there is a correlation between tokenizers' compression and models' downstream performance, suggesting that compression is a reliable intrinsic indicator of tokenization quality. These correlations are more pronounced for generation tasks (over classification) or for smaller models (over large ones). We replicated a representative part of our experiments on Turkish and found similar results, confirming that our results hold for languages with typological characteristics dissimilar to English. We conclude that building better compressing tokenizers is a fruitful avenue for further research and for improving overall model performance.
[ -0.26031529903411865, -0.3201037645339966, 0.30643096566200256, 0.16041520237922668, -0.6301122903823853, -0.04061916470527649, -0.23341046273708344, -0.4706581234931946, 0.19534415006637573, 0.16510431468486786, 0.07667139172554016, -0.16403836011886597, -0.9932003021240234, 0.18987151980400085, -0.6453866362571716, 1.0282119512557983, 0.1251477599143982, 0.16956044733524323, -0.0796736553311348, 0.2350606620311737, -0.5865129828453064, -0.9550327062606812, -0.6751431822776794, -0.3130307197570801, 0.38612648844718933, -0.13635441660881042, 0.5459147691726685, 0.7590769529342651, 0.4115678369998932, 0.36987560987472534, -0.46151864528656006, -0.2632734179496765, -0.43056797981262207, 0.15606443583965302, -0.13770142197608948, -0.44410547614097595, -0.1915009766817093, 0.06276977062225342, 0.7169995903968811, 0.8858715295791626, 0.06332062929868698, 0.42599213123321533, 0.2633199691772461, 0.7161332368850708, -0.5357810258865356, -0.015228988602757454, -0.5640820264816284, -0.20008669793605804, -0.27933913469314575, -0.3527981638908386, -0.5420282483100891, -0.025745218619704247, -0.16560563445091248, -0.1869940459728241, 0.4407298266887665, 0.3234253525733948, 1.0139650106430054, 0.18722233176231384, -0.4512500762939453, -0.1676933616399765, -0.792153000831604, 0.6740801334381104, -0.8214312791824341, 0.39783862233161926, 0.07635869830846786, -0.06313874572515488, -0.22306503355503082, -0.8308144211769104, -0.4583069980144501, 0.1717359572649002, -0.16325101256370544, 0.04036843404173851, -0.19426968693733215, 0.28561657667160034, 0.022308895364403725, 0.7373790144920349, -0.44277113676071167, 0.3268641233444214, -0.5807471871376038, -0.3079919219017029, 0.3175729215145111, -0.2770104706287384, 0.5231310129165649, -0.20484384894371033, -0.16018418967723846, -0.21791814267635345, -0.5710397362709045, 0.31677210330963135, 0.6526307463645935, 0.518958330154419, 0.2768012583255768, 0.7316333055496216, 0.06306397914886475, 0.9290715456008911, -0.11733385920524597, 0.0844004824757576, -0.019321518018841743, -0.4308909475803375, -0.3548446297645569, 0.09049797803163528, 0.6560987234115601, -0.043497201055288315, 0.257221519947052, -0.4533737301826477, -0.46890950202941895, 0.06124451011419296, 0.529112696647644, -1.1541320085525513, 0.09574024379253387, 0.5111361742019653, -0.9751158952713013, -0.4189685583114624, 0.4929772913455963, -0.5650709867477417, -0.053336188197135925, -0.2583949863910675, 0.4758002758026123, -0.17357347905635834, -0.16942475736141205, 0.5031381249427795, -0.4624846875667572, -0.14204740524291992, -0.06874372810125351, -1.2190790176391602, 0.3173286020755768, 0.9687399864196777, 0.9482929110527039, -0.030713407322764397, -0.33310386538505554, -0.5901528000831604, -0.13866502046585083, -0.4053393602371216, 0.9111872315406799, -0.49931806325912476, -0.4292648136615753, 0.1601259857416153, 0.05062597990036011, -0.09067918360233307, -0.3293308615684509, 0.9564460515975952, -0.2725370526313782, 0.17405031621456146, -0.04267168045043945, -0.8466290831565857, -0.00206690258346498, -0.0906703770160675, -0.7270179986953735, 1.0630278587341309, 0.09303529560565948, -0.7285057306289673, 0.5342397093772888, -0.39532431960105896, -0.36511263251304626, 0.13148942589759827, 0.040072519332170486, -0.13578087091445923, 0.9674704670906067, 0.12041755765676498, 0.6405025720596313, -0.32892993092536926, 0.22836840152740479, 0.044570840895175934, -0.6933333873748779, 0.19111153483390808, -0.3982698917388916, 0.6203964948654175, 0.17493891716003418, -0.04427587613463402, -0.09749550372362137, -0.763611912727356, 0.048818960785865784, -0.09516681730747223, -0.7359006404876709, -0.31162601709365845, -0.07508530467748642, 0.19344462454319, 0.15360940992832184, 0.26898521184921265, -0.651267409324646, 0.3912314772605896, -0.6039013266563416, 0.43571677803993225, 0.6285786032676697, -0.1055721715092659, 0.4435218572616577, -0.3043179512023926, 0.43490397930145264, -0.04750162735581398, 0.18289294838905334, -0.3903251886367798, -0.42140206694602966, -0.6919501423835754, -0.45248278975486755, 0.9927523136138916, 0.1916879564523697, -0.13407030701637268, 0.5391512513160706, -0.5399988293647766, -0.40071290731430054, -0.5329304337501526, -0.18181197345256805, 0.2330150455236435, 0.11276047676801682, 0.09664920717477798, -0.6012860536575317, -0.48209914565086365, -0.641813337802887, -0.4230327308177948, -0.46959906816482544, -0.3347018361091614, 0.0012235435424372554, 0.37841007113456726, 0.15719406306743622, 0.9298042058944702, -0.10818640887737274, -0.14092740416526794, -0.18876518309116364, 0.7343295812606812, 0.27140894532203674, 0.7142351865768433, 0.6263924241065979, -0.5913845300674438, -0.2624298334121704, -0.17717720568180084, -0.1802992969751358, -0.34566730260849, -0.11692638695240021, 0.05414433777332306, 0.25612664222717285, 0.4902908504009247, -0.5654394030570984, 0.4955501854419708, 0.8411503434181213, -0.5276161432266235, 0.6835999488830566, -0.5876622200012207, 0.1983186900615692, -1.0917415618896484, 0.3299393057823181, -0.42000389099121094, -0.11987288296222687, -0.8333389759063721, 0.19599011540412903, -0.1240982785820961, -0.42794719338417053, -0.37474632263183594, 0.528884768486023, -0.5985581874847412, -0.1740228235721588, -0.38615772128105164, -0.029652684926986694, 0.15963226556777954, 0.34191036224365234, 0.0028848478104919195, 0.9153313636779785, 0.38227471709251404, -0.4910220205783844, -0.1778833270072937, 0.020632386207580566, -0.620188295841217, 0.07176385074853897, -0.8881467580795288, 0.22628052532672882, -0.35830172896385193, 0.017943179234862328, -0.975899875164032, 0.1367957592010498, -0.263342946767807, -0.5526056885719299, 0.6699630618095398, -0.3527347147464752, -0.771072506904602, -0.2996141314506531, -0.1719815880060196, 0.43202662467956543, 0.6988410353660583, -0.4378757178783417, 0.5523257851600647, 0.2572738826274872, 0.10251484811306, -0.4527817666530609, -0.6720924377441406, 0.09082607924938202, -0.19297845661640167, -0.3850685954093933, 0.49125155806541443, -0.2199925035238266, 0.09914261102676392, 0.09976530075073242, -0.36711159348487854, -0.08252465724945068, 0.26530346274375916, 0.2577937841415405, 0.12207668274641037, 0.08760824054479599, 0.273176908493042, -0.0839042142033577, -0.17746353149414062, -0.10112816840410233, -0.814717710018158, 0.8004715442657471, 0.13665039837360382, -0.08299264311790466, -0.0904366746544838, 0.3126220405101776, 0.43556854128837585, -0.14974290132522583, 1.1806988716125488, 0.5501833558082581, -0.24899160861968994, 0.1550612449645996, -0.49885812401771545, 0.014613844454288483, -0.44642120599746704, 0.11541319638490677, -0.4134509861469269, -0.9974782466888428, 0.5124848484992981, -0.3285439908504486, -0.00545469718053937, 0.3314623534679413, 0.38044893741607666, 0.15588898956775665, 1.0456883907318115, 0.9492539763450623, -0.1756487339735031, 0.5651494860649109, 0.08805087208747864, 0.5242125988006592, -0.5371341705322266, 0.07239992171525955, -1.0736650228500366, -0.16623488068580627, -0.7140032052993774, -0.30103251338005066, -0.0072821662761271, 0.6905137896537781, -0.022213976830244064, 0.3604505658149719, -0.6333912014961243, 0.7616041302680969, 0.39334505796432495, -0.3534109890460968, 0.10137899219989777, 0.14217974245548248, -0.17358513176441193, 0.1754017472267151, -0.8122557401657104, -0.7653419375419617, 1.0077351331710815, 0.3397360146045685, 0.2763500511646271, 0.1248338520526886, 0.767281711101532, 0.27993208169937134, -0.011873931623995304, -0.8044818639755249, 0.18008579313755035, -0.3575465679168701, -0.5856236815452576, -0.1582254022359848, -0.3910478949546814, -1.4108130931854248, 0.1883566677570343, -0.4697117507457733, -1.019527792930603, 0.2605591118335724, 0.15877515077590942, -0.22603335976600647, 0.2615247070789337, -0.7986946105957031, 0.838752031326294, 0.13560797274112701, 0.029822682961821556, -0.13924191892147064, -0.4586035907268524, 0.10622884333133698, -0.3120621144771576, 0.33713892102241516, 0.18181824684143066, -0.11695197969675064, 0.9984742403030396, -0.5145387053489685, 0.6001420021057129, 0.15604449808597565, 0.06582117080688477, 0.10055303573608398, 0.09355343133211136, 0.4560052752494812, -0.33286815881729126, 0.01125068124383688, 0.47632044553756714, 0.48693907260894775, -0.824567437171936, -0.9515206217765808, 0.24432164430618286, -0.7083452343940735, -0.6264930367469788, -0.28053897619247437, -0.2472110390663147, 0.102930448949337, 0.35048454999923706, 0.5249404907226562, 0.7373719811439514, -0.12988165020942688, 0.16209085285663605, 0.17025455832481384, -0.20096051692962646, 0.5612116456031799, 0.3410942554473877, -0.270155131816864, -0.2890857756137848, 0.9217503070831299, 0.18468119204044342, 0.08792851865291595, 0.47564709186553955, 0.3546799421310425, -0.047542866319417953, -0.9456969499588013, -0.22883346676826477, 0.186700701713562, -0.6361531615257263, -0.13269400596618652, -0.49817949533462524, -0.14770254492759705, -0.5866471529006958, -0.27638953924179077, -0.47479021549224854, -0.6511527299880981, -0.18198223412036896, -0.028225213289260864, -0.2733256220817566, 0.923845112323761, -0.11843796819448471, 0.4974517226219177, -1.064178705215454, -0.14157025516033173, 0.08718471974134445, 0.3504953682422638, 0.10642307251691818, -0.6199252605438232, -0.5268092751502991, -0.25766226649284363, 0.0847768560051918, -0.9222759008407593, 0.38407963514328003, 0.05962051451206207, 0.3374810218811035, 0.5587276816368103, -0.034763604402542114, 0.6334933638572693, -0.6092576384544373, 1.1184823513031006, 0.0913040041923523, -1.233217716217041, 0.2529541850090027, 0.05278341472148895, 0.16306965053081512, 0.4973451495170593, 0.3717809319496155, -0.6554685235023499, -0.3305642902851105, -0.7654224634170532, -0.9755821824073792, 0.40245336294174194, 0.3668416440486908, 0.37364643812179565, -0.16598831117153168, 0.5696301460266113, 0.10007981956005096, 0.4474732279777527, -0.6878642439842224, -0.12008872628211975, -0.1148083359003067, -0.1553439199924469, -0.17034336924552917, -0.7810580134391785, 0.23762457072734833, -0.1999988555908203, 0.6353619694709778, 0.07013155519962311, 0.36958563327789307, 0.044399701058864594, -0.08913716673851013, 0.056527696549892426, 0.4638393521308899, 0.4456523358821869, 0.35207802057266235, -0.3185560405254364, 0.24947905540466309, -0.3013339638710022, -0.5082995295524597, 0.278125137090683, 0.029934609308838844, -0.0488012470304966, 0.13195133209228516, 0.5186132788658142, 0.9181244373321533, 0.13598230481147766, -0.6106095910072327, 0.6222696900367737, -0.2189028263092041, 0.06669983267784119, 0.1304754912853241, -0.19792863726615906, -0.3977296054363251, -0.06754206866025925, 0.243175208568573, 0.06586244702339172, 0.15371926128864288, -0.6082016229629517, -0.0507427342236042, 0.3345871865749359, -0.20142598450183868, -0.4774731397628784, 0.5214711427688599, 0.26952043175697327, -0.4504993259906769, 0.5806894302368164, -0.13613851368427277, -0.6084979176521301, 0.2895733714103699, 0.6403900384902954, 0.812377393245697, -0.062044769525527954, 0.04465232044458389, 0.4973587989807129, 0.48675987124443054, -0.36089661717414856, -0.19606885313987732, -0.20767423510551453, -0.6802096962928772, -0.7768079042434692, -0.8960097432136536, -0.027150988578796387, 0.06201448291540146, -0.6409395337104797, 0.299156129360199, -0.0690617486834526, -0.29183316230773926, -0.1423616260290146, 0.15809820592403412, -0.6097509860992432, 0.0659242570400238, -0.026119345799088478, 1.177045226097107, -0.9540568590164185, 0.593248188495636, 0.5303582549095154, -0.5719196200370789, -0.9204052090644836, 0.06907139718532562, -0.28827282786369324, -0.4011174142360687, 0.8420717120170593, 0.2880535125732422, 0.22531355917453766, 0.16695941984653473, -0.3524255156517029, -0.9323682188987732, 0.7063297033309937, 0.4276527464389801, -0.32353103160858154, -0.10118822008371353, 0.2003539800643921, 0.6875779032707214, -0.2841064929962158, 0.45823246240615845, 0.46360141038894653, 0.2600986659526825, -0.04534854739904404, -0.8719270825386047, -0.024974439293146133, -0.39433300495147705, 0.3907426595687866, 0.37401285767555237, -0.4474506676197052, 0.6935913562774658, 0.1851947009563446, -0.7652906775474548, 0.07548874616622925, 0.5445171594619751, -0.19745829701423645, -0.23635701835155487, 0.4482260048389435, 0.4851849377155304, 0.7408942580223083, 0.0274208914488554, 1.3227962255477905, -0.7853858470916748, 0.29759907722473145, 0.872093915939331, 0.19426757097244263, 0.8996434211730957, 0.62681645154953, -0.15026411414146423, 0.38340047001838684, 0.654050886631012, 0.05865340679883957, 0.214126855134964, 0.3788377642631531, -0.18451419472694397, -0.07989916205406189, -0.391287237405777, -0.056286487728357315, 0.42650216817855835, -0.1192205548286438, -0.40528932213783264, -0.11885106563568115, -0.21751809120178223, 0.09604515880346298, -0.05427934601902962, -0.17589689791202545, 0.6407985687255859, -0.1467098444700241, -0.7811863422393799, 0.5899710059165955, 0.14008460938930511, 0.5830363631248474, -0.5061988830566406, 0.26231083273887634, -0.23779886960983276, -0.23940424621105194, -0.0774419754743576, -0.42536550760269165, 0.4310280680656433, 0.13441617786884308, -0.2686810791492462, -0.43550905585289, 0.8160202503204346, -0.32106176018714905, -0.33900490403175354, 0.10631769150495529, 0.5797826051712036, 0.6486231088638306, -0.1628187745809555, -0.2394237369298935, 0.2040659338235855, -0.297784686088562, -0.45635291934013367, 0.5590280294418335, 0.5734648108482361, 0.2954995334148407, 0.3538942039012909, 0.921341061592102, 0.5886982679367065, -0.0018523125909268856, 0.12273980677127838, 0.7204231023788452, -0.4504585266113281, -0.4179891049861908, -0.9324970841407776, 0.6111876964569092, -0.07230976223945618, -0.14931288361549377, 0.6391324400901794, 0.6321379542350769, 0.8601217269897461, -0.026431484147906303, 0.4189862608909607, 0.004695109557360411, 0.11263234913349152, -0.5710679888725281, 0.6024249792098999, -0.6126337647438049, 0.1596461683511734, -0.10256504267454147, -0.9402269124984741, -0.2182062864303589, 0.3603613078594208, 0.11199385672807693, -0.07761027663946152, 0.8800572752952576, 0.5398411750793457, 0.062289875000715256, -0.2369941622018814, 0.5333433151245117, -0.03840536251664162, 0.3067992031574249, 0.12910957634449005, 0.4568459391593933, -0.567941427230835, 0.6023960113525391, -0.051027312874794006, -0.12598377466201782, 0.2142781764268875, -1.227312445640564, -1.013584852218628, -0.9043435454368591, -0.18789975345134735, -0.35454484820365906, -0.17742477357387543, 0.9468231201171875, 0.8908482789993286, -0.580029308795929, -0.19584967195987701, -0.31947264075279236, -0.11806824058294296, -0.26218852400779724, -0.17841336131095886, 0.3549012243747711, -0.7406760454177856, -1.023057460784912, 0.12213607132434845, 0.35020938515663147, 0.5045276880264282, -0.2430494874715805, 0.18084798753261566, 0.1968974471092224, 0.5519278049468994, 0.5319455862045288, 0.08560407906770706, -0.5001125931739807, -0.21142306923866272, -0.3755313754081726, 0.08747051656246185, -0.06979602575302124, 1.3614095449447632, -0.8518182635307312, 0.5213391184806824, 0.7531561255455017, 0.6853156089782715, 0.4026038348674774, 0.11920907348394394, 0.8040345907211304, -1.0457462072372437, 0.5091999769210815, -0.20741094648838043, 0.5594041347503662, 0.28957948088645935, -0.38052672147750854, 0.5816426277160645, 0.13336756825447083, -0.8184932470321655, -1.0866708755493164, 0.1306525021791458, -0.7030134797096252, -0.6066463589668274, 1.0373085737228394, -0.35029086470603943, -0.45987656712532043, 0.0070321206003427505, -0.2574291229248047, 0.5122124552726746, -0.27306365966796875, 1.0036654472351074, 1.2030613422393799, 0.19059787690639496, -0.14053668081760406, -0.3984730839729309, 0.6226270794868469, 0.6506335139274597, -0.6026386022567749, 0.15834341943264008, 0.14544427394866943, -0.07503007352352142, 0.3088549077510834, 0.6374924182891846, -0.04377454146742821, -0.2609559893608093, 0.1638832986354828, 0.12378723174333572, -0.11759552359580994, -0.17362898588180542, -0.7373952269554138, 0.27351391315460205, 0.26188910007476807, -0.028849495574831963 ]
http://arxiv.org/abs/2403.06260v1
http://arxiv.org/pdf/2403.06260v1
SCORE: Self-supervised Correspondence Fine-tuning for Improved Content Representations
2024-03-10T16:57:51
2024-03-10T16:57:51
Amit Meghanani, Thomas Hain
cs.CL
cs.CL, cs.SD, eess.AS
There is a growing interest in cost-effective self-supervised fine-tuning (SSFT) of self-supervised learning (SSL)-based speech models to obtain task-specific representations. These task-specific representations are used for robust performance on various downstream tasks by fine-tuning on the labelled data. This work presents a cost-effective SSFT method named Self-supervised Correspondence (SCORE) fine-tuning to adapt the SSL speech representations for content-related tasks. The proposed method uses a correspondence training strategy, aiming to learn similar representations from perturbed speech and original speech. Commonly used data augmentation techniques for content-related tasks (ASR) are applied to obtain perturbed speech. SCORE fine-tuned HuBERT outperforms the vanilla HuBERT on SUPERB benchmark with only a few hours of fine-tuning (< 5 hrs) on a single GPU for automatic speech recognition, phoneme recognition, and query-by-example tasks, with relative improvements of 1.09%, 3.58%, and 12.65%, respectively. SCORE provides competitive results with the recently proposed SSFT method SPIN, using only 1/3 of the processed speech compared to SPIN.
[ -0.2715687155723572, -0.6514126658439636, 0.26423153281211853, 0.21342946588993073, -0.2672768831253052, 0.09825367480516434, -0.3916130065917969, -0.248911514878273, 0.33938273787498474, 0.5973035097122192, -0.747316837310791, -0.6011479496955872, -0.2983633875846863, -0.05091874673962593, -0.32933366298675537, 0.7745096683502197, 0.27248597145080566, -0.003432274330407381, -0.2492775022983551, 0.11428266763687134, -0.435385525226593, -0.44950243830680847, -0.8051974177360535, -0.23125548660755157, 0.4872274696826935, 0.7087445855140686, 0.4025508165359497, 0.9880895614624023, 0.6937086582183838, 0.3171969950199127, 0.2112351953983307, 0.3332672119140625, -0.7343719601631165, 0.3719293475151062, -0.4012201428413391, -0.18433627486228943, -0.3547290861606598, 0.13477815687656403, 0.7222768664360046, 0.4826841354370117, -0.16565299034118652, 0.44204339385032654, 0.3168657422065735, 0.9185888767242432, -0.5649094581604004, 0.3239183723926544, -0.833865225315094, -0.023872043937444687, -0.29473423957824707, -0.530403733253479, -0.2678220570087433, 0.15021942555904388, -0.22846460342407227, -0.5790390968322754, 0.3212854862213135, 0.06304525583982468, 0.7016698122024536, 0.7169347405433655, 0.06670289486646652, -0.0029064645059406757, -0.7154233455657959, 0.8419663310050964, -0.5955677628517151, 0.43171483278274536, 0.6138249039649963, 0.3118971586227417, -0.19122283160686493, -0.37772122025489807, -0.3173081874847412, -0.20137594640254974, -0.01008403766900301, 0.3071382939815521, -0.03949892148375511, 0.12218300998210907, 0.3250283896923065, 0.48246699571609497, -0.4880641996860504, 0.13359978795051575, -0.3164380192756653, -0.27721935510635376, 0.9449651837348938, 0.15834906697273254, -0.10654939711093903, -0.20365703105926514, -0.17622248828411102, -0.3032963275909424, -0.42274588346481323, 0.04409167170524597, 0.6927204132080078, 0.8325999975204468, -0.10865016281604767, 0.40307140350341797, -0.6733238101005554, 0.7320379614830017, 0.7082050442695618, -0.04407092183828354, 0.21998068690299988, -0.24144479632377625, -0.15772219002246857, 0.3527279794216156, 0.9551851153373718, 0.2071230113506317, 0.3929133713245392, -0.04668637365102768, -0.0729968249797821, -0.05251697823405266, 0.36877232789993286, -0.4760150611400604, -0.5958722233772278, 0.049184899777173996, -0.2534925937652588, -0.09813018888235092, 0.020738516002893448, -0.36250513792037964, -0.04948484152555466, -0.7018917798995972, 0.6862598657608032, -0.4854021370410919, -0.05939648300409317, -0.052945271134376526, 0.22456610202789307, 0.05847276374697685, 0.39532506465911865, -1.1731023788452148, 0.31213584542274475, 0.471491277217865, 0.6725377440452576, -0.527355968952179, -0.24833473563194275, -0.9660838842391968, 0.2565881013870239, -0.4178154170513153, 1.0147039890289307, -0.46665188670158386, -0.24743500351905823, -0.29268062114715576, -0.23363283276557922, -0.14421793818473816, -0.6612184047698975, 0.6832299828529358, 0.0051250820979475975, 0.056328706443309784, -0.04426280036568642, -0.772487223148346, 0.20786979794502258, -0.1206638514995575, -0.5473352670669556, 1.1565024852752686, 0.2462681382894516, -0.49833807349205017, 0.15219280123710632, -0.4732363820075989, -0.6299383044242859, 0.11251141875982285, -0.1696031093597412, -0.3548926115036011, 0.08002445846796036, 0.3159524202346802, 0.5766979455947876, -0.010495159775018692, 0.07870940864086151, -0.33602041006088257, -0.5888800621032715, -0.13846345245838165, -0.3465064764022827, 0.2196781486272812, 0.3114328384399414, -0.2690138816833496, 0.29342859983444214, -0.9341763854026794, 0.13438139855861664, -0.2188122570514679, -0.29669269919395447, -0.20220163464546204, -0.022151170298457146, 0.06911630183458328, 0.08479976654052734, 0.38517022132873535, -0.4850330948829651, -0.13244768977165222, -0.4142168462276459, 0.28106215596199036, 0.6887912750244141, -0.25721657276153564, 0.32845422625541687, -0.37219059467315674, 0.2062678188085556, 0.07876557111740112, 0.12073053419589996, -0.20555715262889862, -0.22779446840286255, -0.6664702296257019, -0.39678362011909485, 0.5646703839302063, 0.3558678925037384, -0.3309555947780609, 0.6435452103614807, -0.17005977034568787, -0.6598308682441711, -1.0898725986480713, 0.2951441705226898, 0.3030999004840851, 0.7898027300834656, 0.7979211211204529, -0.31009647250175476, -0.35387030243873596, -0.8919923305511475, -0.4851438105106354, 0.024331891909241676, -0.17492416501045227, 0.36571019887924194, -0.04884158447384834, 0.18090474605560303, 0.8235930800437927, -0.4036170542240143, -0.9909759759902954, 0.23388183116912842, 0.17990510165691376, 0.18217706680297852, 0.9515480399131775, 0.08680885285139084, -0.47899582982063293, -0.9501036405563354, -0.11139151453971863, -0.27118992805480957, -0.1298648864030838, -0.10441473126411438, 0.14819703996181488, 0.13078390061855316, 0.7633787393569946, -0.0666341781616211, 0.18527434766292572, 0.7201185822486877, -0.05200831964612007, 0.4194437265396118, -0.48517364263534546, 0.3122824728488922, -0.773842990398407, -0.15396738052368164, 0.1377120018005371, -0.5205978751182556, -0.5377958416938782, -0.22370192408561707, 0.021315505728125572, -0.17526501417160034, -0.30272018909454346, 0.18160974979400635, -0.29244548082351685, 0.16973651945590973, -0.3596345782279968, 0.20334969460964203, -0.19036556780338287, 0.5412436723709106, 0.007895794697105885, 0.9603514075279236, 0.7703639268875122, -0.3976227045059204, 0.2722892165184021, 0.2883927822113037, -0.2238544076681137, 0.8404058814048767, -0.6171581745147705, 0.4286002516746521, -0.018366973847150803, -0.09075093269348145, -1.16078519821167, -0.16893385350704193, 0.14113149046897888, -0.4815708100795746, 0.6337060332298279, -0.22796538472175598, -0.2677523195743561, 0.1594638228416443, -0.18415775895118713, 0.20215485990047455, 0.33344927430152893, -0.5283471345901489, 0.7066453099250793, 0.3678623139858246, -0.038070667535066605, -0.16713403165340424, -0.6501619815826416, -0.09323389083147049, -0.18034367263317108, -0.5456584095954895, 0.7410276532173157, -0.22225144505500793, 0.3892408013343811, -0.074532151222229, -0.4922657012939453, 0.15844587981700897, -0.08287470787763596, 0.3103136718273163, -0.22940291464328766, -0.32724010944366455, 0.08456175029277802, 0.3267958164215088, -0.22785399854183197, -0.121681809425354, -0.06459994614124298, 0.4229174554347992, 0.011759806424379349, -0.4390530586242676, -0.7345334887504578, 0.5424216389656067, 0.17971888184547424, -0.19698920845985413, 0.2557515799999237, 0.787972092628479, -0.2512054741382599, -0.19647377729415894, -0.824187695980072, -0.28054922819137573, -0.578789234161377, 0.1346948742866516, -0.6208484768867493, -1.1104187965393066, 0.3857962489128113, -0.070443294942379, -0.29682666063308716, 0.6521480083465576, 0.15782421827316284, -0.6478086113929749, 0.9700952768325806, 0.3395977318286896, -0.3194236159324646, 0.6853470206260681, -0.02833307720720768, -0.07137670367956161, -0.8972405791282654, 0.029420768842101097, -0.5479064583778381, -0.28012028336524963, -0.7204920053482056, -0.34269979596138, 0.14601115882396698, 0.01938159577548504, -0.2906547486782074, 0.5108494758605957, -0.6009912490844727, 0.3836406469345093, 0.9203874468803406, 0.3353502154350281, 0.27905401587486267, 0.3262632191181183, 0.02100951224565506, -0.19174621999263763, -0.6732094287872314, -0.09664254635572433, 0.9333222508430481, 0.16213591396808624, 0.9600676894187927, -0.3079739212989807, 0.9106438159942627, 0.5819004774093628, -0.26507872343063354, -0.577502965927124, 0.45031145215034485, -0.7305251359939575, -0.23787756264209747, -0.5916124582290649, -0.6604124903678894, -0.7334395051002502, -0.014200299046933651, -0.5410611629486084, -0.6921897530555725, 0.02044619433581829, 0.4936635494232178, -0.3406372368335724, -0.2790367603302002, -0.611838698387146, 0.8684160113334656, -0.018856706097722054, -0.4108261466026306, -0.6459150910377502, -0.6137312054634094, -0.2047271579504013, -0.18592682480812073, -0.10348530858755112, -0.5207001566886902, 0.5265268087387085, 0.7896725535392761, 0.13669130206108093, 0.701461911201477, -0.09904534369707108, -0.08575058728456497, 0.013938728719949722, -0.003031965112313628, 0.40066561102867126, 0.0822625532746315, -0.2406127005815506, 0.31751883029937744, 0.12671668827533722, -0.18113361299037933, -0.6138488054275513, 1.0117720365524292, -0.6843825578689575, -0.7856314778327942, -0.2684929370880127, -0.5605036616325378, -0.5282372236251831, 0.10874143987894058, 0.026933703571558, 0.42671599984169006, 0.062186483293771744, 0.18651331961154938, 0.667979896068573, 0.1746288239955902, 0.1532280445098877, 0.6958913803100586, 0.34319907426834106, -0.5832481384277344, 1.1976128816604614, 0.07402503490447998, 0.24261987209320068, 0.5293693542480469, 0.2491637021303177, -0.46648553013801575, -0.49596118927001953, -0.19076550006866455, 0.2666897177696228, -0.4962175190448761, -0.42063626646995544, -0.2017449587583542, -0.3190852999687195, -0.5908622145652771, 0.1519048511981964, -0.7067491412162781, -0.2799142301082611, -0.7804229855537415, 0.28030362725257874, 0.24962864816188812, 0.32205531001091003, -0.3409973382949829, 0.4526253938674927, -0.4490770995616913, 0.5148512721061707, 0.33324331045150757, 0.686111569404602, -0.5300264358520508, -0.9834319949150085, -0.365224152803421, 0.18390735983848572, -0.23498773574829102, -0.5608853101730347, 0.06720016151666641, 0.629086434841156, 0.5369399189949036, 0.3190411925315857, 0.34830042719841003, 1.2789853811264038, -0.6212927103042603, 0.4598535895347595, 0.12981051206588745, -1.1243444681167603, 0.848063051700592, -0.20026274025440216, 0.4149935245513916, 0.8906671404838562, 0.27185800671577454, -0.2501499354839325, -0.5643432140350342, -0.4985045790672302, -0.5400837063789368, 0.8517982959747314, 0.044708751142024994, 0.24885743856430054, 0.10484010726213455, 0.43918392062187195, -0.0792347863316536, -0.09953122586011887, -0.12357257306575775, -0.4010952115058899, -0.22838489711284637, -0.5448133945465088, -0.3146832287311554, -0.03274378180503845, 0.03998297080397606, -0.5114853978157043, 0.7256439328193665, -0.5308284759521484, 0.19791485369205475, 0.4176066517829895, 0.00872999057173729, -0.4778694808483124, -0.04574067145586014, 0.452847421169281, 0.2864357829093933, -0.2626281976699829, 0.06128856912255287, 0.17080754041671753, -0.3297787308692932, -0.12075331807136536, 0.39493849873542786, 0.022304654121398926, -0.10885465145111084, 0.08415113389492035, 0.9280796051025391, 0.2730350196361542, -0.4219994843006134, 0.35482266545295715, 0.05486634746193886, -0.27325835824012756, -0.1064721867442131, 0.4931616485118866, -0.026051336899399757, 0.44859471917152405, 0.25754159688949585, 0.020369332283735275, 0.32184773683547974, -0.35191458463668823, 0.290153831243515, 0.543274998664856, -0.7581411600112915, -0.08684594929218292, 0.6995072364807129, -0.07484807074069977, -0.3492686152458191, 0.5356913805007935, 0.09677141159772873, -0.1518438458442688, 0.03871462866663933, 0.6717382669448853, 0.6291155219078064, -0.7187015414237976, 0.19748236238956451, 0.46591874957084656, 0.03582502901554108, -0.09312373399734497, 0.35650184750556946, -0.3176579177379608, -0.4444686770439148, -0.582517683506012, -0.7574349045753479, -0.5592106580734253, 0.08080071210861206, -0.7551838159561157, 0.3462972640991211, -0.20009174942970276, -0.10719553381204605, 0.14476898312568665, 0.15212121605873108, -0.541797935962677, 0.5137729048728943, 0.276651531457901, 0.7483164072036743, -0.7143498063087463, 0.9669212698936462, 0.43044111132621765, -0.21238954365253448, -1.1090357303619385, -0.07480218261480331, -0.4691707491874695, -0.6527777314186096, 0.343067467212677, 0.05436930060386658, -0.29376116394996643, 0.30230650305747986, -0.3051035404205322, -1.0836224555969238, 0.7289635539054871, 0.8268014788627625, -0.9198552966117859, 0.19558773934841156, 0.4015486538410187, 0.6296630501747131, -0.30216407775878906, 0.021372659131884575, 0.626259982585907, 0.2199873924255371, 0.12662163376808167, -1.0580482482910156, 0.09524659812450409, 0.07751508057117462, -0.21001365780830383, -0.02926398627460003, -0.6447139382362366, 0.4331761300563812, 0.11749769002199173, -0.16408096253871918, -0.2009129524230957, 0.9762805104255676, 0.032060809433460236, 0.15666097402572632, 0.6171476244926453, 0.3933541178703308, 0.6900822520256042, -0.11673511564731598, 0.28579312562942505, -0.6120114326477051, 0.5694886445999146, 1.4800727367401123, -0.04215141758322716, 1.0330837965011597, 0.4591715633869171, -0.23662154376506805, 0.2745777368545532, 0.43649160861968994, -0.3305789530277252, 0.7231106758117676, 0.36176690459251404, 0.021235553547739983, -0.6383196711540222, 0.028417371213436127, -0.2234572321176529, 0.8279466032981873, 0.33208364248275757, -0.21846066415309906, -0.03988936170935631, -0.14769543707370758, -0.5357103943824768, 0.37700334191322327, -0.37468719482421875, 1.0740175247192383, 0.12367917597293854, -0.646425187587738, 0.7099149227142334, -0.2723873257637024, 0.4904543459415436, -0.6594963669776917, -0.07731791585683823, -0.16301502287387848, 0.09744223952293396, -0.35157331824302673, -0.7433621883392334, 0.3820154368877411, -0.33552730083465576, -0.16692940890789032, -0.3226540684700012, 0.75030118227005, -0.830295205116272, -0.3539024889469147, 0.18630261719226837, 0.15302449464797974, 0.1435794234275818, -0.5506921410560608, -0.8005074858665466, 0.039349112659692764, -0.12296490371227264, 0.06946146488189697, 0.36151573061943054, 0.18818728625774384, 0.3386128544807434, 0.5318285226821899, 0.6499156951904297, 0.13880655169487, -0.15336228907108307, 0.13059182465076447, 0.8015847206115723, -0.636626660823822, -0.5963925719261169, -0.6116196513175964, 0.23970308899879456, -0.06622196733951569, -0.30898281931877136, 0.6513814926147461, 0.5764380097389221, 0.9809706211090088, -0.14619840681552887, 0.49898552894592285, 0.34508270025253296, 0.7152256965637207, -0.5208126306533813, 0.6423168778419495, -0.6836791634559631, -0.10647685825824738, -0.5218636989593506, -0.727770984172821, -0.33908066153526306, 0.8574990034103394, -0.20846620202064514, -0.19180046021938324, 0.49873605370521545, 0.8025878667831421, -0.2258680909872055, -0.020915379747748375, 0.601563572883606, -0.1393270045518875, 0.0495857372879982, 0.23643997311592102, 0.5076377987861633, -0.48152869939804077, 0.5255268216133118, -0.4220741391181946, -0.07056043297052383, -0.1235245019197464, -0.7513927817344666, -0.937232255935669, -0.7718273997306824, -0.7371560335159302, -0.23752255737781525, 0.31096428632736206, 0.8834967017173767, 0.8743903040885925, -1.0402984619140625, -0.23562933504581451, 0.15545620024204254, -0.2034170776605606, -0.5451292395591736, -0.15033558011054993, 0.5464519262313843, -0.7118805646896362, -0.6314705610275269, 0.7702678442001343, 0.35736069083213806, -0.18874652683734894, -0.25357484817504883, 0.06960855424404144, 0.0706467255949974, 0.04883290454745293, 0.42014309763908386, 0.15115274488925934, -0.6130586266517639, -0.4286113679409027, -0.050680793821811676, 0.002205427037551999, 0.5002956986427307, 0.5410234332084656, -0.7553519606590271, 0.5917891263961792, 0.18829114735126495, 0.5546873807907104, 0.8676935434341431, 0.2691628336906433, 0.3288532495498657, -0.9282277226448059, -0.3305802345275879, 0.16915269196033478, 0.2387145608663559, 0.6020851135253906, -0.4793854057788849, 0.3102242648601532, 0.03322604298591614, -0.6594582796096802, -0.4687823951244354, 0.15794304013252258, -1.4876503944396973, 0.11287770420312881, 0.991858720779419, -0.12278643250465393, -0.1150059774518013, 0.04692930355668068, -0.3247544467449188, 0.3887632489204407, -0.637321412563324, 1.0055495500564575, 0.31271809339523315, -0.16754338145256042, -0.18537601828575134, -0.1044888123869896, 0.7336224317550659, 0.5284034609794617, -0.6149351596832275, 0.11310157924890518, 0.19774655997753143, 0.42292892932891846, 0.11564529687166214, 0.5273266434669495, 0.14969024062156677, 0.16664929687976837, -0.2782774865627289, -0.2824280261993408, -0.20388075709342957, -0.3606926202774048, -0.25967690348625183, 0.14563608169555664, -0.13596048951148987, -0.2982926666736603 ]
http://arxiv.org/abs/2403.06259v1
http://arxiv.org/pdf/2403.06259v1
Editing Conceptual Knowledge for Large Language Models
2024-03-10T16:57:10
2024-03-10T16:57:10
Xiaohan Wang, Shengyu Mao, Ningyu Zhang, Shumin Deng, Yunzhi Yao, Yue Shen, Lei Liang, Jinjie Gu, Huajun Chen
cs.CL
cs.CL, cs.AI, cs.DB, cs.IR, cs.LG
Recently, there has been a growing interest in knowledge editing for Large Language Models (LLMs). Current approaches and evaluations merely explore the instance-level editing, while whether LLMs possess the capability to modify concepts remains unclear. This paper pioneers the investigation of editing conceptual knowledge for LLMs, by constructing a novel benchmark dataset ConceptEdit and establishing a suite of new metrics for evaluation. The experimental results reveal that, although existing editing methods can efficiently modify concept-level definition to some extent, they also have the potential to distort the related instantial knowledge in LLMs, leading to poor performance. We anticipate this can inspire further progress in better understanding LLMs. Our project homepage is available at https://zjunlp.github.io/project/ConceptEdit.
[ -0.22598665952682495, -0.7478331923484802, 0.6194269061088562, -0.11637431383132935, -0.14144374430179596, 0.35024121403694153, -0.4495157301425934, -0.4592357575893402, 0.07717803120613098, 0.4272727370262146, -0.33360326290130615, -0.7558280825614929, -0.5314869284629822, -0.012890275567770004, -0.6299644112586975, 0.7217202186584473, -0.28452321887016296, -0.079117551445961, -0.4611991047859192, -0.27114975452423096, -0.544995129108429, -0.3931698501110077, -0.7254945635795593, -0.25325748324394226, 0.44194167852401733, 0.3983752131462097, 0.6541650891304016, 0.7711390852928162, 0.533600926399231, 0.3282020390033722, -0.6599014401435852, 0.2877074182033539, -0.5937303304672241, 0.13878987729549408, -0.5452467203140259, -0.6190484762191772, -0.9831830859184265, -0.1076081246137619, 1.065226435661316, 0.8161801099777222, -0.2053304761648178, 0.2418058216571808, -0.06419149786233902, 0.6903101205825806, -0.5822951197624207, 0.2391359508037567, -1.0649493932724, -0.11576336622238159, -0.2656182050704956, -0.006740286014974117, -0.17565315961837769, -0.05156436190009117, 0.01148893777281046, -0.7291131019592285, 0.2674785256385803, -0.033560268580913544, 0.5733851790428162, 0.5076017379760742, -0.1055726483464241, -0.21494077146053314, -0.6554189920425415, 0.36520373821258545, -0.8351367115974426, 0.47068557143211365, 0.02654658630490303, 0.11188554763793945, -0.296618789434433, -0.7135412096977234, -0.7418406009674072, -0.03932398557662964, 0.05156271159648895, -0.02533739246428013, -0.12961314618587494, 0.11314506083726883, 0.4095055162906647, 0.41875943541526794, -0.21158839762210846, 0.4640619456768036, -0.2409733235836029, 0.06408010423183441, 0.750032901763916, 0.3979712128639221, 0.11318175494670868, -0.2619243264198303, -0.04534668102860451, 0.07317303866147995, -0.9691807627677917, -0.20332477986812592, 0.09775912761688232, -0.0476609505712986, 0.17270734906196594, 0.7806863784790039, -0.4980041980743408, 0.8440710306167603, -0.0347115695476532, -0.05970057100057602, 0.2829580008983612, -0.05670427903532982, -0.2838645875453949, 0.13441410660743713, 0.4354615807533264, 0.5787578225135803, 0.19940082728862762, -0.12702268362045288, -0.455083429813385, 0.0077918516471982, 0.14313335716724396, -0.8058574199676514, -0.0010305368341505527, 0.30015847086906433, 0.03842565044760704, -0.3519447147846222, 0.005675626453012228, -0.45827433466911316, -0.6215882897377014, -0.38323530554771423, 0.35800233483314514, -0.617602527141571, -0.20837606489658356, 0.4384597837924957, -0.1960776150226593, -0.22855472564697266, 0.6541358232498169, -0.5176341533660889, 0.196073979139328, 0.8933742642402649, 0.8152170181274414, -0.09055234491825104, -0.5053686499595642, -0.22292587161064148, 0.41272833943367004, -0.7081992626190186, 0.711858868598938, -0.5929073691368103, -0.4029034674167633, -0.19480815529823303, -0.4599235951900482, 0.025702470913529396, -0.6747111678123474, 0.22418658435344696, -0.9164177775382996, -0.20524828135967255, -0.21330030262470245, -1.1057171821594238, 0.14686913788318634, 0.20163653790950775, -0.6131502389907837, 1.1414237022399902, 0.18286707997322083, -0.8377805352210999, 0.49150198698043823, -0.8697457909584045, -0.2392604798078537, 0.003394191851839423, 0.1297156810760498, -0.12651503086090088, 0.33463114500045776, 0.18510913848876953, 0.5202449560165405, -0.16739726066589355, 0.3464617431163788, -0.29643088579177856, -0.34947529435157776, 0.5083147287368774, 0.05520908907055855, 0.4100656509399414, 0.1800697296857834, 0.0812518447637558, 0.17915432155132294, -1.1267508268356323, -0.1692361831665039, 0.09480226039886475, -0.1861032396554947, -0.6214959025382996, -0.12229099124670029, -0.3848433494567871, 0.1285533457994461, 0.23489293456077576, -0.6218241453170776, 0.36676543951034546, -0.22001805901527405, 0.6387582421302795, 0.9568286538124084, 0.24410125613212585, 0.24587202072143555, -0.25748902559280396, 0.4672080874443054, 0.05850199609994888, 0.035868048667907715, 0.134226992726326, -0.10530225187540054, -1.1021891832351685, -0.20080432295799255, 0.7585563063621521, 0.21633288264274597, -0.9514332413673401, 0.3133900761604309, -0.5532457828521729, -0.6754597425460815, -0.5981875658035278, 0.3514344096183777, 0.1230408325791359, 0.34652379155158997, 0.28666457533836365, -0.22434581816196442, -0.4110129773616791, -0.8520447611808777, -0.40444257855415344, -0.2295713871717453, -0.038974154740571976, 0.08861757814884186, 0.6244418621063232, -0.23408354818820953, 1.1251097917556763, -0.7242250442504883, -0.20748595893383026, -0.09195537120103836, 0.010717658326029778, 0.07711340487003326, 0.34682539105415344, 0.4343312978744507, -0.3150635361671448, -0.2549670338630676, -0.1386406421661377, -0.6431534886360168, -0.37878331542015076, -0.047350965440273285, 0.033469341695308685, -0.25355976819992065, 0.9208953380584717, -0.767360508441925, 0.13394920527935028, 0.37921014428138733, -0.17023669183254242, 0.6535650491714478, -0.2500644624233246, 0.14771492779254913, -1.012805461883545, -0.23711217939853668, 0.09588173776865005, -0.05270678177475929, -0.6382550597190857, 0.40701937675476074, 0.5326979756355286, 0.30816951394081116, -0.5605878829956055, 0.5956360101699829, -0.3945211172103882, -0.17093361914157867, -0.09481734037399292, 0.36104923486709595, -0.06067474186420441, 0.10580914467573166, -0.021169433370232582, 0.9920601844787598, 0.35606464743614197, -0.6059325933456421, 0.501616895198822, 0.37781429290771484, -1.0001704692840576, 0.7756957411766052, -0.7443063259124756, 0.30303874611854553, -0.10619563609361649, 0.2557210922241211, -0.6584157347679138, -0.048375096172094345, -0.09834251552820206, -0.20275790989398956, 0.3493701219558716, -0.03806280717253685, -0.9027238488197327, -0.12888817489147186, -0.20616130530834198, 0.2918652296066284, -0.006835888139903545, -0.5868746042251587, 0.14966265857219696, 0.3362795114517212, -0.2696019411087036, -0.351988822221756, -0.5488059520721436, 0.460616797208786, -0.3727084696292877, -0.4787077307701111, 0.6186497807502747, -0.18881163001060486, -0.6415271162986755, 0.04868615046143532, 0.023340925574302673, -0.08456815034151077, 0.16639494895935059, 0.00448689516633749, 0.173549622297287, 0.013996286317706108, 0.6003993153572083, 0.1811354011297226, 0.0005483409040607512, 0.029620371758937836, 0.09071111679077148, 0.30630552768707275, 0.15652363002300262, -0.3005235195159912, -0.3320358693599701, -0.22676408290863037, 0.5932150483131409, -0.5337693095207214, 0.6257097721099854, 0.14848893880844116, -0.4790755808353424, -0.37379536032676697, -0.6450303792953491, 0.1092790737748146, -0.49277228116989136, 0.8137282133102417, -0.8523843884468079, -1.1287833452224731, 0.492784321308136, -0.38039907813072205, 0.0032963918056339025, 0.5648945569992065, 0.4108417332172394, -0.04283784702420235, 0.5922895669937134, 0.5182962417602539, -0.0237509086728096, 0.3561376631259918, -0.25301456451416016, -0.11954005807638168, -1.2799125909805298, 0.035201217979192734, -0.5317400097846985, -0.15928375720977783, -0.4585430324077606, -0.872711181640625, 0.452816367149353, 0.15831100940704346, -0.13466905057430267, 0.12633119523525238, 0.04640865698456764, 0.5751577019691467, 0.07662773877382278, 0.21514414250850677, 0.7535344958305359, -0.4230028986930847, -0.20183098316192627, -0.11658516526222229, -0.8468641042709351, -0.5086637139320374, 1.2819987535476685, 0.3970157206058502, 0.6528311967849731, 0.17331621050834656, 0.4918317496776581, 0.4001333713531494, 0.31704825162887573, -0.6359781622886658, 0.6561208367347717, 0.007525471039116383, -0.622789740562439, -0.6004822254180908, -0.3773884177207947, -0.440199613571167, 0.2349867969751358, -0.14053978025913239, -0.5577155351638794, 0.06997428834438324, 0.03262193500995636, -0.151554673910141, 0.5772421956062317, -0.4461494982242584, 0.6048579216003418, 0.021801460534334183, -0.34774157404899597, -0.7048411965370178, -0.06271854043006897, 0.43292880058288574, -0.5554398894309998, 0.46633175015449524, -0.12737470865249634, -0.18934835493564606, 0.7795087695121765, -0.5431775450706482, 0.6863633394241333, -0.06340622156858444, -0.45895203948020935, 0.09311391413211823, 0.21204771101474762, 0.5958582758903503, 0.3317826986312866, -0.38857102394104004, 0.20635905861854553, -0.014071020297706127, -0.2370116412639618, -0.8399174809455872, 0.7767824530601501, -0.5693105459213257, -0.6749668717384338, -0.20077238976955414, -0.7711701393127441, -0.7067795991897583, 0.011637470684945583, -0.2832217812538147, 0.23362505435943604, -0.6619266271591187, 0.2049683779478073, 0.7401103377342224, -0.317173033952713, 0.12295176833868027, 0.6835018992424011, -0.2258162796497345, -0.18303854763507843, 0.5862821936607361, 0.41113120317459106, 0.49568048119544983, 0.4652535021305084, 0.08503318578004837, -0.12984098494052887, -0.9124122262001038, -0.4767254889011383, 0.08541596680879593, -0.8662896156311035, -0.08898182958364487, -0.5089830160140991, -0.22331640124320984, -0.172507643699646, 0.06480465084314346, -0.684885561466217, -0.7724691033363342, -0.09993062913417816, -0.3223915100097656, 0.498898983001709, 0.9865129590034485, -0.13288730382919312, 0.44687095284461975, -0.5081861615180969, 0.261728972196579, 0.3423692584037781, 0.7770362496376038, 0.1418370008468628, -0.6996356248855591, -0.5845634937286377, 0.0437198244035244, 0.16293083131313324, -0.5037081837654114, -0.10862678289413452, 0.21981574594974518, 0.42901280522346497, 0.2732180058956146, 0.0750599130988121, 0.9395911693572998, -0.6200212240219116, 0.5629861950874329, -0.04490815848112106, -1.3037083148956299, 0.5642780065536499, -0.2086407095193863, 0.4605115056037903, 0.4140259921550751, 0.009802942164242268, -0.9580852389335632, -0.5004051923751831, -0.6060488224029541, -0.34777286648750305, 0.5180647969245911, -0.00946337915956974, 0.1714600920677185, 0.31647637486457825, 0.6973124742507935, 0.20548373460769653, 0.3882308304309845, -0.16660502552986145, -0.286907821893692, 0.1071915403008461, 0.03930708393454552, -0.38189736008644104, -0.5747336149215698, 0.10748854279518127, -0.7053035497665405, 0.816572904586792, 0.14545667171478271, -0.2053857147693634, 0.012949705123901367, -0.46381762623786926, -0.21824583411216736, 0.5389091968536377, 0.4416569769382477, 1.2820829153060913, -0.3583168685436249, -0.035382095724344254, 0.5923266410827637, -0.24328850209712982, 0.10599944740533829, -0.04933856055140495, -0.26576370000839233, -0.027342990040779114, 0.4843062162399292, 0.9272491931915283, 0.31040921807289124, -0.6031533479690552, 0.04998568072915077, -0.0547521598637104, -0.3697986602783203, -0.06504498422145844, 0.4071342349052429, 0.23461000621318817, 0.21425049006938934, 0.12471460551023483, -0.28420451283454895, -0.14201202988624573, -0.3771924674510956, 0.06566084176301956, 0.2516808807849884, -0.1101873591542244, -0.20791783928871155, 0.48873764276504517, -0.020062413066625595, -0.09455209970474243, 0.3013112545013428, 0.01503688097000122, -0.5552195906639099, 0.30766043066978455, 0.18209660053253174, 0.5001140832901001, -0.4186181128025055, 0.10632511973381042, 0.28037935495376587, 0.4777517318725586, 0.27265435457229614, -0.2151302993297577, 0.21955451369285583, -1.2227529287338257, -0.4049534797668457, -0.5267060995101929, -0.6304017901420593, 0.512334406375885, -0.5449846982955933, 0.3421541452407837, -0.5510745048522949, 0.022298751398921013, 0.38997891545295715, -0.024663424119353294, -0.8190184235572815, 0.4579002261161804, -0.3361310064792633, 1.0127975940704346, -0.5290294289588928, 1.0784281492233276, 0.8974012136459351, -0.04309321194887161, -0.48440784215927124, -0.05155184492468834, -0.014889135025441647, -0.8009357452392578, 0.4576784670352936, -0.2734726369380951, 0.11333485692739487, 0.20682449638843536, -0.3375047445297241, -0.8605238199234009, 0.9571897983551025, 0.15860356390476227, -0.9295564889907837, 0.05663776770234108, 0.5509893298149109, 0.666111171245575, -0.248359814286232, 0.13391853868961334, 0.996639609336853, 0.5635960102081299, 0.11335500329732895, -0.9300143718719482, -0.054606471210718155, -0.19315974414348602, 0.2755308747291565, 0.025955019518733025, -0.7134636640548706, 0.6796857118606567, -0.18159687519073486, 0.02316286601126194, -0.06951557099819183, 0.6023172736167908, -0.09832672029733658, -0.08990060538053513, 0.6273784041404724, 1.0030009746551514, 0.8011327981948853, 0.06650236994028091, 0.6823325753211975, -0.39961060881614685, 0.32170379161834717, 1.439695119857788, -0.5248669385910034, 0.824373722076416, 0.5019827485084534, -0.41092202067375183, 0.2188967913389206, 0.7350595593452454, 0.10793206095695496, 0.20423007011413574, 0.4868925213813782, -0.249104842543602, -0.19511450827121735, 0.02052345871925354, -0.4737407863140106, 0.7597309947013855, 0.5970088243484497, -0.1742069274187088, -0.08417348563671112, -0.24070696532726288, 0.19470210373401642, 0.009300642646849155, -0.29528144001960754, 0.8415473103523254, -0.06721653044223785, -0.237630233168602, 0.6176291704177856, 0.4478917419910431, 0.49928003549575806, -0.37652990221977234, 0.1335376650094986, -0.1983860433101654, 0.1247425302863121, -0.09154665470123291, -0.9248560667037964, 0.16098514199256897, 0.2806091010570526, -0.04708195850253105, -0.041024573147296906, 0.5993958711624146, -0.2965463399887085, -0.541217029094696, 0.20111016929149628, 0.8592745661735535, -0.1804434210062027, -0.2974949777126312, -0.6206653118133545, 0.3091786503791809, -0.16269800066947937, -0.3025515377521515, 0.3208327293395996, 0.7718935012817383, 0.024239426478743553, 0.6674140691757202, 0.535460352897644, 0.5456312298774719, -0.17334255576133728, 0.2327311933040619, 0.8766164779663086, -0.7400403022766113, -0.4818592369556427, -0.7731748223304749, 0.37058085203170776, -0.23881512880325317, -0.325067400932312, 0.757938802242279, 0.6037431955337524, 1.2452229261398315, -0.025945404544472694, 0.927264392375946, 0.04727662727236748, 0.6932282447814941, -0.7081011533737183, 0.9149875044822693, -0.5401101112365723, 0.539911687374115, -0.6154419779777527, -1.1135387420654297, -0.2508048713207245, 0.23441366851329803, -0.3822428286075592, -0.18301665782928467, 0.764574408531189, 0.8623576760292053, 0.04698066785931587, 0.1614808291196823, 0.450693279504776, 0.7308427095413208, 0.3165488839149475, 0.2227095067501068, 0.9565041065216064, -0.1948906034231186, -0.012157820165157318, -0.5554743409156799, -0.217658132314682, 0.09049693495035172, -0.8960994482040405, -1.0207972526550293, -0.548002302646637, -0.5321742296218872, 0.12924827635288239, 0.448628306388855, 0.8779987692832947, 0.37261733412742615, -0.7004518508911133, -0.39375922083854675, 0.13365356624126434, 0.1771126240491867, -0.15443329513072968, -0.15063659846782684, 0.5164016485214233, -0.13447892665863037, -0.7971773147583008, 0.48995906114578247, 0.12004092335700989, -0.1447327584028244, -0.20679078996181488, -0.02043740637600422, -0.23218098282814026, -0.04922216013073921, 0.8064741492271423, -0.30127906799316406, -0.511589765548706, -0.35242870450019836, -0.6026473641395569, 0.1399570107460022, 0.08588778972625732, 0.8407003283500671, -0.6753944754600525, 0.5155957341194153, 0.03820394352078438, 0.6870169043540955, 0.5889179706573486, -0.16012535989284515, 0.4879760444164276, -0.8177058100700378, 0.08678937703371048, -0.1269485503435135, 0.553411602973938, 0.5018762946128845, -0.19905251264572144, 0.5412883162498474, 0.37625959515571594, -0.1921299248933792, -0.8000072836875916, -0.11687372624874115, -0.6416719555854797, -0.369759202003479, 1.2012306451797485, 0.03363361209630966, -0.006198939401656389, 0.254899799823761, -0.12721601128578186, 0.364829421043396, -0.24600279331207275, 0.9219788908958435, 1.079715371131897, 0.17219480872154236, -0.24953939020633698, -0.7544171810150146, 0.4686085879802704, 0.34623467922210693, -0.9511185884475708, 0.32191720604896545, 0.7642276287078857, 0.47396403551101685, -0.3335796594619751, 0.2805010676383972, -0.061077166348695755, 0.13634295761585236, -0.2665734589099884, 0.207758367061615, -0.24056078493595123, -0.24676673114299774, -0.2954348027706146, -0.14578308165073395, 0.5715510249137878, 0.1835731714963913 ]
http://arxiv.org/abs/2403.06249v2
http://arxiv.org/pdf/2403.06249v2
No Language is an Island: Unifying Chinese and English in Financial Large Language Models, Instruction Data, and Benchmarks
2024-03-10T16:22:20
2024-04-16T12:05:33
Gang Hu, Ke Qin, Chenhan Yuan, Min Peng, Alejandro Lopez-Lira, Benyou Wang, Sophia Ananiadou, Wanlong Yu, Jimin Huang, Qianqian Xie
cs.CE
cs.CE, cs.CL
While the progression of Large Language Models (LLMs) has notably propelled financial analysis, their application has largely been confined to singular language realms, leaving untapped the potential of bilingual Chinese-English capacity. To bridge this chasm, we introduce ICE-PIXIU, seamlessly amalgamating the ICE-INTENT model and ICE-FLARE benchmark for bilingual financial analysis. ICE-PIXIU uniquely integrates a spectrum of Chinese tasks, alongside translated and original English datasets, enriching the breadth and depth of bilingual financial modeling. It provides unrestricted access to diverse model variants, a substantial compilation of diverse cross-lingual and multi-modal instruction data, and an evaluation benchmark with expert annotations, comprising 10 NLP tasks, 20 bilingual specific tasks, totaling 95k datasets. Our thorough evaluation emphasizes the advantages of incorporating these bilingual datasets, especially in translation tasks and utilizing original English data, enhancing both linguistic flexibility and analytical acuity in financial contexts. Notably, ICE-INTENT distinguishes itself by showcasing significant enhancements over conventional LLMs and existing financial LLMs in bilingual milieus, underscoring the profound impact of robust bilingual data on the accuracy and efficacy of financial NLP.
[ 0.1545959711074829, -0.5122859477996826, 0.05218280851840973, 0.7032715678215027, -0.07155819982290268, 0.31131666898727417, -0.5817018747329712, -0.36751341819763184, 0.2293976992368698, 0.5170717239379883, -0.18049950897693634, -0.4736223518848419, -0.5820468664169312, -0.15496639907360077, -0.35039907693862915, 1.0993034839630127, -0.09300790727138519, 0.3794780373573303, -0.13031144440174103, 0.04802170395851135, -0.17297892272472382, -0.1164429560303688, -1.1022180318832397, -0.45152944326400757, 0.37159913778305054, 0.3549383282661438, 0.9479448199272156, 0.46196237206459045, 0.45409026741981506, 0.18253903090953827, 0.36035802960395813, 0.023174334317445755, -0.5286946296691895, -0.4076605439186096, -0.007161273155361414, -0.42314067482948303, -0.724402904510498, 0.18176452815532684, 0.7337782979011536, 0.8773044943809509, -0.23341470956802368, 0.02923302724957466, 0.09144827723503113, 0.601525604724884, -0.73270183801651, 0.6902242302894592, -0.6048692464828491, -0.0024030208587646484, -0.3250269889831543, 0.15119251608848572, -0.59010249376297, 0.0664994865655899, 0.35034018754959106, -0.6278555989265442, -0.39834266901016235, 0.04226590692996979, 0.7785950899124146, 0.04662318900227547, -0.8489468097686768, -0.08684215694665909, -0.5785948038101196, 0.9908843636512756, -0.5688493847846985, 0.5139954090118408, 0.34025838971138, -0.11322637647390366, 0.06750120222568512, -0.6617280840873718, -0.283507376909256, -0.11805455386638641, -0.13637693226337433, 0.2308548092842102, -0.5551453828811646, -0.22724668681621552, -0.22367213666439056, 0.28372225165367126, -0.42957332730293274, 0.4896874725818634, -0.3978058993816376, -0.0826522707939148, 1.1478679180145264, 0.06768155843019485, 0.664722740650177, 0.22438348829746246, -0.2885952293872833, -0.15048380196094513, -0.7680834531784058, 0.24433940649032593, 0.23695585131645203, 0.6288732290267944, -0.49609607458114624, 0.41997256875038147, 0.13148586452007294, 0.3870285451412201, -0.09626635909080505, -0.3763033449649811, 0.32385969161987305, 0.023403557017445564, -0.2641357183456421, 0.2496538609266281, 0.9649369716644287, 0.32711464166641235, 0.19491104781627655, -0.3558464050292969, -0.3412562310695648, -0.6791669130325317, -0.27306893467903137, -0.5827946066856384, -0.22865906357765198, 0.34757938981056213, -0.30360540747642517, 0.19551800191402435, 0.2680124342441559, -0.5451025366783142, -0.15084658563137054, -0.346074640750885, 0.04294293746352196, -0.3030311167240143, -0.6094567179679871, 0.21332409977912903, -0.026219792664051056, 0.6131454110145569, 0.00874285027384758, -1.005690097808838, 0.5966705083847046, 1.3486034870147705, 0.6279879808425903, -0.4924044907093048, -0.6356706619262695, -0.6887893676757812, 0.246438667178154, -0.6075341105461121, 0.589233934879303, -0.7111763954162598, -0.23000271618366241, -0.006571142468601465, -0.03923855349421501, -0.42388099431991577, -0.33040544390678406, 0.2105979174375534, -0.28413712978363037, 0.27758359909057617, 0.036358002573251724, -0.33045804500579834, -0.47384896874427795, -0.07977669686079025, -0.7658715844154358, 0.9638493657112122, -0.024686822667717934, -0.6210744976997375, 0.4302110970020294, -0.8914855718612671, -0.7726165056228638, 0.21707840263843536, -0.08150263130664825, -0.40498867630958557, -0.233584463596344, 0.2306606024503708, 0.4899827539920807, -0.7516127824783325, 0.6551681160926819, -0.39250075817108154, -0.15723195672035217, 0.30576014518737793, -0.4826914072036743, 1.0152735710144043, 0.12300557643175125, -0.4382878839969635, -0.10470114648342133, -0.5128777623176575, -0.15154622495174408, 0.13913121819496155, 0.004734333138912916, -0.6425682306289673, 0.09658830612897873, 0.30589184165000916, -0.34783437848091125, 0.7285767197608948, -0.4199645519256592, 0.029749225825071335, -0.3750026226043701, 0.48168647289276123, 0.6359972953796387, -0.6614749431610107, 0.4814930856227875, -0.11491084843873978, 0.5492427349090576, -0.019354287534952164, -0.038802020251750946, -0.4199233651161194, -0.493889719247818, -0.34747451543807983, -0.6135557293891907, 0.42806321382522583, 1.0212651491165161, -0.39315468072891235, -0.050932906568050385, -0.31581491231918335, -0.6417189836502075, -0.47132229804992676, 0.2892814576625824, 0.23155494034290314, 0.1766701191663742, 0.07755984365940094, 0.05291387066245079, -0.23787380754947662, -1.0618246793746948, -0.35987111926078796, -0.06190832331776619, -0.17730140686035156, 0.27561917901039124, 0.3726450204849243, -0.05766770988702774, 0.6589232683181763, -0.34214287996292114, -0.15546298027038574, -0.6449637413024902, 0.26623061299324036, 0.6431714296340942, 0.43903404474258423, 1.0082855224609375, -1.061466932296753, -1.0880308151245117, 0.7098183631896973, -0.6246196627616882, -0.013614250347018242, -0.33547696471214294, -0.020404774695634842, 0.1398393213748932, 0.32740235328674316, -0.5428696274757385, 0.31315135955810547, 0.6474708318710327, -0.4069972634315491, 0.24856476485729218, -0.20810659229755402, 0.23520635068416595, -1.0018055438995361, 0.12091995775699615, 0.08607646077871323, 0.06974457949399948, -0.8151475787162781, 0.1627425253391266, 0.2499772012233734, -0.21941892802715302, -0.3812899589538574, 0.8500616550445557, -0.45501509308815, 0.06559086591005325, -0.24672244489192963, 0.21142622828483582, -0.12510138750076294, 0.32606324553489685, 0.02181927114725113, 0.7069495320320129, 1.1192331314086914, -0.25836309790611267, 0.5810160636901855, -0.20537099242210388, -0.19123972952365875, 0.3978486955165863, -0.6983030438423157, -0.03324975445866585, -0.041675399988889694, -0.07873852550983429, -0.8718172311782837, -0.21920879185199738, 0.17451655864715576, -0.11374242603778839, 0.49229222536087036, 0.11252489686012268, -0.44654756784439087, -0.10578203201293945, -0.2211489975452423, 0.6140249371528625, 0.23216316103935242, -0.4644492268562317, 1.0302233695983887, 0.5322012305259705, -0.6410385966300964, -0.8963583111763, -0.7608957886695862, 0.21547666192054749, -0.35292771458625793, -0.7251414060592651, 0.3796546459197998, -0.0035134137142449617, -0.7318032383918762, 0.03552120923995972, 0.22048905491828918, -0.4209076762199402, 0.24377331137657166, -0.12109503149986267, 0.8691474795341492, -0.5984953045845032, 0.05513701215386391, 0.06547249108552933, -0.09531261026859283, -0.013088913634419441, -0.46766138076782227, 0.31097540259361267, -0.1847253292798996, -0.19007550179958344, -0.39545080065727234, 0.3147490918636322, 0.6656112670898438, -0.5758447647094727, 0.9048260450363159, 0.3310915231704712, -0.46146222949028015, -0.020038247108459473, -0.48993614315986633, 0.3633885681629181, -0.4394111931324005, 0.2084103375673294, -0.37876805663108826, -0.8637101054191589, 0.6837243437767029, 0.29177019000053406, 0.597342848777771, 0.5728873610496521, 0.4512021541595459, 0.1994180679321289, 0.7412354350090027, 0.7951251864433289, -0.5698680877685547, 0.2931443750858307, 0.10707473754882812, 0.5762357711791992, -0.2720623016357422, -0.1949625164270401, -0.3795757293701172, -0.3279789090156555, -0.3924151360988617, -0.2690328359603882, 0.2144576758146286, -0.2172991782426834, -0.16545404493808746, 0.322473406791687, 0.1559189110994339, 0.5854824781417847, 0.33639153838157654, -0.20843954384326935, 0.17680129408836365, -0.048485856503248215, 0.046948593109846115, -0.2599831223487854, -0.5854877829551697, -0.2227669507265091, 1.5397593975067139, 0.412840873003006, 0.6258594393730164, -0.12568126618862152, 0.325501024723053, 0.21995823085308075, 0.49504727125167847, -0.5913206338882446, 0.18659409880638123, -0.6969369649887085, -0.33803099393844604, -0.3918094038963318, -0.6477886438369751, -0.9956521987915039, 0.2337588667869568, -0.06945287436246872, -0.7783997058868408, -0.0819263905286789, -0.11750121414661407, -0.5174602270126343, 0.5399237275123596, -0.8270363211631775, 0.9959911704063416, -0.7250289916992188, -0.32138603925704956, -0.2899632453918457, 0.10371498018503189, 0.6626985669136047, -0.48559051752090454, 0.6842987537384033, -0.380132257938385, -0.33247143030166626, 0.591191828250885, -0.2210720330476761, 0.8355145454406738, 0.18236497044563293, -0.391577810049057, 0.09993987530469894, -0.04187099263072014, 0.3497717082500458, 0.197485089302063, -0.2486356645822525, 0.39774975180625916, -0.0674152821302414, -0.6457934975624084, -0.4157155156135559, 0.9235696196556091, -0.7146755456924438, -0.6347160339355469, -0.3321506083011627, -0.8945152163505554, 0.061822567135095596, 0.32846423983573914, -0.1733846217393875, 0.05505938455462456, -0.159598246216774, 0.24031595885753632, 0.43829649686813354, -0.20274439454078674, 0.4951854944229126, 0.8726217150688171, -0.35043659806251526, -0.46569907665252686, 1.0516011714935303, -0.007453996688127518, -0.009940003976225853, 0.6776455640792847, 0.18114608526229858, -0.04522576928138733, -0.16323284804821014, -0.05830950662493706, 0.5438668131828308, -0.32728129625320435, 0.05054371803998947, -0.387373149394989, -0.12406009435653687, -0.7052403092384338, -0.27790290117263794, -0.842072606086731, -0.16470064222812653, -0.1413482278585434, -0.265047162771225, 0.26923686265945435, 0.5101848244667053, -0.3732839524745941, 0.10975733399391174, -0.7204784154891968, 0.2935669422149658, 0.23525121808052063, 0.3889237344264984, 0.04245050996541977, -0.30306488275527954, -0.4851614534854889, 0.31671378016471863, 0.07867752760648727, -0.45710310339927673, 0.4942237436771393, 0.31131842732429504, 0.6757850050926208, 0.7953689098358154, 0.029246313497424126, 0.7271555066108704, -0.22706395387649536, 0.7000293731689453, 0.34328049421310425, -1.1848541498184204, 0.33775562047958374, -0.23009686172008514, 0.28847536444664, 0.19721952080726624, 0.7239843606948853, -0.8923161625862122, -0.4906049370765686, -0.36586907505989075, -1.1203516721725464, 0.7704282999038696, -0.1140715628862381, 0.23221153020858765, 0.06185828894376755, 0.16252562403678894, 0.35819011926651, 0.22714544832706451, -1.188264012336731, -0.30845317244529724, -0.10391531139612198, 0.0991952046751976, -0.2726019024848938, -0.019400516524910927, -0.12321294844150543, -0.27468863129615784, 0.7880030870437622, -0.15462344884872437, -0.325748085975647, -0.21146556735038757, 0.09096959978342056, -0.058402057737112045, -0.12497313320636749, 0.26295042037963867, 0.8483800888061523, 0.16164585947990417, -0.1416376233100891, 0.21584460139274597, -0.3954547643661499, -0.3849489688873291, 0.23940959572792053, -0.22216565907001495, 0.032241154462099075, 0.6299894452095032, 0.5900833606719971, 0.5757602453231812, -1.1800141334533691, 0.4436276853084564, -0.18368946015834808, -0.08221007883548737, -0.6526094079017639, -0.13889731466770172, 0.1979255974292755, 0.22714954614639282, 0.6814898252487183, -0.31475940346717834, -0.006368648260831833, -0.6956527233123779, 0.219491109251976, 0.5098834037780762, -0.3764479458332062, -0.3377908170223236, 0.8579632043838501, 0.1966053694486618, -0.031904593110084534, 0.9864029288291931, -0.05322764813899994, -0.4030476212501526, 0.6766186356544495, 0.35177087783813477, 1.1730865240097046, -0.37055861949920654, 0.2716763913631439, 0.3422252833843231, 0.5385923981666565, -0.041682809591293335, 0.3331429064273834, 0.1461571305990219, -0.7837509512901306, -0.5697675943374634, -0.29922422766685486, -0.3468150496482849, 0.07373759895563126, -0.6793431639671326, 0.5282891988754272, -0.474075049161911, 0.27306029200553894, 0.016258610412478447, -0.215498149394989, -0.48977193236351013, 0.0018321805400773883, 0.5069772005081177, 1.048090934753418, -0.854729175567627, 0.6643866896629333, 0.7038736343383789, -0.03120258077979088, -0.7298259139060974, -0.16420871019363403, 0.029945673421025276, -0.8780456185340881, 0.7486467957496643, 0.05572207644581795, 0.060392722487449646, -0.4829859137535095, -0.5068678855895996, -0.8883930444717407, 1.1630150079727173, 0.6064807772636414, -0.4216712415218353, 0.10498972237110138, 0.6514540314674377, 0.2998709976673126, -0.7378038167953491, 0.31643083691596985, 0.7680507302284241, 0.726466715335846, -0.022400420159101486, -1.2470488548278809, -0.4156743288040161, -0.5048813223838806, -0.4052848517894745, 0.18082812428474426, -1.0319032669067383, 0.9827974438667297, -0.21152779459953308, -0.28931328654289246, -0.29307228326797485, 0.9047956466674805, 0.015918686985969543, 0.6921608448028564, 0.37047696113586426, 0.399828165769577, 0.7890810370445251, -0.35343825817108154, 0.9891484975814819, -0.7988148927688599, 0.18895651400089264, 0.9734076261520386, -0.46893075108528137, 1.1290479898452759, 0.33071136474609375, -0.20636019110679626, 0.34367844462394714, 0.5617959499359131, -0.04417487233877182, 0.09400677680969238, -0.1392255276441574, -0.33639535307884216, -0.3677464723587036, -0.24288378655910492, -0.04131075367331505, 0.6409151554107666, 0.3787596821784973, 0.10151359438896179, -0.03569387272000313, 0.019092969596385956, 0.5628941655158997, 0.16254901885986328, -0.5156120657920837, 0.41953524947166443, 0.28635409474372864, -0.7345731854438782, 0.11925823241472244, 0.18283212184906006, 0.6489056348800659, -0.9310334920883179, 0.3185286223888397, -0.5353134870529175, -0.022364335134625435, -0.15999667346477509, -0.7274481654167175, 0.27441757917404175, 0.13404980301856995, 0.09911612421274185, -0.37248846888542175, 0.17251066863536835, -0.6483564376831055, -0.8943703770637512, 0.5482538938522339, 0.13436444103717804, 0.13519108295440674, 0.010292225517332554, -0.6066251397132874, -0.15828032791614532, 0.19345811009407043, -0.052731044590473175, 0.22253410518169403, 0.6770154237747192, 0.14256493747234344, 0.8745061755180359, 0.669278085231781, 0.06410601735115051, -0.10412072390317917, -0.23290753364562988, 0.5338993668556213, -0.6247212886810303, -0.6121749877929688, -0.8399726748466492, 0.6175398826599121, 0.13301946222782135, -0.4456944763660431, 0.6219380497932434, 1.1473323106765747, 1.0621731281280518, -0.07257400453090668, 0.8486311435699463, 0.1474744826555252, 0.1759364753961563, -0.4415082037448883, 0.6735734939575195, -0.7743488550186157, 0.4621851444244385, -0.1800110638141632, -0.875392496585846, -0.36066576838493347, 0.15399646759033203, -0.6015811562538147, -0.338039755821228, 0.5645933151245117, 0.4117286801338196, -0.3378853499889374, 0.044799141585826874, 0.4229755103588104, 0.28408342599868774, 0.042908914387226105, 0.6814697980880737, 0.38448387384414673, -0.414098858833313, 0.5828509330749512, -0.31804728507995605, -0.32419222593307495, -0.030846908688545227, -0.9074049592018127, -0.9914532899856567, -0.4674283266067505, -0.7037278413772583, 0.29032137989997864, -0.38204053044319153, 0.9503126740455627, 0.38611263036727905, -0.8926170468330383, -1.1528211832046509, 0.5704911947250366, 0.2870855927467346, -0.3870179355144501, -0.26533305644989014, 0.4131220281124115, -0.2502461373806, -1.1715939044952393, 0.5226561427116394, 0.8412810564041138, -0.0015703607350587845, -0.2737017571926117, -0.2498122900724411, 0.050785861909389496, 0.2101864069700241, 0.4987466335296631, 0.4633142948150635, -0.5470287799835205, 0.22286978363990784, 0.20739826560020447, -0.025160424411296844, -0.047952380031347275, 0.9122827053070068, -0.049603089690208435, 0.22260616719722748, 0.28406596183776855, 0.7993609309196472, 0.38744544982910156, -0.5419781804084778, 1.0220402479171753, -0.190288707613945, 0.34183576703071594, -0.060468144714832306, 0.6486189365386963, -0.03154011815786362, -0.4250217080116272, 0.4170241355895996, -0.0396016463637352, -0.18963947892189026, -0.6612096428871155, -0.2017495483160019, -0.7908849716186523, -0.4076939523220062, 0.8259009718894958, -0.624613344669342, -0.43412870168685913, 0.19143828749656677, 0.06205467879772186, -0.3011360168457031, -0.4463593065738678, 0.6987990736961365, 0.9942959547042847, 0.15903036296367645, -0.40715864300727844, -0.46503010392189026, 0.09824766218662262, 0.43465688824653625, -0.5371105670928955, 0.24966037273406982, 0.09994623064994812, 0.029626594856381416, 0.07649669796228409, 0.4387610852718353, 0.07074765861034393, 0.5427057147026062, 0.07763653993606567, -0.05447385832667351, 0.18030661344528198, -0.29417353868484497, 0.030164580792188644, 0.13576050102710724, -0.10759104043245316, 0.3329738676548004 ]
http://arxiv.org/abs/2403.06221v1
http://arxiv.org/pdf/2403.06221v1
TRAD: Enhancing LLM Agents with Step-Wise Thought Retrieval and Aligned Decision
2024-03-10T13:58:38
2024-03-10T13:58:38
Ruiwen Zhou, Yingxuan Yang, Muning Wen, Ying Wen, Wenhao Wang, Chunling Xi, Guoqiang Xu, Yong Yu, Weinan Zhang
cs.AI
cs.AI, cs.CL, cs.IR
Numerous large language model (LLM) agents have been built for different tasks like web navigation and online shopping due to LLM's wide knowledge and text-understanding ability. Among these works, many of them utilize in-context examples to achieve generalization without the need for fine-tuning, while few of them have considered the problem of how to select and effectively utilize these examples. Recently, methods based on trajectory-level retrieval with task meta-data and using trajectories as in-context examples have been proposed to improve the agent's overall performance in some sequential decision making tasks. However, these methods can be problematic due to plausible examples retrieved without task-specific state transition dynamics and long input with plenty of irrelevant context. In this paper, we propose a novel framework (TRAD) to address these issues. TRAD first conducts Thought Retrieval, achieving step-level demonstration selection via thought matching, leading to more helpful demonstrations and less irrelevant input noise. Then, TRAD introduces Aligned Decision, complementing retrieved demonstration steps with their previous or subsequent steps, which enables tolerance for imperfect thought and provides a choice for balance between more context and less noise. Extensive experiments on ALFWorld and Mind2Web benchmarks show that TRAD not only outperforms state-of-the-art models but also effectively helps in reducing noise and promoting generalization. Furthermore, TRAD has been deployed in real-world scenarios of a global business insurance company and improves the success rate of robotic process automation.
[ -0.16924013197422028, -0.8767738342285156, 0.8073723912239075, -0.055259138345718384, -0.3922783136367798, 0.2743750214576721, 0.04992836341261864, -0.45213279128074646, 0.17547152936458588, 0.5042508840560913, -0.5972875952720642, -0.6714974045753479, -0.13577963411808014, -0.21965175867080688, -0.23706378042697906, 0.9252010583877563, -0.16163837909698486, -0.29827892780303955, -0.34390148520469666, -0.1725630760192871, -0.5249376893043518, -0.0010095251491293311, -0.9664070010185242, -0.6823399662971497, 0.13461542129516602, 0.2957667410373688, 0.7568164467811584, 0.4171757102012634, 0.5771713256835938, 0.2835657298564911, 0.0849902480840683, 0.3865482807159424, -0.2957819402217865, 0.41050705313682556, -0.45224884152412415, -0.2057131677865982, -0.8175857067108154, -0.07654453068971634, 0.35812968015670776, 0.30065929889678955, -0.33826160430908203, 0.12892505526542664, -0.07669726759195328, 0.5949094295501709, -0.6775224804878235, 0.07363138347864151, -0.2829033136367798, 0.14101563394069672, 0.22869190573692322, -0.2862250804901123, -0.4816268980503082, -0.3264193832874298, 0.32199913263320923, -0.746491551399231, -0.1022808775305748, -0.10632715374231339, 0.5817390084266663, 0.4051940143108368, -0.5463964343070984, -0.3740173578262329, -0.8792852163314819, 0.6226447224617004, -0.6000465154647827, 0.3270834982395172, 0.13691803812980652, 0.3825228214263916, -0.28945639729499817, -0.8286920189857483, -0.6236343383789062, -0.09901069104671478, 0.027530016377568245, 0.23189377784729004, -0.04289444535970688, 0.317078173160553, 0.2480531483888626, -0.10735976696014404, -0.5331243276596069, -0.04888250306248665, 0.1608215570449829, -0.30536824464797974, 0.47404831647872925, 0.06825654208660126, 0.07806971669197083, 0.12385675311088562, -0.4777272939682007, -0.35997191071510315, -0.5798822045326233, 0.043931879103183746, 0.03434578701853752, 0.23815873265266418, 0.17355124652385712, 0.37019822001457214, -0.40015798807144165, 0.8051331639289856, 0.2222449779510498, -0.44405463337898254, 0.4524680972099304, -0.2585906982421875, -0.4700547456741333, -0.0798165425658226, 0.4966980516910553, 0.39028021693229675, 0.0352531336247921, -0.0966600701212883, -0.4389297664165497, -0.05217767879366875, 0.36922982335090637, -0.6566388607025146, 0.2556562125682831, 0.3252570927143097, -0.26977604627609253, -0.2178173065185547, -0.04254789277911186, -0.7641858458518982, -0.34722700715065, -0.17389127612113953, 0.6764395833015442, -0.3874686360359192, -0.16091248393058777, 0.2463971972465515, -0.015505461022257805, 0.4804657995700836, 0.5554000735282898, -0.2427000254392624, 0.14591996371746063, 0.8260822892189026, 0.7916120290756226, -0.34780353307724, -0.0641784816980362, -0.6455596089363098, 0.3695560693740845, -0.35570019483566284, 0.7288007140159607, -0.7105944752693176, -0.16713587939739227, 0.11159233748912811, -0.33031409978866577, -0.0457865446805954, -0.536851167678833, 0.5022340416908264, -0.8996949195861816, 0.19918259978294373, -0.03941302001476288, -0.2975015342235565, -0.39461749792099, 0.5982813835144043, -0.5085340738296509, 0.8993832468986511, -0.019557667896151543, -0.37436020374298096, 0.6159108281135559, -0.8509034514427185, -0.5290670990943909, 0.07160598784685135, -0.2202683389186859, -0.3743354380130768, -0.26143765449523926, 0.1606048047542572, 0.45302489399909973, 0.01839076168835163, 0.21316689252853394, -0.09373234957456589, -0.4184820353984833, -0.07524015754461288, -0.0957183688879013, 0.49253636598587036, 0.22703830897808075, -0.3685547709465027, 0.34354168176651, -0.6001010537147522, 0.14870671927928925, -0.20620986819267273, -0.1435750275850296, -0.5993545055389404, -0.047011733055114746, -0.38452741503715515, 0.5868908762931824, 0.12354661524295807, -0.3516922891139984, 0.2553294897079468, -0.326829195022583, 0.08708562701940536, 0.7455012798309326, 0.29732412099838257, 0.49586939811706543, -0.5526139736175537, 0.8370161652565002, 0.2544715404510498, -0.016131367534399033, 0.21890686452388763, -0.11694428324699402, -0.7228679656982422, -0.4119904339313507, 0.09105845540761948, 0.4932279884815216, -1.108690857887268, 0.3581583797931671, -0.34450265765190125, -0.1745905727148056, -0.6356162428855896, 0.04297815263271332, 0.2720361053943634, 0.8171244263648987, 0.24989579617977142, -0.212823286652565, -0.40168440341949463, -0.7484152913093567, -0.09537063539028168, -0.18833820521831512, 0.15592284500598907, 0.09253735095262527, 0.5034626722335815, -0.5629273653030396, 1.063037395477295, -0.3538358807563782, -0.3778159022331238, -0.47916853427886963, 0.1543499082326889, 0.18856696784496307, 0.25977233052253723, 0.027592308819293976, -0.8041831254959106, -0.26476261019706726, 0.024345632642507553, -0.6287052035331726, 0.1251372992992401, -0.3840591311454773, -0.5210346579551697, 0.1883658766746521, 0.38964444398880005, -0.9423097968101501, 0.53626549243927, -0.05352110415697098, -0.3402045667171478, 0.20529334247112274, -0.37892261147499084, 0.039552487432956696, -1.2283269166946411, -0.11237335205078125, -0.0012390813790261745, -0.6923792362213135, -0.6590985059738159, 0.28753674030303955, 0.05653251335024834, 0.27832332253456116, -0.5229483842849731, 0.4376753568649292, -0.3375083804130554, -0.2709349989891052, -0.4587920904159546, 0.5070431232452393, -0.09367469698190689, 0.5274373888969421, 0.10564005374908447, 0.9136353731155396, 0.41446104645729065, -0.9821491241455078, 0.018523721024394035, 0.36114221811294556, -0.34797999262809753, 0.6051390767097473, -0.3431423008441925, 0.4066210985183716, -0.2670833170413971, 0.5420821905136108, -0.5220725536346436, 0.1508100926876068, 0.35367250442504883, 0.03470764681696892, 0.13767318427562714, 0.29116982221603394, -0.4197552502155304, -0.2573038637638092, -0.3937717378139496, 0.46283963322639465, 0.5019834041595459, -0.40750759840011597, 0.9515200257301331, 0.3718191981315613, 0.19731539487838745, -0.9002271294593811, -0.2979266941547394, -0.06699032336473465, -0.3605312407016754, -0.3255476653575897, 0.40457770228385925, -0.155898317694664, -0.4334375560283661, -0.0567060224711895, -0.4009484052658081, 0.2292623072862625, -0.05689605697989464, 0.06335616856813431, 0.2500799596309662, 0.09561663120985031, 0.3055107295513153, -0.06262746453285217, 0.0895417109131813, -0.018081001937389374, -0.5069025754928589, 0.4243653118610382, -0.04088602587580681, -0.37735429406166077, -0.2676442861557007, 0.04634656012058258, 0.5439940094947815, -0.25582149624824524, 0.37222525477409363, 0.4748985767364502, -0.35590660572052, -0.6851028800010681, -0.433808833360672, -0.03789941221475601, -0.50382399559021, 0.48216015100479126, -0.4353024959564209, -0.702211320400238, 0.30779245495796204, -0.35856369137763977, 0.19486229121685028, 0.060009412467479706, 0.5805023312568665, -0.3026672899723053, 0.714546799659729, 0.6144881248474121, -0.04809792712330818, 0.5405119061470032, -0.40082281827926636, 0.25490379333496094, -0.9186108708381653, -0.279215008020401, -0.03102484904229641, -0.4584228992462158, -0.5109549760818481, -0.691394567489624, 0.41288572549819946, -0.3045026957988739, -0.2654080390930176, 0.23532938957214355, -0.2766190469264984, 0.38647058606147766, 0.33571651577949524, 0.39356428384780884, 0.39221712946891785, -0.24310870468616486, -0.503020167350769, 0.34570425748825073, -0.4378773868083954, -0.6249005198478699, 1.0899335145950317, 0.000284426670987159, 0.6969833374023438, 0.20652994513511658, 0.7717326283454895, 0.7014156579971313, 0.13819940388202667, -0.8156384825706482, 1.0264406204223633, 0.3207134008407593, -0.34853628277778625, -0.3600035011768341, -0.12252198904752731, -1.0859687328338623, 0.4869871437549591, -0.03045768104493618, -0.6869736313819885, 0.14692199230194092, 0.09652535617351532, -0.45828181505203247, 0.06902793049812317, -0.24385841190814972, 0.5405662059783936, -0.2026805430650711, -0.4556419253349304, -0.6508775949478149, -0.6819301843643188, 0.2398352026939392, -0.08457666635513306, 0.13924093544483185, 0.05750701203942299, -0.23094691336154938, 0.7121273279190063, -0.32320931553840637, 0.5932901501655579, -0.19314713776111603, -0.22955600917339325, 0.5773180723190308, 0.20996960997581482, 0.9328868985176086, -0.3266277015209198, -0.1234339028596878, -0.432584673166275, -0.28220632672309875, -0.07651283591985703, -0.8932479023933411, 0.5617132186889648, -0.4451214075088501, -0.8075393438339233, -0.3976690471172333, -0.888970673084259, -0.5461676120758057, 0.23071973025798798, -0.29189422726631165, 0.29454663395881653, -0.11998870223760605, 0.025614837184548378, 0.6978013515472412, 0.07193852216005325, 0.6603906750679016, 0.6906247735023499, -0.18043749034404755, -0.21985282003879547, 0.6370691061019897, -0.2417171150445938, 0.3273579776287079, 0.7297301888465881, -0.09960462152957916, -0.5885658860206604, -0.39958468079566956, -0.045241620391607285, 0.23087142407894135, -0.9103404879570007, -0.2728191316127777, -0.5048015117645264, 0.05365594103932381, -0.3213861286640167, 0.11052651703357697, 0.03882937133312225, -0.3968373239040375, -0.13248370587825775, -0.5930330753326416, -0.03796480596065521, 0.6973371505737305, 0.09291644394397736, 0.2826923727989197, -0.2762599587440491, 0.5252220630645752, 0.36724045872688293, 0.17946720123291016, 0.14154066145420074, -0.27365025877952576, -0.30395954847335815, -0.01734156906604767, -0.6641950011253357, -0.6770105361938477, 0.3032407760620117, 0.08288408815860748, 0.6039067506790161, 0.5115717649459839, 0.2942736744880676, 0.9548068642616272, -0.3267322778701782, 0.292420357465744, -0.24326428771018982, -0.8618578314781189, 0.7070440649986267, -0.10130937397480011, 0.15718521177768707, 0.5857941508293152, 0.1902436912059784, -0.3352971076965332, -0.5506982803344727, -0.5845662951469421, -0.8139883279800415, 0.6444658637046814, 0.15052396059036255, -0.2754226326942444, 0.20141418278217316, 0.24480487406253815, 0.06832794100046158, 0.37767472863197327, -0.6204187273979187, -0.09513481706380844, 0.2074902206659317, -0.41002756357192993, 0.055995650589466095, 0.1166243851184845, -0.1398007571697235, -0.15366379916667938, 0.7618818283081055, -0.18198229372501373, 0.2668568789958954, 0.3304193317890167, -0.4914720356464386, -0.1366785615682602, 0.3167426884174347, 0.6684239506721497, 0.8276700973510742, -0.2548651397228241, 0.06503921002149582, 0.13217562437057495, -0.4084584414958954, 0.4630695879459381, -0.09155087172985077, -0.45515745878219604, -0.15598855912685394, 0.27521586418151855, 0.6837859153747559, -0.048531219363212585, -0.8758776187896729, 0.35069936513900757, 0.2161748707294464, 0.018652452155947685, -0.2649799585342407, 0.33678561449050903, -0.15761663019657135, 0.6785938143730164, 0.3270086348056793, 0.11140980571508408, 0.28564155101776123, -0.6128926277160645, 0.5112698078155518, 0.6979494690895081, -0.3601939380168915, -0.1355319768190384, 0.416104793548584, 0.22855764627456665, -0.5211743712425232, 0.5232265591621399, -0.4465924799442291, -0.4378066956996918, 0.5388826727867126, 0.6654770970344543, 1.137909173965454, 0.10296445339918137, 0.5123958587646484, -0.01017081644386053, 0.19253595173358917, -0.21619662642478943, 0.4204455614089966, -0.2724960744380951, -0.9072585105895996, -0.40567833185195923, -0.35034236311912537, -0.486751526594162, 0.053900960832834244, -0.5676530003547668, 0.16527798771858215, -0.3226734697818756, -0.45184484124183655, -0.6709725856781006, 0.15511153638362885, -0.7719041109085083, 0.29433712363243103, 0.0663985162973404, 0.9645764231681824, -0.5275888442993164, 1.0127384662628174, 0.8769791722297668, -0.15183193981647491, -0.6119270920753479, 0.5042838454246521, -0.13202857971191406, -0.7702264785766602, 0.4578173756599426, 0.14492595195770264, -0.5425133109092712, 0.005395492073148489, -0.27241143584251404, -0.7107788324356079, 1.5052136182785034, 0.3622448146343231, -0.41919243335723877, -0.10264673084020615, -0.04716310650110245, 0.7183882594108582, -0.6505153179168701, 0.37565356492996216, 0.631049394607544, 0.4497579336166382, 0.4307832717895508, -0.5521159172058105, 0.30989396572113037, 0.03380458429455757, -0.15770824253559113, 0.22664110362529755, -0.8036110997200012, 0.4696664810180664, -0.4625655710697174, -0.23131392896175385, -0.20499534904956818, 0.8036021590232849, 0.5712282061576843, 0.6316712498664856, 0.7431910634040833, 0.7381880283355713, 0.8965922594070435, 0.23744632303714752, 0.8280000686645508, -0.038932424038648605, 0.1377505213022232, 1.2196422815322876, -0.7212156653404236, 0.8134475946426392, 0.39003807306289673, 0.0675363838672638, 0.8626715540885925, 0.5227242708206177, 0.4619251787662506, 0.8585583567619324, -0.11374180763959885, -0.27555230259895325, -0.3798615038394928, -0.126081183552742, 0.08449289202690125, 0.3860875070095062, 0.3298596143722534, -0.06411082297563553, -0.24310754239559174, 0.08712466061115265, -0.23631906509399414, -0.07670091092586517, -0.3615971505641937, 0.86025470495224, -0.0028243153356015682, -0.9177938103675842, 0.23937931656837463, -0.21201983094215393, 0.4316980540752411, -0.5543327927589417, -0.241557776927948, -0.18581008911132812, 0.34612101316452026, 0.025969596579670906, -0.6736078262329102, 0.02416098304092884, -0.25655776262283325, 0.0900532454252243, -0.48301321268081665, 0.693271279335022, -0.4545506238937378, -0.31624072790145874, 0.35800573229789734, 0.6375885009765625, 0.03396202251315117, 0.22374118864536285, -0.6114949584007263, -0.342960923910141, 0.0010926909744739532, -0.1499086171388626, 0.14394158124923706, 0.5174923539161682, -0.41626864671707153, 1.1818023920059204, 0.2694033682346344, 0.20512402057647705, -0.40162643790245056, 0.09323194622993469, 0.6135484576225281, -0.7957514524459839, -0.5465346574783325, -0.7698137760162354, 0.4016936123371124, -0.10252172499895096, 0.025831177830696106, 0.49298781156539917, 0.49163779616355896, 0.7124372124671936, 0.09679634124040604, 0.5953541994094849, 0.05612938478589058, 0.426056444644928, -0.5191723704338074, 0.4072204828262329, -0.4550855755805969, 0.4032960832118988, -0.3700758218765259, -0.8166773915290833, -0.12936216592788696, 0.6159292459487915, -0.25485917925834656, 0.2124946564435959, 0.8494454026222229, 0.7629852294921875, 0.07447738200426102, -0.25091874599456787, 0.35920098423957825, 0.2049955129623413, 0.48602086305618286, 0.6469413042068481, 0.7222285270690918, -0.24298247694969177, 0.5516143441200256, 0.0515117421746254, -0.004524643998593092, -0.09831133484840393, -0.8210004568099976, -0.8698955774307251, -0.42979177832603455, -0.5014154314994812, -0.15665990114212036, 0.17140990495681763, 1.2519649267196655, 0.6731782555580139, -0.6716161370277405, -0.3344098925590515, -0.09931617975234985, 0.5089888572692871, -0.5249738097190857, -0.20230962336063385, 0.33114901185035706, -0.3542840778827667, -0.5877074003219604, 0.41194039583206177, 0.3044009208679199, 0.13108409941196442, -0.011474053375422955, -0.2555977702140808, -0.35335731506347656, 0.21549080312252045, 0.6735654473304749, -0.02950119972229004, -0.5901104211807251, -0.4007037878036499, -0.2629220187664032, -0.12651892006397247, 0.15752729773521423, 0.6976024508476257, -1.2450443506240845, 0.3642432987689972, 0.3248438835144043, 0.6787551641464233, 0.5284546613693237, 0.4239649176597595, 0.6596792936325073, -0.6659159660339355, 0.1856321096420288, 0.45317453145980835, 0.29443708062171936, 0.08295302093029022, -0.407383531332016, 0.6098930239677429, -0.11462246626615524, -0.42844676971435547, -0.5081714391708374, 0.1988907754421234, -1.0280250310897827, -0.08689769357442856, 1.1160811185836792, 0.06580150872468948, -0.08767474442720413, -0.043847955763339996, -0.12724725902080536, 0.3313030004501343, -0.7329664826393127, 0.7431839108467102, 0.611129105091095, -0.4322698414325714, -0.09063133597373962, -0.4855796694755554, 0.4380740225315094, 0.3667982816696167, -0.9154645800590515, -0.1665937602519989, 0.5246991515159607, -0.007602199912071228, 0.011263296008110046, 0.7387016415596008, 0.3530757427215576, 0.1553831249475479, -0.58673495054245, -0.1500021368265152, -0.019284619018435478, -0.5064620971679688, -0.250114381313324, 0.14695769548416138, 0.012693452648818493, -0.5122836828231812 ]
http://arxiv.org/abs/2403.06208v1
http://arxiv.org/pdf/2403.06208v1
Personalized LoRA for Human-Centered Text Understanding
2024-03-10T13:04:54
2024-03-10T13:04:54
You Zhang, Jin Wang, Liang-Chih Yu, Dan Xu, Xuejie Zhang
cs.CL
cs.CL
Effectively and efficiently adapting a pre-trained language model (PLM) for human-centered text understanding (HCTU) is challenging since user tokens are million-level in most personalized applications and do not have concrete explicit semantics. A standard and parameter-efficient approach (e.g., LoRA) necessitates memorizing numerous suits of adapters for each user. In this work, we introduce a personalized LoRA (PLoRA) with a plug-and-play (PnP) framework for the HCTU task. PLoRA is effective, parameter-efficient, and dynamically deploying in PLMs. Moreover, a personalized dropout and a mutual information maximizing strategies are adopted and hence the proposed PLoRA can be well adapted to few/zero-shot learning scenarios for the cold-start issue. Experiments conducted on four benchmark datasets show that the proposed method outperforms existing methods in full/few/zero-shot learning scenarios for the HCTU task, even though it has fewer trainable parameters. For reproducibility, the code for this paper is available at: https://github.com/yoyo-yun/PLoRA.
[ -0.3384734094142914, -0.8259309530258179, 0.49001607298851013, 0.20406277477741241, -0.48386862874031067, 0.17320597171783447, -0.49737268686294556, -0.1028541699051857, 0.0856996402144432, 0.40648630261421204, -0.45798102021217346, -0.9241949319839478, -0.14278949797153473, 0.09655599296092987, -0.31281545758247375, 1.1297680139541626, -0.03875667229294777, -0.5543689727783203, -0.07387179881334305, -0.2455231249332428, -0.5240024328231812, -0.510731041431427, -0.26496729254722595, -0.419567346572876, 0.751081645488739, 0.8621049523353577, 0.38766390085220337, 0.6381005048751831, 0.43266671895980835, 0.26158714294433594, -0.2601272761821747, -0.08262871205806732, -0.4910179376602173, 0.06219740957021713, -0.25225624442100525, -0.4075530469417572, -0.3388405442237854, -0.21513354778289795, 0.36592787504196167, 0.5873816609382629, -0.3427574038505554, 0.14976921677589417, -0.045878298580646515, 0.4059123396873474, -0.6416077613830566, -0.1803453415632248, -0.6004828810691833, 0.10846204310655594, -0.2740553021430969, -0.32406380772590637, -0.4541124701499939, -0.06660007685422897, 0.6676522493362427, -1.2357522249221802, 0.27589255571365356, -0.14511935412883759, 0.6802990436553955, 0.30403509736061096, -0.5149713158607483, -0.11745239049196243, -0.5900815725326538, 0.8352652788162231, -0.6391457319259644, 0.1264067441225052, 0.4128669500350952, 0.38612493872642517, 0.01784634031355381, -0.4843306839466095, -0.6346985697746277, 0.06908223032951355, -0.023077087476849556, 0.19621197879314423, 0.06291718035936356, -0.06166206672787666, -0.07721742242574692, 0.3851676881313324, -0.665411114692688, 0.3334059715270996, 0.025371616706252098, -0.14356575906276703, 0.2136426419019699, 0.10683808475732803, 0.2206432819366455, -0.20547813177108765, -0.5891737937927246, -0.004214732442051172, -0.29963746666908264, 0.018627183511853218, 0.22806987166404724, 0.2826026380062103, -0.5432604551315308, 0.33585983514785767, -0.3663255274295807, 0.7875583171844482, 0.1502736657857895, -0.28222784399986267, 0.39494428038597107, -0.25338658690452576, -0.48538970947265625, -0.08807247877120972, 0.7279127240180969, -0.14602020382881165, 0.17462258040905, -0.23752541840076447, 0.1481531262397766, -0.025001218542456627, 0.036300674080848694, -0.7493783831596375, -0.3544408082962036, 0.07438548654317856, -0.2969294488430023, -0.3910045623779297, -0.015207071788609028, -0.798728883266449, -0.6296343803405762, -0.3896152377128601, 0.42709290981292725, -0.3711492121219635, -0.08843852579593658, 0.33078619837760925, 0.27199918031692505, 0.22225815057754517, 0.5893672704696655, -0.777594268321991, 0.2152213454246521, 0.4685829281806946, 0.8428337574005127, -0.5441028475761414, -0.4682980179786682, -0.7920292615890503, 0.1359628587961197, 0.2639048993587494, 0.9571294784545898, -0.05410920828580856, -0.2558775246143341, 0.08434168994426727, -0.2162758708000183, -0.09496372938156128, -0.3539348244667053, 0.489313006401062, -0.6077032089233398, 0.6723788976669312, -0.2624368965625763, -0.4089116156101227, -0.2922750413417816, 0.2959250807762146, -0.42808398604393005, 0.4598889648914337, 0.11821440607309341, -0.9973481297492981, 0.1918589323759079, -0.9403449296951294, -0.7110495567321777, 0.23374992609024048, -0.13456721603870392, -0.5290215015411377, -0.030137574300169945, 0.044453464448451996, 0.4747315049171448, -0.20150882005691528, 0.031069792807102203, -0.07922320067882538, -0.5315924286842346, 0.11745727807283401, -0.10370084643363953, 0.7784325480461121, 0.1532590389251709, -0.38562649488449097, 0.5808171033859253, -0.9851885437965393, -0.21039344370365143, 0.22362743318080902, -0.6098529696464539, -0.49660569429397583, -0.20498302578926086, 0.3814735412597656, 0.00515440758317709, 0.39084142446517944, -0.40881437063217163, 0.027868790552020073, -0.5934934020042419, 0.5875900387763977, 0.9095540046691895, -0.15989628434181213, 0.7009075284004211, -0.15144336223602295, 0.6094529032707214, 0.27085942029953003, -0.024160180240869522, -0.47601786255836487, -0.3413226306438446, -0.7424429059028625, -0.41467538475990295, 0.21089968085289001, 0.7287595868110657, -0.7356147170066833, 0.48727157711982727, 0.07760614901781082, -0.2771299183368683, -0.39470818638801575, 0.6795336008071899, 0.41584980487823486, 0.8350199460983276, 0.3206622898578644, -0.3004826307296753, -0.4648050367832184, -0.6086879372596741, -0.2659154236316681, -0.1958727389574051, -0.04007955640554428, 0.3323999345302582, 0.38792654871940613, -0.39339113235473633, 1.3621701002120972, -0.6166641116142273, -0.5496774911880493, -0.4644383490085602, 0.18889465928077698, 0.5039962530136108, 0.29173240065574646, 0.382671982049942, -0.8783118724822998, -0.6823664903640747, 0.25752905011177063, -0.7882090210914612, -0.09944304078817368, -0.17582836747169495, -0.2678111493587494, 0.05587797239422798, 0.09308937191963196, -0.5463537573814392, 0.489034503698349, 0.6131939888000488, -0.7363371253013611, 0.4455679655075073, -0.37312620878219604, -0.24678027629852295, -1.4889720678329468, 0.4092720150947571, 0.11697286367416382, -0.4139799177646637, -0.8011609315872192, -0.029319463297724724, -0.13246716558933258, 0.059093620628118515, -0.6396694779396057, 0.8023227453231812, -0.10408221930265427, 0.028196977451443672, -0.2703915238380432, 0.2457038015127182, 0.2138243168592453, 0.5866617560386658, 0.1717505306005478, 0.6049256920814514, 0.13141001760959625, -0.6268255114555359, 0.08086032420396805, 0.6560574173927307, -0.5983732342720032, 0.5959775447845459, -0.7600570917129517, 0.3793211579322815, -0.16488587856292725, 0.1664813607931137, -0.48714014887809753, -0.39503172039985657, 0.28873923420906067, -0.19331349432468414, -0.26219800114631653, 0.04894104227423668, -0.4521090090274811, 0.17399759590625763, -0.2370491325855255, 0.4442695379257202, 0.48818957805633545, -0.7961320877075195, 0.6379056572914124, 0.13299167156219482, 0.11933214217424393, -0.4809041917324066, -0.5241967439651489, -0.036557212471961975, -0.5475369095802307, -0.4460090696811676, 0.47070640325546265, -0.5235859751701355, -0.2354428470134735, -0.3504122197628021, 0.28786951303482056, -0.2572726905345917, 0.46795380115509033, 0.1813814491033554, 0.11702608317136765, -0.3152989447116852, 0.13058313727378845, -0.05325855687260628, -0.1656409502029419, -0.3926505148410797, -0.12100578844547272, 0.6405244469642639, -0.25221577286720276, -0.015445639379322529, -0.9439988732337952, 0.2839047610759735, 0.4376469850540161, -0.22802570462226868, 0.82355797290802, 0.932759165763855, -0.24296949803829193, -0.10629983246326447, -0.425870805978775, -0.23051223158836365, -0.485676109790802, 0.2090378850698471, -0.3845287263393402, -0.9904984831809998, 0.5285544991493225, 0.22626011073589325, 0.29316091537475586, -0.015942277386784554, 0.7488840818405151, -0.4188956916332245, 0.4778214395046234, 0.9354951977729797, -0.13553574681282043, 0.704131007194519, -0.15428075194358826, 0.08562974631786346, -0.7103715538978577, -0.2318381816148758, -0.2905384600162506, -0.2527261972427368, -0.30763155221939087, -0.19963808357715607, 0.23393023014068604, 0.07511670142412186, -0.5098788142204285, 0.4219342768192291, -0.24909693002700806, 0.3721470534801483, 0.8698413372039795, 0.3253573179244995, 0.6743147373199463, 0.07765699177980423, 0.0781221017241478, -0.041160307824611664, -0.7019656300544739, -0.2520298659801483, 0.6547257304191589, 0.4150426387786865, 0.6051909923553467, 0.20364993810653687, 0.7770463228225708, 0.2793363630771637, 0.3628978133201599, -0.9515703320503235, 0.36044546961784363, -0.3032821714878082, -0.42237645387649536, -0.20127815008163452, -0.4514448642730713, -0.9202679991722107, 0.3510398268699646, -0.16309760510921478, -0.6471636891365051, 0.21382254362106323, 0.5265296101570129, -0.6917415857315063, 0.09728678315877914, -0.8554003238677979, 1.029249906539917, -0.209635391831398, -0.4337674677371979, -0.03572007641196251, -0.6445103883743286, 0.34470871090888977, -0.20419840514659882, 0.22206662595272064, -0.07667753100395203, -0.16769352555274963, 0.8839874863624573, -0.3252100646495819, 1.1363097429275513, -0.20916835963726044, -0.026691004633903503, 0.17968088388442993, -0.04833709076046944, 0.28018370270729065, 0.24028122425079346, -0.13655588030815125, -0.16486698389053345, -0.04900168254971504, -0.5403903722763062, -0.46841463446617126, 0.6358997225761414, -0.9315655827522278, -0.38230979442596436, -0.5112568140029907, -0.5027269721031189, -0.19570782780647278, 0.36528897285461426, 0.48751893639564514, 0.16325105726718903, -0.2132432460784912, 0.2635795474052429, 0.819620668888092, -0.5383810997009277, 0.41183990240097046, 0.6472564935684204, -0.024475136771798134, -0.49195733666419983, 0.8340911865234375, -0.5204212665557861, -0.04837666451931, 0.5681490898132324, 0.6961637735366821, 0.07983952015638351, -0.45881304144859314, -0.2741992771625519, 0.2892429530620575, -0.6293313503265381, -0.32798996567726135, -0.444027841091156, 0.2766381502151489, -0.15217527747154236, -0.3899053633213043, -0.20409423112869263, 0.03100750781595707, -0.9197366833686829, 0.2455858588218689, 0.5711237788200378, 0.4898543655872345, 0.3114418089389801, 1.058728814125061, -0.48989778757095337, 0.449018269777298, 0.3178088963031769, 0.354095458984375, -0.19478605687618256, -0.8237167596817017, -0.36837485432624817, -0.2574109137058258, -0.13414503633975983, -0.7526237964630127, 0.4065874218940735, 0.37356284260749817, 0.15774965286254883, 0.6891334056854248, 0.20109161734580994, 0.5532492995262146, -0.22599972784519196, 0.4199313521385193, 0.3788083493709564, -1.0806045532226562, 0.557360827922821, -0.6574052572250366, 0.9179395437240601, 0.9639715552330017, 0.10146293044090271, -0.5323846936225891, 0.3856232464313507, -0.2544529438018799, -0.7172897458076477, 0.5537909269332886, 0.038326893001794815, 0.13970503211021423, 0.3967064321041107, 0.4925329089164734, 0.3704431653022766, 0.15034504234790802, -0.6705785989761353, -0.009810535237193108, -0.21729698777198792, -0.5648040175437927, -0.21399010717868805, -0.12180957943201065, 0.14641794562339783, -0.21438951790332794, 0.3486713469028473, -0.45892542600631714, -0.10022620111703873, 0.130881205201149, -0.4327431619167328, 0.16140921413898468, 0.419672429561615, 0.5770039558410645, 0.648322582244873, -0.2242272049188614, -0.031329818069934845, 0.13990093767642975, -0.5142942070960999, -0.051268234848976135, -0.12725915014743805, -0.39623403549194336, -0.05686577782034874, 0.3482501208782196, 0.7588130831718445, 0.48927345871925354, -0.8634999990463257, 0.5748981237411499, -0.2838660180568695, -0.0784197449684143, -0.40168312191963196, -0.14233718812465668, 0.02316301129758358, -0.07864928990602493, 0.027857087552547455, -0.08649136126041412, -0.027290208265185356, -0.5813599824905396, -0.025609975680708885, 0.09090330451726913, -0.2643496096134186, -0.7497127652168274, 0.40411004424095154, 0.4844059646129608, -0.4505411386489868, 0.5856904983520508, -0.029483802616596222, -0.6186208724975586, 0.2687157690525055, 0.509035050868988, 0.7186383008956909, -0.1570238173007965, 0.5424992442131042, -0.00857509020715952, -0.05426827445626259, 0.1777118295431137, 0.33146706223487854, -0.2660113275051117, -0.7158538103103638, -0.4699321985244751, -0.628740668296814, -0.47049185633659363, 0.26926425099372864, -0.612036943435669, 0.48358768224716187, -0.7017959952354431, -0.05337909236550331, -0.22869044542312622, 0.050439029932022095, -0.9715524911880493, 0.10051891207695007, -0.0725172758102417, 0.925881564617157, -0.6603107452392578, 0.9348357915878296, 0.8654665946960449, -0.18331319093704224, -0.24656528234481812, 0.007723859511315823, 0.0005378675414249301, -0.4852568209171295, 0.34452512860298157, 0.015433691442012787, -0.03374181687831879, 0.06819038093090057, -0.20631197094917297, -0.457243412733078, 1.1234222650527954, 0.41330674290657043, -0.6024314761161804, -0.2432776391506195, 0.060434672981500626, 0.5537129640579224, -0.33771541714668274, 0.0026621923316270113, 0.6021966338157654, 0.3148535490036011, -0.014114117249846458, -0.7794944047927856, -0.2261715680360794, 0.023613203316926956, -0.15060065686702728, -0.16644792258739471, -0.5918888449668884, 0.6504312753677368, -0.36598458886146545, -0.0007131930906325579, 0.27953872084617615, 0.778892993927002, 0.3059527575969696, 0.5943624377250671, 0.6931589245796204, 0.5002861618995667, 0.7108686566352844, 0.42433860898017883, 0.8927608728408813, -0.1020381972193718, 0.1724734604358673, 1.530014157295227, -0.24505236744880676, 1.0504666566848755, 0.5500485301017761, 0.1845192164182663, 0.6130755543708801, 0.5079311728477478, 0.36899858713150024, 0.5502781271934509, 0.15434427559375763, -0.4151770770549774, -0.27052679657936096, -0.1963321715593338, -0.06378259509801865, 0.726203978061676, 0.15978096425533295, -0.21860380470752716, -0.05706775560975075, 0.22481529414653778, 0.2098129540681839, 0.43301233649253845, -0.0042419140227139, 1.0405484437942505, 0.1447635442018509, -0.38347795605659485, 0.3023762106895447, 0.12428823113441467, 0.9637566804885864, -0.438395231962204, 0.26704496145248413, -0.37967368960380554, 0.40931081771850586, -0.41776061058044434, -0.40570971369743347, -0.016733704134821892, 0.2452409267425537, -0.2754571735858917, -0.2921491861343384, 0.5986928939819336, -0.2513328194618225, -0.24593046307563782, 0.18219991028308868, 0.5621660351753235, -0.0904310867190361, -0.12867891788482666, -0.4377632141113281, 0.17478260397911072, -0.14851899445056915, -0.3382674753665924, 0.44992896914482117, 0.06707052886486053, 0.1449633091688156, 0.5398475527763367, 0.6092697381973267, -0.16371193528175354, -0.12431862950325012, 0.22542624175548553, 0.6903864741325378, -0.6302328705787659, -0.7257058024406433, -0.8084956407546997, 0.4002067744731903, 0.0420570932328701, -0.7491143345832825, 0.6675621271133423, 0.424471914768219, 0.6514283418655396, -0.13005448877811432, 0.9220249652862549, 0.20847895741462708, 0.6289443373680115, -0.36423787474632263, 0.8192782402038574, -0.3286784887313843, 0.324313759803772, -0.23374226689338684, -0.9022144675254822, -0.3576837480068207, 0.6811361312866211, -0.26032716035842896, -0.15606553852558136, 0.6058326959609985, 0.21200522780418396, -0.2859870195388794, -0.14676502346992493, 0.3827493190765381, 0.22827644646167755, 0.3353271782398224, 0.662175178527832, 0.6196801662445068, -0.20181462168693542, 0.5229142904281616, -0.4952353537082672, -0.48574796319007874, -0.3671618700027466, -0.9684782028198242, -1.1543258428573608, -0.7158172130584717, -0.5019367933273315, -0.2095469981431961, 0.11081111431121826, 0.9695485234260559, 0.9385729432106018, -0.8030993938446045, -0.3669251799583435, -0.17356261610984802, 0.23628149926662445, 0.20725873112678528, -0.20445087552070618, 0.41642051935195923, -0.18408699333667755, -0.4629185199737549, 0.37622830271720886, 0.06862042099237442, -0.07551171630620956, -0.3481067419052124, -0.17064258456230164, -0.08292785286903381, -0.14401452243328094, 0.783275306224823, 0.6279332041740417, -0.51054847240448, 0.011831403709948063, 0.17693573236465454, 0.03645026683807373, 0.14970152080059052, 0.9747238159179688, -1.1864289045333862, 0.29886960983276367, 0.660432755947113, 0.8619979619979858, 0.4320683777332306, 0.15753507614135742, 0.5143240094184875, -0.607557475566864, 0.16626790165901184, 0.2481459081172943, 0.154568150639534, 0.5194731950759888, -0.41191595792770386, 0.1782846450805664, 0.23643159866333008, -0.36232200264930725, -0.7968013882637024, 0.22901219129562378, -1.3029308319091797, -0.1006612777709961, 1.023389458656311, -0.33535656332969666, -0.33060041069984436, -0.248370960354805, -0.17120909690856934, 0.07550176233053207, -0.4740917384624481, 0.9333838224411011, 0.2640915811061859, -0.007071787025779486, -0.18343892693519592, -0.37419578433036804, 0.3753904700279236, 0.6191452741622925, -1.2285869121551514, -0.13737179338932037, 0.044437479227781296, 0.36449122428894043, -0.007353991270065308, 0.4790154993534088, 0.4066612124443054, 0.3649238049983978, -0.7869039177894592, -0.07768648117780685, -0.023563480004668236, -0.2772935926914215, -0.5453925132751465, 0.1522432267665863, 0.03862035647034645, -0.07338695228099823 ]
http://arxiv.org/abs/2403.06204v1
http://arxiv.org/pdf/2403.06204v1
Identifying and interpreting non-aligned human conceptual representations using language modeling
2024-03-10T13:02:27
2024-03-10T13:02:27
Wanqian Bao, Uri Hasson
cs.CL
cs.CL
The question of whether people's experience in the world shapes conceptual representation and lexical semantics is longstanding. Word-association, feature-listing and similarity rating tasks aim to address this question but require a subjective interpretation of the latent dimensions identified. In this study, we introduce a supervised representational-alignment method that (i) determines whether two groups of individuals share the same basis of a certain category, and (ii) explains in what respects they differ. In applying this method, we show that congenital blindness induces conceptual reorganization in both a-modal and sensory-related verbal domains, and we identify the associated semantic shifts. We first apply supervised feature-pruning to a language model (GloVe) to optimize prediction accuracy of human similarity judgments from word embeddings. Pruning identifies one subset of retained GloVe features that optimizes prediction of judgments made by sighted individuals and another subset that optimizes judgments made by blind. A linear probing analysis then interprets the latent semantics of these feature-subsets by learning a mapping from the retained GloVe features to 65 interpretable semantic dimensions. We applied this approach to seven semantic domains, including verbs related to motion, sight, touch, and amodal verbs related to knowledge acquisition. We find that blind individuals more strongly associate social and cognitive meanings to verbs related to motion or those communicating non-speech vocal utterances (e.g., whimper, moan). Conversely, for amodal verbs, they demonstrate much sparser information. Finally, for some verbs, representations of blind and sighted are highly similar. The study presents a formal approach for studying interindividual differences in word meaning, and the first demonstration of how blindness impacts conceptual representation of everyday verbs.
[ -0.42751771211624146, -0.6502992510795593, 0.5049283504486084, 0.008199320174753666, -0.3259716033935547, 0.11582688987255096, -0.11550858616828918, -0.6054322123527527, 0.5195245742797852, 0.3631184697151184, -0.5264355540275574, -0.493831992149353, -0.6933817267417908, -0.15800829231739044, -0.4130264222621918, 0.5960811972618103, -0.03583095222711563, 0.012103531509637833, -0.5460491180419922, -0.2745164930820465, -0.7567334771156311, -0.28787705302238464, -0.1365400105714798, -0.2787170112133026, 0.3233865797519684, 0.3675139546394348, 0.8147759437561035, 0.7107531428337097, 0.5395815968513489, 0.2843085825443268, -0.01715056411921978, -0.09975901246070862, -0.2118712067604065, -0.14530973136425018, -0.3461483418941498, -0.49012136459350586, -0.30290260910987854, 0.4150472581386566, 0.4126259386539459, 1.1023712158203125, -0.15820032358169556, 0.07650423794984818, 0.21633347868919373, 0.4259570837020874, -0.6691538095474243, 0.22878442704677582, -0.47332578897476196, 0.10791327804327011, -0.337475448846817, -0.21544292569160461, -0.1142200157046318, -0.0172724649310112, 0.4553152620792389, -0.7655220031738281, 0.492290198802948, 0.25848591327667236, 1.0233699083328247, 0.3739483952522278, -0.41590797901153564, -0.17831845581531525, -0.40029045939445496, 0.7890551686286926, -0.482621967792511, 0.7231150269508362, 0.48424601554870605, 0.015222673304378986, 0.13581863045692444, -0.18948523700237274, -0.9019476175308228, -0.4426858723163605, -0.41517630219459534, 0.29119208455085754, 0.09059219062328339, 0.11309193819761276, 0.1592448502779007, 0.1445344239473343, -0.7589581608772278, 0.07792606204748154, -0.5200470685958862, -0.31478461623191833, 0.6989587545394897, 0.08552972227334976, 0.4220612347126007, -0.4738079905509949, -0.522224485874176, -0.09863098710775375, -0.4619450271129608, -0.3019588589668274, 0.3504858613014221, 0.16407465934753418, -0.3089400827884674, 0.7861764430999756, -0.024466998875141144, 0.9352318644523621, 0.03933636471629143, -0.17675425112247467, 0.3752943277359009, -0.1454574316740036, -0.05860033631324768, 0.02175021730363369, 0.24569879472255707, 0.6484012007713318, 0.4352545738220215, -0.298855721950531, -0.053555309772491455, 0.5232459902763367, 0.5961102247238159, -0.09462389349937439, -0.12472822517156601, -0.2663900554180145, -0.5033320784568787, -0.30821600556373596, 0.4049772620201111, -0.6052464842796326, -0.6828155517578125, -0.6664630174636841, 0.49656805396080017, -0.36237549781799316, -0.4316476881504059, 0.17211280763149261, -0.1927454173564911, 0.40518254041671753, 0.198389932513237, -0.9205648899078369, 0.546295702457428, 0.764979362487793, 0.699488639831543, -0.44241097569465637, -0.3339877426624298, 0.026880739256739616, 0.25915178656578064, -0.419942706823349, 0.4323146939277649, -0.5113059878349304, -0.21292565762996674, -0.2390240579843521, 0.06401924043893814, -0.2515649199485779, -0.6996466517448425, 0.22006914019584656, -0.44704383611679077, 0.17698074877262115, -0.03153660148382187, -0.6082918643951416, -0.3801584541797638, 0.12526647746562958, -0.620741605758667, 0.47316476702690125, 0.07797183841466904, -0.909932553768158, 0.6384832262992859, -0.5530054569244385, -0.37262845039367676, -0.016323300078511238, -0.47615429759025574, -0.19602422416210175, 0.5539906620979309, -0.02230573073029518, 0.4221423268318176, -0.21977508068084717, 0.1624840945005417, -0.13072450459003448, -0.09272129833698273, 0.43958580493927, -0.10293898731470108, 0.49835869669914246, -0.18592344224452972, -0.3090638518333435, 0.15324389934539795, -0.6095666289329529, -0.26619192957878113, 0.2558671236038208, 0.19043058156967163, -0.7060329914093018, 0.22133979201316833, -0.028847329318523407, 0.20512180030345917, 0.35512787103652954, -0.6267739534378052, -0.0008947475580498576, -0.6426765322685242, 0.31332579255104065, 0.7283798456192017, 0.16575132310390472, 0.6341320276260376, -0.29595112800598145, 0.37340039014816284, 0.5935109853744507, 0.2570444643497467, 0.19010964035987854, -0.5891306400299072, -0.9215115308761597, 0.11459146440029144, 0.24442432820796967, 0.48225560784339905, -0.6297828555107117, 0.37870195508003235, -0.46172699332237244, -0.14475934207439423, -0.6143887042999268, 0.029007865116000175, 0.39118874073028564, 0.5061046481132507, 0.36316007375717163, -0.8355848789215088, -0.20154903829097748, -1.1762083768844604, -0.25875920057296753, -0.4339948892593384, 0.05193569138646126, 0.36420848965644836, 0.44450658559799194, -0.03590709716081619, 1.0684574842453003, -0.6588123440742493, -0.6641353368759155, 0.18679854273796082, 0.1799420267343521, -0.12490887939929962, 0.523337721824646, 0.32792824506759644, -1.0453168153762817, -0.03064480423927307, 0.17849957942962646, -0.8016624450683594, 0.029089372605085373, -0.2020205706357956, -0.02747848443686962, 0.180765300989151, 0.39703425765037537, -0.3989420235157013, 0.740528404712677, 0.4689144194126129, -0.6342548131942749, 0.222608745098114, -0.1419282853603363, -0.10247162729501724, -0.7605782151222229, 0.04271551966667175, 0.06073765456676483, 0.0349915437400341, -0.3899068832397461, 0.029761401936411858, 0.060909632593393326, 0.004624985158443451, -0.22687441110610962, 0.6190073490142822, -0.6018175482749939, -0.39137738943099976, -0.018901998177170753, 0.5199360847473145, -0.11060994863510132, 0.44352665543556213, 0.20215515792369843, 0.578626811504364, 0.41822242736816406, -0.4552546441555023, 0.12447190284729004, 0.21953219175338745, -0.42923760414123535, 0.7559363842010498, -0.42025765776634216, 0.06773350387811661, -0.4294765889644623, -0.3809734582901001, -0.8866665363311768, -0.17385917901992798, 0.3711622357368469, -0.6772805452346802, 0.3006000816822052, 0.27364233136177063, -0.37685707211494446, -0.19449828565120697, -0.06040751934051514, 0.34174013137817383, 0.20535269379615784, -0.1052585169672966, 0.6262742877006531, 0.5142861008644104, 0.09272119402885437, -0.37179169058799744, -0.7573400735855103, -0.06786325573921204, -0.43511876463890076, -0.5620221495628357, 0.5671404600143433, 0.3441278040409088, -0.46822693943977356, 0.33997344970703125, -0.40812572836875916, -0.06574861705303192, 0.3365197777748108, 0.4808276295661926, 0.36433732509613037, -0.13546429574489594, 0.3044213056564331, 0.02965853363275528, -0.1938866674900055, -0.048798155039548874, -0.39144790172576904, 0.2534509301185608, 0.24326308071613312, -0.4896405339241028, -0.3425001800060272, 0.23882153630256653, 0.32831329107284546, -0.4213597774505615, 0.7633857727050781, 0.29805293679237366, -0.5149752497673035, 0.16361933946609497, -0.5499046444892883, -0.2888180613517761, -0.3728695511817932, 0.2795630097389221, -0.3951128125190735, -0.8333166837692261, 0.5579543113708496, 0.08808085322380066, -0.14772212505340576, 0.315773069858551, 0.3286084532737732, -0.16090838611125946, 0.7942002415657043, 0.8912069201469421, 0.09708060324192047, 0.41625070571899414, -0.16163581609725952, 0.19928333163261414, -1.0066043138504028, -0.38690751791000366, -0.2186724692583084, -0.5752232670783997, -0.4138758182525635, -0.7028219103813171, 0.2163643091917038, 0.22640731930732727, -0.034633439034223557, 0.3699725270271301, -0.4821207821369171, 0.2582836151123047, 0.32089781761169434, 0.09663371741771698, 0.25432088971138, -0.09197685867547989, -0.4038417637348175, -0.3593396842479706, -0.3577294945716858, -0.5192713737487793, 0.9403918981552124, 0.17200127243995667, 0.6436576247215271, 0.27616581320762634, 0.7808102369308472, 0.2832431495189667, 0.4661264717578888, -0.9177873134613037, 0.5318360924720764, -0.0004542995011433959, -0.6066925525665283, -0.2346278876066208, -0.2297665774822235, -0.9989222884178162, 0.4039340317249298, -0.32150998711586, -1.0298551321029663, 0.49041253328323364, -0.0816403180360794, -0.1021675318479538, -0.14863274991512299, -0.9312226176261902, 0.9806943535804749, -0.2951301634311676, -0.13458748161792755, -0.5042628645896912, -0.8156706690788269, 0.3313347101211548, -0.23992764949798584, 0.12355109304189682, -0.1319350302219391, -0.44598862528800964, 0.8602742552757263, -0.2055070549249649, 0.9905369877815247, -0.3415747880935669, -0.08766119927167892, 0.03740585222840309, 0.1230800598859787, -0.019969649612903595, -0.18414509296417236, 0.1684146225452423, 0.2242826372385025, -0.06523557752370834, -0.3397735059261322, -0.9350005388259888, 0.5657054781913757, -0.7978438138961792, -0.9178332090377808, -0.561251699924469, -0.4010453522205353, -0.4424680173397064, 0.09813865274190903, -0.08890791982412338, 0.16536766290664673, -0.249148428440094, -0.1661054491996765, 0.2873319089412689, -0.2936567962169647, -0.041068289428949356, 0.5789182782173157, -0.24920053780078888, -0.006997206248342991, 0.9212940335273743, 0.3062516450881958, 0.2762065529823303, 0.5108681917190552, 0.0197665523737669, -0.36890026926994324, -0.42987003922462463, -0.19626285135746002, 0.5560798048973083, -0.5786239504814148, -0.025150083005428314, -0.36510756611824036, -0.0014340117340907454, -0.19654251635074615, 0.05607018992304802, 0.13361115753650665, -0.4905681014060974, -0.3444337844848633, -0.19929681718349457, 0.16103926301002502, 0.5904284715652466, 0.02564062923192978, 0.2970356047153473, -0.48140424489974976, 0.3669624924659729, 0.2820369303226471, 0.27990102767944336, 0.2912697196006775, -0.44970864057540894, -0.18325552344322205, -0.051829993724823, -0.40545034408569336, -1.1487343311309814, 0.28475669026374817, 0.3728078007698059, 0.5585178732872009, 0.6260659098625183, -0.026719629764556885, 0.801485538482666, -0.3693108558654785, 0.5532663464546204, 0.33045661449432373, -1.0687581300735474, 0.49549898505210876, -0.020356830209493637, 0.0019085523672401905, 0.26555028557777405, 0.37297147512435913, -0.7051944136619568, -0.3758482336997986, -0.837462306022644, -0.6658838391304016, 0.7159361243247986, 0.18993479013442993, 0.06431028246879578, -0.07048718631267548, 0.33454740047454834, -0.12321345508098602, 0.09210279583930969, -0.2612839937210083, -0.27979952096939087, -0.15988118946552277, -0.390499085187912, -0.2811492085456848, -0.005571633577346802, -0.1518278270959854, -0.23312529921531677, 0.2581401467323303, -0.19691342115402222, 0.409397691488266, 0.07424735277891159, -0.4268641173839569, -0.09221770614385605, -0.07663176953792572, 0.6218646764755249, 0.7838919162750244, 0.11604846268892288, 0.36666151881217957, 0.120667964220047, -0.5699267983436584, 0.10163788497447968, 0.06388373672962189, 0.03784821927547455, -0.049490395933389664, 0.713904082775116, 0.6794222593307495, 0.3766605257987976, -0.5746328234672546, 0.8433939218521118, 0.06915781646966934, 0.04379201680421829, -0.126691997051239, -0.007737032137811184, 0.2860361337661743, 0.12037403136491776, 0.15554192662239075, 0.21259377896785736, 0.053605277091264725, -0.444983571767807, 0.30811387300491333, 0.3283974230289459, -0.541024923324585, -0.521376371383667, 0.5610387921333313, 0.014199803583323956, -0.04642447456717491, 0.6780062913894653, -0.02095564268529415, -0.46179571747779846, 0.4729743003845215, 0.23634709417819977, 0.7728404998779297, -0.18083342909812927, 0.18340998888015747, 0.1590558886528015, 0.39116886258125305, 0.31383514404296875, 0.19206683337688446, -0.29254913330078125, -1.190514087677002, -0.29616203904151917, -0.8028587698936462, 0.06266056001186371, -0.3133421242237091, -0.8985655307769775, 0.14498159289360046, -0.3627970218658447, -0.22210612893104553, 0.3234809637069702, -0.09370601922273636, -0.7345286011695862, 0.26823222637176514, 0.22218990325927734, 0.5342676639556885, -1.1326680183410645, 0.8970165252685547, 0.8887197375297546, -0.650982677936554, -0.7405215501785278, 0.3837607800960541, 0.24045152962207794, -0.989874005317688, 0.8174682855606079, 0.06521956622600555, 0.04225404933094978, 0.06776035577058792, -0.26177912950515747, -0.8501937389373779, 0.9661630392074585, 0.2983303964138031, -0.5329031348228455, -0.10518329590559006, 0.2115900218486786, 0.5541603565216064, -0.30009061098098755, -0.23757106065750122, 0.5811992883682251, 0.3283167779445648, -0.01709843799471855, -1.0499650239944458, 0.1246417909860611, 0.0788513571023941, 0.31276652216911316, 0.3774246275424957, -0.3176725506782532, 0.5083143711090088, -0.2604493498802185, -0.590764582157135, 0.03395729139447212, 0.691649317741394, 0.1714523583650589, 0.150908961892128, 0.5420384407043457, 0.6647743582725525, 0.771672248840332, -0.03421349823474884, 0.7930063009262085, -0.24494504928588867, 0.3429819941520691, 0.7554589509963989, -0.2422410100698471, 0.655310332775116, 0.6837372779846191, -0.02410190738737583, 0.3754020929336548, 0.39090031385421753, 0.253699392080307, 0.5423599481582642, 0.367574006319046, -0.08537119626998901, -0.18841058015823364, -0.17033381760120392, -0.008277099579572678, 0.5880104899406433, 0.6212931275367737, -0.3294422924518585, -0.08112041652202606, 0.2322796732187271, -0.3621232807636261, 0.20777124166488647, -0.11457966268062592, 0.9616389274597168, 0.29905804991722107, -0.44287875294685364, 0.5921065807342529, 0.012311053462326527, 0.587665319442749, -0.2287934422492981, -0.09266162663698196, 0.004405634943395853, 0.13928012549877167, -0.23027458786964417, -0.8577522039413452, 0.6044087409973145, -0.24630524218082428, -0.19240880012512207, -0.047653548419475555, 0.6800066828727722, -0.19593757390975952, -0.2879466414451599, 0.45228391885757446, 0.7306816577911377, 0.3432837128639221, 0.09905978292226791, -0.7863703370094299, 0.07256058603525162, -0.10675438493490219, 0.13640768826007843, 0.22149783372879028, 0.43485838174819946, -0.6917898058891296, 0.520005464553833, 0.32256019115448, 0.1747661530971527, 0.2597372233867645, 0.13710856437683105, 0.6875608563423157, -0.8812259435653687, -0.3743133842945099, -0.5572437047958374, 0.4292612373828888, 0.056067802011966705, -0.31566181778907776, 0.5823186039924622, 0.44138583540916443, 1.0612232685089111, -0.21627311408519745, 0.46796727180480957, -0.2078353464603424, 0.3591316342353821, -0.4424024522304535, 0.601233959197998, -0.7621463537216187, -0.10232710093259811, -0.34724509716033936, -0.9809274077415466, -0.48210248351097107, 1.0213801860809326, -0.6016186475753784, -0.061527885496616364, 0.6355453729629517, 0.8576589226722717, -0.11942887306213379, -0.039780840277671814, 0.4242589473724365, 0.18258365988731384, -0.0397401824593544, 0.2863088846206665, 0.9116073250770569, -0.15422046184539795, -0.053253546357154846, -0.0937037318944931, -0.29095882177352905, -0.13066436350345612, -0.4377935528755188, -0.4964068830013275, -0.9199255704879761, -0.4534229040145874, -0.08986984193325043, -0.0766722783446312, 0.6665878891944885, 0.7057918310165405, -0.6081238389015198, -0.20765380561351776, -0.09671592712402344, 0.15828125178813934, -0.5035167336463928, -0.2625832259654999, 0.45877137780189514, -0.07352475076913834, -0.5213587284088135, 0.026885811239480972, 0.38115906715393066, 0.09066762030124664, -0.5605544447898865, -0.06099514663219452, -0.07580068707466125, -0.1366858333349228, 0.5139867663383484, -0.0015516745625063777, -1.0874520540237427, -0.49629777669906616, -0.14351987838745117, 0.040618106722831726, 0.027360593900084496, 0.7576216459274292, -0.9010942578315735, 0.5833712220191956, 0.34575191140174866, 0.4066402018070221, 0.34394994378089905, 0.1703096181154251, 0.3951147198677063, -0.8020108342170715, 0.31825655698776245, 0.384223610162735, 0.16173511743545532, 0.48917558789253235, -0.13073603808879852, 0.4112408757209778, 0.5422380566596985, 0.032809067517519, -0.5186899304389954, 0.3905845880508423, -1.1099896430969238, -0.19648770987987518, 0.7729792594909668, -0.0008983251173049212, -0.3756089210510254, -0.20775645971298218, -0.14703401923179626, 0.26085221767425537, -0.02951657399535179, 0.8000909686088562, 0.7714199423789978, -0.1285904496908188, -0.2787785828113556, -0.4349922835826874, 0.21419239044189453, 0.36067092418670654, -0.4356532394886017, -0.04298168420791626, 0.4285846948623657, 0.34863999485969543, 0.4492764472961426, 0.35696670413017273, -0.29299697279930115, 0.015872463583946228, -0.13916265964508057, 0.03831468150019646, 0.2579694092273712, -0.20828767120838165, -0.334522008895874, -0.1467238813638687, 0.20218254625797272, -0.3092173933982849 ]
http://arxiv.org/abs/2403.06201v1
http://arxiv.org/pdf/2403.06201v1
Are You Being Tracked? Discover the Power of Zero-Shot Trajectory Tracing with LLMs!
2024-03-10T12:50:35
2024-03-10T12:50:35
Huanqi Yang, Sijie Ji, Rucheng Wu, Weitao Xu
cs.CL
cs.CL, cs.AI, cs.HC, cs.LG
There is a burgeoning discussion around the capabilities of Large Language Models (LLMs) in acting as fundamental components that can be seamlessly incorporated into Artificial Intelligence of Things (AIoT) to interpret complex trajectories. This study introduces LLMTrack, a model that illustrates how LLMs can be leveraged for Zero-Shot Trajectory Recognition by employing a novel single-prompt technique that combines role-play and think step-by-step methodologies with unprocessed Inertial Measurement Unit (IMU) data. We evaluate the model using real-world datasets designed to challenge it with distinct trajectories characterized by indoor and outdoor scenarios. In both test scenarios, LLMTrack not only meets but exceeds the performance benchmarks set by traditional machine learning approaches and even contemporary state-of-the-art deep learning models, all without the requirement of training on specialized datasets. The results of our research suggest that, with strategically designed prompts, LLMs can tap into their extensive knowledge base and are well-equipped to analyze raw sensor data with remarkable effectiveness.
[ -0.03949994221329689, -0.7487053275108337, 0.8580141663551331, -0.17713187634944916, -0.5101917386054993, 0.5979067087173462, 0.10600502789020538, -0.6857731342315674, 0.49607396125793457, 0.5010446310043335, -1.1470484733581543, -0.8094913363456726, -0.3033771514892578, -0.37932440638542175, -0.6035851836204529, 0.8452882170677185, 0.012991510331630707, -0.09304675459861755, -0.1058959811925888, -0.25492724776268005, -0.8078199625015259, -0.4244297444820404, -0.2524004578590393, -0.4395572245121002, 0.8097642064094543, 0.582413911819458, 0.19617114961147308, 0.5338968634605408, 0.41742050647735596, 0.04958506301045418, 0.12467489391565323, 0.10959962010383606, -0.3696783185005188, 0.39168545603752136, 0.24652111530303955, -0.37188979983329773, -0.18020455539226532, 0.014120002277195454, 0.42755934596061707, 0.5852659344673157, 0.050808411091566086, 0.4599064588546753, -0.14553281664848328, 0.3095862865447998, -0.7102344632148743, -0.022658636793494225, -0.31388339400291443, 0.2361750453710556, -0.28365325927734375, -0.5626516342163086, -0.18399101495742798, -0.11076323688030243, -0.10485747456550598, -0.4520180821418762, 0.002132514026015997, 0.2110096663236618, 0.4587721526622772, 0.36882543563842773, -0.5088083148002625, -0.31017354130744934, -1.242816686630249, 0.68839031457901, -0.6287935376167297, 0.2681962251663208, 0.2910264730453491, 0.5402300953865051, -0.26869499683380127, -0.4596844017505646, -0.5116574168205261, -0.5428867340087891, 0.1010303869843483, 0.2219710797071457, -0.05249997228384018, -0.10086947679519653, 0.3315751850605011, -0.32261425256729126, -0.5645462870597839, 0.5060057640075684, -0.11914297938346863, -0.1493576318025589, 0.5510812401771545, 0.4896546006202698, 0.13007216155529022, 0.18023137748241425, -0.4471428394317627, 0.15578585863113403, -0.9162130951881409, 0.4751438498497009, 0.1984541416168213, 0.49721330404281616, -0.29794928431510925, 0.741590142250061, -0.4429740607738495, 0.7299761772155762, -0.06800723075866699, -0.16172051429748535, -0.2564002275466919, -0.2552521228790283, 0.05390654876828194, 0.3008613884449005, 0.6851111650466919, 0.27452996373176575, -0.030899889767169952, -0.5547628998756409, -0.11203958094120026, -0.06763247400522232, 0.13203464448451996, -0.6506927013397217, -0.03816515579819679, 0.2665069103240967, 0.08506729453802109, -0.16748148202896118, -0.10113155841827393, -0.6043781042098999, -0.6109879612922668, -0.3352734446525574, 0.3023543953895569, -0.2946590781211853, 0.03540131822228432, 0.18393976986408234, 0.18839649856090546, 0.7481928467750549, 0.6407966613769531, -0.7722988724708557, -0.16505515575408936, 0.9746862649917603, 1.1826016902923584, 0.08452028781175613, -0.3971082270145416, -0.661734402179718, 0.1743466556072235, -0.5937005281448364, 1.0411752462387085, -0.44459882378578186, -0.5241793990135193, -0.04587876424193382, -0.2041529417037964, 0.06905411183834076, -0.18381938338279724, 0.5543166399002075, -0.3136964738368988, -0.02406434901058674, -0.08728551864624023, -0.6201462149620056, -0.31553447246551514, 0.4960891604423523, -0.24292531609535217, 1.2289069890975952, -0.034940142184495926, -0.38397201895713806, 0.5481117963790894, -0.70149165391922, -0.5977281332015991, 0.5758446455001831, -0.15059985220432281, -0.4582783877849579, 0.22598466277122498, 0.050260111689567566, 0.5180307626724243, 0.034624047577381134, 0.16334891319274902, -0.5782591700553894, -0.5663338899612427, 0.09600108116865158, -0.4660860300064087, 0.8498314023017883, -0.024400128051638603, -0.2844761610031128, 0.2564292848110199, -0.790266215801239, -0.1818573772907257, -0.10534785687923431, -0.3308653235435486, -0.17004691064357758, 0.24116410315036774, -0.36349987983703613, 0.22460684180259705, 0.23429995775222778, -0.9837144017219543, 0.45602738857269287, 0.03266816958785057, 0.20643335580825806, 0.7783957719802856, 0.03217686712741852, 0.3934198319911957, -0.11031261831521988, 0.8576437830924988, -0.3754861056804657, 0.04424605146050453, -0.4783567786216736, -0.5347167253494263, -0.5264078974723816, -0.31320902705192566, -0.13450010120868683, 0.6848594546318054, -0.41728946566581726, 0.3318794369697571, -0.4554813504219055, -0.6063147783279419, -0.35043254494667053, -0.14847621321678162, 0.00446697324514389, 0.9336601495742798, 0.09983315318822861, 0.1360386162996292, -0.4263702630996704, -0.08642315864562988, -0.13743196427822113, -0.3019642233848572, -0.33084961771965027, 0.2266235202550888, 0.5744226574897766, -0.06341294944286346, 1.091525673866272, -0.4214659035205841, -0.20780734717845917, -0.3666011393070221, 0.17292673885822296, 0.006591441575437784, 0.2628021538257599, 0.5250433087348938, -0.358728289604187, -0.37128669023513794, 0.04202958941459656, -1.055197834968567, -0.27943041920661926, -0.33835792541503906, -0.25192511081695557, -0.0869673639535904, 0.6558148860931396, -0.7254341840744019, 0.6626547574996948, 0.2063131481409073, -0.6995393633842468, 0.47740569710731506, -0.15858136117458344, 0.0568445548415184, -0.7394492030143738, 0.19943831861019135, -0.07809007167816162, -0.45444822311401367, -0.7364522218704224, 0.0015707113780081272, 0.03611556068062782, -0.15737177431583405, -0.7253055572509766, 0.6016937494277954, -0.3168169856071472, -0.2256702035665512, -0.3776019215583801, 0.04442492872476578, -0.2819281220436096, 0.3685985207557678, -0.23588696122169495, 0.47849124670028687, 0.6784528493881226, -0.6449397206306458, 0.611893892288208, 0.1801442801952362, -0.4852141737937927, 0.6945493221282959, -0.09694863855838776, 0.305939644575119, -0.26918235421180725, 0.262959748506546, -1.185777187347412, -0.2353956550359726, 0.27689555287361145, -0.5888878107070923, 0.2228647917509079, -0.3084580898284912, -0.8315948247909546, -0.4922144412994385, -0.29609164595603943, 0.05706581100821495, 0.4205825924873352, -0.6020906567573547, 0.7461165189743042, 0.18314281105995178, 0.28502947092056274, -0.4119046628475189, -0.703579843044281, 0.25803548097610474, -0.5800361037254333, -0.2338256537914276, -0.14314569532871246, -0.19564679265022278, 0.10850774496793747, -0.30492621660232544, -0.201111301779747, 0.1200413703918457, 0.5803828239440918, 0.728492259979248, 0.44023483991622925, -0.06605807691812515, -0.05006234347820282, -0.34622859954833984, -0.4022897779941559, 0.04487242549657822, -0.3349142372608185, 0.5860254764556885, 0.37677231431007385, -0.5833827257156372, -0.7336317300796509, 0.20259588956832886, 0.8086255788803101, -0.18321436643600464, 0.337615042924881, 0.3890140950679779, -0.30778372287750244, -0.1944490373134613, -0.12759293615818024, -0.2499668151140213, -0.48747169971466064, 0.19054482877254486, -0.1447952836751938, -1.0327003002166748, 0.4289182722568512, -0.3028028607368469, 0.3476576507091522, -0.05597405880689621, 0.3714606463909149, -0.8652327060699463, 0.9033893942832947, 0.9990615248680115, -0.3524419665336609, 0.5291725993156433, -0.04107877239584923, 0.3961102068424225, -0.7798434495925903, -0.513550877571106, -0.4159835875034332, -0.781586766242981, -0.5344976782798767, -0.21513482928276062, 0.4437514841556549, 0.028179936110973358, -0.412138968706131, 0.22452469170093536, -0.28934597969055176, 0.6006826162338257, 0.6225195527076721, 0.14181479811668396, 0.24322004616260529, -0.1360122114419937, 0.11792933940887451, 0.04305700957775116, -0.6154235005378723, -0.4218396842479706, 1.1498684883117676, 0.12001912295818329, 0.8870667815208435, -0.15823547542095184, 0.6341916918754578, 0.30961695313453674, 0.38044092059135437, -1.2175698280334473, 0.9822750687599182, 0.02616604045033455, -0.6198599934577942, -0.09697163850069046, -0.057876672595739365, -0.9059118032455444, -0.04455604404211044, -0.13148652017116547, -0.9405505061149597, -0.2622761130332947, 0.17377665638923645, -0.7555805444717407, 0.6419018507003784, -0.28019142150878906, 0.600456178188324, -0.7209181189537048, -0.2820379436016083, 0.15032371878623962, -0.6317263841629028, 0.2032509595155716, 0.005991692189127207, -0.04682250693440437, -0.7103016376495361, 0.037219371646642685, 0.5945634841918945, -0.13153743743896484, 1.1231207847595215, -0.3827104866504669, 0.093170166015625, 0.5442150831222534, 0.40518978238105774, 0.4507104456424713, -0.2929736375808716, 0.17482417821884155, 0.34129682183265686, -0.32971498370170593, -0.20098009705543518, -0.5152096152305603, 0.6931016445159912, -0.29619717597961426, -0.1909174621105194, -0.46633127331733704, -0.4606180191040039, -0.07282526791095734, 0.15063489973545074, 0.146744504570961, 0.07945562899112701, -0.09627561271190643, 0.1504090577363968, 0.17107421159744263, -0.007192504592239857, 0.9182713627815247, 1.0811207294464111, -0.22745616734027863, 0.19521042704582214, 0.8836309313774109, 0.3199062645435333, -0.2543500065803528, 0.6374239921569824, 0.2814415991306305, -0.2700656056404114, -0.6024293303489685, -0.6192877292633057, 0.12058437615633011, -0.4812631905078888, -0.40428027510643005, -0.5200499892234802, 0.046422794461250305, -0.058396559208631516, -0.5092301964759827, -0.3295784890651703, -0.3436526358127594, -0.5354931950569153, -0.5311242341995239, 0.35719001293182373, 0.9192083477973938, 0.03942980617284775, 0.7302579283714294, -0.6522669196128845, 0.13216103613376617, 0.09029625356197357, 0.38898786902427673, -0.1724725067615509, -0.5039991736412048, -0.4821247458457947, -0.03399442881345749, -0.41509130597114563, -0.7440013289451599, 0.5718879103660583, -0.1310734748840332, 0.40643543004989624, 0.2786955237388611, 0.08656799793243408, 0.9296734929084778, -0.639775276184082, 1.0127838850021362, 0.051696836948394775, -0.6464980244636536, 0.7149845957756042, -0.4529546797275543, 0.5095629096031189, 0.3837474584579468, 0.24975267052650452, -0.4792003631591797, -0.4253283739089966, -0.2357999086380005, -0.8918812870979309, 0.7089643478393555, -0.04332556948065758, 0.02922012470662594, 0.41068151593208313, 0.591564416885376, -0.08389756083488464, 0.238946333527565, -0.5920804738998413, 0.010444661602377892, 0.08167875558137894, -0.19129879772663116, -0.21185444295406342, -0.04918395355343819, 0.14611753821372986, -0.1297900527715683, 0.34212416410446167, -0.24595141410827637, 0.20619447529315948, 0.025981852784752846, -0.09274952858686447, -0.38095754384994507, -0.08006498962640762, 0.6625804901123047, 0.336668998003006, -0.4298749566078186, 0.17825204133987427, 0.11814150214195251, -0.36744222044944763, 0.20886261761188507, -0.18572594225406647, -0.5766860246658325, 0.03757432475686073, 0.5894344449043274, 0.6031932234764099, 0.14629508554935455, -0.6699897646903992, 0.24113646149635315, 0.15631750226020813, 0.08161627501249313, -0.3698715567588806, 0.012380444444715977, -0.05601848289370537, 0.2650401294231415, 0.4319867193698883, -0.052078574895858765, -0.04254791885614395, -0.35310912132263184, 0.24470926821231842, 0.7192025780677795, -0.5411216616630554, -0.8321751356124878, 0.854769766330719, 0.022032998502254486, -0.5695228576660156, 0.5241765975952148, 0.0315420888364315, -0.39021462202072144, 0.7705478072166443, 0.2308068573474884, 1.2329179048538208, -0.27764925360679626, 0.2482244372367859, 0.2974133789539337, 0.5320507287979126, 0.12095559388399124, 0.15908336639404297, -0.40878430008888245, -0.530723512172699, -0.46854060888290405, -0.6256842613220215, -0.7301563024520874, 0.04664875194430351, -0.33709391951560974, 0.3830370306968689, -0.6273307204246521, 0.07485141605138779, -0.10733361542224884, 0.0741361752152443, -0.7267196774482727, -0.02742120996117592, 0.5549998879432678, 0.6398718357086182, -0.7568483948707581, 0.885288655757904, 0.43885719776153564, -0.1505851447582245, -0.5539110898971558, 0.18167933821678162, 0.3901810646057129, -0.8823408484458923, 0.6044514179229736, 0.5037066340446472, -0.4850422739982605, 0.03284330293536186, -0.9547051787376404, -0.6814544200897217, 1.376274585723877, 0.4595921039581299, -0.6059172749519348, -0.08926617354154587, 0.39453208446502686, 0.5511223673820496, -0.3875458240509033, 0.26724547147750854, 0.429065465927124, 0.2955837547779083, 0.3577269911766052, -0.5877081155776978, -0.31255680322647095, 0.3665589690208435, -0.42715492844581604, 0.25524112582206726, -0.6865445971488953, 0.49769607186317444, -0.30462631583213806, -0.4342210292816162, 0.1486542969942093, 0.4363625943660736, 0.19664491713047028, 0.780187726020813, 0.04747353494167328, 0.5609272122383118, 0.640055239200592, -0.10787742584943771, 1.0108833312988281, -0.34173718094825745, 0.28340405225753784, 1.3413619995117188, -0.5868558287620544, 0.8780619502067566, 0.4031337797641754, 0.048684991896152496, 0.4734288454055786, 0.5659864544868469, 0.08898907899856567, 0.605503261089325, -0.026553833857178688, -0.4966568648815155, -0.27737540006637573, -0.09641110897064209, 0.41028183698654175, 0.6763888001441956, 0.3097749650478363, 0.21656359732151031, -0.5961886048316956, 0.2505078911781311, 0.11385160684585571, -0.23597779870033264, -0.3040953278541565, 0.7844666242599487, -0.19281227886676788, -0.5124028325080872, 0.22620855271816254, -0.1808251142501831, 0.6565719246864319, -0.9595311880111694, -0.08859965205192566, -0.5427218079566956, -0.014886193908751011, -0.19305157661437988, -1.083166241645813, 0.28120097517967224, 0.2194233387708664, 0.17100562155246735, -0.46512091159820557, 0.49010300636291504, -0.12521600723266602, -0.6116428375244141, 0.506904661655426, 0.4609275758266449, 0.1494830697774887, -0.11613020300865173, -0.29394686222076416, -0.15278540551662445, 0.21600143611431122, -0.06708308309316635, 0.20713362097740173, 0.4403128921985626, -0.07626276463270187, 1.1263777017593384, 0.7899190187454224, -0.07409044355154037, 0.35585200786590576, -0.365792453289032, 0.7441502213478088, -1.0637906789779663, -0.4603476822376251, -1.0821911096572876, 0.7717386484146118, 0.32958391308784485, -0.2974413335323334, 1.0006200075149536, 0.6135361194610596, 0.7445751428604126, 0.17638961970806122, 0.6382230520248413, 0.21798335015773773, 0.776177704334259, -0.34125688672065735, 0.4096290171146393, -0.4069410264492035, 0.5735776424407959, 0.33145418763160706, -0.5764997601509094, -0.5899741649627686, 0.4656495451927185, -0.15448197722434998, -0.24928085505962372, 0.20820562541484833, 0.655320405960083, -0.23199154436588287, -0.185527965426445, 0.5675540566444397, 0.17408087849617004, 0.77347731590271, 0.5655860900878906, 1.0084974765777588, -0.15115247666835785, 0.3803272247314453, -0.34535521268844604, -0.25839415192604065, -0.367990106344223, -0.9920623898506165, -0.7271562218666077, -0.2509187161922455, -0.44762682914733887, 0.03849533200263977, -0.09739352762699127, 0.6400429010391235, 0.8791130185127258, -0.5432776808738708, -0.40968480706214905, -0.29006674885749817, 0.02649936079978943, 0.1475318819284439, -0.2044229805469513, 0.016165398061275482, 0.03872467204928398, -0.3998236656188965, 0.9036151170730591, 0.583278238773346, 0.36887112259864807, -0.3434044122695923, 0.06240060552954674, -0.22458063066005707, -0.000682490470353514, 0.718215823173523, 0.6428434252738953, -0.4632193446159363, -0.4165591895580292, 0.23366180062294006, 0.1504567712545395, 0.22685422003269196, 0.9577540159225464, -1.1488237380981445, 0.7315704822540283, 0.20739203691482544, 0.31315797567367554, 0.7424449920654297, -0.022901538759469986, 0.12585009634494781, -0.9109282493591309, 0.3262087404727936, 0.5536560416221619, 0.1615874022245407, 0.33980825543403625, -0.48223742842674255, 0.6283599734306335, 0.101203553378582, -0.6557645201683044, -0.8706365823745728, 0.3330475986003876, -1.0541836023330688, -0.1331104189157486, 1.0192455053329468, -0.17059390246868134, -0.19732743501663208, 0.053219426423311234, -0.16518567502498627, 0.12760163843631744, -0.41602379083633423, 0.6507406234741211, 0.44677725434303284, -0.5741475820541382, -0.4651540219783783, -0.7844775915145874, -0.004753155633807182, 0.06116069108247757, -0.6671402454376221, 0.08517339825630188, 0.7069070339202881, 0.2945549786090851, 0.0459289513528347, 0.5016593337059021, 0.33887481689453125, -0.02838514931499958, -0.2052236944437027, -0.08501428365707397, -0.14509713649749756, -0.4987519681453705, -0.6486165523529053, 0.08207019418478012, -0.18633249402046204, -0.6290011405944824 ]
http://arxiv.org/abs/2403.06199v4
http://arxiv.org/pdf/2403.06199v4
Mipha: A Comprehensive Overhaul of Multimodal Assistant with Small Language Models
2024-03-10T12:43:27
2024-03-25T05:36:56
Minjie Zhu, Yichen Zhu, Xin Liu, Ning Liu, Zhiyuan Xu, Chaomin Shen, Yaxin Peng, Zhicai Ou, Feifei Feng, Jian Tang
cs.CV
cs.CV, cs.CL
Multimodal Large Language Models (MLLMs) have showcased impressive skills in tasks related to visual understanding and reasoning. Yet, their widespread application faces obstacles due to the high computational demands during both the training and inference phases, restricting their use to a limited audience within the research and user communities. In this paper, we investigate the design aspects of Multimodal Small Language Models (MSLMs) and propose an efficient multimodal assistant named Mipha, which is designed to create synergy among various aspects: visual representation, language models, and optimization strategies. We show that without increasing the volume of training data, our Mipha-3B outperforms the state-of-the-art large MLLMs, especially LLaVA-1.5-13B, on multiple benchmarks. Through detailed discussion, we provide insights and guidelines for developing strong MSLMs that rival the capabilities of MLLMs. Our code is available at https://github.com/zhuyiche/llava-phi.
[ -0.38107240200042725, -0.5344198942184448, 0.5832132697105408, 0.265956312417984, -0.2524014413356781, 0.031137296929955482, -0.22694669663906097, -0.48637470602989197, 0.3217703700065613, 0.29326504468917847, -0.5628476738929749, -0.09651611000299454, -0.43675342202186584, 0.05509844049811363, 0.08165941387414932, 0.39344069361686707, -0.03003905713558197, 0.3030562698841095, -0.12397892773151398, -0.28135162591934204, -0.4299526512622833, -0.0751628652215004, -0.389093279838562, -0.08537280559539795, 1.0854085683822632, 0.6172676682472229, 0.5462167859077454, 0.23292012512683868, 0.5754191279411316, 0.34430062770843506, 0.04830070212483406, 0.786109983921051, -0.42950141429901123, 0.2954806089401245, 0.1107233464717865, -0.19477921724319458, -0.6869426369667053, -0.4513736069202423, 0.6588897705078125, 0.5755042433738708, 0.06332122534513474, 0.05002082511782646, 0.34134483337402344, 0.5985857844352722, -0.8703050017356873, 0.28853434324264526, -0.4190892279148102, -0.07221860438585281, -0.38265979290008545, -0.15365929901599884, -0.683131992816925, 0.1583131104707718, -0.07255485653877258, -0.8068649768829346, -0.3971329927444458, 0.4341122806072235, 0.6218060851097107, 0.07288537919521332, -0.4264002740383148, -0.10959968715906143, -0.4898475408554077, 1.0928722620010376, -0.44839799404144287, 0.6797458529472351, 0.16657088696956635, 0.44049471616744995, -0.05046255886554718, -0.48981422185897827, -0.6530746221542358, -0.38853105902671814, -0.16212183237075806, 0.006511557847261429, -0.220851868391037, 0.2213919758796692, 0.09182828664779663, 0.2704870402812958, -0.6886207461357117, 0.1280859410762787, -0.603975772857666, -0.2489635944366455, 0.3407703936100006, 0.2720409631729126, 0.4235972762107849, -0.21900399029254913, -0.4086277484893799, -0.012665590271353722, -0.5716255307197571, -0.10021605342626572, 0.13058921694755554, 0.44008803367614746, -0.18243944644927979, 0.7161411643028259, -0.4424896836280823, 0.7413830161094666, -0.3825860321521759, -0.5889968872070312, 0.4264823794364929, -0.4257396459579468, -0.45610982179641724, -0.5362299680709839, 0.7732076048851013, 0.42803898453712463, 0.1682794988155365, 0.03489845246076584, -0.1862257719039917, -0.034598130732774734, 0.28102362155914307, -0.738237202167511, -0.08679758757352829, 0.12671829760074615, -0.6906275153160095, -0.17724469304084778, -0.40436795353889465, -0.6266618967056274, -0.434598445892334, -0.3842480778694153, 0.5208085775375366, -0.5010935068130493, -0.08500076085329056, -0.05759546533226967, 0.09625312685966492, 0.10585445910692215, 0.6250749826431274, -1.0001376867294312, -0.034294337034225464, 0.2865087687969208, 0.8382744789123535, -0.21195119619369507, -0.5907992720603943, -0.5239514708518982, 0.17036940157413483, -0.3555747866630554, 0.7534969449043274, -0.5594711899757385, -0.2112414687871933, -0.23878681659698486, -0.0787552148103714, -0.1750263273715973, -0.2048826813697815, 0.3421227037906647, -0.30969205498695374, 0.1060728058218956, -0.019151009619235992, -0.09748974442481995, -0.15152966976165771, 0.28172123432159424, -0.6594493389129639, 0.6164151430130005, -0.186054989695549, -0.7497998476028442, 0.1326911896467209, -0.7864537835121155, -0.35220783948898315, -0.00454707071185112, -0.23857136070728302, -0.26853418350219727, 0.18363726139068604, 0.49880486726760864, 0.4679935574531555, -0.32576388120651245, -0.06598403304815292, -0.580899178981781, -0.37340202927589417, 0.0753304660320282, -0.3342624008655548, 0.7462069988250732, 0.5431610345840454, 0.16697101294994354, 0.38790690898895264, -0.7111051678657532, 0.033202506601810455, 0.13777075707912445, -0.4853406250476837, -0.23463770747184753, -0.1697355955839157, 0.22185909748077393, 0.14894214272499084, 0.25811806321144104, -0.3402725160121918, 0.30762240290641785, -0.13681210577487946, 0.24452196061611176, 0.7940953373908997, -0.26392143964767456, 0.7365711331367493, -0.1921250820159912, 0.56634122133255, -0.22161392867565155, 0.4541194438934326, -0.6060834527015686, -0.6329002380371094, -0.8399694561958313, -0.8717886209487915, 0.15567250549793243, 0.3764680325984955, -1.2474663257598877, -0.20395414531230927, -0.13405612111091614, -0.42163020372390747, -0.8346092700958252, 0.6038628220558167, 0.3364938199520111, 0.2069709748029709, 0.35618042945861816, -0.03684845194220543, -0.5284844040870667, -1.3890491724014282, -0.08284638077020645, 0.050417181104421616, -0.16151343286037445, 0.2968445122241974, 0.39079123735427856, -0.3223116099834442, 0.5286585092544556, -0.27801454067230225, -0.27139467000961304, -0.5921899080276489, -0.040909022092819214, -0.18371611833572388, 0.4528321325778961, 0.5561702251434326, -0.5873885750770569, -0.3374418020248413, 0.2080686241388321, -0.8797827363014221, -0.1371183544397354, -0.07450516521930695, -0.1578427255153656, 0.032556820660829544, 0.26292654871940613, -0.6617594361305237, 0.06718595325946808, 0.6816921830177307, -0.049057427793741226, 0.45294344425201416, -0.2484866976737976, 0.08294908702373505, -0.9466692209243774, 0.12621799111366272, -0.14614121615886688, -0.0006830087513662875, -0.8890455961227417, 0.3681162893772125, 0.3926595449447632, -0.2828214168548584, -0.520206093788147, 0.6995639204978943, -0.7097969055175781, -0.08593571186065674, -0.26067060232162476, 0.11085975915193558, 0.3097248077392578, 0.9620700478553772, -0.09161149710416794, 0.5829614400863647, 0.5404797196388245, -0.2665885388851166, 0.4256388545036316, 0.0641959086060524, -0.414829820394516, 0.5679065585136414, -0.5242084860801697, 0.01611858420073986, -0.12695567309856415, 0.06360801309347153, -0.9217920303344727, -0.35864943265914917, 0.24808184802532196, -0.18458914756774902, 0.24582476913928986, 0.04628320038318634, -0.7387112975120544, -0.2954722046852112, -0.5474334955215454, 0.3269733190536499, 0.14048081636428833, -0.5213289260864258, 0.9403638243675232, 0.3810391128063202, -0.3413136601448059, -0.5976873636245728, -0.8296753764152527, 0.11931812763214111, -0.14201070368289948, -0.8562571406364441, 0.004198509268462658, -0.15238088369369507, -0.20462805032730103, -0.45686882734298706, 0.2201608419418335, 0.06737618893384933, -0.1118200421333313, 0.091929592192173, 0.42985647916793823, -0.32881101965904236, 0.48208409547805786, 0.03768482804298401, -0.10767969489097595, -0.38771599531173706, 0.10792605578899384, 0.33912530541419983, -0.18215134739875793, -0.5424756407737732, -0.5078024864196777, 0.5701587796211243, 0.9311268925666809, -0.4316956698894501, 0.4733203649520874, 0.5148484110832214, -0.1976429969072342, -0.02635718137025833, -0.4540325105190277, -0.04875825718045235, -0.4724288284778595, 0.36892813444137573, -0.610447108745575, -0.6557797789573669, 0.09258577972650528, 0.15718047320842743, 0.17501325905323029, 0.01865548826754093, 0.7959597110748291, -0.3835535943508148, 1.1000463962554932, 0.6314237117767334, 0.1119171679019928, 0.706151008605957, -0.02572050504386425, 0.06202606111764908, -0.9620961546897888, -0.31442010402679443, -0.15276622772216797, -0.3679644465446472, -0.36483120918273926, -0.7226330041885376, 0.5180451273918152, -0.1631603240966797, 0.05480792373418808, 0.18202006816864014, -0.14241981506347656, 0.26184648275375366, 0.5756648778915405, 0.11889483779668808, 0.32006189227104187, 0.15824846923351288, -0.2904801666736603, -0.07397536933422089, -0.8415198922157288, -0.4616623520851135, 0.9162839651107788, 0.5513187646865845, 1.0644416809082031, 0.25011277198791504, 0.41574811935424805, -0.033007267862558365, 0.2323523461818695, -0.7204297780990601, 0.644619882106781, -0.027564818039536476, -0.48479005694389343, -0.19715332984924316, -0.30768832564353943, -0.7445962429046631, 1.016456127166748, -0.5314393639564514, -0.7330436110496521, 0.24259650707244873, 0.36130616068840027, -0.31789150834083557, 0.17850665748119354, -1.1341532468795776, 1.070665717124939, -0.417214035987854, -0.6461068391799927, -0.3107858896255493, -0.5190267562866211, 0.5807567238807678, 0.030794350430369377, 0.427651971578598, -0.08171027153730392, -0.15462927520275116, 0.34016621112823486, -0.31234022974967957, 0.6538336873054504, -0.16920381784439087, -0.12955814599990845, 0.148734450340271, 0.05694602429866791, 0.3171205222606659, -0.2607303559780121, 0.07078059762716293, -0.19240309298038483, -0.32003477215766907, -0.6199743747711182, -0.570447564125061, 0.7153745889663696, -0.34808671474456787, -0.22043484449386597, 0.008674466982483864, -0.6995701789855957, -0.3657717704772949, 0.31485819816589355, -0.1024974137544632, 0.5682709217071533, 0.011529533192515373, 0.34700292348861694, 0.5165554285049438, -0.40232929587364197, 0.33262354135513306, 0.26945140957832336, -0.4800316393375397, -0.3881828188896179, 1.075260877609253, -0.024202153086662292, 0.3955322206020355, 0.49118292331695557, 0.022231394425034523, -0.04872506856918335, -0.41963499784469604, -0.8348356485366821, 0.159047931432724, -0.7607806921005249, -0.08081331104040146, -0.6551743149757385, 0.19919337332248688, -0.290664941072464, -0.09299427270889282, -0.3953336179256439, -0.40010643005371094, -0.10981469601392746, 0.20159506797790527, 0.008001339621841908, 0.5232834815979004, 0.050005264580249786, 0.3343232572078705, -0.5737341046333313, 0.6141133308410645, 0.6676367521286011, 0.21417762339115143, 0.10455333441495895, -0.2834651470184326, -0.31244730949401855, -0.19089457392692566, -0.2970065772533417, -0.8173794746398926, 0.16859586536884308, 0.03440321981906891, 0.6784843802452087, 0.519402801990509, -0.4784241020679474, 0.669333815574646, -0.45606717467308044, 0.5377288460731506, 0.350495845079422, -0.5620969533920288, 0.4659029245376587, -0.3192066252231598, 0.6489163041114807, 0.35227251052856445, -0.008525736629962921, -0.24823230504989624, -0.32301732897758484, -0.2553318440914154, -0.5052759647369385, 0.5986475348472595, 0.42012819647789, -0.0659964457154274, 0.4180621802806854, -0.4303288757801056, -0.08272410184144974, 0.22550541162490845, -0.7497003078460693, -0.06853718310594559, -0.01423546764999628, -0.19080369174480438, 0.06402841210365295, -0.4042954742908478, 0.08375752717256546, -0.23803794384002686, 0.5563466548919678, -0.3560747504234314, 0.13976366817951202, -0.20145118236541748, -0.376770943403244, 0.17621052265167236, 0.3717402517795563, 0.9642965197563171, 0.5308969020843506, -0.036825940012931824, 0.24483069777488708, 0.33709248900413513, -0.18034487962722778, -0.1359228789806366, 0.05937504023313522, 0.1004147008061409, 0.0038306242786347866, 0.6078468561172485, 0.7424522638320923, 0.4547806978225708, -0.9599325060844421, 0.4705035090446472, -0.09397429972887039, 0.09664664417505264, 0.28617095947265625, -0.12073344737291336, 0.3766947090625763, 0.3439185619354248, 0.19538216292858124, 0.13563722372055054, 0.24772872030735016, -0.6798393130302429, -0.18376567959785461, 0.4948987662792206, 0.04970809444785118, -0.06641893833875656, 0.4542732834815979, 0.4563363492488861, -0.04735485836863518, 0.24055717885494232, -0.045445121824741364, -0.28855329751968384, 0.15691551566123962, 0.2104085087776184, 0.4526469111442566, -0.26204541325569153, -0.08695369958877563, 0.12961284816265106, 0.5594848394393921, 0.26963967084884644, 0.36921387910842896, -0.3208658695220947, -0.585790753364563, -0.3469553291797638, -0.5686399340629578, -0.38979363441467285, -0.07534760236740112, -0.18496228754520416, 0.39931631088256836, -0.25101205706596375, 0.00833374448120594, 0.21002526581287384, -0.20164069533348083, -0.5579301118850708, 0.029524940997362137, 0.48987245559692383, 0.749661922454834, -0.466686487197876, 1.091604232788086, 0.5550833344459534, -0.3877767026424408, -0.4143981337547302, -0.5159574747085571, 0.23197120428085327, -0.8960533142089844, 0.4846267104148865, 0.06736313551664352, -0.5359371304512024, -0.5999609231948853, -0.3115185499191284, -0.5052347779273987, 1.0623693466186523, 0.5080127120018005, -0.7128466963768005, -0.23700083792209625, -0.1463598608970642, 0.43232589960098267, -0.5128722786903381, 0.19495145976543427, 0.26741278171539307, 0.4950403869152069, -0.03698944300413132, -1.1465855836868286, -0.30608221888542175, -0.4682798683643341, 0.21935351192951202, -0.11312279850244522, -0.8395040035247803, 0.9991219639778137, -0.4069918990135193, -0.08085307478904724, 0.30750998854637146, 0.504085898399353, 0.4909006655216217, 0.2685830891132355, 0.4942125380039215, 0.22725564241409302, 0.5229077935218811, 0.12807221710681915, 1.022895097732544, -0.08260782808065414, 0.10077539086341858, 1.084075689315796, -0.14978118240833282, 0.9078370332717896, 0.8923146724700928, 0.06549305468797684, 0.2851097285747528, 0.3774878978729248, 0.24103622138500214, 0.5306984186172485, -0.16788402199745178, -0.11410658061504364, -0.33870527148246765, 0.09906487166881561, -0.24530789256095886, 0.5907857418060303, 0.43706321716308594, -0.4948365390300751, -0.1784864366054535, 0.38570722937583923, -0.22399526834487915, -0.11773592978715897, -0.2421371340751648, 0.5959436297416687, 0.1235707551240921, -0.38106444478034973, 0.502724289894104, 0.013529575429856777, 0.6287550926208496, -0.6946666240692139, 0.0034762630239129066, -0.33505797386169434, 0.16898253560066223, 0.005736908875405788, -0.5469481945037842, -0.02241552248597145, -0.04415947571396828, 0.08695726096630096, -0.4293845295906067, 0.9570251107215881, -0.42653366923332214, -0.5261967182159424, 0.2912798821926117, 0.6396167874336243, 0.052068281918764114, 0.14616243541240692, -0.6756616830825806, 0.6087367534637451, -0.04061375558376312, -0.21399226784706116, 0.19905030727386475, 0.21887919306755066, 0.10474777966737747, 1.0555936098098755, 0.5102155208587646, -0.028236592188477516, 0.037493351846933365, 0.14595812559127808, 0.9145662188529968, -0.21744371950626373, -0.47146835923194885, -0.7546886205673218, 0.5774440169334412, -0.1997658908367157, -0.2165711671113968, 0.6619603633880615, 0.5640084147453308, 0.5447583794593811, -0.2736460566520691, 0.5239329934120178, 0.12587395310401917, 0.42367374897003174, -0.80759596824646, 0.5942589640617371, -1.1181977987289429, 0.1472361981868744, -0.3669830560684204, -0.7245884537696838, -0.4019005000591278, 0.7842695116996765, -0.04373787343502045, 0.03142699971795082, 0.5106881260871887, 0.9862352609634399, -0.3086259961128235, -0.026289265602827072, 0.655177116394043, -0.01409992016851902, 0.2067926973104477, 0.7485728859901428, 1.0945791006088257, -0.1630571335554123, 0.6479371786117554, -0.3054661750793457, -0.21598085761070251, -0.623655378818512, -0.5512071847915649, -0.9021350741386414, -0.47903597354888916, 0.17985454201698303, 0.16822288930416107, -0.07283806055784225, 0.919708788394928, 0.9797991514205933, -0.4481397569179535, -0.28884828090667725, 0.5364571213722229, 0.17882519960403442, -0.08631312847137451, -0.12174225598573685, 0.08053377270698547, -0.20800438523292542, -0.9008507132530212, 0.6392667889595032, 0.6154214143753052, 0.06959005445241928, -0.6876946687698364, -0.27831825613975525, -0.2350568175315857, 0.0971749797463417, 1.056504249572754, 0.18264184892177582, -0.9375039935112, -0.1820828765630722, -0.02624908648431301, -0.4115208387374878, 0.01587609574198723, 0.8068711757659912, -0.4057486355304718, 0.880088746547699, 0.5232843160629272, 0.4942385256290436, 0.35512396693229675, -0.4025267958641052, 0.5297105312347412, -0.6301387548446655, 0.41335898637771606, -0.0790858045220375, 0.8883773684501648, 0.43061792850494385, 0.07143430411815643, 0.37839406728744507, -0.08334774523973465, -0.1740705817937851, -0.9139159321784973, 0.2671593427658081, -1.2331793308258057, -0.3656139671802521, 0.967684805393219, 0.14424338936805725, -0.1643638163805008, 0.24040886759757996, -0.7223966121673584, -0.2296505570411682, -0.36427924036979675, 0.49995550513267517, 0.5498049259185791, -0.3215213716030121, -0.4980534613132477, -0.7697029709815979, 0.17654909193515778, 0.4250829517841339, -0.8388808965682983, 0.058486875146627426, 0.505695104598999, -0.0290030799806118, 0.3341653048992157, 0.8932101130485535, 0.10662955045700073, 0.4092414379119873, 0.11503145098686218, 0.07955388724803925, -0.10559336841106415, -0.7095781564712524, -0.16869482398033142, 0.292011022567749, 0.16909512877464294, -0.4302707016468048 ]
http://arxiv.org/abs/2403.06149v2
http://arxiv.org/pdf/2403.06149v2
Can Large Language Models Automatically Score Proficiency of Written Essays?
2024-03-10T09:39:00
2024-04-16T00:24:55
Watheq Mansour, Salam Albatarni, Sohaila Eltanbouly, Tamer Elsayed
cs.CL
cs.CL, cs.AI
Although several methods were proposed to address the problem of automated essay scoring (AES) in the last 50 years, there is still much to desire in terms of effectiveness. Large Language Models (LLMs) are transformer-based models that demonstrate extraordinary capabilities on various tasks. In this paper, we test the ability of LLMs, given their powerful linguistic knowledge, to analyze and effectively score written essays. We experimented with two popular LLMs, namely ChatGPT and Llama. We aim to check if these models can do this task and, if so, how their performance is positioned among the state-of-the-art (SOTA) models across two levels, holistically and per individual writing trait. We utilized prompt-engineering tactics in designing four different prompts to bring their maximum potential to this task. Our experiments conducted on the ASAP dataset revealed several interesting observations. First, choosing the right prompt depends highly on the model and nature of the task. Second, the two LLMs exhibited comparable average performance in AES, with a slight advantage for ChatGPT. Finally, despite the performance gap between the two LLMs and SOTA models in terms of predictions, they provide feedback to enhance the quality of the essays, which can potentially help both teachers and students.
[ -0.26526620984077454, -0.9307525753974915, 0.8715066909790039, 0.4644671082496643, 0.04077601432800293, 0.27837446331977844, -0.3595285713672638, -0.6733482480049133, 0.10529264062643051, 0.4551922082901001, -0.3407982289791107, -0.5431777238845825, -0.6053735613822937, 0.5481477379798889, -0.4893214702606201, 0.9563729763031006, -0.31060758233070374, 0.11821763217449188, -0.41595977544784546, 0.13599514961242676, -0.44486409425735474, -0.3400261700153351, -0.9092335104942322, -0.08202998340129852, 0.7161111831665039, 0.29402172565460205, 0.2734719216823578, 0.4723338782787323, 0.7831515073776245, 0.32336488366127014, -0.04000331461429596, 0.13560496270656586, -0.29742446541786194, 0.2945570945739746, -0.008315124548971653, -0.6205652952194214, -0.39925408363342285, 0.1472354680299759, 0.8136746287345886, 0.5382809638977051, 0.08839141577482224, 0.19979573786258698, 0.413224458694458, 0.1808304339647293, -0.2110881358385086, 0.13439276814460754, -0.5891538858413696, -0.015498265624046326, -0.037616755813360214, -0.04264789819717407, -0.7200605273246765, -0.49022001028060913, -0.035559821873903275, -0.36073094606399536, -0.23261086642742157, 0.2397344559431076, 0.7601229548454285, 0.22387444972991943, -0.43830737471580505, -0.4097691774368286, -0.561257004737854, 0.8602214455604553, -0.7521538138389587, 0.03693654015660286, -0.03045150265097618, 0.31585222482681274, -0.14335516095161438, -0.5771493315696716, -0.6192700266838074, -0.661897599697113, -0.03781058266758919, 0.09726006537675858, 0.03566296026110649, 0.1326531022787094, 0.37321460247039795, 0.44174888730049133, -0.5789692997932434, 0.5895135402679443, -0.22145545482635498, -0.11264444887638092, 0.6398406028747559, 0.38746410608291626, 0.4097263813018799, -0.23964768648147583, -0.27417635917663574, 0.029666664078831673, -0.6806933283805847, 0.4847441613674164, 0.451019823551178, 0.29359114170074463, 0.027851758524775505, 0.8522723913192749, 0.1796812266111374, 0.48514890670776367, -0.0861557275056839, -0.31244611740112305, -0.20880216360092163, 0.06548479199409485, 0.013670905493199825, -0.26137053966522217, 0.9289063811302185, 0.4061669111251831, 0.522382378578186, -0.012235090136528015, -0.5183004140853882, 0.054139379411935806, 0.10507917404174805, -0.728413462638855, 0.0431288480758667, -0.021733632311224937, -0.37536782026290894, -0.38497158885002136, -0.16909395158290863, -0.7806932330131531, -0.48811179399490356, -0.40280410647392273, 0.6651002168655396, -0.2127654105424881, 0.03816965967416763, -0.08235841989517212, 0.08939109742641449, 0.44003382325172424, 0.2950877249240875, -0.7575624585151672, 0.36314964294433594, 0.8423870205879211, 0.9121063351631165, -0.5143749117851257, -0.5852324366569519, -0.43940281867980957, -0.3290070593357086, -0.6091616749763489, 1.0729187726974487, -0.8489406108856201, -0.45291587710380554, 0.23103025555610657, -0.14811241626739502, -0.3505927324295044, -0.34430238604545593, 0.6885117888450623, -0.5482735633850098, 0.1996138095855713, -0.37050309777259827, -0.8616930842399597, -0.036469925194978714, 0.34115299582481384, -0.5784844756126404, 1.1463521718978882, -0.16162067651748657, -0.6177781224250793, 0.049250341951847076, -0.6145507097244263, -0.42327433824539185, -0.11941538006067276, -0.1303422600030899, -0.25511637330055237, 0.10967990756034851, 0.050815824419260025, 0.7970073819160461, -0.47021856904029846, 0.1964597851037979, -0.14737141132354736, -0.5097358226776123, 0.5254233479499817, -0.5134788751602173, 0.44442346692085266, -0.09622109681367874, -0.25461545586586, -0.08676730841398239, -0.7365026473999023, -0.027752675116062164, 0.003095871303230524, -0.6166691184043884, -0.08420304954051971, -0.10018850862979889, -0.07604465633630753, 0.142181396484375, 0.2586580216884613, -0.5776727199554443, 0.3854983448982239, -0.3791569471359253, 0.3909999430179596, 0.9198616147041321, 0.06425812095403671, 0.08518150448799133, -0.5469198226928711, 0.7815341353416443, -0.4456598460674286, -0.22532311081886292, -0.42524445056915283, -0.6095464825630188, -0.7616560459136963, -0.44508418440818787, 0.383739173412323, 0.6509953141212463, -0.3385780453681946, 0.4297367334365845, -0.18051661550998688, -0.693634569644928, -0.5170121788978577, 0.012876499444246292, 0.2632902264595032, 0.4983415901660919, 0.17491665482521057, -0.01043867040425539, -0.2753070592880249, -0.6803962588310242, -0.4557952582836151, -0.1711668223142624, -0.10993890464305878, 0.3416983187198639, 0.5812161564826965, 0.09349106252193451, 0.8625509738922119, -0.5713857412338257, -0.04525427520275116, -0.5034911036491394, 0.2974204123020172, 0.2392512708902359, 0.19943349063396454, 0.4817892909049988, -0.3627307415008545, -0.7891251444816589, -0.1729663759469986, -0.6098198890686035, -0.5991986989974976, -0.14072631299495697, 0.04792507365345955, 0.33614587783813477, 0.5730805993080139, -0.7421531081199646, 0.15655261278152466, 0.5271291732788086, -0.25864753127098083, 0.870631992816925, -0.07750880718231201, 0.4606224596500397, -0.9797109365463257, 0.16563722491264343, 0.12752659618854523, -0.13526111841201782, -0.49817734956741333, 0.11520293354988098, 0.02118459902703762, -0.08054496347904205, -0.12978427112102509, 0.6239106059074402, -0.0870063528418541, 0.06730633974075317, -0.36066681146621704, -0.11589895188808441, 0.14735861122608185, 0.5067970156669617, -0.1327064037322998, 0.8491562604904175, 0.4473173916339874, -0.4266636371612549, 0.17701008915901184, -0.06951245665550232, -0.4382875859737396, 0.5478708744049072, -0.8172805309295654, 0.12457764148712158, -0.17565438151359558, 0.27813318371772766, -1.5772870779037476, -0.3235372304916382, -0.3614353835582733, -0.4014297127723694, 0.2957209348678589, 0.20920324325561523, -0.40654194355010986, -0.23674514889717102, -0.38477593660354614, -0.006291396450251341, 0.5060839653015137, -0.4167698621749878, 0.8724644780158997, 0.18708856403827667, -0.5725597143173218, -0.3816089630126953, -0.4755609333515167, 0.18977387249469757, -0.29028722643852234, -0.6630178093910217, 0.1587989628314972, -0.19437983632087708, -0.3855059742927551, -0.24320147931575775, 0.2983703017234802, 0.05009785667061806, 0.0762050524353981, 0.3415520489215851, 0.5383408665657043, -0.38353368639945984, 0.3501684069633484, 0.0625830590724945, -0.03467355668544769, 0.17857518792152405, -0.163544163107872, 0.5275132656097412, 0.008005562238395214, -0.5079342126846313, -0.34706899523735046, 0.5677692294120789, 0.8538301587104797, -0.37255430221557617, 0.8795980215072632, 0.2513410449028015, -0.27862513065338135, -0.3953767418861389, -0.9400374293327332, -0.22270120680332184, -0.4391060471534729, 0.20475809276103973, -0.3854553699493408, -1.1141297817230225, 0.642672598361969, -0.0614020973443985, 0.39900004863739014, 0.625660240650177, 0.4536094665527344, -0.2691258192062378, 1.0668503046035767, 0.6161519289016724, -0.19382765889167786, 0.1376965492963791, -0.18218891322612762, 0.524159848690033, -0.6454581618309021, -0.09045732021331787, -0.8356818556785583, -0.25666701793670654, -0.6194436550140381, -0.14083045721054077, 0.5649704337120056, -0.2223869264125824, -0.201178640127182, 0.02207352966070175, -0.28622207045555115, 0.6186354756355286, 0.2976802587509155, -0.2572108507156372, 0.3100672960281372, -0.15006771683692932, -0.35701489448547363, -0.10586642473936081, -0.4111967086791992, -0.9274625778198242, 1.0772578716278076, 0.539635419845581, 0.567101240158081, -0.2549745738506317, 0.3980333209037781, 0.24078823626041412, 0.31654104590415955, -0.6827528476715088, 0.8955284953117371, -0.23767930269241333, -0.38443368673324585, -0.37726953625679016, -0.22144921123981476, -0.5735834836959839, 0.039125919342041016, -0.18464812636375427, -0.6472282409667969, -0.0958549752831459, -0.05434727296233177, -0.5395071506500244, 0.20481964945793152, -0.6120643615722656, 0.7480336427688599, -0.08652927726507187, -0.3844969570636749, -0.05262380465865135, -0.32785752415657043, 0.22519026696681976, -0.3475172519683838, 0.12892945110797882, -0.09098012000322342, -0.026040490716695786, 0.880079984664917, -0.04189300164580345, 0.940892219543457, 0.10158854722976685, -0.21058465540409088, 0.5429310202598572, 0.12282971292734146, 0.6569225788116455, -0.18816156685352325, -0.3970656991004944, 0.11050309240818024, -0.08384118229150772, -0.025046052411198616, -0.5996525287628174, 0.794008731842041, -0.8114418983459473, -0.7605717182159424, -0.2737876772880554, -0.25847339630126953, -0.20437400043010712, 0.04825419932603836, 0.2078516036272049, 0.43739399313926697, -0.22506177425384521, 0.14469541609287262, 0.6853099465370178, -0.2244657725095749, 0.5560889840126038, 0.6715096831321716, -0.20574787259101868, -0.1076209619641304, 0.7241260409355164, 0.3950785994529724, 0.10577449947595596, 0.4472495913505554, 0.3640671372413635, -0.3746374845504761, -0.4948919713497162, -0.39702820777893066, 0.3025739789009094, -0.9140567183494568, -0.07048872858285904, -0.908379852771759, -0.39931225776672363, -0.3644077479839325, -0.4863074719905853, -0.2337036430835724, -0.29705843329429626, -0.1909112185239792, -0.308925062417984, 0.24910441040992737, 0.783837080001831, 0.18287187814712524, 0.19356873631477356, -0.6891970634460449, 0.03697052225470543, 0.4098016321659088, 0.22333583235740662, 0.1463913470506668, -0.8253965377807617, 0.12174926698207855, -0.28247982263565063, -0.2550254166126251, -0.7218953371047974, 0.14696857333183289, 0.07553444802761078, 0.3212810158729553, 0.2867949903011322, -0.2537182569503784, 0.25383779406547546, -0.6269459128379822, 1.0682724714279175, -0.2302393764257431, -0.9112291932106018, 0.1957603543996811, -0.4586887061595917, 0.10457601398229599, 0.5446517467498779, 0.5291854739189148, -0.6566326022148132, -0.6406744122505188, -0.19873838126659393, -0.6415437459945679, 0.4205177426338196, -0.1757746934890747, 0.42387792468070984, 0.06495911628007889, 0.501383900642395, 0.3633507192134857, 0.08829652518033981, -0.8905181288719177, 0.25134944915771484, 0.1970129907131195, -0.6191555261611938, -0.14090029895305634, -0.4053865671157837, 0.27790188789367676, -0.049462027847766876, 0.6896269917488098, -0.06920753419399261, 0.04843739792704582, 0.08209913223981857, 0.19880375266075134, -0.057267315685749054, 0.27366456389427185, 0.4658137559890747, 0.5294499397277832, 0.28354763984680176, 0.08872778713703156, 0.49504217505455017, -0.5111071467399597, 0.30721279978752136, -0.09016601741313934, -0.21723999083042145, -0.18032656610012054, 0.715125322341919, 0.5654536485671997, 0.11575488746166229, -0.9000383615493774, 0.6540244221687317, -0.0357830636203289, -0.12247738242149353, -0.2773902416229248, 0.32271701097488403, 0.1626751869916916, 0.24977079033851624, 0.2731941044330597, -0.15196289122104645, -0.04530925303697586, -0.4748748540878296, -0.16866423189640045, 0.44938018918037415, -0.04233919456601143, -0.24840259552001953, 0.41473445296287537, 0.19944414496421814, -0.5232531428337097, 0.4101836681365967, -0.06981416046619415, -0.5710715651512146, 0.6940953731536865, 0.5158354640007019, 0.7881889343261719, -0.5296303033828735, 0.208274707198143, 0.28392353653907776, 0.3662349283695221, -0.218528613448143, 0.20261850953102112, 0.1793852001428604, -0.4506131112575531, -0.7445172667503357, -0.9759652614593506, -0.47343990206718445, 0.21869824826717377, -0.20021851360797882, 0.5159657597541809, -0.2883511781692505, -0.010931236669421196, 0.02141675353050232, 0.16586658358573914, -0.5358560085296631, 0.2830510139465332, -0.07053252309560776, 0.8943014740943909, -1.099790096282959, 0.34921541810035706, 0.7927829027175903, -0.139158234000206, -1.1169816255569458, 0.09916236251592636, -0.20716769993305206, -0.6109203696250916, 0.5597198605537415, 0.40151092410087585, -0.10942443460226059, 0.0808839350938797, -0.3657098412513733, -0.8336467742919922, 0.7548141479492188, 0.14543959498405457, -0.6120811104774475, -0.0481528677046299, 0.5185202360153198, 0.8606252074241638, -0.5004091858863831, 0.6581683158874512, 0.4903416335582733, 0.5791715979576111, 0.05132312700152397, -1.0158183574676514, -0.1914229393005371, -0.21871131658554077, -0.09550656378269196, -0.07155390083789825, -0.6716156005859375, 0.9425174593925476, 0.01429186761379242, -0.038790516555309296, 0.06425178050994873, 0.5977973937988281, 0.17391666769981384, 0.34483638405799866, 0.5132989287376404, 0.4396568238735199, 0.7516220808029175, -0.006264118477702141, 0.9602401852607727, -0.2799610197544098, -0.03140240162611008, 0.5167691111564636, -0.5588407516479492, 1.007827877998352, 0.16977325081825256, -0.10853910446166992, 0.4790038466453552, 0.4789251685142517, -0.02729264833033085, 0.11611604690551758, 0.3377246558666229, -0.2736898362636566, -0.36891117691993713, -0.16041885316371918, 0.08976512402296066, 0.7817928791046143, 0.12811441719532013, -0.35788366198539734, 0.033801883459091187, 0.3238455355167389, 0.15381868183612823, 0.32146236300468445, -0.39175206422805786, 0.7580394148826599, 0.16662804782390594, -1.3015391826629639, 0.1842939853668213, 0.22861063480377197, 0.5634282827377319, -0.4835541546344757, -0.04728920757770538, -0.33179956674575806, 0.01568945311009884, -0.02663434110581875, -0.8714700937271118, 0.11932028084993362, 0.48294857144355774, -0.06634251028299332, -0.09462499618530273, 0.8165901303291321, -0.3012896180152893, -0.8068546652793884, 0.06566205620765686, 0.33622583746910095, 0.08268821239471436, 0.1251000165939331, -0.1394333839416504, 0.14161990582942963, -0.25777649879455566, -0.4459674656391144, 0.21114663779735565, 0.44228309392929077, -0.04547158256173134, 0.6139852404594421, 0.5201393365859985, 0.14384663105010986, -0.014690169133245945, -0.06531507521867752, 0.661611020565033, -0.36743631958961487, -0.5552206039428711, -1.0283509492874146, 0.40723147988319397, -0.12501218914985657, -0.35601192712783813, 0.8115925192832947, 0.47669488191604614, 0.47511059045791626, -0.0019047129899263382, 0.9113824367523193, 0.2967514097690582, 0.8970975875854492, -0.6456479430198669, 0.626621663570404, -0.40692150592803955, 0.27811500430107117, -0.3017856180667877, -1.117748737335205, -0.2603733539581299, 0.5599534511566162, -0.564598560333252, 0.10452209413051605, 0.8085273504257202, 0.9267516136169434, 0.18573714792728424, 0.2702387571334839, 0.316964328289032, 0.253781259059906, 0.47885021567344666, 0.5944227576255798, 1.165924310684204, -0.11250648647546768, 0.33476099371910095, 0.10653211176395416, -0.3879857659339905, -0.2294674962759018, -0.8892572522163391, -1.2276794910430908, -0.5792117118835449, -0.21340863406658173, 0.07465149462223053, 0.02981565333902836, 0.874366044998169, 0.058012474328279495, -0.5132958889007568, -0.10034886002540588, 0.1301933228969574, -0.03280061110854149, 0.08710961788892746, -0.19710059463977814, 0.43612292408943176, -0.38849079608917236, -0.7007520794868469, 0.2470119297504425, 0.41403862833976746, 0.03788653761148453, -0.4983011484146118, 0.2241116613149643, 0.18735429644584656, 0.7478018403053284, 0.394204318523407, -0.12369690835475922, -0.5446128845214844, -0.49385806918144226, 0.37986838817596436, -0.4545127749443054, -0.13438299298286438, 0.7316186428070068, -0.4246416687965393, -0.07728602737188339, 0.6270450949668884, 0.6994972229003906, -0.062273476272821426, -0.1276927888393402, 0.3166157007217407, -0.32671216130256653, -0.4112478792667389, 0.37353333830833435, 0.44696882367134094, 0.3413340747356415, -0.404414564371109, 0.0885777398943901, -0.04718002676963806, -1.0238908529281616, -0.80695641040802, -0.15793675184249878, -0.5831329226493835, -0.21138691902160645, 1.2820472717285156, -0.42922940850257874, -0.07852761447429657, 0.15504303574562073, -0.4516870379447937, 0.059242889285087585, -0.03851104527711868, 1.2520784139633179, 1.2033249139785767, 0.01989205926656723, -0.0024609710089862347, -0.6233786940574646, 0.4641791582107544, 0.5404648184776306, -0.8958452939987183, -0.000024024588128668256, 0.25991085171699524, 0.13711640238761902, 0.1751190572977066, 0.5335614085197449, 0.2268226444721222, 0.19861771166324615, -0.18867337703704834, -0.16876278817653656, 0.020803844556212425, -0.5629276037216187, -0.3233070373535156, 0.5480898022651672, 0.33252033591270447, 0.265445739030838 ]
http://arxiv.org/abs/2403.06139v1
http://arxiv.org/pdf/2403.06139v1
Fine-grainedly Synthesize Streaming Data Based On Large Language Models With Graph Structure Understanding For Data Sparsity
2024-03-10T08:59:04
2024-03-10T08:59:04
Xin Zhang, Linhai Zhang, Deyu Zhou, Guoqiang Xu
cs.CL
cs.CL, cs.AI
Due to the sparsity of user data, sentiment analysis on user reviews in e-commerce platforms often suffers from poor performance, especially when faced with extremely sparse user data or long-tail labels. Recently, the emergence of LLMs has introduced new solutions to such problems by leveraging graph structures to generate supplementary user profiles. However, previous approaches have not fully utilized the graph understanding capabilities of LLMs and have struggled to adapt to complex streaming data environments. In this work, we propose a fine-grained streaming data synthesis framework that categorizes sparse users into three categories: Mid-tail, Long-tail, and Extreme. Specifically, we design LLMs to comprehensively understand three key graph elements in streaming data, including Local-global Graph Understanding, Second-Order Relationship Extraction, and Product Attribute Understanding, which enables the generation of high-quality synthetic data to effectively address sparsity across different categories. Experimental results on three real datasets demonstrate significant performance improvements, with synthesized data contributing to MSE reductions of 45.85%, 3.16%, and 62.21%, respectively.
[ -0.7422162890434265, -0.9716972708702087, 0.3650781512260437, 0.054092466831207275, -0.13469643890857697, 0.41691112518310547, -0.11531835049390793, -0.4494416117668152, 0.7367977499961853, 0.5344705581665039, -0.7320830225944519, -0.7139937877655029, -0.21090386807918549, 0.03853771835565567, -0.6472037434577942, 1.3409911394119263, -0.014437406323850155, -0.32991495728492737, -0.013622925616800785, -0.11504215002059937, -0.11231043934822083, -0.6733731627464294, -0.5496757626533508, -0.06810422986745834, 0.8672032356262207, 0.43527230620384216, 0.8353005647659302, 0.4321742057800293, 0.20325669646263123, 0.31485486030578613, 0.06643066555261612, 0.567545473575592, -1.1070985794067383, 0.31784477829933167, -0.09663547575473785, -0.07755239307880402, -0.784540593624115, -0.24388855695724487, 0.542293906211853, 0.8164040446281433, 0.10739748924970627, 0.46047350764274597, 0.5999759435653687, 0.8108698725700378, -0.34937798976898193, 0.17749518156051636, -0.5993911623954773, 0.05451878905296326, -0.21240094304084778, -0.1476181447505951, -0.3260754346847534, -0.011047473177313805, -0.17457565665245056, -0.7188853621482849, 0.6266253590583801, 0.19654253125190735, 0.9235262274742126, 0.06291560083627701, -0.0448291152715683, -0.03965197131037712, -0.787677526473999, 0.46115386486053467, -0.551301121711731, 0.3908214867115021, 0.2258986234664917, 0.42726078629493713, -0.371322900056839, -0.8327263593673706, -0.4881693720817566, 0.2965528666973114, -0.08205149322748184, 0.13689909875392914, -0.39523643255233765, -0.001625875593163073, -0.14181160926818848, 0.2835383713245392, -0.7436253428459167, 0.046262893825769424, -0.2642940580844879, -0.15553246438503265, 0.8658673167228699, 0.46102121472358704, 0.01274816133081913, -0.2269035428762436, -0.2947717308998108, 0.07052399218082428, -0.6794864535331726, -0.020544830709695816, 0.6380029320716858, 0.7839387655258179, 0.04763631150126457, 0.6284136176109314, -0.37911325693130493, 0.584014892578125, 0.005979661829769611, 0.04184112697839737, 0.29284968972206116, -0.11818929016590118, -0.2583076059818268, -0.2608494758605957, 0.7299065589904785, 0.5548776388168335, 0.23294959962368011, -0.1968010812997818, -0.5040494203567505, 0.1275559514760971, 0.13107015192508698, -0.893878161907196, -0.09237971156835556, 0.3466167747974396, -0.692118227481842, -0.25809940695762634, 0.04274710640311241, -0.9045560956001282, -0.5208332538604736, -0.39671969413757324, 0.0916411504149437, 0.002747330581769347, -0.19327183067798615, 0.10620064288377762, 0.22753553092479706, -0.3730296790599823, 0.2630588710308075, -0.702028751373291, 0.7274001240730286, 0.8016027212142944, 0.8926703929901123, -0.2447158843278885, -0.3438512086868286, -0.7236824631690979, 0.27454280853271484, -0.1350286453962326, 0.8980133533477783, -0.38029876351356506, -0.1583339422941208, 0.040982846170663834, 0.007755982223898172, 0.21475869417190552, -0.502299427986145, 0.33363789319992065, -0.39364519715309143, -0.32751762866973877, -0.13109968602657318, -0.668512225151062, -0.13240081071853638, 0.2770143151283264, -0.7036713361740112, 1.0567445755004883, 0.3603079915046692, -0.5134137868881226, 0.15699976682662964, -0.22060318291187286, -0.4685222804546356, 0.28858569264411926, 0.14006061851978302, -0.3423576354980469, 0.35933154821395874, 0.21914207935333252, 0.8455976247787476, 0.023267723619937897, 0.24189238250255585, -0.7587834000587463, -0.5060774683952332, 0.6362963914871216, -0.34776511788368225, -0.041391897946596146, 0.6389747858047485, 0.26881763339042664, -0.05029363930225372, -0.9255406856536865, -0.0748523473739624, 0.09163901209831238, -0.1857941448688507, -0.12168583273887634, 0.5475433468818665, 0.6304078698158264, 0.07747110724449158, -0.20633742213249207, -0.25614258646965027, 0.13994565606117249, -0.46370482444763184, 0.7330912351608276, 0.7227293848991394, 0.07002008706331253, 0.16062340140342712, -0.152383953332901, 0.4162607789039612, -0.07666115462779999, 0.0666620209813118, 0.00022539234487339854, -0.2360215187072754, -0.7729073166847229, -0.13381457328796387, 0.06205713748931885, 0.17242023348808289, -0.4553166925907135, 0.4024488627910614, -0.6122565865516663, -0.02253602258861065, -0.45157957077026367, 0.5285601615905762, 0.09909269958734512, 0.34079742431640625, 0.29955509305000305, -0.4466603398323059, -0.4620511829853058, -0.8254963159561157, -0.14731240272521973, -0.07862645387649536, -0.28724217414855957, 0.4447628855705261, 0.1425684690475464, -0.4868270456790924, 0.9514700770378113, -0.8878346681594849, -0.5250439643859863, -0.4911663234233856, -0.04146084189414978, 0.19117681682109833, 0.22462308406829834, 0.39131960272789, -0.3737592101097107, -0.540992259979248, 0.0589711032807827, -0.19256024062633514, -0.2819451093673706, -0.24137471616268158, -0.3095075488090515, 0.12873747944831848, 0.2170170545578003, -0.5329145789146423, 0.21924112737178802, 0.5021755695343018, -0.19855009019374847, 0.046557579189538956, 0.253069132566452, -0.15128682553768158, -1.1610394716262817, -0.12431147694587708, 0.456739217042923, -0.5340455770492554, -0.7006686329841614, -0.23566481471061707, -0.4343629479408264, -0.28326505422592163, -0.275706946849823, 0.5102007389068604, -0.312846839427948, -0.36559250950813293, -0.21356721222400665, 0.4177172780036926, 0.1228625699877739, 0.5566098093986511, -0.05894971266388893, 0.4765291213989258, 0.2186182737350464, -0.3788187503814697, 0.07433877885341644, 0.1324440985918045, -0.2422841638326645, 0.3731892704963684, -0.6883042454719543, -0.0651685819029808, -0.10386059433221817, 0.25819385051727295, -1.4558196067810059, -0.6792985796928406, 0.26439300179481506, -0.4919666647911072, 0.33373063802719116, -0.6455110311508179, -0.6061335802078247, -0.312538206577301, -0.26871365308761597, 0.16632845997810364, 0.4978328049182892, -0.36516329646110535, 0.46413153409957886, 0.6546478271484375, -0.3456250727176666, -0.19935443997383118, -0.674403727054596, 0.15483245253562927, -0.22414082288742065, -0.9435379505157471, 0.3042636513710022, -0.04162014648318291, -0.11617782711982727, 0.0071434383280575275, -0.05391855165362358, -0.07145486027002335, -0.010447232984006405, 0.09288456290960312, 0.25124824047088623, -0.002092363778501749, 0.03197440505027771, 0.050880175083875656, -0.2339380979537964, -0.09819741547107697, -0.07201429456472397, 0.5217702388763428, -0.20605583488941193, -0.21298032999038696, -0.35637274384498596, 0.30147600173950195, 0.3724258244037628, 0.306767076253891, 0.33124908804893494, 0.6874210834503174, -0.16177880764007568, -0.7859976887702942, -0.4902012050151825, -0.1502787470817566, -0.501610517501831, 0.4439193606376648, -0.32750144600868225, -1.0596824884414673, 0.7263560891151428, 0.09306240826845169, -0.12811675667762756, 0.10800515860319138, 0.6514624357223511, -0.38515999913215637, 1.3477816581726074, 0.13536830246448517, -0.07841001451015472, 0.37373843789100647, -0.27083465456962585, 0.453823983669281, -0.4873807430267334, -0.02047671377658844, -0.3292786478996277, -0.6373379230499268, -0.663956880569458, -0.24537824094295502, 0.40552160143852234, 0.06724528968334198, -0.14691725373268127, -0.01203009020537138, -0.4913720190525055, 0.5271711349487305, 0.035110656172037125, 0.20210932195186615, 0.10852762311697006, 0.623329222202301, 0.46234437823295593, 0.033868446946144104, -0.3512144982814789, -0.5754343867301941, 0.7835094928741455, 0.4479752779006958, 1.0171916484832764, 0.022040072828531265, 0.5001100897789001, 0.613278865814209, 0.08566813915967941, -0.9859749674797058, 0.46420323848724365, -0.35556894540786743, -0.239455446600914, 0.1113826259970665, -0.511466920375824, -1.0142625570297241, 0.3742219805717468, -0.2815820872783661, -0.684388279914856, -0.11952632665634155, 0.39352500438690186, -0.2949780523777008, 0.15192370116710663, -0.8508375883102417, 0.6679544448852539, -0.06317625939846039, -0.7406395673751831, -0.00649278936907649, -0.5668582320213318, 0.3284848630428314, 0.14550736546516418, 0.45885834097862244, -0.365263968706131, 0.11236687004566193, 0.5301162600517273, -0.7724612951278687, 0.9355341792106628, -0.16936597228050232, 0.1979215145111084, 0.492341548204422, 0.466318815946579, 0.6518616080284119, 0.28316712379455566, 0.2612559497356415, 0.14159685373306274, -0.1500551700592041, -0.3847213089466095, -0.5868995189666748, 0.9813457727432251, -0.7534684538841248, -0.44533079862594604, -0.06605561077594757, -0.43315351009368896, -0.6380591988563538, -0.02681753970682621, -0.19358739256858826, 0.34272345900535583, -0.09631530195474625, 0.11519252508878708, 0.42023587226867676, 0.11482948064804077, 0.2842366099357605, 0.3190157115459442, -0.363042414188385, -0.5879271030426025, 1.1048774719238281, 0.2870877683162689, 0.06519320607185364, 0.06863130629062653, 0.030084948986768723, -0.24257376790046692, -0.688957154750824, -0.5713010430335999, 0.2772468328475952, -0.5424257516860962, -0.37691730260849, -0.6025772094726562, -0.24312350153923035, -0.18080951273441315, -0.37549614906311035, -0.4083850681781769, -0.386781245470047, -0.5200036764144897, -0.2945476174354553, 0.3870476186275482, 0.8244082927703857, 0.2372024655342102, 0.4602280855178833, -1.0631396770477295, 0.2803988754749298, -0.027810441330075264, 0.5713921189308167, 0.27981558442115784, -0.3173011243343353, -0.4669053554534912, 0.03751645237207413, -0.3879425525665283, -0.5885414481163025, 0.7651676535606384, 0.12079020589590073, 0.2736700177192688, 0.48775994777679443, -0.242209792137146, 1.0937962532043457, -0.3723635971546173, 1.0206845998764038, 0.21621088683605194, -0.9166994094848633, 0.2315385639667511, -0.294859915971756, -0.2317640781402588, 0.4477119743824005, 0.3187856376171112, -0.6017853021621704, -0.4228089153766632, -0.22485554218292236, -1.1195223331451416, 0.6725335717201233, 0.3467097580432892, 0.4940657317638397, 0.08226943016052246, 0.2917681932449341, 0.41498079895973206, 0.11074743419885635, -0.7065345644950867, -0.1454586237668991, -0.22725428640842438, -0.29044774174690247, -0.17041656374931335, -0.3009747862815857, 0.05728205293416977, -0.23619523644447327, 0.6026989817619324, -0.3226219117641449, -0.16115841269493103, -0.028035752475261688, -0.0077666318975389, -0.17643265426158905, 0.25310686230659485, -0.03774037957191467, 0.6263269782066345, -0.2157166451215744, 0.26167136430740356, -0.2368788868188858, -0.3590632379055023, -0.07301728427410126, 0.07162849605083466, -0.3466182053089142, -0.031154166907072067, 0.13060860335826874, 0.8191239237785339, 0.011252112686634064, -0.6116454005241394, 0.3861122727394104, 0.058180227875709534, -0.09492027014493942, 0.03257755935192108, -0.0026049588341265917, 0.20217151939868927, 0.17161820828914642, 0.2448519468307495, 0.05431129410862923, 0.32903754711151123, -0.41986405849456787, -0.015683474019169807, 0.3446524441242218, -0.11146795749664307, -0.7048839926719666, 0.5936137437820435, 0.2630595266819, 0.005869803950190544, 0.5282043814659119, 0.0315094031393528, -0.15664923191070557, 0.0661870688199997, 0.5077618360519409, 0.8922595381736755, 0.12065204977989197, 0.3689276874065399, 0.24230578541755676, -0.15294909477233887, 0.09999515861272812, 0.3742377758026123, -0.08767005801200867, -0.6571356058120728, -0.4223484694957733, -1.0079493522644043, -0.061403948813676834, 0.16295699775218964, -0.6319645047187805, 0.383186012506485, -0.3190597593784332, -0.4321751594543457, 0.2703199088573456, -0.13750247657299042, -0.5564637184143066, -0.04725148528814316, 0.3724672794342041, 0.39285799860954285, -0.9999342560768127, 0.5374526977539062, 0.3062018156051636, -0.4995719790458679, -0.6575902700424194, -0.25282588601112366, 0.03993600606918335, -0.5525172352790833, 0.29036107659339905, 0.1058332696557045, -0.2907868027687073, -0.10280095785856247, -0.598325252532959, -0.8169366121292114, 0.7001782655715942, 0.26602932810783386, -0.7602748870849609, 0.26370179653167725, 0.3902190625667572, 0.8640642762184143, -0.4645916521549225, 0.01105499267578125, 0.4693063795566559, 0.1737658977508545, 0.4242360293865204, -0.3861142098903656, -0.12999273836612701, -0.29942426085472107, 0.31603917479515076, 0.13689984381198883, -0.7445798516273499, 0.7779420614242554, 0.1836957484483719, -0.40956535935401917, -0.1651414930820465, 0.5370328426361084, 0.19499742984771729, 0.5538796186447144, 0.3282983601093292, 0.5653350353240967, 0.620525598526001, 0.04145847260951996, 0.8730981349945068, -0.2425733357667923, 0.6079332828521729, 1.030583143234253, -0.6916747689247131, 0.9354828000068665, 0.5088638067245483, -0.4585629403591156, 0.4139177203178406, 0.8840224146842957, -0.008782058954238892, 0.2963748574256897, 0.40096697211265564, -0.06127846613526344, -0.4032651484012604, -0.13364052772521973, -0.1171516478061676, 0.11516047269105911, 0.6119143962860107, -0.34396615624427795, -0.22314338386058807, -0.1942392885684967, 0.1549813151359558, -0.001786916283890605, -0.5298163890838623, 0.8389011025428772, 0.06494562327861786, -0.45079001784324646, 0.9801849722862244, 0.011165647767484188, 0.42493000626564026, -0.5142542123794556, 0.10428474098443985, -0.5202401280403137, 0.26649782061576843, -0.7400688529014587, -1.1758421659469604, 0.35893741250038147, 0.3198614716529846, -0.20800745487213135, -0.28634247183799744, 0.7643320560455322, -0.3273821473121643, -0.6623953580856323, 0.22629982233047485, 0.5951105952262878, 0.366141140460968, 0.07904008775949478, -0.6214366555213928, 0.3266724646091461, -0.023700326681137085, -0.6139475107192993, 0.5394271612167358, 0.0994541347026825, -0.160493865609169, 0.5829833149909973, 0.7383460402488708, 0.20269592106342316, 0.004723298363387585, 0.4070420563220978, 1.065870761871338, -0.3932068347930908, -0.5027756094932556, -0.8713711500167847, 0.44769373536109924, -0.03282042592763901, 0.0333368293941021, 0.8754660487174988, 0.7702763676643372, 1.0083024501800537, -0.08716009557247162, 0.8474072217941284, 0.10450378060340881, 0.41908395290374756, -0.5084089636802673, 0.5330878496170044, -0.760441780090332, 0.3673824369907379, -0.37386682629585266, -1.1503112316131592, -0.38774678111076355, 0.3154032528400421, 0.17073267698287964, -0.16877029836177826, 0.22205349802970886, 1.0571215152740479, -0.3773086369037628, -0.004270321689546108, 0.20343557000160217, 0.45253193378448486, 0.3022423982620239, 0.5169187188148499, 0.831139326095581, -0.22653476893901825, 0.5601588487625122, -0.021809782832860947, 0.01597103849053383, -0.2521660029888153, -0.5963541865348816, -0.8765785694122314, -0.4899013042449951, -0.1556156426668167, -0.7154704332351685, -0.17331942915916443, 1.1008782386779785, 0.7303388714790344, -0.9019528031349182, -0.4551316201686859, -0.09474656730890274, 0.04984229803085327, -0.04696483910083771, -0.31465768814086914, 0.41174501180648804, -0.38461998105049133, -0.7319780588150024, 0.3421724736690521, 0.29901206493377686, 0.17015372216701508, -0.4120686948299408, -0.20211584866046906, 0.4675724506378174, 0.23832331597805023, 0.8798040151596069, 0.10133326798677444, -0.7489980459213257, -0.2732197642326355, -0.1396923065185547, 0.14104445278644562, 0.19961366057395935, 0.8312113285064697, -0.6471279263496399, 0.5041992664337158, 0.7469079494476318, 0.5586355924606323, 0.8420312404632568, 0.5191150903701782, -0.0008544425945729017, -0.9374086260795593, -0.06770065426826477, 0.11098743230104446, 0.5201234221458435, 0.28155815601348877, -0.45716357231140137, 0.45726749300956726, 0.3738975524902344, -0.5354483723640442, -0.9469860792160034, 0.14541633427143097, -1.3395086526870728, -0.4183170199394226, 1.2928835153579712, 0.012485463172197342, -0.3590877056121826, -0.08012184500694275, -0.19370728731155396, -0.1017407774925232, -0.6408690810203552, 0.7113294005393982, 0.62516850233078, -0.32048359513282776, 0.23508238792419434, -0.4633514881134033, 0.2918180227279663, -0.09879191219806671, -0.6786739826202393, 0.4115743637084961, 1.131790280342102, 0.41213154792785645, -0.21685558557510376, 0.6417772173881531, 0.09343069791793823, -0.22668787837028503, -0.07407274842262268, -0.1413731426000595, -0.2849251627922058, -0.4250849485397339, 0.04937736690044403, 0.4330996572971344, 0.002305275062099099, 0.21844695508480072 ]
http://arxiv.org/abs/2403.06115v1
http://arxiv.org/pdf/2403.06115v1
FMPAF: How Do Fed Chairs Affect the Financial Market? A Fine-grained Monetary Policy Analysis Framework on Their Language
2024-03-10T07:21:31
2024-03-10T07:21:31
Yayue Deng, Mohan Xu, Yao Tang
cs.CL
cs.CL, cs.AI, cs.CE
The effectiveness of central bank communication is a crucial aspect of monetary policy transmission. While recent research has examined the influence of policy communication by the chairs of the Federal Reserve on various financial variables, much of the literature relies on rule-based or dictionary-based methods in parsing the language of the chairs, leaving nuanced information about policy stance contained in nonverbal emotion out of the analysis. In the current study, we propose the Fine-Grained Monetary Policy Analysis Framework (FMPAF), a novel approach that integrates large language models (LLMs) with regression analysis to provide a comprehensive analysis of the impact of the press-conference communications of chairs of the Federal Reserve on financial markets. We conduct extensive comparisons of model performance under different levels of granularity, modalities, and communication scenarios. Based on our preferred specification, a one-unit increase in the sentiment score is associated with an increase of the price of S\&P 500 Exchange-Traded Fund by approximately 500 basis points, a 15-basis-point decrease in the policy interest rate, while not leading to a significant response in exchange rates.
[ -0.6458110213279724, -1.085555911064148, 0.35742565989494324, 0.4655279219150543, -0.20938730239868164, -0.46441853046417236, -0.38667088747024536, -0.44930508732795715, 0.13549596071243286, 0.4790397584438324, -0.4134971797466278, -0.31535714864730835, -0.5564731955528259, 0.12327803671360016, -0.4101673662662506, 1.0539509057998657, 0.15068413317203522, 0.038598522543907166, -0.28688132762908936, 0.27266842126846313, 0.22397242486476898, -0.306908518075943, -0.5906680226325989, -0.57077556848526, 0.03948361054062843, 0.07839744538068771, 0.9843535423278809, 0.3913441598415375, 0.9330528974533081, 0.31595104932785034, -0.33412307500839233, -0.47971487045288086, -0.3887409269809723, -0.18957942724227905, -0.21758629381656647, -0.4271267056465149, -0.4623432755470276, 0.23230277001857758, 0.7372315526008606, 0.7803742289543152, -0.37935006618499756, -0.10970141738653183, 0.26458993554115295, 0.7625564336776733, -0.4799259305000305, 0.6575983762741089, -0.22195479273796082, 0.03498613461852074, -0.19096021354198456, -0.5531953573226929, -0.4704488515853882, -0.16627034544944763, 0.34750908613204956, -0.22336994111537933, -0.22650209069252014, 0.0004274585808161646, 0.6733430624008179, -0.20634110271930695, -0.5438442826271057, -0.4956871271133423, -0.6356654167175293, 0.6322144269943237, -0.644126296043396, 0.21190030872821808, 0.6716487407684326, 0.2297912985086441, -0.1692350208759308, -0.22551845014095306, -0.5094586610794067, -0.20534570515155792, -0.18116797506809235, -0.18505123257637024, -0.2473745048046112, 0.4606768488883972, 0.1011321023106575, 0.8483730554580688, -0.08996398001909256, -0.42749738693237305, -0.31249141693115234, 0.14034058153629303, 0.5846206545829773, 0.1151965782046318, -0.39943554997444153, -0.17526692152023315, -0.4938496947288513, -0.4021967053413391, -0.3455755114555359, 0.06964441388845444, 0.3029038608074188, 0.7130012512207031, -0.33414384722709656, 0.3471863269805908, -0.38915055990219116, 0.7559014558792114, 0.20262223482131958, -0.4067109227180481, -0.09030422568321228, -0.07135223597288132, -0.610538899898529, -0.3374313712120056, 0.6857931017875671, 0.5702894330024719, 0.09179577976465225, -0.05312533304095268, -0.5220603346824646, -0.1587708741426468, -0.21388205885887146, -0.7883176207542419, 0.14958688616752625, 0.02290266752243042, -0.808239221572876, -0.7062992453575134, 0.35267531871795654, -1.0647732019424438, -0.50666344165802, -0.36715221405029297, 0.3321911692619324, -0.022353148087859154, -0.20162098109722137, 0.06752365082502365, -0.12504622340202332, 0.6388862729072571, -0.09037187695503235, -1.1757656335830688, 0.5825544595718384, 0.8424851298332214, 0.37744084000587463, 0.14349697530269623, 0.16360346972942352, -0.3339073956012726, -0.1721821278333664, -0.1223720982670784, 1.0890589952468872, -0.8691479563713074, -0.9330496191978455, 0.4223388135433197, -0.0008367912378162146, -0.267197847366333, -0.5085198879241943, 0.26869910955429077, -0.13255053758621216, 0.27242252230644226, -0.4264722466468811, -0.23560886085033417, 0.13800984621047974, 0.22866182029247284, -0.34335169196128845, 0.4736782908439636, 0.43158379197120667, -0.39910051226615906, 0.2332412749528885, -0.651267945766449, -0.4705694913864136, -0.6497936844825745, -0.27531304955482483, 0.0308886356651783, 0.06045636534690857, 0.09324519336223602, 0.42820459604263306, -0.7078626751899719, 0.2550504505634308, -0.645744800567627, -0.2954947054386139, 0.845576286315918, -0.5787676572799683, 0.3472311496734619, 0.13081325590610504, -0.28253355622291565, 0.0006654281169176102, -1.002695918083191, -0.19943054020404816, -0.06522426009178162, -0.46494001150131226, -0.14205308258533478, 0.08506713062524796, 0.3705461025238037, 0.18696995079517365, -0.12359556555747986, -0.13023748993873596, 0.20169955492019653, -0.35147351026535034, 0.3033556044101715, 1.0101616382598877, 0.18682727217674255, 0.8379588723182678, -0.5349817872047424, 0.5435583591461182, -0.3439468741416931, 0.5493060350418091, -0.20577062666416168, 0.10824079066514969, -0.4421420395374298, -0.23498834669589996, 0.22338342666625977, 0.23893141746520996, -0.03096092864871025, -0.046910881996154785, 0.27909788489341736, -0.1191975474357605, 0.09596487134695053, -0.14587055146694183, 0.3670143187046051, 0.32624107599258423, 0.04008028656244278, -0.11479037255048752, -0.06145211309194565, -0.8337796330451965, -0.36434951424598694, -0.235090434551239, 0.21167200803756714, 0.36285096406936646, 0.08606382459402084, 0.005234000273048878, 0.7448107004165649, -0.623276948928833, -0.5154830813407898, -0.0748535618185997, 0.19033662974834442, 0.37286534905433655, 0.4039345681667328, 0.8081572651863098, -0.3269881010055542, -0.18829701840877533, 0.13809655606746674, -0.0453796349465847, -0.3026491403579712, -0.22780807316303253, -0.08366131037473679, 0.42098283767700195, 0.48140642046928406, -0.6585332751274109, 0.1818847358226776, 0.8097640872001648, -0.6782351732254028, 0.23756374418735504, 0.1696610450744629, 0.11011719703674316, -0.6940816044807434, 0.14726364612579346, 0.16508525609970093, -0.03985084220767021, -0.31949612498283386, 0.022461634129285812, -0.3629003167152405, -0.019073694944381714, -0.12506330013275146, 0.6315740346908569, -0.11956115067005157, -0.17653493583202362, -0.4425925016403198, 0.24781101942062378, 0.031098103150725365, 0.46747857332229614, -0.2764911651611328, 0.6569103598594666, 0.39038047194480896, -0.3020235002040863, 0.14085161685943604, 0.25272804498672485, -0.23289355635643005, 0.8462986350059509, -0.4011092483997345, -0.2014715075492859, -0.03379540890455246, 0.2740887403488159, -1.0810625553131104, -0.212000772356987, 0.3276396095752716, -0.03724415972828865, 0.51301109790802, 0.22485335171222687, -0.1374385803937912, -0.11437772959470749, -0.25095856189727783, -0.32278403639793396, 0.05865855887532234, -0.33925652503967285, 0.5365740060806274, 0.4492182433605194, -0.19472171366214752, -0.6081259250640869, -0.8000956773757935, -0.333229660987854, -0.11752167344093323, -0.6737754344940186, 0.19337952136993408, -0.07062646001577377, -0.7315557599067688, -0.15599438548088074, -0.6680616736412048, -0.19496646523475647, 0.18634213507175446, 0.08475268632173538, 0.2919667065143585, -0.28511205315589905, 0.24969297647476196, -0.11938577145338058, -0.294178307056427, 0.42095446586608887, -0.025883588939905167, 0.5089096426963806, -0.50252366065979, 0.058851636946201324, -0.6610170006752014, 0.24421457946300507, 0.5222854018211365, -0.08207562565803528, 0.8314781785011292, 0.14965054392814636, 0.048285968601703644, -0.030282406136393547, -0.2164727747440338, -0.11478119343519211, -0.511223316192627, -0.04080909863114357, -0.28067106008529663, -0.842557430267334, 0.44343501329421997, -0.21932531893253326, -0.022955970838665962, 0.4876116216182709, 0.2886108458042145, 0.007542516570538282, 0.6443238258361816, 1.1044121980667114, -0.11880931258201599, 0.9040096998214722, -0.1874418705701828, 0.026953428983688354, -0.2987581193447113, -0.18844500184059143, -0.7759822607040405, -0.24235579371452332, -0.4011516571044922, -0.31501585245132446, -0.19107890129089355, 0.12201668322086334, -0.11295555531978607, 0.006902230903506279, -0.10434157401323318, 0.5323905944824219, -0.061972346156835556, -0.21770381927490234, 0.2036566138267517, -0.09211625903844833, -0.08982754498720169, 0.2952830493450165, -0.10998237878084183, -0.4407671391963959, 0.9384153485298157, 0.5945295691490173, 1.0378309488296509, 0.04820527136325836, 0.3535938262939453, 0.4558170735836029, 0.6166906952857971, -0.6867730021476746, 0.45675525069236755, -0.004278674256056547, -0.44834402203559875, -0.18940605223178864, -0.290476530790329, -0.33898189663887024, 0.45431214570999146, -0.8369656801223755, -0.3074263036251068, 0.6645308136940002, 0.04632642865180969, -0.6045382618904114, -0.36008939146995544, -0.48857352137565613, 0.9067422747612, 0.13119135797023773, 0.005242370069026947, -0.2623692452907562, -0.2575562596321106, 0.5640206933021545, -0.16273710131645203, 0.3577750027179718, -0.45411187410354614, 0.08369244635105133, 0.463174045085907, -0.42987650632858276, 0.726539671421051, -0.15677174925804138, -0.2890995144844055, 0.30698758363723755, -0.27159416675567627, 0.7522404193878174, 0.22382734715938568, -0.3723367154598236, -0.07190756499767303, 0.24885883927345276, -0.3155714273452759, -0.25381654500961304, 0.6814822554588318, -0.5870533585548401, -0.570370614528656, -0.5716338753700256, -0.46546146273612976, -0.3624674677848816, -0.03206091746687889, -0.3203037977218628, 0.3768002390861511, -0.6613007187843323, 0.3504182994365692, 0.2514505684375763, 0.0543326660990715, 0.5323201417922974, 0.4919182360172272, -0.59788978099823, -0.3693975806236267, 0.3629404604434967, -0.24599608778953552, 0.39724037051200867, 0.3474692106246948, 0.32648053765296936, -0.1017291471362114, 0.032438937574625015, 0.25883111357688904, 0.23697328567504883, -0.8007171750068665, -0.19245095551013947, -0.32795724272727966, 0.15955255925655365, -0.6134421229362488, -0.28452593088150024, -0.187611922621727, -0.510441243648529, -0.24594730138778687, -0.1719089299440384, 0.21611222624778748, 0.45589834451675415, -0.2183794379234314, 1.024721622467041, -0.4610711336135864, 0.042470257729291916, 0.20880940556526184, 0.6341573596000671, -0.429920494556427, -0.1737205684185028, -0.22176069021224976, -0.1605340540409088, -0.3249748647212982, -0.7357422709465027, 0.17373304069042206, 0.44189873337745667, 0.35065022110939026, 1.1288485527038574, 0.11654771864414215, 0.8708600401878357, 0.17915146052837372, 0.3814888596534729, 0.180035799741745, -1.0205899477005005, 0.08102677017450333, -0.4524781107902527, 0.24236321449279785, 0.40280094742774963, -0.2810588777065277, -0.7281179428100586, -0.7018341422080994, -0.5747238993644714, -0.49145957827568054, 1.1220898628234863, -0.09257364273071289, 0.5209178924560547, -0.4508810341358185, 0.09228373318910599, -0.10300590842962265, 0.28074193000793457, -0.45193806290626526, -0.18147768080234528, 0.15222840011119843, -0.01101029384881258, 0.10166089236736298, -0.6731910705566406, -0.47637221217155457, 0.07049667835235596, 0.3935098648071289, -0.07895313948392868, 0.2837534546852112, 0.0018399705877527595, 0.25711169838905334, -0.630956768989563, 0.41975829005241394, 1.0670276880264282, 0.626301646232605, -0.45844852924346924, 0.01934736594557762, -0.2526710629463196, -0.1941152811050415, -0.26563307642936707, 0.4588342010974884, 0.13439346849918365, -0.013300583697855473, 0.29959189891815186, 0.6237436532974243, 0.5003420114517212, -0.7776563167572021, 0.7678298354148865, -0.21511676907539368, -0.4764690399169922, -0.39778831601142883, -0.049902066588401794, -0.04353443905711174, 0.6911617517471313, 0.49612030386924744, 0.42447108030319214, -0.10531231760978699, -0.8480619788169861, 0.4394370913505554, 0.6540862321853638, -0.5488179922103882, -0.34316861629486084, 0.5476751923561096, 0.5984086394309998, 0.159269317984581, 0.23309209942817688, 0.3681553602218628, 0.0005610507796518505, 0.5642642974853516, 0.6162540912628174, 0.6147000789642334, -0.4069855809211731, 0.3189188838005066, -0.06442105025053024, 0.4268595278263092, -0.18259263038635254, 0.26010391116142273, -0.17325523495674133, -0.4245474338531494, -0.2064201384782791, -0.955291211605072, -0.1903599202632904, 0.07666400074958801, -0.6751399636268616, 0.16584418714046478, -0.978757381439209, -0.6144869327545166, 0.3514634668827057, 0.07882347702980042, -0.40599900484085083, 0.17159166932106018, 0.35927677154541016, 1.1005594730377197, -0.9734864830970764, 0.5585218667984009, 0.4482588768005371, -0.2587844133377075, -0.24415600299835205, 0.21739058196544647, 0.1612406075000763, -0.6045508980751038, 0.18974599242210388, 0.05004790797829628, 0.39543354511260986, -0.5349599123001099, -0.24947622418403625, -0.9496960043907166, 0.7962678074836731, 0.4305747151374817, -0.28746312856674194, 0.3318617343902588, 0.3740728795528412, 0.39394477009773254, -0.6455838680267334, 0.08943258970975876, 0.8897206783294678, 0.8642590641975403, 0.2648846507072449, -0.7784574031829834, -0.20900382101535797, -0.15162211656570435, -0.21741963922977448, 0.5158281922340393, -0.8443186283111572, 0.8306137919425964, 0.06945008039474487, -0.20166262984275818, -0.07360884547233582, 0.9085241556167603, -0.2937527596950531, 0.40638303756713867, 0.41458064317703247, 0.01997833140194416, 0.6134937405586243, -0.2286219596862793, 1.186385989189148, -0.6032424569129944, 0.6147313117980957, 0.5100592970848083, -0.23207752406597137, 0.8930312395095825, 0.6420584321022034, -0.4786185324192047, 0.2585456371307373, 0.5016372799873352, 0.14490462839603424, 0.6105225086212158, 0.24623484909534454, -0.46225473284721375, -0.15970361232757568, -0.1036590188741684, -0.21542499959468842, 0.5124517679214478, 0.23039188981056213, -0.7261747717857361, -0.42758679389953613, 0.23402069509029388, 0.19602380692958832, 0.28911399841308594, -0.2486245036125183, 0.4203318953514099, 0.5119190216064453, -0.20600824058055878, 0.1770721822977066, 0.1467607319355011, 0.42920979857444763, -0.5345048904418945, 0.14953362941741943, -0.597680389881134, 0.6386467814445496, -0.026606861501932144, -0.44848376512527466, 0.882252037525177, -0.04684796184301376, -0.2727499008178711, -0.38546404242515564, 0.5560640096664429, -0.529170036315918, -0.17259244620800018, 0.15874318778514862, 0.15000563859939575, -0.054584354162216187, -0.051546983420848846, -0.6223620772361755, 0.3448038399219513, -0.22893334925174713, -0.8265228271484375, 0.5853443741798401, 0.24168060719966888, 0.05242479220032692, 0.36311084032058716, 0.703925371170044, -0.40195491909980774, -0.41832804679870605, -0.08367211371660233, 0.8138458728790283, -0.8517127633094788, -0.4379793703556061, -0.6539303660392761, 0.04371838644146919, 0.03341755270957947, -0.4063792824745178, 0.16463199257850647, 0.21099908649921417, 0.5602238774299622, -0.2015615701675415, 0.36364564299583435, -0.11280212551355362, -0.09953626245260239, -0.41821834444999695, 0.789592444896698, -0.2985661029815674, 0.4593200385570526, -0.2023611217737198, -0.9615784883499146, -0.44773146510124207, 0.9665325284004211, -0.4751648008823395, -0.01798255555331707, 0.6966195106506348, 0.775153398513794, 0.24492529034614563, 0.41323763132095337, 0.34683969616889954, 0.32809922099113464, 0.061655037105083466, 0.008403654210269451, 0.4585166275501251, -0.21036142110824585, 0.8521085977554321, -0.3592088520526886, -0.06591783463954926, -0.5559816360473633, -0.7795276641845703, -0.941371738910675, -0.2757117450237274, -0.2999648153781891, -0.34407103061676025, 0.035733599215745926, 1.1500731706619263, 0.2659302055835724, -0.5615745186805725, -0.4467912018299103, 0.20097489655017853, -0.020622313022613525, -0.36908215284347534, -0.24605388939380646, 0.342573344707489, -0.3318398892879486, -0.7549193501472473, 0.3039095401763916, 0.5502675175666809, 0.061874862760305405, -0.111006960272789, 0.046390317380428314, 0.05418708175420761, 0.7145600318908691, 0.6557319760322571, 0.2727528214454651, -0.4564414322376251, -0.25676488876342773, -0.009216769598424435, -0.6721621155738831, -0.15808238089084625, 0.6673981547355652, -0.4244369566440582, 0.18093648552894592, 0.38554325699806213, 0.2705710828304291, 0.1468595564365387, 0.25089165568351746, 0.6776992082595825, -0.5418025255203247, 0.5130044221878052, -0.28110548853874207, 0.23680128157138824, -0.10101156681776047, -0.3271036744117737, 0.3991549611091614, 0.2924523949623108, -0.5580413341522217, -0.6376660466194153, -0.2815796434879303, -1.129447102546692, -0.376949280500412, 1.185868501663208, 0.08394598960876465, -0.6470646262168884, 0.40672457218170166, -0.18978343904018402, -0.2556132674217224, -0.49738436937332153, 0.8659407496452332, 0.9495671391487122, -0.051381856203079224, -0.4371851980686188, -0.45671916007995605, 0.6362322568893433, 0.1175617128610611, -0.357622891664505, 0.44180527329444885, 0.5100866556167603, 0.056731704622507095, -0.1817072033882141, 1.0550731420516968, -0.18281856179237366, 0.21760883927345276, 0.13267287611961365, -0.08224733173847198, -0.0257343091070652, 0.08030620217323303, -0.5220659375190735, 0.2050802856683731, 0.0027839785907417536, 0.017827896401286125 ]
http://arxiv.org/abs/2403.06108v2
http://arxiv.org/pdf/2403.06108v2
Large Language Models on Fine-grained Emotion Detection Dataset with Data Augmentation and Transfer Learning
2024-03-10T06:30:54
2024-04-09T16:38:01
Kaipeng Wang, Zhi Jing, Yongye Su, Yikun Han
cs.CL
cs.CL, cs.AI
This paper delves into enhancing the classification performance on the GoEmotions dataset, a large, manually annotated dataset for emotion detection in text. The primary goal of this paper is to address the challenges of detecting subtle emotions in text, a complex issue in Natural Language Processing (NLP) with significant practical applications. The findings offer valuable insights into addressing the challenges of emotion detection in text and suggest directions for future research, including the potential for a survey paper that synthesizes methods and performances across various datasets in this domain.
[ -0.25618067383766174, -0.6726188063621521, 0.4065435230731964, 0.051493868231773376, -0.21208786964416504, -0.14074817299842834, -0.42858025431632996, -0.9011303186416626, 0.009789548814296722, 0.46216288208961487, -0.5034894347190857, -0.4668389558792114, -0.7313776612281799, 0.11624838411808014, -0.5762515664100647, 0.9402264356613159, -0.1623929738998413, -0.2999630868434906, 0.13906905055046082, -0.4307067096233368, -0.12447825819253922, -0.5659414529800415, -0.8496291041374207, -0.13287723064422607, 0.24930603802204132, 0.5295987725257874, 0.8286357522010803, 0.2699716091156006, 0.8553308248519897, 0.29711923003196716, -0.11333170533180237, 0.24287480115890503, -0.43515917658805847, 0.42173486948013306, -0.22197847068309784, -0.6205301880836487, -0.1410842090845108, -0.2112579196691513, 0.5649039149284363, 0.3060719668865204, 0.06728211790323257, 0.002115598414093256, -0.08691802620887756, 0.944436252117157, -0.5758742690086365, 0.2639501392841339, -0.22768273949623108, 0.426514595746994, -0.30877894163131714, -0.10599400848150253, -0.5660808086395264, -0.3923546075820923, 0.36054477095603943, -0.18756914138793945, 0.060204364359378815, 0.1856689751148224, 0.6976325511932373, 0.3823295533657074, -0.4855523109436035, -0.6349208950996399, -0.734879195690155, 0.9684250354766846, -0.6976847648620605, 0.11813792586326599, 0.33690381050109863, 0.20170678198337555, 0.04020130634307861, -0.8258131742477417, -0.6465385556221008, -0.010934296064078808, 0.09600017219781876, 0.022463062778115273, -0.650493860244751, -0.011278736405074596, 0.28782251477241516, 0.7261523604393005, -0.6637887954711914, 0.04255182296037674, 0.24628454446792603, 0.013365371152758598, 0.7482118606567383, 0.26004377007484436, 0.5751098394393921, -0.1293642371892929, 0.19271737337112427, -0.30118975043296814, -0.1781257838010788, 0.11445358395576477, 0.5373382568359375, 0.25259509682655334, -0.31464552879333496, 0.4062395989894867, -0.13641177117824554, 0.635838508605957, -0.2778679132461548, 0.4342641830444336, 0.5603341460227966, -0.31436315178871155, -0.3296496570110321, -0.09298725426197052, 0.8460413813591003, 0.43016019463539124, 0.5547268986701965, -0.03871684893965721, -0.17686744034290314, 0.04054110869765282, 0.09626879543066025, -0.9031296968460083, -0.2976669669151306, 0.40160223841667175, -0.5222762823104858, -0.3649008870124817, -0.1522565633058548, -1.1939494609832764, -0.4488008916378021, -0.5573440194129944, 0.16008415818214417, -0.5487586259841919, -0.21173860132694244, 0.31981587409973145, -0.0018792357295751572, 0.021411459892988205, 0.3028625249862671, -0.9261716604232788, 0.2426256537437439, 0.3557724058628082, 0.8013260960578918, -0.10675861686468124, 0.025712525472044945, -0.3291069269180298, -0.2718675434589386, -0.42536240816116333, 0.8514869213104248, -1.1180357933044434, -0.24221192300319672, 0.25150591135025024, 0.2086983621120453, -0.018887510523200035, -0.5837929844856262, 0.8212743997573853, -0.13507281243801117, 0.32794898748397827, -0.19601282477378845, -0.5034099817276001, -0.30978360772132874, 0.11406981945037842, -0.6981854438781738, 1.416663646697998, 0.2839091718196869, -0.9072297215461731, 0.10549905151128769, -0.7552524209022522, -0.4757113456726074, -0.06283489614725113, 0.33331093192100525, -0.28744983673095703, 0.5089505314826965, 0.15302208065986633, 0.7785559892654419, -0.2086598128080368, 0.23843570053577423, -0.32369524240493774, -0.2254226803779602, 0.33347398042678833, -0.3213998079299927, 0.27010849118232727, 0.28772565722465515, -0.3968820869922638, 0.13464759290218353, -0.8955464959144592, -0.08522091805934906, 0.06761845201253891, -0.03284730762243271, -0.6921230554580688, 0.021555552259087563, 0.18022631108760834, 0.2643733322620392, 0.0813145563006401, -0.34810060262680054, 0.3652653098106384, -0.3836959898471832, 0.29849886894226074, 0.579128623008728, -0.17996791005134583, 0.6330966949462891, 0.142342671751976, 0.4157088100910187, 0.17681069672107697, 0.08663208782672882, -0.3208974003791809, -0.3602035939693451, -0.7690705060958862, -0.13878203928470612, 0.1776801198720932, 0.5716502666473389, -0.9610173106193542, 0.7408505082130432, -0.027831973508000374, -0.4176165759563446, -0.5745587944984436, -0.06668321043252945, 0.037751104682683945, 0.5373151898384094, 0.5216842889785767, 0.03925979509949684, -0.410795658826828, -0.6564642190933228, -0.36177152395248413, 0.007130516227334738, 0.009100266732275486, 0.3559216260910034, 0.5748468637466431, -0.5205719470977783, 0.7974637746810913, -0.47669124603271484, -0.22607927024364471, -0.10729516297578812, 0.6383995413780212, -0.09442022442817688, 0.46710532903671265, 0.6261298060417175, -0.8243587017059326, -0.5065469145774841, 0.33038976788520813, -1.0082758665084839, -0.251973032951355, 0.09361536800861359, 0.04380396753549576, 0.12086176872253418, 0.6309405565261841, -0.42741045355796814, 0.3405061960220337, 0.5906322002410889, -0.36225324869155884, 0.4231787621974945, -0.12523961067199707, 0.32244545221328735, -1.1013834476470947, 0.018697554245591164, 0.21886925399303436, -0.3020707070827484, -0.7488162517547607, -0.1790967732667923, 0.08182358741760254, 0.10850850492715836, -0.5236815214157104, 0.8207047581672668, -0.14954468607902527, 0.16389790177345276, -0.250444233417511, 0.03149690106511116, -0.07616385072469711, 0.22605232894420624, 0.15638868510723114, 0.5891162753105164, 0.8416736125946045, -0.6441701650619507, 0.7265073657035828, 0.14714038372039795, -0.24662049114704132, 1.0641772747039795, -0.31886616349220276, 0.1700069159269333, -0.3467073440551758, 0.15347446501255035, -1.2510558366775513, -0.7764755487442017, 0.1751144677400589, -0.38748595118522644, 0.48193639516830444, 0.18865083158016205, -0.5816699862480164, -0.4872807264328003, -0.6179041266441345, 0.16825099289417267, 0.3838711977005005, -0.5297771692276001, 0.7554270625114441, 0.19695580005645752, -0.45399317145347595, -0.3592110574245453, -0.9441211819648743, 0.3390771150588989, -0.3994927406311035, -0.5383245944976807, -0.11330999433994293, -0.005707448348402977, -0.1608257293701172, -0.024368537589907646, 0.19285327196121216, -0.19416746497154236, 0.023753197863698006, 0.20639589428901672, 0.061730798333883286, 0.05740915983915329, 0.7502780556678772, 0.2358430027961731, -0.02289193868637085, 0.048958078026771545, 0.021503983065485954, 0.40055516362190247, -0.24730679392814636, -0.06907939165830612, -0.5999154448509216, 0.1855766326189041, 0.4262988567352295, -0.08998723328113556, 0.6012593507766724, 1.1646393537521362, -0.537581741809845, -0.38233914971351624, -0.2854595482349396, 0.10226581245660782, -0.4222685992717743, 0.6161106824874878, -0.10616565495729446, -1.0932844877243042, 0.6673392653465271, -0.20806176960468292, -0.3197349011898041, 0.5188800096511841, 0.5675408244132996, -0.010109703987836838, 1.153210997581482, 0.6656020283699036, -0.5137082934379578, 0.7032435536384583, -0.0951373428106308, 0.20760634541511536, -0.7996405363082886, -0.04646299406886101, -0.9561881422996521, -0.571665346622467, -0.7045679092407227, -0.443666934967041, -0.39014339447021484, -0.31201741099357605, -0.1343836784362793, 0.000032980497053358704, -0.6407120227813721, 0.5580928325653076, 0.13504429161548615, 0.06345173716545105, 0.0878523588180542, -0.014218457043170929, 0.5114825367927551, -0.16793935000896454, -0.22297263145446777, -0.5664502382278442, 0.9711017608642578, 0.5124533176422119, 0.9177157878875732, 0.1589081883430481, 0.5845040082931519, 0.39911985397338867, 0.3712760806083679, -0.8812186121940613, 0.43386393785476685, -0.3944409489631653, -0.3594959080219269, -0.22973819077014923, -0.6458103656768799, -0.9664848446846008, -0.25948792695999146, -0.034498922526836395, -1.2509431838989258, 0.37571123242378235, -0.016759149730205536, -0.051864318549633026, 0.25512078404426575, -1.0095373392105103, 0.888123095035553, 0.04432414099574089, -0.312984824180603, 0.1858096569776535, -0.8233101963996887, 0.3548058569431305, -0.1121383085846901, 0.20459096133708954, -0.023207562044262886, -0.0854114443063736, 0.9861540198326111, -0.1742599606513977, 0.6100319027900696, -0.16304540634155273, -0.17537976801395416, 0.43652403354644775, 0.11730343848466873, 0.7174552083015442, -0.12632863223552704, -0.13340266048908234, -0.10631553083658218, -0.40491554141044617, -0.20968292653560638, -0.41184666752815247, 0.723440408706665, -0.4218911826610565, 0.2528309226036072, -0.15220944583415985, -0.7770917415618896, -0.28725072741508484, 0.006085042841732502, 0.30697816610336304, 0.22456851601600647, -0.07008512318134308, 0.3979412615299225, 1.0537806749343872, -0.26422518491744995, 0.71900475025177, 0.17074811458587646, -0.270778089761734, -0.05882848799228668, 1.0331779718399048, 0.003834258299320936, -0.049697548151016235, 0.21383094787597656, 0.22521795332431793, -0.4331084191799164, -0.4940336346626282, -0.19266194105148315, -0.0802871361374855, -0.6154196858406067, -0.23450230062007904, -0.7598171234130859, 0.2536459267139435, -0.22834031283855438, -0.20970092713832855, -0.4754522442817688, -0.05471567064523697, -0.6331427693367004, -0.24349072575569153, 0.5103622674942017, 0.7751618027687073, -0.08602278679609299, 0.6545846462249756, -1.0735231637954712, 0.41460809111595154, 0.3513316810131073, 0.5621788501739502, -0.11579529941082001, -0.7390126585960388, -0.19441895186901093, -0.1164693608880043, -0.0318361334502697, -0.6632751822471619, 0.7169908881187439, 0.30804622173309326, 0.05067822337150574, 0.5667645335197449, 0.16872037947177887, 0.381499707698822, -0.11651938408613205, 0.969992458820343, -0.01785939186811447, -1.132209062576294, 0.6496534943580627, -0.3239372968673706, 0.3077917993068695, 0.7315666079521179, 0.535811722278595, -0.5462068915367126, -0.32686537504196167, -0.625028133392334, -0.918208658695221, 0.9917876124382019, 0.34231308102607727, 0.4546925723552704, 0.027506090700626373, 0.22733819484710693, -0.007295744493603706, 0.18984858691692352, -0.6289302706718445, -0.08310287445783615, 0.35970064997673035, -1.0201530456542969, -0.17105764150619507, -0.3829334080219269, 0.1783735305070877, 0.022750049829483032, 0.46356919407844543, -0.2212705761194229, 0.36557912826538086, 0.3064413368701935, -0.3181125521659851, -0.1930321455001831, 0.14406214654445648, 0.4064462184906006, -0.009239851497113705, -0.34118393063545227, 0.17769455909729004, 0.06113097071647644, -0.7556654810905457, 0.1704523265361786, 0.21312469244003296, 0.3241429328918457, 0.17132537066936493, 0.48507195711135864, 0.9337660670280457, 0.059767019003629684, -0.690557062625885, 0.5261796116828918, -0.27194249629974365, -0.09064584970474243, 0.3385432958602905, -0.056655675172805786, -0.08405429124832153, 0.35841771960258484, 0.3988439440727234, -0.013248414732515812, 0.6685079336166382, -0.5746210217475891, 0.1884939968585968, 0.23902274668216705, -0.7931626439094543, -0.5321587324142456, 0.20167213678359985, 0.27020230889320374, -0.22090962529182434, 0.276848167181015, -0.42389050126075745, -0.599348783493042, 0.6517024636268616, 0.12641528248786926, 1.0091056823730469, -0.7009639143943787, 0.11090502142906189, -0.0020805641543120146, 0.37849360704421997, -0.5581058859825134, 0.3388943672180176, 0.08775371313095093, -0.5619624853134155, -0.5763220191001892, -0.41898930072784424, -0.6626657843589783, 0.07751110941171646, -0.6369137763977051, 0.2304968386888504, -0.14754720032215118, -0.15240226686000824, 0.060124319046735764, -0.2058069109916687, -0.663857638835907, 0.524567723274231, 0.5548388361930847, 0.7742671966552734, -1.068232536315918, 0.4661771059036255, 0.7501899600028992, 0.0231028962880373, -0.6616300940513611, 0.02256864868104458, -0.11390179395675659, -0.39368078112602234, 0.5864591598510742, 0.5584853887557983, 0.021359369158744812, 0.05853884294629097, -1.0094902515411377, -0.3930361270904541, 0.5249750018119812, 0.29677915573120117, -0.47431954741477966, 0.03665781021118164, 0.11243174970149994, 0.935154914855957, -0.25741609930992126, 0.5186243653297424, 0.7296077013015747, 0.5708508491516113, -0.011173680424690247, -0.48700106143951416, -0.32565999031066895, -0.1874544769525528, -0.21617911756038666, 0.40511947870254517, -0.5422433018684387, 0.7395489811897278, 0.33700135350227356, -0.047643404453992844, -0.23219776153564453, 0.6555999517440796, -0.486177921295166, 0.5800791382789612, 0.19284994900226593, 0.9152238965034485, 0.9898212552070618, -0.4257965087890625, 1.1737544536590576, 0.03613351285457611, 0.6654739379882812, 1.0687569379806519, -0.48272666335105896, 0.6534478664398193, 0.29010364413261414, -0.3934803009033203, 0.41798245906829834, 0.6843721866607666, 0.24366529285907745, 0.15551817417144775, 0.13265979290008545, -0.32728227972984314, -0.0412675142288208, -0.2518840730190277, -0.3897542357444763, 0.37100526690483093, 0.5676964521408081, -0.3821876347064972, -0.26766476035118103, 0.4804966449737549, 0.14696621894836426, -0.1442348062992096, -0.5567399263381958, 0.7230821251869202, -0.10230203717947006, -0.08006751537322998, -0.02512972801923752, -0.4136336147785187, 0.8175404071807861, -0.5422189235687256, -0.003039164235815406, -0.31936588883399963, 0.10550367087125778, -0.40354886651039124, -1.14934504032135, 0.49695417284965515, 0.12195873260498047, 0.07900474220514297, 0.07968247681856155, 1.1947453022003174, -0.35038459300994873, -0.40069103240966797, 0.337395042181015, 0.16202186048030853, 0.25529131293296814, -0.4263347387313843, -0.5680413246154785, 0.08830131590366364, 0.08899882435798645, -0.87065190076828, 0.3068571090698242, 1.2649694681167603, 0.0759507268667221, 0.7097275853157043, 0.4963966906070709, -0.22338144481182098, -0.07502168416976929, 0.04824386537075043, 0.7955809235572815, -0.887576699256897, -0.38911908864974976, -1.0694259405136108, 0.6319572329521179, -0.2564563751220703, -0.14512509107589722, 0.5428583025932312, 0.30815497040748596, 0.4847909212112427, -0.20875436067581177, 0.7420382499694824, -0.042040809988975525, 0.4538562297821045, -0.4388886094093323, 0.1763913929462433, -0.369943767786026, -0.2319081425666809, -0.6264338493347168, -0.9039481282234192, -0.5800278782844543, 0.6325969696044922, -0.3481082320213318, 0.060466062277555466, 0.709952712059021, 0.3298271596431732, 0.07632534950971603, 0.2611415982246399, 0.33909401297569275, 0.2656508982181549, 0.30335870385169983, 0.7714799046516418, 0.7581141591072083, -0.5216512680053711, 0.20098455250263214, -0.14166155457496643, -0.21387039124965668, -0.5979713201522827, -0.9644511342048645, -0.8210707902908325, -0.4005381762981415, -0.5458220839500427, -0.232730895280838, -0.1730993390083313, 0.6414158344268799, 0.33206138014793396, -0.8391972780227661, 0.21127097308635712, -0.2366337925195694, 0.14526858925819397, 0.16259519755840302, -0.2992191016674042, 0.367667555809021, -0.5822464823722839, -1.0505023002624512, -0.013665718026459217, 0.5748477578163147, 0.2199319303035736, 0.2304910272359848, 0.09505108743906021, -0.3352414667606354, 0.13715095818042755, 0.7315808534622192, 0.10195393115282059, 0.06949801743030548, -0.5306377410888672, -0.227121040225029, -0.15516266226768494, -0.03978271782398224, 0.4892255365848541, -0.4117613434791565, 0.5898637771606445, 0.6168041229248047, 0.849902868270874, 0.2787063419818878, -0.06879023462533951, 0.023357268422842026, -0.9636315703392029, 0.4438561499118805, 0.19759222865104675, 0.2974354028701782, 0.3836311995983124, -0.5057814717292786, 0.7617397308349609, 0.13609202206134796, -0.7900184988975525, -0.9082845449447632, 0.022334113717079163, -1.145519495010376, -0.004974955692887306, 1.1034797430038452, -0.2367498278617859, -0.3176169693470001, -0.1823028177022934, -0.4927597641944885, 0.26920005679130554, -0.5701177716255188, 0.5387184619903564, 1.0117698907852173, -0.11692002415657043, 0.020479999482631683, -0.6794769763946533, 0.5315773487091064, 0.5381298065185547, -1.3134759664535522, 0.5438323616981506, 0.5913326740264893, -0.4118565618991852, 0.37749791145324707, 0.17108948528766632, 0.029343314468860626, 0.08135819435119629, -0.2455163300037384, 0.33510109782218933, 0.23212988674640656, -0.2019859403371811, -0.7766035199165344, 0.21908782422542572, -0.18838970363140106, -0.09373731911182404 ]
http://arxiv.org/abs/2403.06100v1
http://arxiv.org/pdf/2403.06100v1
Automatic design optimization of preference-based subjective evaluation with online learning in crowdsourcing environment
2024-03-10T05:55:00
2024-03-10T05:55:00
Yusuke Yasuda, Tomoki Toda
cs.HC
cs.HC, cs.CL, cs.LG, eess.AS, stat.ML
A preference-based subjective evaluation is a key method for evaluating generative media reliably. However, its huge combinations of pairs prohibit it from being applied to large-scale evaluation using crowdsourcing. To address this issue, we propose an automatic optimization method for preference-based subjective evaluation in terms of pair combination selections and allocation of evaluation volumes with online learning in a crowdsourcing environment. We use a preference-based online learning method based on a sorting algorithm to identify the total order of evaluation targets with minimum sample volumes. Our online learning algorithm supports parallel and asynchronous execution under fixed-budget conditions required for crowdsourcing. Our experiment on preference-based subjective evaluation of synthetic speech shows that our method successfully optimizes the test by reducing pair combinations from 351 to 83 and allocating optimal evaluation volumes for each pair ranging from 30 to 663 without compromising evaluation accuracies and wasting budget allocations.
[ -0.9897902607917786, -0.3267585337162018, 0.41199254989624023, 0.5047838687896729, -0.5307730436325073, 0.1391036957502365, -0.5445603728294373, -0.36970189213752747, 0.46477335691452026, 0.23346392810344696, -0.6430947184562683, -0.02947506494820118, -0.3758805990219116, 0.28184157609939575, 0.08072756230831146, 0.8120001554489136, 0.11556700617074966, 0.3566231429576874, -0.6055902242660522, -0.3670741021633148, -0.38904598355293274, -0.3769502639770508, -0.6205291152000427, -0.0824471190571785, 0.15546797215938568, 0.6088013052940369, 0.4462340474128723, 0.6890947818756104, 0.4603838324546814, 0.4315128028392792, -0.004429490305483341, 0.42725059390068054, -0.6586002707481384, 0.009185371920466423, -0.15115199983119965, -0.10258343815803528, -0.11718682944774628, 0.17586231231689453, 0.35767021775245667, 0.6422820091247559, -0.26841801404953003, 0.4641249179840088, -0.061243344098329544, 0.9102108478546143, -0.7545835375785828, -0.09354378283023834, -0.45650264620780945, 0.2630351781845093, 0.05163171887397766, -0.46439751982688904, -0.25244370102882385, -0.7882416248321533, 0.4531794488430023, -0.7247825860977173, 0.2961694002151489, 0.14328739047050476, 0.4228363037109375, 0.5535730123519897, 0.1732972413301468, -0.2617102861404419, -0.5592811703681946, 0.9706307649612427, -0.29986387491226196, 0.5267657041549683, 0.678488552570343, 0.2605627775192261, 0.3869076073169708, -0.33098310232162476, -0.34742042422294617, -0.37250301241874695, 0.27972790598869324, 0.2646544873714447, 0.014576423913240433, 0.26013654470443726, 0.05891004204750061, 0.42029520869255066, -0.853131890296936, 0.0835137739777565, -0.4459246098995209, -0.3371128439903259, 0.9246681928634644, -0.10607632249593735, 0.10846398025751114, -0.38410434126853943, -0.16594953835010529, -0.15736757218837738, 0.09249129146337509, -0.06678233295679092, 0.6449288129806519, 0.23895716667175293, -0.04908321052789688, 0.5105106830596924, -0.48714566230773926, 0.7420143485069275, 0.6976591348648071, -0.05018697306513786, 0.5341303944587708, -0.2444392740726471, -0.05788895860314369, 0.11605540663003922, 0.7045115828514099, 0.49676358699798584, 0.04905272275209427, -0.24531954526901245, -0.25080785155296326, 0.08900304138660431, 0.5053213238716125, -0.5494005680084229, -0.08072841167449951, 0.38449469208717346, -0.6325175762176514, -0.5307356715202332, 0.027828656136989594, -0.8451302647590637, -0.22014258801937103, -0.8877084255218506, 0.6794485449790955, 0.08033515512943268, -0.061329297721385956, 0.0655292496085167, -0.18449683487415314, -0.3027794063091278, 0.024318600073456764, -0.9286256432533264, 0.2514640986919403, 0.485017329454422, 0.9776804447174072, -0.35649850964546204, 0.03864787146449089, -0.7331104874610901, -0.27045926451683044, 0.031360507011413574, 0.9592297077178955, -0.5122561454772949, -0.7750788331031799, -0.31161269545555115, -0.5633665919303894, 0.24989427626132965, -0.7162095904350281, 0.7025852203369141, -0.5181054472923279, 0.39097028970718384, -0.14806348085403442, -0.7130810022354126, 0.03901418671011925, -0.2052311897277832, -0.7753500938415527, 0.6690784692764282, 0.08535127341747284, -0.4908432960510254, 0.5385308265686035, -0.9092983603477478, -0.40841367840766907, 0.21130123734474182, 0.03683464229106903, -0.7449638843536377, 0.16614869236946106, 0.22981689870357513, 0.1879618763923645, -0.16477055847644806, 0.43341392278671265, -0.49975165724754333, -0.41066884994506836, 0.06478465348482132, -0.1501423418521881, 0.8590600490570068, 0.5301389694213867, -0.6459075808525085, 0.4981062114238739, -0.701956570148468, 0.25865456461906433, 0.026980265974998474, -0.32732781767845154, -0.14206962287425995, 0.11798059940338135, 0.2824263572692871, -0.05178730562329292, 0.19933059811592102, -0.41662296652793884, -0.10803933441638947, -0.6047226190567017, 0.36261656880378723, 1.1662311553955078, -0.0941847637295723, 0.7752099633216858, -0.31098756194114685, 0.4122486710548401, -0.5958567261695862, 0.7625147104263306, 0.7153224945068359, -0.4746379852294922, -0.7898098826408386, -0.07214827090501785, 0.2659100592136383, 0.2518925070762634, -0.4448751211166382, 0.730680525302887, -0.06081216409802437, -0.47779980301856995, -0.6689439415931702, 0.26931464672088623, 0.39693185687065125, 0.15428265929222107, 0.2903962731361389, -0.6708942651748657, -0.6782426238059998, -1.1965019702911377, -0.15293088555335999, -0.036851271986961365, -0.13271871209144592, 0.5330700874328613, -0.04349583387374878, -0.030384648591279984, 1.2495664358139038, -0.6734883785247803, -0.2283201962709427, 0.12310203909873962, 0.36978834867477417, -0.10011057555675507, 0.1741102635860443, 0.5588564872741699, -0.9480172991752625, -0.41586169600486755, -0.43476054072380066, -0.27632471919059753, -0.4850817918777466, 0.04764944314956665, -0.1893189698457718, 0.0867810994386673, 0.06569838523864746, -0.07703501731157303, -0.05973429977893829, 0.577090859413147, 0.07802148163318634, 0.4920165538787842, -0.09792431443929672, 0.19518406689167023, -0.6982157826423645, -0.24477539956569672, 0.1114288941025734, -0.19519777595996857, -0.23273763060569763, 0.09981309622526169, -0.07292316108942032, -0.3080986440181732, -0.4883284866809845, 0.31201979517936707, -0.3719272017478943, -0.23534582555294037, -0.325960636138916, 0.3294273316860199, 0.05582081526517868, 0.5388866662979126, 0.1175011545419693, 0.63554847240448, 0.35370776057243347, -0.5626978278160095, 0.5697999596595764, 0.1437055915594101, -0.5995961427688599, 0.7054920792579651, -0.5380118489265442, 0.6477941274642944, -0.22753043472766876, 0.09229554980993271, -0.6403995752334595, -0.14833782613277435, 0.3882535994052887, -0.29850471019744873, -0.07956746965646744, 0.04336656630039215, -0.25489169359207153, -0.3498184382915497, -0.39624083042144775, 0.4644632339477539, 0.3008299469947815, -0.766416072845459, 0.14106208086013794, 0.7598469257354736, -0.15638186037540436, -0.06777817755937576, -0.19107024371623993, -0.2921575903892517, -0.2845868468284607, -0.551988959312439, 0.37822049856185913, -0.5073170065879822, -0.519037663936615, -0.1651807576417923, -0.06648341566324234, -0.017883609980344772, -0.1326800286769867, 0.31812965869903564, 0.21719437837600708, 0.10877024382352829, 0.10920969396829605, 0.12727029621601105, -0.3361486792564392, -0.025188593193888664, -0.4459878206253052, 0.45801445841789246, -0.1236313059926033, -0.36713266372680664, -0.44292232394218445, 0.43219947814941406, 0.3203296661376953, -0.22424370050430298, 0.24616563320159912, 0.47529950737953186, -0.04870085418224335, -0.23776963353157043, -0.9073398113250732, -0.09599888324737549, -0.5729911923408508, 0.3662746250629425, -0.2147143930196762, -0.5532642006874084, -0.003416063729673624, 0.07824841886758804, -0.02671048231422901, 0.5013652443885803, 0.6133680939674377, 0.07189930975437164, 0.9204973578453064, 0.03772656247019768, -0.35477516055107117, 0.594830334186554, -0.24069245159626007, -0.03890567645430565, -0.2963797152042389, -0.0998433455824852, -0.4218858778476715, -0.3911871016025543, -0.5389523506164551, -0.37242400646209717, 0.6570755243301392, -0.39781317114830017, -0.0944429561495781, 0.12723557651042938, -1.090057611465454, 0.7904965281486511, 0.9325145483016968, 0.4526822865009308, 0.25854408740997314, 0.28072813153266907, 0.1818360835313797, 0.09700269252061844, -0.2691096365451813, -0.1340353935956955, 1.2224563360214233, -0.07920756936073303, 0.18151381611824036, 0.011038918048143387, 0.8272053003311157, 0.5785515308380127, 0.15159204602241516, -1.0926182270050049, 0.41907498240470886, 0.0031553616281598806, -0.44351884722709656, -0.5869115591049194, -0.6277192234992981, -0.6668493151664734, 0.22617650032043457, -0.17214372754096985, -0.1964082270860672, 0.23236514627933502, 0.03621520474553108, -0.5458326935768127, 0.05445340648293495, -0.8390206694602966, 0.3841761648654938, -0.5011113882064819, -0.3861140310764313, -0.9043562412261963, -0.5906352996826172, 0.01678147353231907, -0.20728908479213715, 0.24642440676689148, 0.02225426584482193, 0.2016867995262146, 0.9946914911270142, -0.38593271374702454, 0.3247931897640228, -0.3276516795158386, 0.27652299404144287, 0.2992017865180969, -0.16039936244487762, 0.29403313994407654, 0.0021554818376898766, -0.4210129976272583, 0.24912121891975403, -0.3237287700176239, -0.3195817768573761, -0.5534671545028687, 0.7710782289505005, -1.1491589546203613, -0.5746133923530579, -0.23896712064743042, -0.13593050837516785, -0.5203390121459961, -0.10319173336029053, 0.5557364225387573, 0.6427851915359497, -0.20018675923347473, 0.042028024792671204, 0.24709613621234894, -0.22283335030078888, 0.5155265927314758, 0.3608236312866211, 0.0565747432410717, -0.8871746063232422, 1.4714075326919556, 0.11767333745956421, 0.354636013507843, 0.23505687713623047, 0.6523764729499817, -0.5655856132507324, -0.5562847852706909, -0.6709430813789368, -0.04756060615181923, -0.44475245475769043, -0.002922728192061186, -0.3582223951816559, 0.1409914344549179, -0.3123221695423126, -0.2901693284511566, -0.35875385999679565, -0.4246538579463959, -0.4071180522441864, -0.07174263894557953, 0.12536388635635376, 0.48790502548217773, -0.3474513292312622, -0.05923505127429962, -0.4738590717315674, 0.5767132043838501, 0.7756537199020386, 0.7252562046051025, -0.04093235731124878, -0.4724552035331726, -0.24681907892227173, 0.060394104570150375, -0.6362594962120056, -0.7705510854721069, 0.4673561155796051, 0.21340732276439667, 0.5145479440689087, 0.732597827911377, 0.21944506466388702, 0.7761242389678955, -0.41248059272766113, 0.3084888458251953, 0.14442308247089386, -0.9533869624137878, 0.5864797234535217, -0.25617268681526184, 0.010625001043081284, 0.9539390206336975, 0.31399744749069214, -0.2265794724225998, -0.14267422258853912, -0.7285969257354736, -0.7462828755378723, 0.7497144341468811, 0.422688752412796, -0.06841298192739487, 0.257011353969574, 0.08428991585969925, 0.38996055722236633, 0.28702467679977417, -0.33045443892478943, -0.4952198565006256, -0.5068711638450623, 0.12953971326351166, -0.22796210646629333, -0.12218081206083298, -0.21401192247867584, -0.5832856893539429, 0.5401332378387451, 0.0673956423997879, 0.23644742369651794, 0.059813398867845535, -0.05695342645049095, -0.33595359325408936, 0.07504212856292725, 0.599831223487854, 0.6360990405082703, -0.28924909234046936, -0.32988083362579346, 0.13196152448654175, -0.2806183695793152, 0.11815019696950912, 0.028443461284041405, -0.2539512813091278, 0.04965045303106308, -0.298305869102478, 0.9505001306533813, 0.10369251668453217, -0.6781359910964966, 0.5285428762435913, 0.08782915771007538, -0.24822181463241577, -0.5190448760986328, -0.129320427775383, -0.08570630848407745, 0.10875073820352554, 0.4486549198627472, 0.3153589963912964, 0.713181734085083, -0.15379276871681213, 0.12957952916622162, 0.4742441475391388, -0.09494666010141373, -0.0002810851437970996, 0.43139973282814026, 0.6197401881217957, -0.6378369927406311, 0.508541464805603, -0.4336075484752655, -0.3836246430873871, 0.7162734866142273, 0.15676049888134003, 1.1895579099655151, -0.30214306712150574, 0.573972225189209, 0.3075038194656372, -0.13382960855960846, -0.05657855421304703, 0.09757321327924728, -0.3633062243461609, -0.5535255670547485, -0.14155958592891693, -0.8968890905380249, -0.842496931552887, -0.0066025336273014545, -0.87281733751297, 0.46657249331474304, -0.5576022863388062, -0.23756246268749237, 0.1183416023850441, 0.04060355946421623, -0.6834827661514282, 0.3958020806312561, 0.17443722486495972, 0.1099584773182869, -0.7237929701805115, 0.2614954710006714, 0.36239027976989746, -0.2618190050125122, -0.5427742004394531, -0.040743593126535416, 0.2828139066696167, -0.6943536996841431, 0.5985257625579834, 0.0654563456773758, -0.30496418476104736, 0.12237219512462616, -0.3508075475692749, -0.7929194569587708, 0.471623957157135, 0.4637264311313629, -0.6744418740272522, 0.37278687953948975, -0.022626951336860657, 0.4860891103744507, 0.0322689451277256, 0.4917467534542084, 0.05426913499832153, 0.6803175806999207, 0.005353106185793877, -1.1681995391845703, -0.3066677451133728, -0.34988880157470703, -0.2029065638780594, 0.09765647351741791, -0.9349618554115295, 0.3018421232700348, -0.12168549746274948, -0.18893176317214966, -0.2060064673423767, 0.564500629901886, 0.18873699009418488, 0.4029679000377655, 1.0066032409667969, 0.4981144964694977, 0.6937727332115173, 0.1891249716281891, 0.9549286365509033, -0.07966252416372299, 0.48253190517425537, 0.8321351408958435, 0.022260120138525963, 0.760578989982605, 0.42282551527023315, -0.5886675119400024, 0.15059931576251984, 0.962278425693512, -0.1693505197763443, 0.7525671124458313, 0.5137025117874146, -0.5162776112556458, -0.4035169184207916, -0.2438664436340332, -0.3284868001937866, 0.5339462757110596, -0.17546218633651733, -0.17424945533275604, 0.2208860218524933, 0.22703729569911957, -0.5211339592933655, 0.044311847537755966, -0.34721794724464417, 0.9980406165122986, -0.16380490362644196, -0.781949520111084, 0.7442901134490967, 0.0688110888004303, 0.7379938960075378, -0.11661310493946075, 0.3629143536090851, -0.060275156050920486, -0.11799120157957077, -0.3459862470626831, -0.19109389185905457, 0.19320307672023773, -0.17944249510765076, -0.25787341594696045, -0.4373812973499298, 0.24675020575523376, -0.147667795419693, -0.5929454565048218, 0.2220267653465271, 0.2179354578256607, 0.13829411566257477, -0.3634297549724579, -0.6527439951896667, 0.08996959775686264, 0.05238160863518715, -0.2908121645450592, 0.41585302352905273, -0.2009870558977127, 0.1187305822968483, 0.5081800818443298, 0.8366355895996094, 0.273368775844574, -0.22358465194702148, 0.42943790555000305, 0.8308553695678711, -0.3248615860939026, -0.8070697784423828, -0.7971871495246887, 0.1635040044784546, -0.25924816727638245, -0.20288118720054626, 0.4272932708263397, 0.8958544731140137, 0.9830470681190491, -0.25816503167152405, 1.0077840089797974, 0.12675127387046814, 0.36591964960098267, -0.3589947521686554, 0.6738870143890381, -0.5040425062179565, -0.10634041577577591, -0.5083083510398865, -1.1272532939910889, -0.13967271149158478, 0.7875826954841614, -0.4711931049823761, -0.07611682265996933, 0.5049921870231628, 0.7244570851325989, -0.08879658579826355, 0.5254663228988647, 0.134862020611763, -0.2935756742954254, -0.1816685050725937, 0.3146771192550659, 0.5158907175064087, 0.10418304800987244, 0.5305303931236267, -0.7261487245559692, -0.532224714756012, -0.3996363580226898, -0.593051552772522, -0.7114655375480652, -0.8778696656227112, -0.3191567659378052, -0.11245671659708023, 0.11722816526889801, 1.5366647243499756, 0.7947559356689453, -0.8034970760345459, -0.43281570076942444, 0.07638576626777649, -0.16944929957389832, -0.24846188724040985, -0.28372833132743835, 0.42500507831573486, -0.1748349964618683, -1.0894237756729126, 0.5811715722084045, 0.24458645284175873, -0.369944304227829, -0.49994632601737976, -0.2030988335609436, 0.17602762579917908, -0.20077045261859894, 0.7282654643058777, 0.20601080358028412, -0.836887538433075, -0.26789358258247375, -0.07607541233301163, 0.1453823447227478, 0.1592479795217514, 0.927001953125, -0.7278655171394348, 1.0129656791687012, 0.7809954881668091, 0.5830535292625427, 0.5839311480522156, 0.35140275955200195, 0.6001845002174377, -0.401963472366333, 0.034438829869031906, 0.36129575967788696, 0.057441167533397675, 0.23798605799674988, -0.35985466837882996, 0.3766404688358307, 0.42439016699790955, -0.6816185116767883, -0.6240809559822083, -0.00744543457403779, -1.1219284534454346, -0.050377704203128815, 1.1753181219100952, 0.4052908420562744, 0.3114604949951172, -0.25779619812965393, -0.5308783054351807, 0.3785429894924164, -0.6921578645706177, 1.302780270576477, 0.5061498284339905, -0.3504123091697693, 0.06327610462903976, -0.24450565874576569, 0.5000810027122498, 0.5517192482948303, -0.6317471861839294, -0.40610572695732117, 0.6232779026031494, 0.061066433787345886, 0.20946086943149567, 0.3747234344482422, 0.2719963490962982, 0.1948564350605011, -0.2969367802143097, 0.05285653844475746, -0.16713300347328186, 0.10042252391576767, -0.26204913854599, 0.4552849233150482, -0.08892078697681427, -0.4833787679672241 ]
http://arxiv.org/abs/2403.06098v3
http://arxiv.org/pdf/2403.06098v3
VidProM: A Million-scale Real Prompt-Gallery Dataset for Text-to-Video Diffusion Models
2024-03-10T05:40:12
2024-05-14T13:01:02
Wenhao Wang, Yi Yang
cs.CV
cs.CV, cs.CL
The arrival of Sora marks a new era for text-to-video diffusion models, bringing significant advancements in video generation and potential applications. However, Sora, along with other text-to-video diffusion models, is highly reliant on prompts, and there is no publicly available dataset that features a study of text-to-video prompts. In this paper, we introduce VidProM, the first large-scale dataset comprising 1.67 Million unique text-to-Video Prompts from real users. Additionally, this dataset includes 6.69 million videos generated by four state-of-the-art diffusion models, alongside some related data. We initially discuss the curation of this large-scale dataset, a process that is both time-consuming and costly. Subsequently, we underscore the need for a new prompt dataset specifically designed for text-to-video generation by illustrating how VidProM differs from DiffusionDB, a large-scale prompt-gallery dataset for image generation. Our extensive and diverse dataset also opens up many exciting new research areas. For instance, we suggest exploring text-to-video prompt engineering, efficient video generation, and video copy detection for diffusion models to develop better, more efficient, and safer models. The project (including the collected dataset VidProM and related code) is publicly available at https://vidprom.github.io under the CC-BY-NC 4.0 License.
[ -0.5573254823684692, -0.9817156195640564, 0.5099535584449768, 0.32128721475601196, -0.32964977622032166, -0.3124735653400421, -0.03950188681483269, 0.1925904005765915, -0.018377812579274178, 0.43128061294555664, -0.6308489441871643, -0.18162250518798828, -0.6838046312332153, -0.07533104717731476, -0.7696058750152588, 0.9652578830718994, 0.07944131642580032, 0.007531552575528622, -0.13737158477306366, -0.09956565499305725, -0.6284047961235046, -0.14108510315418243, -0.45477738976478577, 0.24153494834899902, 0.6189420223236084, 0.6851317286491394, 0.30923956632614136, 0.4731840193271637, 0.3191702961921692, 0.13064539432525635, 0.042399827390909195, 0.15978887677192688, -0.6717000603675842, 0.22665640711784363, -0.16165557503700256, 0.007223824970424175, -0.2046137899160385, -0.21380819380283356, 1.007685899734497, 0.10400311648845673, 0.11490027606487274, 0.3661149740219116, -0.06546872109174728, 0.7936623096466064, -0.607405960559845, -0.30395516753196716, -0.07630741596221924, 0.32793503999710083, -0.34589651226997375, -0.13929986953735352, -0.469281941652298, -0.6291635036468506, 0.23066534101963043, -0.6240168809890747, 0.4171005189418793, -0.13869209587574005, 0.38134002685546875, 0.1661621779203415, -0.4597075879573822, 0.09163887798786163, -0.9099907875061035, 0.36571595072746277, -0.034261349588632584, 0.13026851415634155, 0.028900092467665672, 0.7261675000190735, 0.055222686380147934, -0.9430165886878967, -0.7536182999610901, 0.16999344527721405, 0.6651391983032227, 0.10760592669248581, -0.4661538898944855, -0.3215869665145874, 0.28208455443382263, 0.12756569683551788, -0.7778509259223938, 0.035996418446302414, -0.2908906042575836, -0.014932414516806602, 0.4905969202518463, 0.27125778794288635, 0.35358259081840515, -0.2074543535709381, -0.6285863518714905, -0.2773538827896118, -0.6526360511779785, -0.24813741445541382, 0.3498145341873169, 0.09833688288927078, -0.22194990515708923, 0.5743220448493958, -0.08658459037542343, 0.6597286462783813, 0.03350043296813965, 0.16416645050048828, 0.03223937749862671, -0.5114536285400391, -0.25387367606163025, 0.17201799154281616, 1.1240888833999634, 0.5974518656730652, 0.4133700430393219, 0.4422001838684082, 0.22296804189682007, -0.02838265150785446, 0.07585027068853378, -1.1955448389053345, -0.3263879120349884, -0.12552475929260254, -0.6452864408493042, -0.1399487406015396, -0.08872620761394501, -1.316014289855957, -0.8022695779800415, -0.02078372985124588, 0.6065742373466492, -0.10950382053852081, -0.49883320927619934, 0.16707393527030945, -0.3360230624675751, 0.02808394655585289, 0.7291788458824158, -0.6053194999694824, 0.08668908476829529, 0.47882911562919617, 1.1465054750442505, -0.298929899930954, -0.15768258273601532, -0.8192611932754517, -0.17084859311580658, -0.2000419795513153, 1.0777835845947266, -0.562065839767456, -0.7284857630729675, 0.2574755549430847, 0.03545372933149338, 0.22258859872817993, -0.47189927101135254, 0.4332462549209595, -0.5234032869338989, 0.2598126530647278, -0.524061381816864, -0.5788550972938538, 0.07160626351833344, 0.05392969399690628, -0.7705588936805725, 0.7110311985015869, -0.1892499327659607, -0.7646670937538147, 0.3703807592391968, -0.7057345509529114, -0.22694405913352966, 0.18579550087451935, -0.21058544516563416, -0.33395814895629883, -0.07524695992469788, -0.06979386508464813, 0.5197154879570007, -0.5624833106994629, 0.43991246819496155, -0.07152857631444931, -0.12992744147777557, 0.25752726197242737, -0.9506009221076965, 0.4739876985549927, 0.4338494837284088, 0.041099581867456436, 0.07998012006282806, -0.7857615947723389, -0.5494614243507385, -0.07071927189826965, -0.06178855895996094, -0.05472376197576523, -0.14402994513511658, 0.4577161371707916, 0.2114962935447693, 0.15094028413295746, -0.4904136061668396, 0.24948552250862122, 0.37384358048439026, 0.40753570199012756, 0.8528732061386108, 0.16012799739837646, 0.5119139552116394, -0.05685727670788765, 0.9672253131866455, 0.10051219910383224, 0.3991125822067261, -0.8562083840370178, -0.8254203796386719, -0.05792229250073433, -0.3829326629638672, 0.09438402205705643, 0.35979998111724854, -0.6098518371582031, -0.06684704124927521, -0.3475160300731659, -0.44864988327026367, -0.1992068886756897, -0.11996868252754211, 0.0487109050154686, 0.8264204263687134, 0.2260599583387375, -0.2543432414531708, -0.2507272958755493, -0.5236775279045105, 0.22252580523490906, 0.17822754383087158, -0.05742882937192917, 0.40837132930755615, 0.25320300459861755, -0.10901600122451782, 1.1696287393569946, -0.6254937052726746, -0.47621849179267883, -0.06604712456464767, 0.2538241446018219, 0.23316720128059387, 0.4450746476650238, 0.5672482848167419, -0.98370760679245, -0.6943017840385437, -0.23983924090862274, -0.7820948958396912, -0.15465113520622253, -0.17160861194133759, -0.10868284851312637, -0.12357759475708008, 0.6953997611999512, -0.6808746457099915, 0.4609454572200775, 0.687221348285675, -0.5852445960044861, 0.8441084623336792, -0.5569714307785034, 0.3101966083049774, -1.1942251920700073, 0.22449041903018951, 0.3039814233779907, -0.32297664880752563, -0.5908983945846558, -0.3039102852344513, -0.11083057522773743, -0.34434106945991516, -0.6907545328140259, 0.7696195840835571, -0.07489228993654251, -0.11107279360294342, -0.022183211520314217, 0.21346347033977509, 0.05280734971165657, 0.06721657514572144, 0.10766001790761948, 0.89227694272995, 0.8789884448051453, -0.7411566376686096, 0.48649153113365173, 0.5561267733573914, -0.5129624605178833, 0.9746707081794739, -0.7314149737358093, -0.33653706312179565, -0.452986478805542, 0.29913243651390076, -1.4738346338272095, -0.3094450831413269, 0.34609490633010864, -0.3271149694919586, 0.042616475373506546, -0.38273391127586365, -0.5056801438331604, -0.1768038272857666, -0.3106571137905121, 0.6351107358932495, 0.7118697762489319, -0.6667577624320984, 0.37624841928482056, 0.2821059226989746, -0.48352882266044617, -0.4312926232814789, -0.43354713916778564, 0.22359172999858856, -0.3278030753135681, -0.5554925203323364, 0.27415943145751953, -0.3429325520992279, 0.13034409284591675, -0.1871030330657959, 0.203921839594841, -0.22777606546878815, -0.2298690378665924, 0.3984110653400421, 0.2690267264842987, -0.006374896503984928, 0.17443250119686127, 0.01964457519352436, -0.27247628569602966, 0.10695421695709229, -0.3293544054031372, 0.646351158618927, 0.5200232863426208, -0.13240796327590942, -0.5958638787269592, 0.4776332974433899, 0.45191651582717896, -0.13852620124816895, 0.4755939841270447, 0.7303628921508789, -0.06873185187578201, 0.04236093908548355, -0.2796725630760193, 0.11756094545125961, -0.47873789072036743, 0.2663741409778595, -0.1008908599615097, -0.7253751754760742, 0.44175201654434204, -0.2196548879146576, 0.09226591885089874, 0.17920807003974915, 0.6730082035064697, -0.10043080896139145, 1.0517622232437134, 0.5085873007774353, 0.09485325962305069, 1.123172640800476, -0.4912320673465729, -0.014361729845404625, -0.38920116424560547, -0.12084949016571045, -0.38016703724861145, -0.38132110238075256, -0.2571974992752075, -0.7620060443878174, 0.5158748030662537, -0.31140145659446716, -0.40654823184013367, -0.128030464053154, -0.4905256927013397, 0.5531235933303833, 0.32349351048469543, 0.027452154085040092, 0.4454335868358612, 0.2946423888206482, 0.2504217326641083, -0.09185321629047394, -0.6280239820480347, -0.43862050771713257, 1.0337644815444946, 0.13183660805225372, 0.926207959651947, 0.12363706529140472, 0.19259393215179443, 0.9752167463302612, 0.08081118017435074, -0.628420352935791, 0.8806841373443604, -0.35147523880004883, -0.3441821336746216, -0.25869739055633545, -0.40006691217422485, -1.0691859722137451, -0.16584698855876923, -0.145301952958107, -0.28447219729423523, 0.3340453505516052, 0.30813345313072205, -0.30739399790763855, 0.17736852169036865, -0.5893664956092834, 1.0049079656600952, 0.17326760292053223, -0.7432531714439392, -0.2403508722782135, -0.8093050718307495, 0.27450546622276306, -0.12309225648641586, 0.20585335791110992, 0.06169810891151428, 0.2070123851299286, 0.735209047794342, -0.5985110402107239, 0.646501362323761, -0.572333574295044, -0.2428499460220337, 0.4705619215965271, 0.12878866493701935, 0.2894245386123657, 0.11709508299827576, 0.12289072573184967, -0.2989703416824341, -0.27760806679725647, -0.19627195596694946, -0.30523231625556946, 0.6805884838104248, -0.4582637548446655, -0.16416522860527039, -0.02192685380578041, -0.18840797245502472, 0.35133200883865356, 0.32060402631759644, 0.7365525364875793, 0.843252956867218, -0.4167778193950653, 0.0766371488571167, 1.2725502252578735, -0.46358180046081543, 0.5449875593185425, 0.16616427898406982, -0.47891509532928467, -0.33927273750305176, 1.1702240705490112, 0.20271217823028564, 0.14924044907093048, 0.31149834394454956, 0.18213658034801483, -0.3659645915031433, -0.32544583082199097, -0.7909741997718811, 0.03710326552391052, -0.5328902006149292, -0.25804072618484497, -0.7262634038925171, 0.0801081582903862, -0.2263375073671341, -0.13379481434822083, -0.3408975303173065, -0.31336042284965515, -0.7144791483879089, -0.15783026814460754, 0.8466674089431763, 0.5136256814002991, 0.0034655830822885036, 0.594192385673523, -0.9121178984642029, 0.5902640223503113, 0.635040283203125, 0.28616800904273987, 0.04251953586935997, -0.5191739797592163, -0.22240762412548065, -0.16859671473503113, -0.2938263416290283, -0.7550532817840576, 0.5303989052772522, 0.28802990913391113, 0.10615264624357224, 0.6779555082321167, 0.0947226881980896, 0.5456309914588928, -0.6903406381607056, 1.1775799989700317, 0.43512842059135437, -0.617338240146637, 0.5158373117446899, -0.6185431480407715, 0.21329715847969055, 0.26684457063674927, 0.3612437844276428, -0.525532603263855, 0.20391641557216644, -0.4998701214790344, -0.6797952651977539, 0.4701782166957855, -0.23124070465564728, 0.38981953263282776, -0.022969970479607582, 0.16244643926620483, 0.37801694869995117, 0.15767255425453186, -0.25960513949394226, -0.1307627558708191, -0.33799800276756287, -0.3003882169723511, -0.2132452130317688, -0.23521730303764343, -0.0005227753426879644, 0.0674961507320404, 0.0686240941286087, -0.15841148793697357, 0.2822847366333008, 0.35281965136528015, -0.1978752762079239, -0.16146968305110931, 0.11195449531078339, 0.3392069935798645, 0.2553650736808777, 0.07044248282909393, -0.026141498237848282, -0.3318008780479431, -0.7536643147468567, 0.424578994512558, 0.03538817912340164, -0.2550811767578125, 0.09520416706800461, -0.03457430750131607, 0.7893388867378235, -0.2319955974817276, -1.050157070159912, 0.9501084089279175, -0.22803384065628052, -0.4278132915496826, -0.24600379168987274, -0.0499158576130867, -0.31865230202674866, 0.3077274262905121, 0.45549625158309937, 0.14228157699108124, 0.4744671881198883, -0.357928603887558, 0.25676485896110535, 0.18504676222801208, -0.46943244338035583, -0.5208374857902527, 1.1384121179580688, 0.3302394151687622, -0.2628191411495209, 0.550399124622345, -0.09875110536813736, -0.1355230212211609, 0.48006054759025574, 0.2139902561903, 0.7562288045883179, -0.17723973095417023, 0.8019177913665771, 0.22777758538722992, -0.2876181900501251, -0.6014964580535889, 0.36364224553108215, -0.34063929319381714, -0.4526955485343933, -0.35419923067092896, -0.21736116707324982, -0.40188631415367126, -0.42042097449302673, -0.7002975940704346, 0.3537106513977051, -0.7054397463798523, -0.5053240060806274, -0.07099366188049316, -0.22734388709068298, -0.5299347639083862, 0.18168765306472778, 0.14422301948070526, 1.13144850730896, -1.1672439575195312, 0.6978115439414978, 0.5548210740089417, -0.25780460238456726, -0.10969500988721848, -0.3483129143714905, -0.13909108936786652, -0.50620037317276, 0.5967212319374084, 0.15392009913921356, 0.2295738011598587, 0.2571560740470886, -0.6028609871864319, -0.2360967993736267, 0.9406914710998535, 0.363107293844223, -0.7151382565498352, 0.12964314222335815, 0.030158525332808495, 0.5168408751487732, -0.2543903887271881, 0.1804770678281784, 0.44388243556022644, 0.372441828250885, 0.35838305950164795, -0.2978282570838928, -0.07895824313163757, -0.2277270406484604, -0.018102001398801804, 0.24276931583881378, -0.8245232701301575, 0.9048832654953003, -0.2419518679380417, -0.12543125450611115, 0.11402955651283264, 0.4161350131034851, 0.3513438403606415, 0.5625525116920471, 0.3921114504337311, 0.4800455868244171, 0.5571406483650208, 0.1341785341501236, 0.77204829454422, 0.25722208619117737, 0.10811714082956314, 0.953927218914032, -0.4292874336242676, 0.7099340558052063, 0.4084409773349762, -0.08761939406394958, 0.3962467908859253, 0.48400476574897766, -0.19262371957302094, 0.7184616923332214, -0.1334610879421234, -0.4995814561843872, -0.2387242466211319, -0.4632497727870941, -0.36145272850990295, -0.10847632586956024, 0.3216380178928375, -0.4424043595790863, -0.09090773016214371, 0.5906835198402405, -0.27185961604118347, -0.00446442561224103, -0.3086661398410797, 0.7637911438941956, -0.24776634573936462, -0.3538788855075836, 0.03998182341456413, -0.5959052443504333, 0.5123995542526245, -0.48720216751098633, -0.08710133284330368, -0.40823987126350403, 0.03182569891214371, -0.13583031296730042, -1.127771019935608, -0.09436997771263123, 0.5685431957244873, -0.44068482518196106, -0.5996543169021606, 0.6754767894744873, -0.24768930673599243, -0.2736425995826721, -0.027216367423534393, 0.31939712166786194, 0.2221400886774063, -0.07357896864414215, -0.316558837890625, 0.11889342963695526, -0.12384599447250366, -0.375868558883667, 0.49165284633636475, 0.6817111968994141, -0.041941966861486435, 0.6264294981956482, 0.44741904735565186, -0.08907344937324524, 0.15461909770965576, 0.3131049871444702, 0.7892763018608093, -0.7760112285614014, -0.696175217628479, -0.8812527656555176, 0.6603858470916748, 0.012697159312665462, -0.30720755457878113, 0.8222519159317017, 0.602778971195221, 0.23720063269138336, -0.16513697803020477, 0.9977487325668335, -0.09944546222686768, 0.32358527183532715, -0.33519217371940613, 0.39881953597068787, -0.5706561207771301, 0.04402618855237961, -0.4482325613498688, -0.9441001415252686, -0.209327831864357, 0.3754424750804901, 0.08308319002389908, -0.26070624589920044, 0.0776451975107193, 0.7911046147346497, -0.017424453049898148, 0.17991669476032257, 0.1721925437450409, 0.27558428049087524, 0.5782675743103027, 0.21102078258991241, 1.1093635559082031, -0.5025316476821899, 0.7095886468887329, 0.4361186623573303, -0.3418567478656769, -0.6406278014183044, -1.0200878381729126, -0.4622889757156372, -0.6602930426597595, -0.4056950509548187, -0.2295878529548645, -0.14974777400493622, 0.6661511659622192, 0.6855418682098389, -0.26134711503982544, -0.1968938410282135, -0.37339726090431213, -0.03240837901830673, -0.13126295804977417, -0.1743444800376892, 0.24795763194561005, 0.3191736340522766, -0.6345955729484558, 0.09229929000139236, 0.3139686584472656, 0.27508410811424255, -0.4312342405319214, -0.03241855278611183, 0.05980964004993439, -0.012815045192837715, 0.7415900230407715, 0.44729161262512207, 0.01982719823718071, 0.08547364175319672, 0.137717604637146, 0.07365255802869797, 0.14125344157218933, 0.7572560906410217, -0.9122663736343384, 0.7513311505317688, 1.0689332485198975, 0.35192057490348816, 0.756852924823761, 0.03473326563835144, 0.7041552662849426, -0.737066924571991, 0.16236472129821777, -0.17257177829742432, 0.17521487176418304, 0.2510937750339508, -0.19864729046821594, 0.320682168006897, 0.17608191072940826, -0.7825533747673035, -0.8994950652122498, 0.14629025757312775, -1.2992905378341675, -0.20456863939762115, 0.971084713935852, -0.0008894421625882387, -0.02738805301487446, -0.03260763734579086, -0.7565410733222961, 0.19223693013191223, -0.6879024505615234, 0.5324353575706482, 0.26230162382125854, 0.1433577984571457, -0.4825711250305176, -0.46209588646888733, 0.41110512614250183, 0.07758638262748718, -0.735772967338562, 0.5299780368804932, 0.8540545105934143, 0.15983858704566956, -0.10512758791446686, 0.8028215169906616, 0.03915421664714813, 0.5761943459510803, -0.04969067499041557, -0.13796167075634003, -0.03746721148490906, -0.7124024629592896, -0.6503993272781372, 0.3731216490268707, -0.2537606656551361, -0.20083408057689667 ]
http://arxiv.org/abs/2403.06097v2
http://arxiv.org/pdf/2403.06097v2
Can LLM Substitute Human Labeling? A Case Study of Fine-grained Chinese Address Entity Recognition Dataset for UAV Delivery
2024-03-10T05:12:16
2024-03-19T11:36:26
Yuxuan Yao, Sichun Luo, Haohan Zhao, Guanzhi Deng, Linqi Song
cs.CL
cs.CL, cs.AI, cs.IR
We present CNER-UAV, a fine-grained \textbf{C}hinese \textbf{N}ame \textbf{E}ntity \textbf{R}ecognition dataset specifically designed for the task of address resolution in \textbf{U}nmanned \textbf{A}erial \textbf{V}ehicle delivery systems. The dataset encompasses a diverse range of five categories, enabling comprehensive training and evaluation of NER models. To construct this dataset, we sourced the data from a real-world UAV delivery system and conducted a rigorous data cleaning and desensitization process to ensure privacy and data integrity. The resulting dataset, consisting of around 12,000 annotated samples, underwent human experts and \textbf{L}arge \textbf{L}anguage \textbf{M}odel annotation. We evaluated classical NER models on our dataset and provided in-depth analysis. The dataset and models are publicly available at \url{https://github.com/zhhvvv/CNER-UAV}.
[ -0.3679412305355072, -0.5753488540649414, 0.20400460064411163, -0.3529135584831238, -0.13691888749599457, -0.15893885493278503, 0.032048363238573074, -0.9868605136871338, 0.04571138322353363, 0.8381334543228149, -0.3054889738559723, -0.6568695902824402, -0.11657823622226715, 0.2192865014076233, -0.31627532839775085, 0.8981176614761353, 0.1521037369966507, -0.19648854434490204, 0.03631148114800453, -0.22884102165699005, -0.36081641912460327, -0.9418171048164368, -0.6253626942634583, -0.3391261100769043, 0.5593894720077515, 0.3684583902359009, 0.6457942724227905, 1.445393681526184, 0.6614119410514832, 0.21296758949756622, -0.15535739064216614, 0.4272536337375641, -0.018063798546791077, -0.31746140122413635, -0.3306138515472412, -0.1562732607126236, -0.7816611528396606, -0.16046710312366486, 0.6857218742370605, 0.675041675567627, -0.2794286608695984, 0.20933465659618378, -0.11467435956001282, 0.6007835268974304, -0.48752889037132263, -0.2988823354244232, -0.651884138584137, 0.1764620691537857, -0.35668447613716125, -0.1466720849275589, -0.7204437851905823, -0.06770246475934982, 0.3966417908668518, -0.815689206123352, 0.18411628901958466, 0.5942686200141907, 1.2795302867889404, 0.3783813416957855, -0.6026957035064697, -0.1179877519607544, -0.9326677322387695, 0.7260226607322693, -0.6844831705093384, 0.32449260354042053, 0.19485799968242645, 0.5072579383850098, -0.4397861063480377, -0.5478538274765015, -0.2598313093185425, -0.1890767365694046, 0.07330051809549332, 0.02789481356739998, -0.18366163969039917, 0.47573795914649963, 0.19558869302272797, 0.34632131457328796, -0.21157865226268768, 0.5835680961608887, -0.3813125789165497, -0.4971194863319397, 0.6726557612419128, 0.3043871521949768, 0.3714706003665924, -0.12683947384357452, -0.6755051612854004, 0.05753634497523308, -0.8485709428787231, 0.40400630235671997, 0.4569823443889618, 0.5101251602172852, -0.09545742720365524, 0.7246384620666504, -0.6214370131492615, 0.7992828488349915, 0.1974347084760666, -0.02322148159146309, 0.282014399766922, -0.11163899302482605, -0.6976762413978577, 0.21913191676139832, 0.9108890891075134, 0.3159063458442688, 0.25981155037879944, -0.22957812249660492, -0.3683680593967438, -0.16720649600028992, 0.2642129063606262, -0.6596093773841858, -0.5675985813140869, 0.08091749250888824, -0.5006611943244934, -0.3388311564922333, 0.3383129835128784, -0.6864360570907593, -0.5560835003852844, -0.24082475900650024, -0.13530583679676056, -0.03358624875545502, 0.12120287120342255, -0.01898929476737976, 0.22504039108753204, 0.7172670364379883, 0.5084001421928406, -0.9394022226333618, 0.4112153947353363, 0.7093679904937744, 0.47358977794647217, -0.024505166336894035, -0.2851024866104126, -0.7276086807250977, 0.1492784172296524, -0.13847140967845917, 1.0290714502334595, -0.5911038517951965, -0.10538031905889511, -0.13291844725608826, 0.010768965817987919, 0.37786972522735596, -1.0076556205749512, 0.5332781672477722, -0.786622166633606, -0.39109691977500916, -0.29034364223480225, -0.42712631821632385, -0.38550665974617004, 0.4238201677799225, -0.6918749213218689, 0.8020109534263611, -0.18274043500423431, -0.7239348292350769, 0.18452288210391998, -0.31934189796447754, -0.30436113476753235, -0.029332133010029793, -0.08876299113035202, -0.605700671672821, -0.2627260386943817, 0.24438370764255524, 0.5570530295372009, -0.2642299234867096, 0.31911733746528625, -0.35746413469314575, -0.3054875433444977, 0.3179190158843994, -0.6369047164916992, 0.6733911037445068, 0.1973457932472229, -0.11773081868886948, -0.046942975372076035, -1.0442979335784912, -0.19315530359745026, -0.1156078577041626, -0.7175034284591675, -0.3587285280227661, -0.055949024856090546, 0.3238920569419861, 0.170453280210495, 0.22390620410442352, -0.6192992925643921, 0.4464995265007019, -0.5383628010749817, 0.13802124559879303, 0.8249359726905823, 0.15526548027992249, 0.6210163235664368, -0.2820148468017578, 0.42901962995529175, 0.4141339063644409, 0.09846562147140503, -0.40100154280662537, -0.42653894424438477, -0.8735573291778564, -0.14456532895565033, 0.29667481780052185, 0.8021990060806274, -0.4937385618686676, 0.1945141702890396, -0.3195643126964569, -0.485699325799942, -0.5039131045341492, 0.07019218057394028, 0.5241170525550842, 0.7607519030570984, 0.585104763507843, -0.09563952684402466, -0.6772005558013916, -1.0940051078796387, -0.08062367886304855, -0.2914503812789917, -0.22889326512813568, 0.5653126239776611, 0.31996896862983704, -0.3668535649776459, 0.8887046575546265, -0.3911389708518982, -0.475635826587677, 0.051658306270837784, 0.03453335911035538, -0.1751302033662796, 0.3546479046344757, 0.18745072185993195, -0.7523552775382996, 0.028754819184541702, 0.3989492952823639, -0.8428272604942322, -0.0022873191628605127, -0.2225186675786972, -0.05691462382674217, 0.296815425157547, 0.2451428920030594, -0.35489240288734436, 0.6316456198692322, 0.10370630770921707, -0.07394599169492722, 0.5972825884819031, -0.4912976920604706, -0.06540274620056152, -1.2198216915130615, -0.23296679556369781, 0.5013301372528076, -0.21648000180721283, -0.710163950920105, -0.045260682702064514, -0.03329665586352348, 0.19888457655906677, -0.9920862317085266, 0.45049065351486206, -0.55724036693573, -0.48025083541870117, -0.3483515977859497, -0.13538062572479248, 0.18848691880702972, 0.3626970946788788, 0.08800625801086426, 0.8316065669059753, 0.4208826720714569, -0.7346935868263245, 0.5196371674537659, 0.25527697801589966, 0.03173057734966278, 0.5659297704696655, -0.5997836589813232, 0.34400999546051025, -0.24202536046504974, 0.40985462069511414, -0.6642463803291321, -0.47280728816986084, 0.8046948313713074, -0.2576103210449219, 0.010855356231331825, -0.4236312508583069, -0.6476441025733948, -0.12957622110843658, -0.09600743651390076, 0.4530182182788849, 0.4054344594478607, -0.6790926456451416, 0.6922280192375183, 0.4253990650177002, 0.29681792855262756, -0.5598562955856323, -0.8268421292304993, 0.3255329132080078, -0.35913795232772827, -0.1877923607826233, 0.4004993736743927, 0.29642900824546814, -0.22134393453598022, -0.02128273993730545, 0.062208376824855804, -0.557149350643158, 0.22810116410255432, 0.4723408818244934, 0.6249198913574219, -0.3862164318561554, 0.040669359266757965, -0.3356684744358063, -0.09113168716430664, 0.27437296509742737, -0.31296056509017944, -0.1199822947382927, -0.22246268391609192, -0.3421754539012909, -0.8218854069709778, 0.051496025174856186, 0.17356862127780914, -0.4806137681007385, 0.40659594535827637, 0.35776287317276, -0.8511559963226318, 0.05755190923810005, -0.5165200233459473, 0.07867922633886337, -0.5087850689888, 0.10515366494655609, -0.36374661326408386, -0.4805663824081421, 0.5697262287139893, -0.3009958565235138, -0.019929274916648865, 0.41848665475845337, -0.042829640209674835, -0.3887604773044586, 0.3052333891391754, 0.6931905150413513, -0.4151087999343872, 0.2585446536540985, -0.2647112309932709, 0.0345408134162426, -1.1384238004684448, -0.5871711373329163, -0.48296886682510376, -0.22021061182022095, -0.7336300611495972, -0.3173474073410034, -0.1251537948846817, -0.19891518354415894, -0.2727295458316803, 0.3484461307525635, -0.8361431360244751, 0.6320334672927856, 0.345628023147583, 0.21323542296886444, 0.18034721910953522, -0.07213438302278519, 0.08246096223592758, -0.014863482676446438, -0.415328711271286, -0.8825539350509644, 0.9004635214805603, 0.3800762891769409, 0.6994086503982544, -0.14106830954551697, 0.844607949256897, 0.4352049231529236, 0.3634878396987915, -0.8970202803611755, 0.784476637840271, -0.22188301384449005, -0.3786013722419739, -0.3734917938709259, -0.17337635159492493, -1.2242238521575928, -0.013088774867355824, -0.12150675058364868, -0.9852527976036072, 0.3177073299884796, 0.1695314347743988, -0.6702271699905396, 0.7664982080459595, -0.4836711585521698, 0.7009634375572205, -0.2840561866760254, -0.07778950780630112, 0.5346387028694153, -0.7376080751419067, 0.2890787124633789, -0.09849511831998825, 0.10368582606315613, -0.23380394279956818, -0.10593780875205994, 0.9046892523765564, -0.43812304735183716, 0.8845807909965515, -0.23746106028556824, -0.12773828208446503, 0.540587306022644, -0.41893479228019714, 0.6627786159515381, -0.1797933429479599, -0.24840384721755981, 0.357439249753952, -0.5444811582565308, -0.17669343948364258, -0.43514594435691833, 0.6017029285430908, -0.8885396718978882, -0.5041002631187439, -0.5494316220283508, -0.437884122133255, 0.357250839471817, 0.3654651939868927, 0.12106483429670334, 0.4167395234107971, -0.045203547924757004, 0.02939768321812153, 0.8178843259811401, -0.3242092728614807, 0.3186185956001282, 0.36889442801475525, 0.16263511776924133, -0.45188164710998535, 0.984287440776825, 0.5400343537330627, -0.1496816724538803, 0.7367673516273499, -0.1279062032699585, -0.3241230249404907, -0.7560893297195435, -0.49901580810546875, -0.012824341654777527, -0.8280609846115112, -0.4822564721107483, -0.7438468337059021, -0.6047725677490234, 0.10074092447757721, -0.25293388962745667, -0.46265533566474915, 0.18534715473651886, -0.9986763596534729, -0.14662902057170868, 0.35724928975105286, 1.1132458448410034, 0.45694923400878906, 0.4096737205982208, -0.8518288731575012, 0.6512614488601685, 0.01182524673640728, 0.2692224085330963, -0.07086663693189621, -0.7017186880111694, -0.4359719753265381, 0.47519928216934204, -0.3021085262298584, -0.8675774931907654, 0.482805073261261, -0.026342948898673058, 0.5247482061386108, 0.20582443475723267, 0.4206002354621887, 0.9217939376831055, -0.6527482867240906, 0.7509027719497681, -0.24437005817890167, -0.7463693022727966, 0.7608267068862915, -0.39693111181259155, 0.062199655920267105, 0.437744677066803, -0.14337998628616333, -0.16168037056922913, -0.0799713134765625, -0.4998866319656372, -1.1973679065704346, 0.5714412331581116, -0.06187743321061134, 0.03557795286178589, 0.26051607728004456, 0.7800997495651245, -0.14804109930992126, -0.15761546790599823, -0.8191481828689575, -0.6942918300628662, 0.033877283334732056, 0.006989357993006706, 0.27932411432266235, -0.2753043472766876, 0.41959232091903687, 0.11121770739555359, 0.6758240461349487, 0.07561028003692627, 0.19429239630699158, 0.3562934696674347, -0.0065735457465052605, 0.10229308903217316, 0.5677210092544556, 0.4049508571624756, 0.12248343974351883, -0.4205363690853119, 0.15353725850582123, 0.3675975799560547, -0.39451366662979126, 0.6382704973220825, 0.3388318419456482, -0.45355305075645447, -0.08646564930677414, -0.09274017065763474, 0.4417947232723236, 0.014485886320471764, -0.43766796588897705, 0.40084901452064514, 0.2554289996623993, -0.10461270064115524, -0.5935486555099487, -0.013096865266561508, -0.18279725313186646, 0.21828192472457886, 0.5747707486152649, 0.27658939361572266, 0.5997132658958435, -0.036606620997190475, 0.3347000479698181, 0.3431607782840729, -0.3129766881465912, -0.29007047414779663, 1.2618958950042725, 0.24511173367500305, -0.5407984256744385, 0.7799311876296997, -0.23103874921798706, -0.19126656651496887, 1.005001425743103, 0.3292181193828583, 0.9861293435096741, -0.14751553535461426, 0.06670023500919342, 0.29029205441474915, 0.6630988717079163, -0.23495477437973022, -0.049655359238386154, 0.04831424728035927, -0.6673268675804138, -0.23517663776874542, -0.1542140394449234, -0.7027945518493652, 0.33436277508735657, -0.8554788827896118, 0.3800341486930847, -0.6494134068489075, -0.06012394651770592, 0.3950033485889435, -0.14242741465568542, -0.8635541200637817, 0.6246078014373779, 0.6619548201560974, 0.8737398982048035, -0.8655824065208435, 1.2021911144256592, 1.2633472681045532, -0.2826898992061615, -0.9741683006286621, 0.28094232082366943, 0.12993073463439941, -0.3005887269973755, 0.9647393822669983, 0.48166629672050476, -0.2493140995502472, -0.11640100181102753, -0.2693605124950409, -0.7092251181602478, 1.3075429201126099, 0.2307823896408081, -0.6288655996322632, 0.002057008445262909, 0.49123048782348633, 0.6037121415138245, -0.536201536655426, 0.14427129924297333, 0.3629060685634613, 0.31004178524017334, 0.012235271744430065, -0.7547298669815063, 0.07157980650663376, -0.16158893704414368, 0.2772512137889862, -0.04435673728585243, -0.844651997089386, 0.569146454334259, -0.4199928939342499, -0.20775991678237915, 0.03601783886551857, 1.0552079677581787, 0.49734169244766235, 0.669154703617096, 0.2954534590244293, 0.46457040309906006, 0.9462929368019104, -0.041907988488674164, 0.8022029399871826, 0.14595064520835876, 0.09574510157108307, 1.274657130241394, -0.5016726851463318, 1.062522530555725, 0.6280149817466736, -0.11262638866901398, 0.08070380985736847, 0.9348499774932861, -0.2792547047138214, 0.4305913746356964, 0.4983289837837219, -0.1627683937549591, 0.04409288987517357, -0.6115283370018005, -0.13521404564380646, 0.4847942888736725, 0.16802531480789185, -0.19161540269851685, -0.055616363883018494, 0.04149341210722923, -0.2296319156885147, 0.09107442945241928, -0.319667786359787, 0.9231485724449158, -0.07424292713403702, -0.24955005943775177, 0.6646087169647217, 0.21023710072040558, 0.8634741306304932, -0.016175834462046623, -0.21323637664318085, -0.15472804009914398, -0.10132049024105072, -0.48854127526283264, -0.8168764114379883, 0.33078983426094055, 0.16173164546489716, -0.26388734579086304, -0.0945911705493927, 0.8284038305282593, -0.37647882103919983, -0.5310559868812561, 0.0034827408380806446, 0.035286422818899155, 0.3607305884361267, 0.11920344084501266, -0.4018825590610504, 0.09321849793195724, 0.017725279554724693, -0.17245891690254211, 0.2964287996292114, 0.5364507436752319, 0.056248873472213745, 1.078493356704712, 0.7258142232894897, 0.16286879777908325, 0.17473357915878296, -0.19305086135864258, 1.0219535827636719, -0.9436232447624207, -0.3495315611362457, -1.0992342233657837, 0.6268090605735779, 0.23519696295261383, -0.06024729460477829, 0.5566664934158325, 0.850104033946991, 0.9764337539672852, -0.09602445363998413, 0.9325423240661621, 0.5209529399871826, 0.06406190991401672, -0.4384421706199646, 0.30267342925071716, -0.2915981709957123, 0.8356302380561829, -0.12551921606063843, -0.6801648139953613, -0.4999832808971405, 0.3461855947971344, -0.20988325774669647, -0.32183733582496643, 0.049946270883083344, 0.6636425852775574, -0.1501407027244568, -0.3939387798309326, 0.35870054364204407, -0.08517077565193176, 0.5281938314437866, 0.7496317625045776, 0.9494526386260986, -0.9517416954040527, 0.6097195744514465, -0.39276736974716187, 0.204436257481575, -0.6290381550788879, -1.0085492134094238, -0.8381867408752441, -0.17203442752361298, -0.7363526225090027, -0.1759699434041977, 0.18569837510585785, 1.2525652647018433, 0.6483467817306519, -0.6893144249916077, 0.011723657138645649, -0.044993046671152115, 0.12659767270088196, -0.03172316774725914, -0.24143004417419434, 0.3386991322040558, 0.27640852332115173, -0.5249098539352417, 0.12015164643526077, 0.48873376846313477, 0.8462368845939636, 0.026359863579273224, -0.034135352820158005, -0.12591442465782166, -0.061509475111961365, 0.1860453337430954, 0.53267502784729, -1.4352439641952515, -0.40107491612434387, 0.19941949844360352, -0.39987245202064514, 0.4422435760498047, 0.180121511220932, -0.820960283279419, 0.38327208161354065, 0.05925234779715538, 1.1881033182144165, -0.20178739726543427, 0.35846561193466187, 0.17745622992515564, -0.7724452614784241, 0.3018741309642792, -0.13182830810546875, 0.4920883774757385, 0.5239468216896057, -1.018475890159607, 0.19366338849067688, -0.16868770122528076, -0.5821346640586853, -0.7804252505302429, 0.0654626116156578, -1.3436565399169922, 0.3500961661338806, 1.2103488445281982, -0.5156156420707703, -0.39906826615333557, -0.33633604645729065, -0.5009979009628296, 0.37243154644966125, -0.6937128901481628, 0.5573828816413879, 0.5141738653182983, 0.10790353268384933, -0.5183987021446228, -0.5123623013496399, 0.0872468426823616, -0.2045297622680664, -1.1804784536361694, 0.16229891777038574, 0.5825393795967102, 0.24533648788928986, -0.08162849396467209, 0.6110819578170776, 0.3267245590686798, 0.24304057657718658, -0.34532076120376587, 0.24234634637832642, -0.34054386615753174, -0.3902153968811035, -0.41180020570755005, 0.021550290286540985, 0.33197373151779175, -0.7078303694725037 ]
http://arxiv.org/abs/2403.06082v1
http://arxiv.org/pdf/2403.06082v1
FrameQuant: Flexible Low-Bit Quantization for Transformers
2024-03-10T04:01:49
2024-03-10T04:01:49
Harshavardhan Adepu, Zhanpeng Zeng, Li Zhang, Vikas Singh
cs.LG
cs.LG, cs.CL
Transformers are the backbone of powerful foundation models for many Vision and Natural Language Processing tasks. But their compute and memory/storage footprint is large, and so, serving such models is expensive often requiring high-end hardware. To mitigate this difficulty, Post-Training Quantization seeks to modify a pre-trained model and quantize it to eight bits or lower, significantly boosting compute/memory/latency efficiency. Such models have been successfully quantized to four bits with some performance loss. In this work, we outline a simple scheme to quantize Transformer-based models to just two bits (plus some overhead) with only a small drop in accuracy. Key to our formulation is a concept borrowed from Harmonic analysis called Fusion Frames. Our main finding is that the quantization must take place not in the original weight space, but instead in the Fusion Frame representations. If quantization is interpreted as the addition of noise, our casting of the problem allows invoking an extensive body of known consistent recovery and noise robustness guarantees. Further, if desired, de-noising filters are known in closed form. We show empirically, via a variety of experiments, that (almost) two-bit quantization for Transformer models promises sizable efficiency gains.
[ -0.5212671160697937, -0.39117157459259033, 0.32467442750930786, -0.14718404412269592, -0.37779247760772705, -0.22665028274059296, -0.02174650877714157, -0.23729705810546875, 0.003844212042167783, 0.6443935036659241, -0.409536212682724, 0.13970009982585907, -0.5498629808425903, -0.17386895418167114, -0.5665831565856934, 0.7617383003234863, -0.00991755723953247, -0.05271872505545616, -0.05425938963890076, -0.29557767510414124, -0.2646668553352356, -0.2919186055660248, -0.4116751551628113, -0.33276882767677307, -0.08110915869474411, 0.1765161007642746, 1.303360939025879, 0.4003208875656128, 0.8316311836242676, 0.23251259326934814, -0.17919331789016724, -0.4628830850124359, -0.3886370062828064, -0.05709172040224075, -0.0012982701882719994, -0.9233034253120422, -0.4781974256038666, -0.10807096213102341, 0.7035723924636841, 0.7025992274284363, -0.2522695064544678, 0.2586095631122589, -0.2326570600271225, 0.817785382270813, -0.8915706872940063, 0.12335480004549026, -0.4638054072856903, 0.3620474636554718, -0.0985671728849411, 0.23180335760116577, -0.293079137802124, -0.12370850145816803, 0.0195783618837595, -0.6163426041603088, 0.3802088499069214, -0.1744997650384903, 0.8877659440040588, 0.8264738917350769, -0.3644712269306183, 0.447329580783844, -1.1136722564697266, 0.675441324710846, -0.5006712079048157, 0.7037390470504761, 0.38828253746032715, 0.4617738127708435, 0.44035401940345764, -0.9543853998184204, -0.6233996152877808, 0.3496057987213135, -0.31641843914985657, 0.11312519013881683, -0.6897135376930237, 0.3100426495075226, 0.5942055583000183, 0.8361884951591492, -0.4919587969779968, -0.36581525206565857, -0.3929596245288849, -0.25639116764068604, 0.1502220779657364, 0.009342081844806671, -0.1455552726984024, -0.31319183111190796, -0.3725319504737854, -0.36984893679618835, -0.5590298771858215, 0.1466732621192932, 0.13237634301185608, -0.30241790413856506, -0.141427680850029, 0.5848888158798218, -0.2882794439792633, 0.5866143107414246, 0.4752161502838135, 0.04378974437713623, -0.20894372463226318, -0.3518107831478119, -0.27686744928359985, -0.039349742233753204, 0.5011782050132751, -0.018030289560556412, -0.07721707969903946, -0.18958693742752075, -0.6210805177688599, 0.6247905492782593, 0.5478376150131226, -1.173813819885254, -0.7885422706604004, -0.02549981139600277, -0.6461310386657715, -0.2220950424671173, 0.011496568098664284, -0.44886842370033264, -0.038092970848083496, -0.17520558834075928, 0.9802690148353577, -0.4835994243621826, -0.36264631152153015, 0.32568979263305664, -0.3255000710487366, 0.40351250767707825, -0.0562390498816967, -1.0535708665847778, 0.32733941078186035, 0.6173564791679382, 0.6131072044372559, 0.23108841478824615, 0.4347604811191559, -0.3757396340370178, 0.037033338099718094, -0.39634960889816284, 0.6668806672096252, -0.45074644684791565, -0.49681344628334045, -0.3216444253921509, -0.21436388790607452, 0.2901473641395569, -0.4477236866950989, 0.15847574174404144, -0.770665168762207, 0.12720723450183868, 0.07422799617052078, -0.21505782008171082, -0.08641025424003601, -0.08738072961568832, -0.9944148063659668, 0.9238630533218384, 0.6217870116233826, -0.6095004081726074, 0.23945757746696472, -0.5691162943840027, -0.44398680329322815, 0.19655032455921173, 0.030134551227092743, -0.6917276978492737, 0.561604380607605, 0.03512384742498398, -0.019565071910619736, -0.24511976540088654, 0.2789759933948517, -0.054668355733156204, -0.6981906890869141, 0.015749536454677582, -0.8781743049621582, 0.5194501280784607, 0.21271495521068573, -0.508952796459198, 0.07777556777000427, -0.7842393517494202, -0.038597673177719116, -0.1357046365737915, -0.06336287409067154, -0.06740731000900269, -0.3156369626522064, -0.147493377327919, 0.011695894412696362, 0.051921602338552475, -0.4039517343044281, -0.09757494181394577, -0.7901290059089661, 0.6514033675193787, 0.2898492217063904, -0.28734156489372253, 0.8915172815322876, -0.235726997256279, 0.5651869773864746, -0.15513040125370026, 0.42420142889022827, -0.27098989486694336, -0.33306989073753357, -1.0133517980575562, -0.26279541850090027, 0.464331716299057, 0.3333042562007904, -1.257215142250061, 0.3894164562225342, -0.5455695390701294, -0.4278521239757538, -0.5843929648399353, -0.2827804982662201, 0.22207239270210266, 0.18123826384544373, 0.3146399259567261, -0.5875062942504883, -0.5084003806114197, -0.9497838616371155, -0.10265965014696121, 0.03702453151345253, -0.45753857493400574, -0.1604345440864563, 0.3771437108516693, -0.14708738029003143, 1.3403505086898804, -0.6102583408355713, -0.17688368260860443, 0.03776947408914566, 0.12354791909456253, 0.1395442634820938, 0.5043978691101074, 0.23673680424690247, -1.2843520641326904, -0.24256479740142822, -0.35817384719848633, -0.48676905035972595, 0.30717000365257263, 0.11789868772029877, -0.13442397117614746, 0.12365318834781647, 0.2893490195274353, -0.8866686820983887, 0.7269600629806519, 0.6564938426017761, -0.20724697411060333, 0.12453565746545792, 0.010188491083681583, -0.10655492544174194, -0.9433666467666626, 0.08619318157434464, -0.14968037605285645, -0.5638700723648071, -0.6005876064300537, -0.07107313722372055, 0.15475881099700928, -0.5349189639091492, -0.5129769444465637, 0.27769264578819275, -0.0418580062687397, -0.10829275846481323, -0.4366595447063446, -0.1248474270105362, 0.34224778413772583, 0.6787266731262207, 0.1623453050851822, 0.8299282789230347, 0.20011606812477112, -0.3902546465396881, 0.2578202486038208, 0.3925149738788605, -0.07463887333869934, 0.9608240723609924, -0.8465597033500671, -0.04983048886060715, -0.3505247235298157, 0.4578596353530884, -0.8712294101715088, -0.17314550280570984, 0.12178181111812592, -0.25591906905174255, 0.2759917676448822, -0.231387197971344, -0.27543044090270996, -0.2855195105075836, -0.37165817618370056, 0.6823593974113464, 0.8345889449119568, -0.4899859130382538, 0.7570578455924988, 0.5295664072036743, 0.34211185574531555, -0.15401658415794373, -0.7131216526031494, -0.26806220412254333, -0.09157667309045792, -0.7637510895729065, 0.7224612236022949, 0.18170729279518127, 0.00406479649245739, 0.23379482328891754, -0.560703456401825, -0.4364835321903229, 0.09159091114997864, 0.3645801246166229, 0.20783281326293945, -0.40656542778015137, 0.24214494228363037, -0.021782685071229935, -0.7496494054794312, -0.06671613454818726, -0.5140163898468018, 0.420206755399704, -0.490615576505661, -0.032865628600120544, -0.3341899514198303, 0.178842231631279, 0.24511168897151947, -0.34251073002815247, 0.5334460735321045, 1.0854406356811523, -0.6819950342178345, 0.13521353900432587, -0.36946892738342285, -0.5298854112625122, -0.5563405752182007, 0.21969440579414368, -0.5292136669158936, -0.9931811094284058, 0.025759294629096985, -0.13064059615135193, -0.1872110515832901, 0.7215724587440491, 0.354420006275177, -0.1686832755804062, 0.6802541017532349, 0.8548407554626465, 0.49696534872055054, 0.5702552199363708, -0.553738534450531, 0.6106576323509216, -0.6281906366348267, 0.19719555974006653, -0.23866496980190277, -0.4952872693538666, -0.7077357769012451, -0.6376357078552246, 0.6792091131210327, 0.34751787781715393, -0.38044485449790955, 0.83812016248703, -0.5701095461845398, 0.6309436559677124, 0.6685560345649719, 0.26893290877342224, 0.19610975682735443, -0.1144711822271347, 0.7064566612243652, -0.022618690505623817, -0.8893741965293884, -0.2710280120372772, 0.8106597065925598, 0.16941222548484802, 0.7185450196266174, 0.2762471139431, 0.4557979106903076, 0.15241728723049164, 0.06161804869771004, -0.7959818840026855, 0.2300156056880951, -0.4590141475200653, -0.6112771034240723, -0.5738236904144287, -0.46876320242881775, -0.6998001933097839, 0.24788634479045868, -0.5072464942932129, -0.4378257393836975, 0.3473956286907196, 0.37672513723373413, -0.8621140718460083, 0.44614481925964355, -0.5236204266548157, 0.9847342371940613, 0.2861001491546631, -0.1592583954334259, -0.39392033219337463, -0.918861448764801, 0.4560626149177551, -0.13396449387073517, -0.07423900067806244, 0.04121934622526169, 0.15377812087535858, 0.7046995759010315, -0.45189088582992554, 0.785344123840332, -0.017058150842785835, 0.08069320023059845, 0.532187819480896, 0.28104686737060547, 0.5006732940673828, -0.022590676322579384, 0.24723844230175018, 0.39093881845474243, 0.5007606744766235, -0.40548229217529297, -0.7083334922790527, 0.18638832867145538, -0.5336440801620483, -0.5295186042785645, -0.06157475337386131, -0.44645678997039795, -0.16709767282009125, 0.14769010245800018, 0.5363511443138123, 0.48816412687301636, 0.18770036101341248, 0.565649151802063, 0.9289608001708984, 0.06853161752223969, 0.6845332980155945, 0.07653770595788956, 0.19867020845413208, -0.48156440258026123, 1.0536210536956787, 0.05489209294319153, 0.3736303448677063, 0.5651213526725769, 0.27066078782081604, -0.36077815294265747, 0.126562237739563, -0.3916597366333008, -0.06859279423952103, -0.6018146276473999, -0.5377850532531738, -0.4136313796043396, -0.34340909123420715, -0.2038435935974121, -0.11610551923513412, -0.8954836130142212, -1.0344581604003906, -0.14869940280914307, 0.14357705414295197, 0.3112749755382538, 0.3924224376678467, -0.10495743900537491, 1.044187068939209, -0.9889261722564697, 0.747571587562561, 0.5261917114257812, 0.7465507388114929, -0.09482705593109131, -0.5506089329719543, -0.37675803899765015, 0.001968592405319214, -0.6271461844444275, -0.49196216464042664, 0.1619911640882492, 0.17541691660881042, -0.031637419015169144, 0.3115377724170685, 0.36823609471321106, 0.6047435998916626, -0.32280391454696655, 0.8492583632469177, 0.48253193497657776, -1.338531494140625, 0.31000396609306335, 0.211844801902771, 0.11584185808897018, 0.39967671036720276, 0.22663921117782593, -0.3718734085559845, 0.13970530033111572, -0.880246639251709, -0.739008367061615, 0.6905255913734436, 0.4278445839881897, 0.2527572214603424, 0.3940683901309967, 0.23401758074760437, -0.1281450241804123, 0.4107446074485779, -0.5444711446762085, -0.15978938341140747, -0.6270979642868042, -0.27192628383636475, 0.23989807069301605, -0.40846019983291626, -0.0974300354719162, -0.12204168736934662, 0.4422995150089264, -0.15926316380500793, 0.4524971544742584, -0.005182451102882624, -0.3060004711151123, -0.16072095930576324, 0.31318947672843933, 0.2911128103733063, 0.21123777329921722, -0.00650069722905755, 0.3446063995361328, 0.09601190686225891, -0.41195589303970337, 0.328551322221756, -0.0236757043749094, -0.29290536046028137, 0.02095617726445198, 0.0071408688090741634, 1.1576943397521973, 0.704015851020813, -0.27253228425979614, 0.8622749447822571, 0.041830748319625854, 0.013898427598178387, -0.25777167081832886, 0.1124851331114769, -0.24296589195728302, 0.4437771439552307, 0.07415827363729477, 0.6052075028419495, 0.325950026512146, -0.11147632449865341, 0.5633866786956787, 0.4814913272857666, -0.6177600622177124, -0.5430630445480347, 1.0852305889129639, 0.2652771472930908, -0.4534156918525696, 0.47023364901542664, -0.27080440521240234, -0.3685636818408966, 0.2672884464263916, 0.3083980083465576, 0.9484884738922119, 0.08121860772371292, 0.16219112277030945, 0.23223423957824707, 0.12831832468509674, -0.2777562737464905, 0.006753521040081978, -0.4267556965351105, -0.6579185724258423, -0.5144006609916687, -0.6962683200836182, -0.33979183435440063, -0.5286498069763184, -0.8266218304634094, 0.29380613565444946, -0.2026652842760086, -0.590738832950592, -0.056619953364133835, -0.2536938786506653, -0.6817933320999146, 0.15056085586547852, 0.3492056727409363, 0.6167656183242798, -0.5196185111999512, 0.796965479850769, 0.08485022932291031, -0.17933471500873566, -0.6328507661819458, -0.22160930931568146, -0.2965563237667084, -0.5320852398872375, 0.17852327227592468, 0.10940084606409073, 0.08032768964767456, 0.3794447183609009, -0.21839772164821625, -0.9284226894378662, 1.0771750211715698, 0.5971822738647461, -0.6109224557876587, -0.1748494952917099, 0.2548019587993622, 0.29923394322395325, 0.28571221232414246, 0.3323286771774292, 0.878994882106781, 0.4241349399089813, 0.3370281457901001, -0.737835168838501, -0.1316344439983368, 0.0528658926486969, 0.37003597617149353, 0.6191307306289673, -0.7111802101135254, 0.8472594618797302, -0.021036017686128616, -0.4362827241420746, 0.09016644954681396, 0.6802207231521606, -0.11948905140161514, 0.1465694159269333, 0.6128656268119812, 0.7006254196166992, 0.48559969663619995, -0.4210920035839081, 1.0362483263015747, -0.6586862802505493, 0.6254514455795288, 0.539162278175354, 0.08559221029281616, 0.7804821729660034, 0.6386612057685852, -0.5341429114341736, 0.11532919108867645, 0.22285118699073792, 0.018909819424152374, 0.5576415061950684, 0.047559577971696854, -0.210363507270813, -0.5126175284385681, -0.018733706325292587, -0.027657007798552513, 0.4515954256057739, -0.011911898851394653, 0.11901726573705673, -0.18717946112155914, 0.17230767011642456, -0.2818163335323334, -0.1725316345691681, -0.2555159032344818, 0.6247382760047913, 0.24560244381427765, -0.2700900435447693, 0.6013380289077759, 0.01166555192321539, 0.8084158897399902, -0.5075059533119202, -0.17660801112651825, -0.16165189445018768, 0.09439721703529358, -0.23178033530712128, -0.5142644047737122, 0.8133987188339233, -0.28700533509254456, -0.4837174713611603, -0.3258001506328583, 0.5526204705238342, -0.360360711812973, -0.5622702240943909, -0.4525368809700012, 0.0816757008433342, -0.10948711633682251, -0.4471767842769623, -0.028898946940898895, 0.07613881677389145, -0.06588736176490784, -0.19980759918689728, 0.12638704478740692, 0.23864567279815674, -0.016452927142381668, 0.2969260811805725, 0.4409993588924408, -0.15765419602394104, 0.024264058098196983, -0.3876008689403534, 0.6155848503112793, -0.7184895873069763, -0.4335082769393921, -0.6892838478088379, 0.6315516233444214, 0.384380042552948, -0.08077841997146606, 0.18386143445968628, 0.41493740677833557, 0.7487977743148804, -0.10040903836488724, 0.39982685446739197, 0.09167073667049408, -0.09275639057159424, -0.5787851214408875, 0.6668391227722168, -0.3402704894542694, 0.1780668944120407, 0.09154806286096573, -1.0365625619888306, -0.45218002796173096, 0.7824643850326538, -0.055705443024635315, -0.26794305443763733, 0.5458658337593079, 0.6917632222175598, -0.10002125054597855, 0.3565075099468231, 0.6527003049850464, -0.13761770725250244, 0.23328013718128204, 0.6826972961425781, 0.5008890628814697, -1.0081485509872437, 0.7522963881492615, -0.5970066785812378, 0.02708757109940052, -0.038040339946746826, -0.41831517219543457, -0.3093883991241455, -0.44452738761901855, -0.4817923307418823, -0.2446039468050003, -0.2753106355667114, 0.4801570773124695, 1.068838357925415, -0.6055268049240112, 0.1651611328125, -0.136139377951622, 0.08749907463788986, -0.14217939972877502, -0.21823641657829285, 0.45056861639022827, -0.07074885070323944, -0.6348686218261719, 0.15485405921936035, 0.3928704857826233, 0.28520289063453674, -0.31756892800331116, -0.11133801192045212, 0.6318228244781494, 0.1928943693637848, 0.7639092803001404, 0.009000406600534916, -0.5835862159729004, -0.43740808963775635, 0.057090505957603455, -0.05609904229640961, 0.2533627450466156, 0.8873211741447449, -1.1577643156051636, 0.3956841826438904, 0.35896041989326477, 0.6273568272590637, 0.8812207579612732, 0.048634666949510574, 0.3704467713832855, -0.7995980381965637, 0.5611371994018555, 0.35864996910095215, 0.25213637948036194, 0.19544413685798645, -0.16365784406661987, 0.5455158352851868, 0.4937955141067505, -0.27236220240592957, -0.7887435555458069, 0.3105642795562744, -0.843808650970459, -0.09839135408401489, 0.7494300603866577, 0.048437152057886124, -0.36285245418548584, 0.3692307770252228, 0.04403384029865265, 0.2556489408016205, 0.04245997965335846, 0.5799465775489807, 0.27882325649261475, -0.06103602051734924, -0.22928845882415771, -0.19066214561462402, 0.542835533618927, 0.3927145004272461, -0.2876895070075989, -0.21209558844566345, 0.20415952801704407, -0.013652005232870579, 0.341799259185791, 0.463101863861084, -0.0527292862534523, 0.36938199400901794, 0.5010958313941956, 0.0694151371717453, 0.21599730849266052, -0.3285887539386749, -0.653810977935791, 0.2751988172531128, -0.16568323969841003, -0.306352436542511 ]
http://arxiv.org/abs/2403.06064v3
http://arxiv.org/pdf/2403.06064v3
L^2GC:Lorentzian Linear Graph Convolutional Networks for Node Classification
2024-03-10T02:16:13
2024-06-14T04:15:20
Qiuyu Liang, Weihua Wang, Feilong Bao, Guanglai Gao
cs.LG
cs.LG, cs.AI, cs.CL
Linear Graph Convolutional Networks (GCNs) are used to classify the node in the graph data. However, we note that most existing linear GCN models perform neural network operations in Euclidean space, which do not explicitly capture the tree-like hierarchical structure exhibited in real-world datasets that modeled as graphs. In this paper, we attempt to introduce hyperbolic space into linear GCN and propose a novel framework for Lorentzian linear GCN. Specifically, we map the learned features of graph nodes into hyperbolic space, and then perform a Lorentzian linear feature transformation to capture the underlying tree-like structure of data. Experimental results on standard citation networks datasets with semi-supervised learning show that our approach yields new state-of-the-art results of accuracy 74.7$\%$ on Citeseer and 81.3$\%$ on PubMed datasets. Furthermore, we observe that our approach can be trained up to two orders of magnitude faster than other nonlinear GCN models on PubMed dataset. Our code is publicly available at https://github.com/llqy123/LLGC-master.
[ -0.03487024083733559, -0.7188141345977783, 0.3646344542503357, -0.3601522445678711, -0.28751516342163086, 0.09987238049507141, -0.005866277497261763, -0.6969455480575562, 0.39016953110694885, 0.04827504605054855, -0.2766525447368622, -0.7597513794898987, -0.5377709865570068, -0.26070892810821533, -0.6026726961135864, 1.230653166770935, 0.20542582869529724, 0.15337412059307098, 0.20869803428649902, -0.1539708375930786, 0.324227899312973, -0.20856915414333344, -0.8300947546958923, -0.5068444609642029, 1.0728689432144165, 0.02192605473101139, 1.2172050476074219, 0.8466824889183044, 0.43822503089904785, 0.3333004117012024, -0.21685515344142914, 0.5023576021194458, -0.5955103635787964, -0.24760940670967102, -0.11866817623376846, 0.11621814221143723, -0.2329871952533722, -0.03453752398490906, 0.5896336436271667, 0.916697084903717, 0.11184831708669662, -0.043798305094242096, 0.10200341790914536, 0.5032624006271362, -0.33123552799224854, 0.41899141669273376, -0.5023388266563416, 0.29484623670578003, -0.15153975784778595, -0.1974342167377472, -0.24965807795524597, -0.7488371729850769, 0.18196964263916016, -0.982829213142395, 0.6625162363052368, 0.3020963668823242, 0.8027063608169556, 0.04065418988466263, -0.5027279257774353, -0.22502575814723969, -0.8055658936500549, 0.08125020563602448, -0.3699847459793091, 0.14303870499134064, -0.12469294667243958, 0.6230292916297913, -0.2170214056968689, -1.199630856513977, -0.514495849609375, 0.154355987906456, -0.1488611102104187, 0.06410278379917145, -0.2457524836063385, 0.19958028197288513, 0.15003888309001923, 0.10800489783287048, -0.5762161612510681, 0.3245757520198822, -0.5337473750114441, -0.015947451815009117, 0.550689697265625, 0.06263706833124161, -0.11885051429271698, 0.0014474872732535005, -0.564581036567688, 0.00812759343534708, -0.7793564796447754, 0.047991394996643066, 0.2628394663333893, 0.541893482208252, 0.11520396173000336, 0.33964163064956665, 0.11369379609823227, 0.4499009847640991, -0.09487681835889816, 0.24617058038711548, 0.2432105839252472, -0.1900293231010437, -0.3629706799983978, 0.07542983442544937, 0.9740532040596008, 0.16232547163963318, 0.31235140562057495, -0.2020748108625412, 0.25412479043006897, -0.17524734139442444, 0.04505077004432678, -1.0494847297668457, -0.6010047197341919, -0.1009657233953476, -0.2853909730911255, -0.33719316124916077, 0.07187364250421524, -0.36845430731773376, -0.5258482694625854, -0.14378108084201813, -0.14173783361911774, 0.08054593205451965, -0.018506813794374466, 0.268328458070755, 0.2224069982767105, -0.08358168601989746, 0.5513147115707397, -0.5769712328910828, 0.3599274158477783, 0.7439404129981995, 1.068890929222107, -0.04014823958277702, -0.011645812541246414, -0.4868374764919281, -0.028836669400334358, -0.30080389976501465, 0.4759821891784668, -0.2248261719942093, -0.13351209461688995, 0.21898891031742096, 0.3233162760734558, 0.05138265714049339, -0.23235854506492615, 0.3812624514102936, -0.8180983066558838, 0.044914793223142624, 0.07585769146680832, -0.4919394254684448, -0.302057147026062, 0.12091599404811859, -0.5718097686767578, 0.9291801452636719, 0.15865272283554077, -1.0231852531433105, 0.05345664173364639, -0.29684025049209595, -0.1661139875650406, 0.30426958203315735, -0.1971912533044815, -0.7824458479881287, -0.208865687251091, 0.07492366433143616, 0.7058737277984619, -0.33881986141204834, 0.43082302808761597, -0.904133141040802, -0.46395450830459595, 0.32827994227409363, -0.0451715923845768, 0.7153319716453552, 0.20762181282043457, -0.15782134234905243, 0.08216723054647446, -0.5140491127967834, 0.3081575632095337, 0.042783062905073166, -0.242966890335083, -0.239590123295784, 0.05165402218699455, 0.44165074825286865, 0.3822380602359772, -0.16537673771381378, -0.7952740788459778, 0.2482890486717224, -0.37077680230140686, 0.579628586769104, 0.5487388372421265, 0.021252159029245377, 0.15905342996120453, 0.21132393181324005, 0.054135046899318695, -0.07234746962785721, -0.038236554712057114, 0.4205935299396515, -0.6251448392868042, -0.15882167220115662, -0.05697445198893547, 0.042184919118881226, 0.40790799260139465, -0.94477778673172, 0.48782697319984436, -0.5335010886192322, -0.45004957914352417, 0.12627854943275452, 0.03809115290641785, 0.3263791501522064, 0.8363037109375, 0.3090611696243286, 0.047806933522224426, -0.2855319678783417, -0.5673039555549622, 0.43634289503097534, -0.18541373312473297, 0.049167484045028687, 0.3746395409107208, 0.560314953327179, -0.24316515028476715, 0.6809710264205933, -0.45959943532943726, -0.17366327345371246, 0.052467167377471924, -0.12287744879722595, 0.5905947089195251, 0.40613606572151184, 0.38583192229270935, -0.629577100276947, -0.3188551962375641, 0.533146858215332, -0.9526126384735107, 0.24258656799793243, 0.08911489695310593, 0.006968398112803698, -0.42352068424224854, 0.7464020252227783, -0.33947864174842834, 0.6568037867546082, 0.5344874262809753, -0.4256821274757385, 0.08696787059307098, -0.49944543838500977, -0.30109357833862305, -1.0830261707305908, 0.09668073803186417, 0.3842127323150635, -0.6555770635604858, -0.5098117589950562, -0.2501681447029114, 0.13332583010196686, -0.5378953218460083, -0.5611127614974976, 0.2887257933616638, -0.26055991649627686, -0.39168262481689453, -0.25446853041648865, 0.20829492807388306, -0.2555936872959137, 0.7287328839302063, -0.17026863992214203, 0.31308940052986145, 0.5495843887329102, -0.4708006680011749, 0.8042738437652588, 0.17736832797527313, -0.14928795397281647, 0.24235506355762482, -0.9036734700202942, 0.38029611110687256, -0.3628077805042267, 0.48132848739624023, -1.1541332006454468, 0.21438275277614594, 0.4831571877002716, -0.41842880845069885, 0.3030991554260254, -0.29918843507766724, -0.5190663933753967, -0.5772638916969299, -0.09701859951019287, 0.6728754043579102, -0.14663554728031158, -0.8292691707611084, -0.011715889908373356, 0.21716631948947906, 0.4321519434452057, -0.4886161983013153, -0.6031976938247681, -0.16141150891780853, 0.01933964528143406, -0.46539413928985596, 0.4942120313644409, 0.18733899295330048, 0.43127569556236267, 0.3599727153778076, 0.12484437972307205, 0.10577765107154846, 0.023692889139056206, 0.4495168626308441, 0.12803253531455994, -0.29494813084602356, 0.3532496690750122, -0.07333384454250336, -0.41118472814559937, -0.18347398936748505, -1.0696449279785156, 0.21237844228744507, -0.24053522944450378, -0.2681998312473297, -0.8104316592216492, 0.05973711237311363, 0.41414332389831543, 0.07349599897861481, 0.3709714412689209, 0.618728518486023, -0.6486268043518066, -0.31647199392318726, 0.34014835953712463, -0.007122354116290808, -0.4601685106754303, 0.9298915266990662, 0.15827733278274536, -1.1419622898101807, 0.39166000485420227, -0.368589848279953, -0.20023012161254883, 0.4170074462890625, 0.461497962474823, -0.39567580819129944, 0.5378077626228333, 0.4641834795475006, -0.3047780990600586, 0.4737442135810852, -0.7666283249855042, 0.5236575603485107, -0.6550585627555847, -0.3493490219116211, -0.6519308090209961, -0.9762623310089111, -0.8428435325622559, -0.47209927439689636, 0.5445567965507507, 0.058579832315444946, -0.5758892893791199, 0.32715505361557007, -0.7387082576751709, 0.4830937683582306, -0.17022958397865295, 0.41605275869369507, -0.05888865515589714, 0.28079953789711, -0.07170438021421432, -0.12192586809396744, -0.7034731507301331, -0.08395075798034668, 0.8808134198188782, 0.6765503883361816, 0.8079863786697388, -0.042705636471509933, 0.3075450360774994, 0.45437338948249817, 0.4633602797985077, -0.7672169804573059, 0.36404529213905334, -0.4601636826992035, -0.37436094880104065, -0.4983677566051483, -0.5177054405212402, -1.2243759632110596, 0.20557524263858795, -0.3561738431453705, -0.6611060500144958, 0.5947234034538269, 0.08809920400381088, -0.24967099726200104, 0.7653382420539856, -0.4377686381340027, 0.6627607941627502, -0.27282315492630005, -0.3604995608329773, -0.049751922488212585, -0.42948904633522034, 0.01434987224638462, 0.3803745210170746, -0.0040476955473423, -0.06117050722241402, -0.0010314072715118527, 0.5676712989807129, -0.540463924407959, 0.9427585005760193, -0.614309549331665, 0.36081060767173767, 0.3027270436286926, 0.047816287726163864, 0.778683066368103, 0.3878677189350128, 0.250181645154953, 0.17490606009960175, -0.48705172538757324, -0.46298307180404663, -0.9398092031478882, 0.6337668299674988, -0.8551116585731506, 0.051754675805568695, -0.3995964527130127, -0.5781967639923096, -0.1333378106355667, -0.12789617478847504, 0.1360173523426056, 0.5948381423950195, -0.1616048812866211, 0.30181658267974854, 0.5829703211784363, 0.2309602051973343, 0.48019835352897644, -0.25052064657211304, -0.39258500933647156, -0.5973255038261414, 0.61383056640625, 0.12631118297576904, -0.16623955965042114, 0.18521568179130554, 0.08878310769796371, -0.5099390149116516, -0.8829652070999146, -0.2429547905921936, 0.526683509349823, -0.723809540271759, -0.49907252192497253, -0.3452747166156769, -0.5874924659729004, -0.12263474613428116, -0.1320246011018753, -0.2165278196334839, -0.5233424305915833, -0.23250314593315125, -0.35532718896865845, 0.40332576632499695, 0.8976008892059326, 0.3158164620399475, 0.766075074672699, -0.17131026089191437, 0.008839556016027927, 0.3140718638896942, 0.24582569301128387, -0.055990446358919144, -0.4235823452472687, -0.6139404773712158, -0.206867054104805, -0.39841464161872864, -0.7560346126556396, 0.3792441487312317, 0.41156601905822754, 0.3123580515384674, 0.5361951589584351, -0.42983201146125793, 0.533706784248352, -0.3332226276397705, 0.0933162271976471, 0.6049659848213196, -0.5797617435455322, 0.23676086962223053, -0.34585604071617126, -0.25464725494384766, 0.2541680932044983, 0.7187128067016602, -0.5866715908050537, -0.01771080307662487, -0.49587830901145935, -0.5481584072113037, 0.4406055510044098, -0.001085649710148573, 0.02148038148880005, 0.10399769991636276, 0.8910894989967346, -0.44450849294662476, -0.10919900238513947, -0.7546759843826294, -0.3238770067691803, -0.22176428139209747, -0.2819739878177643, -0.26804614067077637, 0.1254347860813141, -0.08583491295576096, -0.5152344703674316, 0.2679769992828369, -0.6179541945457458, 0.47022753953933716, 0.5178807377815247, 0.21431343257427216, 0.03116939589381218, -0.20056727528572083, 0.32634803652763367, 0.5912531614303589, -0.06962701678276062, 0.6132538914680481, 0.07123834639787674, -0.4305106997489929, 0.308331698179245, 0.3002277910709381, -0.15836407244205475, 0.1313754767179489, 0.31541311740875244, 0.5780259966850281, 0.3779292106628418, 0.48422765731811523, 0.44339045882225037, 0.00558461481705308, -0.29756373167037964, -0.0328080877661705, -0.13198810815811157, 0.28799912333488464, 0.387513130903244, 0.2961195707321167, 0.2338719218969345, 0.0927821472287178, -0.28211575746536255, 0.2004673331975937, 0.3506259024143219, -0.680398166179657, -0.45028936862945557, 0.6918067336082458, -0.06440167129039764, -0.21206499636173248, 0.6725489497184753, -0.40126243233680725, -0.3225981891155243, 0.582168698310852, 0.8169501423835754, 0.7531887292861938, 0.004156667273491621, 0.35026779770851135, 0.7246628999710083, 0.06940174102783203, 0.2104327231645584, -0.05154916271567345, -0.012408866547048092, -0.8624338507652283, -0.22170591354370117, -0.2699161171913147, -0.18546965718269348, -0.177107572555542, -0.11910330504179001, 0.11170641332864761, -1.26006281375885, -0.36452290415763855, 0.4510832726955414, 0.15309196710586548, -0.527036726474762, 0.09689688682556152, 0.1974949836730957, 0.7632768750190735, -0.937483549118042, 1.373502492904663, 0.5162618160247803, -0.034378089010715485, -0.6884198784828186, -0.5096719264984131, -0.07823757082223892, -0.7978806495666504, 0.7927839756011963, 0.05354289337992668, -0.2895388901233673, -0.0845714583992958, -0.9214827418327332, -0.6624857783317566, 1.3813176155090332, 0.3773272931575775, -0.45749950408935547, -0.29931798577308655, 0.18320618569850922, 0.7716524004936218, -0.7167313694953918, 0.1403304785490036, -0.1519830971956253, 0.08625232428312302, 0.3663068115711212, -0.42295730113983154, 0.032124292105436325, -0.46473726630210876, 0.5289241671562195, 0.04128628969192505, -0.43396657705307007, 0.7493136525154114, -0.22382302582263947, -0.3388506770133972, -0.3331843912601471, 0.9604668617248535, 0.052107322961091995, 0.3728640377521515, 0.3746229112148285, 0.6020731925964355, 1.2139602899551392, -0.44657671451568604, 0.9818204045295715, 0.11066983640193939, 0.9980195164680481, 0.8848086595535278, -0.13207431137561798, 0.38506585359573364, 0.1863163858652115, -0.29394230246543884, 0.47561800479888916, 0.5697063207626343, -0.022540805861353874, 0.33256804943084717, 0.6335347294807434, -0.11547883599996567, -0.0917786955833435, -0.048265691846609116, -0.4571015536785126, 0.06640610843896866, 0.4946309030056, -0.30471205711364746, -0.5602471232414246, -0.1323062628507614, 0.3381693363189697, 0.10340984165668488, -0.4868745803833008, 0.13603366911411285, 0.10294590890407562, 0.17292854189872742, 0.5382064580917358, 0.0637846514582634, 0.5806449055671692, -0.4749610722064972, 0.19272270798683167, -0.10694632679224014, 0.332614541053772, -0.6345769166946411, -0.8921440243721008, 0.4872570335865021, -0.26666712760925293, -0.11373195052146912, -0.1634434461593628, 0.5252020359039307, -0.3207191824913025, -0.6276140213012695, 0.5354711413383484, 0.24174262583255768, 0.1715867668390274, 0.26237353682518005, -0.631219208240509, -0.4174251854419708, -0.37697428464889526, 0.1857098937034607, 0.08584928512573242, 0.7828501462936401, -0.2088494598865509, 0.579757034778595, 0.708129346370697, 0.18130594491958618, 0.09090209007263184, 0.0460674948990345, 1.0302824974060059, -0.5760540962219238, -0.5330216288566589, -0.5150352716445923, 0.1787978559732437, 0.01645246520638466, -0.3636975586414337, 0.39435139298439026, 0.7510590553283691, 0.8653120994567871, 0.25994205474853516, 0.16688843071460724, 0.0989764928817749, 0.14333534240722656, -0.4991176128387451, 0.8483784198760986, -0.3006342053413391, -0.07866240292787552, -0.17115890979766846, -0.7035123109817505, -0.735164225101471, 0.3671121597290039, -0.2907368242740631, 0.10931587219238281, 0.8593266606330872, 1.045262336730957, -0.25524935126304626, 0.05941135436296463, 0.37556490302085876, 0.06479828804731369, 0.5637660622596741, 1.1059441566467285, 0.699255645275116, -0.6862779259681702, 0.35444164276123047, -0.09104826301336288, -0.09110680967569351, 0.035700250416994095, -0.7747142910957336, -0.7175441980361938, -0.6829966306686401, -0.5174694061279297, -0.6936748027801514, 0.024564024060964584, 0.7990900874137878, 1.0792605876922607, -0.8866125345230103, -0.10349728912115097, -0.1393699198961258, 0.44722485542297363, 0.056317977607250214, -0.08598928153514862, 0.8878355622291565, -0.17620334029197693, -0.46191784739494324, -0.017145829275250435, 0.2822520434856415, 0.022444628179073334, -0.0006683744722977281, -0.33752214908599854, -0.12334401160478592, -0.6035540103912354, 0.18900856375694275, 0.5180027484893799, -0.37872904539108276, -0.5461070537567139, -0.004931801464408636, -0.3492814004421234, 0.32224559783935547, 1.1474639177322388, -0.7174907326698303, 0.415132999420166, 0.45623496174812317, 0.9167694449424744, 0.882235586643219, -0.31089216470718384, -0.2536405026912689, -0.8195353150367737, 0.325459361076355, 0.07932649552822113, 0.5599942803382874, 0.3045629560947418, -0.5606417059898376, 0.3235621452331543, 0.7370976209640503, -0.587960422039032, -0.29736214876174927, 0.10293976962566376, -1.246767520904541, 0.13812917470932007, 0.8744952082633972, -0.3128352463245392, -0.4708678424358368, -0.16035795211791992, 0.09065307676792145, 0.46433740854263306, -0.03892230987548828, 0.3548949658870697, 0.02293521538376808, -0.1719997674226761, -0.19112396240234375, -0.3891741931438446, 0.37819722294807434, -0.3273064196109772, -0.8007933497428894, -0.05392001196742058, 0.324169784784317, 0.12708209455013275, 0.2392672300338745, 0.5742952227592468, -0.36991602182388306, 0.4145720899105072, -0.5263953804969788, 0.03021329827606678, -0.5672423243522644, -0.6283931732177734, -0.5850951075553894, 0.4450939893722534, -0.10043276101350784, -0.2815406322479248 ]
http://arxiv.org/abs/2403.06063v1
http://arxiv.org/pdf/2403.06063v1
Target-constrained Bidirectional Planning for Generation of Target-oriented Proactive Dialogue
2024-03-10T02:14:24
2024-03-10T02:14:24
Jian Wang, Dongding Lin, Wenjie Li
cs.CL
cs.CL, cs.AI
Target-oriented proactive dialogue systems aim to lead conversations from a dialogue context toward a pre-determined target, such as making recommendations on designated items or introducing new specific topics. To this end, it is critical for such dialogue systems to plan reasonable actions to drive the conversation proactively, and meanwhile, to plan appropriate topics to move the conversation forward to the target topic smoothly. In this work, we mainly focus on effective dialogue planning for target-oriented dialogue generation. Inspired by decision-making theories in cognitive science, we propose a novel target-constrained bidirectional planning (TRIP) approach, which plans an appropriate dialogue path by looking ahead and looking back. By formulating the planning as a generation task, our TRIP bidirectionally generates a dialogue path consisting of a sequence of <action, topic> pairs using two Transformer decoders. They are expected to supervise each other and converge on consistent actions and topics by minimizing the decision gap and contrastive generation of targets. Moreover, we propose a target-constrained decoding algorithm with a bidirectional agreement to better control the planning process. Subsequently, we adopt the planned dialogue paths to guide dialogue generation in a pipeline manner, where we explore two variants: prompt-based generation and plan-controlled generation. Extensive experiments are conducted on two challenging dialogue datasets, which are re-purposed for exploring target-oriented dialogue. Our automatic and human evaluations demonstrate that the proposed methods significantly outperform various baseline models.
[ -0.4354715645313263, -0.44747820496559143, 0.593609094619751, 0.3214660882949829, -0.358956903219223, 0.08106822520494461, -0.2059854120016098, 0.06605583429336548, 0.3690411448478699, 0.8575135469436646, -1.1997473239898682, -0.3291923701763153, -0.22711358964443207, 0.06267247349023819, 0.046239256858825684, 0.963447630405426, -0.10248149931430817, -0.10913275182247162, 0.18493682146072388, 0.041784338653087616, -1.0503259897232056, -0.22293487191200256, -0.7175667881965637, -0.06690391153097153, 0.43816617131233215, 0.7341724038124084, 0.7631207704544067, 0.10840634256601334, 0.4976291060447693, 0.1395350843667984, -0.07215772569179535, 0.3700209856033325, -0.5073823928833008, 0.43794193863868713, -0.2840873599052429, -0.12046311795711517, -0.47449854016304016, -0.19768781960010529, 0.6798723936080933, 0.7223057746887207, -0.254372239112854, -0.09957761317491531, 0.08715053647756577, 0.35542282462120056, -0.7436457872390747, 0.28836390376091003, -0.6130713224411011, 0.1542130410671234, 0.13701753318309784, -0.21823404729366302, -0.39175474643707275, -0.07522338628768921, 0.24765966832637787, -0.41678813099861145, 0.20813581347465515, -0.061321187764406204, 0.4577316343784332, 0.19456790387630463, -0.3448128402233124, -0.33586812019348145, -1.0505889654159546, 0.7713708281517029, -0.4168889820575714, 0.2676549553871155, 0.2845511734485626, 0.21732652187347412, -0.36279869079589844, -0.5939196348190308, -0.5372036099433899, -0.09671580046415329, -0.14054597914218903, 0.40535029768943787, -0.30488115549087524, 0.29689472913742065, 0.1933370977640152, -0.1220473051071167, -0.5942904353141785, -0.2754650115966797, -0.09999880939722061, -0.2955613136291504, 0.6002235412597656, 0.28107213973999023, -0.27610495686531067, -0.40430930256843567, -0.27085554599761963, -0.05814347416162491, -0.7751492857933044, -0.039786446839571, 0.4271508455276489, 0.5641207695007324, 0.2864231765270233, 0.5112274289131165, -0.4858386218547821, 0.4963762164115906, 0.2822365164756775, 0.11894428730010986, -0.349724680185318, -0.7219796776771545, 0.05516902729868889, 0.21083274483680725, 0.6876963973045349, 0.6506533622741699, 0.18792866170406342, 0.08692658692598343, -0.07080650329589844, -0.014070096425712109, 0.566455066204071, -0.7413722276687622, -0.203959122300148, 0.11837848275899887, -0.22754602134227753, -0.28926530480384827, -0.27068382501602173, -0.5999630689620972, 0.1907065063714981, -0.030725790187716484, 0.17909574508666992, -0.2044415920972824, -0.2341482788324356, 0.13391470909118652, 0.23970311880111694, 0.22837521135807037, 0.167842298746109, -0.7537257671356201, 0.16776148974895477, 0.37091684341430664, 0.6153275370597839, 0.04958125203847885, -0.05891510099172592, -0.7176565527915955, 0.5163039565086365, -0.34041446447372437, 0.8034576177597046, -0.6214297413825989, -0.8785869479179382, 0.15526778995990753, -0.23456765711307526, -0.025028394535183907, -0.3348895311355591, 0.8858798146247864, -0.28039243817329407, 0.4569227397441864, -0.19257065653800964, 0.17465274035930634, -0.08058281242847443, 0.5501192212104797, -0.33368632197380066, 0.42675405740737915, 0.1475156843662262, -0.5262015461921692, 0.21439456939697266, -0.5887112021446228, -0.6171554923057556, 0.10571293532848358, -0.19251605868339539, -0.2920129895210266, -0.09502535313367844, 0.21970410645008087, 0.14001533389091492, -0.33033666014671326, 0.8600060939788818, 0.3624815046787262, -0.13087986409664154, -0.04909851402044296, -0.5564557909965515, 0.45713141560554504, 0.3297744691371918, -0.5646467208862305, 0.4028806984424591, -0.38963866233825684, 0.08082512021064758, 0.15087413787841797, -0.25435733795166016, 0.09611167758703232, 0.46530354022979736, -0.0785522609949112, 0.23511067032814026, -0.007982532493770123, -0.433481901884079, 0.28531613945961, -0.3476700782775879, 0.2508711814880371, 0.6005359888076782, 0.25559356808662415, 0.35558727383613586, -0.15994232892990112, 0.41625669598579407, 0.04656657949090004, 0.35201606154441833, -0.34354063868522644, -0.3219280242919922, -0.8981917500495911, 0.17620916664600372, -0.11364156007766724, 0.6439389586448669, -0.816655695438385, 0.43466436862945557, -0.16598010063171387, -0.259544312953949, -0.12210769951343536, -0.33854466676712036, 0.666621744632721, 0.5776534676551819, 0.35753199458122253, -0.5866120457649231, -0.48910078406333923, -0.9054030776023865, -0.23131968080997467, -0.5227625966072083, -0.0956609770655632, 0.40025344491004944, -0.10296081006526947, -0.10421913862228394, 0.866420567035675, -0.8847092390060425, -0.24986478686332703, -0.799161434173584, 0.17602825164794922, 0.13434533774852753, 0.5317855477333069, -0.046721119433641434, -0.9079787135124207, -0.5559638738632202, -0.513800323009491, -0.2914404273033142, -0.03502792492508888, -0.5252971053123474, -0.5148729681968689, -0.19668620824813843, 0.314340740442276, -0.9159611463546753, 0.4077529311180115, 0.23344184458255768, -0.33403298258781433, 0.6659621000289917, 0.011410440318286419, -0.1838173270225525, -1.1621923446655273, -0.10645677894353867, -0.22446230053901672, -0.014545169658958912, -1.0508078336715698, -0.31081193685531616, -0.3674360513687134, -0.40420299768447876, -0.39025354385375977, 0.09021858870983124, -0.3201262652873993, 0.16185130178928375, -0.24225986003875732, -0.0966261699795723, 0.011062292382121086, 0.9720932841300964, 0.5523635149002075, 0.5673248171806335, 0.42081770300865173, -0.5249068737030029, 0.1718037873506546, 0.7530493140220642, -0.08295002579689026, 0.7038533687591553, -0.4885770380496979, 0.24553194642066956, 0.0624568909406662, 0.6695237755775452, -0.716671884059906, 0.09057554602622986, 0.6398208141326904, -0.12059902399778366, 0.36209580302238464, -0.03470965102314949, 0.12494619190692902, -0.26726919412612915, -0.05834946781396866, 0.5180360674858093, 0.45626357197761536, -0.11025908589363098, 0.7353931069374084, 0.19856546819210052, -0.5399556159973145, -0.23996971547603607, -0.05904309079051018, 0.2616049349308014, -0.13762898743152618, -0.4410857558250427, 0.6099436283111572, -0.09262501448392868, -0.21625004708766937, -0.29218894243240356, -0.31162938475608826, 0.4153927266597748, -0.4366218149662018, 0.29404518008232117, 0.2863161563873291, 0.10080180317163467, -0.39885058999061584, 0.12504710257053375, -0.35724249482154846, 0.14049750566482544, -0.5425096154212952, 0.7717944979667664, 0.11439281702041626, -0.37237703800201416, -0.43608567118644714, 0.8845651745796204, 0.4610234498977661, -0.3870399296283722, 0.11616984009742737, 0.24252551794052124, -0.0006384993903338909, 0.04184849187731743, -0.3684679865837097, -0.3610014021396637, -0.4553743898868561, 0.2732691466808319, -0.4867776036262512, -0.34566769003868103, 0.10604238510131836, -0.39684054255485535, 0.40002134442329407, 0.08434484899044037, 0.4842917025089264, -0.052933238446712494, 1.2283873558044434, 0.564565896987915, 0.34782564640045166, 0.5071195363998413, -0.41284334659576416, 0.6202812194824219, -0.8470733165740967, -0.41568490862846375, -0.34094110131263733, -0.45080238580703735, -0.5358538627624512, -0.544939398765564, 0.3238607943058014, -0.05236567556858063, -0.08644863963127136, 0.6545248627662659, -0.445829838514328, 0.08032091706991196, 0.8520894646644592, -0.06644343584775925, 0.14841432869434357, -0.11242200434207916, -0.1145697757601738, 0.007332766894251108, -0.8488774299621582, -0.4968452751636505, 0.827423095703125, -0.015566838905215263, 0.397352933883667, -0.05272391438484192, 0.7636809945106506, 0.10049090534448624, -0.13815657794475555, -0.8351723551750183, 1.0728646516799927, 0.2347697913646698, -0.37253978848457336, -0.37480267882347107, -0.24740882217884064, -0.8746210932731628, -0.0684126541018486, -0.04374266043305397, -0.6351803541183472, 0.51734858751297, 0.09627062827348709, -0.36750325560569763, 0.08880987018346786, -0.5601761937141418, 0.7596219182014465, -0.23491114377975464, -0.5081337690353394, -0.4173588156700134, -0.895606279373169, -0.0026810644194483757, 0.14952343702316284, -0.3358211815357208, -0.10142067074775696, 0.5581409335136414, 0.7021946310997009, -0.2515226900577545, 0.6073639392852783, -0.5084565877914429, 0.04480005428195, 0.7324339151382446, 0.5028905272483826, 0.854131281375885, 0.026583200320601463, 0.31812429428100586, 0.017153043299913406, -0.3642353117465973, -0.3400101065635681, -0.3036084473133087, 0.3145522475242615, -0.22928108274936676, -0.9207385778427124, -0.19267739355564117, -0.8229750990867615, -0.5452907681465149, 0.3195270597934723, 0.3694078028202057, 0.48345282673835754, -0.48585566878318787, -0.2934282124042511, 0.4334515929222107, -0.13393883407115936, 0.5058709383010864, 0.5153513550758362, 0.24648500978946686, -0.16941872239112854, 1.0662972927093506, -0.17186792194843292, 0.4541715979576111, 0.5008686184883118, -0.047088369727134705, -0.35026830434799194, -0.8636537194252014, -0.17116133868694305, 0.09636380523443222, -0.2697237730026245, -0.17457447946071625, -0.40878382325172424, -0.24335944652557373, -0.3929905593395233, -0.31032490730285645, -0.41315603256225586, -0.40679776668548584, -0.03741304203867912, 0.005469298455864191, -0.39630866050720215, 0.4313918948173523, -0.05855114385485649, 0.4287942051887512, -0.5221424698829651, 0.308000773191452, 0.4065187871456146, 0.03324459120631218, -0.5916746854782104, -0.04861072450876236, 0.005964507348835468, 0.17816226184368134, -0.7884851098060608, -0.9266548752784729, 0.5399637818336487, -0.034756649285554886, 0.46592584252357483, 0.670985996723175, 0.4971162676811218, 0.4560484290122986, -0.686892032623291, 0.7212716341018677, 0.3253936767578125, -0.589783787727356, 1.1781268119812012, -0.3469328284263611, 0.41362351179122925, 0.5314165353775024, 0.21498750150203705, -0.5145038366317749, -0.5352755784988403, -0.6703928112983704, -0.705462634563446, 0.9094003438949585, 0.6204594373703003, 0.06658342480659485, -0.042204082012176514, -0.0776977464556694, -0.15366414189338684, 0.18454976379871368, -0.33733952045440674, 0.14860758185386658, -0.39716771245002747, -0.03250152990221977, -0.28017550706863403, -0.34552228450775146, -0.5364760756492615, 0.20129254460334778, 0.45493340492248535, -0.3027380704879761, 0.5410388708114624, 0.3007032871246338, 0.16127055883407593, -0.22598643600940704, 0.4668906629085541, 0.7163988947868347, 0.46101075410842896, -0.4382210373878479, -0.02336486428976059, -0.0307760089635849, -0.6269997358322144, 0.06586064398288727, 0.19317512214183807, -0.4248221814632416, 0.10521745681762695, 0.07989086210727692, 0.9424550533294678, -0.011253849603235722, -0.8164516687393188, 0.20240233838558197, -0.14041879773139954, -0.23408475518226624, -0.010390239767730236, 0.010081454180181026, -0.2212427705526352, 0.5242890119552612, 0.16644370555877686, 0.1254611313343048, 0.15095779299736023, -0.43711408972740173, -0.12317349761724472, 0.42064425349235535, -0.5486946105957031, -0.27026140689849854, 0.43722274899482727, 0.6420180797576904, -0.7193963527679443, 0.8428040742874146, -0.16959568858146667, -0.6428924202919006, 0.3122658431529999, 0.6477696299552917, 1.365767002105713, -0.23582710325717926, 0.5550114512443542, 0.4011146128177643, 0.2882236838340759, 0.21507029235363007, 0.2537826895713806, -0.5766915082931519, -0.8205379843711853, -0.2854287028312683, -0.5030941367149353, -0.6026995182037354, -0.2647980749607086, -0.7365594506263733, 0.22367462515830994, -0.17103825509548187, -0.21172505617141724, -0.5758225321769714, -0.040860988199710846, -0.43025222420692444, 0.13403207063674927, 0.03498328849673271, 0.6312870979309082, -0.5464626550674438, 0.5654504299163818, 0.3699983060359955, -0.04570254683494568, -0.8388019800186157, 0.5618070960044861, -0.20129084587097168, -0.6497130990028381, 0.5163864493370056, 0.07080244272947311, -0.3468373417854309, 0.07476932555437088, -0.11010382324457169, -0.6488271951675415, 1.0331445932388306, -0.05916439741849899, -0.8790165781974792, -0.5375308990478516, 0.2628101706504822, 0.16496580839157104, -0.4186663329601288, -0.03514748811721802, 0.7712967395782471, 0.378132164478302, 0.5971786379814148, -0.9289661645889282, 0.18657560646533966, -0.09790977835655212, -0.044258199632167816, 0.47633540630340576, -0.7397182583808899, 0.3414159119129181, -0.48107755184173584, -0.31532353162765503, -0.13973775506019592, 0.4714300036430359, 0.2015892118215561, 0.39825448393821716, 0.6613766551017761, 0.32752591371536255, 0.0945243239402771, -0.1969466656446457, 0.6494775414466858, -0.3104798495769501, -0.10538521409034729, 1.0595983266830444, -0.5336889028549194, 0.6456105709075928, 0.5826109647750854, -0.0038529359735548496, 0.42653608322143555, 0.4268755614757538, 0.2564697861671448, 0.990831732749939, -0.09694278240203857, -0.5199924111366272, -0.3952431082725525, -0.3545490801334381, 0.05415751785039902, 0.6429580450057983, 0.4373075067996979, -0.10241002589464188, -0.23426659405231476, 0.17028719186782837, 0.018301229923963547, -0.1509389877319336, -0.17412413656711578, 0.941443681716919, -0.3336835205554962, -1.3132095336914062, 0.573501467704773, -0.0793851688504219, 0.10135076940059662, -0.8139119744300842, 0.08261062204837799, -0.4009771943092346, 0.063322052359581, 0.20599566400051117, -0.7694621682167053, 0.441469669342041, 0.08656901866197586, 0.1195843517780304, -0.7108262181282043, 0.7500233054161072, -0.5566806197166443, -0.23390069603919983, -0.07451243698596954, 0.425548255443573, -0.0218689925968647, -0.21942736208438873, -0.4376024901866913, 0.0033848686143755913, 0.41936981678009033, -0.3310518264770508, 0.1150643453001976, 0.10189761221408844, -0.2821856439113617, 0.4771019220352173, 0.5790806412696838, 0.13356590270996094, -0.33782312273979187, 0.0071440646424889565, 1.0173182487487793, -0.6002412438392639, -0.5774587392807007, -0.3713395297527313, 0.5088486075401306, 0.022616397589445114, -0.2007867842912674, 0.36334893107414246, 0.47393107414245605, 0.8772375583648682, 0.1426801234483719, 0.5473788380622864, -0.08053828030824661, 0.21181727945804596, -0.4669085144996643, 0.015917718410491943, -0.09431065618991852, 0.22168795764446259, -0.2995374798774719, -1.23546302318573, -0.11908828467130661, 0.6870865821838379, -0.392159640789032, -0.2551346719264984, 0.6047216653823853, 0.9292172193527222, 0.1282052993774414, -0.08904054015874863, 0.20181016623973846, -0.08735022693872452, 0.7378398180007935, 1.0650629997253418, 1.1125565767288208, 0.008190052583813667, 0.9172430634498596, -0.2760716676712036, -0.2305276095867157, -0.29775965213775635, -0.5661165118217468, -0.6116136312484741, -0.5522934794425964, -0.2927795648574829, -0.24548226594924927, 0.19546690583229065, 0.6497125029563904, 0.7367959022521973, -0.6104260683059692, -0.34381547570228577, -0.6561398506164551, 0.07801799476146698, -0.36401188373565674, -0.20881207287311554, 0.19116546213626862, -0.20234805345535278, -0.9463666677474976, 0.6416550874710083, 0.5721379518508911, 0.026869622990489006, -0.313698947429657, -0.3632740378379822, -0.19994646310806274, 0.2587282657623291, 0.551872193813324, 0.38119056820869446, -0.5560336112976074, -0.22671660780906677, 0.06878890097141266, 0.16649046540260315, -0.11860872060060501, 1.385288953781128, -0.8265833854675293, 0.5832725763320923, 0.2613895535469055, -0.01003890298306942, 0.7220487594604492, 0.0736834928393364, 0.8044999241828918, -0.5859118103981018, 0.2724405527114868, 0.9385374784469604, -0.02765585668385029, 0.00812947191298008, -0.23150590062141418, 0.28488731384277344, 0.1062125414609909, -0.5025020837783813, -0.8453606963157654, 0.9143187999725342, -1.1047766208648682, -0.2545826733112335, 1.0507606267929077, 0.10104253143072128, 0.3229019343852997, -0.032293178141117096, -0.8871824741363525, 0.443859726190567, -0.22473566234111786, 0.4757990837097168, 0.3793248236179352, -0.6768534779548645, -0.10266584903001785, -0.12125316262245178, 0.506449818611145, 0.6723338961601257, -0.4780706465244293, 0.2872520983219147, 0.7015020847320557, -0.36761388182640076, 0.34591299295425415, 0.7758236527442932, 0.27081871032714844, 0.05191350355744362, 0.1366233378648758, -0.3134422302246094, 0.15087619423866272, -0.9815399050712585, 0.2613869905471802, 0.1006309762597084, -0.13035182654857635, -0.40386030077934265 ]
http://arxiv.org/abs/2403.06060v1
http://arxiv.org/pdf/2403.06060v1
Ensemble Language Models for Multilingual Sentiment Analysis
2024-03-10T01:39:10
2024-03-10T01:39:10
Md Arid Hasan
cs.CL
cs.CL, cs.LG, I.2.7
The rapid advancement of social media enables us to analyze user opinions. In recent times, sentiment analysis has shown a prominent research gap in understanding human sentiment based on the content shared on social media. Although sentiment analysis for commonly spoken languages has advanced significantly, low-resource languages like Arabic continue to get little research due to resource limitations. In this study, we explore sentiment analysis on tweet texts from SemEval-17 and the Arabic Sentiment Tweet dataset. Moreover, We investigated four pretrained language models and proposed two ensemble language models. Our findings include monolingual models exhibiting superior performance and ensemble models outperforming the baseline while the majority voting ensemble outperforms the English language.
[ -0.4995171129703522, -0.5116701722145081, 0.23284971714019775, 0.48797672986984253, -0.4415452182292938, 0.6394361257553101, -0.5187702775001526, -0.5760829448699951, 0.3537948727607727, 0.2051367610692978, -0.5492439270019531, -0.8417021632194519, -0.711707592010498, 0.08594609051942825, -0.2236633002758026, 1.108177900314331, -0.05837961286306381, 0.3798693120479584, 0.06684192270040512, -0.6897463798522949, 0.0280173160135746, -0.6094620227813721, -0.676089882850647, -0.0936020165681839, 0.5265514254570007, 0.378185898065567, 0.6438365578651428, -0.3447096049785614, 0.5045202374458313, 0.27439799904823303, 0.1891375184059143, 0.008496712893247604, -0.2772855758666992, 0.04076947644352913, -0.13646148145198822, 0.0209537111222744, -0.372154176235199, -0.1019367054104805, 0.6794470548629761, 0.6477402448654175, -0.1314321756362915, 0.0920410230755806, 0.23035939037799835, 0.42583975195884705, -0.44498899579048157, -0.0785672664642334, -0.41066083312034607, -0.10503389686346054, -0.2946712374687195, 0.025256464257836342, -0.06839434057474136, -0.513441264629364, 0.16328249871730804, 0.018977899104356766, 0.012839979492127895, -0.11812756210565567, 0.5932531952857971, -0.047107744961977005, -0.47269582748413086, -0.28977805376052856, -0.5668283104896545, 1.3264241218566895, -0.735163688659668, 0.23815420269966125, 0.20307657122612, 0.2163955420255661, 0.5398930311203003, -0.3627457618713379, -0.5068531036376953, -0.08848327398300171, 0.051659926772117615, 0.2788199186325073, -0.11852945387363434, -0.08761447668075562, -0.4517558813095093, 0.17505337297916412, -0.5072993636131287, 0.10244739055633545, -0.3957390785217285, -0.05610109865665436, 0.9837703704833984, -0.17449378967285156, 0.45977604389190674, -0.29402175545692444, -0.40380972623825073, -0.16786623001098633, -0.3129345774650574, -0.023291150107979774, 0.4427589178085327, 0.3926655054092407, -0.4316991865634918, 0.26294568181037903, 0.014820792712271214, 0.35226479172706604, -0.44814935326576233, 0.13688354194164276, 0.4039982259273529, -0.15091808140277863, -0.26564788818359375, 0.16898830235004425, 1.266932725906372, 0.30823415517807007, 0.43080753087997437, -0.024568865075707436, -0.40217188000679016, 0.33280643820762634, 0.06706523895263672, -0.6109225749969482, -0.00031521337223239243, 0.3728944957256317, -0.7040883302688599, -0.6386647820472717, 0.010629018768668175, -1.1155509948730469, -0.5166071057319641, 0.022419027984142303, 0.2800986170768738, -0.5720797181129456, -0.6855451464653015, -0.13181337714195251, -0.17667467892169952, 0.19381597638130188, 0.4343172013759613, -0.6065472364425659, 0.39367473125457764, 0.45004749298095703, 0.8488856554031372, -0.27920836210250854, -0.47013774514198303, 0.014910445548593998, -0.4893167316913605, -0.5163130164146423, 0.9303168058395386, -0.9262852072715759, -0.6163004040718079, 0.3119036555290222, -0.17162206768989563, -0.24586965143680573, -0.20908355712890625, 0.7548885345458984, -0.6579081416130066, 0.16646191477775574, -0.19740012288093567, -0.46833574771881104, -0.42643123865127563, 0.2672004699707031, -0.5780465006828308, 0.8846563100814819, -0.02775743417441845, -0.8603651523590088, 0.3415249288082123, -0.8045967817306519, -0.6907176971435547, -0.04229669272899628, -0.13877063989639282, -0.1500774472951889, 0.3489328622817993, 0.4684187173843384, 0.594578206539154, -0.2744036614894867, -0.05238080769777298, -0.5637673139572144, -0.0611230693757534, 0.2595354914665222, -0.40286019444465637, 0.7072861790657043, 0.6188027858734131, -0.07939434051513672, -0.0073578255251049995, -0.4334731698036194, 0.05868183448910713, 0.005692551843822002, -0.1137624979019165, -0.44373252987861633, 0.04126143828034401, 0.679893970489502, 0.20483216643333435, 0.4127909243106842, -0.590326726436615, 0.10841728746891022, -0.22002282738685608, 0.5075112581253052, 0.7204079031944275, 0.23751528561115265, 0.6201211214065552, -0.12173796445131302, 0.8868137001991272, 0.3347983658313751, -0.29046761989593506, -0.048371873795986176, -0.24001522362232208, -0.44874393939971924, 0.01982794888317585, 0.16465874016284943, 0.44037479162216187, -0.7554132342338562, -0.1046595498919487, -0.3958035409450531, -0.6411011219024658, -0.8141067028045654, 0.1624755561351776, -0.11093627661466599, -0.20994623005390167, 0.19919061660766602, 0.01917755976319313, -0.5862776041030884, -0.8088794946670532, -0.6018760204315186, -0.294107586145401, 0.5122812390327454, 0.0676078274846077, 0.34748801589012146, -0.40494418144226074, 0.4793732762336731, 0.018081577494740486, 0.0987108051776886, -0.700509250164032, 0.4582802951335907, 0.10383456200361252, 0.2710528075695038, 0.8055683970451355, -0.6932163238525391, -0.5742833018302917, 0.28466230630874634, -0.7307612895965576, 0.07663197070360184, 0.12080972641706467, -0.00012273060565348715, 0.6895885467529297, 0.20985248684883118, -0.36263957619667053, 0.16843630373477936, 0.8825098872184753, 0.03108016587793827, 0.15669089555740356, 0.3572676479816437, 0.5223674774169922, -1.4488749504089355, -0.2419300377368927, 0.23907530307769775, -0.18661004304885864, -0.6578992605209351, -0.10776788741350174, -0.13961748778820038, -0.12346993386745453, -0.4784267544746399, 0.7525933384895325, -0.30934733152389526, 0.06949751824140549, -0.2623665928840637, -0.29204580187797546, -0.3055373430252075, 0.26873984932899475, 0.35930466651916504, 0.59273761510849, 0.6529455184936523, -0.3101639151573181, 0.14105072617530823, -0.1354248821735382, -0.5646805763244629, 0.21798208355903625, -0.5483097434043884, 0.15566477179527283, -0.2603588104248047, -0.12161029130220413, -1.3328202962875366, -0.5374323725700378, -0.022014612331986427, -0.6900215148925781, 0.3551546335220337, -0.016662202775478363, -0.4562688171863556, -0.2741081118583679, -0.5681560635566711, 0.49670514464378357, 0.42817622423171997, -0.31660595536231995, 0.6521350741386414, 0.5992340445518494, -0.37640050053596497, -0.6325259804725647, -0.6434510350227356, 0.08535867184400558, -0.3942130208015442, -0.7900577187538147, 0.03126561641693115, 0.29648739099502563, -0.6081076860427856, -0.05632317066192627, 0.16924898326396942, -0.2627367675304413, 0.04753557965159416, 0.04250446707010269, 0.2212485820055008, -0.2765134871006012, 0.6011204123497009, 0.20971974730491638, 0.3345232903957367, -0.11532603949308395, -0.2856694757938385, 0.8976665139198303, -0.49722665548324585, -0.1064392551779747, -0.13804103434085846, 0.5673683285713196, 0.8075881600379944, -0.4541236460208893, 0.9899495840072632, 1.0033918619155884, -0.47871696949005127, -0.11638005077838898, -0.628341019153595, -0.14718183875083923, -0.40266773104667664, 0.4334834814071655, -0.2189636528491974, -0.9490278959274292, 0.48536643385887146, 0.12317268550395966, 0.06766866892576218, 0.6031773686408997, 0.7220613956451416, -0.3457607328891754, 1.1587724685668945, 0.323319673538208, -0.5821925401687622, 0.4421847462654114, -0.057725802063941956, 0.30657657980918884, -0.10349118709564209, 0.2530413568019867, -0.5459865927696228, -0.33509108424186707, -1.0426812171936035, 0.004208821337670088, 0.4304876923561096, 0.07995710521936417, -0.07613982260227203, -0.00606297655031085, -0.10020674765110016, 0.18780653178691864, 0.5288083553314209, -0.1634378433227539, -0.15844391286373138, 0.6072545647621155, -0.03737497702240944, 0.04374299570918083, -0.721731424331665, -0.9683788418769836, 0.804955244064331, 0.29563984274864197, 0.8672212958335876, 0.22214482724666595, 1.1425986289978027, 0.519656777381897, 0.2342650145292282, -0.7140803933143616, 0.3882073760032654, -0.2750220000743866, -0.5853931307792664, -0.29859456419944763, -0.19126367568969727, -0.7555592656135559, 0.0435347780585289, -0.06141549348831177, -0.7716990113258362, 0.03328258916735649, -0.1974875032901764, -0.39406153559684753, 0.16403436660766602, -0.7221263647079468, 1.0393401384353638, -0.12765227258205414, -0.2912714183330536, -0.4773475229740143, -0.4240359961986542, 0.3495555520057678, -0.09244798123836517, 0.6701906323432922, -0.0674646645784378, 0.011258605867624283, 0.9181949496269226, -0.41195249557495117, 0.8489569425582886, -0.13759461045265198, -0.06652107834815979, 0.5797910094261169, 0.019219473004341125, 0.21727655827999115, 0.13146495819091797, -0.36469322443008423, 0.37411051988601685, 0.2524077892303467, -0.6542254090309143, -0.24601472914218903, 0.9638807773590088, -1.2543001174926758, -0.16620765626430511, -0.4900701940059662, -0.000868344446644187, -0.3494472801685333, -0.14237184822559357, 0.5074548721313477, 0.36717742681503296, -0.5203019976615906, 0.08165448904037476, -0.020401686429977417, -0.3092300593852997, 0.8971577286720276, 0.1707778424024582, -0.2080727368593216, -0.35761433839797974, 0.8684604167938232, 0.2553507685661316, 0.010496113449335098, 0.257246196269989, 0.14848902821540833, -0.5091220736503601, -0.12911811470985413, -0.5054540038108826, -0.02773222327232361, -0.7039599418640137, 0.08651126176118851, -0.8233160972595215, -0.006480110343545675, -0.7590459585189819, -0.14927470684051514, -0.32664772868156433, -0.5730434656143188, -0.04241436347365379, -0.16459572315216064, 0.42299360036849976, 0.8728193640708923, -0.18123871088027954, 0.4955276846885681, -1.395468831062317, -0.2495054453611374, 0.13207697868347168, -0.03569889813661575, 0.1359037607908249, -0.28784897923469543, -0.3208509087562561, -0.008698699995875359, -0.2207913100719452, -1.1128464937210083, 0.6856549978256226, 0.277279257774353, 0.29598286747932434, 0.5719417929649353, -0.034680046141147614, 0.3887560963630676, -0.2528013586997986, 0.9437450170516968, 0.11312048882246017, -0.9177238345146179, 0.5505000352859497, -0.6017277240753174, 0.27364933490753174, 0.5351846218109131, 0.42644935846328735, -0.8031371235847473, -0.21961276233196259, -0.5651612281799316, -0.46958303451538086, 0.6622929573059082, 0.1118818148970604, 0.46331003308296204, -0.28272515535354614, -0.311831533908844, 0.19000837206840515, 0.3101477324962616, -0.6122989058494568, 0.08639386296272278, -0.3271171748638153, -0.6133603453636169, -0.4506200850009918, -0.2500797212123871, 0.16054615378379822, -0.10515042394399643, 0.6956243515014648, 0.1495814025402069, 0.32519957423210144, -0.14375659823417664, -0.24517665803432465, -0.3089889585971832, 0.6443571448326111, 0.3770682215690613, 0.3872494101524353, -0.11408009380102158, 0.04304145649075508, 0.3969784677028656, -0.2520790100097656, 0.12469286471605301, 0.2177387773990631, 0.11051678657531738, 0.06471545249223709, 0.7044683694839478, 0.7570636868476868, 0.06302095949649811, -0.6175774931907654, 0.3843264579772949, 0.02144647017121315, 0.06644284725189209, -0.435457706451416, -0.3671613335609436, 0.2737398147583008, 0.03969918191432953, 0.41634300351142883, 0.42147722840309143, 0.08350428938865662, -0.721069872379303, -0.06603763997554779, 0.37128910422325134, -0.6239508390426636, -0.7188449501991272, 0.12444207817316055, 0.167911559343338, -0.010166180320084095, 0.35002315044403076, -0.3682385981082916, -0.8465059995651245, 0.46664175391197205, 0.03468523547053337, 0.98683762550354, -0.47720417380332947, 0.5324968695640564, 0.253582239151001, 0.2869202792644501, 0.01827642321586609, 0.5608964562416077, 0.008503466844558716, -1.1689633131027222, -0.39037370681762695, -0.9854987263679504, -0.14882023632526398, -0.08910174667835236, -0.5969833135604858, 0.30902180075645447, -0.3040050268173218, -0.1968979388475418, 0.1201542317867279, 0.10046520829200745, -0.9000973105430603, 0.474595844745636, 0.17370440065860748, 0.4604872167110443, -0.821908712387085, 0.7857964038848877, 1.4806139469146729, -0.43188321590423584, -0.7707698941230774, -0.05138427019119263, 0.029086261987686157, -0.9421584606170654, 0.5659467577934265, 0.28722769021987915, -0.13102823495864868, 0.027892282232642174, -0.7824819087982178, -0.5100011229515076, 0.5495991110801697, -0.12992402911186218, -0.34597474336624146, 0.29941606521606445, 0.1220276728272438, 0.7266180515289307, -0.47588902711868286, 0.2376062273979187, 0.4220077097415924, 0.25641146302223206, 0.027363112196326256, -0.5711643099784851, -0.4669860601425171, -0.3558020293712616, -0.2613174021244049, 0.24657697975635529, -0.7077506184577942, 0.8762491345405579, 0.09556122124195099, -0.29292964935302734, -0.10608263313770294, 0.6475959420204163, 0.0653030201792717, 0.42488163709640503, 0.5189682841300964, 0.4493952691555023, 0.6701110005378723, 0.10155756026506424, 1.3305224180221558, -0.636481761932373, 0.4146588444709778, 0.7260496020317078, -0.4250972867012024, 1.1280021667480469, 0.37060844898223877, -0.33018022775650024, 0.4816846549510956, 0.8659912943840027, 0.5117752552032471, 0.44816505908966064, -0.2568095624446869, -0.6670951247215271, -0.5839201211929321, -0.25150254368782043, -0.29818204045295715, 0.6713258028030396, 0.34066301584243774, -0.3878674805164337, -0.21154840290546417, 0.16300354897975922, 0.01821298338472843, -0.026546409353613853, -0.5589050054550171, 0.7039195895195007, 0.3534413278102875, -0.7764931917190552, 0.1979874223470688, 0.18826454877853394, 0.6801555156707764, -0.2487718164920807, 0.27854758501052856, -0.16533008217811584, 0.1982332319021225, -0.1662515252828598, -0.7455617785453796, 0.27285635471343994, 0.17220452427864075, 0.17323052883148193, -0.01060872245579958, 1.01886785030365, -0.3738025724887848, -1.1244901418685913, 0.45356810092926025, 0.9949740171432495, 0.15028640627861023, -0.19014135003089905, -0.6293779015541077, 0.05260753631591797, -0.013661982491612434, -0.3259863257408142, 0.11154711991548538, 0.5343089699745178, -0.08476676046848297, 0.3508865237236023, 0.37858444452285767, -0.07503432780504227, 0.0018802308477461338, 0.4247310161590576, 0.6572879552841187, -0.5960339903831482, -0.4845723807811737, -1.1711013317108154, 0.2782604694366455, -0.18896135687828064, -0.1972910463809967, 0.8400760293006897, 0.20198774337768555, 0.6831027865409851, -0.19100047647953033, 1.3754551410675049, 0.068444162607193, 0.8460350632667542, -0.33664149045944214, 0.9114173650741577, -0.7382328510284424, 0.07067699730396271, -0.49596717953681946, -0.9133586287498474, 0.01707594096660614, 0.7015323638916016, -0.508597731590271, 0.39143919944763184, 0.4637851417064667, 0.6990076303482056, -0.03404635936021805, 0.4316689670085907, 0.21121297776699066, 0.2058669924736023, -0.004800810944288969, 0.2504872679710388, 1.2792701721191406, -0.3350832462310791, 0.19591131806373596, -0.14357589185237885, 0.06592532247304916, -0.11043228954076767, -0.5802914500236511, -1.1651930809020996, -0.43375784158706665, -0.08866515755653381, -0.34590214490890503, -0.07124987244606018, 1.4935182332992554, 0.5222491025924683, -1.0796394348144531, -0.43114402890205383, -0.01923125982284546, 0.01695386692881584, 0.15324293076992035, -0.25437185168266296, 0.45444801449775696, -0.6795206665992737, -0.7498877048492432, 0.08359184861183167, 0.10633591562509537, 0.14309462904930115, -0.1616470366716385, -0.24310152232646942, -0.2276816964149475, 0.28801360726356506, 0.5889910459518433, -0.07437878847122192, -0.5065445303916931, -0.2223171442747116, 0.12774595618247986, -0.167558491230011, -0.01856835000216961, 0.5947546362876892, -0.41807764768600464, 0.2570961117744446, 0.5476641654968262, 0.48232367634773254, 0.3589162826538086, 0.08404857665300369, 0.5980527997016907, -0.7419361472129822, 0.094476118683815, 0.3629518747329712, 0.5495316982269287, 0.4974606931209564, 0.15047267079353333, 0.3526665270328522, 0.060819439589977264, -0.3707449436187744, -0.5387048125267029, -0.024288421496748924, -0.7719470858573914, -0.2612541615962982, 1.2656217813491821, 0.01507404912263155, -0.18943101167678833, 0.1703978031873703, -0.18620173633098602, 0.19700947403907776, -0.8281506896018982, 0.6601654291152954, 1.1466723680496216, 0.3817942440509796, -0.4005809426307678, -0.29879075288772583, 0.3989083170890808, 0.5290682315826416, -0.6109276413917542, -0.5168590545654297, 0.28582754731178284, -0.06259032338857651, 0.12381099164485931, 0.7343496084213257, 0.19158048927783966, 0.20900419354438782, -0.1641298532485962, 0.05422775447368622, 0.6871718764305115, -0.08858472108840942, -0.5296082496643066, 0.4205459952354431, 0.13006827235221863, -0.16907373070716858 ]
http://arxiv.org/abs/2405.00688v1
http://arxiv.org/pdf/2405.00688v1
Understanding Social Perception, Interactions, and Safety Aspects of Sidewalk Delivery Robots Using Sentiment Analysis
2024-03-09T23:28:01
2024-03-09T23:28:01
Yuchen Du, Tho V. Le
cs.RO
cs.RO, cs.AI, cs.CL, cs.HC, cs.LG
This article presents a comprehensive sentiment analysis (SA) of comments on YouTube videos related to Sidewalk Delivery Robots (SDRs). We manually annotated the collected YouTube comments with three sentiment labels: negative (0), positive (1), and neutral (2). We then constructed models for text sentiment classification and tested the models' performance on both binary and ternary classification tasks in terms of accuracy, precision, recall, and F1 score. Our results indicate that, in binary classification tasks, the Support Vector Machine (SVM) model using Term Frequency-Inverse Document Frequency (TF-IDF) and N-gram get the highest accuracy. In ternary classification tasks, the model using Bidirectional Encoder Representations from Transformers (BERT), Long Short-Term Memory Networks (LSTM) and Gated Recurrent Unit (GRU) significantly outperforms other machine learning models, achieving an accuracy, precision, recall, and F1 score of 0.78. Additionally, we employ the Latent Dirichlet Allocation model to generate 10 topics from the comments to explore the public's underlying views on SDRs. Drawing from these findings, we propose targeted recommendations for shaping future policies concerning SDRs. This work provides valuable insights for stakeholders in the SDR sector regarding social perception, interaction, and safety.
[ -0.34966662526130676, -0.5842322707176208, 0.6535472273826599, 0.35431841015815735, -0.31610238552093506, 0.2926011085510254, 0.3354032039642334, -0.3158632516860962, 0.2715112864971161, 0.4940195083618164, -0.4760783612728119, -0.3738960921764374, -0.8636682629585266, -0.11903902888298035, -0.6259427666664124, 1.4385383129119873, 0.4442697763442993, 0.001742419321089983, -0.006542909424751997, -0.09575168043375015, -0.0365181602537632, -0.5820238590240479, -0.3737535774707794, 0.01929324120283127, 0.5500314235687256, -0.0535917691886425, 0.9567320346832275, 0.30491504073143005, 0.5038992166519165, 0.44063758850097656, -0.32919391989707947, -0.3209325671195984, -0.14657767117023468, -0.5104916095733643, -0.42089760303497314, 0.055948641151189804, -0.5096985101699829, -0.3647804260253906, 0.2044660896062851, 0.7270329594612122, -0.06998836249113083, 0.18501947820186615, 0.0666348934173584, 0.7694812417030334, -0.5488533973693848, -0.0617578886449337, -0.25450146198272705, 0.18929657340049744, 0.019022664055228233, -0.09963816404342651, -0.15880627930164337, -0.8139955401420593, 0.19209104776382446, 0.09131862223148346, 0.4275692105293274, -0.33700811862945557, 0.5585767030715942, 0.48324427008628845, -0.6880555748939514, -0.4745963513851166, -1.04972505569458, 0.6316322684288025, -0.4449682831764221, 0.5898854732513428, 0.14606879651546478, 0.165342777967453, -0.014006535522639751, -0.1583748161792755, -0.9084333777427673, 0.0509486198425293, 0.17601612210273743, 0.3281796872615814, -0.2207074612379074, 0.26100122928619385, 0.0262574665248394, -0.10692155361175537, -0.4554907977581024, -0.11414167284965515, -0.6876362562179565, 0.07604354619979858, 0.6538903713226318, 0.0962173268198967, 0.19343635439872742, -0.8456871509552002, -0.6506145000457764, -0.3141046166419983, -0.1950986385345459, 0.5520206093788147, 0.6643340587615967, 0.15946125984191895, -0.3509468138217926, 0.6871979832649231, -0.018884878605604172, 0.6276247501373291, -0.04257819801568985, -0.2425178438425064, 0.7965351343154907, -0.23837926983833313, -0.21592262387275696, -0.15007445216178894, 0.958672821521759, 0.9881943464279175, 0.3425794243812561, -0.02499556727707386, -0.3664512634277344, 0.24188929796218872, 0.8625630736351013, -0.17029118537902832, -0.13284267485141754, 0.2648782432079315, -0.8349688649177551, -0.7251107096672058, 0.5008570551872253, -0.9978150129318237, -0.6193085312843323, -0.2668280005455017, 0.26364147663116455, 0.0402468778192997, -0.20314395427703857, 0.10840623080730438, -0.3102024793624878, 0.2606797218322754, 0.5766284465789795, -0.7283540368080139, 0.4084520936012268, 0.702521026134491, 0.8293807506561279, 0.051454052329063416, -0.060030560940504074, -0.4535568058490753, 0.3640681505203247, -0.21742670238018036, 0.6562710404396057, -0.10834546387195587, -0.4051734209060669, 0.3631768226623535, 0.35306301712989807, 0.008848663419485092, -0.30805519223213196, 0.45279040932655334, -0.4342523217201233, -0.2704126536846161, -0.11827964335680008, -0.03882352635264397, -0.3853287100791931, 0.4569784700870514, -0.45026424527168274, 1.038125991821289, 0.13610762357711792, -0.7757154107093811, 0.17470955848693848, -0.47384655475616455, -0.7475171089172363, -0.03294611722230911, -0.142151340842247, -0.114603191614151, 0.27129727602005005, -0.021379735320806503, 0.9021040797233582, 0.16556337475776672, 0.14194487035274506, -0.34465956687927246, 0.031963050365448, 0.42864179611206055, -0.3748601973056793, 0.6231598854064941, -0.025218628346920013, -0.39062389731407166, 0.30583468079566956, -0.5588055849075317, -0.394839882850647, -0.2603609263896942, -0.21019694209098816, -0.02036592923104763, 0.19554635882377625, 0.2059849500656128, 0.512477457523346, 0.34048691391944885, -0.7442216873168945, -0.3185747563838959, -0.3262515962123871, 0.35772550106048584, 1.2441208362579346, 0.04097647964954376, 0.5055434703826904, -0.2010318636894226, 0.6363192796707153, -0.08921391516923904, 0.6275767087936401, 0.37004104256629944, -0.5012382864952087, -0.6077804565429688, 0.27754709124565125, -0.23626072704792023, 0.6282752752304077, -0.6506819128990173, 0.485915869474411, -0.6287258267402649, -0.4090504050254822, -0.29730769991874695, 0.025746086612343788, 0.23293828964233398, 0.47639548778533936, 0.23138795793056488, -0.24277792870998383, -0.19328154623508453, -0.7123948335647583, 0.45579826831817627, -0.6000127792358398, 0.0042799245566129684, 0.41260620951652527, 0.46554216742515564, -0.2752675414085388, 0.7258527278900146, -0.4859565198421478, -0.30126288533210754, -0.3351624310016632, -0.04291344806551933, 0.08953255414962769, 0.11433868855237961, 0.5174938440322876, -0.9542615413665771, -0.31428518891334534, -0.03428129851818085, -0.5698662996292114, 0.354509562253952, 0.05646737292408943, 0.2280227392911911, 0.2295178323984146, 0.43624797463417053, -0.6699767112731934, 0.5870987772941589, 0.4847087860107422, 0.059583596885204315, 0.23406927287578583, -0.21696053445339203, 0.04363452270627022, -0.728367269039154, -0.37423253059387207, 0.52500981092453, -0.08121809363365173, -0.6224531531333923, -0.31370747089385986, -0.3303612470626831, 0.057375892996788025, -0.7632168531417847, -0.014895130880177021, 0.38077110052108765, -0.45164796710014343, -0.21624740958213806, 0.24182602763175964, -0.32218286395072937, 0.18006356060504913, 0.2081306129693985, 0.5345854163169861, 0.2094416320323944, -0.8002558350563049, 0.5352256894111633, 0.18614636361598969, -0.06000204756855965, 0.3092072904109955, -0.933867871761322, 0.19114720821380615, -0.37891316413879395, 0.2609935700893402, -1.2216076850891113, -0.04349779337644577, 0.5649961829185486, -0.7099440097808838, -0.31695735454559326, -0.31132733821868896, -0.7814591526985168, -0.676017165184021, -0.5549137592315674, -0.3123335540294647, 0.6357656717300415, -0.340455025434494, 0.773270845413208, 0.7788087129592896, -0.1355307698249817, -0.45725733041763306, -0.303073525428772, -0.27540895342826843, -0.20327647030353546, -0.612999439239502, 0.06352131068706512, -0.0027641330379992723, -0.2840751111507416, -0.09857895970344543, -0.2078760415315628, 0.06336165964603424, 0.07287198305130005, 0.6202757358551025, 0.1599615216255188, 0.4349871873855591, 0.048296961933374405, -0.04468357190489769, -0.33840227127075195, 0.6304534673690796, 0.28276604413986206, 0.7109596729278564, -0.19163000583648682, -0.07938942313194275, -0.08536352217197418, -0.07854990661144257, 0.6186413764953613, 0.14040841162204742, 0.6119744777679443, 0.7975240349769592, -0.3198508620262146, 0.14183810353279114, -0.289364218711853, -0.1372724175453186, -0.5556023716926575, 0.3907793164253235, -0.0589817613363266, -0.3394135534763336, 0.08735696226358414, -0.04361391067504883, -0.21217580139636993, 0.018520070239901543, 0.25816717743873596, -0.6894137263298035, 1.1362111568450928, 0.8389862775802612, -0.40190640091896057, 0.4699647128582001, -0.16717574000358582, 0.33230164647102356, -0.7619487047195435, -0.5697517991065979, -0.5548651814460754, -0.04593054950237274, -0.7137346863746643, -0.4553303122520447, 0.4091062545776367, -0.19654184579849243, -0.40704113245010376, 0.35592564940452576, -0.5477569699287415, 0.18581761419773102, 0.42900049686431885, 0.3014334738254547, -0.24045661091804504, 0.00790218822658062, 0.2690443694591522, -0.011062330566346645, -0.208672896027565, -0.9245471954345703, 0.8426723480224609, 0.527888834476471, 0.45804378390312195, 0.35925716161727905, 0.3869589865207672, 0.7044432759284973, -0.059903647750616074, -0.7131320238113403, 0.9906818866729736, -0.7478296756744385, -0.20918332040309906, -0.08229947090148926, -0.16382485628128052, -0.7161079049110413, -0.1503913849592209, -0.226266548037529, -0.9090673923492432, -0.16121387481689453, -0.158200204372406, -0.39786115288734436, 0.306254506111145, -0.347780704498291, 0.7082305550575256, -0.552345871925354, -0.2755787670612335, -0.40740177035331726, -1.13255774974823, -0.06762677431106567, 0.38336944580078125, 0.6941237449645996, -0.06006442755460739, 0.04627833515405655, 0.708304762840271, -0.3909711241722107, 0.9268154501914978, -0.4534100890159607, -0.02365999110043049, 0.08533458411693573, -0.16140294075012207, 0.3865097761154175, -0.16207647323608398, 0.14979147911071777, 0.05928146839141846, -0.1905222237110138, -0.14790992438793182, -0.6616673469543457, 0.491590291261673, -1.144046664237976, -0.35429203510284424, -0.5866912007331848, -0.16220082342624664, -0.1066024899482727, -0.10063052922487259, -0.09325158596038818, 0.03597412258386612, 0.16177985072135925, 0.18258997797966003, 0.8178848624229431, -0.3687340021133423, 0.5000091791152954, 0.2006397396326065, -0.2551470696926117, -0.5639159679412842, 0.9498770833015442, 0.08335551619529724, 0.1320175975561142, 0.5819724798202515, 0.18065232038497925, -0.5544267296791077, -0.5970743298530579, -0.5091432929039001, 0.03243448585271835, -0.8510254621505737, 0.11652514338493347, -1.0052015781402588, -0.2651117742061615, -0.43695268034935, -0.3717673718929291, -0.271712988615036, -0.1412472128868103, -0.2491583228111267, -0.6659437417984009, 0.4301106631755829, 1.1329535245895386, -0.08650995045900345, 0.7566747069358826, -0.841106116771698, 0.555921733379364, 0.1402014046907425, 0.051511723548173904, 0.13248500227928162, -0.19824087619781494, 0.07270140945911407, -0.1196170523762703, -0.33959296345710754, -1.0056062936782837, 0.3141082525253296, -0.7092519402503967, 0.27663758397102356, 0.48477137088775635, 0.22978384792804718, 0.4370269179344177, -0.1967630684375763, 1.0101871490478516, 0.395214706659317, -0.8110077381134033, 0.6518186330795288, -0.4518805742263794, -0.3803393542766571, 0.12189139425754547, 0.5658034086227417, -0.3604283928871155, -0.04770299047231674, -0.5256586074829102, -0.9850336909294128, 0.5466060638427734, 0.04254068806767464, 0.5504563450813293, -0.2212274670600891, -0.04320177808403969, -0.06649678200483322, 0.4335237145423889, -0.926249623298645, -0.3074604272842407, -0.47133180499076843, -0.47861209511756897, -0.3167787194252014, -0.3543177545070648, 0.15986110270023346, -0.049691516906023026, 0.5249167084693909, 0.0013028763933107257, 0.06171412765979767, -0.22199298441410065, 0.05241352319717407, -0.10744255036115646, 0.4311285614967346, 0.4312613010406494, 0.38174816966056824, -0.5210309028625488, 0.22104321420192719, 0.06358042359352112, -0.5229368209838867, 0.1463162899017334, -0.1325206309556961, -0.49450385570526123, -0.026764903217554092, 0.013723290525376797, 0.39745986461639404, 0.10491470992565155, -0.5904772877693176, 0.7855134606361389, 0.21548804640769958, 0.043044667690992355, -0.8501703143119812, -0.003120649140328169, -0.012823040597140789, 0.21451589465141296, 0.3375648856163025, 0.5013598203659058, 0.31333205103874207, -0.4399203360080719, -0.09562063962221146, 0.37727752327919006, -0.8267298340797424, -0.533128023147583, 0.4465433359146118, 0.30132749676704407, -0.4648212194442749, 0.4433844983577728, -0.3132965862751007, -0.8142203092575073, 0.6574637293815613, 0.17991222441196442, 0.8430982828140259, 0.10679202526807785, 0.850233793258667, 0.15428437292575836, 0.627178430557251, -0.04992730915546417, 0.37267425656318665, 0.012727942317724228, -0.8660661578178406, 0.03951177000999451, -0.5095670223236084, -0.3450837731361389, 0.04939701780676842, -0.8242883682250977, 0.20853792130947113, -1.0227898359298706, -0.4296063482761383, 0.07588993012905121, -0.10921970754861832, -0.5507233142852783, 0.5583799481391907, -0.1355220228433609, 0.30721986293792725, -1.2516645193099976, 0.6321402192115784, 1.132504940032959, -0.7238850593566895, -0.44716325402259827, 0.25124499201774597, 0.08673152327537537, -0.4409816265106201, 0.8826804161071777, 0.22649900615215302, -0.4821895956993103, -0.3701373338699341, -0.33833563327789307, -0.4202069938182831, 0.6525683999061584, -0.2105855792760849, -0.35859739780426025, 0.0340593047440052, 0.420589417219162, 0.7554819583892822, -0.07196027785539627, 0.1829642802476883, 0.15685218572616577, 0.15662655234336853, -0.0555562824010849, -0.6781813502311707, -0.055984966456890106, -0.284778892993927, 0.2511190176010132, 0.2320975959300995, -0.8631572723388672, 0.6181488633155823, 0.011719292961061, 0.2777486741542816, -0.03510632365942001, 0.3733159303665161, 0.3071834444999695, 0.7477676868438721, 0.7542215585708618, 0.47972196340560913, 0.336245059967041, 0.07276488840579987, 1.0459222793579102, -0.11582786589860916, -0.0295132864266634, 0.7172514200210571, -0.23814590275287628, 1.0001726150512695, 0.6206430196762085, -0.4869714379310608, 0.6507607698440552, 0.3777150511741638, 0.0601477175951004, 0.799605667591095, 0.07693911343812943, -0.1697130799293518, 0.028405193239450455, -0.3968204855918884, -0.1356627345085144, 0.24697920680046082, 0.39360302686691284, -0.2791041135787964, 0.16293933987617493, 0.2967669665813446, -0.19666071236133575, 0.20651322603225708, -0.4807353615760803, 0.8909813761711121, -0.11860239505767822, -0.028119806200265884, -0.5243812203407288, 0.09759055078029633, 0.677588939666748, -0.1843419224023819, 0.0010255525121465325, 0.09983383119106293, 0.42101532220840454, -0.4009380638599396, -1.2304787635803223, 0.44532933831214905, 0.17524071037769318, -0.48780393600463867, -0.37970638275146484, 0.6802700757980347, 0.36437535285949707, -0.5631015300750732, 0.5959043502807617, 0.1804848313331604, 0.1415262222290039, 0.16370920836925507, -0.7346832156181335, 0.34230610728263855, 0.023661956191062927, 0.14545994997024536, 0.2279796302318573, 0.41240960359573364, 0.04725997895002365, 0.8194643259048462, 0.7251223921775818, -0.0223793163895607, 0.18137818574905396, 0.1388595700263977, 0.7611936926841736, -0.8013692498207092, -0.5482132434844971, -0.7629186511039734, 0.7016319632530212, -0.045261748135089874, -0.18244504928588867, 0.8743984699249268, 0.3420638144016266, 0.9428170323371887, -0.35628241300582886, 0.8860815167427063, -0.1811564713716507, 0.6569802761077881, -0.27597635984420776, 0.3855880796909332, -0.21818052232265472, 0.32436156272888184, -0.8170502185821533, -0.6833282113075256, 0.08456747233867645, 1.0004496574401855, -0.5168789625167847, 0.16784872114658356, 0.11188343167304993, 0.5918309092521667, 0.0522703118622303, -0.006279514171183109, -0.09383370727300644, -0.033316951245069504, 0.208440899848938, 0.23028813302516937, 1.0704617500305176, -0.46408388018608093, 0.7023270130157471, -0.7532530426979065, 0.1000254899263382, -0.2049601823091507, -0.6345564723014832, -0.9328225255012512, -0.3135409653186798, -0.4407939314842224, -0.6897035837173462, 0.27773401141166687, 0.9648064374923706, 0.7324193716049194, -0.614874541759491, -0.30167466402053833, -0.35649317502975464, 0.35363540053367615, 0.013166505843400955, -0.35541343688964844, 0.33014681935310364, 0.20574237406253815, -0.5243430137634277, 0.02986077405512333, 0.3914719223976135, 0.1875559389591217, -0.17676770687103271, -0.1989762783050537, 0.08443554490804672, -0.12321054935455322, 0.7214879393577576, -0.07031318545341492, -0.7410936951637268, -0.6439160108566284, 0.18453603982925415, 0.042694807052612305, -0.08395229279994965, 0.2642725110054016, -0.73909592628479, 0.13026173412799835, 0.5645613670349121, 0.2906450927257538, 0.2911558151245117, 0.33173254132270813, 0.23394910991191864, -0.5107077956199646, 0.026054801419377327, 0.18592937290668488, 0.165708526968956, 0.4789297878742218, -0.24994762241840363, 0.549726665019989, 0.18515895307064056, -0.40819618105888367, -0.7137256860733032, 0.30685731768608093, -1.1321097612380981, -0.0489225760102272, 1.02360200881958, 0.17986436188220978, -0.24788928031921387, -0.23309114575386047, -0.09502092003822327, 0.19267255067825317, -0.6450616121292114, 0.9506190419197083, 0.30393126606941223, 0.06882665306329727, -0.5405469536781311, -0.8160316348075867, 0.14704155921936035, 0.05448306351900101, -0.6387010216712952, -0.3010246753692627, 0.42800089716911316, 0.2764967679977417, 0.3064475357532501, 0.7364926338195801, 0.06287775933742523, 0.2681317627429962, -0.20468270778656006, -0.1342388093471527, 0.2982001304626465, -0.6024616956710815, -0.3024146854877472, 0.4523316025733948, -0.13317358493804932, -0.40414977073669434 ]
http://arxiv.org/abs/2403.09709v1
http://arxiv.org/pdf/2403.09709v1
Exploratory Data Analysis on Code-mixed Misogynistic Comments
2024-03-09T23:21:17
2024-03-09T23:21:17
Sargam Yadav, Abhishek Kaushik, Kevin McDaid
cs.CL
cs.CL
The problems of online hate speech and cyberbullying have significantly worsened since the increase in popularity of social media platforms such as YouTube and Twitter (X). Natural Language Processing (NLP) techniques have proven to provide a great advantage in automatic filtering such toxic content. Women are disproportionately more likely to be victims of online abuse. However, there appears to be a lack of studies that tackle misogyny detection in under-resourced languages. In this short paper, we present a novel dataset of YouTube comments in mix-code Hinglish collected from YouTube videos which have been weak labelled as `Misogynistic' and `Non-misogynistic'. Pre-processing and Exploratory Data Analysis (EDA) techniques have been applied on the dataset to gain insights on its characteristics. The process has provided a better understanding of the dataset through sentiment scores, word clouds, etc.
[ -0.5178841352462769, -1.0510764122009277, -0.2355472445487976, 0.27498725056648254, -0.3663236200809479, 0.3416464924812317, -0.12453728169202805, -0.3666224777698517, 0.4466133415699005, 0.475511759519577, -0.5338024497032166, -0.2782926559448242, -0.5237061381340027, 0.1813453882932663, -0.6420564651489258, 1.1740574836730957, 0.13402427732944489, 0.32627514004707336, 0.03967687115073204, -0.30951350927352905, -0.6070569753646851, -0.7201902866363525, -0.0008430999587289989, 0.05928917974233627, 0.09422376751899719, 0.2772340178489685, 0.8214455842971802, 0.3697693943977356, 0.46061867475509644, 0.2069229930639267, -0.16192269325256348, 0.1059352234005928, -0.8117051720619202, 0.16690070927143097, -0.1963275521993637, -0.33114829659461975, -0.10868775844573975, 0.003333693603053689, 0.1632181704044342, 0.500137448310852, -0.07625088095664978, 0.32672449946403503, 0.4000711739063263, 0.37094348669052124, -0.7012232542037964, -0.025048421695828438, -0.5036296248435974, 0.4036911427974701, -0.14571897685527802, -0.45951125025749207, -0.0179270152002573, -0.49913060665130615, -0.0011661597527563572, -0.2262575775384903, 0.3036647140979767, -0.22502277791500092, 0.3858254849910736, 0.2694624662399292, -0.2734663188457489, -0.6592270135879517, -0.9235775470733643, 1.0117428302764893, -0.8053823709487915, 0.2908177971839905, 0.37074634432792664, 0.10168051719665527, -0.038255441933870316, -0.17110112309455872, -0.44740623235702515, 0.18673357367515564, -0.12968197464942932, -0.17381003499031067, -0.39188435673713684, -0.2102893888950348, 0.20812740921974182, 0.37924134731292725, -0.5724416971206665, 0.14850619435310364, -0.4233958125114441, -0.0533297061920166, 0.45864441990852356, -0.23423828184604645, 0.6617167592048645, -0.5669265389442444, -0.07762284576892853, 0.18713824450969696, -0.40604421496391296, -0.06759314984083176, 0.8526068925857544, 0.4972285032272339, -0.19255399703979492, 0.6398257613182068, -0.034333594143390656, 0.5045544505119324, -0.1421496570110321, -0.19666367769241333, 0.4327039122581482, -0.44263756275177, -0.3348402678966522, -0.028712080791592598, 0.7287364602088928, 0.3346346616744995, 0.6258283853530884, 0.18563400208950043, 0.02667529694736004, 0.5411943793296814, 0.37156882882118225, -0.6609939336776733, -0.35700976848602295, 0.021841056644916534, -0.6784966588020325, -0.546119213104248, -0.16720937192440033, -1.4162871837615967, -0.5693709850311279, -0.2247244268655777, 0.01771561987698078, -0.03190440684556961, -0.7006772756576538, -0.029128221794962883, -0.23790648579597473, 0.12049048393964767, 0.04316423460841179, -0.5304657220840454, 0.3251652419567108, 0.3845899701118469, 0.5447153449058533, 0.08222851157188416, 0.21764184534549713, -0.47405052185058594, -0.3788292109966278, -0.18559932708740234, 0.4532347023487091, -0.8117936849594116, -0.19404800236225128, 0.5195088982582092, -0.24536290764808655, 0.03201417624950409, -0.7697744965553284, 0.6247278451919556, -0.43065640330314636, 0.37438279390335083, -0.10827191919088364, -0.28736451268196106, -0.09570607542991638, 0.25888150930404663, -0.7190788984298706, 1.3540937900543213, -0.0012780909892171621, -1.065150499343872, 0.3958197832107544, -0.4232279062271118, -0.40193092823028564, -0.0863337591290474, -0.3141186833381653, -0.2512081265449524, -0.057409271597862244, 0.3951534032821655, 0.26552698016166687, -0.10920403897762299, 0.45156341791152954, -0.6146414875984192, -0.1819169670343399, 0.35593992471694946, -0.27678853273391724, 0.722407877445221, 0.2364862710237503, -0.6519924998283386, -0.006520177237689495, -0.7222890853881836, 0.17558878660202026, -0.05385371297597885, -0.04321671277284622, -0.5797079801559448, 0.008279232308268547, 0.3953689932823181, 0.6654510498046875, -0.09923163801431656, -0.4182177186012268, -0.2190653681755066, -0.09393861889839172, 0.3210984766483307, 0.6607385873794556, -0.12599116563796997, 0.09340841323137283, 0.1350628286600113, 0.8311795592308044, -0.033432867377996445, 0.12046970427036285, 0.3374471664428711, -0.6235988140106201, -0.600913941860199, -0.019496269524097443, -0.010592793114483356, 0.46941694617271423, -1.0756981372833252, 0.16620101034641266, -0.0678863376379013, -0.1387317031621933, -0.5282185673713684, 0.4393968880176544, 0.6901780366897583, 0.09214559197425842, 0.5300019979476929, -0.1590081751346588, -1.100475549697876, -0.923559844493866, -0.44670888781547546, -0.09251963347196579, 0.19465035200119019, 0.37404167652130127, 0.4996013939380646, -0.2703597843647003, 0.8461288809776306, -0.4687404930591583, -0.24391740560531616, -0.4342336654663086, 0.49690231680870056, -0.016299687325954437, 0.15449358522891998, 0.45875102281570435, -1.0204704999923706, -0.5795759558677673, -0.24604405462741852, -0.8954097032546997, -0.36282843351364136, 0.21056397259235382, -0.24175387620925903, -0.285330593585968, 0.4738689661026001, -0.021885458379983902, 0.4241945147514343, 0.7309395670890808, -0.33925193548202515, 0.49407926201820374, 0.3080466091632843, 0.3589138984680176, -0.7332856059074402, -0.1667853742837906, 0.34404677152633667, -0.256347119808197, -0.6813159584999084, 0.12206090986728668, -0.2261912226676941, -0.043916258960962296, -0.38259708881378174, -0.10912200063467026, -0.37320253252983093, -0.03758549690246582, -0.41384729743003845, -0.07031281292438507, -0.5252238512039185, 0.5620462894439697, 0.062479473650455475, 0.5527485609054565, 0.23609307408332825, -0.44133901596069336, 0.30222123861312866, 0.19527427852153778, -0.010136320255696774, 0.5490242838859558, -0.45166128873825073, 0.3169037401676178, -0.1445329189300537, -0.12508565187454224, -0.9622120261192322, -0.1957678198814392, 0.10948649793863297, -0.436927855014801, -0.012235105969011784, -0.3731668293476105, -0.5949143171310425, -0.30908170342445374, -0.6986027956008911, 0.5327481627464294, 0.2256324142217636, -0.4391326308250427, 0.26720955967903137, 0.9902321100234985, -0.18073385953903198, -0.6092272996902466, -0.4503271281719208, 0.04676458612084389, -0.34210458397865295, -0.5650395750999451, 0.19521814584732056, -0.15907733142375946, -0.5187810063362122, 0.07817979902029037, 0.1369500458240509, -0.5404290556907654, -0.24906978011131287, 0.11374231427907944, 0.2935357689857483, -0.14694596827030182, -0.27126261591911316, -0.2192072570323944, 0.4129491150379181, 0.0945005938410759, 0.32873743772506714, 0.8611718416213989, 0.02136218175292015, 0.251008003950119, -0.03501112014055252, 0.6007158756256104, 0.26185739040374756, 0.0019676496740430593, 0.679663360118866, 0.7675294280052185, -0.4460410475730896, -0.4947471022605896, -0.27826616168022156, -0.02949296496808529, -0.3948683738708496, 0.3755645751953125, 0.013838659971952438, -0.876062273979187, 0.4717346727848053, 0.5006617307662964, -0.1361369639635086, 0.17625975608825684, 0.5319811105728149, -0.10942795872688293, 0.9722119569778442, 0.8201283812522888, -0.3754773736000061, 0.5533850789070129, -0.07696399092674255, 0.3888414204120636, -0.38899511098861694, 0.043816931545734406, -0.6042922735214233, -0.25336378812789917, -1.146162509918213, -0.24446700513362885, 0.13645018637180328, -0.09793739020824432, 0.10564737021923065, 0.46050626039505005, -0.3794907033443451, 0.2592104375362396, 0.16286656260490417, 0.10054180026054382, 0.19591282308101654, 0.01873038522899151, 0.15142542123794556, -0.5360740423202515, -0.661853551864624, -0.3059379756450653, 1.1772876977920532, 0.27984851598739624, 0.7753450870513916, 0.4457016587257385, 0.37817031145095825, 0.8275883197784424, 0.22594140470027924, -0.5113435983657837, 0.4692668318748474, -0.2647092640399933, -0.7953746318817139, 0.08892795443534851, -0.6012622117996216, -0.7565853595733643, 0.2717841863632202, -0.2354203760623932, -0.564214289188385, 0.042282018810510635, 0.06129331886768341, -0.20792388916015625, 0.30571240186691284, -0.6287055611610413, 0.6566448211669922, -0.006908690556883812, -0.6243632435798645, -0.18046429753303528, -0.39263656735420227, 0.6395707726478577, -0.01594565063714981, 0.7093091607093811, 0.16417469084262848, 0.4850987195968628, 1.0253957509994507, -0.3568601906299591, 0.9554218649864197, -0.18527692556381226, -0.23758363723754883, 0.22622737288475037, -0.19861945509910583, 0.1963518261909485, -0.2916944622993469, 0.44546201825141907, -0.013619438745081425, -0.20388150215148926, -0.18972943723201752, -0.3416597247123718, 0.7642732262611389, -0.7483338713645935, -0.0886683538556099, -0.258053183555603, -0.25997236371040344, -0.24972926080226898, 0.028917411342263222, 0.07489030808210373, 0.4858212172985077, 0.02192002534866333, 0.3356199860572815, 0.7772814631462097, -0.4401285946369171, 0.24764487147331238, 0.22525283694267273, -0.4939543306827545, -0.38395026326179504, 0.7911360859870911, 0.2942737936973572, -0.08732172101736069, 0.08690817654132843, 0.08329760283231735, -0.3073892891407013, -0.22578445076942444, -0.5000337362289429, 0.16297253966331482, -0.7992562651634216, -0.026716720312833786, -0.5887342095375061, -0.14445847272872925, -0.46812722086906433, 0.08302310109138489, -0.33422720432281494, 0.025286130607128143, -0.25054633617401123, -0.17845971882343292, 0.09048434346914291, 0.9311708807945251, 0.31564298272132874, 0.12546801567077637, -0.5004010796546936, 0.8868922591209412, 0.22674641013145447, 0.4447889029979706, -0.121126689016819, -0.5888544917106628, -0.19828206300735474, -0.0839584693312645, -0.1566689908504486, -1.3547567129135132, 0.7002684473991394, -0.01549503393471241, 0.4100935161113739, 0.23892733454704285, -0.08864837139844894, 0.7856737971305847, 0.07096630334854126, 0.7008529901504517, 0.01439766027033329, -0.6994025707244873, 0.559222936630249, -0.48585397005081177, -0.25323596596717834, 0.27706435322761536, 0.3909263014793396, -0.5561341643333435, -0.4111105799674988, -0.670975923538208, -0.900877058506012, 0.4717245101928711, 0.6040275692939758, 0.10769664496183395, 0.07496717572212219, -0.15089234709739685, 0.27597999572753906, 0.5869551301002502, -1.0300815105438232, -0.618719756603241, -0.2452969253063202, -0.07711592316627502, 0.1512177437543869, -0.5379276275634766, 0.11405277252197266, -0.19635997712612152, 0.777571976184845, -0.049799494445323944, 0.20706415176391602, -0.40057802200317383, -0.4916080832481384, -0.09878839552402496, 0.4686492085456848, 0.22622139751911163, 0.44454267621040344, -0.42426565289497375, 0.12890173494815826, -0.27191776037216187, -0.6378315687179565, 0.130393847823143, 0.03464896231889725, -0.26803696155548096, 0.2932891249656677, 0.29421770572662354, 0.39567989110946655, 0.3660871684551239, -0.7019608020782471, 0.5448879599571228, 0.000900307553820312, 0.16225942969322205, -0.33104032278060913, -0.11766151338815689, -0.2673671543598175, -0.14884339272975922, 0.368690550327301, 0.12780258059501648, 0.4148929715156555, -0.9287804961204529, 0.3044041395187378, 0.384133517742157, -0.4748818278312683, -0.2965857684612274, 0.3563985526561737, 0.4111804664134979, -0.058441970497369766, 0.2558690011501312, -0.31442850828170776, -0.6707773208618164, 0.43631675839424133, 0.42760366201400757, 0.9094641208648682, -0.016297582536935806, 0.43661025166511536, 0.3646743893623352, 0.33857303857803345, 0.11541733145713806, 0.5792502164840698, -0.008386272937059402, -0.91488116979599, -0.3985522985458374, -0.4933156371116638, -0.10564501583576202, 0.4580099880695343, -0.9810047745704651, 0.4475793242454529, -0.5370646119117737, -0.08981006592512131, 0.15558935701847076, -0.21305280923843384, -0.8252553343772888, 0.29435357451438904, 0.32602670788764954, 0.30007675290107727, -1.1911075115203857, 0.6086955070495605, 0.5281195044517517, -0.38816654682159424, -0.6052904725074768, -0.10329549759626389, 0.24537542462348938, -0.5601800084114075, 0.5260833501815796, 0.3161454200744629, -0.2214977890253067, -0.32673215866088867, -0.4675297737121582, -0.5488285422325134, 0.15018005669116974, 0.12023306638002396, -0.23753713071346283, 0.20097798109054565, 0.422791987657547, 0.8413439393043518, -0.2551642656326294, 0.5048884749412537, 0.8294379711151123, 0.1571865826845169, -0.3668306767940521, -1.0159908533096313, -0.21656519174575806, -0.8676692247390747, -0.1748572289943695, 0.3007446527481079, -0.14344793558120728, 0.827544093132019, 0.302141010761261, -0.17727389931678772, -0.383057177066803, 0.41051116585731506, 0.010814514011144638, 0.28371790051460266, 0.4156428575515747, 0.4453887641429901, 0.48662206530570984, 0.13367673754692078, 0.7495171427726746, 0.15681672096252441, 0.43164533376693726, 1.0971461534500122, -0.1313903033733368, 0.6992254853248596, 0.4623495638370514, -0.476778507232666, 0.7179543375968933, 0.3603856861591339, 0.1623736321926117, 0.2821095883846283, 0.24242593348026276, 0.04571036621928215, 0.064646415412426, -0.4302113950252533, -0.2928679883480072, 0.5474408864974976, 0.17613114416599274, -0.5781571865081787, -0.20008820295333862, 0.16053882241249084, 0.20180922746658325, 0.28165170550346375, -0.48091328144073486, 0.7065284252166748, -0.1905442625284195, -0.4060254395008087, 0.5171300172805786, 0.044550176709890366, 1.3500854969024658, -0.4292290508747101, -0.1879071593284607, -0.15426458418369293, 0.04130842164158821, -0.588584840297699, -0.7154760956764221, 0.26197054982185364, 0.6907044053077698, -0.33844301104545593, -0.1611092984676361, 0.6998425722122192, -0.5382638573646545, -0.45572659373283386, 0.5780439972877502, 0.7141594290733337, 0.0020487343426793814, -0.17469795048236847, -0.611109733581543, -0.045439738780260086, 0.4589616358280182, 0.17119067907333374, 0.3356267809867859, 0.18176238238811493, -0.15457426011562347, 0.4517142176628113, 0.6431905031204224, 0.049619562923908234, 0.4586928188800812, 0.30641406774520874, 0.9426432847976685, -0.8354766368865967, -0.7712468504905701, -0.869263768196106, 0.2644575834274292, -0.2730208933353424, -0.4630894958972931, 1.1237677335739136, 0.5354111194610596, 1.0638816356658936, -0.014900339767336845, 0.9732435941696167, -0.21174989640712738, 0.7238594889640808, -0.39920908212661743, 0.231008380651474, -0.17605005204677582, 0.3238120377063751, -0.7863690257072449, -0.7372965216636658, -0.07131636887788773, 0.4717211425304413, -0.25789010524749756, 0.17389415204524994, 0.3931238353252411, 0.7512804269790649, -0.31651055812835693, 0.37626126408576965, 0.19866158068180084, 0.258210152387619, 0.374895304441452, 0.12763477861881256, 0.8960850238800049, -0.38093769550323486, 0.6451898813247681, -0.4557933211326599, -0.07803590595722198, -0.3621169626712799, -0.6265830993652344, -0.9915478825569153, -0.11422105133533478, -0.43843820691108704, -0.5081161260604858, -0.18872617185115814, 0.9852880239486694, 0.5231194496154785, -0.8313983082771301, -0.27437183260917664, 0.001968790777027607, 0.020023640245199203, -0.17447784543037415, -0.34469369053840637, 0.012020080350339413, 0.08458829671144485, -0.6784968972206116, 0.09196575731039047, 0.07406607270240784, -0.3589267134666443, -0.5958395004272461, 0.021502824500203133, -0.3362405002117157, 0.08088844269514084, 0.5399900674819946, 0.049243953078985214, -0.24396108090877533, -0.001989456359297037, 0.11139888316392899, -0.04830653965473175, 0.22287487983703613, 1.0774543285369873, -0.5930984020233154, 0.7108641266822815, 0.567255973815918, 0.34820637106895447, 0.29756906628608704, 0.09007085859775543, 0.449924498796463, -0.9281997084617615, 0.17490434646606445, 0.3316749930381775, 0.4543581008911133, 0.6221171617507935, -0.37473562359809875, 0.3474361300468445, 0.5027154684066772, -0.0871126800775528, -0.8909164071083069, 0.061851177364587784, -0.6501408815383911, -0.28639131784439087, 1.3607251644134521, 0.00011171228834427893, -0.03710189834237099, -0.4792063534259796, -0.22263360023498535, 0.34750890731811523, -0.6221478581428528, 0.8600490093231201, 0.816400945186615, -0.10559853166341782, -0.11188570410013199, -0.8813490271568298, 0.587572455406189, 0.31211569905281067, -0.9221761226654053, -0.12597140669822693, 0.6312083601951599, 0.23814509809017181, 0.11968012154102325, 0.4463081359863281, -0.01912529580295086, 0.23233602941036224, -0.11577644944190979, -0.07312440127134323, 0.2511647939682007, -0.2668669819831848, -0.45429709553718567, 0.4787319600582123, -0.5193750858306885, -0.12717314064502716 ]
http://arxiv.org/abs/2403.06023v1
http://arxiv.org/pdf/2403.06023v1
Persian Slang Text Conversion to Formal and Deep Learning of Persian Short Texts on Social Media for Sentiment Classification
2024-03-09T22:18:26
2024-03-09T22:18:26
Mohsen Khazeni, Mohammad Heydari, Amir Albadvi
cs.CL
cs.CL, cs.LG
The lack of a suitable tool for the analysis of conversational texts in the Persian language has made various analyses of these texts, including Sentiment Analysis, difficult. In this research, we tried to make the understanding of these texts easier for the machine by providing PSC, Persian Slang Converter, a tool for converting conversational texts into formal ones, and by using the most up-to-date and best deep learning methods along with the PSC, the sentiment learning of short Persian language texts for the machine in a better way. be made More than 10 million unlabeled texts from various social networks and movie subtitles (as Conversational texts) and about 10 million news texts (as formal texts) have been used for training unsupervised models and formal implementation of the tool. 60,000 texts from the comments of Instagram social network users with positive, negative, and neutral labels are considered supervised data for training the emotion classification model of short texts. Using the formal tool, 57% of the words of the corpus of conversation were converted. Finally, by using the formalizer, FastText model, and deep LSTM network, an accuracy of 81.91 was obtained on the test data.
[ -0.38031110167503357, -0.7868764996528625, 0.5924113392829895, 0.1132015734910965, -0.8416966795921326, 0.6028427481651306, -0.596006453037262, -0.35390764474868774, 0.44135546684265137, 0.29217299818992615, -0.45857539772987366, -0.8647851347923279, -0.6474205255508423, 0.26806768774986267, -0.5341596007347107, 1.4438239336013794, -0.020960209891200066, 0.275302916765213, -0.09650207310914993, 0.10795961320400238, 0.08022253215312958, -0.6061739325523376, -0.5342792868614197, 0.09655451774597168, 0.3667151629924774, 0.8041645884513855, 0.7448874115943909, -0.40728601813316345, 0.70009446144104, 0.29794713854789734, -0.015455340966582298, 0.2606525421142578, -0.4834790825843811, 0.0376167930662632, -0.2501695454120636, -0.07405364513397217, -0.29160141944885254, 0.0073462361469864845, 0.487775593996048, 0.2931858003139496, 0.14982303977012634, 0.508388340473175, 0.1277703493833542, 0.8538471460342407, -0.4345872700214386, 0.11409912258386612, -0.3109571039676666, 0.1776898205280304, -0.5235540270805359, -0.2780471444129944, -0.19171477854251862, -0.8273729085922241, -0.08762635290622711, -0.14291644096374512, 0.06838612258434296, -0.18709126114845276, 0.8777599334716797, -0.058111127465963364, -0.5519389510154724, -0.22669033706188202, -1.0761024951934814, 0.8072654604911804, -0.8318322896957397, 0.15530428290367126, 0.2103491723537445, 0.5306642651557922, 0.03503336384892464, -0.6920996308326721, -0.7756932377815247, -0.27918732166290283, -0.048818133771419525, 0.16331607103347778, -0.16410201787948608, 0.06808619201183319, -0.0164991095662117, 0.6579742431640625, -0.2943849563598633, -0.16926690936088562, -0.6874918937683105, 0.15193893015384674, 0.9301312565803528, 0.07731630653142929, 0.3409615755081177, -0.3355257511138916, -0.18513253331184387, -0.07234834879636765, -0.3507053554058075, 0.10115258395671844, 0.3081018626689911, 0.2524476647377014, -0.18694494664669037, 0.5649926662445068, -0.43972691893577576, 0.16805221140384674, 0.27955496311187744, -0.20120902359485626, 0.505023181438446, -0.49485287070274353, -0.27873238921165466, 0.16860729455947876, 1.114483118057251, 0.511284589767456, 0.5482535362243652, 0.07949947565793991, -0.1833062767982483, 0.18502825498580933, 0.25596675276756287, -0.8156651854515076, -0.030934909358620644, 0.009150967933237553, -0.49665483832359314, -0.5322069525718689, 0.01092173159122467, -0.7604565024375916, -0.4783884584903717, -0.1581186056137085, -0.06350722908973694, -0.4609733819961548, -0.041562940925359726, 0.2912043631076813, 0.03521900251507759, 0.17823021113872528, 0.41595813632011414, -0.41870012879371643, 0.49187934398651123, 0.4310840666294098, 0.974371612071991, 0.13515320420265198, 0.22719022631645203, -0.04778166860342026, -0.30633068084716797, -0.4501289427280426, 0.8700841665267944, -0.34808677434921265, -0.378315806388855, 0.033848635852336884, -0.09185352921485901, -0.014267045073211193, -0.0263340026140213, 1.1497554779052734, -0.4521001875400543, 0.5083682537078857, 0.20065012574195862, -0.5013221502304077, -0.4530421197414398, 0.09720815718173981, -0.31644877791404724, 1.0811564922332764, 0.12317917495965958, -0.8073983192443848, 0.01499796099960804, -0.6352188587188721, -0.4635333716869354, 0.21556422114372253, 0.20572835206985474, -0.4362495243549347, 0.3135787546634674, 0.18694636225700378, 0.9442335963249207, -0.4898103177547455, 0.3044179081916809, -0.3610023260116577, -0.4253237545490265, 0.6978810429573059, -0.044242966920137405, 0.37571030855178833, 0.513437807559967, -0.377118319272995, 0.3008720278739929, -0.5400430560112, 0.17570646107196808, 0.06033109501004219, -0.04615500196814537, -0.4714486300945282, 0.10509742051362991, 0.33261236548423767, 0.5859123468399048, 0.07920006662607193, -0.6581698656082153, -0.06955798715353012, -0.7889922857284546, 0.3258497416973114, 0.5312286615371704, 0.184920072555542, 0.5353631377220154, 0.1148729994893074, 0.5239627361297607, -0.08932467550039291, 0.18445874750614166, 0.34233221411705017, -0.38127806782722473, -0.6745691895484924, 0.1826741099357605, 0.045079443603754044, 0.41998785734176636, -0.6223400831222534, 0.5555993318557739, -0.3478803336620331, -0.9147739410400391, -0.34738826751708984, 0.14366842806339264, 0.48933953046798706, 0.3723932206630707, 0.22333811223506927, -0.49467572569847107, -0.48030340671539307, -0.8083871603012085, -0.5217981338500977, -0.040128882974386215, 0.12868954241275787, 0.24770644307136536, 0.4066162109375, -0.43633556365966797, 0.516876220703125, -0.3676958978176117, -0.43176525831222534, -0.6189031004905701, 0.11191243678331375, 0.3658996522426605, 0.32434138655662537, 0.6560314893722534, -0.6422462463378906, -1.083337664604187, 0.1765919029712677, -0.37891408801078796, 0.12205846607685089, -0.16946066915988922, -0.2003873884677887, 0.17638717591762543, 0.6738156080245972, -0.390068382024765, 0.40071985125541687, 0.5931907296180725, -0.3323901891708374, 0.6204365491867065, 0.3744755983352661, 0.42387667298316956, -1.2914782762527466, -0.10520573705434799, 0.38344767689704895, -0.3963618874549866, -0.8463456630706787, -0.11014761030673981, -0.059343308210372925, -0.18940725922584534, -0.6645128726959229, 0.524087131023407, -0.3201669454574585, 0.291072279214859, -0.19271154701709747, 0.08514277637004852, -0.11686093360185623, 0.5105780363082886, -0.1350271850824356, 0.6875619292259216, 0.6331527233123779, -0.5744141936302185, 0.6116899847984314, 0.2642211318016052, -0.488908976316452, 0.20538990199565887, -0.5018728375434875, 0.3846336901187897, -0.20913487672805786, 0.2573872208595276, -0.9471964240074158, -0.31024008989334106, 0.7475728988647461, -0.562137246131897, 0.01651129126548767, -0.04952800273895264, -0.6005685925483704, -0.33777517080307007, -0.5158970355987549, 0.26323628425598145, 0.531683087348938, -0.2506686747074127, 0.3678094446659088, 0.45412418246269226, -0.06344933062791824, -0.08321559429168701, -0.5449162721633911, 0.18129800260066986, -0.2855406701564789, -0.5983129739761353, 0.33784720301628113, 0.08815482258796692, -0.30336788296699524, 0.006859259679913521, 0.038791850209236145, -0.3113672733306885, -0.1182427704334259, 0.2794836759567261, 0.08689282089471817, -0.20869454741477966, 0.28205427527427673, 0.37419238686561584, 0.04084281995892525, 0.11279702186584473, 0.0293879471719265, 0.6626365780830383, -0.5543275475502014, -0.017544301226735115, -0.7066859006881714, 0.25995221734046936, 0.4848782420158386, -0.00541454553604126, 0.9305248260498047, 0.707182765007019, -0.22766630351543427, -0.04263760894536972, -0.26873070001602173, -0.07213608920574188, -0.4450254738330841, 0.2734368145465851, -0.06309796124696732, -0.8414300680160522, 0.08788187801837921, -0.2506152391433716, -0.22915279865264893, 0.5678048729896545, 0.33171528577804565, -0.12318155914545059, 1.1167080402374268, 0.5515968203544617, -0.12130173295736313, 0.49890175461769104, 0.08897816389799118, 0.421644389629364, -0.2867414653301239, -0.08553994446992874, -0.49803847074508667, -0.4141417443752289, -0.63492751121521, -0.38403162360191345, 0.29045602679252625, -0.10280641168355942, -0.1409328579902649, 0.15958018600940704, -0.362714558839798, 0.49819454550743103, 0.3907003402709961, 0.29266396164894104, 0.1627468317747116, 0.33914536237716675, 0.2806112766265869, -0.22202645242214203, -0.22058448195457458, -0.6159868240356445, 0.7221419215202332, 0.3860696852207184, 0.7037025094032288, 0.007091026287525892, 0.7649630904197693, 0.40585482120513916, -0.039191119372844696, -1.1554651260375977, 0.6681564450263977, -0.5871428847312927, -0.3564254343509674, -0.09191164374351501, -0.153423011302948, -0.42188888788223267, -0.2708132565021515, -0.31411129236221313, -0.4658343195915222, 0.2074217051267624, -0.03513774275779724, -0.2809794247150421, 0.19774585962295532, -0.6161521673202515, 0.7792133688926697, -0.35580208897590637, -0.07494276016950607, -0.5681015849113464, -0.6689497232437134, 0.5866273045539856, -0.04536009207367897, 0.22031152248382568, -0.28893736004829407, 0.11927977949380875, 0.8900085687637329, -0.5039022564888, 1.039154052734375, 0.08583644032478333, 0.099520742893219, 0.3398336172103882, 0.13574591279029846, 0.2907862365245819, 0.05556522682309151, 0.17336344718933105, 0.31557294726371765, -0.2268848866224289, -0.24365025758743286, -0.4242876172065735, 0.6124873757362366, -0.7935018539428711, -0.36399951577186584, -0.73164963722229, 0.13276176154613495, -0.4136736989021301, 0.056763872504234314, 0.16963090002536774, 0.2940651774406433, -0.4683889150619507, 0.2787598669528961, 0.468705415725708, -0.19548507034778595, 0.2043462097644806, 0.08532069623470306, -0.146712526679039, -0.2402607798576355, 0.674415647983551, -0.4433746635913849, 0.07321792840957642, 0.28326722979545593, 0.2753234803676605, -0.23437508940696716, -0.36302241683006287, -0.2936001718044281, 0.24825520813465118, -0.6732057332992554, -0.3193858861923218, -0.5105890035629272, -0.3426857888698578, -0.5936293005943298, -0.2390655130147934, -0.511379599571228, -0.41868630051612854, -0.584938645362854, -0.14025752246379852, 0.7362155318260193, 0.7494714856147766, 0.14049549400806427, 0.5877029895782471, -1.1665270328521729, 0.12385962158441544, -0.08979658782482147, 0.13406595587730408, -0.37834101915359497, -0.5316662192344666, -0.5415960550308228, 0.02487259916961193, -0.20873324573040009, -1.2679368257522583, 0.8812142014503479, 0.601060688495636, -0.31408682465553284, 0.6436465978622437, 0.02370270900428295, 0.6952522397041321, -0.34419602155685425, 0.6989457607269287, 0.4224277138710022, -1.1180697679519653, 0.620821475982666, -0.2529022693634033, 0.08622585237026215, 0.6437620520591736, 0.6393862962722778, -1.0505783557891846, -0.34603434801101685, -0.5137972831726074, -0.809874951839447, 0.6771261096000671, 0.09211933612823486, 0.47154501080513, 0.027482446283102036, 0.41434261202812195, -0.0029181495774537325, 0.2586839497089386, -0.6375998854637146, -0.2925913333892822, -0.2366512268781662, -0.3147331178188324, -0.43434008955955505, -0.44371116161346436, 0.11155279725790024, -0.5458386540412903, 0.7741568088531494, -0.09722182154655457, 0.1153111681342125, 0.027117125689983368, -0.1547514945268631, -0.15492229163646698, 0.6301850080490112, 0.3246038258075714, 0.20392414927482605, -0.043150413781404495, 0.0051980153657495975, 0.1911657601594925, -0.6235483288764954, -0.05030566081404686, -0.13856588304042816, -0.1472102552652359, 0.28888222575187683, -0.14454385638237, 0.7950765490531921, 0.38762956857681274, -0.6444385647773743, 0.5439457297325134, -0.363411545753479, -0.0703374370932579, -0.7074646949768066, -0.021897777915000916, -0.029859310016036034, 0.09665463119745255, 0.18089337646961212, 0.4355373978614807, 0.49341630935668945, -0.640072226524353, -0.09902235865592957, 0.3452985882759094, -0.7237185835838318, -0.45304638147354126, 0.10350010544061661, 0.19004622101783752, 0.06753289699554443, 0.20312534272670746, -0.46616631746292114, -0.7663180828094482, 0.13179679214954376, 0.27080482244491577, 1.0992316007614136, -0.1414920538663864, 0.8186556100845337, 0.5199583172798157, -0.10216746479272842, -0.14959678053855896, 0.2580541670322418, -0.08419562131166458, -0.5912565588951111, -0.42876774072647095, -0.9115660786628723, -0.3255818784236908, 0.0445234477519989, -0.4488784670829773, 0.39985355734825134, -0.8071098923683167, -0.13854463398456573, -0.1855112910270691, 0.14251597225666046, -0.4674127399921417, 0.3479166030883789, 0.19816948473453522, 0.49838393926620483, -0.9270671606063843, 0.8600220084190369, 0.9076220393180847, -0.3996109664440155, -0.9150252342224121, -0.027104856446385384, -0.04661044105887413, -0.3427696228027344, 0.6835293173789978, 0.04693947732448578, -0.4751790463924408, -0.003012225264683366, -0.8031566143035889, -0.7974354028701782, 0.4183586537837982, 0.009217229671776295, -0.7122046947479248, 0.09204059094190598, 0.1932705193758011, 0.9116503596305847, -0.2623208165168762, 0.1526918113231659, 0.4207039773464203, 0.2712516784667969, -0.13107837736606598, -0.8979503512382507, 0.1591118574142456, -0.5917854905128479, -0.12307010591030121, 0.24047988653182983, -0.4541037380695343, 0.8727655410766602, 0.12379341572523117, -0.7661939859390259, 0.06080402433872223, 0.8052542805671692, -0.21436485648155212, 0.39162224531173706, 0.33951282501220703, 0.12801729142665863, 0.48586103320121765, 0.0051649464294314384, 0.8808320760726929, -0.201486274600029, 0.31709662079811096, 0.7165449261665344, 0.03022424690425396, 0.8788111805915833, 0.301624059677124, -0.011631987057626247, 1.0637869834899902, 0.6341930627822876, 0.14656300842761993, 0.41805800795555115, 0.06422580033540726, -0.5004916787147522, -0.28844138979911804, -0.11665693670511246, -0.2955087125301361, 0.39969536662101746, 0.5562237501144409, -0.42819374799728394, -0.14251808822155, 0.06679137051105499, 0.31480419635772705, 0.42637041211128235, -0.4922875761985779, 0.946159303188324, 0.16789686679840088, -0.23427072167396545, 0.4122728109359741, 0.35954469442367554, 0.9206936359405518, -0.39240381121635437, 0.2942301332950592, -0.19632941484451294, 0.420673131942749, -0.5648117661476135, -0.8118028044700623, 0.40779009461402893, 0.16055941581726074, 0.11004181951284409, -0.3079582154750824, 1.1989448070526123, -0.22249585390090942, -0.6648979187011719, 0.06550559401512146, 0.5858549475669861, 0.36471468210220337, -0.3657865822315216, -0.8083056807518005, -0.4374164342880249, -0.12530343234539032, 0.017004862427711487, 0.3114381432533264, 0.4802102744579315, -0.058998264372348785, 0.3565654158592224, 0.7673535943031311, 0.08659321069717407, -0.1292680948972702, 0.2154071033000946, 1.076278567314148, -0.9538238644599915, -0.5768564343452454, -0.9090002775192261, 0.2651243507862091, -0.2571721374988556, -0.4127809405326843, 1.2953433990478516, 0.3005776107311249, 0.6968862414360046, -0.4066738486289978, 0.6060182452201843, -0.09749630838632584, 0.7843623161315918, -0.4643302261829376, 0.8645961284637451, -0.657806396484375, -0.03605329617857933, -0.584782600402832, -0.5947195887565613, -0.3376629054546356, 0.5109206438064575, -0.3206012547016144, -0.12864592671394348, 0.9040742516517639, 0.4908125400543213, -0.0009644268429838121, 0.035237159579992294, 0.029286667704582214, 0.0511309988796711, 0.0031468658708035946, 0.42667728662490845, 0.9373380541801453, -0.47165894508361816, 0.46420082449913025, -0.6587057709693909, -0.04540051147341728, -0.3274720013141632, -0.6557095050811768, -1.117292881011963, -0.6134043335914612, -0.3044824004173279, -0.692630410194397, 0.2400672733783722, 1.0967386960983276, 0.3571760058403015, -0.9903291463851929, -0.36850056052207947, -0.0980725958943367, 0.13236024975776672, 0.007576249539852142, -0.291191965341568, 0.2858690321445465, -0.3026730716228485, -0.8338742256164551, 0.3342667520046234, 0.23398646712303162, 0.009697104804217815, -0.15786691009998322, -0.06275729835033417, -0.1129520833492279, 0.08775371313095093, 0.7216969132423401, 0.3889690041542053, -0.2430790215730667, -0.21742744743824005, 0.19319960474967957, -0.38511088490486145, 0.15966245532035828, 0.9038408398628235, -0.7084832191467285, -0.025160042569041252, 0.6273759007453918, 0.21197234094142914, 0.38331085443496704, 0.024965737015008926, 0.3103639483451843, -0.9050535559654236, 0.17922833561897278, 0.5235579013824463, 0.19801878929138184, 0.2972296476364136, -0.548669159412384, 0.16434930264949799, 0.2002740502357483, -0.45992928743362427, -0.6395301222801208, 0.11347373574972153, -1.1510077714920044, -0.3073388636112213, 1.2473158836364746, 0.21872876584529877, -0.5964855551719666, -0.14243918657302856, -0.6064540147781372, 0.2919099032878876, -0.8135873675346375, 0.9741123914718628, 0.2969784438610077, 0.05271719768643379, -0.04783031344413757, -0.16052252054214478, 0.9473894834518433, 0.28224146366119385, -0.8774892687797546, -0.3043310046195984, 0.6100425720214844, 0.01492894534021616, 0.19720490276813507, 0.7679700255393982, -0.12503157556056976, 0.42341771721839905, -0.4883204996585846, 0.061608653515577316, 0.37515977025032043, -0.1728024184703827, -0.3315914273262024, 0.024254845455288887, -0.05255088582634926, 0.04417695477604866 ]
http://arxiv.org/abs/2403.06018v1
http://arxiv.org/pdf/2403.06018v1
Few-Shot Cross-Lingual Transfer for Prompting Large Language Models in Low-Resource Languages
2024-03-09T21:36:13
2024-03-09T21:36:13
Christopher Toukmaji
cs.CL
cs.CL, cs.AI, cs.LG
Large pre-trained language models (PLMs) are at the forefront of advances in Natural Language Processing. One widespread use case of PLMs is "prompting" - or in-context learning - where a user provides a description of a task and some completed examples of the task to a PLM as context before prompting the PLM to perform the task on a new example. Only the largest, most capable PLMs are able to perform in-context learning effectively, and these models are typically trained with a predominantly English corpus, leaving all other languages behind. The data limitations in most languages preclude the training of language-specific PLMs capable of prompting. Albeit the surge in work of prompting settings, it is still unclear how PLMs should be adapted cross-lingually specifically for prompting. We evaluate the possible methods to adapt LLaMa, a 7B parameter open-source PLM mainly trained in English, for prompting in low-resource languages, namely for Kinyarwanda, Hausa, and Luganda. We consider three methods: few-shot prompting (prompt), language-adaptive fine-tuning (LAFT), and neural machine translation (translate), and evaluate on abstractive summarization, multi-class topic classification, and named-entity recognition. Although LAFT carries the greatest compute cost and intuitively should lead to the best results, our experiments exhibit that LAFT is only occasionally the optimal choice for adapting PLMs for prompting. Rather, the translate and prompt settings are a compute-efficient and cost-effective method of few-shot prompting for the selected low-resource languages. We find that the results are task and language dependent but find that the prompting method is the best on average across all tasks and languages. Results show that the prompt setting performs better than both translating and LAFT with statistical significance for all shots when aggregated across all tasks and languages.
[ -0.4367801249027252, -0.8460931181907654, 0.5345500707626343, 0.514423668384552, -0.34105366468429565, -0.18418081104755402, -0.6415688395500183, -0.259081095457077, -0.015343801118433475, 0.22102120518684387, -0.5347426533699036, -0.33611568808555603, -0.40564367175102234, 0.5146610736846924, -0.15124580264091492, 0.9284905791282654, -0.1254417598247528, -0.026245901361107826, -0.12418869882822037, -0.16470076143741608, -0.7603909969329834, -0.20923717319965363, -0.9144262075424194, -0.41896313428878784, 0.7352572679519653, 0.7253086566925049, 0.2981575131416321, 0.06510370224714279, 0.15566132962703705, 0.1795106828212738, -0.061383411288261414, 0.26441293954849243, -0.5543887615203857, -0.15251536667346954, -0.27960166335105896, -0.7794162034988403, -0.21007131040096283, -0.19782619178295135, 0.781032919883728, 0.8101462721824646, 0.22089451551437378, 0.24264700710773468, 0.3551449179649353, 0.576585590839386, -0.6852543950080872, 0.06041698902845383, -0.6573677659034729, 0.16001848876476288, -0.2450972944498062, -0.438131183385849, -0.5348615646362305, -0.1884830743074417, 0.14035464823246002, -0.6574757099151611, -0.11731034517288208, 0.07301986962556839, 0.46535825729370117, 0.24314580857753754, -0.27592402696609497, -0.11430396139621735, -0.5387340188026428, 0.8577096462249756, -0.43074044585227966, 0.22827178239822388, 0.6865643262863159, 0.187945157289505, -0.12550048530101776, -0.3620857000350952, -0.5197290182113647, -0.3602752983570099, -0.08665680140256882, 0.07476680725812912, -0.4737222194671631, -0.05314815044403076, 0.3871142566204071, -0.09441749006509781, -0.5512670874595642, 0.5410512089729309, -0.3501734435558319, -0.17495648562908173, 0.31542208790779114, 0.07463819533586502, 0.08822452276945114, -0.17663562297821045, -0.46943148970603943, -0.04196103662252426, -1.069327712059021, 0.29403895139694214, 0.1753387451171875, 0.6215627789497375, -0.5042567253112793, 0.3418146073818207, -0.3260370194911957, 1.0043940544128418, 0.3521071970462799, -0.1960497945547104, -0.2135658711194992, -0.43884503841400146, -0.08163503557443619, 0.11921622604131699, 0.8449283242225647, 0.3342331647872925, 0.4114728271961212, 0.17361296713352203, -0.15149913728237152, -0.21460849046707153, -0.1934947371482849, -0.6318651437759399, 0.06880666315555573, -0.11422137916088104, -0.43525102734565735, 0.10405976325273514, -0.4465436637401581, -0.8201825022697449, -0.46407631039619446, -0.10090816766023636, 0.5660193562507629, -0.30944982171058655, -0.007612427230924368, -0.07401177287101746, 0.22942984104156494, 0.4504062533378601, 0.45788249373435974, -1.033395767211914, 0.06021364405751228, 0.3780559301376343, 1.071952223777771, -0.39666399359703064, -0.5757660865783691, -1.0266034603118896, -0.037398431450128555, -0.4022688865661621, 0.9581963419914246, -0.456944078207016, -0.5410729050636292, 0.17022527754306793, -0.008521631360054016, -0.1785031408071518, -0.5314236879348755, 0.31241458654403687, -0.4758515954017639, 0.22512011229991913, -0.6234603524208069, -0.1868855208158493, -0.12760686874389648, 0.35092484951019287, -0.5366642475128174, 0.8765705823898315, 0.13862454891204834, -0.39165884256362915, 0.33245956897735596, -0.8277865052223206, -0.6493769288063049, 0.04119731858372688, 0.06494396924972534, 0.07646772265434265, 0.08503735810518265, 0.5453009009361267, 0.4892488121986389, -0.3616389334201813, -0.038595519959926605, 0.03852858021855354, -0.32564088702201843, 0.23120234906673431, -0.5905945897102356, 0.8028430342674255, 0.16094784438610077, -0.08388011902570724, 0.15293627977371216, -0.5470916032791138, -0.21418924629688263, 0.13159331679344177, -0.40054282546043396, -0.33819520473480225, -0.4337579309940338, -0.1817350536584854, 0.16940763592720032, 0.16120006144046783, -0.13632388412952423, 0.3098844587802887, -0.4767764210700989, 0.33616402745246887, 0.5960594415664673, 0.017211809754371643, 0.9176027774810791, -0.3388560116291046, 0.7962108850479126, 0.014918757602572441, -0.09599139541387558, -0.5362071990966797, -0.4758078455924988, -0.6642316579818726, -0.11029790341854095, 0.29962021112442017, 0.6804265975952148, -1.060029149055481, 0.004034160636365414, -0.19406703114509583, -0.15685227513313293, -0.6589532494544983, 0.4662238657474518, 0.3633787930011749, 0.7589321136474609, 0.3569266200065613, -0.17719757556915283, -0.3420819044113159, -0.7216640710830688, -0.24987220764160156, -0.352168470621109, 0.02293589524924755, 0.1667546182870865, 0.22490140795707703, 0.19596457481384277, 0.8628417253494263, -0.09860159456729889, -0.3838202953338623, -0.6063982248306274, 0.23108689486980438, 0.22958172857761383, 0.3465087115764618, 0.7459641695022583, -0.38670891523361206, -0.862300455570221, 0.1320137232542038, -0.3321813642978668, -0.5151588320732117, -0.4182305335998535, -0.0858149379491806, 0.41655707359313965, 0.4137512743473053, -0.5586541891098022, 0.13932612538337708, 0.7113676071166992, 0.1209237352013588, 0.37881311774253845, -0.1537598967552185, 0.18350304663181305, -1.0151944160461426, 0.18577498197555542, -0.1688917726278305, -0.3078131377696991, -0.6475703120231628, -0.25035375356674194, 0.0012975555146113038, -0.04352632910013199, -0.8389573097229004, 1.1121770143508911, -0.5379050374031067, -0.14835166931152344, -0.5247243046760559, 0.2087465524673462, -0.05626576393842697, 0.4675278067588806, 0.22457237541675568, 0.8889991641044617, 0.6714001893997192, -0.7287701964378357, 0.24217887222766876, 0.2825462222099304, -0.31375378370285034, 0.8940675258636475, -0.41500478982925415, 0.30961576104164124, -0.04643385857343674, 0.27183178067207336, -0.8997589349746704, -0.08484821021556854, 0.4246796667575836, -0.15335874259471893, 0.2300443798303604, -0.38272807002067566, -0.3641689121723175, -0.1215442642569542, -0.27309659123420715, 0.4058035612106323, 0.5486401319503784, -0.842117190361023, 0.40953460335731506, -0.15391409397125244, -0.4268009662628174, -0.5036781430244446, -0.79908686876297, 0.12826748192310333, -0.27177682518959045, -0.3857380151748657, 0.2699137330055237, -0.04056937247514725, -0.19229106605052948, -0.12221197783946991, 0.1596723347902298, 0.007520320825278759, 0.025491446256637573, -0.032390423119068146, 0.36177533864974976, -0.3708310127258301, -0.0480564646422863, 0.1987246572971344, -0.1825212836265564, -0.21958330273628235, -0.2504142224788666, 0.5403798818588257, -0.08622459322214127, -0.3433607816696167, -0.4934852123260498, 0.4141688048839569, 0.22360859811306, -0.1651208996772766, 0.6721014380455017, 0.7373343706130981, -0.24618998169898987, -0.2892999053001404, -0.4295836389064789, -0.3561078906059265, -0.4178275465965271, 0.2350175380706787, -0.4888036549091339, -0.9301877617835999, 0.5748738050460815, -0.23499561846256256, 0.15128764510154724, 0.09443458169698715, 0.7443055510520935, -0.060147952288389206, 0.8685169219970703, 0.7223547101020813, -0.29783159494400024, 0.7640345096588135, -0.09592773020267487, 0.06861428171396255, -0.5574961304664612, 0.14378705620765686, -0.5287350416183472, -0.5080731511116028, -0.35002389550209045, -0.45747625827789307, 0.4983270466327667, 0.19933249056339264, 0.1959524154663086, 0.2977139949798584, -0.01692512072622776, 0.7365131378173828, 0.6408224701881409, -0.15204524993896484, 0.338434636592865, 0.19758635759353638, 0.05160682275891304, 0.09327303618192673, -1.101796269416809, -0.30687570571899414, 0.7402964234352112, 0.08259514719247818, 0.8819791078567505, -0.07101070135831833, 0.7522324919700623, -0.0696900486946106, 0.2259625643491745, -1.2102304697036743, 0.5722610950469971, -0.14783509075641632, -0.268011212348938, -0.2814207375049591, -0.25222301483154297, -1.2607370615005493, 0.20881594717502594, -0.31933504343032837, -0.67816162109375, 0.2821100056171417, 0.25999677181243896, -0.8140286207199097, 0.12453034520149231, -0.8062768578529358, 0.7221353054046631, -0.35056981444358826, -0.4851979911327362, -0.20983754098415375, -0.5549980998039246, 0.27993398904800415, -0.21358081698417664, 0.11879557371139526, -0.028768302872776985, -0.21639984846115112, 0.5643845200538635, 0.06298277527093887, 1.2410519123077393, -0.22027002274990082, -0.2001393735408783, 0.3483329713344574, 0.3555496633052826, 0.7506254315376282, -0.11339158564805984, -0.011434954591095448, 0.12400862574577332, -0.03747348487377167, -0.34837520122528076, -0.5153723955154419, 0.6588451862335205, -0.5455597639083862, -0.6626733541488647, -0.22011269629001617, -0.6928398013114929, -0.3614533841609955, 0.141285702586174, 0.46903157234191895, 0.045094482600688934, -0.0745883584022522, 0.004133854992687702, 0.44686034321784973, -0.43075644969940186, 0.718754768371582, 0.6708709001541138, -0.11469589918851852, -0.10795942693948746, 0.7056151628494263, 0.0850217193365097, 0.3887300193309784, 0.3257831335067749, 0.456187903881073, -0.31162866950035095, -0.4392915964126587, -0.6891084909439087, 0.22839491069316864, -0.7740802764892578, -0.30743706226348877, -0.23967808485031128, 0.08512763679027557, -0.2677299678325653, -0.4639861583709717, -0.23578356206417084, -0.27588939666748047, -0.5493183732032776, 0.07334183156490326, 0.4044557809829712, 0.4223417043685913, -0.06060464307665825, 0.5738053321838379, -1.1116124391555786, 0.3092067837715149, 0.3857165575027466, 0.04502111300826073, -0.11501169204711914, -0.7768536806106567, -0.20262713730335236, -0.15308232605457306, -0.04317423328757286, -0.8940961360931396, 0.34988221526145935, 0.46278753876686096, 0.5827280282974243, 0.3148757815361023, 0.13323310017585754, 0.8246195912361145, -0.5584263205528259, 0.911398708820343, 0.32043951749801636, -0.902116060256958, 0.6411168575286865, -0.11611230671405792, 0.6745758652687073, 0.6548157334327698, 0.5146920680999756, -0.7846469283103943, -0.022870704531669617, -0.10991029441356659, -0.48787468671798706, 0.9585511684417725, -0.2966676950454712, 0.35144710540771484, 0.05920954421162605, 0.17020002007484436, 0.43611398339271545, -0.08939925581216812, -0.6709828972816467, 0.02835536003112793, 0.08400361984968185, -0.1406640261411667, 0.12841114401817322, -0.050524577498435974, -0.21391713619232178, -0.0308699794113636, 0.40798303484916687, -0.6776928901672363, 0.07388332486152649, 0.1589251607656479, -0.4775940477848053, -0.312078595161438, 0.5628477931022644, 0.808368444442749, 0.6009745001792908, 0.3830542266368866, 0.22458048164844513, 0.7247874736785889, -0.09749364852905273, 0.24762628972530365, -0.0008852569153532386, -0.27892476320266724, -0.009699582122266293, 0.491428941488266, 1.1454390287399292, 0.32386907935142517, -0.504883348941803, 0.46648046374320984, 0.2678813338279724, -0.013851887546479702, 0.24814008176326752, -0.021123165264725685, -0.11873665452003479, 0.3372098207473755, 0.2636338472366333, -0.18822024762630463, -0.11024948209524155, -0.48842570185661316, -0.3046206533908844, 0.3564552068710327, -0.054604873061180115, -0.5310728549957275, 0.39815762639045715, 0.32821622490882874, -0.28967347741127014, 0.39001497626304626, -0.2510114014148712, -0.47073835134506226, 0.21750681102275848, 0.747768223285675, 0.7808279991149902, -0.17324700951576233, 0.2515430152416229, 0.46594980359077454, 0.34403079748153687, -0.2612314224243164, 0.22034668922424316, -0.3988281786441803, -0.6261093020439148, -0.8317039012908936, -0.49444031715393066, -0.5448341369628906, 0.14407669007778168, -0.43409451842308044, 0.4470771551132202, -0.3532893657684326, -0.13903690874576569, -0.28317081928253174, -0.15872234106063843, -0.6880772113800049, -0.3922041952610016, 0.46930575370788574, 1.0344667434692383, -0.997694194316864, 0.8909279704093933, 0.8819854259490967, -0.3631061017513275, -0.6130320429801941, -0.073086217045784, 0.12749502062797546, -0.9977466464042664, 0.665894627571106, -0.16746124625205994, -0.12794432044029236, 0.11223984509706497, -0.6003907918930054, -0.6802492141723633, 0.7993282079696655, 0.7076825499534607, -0.8059976100921631, 0.08521296083927155, 0.19047802686691284, 0.4181942939758301, -0.23528477549552917, -0.013872562907636166, 0.5841847062110901, 0.5981299877166748, -0.025338679552078247, -1.261878490447998, 0.03166927769780159, 0.2131754457950592, 0.028323329985141754, -0.036212146282196045, -0.7041343450546265, 0.6292856931686401, -0.3313352167606354, -0.1975930780172348, 0.08259282261133194, 0.6598151326179504, 0.44419580698013306, 0.3165575861930847, 0.687267005443573, -0.062365125864744186, 0.7689298391342163, 0.09015753120183945, 0.9386604428291321, -0.20525716245174408, -0.11045113205909729, 1.052836298942566, -0.5024076104164124, 0.9931336045265198, 0.8223381042480469, -0.14601534605026245, 0.20977655053138733, 0.6071866154670715, 0.19702261686325073, 0.5371178388595581, -0.22918784618377686, -0.2763059735298157, -0.17429448664188385, -0.4450393319129944, -0.19425249099731445, 0.4407406449317932, 0.3293464183807373, -0.10297838598489761, -0.31173643469810486, 0.46678876876831055, -0.05819331109523773, -0.15800517797470093, -0.5747960209846497, 0.848678708076477, 0.47439271211624146, -1.0467169284820557, 0.8497865200042725, -0.1795770227909088, 0.878270149230957, -0.7246395945549011, 0.017877714708447456, -0.4585760235786438, -0.24993474781513214, -0.2619229853153229, -0.8103892207145691, 0.06113550812005997, 0.3599872589111328, -0.14436621963977814, -0.5168607234954834, 0.8806523680686951, -0.749282717704773, -0.09383528679609299, 0.26517343521118164, 0.7575971484184265, 0.2212275266647339, 0.008835293352603912, -0.673851728439331, 0.010433807969093323, -0.17292162775993347, -0.1382906138896942, 0.6086440086364746, 0.32175523042678833, -0.39804962277412415, 0.4303354024887085, 0.7561366558074951, 0.3512926995754242, 0.17487551271915436, 0.4152953624725342, 0.5459420084953308, -0.5167210102081299, -0.5687930583953857, -0.8102907538414001, 0.33052971959114075, 0.3831265866756439, -0.23100413382053375, 0.6500117182731628, 0.0651046633720398, 0.9308927059173584, -0.15404565632343292, 0.6765741109848022, 0.13902287185192108, 0.07700899988412857, -0.8287612795829773, 0.45461490750312805, -0.510216236114502, 0.17412124574184418, 0.028156612068414688, -0.928954005241394, -0.23589463531970978, 0.6536229252815247, -0.43637654185295105, -0.11397530138492584, 0.7046606540679932, 0.7618038654327393, 0.020314529538154602, -0.21407289803028107, 0.4829752743244171, 0.02944018691778183, -0.012271781452000141, 0.7992649078369141, 1.092361330986023, 0.05201435461640358, 0.7161763906478882, -0.28019610047340393, -0.1443077027797699, -0.3772428631782532, -1.005686640739441, -0.9040157794952393, -0.41684383153915405, -0.3109091818332672, -0.12328450381755829, -0.111402727663517, 1.287640929222107, 0.658162534236908, -0.882270097732544, -0.29535147547721863, 0.25883254408836365, 0.17627491056919098, -0.26907819509506226, -0.1586044281721115, 0.2075396627187729, -0.5014447569847107, -0.9658198356628418, 0.8198180198669434, 0.27447596192359924, 0.13461080193519592, -0.2882575988769531, -0.1618098020553589, -0.11102711409330368, -0.14656350016593933, 0.8265028595924377, 0.6322512030601501, -0.7623238563537598, -0.21927706897258759, 0.20751328766345978, -0.14996282756328583, 0.13314823806285858, 0.7974133491516113, -0.8517517447471619, 0.3545975685119629, 0.7754256129264832, 0.8702123165130615, 0.34265539050102234, -0.21484386920928955, 0.5676780939102173, -1.0109282732009888, 0.4353353679180145, 0.09830699861049652, 0.34377530217170715, 0.4717496931552887, -0.23102827370166779, 0.32131820917129517, 0.01114309299737215, -0.2572770416736603, -0.8053715825080872, 0.06603694707155228, -0.9181992411613464, -0.14210626482963562, 1.3307042121887207, -0.06770496815443039, -0.4150691628456116, -0.034572675824165344, -0.5177791118621826, 0.09361343830823898, -0.4102005362510681, 0.4437717795372009, 0.7682809233665466, -0.25778016448020935, -0.47885146737098694, -0.5287675261497498, 0.419097363948822, 0.7082225680351257, -0.8438804745674133, -0.007053763139992952, 0.4111371338367462, 0.15366733074188232, 0.02594834193587303, 0.8020408749580383, 0.1465720236301422, 0.5308732986450195, -0.295388787984848, -0.2163344919681549, 0.09119551628828049, -0.3484998345375061, -0.9927790760993958, -0.06892744451761246, 0.3173476457595825, -0.09333714097738266 ]
http://arxiv.org/abs/2403.06016v1
http://arxiv.org/pdf/2403.06016v1
End-to-end solution for linked open data query logs analytics
2024-03-09T21:29:40
2024-03-09T21:29:40
Dihia Lanasri
cs.DB
cs.DB, cs.CL
Important advances in pillar domains are derived from exploiting query-logs which represents users interest and preferences. Deep understanding of users provides useful knowledge which can influence strongly decision-making. In this work, we want to extract valuable information from Linked Open Data (LOD) query-logs. LOD logs have experienced significant growth due to the large exploitation of LOD datasets. However, exploiting these logs is a difficult task because of their complex structure. Moreover, these logs suffer from many risks related to their Quality and Provenance, impacting their trust. To tackle these issues, we start by clearly defining the ecosystem of LOD query-logs. Then, we provide an end-to-end solution to exploit these logs. At the end, real LOD logs are used and a set of experiments are conducted to validate the proposed solution.
[ -0.4797378182411194, -0.8267055153846741, 0.3298904299736023, -0.24158157408237457, -0.5583182573318481, 0.09381606429815292, 0.3209381103515625, -0.9362510442733765, 0.4725581705570221, 0.7140498757362366, -0.6835044622421265, -1.031390905380249, -0.3240664303302765, -0.21080242097377777, -0.36441880464553833, 1.1384977102279663, 0.0722862184047699, -0.43999481201171875, -0.3338834345340729, -0.2592959403991699, -0.28177332878112793, -0.5162705183029175, -0.868712306022644, 0.3628225028514862, 0.5261859893798828, 0.4227307438850403, 0.4410111904144287, 0.36609312891960144, 0.636538565158844, 0.1191752627491951, -0.11923958361148834, 0.2943374812602997, -0.9294441938400269, 0.4114108085632324, -0.5691420435905457, -0.265550822019577, -0.774331271648407, -0.11286439001560211, 0.3369080424308777, 0.8472047448158264, -0.21603477001190186, 0.43586236238479614, -0.030559679493308067, 0.5639448165893555, -0.7298252582550049, 0.32139113545417786, -0.7198360562324524, 0.12879586219787598, -0.24615629017353058, -0.45196568965911865, -0.32088449597358704, -0.34481003880500793, 0.17259211838245392, -0.612371027469635, 0.30522820353507996, 0.642860472202301, 0.7277368307113647, 0.03901999443769455, -0.5412476062774658, -0.4561510682106018, -0.5116944909095764, 0.396584689617157, -0.6662778854370117, 0.2808768153190613, 0.5674401521682739, 0.515815794467926, -0.46327078342437744, -0.7478513717651367, -0.1490817815065384, 0.24122166633605957, -0.3919737935066223, -0.12649734318256378, 0.03665516525506973, -0.10041347146034241, 0.04268186166882515, 0.6186584830284119, -0.5358166694641113, 0.30240023136138916, -0.6025175452232361, -0.044884081929922104, 0.9304313063621521, 0.40013736486434937, -0.06468740105628967, 0.010062570683658123, -0.3205188512802124, 0.04840761423110962, -0.8768529891967773, 0.1584273874759674, 0.399196058511734, 0.49425673484802246, 0.23055440187454224, 0.8247624635696411, -0.9995050430297852, 0.7151947617530823, -0.0008311525452882051, 0.2065460979938507, 0.04070550203323364, -0.26481497287750244, -0.2416541576385498, 0.6065911054611206, 0.6802288293838501, 0.25486859679222107, -0.048411834985017776, -0.4295666813850403, 0.09533923864364624, -0.4055047035217285, 0.027073027566075325, -0.805980920791626, 0.19352519512176514, 0.5978905558586121, -0.47648128867149353, -0.28910595178604126, 0.1818854808807373, -1.1021605730056763, -0.635002851486206, 0.15210621058940887, 0.3189104497432709, -0.12718935310840607, -0.42838990688323975, 0.5468565821647644, 0.25213804841041565, 0.23469503223896027, 0.27164342999458313, -0.6991674304008484, 0.45169997215270996, 0.7725831866264343, 0.8553479909896851, -0.2739209234714508, 0.12823455035686493, -0.945725679397583, 0.36963599920272827, -0.3072277009487152, 0.6306435465812683, -0.39784276485443115, -0.6591744422912598, 0.23554985225200653, 0.0045697963796556, 0.1887880265712738, -0.36877724528312683, 0.7829169631004333, -0.9391782879829407, 0.3706372380256653, -0.28873905539512634, -0.560133695602417, -0.3417697250843048, 0.38860195875167847, -0.8224227428436279, 0.8909411430358887, 0.21115662157535553, -1.0635157823562622, 0.3191438317298889, -0.7832650542259216, -0.24885669350624084, 0.02877729944884777, -0.0336335226893425, -0.4404129981994629, 0.2483772486448288, 0.2800787091255188, 0.6046178936958313, -0.6623743176460266, -0.1069820448756218, -0.5508034229278564, 0.14824727177619934, 0.04527560621500015, 0.1283724009990692, 0.9571766257286072, 0.3163556158542633, -0.06794208288192749, 0.14357629418373108, -0.8117995858192444, 0.09370172023773193, 0.2403121292591095, -0.0052851284854114056, -0.6402174234390259, 0.06114213168621063, -0.16341949999332428, -0.05863231420516968, 0.2252192348241806, -0.9752653241157532, 0.14744944870471954, -0.12567918002605438, -0.1655263453722, 0.6529214978218079, 0.5457002520561218, -0.18165720999240875, 0.14562545716762543, 0.46328821778297424, 0.13334031403064728, 0.30391088128089905, -0.13020777702331543, -0.46389076113700867, -0.3899115025997162, -0.15912938117980957, -0.030680103227496147, 0.08971510827541351, -0.004556404892355204, 0.3514784276485443, -0.39367544651031494, -0.491455614566803, -0.4104873538017273, 0.08110377937555313, 0.2635343372821808, 0.6642554402351379, 0.18823860585689545, -0.4053688943386078, -0.0865643173456192, -0.635855495929718, -0.27280208468437195, -0.19089694321155548, -0.021856719627976418, 0.37396058440208435, 0.3857523202896118, 0.04181304946541786, 1.6097949743270874, -1.1598482131958008, -0.6656351685523987, 0.2507898807525635, -0.06712870299816132, 0.5682849287986755, 0.3555741310119629, 0.2616879940032959, -0.9834198355674744, -0.5352192521095276, 0.5890917181968689, -0.9351135492324829, 0.11908010393381119, -0.007323177065700293, -0.36253154277801514, -0.12118544429540634, 0.5186387896537781, -0.7949528694152832, 0.51884925365448, 0.05745990201830864, -0.9609665274620056, 0.8735132217407227, 0.06353442370891571, 0.21146269142627716, -0.8244920969009399, 0.2110801488161087, -0.34648436307907104, -0.21068145334720612, -0.2979033887386322, 0.1861926168203354, -0.19703932106494904, -0.3080703616142273, -0.3887633979320526, 0.3191041946411133, -0.3729175329208374, -0.4956898093223572, 0.16798609495162964, 0.1902761608362198, -0.04385663568973541, 0.3423043489456177, 0.003917317371815443, 0.15959559381008148, 0.7239173650741577, -0.5623648762702942, 0.8422610759735107, 0.27766528725624084, -0.4722340404987335, 0.762228786945343, -0.8140806555747986, 0.017923345789313316, -0.14425377547740936, 0.07544836401939392, -0.8478276133537292, -0.3124898672103882, 0.34835267066955566, -0.6708532571792603, 0.1517169326543808, -0.4000037610530853, -0.41287872195243835, -0.1216866746544838, -0.21814171969890594, 0.3270406424999237, 0.36768025159835815, -0.7677841782569885, 0.3957271873950958, 0.2686389088630676, -0.11133608967065811, -0.4565037190914154, 0.0071687218733131886, -0.11084646731615067, -0.6130187511444092, -0.7843372821807861, 0.17333845794200897, 0.051934029906988144, -0.21673613786697388, 0.512803852558136, -0.3176533877849579, -0.1286325603723526, -0.19302700459957123, 0.3957940638065338, 0.1451118439435959, -0.5215170979499817, -0.17054305970668793, 0.021516885608434677, -0.4790429174900055, 0.3194506764411926, -0.7584095597267151, 0.34892013669013977, -0.06514939665794373, -1.0824756622314453, -0.3452203571796417, 0.3673740029335022, 0.9746506810188293, -0.5773833394050598, 1.022615909576416, 0.4111330509185791, -0.5534317493438721, -0.047459620982408524, -0.4112195074558258, -0.06869015097618103, -0.46168631315231323, 0.3150220513343811, -0.3439371585845947, -0.8282167911529541, 0.7027597427368164, -0.275767982006073, 0.2583223581314087, 0.4945216774940491, 0.08467953652143478, -0.1558724194765091, 0.6985307931900024, 0.4245697259902954, 0.04723246023058891, -0.1502164751291275, -0.2889363467693329, 0.5051124691963196, -0.8810474872589111, -0.891422688961029, -0.6449510455131531, -0.005417341832071543, -0.281307190656662, -0.22796228528022766, 0.6841114163398743, 0.5971479415893555, 0.0687422826886177, 0.13705627620220184, -0.19801178574562073, 0.3609910011291504, 0.2428531050682068, 0.03140284866094589, 0.6739192008972168, 0.18466348946094513, 0.20856645703315735, 0.2927112281322479, -0.29891806840896606, -0.01461061555892229, 1.128318190574646, 0.22366444766521454, 0.8711527585983276, 0.33203428983688354, 0.6232227683067322, 0.6004795432090759, -0.24312065541744232, -0.530113935470581, 0.48169755935668945, 0.47457075119018555, -0.6655065417289734, -0.5266429781913757, -0.23278191685676575, -1.0346189737319946, 0.4377433955669403, 0.06134459748864174, -1.041232705116272, 0.30300748348236084, 0.1724526286125183, -0.11534669250249863, 0.5942356586456299, -0.4227827489376068, 0.984049916267395, -0.11061682552099228, -0.7081534266471863, -0.39752256870269775, -0.5944137573242188, 0.5237450003623962, -0.08879372477531433, 0.2972037196159363, -0.06064441800117493, 0.19800397753715515, 0.8457766771316528, -0.5600140690803528, 0.8770214915275574, -0.34269052743911743, -0.25223517417907715, 0.6518560647964478, 0.29801446199417114, 0.945698618888855, 0.3502746820449829, -0.09526193886995316, -0.01915137656033039, 0.10221855342388153, -0.6433898210525513, -0.6158838868141174, 0.7943904399871826, -0.376470685005188, -0.5549137592315674, -0.4127289652824402, -0.01376842986792326, -0.4242627024650574, 0.20772197842597961, -0.06618781387805939, 0.49537643790245056, -0.50592440366745, 0.3034675419330597, 0.8261470198631287, -0.08935193717479706, 0.263281911611557, 0.4926462769508362, -0.5633785128593445, -0.18232108652591705, 0.6989540457725525, -0.3717866837978363, 0.4606708884239197, 0.19286508858203888, 0.13983921706676483, -0.5699182748794556, -0.7982746958732605, -0.38294970989227295, 0.20662716031074524, -0.7241800427436829, -0.33687302470207214, -0.5601021647453308, 0.08684590458869934, -0.39157477021217346, -0.09118450433015823, -0.39098799228668213, -0.4005391001701355, -0.1946883648633957, -0.5489212870597839, 0.7119878530502319, 0.585929274559021, 0.056371089071035385, 0.39402905106544495, -0.9151061177253723, 0.11740965396165848, 0.19228495657444, 0.6357090473175049, 0.08015584200620651, -0.0571490079164505, -0.5615031719207764, 0.04173322021961212, 0.08914174139499664, -0.8006518483161926, 0.25150856375694275, 0.2379201501607895, 0.5559282302856445, 0.8380175828933716, 0.5589337348937988, 0.4348217248916626, -0.07405459880828857, 0.7728196978569031, 0.24347220361232758, -0.5070188641548157, 0.7235318422317505, -0.49141499400138855, -0.24796895682811737, 0.30177175998687744, 0.8957034349441528, -0.610559344291687, 0.21503862738609314, -0.5791680812835693, -0.8698450326919556, 0.762605607509613, 0.1055976152420044, -0.29999998211860657, 0.1519269496202469, 0.2850379943847656, 0.5246726274490356, 0.16751863062381744, -0.19495803117752075, -0.09359493851661682, -0.02430814877152443, 0.20872296392917633, 0.2616572082042694, -0.19163204729557037, -0.19882500171661377, 0.0749245211482048, 0.6169627904891968, -0.216618150472641, -0.28327757120132446, 0.3323225975036621, -0.12180623412132263, -0.11819814145565033, 0.04411105066537857, -0.3399524390697479, 0.8893259167671204, -0.6752089858055115, 0.0477629117667675, 0.03724227100610733, -0.36453160643577576, -0.2936684191226959, -0.34865331649780273, 0.1390727311372757, -0.11720439046621323, 0.4728643000125885, 0.7173230051994324, -0.11917102336883545, -0.9427095055580139, 0.23339778184890747, 0.2214232236146927, 0.265912801027298, -0.22489342093467712, -0.0340246707201004, 0.09049998968839645, 0.1864597648382187, 0.5077275633811951, -0.41507992148399353, 0.20598889887332916, -0.6101334691047668, 0.21063989400863647, 0.6035322546958923, -0.6437211632728577, -0.361609548330307, 0.5289899110794067, 0.27060338854789734, -0.12937523424625397, 0.9305667281150818, -0.10940461605787277, -0.296251505613327, 0.4537949562072754, 0.7836388945579529, 0.8049461841583252, -0.11991827189922333, 0.09230663627386093, 0.36970198154449463, 0.024822909384965897, 0.7791294455528259, 0.05158120021224022, -0.17934028804302216, -0.4008864164352417, -0.4429326057434082, -0.9401072859764099, -0.3443441689014435, -0.24486394226551056, -1.1410249471664429, 0.4681609272956848, -0.2641254663467407, 0.2160646915435791, -0.3431374430656433, -0.06486284732818604, -0.4878964424133301, 0.17196743190288544, -0.46751976013183594, 1.0880076885223389, -0.619420051574707, 0.5730106234550476, 0.33379584550857544, -0.34289583563804626, 0.11634071171283722, -0.5404689311981201, -0.01202121190726757, -0.6689099073410034, 0.7176965475082397, -0.20109139382839203, -0.30996081233024597, 0.07850303500890732, -0.4221128225326538, -0.6873996257781982, 1.0922002792358398, -0.19976088404655457, -0.2160618007183075, 0.15569384396076202, 0.30721062421798706, 0.3256274163722992, -0.507366418838501, 0.15413767099380493, 0.42177635431289673, 0.22136199474334717, 0.4743499457836151, -0.6880879402160645, 0.18969742953777313, -0.0635899007320404, -0.5421958565711975, 0.3434150516986847, -0.3459213674068451, 0.4370023012161255, -0.4626740515232086, -0.26964229345321655, -0.5428751111030579, 0.9142056703567505, -0.03722279518842697, 0.6598564386367798, 0.4846968650817871, 0.6484130024909973, 0.8108421564102173, 0.38922062516212463, 0.9653894305229187, 0.1390012502670288, 0.6987190246582031, 1.0655808448791504, -0.29565584659576416, 1.0004314184188843, 0.42727503180503845, -0.3081554174423218, 0.26670920848846436, 0.9204718470573425, 0.4883458614349365, 0.638495683670044, 0.09589091688394547, -0.5650521516799927, -0.11527816951274872, -0.46899154782295227, -0.7464067339897156, 0.12257815152406693, 0.753350019454956, 0.10535111278295517, -0.4709281921386719, -0.4310198724269867, 0.05495095252990723, -0.17214109003543854, -0.42320019006729126, 0.7110942006111145, -0.05469466373324394, -0.25180351734161377, 0.4531792998313904, -0.10789170861244202, 0.2563900351524353, -0.9034791588783264, 0.10426631569862366, -0.1462567150592804, -0.04204079881310463, -0.5572869181632996, -0.6621361970901489, 0.6270042061805725, -0.16133464872837067, 0.0750102624297142, 0.00337993330322206, 0.6181584596633911, -0.15095874667167664, -0.019278505817055702, 0.4155140221118927, 0.41634422540664673, 0.2519127130508423, -0.3262193500995636, 0.0662008672952652, -0.039841048419475555, 0.20581677556037903, -0.13791026175022125, 0.592643141746521, 0.470071017742157, -0.20427878201007843, 0.5521219372749329, 1.1488906145095825, 0.06620388478040695, 0.22641389071941376, -0.5073468089103699, 0.9317049980163574, -0.7148213386535645, -0.6782122850418091, -0.6532106399536133, 0.5608878135681152, -0.5284377932548523, -0.2524760365486145, 0.5423189401626587, 0.8724707961082458, 0.7604964375495911, 0.008555881679058075, 0.4877294600009918, -0.35502442717552185, 0.5210062265396118, -0.7082398533821106, 0.7029663920402527, -0.3836221396923065, 0.37343159317970276, 0.01644333451986313, -1.1097675561904907, -0.11561959981918335, -0.010679326020181179, 0.012937822379171848, -0.5360751748085022, 0.8389304876327515, 0.7030372023582458, -0.5602265000343323, 0.5275291800498962, 0.04637586325407028, 0.28394100069999695, 0.7363092303276062, 0.2875367999076843, 0.4812026023864746, -0.2857224643230438, 0.5396515727043152, -0.016112010926008224, -0.36593279242515564, -0.4212217628955841, -0.9638701677322388, -0.8359931111335754, -0.607492983341217, -0.4530978202819824, -0.3857996165752411, 0.10074489563703537, 0.551943838596344, 0.7034898400306702, -0.9851349592208862, -0.27253738045692444, 0.0860556960105896, 0.3290138840675354, -0.15602247416973114, -0.19580337405204773, 1.0836535692214966, -0.2666902542114258, -0.41060367226600647, 0.30943045020103455, 0.30073511600494385, -0.3020287752151489, -0.24005064368247986, -0.21502724289894104, -0.0985124483704567, -0.35029131174087524, 0.7284078598022461, 0.5697266459465027, -0.41018083691596985, -0.08211171627044678, -0.19040796160697937, 0.38452306389808655, -0.19941839575767517, 0.9969296455383301, -0.8261606097221375, 0.4596918821334839, 0.7232677340507507, 0.9255563616752625, 1.1092854738235474, 0.22407306730747223, 0.26567888259887695, -0.5539848804473877, -0.22088798880577087, 0.06123143061995506, 0.17385421693325043, 0.05164982005953789, -0.6244454383850098, 0.6890391707420349, 0.33597201108932495, -0.12716583907604218, -0.9519087672233582, 0.21332846581935883, -1.0997010469436646, -0.09945378452539444, 0.7559086680412292, -0.47655361890792847, -0.11925441771745682, -0.4060899317264557, -0.19145236909389496, -0.09758694469928741, -0.31935566663742065, 0.5028449296951294, 0.45716893672943115, -0.6361591815948486, 0.22787757217884064, -0.5544164776802063, 0.29726120829582214, 0.13203781843185425, -1.118112564086914, 0.3482223153114319, 0.6640527248382568, 0.05718612298369408, 0.16393297910690308, 0.49110302329063416, -0.3930712640285492, -0.23636065423488617, 0.07970281690359116, -0.44256728887557983, -0.27815836668014526, -0.24653662741184235, 0.09507734328508377, 0.5777974724769592, -0.03718264773488045, -0.6706745624542236 ]
http://arxiv.org/abs/2403.09708v1
http://arxiv.org/pdf/2403.09708v1
Institutional-Level Monitoring of Immune Checkpoint Inhibitor IrAEs Using a Novel Natural Language Processing Algorithmic Pipeline
2024-03-09T19:18:27
2024-03-09T19:18:27
Michael Shapiro, Herut Dor, Anna Gurevich-Shapiro, Tal Etan, Ido Wolf
cs.CL
cs.CL, cs.LG
Background: Immune checkpoint inhibitors (ICIs) have revolutionized cancer treatment but can result in severe immune-related adverse events (IrAEs). Monitoring IrAEs on a large scale is essential for personalized risk profiling and assisting in treatment decisions. Methods: In this study, we conducted an analysis of clinical notes from patients who received ICIs at the Tel Aviv Sourasky Medical Center. By employing a Natural Language Processing algorithmic pipeline, we systematically identified seven common or severe IrAEs. We examined the utilization of corticosteroids, treatment discontinuation rates following IrAEs, and constructed survival curves to visualize the occurrence of adverse events during treatment. Results: Our analysis encompassed 108,280 clinical notes associated with 1,635 patients who had undergone ICI therapy. The detected incidence of IrAEs was consistent with previous reports, exhibiting substantial variation across different ICIs. Treatment with corticosteroids varied depending on the specific IrAE, ranging from 17.3% for thyroiditis to 57.4% for myocarditis. Our algorithm demonstrated high accuracy in identifying IrAEs, as indicated by an area under the curve (AUC) of 0.89 for each suspected note and F1 scores of 0.87 or higher for five out of the seven IrAEs examined at the patient level. Conclusions: This study presents a novel, large-scale monitoring approach utilizing deep neural networks for IrAEs. Our method provides accurate results, enhancing understanding of detrimental consequences experienced by ICI-treated patients. Moreover, it holds potential for monitoring other medications, enabling comprehensive post-marketing surveillance to identify susceptible populations and establish personalized drug safety profiles.
[ -0.39917856454849243, -0.436318963766098, 0.5022968649864197, -0.2257394641637802, -0.1332331895828247, 0.4483487904071808, 0.10743890702724457, -0.5411300659179688, 0.31723418831825256, 0.5478740334510803, -0.7254772782325745, -1.027740716934204, -0.7770153880119324, -0.018512330949306488, 0.06205321103334427, 1.3125704526901245, -0.03481394052505493, 0.48583540320396423, 0.4087563753128052, -0.21190637350082397, -0.2803279161453247, 0.11284221708774567, -0.8994916677474976, -0.3265673518180847, 0.7174607515335083, 0.4063519537448883, 0.12020448595285416, -0.09843547642230988, 1.0157276391983032, 0.19470052421092987, -0.031127525493502617, -0.2972052991390228, -0.43464943766593933, 0.10348296910524368, -0.07346601784229279, -0.21780823171138763, -0.47012022137641907, -0.1370341032743454, 0.5028546452522278, 0.6909854412078857, -0.1649237871170044, 0.20669697225093842, 0.003814698662608862, 0.5172857046127319, -0.5068522691726685, -0.11277689784765244, -0.5736818313598633, 0.614242672920227, -0.2845098078250885, -0.07932941615581512, -0.24320310354232788, -0.3021281659603119, 0.5020251274108887, -0.5627461075782776, 0.08584272861480713, 0.148681178689003, 0.5822111368179321, -0.14520159363746643, -0.5454739332199097, -0.5642352104187012, -0.15850067138671875, 0.6074466705322266, -0.8299402594566345, 0.038203105330467224, 0.22593672573566437, 0.35219207406044006, -0.5032214522361755, -0.5642970204353333, -0.03756757080554962, -0.2963247299194336, -0.2643640637397766, 0.3577859103679657, -0.4995540678501129, 0.39346903562545776, 0.3685348927974701, 0.2772577404975891, -0.6298050880432129, 0.575323224067688, -0.5140289664268494, -0.5515708923339844, 0.3009781241416931, 0.4893452525138855, 0.5566086769104004, -0.10552137345075607, -0.45921584963798523, 0.4259068965911865, -0.36490398645401, 0.5051978230476379, -0.2498568296432495, -0.035123951733112335, -0.14577962458133698, 0.5037172436714172, -0.5333853363990784, 0.21699978411197662, 0.07161502540111542, -0.0011460650712251663, -0.04846269264817238, -0.4582897424697876, -0.2524776756763458, 0.31331703066825867, 1.1334902048110962, 0.31429943442344666, -0.03135906904935837, -0.21595267951488495, 0.3381209075450897, -0.30600303411483765, 0.060755763202905655, -1.0619574785232544, -0.09526524692773819, 0.4643244445323944, -0.4846388101577759, -0.4502538740634918, 0.24876564741134644, -0.8781853914260864, -0.09915868192911148, 0.007479941472411156, 0.051254089921712875, -0.5278310775756836, -0.11412488669157028, -0.10798152536153793, -0.17734824120998383, 0.2314462810754776, 0.2576466202735901, -0.364177405834198, 0.4992307722568512, 0.4922296404838562, 0.9288434386253357, -0.3251330256462097, -0.08052664995193481, -0.9389013051986694, 0.39095339179039, -0.4627840220928192, 0.919248104095459, -0.39044246077537537, -0.23141026496887207, 0.08531199395656586, -0.2313915640115738, -0.5616236925125122, -0.4610878527164459, 0.6656704545021057, -0.3672480285167694, 0.15805254876613617, -0.14169101417064667, -0.4698405861854553, -0.09473153203725815, 0.24758599698543549, -0.6139311194419861, 0.42673397064208984, 0.08212350308895111, -0.6235509514808655, 0.48208826780319214, -0.8418987989425659, -0.4148622453212738, 0.3879795968532562, 0.0078705670312047, -0.7066660523414612, 0.2244415283203125, 0.10986222326755524, 0.5991802215576172, -0.2687526345252991, 0.5735703706741333, -0.32109954953193665, -0.19070270657539368, 0.15683434903621674, -0.09099588543176651, 0.6877097487449646, 0.4450209140777588, -0.6780821084976196, 0.19064070284366608, -0.7891960144042969, 0.21508708596229553, -0.3471176028251648, -0.1818186491727829, -0.030454538762569427, -0.2786823809146881, -0.20270459353923798, 0.34497958421707153, -0.22784960269927979, -0.5945863127708435, -0.13663466274738312, -0.30105528235435486, 0.2765217125415802, 0.47901973128318787, 0.5155155062675476, 0.2584470510482788, -0.14074404537677765, 0.6287963390350342, 0.4202157258987427, 0.01675841584801674, -0.13633067905902863, -0.6074091792106628, -0.42293781042099, -0.5679683089256287, -0.009906154125928879, 0.610344409942627, -0.2774890661239624, 0.6546748280525208, -0.19051702320575714, -0.2624291181564331, -0.1948963701725006, -0.24005378782749176, 0.6363276243209839, 0.4527338147163391, 0.17947249114513397, -0.3299713432788849, -0.3028738498687744, -0.9114705324172974, -0.21785292029380798, -0.1710621416568756, -0.009244988672435284, 0.10226662456989288, 0.7083873748779297, -0.3041899800300598, 0.5199499726295471, -0.37912362813949585, -0.785142719745636, -0.25812453031539917, 0.39508500695228577, -0.023137103766202927, 0.6143344640731812, 0.27459532022476196, 0.05953534319996834, -0.45315021276474, 0.46036022901535034, -0.59665447473526, -0.12287755310535431, -0.285388320684433, -0.32962554693222046, -0.1380368024110794, 0.593317985534668, -0.3239162564277649, 0.9002504348754883, 0.15591923892498016, -0.34201371669769287, 0.10374049097299576, 0.009370692074298859, 0.3626268208026886, -0.9445070028305054, 0.35795679688453674, 0.3230271637439728, 0.033353403210639954, -0.6423343420028687, -0.24578776955604553, -0.22634218633174896, -0.22592033445835114, -0.23297803103923798, 0.16042660176753998, -0.25964996218681335, 0.10610514134168625, 0.0796533077955246, -0.6055031418800354, 0.08274725079536438, 0.42346909642219543, 0.029587235301733017, 0.39085158705711365, 0.389117956161499, -0.3987045884132385, -0.17353014647960663, 0.02752843126654625, -0.7769182324409485, 0.5552294850349426, -0.40643998980522156, -0.3099660277366638, -0.093134805560112, 0.6319342255592346, -0.9523926377296448, -0.3577941060066223, 0.5752902030944824, -0.3555264174938202, 0.21649140119552612, -0.3336718678474426, 0.05170127749443054, -0.39618629217147827, -0.28616854548454285, 0.18858735263347626, -0.02250043675303459, 0.050649113953113556, 0.6879206895828247, 0.15535226464271545, -0.36941850185394287, -0.29939699172973633, -0.6843361258506775, 0.36456310749053955, -0.31730347871780396, -0.4996255934238434, 0.24416513741016388, -0.14600017666816711, -0.3402000069618225, -0.11982996016740799, 0.14598296582698822, -0.27768436074256897, 0.16425295174121857, 0.18318894505500793, -0.020208409056067467, -0.26275551319122314, -0.3126051723957062, 0.3994082808494568, 0.05084914341568947, 0.19337651133537292, -0.07474099844694138, 0.26304343342781067, -0.20305725932121277, -0.4447493851184845, -1.332861304283142, 0.678048849105835, 0.908912181854248, -0.47438952326774597, 0.7720996141433716, 0.8401836156845093, -0.7043434977531433, 0.16938796639442444, -0.4970916509628296, -0.18564806878566742, -0.29340434074401855, 0.28497299551963806, -0.19063495099544525, -0.7547881603240967, 0.9830103516578674, 0.013815497979521751, 0.010080267675220966, 0.6756985783576965, 0.4427638649940491, -0.11317270994186401, 0.9283142685890198, 0.009895207360386848, -0.19637039303779602, 0.4687613546848297, -0.4150407612323761, 0.31831854581832886, -0.9896084070205688, -0.5041823387145996, -0.5707651972770691, -0.5283696055412292, -0.46833595633506775, -0.20548968017101288, 0.7084324359893799, -0.10033641010522842, -0.506753146648407, -0.155954048037529, -0.41860753297805786, 0.339542418718338, 0.5653815865516663, 0.16084972023963928, 0.17301160097122192, 0.17141886055469513, -0.05813849717378616, -0.08723443001508713, -0.6710193157196045, -0.13840803503990173, 1.1355791091918945, 0.5061436891555786, 0.1511668711900711, 0.052045922726392746, 0.7388346791267395, 0.11099184304475784, 0.5926476716995239, -0.6858763694763184, 0.27127954363822937, -0.20773428678512573, -0.6875663995742798, -0.10484680533409119, -0.41485822200775146, -0.9111780524253845, -0.16610534489154816, -0.2200937718153, -1.0210639238357544, 0.41722697019577026, -0.16240225732326508, -0.8862751722335815, 0.3649904131889343, -1.0068891048431396, 0.9500480890274048, -0.19653934240341187, -0.21176186203956604, -0.13255822658538818, -0.5995634198188782, 0.3612244725227356, -0.04756892845034599, 0.21448557078838348, -0.14759518206119537, 0.28553861379623413, 0.5026581287384033, -0.5754125714302063, 0.9288519024848938, -0.023884564638137817, 0.27692675590515137, 0.38929903507232666, 0.0632878988981247, 0.48940664529800415, 0.6887375712394714, -0.21873457729816437, 0.6902550458908081, -0.04239819198846817, -0.4928553104400635, -0.19410763680934906, 1.0856314897537231, -0.5566104054450989, -0.2752087712287903, -0.8790566921234131, -0.2452557384967804, 0.12069544196128845, 0.47469016909599304, 0.44822070002555847, 0.656048059463501, -0.2993307113647461, 0.11846849322319031, 0.47522595524787903, -0.3129965364933014, 0.3200025260448456, 0.725145161151886, 0.7079963684082031, -0.7677444815635681, 0.6141936182975769, 0.2790052592754364, 0.12560339272022247, 0.3054710924625397, 0.19803878664970398, 0.23349303007125854, -1.0310248136520386, -0.49841731786727905, -0.16928672790527344, -0.2886519730091095, -0.3855058252811432, -0.7908221483230591, -0.1646106094121933, -0.3815635144710541, -0.15028299391269684, -0.08907576650381088, 0.08882194757461548, -0.2215227633714676, -0.242234468460083, 0.25082218647003174, 0.5813015699386597, 0.0719984695315361, 0.23961418867111206, -0.6145271062850952, 0.106634721159935, -0.1539933681488037, 0.7037228345870972, -0.11333020776510239, -0.2677473723888397, -0.35362619161605835, 0.29864102602005005, -0.1694403737783432, -0.5632621049880981, 0.3035746216773987, 0.5543317794799805, 0.5756635665893555, 0.5820834040641785, -0.09946140646934509, 0.7852218151092529, -0.28120484948158264, 0.6277220249176025, 0.3983137309551239, -0.8359084129333496, 0.7655475735664368, -0.5361281633377075, 0.7178457379341125, 0.7230610847473145, 0.2155938595533371, -0.4151952266693115, -0.621222734451294, -0.5106247067451477, -0.9286238551139832, 1.0514799356460571, 0.443705290555954, -0.44263485074043274, -0.3523334562778473, 0.5690341591835022, -0.22273531556129456, -0.0590081587433815, -0.37490785121917725, -0.16638246178627014, 0.09938620030879974, -0.4038771986961365, -0.025523055344820023, -0.20634843409061432, -0.5563650131225586, -0.11476968973875046, 0.7369362711906433, -0.12236684560775757, 0.15540330111980438, 0.4133264422416687, -0.09114544838666916, -0.37571951746940613, 0.36064767837524414, 0.6645617485046387, 0.7080564498901367, -0.36825889348983765, -0.183469757437706, 0.2902224659919739, -0.9150611162185669, -0.33837082982063293, 0.33840349316596985, -0.1349303126335144, -0.18128381669521332, 0.5314766764640808, 0.640306293964386, 0.2896336019039154, -0.8135507702827454, 0.30308520793914795, -0.3385576605796814, -0.127467542886734, -0.5781850218772888, -0.028047338128089905, -0.35067757964134216, 0.19227096438407898, 0.4073783755302429, 0.3671344220638275, 0.5529416799545288, -0.3712300956249237, 0.37024736404418945, 0.7595469355583191, -1.14058518409729, -0.3495013117790222, 0.45767277479171753, 0.017997557297348976, 0.14429503679275513, 0.6889829635620117, 0.28107306361198425, -0.16927984356880188, 1.0633941888809204, 0.07732018083333969, 0.7935121655464172, -0.0906190276145935, 0.45120593905448914, 0.6590542197227478, 0.28053316473960876, 0.33886414766311646, -0.10946314036846161, 0.36014801263809204, -0.36933252215385437, -0.3533358573913574, -0.3759196400642395, -0.1835203617811203, 0.0826747789978981, -1.0521479845046997, 0.1028982549905777, -0.8859648108482361, -0.07836694270372391, 0.44142889976501465, 0.32780006527900696, -0.5533257126808167, 0.3896208703517914, 0.3206198215484619, 0.6872698664665222, -0.6044942140579224, 0.5688520669937134, 0.820601761341095, -0.33586737513542175, -0.7081478238105774, -0.08738653361797333, 0.21562479436397552, -0.5106210708618164, 0.4792589545249939, 0.48277151584625244, -0.03540725260972977, -0.010514210909605026, -0.25344693660736084, -0.8318028450012207, 1.525851845741272, 0.21946030855178833, -0.582786500453949, 0.5494222640991211, 0.23805320262908936, 0.8890367150306702, -0.4996519982814789, 0.4395623803138733, 0.7683377265930176, 0.1427961140871048, 0.18819913268089294, -0.6248807311058044, -0.3271530866622925, -0.29937583208084106, -0.5183612108230591, 0.5010004639625549, -0.5355463027954102, 0.09894808381795883, -0.2933197021484375, -0.15166671574115753, 0.1727624237537384, 0.2120468020439148, 0.004473261535167694, 1.1919584274291992, 0.12842649221420288, 1.0708812475204468, 0.7644923329353333, -0.34834352135658264, 0.9272335171699524, -0.3811299204826355, -0.1849050372838974, 0.554831862449646, -0.25414466857910156, 0.5413329601287842, 0.40752503275871277, 0.0033494203817099333, 0.5567872524261475, 0.3870665431022644, 0.33518198132514954, 0.38050657510757446, 0.20227636396884918, -0.6867557764053345, -0.1863023191690445, -0.2751767337322235, -0.319637656211853, 0.03182176500558853, 0.3894980847835541, -0.47112807631492615, -0.1309080272912979, 0.3603326678276062, 0.16879607737064362, -0.26043352484703064, -0.39566659927368164, 1.190720796585083, -0.10152090340852737, -0.8851972222328186, 0.3488505482673645, -0.26478123664855957, 0.16628994047641754, -0.7846441268920898, 0.045390550047159195, -0.36638811230659485, 0.4292537271976471, -0.4723193645477295, -0.7009724378585815, 0.23639167845249176, 0.10031504929065704, -0.3052215278148651, 0.08297893404960632, 0.17301765084266663, -0.07306819409132004, -0.6822684407234192, 0.24682633578777313, 0.11265702545642853, -0.11476238071918488, 0.0793817862868309, -0.8206086754798889, 0.1764707863330841, 0.22880229353904724, -0.3024713099002838, 0.6340964436531067, 0.48737427592277527, -0.40727490186691284, 0.6637033224105835, 0.588672399520874, -0.02109157107770443, 0.10172951221466064, 0.20801621675491333, 0.8509272933006287, -0.55547696352005, -0.17289794981479645, -0.493674099445343, 0.6288357973098755, -0.1456531137228012, -0.7739886045455933, 0.4129212498664856, 0.7825223207473755, 0.5092325210571289, 0.3674643039703369, 0.6272032260894775, 0.1408616453409195, 0.45077890157699585, -0.46497461199760437, 0.8260033130645752, -0.08408292382955551, 0.7706955075263977, -0.1654689759016037, -0.48444733023643494, -0.8433200120925903, 0.2061416208744049, -0.6868321895599365, -0.4562784731388092, 0.5742097496986389, 0.5909858345985413, 0.12429583072662354, -0.022102003917098045, -0.18258200585842133, 0.325760155916214, 0.7320989370346069, 0.590036153793335, 0.4731975793838501, -0.5297874808311462, 0.49939292669296265, -0.46762678027153015, -0.38264355063438416, 0.03664209693670273, -0.47897329926490784, -0.8913208246231079, -0.14217568933963776, -0.7512114644050598, -0.2822163999080658, 0.3475150167942047, 0.9495155215263367, 0.466561496257782, -1.3550218343734741, -0.02950792759656906, -0.25478458404541016, 0.12018027156591415, -0.2702842354774475, -0.09678233414888382, 0.5858883261680603, -0.2406090646982193, -0.6183805465698242, 0.33794575929641724, 0.6617603302001953, 0.008555572479963303, 0.05536776781082153, -0.03929121792316437, -0.21590808033943176, -0.502945601940155, 0.4703110158443451, 0.43560150265693665, -0.5744040608406067, 0.0858282521367073, -0.12846742570400238, -0.3436506390571594, -0.17212969064712524, 0.929531991481781, -0.44995513558387756, 0.605738639831543, 0.3583559989929199, 0.38088488578796387, 0.23546965420246124, -0.2881101667881012, 0.6163938641548157, 0.009041422978043556, -0.11626406759023666, 0.5757647752761841, 0.3563734292984009, -0.2162974774837494, -0.40276360511779785, -0.0274508073925972, 0.009824218228459358, -0.4120306968688965, -0.7346441149711609, -0.01508730836212635, -0.9733914732933044, 0.03553904965519905, 0.8652052879333496, -0.43403124809265137, -0.1417945921421051, -0.26293134689331055, -0.275816410779953, -0.1860843151807785, -0.6072587966918945, 0.7142008543014526, 0.4616885483264923, -0.09885750710964203, -0.21910572052001953, -0.6495736241340637, 0.574699342250824, 0.342841774225235, -0.7185684442520142, -0.5556339025497437, 0.46025073528289795, 0.20926985144615173, -0.3176272213459015, 0.5327457189559937, -0.2863689959049225, 0.4985164701938629, -0.7275250554084778, 0.0427769236266613, 0.19319088757038116, 0.05026054009795189, -0.4389346241950989, 0.18539197742938995, -0.26584506034851074, -0.03899908810853958 ]
http://arxiv.org/abs/2403.05982v1
http://arxiv.org/pdf/2403.05982v1
Enhanced Auto Language Prediction with Dictionary Capsule -- A Novel Approach
2024-03-09T18:43:48
2024-03-09T18:43:48
Pinni Venkata Abhiram, Ananya Rathore, Abhir Mirikar, Hari Krishna S, Sheena Christabel Pravin, Vishwanath Kamath Pethri, Manjunath Lokanath Belgod, Reetika Gupta, K Muthukumaran
cs.CL
cs.CL
The paper presents a novel Auto Language Prediction Dictionary Capsule (ALPDC) framework for language prediction and machine translation. The model uses a combination of neural networks and symbolic representations to predict the language of a given input text and then translate it to a target language using pre-built dictionaries. This research work also aims to translate the text of various languages to its literal meaning in English. The proposed model achieves state-of-the-art results on several benchmark datasets and significantly improves translation accuracy compared to existing methods. The results show the potential of the proposed method for practical use in multilingual communication and natural language processing tasks.
[ -0.3609788119792938, -0.6059383749961853, 0.27270326018333435, 0.18653614819049835, -0.2220451980829239, 0.28865206241607666, -0.06432919949293137, -0.598293125629425, 0.41506484150886536, 0.049402158707380295, -0.37558069825172424, -0.26153016090393066, -0.9120468497276306, 0.46191713213920593, -0.5302662253379822, 0.7031635046005249, -0.21538102626800537, 0.20531676709651947, 0.1709413230419159, -0.10549670457839966, -0.5334958434104919, -0.4973417818546295, -0.6804913282394409, -0.06718701124191284, 0.3056313395500183, 0.07175958156585693, 0.9383082985877991, 0.8374072909355164, 0.4025310277938843, 0.321066290140152, 0.2599745988845825, 0.34383147954940796, 0.24796055257320404, -0.08583616465330124, 0.22834302484989166, -0.373352587223053, -0.6272442936897278, 0.021156882867217064, 0.5551336407661438, 0.8526989817619324, -0.3956856429576874, -0.3425231873989105, 0.2815713882446289, 0.3943367004394531, -0.6133176684379578, 0.49942344427108765, -0.7805890440940857, 0.22163984179496765, -0.11997263133525848, 0.0056111570447683334, -0.29011011123657227, -0.17693203687667847, -0.2331075817346573, -0.6598690152168274, -0.16915956139564514, 0.20394781231880188, 0.3666195571422577, 0.12390989810228348, -0.669977605342865, -0.5771477818489075, -0.4681054651737213, 0.6318694949150085, -0.7195084691047668, 0.5353847742080688, 0.587426483631134, 0.5455885529518127, -0.13286490738391876, -0.7395163774490356, -0.9676477909088135, -0.3098304569721222, -0.13645008206367493, 0.12203436344861984, 0.04437191039323807, 0.26174139976501465, -0.3282013535499573, 0.40110450983047485, -0.4629341959953308, 0.001492052455432713, -0.38534313440322876, -0.04852903261780739, 0.270799845457077, 0.32832345366477966, 0.5312925577163696, -0.315071702003479, -0.11578632891178131, 0.0340900793671608, -0.30504506826400757, -0.053489916026592255, 0.16068832576274872, 0.47112157940864563, -0.22903962433338165, 0.4619112014770508, -0.31998223066329956, 0.8305874466896057, -0.07562335580587387, 0.04895256832242012, 0.4273860454559326, -0.36912912130355835, -0.2449629008769989, 0.24709025025367737, 0.9209856986999512, 0.24875667691230774, 0.3650689721107483, -0.22072680294513702, -0.2759288251399994, 0.055687204003334045, 0.028994213789701462, -0.5173740386962891, -0.24952365458011627, 0.23126745223999023, -0.47703301906585693, -0.5352075695991516, -0.02175791561603546, -0.6155139803886414, -0.14818978309631348, -0.31938880681991577, -0.012239948846399784, -0.5011526942253113, -0.16672198474407196, 0.1421922743320465, 0.3363095819950104, -0.15340279042720795, 0.18031080067157745, -1.0355544090270996, 0.5126429200172424, 0.43872103095054626, 1.0224555730819702, -0.5065514445304871, -0.545968234539032, -0.31547603011131287, 0.4087074100971222, -0.7500532269477844, 0.7916784882545471, -0.35432276129722595, -0.24181167781352997, 0.3964027166366577, 0.03727876767516136, 0.13108041882514954, -0.3077569603919983, 0.5261788368225098, -0.21196632087230682, 0.12992733716964722, -0.07463223487138748, -0.20108318328857422, 0.04045914486050606, 0.2833010256290436, -1.0225834846496582, 0.902749240398407, -0.1304992437362671, -0.5742579698562622, 0.4699335992336273, -0.49620404839515686, -0.8504617214202881, 0.2095356285572052, -0.20685723423957825, -0.04530154913663864, 0.008658016100525856, 0.5269160866737366, 0.5868515372276306, -0.3512461185455322, 0.5457909107208252, -0.1783822923898697, 0.05185895785689354, 0.34037336707115173, -0.5663992762565613, 0.68187016248703, 0.6182292699813843, -0.224456787109375, -0.10770104080438614, -0.7678029537200928, -0.016058726236224174, -0.16166472434997559, -0.3597554564476013, -0.24977503716945648, 0.0718979611992836, 0.20932860672473907, 0.5521190166473389, 0.40894240140914917, -0.25916001200675964, 0.3298954665660858, -0.6553348302841187, 0.4775446057319641, 0.8264599442481995, -0.4493001699447632, 0.8391337394714355, 0.07280895113945007, 0.6330787539482117, -0.043355539441108704, 0.2331571727991104, -0.14123959839344025, -0.6948318481445312, -0.5307765603065491, -0.23199036717414856, 0.33541762828826904, 0.6952154636383057, -0.87273108959198, 0.828879714012146, -0.2318674623966217, -0.24321943521499634, -0.5966376066207886, 0.21437539160251617, 0.19321084022521973, 0.4425906836986542, 0.530463457107544, -0.3831064999103546, -0.745865523815155, -0.8817964196205139, -0.28833627700805664, -0.4125548303127289, 0.22173680365085602, -0.012634209357202053, 0.3214748203754425, -0.28687694668769836, 0.5952785015106201, -0.34363773465156555, -0.561083972454071, -0.5821678042411804, 0.3216930031776428, 0.36141619086265564, 0.48871445655822754, 0.4418788552284241, -0.646784245967865, -0.855175256729126, 0.10217741131782532, -0.5770570635795593, -0.040715884417295456, -0.10082242637872696, -0.13740061223506927, 0.43054962158203125, 0.5842295289039612, -0.7527039647102356, 0.5354049801826477, 0.6645349264144897, -0.3408460319042206, 0.37852466106414795, -0.3949960470199585, 0.40069109201431274, -1.325049877166748, 0.12916509807109833, -0.3721947968006134, -0.1818072497844696, -0.5974432229995728, -0.10516224801540375, 0.3961648941040039, -0.014745816588401794, -0.3703305423259735, 0.6288174390792847, -0.3428884446620941, 0.28347647190093994, -0.33111605048179626, -0.24781116843223572, -0.10743626952171326, 0.11910072714090347, 0.13817600905895233, 0.7497361898422241, 0.47106683254241943, -0.42144644260406494, 0.6279471516609192, 0.2230207324028015, -0.6263746619224548, 0.22349807620048523, -0.5308920741081238, -0.04682937636971474, -0.03200915455818176, 0.23966671526432037, -1.1839368343353271, -0.022238362580537796, 0.08018884807825089, -0.6522712707519531, 0.42268824577331543, 0.46682941913604736, -0.7407277226448059, -0.44039055705070496, 0.023088833317160606, 0.40692567825317383, 0.22208671271800995, -0.37178197503089905, 0.6769224405288696, 0.38187211751937866, -0.2038806527853012, -0.5012823343276978, -1.1836028099060059, 0.49404269456863403, 0.21682609617710114, -0.24760283529758453, 0.42215803265571594, -0.2892443835735321, -0.1157868430018425, -0.152467280626297, 0.31145381927490234, -0.30495792627334595, 0.019857697188854218, 0.018757525831460953, 0.4081145226955414, 0.2162240445613861, 0.16228404641151428, 0.3123524785041809, -0.03383165970444679, -0.07397711277008057, -0.3278871178627014, 0.7134442329406738, 0.0007415565196424723, 0.06837671995162964, -0.4005153477191925, 0.7522069215774536, 0.49144530296325684, -0.3643629550933838, 1.181779146194458, 0.33625590801239014, -0.6951544284820557, -0.20829689502716064, -0.4474480450153351, -0.1437232941389084, -0.4885469079017639, 0.6513494849205017, -0.4923153221607208, -0.0647367313504219, 0.5138616561889648, 0.2219725102186203, -0.2753880023956299, 0.37009498476982117, 0.6509223580360413, -0.15288802981376648, 1.3577724695205688, 0.6611025333404541, -0.5970187187194824, 0.27333590388298035, -0.1373557597398758, 0.41905373334884644, -0.26984304189682007, -0.31929004192352295, -0.4903070032596588, -0.11952053755521774, -0.3232552707195282, -0.3849067687988281, 0.15561965107917786, 0.05732177570462227, -0.017481515184044838, 0.6687096953392029, -0.4369962215423584, 0.14677724242210388, 0.3765923082828522, -0.3200570046901703, 0.3760222792625427, 0.08982399851083755, -0.7222573757171631, -0.05966630205512047, -0.5798899531364441, -0.10231959819793701, 1.2865443229675293, 0.2672196626663208, 0.34816670417785645, -0.06255999952554703, 0.38180363178253174, 0.3528434634208679, 0.14723679423332214, -0.8692240118980408, 0.43622642755508423, -0.22107769548892975, -0.6910923719406128, -0.06747686862945557, -0.25942984223365784, -0.6533701419830322, -0.23453757166862488, -0.2759002149105072, -0.35361045598983765, 0.1931222826242447, 0.0499664843082428, -0.24410632252693176, 0.18298156559467316, -0.5019420385360718, 0.6962320804595947, -0.5002186298370361, 0.00426149507984519, -0.321283221244812, -0.49247679114341736, -0.11321955919265747, -0.27982452511787415, 0.6019976735115051, 0.17715007066726685, -0.32815536856651306, 0.6881927847862244, -0.35697799921035767, 0.5763581991195679, 0.024233024567365646, -0.171100452542305, 0.06066729128360748, 0.3669053018093109, 0.6951377987861633, -0.08589338511228561, -0.24475784599781036, 0.4059167206287384, -0.03261411562561989, -0.3254394829273224, -0.5554695725440979, 0.7456607818603516, -0.7385210990905762, -0.1641332060098648, -0.6420310735702515, -0.7802618145942688, -0.19705484807491302, 0.390849769115448, 0.19276991486549377, 0.24266430735588074, -0.29637235403060913, -0.1298125833272934, 0.032574012875556946, -0.2838935852050781, 0.6541166305541992, 0.5900861024856567, -0.16822980344295502, -0.8665881752967834, 0.3834438920021057, 0.30942460894584656, 0.1398693323135376, 0.6378255486488342, -0.15297523140907288, -0.4533698260784149, -0.5841115117073059, -0.4630054235458374, 0.12716253101825714, -0.8402698636054993, -0.3354741930961609, -0.6821593046188354, 0.01888413168489933, -1.167227864265442, -0.24312813580036163, -0.49366137385368347, -0.560973584651947, -0.10712987929582596, -0.332694947719574, 0.06217255815863609, 0.6741345524787903, 0.006995443720370531, 0.19261138141155243, -0.4722933769226074, 0.49051034450531006, 0.09913578629493713, 0.23947708308696747, -0.3923327326774597, -0.4169715642929077, -0.5127806663513184, 0.018678266555070877, -0.20235608518123627, -1.0421991348266602, 1.0657873153686523, 0.49444010853767395, 0.6142226457595825, 0.34177640080451965, -0.11925816535949707, 0.6808789968490601, -0.8973855972290039, 0.6550494432449341, 0.5236114859580994, -0.9746332168579102, 0.598177433013916, -0.07332456111907959, 0.33581751585006714, 0.5029476284980774, 0.47378867864608765, -0.68675297498703, -0.14999625086784363, -0.16461493074893951, -0.6943507790565491, 0.32887229323387146, 0.04989996552467346, -0.002333825221285224, -0.3634980320930481, 0.3958507180213928, 0.028609272092580795, 0.4954540431499481, -0.7131014466285706, -0.4535292983055115, -0.32393091917037964, -0.7047752737998962, -0.41226378083229065, -0.1367853432893753, 0.34404751658439636, -0.6874133944511414, 0.5731084942817688, -0.35940587520599365, 0.4446139335632324, 0.00804757047444582, 0.07377934455871582, -0.31451353430747986, -0.04542932286858559, 0.17148011922836304, 0.48344677686691284, -0.05768248811364174, 0.209417924284935, 0.39802712202072144, -0.5351195335388184, 0.07964931428432465, 0.3207842707633972, 0.1940261721611023, -0.018537716940045357, 0.3470473289489746, 0.5284267663955688, -0.20090466737747192, -0.6513785123825073, 0.5189498662948608, -0.01986992172896862, 0.042197927832603455, -0.6437022686004639, -0.484213262796402, -0.05031420290470123, -0.18373890221118927, 0.41758525371551514, 0.31205931305885315, 0.4961862862110138, -0.7646054029464722, 0.23516187071800232, 0.5401903986930847, -0.3849165141582489, -0.33965638279914856, 0.7909563183784485, 0.1850508749485016, -0.08259415626525879, 0.48052966594696045, -0.15826940536499023, -0.6199427843093872, 0.6399080753326416, 0.6324142217636108, 0.8863856792449951, -0.8544774055480957, 0.07771100103855133, 0.36194631457328796, 0.5392157435417175, -0.01652480475604534, 0.19415171444416046, -0.011607810854911804, -0.7958976626396179, -0.5196077823638916, -0.6572363972663879, 0.05104156211018562, 0.08425254374742508, -0.2792690694332123, 0.6165140867233276, -0.45214980840682983, 0.09278937429189682, -0.37254688143730164, 0.17006425559520721, -0.634082019329071, 0.3342307507991791, 0.2957736551761627, 1.1138209104537964, -0.9343969225883484, 1.7254576683044434, 0.5914711952209473, -0.3886609673500061, -0.8526986241340637, -0.1887243390083313, -0.16309574246406555, -0.8626611232757568, 0.9024397134780884, 0.12604208290576935, 0.05454730987548828, -0.14621040225028992, -0.05817814916372299, -0.8291338086128235, 0.9761094450950623, 0.40390413999557495, -0.6483458876609802, -0.3051394522190094, 0.8549571633338928, 0.4077596962451935, -0.49263623356819153, 0.37684229016304016, 0.5024443864822388, 0.3959433436393738, -0.16488663852214813, -1.3151246309280396, 0.04396597668528557, -0.6325130462646484, 0.15130168199539185, -0.012017186731100082, -0.13186956942081451, 1.0976371765136719, 0.17478986084461212, -0.0006850557983852923, 0.1864566057920456, 0.9267605543136597, -0.11763402819633484, -0.0020008389838039875, 0.44085463881492615, 0.46309760212898254, 0.4498939514160156, 0.23941951990127563, 1.142675518989563, -0.8359929919242859, 0.22647954523563385, 0.948447048664093, -0.06679890304803848, 0.9259331822395325, 0.732987105846405, -0.26136213541030884, 0.44843438267707825, 0.37265071272850037, 0.27688857913017273, 0.9882195591926575, -0.13149423897266388, -0.3277692198753357, -0.05905080959200859, -0.025611653923988342, -0.35561710596084595, 0.37510183453559875, 0.5186100006103516, -0.6712056994438171, 0.15468350052833557, 0.24454006552696228, -0.1655026078224182, 0.20641766488552094, -0.2628358006477356, 0.5257786512374878, 0.11566347628831863, -0.7932129502296448, 0.7239564061164856, 0.26317915320396423, 0.8947077989578247, -0.5636765956878662, -0.21618463099002838, -0.17285704612731934, 0.44521504640579224, -0.04454139992594719, -0.47432681918144226, 0.43898773193359375, -0.4527025520801544, 0.13719677925109863, -0.3719126582145691, 0.8012445569038391, -0.5849173069000244, -0.714169442653656, 0.5329526662826538, 0.38008660078048706, -0.13341942429542542, -0.10439085960388184, -0.9894647598266602, -0.0859924703836441, -0.15311633050441742, 0.033430006355047226, 0.13319893181324005, 0.42741167545318604, 0.31555864214897156, 0.8148312568664551, 0.41784271597862244, 0.6020934581756592, 0.24430149793624878, -0.346431165933609, 0.6517435312271118, -0.257750928401947, -0.9097851514816284, -0.7405709028244019, 0.304392009973526, 0.09451697766780853, -0.11829712241888046, 0.5896092653274536, 0.7498836517333984, 0.678743839263916, -0.13765370845794678, 1.1140742301940918, -0.16657952964305878, 0.5198382139205933, -0.3861846625804901, 0.9473375082015991, -0.48097971081733704, 0.2511886954307556, -0.25607311725616455, -0.7932794690132141, -0.37591034173965454, 0.8995630145072937, -0.20857836306095123, -0.013867486268281937, 0.9935389757156372, 0.7841472625732422, -0.11054952442646027, -0.1374308168888092, 0.3832181692123413, 0.23042036592960358, 0.3521232008934021, 0.5905401110649109, 0.4087039530277252, -0.630104124546051, 0.5649322867393494, -0.6575501561164856, -0.3048988878726959, 0.07889608293771744, -0.9504791498184204, -0.829676628112793, -1.0547493696212769, -0.0866393893957138, -0.4195863604545593, 0.2129419445991516, 1.0676757097244263, 0.5464475750923157, -1.1702769994735718, -0.45611947774887085, -0.6856452226638794, -0.3777618408203125, -0.33113259077072144, -0.18965508043766022, 0.41979917883872986, -0.46378910541534424, -1.1137059926986694, 0.5130754709243774, -0.008249664679169655, -0.05552290007472038, -0.4128694236278534, -0.38536185026168823, -0.3468586504459381, 0.018280740827322006, 0.43560972809791565, -0.06153659150004387, -0.5787389278411865, -0.05619537830352783, -0.07718554139137268, -0.22301657497882843, -0.027994757518172264, 0.7762796878814697, -1.0508311986923218, 0.5064408779144287, 0.4034276604652405, 0.4273207485675812, 0.026908520609140396, -0.6623253226280212, 0.948946475982666, -0.5344687104225159, 0.6146405935287476, 0.2401830106973648, 0.6324036717414856, 0.17891445755958557, -0.4628797471523285, 0.11618584394454956, 0.2085370272397995, -0.26870983839035034, -0.6088100075721741, 0.10079746693372726, -0.7395652532577515, -0.47802045941352844, 1.0582953691482544, -0.07242728769779205, -0.23242495954036713, -0.2392762303352356, -0.16623465716838837, 0.5182173252105713, -0.5346037745475769, 0.9825699925422668, 0.5748514533042908, 0.2957991659641266, -0.29369857907295227, -0.7508262991905212, 0.5606254935264587, 0.412406861782074, -0.7217398881912231, -0.01084888819605112, 0.1665661782026291, -0.03981533274054527, 0.11328953504562378, 0.6020589470863342, -0.22034117579460144, 0.0912981703877449, -0.3482678234577179, 0.3318222165107727, -0.041730623692274094, -0.4192889630794525, -0.22823534905910492, 0.12330204248428345, 0.10988450795412064, -0.09866442531347275 ]
http://arxiv.org/abs/2403.05975v1
http://arxiv.org/pdf/2403.05975v1
Measuring Bias in a Ranked List using Term-based Representations
2024-03-09T18:24:58
2024-03-09T18:24:58
Amin Abolghasemi, Leif Azzopardi, Arian Askari, Maarten de Rijke, Suzan Verberne
cs.CL
cs.CL
In most recent studies, gender bias in document ranking is evaluated with the NFaiRR metric, which measures bias in a ranked list based on an aggregation over the unbiasedness scores of each ranked document. This perspective in measuring the bias of a ranked list has a key limitation: individual documents of a ranked list might be biased while the ranked list as a whole balances the groups' representations. To address this issue, we propose a novel metric called TExFAIR (term exposure-based fairness), which is based on two new extensions to a generic fairness evaluation framework, attention-weighted ranking fairness (AWRF). TExFAIR assesses fairness based on the term-based representation of groups in a ranked list: (i) an explicit definition of associating documents to groups based on probabilistic term-level associations, and (ii) a rank-biased discounting factor (RBDF) for counting non-representative documents towards the measurement of the fairness of a ranked list. We assess TExFAIR on the task of measuring gender bias in passage ranking, and study the relationship between TExFAIR and NFaiRR. Our experiments show that there is no strong correlation between TExFAIR and NFaiRR, which indicates that TExFAIR measures a different dimension of fairness than NFaiRR. With TExFAIR, we extend the AWRF framework to allow for the evaluation of fairness in settings with term-based representations of groups in documents in a ranked list.
[ -0.5049816370010376, -0.44575467705726624, 0.5305486917495728, 0.0720859169960022, 0.21221794188022614, 0.27627816796302795, 0.38092222809791565, -0.22222687304019928, 0.059675589203834534, 0.4978744089603424, -0.3811820447444916, -0.254454106092453, -0.8920552134513855, 0.23681797087192535, -0.5983586311340332, 1.441044807434082, 0.17215560376644135, 0.1589263677597046, -0.6285814642906189, -0.49069079756736755, -0.34210896492004395, -0.6064245700836182, -0.44484812021255493, -0.4880402386188507, 0.45989614725112915, 0.17431150376796722, 0.8287423849105835, 0.4022681713104248, 0.8019245266914368, 0.29196715354919434, -0.16615155339241028, -0.24277235567569733, -0.4051087200641632, -0.20806506276130676, -0.3187205195426941, -0.5585340261459351, -0.5670414566993713, 0.35175853967666626, 1.0849794149398804, 0.8177614808082581, -0.22063307464122772, 0.3562428951263428, -0.037823740392923355, 0.8152790069580078, -0.7026208639144897, -0.14158383011817932, -0.2311154305934906, 0.4161844849586487, -0.06576545536518097, -0.199098140001297, -0.2548462748527527, -0.5346575379371643, 0.16881904006004333, -0.44723328948020935, 0.5940966606140137, 0.38601937890052795, 0.651003897190094, 0.1869155764579773, -0.6798761487007141, -0.16401059925556183, -0.6161774396896362, 0.9119399785995483, -0.3839219808578491, 0.6810558438301086, 0.20149782299995422, 0.44122612476348877, -0.10277123004198074, -0.44431668519973755, -0.42953264713287354, -0.26772648096084595, -0.22232213616371155, 0.162117600440979, -0.2809319794178009, -0.0740850418806076, 0.458614706993103, 0.44238635897636414, -0.3246270418167114, -0.3880588412284851, -0.11821607500314713, -0.22044184803962708, 0.6004148125648499, -0.04321105778217316, 0.21138837933540344, -0.06232457235455513, -0.6008796691894531, -0.06974095851182938, -0.047849420458078384, 0.07746552675962448, 0.6362399458885193, 0.16032396256923676, -0.11026708781719208, 0.4094946086406708, 0.03601469472050667, 0.40055879950523376, 0.3268793821334839, -0.12060683965682983, 0.31345444917678833, -0.16791799664497375, -0.032319698482751846, 0.11262337118387222, 0.48179060220718384, 0.7513039708137512, -0.0029250707011669874, -0.5371768474578857, -0.43850433826446533, -0.12291507422924042, 0.15653268992900848, -0.8571083545684814, 0.3592088520526886, -0.05897308886051178, -0.6318498849868774, -0.43278542160987854, 0.43554437160491943, -1.01752507686615, -0.6114407777786255, 0.2107202261686325, 0.5902005434036255, -0.013260544277727604, -0.28112950921058655, -0.2367171049118042, -0.5758716464042664, 0.29216113686561584, 0.15216344594955444, -0.6820305585861206, 0.7239533066749573, 0.813850462436676, 0.856149435043335, -0.2180246114730835, -0.11560752242803574, -1.0480104684829712, 0.06318573653697968, -0.21495871245861053, 0.9524708986282349, -0.8338975310325623, -0.5500510334968567, -0.1722017526626587, -0.12596850097179413, 0.006512065418064594, -0.3733448386192322, 0.6327545642852783, -0.3088766932487488, 0.5533851981163025, -0.3714260458946228, -0.6062807440757751, 0.011945270001888275, 0.15709486603736877, -0.8488430976867676, 1.0881643295288086, 0.4113076627254486, -1.034504771232605, 0.7414330244064331, -0.883897602558136, -0.24566775560379028, -0.23921671509742737, -0.3561551570892334, -0.349586546421051, -0.09355788677930832, 0.13684894144535065, -0.20524179935455322, -0.3206392228603363, 0.3611103892326355, -0.27085891366004944, -0.6200070381164551, 0.4845351278781891, -0.1018192246556282, 0.36306867003440857, 0.05233006924390793, -0.5113732218742371, -0.010655632242560387, -0.2883545458316803, -0.22159072756767273, -0.2880147397518158, -0.2178572118282318, -0.4209057688713074, -0.13915704190731049, 0.353245347738266, 0.3708959221839905, -0.008149240165948868, -0.7247081995010376, -0.24576899409294128, -0.3340470790863037, -0.07659932225942612, 1.1106083393096924, -0.23736800253391266, 0.963325560092926, -0.6838895082473755, 0.7121797204017639, -0.16334113478660583, 0.17936784029006958, 0.47421351075172424, -0.3408074975013733, -0.5336136221885681, 0.0735045000910759, 0.6662973761558533, 0.21387159824371338, -0.27245599031448364, 0.27350732684135437, -0.46133729815483093, -0.17449899017810822, -0.3506866991519928, -0.24197009205818176, 0.48566004633903503, 0.5494553446769714, 0.060551878064870834, -0.6078667640686035, -0.08042752742767334, -0.9214383363723755, -0.5361128449440002, -0.10195232182741165, 0.08755990117788315, 0.44340285658836365, 0.6219190955162048, -0.033770959824323654, 1.1245226860046387, -0.5148884654045105, -0.8329415917396545, -0.07600384950637817, 0.3731095790863037, 0.11000104248523712, 0.3620661199092865, 0.6739702224731445, -0.7310059070587158, -0.06095847859978676, -0.3104403614997864, -0.30287545919418335, -0.3703852593898773, 0.19255216419696808, -0.5433458089828491, 0.6156537532806396, 0.3214901089668274, 0.08272046595811844, 0.332292377948761, 0.2849508225917816, -1.060880184173584, 0.09276064485311508, 0.03220883011817932, 0.3761565387248993, -0.727080225944519, 0.37970370054244995, 0.14144191145896912, -0.3100546896457672, -0.3869072496891022, 0.10217529535293579, -0.16984345018863678, 0.11607756465673447, -0.2560286223888397, 0.9477449655532837, -0.14894694089889526, -0.4947878420352936, -0.30980539321899414, 0.12327638268470764, 0.2432197779417038, 0.30548524856567383, 0.048087649047374725, 0.7199486494064331, -0.030142346397042274, -0.26819801330566406, -0.4225637912750244, 0.3525408208370209, 0.05537721514701843, 0.9212910532951355, -0.2147579789161682, 0.24713067710399628, -0.4818641245365143, 0.6315298676490784, -0.8104432225227356, 0.3367682099342346, 0.14501577615737915, -0.5864627361297607, -0.06950106471776962, -0.309321790933609, -0.22413697838783264, -0.22197601199150085, -0.5811408162117004, 0.31740519404411316, 0.2785828709602356, -0.29129934310913086, 0.8166943192481995, 0.40858009457588196, 0.18358321487903595, -1.1342662572860718, -0.6688985228538513, -0.32534217834472656, -0.29036474227905273, -0.27052804827690125, 0.6356750726699829, -0.23942027986049652, -0.3588448464870453, 0.24925680458545685, -0.8618873953819275, -0.03854595497250557, 0.023225272074341774, 0.48282262682914734, 0.0989953801035881, 0.04823697730898857, -0.0008276175940409303, -0.0442579984664917, -0.20781932771205902, 0.17598655819892883, 0.08000960201025009, 0.3786146640777588, -0.17848138511180878, -0.16583184897899628, 0.11657916009426117, 0.6265830993652344, 0.4748261570930481, -0.321075439453125, 0.6971938014030457, 0.7869202494621277, -0.39538800716400146, -0.17744110524654388, -0.837223470211029, -0.22290612757205963, -0.423993855714798, 0.028702301904559135, -0.15191303193569183, -1.0481387376785278, 0.6313795447349548, 0.30874308943748474, 0.08254000544548035, 0.6034286022186279, -0.09539486467838287, 0.0484420470893383, 1.149620532989502, 1.0351461172103882, -0.22336381673812866, 0.38011860847473145, -0.17451731860637665, -0.0288557019084692, -0.8028606176376343, -0.27639877796173096, -0.8489205241203308, -0.6623048782348633, -0.9080392122268677, -0.3533981144428253, 0.18286332488059998, -0.1315160095691681, -0.6105958223342896, -0.47962242364883423, -0.5049027800559998, 0.4811685383319855, 0.6635540723800659, -0.030425041913986206, 0.35672852396965027, 0.10816758871078491, -0.32057997584342957, -0.000489288882818073, -0.37138602137565613, -0.5681743621826172, 1.2951451539993286, 0.2945139706134796, 0.4641088843345642, 0.3997906744480133, 0.7763893604278564, 0.9654032588005066, 0.48392453789711, -0.6420435309410095, 0.5352771878242493, -0.4228765666484833, -0.631443202495575, -0.27417728304862976, -0.5907856822013855, -0.658822238445282, 0.13236089050769806, -0.12169583886861801, -0.5721431374549866, 0.42241060733795166, -0.3063223958015442, -0.17127494513988495, 0.2494252771139145, -0.335750013589859, 0.6081562042236328, -0.1352260708808899, -0.37355566024780273, -0.09308435022830963, -0.32331913709640503, 0.16506296396255493, -0.10430517047643661, 0.50014728307724, -0.3115581274032593, -0.17818574607372284, 1.2644188404083252, -0.4873436987400055, 0.19400359690189362, -0.525719165802002, 0.019125081598758698, -0.3204161822795868, 0.026053626090288162, 0.08574824035167694, 0.17012517154216766, -0.5135577917098999, 0.3411485254764557, -0.03701329603791237, -0.24640929698944092, -0.5145506262779236, 0.5797381401062012, -0.6665717959403992, -0.5842175483703613, -1.2197461128234863, -0.5604313611984253, -0.10489121079444885, 0.3611147105693817, -0.1302911341190338, 0.28329914808273315, -0.3710172176361084, 0.0008465246646665037, 0.35850656032562256, -0.22904351353645325, 0.3162054419517517, 0.8165668845176697, -0.47059136629104614, -0.24735797941684723, 0.5532698035240173, 0.27631741762161255, 0.07563457638025284, 0.7699229717254639, 0.1724163442850113, -0.5471940636634827, -0.10435999184846878, -0.14549772441387177, 0.007860686630010605, -0.6568713188171387, -0.18665224313735962, -0.8867444396018982, -0.31688812375068665, -0.16736136376857758, -0.06899575889110565, 0.06269429624080658, -0.6018102169036865, 0.25522470474243164, -0.12832340598106384, 0.5201786160469055, 0.4163200259208679, -0.12950704991817474, 0.23311901092529297, -0.16958564519882202, 0.47038865089416504, 0.3013010323047638, 0.7671853303909302, -0.02347157523036003, -0.5345795154571533, 0.02483118325471878, -0.3441939353942871, -0.3242063820362091, -0.5858049988746643, 0.14160184562206268, 0.09084794670343399, 0.8768832683563232, 0.171181783080101, 0.1694164127111435, 0.32421088218688965, -0.28866350650787354, 0.5585778951644897, -0.007763573434203863, -1.0810694694519043, 0.4825725853443146, -0.25216397643089294, 0.030462024733424187, 0.5561785697937012, -0.02671641856431961, -0.5712779760360718, -0.8225264549255371, -0.7161890864372253, -0.6646803617477417, 1.0813270807266235, 0.3464083969593048, 0.03771296888589859, 0.030622629448771477, 0.08282854408025742, 0.18068963289260864, 0.350314736366272, -0.7711980938911438, -0.5540767312049866, -0.2656952738761902, -0.010344384238123894, -0.06622082740068436, -0.17759333550930023, -0.12703381478786469, -0.1490766853094101, 0.4161059856414795, -0.11210756748914719, 0.737490177154541, 0.4394080638885498, -0.21784797310829163, -0.14548024535179138, 0.6014416813850403, 0.4066774249076843, 0.665796160697937, -0.8753947019577026, 0.0927545353770256, -0.0459509938955307, -0.7415075898170471, 0.3442526161670685, 0.4773263931274414, -0.27230560779571533, 0.1597519814968109, 0.14945559203624725, 0.4842642545700073, 0.020603522658348083, -0.43621131777763367, 0.6213086247444153, -0.19096776843070984, -0.08870072662830353, -0.21447297930717468, 0.13843953609466553, -0.2719997763633728, 0.18039731681346893, 0.7076936960220337, 0.09450329095125198, 0.5778183341026306, -0.4960830509662628, 0.4619671404361725, 0.5719335675239563, -0.7651455998420715, 0.340798020362854, 0.9339475631713867, 0.2780545949935913, -0.052477750927209854, 0.3049250841140747, -0.13693757355213165, -0.4215005934238434, 0.8895143866539001, 0.4128465950489044, 0.7418551445007324, -0.24624314904212952, 0.49583977460861206, 0.28622516989707947, 0.5805482864379883, -0.020189516246318817, 0.25214850902557373, -0.017046669498085976, -0.614427387714386, 0.2314206063747406, -0.8657390475273132, -0.4799395501613617, -0.09062199294567108, -0.751653254032135, -0.1341770887374878, -0.45491278171539307, -0.5636857151985168, 0.09096106886863708, 0.27520784735679626, -0.7622270584106445, 0.23233041167259216, 0.0053813261911273, 0.9470028877258301, -0.7925291061401367, 0.22145390510559082, 0.6650561690330505, -0.6400483846664429, -0.3884645998477936, 0.5277751684188843, 0.10460332036018372, -0.37999796867370605, 0.6395641565322876, 0.4923434555530548, -0.32456496357917786, -0.12942709028720856, 0.3122909963130951, -0.7769068479537964, 1.1835390329360962, 0.48690780997276306, -0.3376605212688446, 0.052083518356084824, 0.4584057927131653, 0.26878321170806885, -0.38770413398742676, 0.7958446741104126, 0.5690255761146545, 0.6027205586433411, -0.3335723280906677, -0.8792216181755066, 0.2647399306297302, -0.45759063959121704, 0.08215649425983429, 0.2712370753288269, -0.8173267841339111, 0.6807003617286682, -0.07672782242298126, -0.12446416914463043, -0.29317161440849304, 0.40290841460227966, 0.26872363686561584, 0.699227511882782, 0.7989850044250488, 0.44593024253845215, 0.9110516309738159, -0.2994891107082367, 1.0457667112350464, 0.2054521143436432, 0.16106578707695007, 0.9692187309265137, -0.5462874174118042, 0.5580950379371643, 0.4381566047668457, -0.10411510616540909, 0.682584822177887, 0.18869604170322418, -0.11115783452987671, 0.579192042350769, 0.22820615768432617, -0.2867695987224579, 0.09368200600147247, -0.5665396451950073, -0.5632684230804443, 0.26662811636924744, -0.025715330615639687, -0.6147083044052124, -0.3985980153083801, 0.10618750005960464, 0.10747929662466049, 0.30100882053375244, -0.45759856700897217, 0.654948890209198, 0.09517481178045273, -0.5444141030311584, 0.0626395046710968, 0.31558147072792053, 0.9842844009399414, -0.25087738037109375, -0.026704242452979088, -0.6913101673126221, 0.07080518454313278, -0.2911425828933716, -0.8826918005943298, 0.13068725168704987, 0.25105610489845276, -0.5637170672416687, -0.17049314081668854, 0.6495079398155212, -0.1060648113489151, -1.0051956176757812, 0.5540034770965576, 0.6180527210235596, -0.10893470048904419, 0.07035508006811142, -0.6139917373657227, -0.13667084276676178, -0.3092435896396637, -0.07202037423849106, 0.4889618158340454, 0.06355349719524384, -0.3252829313278198, 0.7306027412414551, 0.41563549637794495, -0.32855671644210815, -0.1647997498512268, 0.5789124965667725, 0.4102086126804352, -0.7164440751075745, -0.7343716621398926, -0.7194973230361938, 0.18620771169662476, -0.2842547297477722, 0.001007197075523436, 0.5143369436264038, 0.8698131442070007, 0.513179361820221, 0.20126302540302277, 0.7135331034660339, 0.030444223433732986, 0.45365196466445923, -0.2518940567970276, 1.2336143255233765, -0.6850433349609375, 0.12322789430618286, -0.6958668231964111, -1.0306267738342285, -0.0727287009358406, 0.607316792011261, -0.25354817509651184, 0.44072839617729187, 0.7663012146949768, 0.7853140830993652, -0.21631015837192535, -0.06580813229084015, -0.06321520358324051, -0.007900342345237732, 0.09500625729560852, 0.3706851601600647, 0.6481806635856628, -0.3855854868888855, 0.5923877954483032, 0.06379245966672897, -0.34084585309028625, -0.1085636094212532, -1.0704514980316162, -0.7929981350898743, -0.4051479995250702, -0.49391040205955505, -0.3006313443183899, 0.3459857106208801, 0.7410238981246948, 0.5201265215873718, -0.5004916191101074, -0.3150014281272888, 0.19270458817481995, 0.6288893818855286, -0.4162239730358124, -0.3447034955024719, 0.41156241297721863, 0.15888771414756775, -0.5728939175605774, -0.13171087205410004, -0.03800952807068825, -0.2523607909679413, -0.07804379612207413, -0.19954316318035126, -0.002992946421727538, 0.27512672543525696, 0.48147401213645935, -0.2643747925758362, -0.6569859981536865, -0.3939332962036133, -0.11140532791614532, -0.016580158844590187, -0.04871489107608795, 0.4757847785949707, -1.0173439979553223, 0.2386828511953354, 0.28568050265312195, 0.25992950797080994, 0.31359216570854187, 0.0905190259218216, 0.6547788381576538, -0.7832249999046326, -0.08583415299654007, 0.04543297737836838, 0.2509462535381317, 0.3347817659378052, -0.4770437777042389, 0.7234923839569092, 0.030667314305901527, -0.37758758664131165, -1.113340973854065, -0.14350593090057373, -1.1093947887420654, -0.012697571888566017, 0.9453099966049194, 0.4048565924167633, 0.0847344845533371, 0.05865006893873215, -0.028414594009518623, 0.3064841628074646, -0.8861439228057861, 0.8057738542556763, 0.8649083971977234, 0.015846820548176765, -0.26515069603919983, -0.7858226299285889, 0.45961612462997437, 0.2685604393482208, -0.616640567779541, -0.17664076387882233, 0.44596636295318604, 0.43193331360816956, 0.06761195510625839, 1.0163915157318115, -0.35730835795402527, 0.3979346454143524, -0.38740766048431396, 0.0052316938526928425, 0.010161719284951687, 0.05883007496595383, -0.16132788360118866, 0.2829369008541107, -0.009408925659954548, 0.045259989798069 ]
http://arxiv.org/abs/2403.05973v1
http://arxiv.org/pdf/2403.05973v1
Calibrating Large Language Models Using Their Generations Only
2024-03-09T17:46:24
2024-03-09T17:46:24
Dennis Ulmer, Martin Gubri, Hwaran Lee, Sangdoo Yun, Seong Joon Oh
cs.CL
cs.CL, cs.AI, cs.LG
As large language models (LLMs) are increasingly deployed in user-facing applications, building trust and maintaining safety by accurately quantifying a model's confidence in its prediction becomes even more important. However, finding effective ways to calibrate LLMs - especially when the only interface to the models is their generated text - remains a challenge. We propose APRICOT (auxiliary prediction of confidence targets): A method to set confidence targets and train an additional model that predicts an LLM's confidence based on its textual input and output alone. This approach has several advantages: It is conceptually simple, does not require access to the target model beyond its output, does not interfere with the language generation, and has a multitude of potential usages, for instance by verbalizing the predicted confidence or adjusting the given answer based on the confidence. We show how our approach performs competitively in terms of calibration error for white-box and black-box LLMs on closed-book question-answering to detect incorrect LLM answers.
[ -0.1185401901602745, -0.5748211145401001, 0.6367220282554626, 0.1798798143863678, -0.10556574165821075, -0.08563873171806335, -0.5951281189918518, -0.34841352701187134, -0.07834511250257492, 0.6009191274642944, -0.7028692960739136, -0.5023322105407715, -0.5784781575202942, 0.13774323463439941, -0.37592509388923645, 0.7337186932563782, -0.08990480750799179, 0.059011060744524, -0.2619844377040863, 0.13339944183826447, -0.459305077791214, -0.42931225895881653, -0.8129896521568298, -0.3628523647785187, 0.37276360392570496, 0.58442223072052, 0.5862854719161987, 0.6919431686401367, 0.0803016647696495, 0.3182453215122223, -0.0421116016805172, 0.20439067482948303, -0.4752497375011444, 0.35781824588775635, 0.049863677471876144, -0.7120434045791626, -0.07636284828186035, -0.09852898865938187, 0.49730247259140015, 0.39540669322013855, -0.22249162197113037, 0.07153977453708649, 0.34893155097961426, 0.3285408318042755, -0.5969448089599609, 0.33973178267478943, -0.8889610171318054, -0.23497603833675385, -0.05516388267278671, -0.5515989065170288, -0.8418326377868652, -0.5606042742729187, -0.2561919093132019, -0.5936764478683472, -0.0032997336238622665, 0.05153629556298256, 0.4833543002605438, 0.38877275586128235, -0.5678168535232544, -0.22977763414382935, -0.69540935754776, 0.9711920022964478, -0.7627192735671997, 0.17604583501815796, 0.4670827388763428, 0.36409491300582886, -0.3224231004714966, -0.3747214674949646, -0.3299419581890106, -0.47640612721443176, -0.05271177366375923, 0.03021354414522648, 0.3726661503314972, 0.06501927971839905, 0.05374690517783165, 0.11799902468919754, -0.45357993245124817, 0.03256634250283241, -0.18180261552333832, -0.2471632957458496, 0.7631112933158875, -0.05987530201673508, 0.1330697238445282, 0.1127580851316452, -0.2691417336463928, -0.27121439576148987, -1.04456627368927, -0.20698921382427216, 0.3864290416240692, 0.6215178966522217, -0.005442952271550894, 0.8300347328186035, -0.11057760566473007, 0.5485002398490906, 0.056346744298934937, -0.22951699793338776, 0.003716349136084318, -0.014557273127138615, 0.002615370089188218, 0.31885388493537903, 0.8344975113868713, 0.08407256007194519, 0.650883674621582, 0.11798034608364105, -0.23788557946681976, 0.024761032313108444, 0.17197410762310028, -0.7648778557777405, -0.24912090599536896, 0.26242220401763916, 0.35171863436698914, -0.4734423756599426, -0.1269397735595703, -0.5584861636161804, -0.48475655913352966, -0.13033975660800934, 0.4586363732814789, -0.44361576437950134, 0.015031924471259117, -0.2453019618988037, 0.26872938871383667, 0.06746669113636017, 0.4883820414543152, -0.9069475531578064, 0.1791355162858963, 0.7056875824928284, 0.5992976427078247, 0.0980832576751709, -0.19662028551101685, -0.7609267234802246, 0.20373503863811493, -0.5591402649879456, 0.5171071887016296, -0.45613765716552734, -0.5019477009773254, 0.1836661547422409, -0.13552869856357574, -0.1325806975364685, -0.12009220570325851, 0.8628697395324707, -0.4727005064487457, -0.00019190763123333454, 0.029517190530896187, -0.567349374294281, -0.09077447652816772, 0.44262105226516724, -0.43237054347991943, 1.0036360025405884, -0.08620654791593552, -0.6503105759620667, 0.13057151436805725, -0.19049355387687683, -0.4392642378807068, 0.015400194562971592, -0.3892272412776947, -0.25953567028045654, 0.15036022663116455, 0.31088629364967346, 0.33688244223594666, -0.19339030981063843, 0.17060673236846924, -0.2666550874710083, -0.2818147838115692, 0.3761053681373596, -0.7639092803001404, 0.5156705975532532, 0.12337139248847961, -0.19076400995254517, -0.035417765378952026, -0.6868625283241272, 0.37347501516342163, 0.029613735154271126, -0.4978763461112976, -0.34744882583618164, 0.05069997161626816, -0.04070879891514778, 0.05560055747628212, 0.5254865288734436, -0.7919153571128845, -0.010635885410010815, -0.4402819573879242, 0.1606418788433075, 0.8400323390960693, -0.02076263539493084, 0.16418632864952087, -0.4475456476211548, 0.5807914137840271, -0.2924741804599762, -0.02845466323196888, -0.4178946614265442, -0.4961774945259094, -0.8446860909461975, -0.051356349140405655, 0.3853243291378021, 0.47881701588630676, -0.6511200070381165, 0.5752902626991272, -0.4519975781440735, -0.6157895922660828, -0.2104247361421585, 0.3914875388145447, 0.3850048780441284, 0.46286630630493164, 0.04446028918027878, -0.08687679469585419, -0.4477553963661194, -0.660700261592865, -0.3060663342475891, -0.520606517791748, -0.09443290531635284, 0.30986487865448, 0.0864097997546196, 0.1451786905527115, 0.8141934275627136, -0.44116175174713135, -0.17154532670974731, -0.1461344212293625, 0.20022286474704742, 0.06680487841367722, 0.3924658000469208, 0.1376054286956787, -0.8370702266693115, -0.7642955780029297, 0.17554302513599396, -0.49542126059532166, -0.20706520974636078, 0.041894473135471344, 0.10344377160072327, 0.13897328078746796, 0.3847784399986267, -0.4548824429512024, 0.1414518505334854, 0.9603008031845093, 0.04158218950033188, 0.4325936436653137, -0.21082115173339844, 0.19064806401729584, -1.1219191551208496, 0.03855450078845024, 0.25980493426322937, -0.5548580884933472, -0.6439803242683411, 0.11818699538707733, 0.31467145681381226, 0.056971196085214615, -0.4122709035873413, 0.7099229097366333, -0.3820473253726959, 0.23325204849243164, -0.2725585699081421, 0.14283880591392517, 0.09283888339996338, 0.2884046733379364, 0.2716422379016876, 0.9026485681533813, 0.2160186767578125, -0.48385724425315857, 0.16090670228004456, 0.4132288098335266, -0.2490689903497696, 0.546404242515564, -0.4801127016544342, 0.19346608221530914, 0.06333816796541214, 0.28618186712265015, -1.1452077627182007, -0.4238450825214386, -0.12555617094039917, -0.6988197565078735, 0.5038949251174927, -0.3477155566215515, -0.2870807945728302, -0.30238422751426697, -0.27944216132164, 0.26829224824905396, 0.5992966890335083, -0.5550167560577393, 0.7895902991294861, 0.1509028524160385, -0.5048789978027344, -0.7309512495994568, -0.913216233253479, -0.03342170640826225, -0.09719929099082947, -0.563044548034668, -0.02782687358558178, -0.16730715334415436, 0.06488840281963348, -0.33462074398994446, -0.09222087264060974, -0.04793420061469078, 0.08179890364408493, 0.4025932550430298, 0.2884184718132019, -0.25032883882522583, 0.10232063382863998, 0.04570716619491577, -0.11913618445396423, -0.06602740287780762, -0.025624090805649757, 0.6001512408256531, 0.1503237783908844, -0.5003855228424072, -0.12448268383741379, 0.07117225974798203, 0.539077639579773, -0.3508540987968445, 0.7596535682678223, 0.20358076691627502, -0.4219553470611572, -0.4522862732410431, -0.7116707563400269, -0.26232194900512695, -0.5425034761428833, 0.3732812702655792, -0.36971965432167053, -0.6353996992111206, 0.283459335565567, -0.007504613604396582, 0.3002777695655823, 0.3584613502025604, 0.7354565262794495, 0.4331374764442444, 1.2154459953308105, 0.7255918383598328, 0.11645961552858353, 0.3062174916267395, 0.19644491374492645, 0.12341392785310745, -0.8364033699035645, -0.12164902687072754, -0.7158798575401306, 0.10719883441925049, -0.47691887617111206, -0.2551294267177582, 0.4389786124229431, -0.052862245589494705, -0.2999962866306305, 0.4641977548599243, -0.3912891745567322, 0.534085750579834, 0.6296427249908447, 0.20518217980861664, 0.6504764556884766, -0.09901701658964157, -0.16018688678741455, 0.04829641431570053, -0.6304694414138794, -0.732690691947937, 1.4160810708999634, 0.4773644506931305, 1.0918537378311157, -0.06469468027353287, 0.9337759613990784, -0.17767740786075592, 1.034146785736084, -0.7555360794067383, 0.46843069791793823, -0.19641481339931488, -0.811082661151886, -0.29088151454925537, -0.7617663145065308, -0.5507452487945557, 0.06435785442590714, -0.14740802347660065, -0.9649747610092163, 0.09233821928501129, 0.4571763575077057, -0.4684085547924042, 0.0858515053987503, -0.7526459097862244, 0.7725260257720947, -0.4559422433376312, -0.46221697330474854, 0.11705528944730759, -0.3521239757537842, 0.6612571477890015, -0.6059401631355286, 0.27164334058761597, -0.2769821286201477, -0.13790813088417053, 0.5158817768096924, -0.4202524423599243, 0.8417213559150696, 0.08563535660505295, -0.24300576746463776, 0.3201654851436615, 0.3779503405094147, 0.7229112386703491, 0.06121625006198883, -0.42015641927719116, -0.1980234682559967, 0.3374597132205963, -0.11442055553197861, -0.30092111229896545, 1.0181297063827515, -0.8231397867202759, -0.6070046424865723, -0.563093364238739, -0.6039008498191833, -0.621391773223877, 0.33361825346946716, 0.2675900161266327, 0.3125399947166443, -0.5222476124763489, 0.23639744520187378, 0.46408963203430176, -0.18574321269989014, 0.10123393684625626, 0.4758628010749817, -0.24110540747642517, -0.2908032536506653, 0.6096929311752319, -0.13150261342525482, 0.4873647689819336, 0.46888044476509094, 0.3185625374317169, -0.635310709476471, -0.48263847827911377, -0.5139344930648804, 0.0875767171382904, -0.8534245491027832, -0.3419491946697235, -0.4095812737941742, -0.2652094066143036, -0.3163006007671356, -0.03269634023308754, -0.5385246872901917, -0.30898433923721313, -0.15779811143875122, 0.06331732869148254, 0.47531142830848694, 0.5412934422492981, 0.04812583327293396, 0.5546427369117737, -0.7974438071250916, -0.1040244996547699, 0.28555935621261597, 0.22336207330226898, -0.2566630244255066, -0.6255205869674683, -0.00683080917224288, 0.5010845065116882, -0.42097246646881104, -0.7267965078353882, 0.42744678258895874, 0.4295528531074524, 0.2902464270591736, 0.18772003054618835, 0.23529423773288727, 0.43841731548309326, -0.5889833569526672, 0.49006447196006775, 0.2089112550020218, -0.7509419322013855, 0.4240991771221161, -0.22142015397548676, 0.10088355839252472, 0.9729635715484619, 0.3010771572589874, -0.6007667183876038, -0.4385133981704712, -0.3923861086368561, -0.719316303730011, 0.6177777647972107, 0.09929925948381424, 0.3609813451766968, -0.05530818551778793, 0.23989549279212952, -0.07098513096570969, 0.2840695381164551, -0.7548325061798096, -0.0012110288953408599, 0.05994776263833046, -0.9003155827522278, -0.5215233564376831, -0.11509373784065247, -0.2983669936656952, 0.2979131042957306, 0.9788633584976196, -0.3197992444038391, -0.19559602439403534, 0.012404762208461761, -0.009215136058628559, -0.6165882349014282, 0.33501142263412476, 0.2558908462524414, 0.532805860042572, -0.32280048727989197, 0.19642262160778046, 0.13431069254875183, -0.5227999091148376, 0.4541051387786865, 0.2755695879459381, -0.28025180101394653, -0.12679579854011536, 0.2129569798707962, 0.3577524721622467, 0.18799443542957306, -0.9113410711288452, 0.7063120007514954, -0.13138936460018158, 0.009027213789522648, -0.6370172500610352, 0.17903900146484375, 0.14461560547351837, -0.017275003716349602, 0.3610345721244812, 0.01118047721683979, -0.34759461879730225, -0.5552249550819397, 0.45077478885650635, 0.536195695400238, -0.394471138715744, 0.0381137952208519, 0.7773853540420532, 0.28338339924812317, -0.286048948764801, 0.38103172183036804, 0.09198983758687973, -0.4899987280368805, 0.6657597422599792, 0.5387788414955139, 0.868181586265564, -0.6309577226638794, 0.03957441821694374, 0.3267265856266022, 0.5321013927459717, -0.37066206336021423, -0.02219580113887787, 0.46194037795066833, -0.9086652398109436, -0.673672080039978, -0.8154208064079285, -0.7031383514404297, 0.17615774273872375, -0.4276881814002991, 0.46917247772216797, -0.4455406963825226, -0.1122155413031578, -0.17540958523750305, 0.04308571293950081, -0.6081622242927551, 0.4017561972141266, 0.16933414340019226, 1.079797387123108, -1.0413472652435303, 0.863796591758728, 0.5473400950431824, -0.1825215071439743, -1.0833293199539185, 0.10006977617740631, 0.1351611316204071, -1.0749740600585938, 0.1726081669330597, 0.28516674041748047, -0.10024787485599518, 0.204501211643219, -0.42102953791618347, -0.7717662453651428, 0.9941705465316772, 0.47893160581588745, -0.8238885402679443, 0.00648352038115263, 0.17613396048545837, 0.34726786613464355, -0.4573216140270233, 0.4668373465538025, 0.4418572783470154, 0.5554298758506775, 0.5344581007957458, -0.8130113482475281, 0.10469597578048706, -0.12723001837730408, -0.0853152945637703, 0.20521408319473267, -0.4359717071056366, 0.6962686777114868, -0.09016299992799759, -0.28443780541419983, 0.6095595359802246, 0.4769633114337921, 0.5336881875991821, -0.01517130434513092, 0.5553842782974243, 0.3401808440685272, 0.557244598865509, -0.22420404851436615, 1.2602671384811401, -0.6840353012084961, 0.3085606098175049, 1.239321231842041, -0.2878519892692566, 1.1714102029800415, 0.49140945076942444, -0.028590301051735878, 0.11742737144231796, 0.7742733359336853, 0.31018856167793274, 0.288039892911911, 0.16022196412086487, -0.3835422694683075, -0.26163777709007263, -0.0075202276930212975, -0.06939823925495148, 0.2895609140396118, 0.46466708183288574, -0.37630796432495117, -0.04404451325535774, -0.28845834732055664, 0.17848967015743256, 0.24210840463638306, -0.26945188641548157, 0.5474092960357666, 0.305820494890213, -0.9407050609588623, 0.6158756613731384, 0.23737113177776337, 0.5601840019226074, -0.8735566735267639, 0.1339050829410553, -0.107872873544693, 0.47323548793792725, -0.15011106431484222, -0.652843713760376, -0.02151442877948284, 0.011998032219707966, 0.6013010144233704, 0.17642651498317719, 0.5692510604858398, -0.8422818779945374, -0.888667643070221, -0.009738430380821228, 0.3943936228752136, -0.14070959389209747, -0.20336973667144775, -0.47509077191352844, 0.19806930422782898, 0.024646122008562088, -0.47872647643089294, 0.09680556505918503, 0.3810274600982666, 0.13524752855300903, 0.7810073494911194, 0.5399982929229736, 0.23663605749607086, 0.11462537199258804, -0.25368306040763855, 0.6091775298118591, -0.20443928241729736, -0.47441160678863525, -0.7197262048721313, 0.283500075340271, -0.0016674072248861194, -0.3154893219470978, 0.805388867855072, 0.5144349336624146, 0.6139337420463562, 0.1554853767156601, 0.9941463470458984, 0.2267601042985916, 0.540105938911438, -0.517906904220581, 0.39747220277786255, -0.5833920836448669, 0.47055354714393616, -0.1240098774433136, -1.2530553340911865, -0.29267096519470215, 0.6906947493553162, -0.5698555707931519, 0.3377288281917572, 0.6614186763763428, 1.0783458948135376, -0.13350272178649902, 0.05805196985602379, 0.36714088916778564, 0.39021655917167664, 0.23839887976646423, 0.6788474321365356, 0.6946563124656677, -0.23647752404212952, 0.671261191368103, -0.4435485005378723, -0.5459632277488708, -0.29297304153442383, -1.1028268337249756, -0.704846978187561, -0.27987343072891235, -0.2113485187292099, -0.3871753215789795, 0.09136681258678436, 0.9582787752151489, 0.6672459244728088, -0.8761880993843079, -0.3372552990913391, -0.1805230677127838, -0.26274561882019043, 0.06751668453216553, -0.13070213794708252, 0.19034650921821594, -0.16193526983261108, -0.8762908577919006, 0.3500467538833618, 0.06893327832221985, 0.14212565124034882, -0.46122103929519653, -0.21449525654315948, -0.029925018548965454, 0.5087544322013855, 0.19275540113449097, 0.40987277030944824, -0.5334200263023376, -0.5972536206245422, -0.21196724474430084, -0.20700626075267792, 0.10137049853801727, 0.5795555710792542, -0.3770756423473358, 0.37296199798583984, 0.2461649477481842, 0.6598647236824036, 0.6280612349510193, 0.33067095279693604, 0.9240654706954956, -1.1151503324508667, 0.1590741127729416, 0.3147544264793396, 0.45959165692329407, 0.693548858165741, -0.4690341651439667, 0.412801593542099, -0.351775199174881, -0.5630682706832886, -0.7126640677452087, 0.3196219503879547, -0.7684628367424011, -0.042511969804763794, 1.2864993810653687, -0.16108374297618866, -0.4112545847892761, 0.049917325377464294, -0.26829519867897034, 0.17390690743923187, -0.4302150011062622, 0.6473430395126343, 0.6293208003044128, 0.37712541222572327, -0.3083069324493408, -0.6609671115875244, 0.44725102186203003, 0.3936507999897003, -0.741122841835022, 0.3176228404045105, 0.3371870219707489, 0.35946568846702576, 0.22104409337043762, 0.5026622414588928, -0.14210905134677887, 0.10988780111074448, -0.07140402495861053, 0.12133543938398361, -0.056704118847846985, -0.28399723768234253, -0.19730673730373383, 0.027229510247707367, 0.754118025302887, 0.03708278015255928 ]
http://arxiv.org/abs/2403.05931v1
http://arxiv.org/pdf/2403.05931v1
Thread Detection and Response Generation using Transformers with Prompt Optimisation
2024-03-09T14:50:20
2024-03-09T14:50:20
Kevin Joshua T, Arnav Agarwal, Shriya Sanjay, Yash Sarda, John Sahaya Rani Alex, Saurav Gupta, Sushant Kumar, Vishwanath Kamath
cs.CL
cs.CL, cs.LG, I.2.7; I.2.6
Conversational systems are crucial for human-computer interaction, managing complex dialogues by identifying threads and prioritising responses. This is especially vital in multi-party conversations, where precise identification of threads and strategic response prioritisation ensure efficient dialogue management. To address these challenges an end-to-end model that identifies threads and prioritises their response generation based on the importance was developed, involving a systematic decomposition of the problem into discrete components - thread detection, prioritisation, and performance optimisation which was meticulously analysed and optimised. These refined components seamlessly integrate into a unified framework, in conversational systems. Llama2 7b is used due to its high level of generalisation but the system can be updated with any open source Large Language Model(LLM). The computational capabilities of the Llama2 model was augmented by using fine tuning methods and strategic prompting techniques to optimise the model's performance, reducing computational time and increasing the accuracy of the model. The model achieves up to 10x speed improvement, while generating more coherent results compared to existing models.
[ -0.6941428184509277, -0.9616321325302124, 0.48749586939811707, 0.42470571398735046, -0.38490983843803406, 0.2276599258184433, -0.23454047739505768, -0.4880661070346832, 0.009519911371171474, 0.5361389517784119, -0.8114000558853149, 0.059297699481248856, -0.40822869539260864, 0.24986638128757477, -0.5271166563034058, 0.8629294037818909, 0.11494450271129608, -0.10954157263040543, -0.2690492868423462, -0.1463382989168167, -0.5918856859207153, -0.6243164539337158, -0.8673097491264343, -0.4900503158569336, 0.3905223309993744, 0.6371335387229919, 0.5090761780738831, 0.1816672831773758, 0.7010605931282043, 0.4429541528224945, -0.45070838928222656, 0.27630671858787537, -0.5647270679473877, 0.7130387425422668, 0.013783317059278488, -0.450405478477478, -0.45336946845054626, -0.31072568893432617, 0.33627113699913025, 0.4210614562034607, -0.3663488030433655, 0.4781673550605774, 0.29260432720184326, 0.4493062198162079, -0.5597192049026489, 0.3652924597263336, -0.6235941648483276, 0.028892388567328453, 0.0014541051350533962, -0.5356907248497009, -0.5201300978660583, -0.3142782151699066, 0.14527086913585663, -0.31424880027770996, 0.1456492692232132, 0.1116630956530571, 0.514755368232727, 0.3968616724014282, -0.03518553823232651, -0.42184945940971375, -0.9138541221618652, 0.7933545112609863, -0.6574070453643799, -0.03955221548676491, -0.04596444219350815, 0.47019872069358826, -0.21198251843452454, -0.7050476670265198, -0.6049140095710754, -0.004002774134278297, -0.07312516123056412, 0.3055399954319, -0.3872501254081726, 0.1375662088394165, 0.336345911026001, 0.31482064723968506, -0.4613310694694519, 0.11665064096450806, -0.2531536817550659, -0.07802952826023102, 0.3490167260169983, 0.6530287861824036, 0.0511745885014534, -0.14225491881370544, -0.18919090926647186, 0.06054012477397919, -0.5133916735649109, 0.16668207943439484, 0.46722638607025146, 0.311735600233078, -0.10658254474401474, 0.43122872710227966, -0.3208642303943634, 0.45727047324180603, 0.5488932728767395, -0.3723677396774292, -0.1459464430809021, -0.37702733278274536, -0.04571430757641792, -0.021123822778463364, 0.8232212066650391, 0.46662601828575134, 0.3156708776950836, 0.1531582921743393, -0.23075328767299652, 0.35227468609809875, 0.27300184965133667, -0.9372422695159912, -0.05086936801671982, 0.2811494469642639, -0.5817812085151672, -0.6404664516448975, -0.41570135951042175, -0.6425907611846924, -0.1436060070991516, -0.4787517786026001, -0.09096035361289978, 0.014441781677305698, -0.5047888159751892, 0.007841872051358223, -0.06895683705806732, 0.34670260548591614, 0.3107147216796875, -0.8539952039718628, 0.16261067986488342, 0.6311008930206299, 0.6123146414756775, -0.20431265234947205, 0.23333968222141266, -0.3006684184074402, 0.2611978352069855, -0.32463929057121277, 1.1745102405548096, -0.6499006152153015, -0.6905122995376587, 0.06301867216825485, -0.13722994923591614, 0.05733269825577736, -0.8219183087348938, 0.6920666694641113, -0.5227404832839966, 0.2560882866382599, -0.23393037915229797, -0.23988837003707886, -0.08252597600221634, 0.193618506193161, -0.5544335842132568, 0.9844341278076172, 0.2116423100233078, -0.9163349866867065, -0.0779045969247818, -0.6977836489677429, -0.40188226103782654, 0.0505085326731205, -0.05317050963640213, -0.42800360918045044, 0.17248933017253876, 0.35009828209877014, 0.3234708607196808, -0.8392340540885925, 0.38293543457984924, -0.23118917644023895, -0.27604174613952637, 0.45631980895996094, -0.6335809230804443, 0.2988262474536896, 0.4010189473628998, -0.21792273223400116, 0.4135173261165619, -0.5864900946617126, -0.08718492835760117, 0.10723020136356354, -0.38712313771247864, 0.38252806663513184, 0.3656558096408844, 0.07959126681089401, 0.13655008375644684, 0.33684012293815613, -0.2722058892250061, 0.001336812973022461, -0.3730573356151581, 0.7011483311653137, 1.0838159322738647, -0.008262117393314838, 0.3230575919151306, -0.31045010685920715, 0.7147496342658997, 0.34681758284568787, 0.4416194260120392, -0.5842748880386353, -0.5907070636749268, -1.1083711385726929, 0.01726214960217476, -0.08225417882204056, 0.8191843032836914, -0.681786060333252, 0.36690080165863037, 0.006632914766669273, -0.1984599083662033, -0.3548213541507721, 0.05344322323799133, 0.404228150844574, 0.6471967101097107, 0.07434007525444031, -0.5290155410766602, -0.6837380528450012, -0.9329376220703125, 0.052124496549367905, -0.5790778994560242, -0.23461906611919403, 0.4488377571105957, -0.184444397687912, -0.18394850194454193, 0.92074054479599, -0.591063380241394, 0.05808303877711296, -0.5131082534790039, 0.16069231927394867, 0.5392988324165344, 0.19113227725028992, 0.3859907388687134, -0.5090072751045227, -0.4952928125858307, 0.09839054942131042, -0.7882781028747559, -0.6105386018753052, -0.08100813627243042, -0.12088609486818314, 0.18350742757320404, 0.5538995862007141, -0.6511642932891846, 0.3466704189777374, 0.44902303814888, 0.16338075697422028, 0.7123562693595886, 0.256986528635025, 0.07823923230171204, -1.2625948190689087, 0.1309688240289688, -0.16427698731422424, -0.3401919901371002, -0.6850929856300354, -0.012745397165417671, -0.25518813729286194, -0.33652499318122864, -0.4877939224243164, 0.12081056833267212, -0.2789933979511261, -0.015955878421664238, -0.46567317843437195, 0.004006821662187576, -0.14117082953453064, 0.8378841280937195, -0.19423595070838928, 1.2340335845947266, 0.3647058308124542, -0.6104789972305298, 0.4273860454559326, 0.37317678332328796, -0.24767856299877167, 0.813007116317749, -0.966745913028717, 0.45165565609931946, -0.1764540821313858, 0.12689180672168732, -1.2607332468032837, -0.25907596945762634, 0.36438247561454773, -0.3416450619697571, 0.14666087925434113, 0.048237867653369904, -0.2964629530906677, -0.7812582850456238, -0.11135280132293701, 0.43562957644462585, 0.4967908561229706, -0.5213106274604797, 0.7493842840194702, 0.5329074263572693, -0.6173357367515564, -0.27836209535598755, -0.17228151857852936, 0.017993157729506493, -0.21648970246315002, -0.7299321889877319, 0.07781676203012466, -0.3459073305130005, -0.192175954580307, -0.5820587873458862, -0.013291286304593086, -0.06867095082998276, 0.07288052886724472, 0.3611489236354828, 0.23744507133960724, -0.24030344188213348, -0.26137953996658325, 0.07191196829080582, -0.5217379927635193, 0.1329132616519928, -0.008900647982954979, 0.9805335402488708, 0.019533496350049973, -0.49295327067375183, -0.9489557147026062, 0.7724749445915222, 0.8007196187973022, -0.09566984325647354, 0.2775004506111145, 0.5815783143043518, 0.10379277169704437, 0.055808618664741516, -0.7537509799003601, -0.5140001177787781, -0.6593942046165466, 0.30741897225379944, -0.28309229016304016, -0.8851449489593506, 0.7260645031929016, -0.3159191906452179, 0.1958562582731247, 0.17328672111034393, 0.8914289474487305, -0.17274369299411774, 1.5408272743225098, 0.622521698474884, -0.42423301935195923, 0.5177318453788757, 0.14010046422481537, 0.5360739827156067, -0.8131484389305115, -0.10804091393947601, -0.7909875512123108, -0.34426313638687134, -0.3574380874633789, -0.2695273458957672, 0.5744098424911499, 0.09973642230033875, -0.22044764459133148, 0.2936786413192749, -0.7715064287185669, 0.3658420443534851, 0.5708252787590027, 0.1737596094608307, 0.20502787828445435, 0.03835541382431984, -0.05128628388047218, 0.1514636129140854, -0.5918504595756531, -0.6094686388969421, 0.7897228002548218, 0.23445260524749756, 0.9422136545181274, 0.16064591705799103, 0.10693509876728058, 0.2687946856021881, 0.2974424362182617, -0.7527706623077393, 0.7846046090126038, 0.3013448119163513, -0.34289756417274475, 0.060785721987485886, -0.26843562722206116, -0.9584429264068604, -0.08999758213758469, 0.07274654507637024, -0.6420316696166992, -0.10909612476825714, 0.16071167588233948, -0.5624210834503174, 0.09465774148702621, -0.8086851239204407, 0.30088746547698975, 0.24931634962558746, -0.025605516508221626, -0.3852224349975586, -0.4059428572654724, 0.364825040102005, 0.0486215241253376, -0.16062818467617035, -0.24170531332492828, 0.3920559287071228, 0.4556540548801422, -0.1906377226114273, 0.9431527853012085, 0.10115120559930801, -0.10285476595163345, 0.6315606236457825, 0.022809527814388275, 0.516987681388855, -0.055578749626874924, 0.06916719675064087, 0.002259207656607032, -0.14009274542331696, -0.24258415400981903, -0.3944627344608307, 0.4402622580528259, -0.8389958739280701, -0.9671456217765808, 0.07860031723976135, -0.5057404637336731, 0.01900978572666645, -0.2413882464170456, 0.09296650439500809, 0.49844154715538025, 0.05745776370167732, 0.11313893646001816, 0.5400957465171814, -0.30148807168006897, 0.8729120492935181, 0.5759826898574829, -0.13520635664463043, -0.3570767939090729, 0.6531411409378052, -0.3208712935447693, 0.21404992043972015, 0.24143598973751068, -0.03614118695259094, -0.26085126399993896, -0.36002787947654724, -0.22423556447029114, -0.038637299090623856, -0.46695536375045776, -0.5547513365745544, -0.5580052733421326, -0.3593898117542267, -0.43069517612457275, 0.033428121358156204, -0.1472422331571579, -0.3037710189819336, -0.5364461541175842, 0.05331408232450485, 0.2807467579841614, 0.6404063701629639, 0.22593842446804047, 0.8286908864974976, -0.7376096844673157, 0.44103553891181946, 0.5988578200340271, 0.3225477337837219, 0.18228626251220703, -0.4134337902069092, -0.043120332062244415, -0.1874677538871765, -1.0002909898757935, -0.8649040460586548, 0.5261437892913818, 0.19794951379299164, 0.5987516045570374, 0.6887078285217285, 0.10262112319469452, 0.7153857350349426, -0.5753235220909119, 0.7539836168289185, 0.37857240438461304, -0.8322575688362122, 0.6976639032363892, -0.43899407982826233, 0.4127616286277771, 0.23759904503822327, -0.03470420837402344, -0.6642037034034729, -0.3698832094669342, -0.3516199290752411, -0.8647668957710266, 0.8224095702171326, 0.242601215839386, 0.1686132848262787, -0.32284897565841675, 0.299044132232666, -0.1397976279258728, 0.2545888125896454, -0.12994574010372162, -0.04299405589699745, 0.23933827877044678, -0.15456245839595795, 0.24364717304706573, -0.5591648817062378, -0.15385273098945618, -0.01897505111992359, 0.39809587597846985, -0.3958098292350769, 0.6947307586669922, 0.09154357016086578, -0.09571482986211777, -0.4034239947795868, 0.1498233526945114, 0.6056720018386841, 0.5964826345443726, 0.1005728468298912, -0.33614733815193176, 0.31916970014572144, -0.3459439277648926, 0.012260961346328259, -0.19664941728115082, 0.006469836458563805, -0.010235077701508999, 0.11327500641345978, 0.744502604007721, 0.2621738910675049, -0.6189536452293396, 0.3082791864871979, -0.2979300618171692, 0.14069469273090363, -0.34770190715789795, 0.2617395520210266, 0.09526260942220688, 0.5788971185684204, 0.44889068603515625, 0.2050214558839798, 0.2320626825094223, -0.3320799171924591, 0.13823120296001434, 0.39708736538887024, -0.23388880491256714, -0.4725724756717682, 0.6627718806266785, 0.4949299097061157, -0.6698417067527771, 0.534305989742279, 0.19967679679393768, -0.6807944774627686, 0.6214239001274109, 0.4248819053173065, 0.9729198217391968, -0.6337979435920715, 0.07748088985681534, 0.43106111884117126, -0.05235179886221886, 0.18629083037376404, 0.28723573684692383, -0.24242228269577026, -0.6817270517349243, -0.5378369092941284, -0.7150399684906006, -0.7393350601196289, -0.07268360257148743, -0.848751962184906, 0.23821383714675903, -0.4538083076477051, -0.5432419776916504, 0.04884039983153343, -0.2215685397386551, -0.7296572327613831, -0.26598572731018066, 0.2584424614906311, 0.6412569880485535, -0.6238787174224854, 0.5550115704536438, 0.03967837244272232, -0.17350883781909943, -0.7529679536819458, -0.2903549075126648, -0.10531862080097198, -0.8958688378334045, 0.5070545077323914, 0.308776319026947, -0.10317565500736237, -0.13654372096061707, -0.5220363736152649, -0.649556577205658, 0.9351680278778076, 0.49878764152526855, -0.8178465366363525, 0.02577734738588333, 0.38514187932014465, 0.3702283203601837, -0.20195640623569489, 0.8926960229873657, 0.6533547639846802, 0.2696531116962433, 0.29353439807891846, -1.1512823104858398, -0.18526490032672882, -0.29250720143318176, 0.27408331632614136, 0.30246293544769287, -0.8553754687309265, 0.6673228740692139, 0.19405299425125122, -0.33576199412345886, 0.44943398237228394, 0.5908219814300537, 0.20776745676994324, 0.07294344156980515, 0.47067511081695557, 0.39937153458595276, 0.46861958503723145, -0.3971189260482788, 0.819218099117279, -0.7170448303222656, 0.2318144142627716, 0.7251195311546326, -0.3505317270755768, 0.8089781999588013, 0.49340149760246277, -0.36345306038856506, 0.4177156686782837, 0.5734745860099792, 0.5327648520469666, 0.27411437034606934, 0.062204230576753616, -0.5472828149795532, -0.2612442970275879, -0.4186808168888092, -0.3882182836532593, 0.4968786835670471, 0.6050516366958618, -0.19130839407444, -0.27502429485321045, -0.18209828436374664, -0.1435951590538025, -0.10533546656370163, -0.1826554238796234, 1.1902971267700195, -0.030963778495788574, -0.9869333505630493, 0.7578172087669373, -0.1285397857427597, 0.7269762754440308, -0.45065271854400635, 0.12165558338165283, -0.5751475691795349, 0.30786681175231934, 0.0317859910428524, -0.7331841588020325, 0.31387943029403687, 0.022051097825169563, -0.39571306109428406, -0.290220707654953, 0.7907666563987732, -0.23022490739822388, -0.418092280626297, 0.18726381659507751, 0.29436224699020386, 0.015493298880755901, -0.06463833898305893, -0.7457848191261292, 0.26130545139312744, 0.0787503644824028, -0.3078329861164093, 0.24485310912132263, 0.33674198389053345, -0.0384286530315876, 0.8059589862823486, 0.9592321515083313, -0.38136571645736694, -0.24317018687725067, 0.3508283197879791, 1.2359641790390015, -0.4203334152698517, -0.44708824157714844, -0.7795592546463013, 0.4244266152381897, -0.2431006133556366, -0.19125628471374512, 0.3803133964538574, 0.3550795912742615, 0.251025527715683, 0.04831564053893089, 0.5429154634475708, 0.4055655300617218, 0.5662240386009216, -0.2268926352262497, 0.4342847764492035, 0.028125625103712082, 0.2600914239883423, -0.40602821111679077, -0.9443766474723816, -0.06040525063872337, 0.5654215812683105, 0.13188856840133667, -0.2824261486530304, 0.41273191571235657, 1.1859322786331177, 0.035002097487449646, 0.4267074465751648, 0.25082680583000183, 0.14507928490638733, 0.6724911332130432, 0.6895681619644165, 1.0895875692367554, -0.15114863216876984, 0.7826213836669922, 0.03064863570034504, -0.1800842583179474, -0.2688790261745453, -0.7903146147727966, -0.9228276610374451, -0.5667271018028259, -0.10818933695554733, -0.13601082563400269, -0.041208866983652115, 0.6630823016166687, 0.8446722030639648, -0.9655374884605408, -0.42036059498786926, -0.07417584210634232, -0.18864920735359192, -0.061769820749759674, -0.2761176526546478, -0.1289374977350235, -0.726836085319519, -0.6770374774932861, 0.2971479296684265, 0.599575936794281, -0.09260725975036621, -0.35714271664619446, -0.045415960252285004, 0.17999669909477234, 0.3331024944782257, 0.864262044429779, 0.15535026788711548, -0.7433719038963318, -0.2195768803358078, 0.17855426669120789, 0.036387909203767776, 0.2001248598098755, 0.8939197063446045, -0.7793262600898743, 0.24984611570835114, 0.5908242464065552, 0.5317750573158264, 0.5064899921417236, -0.03713560849428177, 0.8149394392967224, -0.7194784283638, 0.5693334937095642, 0.23630738258361816, 0.32207879424095154, 0.3290310502052307, -0.3217710256576538, 0.3631508946418762, 0.15840740501880646, -0.7556468844413757, -0.8056910037994385, 0.40573516488075256, -1.0136483907699585, -0.06806626915931702, 0.8827113509178162, -0.03902759775519371, -0.2943308353424072, -0.13141073286533356, -0.6995654702186584, 0.24691054224967957, -0.5853558778762817, 0.9117839336395264, 0.49812889099121094, -0.07932346314191818, -0.2633199095726013, -0.3693811893463135, 0.2128235101699829, 0.5474199652671814, -0.7414847612380981, 0.02336324192583561, 0.26295050978660583, -0.09711068123579025, 0.3397751450538635, 0.6265279650688171, 0.10791338235139847, 0.2594377398490906, -0.37515154480934143, -0.19216762483119965, 0.32711878418922424, -0.21466724574565887, 0.10205938667058945, 0.36948302388191223, -0.03264255076646805, -0.17584660649299622 ]
http://arxiv.org/abs/2403.05920v1
http://arxiv.org/pdf/2403.05920v1
High Throughput Phenotyping of Physician Notes with Large Language and Hybrid NLP Models
2024-03-09T14:02:59
2024-03-09T14:02:59
Syed I. Munzir, Daniel B. Hier, Michael D. Carrithers
cs.CL
cs.CL, cs.AI, I.2; J.2
Deep phenotyping is the detailed description of patient signs and symptoms using concepts from an ontology. The deep phenotyping of the numerous physician notes in electronic health records requires high throughput methods. Over the past thirty years, progress toward making high throughput phenotyping feasible. In this study, we demonstrate that a large language model and a hybrid NLP model (combining word vectors with a machine learning classifier) can perform high throughput phenotyping on physician notes with high accuracy. Large language models will likely emerge as the preferred method for high throughput deep phenotyping of physician notes.
[ 0.020530063658952713, -0.763759434223175, 1.000511884689331, 0.23865152895450592, -0.16437388956546783, 0.017531072720885277, -0.10864067077636719, -0.7003583908081055, 0.46723222732543945, 0.9466239213943481, -0.387225866317749, -0.5720912218093872, -0.7074640393257141, -0.1561155468225479, -0.3696254789829254, 1.2165967226028442, 0.10709722340106964, 0.3435225784778595, 0.019754573702812195, 0.13044477999210358, -0.28566455841064453, -1.1023273468017578, -0.5005407929420471, -0.6245295405387878, 0.3909764587879181, 0.0709083303809166, 0.7532165050506592, 0.450054794549942, 0.8200349807739258, 0.21020200848579407, -0.15421301126480103, 0.006268918514251709, -0.14185300469398499, 0.2684212923049927, -0.06190365180373192, -0.4654591679573059, -0.7932384610176086, -0.10260126739740372, 0.6671682596206665, 1.0274507999420166, -0.09392663091421127, -0.09286242723464966, -0.04313730075955391, 0.4443928897380829, -0.3276652693748474, -0.007132393307983875, -0.21424077451229095, 0.3787471354007721, -0.35724639892578125, -0.33742451667785645, -0.34422606229782104, -0.008489075116813183, 0.34798476099967957, -0.4713834226131439, 0.24075408279895782, -0.1648484319448471, 0.5982179641723633, -0.14146563410758972, -0.3944694399833679, -0.09247920662164688, -1.1266759634017944, 0.6927183270454407, -1.0617954730987549, 0.3254311978816986, 0.35911038517951965, 0.1409003734588623, -0.12077988684177399, -0.9950452446937561, -0.6201832294464111, -0.4700142741203308, -0.37926986813545227, 0.02861865796148777, 0.10897357016801834, 0.38839760422706604, 0.5566868782043457, 0.8551801443099976, -0.5551982522010803, 0.2858571410179138, -0.23565833270549774, -0.1290852576494217, 0.5807896256446838, 0.3686946928501129, 0.4937780201435089, -0.31989699602127075, -0.34002938866615295, -0.02511274814605713, -0.20778906345367432, -0.16339850425720215, 0.006550766993314028, 0.17488369345664978, -0.09571487456560135, 0.8159641623497009, -0.09422861784696579, 0.8125469088554382, -0.3700762093067169, -0.5707666277885437, 0.21925941109657288, -0.44532400369644165, -0.3064996302127838, 0.22669869661331177, 0.8186359405517578, 0.19142183661460876, -0.19027943909168243, -0.10086135566234589, -0.11330950260162354, 0.21674226224422455, 0.1597917228937149, -0.7704848051071167, -0.42980703711509705, 0.5526363849639893, -0.7974591255187988, -0.15435859560966492, -0.08606160432100296, -1.255070686340332, -0.846660315990448, -0.29467615485191345, 0.22530236840248108, -0.5114102959632874, -0.26009601354599, 0.47100207209587097, -0.2159225344657898, -0.19489780068397522, 0.35328468680381775, -0.8849948048591614, 0.43754681944847107, 0.8707535266876221, 0.8857681751251221, -0.19475407898426056, -0.27255406975746155, -0.42163553833961487, 0.11383063346147537, -0.04977383464574814, 0.7947249412536621, -0.6336493492126465, -0.4938340187072754, -0.07339181751012802, -0.310700386762619, -0.28958266973495483, -0.5456032156944275, 0.64372318983078, -0.11446811258792877, 0.17948119342327118, 0.013817986473441124, -0.8371293544769287, 0.012187380343675613, 0.32385075092315674, -0.5381049513816833, 0.8547002673149109, 0.24069546163082123, -0.7501283884048462, 0.4345204532146454, -0.6163566708564758, -0.7343315482139587, 0.35724014043807983, -0.18917900323867798, -0.5687984824180603, 0.18318597972393036, -0.020755356177687645, 0.8008655309677124, -0.21384501457214355, 0.14324085414409637, -0.0019988534040749073, -0.12873968482017517, 0.38204658031463623, 0.06095966696739197, 0.8056753873825073, -0.020459819585084915, -0.2907974123954773, 0.05397917330265045, -1.2707552909851074, -0.17081895470619202, 0.25136274099349976, -0.5267884135246277, -0.5750391483306885, -0.10645321011543274, 0.1461171656847, 0.4681488871574402, 0.2227562814950943, -0.7420956492424011, 0.3406076431274414, -0.6550411581993103, 0.4336562156677246, 0.06307405978441238, 0.3316079378128052, -0.008697274141013622, -0.3000345826148987, 0.5921324491500854, -0.02816292643547058, 0.1079457625746727, -0.568477213382721, -1.0294208526611328, -0.41384580731391907, -0.3774188458919525, -0.002315383404493332, 0.827226459980011, -0.047137245535850525, 0.6679937243461609, -0.1410241574048996, -0.5683344006538391, -0.5036983489990234, 0.061893031001091, 0.534798264503479, 0.7083521485328674, 0.6129152774810791, -0.517722487449646, -0.5884332656860352, -0.5591487288475037, -0.18774300813674927, -0.09236222505569458, -0.16272763907909393, 0.1469239890575409, 0.4402065873146057, -0.4085361659526825, 0.20861905813217163, -0.6545267105102539, -0.45198559761047363, -0.2828884720802307, 0.490327924489975, 0.17069922387599945, 0.5470418334007263, 0.24274568259716034, -0.5978220105171204, -0.06653047353029251, 0.21555840969085693, -0.6425107717514038, 0.08162496984004974, -0.3073326051235199, 0.1186266615986824, -0.1990251988172531, 0.6382250189781189, -0.6855741739273071, 0.4324488639831543, 0.8341792225837708, -0.5427069067955017, 0.5908012390136719, -0.5361186265945435, 0.076640784740448, -1.2451320886611938, 0.09809422492980957, 0.1957058608531952, -0.04286598414182663, -0.7807803153991699, 0.1230400800704956, -0.3118649423122406, -0.2776109278202057, -0.04125460237264633, 0.3454957604408264, -0.29722678661346436, -0.01572452299296856, -0.09366832673549652, -0.32987910509109497, 0.3941083252429962, -0.029037078842520714, 0.29728078842163086, 0.06555133312940598, 0.40260839462280273, -0.24738873541355133, 0.7576671242713928, 0.3468926250934601, -0.21398772299289703, 0.6633471846580505, -0.5319033861160278, 0.08966760337352753, 0.10141228884458542, 0.3477444052696228, -1.0001140832901, -0.2360023558139801, 0.07883492112159729, -0.2757384777069092, 0.409914493560791, -0.06809809058904648, -0.7981512546539307, -0.47503724694252014, -0.0876602753996849, 0.38564231991767883, 0.5035909414291382, -0.1003497838973999, 0.8205704092979431, 0.23244674503803253, -0.17377930879592896, 0.013791867531836033, -0.820914626121521, 0.2814607322216034, 0.033426955342292786, -0.38748931884765625, 0.4535906910896301, 0.4192791283130646, -0.14692556858062744, -0.15828552842140198, 0.39319485425949097, -0.14627328515052795, -0.07267140597105026, 0.3726946711540222, 0.33254075050354004, -0.5007562041282654, 0.3156295120716095, -0.3788645267486572, -0.2799619734287262, 0.18389159440994263, -0.44020533561706543, 0.8329291343688965, 0.3683815598487854, -0.3195398151874542, -0.5395300984382629, 0.8571832776069641, 0.5942839980125427, -0.4197629392147064, 0.8392345309257507, 0.47911345958709717, -0.5921341180801392, -0.00281320046633482, -0.3791038691997528, -0.19968682527542114, -0.33320245146751404, 0.49089136719703674, -0.2661359906196594, -0.5627140402793884, 0.5027557611465454, -0.3407149910926819, -0.11596839129924774, 0.6415501236915588, 0.635272741317749, -0.22937795519828796, 1.194830060005188, 0.7099694609642029, 0.03273637220263481, 0.13551920652389526, -0.10457492619752884, 0.2492779642343521, -0.6314659714698792, -0.4948175847530365, -0.8272033333778381, -0.14549703896045685, -0.6519060134887695, -0.490441232919693, 0.32171717286109924, -0.2937964200973511, 0.0020567895844578743, 0.018963923677802086, -0.7070111036300659, -0.0313415452837944, 0.6279772520065308, 0.4347119629383087, 0.5559408664703369, 0.005449574440717697, -0.11648841947317123, -0.42394888401031494, -0.45643720030784607, -0.38461047410964966, 1.1495025157928467, 0.3325573205947876, 0.6939840316772461, -0.2591392397880554, 0.4821491241455078, 0.08196798712015152, -0.05293238162994385, -0.7346404790878296, 0.5202394723892212, -0.7100175023078918, -0.546237587928772, -0.2616283893585205, -0.32744500041007996, -0.9140211343765259, -0.054300855845212936, -0.8640918731689453, -1.0237700939178467, 0.14512424170970917, 0.5578241348266602, -0.48518818616867065, 0.6218627691268921, -0.5008693933486938, 1.0680867433547974, -0.3576270639896393, 0.1830226480960846, -0.3387369215488434, -0.7557915449142456, 0.32730963826179504, -0.004609192721545696, -0.04800919443368912, 0.1035395935177803, 0.14841964840888977, 0.8503100275993347, -0.3725537657737732, 0.9153199195861816, 0.040269915014505386, -0.2797396779060364, -0.20916295051574707, 0.0909390076994896, 0.41495847702026367, -0.3607531487941742, 0.03122187964618206, 0.3101390600204468, 0.062761090695858, -0.4655575156211853, -0.4513462781906128, 0.4711223840713501, -0.5057532787322998, -0.2900407016277313, -0.4134509861469269, -0.40173524618148804, -0.35158786177635193, 0.3174353539943695, 0.5717851519584656, 0.6030319929122925, -0.14104272425174713, -0.34045207500457764, 0.7509865164756775, -0.6856898665428162, -0.2558939754962921, 0.25661829113960266, -0.3994837999343872, -0.04777456074953079, 1.0209251642227173, 0.1889684498310089, 0.1830708235502243, 0.6952688694000244, 0.6130881905555725, -0.05422409251332283, -0.7165368795394897, -0.3046216070652008, 0.49466338753700256, -0.5450984835624695, 0.39681270718574524, -1.0714861154556274, -0.3122740685939789, -0.5245435833930969, -0.2513175308704376, -0.2192905992269516, -0.18141421675682068, -0.20421500504016876, 0.016949011012911797, 0.4046417474746704, 0.6903719902038574, 0.2624383866786957, 0.28284311294555664, -1.2020366191864014, 0.6451249718666077, 0.3526401221752167, 0.33127081394195557, -0.036111559718847275, -0.37672844529151917, -0.104631207883358, -0.2851710617542267, -0.0029144668951630592, -0.9781954884529114, 0.2711895704269409, 0.20696666836738586, 0.35464221239089966, 0.5305708050727844, -0.3887432813644409, 0.504161536693573, -0.42172592878341675, 0.878939151763916, 0.3670397400856018, -0.7781357765197754, 0.9250043630599976, -0.3986414968967438, 0.33354464173316956, 0.24058875441551208, 0.46810024976730347, -0.7978406548500061, -0.40087825059890747, -0.7988470792770386, -0.8802269697189331, 0.23793424665927887, -0.24984779953956604, -0.04893549159169197, 0.27478986978530884, 0.3478168845176697, 0.22219732403755188, 0.10593575239181519, -0.2093694806098938, -0.1198163703083992, -0.019549494609236717, -0.12760721147060394, -0.42274922132492065, -0.4162710905075073, -0.34119102358818054, -0.4064505696296692, 0.0833248719573021, 0.07652238011360168, 0.25703227519989014, 0.2920700013637543, 0.16522079706192017, -0.15076394379138947, 0.2985292673110962, 0.6202452182769775, 0.7625542283058167, -0.32833749055862427, 0.15204527974128723, -0.10798738151788712, -0.8392564654350281, -0.1035996675491333, 0.6500865817070007, -0.3920029401779175, 0.20263513922691345, 0.8526487350463867, 0.8587050437927246, 0.017173301428556442, -0.7878462076187134, 0.5895717144012451, 0.22076217830181122, -0.11921343952417374, -0.30837756395339966, -0.0937153697013855, -0.04783973470330238, 0.10533230751752853, 0.2217729687690735, 0.13259634375572205, 0.5358266830444336, -0.7804674506187439, 0.03970906138420105, 0.1598539799451828, -0.21636687219142914, -0.3631856441497803, 0.7948282361030579, 0.06495322287082672, -0.23283705115318298, 0.6381440758705139, 0.39946746826171875, -0.42310571670532227, 0.5439285635948181, 0.5394577980041504, 0.6088224649429321, -0.27105948328971863, 0.27386510372161865, 0.2084003984928131, 0.07888501137495041, -0.2318527102470398, 0.27348411083221436, 0.07456111162900925, -0.5951035618782043, -0.9110382795333862, -0.7167074084281921, -0.6614783406257629, 0.32565635442733765, -0.6344127655029297, -0.08220329135656357, -0.7787577509880066, -0.3240191638469696, 0.7003218531608582, -0.08650104701519012, -0.4891285300254822, 0.645433247089386, 0.44112691283226013, 0.5792493224143982, -1.1461955308914185, 0.7592209577560425, 1.000969648361206, -0.1874167025089264, -0.8491033315658569, 0.010825221426784992, 0.014010255225002766, -0.8530506491661072, 0.6513727307319641, 0.11319276690483093, 0.16298584640026093, -0.2180860936641693, -0.1552218347787857, -0.2901918888092041, 0.42308396100997925, 0.23690171539783478, -0.6038444638252258, -0.213101327419281, 0.25376468896865845, 0.9010605812072754, -0.12414924800395966, -0.14133833348751068, 0.8842417001724243, 0.3846820890903473, -0.12023790180683136, -1.0989437103271484, 0.26346883177757263, -0.19007906317710876, 0.050726622343063354, 0.3809519112110138, -0.20684386789798737, 0.9085232615470886, -0.3065934181213379, 0.013009077869355679, -0.24260371923446655, 0.4843059182167053, 0.24845890700817108, 0.5191462635993958, 0.24127182364463806, 0.9256529808044434, 0.8047380447387695, 0.005164337810128927, 1.3641616106033325, -0.19283415377140045, 0.022848740220069885, 0.964834988117218, -0.42350226640701294, 0.8450561165809631, 0.3429359197616577, -0.3948410451412201, 0.6953150629997253, 0.16587090492248535, -0.21039128303527832, -0.10211953520774841, 0.29943227767944336, -0.3816962242126465, -0.22941257059574127, -0.19300679862499237, -0.41121581196784973, 0.3335902690887451, 0.6348866820335388, -0.7653481364250183, 0.10429622232913971, 0.18033543229103088, 0.2484406977891922, 0.27818000316619873, -0.43613094091415405, 0.820045530796051, 0.20917239785194397, -0.5950918197631836, 0.3506331443786621, -0.1501288264989853, 0.6858615875244141, -0.6865448951721191, -0.46141597628593445, 0.15034116804599762, 0.2920321822166443, -0.4388674795627594, -0.9122995734214783, 0.28230467438697815, -0.19395743310451508, -0.33657997846603394, -0.32492125034332275, 0.7788967490196228, -0.2830847203731537, -0.8186532258987427, 0.4049730598926544, 0.34730264544487, 0.321420282125473, -0.08536231517791748, -0.5924805998802185, -0.1511397808790207, -0.4102257788181305, -0.25689953565597534, 0.3481083810329437, 0.5117502212524414, 0.08874676376581192, 0.4128431975841522, 0.7660058736801147, 0.929068922996521, 0.15695665776729584, 0.1998910754919052, 0.6621862053871155, -0.7591342329978943, -0.6768972277641296, -0.9884108304977417, 0.3857266902923584, -0.16273804008960724, -0.6828609704971313, 0.6587666273117065, 0.36930355429649353, 0.5258784890174866, -0.06581717729568481, 0.7679926753044128, 0.11440084129571915, 0.957597553730011, -0.6615318655967712, 0.3461678624153137, -0.5330794453620911, -0.10328606516122818, -0.5551301836967468, -0.53636634349823, -0.631564736366272, 0.38597825169563293, -0.3400910198688507, -0.12543751299381256, 0.6357568502426147, 0.33106616139411926, -0.01776508055627346, -0.016528772190213203, 0.26972341537475586, 0.43957245349884033, 0.13889019191265106, 0.7152380347251892, 0.5202844738960266, -0.08842455595731735, 0.31174376606941223, -0.47668755054473877, -0.3070122003555298, -0.3994136452674866, -0.6853612065315247, -0.8375939130783081, -0.5680971145629883, -0.4636160731315613, -0.8074958324432373, -0.019084464758634567, 0.7348716259002686, 0.7253501415252686, -0.9675951600074768, 0.05435292050242424, 0.03807854652404785, -0.39814212918281555, -0.4869900345802307, -0.22066830098628998, 0.6539492011070251, 0.23000219464302063, -0.39597782492637634, 0.1580180525779724, 0.6464411616325378, 0.360097736120224, -0.445267915725708, 0.2849511206150055, 0.08534803241491318, -0.305430144071579, 0.5990654230117798, 0.56022709608078, -0.45917731523513794, 0.23734953999519348, -0.17031900584697723, -0.49021634459495544, 0.19028010964393616, 1.2879739999771118, -0.5676141977310181, 0.5697757005691528, 0.7250796556472778, 0.6255910992622375, 0.5459437966346741, -0.042480435222387314, 0.6977014541625977, -0.43334218859672546, 0.32694506645202637, 0.7010273337364197, 0.4504071772098541, 0.5455818176269531, -0.7443687915802002, 0.20483613014221191, 0.5053412318229675, -0.4327313303947449, -0.7381259799003601, 0.241685688495636, -1.1511882543563843, -0.268396258354187, 0.9995641708374023, -0.38318148255348206, 0.0983102098107338, -0.32204800844192505, -0.2686053216457367, 0.11855141073465347, -0.051318150013685226, 0.7786334156990051, 0.2913307845592499, -0.3593100309371948, -0.27155959606170654, -0.8137332797050476, 0.4170997142791748, 0.3327797055244446, -0.8518193960189819, -0.281902939081192, 0.3559274673461914, -0.11843474209308624, 0.38769838213920593, 0.9310787320137024, -0.16317079961299896, 0.09748971462249756, 0.2405732125043869, 0.22822299599647522, 0.3014739751815796, -0.015285968780517578, -0.22040557861328125, 0.3719054162502289, -0.028780998662114143, 0.0324033685028553 ]
http://arxiv.org/abs/2403.05902v1
http://arxiv.org/pdf/2403.05902v1
MaiBaam Annotation Guidelines
2024-03-09T12:46:53
2024-03-09T12:46:53
Verena Blaschke, Barbara Kovačić, Siyao Peng, Barbara Plank
cs.CL
cs.CL
This document provides the annotation guidelines for MaiBaam, a Bavarian corpus annotated with part-of-speech (POS) tags and syntactic dependencies. MaiBaam belongs to the Universal Dependencies (UD) project, and our annotations elaborate on the general and German UD version 2 guidelines. In this document, we detail how to preprocess and tokenize Bavarian data, provide an overview of the POS tags and dependencies we use, explain annotation decisions that would also apply to closely related languages like German, and lastly we introduce and motivate decisions that are specific to Bavarian grammar.
[ -0.692478597164154, -0.8524121642112732, 0.49090883135795593, 0.4848466217517853, -0.42102333903312683, -0.5166815519332886, 0.12200500071048737, -0.37681737542152405, 0.5897806882858276, 0.9353320598602295, -0.3377772867679596, -0.876643180847168, -0.6554643511772156, 0.13404691219329834, -0.10501237213611603, 1.1099462509155273, -0.2526155710220337, 0.483295738697052, -0.21162767708301544, -0.44126468896865845, -0.6960744857788086, -0.99989253282547, -0.5525519251823425, 0.011166113428771496, 0.8317445516586304, 0.6965123414993286, 0.6593924164772034, 0.46557724475860596, 0.6751394271850586, 0.17699041962623596, -0.42118367552757263, 0.047680482268333435, -0.028918854892253876, 0.0880081057548523, -0.22829914093017578, -0.6748085021972656, -0.8327105641365051, 0.10424019396305084, 0.6939628720283508, 0.7410714030265808, -0.23702220618724823, 0.47440358996391296, -0.17162203788757324, 0.526244044303894, -0.820214033126831, 0.6371399760246277, -0.25079014897346497, -0.09752661734819412, -0.6760779023170471, -0.26464125514030457, -0.41985180974006653, -0.40763166546821594, -0.13043777644634247, -0.43184709548950195, 0.05841416120529175, -0.14916038513183594, 0.9047754406929016, 0.07539058476686478, -0.44605913758277893, 0.0924297347664833, -0.5469985604286194, 0.37187767028808594, -0.6147798299789429, -0.10330167412757874, 1.0571768283843994, 0.458804190158844, -0.44720157980918884, -0.5698397755622864, -0.38375458121299744, 0.09519746154546738, -0.46269944310188293, 0.007034274749457836, -0.16160796582698822, 0.23689302802085876, 0.3890412449836731, 0.17756615579128265, -0.22704604268074036, 0.20574623346328735, -0.5405241250991821, -0.41927558183670044, 0.4580584466457367, 0.01025119237601757, 0.35210347175598145, -0.23130954802036285, -0.1527753323316574, 0.29542234539985657, -0.798929750919342, -0.2268388569355011, 0.5449051856994629, 0.2915914058685303, -0.17489312589168549, 0.6396718621253967, -0.32334205508232117, 0.8789668083190918, -0.12189643085002899, -0.15622752904891968, 0.295562207698822, -0.017189690843224525, -0.04850778728723526, 0.19249515235424042, 0.4716997742652893, 0.4670378267765045, 0.44516780972480774, -0.14406879246234894, -0.02911064215004444, 0.1391994208097458, 0.21700631082057953, -0.9837812185287476, -0.5853923559188843, 0.0225299634039402, -0.3804991841316223, 0.12752766907215118, 0.445168137550354, -0.6340981125831604, -0.3094312846660614, -0.464154988527298, 0.42413267493247986, -0.3547806143760681, -0.20551034808158875, -0.23808573186397552, -0.30836978554725647, 0.2300952672958374, 0.3073609471321106, -1.0783472061157227, 0.0816149190068245, 0.5876564383506775, 0.717551052570343, 0.1635703146457672, -0.3639990985393524, -0.5362805128097534, 0.6227415800094604, -0.282377690076828, 1.1066718101501465, -0.5817396640777588, -0.6597002744674683, 0.2525939345359802, 0.22118766605854034, 0.1370856910943985, -0.4810185134410858, 0.9925475716590881, -0.3754464089870453, 0.19768942892551422, -0.38721320033073425, -0.6826551556587219, -0.9198392033576965, -0.3250017464160919, -0.7797155380249023, 0.6441472172737122, 0.37942126393318176, -0.9910966753959656, 0.511616587638855, -0.9132164716720581, -1.0415456295013428, -0.08278258144855499, -0.3743080198764801, -0.27060481905937195, 0.24030891060829163, 0.10744813084602356, 0.6551225781440735, -0.02799409255385399, 0.11604858189821243, -0.19802525639533997, -0.3337550163269043, 0.008898836560547352, -0.004712373483926058, 1.2631241083145142, 0.06649945676326752, -0.11675181239843369, 0.41622060537338257, -0.9908276200294495, -0.45549556612968445, 0.1992846578359604, -0.38144925236701965, -0.22220250964164734, 0.26660019159317017, 0.13406522572040558, -0.17536988854408264, 0.097069151699543, -0.24911504983901978, 0.182644784450531, 0.06619112938642502, 0.32810577750205994, 0.7239171266555786, 0.3975875675678253, 0.25708869099617004, -0.38662058115005493, 0.5761212110519409, 0.23914048075675964, 0.4255349040031433, -0.4034893810749054, -0.7430504560470581, -0.9725624322891235, -0.5936317443847656, 0.407190203666687, 0.5790746212005615, -0.15705646574497223, 0.9268608093261719, 0.27791282534599304, -0.8347316384315491, -0.6169390678405762, 0.1344945728778839, 0.07137779146432877, 0.48389798402786255, 0.43211016058921814, -0.4008684754371643, -0.8652483224868774, -1.3258516788482666, 0.4788397252559662, -0.3186599910259247, 0.19492293894290924, -0.37669914960861206, 0.24065366387367249, -0.38691458106040955, 1.0920308828353882, -0.3400599956512451, -0.7472049593925476, -0.13265854120254517, 0.2859555184841156, -0.08346811681985855, 0.4451755881309509, 1.1024457216262817, -0.8543444871902466, -0.16096316277980804, -0.4696221947669983, -0.48816967010498047, -0.47697025537490845, 0.31259283423423767, -0.5335773229598999, 0.3588736355304718, 0.3542240262031555, -0.4368283450603485, 0.5615404844284058, 0.6280737519264221, -0.3996770977973938, 0.3720668852329254, -0.023931430652737617, 0.13729499280452728, -1.2830160856246948, -0.10011207312345505, -0.18526366353034973, -0.3086392283439636, -0.32930734753608704, -0.14964300394058228, -0.12576521933078766, 0.3737628757953644, -0.47129422426223755, 0.29730892181396484, -0.45121216773986816, 0.22984781861305237, -0.20623239874839783, 0.13732022047042847, 0.18982096016407013, 0.276728093624115, 0.0028004494961351156, 0.611457884311676, 0.9191656708717346, -0.8828204274177551, 0.4018942713737488, 0.586727499961853, -0.08041460067033768, 0.8854881525039673, -0.47880494594573975, -0.16945768892765045, -0.26357710361480713, 0.3574812710285187, -0.9657955169677734, -0.24922654032707214, 0.5581757426261902, -0.47414618730545044, 0.7047916054725647, -0.26413241028785706, -1.071825385093689, 0.12156602740287781, -0.19466878473758698, 0.16834363341331482, 0.5930745601654053, -0.3043491542339325, 0.8085792064666748, 1.089515209197998, -0.0782611221075058, -0.09609126299619675, -0.7847771644592285, -0.07557462900876999, -0.4272053837776184, -0.29941943287849426, 0.025731004774570465, 0.05279669165611267, -0.32401636242866516, -0.11622848361730576, 0.31890618801116943, 0.013871608301997185, 0.4787557125091553, 0.8374214172363281, 0.24271398782730103, -0.08220097422599792, -0.0811687707901001, 0.2241857796907425, -0.47740861773490906, 0.03177523612976074, -0.015690580010414124, 0.6121671795845032, 0.2089015394449234, -0.4340061843395233, -0.5620340704917908, 0.5277599096298218, 0.0013220361433923244, -0.3123394250869751, 0.7239634990692139, 0.8849604725837708, -0.5692652463912964, 0.28897029161453247, -0.6119783520698547, -0.13984951376914978, -0.3899213373661041, 0.10235472768545151, -0.5590617060661316, -0.773581326007843, 0.5606117248535156, -0.023434346541762352, 0.1762140542268753, 0.9576408267021179, 0.8614882230758667, -0.41082823276519775, 0.942563533782959, 0.8739613890647888, -0.2003660351037979, 0.6600210070610046, 0.04621920362114906, -0.188210129737854, -0.7597134709358215, -0.2651369571685791, -0.7459098696708679, -0.3409857153892517, -0.7725077867507935, -0.2784838378429413, -0.14241240918636322, 0.696712076663971, 0.013829698786139488, 0.6800005435943604, -0.475492924451828, 0.18053038418293, 0.7194682955741882, -0.32890379428863525, 0.017602361738681793, -0.029844388365745544, -0.23219740390777588, -0.008161475881934166, -0.5253748893737793, -0.9573363065719604, 0.8387314081192017, 0.22592073678970337, 0.43312498927116394, 0.24473698437213898, 0.7249142527580261, 0.43466120958328247, 0.6142650246620178, -0.6374901533126831, 0.7128672003746033, -0.007127405144274235, -1.0702039003372192, 0.05478058382868767, -0.08407118171453476, -1.2149959802627563, -0.008387205190956593, -0.17545977234840393, -1.2624608278274536, -0.10860161483287811, -0.04533444717526436, -0.0851273313164711, 0.17105768620967865, -0.9119812250137329, 0.8004996180534363, 0.13382543623447418, 0.4891224205493927, -0.1898328810930252, -0.7357214689254761, -0.11389878392219543, -0.04356662929058075, 0.029651688411831856, -0.6996159553527832, -0.031578317284584045, 1.3399698734283447, -0.2547054588794708, 1.1028448343276978, -0.2965385615825653, 0.007061111740767956, 0.8400355577468872, 0.056001465767621994, -0.05535949021577835, -0.04954769089818001, -0.02434167079627514, 0.7239036560058594, 0.3241966962814331, -0.6240296959877014, -0.0682031586766243, 0.2233443409204483, -0.5486467480659485, -0.7385165095329285, -0.49580761790275574, -0.29418647289276123, -0.3733995854854584, 0.36003559827804565, 0.24772955477237701, 0.12859004735946655, -0.3788820505142212, -0.04771370813250542, 0.17840048670768738, 0.26789507269859314, 0.19149348139762878, 0.7494314908981323, -0.8151768445968628, -0.4699706435203552, 0.7096319198608398, 0.42645150423049927, -0.13709108531475067, 0.4907186031341553, 0.00129694864153862, -0.18171817064285278, -0.5595710277557373, -0.6515031456947327, 0.3218632638454437, -0.9773046374320984, -0.18621684610843658, -0.3938295841217041, -0.16244113445281982, -0.5884121060371399, -0.06061704084277153, 0.2293400913476944, -0.6709887981414795, -0.598426342010498, -0.5694026947021484, 0.819939374923706, 0.7610293030738831, -0.21079881489276886, 0.6672684550285339, -1.091065526008606, 0.3487696349620819, -0.22163140773773193, 0.00003153043508064002, -0.5817864537239075, -0.6016477942466736, -0.47266989946365356, -0.13392072916030884, -0.32946643233299255, -1.2672886848449707, -0.40813735127449036, -0.14590564370155334, 0.9259898662567139, 0.8766846060752869, 0.00004371514660306275, 0.4240178167819977, -0.42653030157089233, 0.8074058294296265, 0.20475800335407257, -0.7183135151863098, 0.858333945274353, -0.3239327371120453, 0.055298831313848495, 0.681528627872467, 0.5902261137962341, -0.34828171133995056, -0.51915442943573, -0.723183274269104, -0.8345893025398254, 0.43256232142448425, 0.11777639389038086, 0.24829807877540588, -0.2642901539802551, 0.3745921850204468, 0.37717872858047485, 0.239212766289711, -0.09392251074314117, -0.5007627606391907, 0.28337785601615906, -0.037955392152071, 0.029977645725011826, -0.7865021228790283, -0.43287181854248047, -0.4418857991695404, 0.766487717628479, 0.06287135183811188, 0.1353544294834137, -0.07651010155677795, -0.09899621456861496, -0.119377002120018, 0.017621003091335297, 0.2900640666484833, 1.0502434968948364, -0.1358964592218399, 0.061741456389427185, 0.028345484286546707, -0.36657285690307617, -0.03990728035569191, 0.5052928328514099, -0.6463765501976013, 0.39170557260513306, 0.26642006635665894, 0.8301677107810974, -0.06343763321638107, -0.3386138677597046, 0.16820645332336426, 0.19121596217155457, -0.020708544179797173, -0.5493517518043518, 0.23059917986392975, 0.33755606412887573, 0.18183937668800354, 0.06054996699094772, -0.3136148750782013, 0.1798981875181198, -0.5472017526626587, 0.25348085165023804, 0.14441952109336853, -0.31207475066185, -0.42363306879997253, 0.546038031578064, 0.07937736064195633, -0.2606152892112732, 0.2868236303329468, -0.28991320729255676, -0.4424907863140106, 0.3042754530906677, 0.4438289403915405, 0.8160731792449951, -0.39815977215766907, 0.31501078605651855, 0.3050570785999298, 0.19955942034721375, 0.3032189905643463, 0.7908617854118347, -0.14296641945838928, -0.3410279452800751, -0.08537435531616211, -0.8748829960823059, -0.3413859009742737, -0.46039602160453796, -0.7952851057052612, 0.7656241059303284, -0.6374799013137817, -0.5957477688789368, 0.3713831603527069, -0.3164646327495575, -0.39975884556770325, 0.3151981234550476, 0.3096998631954193, 0.8057602643966675, -0.6432292461395264, 1.0406887531280518, 1.1158597469329834, -1.075783610343933, -0.7066248655319214, -0.03939620777964592, 0.025528179481625557, -0.8303730487823486, 0.2571503520011902, 0.2913946807384491, -0.03727530688047409, -0.25110435485839844, -0.29949960112571716, -0.4446890950202942, 1.0913231372833252, 0.3445768356323242, -0.2792358696460724, 0.12899154424667358, 0.06175214424729347, 0.38501518964767456, -0.2704404294490814, 0.09342441707849503, 0.6680788397789001, 0.9169291257858276, -0.015788758173584938, -0.6964625716209412, -0.023450788110494614, -0.06480272114276886, -0.14102700352668762, 0.473697304725647, -0.8076990246772766, 0.575108528137207, -0.173250213265419, -0.3568788468837738, 0.2172841727733612, 0.952316164970398, -0.10023588687181473, 0.17296884953975677, 0.4270704984664917, 0.7049283981323242, 0.6699938774108887, -0.18825113773345947, 0.7546154856681824, -0.27362629771232605, 0.14655904471874237, 1.2462501525878906, -0.013498072512447834, 1.051648497581482, 0.5142024755477905, -0.41341379284858704, 0.5137551426887512, 1.0578458309173584, -0.30072301626205444, 0.24088717997074127, 0.30006423592567444, -0.009495541453361511, 0.09929212927818298, -0.5390653014183044, -0.5490959286689758, 0.6854258179664612, 0.3439026176929474, -0.36230406165122986, -0.12331702560186386, -0.2212563306093216, 0.857647716999054, -0.12744317948818207, -0.28906625509262085, 1.01296865940094, 0.13495492935180664, -0.41857001185417175, 0.2276214212179184, 0.2276933491230011, 0.23035874962806702, -0.798258900642395, -0.040877629071474075, -0.08548370003700256, 0.0720476433634758, -0.4992828965187073, -0.807753324508667, 0.6016862392425537, -0.10981761664152145, -0.23487041890621185, 0.30769503116607666, 0.5326146483421326, -0.3667801022529602, -0.6782634258270264, 0.40707331895828247, 0.4027625322341919, 0.37975603342056274, -0.295850932598114, -0.30823373794555664, -0.20783190429210663, -0.28175950050354004, -0.3276636302471161, 0.3665088713169098, 0.6079614758491516, -0.20507696270942688, 0.18066614866256714, 0.4085586667060852, 0.16817952692508698, -0.0072288294322788715, 0.4899933636188507, 0.663243293762207, -0.5356504917144775, -0.47540634870529175, -0.8802117109298706, 0.48377346992492676, 0.08153601735830307, -0.25725388526916504, 1.0346546173095703, 0.6731961965560913, 0.8689653873443604, 0.15512172877788544, 0.7412976622581482, -0.1151176318526268, 0.37319186329841614, -0.5914373397827148, 0.9968221783638, -0.5771234035491943, -0.442229688167572, -0.1045774295926094, -1.2945221662521362, -0.6444598436355591, 0.6743658185005188, -0.1364838033914566, -0.04178929328918457, 0.5912908315658569, 0.5169683694839478, 0.41386157274246216, 0.21893711388111115, 0.29540038108825684, 0.13110052049160004, 0.1706194430589676, 0.026048028841614723, 0.7407065629959106, 0.07011871784925461, 0.37467142939567566, -0.47111523151397705, -0.3064168691635132, -0.5679600834846497, -0.8708168864250183, -0.8881363272666931, -0.8876504302024841, -0.5486013293266296, -0.39840006828308105, -0.2550082504749298, 0.712760865688324, 0.7093855142593384, -1.0559121370315552, -0.09240482747554779, 0.3082846701145172, -0.033709924668073654, -0.10465657711029053, -0.21461156010627747, 0.4848690629005432, -0.21552757918834686, -0.6644847989082336, 0.013164924457669258, 0.5493013858795166, 0.37165817618370056, -0.3591785430908203, -0.052886001765728, -0.40313148498535156, 0.12190089374780655, 0.5576018691062927, 0.18040406703948975, -0.5763856768608093, -0.3031722903251648, -0.6476491093635559, -0.24980872869491577, 0.26508066058158875, 0.8426390886306763, -0.1690935641527176, 0.4505375027656555, 0.5259557366371155, 0.2868116796016693, 0.25881505012512207, -0.0899256020784378, 0.34861719608306885, -0.47196945548057556, 0.5776917934417725, 0.21949009597301483, 1.0052844285964966, 0.36149904131889343, -0.02534734085202217, 0.7026402950286865, 0.25531792640686035, -0.4380680024623871, -0.3464164435863495, 0.36625686287879944, -1.4042857885360718, -0.0648592934012413, 1.4874722957611084, -0.5469218492507935, -0.23194566369056702, -0.1304798722267151, -0.9039615988731384, 0.6792429685592651, -0.36516842246055603, 0.6133967638015747, 1.0163122415542603, -0.12598925828933716, 0.1939851939678192, -0.5570635795593262, 0.39054960012435913, 0.2057763785123825, -0.8875430226325989, -0.15805840492248535, 0.8506583571434021, 0.035042304545640945, 0.2807336747646332, 0.729936420917511, -0.30231398344039917, 0.1281549334526062, 0.19019342958927155, 0.16237077116966248, -0.004517953377217054, -0.4447941184043884, 0.002643975894898176, -0.033139120787382126, 0.4813222587108612, -0.7009143233299255 ]
http://arxiv.org/abs/2403.05881v2
http://arxiv.org/pdf/2403.05881v2
KG-Rank: Enhancing Large Language Models for Medical QA with Knowledge Graphs and Ranking Techniques
2024-03-09T11:23:38
2024-03-19T03:48:11
Rui Yang, Haoran Liu, Edison Marrese-Taylor, Qingcheng Zeng, Yu He Ke, Wanxin Li, Lechao Cheng, Qingyu Chen, James Caverlee, Yutaka Matsuo, Irene Li
cs.CL
cs.CL
Large Language Models (LLMs) have significantly advanced healthcare innovation on generation capabilities. However, their application in real clinical settings is challenging due to potential deviations from medical facts and inherent biases. In this work, we develop an augmented LLM framework, KG-Rank, which leverages a medical knowledge graph (KG) with ranking and re-ranking techniques, aiming to improve free-text question-answering (QA) in the medical domain. Specifically, upon receiving a question, we initially retrieve triplets from a medical KG to gather factual information. Subsequently, we innovatively apply ranking methods to refine the ordering of these triplets, aiming to yield more precise answers. To the best of our knowledge, KG-Rank is the first application of ranking models combined with KG in medical QA specifically for generating long answers. Evaluation of four selected medical QA datasets shows that KG-Rank achieves an improvement of over 18% in the ROUGE-L score. Moreover, we extend KG-Rank to open domains, where it realizes a 14% improvement in ROUGE-L, showing the effectiveness and potential of KG-Rank.
[ -0.26693397760391235, -0.741920530796051, 0.8621410727500916, 0.10308097302913666, -0.18740157783031464, 0.2395215630531311, 0.10578004270792007, -0.5306031107902527, 0.6124275326728821, 0.6175751686096191, -0.027316736057400703, -0.7270057201385498, -0.9477553367614746, 0.1973477154970169, -0.03191636502742767, 0.9144895076751709, 0.09423098713159561, 0.3755761981010437, -0.5536488890647888, -0.33394041657447815, -0.323829710483551, -0.6805358529090881, -0.873741865158081, -0.41485947370529175, 0.9294964671134949, 0.2471785545349121, 1.1654247045516968, 0.6413151621818542, 0.5891409516334534, 0.2191288322210312, -0.24370083212852478, 0.24267959594726562, -0.5986285209655762, 0.28704923391342163, 0.07319992035627365, -0.4155283272266388, -0.95610111951828, -0.06810951232910156, 0.564259946346283, 0.9228972792625427, -0.06829569488763809, 0.029878893867135048, -0.29589492082595825, 0.8110437393188477, -0.4456012547016144, 0.24314965307712555, -0.22743798792362213, -0.18378938734531403, 0.09862659871578217, -0.358076274394989, -0.3804946839809418, -0.8082377314567566, 0.016066137701272964, -0.5790053009986877, -0.20550286769866943, -0.06339672207832336, 0.6912338733673096, 0.22576716542243958, -0.8230612874031067, -0.30909085273742676, -0.3677094280719757, 0.40715378522872925, -0.6719088554382324, 0.6920543313026428, 0.554246187210083, 0.506868302822113, -0.22973988950252533, -0.9715640544891357, -0.31138768792152405, -0.46007031202316284, -0.10073570907115936, 0.1764417141675949, 0.1454920917749405, 0.22442218661308289, 0.19880837202072144, 0.36339789628982544, -0.4446271061897278, 0.22032999992370605, -0.27047020196914673, -0.08422251790761948, 0.7286471128463745, 0.17586453258991241, 0.5629389882087708, -0.061186425387859344, -0.007680294569581747, -0.10726089030504227, -0.9352885484695435, 0.019503943622112274, -0.12495116144418716, 0.09082217514514923, 0.17705275118350983, 0.8498620390892029, -0.551548957824707, 0.8312181234359741, -0.09137024730443954, -0.545166552066803, 0.4065741002559662, -0.021762456744909286, -0.21070004999637604, -0.043013207614421844, 0.6600474119186401, 0.6576627492904663, 0.16435818374156952, -0.4457853436470032, 0.039274949580430984, -0.34347254037857056, 0.2638888657093048, -1.0954663753509521, -0.45884352922439575, 0.4376734495162964, -0.5730574131011963, -0.6037699580192566, -0.3180508315563202, -0.6229015588760376, -0.6305103302001953, -0.11445414274930954, 0.654590368270874, -0.2939133644104004, -0.30966734886169434, 0.025511305779218674, 0.09291943162679672, 0.11084822565317154, 0.374221533536911, -0.6581709980964661, 0.1048654168844223, 0.4926343262195587, 0.41546759009361267, -0.13703447580337524, 0.007311703637242317, -0.5989747047424316, 0.09289449453353882, -0.6363699436187744, 0.6798821091651917, -0.5155296921730042, -0.5335394144058228, -0.050106555223464966, -0.09259038418531418, 0.07683338969945908, -0.933847963809967, 0.4632461667060852, -0.9168283939361572, 0.21415956318378448, -0.28573426604270935, -0.6612807512283325, -0.005832057446241379, 0.531301736831665, -0.558440089225769, 1.0533801317214966, 0.3232705295085907, -0.4278167486190796, 0.3777031898498535, -0.6287752985954285, -0.38741663098335266, 0.17403237521648407, -0.06098812073469162, -0.4026883840560913, -0.20901605486869812, 0.6352664232254028, 0.5311512351036072, -0.36889058351516724, 0.2681087255477905, -0.1882176697254181, -0.0030535408295691013, 0.3157535493373871, -0.06736426800489426, 0.5030860900878906, -0.03722987323999405, 0.28831589221954346, 0.04111064225435257, -0.7651787996292114, 0.5427827835083008, 0.05972586199641228, -0.5737477540969849, -0.315168559551239, -0.13799212872982025, -0.5078777074813843, 0.32826703786849976, 0.2680869400501251, -0.5886292457580566, 0.47688549757003784, -0.5091880559921265, 0.08656347543001175, 0.3092344403266907, 0.3489964008331299, 0.21547026932239532, -0.36386898159980774, 0.7338530421257019, -0.1444391906261444, 0.25397029519081116, 0.35590997338294983, -0.8852407336235046, -0.5706937313079834, -0.516993522644043, 0.5367337465286255, 0.5838718414306641, -1.0569381713867188, 0.19364610314369202, -0.7140981554985046, -0.6028524041175842, -0.8346090912818909, 0.022944960743188858, 0.4930782914161682, 0.6140658259391785, 0.5965765118598938, -0.07671397179365158, -0.09605409950017929, -0.8844779133796692, -0.20629820227622986, -0.34349191188812256, -0.26997002959251404, 0.5104857087135315, 0.10910110175609589, -0.39830854535102844, 0.8962011933326721, -1.0168309211730957, -0.005978540051728487, -0.16455473005771637, -0.06466279178857803, 0.25924307107925415, 0.11149509996175766, 0.3638322353363037, -0.9748539924621582, -0.5208367109298706, 0.02327602170407772, -0.8080924153327942, -0.3022771179676056, 0.5813262462615967, -0.10832036286592484, -0.16557927429676056, 0.3707076609134674, -0.4082040786743164, 0.15001121163368225, 0.523327648639679, -0.41062140464782715, 0.5041696429252625, -0.27156034111976624, 0.6029524207115173, -1.4266678094863892, 0.043194420635700226, -0.4383348226547241, -0.4061207175254822, -0.8039203882217407, 0.2935733497142792, 0.1381692737340927, -0.33831536769866943, -0.22637908160686493, 0.7491064071655273, -0.11044786125421524, 0.12555374205112457, -0.3436453938484192, 0.15361878275871277, -0.05833973363041878, 0.3167250454425812, -0.22768688201904297, 0.74494469165802, 0.3520453870296478, -0.5659812688827515, 0.4214598834514618, 0.34113678336143494, -0.27149835228919983, 0.39991495013237, -0.535488486289978, 0.0313277542591095, -0.062386006116867065, 0.08522909879684448, -0.9733814597129822, -0.3834560513496399, -0.015702299773693085, -0.6928636431694031, 0.3640805184841156, -0.3213130235671997, -0.6281939148902893, -0.44134753942489624, -0.13666075468063354, 0.7299383282661438, 0.6243142485618591, -0.6176393628120422, 0.31804564595222473, 0.5702996253967285, -0.4752409756183624, -0.5952038168907166, -0.25165969133377075, 0.046335700899362564, 0.21119968593120575, -0.7994357943534851, 0.35690057277679443, -0.1019599586725235, -0.12284954637289047, -0.07153264433145523, -0.006808917038142681, -0.295798659324646, 0.043753474950790405, 0.12370749562978745, 0.17652389407157898, -0.16033752262592316, 0.404827743768692, 0.196775421500206, -0.203482523560524, -0.04386094585061073, 0.013472303748130798, 0.4627735912799835, 0.2591988742351532, -0.26953041553497314, -0.26401686668395996, 0.24870340526103973, 0.948612630367279, -0.2208411693572998, 0.79913729429245, 0.06777893006801605, -0.41892462968826294, 0.11688757687807083, -0.627794623374939, -0.08417139947414398, -0.4332687258720398, 0.569977879524231, -0.20803533494472504, -1.0978755950927734, 0.4496954679489136, -0.20887495577335358, -0.14624693989753723, 0.4162333011627197, 0.6431151032447815, -0.0028388407081365585, 1.3899377584457397, 0.48107948899269104, 0.0012448629131540656, -0.03192971646785736, 0.07117541134357452, 0.421843558549881, -0.8010720014572144, -0.41596636176109314, -0.3687025308609009, -0.0966259092092514, -0.6719343066215515, -0.5649693608283997, 1.1462568044662476, 0.3689602017402649, -0.011367137543857098, -0.18345701694488525, -0.5050215125083923, 0.5153073668479919, 0.18606814742088318, 0.3383682668209076, 0.3844026029109955, -0.21379190683364868, -0.39688366651535034, 0.24661020934581757, -0.6788852214813232, -0.1953740119934082, 1.3477600812911987, 0.20651334524154663, 0.46027901768684387, 0.29113468527793884, 0.6379702091217041, 0.2441677749156952, 0.7800328731536865, -0.7730213403701782, 0.5512535572052002, -0.09636466950178146, -0.42235368490219116, -0.3740123212337494, -0.6856321096420288, -1.031145691871643, 0.3334228992462158, -0.23818282783031464, -0.4816998839378357, -0.30910494923591614, 0.02283492684364319, -0.42480191588401794, 0.07290292531251907, -0.6337499618530273, 0.7051306366920471, -0.11222028732299805, -0.05322304368019104, 0.028838954865932465, -0.5602167844772339, 0.3858266770839691, 0.0441141277551651, -0.051161617040634155, -0.03486401215195656, 0.05804719403386116, 0.7442255020141602, -0.6049569249153137, 0.45430272817611694, -0.1683097928762436, -0.39161866903305054, -0.055265553295612335, -0.0836372971534729, 0.47655075788497925, 0.2702244520187378, -0.20740337669849396, -0.12220945209264755, 0.19343240559101105, -0.4993191659450531, -0.8797543048858643, 0.7921500205993652, -0.7769292593002319, -0.5981863141059875, -0.0653642937541008, -0.6605373024940491, -0.7618953585624695, 0.31670668721199036, 0.02627543732523918, 0.6250107288360596, 0.07828106731176376, 0.09629763662815094, 0.7091822624206543, -0.5512678623199463, -0.2990664541721344, 0.49738767743110657, -0.6779241561889648, -0.8901203870773315, 0.8355832695960999, 0.3552265465259552, 0.44205978512763977, 0.6589372754096985, 0.24722528457641602, -0.47823113203048706, -0.6104306578636169, -0.5647992491722107, 0.36981427669525146, -0.7766146063804626, -0.265460342168808, -0.8155158758163452, -0.571336567401886, -0.7753108143806458, -0.22810404002666473, -0.024724237620830536, -0.7758018970489502, 0.2073385864496231, -0.27056628465652466, 0.5176127552986145, 0.6341581344604492, 0.40358561277389526, 0.11002010852098465, -0.962051510810852, 0.7897666096687317, 0.5647497773170471, 0.6116443872451782, -0.01844802126288414, -0.10636097192764282, -0.23533952236175537, -0.050632309168577194, -0.22311675548553467, -0.8996647596359253, 0.40649357438087463, -0.329933226108551, 0.6357970833778381, 0.2550886273384094, -0.09441619366407394, 0.5906932353973389, -0.4511718451976776, 0.8507920503616333, 0.15907277166843414, -0.29670751094818115, 0.3401177227497101, -0.4178767800331116, 0.3751022517681122, 0.5064553618431091, 0.3659398555755615, -0.6282360553741455, -0.5094302892684937, -0.47917264699935913, -0.9026414752006531, 0.29540613293647766, 0.23057784140110016, -0.17932674288749695, -0.1479266881942749, 0.6197871565818787, -0.049052413552999496, 0.22126531600952148, -0.6202273368835449, -0.3940800130367279, 0.15464434027671814, -0.3858048915863037, -0.02802431769669056, -0.6138864159584045, -0.27357447147369385, -0.40642428398132324, 0.8503762483596802, -0.15197202563285828, 0.407852441072464, 0.26571962237358093, 0.00614665262401104, 0.0984175056219101, 0.31280776858329773, 0.5799383521080017, 0.8603219389915466, -0.20310349762439728, 0.0008173948153853416, 0.17158415913581848, -0.5570516586303711, 0.1543811559677124, 0.2140779048204422, -0.07627380639314651, -0.19769145548343658, 0.23758646845817566, 0.3529350459575653, 0.03498469293117523, -0.6350520849227905, 0.46403414011001587, 0.10122533142566681, -0.08562906086444855, 0.05059579759836197, 0.03625217080116272, 0.2815329432487488, 0.13098664581775665, 0.23811279237270355, -0.45005181431770325, -0.01451004296541214, -0.3173520565032959, 0.24153143167495728, 0.4388282299041748, -0.3791561722755432, 0.1336001306772232, 0.5500941872596741, 0.271712064743042, -0.3451973497867584, 0.6276059746742249, -0.08286315947771072, -0.5305312275886536, 0.788292407989502, 0.530718982219696, 0.45138123631477356, -0.36299827694892883, 0.2920772135257721, 0.347873717546463, 0.01980143040418625, -0.015404962003231049, 0.5495936870574951, 0.19239574670791626, -0.6046269536018372, -0.5104691982269287, -0.6465422511100769, -0.5061303377151489, 0.029111389070749283, -0.5027587413787842, 0.15309154987335205, -0.11793173104524612, -0.2215026170015335, -0.026903662830591202, 0.053122419863939285, -0.27517104148864746, 0.43323564529418945, -0.12703391909599304, 0.8220794200897217, -0.3166634738445282, 0.8211053013801575, 0.6818060278892517, -0.2574186325073242, -0.7857572436332703, 0.025657476857304573, -0.4295628070831299, -0.8918753862380981, 0.6574379801750183, 0.08433461934328079, -0.03381086140871048, 0.21145975589752197, -0.3153247535228729, -1.0617979764938354, 1.3950945138931274, 0.20128095149993896, 0.04659691080451012, -0.061624251306056976, 0.4296663701534271, 0.7430373430252075, -0.2457047402858734, 0.29875218868255615, 0.1877238005399704, 0.32390832901000977, 0.003838341450318694, -1.096734642982483, 0.04761969670653343, -0.24029786884784698, -0.26161912083625793, 0.6891279220581055, -0.5428791046142578, 0.29661038517951965, -0.3622682988643646, 0.1600152999162674, 0.42185723781585693, 0.2527274191379547, 0.5173385143280029, 0.5210080146789551, 0.2986191511154175, 0.789131760597229, 0.9321370124816895, -0.081724613904953, 1.344454288482666, -0.3989163041114807, 0.2501083016395569, 0.6515125036239624, -0.39995715022087097, 0.7694063782691956, 0.19136126339435577, -0.1191873699426651, 0.5051382184028625, 0.40314480662345886, 0.32222938537597656, 0.43661049008369446, 0.25177237391471863, -0.30616065859794617, -0.37449154257774353, -0.07988458126783371, -0.6008889675140381, 0.1145867258310318, 0.2788952589035034, -0.6662119626998901, -0.18018190562725067, 0.1327448934316635, 0.28852128982543945, -0.17346125841140747, -0.5202953219413757, 0.7796496152877808, 0.07828111946582794, -0.7495812773704529, 0.8745875954627991, 0.036368388682603836, 0.11518678814172745, -0.7097943425178528, -0.17416007816791534, -0.16433930397033691, -0.03377506509423256, -0.020622041076421738, -0.8118556141853333, -0.20454764366149902, 0.000709221581928432, -0.4597482681274414, -0.21204082667827606, 0.73564213514328, -0.48506060242652893, -0.6890003085136414, 0.23474664986133575, 0.6583160161972046, 0.192210391163826, 0.07816733419895172, -0.3888605237007141, -0.5618095993995667, -0.21976959705352783, -0.13908229768276215, 0.5929993391036987, 0.24426908791065216, -0.15172964334487915, 1.0032830238342285, 0.771202564239502, 0.10981350392103195, -0.024227483198046684, 0.1426336020231247, 0.9458953142166138, -0.4742787778377533, -0.513278067111969, -0.5204074382781982, 0.1655186414718628, -0.21946530044078827, -0.16026531159877777, 0.4230181872844696, 0.6146887540817261, 0.45223918557167053, 0.03070136159658432, 0.44294068217277527, 0.09461463987827301, 0.7748266458511353, -0.6346579790115356, 1.1983360052108765, -0.7033547163009644, 0.0022252011112868786, -0.12170463055372238, -0.4963265061378479, -0.7831798195838928, -0.0030256863683462143, -0.45061925053596497, 0.14955292642116547, 0.6311270594596863, 0.892034113407135, 0.18586252629756927, -0.2366073876619339, 0.6635666489601135, 0.4555942118167877, 0.440321683883667, 0.5050910115242004, 0.6074572205543518, -0.3110596239566803, 0.5373576283454895, -0.15137332677841187, -0.17454586923122406, -0.12843674421310425, -0.5657171607017517, -0.6171306371688843, -0.22212719917297363, -0.2128341943025589, -0.5776147842407227, 0.17555871605873108, 0.9249457120895386, 0.6921809911727905, -0.551253616809845, 0.18279266357421875, 0.4487353563308716, 0.2657690644264221, -0.4041966199874878, -0.2382292002439499, 0.688191831111908, -0.11907237023115158, -0.4700385630130768, 0.6076391339302063, 0.21849007904529572, -0.21526461839675903, 0.13446886837482452, -0.16838155686855316, -0.11728010326623917, 0.03830110281705856, 0.9721288681030273, 0.1979251503944397, -0.44139301776885986, -0.3272548019886017, 0.21571409702301025, -0.1391681581735611, 0.15999166667461395, 0.7380167245864868, -1.0663461685180664, 0.5357137322425842, 0.5385211110115051, 0.8686065077781677, 0.007896396331489086, 0.24099592864513397, 0.47813379764556885, -0.6527323722839355, -0.5194773077964783, 0.41899940371513367, 0.17977941036224365, 0.2760588228702545, -0.4425159990787506, 0.5321468710899353, 0.13222439587116241, -0.8152182698249817, -0.8467044830322266, 0.3013691008090973, -1.0713248252868652, -0.2624644637107849, 1.421223521232605, 0.1193859651684761, 0.17623594403266907, -0.15320540964603424, -0.249651238322258, 0.31981533765792847, -0.027734635397791862, 1.042849063873291, 0.6836091876029968, -0.4039309322834015, 0.0776122659444809, -0.640311598777771, 0.540671169757843, 0.5110765695571899, -1.0546197891235352, -0.11777593940496445, 0.3867887556552887, 0.5373638868331909, 0.15997634828090668, 0.9223418831825256, -0.554354727268219, 0.3849501609802246, -0.6294514536857605, -0.101316437125206, -0.1458439826965332, -0.27504563331604004, 0.02626284584403038, 0.6059844493865967, 0.34849813580513, -0.06185540184378624 ]
http://arxiv.org/abs/2403.05846v1
http://arxiv.org/pdf/2403.05846v1
Diffusion Lens: Interpreting Text Encoders in Text-to-Image Pipelines
2024-03-09T09:11:49
2024-03-09T09:11:49
Michael Toker, Hadas Orgad, Mor Ventura, Dana Arad, Yonatan Belinkov
cs.CV
cs.CV, cs.CL, I.2.7; I.4.0
Text-to-image diffusion models (T2I) use a latent representation of a text prompt to guide the image generation process. However, the process by which the encoder produces the text representation is unknown. We propose the Diffusion Lens, a method for analyzing the text encoder of T2I models by generating images from its intermediate representations. Using the Diffusion Lens, we perform an extensive analysis of two recent T2I models. Exploring compound prompts, we find that complex scenes describing multiple objects are composed progressively and more slowly compared to simple scenes; Exploring knowledge retrieval, we find that representation of uncommon concepts requires further computation compared to common concepts, and that knowledge retrieval is gradual across layers. Overall, our findings provide valuable insights into the text encoder component in T2I pipelines.
[ -0.13481859862804413, -0.9270173907279968, 1.0821385383605957, -0.046071793884038925, -0.3374668061733246, 0.04111660644412041, 0.1713564246892929, -0.204347163438797, -0.2239713966846466, 0.35870614647865295, -0.5108949542045593, -0.3371436297893524, -1.0833208560943604, 0.009639126248657703, -0.6549170017242432, 0.7474415898323059, -0.1604795604944229, 0.053005293011665344, -0.1237797886133194, 0.12931329011917114, -0.3749309480190277, 0.19573743641376495, -0.9532131552696228, -0.48407232761383057, 0.4997875988483429, 0.06287819892168045, 0.5697870254516602, 0.4531407952308655, 0.45624983310699463, 0.2497837245464325, -0.3219476640224457, 0.0453825481235981, -0.42644646763801575, 0.09050194174051285, 0.038128409534692764, -0.5458289980888367, 0.157639279961586, -0.31995251774787903, 0.8300436735153198, 0.7091287970542908, 0.14370138943195343, -0.10113133490085602, 0.16555848717689514, 0.5473824739456177, -0.5939351320266724, -0.2295900583267212, -0.18362289667129517, 0.4805298149585724, -0.3394313156604767, -0.30376195907592773, -0.5979001522064209, -0.14574001729488373, 0.38619109988212585, -0.6991710662841797, 0.3969149887561798, 0.020274534821510315, 0.5172068476676941, 0.19892960786819458, -0.6503021717071533, -0.6033012270927429, -0.8913072943687439, 0.6351975202560425, -0.28019505739212036, 0.17738544940948486, -0.10562943667173386, 0.2655313014984131, 0.09598833322525024, -0.9007774591445923, -0.6409828066825867, 0.2514239251613617, -0.171239972114563, 0.3530069589614868, -0.2597845494747162, -0.04626518860459328, 0.07514329999685287, 0.20235773921012878, -0.5797647833824158, -0.26387152075767517, -0.5421407222747803, 0.08508924394845963, 0.2427493929862976, 0.21475115418434143, 0.4978390038013458, -0.04097912833094597, -0.21925464272499084, 0.09512864798307419, -0.39463385939598083, -0.3151663839817047, 0.2890227437019348, -0.5555562973022461, -0.18159903585910797, 0.7101277112960815, 0.34996333718299866, 0.7533655762672424, 0.22050926089286804, -0.2643669545650482, 0.16391538083553314, -0.30491793155670166, -0.04497316852211952, -0.0006277240463532507, 0.790638267993927, 0.6360952258110046, 0.19529734551906586, -0.4269472062587738, -0.23765361309051514, 0.02661428600549698, 0.19104479253292084, -0.93400639295578, -0.013539480976760387, 0.12788847088813782, -0.8200563788414001, -0.3721696138381958, 0.05894842371344566, -0.862357497215271, -0.40946805477142334, 0.149308979511261, 0.4265275001525879, -0.24988491833209991, -0.4412926733493805, 0.01129960361868143, -0.9799854755401611, 0.1353287696838379, 0.35329532623291016, -0.6448543071746826, 0.28788772225379944, 0.47244688868522644, 1.340826392173767, -0.5470911860466003, 0.06155797839164734, -0.1598801463842392, 0.44525906443595886, -0.5877611041069031, 1.2445483207702637, -0.9289433360099792, -0.9105328917503357, 0.28975269198417664, 0.08634068816900253, -0.10071687400341034, -0.6558336615562439, 0.2257142812013626, -0.759821891784668, 0.32657572627067566, -0.08033230900764465, -0.7437317967414856, -0.12731210887432098, 0.0710824579000473, -0.6776958703994751, 0.9922681450843811, 0.19765661656856537, -0.8761009573936462, 0.23014318943023682, -0.878233790397644, -0.27190908789634705, -0.015905926004052162, -0.13543763756752014, -0.1444481909275055, 0.07673892378807068, -0.1308630257844925, 0.3730650246143341, -0.31253334879875183, 0.18572430312633514, -0.3442917764186859, -0.2665626108646393, 0.4014286398887634, -0.48979178071022034, 0.44362908601760864, 0.19520960748195648, -0.054331567138433456, -0.21463890373706818, -0.4714011251926422, -0.496875524520874, -0.014335080049932003, -0.10816138237714767, -0.337017685174942, 0.17650862038135529, 0.23359079658985138, -0.07892661541700363, 0.15176084637641907, -0.6329268217086792, 0.1080731600522995, -0.11831884831190109, 0.6776179075241089, 0.5887168645858765, 0.6682094931602478, 1.0855457782745361, 0.06898093223571777, 0.46413472294807434, 0.7497376799583435, -0.005444811657071114, -0.5717933773994446, -0.9948166012763977, -0.8567644357681274, 0.30439814925193787, -0.048892103135585785, 0.6050019264221191, -0.9227635860443115, -0.24023489654064178, -0.08401181548833847, -0.19080045819282532, -0.43088072538375854, -0.012649156153202057, 0.09436672925949097, 0.7056776285171509, 0.23891903460025787, -0.27620986104011536, 0.09447544068098068, -0.8367035984992981, -0.1716107577085495, 0.007166045717895031, -0.2442207932472229, 0.21829961240291595, 0.6705862283706665, -0.5639195442199707, 0.9770551919937134, -0.8731388449668884, -0.16360947489738464, 0.05271480605006218, 0.5862830877304077, -0.0045186253264546394, 0.47581589221954346, 0.4077143371105194, -0.9541840553283691, -0.43254736065864563, -0.025676609948277473, -0.9059889912605286, -0.11084926873445511, -0.14569416642189026, -0.28334668278694153, 0.12351754307746887, 0.797132134437561, -0.6591811776161194, 0.5785267949104309, 0.2650260329246521, -0.5229619145393372, 0.27163973450660706, -0.24077720940113068, 0.19044312834739685, -1.1778626441955566, 0.14499853551387787, 0.3806544244289398, -0.2749173045158386, -0.6153634190559387, -0.15634892880916595, -0.0845237672328949, -0.11578860878944397, -0.2976342439651489, 0.6639868021011353, -0.5233193039894104, -0.10448651760816574, -0.22698822617530823, 0.23428846895694733, 0.2521904408931732, 0.03480884060263634, 0.4011184573173523, 0.9938580393791199, 0.5982388854026794, -0.7913914918899536, 0.21976976096630096, 0.0681946724653244, -0.43981868028640747, 0.6623579263687134, -0.9314225912094116, 0.3558287024497986, -0.5262616872787476, 0.20984062552452087, -1.2201849222183228, -0.17147491872310638, 0.5685980319976807, -0.1832171529531479, 0.2529113292694092, -0.20578457415103912, -0.5661254525184631, -0.29240748286247253, -0.021217677742242813, 0.6716276407241821, 0.7145811915397644, -0.2628238797187805, 0.6956339478492737, 0.1575545072555542, -0.12859377264976501, -0.21078594028949738, -1.1379462480545044, -0.13894258439540863, -0.17322437465190887, -0.6910189986228943, 0.614541232585907, -0.1875586360692978, -0.28992000222206116, 0.41800257563591003, 0.22155463695526123, -0.6365190744400024, -0.2626842260360718, 0.1589709371328354, -0.014657787047326565, -0.1908663809299469, 0.09844134747982025, 0.540917158126831, -0.16176368296146393, 0.12956972420215607, -0.6290034055709839, 0.08000706881284714, 0.5897382497787476, -0.18390241265296936, -0.40506264567375183, 0.6529000997543335, 0.3132275640964508, 0.08647595345973969, 0.7797127962112427, 0.7827090620994568, -0.23179946839809418, 0.051802121102809906, -0.3164750635623932, 0.0155213987454772, -0.48561421036720276, 0.20426662266254425, -0.3388898968696594, -0.5609682202339172, 0.5706343054771423, -0.30757996439933777, -0.12581996619701385, 0.520650327205658, 0.33816781640052795, -0.3141610324382782, 1.0037028789520264, 0.5119687914848328, 0.4208918511867523, 0.6142661571502686, -0.6110091209411621, 0.09273526817560196, -0.8964294195175171, -0.6345574855804443, -0.2529330551624298, -0.2313576638698578, -0.13247917592525482, -0.8501482605934143, 0.5090151429176331, -0.079224593937397, -0.16305625438690186, -0.3015408217906952, -0.38203829526901245, 0.7234482169151306, 0.3991585671901703, 0.3600575625896454, 0.3605418801307678, 0.25060591101646423, 0.00766576174646616, -0.04421273246407509, -0.522652268409729, -0.5399192571640015, 0.9177546501159668, 0.29054298996925354, 0.5816223621368408, 0.21303199231624603, 0.3921745717525482, 0.6213122606277466, -0.018971549347043037, -0.7324855923652649, 0.4652046263217926, -0.34751737117767334, -0.41248729825019836, 0.1083177849650383, -0.1318858116865158, -0.7949762344360352, -0.018066275864839554, -0.0910649448633194, -0.3961229622364044, 0.3560963273048401, -0.08901142328977585, -0.1393471211194992, 0.25293922424316406, -0.9315091371536255, 0.8224982619285583, 0.3399695158004761, -0.3691730499267578, -0.33946526050567627, -0.46352922916412354, 0.15078414976596832, -0.1263725906610489, 0.11429689079523087, 0.45625630021095276, -0.5071082711219788, 0.8513942360877991, -0.24963943660259247, 0.6975425481796265, -0.33361610770225525, -0.1512160301208496, 0.5661267638206482, 0.16624175012111664, 0.09651274979114532, 0.01251111552119255, -0.04460904374718666, 0.13405045866966248, -0.3049885630607605, -0.38750770688056946, -0.7670347094535828, 0.3706025183200836, -0.593002438545227, -0.4281516969203949, -0.33192625641822815, -0.14982442557811737, 0.2870737910270691, 0.17746961116790771, 0.8756300210952759, 0.7297624349594116, -0.11221735924482346, -0.10542910546064377, 0.9648059606552124, -0.22216202318668365, 0.8098365664482117, 0.2333742082118988, -0.056278642266988754, -0.08893844485282898, 0.749945878982544, 0.22413387894630432, 0.39322158694267273, 0.5197632312774658, -0.011637547053396702, -0.32588711380958557, -0.621199369430542, -0.7679355144500732, 0.172679603099823, -0.7405078411102295, -0.0802256241440773, -0.7022444009780884, -0.12267789244651794, -0.014080125838518143, -0.2572968304157257, -0.11712756007909775, -0.20826289057731628, -1.0810976028442383, 0.09713590890169144, 0.29077860713005066, 1.168626070022583, 0.3554808497428894, 0.6263514161109924, -0.784910261631012, 0.27590176463127136, 0.3079032003879547, 0.30354776978492737, 0.16695208847522736, -0.6338791847229004, -0.2920890152454376, -0.10126610845327377, -0.45525050163269043, -1.1390548944473267, 0.26497316360473633, 0.4060113728046417, 0.0710463747382164, 0.8338891267776489, -0.3220199942588806, 0.7607234120368958, -0.8992286324501038, 1.3167678117752075, 0.33377522230148315, -0.8624971508979797, 0.7483717203140259, -0.32674965262413025, 0.41534796357154846, -0.019327569752931595, 0.4140235185623169, -0.42832842469215393, -0.5187686085700989, -0.3786444365978241, -0.5053454041481018, 0.49268051981925964, 0.13569219410419464, 0.3070020377635956, -0.11441957205533981, 0.6495136022567749, 0.15443097054958344, -0.0013774242252111435, -0.5602051615715027, -0.26776736974716187, -0.11098939925432205, -0.4773806929588318, 0.1226939857006073, -0.5901244282722473, -0.06099797412753105, 0.2904074490070343, 0.17528383433818817, 0.06552360206842422, 0.7546610236167908, 0.5613675713539124, -0.3203899562358856, -0.09639129042625427, 0.0715666338801384, 0.2577156126499176, 0.239095538854599, 0.11509212851524353, 0.07169398665428162, -0.23710134625434875, -0.6571708917617798, 0.15332774817943573, -0.23876440525054932, -0.5482759475708008, 0.36199086904525757, 0.4878369867801666, 0.8682618141174316, 0.14293397963047028, -0.2925174832344055, 0.7433418035507202, 0.02233186922967434, -0.29164788126945496, -0.37494710087776184, 0.08861585706472397, -0.06779215484857559, 0.48277029395103455, 0.6391687393188477, 0.49399611353874207, 0.8581635355949402, -0.4123016595840454, -0.03837325796484947, 0.1689620018005371, -0.3869234621524811, -0.5387409925460815, 0.7134301066398621, 0.4454382061958313, -0.3372691869735718, 0.5718327760696411, -0.24434490501880646, -0.2771586775779724, 0.5400079488754272, 0.5616765022277832, 0.8904247879981995, 0.053561534732580185, 0.5914552807807922, 0.23594129085540771, 0.12384650111198425, -0.37441450357437134, -0.05525416135787964, -0.07850560545921326, -0.7764179706573486, -0.25792351365089417, -0.18294906616210938, -0.12483368813991547, -0.3197241425514221, -0.5387634634971619, -0.026273082941770554, -0.1694880574941635, -0.29269155859947205, 0.06486613303422928, -0.4238528609275818, -0.5408062934875488, 0.19514529407024384, 0.2111968994140625, 0.8045284152030945, -0.930441677570343, 0.6517637372016907, 0.5663183927536011, -0.31661659479141235, -0.3554653823375702, 0.2733250856399536, -0.11603029072284698, -0.5488762855529785, 0.8483788371086121, 0.14309832453727722, -0.07773899286985397, 0.05581973120570183, -0.5603748559951782, -0.354836642742157, 1.177789330482483, 0.20639096200466156, -0.3580020070075989, -0.23173788189888, 0.16722121834754944, 0.5305303931236267, -0.6745234131813049, 0.5969598293304443, 0.3835480809211731, 0.3525331914424896, 0.30985209345817566, -0.22955642640590668, -0.15316987037658691, -0.3067193925380707, 0.47532927989959717, 0.11008942127227783, -0.4395557641983032, 0.7191356420516968, -0.2106173187494278, -0.5282957553863525, 0.15602557361125946, 0.46472740173339844, -0.13115572929382324, 0.8688068389892578, 0.34603920578956604, 0.5204726457595825, 0.6190397143363953, -0.1598109006881714, 1.1705642938613892, -0.004380472935736179, 0.2930527627468109, 0.5448057651519775, -0.13303446769714355, 0.8384407162666321, 0.5738655924797058, -0.010732335038483143, 1.0458258390426636, 0.7599104046821594, -0.1269586980342865, 0.7913075685501099, -0.45774853229522705, -0.48682549595832825, 0.10110949724912643, -0.13794338703155518, -0.31252768635749817, -0.18498429656028748, 0.3855321407318115, -0.7340664863586426, 0.012037098407745361, 0.3125160038471222, -0.29314297437667847, -0.24830350279808044, -0.329570472240448, 0.994080662727356, 0.1008654236793518, -0.6307047009468079, -0.030638722702860832, -0.11256089806556702, 0.724392831325531, -0.3251512944698334, -0.18451234698295593, -0.1670258790254593, -0.0529126301407814, -0.23997412621974945, -1.2953671216964722, 0.5194169282913208, 0.18956951797008514, -0.538382351398468, -0.3198944926261902, 0.9289839863777161, -0.6095700860023499, -0.5905953049659729, 0.3279128670692444, 0.2708328664302826, 0.24810345470905304, 0.009145536459982395, -0.5686832666397095, -0.010234926827251911, -0.09444152563810349, -0.3435666263103485, -0.14172641932964325, 0.770759642124176, 0.3881058692932129, 0.47689884901046753, 0.2321750670671463, -0.14512407779693604, 0.265619695186615, 0.1238119900226593, 0.6890844702720642, -0.6220849752426147, -0.2734752595424652, -0.8842753171920776, 0.8110215663909912, -0.13020937144756317, -0.15368255972862244, 0.43000176548957825, 0.6542550921440125, 0.3683123290538788, -0.42046189308166504, 0.7905687093734741, 0.15458771586418152, 0.22350673377513885, -0.7821668386459351, 0.6289664506912231, -0.6996988654136658, 0.21148771047592163, -0.20804986357688904, -1.0306118726730347, -0.16181974112987518, 0.6068152189254761, -0.19207605719566345, -0.08091563731431961, 0.9316716194152832, 0.8307756185531616, -0.1887461096048355, 0.0821973979473114, -0.03012351505458355, 0.15119950473308563, 0.04644269496202469, 0.2905925512313843, 0.7100504040718079, -0.6974525451660156, 0.6151002049446106, 0.22871799767017365, -0.0488257072865963, 0.05641035735607147, -0.6316356658935547, -0.7450746893882751, -0.6793419122695923, -0.5808508396148682, -0.33887284994125366, -0.013695714063942432, 0.06397286057472229, 0.8162854909896851, -0.25061607360839844, -0.05464811250567436, -0.6640149354934692, 0.1466350555419922, 0.19677889347076416, -0.2540821135044098, 0.003584972582757473, -0.24733196198940277, -0.8891061544418335, -0.019333112984895706, 0.3436594307422638, 0.41829293966293335, -0.41058841347694397, -0.12523384392261505, 0.2223680168390274, 0.04083961620926857, 0.6475672721862793, -0.2988947629928589, -0.5434969663619995, 0.0871710404753685, 0.12561039626598358, 0.11302386224269867, 0.13395385444164276, 0.8275936841964722, -0.701306939125061, 0.673222541809082, 0.5795143246650696, 0.3452030122280121, 0.7827098965644836, -0.28280559182167053, 0.6252581477165222, -0.7062666416168213, 0.32888081669807434, -0.0746951624751091, 0.045135971158742905, 0.3574804365634918, -0.24641580879688263, 0.3899868428707123, 0.5536637902259827, -0.4335203468799591, -0.6364029049873352, 0.3442852795124054, -1.0033655166625977, -0.352201372385025, 1.377739667892456, -0.12364115566015244, -0.4567141830921173, -0.1063309758901596, -0.31136012077331543, 0.19014950096607208, -0.6218293309211731, 0.2583954632282257, 0.6972601413726807, 0.20167218148708344, -0.6597679853439331, -0.49263325333595276, 0.178331196308136, -0.006701595149934292, -0.533292829990387, -0.505272388458252, 0.4587719142436981, 0.4232332110404968, 0.35178419947624207, 0.7538853883743286, -0.24446775019168854, 0.013283067382872105, 0.21074603497982025, -0.5582612156867981, 0.41468310356140137, -0.20401409268379211, -0.4138393700122833, 0.19620686769485474, -0.2481207251548767, -0.20232276618480682 ]
http://arxiv.org/abs/2403.05845v1
http://arxiv.org/pdf/2403.05845v1
Reverse That Number! Decoding Order Matters in Arithmetic Learning
2024-03-09T09:04:53
2024-03-09T09:04:53
Daniel Zhang-Li, Nianyi Lin, Jifan Yu, Zheyuan Zhang, Zijun Yao, Xiaokang Zhang, Lei Hou, Jing Zhang, Juanzi Li
cs.CL
cs.CL, cs.AI
Recent advancements in pretraining have demonstrated that modern Large Language Models (LLMs) possess the capability to effectively learn arithmetic operations. However, despite acknowledging the significance of digit order in arithmetic computation, current methodologies predominantly rely on sequential, step-by-step approaches for teaching LLMs arithmetic, resulting in a conclusion where obtaining better performance involves fine-grained step-by-step. Diverging from this conventional path, our work introduces a novel strategy that not only reevaluates the digit order by prioritizing output from the least significant digit but also incorporates a step-by-step methodology to substantially reduce complexity. We have developed and applied this method in a comprehensive set of experiments. Compared to the previous state-of-the-art (SOTA) method, our findings reveal an overall improvement of in accuracy while requiring only a third of the tokens typically used during training. For the purpose of facilitating replication and further research, we have made our code and dataset publicly available at \url{https://anonymous.4open.science/r/RAIT-9FB7/}.
[ -0.2690657377243042, -0.5763994455337524, 0.4092058539390564, 0.23169998824596405, -0.581821084022522, 0.11879044026136398, 0.06997929513454437, -0.29198896884918213, 0.28372687101364136, 0.6583753228187561, -0.4745400846004486, -0.46024033427238464, -0.8070547580718994, 0.19633610546588898, -0.3458801805973053, 0.8459721207618713, 0.2559647560119629, 0.7071738243103027, -0.12905117869377136, -0.12149930745363235, -0.06918284296989441, -0.8325894474983215, -0.9250147342681885, -0.30856046080589294, 0.5147395133972168, 0.6952849626541138, 0.5321993827819824, 0.8554618954658508, 0.7059628963470459, 0.40636947751045227, 0.010725868865847588, 0.052216481417417526, -0.8116368055343628, -0.3438529074192047, 0.0667286142706871, -0.7000272870063782, -0.6923520565032959, -0.2449609637260437, 0.572869598865509, 0.8445063233375549, -0.09806055575609207, 0.4263797402381897, -0.46799999475479126, 1.1298863887786865, -0.7261629700660706, 0.14340396225452423, -0.48240038752555847, -0.13236995041370392, -0.24309216439723969, -0.5276750326156616, -0.8230862021446228, -0.7126386761665344, -0.32883957028388977, -0.5158972144126892, 0.270603746175766, -0.0225980281829834, 0.1473592072725296, 0.26585653424263, -0.21367287635803223, -0.0734487846493721, -0.6746959090232849, 0.7131257057189941, -0.8683090209960938, 0.6025091409683228, 0.5909990072250366, -0.013223058544099331, -0.026036882773041725, -0.7504881024360657, -0.568900465965271, 0.2631256878376007, 0.3204256296157837, -0.08613518625497818, 0.14106673002243042, -0.008079620078206062, 0.5193063020706177, 0.4023119807243347, -0.40983498096466064, 0.16657109558582306, -0.5846197605133057, -0.10728489607572556, 0.6756983995437622, 0.2881181836128235, 0.13590185344219208, 0.40690740942955017, 0.008141132071614265, -0.5542094111442566, -1.250054121017456, 0.22365640103816986, 0.30814653635025024, 0.22782497107982635, 0.13592104613780975, 0.6746072173118591, -0.4363063871860504, 0.4637865424156189, 0.3909757435321808, -0.08436397463083267, 0.5502414703369141, -0.22536571323871613, -0.35054877400398254, 0.4493432939052582, 0.5525412559509277, 0.09653083235025406, 0.2690142095088959, 0.11260819435119629, -0.30330702662467957, 0.07369886338710785, 0.2501077950000763, -1.2214378118515015, -0.1168200820684433, -0.18174494802951813, -0.1607365906238556, -0.4571392834186554, 0.10051894932985306, -0.35964253544807434, -0.3696821630001068, -0.2793736457824707, 0.6454287171363831, -0.34902793169021606, -0.005295774433761835, 0.42958691716194153, 0.4328418970108032, 0.1327468901872635, 0.43979084491729736, -1.347012996673584, 0.48923343420028687, 1.185156226158142, 0.5601087808609009, 0.31430986523628235, -0.18990497291088104, -0.6755136251449585, -0.40279266238212585, -0.886258602142334, 0.2833262085914612, -0.6087823510169983, -0.3913050889968872, -0.26960813999176025, -0.16759182512760162, 0.16439661383628845, -0.5238384008407593, 0.48225241899490356, -1.1344255208969116, 0.21118701994419098, -0.32844704389572144, -0.45059728622436523, -0.401589035987854, -0.16412734985351562, -0.6501327753067017, 0.7109326720237732, -0.3005848526954651, -0.6085190773010254, 0.1777055263519287, -0.27729132771492004, -0.6721116304397583, -0.12657654285430908, -0.21996097266674042, -0.6289553046226501, 0.6331024765968323, 0.1727052479982376, 0.1787603199481964, -0.062325477600097656, -0.08761502057313919, -0.1894698590040207, -0.775882363319397, -0.007875162176787853, -0.7460749745368958, 0.8518424034118652, -0.013964740559458733, -0.4184739887714386, 0.1768994927406311, -0.8269467949867249, 0.009219452738761902, 0.2425774782896042, -0.4735986888408661, -0.3549971282482147, -0.11971260607242584, -0.8184199929237366, 0.21717824041843414, 0.1729339063167572, -0.4758944809436798, 0.26254963874816895, -0.8732650876045227, 0.29348912835121155, 0.8848863244056702, -0.04939386621117592, 0.9159348011016846, -0.1503322571516037, 0.4495159983634949, -0.1348559707403183, -0.08022590726613998, -0.2936064898967743, -0.4301723539829254, -0.9380031228065491, -0.08961944282054901, 0.34443312883377075, 0.5429967641830444, -0.8131391406059265, 0.3370357155799866, -0.5771278142929077, -0.3573923707008362, -0.6911729574203491, -0.040203992277383804, 0.6306246519088745, 0.46120935678482056, 0.44043415784835815, -0.5877652168273926, -0.5781818628311157, -0.39621180295944214, -0.08163785189390182, -0.21708500385284424, 0.04060423746705055, -0.13785286247730255, 0.12977319955825806, -0.02263851836323738, 0.4019128084182739, -0.6321592330932617, 0.11036782711744308, -0.12666574120521545, 0.2365988790988922, 0.4197670817375183, 0.5369568467140198, 0.007919359020888805, -0.9051979184150696, -0.2243509143590927, -0.19301685690879822, -0.5170606970787048, 0.05496598407626152, -0.09172657877206802, -0.24797840416431427, 0.43805044889450073, 0.6300179362297058, -0.47455906867980957, 0.6794440150260925, 0.3162072002887726, -0.23335717618465424, 0.32346057891845703, -0.2345835566520691, 0.1712370663881302, -0.7551067471504211, -0.2055543214082718, -0.5606396794319153, -0.3148897886276245, -0.7185379266738892, 0.006528264842927456, 0.3005175292491913, -0.06325217336416245, -0.4063923954963684, 0.2323557734489441, -0.35108333826065063, -0.29423680901527405, -0.04550940915942192, -0.6563152074813843, -0.021107913926243782, 0.5360273718833923, 0.08188597857952118, 0.9626936912536621, 0.16573481261730194, -0.4890844225883484, -0.20139466226100922, 0.0328984260559082, -0.29195839166641235, -0.07472258061170578, -0.42482617497444153, 0.42950063943862915, -0.1991214007139206, 0.13451053202152252, -1.1196759939193726, 0.2552225589752197, 0.35061538219451904, -0.8132169842720032, 0.5871526002883911, -0.24688641726970673, -0.4719052016735077, -0.11712928116321564, -0.3329450488090515, 0.8823281526565552, 0.7520959973335266, -0.4119510352611542, 0.37316274642944336, 0.24282978475093842, -0.5059567093849182, -0.6754838228225708, -0.3815549314022064, -0.08878709375858307, -0.14510928094387054, -0.38247546553611755, 0.23820124566555023, -0.13693350553512573, -0.2924996614456177, -0.6459256410598755, -0.4836380183696747, -0.07909813523292542, 0.22690729796886444, 0.18845951557159424, 0.22496800124645233, -0.38769280910491943, 0.11021322011947632, -0.043261073529720306, -0.5353560447692871, 0.43478918075561523, -0.40852683782577515, 0.7710818648338318, -0.06977785378694534, -0.41327184438705444, -0.3317490220069885, 0.22701169550418854, 0.7843054533004761, -0.3466132581233978, 0.5817304253578186, 0.3433920741081238, -0.3879481256008148, 0.03665195778012276, -0.2938813269138336, -0.387448251247406, -0.5805500149726868, 0.44960740208625793, -0.424425333738327, -0.46700409054756165, 0.21345394849777222, 0.004703974351286888, 0.21156634390354156, 0.12746264040470123, 0.633508563041687, 0.07525435090065002, 1.2271137237548828, 0.4632192850112915, -0.18477165699005127, 0.6258280277252197, -0.5546073317527771, 0.5143129825592041, -0.2589972913265228, -0.1998549997806549, -0.3218952417373657, -0.10057500749826431, -0.4177148938179016, -0.5493929982185364, 0.010982140898704529, 0.18429449200630188, -0.4481586217880249, 0.12633103132247925, -0.19860267639160156, 0.8190425634384155, 0.38804298639297485, 0.4908980131149292, 0.45736125111579895, 0.31666097044944763, 0.1258455067873001, -0.12349283695220947, -0.6206722259521484, -0.3229852616786957, 1.1271215677261353, 0.14462684094905853, 0.7407093048095703, 0.21145759522914886, 1.4668928384780884, 0.1958840936422348, 0.505689263343811, -0.9548742771148682, 0.8434300422668457, -0.3866482079029083, -0.13431577384471893, -0.8049734830856323, -0.6526421904563904, -0.9780160784721375, 0.43862250447273254, -0.03664692863821983, -0.1243126168847084, 0.010354597121477127, 0.02608530968427658, -0.38408204913139343, 0.24382933974266052, -0.7741032838821411, 0.37537315487861633, -0.2856866121292114, -0.41473281383514404, -0.5288258790969849, -0.6145170331001282, 0.19869114458560944, -0.14244715869426727, 0.5164746642112732, 0.17336907982826233, -0.06662701815366745, 0.8097010850906372, -1.0599509477615356, 0.7975115776062012, -0.08735784888267517, -0.42765718698501587, 0.07168059051036835, 0.39579084515571594, 0.5926652550697327, -0.19186915457248688, -0.023075498640537262, 0.10773274302482605, -0.4862879514694214, -0.53987717628479, -0.5858084559440613, 0.7465537190437317, -0.8798223733901978, -0.7250857353210449, -0.26653075218200684, -0.09730067104101181, -0.13905635476112366, 0.4935251772403717, 0.4572601616382599, 0.9953214526176453, 0.23628704249858856, 0.03673737868666649, 0.8725864887237549, 0.19239509105682373, 0.5178461074829102, 0.46226730942726135, -0.032464563846588135, -0.6587997674942017, 1.3071664571762085, 0.4711132347583771, 0.3009999990463257, 0.8857683539390564, 0.2016770839691162, -0.5492995977401733, -0.8362812399864197, -0.43771740794181824, 0.1488281935453415, -0.877941370010376, -0.15878482162952423, -0.38624727725982666, 0.1022954210639, -0.5829561948776245, -0.2523362934589386, -0.4059488773345947, -0.7746538519859314, -0.39482179284095764, -0.3833944797515869, 0.10787980258464813, 0.7584646940231323, 0.022937709465622902, 0.13208138942718506, -0.9028862714767456, 0.6359401345252991, 0.42175447940826416, 0.3384992778301239, 0.2771291136741638, -0.8134146928787231, -0.2377612143754959, 0.13517117500305176, 0.026205282658338547, -0.6278560161590576, 0.5363906621932983, 0.03159713000059128, 0.12441986054182053, 0.4048875868320465, 0.2146579623222351, 0.9251555800437927, -0.8325045704841614, 0.16008904576301575, 0.4474911093711853, -0.9589874744415283, 0.009722983464598656, -0.013182519935071468, 0.10500335693359375, 0.7091115117073059, 0.2668326497077942, -0.0971699133515358, 0.17671267688274384, -0.7835291028022766, -1.2733867168426514, 0.7355147004127502, 0.0886339619755745, 0.13073354959487915, 0.010096649639308453, 0.020413342863321304, 0.2271522879600525, 0.22745542228221893, -0.30733954906463623, -0.38445261120796204, -0.12979210913181305, -0.3188541531562805, -0.4125814437866211, -0.26265302300453186, 0.08368506282567978, -0.25987356901168823, 0.49276435375213623, 0.09319070726633072, 0.22617565095424652, -0.07350797206163406, -0.4429972767829895, -0.008987033739686012, 0.23524653911590576, 0.8645015358924866, 0.8506717085838318, -0.1017320454120636, 0.32052555680274963, 0.333403080701828, -0.8449404239654541, 0.2733370363712311, -0.1901206076145172, -0.14372572302818298, -0.11089852452278137, 0.6441060900688171, 0.5734239220619202, 0.4793555736541748, -0.22584936022758484, 0.45311757922172546, -0.04314035922288895, -0.13415896892547607, -0.241168811917305, -0.04844425991177559, -0.06908179819583893, 0.010149648413062096, 0.6029574871063232, 0.26809656620025635, 0.245077982544899, -0.36870455741882324, 0.3771823048591614, -0.0707177147269249, -0.03597034513950348, -0.5594477653503418, 0.20525121688842773, 0.41263872385025024, -0.7763849496841431, 0.6700918674468994, -0.09216924011707306, -0.5213983058929443, 0.7627259492874146, 0.6947019100189209, 0.8497925400733948, -0.06230516731739044, 0.001341571449302137, 0.3398972749710083, 0.08424872159957886, -0.31490379571914673, 0.5757982134819031, -0.2132091373205185, -0.6734542846679688, -0.6403964757919312, -0.3555927574634552, -0.4090272784233093, -0.3199409544467926, -0.8608149290084839, 0.068292997777462, -0.8308393955230713, 0.02528994157910347, 0.16218897700309753, 0.1552339345216751, -0.5273694396018982, 0.2333250641822815, 0.4623558819293976, 0.9526546597480774, -0.7620177865028381, 0.8465933799743652, 0.7003777027130127, -0.2071927934885025, -0.5758174061775208, -0.14457885921001434, -0.12335760146379471, -1.2999370098114014, 0.7740392088890076, 0.34911394119262695, -0.4975796937942505, 0.5729575753211975, -0.7038423418998718, -0.7939546704292297, 0.8752301931381226, 0.24842454493045807, -0.6669662594795227, 0.11891064047813416, 0.23332370817661285, 0.44676828384399414, -0.2943814992904663, 0.3714044392108917, 0.30880284309387207, 0.11056919395923615, 0.4098307490348816, -0.5217417478561401, 0.03456049785017967, -0.2068665623664856, -0.23318134248256683, 0.5717446208000183, -0.44577401876449585, 0.7531158924102783, -0.7750800848007202, -0.3371588885784149, -0.05885066092014313, 0.5330896973609924, 0.46661344170570374, 0.5290727615356445, 0.4191293716430664, 0.8079628348350525, 0.683333694934845, 0.088704913854599, 0.9679877161979675, -0.02212662249803543, 0.1563558727502823, 1.0178391933441162, -0.09022697806358337, 1.0897908210754395, 0.6146961450576782, -0.5255679488182068, 0.29814037680625916, 0.599596381187439, 0.6994132399559021, 0.6018312573432922, 0.28758978843688965, -0.06282652914524078, -0.49281731247901917, 0.35014814138412476, -0.46274334192276, 0.11235972493886948, 0.22356843948364258, -0.15163807570934296, -0.02540069818496704, -0.41674211621284485, 0.23833434283733368, -0.09114090353250504, -0.728742778301239, 1.0034407377243042, 0.11698949337005615, -0.35719022154808044, 1.0359128713607788, -0.15548072755336761, 0.46995535492897034, -0.4449751675128937, -0.3730202913284302, -0.532117486000061, 0.49636971950531006, -0.23615694046020508, -0.629453718662262, 0.06095457449555397, -0.24323001503944397, -0.35318848490715027, -0.48099279403686523, 0.23114578425884247, -0.4052703082561493, -0.8195410966873169, -0.0858188197016716, 0.12925973534584045, 0.19192032516002655, 0.015175365842878819, -0.368947297334671, 0.04555913805961609, 0.17620350420475006, -0.1401975452899933, 0.5007153153419495, 0.5784664154052734, -0.4453663229942322, 0.7397630214691162, 1.006148338317871, -0.04826654493808746, 0.175079345703125, 0.27425417304039, 0.8483259677886963, -0.8065963983535767, -0.5580883622169495, -1.0730483531951904, 0.34953615069389343, 0.2574530839920044, -0.1964900642633438, 0.6400952935218811, 0.5258001089096069, 1.1626651287078857, -0.19666941463947296, 0.36743292212486267, 0.3499198257923126, 0.13564233481884003, -0.6332104802131653, 0.33774393796920776, -0.18296286463737488, 0.5258840918540955, -0.08225899189710617, -0.6964089274406433, -0.5958254933357239, 0.705345094203949, -0.5178550481796265, -0.13472072780132294, 0.3633699417114258, 0.7160810828208923, 0.2467467039823532, 0.08088420331478119, 0.3925324082374573, 0.18280400335788727, 0.06622582674026489, 0.42308005690574646, 0.8662042021751404, -0.6305758357048035, 0.5066081285476685, -0.3497127294540405, -0.30580732226371765, -0.38395240902900696, -0.4911384880542755, -0.595476508140564, -0.09771114587783813, -0.03717048838734627, -0.199290931224823, 0.06210843101143837, 1.062752366065979, 0.5993537306785583, -0.9841790199279785, -0.24413904547691345, -0.27557429671287537, 0.41847431659698486, -0.239046111702919, -0.0659317597746849, 0.35197827219963074, -0.09744779765605927, -0.6119433045387268, 0.19707751274108887, 0.1122576966881752, 0.22694820165634155, 0.23802374303340912, -0.3223996162414551, 0.07175549119710922, 0.08700497448444366, 0.8798113465309143, 0.3380461037158966, -0.5094044804573059, 0.007007373962551355, 0.36689096689224243, -0.19732119143009186, 0.21222683787345886, 1.1519240140914917, -0.8555818200111389, 0.36376604437828064, 1.1264256238937378, 0.7215604186058044, 0.46072614192962646, 0.4006657600402832, 0.5068050622940063, -0.39348146319389343, 0.03635657578706741, 0.30438315868377686, 0.23415285348892212, 0.1428741067647934, -0.2819138765335083, 0.5041372776031494, 0.24197718501091003, -0.3170551061630249, -0.7751389741897583, 0.1734251081943512, -0.6566416025161743, -0.08909960091114044, 0.985053539276123, -0.12445027381181717, -0.10827303677797318, -0.033500850200653076, -0.3822517991065979, 0.09285574406385422, -0.5885940194129944, 0.8064194917678833, 0.22952589392662048, -0.011370756663382053, -0.15513426065444946, 0.1425011307001114, 0.321353018283844, 0.6230610609054565, -0.4114381670951843, 0.2135537564754486, 0.2812535762786865, 0.13712818920612335, 0.2538297474384308, 0.8337421417236328, -0.2126418501138687, 0.3158854842185974, -0.0463610403239727, -0.14980074763298035, -0.15358467400074005, -0.6202639937400818, -0.7638775706291199, 0.024726172909140587, 0.19695203006267548, -0.4576854109764099 ]
http://arxiv.org/abs/2403.05820v2
http://arxiv.org/pdf/2403.05820v2
An Audio-textual Diffusion Model For Converting Speech Signals Into Ultrasound Tongue Imaging Data
2024-03-09T06:59:47
2024-03-12T11:26:07
Yudong Yang, Rongfeng Su, Xiaokang Liu, Nan Yan, Lan Wang
cs.SD
cs.SD, cs.CL, eess.AS
Acoustic-to-articulatory inversion (AAI) is to convert audio into articulator movements, such as ultrasound tongue imaging (UTI) data. An issue of existing AAI methods is only using the personalized acoustic information to derive the general patterns of tongue motions, and thus the quality of generated UTI data is limited. To address this issue, this paper proposes an audio-textual diffusion model for the UTI data generation task. In this model, the inherent acoustic characteristics of individuals related to the tongue motion details are encoded by using wav2vec 2.0, while the ASR transcriptions related to the universality of tongue motions are encoded by using BERT. UTI data are then generated by using a diffusion module. Experimental results showed that the proposed diffusion model could generate high-quality UTI data with clear tongue contour that is crucial for the linguistic analysis and clinical assessment. The project can be found on the website\footnote{https://yangyudong2020.github.io/wav2uti/
[ -0.25310218334198, -1.0106868743896484, 0.6459567546844482, 0.15130244195461273, -0.18483245372772217, -0.5701585412025452, 0.13552232086658478, -0.28600838780403137, 0.19953995943069458, 0.5278214812278748, -0.22293925285339355, -0.5796025395393372, -0.6035484671592712, -0.367557555437088, -0.8142690658569336, 0.7127495408058167, 0.12184581160545349, 0.28770723938941956, 0.4028560519218445, -0.17666824162006378, -0.7180786728858948, 0.1761680543422699, -0.967215895652771, -0.36296606063842773, -0.08985129743814468, 0.03627444803714752, 0.30937206745147705, 0.7556775212287903, -0.0902235135436058, 0.21087400615215302, -0.060960713773965836, -0.21783854067325592, -0.1753513216972351, 0.14858567714691162, 0.1518210619688034, -0.2514776587486267, -0.46100249886512756, 0.09825357794761658, 0.7657061815261841, 0.7053759694099426, -0.6107234358787537, -0.03525886312127113, 0.0034154511522501707, 0.5229020118713379, -0.19848768413066864, -0.18643943965435028, -0.13329392671585083, -0.18943016231060028, -0.11138104647397995, -0.10332564264535904, -0.5041043758392334, -0.35590416193008423, 0.25893139839172363, -0.5981019139289856, -0.0010721033904701471, -0.3012811839580536, 0.7289904952049255, 0.21664202213287354, -0.7109455466270447, -0.5122119188308716, -0.8731147646903992, 0.43160566687583923, -0.771192193031311, 0.7498564720153809, 0.12321636825799942, -0.08139447867870331, -0.08356098085641861, -0.5599789619445801, -0.4508175551891327, -0.04344230890274048, 0.029814792796969414, 0.37612223625183105, -0.19812628626823425, -0.1639200896024704, -0.38492217659950256, 0.008479434996843338, -0.8556342720985413, 0.031907323747873306, -0.2663494348526001, 0.022942954674363136, 0.5797027349472046, 0.14439606666564941, 0.5190422534942627, -0.05114531144499779, -0.303989440202713, 0.1559351086616516, -0.40959617495536804, 0.00559706287458539, 0.48209258913993835, 0.0498976893723011, -0.44566771388053894, 0.39359787106513977, 0.3088182806968689, 0.20233497023582458, 0.16934902966022491, -0.3717873692512512, 0.5457061529159546, -0.42298921942710876, -0.22540070116519928, 0.22743919491767883, 0.8091157674789429, 0.3126167356967926, 0.055299900472164154, -0.04845728725194931, -0.1978471875190735, -0.17444880306720734, 0.2758979797363281, -0.6884483695030212, -0.04042176902294159, 0.5101927518844604, -0.6588461399078369, -0.14353029429912567, -0.11888190358877182, -0.6856908202171326, -0.36612918972969055, -0.3761415183544159, 0.3781183660030365, -0.7819033861160278, -0.9269928932189941, 0.2318076640367508, -0.38841357827186584, 0.34113651514053345, 0.024371495470404625, -0.6582959294319153, 0.5082764029502869, 0.43932321667671204, 0.8349946737289429, -0.2679067850112915, 0.03398619964718819, -0.46725600957870483, 0.4952628016471863, -0.35343095660209656, 0.5523696541786194, -0.5381348729133606, -0.9151595830917358, 0.11894740164279938, -0.1322433352470398, -0.09716366231441498, -0.5275997519493103, 0.5080400705337524, -0.20384842157363892, -0.01708284020423889, 0.18186399340629578, -0.7405561208724976, -0.1743786484003067, -0.4391036927700043, -0.7238430976867676, 0.935126006603241, 0.07391777634620667, -0.6148380637168884, 0.2578391432762146, -0.9826616644859314, -0.47693300247192383, -0.05515630543231964, -0.03603314608335495, -0.3748042583465576, 0.03240641579031944, -0.08088832348585129, 0.13047611713409424, -0.053378477692604065, 0.5243258476257324, 0.18620194494724274, -0.23048928380012512, 0.40001076459884644, -0.41911354660987854, 0.7324002981185913, 0.4110069274902344, -0.4666251838207245, -0.17072108387947083, -0.7535183429718018, -0.2801044285297394, -0.01734488271176815, -0.5099440813064575, -0.7057257294654846, -0.23915903270244598, 0.3987036347389221, -0.3774595856666565, -0.12840262055397034, -0.7436324954032898, 0.09371834248304367, -0.6302843689918518, 0.3104066252708435, 0.3589990437030792, 0.27799856662750244, 0.7194666266441345, -0.1263146698474884, 0.21455977857112885, 0.12699288129806519, 0.11504294723272324, 0.2045382410287857, -1.0188111066818237, -0.5266732573509216, -0.2629634439945221, 0.3688509166240692, 0.5705839395523071, -0.4026232659816742, 0.28652268648147583, -0.4206186830997467, -0.2774423062801361, -1.201906681060791, -0.148586705327034, 0.34898555278778076, 0.7914334535598755, 0.3294253349304199, -0.28070560097694397, -0.48454368114471436, -0.7031825184822083, 0.10963551700115204, -0.30011633038520813, -0.32275938987731934, 0.5222849249839783, 0.208356112241745, -0.3566480875015259, 0.8121521472930908, -0.17359331250190735, -0.336689829826355, -0.11914357542991638, 0.8482593894004822, 0.08659322559833527, 0.7141313552856445, 0.5199359059333801, -0.888913631439209, -0.11805840581655502, -0.0024520757142454386, -0.6394785642623901, -0.6004223227500916, -0.09886892884969711, -0.5181900858879089, 0.2375607043504715, 0.2742195725440979, -0.5882182121276855, 0.5981912612915039, 0.4483279883861542, -0.46878689527511597, 0.2401105910539627, -0.1765214055776596, 0.4816571772098541, -1.2138251066207886, 0.30131250619888306, 0.42980995774269104, -0.06600738316774368, -1.0021860599517822, 0.03208772838115692, -0.06307724863290787, 0.0760243833065033, -0.47808510065078735, 0.7037078738212585, -0.3046099841594696, 0.18601654469966888, -0.4368036687374115, -0.034471187740564346, -0.15422776341438293, 0.0005464472924359143, 0.3943311274051666, 0.7178341746330261, 0.6411354541778564, -0.7793167233467102, -0.08352377265691757, 0.33425623178482056, 0.12299814820289612, 0.6162951588630676, -0.6068891286849976, 0.1063525453209877, -0.03183051198720932, 0.1160493716597557, -1.1866357326507568, 0.08227351307868958, 0.0034244428388774395, -0.6487692594528198, 0.6009880900382996, -0.48636335134506226, 0.07813827693462372, -0.04865561053156853, -0.3376961648464203, 0.5846678018569946, 0.9375165104866028, -0.5092824101448059, 0.9271249771118164, 0.6641566753387451, -0.36050277948379517, -0.34506577253341675, -0.8306822180747986, -0.07750418782234192, -0.3720654547214508, -0.5882970094680786, 0.34177350997924805, -0.07741954177618027, -0.20463424921035767, 0.08355206996202469, 0.1532779335975647, -0.25637221336364746, -0.1421843320131302, 0.47018128633499146, 0.17603428661823273, -0.4034298360347748, -0.0049603586085140705, 0.5102964639663696, -0.14175114035606384, 0.24281452596187592, -0.4366496801376343, 0.4409720003604889, 0.4737516939640045, -0.04140018671751022, -0.9407294988632202, 0.701631486415863, 0.42937496304512024, 0.07715947180986404, 0.27912232279777527, 0.9238675236701965, -0.3483375310897827, 0.2299363613128662, -0.6885358691215515, 0.14255473017692566, -0.40886780619621277, 0.20623165369033813, -0.39127159118652344, -0.25215384364128113, 0.2883010804653168, -0.3927241563796997, 0.01217859610915184, 0.24185067415237427, 0.6708313226699829, -0.3955456614494324, 1.1313793659210205, 0.4945823848247528, -0.08368603885173798, 0.30903956294059753, -0.705821692943573, -0.07916149497032166, -1.1144133806228638, -0.3677322566509247, -0.5444625020027161, -0.20144642889499664, -0.3308252692222595, -0.1584339141845703, 0.35065218806266785, -0.34543269872665405, -0.0884041041135788, -0.03492172062397003, -0.36863961815834045, -0.044419750571250916, 0.7219289541244507, 0.09117111563682556, 0.04011276364326477, -0.04253259673714638, -0.13518722355365753, -0.03880363330245018, -0.0010347713250666857, -0.571217954158783, 1.174062967300415, 0.48898211121559143, 0.6528350114822388, 0.5172362923622131, 0.7051340937614441, 0.7348924875259399, 0.2640690207481384, -0.7206102013587952, 0.44690170884132385, -0.3166469931602478, -0.31088972091674805, -0.49744656682014465, -0.16258862614631653, -1.1896576881408691, -0.07909409701824188, -0.006305128801614046, -0.7139159440994263, 0.25615325570106506, -0.09524304419755936, 0.025718536227941513, 0.16607457399368286, -1.0351659059524536, 0.4013623595237732, 0.2316528707742691, -0.21093541383743286, -0.125141441822052, -0.5865025520324707, 0.18595200777053833, -0.09124740213155746, 0.502855122089386, 0.11011620610952377, -0.2141561359167099, 1.0857958793640137, -0.47844746708869934, 0.6299189925193787, -0.9202331900596619, -0.32504042983055115, 0.45492810010910034, 0.2617003321647644, 0.21043714880943298, 0.24282795190811157, -0.24509650468826294, 0.13104231655597687, -0.313493013381958, -0.20098716020584106, -0.3264622092247009, 0.9018729329109192, -0.7777832746505737, -0.40791556239128113, 0.29924851655960083, -0.25562918186187744, -0.011464403942227364, -0.13625115156173706, 0.2711005210876465, 0.44302454590797424, -0.37709841132164, -0.3567039668560028, 0.6114349365234375, 0.08295001834630966, 0.6463949084281921, 0.6376358270645142, 0.2532120943069458, -0.2908470034599304, 0.8390064835548401, -0.09243343770503998, -0.14141742885112762, 0.07908293604850769, 0.26228198409080505, -0.7550734877586365, -1.1054201126098633, -0.7269334197044373, 0.6478838920593262, -0.43878892064094543, 0.07003439217805862, -0.5332213044166565, -0.1483415812253952, -0.6372849941253662, -0.010640976950526237, -0.3766631484031677, -0.17431841790676117, -0.49407151341438293, -0.10463493317365646, 0.34171804785728455, 0.8208630681037903, -0.046581655740737915, 0.27543535828590393, -0.6875377297401428, 0.40998512506484985, 0.15454789996147156, 0.0855267196893692, -0.17521877586841583, -0.9959629774093628, -0.1447383612394333, 0.1411878913640976, -0.15295252203941345, -1.0060032606124878, 0.7204816341400146, 0.3430396616458893, 0.4230553209781647, 0.37504035234451294, -0.2389499992132187, 0.7586683034896851, -0.5842708945274353, 0.9396569728851318, 0.1327962726354599, -1.0466578006744385, 0.8884276747703552, -0.2491651326417923, 0.15981796383857727, 0.3667486906051636, 0.3763452172279358, -0.23660902678966522, -0.8759850263595581, -0.366366446018219, -1.0216022729873657, 0.307688444852829, 0.34361836314201355, 0.10755834728479385, 0.12243197858333588, 0.7778810262680054, 0.5338898301124573, -0.18416829407215118, -0.5910313129425049, -0.3521857261657715, -0.27996355295181274, -0.6199949383735657, 0.381792813539505, -0.28304192423820496, -0.0413147397339344, -0.2595504820346832, 0.8355876207351685, 0.04941176995635033, 0.5072342753410339, 0.34466353058815, -0.24802349507808685, -0.15209241211414337, 0.36618077754974365, 0.3169092833995819, 0.04325886815786362, -0.08759324997663498, -0.03466004878282547, 0.035757873207330704, -1.041311502456665, 0.583046019077301, 0.05102236568927765, -0.25643762946128845, 0.2392377406358719, 0.2775658965110779, 0.557775616645813, -0.23054805397987366, -0.3982881009578705, 0.773025631904602, -0.2585412561893463, -0.466641902923584, -0.4651755690574646, 0.04783945530653, 0.163389652967453, 0.3309707045555115, 0.46006977558135986, -0.22790884971618652, 0.8854832649230957, -0.2257484495639801, 0.1441846638917923, 0.2809266448020935, -0.2902858853340149, -0.49184346199035645, 1.0873280763626099, 0.39658409357070923, -0.26686981320381165, 0.8542715907096863, 0.013163364492356777, 0.3370402157306671, 0.35062500834465027, 0.5596950054168701, 0.8418586850166321, -0.788085401058197, -0.013406678102910519, 0.3801754415035248, -0.09883932024240494, 0.20492199063301086, 0.480904757976532, 0.17784114181995392, -0.4813450276851654, -0.19252610206604004, -0.5680801272392273, 0.2692627012729645, 0.4546164274215698, -0.9446658492088318, 0.18753737211227417, 0.1536400467157364, -0.33221060037612915, 0.24357248842716217, -0.4998967945575714, -0.44999226927757263, 0.49091318249702454, 0.42656975984573364, 0.7426150441169739, -1.248769998550415, 1.210613489151001, 0.6653625965118408, -0.2790858745574951, -0.6716634631156921, 0.12199161946773529, -0.022544942796230316, -0.7407488822937012, 0.3332294523715973, -0.10215887427330017, -0.27101290225982666, 0.05513708293437958, -0.3435039222240448, -0.5361449122428894, 1.1177343130111694, 0.2145150899887085, -0.33008667826652527, -0.18260182440280914, 0.18524858355522156, 0.547747015953064, -0.5773000717163086, 0.4382944405078888, 1.1028332710266113, 0.5338262915611267, -0.0015515780542045832, -0.9647184014320374, 0.09079471230506897, -0.5166886448860168, 0.2953434884548187, 0.17402878403663635, -0.11210483312606812, 0.41242820024490356, -0.19875872135162354, -0.23858653008937836, 0.4062129557132721, 0.39113476872444153, 0.09788906574249268, 0.47019681334495544, 0.6909334659576416, 0.6062578558921814, 0.5005555748939514, -0.17869976162910461, 0.8058550357818604, -0.020022092387080193, -0.0010201598051935434, 0.6936241388320923, -0.250139981508255, 0.9293618202209473, 0.5602268576622009, 0.22007973492145538, 0.5195984244346619, 0.5195207595825195, 0.1071915477514267, 0.7953478693962097, -0.04605049639940262, -0.2549796998500824, 0.1853516846895218, -0.26421454548835754, -0.26670026779174805, 0.5082640051841736, 0.5823796391487122, -0.3393254280090332, 0.35500335693359375, 0.5043632388114929, -0.13251978158950806, -0.10747373849153519, -0.049597982317209244, 1.179802417755127, -0.39226844906806946, -0.37914013862609863, 0.6865378618240356, -0.14534436166286469, 0.7391760945320129, -0.3711013197898865, -0.3534509241580963, -0.38775160908699036, -0.37487778067588806, -0.10419712215662003, -0.9237269759178162, 0.25720375776290894, -0.01329791359603405, 0.022460374981164932, -0.05633869767189026, 0.3934846520423889, -0.45975205302238464, -0.08190180361270905, 0.5483155846595764, 0.4505559504032135, 0.5893610715866089, 0.4002869427204132, -0.4129077196121216, -0.07118140161037445, 0.009362716227769852, -0.39241909980773926, 0.07766162604093552, 0.3726847171783447, 0.17184299230575562, 0.5689229965209961, 0.36080726981163025, 0.4068288207054138, 0.11795365065336227, 0.6618953347206116, 0.5797516107559204, -0.6645568609237671, -0.5095999836921692, -0.5170899033546448, 0.8982987999916077, 0.0682484433054924, -0.14924617111682892, 0.14892078936100006, 0.8981412649154663, 0.22353395819664001, -0.1215977668762207, 0.9565269947052002, 0.19464384019374847, 0.6164299249649048, -0.8320086002349854, 0.8438782095909119, -0.7292197942733765, 0.23297260701656342, -0.2721085250377655, -0.2949819266796112, 0.07125553488731384, 0.37179481983184814, 0.2614826560020447, 0.1468653827905655, 0.7252537608146667, 0.7240301370620728, -0.15885528922080994, 0.09799797087907791, 0.18397419154644012, 0.4836488962173462, 0.2594229578971863, 0.2355411797761917, 0.5389607548713684, -0.6201464533805847, 0.548581063747406, 0.07481281459331512, -0.3404180705547333, -0.19378796219825745, -0.24861380457878113, -0.36410149931907654, -0.9173478484153748, -0.6690455675125122, -0.35064002871513367, 0.09155203402042389, 0.3093944787979126, 1.0203689336776733, -0.5857760906219482, -0.338188499212265, -0.31417158246040344, -0.46125248074531555, -0.13236784934997559, -0.29584163427352905, 0.4825532138347626, 0.1669645756483078, -0.9386550188064575, 0.6397093534469604, 0.181269109249115, 0.6107847094535828, -0.036829132586717606, -0.2743191421031952, -0.13851429522037506, 0.20567335188388824, 0.191739022731781, 0.032107796519994736, -0.843828558921814, -0.2251756340265274, -0.12552326917648315, 0.050778910517692566, 0.25694629549980164, 0.733919620513916, -0.6256251335144043, 0.4864329993724823, 0.030796600505709648, 0.24775083363056183, 0.726267397403717, 0.06033099442720413, 0.4803412854671478, -0.7511168122291565, 0.30920183658599854, 0.14551995694637299, 0.380656361579895, 0.15732043981552124, -0.3986932337284088, 0.45658984780311584, 0.16167186200618744, -0.3090541660785675, -0.6687166094779968, -0.11505429446697235, -1.2151198387145996, -0.24809019267559052, 1.4121594429016113, 0.0792069137096405, -0.4222736954689026, -0.55534428358078, -0.44898760318756104, 0.4484623372554779, -0.7498380541801453, 0.49434152245521545, 0.23243580758571625, -0.31388697028160095, -0.11828453838825226, -0.4969269037246704, 0.250929594039917, -0.04976809397339821, -0.550409734249115, -0.04476689547300339, 0.3718256652355194, 0.6404839158058167, 0.12435443699359894, 0.9026582837104797, -0.2516537010669708, 0.3737960159778595, 0.1586420238018036, 0.26722249388694763, 0.17108473181724548, -0.06039739027619362, -0.46660128235816956, 0.0569070540368557, 0.1432606279850006, -0.49229395389556885 ]
http://arxiv.org/abs/2403.05814v1
http://arxiv.org/pdf/2403.05814v1
MP2D: An Automated Topic Shift Dialogue Generation Framework Leveraging Knowledge Graphs
2024-03-09T06:28:48
2024-03-09T06:28:48
Yerin Hwang, Yongil Kim, Yunah Jang, Jeesoo Bang, Hyunkyung Bae, Kyomin Jung
cs.CL
cs.CL, cs.AI
Despite advancements in on-topic dialogue systems, effectively managing topic shifts within dialogues remains a persistent challenge, largely attributed to the limited availability of training datasets. To address this issue, we propose Multi-Passage to Dialogue (MP2D), a data generation framework that automatically creates conversational question-answering datasets with natural topic transitions. By leveraging the relationships between entities in a knowledge graph, MP2D maps the flow of topics within a dialogue, effectively mirroring the dynamics of human conversation. It retrieves relevant passages corresponding to the topics and transforms them into dialogues through the passage-to-dialogue method. Through quantitative and qualitative experiments, we demonstrate MP2D's efficacy in generating dialogue with natural topic shifts. Furthermore, this study introduces a novel benchmark for topic shift dialogues, TS-WikiDialog. Utilizing the dataset, we demonstrate that even Large Language Models (LLMs) struggle to handle topic shifts in dialogue effectively, and we showcase the performance improvements of models trained on datasets generated by MP2D across diverse topic shift dialogue tasks.
[ -0.2951197624206543, -0.7445459365844727, 0.7225102782249451, 0.0812780112028122, -0.32194557785987854, -0.011322840116918087, 0.15513022243976593, 0.11020375043153763, -0.25543758273124695, 0.7666037678718567, -0.9066495895385742, -0.2743746042251587, -0.557965099811554, -0.013155097141861916, -0.32762518525123596, 0.8740741014480591, 0.19790515303611755, 0.05056313797831535, -0.16840949654579163, 0.1087014302611351, -0.37211933732032776, 0.044474776834249496, -0.7191764116287231, -0.27236002683639526, 0.319057434797287, 0.5078727006912231, 0.6603140234947205, 0.5509256720542908, 0.22487053275108337, 0.1384897530078888, 0.04409770295023918, 0.40345820784568787, -0.31672441959381104, 0.20106060802936554, -0.23523472249507904, -0.42540210485458374, -0.02041703090071678, -0.2654004991054535, 0.6866041421890259, 0.7465170621871948, -0.34154564142227173, -0.06842470914125443, -0.2225753515958786, 0.393515408039093, -0.21468357741832733, 0.26798418164253235, -0.756013035774231, 0.20516176521778107, -0.3126395046710968, -0.13332884013652802, -0.41811642050743103, -0.5330935120582581, 0.4228595793247223, -0.631544291973114, 0.02716835029423237, -0.18727093935012817, 0.7307137846946716, 0.4444347321987152, -0.8566365838050842, -0.21274934709072113, -0.600386917591095, 0.25166210532188416, -0.6483880281448364, 0.3280709683895111, 0.2114451676607132, 0.37108805775642395, -0.14608235657215118, -0.9783097505569458, -0.7255740761756897, 0.21209268271923065, 0.13812142610549927, -0.08248831331729889, -0.11060336232185364, -0.07897234708070755, 0.19773025810718536, -0.10463036596775055, -0.4521852731704712, -0.19169780611991882, -0.2486027330160141, -0.07128110527992249, 0.4799366295337677, 0.4061903655529022, 0.311732679605484, -0.24106524884700775, -0.1042926162481308, -0.17643462121486664, -0.7387598156929016, -0.09842308610677719, 0.4259311258792877, 0.3140062987804413, 0.04129418358206749, 0.4428914785385132, -0.20495662093162537, 0.8848585486412048, 0.14855465292930603, -0.2893774211406708, 0.08614382892847061, -0.4794500470161438, 0.11843382567167282, 0.013167785480618477, 0.6427533626556396, 0.881741464138031, 0.040930405259132385, -0.19650544226169586, 0.3289703130722046, -0.18286581337451935, 0.2886360287666321, -1.0580202341079712, -0.4299151301383972, 0.057561419904232025, -0.4404531419277191, -0.4248230755329132, -0.17776373028755188, -1.0087013244628906, -0.5116024613380432, -0.2200217992067337, 0.0760069414973259, -0.2608872056007385, -0.5750083327293396, -0.06306762248277664, -0.24632909893989563, 0.3047354519367218, 0.4351534843444824, -0.7096547484397888, 0.32114335894584656, 0.5878803730010986, 0.9751613736152649, -0.515021026134491, -0.1366453468799591, -0.47911325097084045, 0.4891398549079895, -0.46733611822128296, 0.8739034533500671, -0.6349095106124878, -0.7043492794036865, 0.04299135506153107, 0.030270887538790703, -0.3592832684516907, -0.4077746570110321, 0.22965353727340698, -0.1984899491071701, 0.5301223397254944, -0.14758825302124023, -0.5664394497871399, 0.16505680978298187, 0.23785914480686188, -0.3764464259147644, 0.846655547618866, -0.01102796383202076, -0.8546248078346252, 0.10537856072187424, -1.1101714372634888, -0.5334272980690002, -0.2650541365146637, -0.1505192071199417, -0.29862552881240845, -0.12664927542209625, 0.19839520752429962, -0.028812170028686523, -0.5155642628669739, 0.3280283510684967, -0.1997028887271881, 0.15578694641590118, 0.5709725618362427, -0.5529801845550537, 0.6166592836380005, 0.4876940846443176, -0.2541794180870056, -0.1427289843559265, -0.4433099329471588, 0.0986490324139595, 0.029696131125092506, -0.01130831241607666, 0.05399663373827934, 0.20468029379844666, -0.07817206531763077, 0.5866831541061401, -0.10278022289276123, -0.32905808091163635, 0.3267607092857361, -0.42153748869895935, 0.6149565577507019, 0.6552053689956665, 0.5586206912994385, 0.5071561336517334, -0.2746752202510834, 0.40603819489479065, 0.39113086462020874, -0.028601642698049545, -0.19952568411827087, -0.8216131925582886, -0.7276726365089417, 0.28122296929359436, 0.19995513558387756, 0.7385730743408203, -0.8988186120986938, 0.5047677755355835, -0.08577292412519455, -0.26944655179977417, -0.4999488294124603, -0.08751142770051956, 0.005840663332492113, 0.6387411952018738, 0.15309767425060272, -0.07702099531888962, 0.01868683286011219, -0.7201365232467651, 0.022353338077664375, -0.48233872652053833, 0.0890997126698494, 0.4577469527721405, 0.03515832871198654, -0.23602524399757385, 1.255422830581665, -0.9417145848274231, 0.09962952882051468, -0.2420714646577835, 0.5041025876998901, -0.16944286227226257, 0.4244648218154907, 0.2479202151298523, -0.9826787114143372, -0.5338561534881592, -0.2448011189699173, -0.4433659017086029, -0.33744901418685913, -0.375288188457489, -0.6726256012916565, 0.19938388466835022, 0.6668383479118347, -0.8495047092437744, 0.28904858231544495, 0.32516610622406006, -0.5247736573219299, 0.36563777923583984, 0.20383258163928986, 0.14193055033683777, -1.7976988554000854, 0.06583331525325775, -0.3308405876159668, -0.04936517775058746, -0.7680031657218933, -0.5692077279090881, -0.17582553625106812, -0.5654820799827576, -0.27687129378318787, 0.5725011825561523, -0.07824037224054337, -0.22132056951522827, -0.05645390972495079, 0.15096205472946167, -0.13641493022441864, 0.41635313630104065, 0.3968665301799774, 0.7477653622627258, 0.4816266596317291, -0.5722107291221619, 0.3067222833633423, 0.7879370450973511, -0.2720637619495392, 0.8136261105537415, -0.344686895608902, 0.5383087992668152, 0.12081412225961685, 0.6084242463111877, -1.2301286458969116, -0.060326095670461655, 0.4208517074584961, -0.22525760531425476, 0.23080794513225555, -0.5727863311767578, -0.3237234055995941, -0.013418910093605518, 0.07657889276742935, 0.0689910501241684, 0.25981470942497253, -0.1893291175365448, 0.30496102571487427, 0.39838698506355286, -0.9416293501853943, -0.22741368412971497, -0.3253379464149475, 0.440605491399765, -0.2663189768791199, -0.9468687772750854, 0.3602711260318756, -0.22583413124084473, -0.3154449462890625, -0.021589314565062523, -0.1441182792186737, -0.21265649795532227, -0.019580360502004623, 0.08880989998579025, 0.01125546358525753, -0.07595499604940414, 0.4718286693096161, 0.4329065680503845, -0.26972004771232605, 0.17615316808223724, -0.6147996187210083, 0.7182984948158264, 0.36422303318977356, -0.3608796000480652, -0.448409765958786, 0.5025379657745361, 0.6455796957015991, -0.17206686735153198, 0.4987371861934662, 0.5382195711135864, -0.11494636535644531, -0.09681041538715363, -0.3019733130931854, -0.27111515402793884, -0.4305349588394165, 0.45505717396736145, -0.433989942073822, -0.5833510756492615, 0.20516537129878998, -0.6403823494911194, 0.32023748755455017, 0.29893043637275696, 0.5650393962860107, -0.34912070631980896, 1.0254780054092407, 0.362904816865921, 0.24155598878860474, 0.6431354284286499, -0.23450899124145508, 0.2532423138618469, -0.6511951088905334, -0.2063819020986557, -0.47973740100860596, -0.2630104422569275, -0.5101800560951233, -0.8168115019798279, 0.465692400932312, -0.00554274907335639, 0.023725014179944992, 0.005143498536199331, -0.24297098815441132, 0.2928982973098755, 0.2442113608121872, -0.2109828144311905, 0.18659286201000214, 0.14999721944332123, 0.08747278153896332, -0.33188554644584656, -0.6087518930435181, -0.3884877860546112, 1.235601544380188, 0.11765914410352707, 0.6426375508308411, 0.3004971444606781, 0.6396371126174927, 0.4218336343765259, -0.06475985050201416, -0.5060698390007019, 0.6806396245956421, 0.15176193416118622, -0.501994788646698, -0.6679596304893494, -0.6933717131614685, -0.717279314994812, 0.2006855309009552, 0.0013651648769155145, -0.7935446500778198, 0.15555831789970398, -0.197266086935997, -0.1121772974729538, 0.306292861700058, -0.7360759973526001, 0.9306237697601318, -0.1290588676929474, -0.18473057448863983, -0.3593466877937317, -0.977213442325592, 0.07050026208162308, 0.08438917249441147, -0.13285160064697266, -0.3463154733181, 0.16241751611232758, 0.6551733613014221, -0.5104950070381165, 0.664943277835846, -0.5775529146194458, -0.27763310074806213, 0.38372907042503357, 0.22182224690914154, 0.6641699075698853, 0.4986683130264282, 0.08084309846162796, -0.21063999831676483, -0.06367199867963791, -0.06324033439159393, -0.847384512424469, 0.37859323620796204, -0.823022723197937, -0.509438157081604, -0.15051718056201935, -0.6013507843017578, -0.6316812634468079, -0.04424667730927467, 0.3335021138191223, 0.5203351974487305, -0.41678887605667114, -0.0796370655298233, 0.7815269827842712, -0.2606039047241211, 0.2976504862308502, 0.552316427230835, -0.09699051082134247, -0.3898525536060333, 0.9707010984420776, 0.042931005358695984, 0.7052041888237, 0.3951408267021179, 0.1550779938697815, -0.8154074549674988, -0.3252015709877014, -0.8810093402862549, -0.06586111336946487, -0.6352841854095459, -0.017927218228578568, -0.9721052646636963, -0.2059377282857895, -0.7688372135162354, 0.10785635560750961, -0.23478733003139496, -0.9576655626296997, -0.2211867868900299, -0.2544178366661072, 0.2962460219860077, 0.3720912039279938, -0.06227673590183258, 0.1162279024720192, -0.573576033115387, 0.5597474575042725, 0.8475738763809204, -0.012521440163254738, -0.5369307398796082, -0.5755895972251892, 0.2021276205778122, 0.16516835987567902, -0.5716158747673035, -1.0089802742004395, 0.17728422582149506, 0.28729572892189026, 0.4598269462585449, 0.47237661480903625, 0.2817232012748718, 0.514239490032196, -0.4659426808357239, 0.8356033563613892, 0.3074268400669098, -0.6786385774612427, 0.7732174396514893, -0.44546425342559814, 0.36546850204467773, 0.506094217300415, 0.142599955201149, -0.953490138053894, -0.35182854533195496, -0.6166490316390991, -0.6309216618537903, 0.9695118069648743, 0.43388137221336365, 0.04994819313287735, 0.23345443606376648, 0.05556047335267067, 0.14165791869163513, 0.36049094796180725, -0.38696467876434326, -0.28544268012046814, -0.4324089586734772, -0.14446353912353516, 0.0435049794614315, 0.023434018716216087, -0.4145854115486145, -0.14615176618099213, 0.45752355456352234, -0.5171830058097839, 0.7857768535614014, 0.04361582547426224, -0.1314719319343567, 0.012385550886392593, 0.45262882113456726, 0.7034290432929993, 0.6617633700370789, -0.11615588515996933, -0.020481251180171967, 0.21202561259269714, -0.13958469033241272, 0.21545368432998657, 0.40791162848472595, -0.24742746353149414, 0.21311281621456146, -0.15067145228385925, 0.9623004794120789, -0.046042732894420624, -0.3411383330821991, 0.2978827655315399, -0.076742984354496, -0.09870021045207977, 0.04058998078107834, 0.12972360849380493, 0.4233934283256531, 0.14286933839321136, 0.21826043725013733, 0.03664726763963699, 0.28406670689582825, -0.5956199169158936, 0.3294749855995178, 0.0002281524211866781, -0.33368536829948425, -0.08251244574785233, 0.38209593296051025, 0.6791701912879944, -0.6551061868667603, 0.9729730486869812, -0.28733596205711365, -0.2811351716518402, 0.5529593229293823, 0.6286084651947021, 0.9973756670951843, -0.03158772364258766, 0.8621119260787964, 0.14576752483844757, -0.05233822762966156, 0.12809938192367554, 0.12703268229961395, -0.4751538932323456, -0.883083164691925, -0.12356741726398468, -0.29194483160972595, -0.8259845972061157, -0.07289841771125793, -0.6314041614532471, 0.0921625867486, -0.17643684148788452, -0.24213807284832, -0.03272932022809982, -0.1971706748008728, -0.2144501805305481, -0.13679401576519012, 0.18205468356609344, 0.7393352389335632, -0.6467588543891907, 0.8860669732093811, 0.48889341950416565, 0.07596282660961151, -0.32524099946022034, 0.5048225522041321, 0.2505311369895935, -0.35261964797973633, 0.30750325322151184, 0.012320919893682003, -0.08423437178134918, 0.2800598442554474, -0.5253798365592957, -0.5179998278617859, 1.0562381744384766, 0.3961317837238312, -0.3653842806816101, -0.2789532542228699, 0.5891010761260986, 0.24924013018608093, -0.38192692399024963, 0.09661156684160233, 0.6024372577667236, 0.44497600197792053, 0.31345322728157043, -0.8233691453933716, -0.34718087315559387, -0.2678771913051605, -0.043820157647132874, 0.36287063360214233, -0.7759791612625122, 0.5527592897415161, -0.18117083609104156, -0.2047872245311737, 0.02719813585281372, 0.3190087378025055, 0.16133761405944824, 0.4412757158279419, 0.5855401754379272, 0.48632746934890747, 0.8356877565383911, -0.368253231048584, 0.7237946391105652, -0.4233541190624237, 0.012471914291381836, 1.1821109056472778, -0.5689153075218201, 0.5609590411186218, 0.40102723240852356, -0.047138117253780365, 0.4515886902809143, 0.4969962537288666, 0.10065320134162903, 0.8716990947723389, 0.09856574237346649, -0.3304305672645569, -0.6058696508407593, -0.056025777012109756, -0.44119709730148315, 0.24358388781547546, 0.6991520524024963, -0.164079949259758, -0.3045822083950043, -0.0307886004447937, -0.07183857262134552, -0.22132441401481628, 0.22530300915241241, 1.2852141857147217, 0.031287726014852524, -0.943257212638855, 0.04115696996450424, 0.11153460294008255, 0.21886710822582245, -0.8727931976318359, -0.18771147727966309, -0.4755800664424896, -0.033251915127038956, 0.12318647652864456, -0.914299726486206, 0.19565026462078094, -0.08244521915912628, -0.03801487386226654, -0.6226116418838501, 0.6645071506500244, -0.6949438452720642, -0.40529438853263855, -0.18662552535533905, 0.6019396185874939, 0.09576620161533356, 0.20815569162368774, -0.8500350117683411, -0.15775898098945618, 0.283236563205719, 0.05724560469388962, 0.34362199902534485, 0.7272583842277527, -0.21255560219287872, 0.6334501504898071, 0.5830869674682617, -0.21148927509784698, 0.055462796241045, 0.12333416938781738, 0.6546755433082581, -0.5900475382804871, -0.860325276851654, -0.3957193195819855, 0.4719386100769043, -0.4581298828125, -0.6665341854095459, 0.47017547488212585, 0.6411573886871338, 0.41764795780181885, 0.1361149400472641, 0.986513078212738, -0.23644746840000153, 0.5065811276435852, -0.6881755590438843, 0.6702821254730225, -0.09775273501873016, 0.0265058446675539, -0.3958693742752075, -0.9047941565513611, 0.3630625903606415, 0.6435641646385193, -0.06279949098825455, -0.25246933102607727, 0.5409974455833435, 1.067232608795166, 0.008460345678031445, 0.2666373550891876, 0.09963805973529816, 0.08420204371213913, 0.7117148637771606, 0.5033785700798035, 1.2150790691375732, -0.24207837879657745, 0.8023664355278015, 0.036397747695446014, 0.2864018976688385, -0.11295339465141296, -0.5389845371246338, -0.8277279138565063, -0.901954710483551, -0.7952168583869934, -0.3905007541179657, 0.358588844537735, 0.8278879523277283, 0.8847280144691467, -0.6116377711296082, -0.4094254672527313, -0.4092476963996887, 0.20699211955070496, -0.06216492876410484, -0.28570112586021423, 0.2039765864610672, -0.41861477494239807, -0.6782727837562561, 0.5640669465065002, 0.27607911825180054, 0.0950365960597992, -0.1664196103811264, -0.23448316752910614, -0.20584961771965027, 0.11279647052288055, 0.25221818685531616, 0.10836753994226456, -0.442971408367157, -0.1573392003774643, -0.15837843716144562, -0.12409871071577072, 0.0491841621696949, 1.3285740613937378, -0.361543208360672, 0.5367422699928284, 0.4851318299770355, 0.6960926055908203, 1.0505588054656982, 0.07549361884593964, 0.967750608921051, -0.8254756331443787, 0.01908086985349655, 0.03400528430938721, -0.2732474207878113, 0.28944486379623413, -0.08330805599689484, 0.6440066695213318, 0.5153077840805054, -0.329854816198349, -0.8273313641548157, 0.43791770935058594, -0.7422685623168945, -0.3233759105205536, 1.3270584344863892, 0.08146131038665771, 0.45557793974876404, -0.5158113837242126, -0.4946807622909546, 0.16749493777751923, -0.5278924703598022, 0.6519359946250916, 0.8320492506027222, -0.32787179946899414, -0.31919065117836, -0.3997245728969574, 0.8614402413368225, 0.2256043404340744, -1.247563123703003, 0.31618741154670715, 0.5943651795387268, 0.423896849155426, 0.11298415064811707, 0.7740765810012817, -0.007244138512760401, 0.27563509345054626, 0.11576555669307709, -0.3795843720436096, 0.15683898329734802, -0.4150845408439636, -0.07002314925193787, 0.04167187958955765, -0.21901611983776093, -0.23809155821800232 ]
http://arxiv.org/abs/2403.05812v1
http://arxiv.org/pdf/2403.05812v1
Algorithmic progress in language models
2024-03-09T06:26:21
2024-03-09T06:26:21
Anson Ho, Tamay Besiroglu, Ege Erdil, David Owen, Robi Rahman, Zifan Carl Guo, David Atkinson, Neil Thompson, Jaime Sevilla
cs.CL
cs.CL, cs.AI
We investigate the rate at which algorithms for pre-training language models have improved since the advent of deep learning. Using a dataset of over 200 language model evaluations on Wikitext and Penn Treebank spanning 2012-2023, we find that the compute required to reach a set performance threshold has halved approximately every 8 months, with a 95% confidence interval of around 5 to 14 months, substantially faster than hardware gains per Moore's Law. We estimate augmented scaling laws, which enable us to quantify algorithmic progress and determine the relative contributions of scaling models versus innovations in training algorithms. Despite the rapid pace of algorithmic progress and the development of new architectures such as the transformer, our analysis reveals that the increase in compute made an even larger contribution to overall performance improvements over this time period. Though limited by noisy benchmark data, our analysis quantifies the rapid progress in language modeling, shedding light on the relative contributions from compute and algorithms.
[ -0.3281382620334625, -0.7451093196868896, 0.6656403541564941, 0.014924583025276661, 0.29838117957115173, 0.03600231185555458, -0.3528968393802643, -0.41689568758010864, -0.12422815710306168, 0.3986560106277466, -0.4394567310810089, 0.07640068978071213, -0.8280669450759888, -0.09813958406448364, -0.500684916973114, 0.6810092329978943, 0.09836646169424057, -0.09459072351455688, -0.041058335453271866, 0.14846894145011902, -0.4272248148918152, -0.31074196100234985, -0.6135928630828857, -0.3247074484825134, 0.1512802541255951, 0.19688308238983154, 0.6887867450714111, 0.8846285939216614, 0.7236717939376831, 0.380342572927475, -0.11899377405643463, -0.39125287532806396, -0.11497699469327927, 0.055618349462747574, 0.22846099734306335, -0.5900557637214661, -0.5335385799407959, 0.015587689355015755, 0.9461062550544739, 1.023598551750183, -0.06947512924671173, 0.24322757124900818, 0.019071444869041443, 0.9593482613563538, -0.45589643716812134, 0.26921144127845764, -0.5192310810089111, -0.19076143205165863, -0.31389009952545166, -0.019698450341820717, -0.5236766934394836, -0.24476738274097443, 0.007341040764003992, -0.45975375175476074, 0.36821818351745605, -0.23582160472869873, 0.6496246457099915, 0.1570158302783966, 0.082893967628479, -0.44018828868865967, -0.7035833597183228, 0.8255111575126648, -0.7960890531539917, 0.7016947865486145, 0.201845183968544, 0.19021068513393402, 0.049119289964437485, -1.0465906858444214, -0.3000591993331909, -0.6694018840789795, 0.27552035450935364, -0.5252501964569092, -0.4307446777820587, -0.12582433223724365, 0.489895224571228, 0.5436060428619385, -0.3581492006778717, 0.42480483651161194, -0.5246340036392212, -0.22792957723140717, 0.6123188138008118, 0.11636544018983841, 0.1724778711795807, 0.22746773064136505, 0.27773579955101013, -0.31140774488449097, -0.7279226779937744, 0.19809602200984955, 0.3435051143169403, 0.4645891487598419, -0.1482897698879242, 0.27682310342788696, -0.10298619419336319, 0.5685214400291443, 0.004491056315600872, -0.1113048568367958, 0.37986043095588684, -0.47951534390449524, -0.07920949906110764, -0.1026817336678505, 0.803429126739502, -0.014837301336228848, 0.4069126546382904, -0.1979181170463562, -0.15107886493206024, 0.3574070334434509, 0.30766886472702026, -1.0106407403945923, -0.3719711899757385, -0.12436828762292862, -0.46997499465942383, -0.233017697930336, -0.22356487810611725, -0.34760549664497375, -0.46895140409469604, -0.3575587868690491, -0.017884476110339165, -0.11064337939023972, -0.593484103679657, 0.0422784760594368, 0.10983006656169891, 0.05953165888786316, 0.21534357964992523, -0.8433122038841248, 0.5152275562286377, 0.967555582523346, 0.9478171467781067, -0.06668438017368317, -0.2825341820716858, -0.2440306842327118, -0.5914078950881958, -0.840604305267334, 0.6194888353347778, -0.5737554430961609, -0.25577592849731445, -0.050475265830755234, 0.03342224285006523, 0.0985722690820694, -0.5163528323173523, 0.38915151357650757, -0.7629294991493225, -0.09720009565353394, -0.12327664345502853, -0.755556583404541, 0.05585220456123352, -0.04375490918755531, -0.8597015142440796, 0.9657213091850281, 0.040694866329431534, -0.43183818459510803, 0.5056278705596924, -0.8969783782958984, -0.5119072794914246, 0.23359596729278564, 0.07506173104047775, -0.46433067321777344, 0.49498316645622253, 0.13234326243400574, 0.3991168439388275, -0.5064889788627625, 0.34385594725608826, -0.35726630687713623, -0.6678686141967773, 0.22525320947170258, -0.4864063858985901, 0.8882745504379272, 0.24918656051158905, -0.47046542167663574, 0.005066404119133949, -0.8656624555587769, -0.06795480102300644, -0.005244283005595207, -0.17075462639331818, -0.06924629956483841, 0.12666155397891998, -0.23167888820171356, 0.07510301470756531, 0.3029487729072571, -0.5106255412101746, 0.17455792427062988, -0.5837234258651733, 0.7227669954299927, 0.7527459859848022, -0.3182770907878876, 0.5534587502479553, -0.06571982055902481, 0.6060976386070251, -0.2329920381307602, 0.09756029397249222, -0.6097558736801147, -0.5137238502502441, -0.7031872868537903, -0.009091269224882126, 0.469133585691452, 0.2728126347064972, -0.25964128971099854, 0.15329129993915558, -0.634894609451294, -0.5469871163368225, -0.7134393453598022, 0.08694001287221909, 0.16593940556049347, 0.43411657214164734, 0.2966103255748749, -0.5491164326667786, -0.49932175874710083, -0.7389320135116577, -0.25729337334632874, -0.32482805848121643, -0.1240319162607193, 0.2506350576877594, 0.17764385044574738, -0.21150077879428864, 0.609940767288208, -0.30461254715919495, 0.24018068611621857, -0.12427525222301483, 0.3181249797344208, 0.49950486421585083, 0.43807268142700195, 0.4287444055080414, -0.5336347222328186, -0.5281035900115967, 0.08562503755092621, -0.2526305913925171, -0.1619795858860016, 0.21010437607765198, 0.33996638655662537, 0.2784496247768402, 0.8410419225692749, -0.30465972423553467, 0.33862289786338806, 0.5751778483390808, -0.1980658620595932, 0.6273713707923889, -0.14201247692108154, 0.25813522934913635, -0.6429704427719116, -0.010702052153646946, -0.21206390857696533, -0.10578717291355133, -0.8072559833526611, -0.027669157832860947, 0.13672895729541779, -0.02715119905769825, -0.25622233748435974, 0.32300490140914917, -0.2586538791656494, -0.16070428490638733, -0.45155632495880127, -0.07682701200246811, -0.42154794931411743, 0.2609720230102539, -0.010863510891795158, 1.0210975408554077, 0.9262601733207703, -0.8693601489067078, 0.07000267505645752, -0.4309496581554413, -0.46780818700790405, 0.1725725680589676, -0.7526576519012451, 0.16691961884498596, 0.16638819873332977, -0.18345575034618378, -0.9077013731002808, 0.1968017965555191, -0.27665770053863525, -0.5116822123527527, 0.1858714520931244, -0.03682749718427658, -0.466327428817749, -0.5888717770576477, -0.15989264845848083, 0.45771560072898865, 0.6886790990829468, -0.19871821999549866, 0.5868334770202637, 0.2659923732280731, -0.09843681007623672, -0.4655241370201111, -0.684410572052002, 0.11974173039197922, 0.15369853377342224, -0.5599687099456787, 0.319886714220047, -0.132499560713768, -0.4442042410373688, -0.020914556458592415, 0.10047467052936554, -0.29338595271110535, 0.38202348351478577, 0.18917861580848694, 0.05781710147857666, -0.5098397135734558, 0.1204901933670044, -0.32238712906837463, -0.11883701384067535, 0.4579753577709198, -0.27320441603660583, 0.7814043760299683, -0.4606668949127197, -0.16870887577533722, -0.5114570260047913, -0.19802559912204742, 0.4953303039073944, -0.10868573188781738, 0.7494807839393616, 0.4450532793998718, -0.10044422745704651, 0.012600712478160858, -0.6754945516586304, -0.10997982323169708, -0.5161197185516357, 0.5266225337982178, -0.5507062673568726, -0.9788605570793152, 0.5224313735961914, -0.1317000836133957, 0.28004178404808044, 0.9591741561889648, 0.6451248526573181, 0.08733147382736206, 0.9998671412467957, 1.0396885871887207, -0.12663164734840393, 0.8448331356048584, -0.20814183354377747, 0.12985870242118835, -0.6530237793922424, 0.045381490141153336, -0.6911986470222473, -0.1176612377166748, -1.1435664892196655, -0.3194102346897125, 0.008080354891717434, -0.03830883279442787, -0.3636930286884308, 0.590021550655365, -0.3121747374534607, 0.3696727752685547, 0.4131622910499573, -0.1878299117088318, 0.2657001316547394, -0.007314862683415413, 0.15214428305625916, -0.09803147614002228, -0.8187271952629089, -0.13474884629249573, 1.3611153364181519, 0.5070062875747681, 0.5359085202217102, -0.12477409839630127, 0.41489213705062866, 0.49984243512153625, 0.7549504041671753, -0.543878436088562, 0.3260415196418762, -0.22379465401172638, -0.39107343554496765, -0.4438523054122925, -0.7472581267356873, -0.964804470539093, -0.10570405423641205, 0.2374938279390335, -0.46297526359558105, 0.20662815868854523, 0.2785552740097046, 0.03288264572620392, 0.3218405842781067, -0.614859402179718, 0.7907825708389282, -0.062202926725149155, -0.24998696148395538, -0.5268216729164124, -0.5128063559532166, 0.10326281189918518, -0.15203523635864258, 0.35744941234588623, -0.15686026215553284, 0.051362503319978714, 0.9516357183456421, -0.4922429621219635, 0.48428288102149963, -0.23680542409420013, -0.09042938798666, 0.35245561599731445, 0.11010846495628357, 0.3920678198337555, -0.43318089842796326, -0.06444230675697327, 0.260810524225235, -0.14269216358661652, -0.5165123343467712, -0.5552963018417358, 0.5235035419464111, -0.6028648018836975, -0.3623935282230377, -0.1396879106760025, -0.5903760194778442, -0.18006747961044312, 0.27131983637809753, 0.015565663576126099, 0.46115922927856445, -0.2124015837907791, 0.30178767442703247, 0.7079266309738159, -0.02581159584224224, 0.7868497371673584, 0.55396968126297, -0.2601170539855957, -0.20635049045085907, 0.8952617645263672, 0.3436166048049927, 0.28518161177635193, 0.2347763627767563, 0.34206125140190125, -0.24547845125198364, -0.6453987956047058, -0.3311925232410431, 0.24424521625041962, -0.47604185342788696, 0.06930142641067505, -0.4767753779888153, -0.2119135558605194, -0.6950249075889587, -0.13540315628051758, -0.672416627407074, -0.3976134657859802, 0.1083882749080658, 0.055255647748708725, 0.21758538484573364, 0.9542206525802612, 0.026663580909371376, 0.42632389068603516, -0.3802317678928375, 0.000649065594188869, 0.10162722319364548, 0.5672902464866638, 0.15248054265975952, -0.7661871910095215, -0.5251088738441467, 0.08765818178653717, -0.13104365766048431, -0.42759469151496887, 0.07409295439720154, 0.22232085466384888, 0.3521999418735504, 0.3028635084629059, -0.4988076984882355, 0.8741095662117004, -0.6823260188102722, 0.8419455885887146, 0.2256411612033844, -0.9779835939407349, 0.3373207747936249, 0.1073005273938179, 0.6888688802719116, 0.37741878628730774, 0.12993869185447693, -0.39227208495140076, -0.2554873824119568, -0.8044694662094116, -0.542405903339386, 0.4898931384086609, -0.057568807154893875, 0.3969232738018036, 0.3746282160282135, 0.41489654779434204, -0.1493711769580841, 0.240141823887825, -0.6247952580451965, -0.19518981873989105, -0.05036047473549843, -0.043641332536935806, -0.2434999793767929, -0.2791929244995117, 0.322045236825943, -0.40066006779670715, 0.5924834609031677, -0.10494132339954376, 0.18166710436344147, -0.3632206916809082, -0.3574337065219879, 0.02082247845828533, 0.22045432031154633, 0.5146027207374573, 0.9653634428977966, 0.03026249073445797, -0.06740131229162216, 0.1151157021522522, -0.7264562845230103, 0.1379098743200302, 0.32733628153800964, -0.20630179345607758, -0.07760164886713028, 0.6908129453659058, 1.0260730981826782, 0.10835561156272888, -0.6503479480743408, 0.4696134924888611, -0.21253973245620728, -0.26599135994911194, -0.2120211273431778, 0.08338065445423126, -0.09957166761159897, 0.15219952166080475, 0.34648510813713074, 0.13806915283203125, 0.2430710643529892, -0.3219568729400635, 0.37349575757980347, 0.2360374629497528, -0.5394331216812134, -0.49386030435562134, 0.6505587100982666, -0.17580848932266235, -0.39252474904060364, 0.6972631216049194, 0.017037179321050644, -0.27351269125938416, 0.6585541367530823, 0.3175375461578369, 0.9142165780067444, -0.5316794514656067, -0.038936179131269455, 0.30250686407089233, 0.586889386177063, -0.2869144082069397, 0.032093312591314316, -0.4223000407218933, -0.5075695514678955, -0.8708640336990356, -0.7585514187812805, -0.09541108459234238, 0.025217121466994286, -0.4422059953212738, 0.10869215428829193, -0.3139244019985199, -0.35609087347984314, 0.20946204662322998, 0.28552213311195374, -0.9418553113937378, 0.25056758522987366, 0.1273668259382248, 0.9603255391120911, -0.878284752368927, 0.7138080596923828, 0.35324016213417053, -0.09395944327116013, -0.6517763733863831, -0.18428808450698853, -0.36951959133148193, -0.720592737197876, 0.5402912497520447, 0.23829081654548645, -0.17945696413516998, -0.0578714944422245, -0.4321986138820648, -0.9553824663162231, 0.7381972670555115, 0.5228427648544312, -0.8375497460365295, 0.10696747153997421, 0.2923838496208191, 0.9012519717216492, -0.32865145802497864, 0.30313923954963684, 0.8823410272598267, 0.24128462374210358, -0.10965318232774734, -1.0304909944534302, -0.25260278582572937, -0.2867487072944641, 0.16344167292118073, 0.5452301502227783, -0.20553357899188995, 1.1186853647232056, -0.1485995352268219, -0.15239548683166504, -0.15917320549488068, 0.8765842914581299, -0.09279033541679382, 0.06875696033239365, 0.5116446614265442, 0.6658810377120972, 0.687654972076416, -0.1532697230577469, 1.2225366830825806, -0.660465657711029, 0.14870798587799072, 0.9785799384117126, 0.021578434854745865, 0.8221980333328247, 0.14067916572093964, -0.6260790824890137, 0.5453125238418579, 0.46323949098587036, -0.08226125687360764, 0.2320759892463684, 0.21534383296966553, -0.060526326298713684, -0.07572674006223679, -0.163987398147583, -0.3185547888278961, 0.026498161256313324, 0.22906875610351562, -0.5777090787887573, 0.09241033345460892, 0.06663300842046738, 0.1978311538696289, -0.051229361444711685, -0.5996685028076172, 0.7382020354270935, -0.12312725931406021, -0.6451843976974487, 0.48879581689834595, -0.03891647979617119, 0.622300922870636, -0.5513774752616882, 0.0800362378358841, -0.11907655745744705, 0.2196425050497055, 0.07770957797765732, -0.635159969329834, 0.3218371868133545, 0.056532539427280426, -0.27791741490364075, -0.3564853072166443, 0.46736639738082886, -0.29323074221611023, -0.8784201741218567, 0.271075040102005, 0.4326091408729553, 0.15932327508926392, -0.01711786724627018, -0.617981493473053, 0.4261619746685028, -0.2747128903865814, -0.23342715203762054, 0.11331966519355774, 0.27990594506263733, -0.10772887617349625, 0.5850147604942322, 0.6502682566642761, 0.2954929769039154, 0.4663107097148895, 0.15401087701320648, 0.938774824142456, -0.3702956438064575, -0.3553489148616791, -0.993645966053009, 0.2951699495315552, 0.13424894213676453, -0.2746647000312805, 0.7111055850982666, 0.529853880405426, 0.9096740484237671, 0.291291207075119, 0.5519834756851196, -0.2645765244960785, 0.3866855800151825, -0.2954652011394501, 0.5864566564559937, -0.43313518166542053, 0.28791573643684387, -0.12297958880662918, -0.8015289902687073, -0.24727682769298553, 0.22048453986644745, -0.3958759605884552, 0.16103754937648773, 0.4899989664554596, 0.9096643924713135, 0.06190113723278046, -0.08669304847717285, 0.158153235912323, 0.3536282479763031, 0.4216029942035675, 0.1547991931438446, 0.3685268759727478, -0.6008400321006775, 0.17557846009731293, -0.44853895902633667, -0.27023521065711975, -0.041242219507694244, -0.6867852210998535, -0.49609559774398804, -0.7075737118721008, -0.39629706740379333, -0.31935420632362366, 0.04418915510177612, 0.44441989064216614, 0.8380433320999146, -1.0450469255447388, -0.5819990038871765, -0.614157497882843, -0.06322697550058365, -0.6007962226867676, -0.2068859189748764, 0.4500739574432373, -0.7020353674888611, -0.6135462522506714, 0.5040111541748047, 0.07757361233234406, -0.24390555918216705, -0.4853636920452118, -0.24680905044078827, 0.07036645710468292, 0.31074291467666626, 0.6052748560905457, 0.28661850094795227, -0.4750783145427704, 0.19673608243465424, 0.11425430327653885, -0.018470093607902527, 0.3018045425415039, 1.1186175346374512, -0.8821864724159241, 0.705698549747467, 0.44640859961509705, 0.7916569113731384, 0.7306368350982666, -0.3159664571285248, 0.5035649538040161, -0.40497782826423645, 0.12438990920782089, 0.1978401392698288, 0.07769568264484406, 0.4169861078262329, 0.0356258824467659, 0.4627727270126343, 0.24324169754981995, -0.6913231611251831, -1.0949623584747314, 0.09581559151411057, -0.1581762731075287, -0.1705215871334076, 0.5013226270675659, 0.014197876676917076, -0.34386759996414185, 0.13476690649986267, 0.3403351902961731, 0.1435849368572235, -0.1927018165588379, 0.6481664180755615, 0.8103505373001099, -0.43953514099121094, -0.33045506477355957, -0.7103184461593628, 0.6586488485336304, 0.405225545167923, -0.6620573997497559, 0.11332051455974579, 0.3297862708568573, 0.15141908824443817, 0.36484307050704956, 0.5810019373893738, -0.19286224246025085, 0.3894593119621277, 0.30656155943870544, -0.04243721067905426, 0.07242093235254288, -0.6196579933166504, -0.5288234353065491, 0.3401111960411072, 0.31794992089271545, 0.27258190512657166 ]
http://arxiv.org/abs/2403.05802v1
http://arxiv.org/pdf/2403.05802v1
UniSparse: An Intermediate Language for General Sparse Format Customization
2024-03-09T05:38:45
2024-03-09T05:38:45
Jie Liu, Zhongyuan Zhao, Zijian Ding, Benjamin Brock, Hongbo Rong, Zhiru Zhang
cs.CL
cs.CL
The ongoing trend of hardware specialization has led to a growing use of custom data formats when processing sparse workloads, which are typically memory-bound. These formats facilitate optimized software/hardware implementations by utilizing sparsity pattern- or target-aware data structures and layouts to enhance memory access latency and bandwidth utilization. However, existing sparse tensor programming models and compilers offer little or no support for productively customizing the sparse formats. Additionally, because these frameworks represent formats using a limited set of per-dimension attributes, they lack the flexibility to accommodate numerous new variations of custom sparse data structures and layouts. To overcome this deficiency, we propose UniSparse, an intermediate language that provides a unified abstraction for representing and customizing sparse formats. Unlike the existing attribute-based frameworks, UniSparse decouples the logical representation of the sparse tensor (i.e., the data structure) from its low-level memory layout, enabling the customization of both. As a result, a rich set of format customizations can be succinctly expressed in a small set of well-defined query, mutation, and layout primitives. We also develop a compiler leveraging the MLIR infrastructure, which supports adaptive customization of formats, and automatic code generation of format conversion and compute operations for heterogeneous architectures. We demonstrate the efficacy of our approach through experiments running commonly-used sparse linear algebra operations with specialized formats on multiple different hardware targets, including an Intel CPU, an NVIDIA GPU, an AMD Xilinx FPGA, and a simulated processing-in-memory (PIM) device.
[ -0.29615136981010437, -0.45613545179367065, 0.5194156169891357, 0.44672518968582153, -0.1725730150938034, 0.23276486992835999, -0.3179692327976227, 0.17682307958602905, 0.4894730746746063, 0.11311325430870056, -0.5701785683631897, -0.475661963224411, -0.30998653173446655, 0.07569567114114761, -0.22716979682445526, 0.8846103549003601, -0.27296707034111023, -0.05377994850277901, -0.2608260214328766, -0.29258525371551514, -0.5846640467643738, -0.34754979610443115, -0.2812434136867523, -0.06318654119968414, 0.25918692350387573, 0.3106319308280945, 0.7340691089630127, 0.8579199910163879, 0.4370824992656708, 0.42990991473197937, 0.09595052897930145, 0.07639691233634949, -0.2648433744907379, 0.03049820102751255, -0.3139655888080597, -0.13124001026153564, -0.48731860518455505, -0.27495867013931274, 0.9684299826622009, 1.1083201169967651, -0.20157885551452637, 0.35463637113571167, 0.2730747163295746, 0.7832265496253967, -0.9522984623908997, -0.15757083892822266, -0.4255184829235077, 0.1982087641954422, -0.4274213910102844, -0.22776730358600616, -0.1652592420578003, 0.1862712949514389, -0.49679064750671387, -0.8101675510406494, 0.374027281999588, -0.21949502825737, 0.5109688639640808, 0.514012336730957, 0.12436093389987946, 0.06340329349040985, -0.782129168510437, 0.9416024684906006, -0.4428861737251282, 0.7298698425292969, 0.11169624328613281, 0.44030094146728516, -0.4623538851737976, -1.1879072189331055, -0.2552963197231293, 0.2515947222709656, -0.22763317823410034, -0.2683275640010834, -0.378380686044693, 0.24743695557117462, 0.14411112666130066, 0.387801855802536, -0.72886061668396, -0.2973424196243286, -0.17678788304328918, -0.06923302263021469, 0.1956317126750946, 0.4677155911922455, 0.22120849788188934, 0.1920822113752365, -0.10669979453086853, 0.24234652519226074, -0.713542640209198, -0.1339278370141983, 0.46634018421173096, 0.2463611513376236, -0.24087253212928772, 0.317861944437027, -0.33044788241386414, 0.7418697476387024, -0.04202215000987053, 0.20556534826755524, -0.013079694472253323, -0.07785661518573761, -0.5791125297546387, -0.12165989726781845, 0.7264671325683594, -0.04043460637331009, -0.3117784261703491, -0.5108634233474731, -0.5755547285079956, 0.14193426072597504, 0.14771592617034912, -0.9278916120529175, -0.5061014294624329, 0.13992878794670105, -0.5593798160552979, -0.006534988526254892, -0.2410534769296646, -0.6084103584289551, 0.004273355472832918, -0.4429883658885956, 0.39512279629707336, -0.32091784477233887, 0.2934255301952362, 0.3309080898761749, -0.003484922694042325, -0.2900751531124115, 0.3372753858566284, -1.1435164213180542, 0.9333730340003967, 0.7438924312591553, 0.8392384052276611, -0.2691959738731384, -0.04190851375460625, -0.8404845595359802, 0.40539196133613586, -0.348442405462265, 0.8489587903022766, -0.9708489179611206, -0.2860841155052185, -0.3429294526576996, 0.0344797782599926, 0.043920159339904785, -0.42013803124427795, 0.48585349321365356, -0.3029646873474121, 0.011925788596272469, -0.26600173115730286, -0.4305180609226227, 0.23218391835689545, -0.15126816928386688, -0.4102012515068054, 0.72707200050354, 0.46124401688575745, -0.5150483846664429, 0.18621063232421875, -0.7556523680686951, -0.23642924427986145, 0.23627573251724243, -0.7200313806533813, -0.25863707065582275, 0.5192537307739258, -0.0001135788406827487, 0.22069567441940308, -0.3752632737159729, 0.22981855273246765, -0.32440292835235596, -0.9068611264228821, 0.08936937153339386, -0.4302504360675812, 0.38924676179885864, 0.4539750814437866, -0.0324392206966877, 0.0028385415207594633, -0.8091416954994202, -0.049400899559259415, -0.007151971571147442, -0.4457242786884308, -0.31219929456710815, 0.16409505903720856, 0.2307228296995163, -0.27620741724967957, 0.4589444100856781, -0.9513457417488098, 0.47214922308921814, 0.0635019913315773, 0.3989807069301605, 0.8718335628509521, -0.3726634681224823, 0.6105321049690247, -0.010636926628649235, 0.31059354543685913, -0.20358966290950775, 0.23044058680534363, -0.18944765627384186, -0.30881473422050476, -0.6888845562934875, -0.4253978431224823, 0.23613235354423523, 0.272733598947525, -0.31804126501083374, 0.2131512463092804, 0.06570429354906082, 0.10337437689304352, -0.4868476986885071, 0.3647284507751465, 0.41245144605636597, 0.586395800113678, 0.45811402797698975, -0.29729095101356506, -0.8304611444473267, -1.0296763181686401, -0.2022615224123001, 0.1419581025838852, -0.1441013514995575, -0.022123396396636963, 0.15946322679519653, -0.27727827429771423, 0.8492584824562073, -0.9837820529937744, -0.5104584693908691, -0.012570615857839584, -0.08686110377311707, 0.23018766939640045, 0.9039053320884705, 0.584680438041687, -0.5632190108299255, -0.4701867699623108, 0.11443353444337845, -0.49241745471954346, -0.12936155498027802, -0.048481956124305725, -0.2799251675605774, -0.012493696995079517, 0.5732147693634033, -0.27220165729522705, 0.3452337682247162, 0.5133067965507507, -0.4480002820491791, 0.36066651344299316, -0.6136568784713745, 0.03528929501771927, -0.9405834674835205, 0.2673813998699188, -0.03557253256440163, -0.08781184256076813, -0.6304203867912292, -0.010018701665103436, -0.015330341644585133, -0.07335992902517319, -0.11579794436693192, 0.2716854214668274, -0.3738972842693329, -0.4158914089202881, -0.12703153491020203, -0.7585151791572571, 0.32731831073760986, 0.34387627243995667, 0.10951711237430573, 1.100709080696106, 0.41942307353019714, -0.23844310641288757, 0.24635638296604156, 0.06705378741025925, -0.0384221225976944, 0.5682570934295654, -1.0494760274887085, 0.1733289361000061, -0.3548603951931, -0.22041592001914978, -0.9446867108345032, -0.3104844093322754, -0.04166892543435097, -0.3706642985343933, 0.6456643342971802, -0.5072590112686157, -0.6289494633674622, 0.2547592222690582, -0.18007664382457733, 0.37486132979393005, 0.555639386177063, -0.4625729024410248, 0.6830767393112183, 0.20462214946746826, -0.08139520138502121, -0.5578597187995911, -0.7185115814208984, 0.15770657360553741, -0.08535479754209518, -0.6672681570053101, 0.46196553111076355, -0.5025302171707153, -0.09665992110967636, 0.20091792941093445, 0.0419289730489254, -0.3428584933280945, 0.17177286744117737, 0.139388307929039, 0.41477587819099426, -0.6886149048805237, -0.34401318430900574, 0.6807859539985657, -0.34515097737312317, -0.2967851161956787, -0.21836933493614197, 0.5328235626220703, -0.5157783031463623, -0.4276787340641022, -0.411758691072464, 0.6286128163337708, 0.19364981353282928, -0.06851508468389511, 0.4485580027103424, 0.5488957166671753, -0.4845653474330902, -0.09115822613239288, -0.3701222240924835, 0.2860216200351715, -0.6311658024787903, 0.3836090564727783, -0.554242730140686, -0.7955716848373413, 0.3117508888244629, 0.03146345913410187, 0.3007369041442871, -0.08939272165298462, 0.40129727125167847, -0.10387425124645233, 1.1731806993484497, 0.8513339757919312, 0.06009824573993683, 0.27503857016563416, -0.15162914991378784, 0.010243657976388931, -0.9083209037780762, -0.21362769603729248, -0.4419941306114197, -0.6658607125282288, -0.21005146205425262, -0.42341750860214233, 0.30460357666015625, 0.026474274694919586, -0.44155046343803406, 0.472318172454834, -0.7485023140907288, 1.0198596715927124, -0.07779186964035034, -0.382036417722702, 0.21893681585788727, 0.4715646803379059, 0.10235832631587982, -0.39747101068496704, -0.3488291800022125, -0.4909379184246063, 0.7027670741081238, 0.3821156919002533, 1.1191926002502441, 0.21831713616847992, 0.6218476295471191, 0.48323485255241394, 0.23417691886425018, -0.34450939297676086, 0.250627338886261, -0.8164807558059692, 0.05204356834292412, -0.03560011088848114, -0.29562491178512573, -0.6390867233276367, 0.33910366892814636, 0.1548999845981598, -0.8673311471939087, 0.6339855194091797, 0.17311425507068634, -0.6079752445220947, 0.5229707360267639, -1.0253942012786865, 1.0620776414871216, 0.28293946385383606, -0.43623796105384827, 0.027953479439020157, -0.28500616550445557, 0.23149079084396362, -0.041353750973939896, -0.06932401657104492, -0.11590912193059921, -0.5500861406326294, 0.5201493501663208, -0.5137180685997009, 0.666240394115448, 0.058697134256362915, 0.4440445899963379, -0.18985873460769653, 0.5819385647773743, 0.15362955629825592, 0.4478864371776581, 0.04630463942885399, 0.016544178128242493, 0.17145948112010956, -0.5221253633499146, -0.7582603693008423, 1.0844868421554565, -0.841651201248169, -0.3123563230037689, -0.2216661125421524, -0.8709456324577332, -0.3332495093345642, 0.08231883496046066, 0.13957449793815613, 0.543352484703064, -0.3039439022541046, -0.02537447214126587, 0.760308027267456, 0.04604798182845116, 0.5305132865905762, 0.6242319941520691, 0.25586897134780884, -0.45858949422836304, 1.2036267518997192, -0.20757676661014557, 0.048961229622364044, 0.4216751754283905, 0.13102973997592926, 0.027852021157741547, -0.4359546899795532, -0.9006602764129639, 0.06890910863876343, -0.4234423339366913, -0.4780614674091339, -0.5535909533500671, -0.031326331198215485, -0.41285964846611023, -0.7361428737640381, -0.6395705342292786, -0.6364743113517761, -0.4629587233066559, 0.4488779306411743, 0.10420557111501694, 0.866275429725647, -0.3304804265499115, 0.5061147809028625, -0.5858295559883118, 0.2723451852798462, 0.11864972859621048, 0.6706637144088745, -0.3620976507663727, -0.45232176780700684, -0.16405005753040314, -0.21494022011756897, -0.2206447571516037, -0.42315220832824707, 0.17538119852542877, 0.4369540512561798, 0.4103105664253235, 0.604591429233551, -0.3556266725063324, 1.0749993324279785, -0.5039845108985901, 0.34482452273368835, 0.3180007040500641, -0.9577134847640991, 0.2586933672428131, -0.023181667551398277, -0.11105313152074814, 0.6218276619911194, 0.2400101274251938, -0.5968776941299438, 0.07799006998538971, -0.38333749771118164, -0.3956587314605713, 0.8514676094055176, 0.258380651473999, 0.1727636605501175, 0.09156857430934906, 0.3232917785644531, 0.18080037832260132, 0.2260809689760208, -0.11682625859975815, -0.3546201288700104, -0.20327439904212952, -0.19868837296962738, 0.1231548860669136, -0.3735640048980713, -0.09453408420085907, -0.41306963562965393, 0.30907538533210754, -0.30417749285697937, 0.2746579349040985, -0.030927550047636032, 0.08537548780441284, -0.1338586062192917, 0.10943101346492767, 0.4425939917564392, 0.382583349943161, -0.44061803817749023, 0.2365477830171585, -0.034661732614040375, -0.6883519291877747, 0.11359541118144989, 0.3437715470790863, -0.5468792915344238, 0.2855469882488251, -0.05053657665848732, 0.539799690246582, 0.09445890039205551, -0.44901323318481445, 0.6483700275421143, -0.4368853271007538, 0.21659107506275177, -0.30766135454177856, -0.06222401559352875, -0.03317638486623764, 0.043229036033153534, 0.014187558554112911, 0.2874227464199066, 0.41596460342407227, -0.29997700452804565, 0.2185479700565338, 0.3465767204761505, -0.5079560279846191, -0.6934349536895752, 0.8961387872695923, -0.06448351591825485, 0.007695595268160105, 0.4322436451911926, -0.5118128657341003, 0.31641843914985657, 0.36310067772865295, 0.740936815738678, 1.0127760171890259, -0.44172418117523193, 0.19554972648620605, 0.17177841067314148, 0.29812902212142944, 0.3231101632118225, 0.3962230682373047, -0.4230049252510071, -0.35313108563423157, -0.5895845890045166, -1.232726812362671, -0.017386453226208687, 0.10739836096763611, -0.32376062870025635, 0.32963958382606506, -0.9208500981330872, 0.22332614660263062, 0.0762169361114502, -0.36786413192749023, -0.3862304985523224, -0.09810668230056763, 0.16518419981002808, 1.152961254119873, -0.7879008650779724, 0.7071967124938965, 1.1290475130081177, -0.49798139929771423, -0.28815752267837524, -0.2540658712387085, -0.15328681468963623, -0.5464380979537964, 0.6618849635124207, -0.222283273935318, 0.20506657660007477, -0.406521737575531, -0.396707683801651, -0.9778483510017395, 0.7554852366447449, 0.8448502421379089, -0.1815485954284668, -0.2431563287973404, 0.587590217590332, 0.3078870475292206, -0.4293068051338196, 0.21164284646511078, 0.8432499170303345, 0.09459324181079865, 0.2944042384624481, -0.539783775806427, 0.10818242281675339, -0.2987729012966156, 0.40513157844543457, 0.41575613617897034, -0.5401721596717834, 1.151594638824463, -0.07840380072593689, -0.11472827941179276, 0.5278552770614624, 1.124677062034607, -0.04332473874092102, -0.0024062765296548605, 0.3770790696144104, 0.676307737827301, 0.43339985609054565, -0.03441822528839111, 0.6532322764396667, -0.35498276352882385, -0.005289926193654537, 0.8997876644134521, -0.16606028378009796, 0.5650343298912048, 0.444987028837204, -0.2614253759384155, 0.6302204728126526, 0.27277347445487976, 0.19141340255737305, 0.49636879563331604, 0.0972866341471672, -0.6050180792808533, -0.3646436929702759, -0.2588421106338501, -0.17176413536071777, 0.1560567021369934, 0.7630133628845215, -0.06177074462175369, -0.6896320581436157, -0.30282869935035706, 0.18126237392425537, 0.07120449095964432, -0.2728406488895416, 0.37569767236709595, 0.06662511825561523, -0.1881209909915924, 0.44057735800743103, 0.34823840856552124, 0.6166418194770813, -0.868341326713562, -0.450480580329895, -0.5735949277877808, 0.366304486989975, -0.5913758873939514, -0.9290906190872192, 0.7663286328315735, 0.01981057971715927, -0.18276016414165497, -0.09688510745763779, 0.5548974871635437, -0.25197750329971313, -0.4408567547798157, -0.24819786846637726, 0.020601389929652214, 0.21451593935489655, 0.013052315451204777, -0.7008066773414612, 0.5200737714767456, -0.08620335161685944, 0.057838354259729385, 0.8319550156593323, 0.43731388449668884, -0.0863710418343544, 0.33918049931526184, 0.8645592927932739, 0.08156465739011765, 0.057206492871046066, -0.03888271376490593, 1.3342045545578003, -0.30489498376846313, -0.5126316547393799, -0.3794550597667694, 0.32637685537338257, -0.022967489436268806, -0.28849148750305176, 0.40785837173461914, 1.1620985269546509, 0.6644250154495239, 0.05757472291588783, 0.5466166734695435, -0.1675814986228943, -0.003958475776016712, -0.18956515192985535, 0.4975389242172241, -0.5530853867530823, 0.31400808691978455, -0.3129004240036011, -0.927120566368103, -0.28388261795043945, 0.3864762783050537, 0.028934748843312263, -0.3533019721508026, 0.3407818078994751, 0.8427430987358093, -0.6324527859687805, -0.2754482328891754, 0.4750361442565918, -0.2037132829427719, 0.207567036151886, 0.6876699924468994, 0.43878817558288574, -0.24901869893074036, 0.43816137313842773, -0.5647948384284973, -0.3549444079399109, 0.4084480106830597, -0.6051270365715027, -0.6311445832252502, -0.634404182434082, -0.28578048944473267, -0.32546111941337585, 0.048975858837366104, 0.8537894487380981, 0.4933696687221527, -0.753116250038147, -0.4309079349040985, 0.04792391136288643, -0.07562710344791412, 0.29206356406211853, -0.19308200478553772, 0.4736465513706207, -0.7386615872383118, -0.7985851168632507, 0.5189535617828369, 0.7221763134002686, 0.09806003421545029, -0.3264159858226776, -0.2920796871185303, 0.42674383521080017, 0.04360099881887436, 0.515552818775177, 0.8028775453567505, -0.08241652697324753, 0.14033615589141846, -0.01931173726916313, 0.044002167880535126, 0.15056559443473816, 1.154636025428772, -0.8420601487159729, 0.20816338062286377, 0.6042793989181519, 0.8614940643310547, -0.029653936624526978, -0.14885151386260986, 0.28319859504699707, -1.0347933769226074, 0.4980515241622925, 0.1011257916688919, 0.7815166115760803, 0.3733057677745819, -0.44826874136924744, 0.3125913441181183, 0.4771744906902313, -0.3174297511577606, -0.8693892359733582, 0.2231018841266632, -0.8435955047607422, -0.30854249000549316, 0.916497528553009, -0.12146257609128952, -0.6569018363952637, -0.24792779982089996, -0.11103856563568115, -0.25313636660575867, -0.45562249422073364, 0.3953348696231842, -0.039310164749622345, -0.34935781359672546, 0.29221805930137634, -0.26214486360549927, 0.5416290163993835, 0.315900593996048, -0.43474316596984863, 0.12687020003795624, 0.41189688444137573, 0.2806839644908905, -0.019129488617181778, 0.822686493396759, -0.3039790093898773, 0.32800373435020447, -0.044116001576185226, 0.09425875544548035, -0.21900013089179993, -0.1706140637397766, -0.263092041015625, -0.03760593757033348, -0.07468719780445099, -0.30612510442733765 ]
http://arxiv.org/abs/2403.05795v1
http://arxiv.org/pdf/2403.05795v1
ClinicalMamba: A Generative Clinical Language Model on Longitudinal Clinical Notes
2024-03-09T04:58:25
2024-03-09T04:58:25
Zhichao Yang, Avijit Mitra, Sunjae Kwon, Hong Yu
cs.CL
cs.CL
The advancement of natural language processing (NLP) systems in healthcare hinges on language model ability to interpret the intricate information contained within clinical notes. This process often requires integrating information from various time points in a patient's medical history. However, most earlier clinical language models were pretrained with a context length limited to roughly one clinical document. In this study, We introduce ClinicalMamba, a specialized version of the Mamba language model, pretrained on a vast corpus of longitudinal clinical notes to address the unique linguistic characteristics and information processing needs of the medical domain. ClinicalMamba, with 130 million and 2.8 billion parameters, demonstrates a superior performance in modeling clinical language across extended text lengths compared to Mamba and clinical Llama. With few-shot learning, ClinicalMamba achieves notable benchmarks in speed and accuracy, outperforming existing clinical language models and general domain large models like GPT-4 in longitudinal clinical notes information extraction tasks.
[ -0.20985597372055054, -1.0556225776672363, 0.7442718744277954, 0.4270075857639313, -0.5690430402755737, -0.1558622568845749, -0.22045721113681793, -0.4770633280277252, 0.42548900842666626, 0.7341524958610535, -0.4433513879776001, -0.9559366703033447, -0.86931312084198, -0.14534707367420197, -0.2111852765083313, 1.2096610069274902, 0.16561880707740784, 0.17506520450115204, -0.12374693155288696, -0.45541778206825256, -0.4238332509994507, -0.7073763608932495, -0.5373201966285706, -0.3765556812286377, 0.7584181427955627, 0.23455822467803955, 0.6191291213035583, 0.6893051862716675, 0.7531662583351135, 0.12009797245264053, -0.027531949803233147, 0.19917245209217072, -0.3486296236515045, 0.011917023919522762, 0.22641463577747345, -0.5141673684120178, -0.930233895778656, -0.2502245008945465, 0.4253099262714386, 1.0776300430297852, -0.6422072649002075, 0.11843600124120712, -0.25659674406051636, 0.6005019545555115, -0.5449135303497314, 0.1907784342765808, -0.3160635530948639, 0.12073075771331787, -0.5813934803009033, -0.3678743243217468, -0.6384507417678833, -0.449747771024704, 0.1259848177433014, -0.6278285384178162, 0.34269091486930847, -0.44404855370521545, 0.7980311512947083, -0.14998333156108856, -0.5438827276229858, -0.6198719143867493, -0.5941537618637085, 0.4951068162918091, -0.862170398235321, 0.14861011505126953, 0.7306687235832214, 0.6408276557922363, -0.13975024223327637, -1.1089861392974854, -0.19386664032936096, -0.45614543557167053, 0.02254483662545681, 0.15574365854263306, 0.1016470193862915, 0.18486285209655762, 0.10547583550214767, 0.11885370314121246, -0.8160952925682068, 0.3105415105819702, -0.5691861510276794, 0.039124324917793274, 0.43138208985328674, 0.5673446655273438, 0.26776644587516785, -0.2603291869163513, -0.2084866166114807, 0.22678758203983307, -0.9115838408470154, -0.15074469149112701, -0.15059176087379456, 0.2816530168056488, -0.19342058897018433, 0.5095470547676086, 0.005046346224844456, 0.9407893419265747, -0.40229105949401855, -0.5477765798568726, 0.1209622323513031, 0.05564676225185394, -0.37646472454071045, 0.17962682247161865, 0.9139149785041809, 0.133065328001976, -0.13975879549980164, -0.11900240182876587, 0.2421804964542389, 0.13821573555469513, 0.6359801292419434, -0.7724419236183167, -0.364274799823761, 0.11669929325580597, -0.6498711109161377, -0.2645419239997864, -0.24076113104820251, -0.8783911466598511, -0.6036210060119629, -0.11685173213481903, 0.0747627317905426, -0.7016722559928894, 0.04959263652563095, 0.25027063488960266, 0.3257671892642975, -0.1679857224225998, 0.3924655616283417, -1.0798388719558716, 0.31827956438064575, 0.6049237251281738, 0.8784753680229187, -0.022686710581183434, -0.03370771184563637, -0.5192782282829285, 0.33880382776260376, -0.3019578158855438, 0.8494846820831299, -0.8786640167236328, -0.9454071521759033, 0.051350679248571396, -0.03202757239341736, -0.1335621476173401, -0.6896875500679016, 0.7071336507797241, -0.4399021863937378, 0.10170406103134155, 0.0893217995762825, -0.6298769116401672, -0.07736031711101532, -0.030286548659205437, -0.4537845849990845, 0.5085134506225586, 0.3705432713031769, -0.292989045381546, 0.5696949362754822, -0.5885721445083618, -0.7663081884384155, 0.2162889987230301, -0.15534615516662598, -0.7826095223426819, 0.1420779675245285, 0.2499307245016098, 0.47819194197654724, -0.5456985831260681, 0.5384243130683899, -0.4352678060531616, -0.2892339527606964, 0.07474834471940994, 0.02815295197069645, 0.7236242890357971, 0.4717548191547394, 0.14516210556030273, -0.02438068389892578, -1.19436776638031, -0.15576577186584473, 0.21319621801376343, -0.5415788888931274, -0.39631834626197815, -0.2555988132953644, 0.10609783977270126, 0.1273147016763687, -0.041234247386455536, -0.23632466793060303, 0.4127615988254547, -0.21598543226718903, 0.349617063999176, 0.20869183540344238, 0.33611777424812317, 0.22468039393424988, -0.18562869727611542, 0.9617324471473694, 0.10832218080759048, 0.42427322268486023, -0.5379078984260559, -0.6682155132293701, -0.5954481959342957, -0.5674014091491699, 0.2753092348575592, 0.3089503049850464, -0.15710465610027313, 0.2813664674758911, -0.19780869781970978, -0.6514583230018616, -0.6617785096168518, 0.20906133949756622, 0.3897845149040222, 0.7586453557014465, 0.6401052474975586, -0.48186933994293213, -0.7941036820411682, -0.8088815808296204, 0.0051043289713561535, -0.24792048335075378, -0.07533882558345795, 0.3538953363895416, 0.10246345400810242, -0.5830252766609192, 0.7144321203231812, -0.5959512591362, -0.6445193886756897, -0.5204166769981384, 0.5221190452575684, 0.16731174290180206, 0.24969525635242462, 0.4544576108455658, -0.3058091998100281, -0.20894207060337067, 0.10394034534692764, -1.0883888006210327, -0.25502634048461914, -0.3662712275981903, -0.0213606134057045, -0.27781152725219727, 0.46277323365211487, -0.6225230693817139, 0.38053098320961, 0.4978698492050171, 0.04904495179653168, 0.12626229226589203, -0.5583689212799072, -0.1893666684627533, -1.0489904880523682, 0.2711513042449951, -0.25346148014068604, -0.1981448084115982, -0.592465341091156, -0.14166373014450073, 0.212729811668396, -0.14616522192955017, -0.22169996798038483, 0.27722275257110596, -0.3950224220752716, 0.2124202400445938, -0.35192063450813293, 0.27651870250701904, 0.09804127365350723, 0.33945146203041077, -0.04015577584505081, 0.2181597352027893, 0.3282180726528168, -0.6946973204612732, 0.2212977260351181, 0.521742582321167, -0.4666282832622528, 0.5539287328720093, -0.43139684200286865, 0.2685738205909729, -0.09579966962337494, 0.2079666256904602, -0.6244913339614868, -0.16351181268692017, -0.2750413715839386, -0.3425044119358063, 0.45016059279441833, -0.18981550633907318, -0.3897719979286194, -0.456651508808136, 0.29796525835990906, 0.15930859744548798, 0.6217169165611267, -0.061658669263124466, 0.24585063755512238, 0.6679874062538147, -0.479853093624115, -0.3174491226673126, -0.5131879448890686, 0.33573099970817566, -0.1875348687171936, -0.32621949911117554, 0.12493707239627838, 0.44870370626449585, 0.157547727227211, -0.30068039894104004, 0.27952271699905396, -0.34727743268013, 0.08748061954975128, 0.40427955985069275, 0.33679524064064026, -0.6712793111801147, 0.3743574917316437, 0.35729944705963135, -0.2468065619468689, -0.09910892695188522, 0.12650170922279358, 0.6195665597915649, 0.18812543153762817, -0.25433191657066345, -0.2827887237071991, 0.38330820202827454, 0.477051317691803, -0.0868191123008728, 1.0391734838485718, 0.26563283801078796, -0.40159907937049866, 0.026646779850125313, -0.4191000759601593, 0.10800899565219879, -0.3396279215812683, 0.4853566288948059, -0.29852792620658875, -0.667472243309021, 0.39384692907333374, -0.21010853350162506, -0.17905069887638092, 0.27242717146873474, 0.6775045990943909, -0.09624791890382767, 0.9680758118629456, 0.6782099008560181, 0.051796846091747284, 0.11210951954126358, -0.05574190989136696, 0.10807612538337708, -0.7032214999198914, -0.48367515206336975, -0.3371846377849579, 0.03250819817185402, -0.20830197632312775, -0.2530239224433899, 0.4509618580341339, 0.2103274017572403, 0.07177469879388809, 0.32988160848617554, -0.0772804394364357, 0.05047376826405525, 0.04333790764212608, 0.4470100700855255, 0.39108774065971375, -0.42946183681488037, -0.24014262855052948, -0.343180388212204, -0.6539258360862732, -0.6705746650695801, 1.2099779844284058, 0.3113401234149933, 0.7614931464195251, 0.10265213996171951, 0.4404398202896118, 0.10475573688745499, 0.8562745451927185, -0.39113640785217285, 0.4973267614841461, -0.250392884016037, -0.5120888948440552, -0.010926230810582638, -0.09758364409208298, -1.2040889263153076, 0.11080753058195114, -0.06155863776803017, -0.3993833065032959, -0.08226218074560165, 0.017954891547560692, -0.632135808467865, -0.13525401055812836, -0.4369334280490875, 0.8727704882621765, -0.04534384235739708, -0.07273335754871368, -0.28167256712913513, -0.9300639629364014, 0.603909432888031, -0.4142343997955322, 0.10572682321071625, -0.17956489324569702, -0.07992143929004669, 0.5401660203933716, -0.7238031029701233, 0.8321667909622192, -0.16520147025585175, 0.047074589878320694, 0.2023751437664032, 0.1883048117160797, 0.2582819163799286, 0.13319484889507294, 0.19620446860790253, 0.09534098953008652, -0.03336852788925171, -0.46395784616470337, -0.6017152070999146, 0.5311931371688843, -0.4463980495929718, -0.45363301038742065, -0.19008037447929382, -0.4016731083393097, -0.5491276979446411, 0.09572869539260864, 0.2568974196910858, 0.6376739144325256, -0.7101770043373108, 0.19385096430778503, 0.2208908349275589, -0.584604799747467, 0.12036807090044022, 0.7654021382331848, -0.35718631744384766, -0.27100157737731934, 0.38641029596328735, -0.1445758044719696, 0.16382308304309845, 0.45408883690834045, 0.08998853713274002, -0.2407478243112564, -0.6866992115974426, -0.42929279804229736, 0.5420134663581848, -0.8469040989875793, -0.0545179508626461, -1.1039313077926636, -0.13372914493083954, -0.4082815945148468, -0.18163065612316132, -0.3687359094619751, -0.4863930344581604, -0.40404000878334045, -0.2326553910970688, 0.28649401664733887, 0.8056029677391052, 0.1295841783285141, 0.6731225848197937, -1.177961826324463, 0.47682657837867737, -0.018048785626888275, 0.09354788064956665, -0.133321613073349, -0.6279388070106506, -0.4226212203502655, -0.31771987676620483, -0.39687976241111755, -0.8540521860122681, 0.6560059785842896, 0.2484106570482254, 0.49449971318244934, 0.836122989654541, -0.28242412209510803, 1.1129014492034912, -0.7766765356063843, 0.6191627383232117, 0.23474949598312378, -0.5733587145805359, 0.8377220034599304, -0.3953021466732025, 0.4190685451030731, 0.673233151435852, 0.484435498714447, -0.6213979125022888, -0.5226085782051086, -0.667743980884552, -0.652592658996582, 0.47120362520217896, -0.0778026133775711, -0.07161478698253632, -0.17724747955799103, 0.3953953683376312, 0.4574842154979706, 0.14841315150260925, -0.3641764521598816, 0.07516970485448837, 0.02835099771618843, -0.363203227519989, -0.3907172679901123, -0.4745654761791229, -0.2706925570964813, -0.02487931400537491, 0.19330227375030518, 0.07254741340875626, 0.17672036588191986, 0.06909698247909546, -0.5131112933158875, 0.11990804970264435, 0.20371457934379578, 0.9677468538284302, 0.8437381982803345, -0.2421427220106125, 0.09671381115913391, 0.10109659284353256, -0.895250141620636, 0.12832561135292053, 0.029669037088751793, 0.1356588751077652, 0.2671547532081604, 0.6137845516204834, 0.9185023903846741, 0.3236597180366516, -0.7846869826316833, 0.45908117294311523, 0.008334081619977951, 0.14137426018714905, -0.21775853633880615, -0.05889502167701721, 0.18760424852371216, -0.18313097953796387, -0.2378486692905426, -0.02478124015033245, 0.21847321093082428, -0.5108174085617065, 0.41156259179115295, 0.011968504637479782, -0.5510400533676147, -0.45306962728500366, 1.028695821762085, 0.04493117704987526, -0.11094175279140472, 0.6273179650306702, 0.3877243101596832, 0.024597108364105225, 0.5443320870399475, 0.7016260027885437, 0.6264119148254395, -0.3708532154560089, 0.43071913719177246, 0.27789074182510376, 0.007566396612673998, -0.027619317173957825, -0.08013997226953506, -0.22093898057937622, -0.23840926587581635, -0.21395668387413025, -0.6517459154129028, -0.4249449372291565, 0.16173669695854187, -0.866125762462616, 0.4926518201828003, -0.8117154836654663, -0.48874539136886597, 0.048831116408109665, -0.41178181767463684, -0.4209766983985901, 0.36313262581825256, 0.17365707457065582, 0.7211523056030273, -0.6210179328918457, 1.3706278800964355, 0.4051433801651001, -0.5290353298187256, -0.3539701998233795, -0.5072917342185974, 0.06531601399183273, -0.9528664946556091, 0.8798145651817322, 0.14872929453849792, 0.1614188551902771, -0.28075888752937317, 0.03561512380838394, -0.29507535696029663, 0.8887213468551636, 0.32220712304115295, -0.5635149478912354, -0.0627729520201683, 0.5609845519065857, 0.9304956197738647, -0.5175594687461853, 0.1996433436870575, 0.6979674100875854, -0.02927626669406891, -0.013139855116605759, -0.802863359451294, -0.009495672769844532, -0.1718360185623169, -0.058531299233436584, 0.24256974458694458, -0.5045358538627625, 0.5576608180999756, -0.43286436796188354, 0.02783821150660515, 0.3569454550743103, 0.5353859066963196, 0.43117135763168335, 0.43807896971702576, 0.07976001501083374, 0.5113798975944519, 1.0486992597579956, 0.12309818714857101, 1.3656959533691406, 0.01361717190593481, 0.1524292528629303, 1.0593196153640747, -0.6348679065704346, 0.6471035480499268, 0.12021857500076294, -0.22779950499534607, 0.7120401859283447, 0.5688197612762451, 0.25691667199134827, 0.7501814961433411, -0.04518638923764229, -0.563634991645813, -0.16495411098003387, 0.10421111434698105, -0.5290310978889465, 0.33089423179626465, 0.5163739919662476, -0.6733360290527344, 0.06571891903877258, 0.25080186128616333, 0.4405670464038849, 0.005995157174766064, 0.012980446219444275, 0.7287583947181702, 0.5387977361679077, -0.6688845157623291, 0.6811895966529846, -0.03840480372309685, -0.014109844341874123, -1.0576930046081543, 0.13852721452713013, -0.4000641107559204, 0.5421245694160461, 0.09019208699464798, -0.2852339446544647, 0.41914165019989014, -0.009466188959777355, 0.043784771114587784, -0.030570603907108307, 0.34244710206985474, -0.255730003118515, -0.5206447839736938, 0.23258109390735626, 0.207743838429451, 0.010447893291711807, 0.19519083201885223, -0.5655834674835205, -0.03499144688248634, -0.31728053092956543, -0.056264374405145645, 0.38878926634788513, 0.5589958429336548, 0.01145974826067686, 0.723612904548645, 0.5496840476989746, 0.3608923852443695, 0.1787845939397812, 0.4425540268421173, 0.6483530402183533, -0.937218427658081, -0.7897468209266663, -0.8689584136009216, 0.13404692709445953, -0.14137881994247437, -0.5875400900840759, 0.5187705755233765, 0.66713947057724, 0.1296914517879486, -0.21326498687267303, 0.6431480050086975, 0.34760329127311707, 0.7546471357345581, -0.7220367193222046, 0.7329682111740112, -0.4998408555984497, 0.307121217250824, -0.24367083609104156, -0.513384222984314, -0.7818427681922913, 0.5247899293899536, -0.12591418623924255, -0.12558820843696594, 0.917321503162384, 0.4711507558822632, 0.0274993684142828, 0.30474376678466797, 0.4907304346561432, 0.37662190198898315, 0.4913531243801117, 0.9088059067726135, 0.6439528465270996, -0.34074369072914124, 0.46233657002449036, -0.13248679041862488, -0.14681732654571533, -0.4213218092918396, -0.6023337841033936, -0.9805312752723694, -0.40792375802993774, -0.1867128163576126, -0.3625311851501465, 0.0548030287027359, 0.565062403678894, 0.6840624809265137, -0.7923470735549927, -0.15861082077026367, 0.12893615663051605, -0.5018443465232849, -0.11381068825721741, -0.12681947648525238, 0.4247724115848541, -0.26233863830566406, -0.294456422328949, 0.5492973327636719, 0.8661513924598694, 0.07496315240859985, -0.08038788288831711, 0.015712715685367584, -0.16649146378040314, -0.06411084532737732, 0.6103295683860779, 0.46193066239356995, -0.4570648670196533, 0.2383987158536911, 0.017241481691598892, -0.5379912853240967, 0.42680004239082336, 1.3017992973327637, -0.680178165435791, 0.6920203566551208, 0.12053892761468887, 0.5952818989753723, 0.9927311539649963, -0.22201120853424072, 0.7360630035400391, -0.42057251930236816, 0.6007503271102905, 0.3796471655368805, 0.4683491885662079, 0.3577777147293091, -0.1740603893995285, 0.5537573099136353, 0.3276858329772949, -0.2774493396282196, -0.8409454226493835, 0.014451058581471443, -1.159743309020996, -0.19378253817558289, 0.8418959379196167, -0.35122019052505493, 0.005650590173900127, -0.3934263288974762, -0.41588371992111206, 0.27383649349212646, 0.08096493035554886, 0.9267873167991638, 0.5227771997451782, -0.2132299691438675, -0.2503621280193329, -0.8639153838157654, 0.3986870050430298, 0.3602555990219116, -0.9396710991859436, -0.2665988802909851, 0.34793227910995483, -0.03432045131921768, -0.05712272226810455, 1.0102839469909668, -0.6092057824134827, 0.3884367048740387, 0.012745422311127186, -0.11890538036823273, 0.08202625066041946, -0.2256622612476349, -0.28523021936416626, 0.3730512857437134, -0.07635529339313507, 0.04860929399728775 ]
http://arxiv.org/abs/2403.05789v1
http://arxiv.org/pdf/2403.05789v1
ItD: Large Language Models Can Teach Themselves Induction through Deduction
2024-03-09T04:20:46
2024-03-09T04:20:46
Wangtao Sun, Haotian Xu, Xuanqing Yu, Pei Chen, Shizhu He, Jun Zhao, Kang Liu
cs.CL
cs.CL, cs.AI
Although Large Language Models (LLMs) are showing impressive performance on a wide range of Natural Language Processing tasks, researchers have found that they still have limited ability to conduct induction. Recent works mainly adopt ``post processes'' paradigms to improve the performance of LLMs on induction (e.g., the hypothesis search & refinement methods), but their performance is still constrained by the inherent inductive capability of the LLMs. In this paper, we propose a novel framework, Induction through Deduction (ItD), to enable the LLMs to teach themselves induction through deduction. The ItD framework is composed of two main components: a Deductive Data Generation module to generate induction data and a Naive Bayesian Induction module to optimize the fine-tuning and decoding of LLMs. Our empirical results showcase the effectiveness of ItD on two induction benchmarks, achieving relative performance improvement of 36% and 10% compared with previous state-of-the-art, respectively. Our ablation study verifies the effectiveness of two key modules of ItD. We also verify the effectiveness of ItD across different LLMs and deductors. The data and code of this paper can be found at https://anonymous.4open.science/r/ItD-E844.
[ -0.16924136877059937, -0.8148431777954102, 0.6208159923553467, 0.10332437604665756, -0.4157613217830658, -0.0778525099158287, -0.3689911663532257, -0.09992751479148865, -0.1968519240617752, 0.5702846646308899, -0.5229445695877075, -0.5762475728988647, -0.7119407653808594, 0.17203490436077118, -0.46990761160850525, 0.46809929609298706, 0.12394048273563385, 0.0557953417301178, -0.09877593070268631, 0.15639936923980713, -0.216251939535141, -0.3031064569950104, -0.8160814642906189, -0.46466004848480225, 0.15626206994056702, 0.4199484586715698, 0.4726544916629791, 0.885648787021637, 0.2643110752105713, 0.2687038779258728, -0.007819855585694313, 0.28297919034957886, -0.13636308908462524, 0.07308300584554672, -0.6695692539215088, -0.3020123541355133, -0.21206673979759216, -0.22071051597595215, 0.8490996360778809, 0.9557611346244812, -0.31534820795059204, -0.12838071584701538, 0.15584056079387665, 0.6947881579399109, -0.6391588449478149, 0.4824790954589844, -0.931579053401947, -0.34522226452827454, -0.09870174527168274, -0.1397542804479599, -0.6438010334968567, -0.3251914083957672, -0.11260408908128738, -0.28692716360092163, 0.23557023704051971, -0.37349817156791687, 0.35278594493865967, 0.41280651092529297, -0.21528998017311096, -0.3472531735897064, -0.9367502927780151, 0.39172765612602234, -1.0033085346221924, 0.34262168407440186, 0.29172584414482117, 0.13695110380649567, -0.3418348729610443, -0.49711543321609497, -0.8345442414283752, 0.020122244954109192, 0.002556777326390147, -0.29144155979156494, 0.05612628906965256, 0.08904466778039932, 0.5150524973869324, 0.5210244655609131, -0.6038799285888672, 0.49419671297073364, -0.18896529078483582, 0.31102654337882996, 0.6272234916687012, 0.12630878388881683, 0.049354683607816696, 0.11529258638620377, -0.12162335962057114, -0.09904496371746063, -0.917269766330719, -0.17771774530410767, 0.06274496763944626, 0.5207211375236511, -0.07625845819711685, 0.6807963252067566, -0.406333327293396, 0.5354630947113037, 0.09427885711193085, -0.1959185004234314, 0.22488917410373688, -0.02356913685798645, -0.30831754207611084, 0.34580352902412415, 0.7257400155067444, -0.024138953536748886, 0.3094615042209625, -0.1599908322095871, -0.19629615545272827, 0.5743348598480225, -0.15136447548866272, -0.9499784708023071, -0.1204705610871315, 0.28633788228034973, -0.14353011548519135, -0.2322527915239334, -0.2801060974597931, -0.31168535351753235, -0.5894695520401001, -0.44786563515663147, 0.5042079091072083, -0.5600630640983582, -0.6976186037063599, 0.6820122003555298, -0.01667063869535923, 0.21735437214374542, 0.15824605524539948, -1.163387417793274, 0.25728505849838257, 0.8254525065422058, 0.42782488465309143, -0.03674415871500969, -0.24713701009750366, -0.5801402926445007, 0.21027012169361115, -0.399901807308197, 0.9798791408538818, -0.7890620231628418, -0.14360035955905914, 0.21900267899036407, -0.13091793656349182, -0.22048534452915192, -0.6616491675376892, 0.4203222990036011, -0.5635018944740295, 0.005227956455200911, -0.026938481256365776, -0.838391900062561, -0.15535013377666473, 0.18108423054218292, -0.5909349918365479, 0.856299877166748, 0.25542736053466797, -0.6988399028778076, 0.5539059638977051, -0.7026119828224182, -0.7095268964767456, 0.011079403571784496, -0.2432016134262085, -0.1842847764492035, 0.11423292011022568, 0.2675107717514038, 0.7142287492752075, -0.580220639705658, 0.6352639198303223, -0.358325719833374, -0.2534826397895813, 0.10346253216266632, -0.32671207189559937, 0.8865209817886353, 0.25148263573646545, -0.48460179567337036, 0.007330113556236029, -1.1500953435897827, -0.14172647893428802, 0.021587984636425972, -0.3451775312423706, -0.2554222345352173, 0.012967858463525772, -0.6711792945861816, 0.23704536259174347, -0.3690863251686096, -0.5682501196861267, 0.5569702982902527, -0.7444978952407837, 0.5305513739585876, 0.6306792497634888, -0.013375530950725079, 0.7556356191635132, -0.1288401484489441, 0.2505132257938385, 0.2883126735687256, -0.40252551436424255, -0.27737849950790405, -0.1457366645336151, -0.6089643836021423, -0.5587177276611328, 0.3399067223072052, 0.4052011966705322, -0.8748791217803955, 0.7450765371322632, -0.21030248701572418, -0.3686845898628235, -0.7823488712310791, 0.31207039952278137, 0.10636559873819351, 0.5164211392402649, 0.38718077540397644, -0.04163265973329544, -0.46974417567253113, -0.5931820273399353, -0.1053529679775238, -0.1859573870897293, -0.1067814752459526, -0.5007739067077637, 0.3367893099784851, -0.38568565249443054, 0.42579513788223267, -0.1311611384153366, -0.19231288135051727, -0.5049129724502563, 0.21962712705135345, 0.4472859501838684, 0.6783017516136169, 0.06807130575180054, -0.2088603973388672, -0.22844649851322174, -0.1991558074951172, -0.8624749779701233, -0.24240800738334656, -0.3381173014640808, -0.1539275199174881, 0.3935384750366211, 0.41421031951904297, -0.8343275189399719, 0.6067746877670288, 0.2221686989068985, -0.3890696167945862, 0.3899684548377991, -0.08363252133131027, -0.0934324637055397, -0.9548431038856506, -0.16158883273601532, -0.21247175335884094, -0.11734701693058014, -0.267267107963562, -0.07362930476665497, 0.12075576186180115, 0.07076030224561691, -0.24785444140434265, 0.5720568895339966, -0.3622421622276306, -0.23899656534194946, -0.4020417034626007, 0.004703493323177099, -0.10099313408136368, 0.24026328325271606, 0.43197691440582275, 0.5235001444816589, 0.8304821848869324, -1.04692804813385, 0.30800649523735046, 0.37321701645851135, -0.7034060955047607, 0.47030264139175415, -0.3557564616203308, -0.18651700019836426, -0.26311013102531433, 0.18881700932979584, -0.9987385869026184, -0.0824413150548935, 0.3596078157424927, -0.34473133087158203, 0.43900611996650696, 0.023899108171463013, -0.7313584685325623, -0.24945546686649323, -0.21095618605613708, 0.23210740089416504, 0.6862631440162659, -0.9618301391601562, 0.6501284241676331, -0.11974161118268967, -0.07844603806734085, -0.5356292724609375, -0.6079919338226318, 0.12014370411634445, -0.17802897095680237, -0.6527314782142639, 0.5171994566917419, -0.15920531749725342, -0.5799809098243713, 0.18924902379512787, 0.10998798161745071, 0.08066239207983017, 0.45460575819015503, 0.045644793659448624, -0.14728249609470367, -0.3326394855976105, 0.2680801749229431, 0.24717116355895996, -0.35466888546943665, 0.11748582869768143, -0.3669413924217224, 0.6876152157783508, 0.3849308490753174, -0.5525464415550232, -0.8874896168708801, 0.34110596776008606, 0.5486169457435608, -0.226981520652771, 0.9088178873062134, 0.5082734823226929, -0.4637422561645508, -0.7816027998924255, -0.5786523818969727, -0.47967374324798584, -0.4926469326019287, -0.0788019523024559, -0.5139038562774658, -0.6030775904655457, 0.26904240250587463, -0.20438960194587708, 0.07959173619747162, 0.46856462955474854, 0.7782629132270813, 0.26683810353279114, 1.0443731546401978, 0.6053365468978882, 0.13911163806915283, 0.23638617992401123, -0.4319120943546295, 0.3201453387737274, -0.8116218447685242, -0.06021701171994209, -0.5677499771118164, 0.02028963528573513, -0.46587875485420227, -0.3269227147102356, -0.04377400502562523, 0.25775760412216187, -0.3892953097820282, 0.21480870246887207, -0.35844776034355164, 0.33996543288230896, 0.6068450808525085, 0.002657195320352912, 0.5044920444488525, 0.04045988991856575, -0.3148205578327179, 0.18725475668907166, -0.6808214783668518, -0.6592905521392822, 1.151023507118225, 0.10901528596878052, 0.9076659679412842, 0.04128582403063774, 0.8984967470169067, 0.20953074097633362, 0.3730448782444, -0.800902783870697, 0.5422694087028503, -0.01381952129304409, -0.5283636450767517, -0.17311352491378784, -0.25408145785331726, -0.6423935890197754, 0.2249344140291214, -0.15732908248901367, -0.6738071441650391, -0.05335655435919762, 0.018074149265885353, -0.19435426592826843, 0.34385374188423157, -0.485670268535614, 0.6652806997299194, -0.03757014498114586, -0.6332817077636719, -0.3870641887187958, -0.20271919667720795, 0.47676119208335876, 0.06120112165808678, 0.21491973102092743, -0.1428953856229782, 0.5104203820228577, 0.4558373689651489, -0.3693513870239258, 0.8602506518363953, -0.40669482946395874, -0.487211138010025, 0.3532358705997467, 0.2765413522720337, 0.5531728863716125, 0.35128846764564514, -0.5595884919166565, -0.22670280933380127, -0.12298108637332916, -0.18425659835338593, -0.5410157442092896, 0.718371570110321, -0.35724207758903503, -0.7944186329841614, -0.27953577041625977, -0.5590111017227173, -0.1820148080587387, 0.20429426431655884, 0.1925426870584488, 0.651692807674408, 0.10163088887929916, 0.1594645231962204, 0.8301699161529541, -0.25930652022361755, 0.5396575927734375, 0.6869910359382629, -0.1710897833108902, -0.24320223927497864, 0.3397265076637268, -0.040486983954906464, 0.3012281656265259, 0.5457994937896729, 0.28628775477409363, -0.5491726994514465, -0.7816793322563171, -0.5166522264480591, 0.4071200489997864, -0.8424493670463562, -0.22496742010116577, -0.7620837688446045, -0.21366514265537262, -0.7138038873672485, -0.1299745738506317, -0.4388115704059601, -0.5418474078178406, -0.1807212233543396, -0.4173990786075592, 0.11847412586212158, 0.5294567942619324, -0.44655662775039673, 0.37354299426078796, -0.6140134334564209, 0.5564022660255432, 0.2251090258359909, 0.3344806134700775, -0.10856027901172638, -0.510680615901947, 0.04050253704190254, 0.12131205946207047, -0.18633033335208893, -0.4655809998512268, 0.3119017481803894, 0.2716190218925476, 0.6787269711494446, 0.7399460077285767, 0.44339215755462646, 0.4229545295238495, -0.4937536120414734, 0.6305474042892456, -0.03958170861005783, -0.8479781746864319, 0.3834559917449951, -0.12663032114505768, 0.24541640281677246, 0.4173133969306946, 0.3847561776638031, -0.2361891269683838, -0.42915424704551697, -0.6311650276184082, -0.6493490934371948, 0.5890770554542542, -0.10610123723745346, 0.015463728457689285, -0.40721622109413147, 0.358942449092865, 0.5315892100334167, 0.16855354607105255, -0.6692695617675781, 0.040685463696718216, 0.3121837079524994, -0.42848673462867737, -0.11669985204935074, -0.5185244679450989, 0.08848720043897629, -0.4081037938594818, 0.8866782784461975, -0.09402832388877869, 0.3633248209953308, 0.1204623132944107, -0.3691331446170807, -0.06675612181425095, 0.30562999844551086, 0.3224565386772156, 0.8755596280097961, -0.13492877781391144, 0.4880806803703308, -0.09113788604736328, 0.1981326788663864, 0.16906200349330902, 0.15263551473617554, -0.07724373042583466, -0.020230121910572052, 0.504909336566925, 0.5207616090774536, -0.02808821201324463, -0.540781557559967, 0.36144429445266724, -0.007566080894321203, -0.3704434931278229, -0.3037474751472473, 0.3235931396484375, 0.3262362778186798, 0.5795016288757324, 0.15116798877716064, -0.3187536597251892, 0.028234736993908882, -0.5212773084640503, 0.2568190097808838, 0.5014673471450806, 0.1816014051437378, -0.4657757580280304, 0.7227497696876526, 0.11090545356273651, -0.2619453966617584, 0.6353463530540466, -0.5284328460693359, -0.564565122127533, 0.4122537672519684, 1.0696651935577393, 1.04885995388031, -0.2867262065410614, 0.1585206240415573, 0.5981220602989197, 0.26137953996658325, -0.24260681867599487, 0.49590152502059937, -0.30370253324508667, -1.0639479160308838, -0.7618038058280945, -0.7459468841552734, -0.24988451600074768, 0.46046459674835205, -0.3655005991458893, 0.45201191306114197, -0.6151330471038818, 0.38405841588974, 0.19842222332954407, -0.22772999107837677, -0.8296576738357544, 0.04916222020983696, 0.31242990493774414, 0.9834374189376831, -0.7846877574920654, 1.0256942510604858, 0.49335405230522156, -0.3294857144355774, -0.5450908541679382, -0.2278328537940979, -0.09338889271020889, -0.7773100733757019, 0.8814211487770081, 0.4025774598121643, -0.24925801157951355, 0.27991554141044617, -0.46083182096481323, -0.45653900504112244, 0.8195433020591736, 0.3115062415599823, -0.40388762950897217, 0.08068916201591492, 0.28607943654060364, 0.2080107182264328, -0.5466992855072021, 0.19754356145858765, 0.8584806323051453, 0.323214590549469, 0.26362377405166626, -0.5727378129959106, 0.20266307890415192, 0.005601540207862854, -0.13097956776618958, 0.024055063724517822, -0.05241008475422859, 0.7871694564819336, -0.3537059426307678, -0.36151543259620667, 0.003577458206564188, 0.35935014486312866, 0.09880147129297256, 0.27724185585975647, 0.3393222391605377, 0.9173977375030518, 0.6442521214485168, 0.07100497931241989, 0.7614560127258301, -0.3059859871864319, -0.042339909821748734, 1.104060173034668, -0.585811972618103, 0.7196347117424011, 0.3089272677898407, -0.08813902735710144, 0.5969279408454895, 0.33837780356407166, 0.2982548177242279, 0.6921213865280151, 0.3310742974281311, -0.549365222454071, -0.3450811505317688, -0.057153694331645966, -0.3159542381763458, 0.4328315258026123, 0.6638765335083008, -0.5955674052238464, -0.48265716433525085, 0.15783627331256866, 0.1666175127029419, 0.5057140588760376, -0.30770227313041687, 0.9746876955032349, -0.09381675720214844, -0.707714855670929, 0.8090035915374756, 0.1113663911819458, 0.5918310880661011, -0.42181628942489624, -0.23331177234649658, -0.3323657214641571, 0.6476740837097168, -0.23564878106117249, -0.5593751668930054, 0.3742232918739319, -0.013563058339059353, -0.08638592809438705, -0.2628786861896515, 0.7214561700820923, -0.49772411584854126, -0.39073842763900757, 0.19944527745246887, 0.4206964075565338, -0.19310040771961212, -0.12585020065307617, -0.236662819981575, 0.10843053460121155, -0.1178579181432724, -0.23707470297813416, 0.16556993126869202, 0.7433274984359741, 0.1293184459209442, 0.7462575435638428, 0.5825344324111938, 0.1846832036972046, -0.13285189867019653, 0.11099312454462051, 0.8810376524925232, -0.7868378758430481, -0.2865501046180725, -1.1918781995773315, 0.6165627837181091, 0.03972848132252693, 0.03166591748595238, 0.5872452259063721, 0.3761855363845825, 1.1296312808990479, -0.10354801267385483, 1.0220322608947754, -0.06690336763858795, 0.7013623118400574, -0.7946128845214844, 0.22631290555000305, -0.10662572830915451, 0.6040406823158264, -0.11673242598772049, -0.9647018909454346, -0.5320388078689575, 0.9081246852874756, -0.3599591553211212, -0.3542959690093994, 0.9250566959381104, 0.89026939868927, 0.14501230418682098, 0.07278312742710114, 0.2287747859954834, 0.1731158196926117, 0.6543461084365845, 0.5518468618392944, 1.1441340446472168, -0.2094268947839737, 0.0750984251499176, -0.5127728581428528, -0.154533252120018, -0.12445222586393356, -1.0156053304672241, -1.2145425081253052, -0.5031330585479736, -0.5946892499923706, -0.340713769197464, -0.16668559610843658, 1.127091646194458, 0.3201122581958771, -0.6513184309005737, -0.17353938519954681, -0.4318124055862427, 0.2857046127319336, -0.4452063739299774, -0.21084189414978027, 0.3328852355480194, -0.7193349599838257, -0.6310688853263855, 0.545284628868103, 0.11473134905099869, -0.28592050075531006, -0.07562913000583649, 0.12251418828964233, -0.39627307653427124, -0.004680868703871965, 0.7992166876792908, 0.047717783600091934, -0.4527701735496521, -0.2547853887081146, -0.42853742837905884, -0.058285947889089584, -0.0871911495923996, 0.6996416449546814, -0.9797362089157104, 0.42536649107933044, 0.48538702726364136, 1.0630621910095215, 0.4994918406009674, -0.13259920477867126, 0.5228285789489746, -0.46627748012542725, 0.2531074285507202, 0.14789478480815887, 0.289803683757782, 0.4222191274166107, -0.23557163774967194, 0.6578254699707031, 0.2554927468299866, -0.3627146780490875, -0.911770224571228, 0.3764771521091461, -0.552719235420227, -0.2736709415912628, 1.4930976629257202, 0.007210059091448784, -0.17874084413051605, -0.015263722278177738, -0.10197171568870544, 0.39730867743492126, -0.23761866986751556, 0.8021933436393738, 0.46329638361930847, 0.09174847602844238, -0.06608351320028305, -0.3693179786205292, 0.5624240636825562, 0.18725121021270752, -0.7250397205352783, 0.4695631265640259, 0.5171195864677429, 0.3907541036605835, -0.27211257815361023, 0.6034327149391174, -0.20688867568969727, 0.041080232709646225, 0.047925908118486404, 0.15240328013896942, -0.2209610491991043, -0.3085959255695343, -0.3429763615131378, -0.029896672815084457, 0.5096349716186523, -0.14016225934028625 ]
http://arxiv.org/abs/2403.05788v1
http://arxiv.org/pdf/2403.05788v1
On the Benefits of Fine-Grained Loss Truncation: A Case Study on Factuality in Summarization
2024-03-09T04:20:26
2024-03-09T04:20:26
Lorenzo Jaime Yu Flores, Arman Cohan
cs.CL
cs.CL, cs.AI
Text summarization and simplification are among the most widely used applications of AI. However, models developed for such tasks are often prone to hallucination, which can result from training on unaligned data. One efficient approach to address this issue is Loss Truncation (LT) (Kang and Hashimoto, 2020), an approach to modify the standard log loss to adaptively remove noisy examples during training. However, we find that LT alone yields a considerable number of hallucinated entities on various datasets. We study the behavior of the underlying losses between factual and non-factual examples, to understand and refine the performance of LT. We demonstrate that LT's performance is limited when the underlying assumption that noisy targets have higher NLL loss is not satisfied, and find that word-level NLL among entities provides better signal for distinguishing factuality. We then leverage this to propose a fine-grained NLL loss and fine-grained data cleaning strategies, and observe improvements in hallucination reduction across some datasets. Our work is available at https://https://github.com/yale-nlp/fine-grained-lt.
[ -0.41144677996635437, -0.9768465161323547, 0.5774009227752686, -0.21161842346191406, -0.21535561978816986, -0.11458011716604233, -0.35344091057777405, -0.5800705552101135, 0.26926442980766296, 0.4157997667789459, -0.3415207266807556, -0.4970532953739166, -0.48509305715560913, -0.011548181995749474, -0.7187702059745789, 1.6391552686691284, 0.22175438702106476, -0.30794787406921387, -0.28918975591659546, -0.27758902311325073, -0.5371274352073669, -0.3609009087085724, -0.6999988555908203, -0.48832568526268005, 0.4714396595954895, 0.39256376028060913, 0.9402891397476196, 0.8044365644454956, 0.4936697483062744, 0.2581675052642822, -0.33656054735183716, 0.3753452003002167, -0.7443851232528687, -0.03608782961964607, 0.023221172392368317, -0.6549146175384521, -0.23054057359695435, -0.11608439683914185, 0.5082878470420837, 1.1141693592071533, -0.1509905457496643, 0.1763211041688919, 0.27172136306762695, 0.929783046245575, -0.7860351204872131, 0.06665074080228806, -0.6026107668876648, 0.5367690920829773, -0.02280712127685547, -0.40250077843666077, -0.48234349489212036, -0.527125358581543, 0.22080540657043457, -0.574029803276062, 0.677169680595398, -0.030072873458266258, 1.1002960205078125, 0.7285756468772888, -0.1310243457555771, -0.25572729110717773, -1.192819356918335, 0.6883836984634399, -0.7598336338996887, 0.21520397067070007, 0.3096562922000885, 0.11079396307468414, 0.09191902726888657, -0.5457283854484558, -0.37783369421958923, -0.10885359346866608, -0.4927501082420349, 0.18157914280891418, -0.02224375680088997, 0.2875928282737732, 0.36420708894729614, 0.5214386582374573, -0.5770716071128845, -0.09890983253717422, -0.6159291863441467, -0.3695887625217438, 0.5283567309379578, 0.1625489443540573, 0.011789880692958832, -0.056248173117637634, 0.017933322116732597, -0.02349145896732807, -0.4337025284767151, -0.12118935585021973, 0.191757932305336, 0.3862247169017792, 0.057531509548425674, 0.7189000844955444, -0.18576756119728088, 0.3777484595775604, -0.0469684936106205, -0.3201330006122589, -0.005012121517211199, -0.19789831340312958, -0.2571403682231903, 0.7617218494415283, 0.3502098023891449, 0.7567042708396912, 0.20004312694072723, -0.4736100733280182, -0.22508367896080017, 0.018989866599440575, 0.1450854241847992, -0.8088425397872925, -0.2143191695213318, 0.3048495948314667, -0.6768426895141602, -0.3424435257911682, -0.043045200407505035, -0.6055929064750671, -0.6317564845085144, -0.5234622955322266, 0.554182231426239, -0.529106616973877, 0.2037878930568695, 0.3463706970214844, -0.4340152144432068, 0.025047646835446358, 0.542659342288971, -0.8324528932571411, 0.505534827709198, 0.6862662434577942, 1.1616820096969604, -0.11180750280618668, -0.08156028389930725, -0.745482325553894, 0.25017639994621277, -0.42671018838882446, 0.6908982992172241, -0.12518593668937683, -0.32926151156425476, -0.1340671330690384, -0.41527634859085083, -0.05576884001493454, -0.7394750714302063, 0.6093417406082153, -0.12482699006795883, 0.17198704183101654, -0.19390058517456055, -0.5886476039886475, -0.5246123671531677, 0.3427249789237976, -0.8078479170799255, 0.7511091232299805, -0.2248281091451645, -0.8357297778129578, 0.2779119908809662, -0.4294672906398773, -0.765370786190033, -0.30658257007598877, 0.11290378868579865, -0.6492152214050293, 0.5890758633613586, -0.03601842746138573, 0.4702844023704529, 0.052042506635189056, 0.2782163619995117, -0.0909028872847557, -0.5999923944473267, -0.08803381770849228, -0.506998598575592, 0.4303820729255676, 0.20289559662342072, -0.4192388355731964, 0.034639179706573486, -0.9537977576255798, -0.09640026092529297, -0.15766926109790802, -0.23813559114933014, -0.6715224385261536, 0.2660054564476013, -0.07293018698692322, -0.23806914687156677, -0.14326412975788116, -0.17190130054950714, 0.12403413653373718, -0.6220784783363342, 0.14264558255672455, 0.43715518712997437, 0.06745518743991852, 0.27285051345825195, -0.5817487835884094, -0.002574493642896414, 0.025841379538178444, -0.014629467390477657, 0.014778677374124527, -0.08784584701061249, -0.9425674080848694, -0.170060396194458, 0.3917650878429413, 0.43255335092544556, -0.6097427606582642, 0.30371540784835815, -0.18105953931808472, -0.3191720247268677, -0.5756639242172241, -0.27341583371162415, 0.2108660638332367, 0.7609147429466248, 0.5531356930732727, -0.0991448387503624, -0.636643648147583, -0.8560158610343933, -0.39966699481010437, -0.150946244597435, -0.01721937023103237, -0.05403042957186699, 0.3719766438007355, -0.1680903434753418, 0.9996894001960754, -0.6448966860771179, -0.5833841562271118, -0.3350127339363098, 0.4463300108909607, -0.05888410285115242, 0.4874267578125, 0.3363583981990814, -0.7195910215377808, -0.10211709141731262, -0.021176856011152267, -0.8337262868881226, 0.027992291375994682, -0.5490565299987793, 0.2151600420475006, 0.35497066378593445, 0.39105433225631714, -0.909993588924408, 0.8888001441955566, 0.1682969033718109, -0.2137472927570343, 0.7429009675979614, -0.2757384479045868, 0.1234990656375885, -0.8344335556030273, 0.07732879370450974, -0.1159290000796318, -0.508606493473053, -0.8213770389556885, -0.2656029164791107, -0.4460461139678955, 0.072880819439888, -0.1760803759098053, 0.2614845633506775, -0.1189943179488182, -0.3188152313232422, -0.2869730591773987, 0.42725980281829834, 0.3120536804199219, 0.42742210626602173, 0.10793912410736084, 0.7862158417701721, 0.12453927844762802, -1.0039243698120117, -0.03168822452425957, 0.34708938002586365, -0.05256734415888786, 0.2168557494878769, -0.7493358254432678, -0.39418938755989075, -0.5236163139343262, 0.23171305656433105, -0.608134925365448, -0.15105251967906952, 0.14623552560806274, -0.24212010204792023, 0.24214906990528107, 0.23539872467517853, -0.41121038794517517, 0.12488433718681335, -0.7154769897460938, 0.28157833218574524, 0.3075762391090393, -0.5126851201057434, 0.3335745632648468, 0.18246105313301086, 0.14669343829154968, -0.4193519651889801, -0.863219678401947, 0.17401517927646637, -0.4448050558567047, -0.3404824137687683, 0.45155981183052063, -0.19189897179603577, -0.38480958342552185, 0.08760415017604828, -0.36123406887054443, 0.07758189737796783, 0.27359580993652344, 0.05718046799302101, 0.060949042439460754, -0.1979292631149292, 0.48317664861679077, 0.03897399082779884, 0.015774156898260117, 0.10721448808908463, -0.06478102505207062, 0.5729918479919434, -0.3672219514846802, 0.02616717666387558, -0.685189962387085, 0.13377170264720917, 0.19451643526554108, 0.04853011667728424, 0.8517711162567139, 0.8299691677093506, -0.550175130367279, -0.23285658657550812, -0.4159471094608307, -0.23269808292388916, -0.38487157225608826, 0.4149295389652252, -0.16793480515480042, -0.5998327732086182, 0.622959554195404, -0.058093808591365814, 0.07768944650888443, 0.7481611371040344, 0.3366909623146057, -0.13897797465324402, 0.668297290802002, 0.7052885293960571, 0.04388308897614479, 0.1612928807735443, -0.5378463864326477, 0.2946948707103729, -0.6588313579559326, -0.24768047034740448, -0.5975711345672607, -0.27021029591560364, -0.6768653988838196, -0.12789635360240936, 0.21207956969738007, 0.057393878698349, 0.15313822031021118, 0.026598036289215088, -0.6184173226356506, 0.6340577602386475, 0.5071903467178345, 0.1920360028743744, 0.5562624931335449, -0.07727225124835968, 0.3446708917617798, -0.059483300894498825, -0.6696786880493164, -0.6165024042129517, 0.5956900119781494, 0.39645901322364807, 0.8202903866767883, -0.030931975692510605, 0.7380310297012329, 0.6814615726470947, -0.1619732677936554, -1.1361197233200073, 0.4826452434062958, -0.16376712918281555, -0.3628096282482147, -0.5741797685623169, -0.6857184171676636, -0.6902129054069519, 0.12328938394784927, -0.3280107080936432, -0.7073230147361755, 0.13161543011665344, 0.311795175075531, -0.6322166919708252, 0.5422738194465637, -0.6687501668930054, 0.6910382509231567, 0.2456117421388626, -0.1454818695783615, -0.27370685338974, -0.7613030076026917, 0.5748915076255798, -0.06946533173322678, -0.003185766050592065, 0.039509840309619904, 0.18851663172245026, 0.8348161578178406, -0.7034146189689636, 0.7700376510620117, -0.07745987176895142, -0.0980418249964714, 0.23907504975795746, 0.06800274550914764, 0.6207181811332703, 0.1346849650144577, 0.10356742888689041, 0.03990864381194115, 0.07134655863046646, -0.03019617311656475, -0.7526888251304626, 0.35119906067848206, -0.504185676574707, -0.49560219049453735, -0.3280651569366455, -0.7747129797935486, -0.07272736728191376, 0.1428108513355255, 0.3460387587547302, 0.6453420519828796, -0.09361477196216583, 0.3478502929210663, 0.9969046711921692, -0.30864691734313965, 0.5656570196151733, -0.15180540084838867, 0.049479369074106216, -0.035776928067207336, 1.0292842388153076, 0.2399645894765854, 0.12230794876813889, 0.45714718103408813, 0.3389085531234741, -0.13572098314762115, -0.7148049473762512, -0.12252302467823029, 0.2285001277923584, -0.6826881766319275, -0.26583200693130493, -0.6528016924858093, -0.4757586121559143, -0.2697877585887909, -0.22940517961978912, -0.5268833637237549, -0.9071071147918701, -0.2744227349758148, -0.16899190843105316, 0.2135402411222458, 0.5711422562599182, -0.09368631988763809, 0.4285222291946411, -0.7953585982322693, 0.5702527761459351, 0.0023249085061252117, 0.28302836418151855, 0.04542993754148483, -0.48149362206459045, -0.46649760007858276, 0.1231609657406807, -0.17599503695964813, -0.4202098548412323, 0.23085585236549377, 0.49982669949531555, 0.1541362702846527, 0.5557388663291931, 0.46066516637802124, 1.029193639755249, -0.4890153110027313, 0.6839230060577393, 0.06329482793807983, -0.9614031314849854, 0.4442678987979889, -0.017849048599600792, 0.2177368700504303, 0.8488906621932983, 0.058552734553813934, -0.5827878713607788, -0.6501859426498413, -0.6376250982284546, -0.6725783348083496, 0.7120360136032104, 0.471579372882843, -0.09047339856624603, 0.2877390682697296, 0.48591378331184387, 0.3366793394088745, 0.4447821080684662, -0.6136608123779297, -0.4554564356803894, -0.27370578050613403, -0.40240195393562317, 0.054664306342601776, -0.4112372398376465, -0.26997312903404236, -0.18524937331676483, 0.9508368372917175, 0.053113844245672226, 0.05423855781555176, 0.4824276864528656, -0.2729378044605255, 0.05570179596543312, 0.17928491532802582, 0.7978366017341614, 0.4268057942390442, -0.4735816419124603, 0.37967249751091003, 0.19099648296833038, -0.6207139492034912, -0.06902586668729782, 0.03180994465947151, -0.5663067102432251, 0.4423385560512543, 0.7588859796524048, 0.8141821622848511, -0.027657190337777138, -0.5998514890670776, 0.3407776951789856, -0.10516809672117233, -0.29716768860816956, -0.08657105267047882, 0.11115363985300064, -0.5128214955329895, 0.12248556315898895, 0.2558216452598572, 0.3816693425178528, 0.8403421640396118, -0.6804496645927429, 0.34038299322128296, 0.22806088626384735, -0.29179200530052185, -0.20606555044651031, 0.6880010366439819, -0.07134660333395004, -0.04708796367049217, 0.4296906590461731, -0.2668367624282837, -0.39048904180526733, 0.4510156214237213, 0.36338773369789124, 0.8706156015396118, 0.1606910675764084, 0.5159238576889038, 0.36690452694892883, 0.5208513736724854, -0.25454938411712646, -0.3201850354671478, -0.07299184054136276, -0.3787442445755005, -0.3980602025985718, -0.45097705721855164, -0.2902887463569641, 0.13001418113708496, -0.6609358191490173, 0.2550077438354492, -0.43017521500587463, -0.07856392115354538, 0.10741344839334488, 0.14131125807762146, -0.2536652684211731, 0.42838093638420105, 0.09759677946567535, 0.6567748188972473, -0.7059147953987122, 0.28597766160964966, 0.22732175886631012, -0.2663730978965759, -0.6392273902893066, 0.3650498390197754, -0.08324099332094193, -0.3026728332042694, 0.25436723232269287, 0.5101560354232788, -0.20928344130516052, -0.22841858863830566, -0.38298922777175903, -0.6094034910202026, 0.9457635283470154, 0.39438629150390625, -0.4213079810142517, -0.2812497317790985, 0.3627967834472656, 0.5739485025405884, 0.04119154438376427, -0.04752945154905319, 0.7147058844566345, 0.4234561324119568, 0.13229809701442719, -0.6171343922615051, 0.13718187808990479, 0.17137469351291656, 0.04695463180541992, 0.2116914689540863, -0.7540275454521179, 0.5816249847412109, -0.4032782316207886, -0.38197916746139526, -0.11455785483121872, 0.7615579962730408, -0.023458702489733696, 0.870819628238678, 0.5162802338600159, 0.5947114825248718, 1.0536075830459595, -0.23777292668819427, 0.7984334826469421, 0.041182126849889755, 0.473077654838562, 1.3699545860290527, 0.013389992527663708, 0.3391343653202057, 0.4688497483730316, 0.06688810884952545, 0.09781260788440704, 0.5749033093452454, -0.03683910146355629, 0.5773636698722839, 0.1270075887441635, -0.0584494024515152, 0.049487579613924026, -0.44146236777305603, -0.18130066990852356, 0.431962251663208, 0.20753970742225647, -0.04462265968322754, -0.5320973992347717, 0.20221824944019318, 0.22199703752994537, 0.19531942903995514, -0.34114691615104675, 0.8206964731216431, -0.03946371749043465, -0.3500688076019287, 0.7285887598991394, -0.06998246163129807, 0.32441937923431396, -0.3380383849143982, -0.11871687322854996, -0.3991348147392273, 0.04683920368552208, -0.5331236124038696, -0.4263816475868225, 0.9519398808479309, -0.15647438168525696, -0.35066351294517517, 0.20432879030704498, 0.6452817320823669, -0.5434722900390625, -0.2735053598880768, 0.025090770795941353, 0.1863461583852768, 0.44871383905410767, -0.09237408638000488, -0.3626663088798523, 0.11844934523105621, 0.04653673246502876, -0.1382405161857605, -0.10666817426681519, 0.7302228212356567, 0.02674410119652748, 0.6681625247001648, 0.2524860203266144, 0.20983529090881348, -0.06801633536815643, 0.25122684240341187, 0.7570655941963196, -0.6960617899894714, -0.27465540170669556, -0.9903484582901001, 0.4033544361591339, -0.24003227055072784, -0.11153940856456757, 0.7504160404205322, 0.979822039604187, 0.7003955245018005, -0.07926923036575317, 0.6987413763999939, -0.023324666544795036, 0.35370925068855286, -0.8906950354576111, 0.6566138863563538, -0.6783782243728638, 0.47101643681526184, -0.2088899314403534, -0.9624682068824768, -0.6114968657493591, 0.48043209314346313, 0.05938546732068062, -0.0718291848897934, 0.8783539533615112, 0.6486244797706604, 0.05584908276796341, -0.06828290969133377, 0.532181978225708, 0.4157285690307617, 0.35086846351623535, 0.17131517827510834, 0.5021312236785889, -0.7133861780166626, 0.717628538608551, -0.45308828353881836, 0.059542011469602585, -0.4213661849498749, -0.6217236518859863, -1.0403635501861572, -0.4671211242675781, -0.610222339630127, -0.3151870667934418, 0.21990767121315002, 0.7442200779914856, 0.4750061631202698, -0.7930359840393066, 0.12176036834716797, -0.09619311988353729, 0.39029937982559204, -0.28130364418029785, -0.2695029079914093, 0.7024524807929993, -0.5959910154342651, -0.5686719417572021, 0.029243484139442444, 0.2599849998950958, 0.2984887361526489, 0.11819443851709366, 0.019584711641073227, -0.06052112206816673, 0.12792710959911346, 0.755974531173706, 0.07168351113796234, -0.5289838314056396, -0.42752593755722046, -0.433925062417984, 0.0629100352525711, 0.08580733835697174, 0.6068926453590393, -0.7611885666847229, 0.21288304030895233, 0.265718013048172, 0.7453513741493225, 0.36077702045440674, 0.3543541133403778, 0.2735825479030609, -1.0272583961486816, 0.24359603226184845, 0.11877553910017014, 0.09208367764949799, 0.35508787631988525, -0.645183801651001, 0.7446507811546326, 0.24843642115592957, -0.4076637327671051, -1.0366544723510742, -0.20537135004997253, -1.0503143072128296, -0.3879019021987915, 0.9289513826370239, 0.30522722005844116, -0.2743939757347107, 0.009471946395933628, -0.35627585649490356, 0.5291930437088013, -0.37210318446159363, 1.273833155632019, 0.6919774413108826, -0.031671009957790375, 0.0189113337546587, -0.637363076210022, 0.977067232131958, 0.3741670846939087, -0.9643222689628601, 0.43925654888153076, 0.5396379232406616, -0.21308749914169312, 0.4121127128601074, 0.32499074935913086, 0.19193291664123535, 0.12249398231506348, -0.1440129280090332, 0.09393993765115738, 0.00012676918413490057, -0.5954200029373169, -0.24024397134780884, 0.04782605171203613, -0.11406785249710083, -0.19259308278560638 ]
http://arxiv.org/abs/2403.07008v2
http://arxiv.org/pdf/2403.07008v2
AutoEval Done Right: Using Synthetic Data for Model Evaluation
2024-03-09T02:47:11
2024-05-28T04:38:41
Pierre Boyeau, Anastasios N. Angelopoulos, Nir Yosef, Jitendra Malik, Michael I. Jordan
cs.LG
cs.LG, cs.AI, cs.CL, stat.ME
The evaluation of machine learning models using human-labeled validation data can be expensive and time-consuming. AI-labeled synthetic data can be used to decrease the number of human annotations required for this purpose in a process called autoevaluation. We suggest efficient and statistically principled algorithms for this purpose that improve sample efficiency while remaining unbiased. These algorithms increase the effective human-labeled sample size by up to 50% on experiments with GPT-4.
[ -0.24462388455867767, -0.6245412826538086, 0.24155861139297485, 0.13038372993469238, -0.154346764087677, 0.38850492238998413, -0.06064208596944809, -0.45583575963974, -0.3209887742996216, 0.30399903655052185, -0.3229604959487915, -0.3150957524776459, -0.3333848714828491, 0.3689006567001343, -0.5435294508934021, 0.8244073987007141, -0.21111880242824554, 0.23218388855457306, -0.3125508427619934, -0.11118368059396744, -0.4313339293003082, -0.8860079646110535, -0.4514530599117279, -0.6087573766708374, 0.2869216799736023, 0.33325618505477905, 0.829479992389679, 1.1090598106384277, 0.6514659523963928, 0.4190610349178314, 0.49634259939193726, 0.22040458023548126, -0.23507274687290192, -0.01716957800090313, 0.06486067920923233, -0.34468695521354675, -0.5792956948280334, 0.6606931686401367, 0.5474251508712769, 0.5775966048240662, -0.2488975077867508, 0.46355053782463074, -0.027788516134023666, 0.6991825699806213, -0.6910214424133301, 0.2448708862066269, -0.3276713192462921, 0.10678903758525848, 0.02747548744082451, -0.28524115681648254, -0.44328585267066956, -0.5886781215667725, 0.3704397678375244, -0.7682211399078369, 0.505963921546936, 0.18888205289840698, 0.7896419763565063, 0.6353704929351807, -0.12665602564811707, -0.0924682766199112, -0.8843206167221069, 0.8359732031822205, -0.5371343493461609, 0.22570918500423431, 0.6596658825874329, 0.6939117312431335, -0.001387916854582727, -0.8607497215270996, -0.4786694645881653, -0.607528567314148, -0.18118321895599365, 0.19665750861167908, -0.030135897919535637, 0.15731412172317505, 0.44792667031288147, 0.28121986985206604, -0.4430176019668579, 0.06142663210630417, -0.7018092274665833, -0.41034746170043945, 1.218047857284546, 0.06955523788928986, 0.4084656834602356, -0.03267258033156395, -0.2095082551240921, -0.4420243203639984, -0.5713025331497192, -0.346346914768219, 0.409989595413208, 0.28534629940986633, 0.30388495326042175, 0.6670746803283691, -0.44160333275794983, 0.8330195546150208, 0.34383532404899597, 0.260093629360199, 0.5851598978042603, -0.5091196894645691, -0.6301264762878418, 0.031498219817876816, 0.580990195274353, 0.27346888184547424, 0.27654409408569336, -0.10788124054670334, -0.3086513876914978, 0.20633569359779358, 0.5550082921981812, -0.9509497880935669, -0.7528589367866516, 0.09431838989257812, -0.48579245805740356, -0.6383089423179626, 0.05947224423289299, -0.7165573835372925, -0.11138909310102463, -0.9124651551246643, 0.882951021194458, -0.17274324595928192, 0.21677035093307495, -0.17005768418312073, -0.24954524636268616, -0.04974969103932381, 0.41205930709838867, -0.6971977353096008, 0.22949762642383575, 0.3161257207393646, 0.5820199251174927, -0.10479064285755157, -0.1466526836156845, -0.5489401817321777, -0.0987643152475357, -0.7284383177757263, 0.6874837875366211, -0.5244587063789368, -0.48734214901924133, -0.4764571189880371, 0.12922507524490356, -0.1577460914850235, -0.6138679385185242, 0.5550055503845215, -0.3843359053134918, 0.5058771967887878, -0.17179065942764282, -0.6613482236862183, -0.2592514157295227, 0.04185478389263153, -0.638367235660553, 1.1128182411193848, 0.3150094151496887, -0.18941816687583923, 0.7289759516716003, -1.0303126573562622, -0.46237239241600037, 0.12679077684879303, -0.1744706630706787, -0.728717029094696, -0.00529744615778327, 0.39988306164741516, 0.3135510981082916, -0.22396519780158997, 0.27999237179756165, -0.13272987306118011, -0.24443325400352478, 0.07409726828336716, -0.559689462184906, 0.7221373319625854, 0.4564976692199707, -0.5985395908355713, 0.18988966941833496, -0.8540840744972229, 0.23247842490673065, -0.017070040106773376, -0.3507634997367859, -0.27872368693351746, -0.10686557739973068, -0.16230268776416779, 0.15413475036621094, -0.19325275719165802, -0.6231265068054199, 0.27654585242271423, -0.5259575247764587, 0.3064208924770355, 0.6691280603408813, -0.062087107449769974, 0.369316041469574, -0.4788602292537689, 0.6062633395195007, -0.3085862100124359, 0.27855563163757324, 0.13458152115345, -0.4991372525691986, -0.7422841787338257, -0.35233473777770996, 0.8556667566299438, 0.49616870284080505, -0.5702202320098877, 0.5793430209159851, 0.13319183886051178, -0.7228116989135742, -0.9668684601783752, 0.21740101277828217, 0.4809210002422333, 0.708763837814331, 0.6414746642112732, -0.24608570337295532, -0.6818281412124634, -1.222118616104126, -0.42789965867996216, -0.1506887823343277, -0.1543714702129364, 0.11372753232717514, 0.6309416890144348, -0.3562820851802826, 0.9782461524009705, -0.30476996302604675, -0.13079051673412323, 0.09115109592676163, 0.7921518087387085, -0.2729070484638214, 0.8046002388000488, 0.6115038990974426, -0.7573963403701782, -0.6539385914802551, -0.2901627719402313, -0.6778785586357117, -0.2714274227619171, -0.09806343168020248, -0.14078105986118317, 0.3267509341239929, 0.30322542786598206, -0.2943452000617981, 0.9510339498519897, 0.11696925014257431, 0.026885518804192543, 0.5130318999290466, -0.6679298877716064, 0.5889552235603333, -0.5460344552993774, 0.0859452337026596, 0.014740684069693089, -0.33418408036231995, -0.623741626739502, -0.23031030595302582, 0.17219723761081696, -0.10517877340316772, -0.1297234445810318, 0.5514529943466187, -0.6178490519523621, -0.06865575164556503, -0.3528781533241272, -0.0387360081076622, 0.07576330006122589, 0.010511324740946293, 0.21117600798606873, 0.8187036514282227, 0.1809619516134262, -0.4621499180793762, 0.5873767733573914, 0.15434087812900543, -0.11586648970842361, 0.35681986808776855, -0.742250919342041, 0.3422287106513977, -0.18907476961612701, 0.4460581839084625, -1.1535249948501587, -0.7332748174667358, 0.17318345606327057, -0.5935242176055908, 0.36077049374580383, -0.05977270379662514, -0.4569554328918457, -0.5522462129592896, -0.25663506984710693, 0.42534512281417847, 0.7396497130393982, -0.8351154923439026, 0.5704042315483093, 0.5232074856758118, 0.22485899925231934, -0.2429324984550476, -0.6738730072975159, -0.08953609317541122, -0.2885534167289734, -0.3375730812549591, 0.37159815430641174, -0.09108232706785202, -0.23314161598682404, -0.12913885712623596, 0.21373248100280762, -0.0862940102815628, 0.11614895612001419, 0.2395765334367752, 0.617762565612793, 0.08631635457277298, 0.48115694522857666, -0.10768821835517883, -0.2937958836555481, 0.17604751884937286, -0.17310388386249542, 0.1817564219236374, -0.06232007220387459, -0.2529333233833313, -1.0411878824234009, 0.02622373402118683, 0.3239848017692566, -0.11737844347953796, 0.42733290791511536, 0.5503298044204712, -0.6598646640777588, -0.10903289169073105, -0.5136499404907227, -0.26727190613746643, -0.504830539226532, 0.19772692024707794, -0.31514471769332886, -0.16914071142673492, 0.012010553851723671, -0.022729184478521347, 0.23414462804794312, 0.891035795211792, 0.8092660307884216, -0.34000536799430847, 1.5232267379760742, 0.2392643839120865, 0.024969950318336487, 0.020216118544340134, -0.3388274908065796, 0.10248763114213943, -0.5157434344291687, -0.20554912090301514, -0.6441779136657715, -0.3000487685203552, -0.529919445514679, -0.5918278694152832, 0.28941720724105835, -0.17027051746845245, -0.20077216625213623, 0.42027974128723145, -1.1440609693527222, 0.34604117274284363, 0.6464906334877014, 0.07734768837690353, 0.2519724667072296, -0.013442318886518478, 0.009230093099176884, 0.01811300776898861, -0.5828050971031189, -0.4866756200790405, 1.5600330829620361, 0.4009142816066742, 0.5544812083244324, -0.4126136302947998, 0.6595633625984192, 0.7534406781196594, 0.9216057062149048, -0.5635964870452881, 0.22231438755989075, 0.05124852806329727, -0.9972633123397827, -0.44196364283561707, -0.2364989072084427, -0.7871462106704712, 0.032072387635707855, -0.22769300639629364, -0.39940422773361206, 0.2350590080022812, 0.6505194902420044, -0.6456659436225891, -0.12093201279640198, -0.9530593156814575, 0.6389803290367126, -0.434517502784729, -0.12208259105682373, -0.2647089660167694, -0.5564377307891846, 0.11695842444896698, -0.5012016296386719, 0.11511176824569702, 0.1694345623254776, 0.03069787099957466, 1.1649844646453857, -0.8371515870094299, 0.6800307631492615, -0.41576749086380005, 0.29695451259613037, 0.5845320820808411, -0.21906033158302307, 0.62703537940979, -0.339478999376297, -0.10928070545196533, -0.07139084488153458, 0.023265058174729347, -0.37740275263786316, -0.8217609524726868, 0.4047745168209076, -0.7964567542076111, -0.3452264368534088, -0.5980648994445801, -0.3306693434715271, -0.21969470381736755, -0.18489395081996918, 0.3368220925331116, 0.2495592087507248, 0.06668785959482193, 0.17075124382972717, 0.133846253156662, -0.07971703261137009, 0.2520415782928467, 0.3241862952709198, -0.16071906685829163, -0.6144039034843445, 0.8527065515518188, 0.4630032479763031, 0.3729095160961151, -0.2989150285720825, 0.3789677321910858, -0.5944181084632874, -0.5417148470878601, -0.6782845258712769, 0.06457075476646423, -0.6103922128677368, -0.11449848860502243, -0.43819889426231384, -0.3147827982902527, -0.5260814428329468, -0.05236593261361122, -0.4582589566707611, -0.7959209084510803, -0.2921014726161957, -0.3738437294960022, 0.19127807021141052, 0.5692914724349976, -0.3474735915660858, 0.3733501136302948, -0.6196736693382263, 0.5028129816055298, 0.3231089115142822, -0.0709189847111702, -0.22501014173030853, -0.6916782855987549, -0.15131378173828125, 0.22728805243968964, -0.20234180986881256, -0.6599363684654236, 0.6162722706794739, 0.33225002884864807, 0.69632887840271, 0.09821680188179016, 0.10256659984588623, 1.0689140558242798, -0.3096635341644287, 0.4688715934753418, -0.11252810060977936, -0.9606841206550598, 0.7576078176498413, -0.09082396328449249, -0.10198462754487991, 0.6854687929153442, 0.5785585641860962, -0.014901761896908283, 0.028411926701664925, -0.8847795724868774, -0.7067017555236816, 0.4322056472301483, 0.46083712577819824, -0.2497398406267166, 0.19918470084667206, 0.6530249714851379, 0.015333889052271843, 0.1924862265586853, -0.19559693336486816, -0.05699259415268898, -0.22657132148742676, -0.4052203893661499, -0.07352279126644135, 0.06444072723388672, -0.19471430778503418, -0.7760124802589417, 0.9630120992660522, -0.18836607038974762, 0.1941797137260437, 0.5613146424293518, -0.22728091478347778, -0.22165116667747498, -0.08424248546361923, 0.30133143067359924, 0.6723757386207581, -0.19698728621006012, -0.20693185925483704, 0.3363470733165741, -0.3411600887775421, 0.39577344059944153, 0.29407262802124023, -0.3564992845058441, -0.234034463763237, 0.27894526720046997, 0.49274104833602905, -0.32327863574028015, -0.5332570672035217, 0.15539869666099548, -0.07075903564691544, -0.2983005940914154, -0.4443293511867523, 0.2683138847351074, -0.3588913381099701, -0.03193473070859909, 0.42378416657447815, 0.15197056531906128, 0.45492982864379883, -0.6573387384414673, 0.6004781126976013, 0.29011985659599304, -0.3695935308933258, -0.2017219364643097, 0.7991176247596741, 0.286361962556839, -0.4836048185825348, 0.8543668389320374, -0.06646189838647842, -0.52874356508255, 0.7352203130722046, 0.32103344798088074, 0.8993558883666992, -0.5897988677024841, 0.22017830610275269, 0.6344982385635376, 0.09004715085029602, -0.1486254781484604, 0.09129822999238968, -0.12071315944194794, -0.4009580910205841, -0.4661623239517212, -0.6334609985351562, -0.48024982213974, -0.0640057697892189, -0.5909926891326904, 0.1842161864042282, -0.4082638621330261, -0.4700475037097931, 0.3258972465991974, 0.14386692643165588, -0.6211147904396057, 0.8924643993377686, -0.022192183881998062, 0.6423624157905579, -0.9466333389282227, 0.7969282865524292, 0.2868134677410126, -0.24800410866737366, -0.7474426031112671, -0.4708584249019623, 0.24540337920188904, -0.6252984404563904, 1.0239768028259277, 0.18751564621925354, 0.004306766204535961, 0.03231445327401161, -0.6059693694114685, -0.7636224627494812, 1.053333044052124, -0.08011224865913391, -0.610112190246582, 0.08887074142694473, 0.2513754367828369, 0.8070183396339417, -0.5642560124397278, 0.45332208275794983, 0.9714241623878479, 0.8260496258735657, 0.10639921575784683, -0.9451149702072144, -0.048517946153879166, -0.2664880156517029, -0.12305261194705963, -0.03531685471534729, -0.3965170681476593, 0.5966178178787231, -0.2153645008802414, -0.17012226581573486, 0.07847699522972107, 0.7084648609161377, 0.2749600410461426, 0.38961896300315857, 0.7104196548461914, 0.44352206587791443, 1.0537159442901611, -0.1699102371931076, 1.094099998474121, -0.1168430969119072, 0.3716298043727875, 1.173499345779419, -0.2345157265663147, 0.5715413689613342, 0.0334966778755188, -0.2963322699069977, 0.18356415629386902, 1.0672295093536377, -0.5050968527793884, 0.3237949311733246, 0.4931212365627289, -0.03871118277311325, -0.36618807911872864, 0.24349798262119293, -0.07617983967065811, 0.548793613910675, 0.14917981624603271, -0.6802902817726135, -0.01706830970942974, 0.12878000736236572, -0.14693531394004822, -0.21174417436122894, -0.05288469046354294, 0.6214255094528198, -0.32126477360725403, -0.8975638747215271, 0.8170050978660583, -0.09681177884340286, 0.11374487727880478, -0.058738816529512405, -0.24132955074310303, 0.16782629489898682, 0.2113303393125534, -0.3537040054798126, -0.2683839499950409, 0.3941011130809784, -0.0165211521089077, 0.13233692944049835, -0.1782386600971222, 0.7655470371246338, -0.3529675602912903, -0.891339898109436, 0.0009861935395747423, 0.2506343722343445, 0.31749075651168823, -0.07726350426673889, -0.8066987991333008, -0.3849200904369354, -0.03172077238559723, -0.32011717557907104, 0.09560079872608185, -0.19366705417633057, -0.28663891553878784, 0.8139130473136902, 0.944299578666687, 0.07156767696142197, 0.0879177376627922, 0.014234611764550209, 0.6934417486190796, -0.6812530755996704, -0.2297915369272232, -0.8662726879119873, 0.5508312582969666, -0.4220227897167206, -0.08797500282526016, 0.8589059114456177, 0.7529647350311279, 0.5908235311508179, 0.09590708464384079, 1.0126092433929443, 0.2073677033185959, 0.7096880674362183, -0.4001263976097107, 0.8154771327972412, -0.37915119528770447, 0.2554405629634857, -0.08350060135126114, -0.7475185990333557, -0.39067187905311584, 0.7359635829925537, -0.38351383805274963, 0.31656286120414734, 0.3409055471420288, 0.6224766969680786, 0.09243537485599518, 0.18269328773021698, 0.16007405519485474, 0.18693555891513824, 0.5170046091079712, 0.09034974128007889, 0.7568345665931702, -0.5227545499801636, 0.04339056834578514, -0.6767919659614563, -0.557710587978363, -0.17965902388095856, -0.7519729733467102, -0.9327600598335266, -0.499387264251709, -0.7394718527793884, -0.3725813329219818, 0.26929330825805664, 1.1049153804779053, 1.1290717124938965, -0.8156712055206299, -0.02607967145740986, -0.05443943664431572, -0.46401894092559814, -0.07858754694461823, -0.21228280663490295, 0.7349213361740112, -0.5600517392158508, -0.8629087209701538, 0.583565890789032, 0.1368415355682373, 0.32320770621299744, -0.5168309807777405, 0.024706199765205383, -0.02931978926062584, 0.27622783184051514, 0.3759033977985382, 0.21901530027389526, -0.43417873978614807, -0.3629874289035797, -0.23537123203277588, 0.14924725890159607, 0.28802797198295593, 0.5960334539413452, -1.1977351903915405, 0.8702853322029114, 0.6695994734764099, 0.6255121231079102, 0.4960331320762634, 0.8497271537780762, 0.9915086030960083, -0.40892624855041504, -0.14420974254608154, 0.41532087326049805, 0.12797331809997559, 0.2927993834018707, -0.5025953650474548, 0.9030985236167908, 0.3123982846736908, -0.9541333913803101, -0.831679105758667, -0.32952168583869934, -0.4847114682197571, -0.11151348799467087, 0.7882965803146362, -0.12363848090171814, -0.44860008358955383, -0.178365558385849, -0.13943275809288025, 0.4182722568511963, -0.16948053240776062, 1.1698704957962036, 0.6654984354972839, -0.676822304725647, 0.1929505616426468, -0.7920073866844177, 1.0282729864120483, 0.38740378618240356, -1.1491175889968872, 0.049553535878658295, 0.6697521805763245, 0.2607745826244354, 0.1765536516904831, 0.4593738615512848, -0.2136019915342331, 0.33597010374069214, -0.0900309830904007, -0.19741660356521606, -0.10830336809158325, -0.46927642822265625, -0.30499258637428284, 0.01676909253001213, -0.26376873254776, -0.3931814432144165 ]
http://arxiv.org/abs/2403.05767v1
http://arxiv.org/pdf/2403.05767v1
Extending Activation Steering to Broad Skills and Multiple Behaviours
2024-03-09T02:30:04
2024-03-09T02:30:04
Teun van der Weij, Massimo Poesio, Nandi Schoots
cs.LG
cs.LG, cs.AI, cs.CL, cs.CY
Current large language models have dangerous capabilities, which are likely to become more problematic in the future. Activation steering techniques can be used to reduce risks from these capabilities. In this paper, we investigate the efficacy of activation steering for broad skills and multiple behaviours. First, by comparing the effects of reducing performance on general coding ability and Python-specific ability, we find that steering broader skills is competitive to steering narrower skills. Second, we steer models to become more or less myopic and wealth-seeking, among other behaviours. In our experiments, combining steering vectors for multiple different behaviours into one steering vector is largely unsuccessful. On the other hand, injecting individual steering vectors at different places in a model simultaneously is promising.
[ -0.2571418881416321, -0.7460020780563354, 0.3537013530731201, 0.5426173210144043, 0.015356896445155144, -0.09965331852436066, -0.41601887345314026, -0.5809610486030579, 0.08549335598945618, 0.1759817898273468, -0.4137847423553467, -0.08367352187633514, -0.9081063270568848, -0.19440631568431854, -0.5092476606369019, 0.9244034886360168, 0.25075894594192505, -0.07324912399053574, 0.2835063338279724, -0.24863477051258087, -0.6815117597579956, -0.5478204488754272, -0.6699295043945312, -0.5400132536888123, 0.8122121691703796, 0.438617080450058, 1.057018518447876, 0.2594377100467682, 0.1283649504184723, 0.395896852016449, -0.12362644821405411, -0.324686199426651, -0.6180090308189392, 0.1797718107700348, -0.28652000427246094, -0.5918759703636169, -0.3795030415058136, 0.15604086220264435, 0.6489720344543457, 0.7496004700660706, -0.1099555492401123, -0.41259631514549255, 0.3202000558376312, 0.63216632604599, -0.7773946523666382, 0.04265105724334717, -0.47481051087379456, -0.22370529174804688, -0.016567056998610497, -0.00935664214193821, -0.3907255232334137, -0.03984740376472473, 0.5216937065124512, -0.6095396876335144, -0.23209774494171143, -0.21268117427825928, 0.5582416653633118, 0.10339329391717911, -0.6426838636398315, -0.38240405917167664, -0.7844778895378113, 0.8924274444580078, -0.49488335847854614, 0.3296284079551697, 0.37808114290237427, 0.1599309742450714, 0.186314657330513, -0.41804438829421997, -0.38281935453414917, -0.3477018177509308, 0.1584463268518448, 0.0746513232588768, -0.12141863256692886, 0.40275198221206665, 0.37698620557785034, -0.21801480650901794, -0.14115917682647705, 0.6054191589355469, -0.8196136355400085, -0.10857035219669342, 0.6983300447463989, -0.025769656524062157, 0.27933579683303833, 0.10456862300634384, -0.30681151151657104, -0.22430162131786346, -0.8233531713485718, 0.4006091058254242, 0.826208770275116, 0.36318492889404297, -0.21621453762054443, 0.9696832895278931, -0.5996680855751038, 0.6828343272209167, 0.11712201684713364, -0.3835853636264801, 0.4470485746860504, -0.3903065025806427, -0.10468833148479462, -0.1489429920911789, 0.5015225410461426, 0.2913929224014282, 0.4054059088230133, -0.3149503767490387, -0.08683063834905624, -0.017588326707482338, 0.5919385552406311, -0.35702604055404663, 0.13208170235157013, 0.5766275525093079, -0.3666980564594269, -0.40309029817581177, -0.05396724492311478, -0.7089903950691223, -0.31827712059020996, -0.23785558342933655, 0.5999283790588379, -0.719680905342102, -0.5714594721794128, 0.42185720801353455, -0.6047412157058716, 0.7125399708747864, 0.1874426156282425, -1.3043967485427856, -0.05698486045002937, 0.8753493428230286, 0.7142836451530457, -0.3867878019809723, -0.6136991381645203, -0.49710702896118164, 0.2899506688117981, -0.2886185050010681, 0.45746880769729614, -0.7535306215286255, -0.19379130005836487, 0.2578752338886261, -0.1959076225757599, -0.28502631187438965, -0.42860764265060425, 0.20511877536773682, -0.6883071064949036, -0.08251017332077026, -0.09472508728504181, -0.11455812305212021, -0.5582597255706787, 0.07842767238616943, -0.8481252789497375, 0.7387039661407471, 0.05057613179087639, -0.3978573977947235, 0.6857604384422302, -0.9109859466552734, -0.9936386942863464, -0.232513427734375, 0.055955540388822556, -0.3592027723789215, 0.09385833144187927, 0.004383324179798365, 0.5758411884307861, 0.31368041038513184, 0.2919911742210388, -0.3095063865184784, -0.17130066454410553, 0.1757565438747406, -0.4449176788330078, 0.6859954595565796, -0.2367822229862213, -0.47675520181655884, 0.5444929003715515, -0.40699368715286255, -0.13799406588077545, -0.2630040645599365, -0.50682532787323, -0.32049885392189026, 0.05709875375032425, -0.003038969589397311, 0.46821826696395874, -0.03354412317276001, -0.12224717438220978, 0.4059602618217468, -0.5170610547065735, 0.29151853919029236, 0.6645056009292603, 0.053888022899627686, 1.01671302318573, -0.5214134454727173, 0.7633376717567444, -0.009145116433501244, 0.09663762152194977, 0.2613605856895447, -1.0104267597198486, -0.8102943301200867, -0.36526232957839966, -0.07353683561086655, 0.4582394063472748, -1.0366475582122803, 0.3877231478691101, -0.16297712922096252, -0.4086453318595886, -0.3935135006904602, 0.30803701281547546, 0.5169614553451538, -0.024453120306134224, 0.5040525197982788, -0.27822762727737427, -0.10835295915603638, -0.7352913618087769, -0.23161955177783966, -0.00420716917142272, 0.10366828739643097, -0.015582025051116943, 0.43595924973487854, -0.3562474548816681, 0.6628392338752747, -0.09481669962406158, -0.2050718367099762, -0.6243764162063599, 0.27064281702041626, 0.03147684410214424, 0.6957839131355286, 0.6139594316482544, -1.2135035991668701, -0.2635776400566101, 0.040311671793460846, -0.3784184455871582, 0.17608003318309784, -0.5355430245399475, -0.06494805961847305, 0.2634793221950531, 0.29649221897125244, -0.6247633695602417, 0.6126102209091187, 0.6134270429611206, -0.28569698333740234, 0.8302890658378601, -0.15125040709972382, 0.13550356030464172, -0.3823221027851105, 0.011014956049621105, 0.06920144706964493, 0.3075990080833435, -1.1410118341445923, 0.09905651956796646, 0.16714775562286377, 0.17145994305610657, -0.6412742733955383, 0.30580171942710876, -0.4080509543418884, 0.14228543639183044, -0.13389086723327637, -0.054717905819416046, -0.3197093605995178, 0.48193225264549255, 0.252755343914032, 0.6269561052322388, 0.9711436033248901, -1.0671889781951904, 0.44915929436683655, 0.08880458772182465, -0.3759615123271942, 0.4470336437225342, -0.5748279690742493, -0.3091677725315094, -0.2491374909877777, -0.6178208589553833, -1.1620979309082031, -0.04721426963806152, 0.010220272466540337, -0.20575961470603943, 0.5123671293258667, -0.06805261224508286, 0.1899988353252411, -0.3348013758659363, -0.45829448103904724, 0.11292557418346405, 0.5543410181999207, -0.38009512424468994, 0.8627514839172363, 0.10541661083698273, -0.43867769837379456, -0.8464494943618774, -0.6440250873565674, -0.09981753677129745, -0.6199120283126831, -0.6384673118591309, 0.395443856716156, 0.13764700293540955, -0.16721460223197937, -0.11902513355016708, 0.017705416306853294, 0.12264521420001984, 0.14982905983924866, 0.2910041809082031, 0.12267372757196426, -0.03833696246147156, 0.1831519901752472, 0.3128206431865692, -0.3294917643070221, -0.19033244252204895, -0.18592630326747894, 0.5921398401260376, 0.12451773881912231, -0.6124597787857056, -0.29925084114074707, 0.3334629535675049, 0.7727924585342407, -0.5501003861427307, 1.0851675271987915, 0.40407711267471313, 0.23913881182670593, -0.1662747859954834, -0.6045246124267578, -0.29996195435523987, -0.5769649744033813, 0.7603219747543335, -0.503527045249939, -0.714718759059906, 0.3951054811477661, -0.1761341243982315, 0.20623204112052917, 0.29993218183517456, 0.6910334825515747, 0.012638604268431664, 1.0770888328552246, 1.0406206846237183, -0.27567750215530396, 0.9750925302505493, -0.6353052258491516, 0.30314454436302185, -0.8283688426017761, -0.37519925832748413, -0.3572787940502167, -0.46810993552207947, -0.24145439267158508, -0.48694905638694763, 0.4608970582485199, 0.09282714128494263, -0.2561955153942108, 0.2591015696525574, -0.29871866106987, 0.1133149117231369, 0.7413126826286316, 0.18574437499046326, 0.2361750602722168, 0.1094755306839943, -0.14610809087753296, 0.17751017212867737, -1.1158467531204224, -0.28060436248779297, 1.2890217304229736, 0.3859356939792633, 0.8994178771972656, 0.07735592871904373, 0.3591923117637634, -0.030489284545183182, 0.5120395421981812, -0.9738912582397461, 0.2756749987602234, 0.178026020526886, -0.7076860666275024, -0.7646355628967285, -0.13606442511081696, -1.0236539840698242, 0.36824464797973633, -0.7130275368690491, -0.6389802098274231, 0.16304278373718262, -0.07878850400447845, -0.4000050127506256, 0.2624981999397278, -0.9311893582344055, 0.9205918312072754, -0.5037144422531128, -0.5887287855148315, -0.680454432964325, -0.49710527062416077, 0.29740992188453674, -0.029692837968468666, 0.2983265817165375, -0.055492520332336426, -0.37990802526474, 0.602684497833252, 0.11567077785730362, 1.1223715543746948, -0.20721237361431122, -0.1426190882921219, 0.23673895001411438, -0.15789873898029327, 0.41936931014060974, -0.305815190076828, -0.4917348027229309, 0.03408467769622803, -0.5034417510032654, -0.3268665671348572, -0.39576250314712524, 0.46480584144592285, -0.7657523155212402, -0.7428573369979858, -0.13549461960792542, -0.5926358699798584, -0.11416192352771759, 0.17374484241008759, 0.07878591120243073, 0.46179860830307007, -0.15048091113567352, 0.19728589057922363, 0.2652076184749603, -0.06718361377716064, 0.6602190136909485, 0.37889865040779114, 0.09145970642566681, -0.31803780794143677, 0.7586577534675598, 0.12928132712841034, 0.9057741165161133, -0.06477917730808258, 0.04612448066473007, -0.41252630949020386, -0.9391524195671082, -0.18032507598400116, 0.055904489010572433, -0.5686529278755188, -0.09377025067806244, -0.48191899061203003, 0.04373076930642128, -0.3652389645576477, -0.5675458312034607, -0.19570279121398926, -0.5080596804618835, -0.049072496592998505, -0.30139845609664917, 0.3273437023162842, 0.8883106112480164, -0.25038090348243713, 0.5974977612495422, -0.3419174551963806, 0.4280560612678528, 0.6122931241989136, 0.32256245613098145, 0.24310357868671417, -0.20602647960186005, -0.242060586810112, 0.18874284625053406, -0.4884966313838959, -1.0508229732513428, 0.49127498269081116, 0.24805209040641785, 1.039754033088684, 0.8037723302841187, -0.08096899092197418, 0.6256982088088989, -0.3844990134239197, 0.5948749780654907, 0.5332599878311157, -0.876427173614502, 0.30051833391189575, -0.13669143617153168, 0.13951683044433594, 0.2680574357509613, 1.0126125812530518, -0.4923558235168457, -0.8236311078071594, -0.4919658303260803, -0.9710695147514343, 0.49659934639930725, 0.1529269516468048, 0.12241184711456299, 0.3077595829963684, 0.25786352157592773, 0.047923117876052856, 0.21346347033977509, -0.647647500038147, -0.22839239239692688, -0.0033875531516969204, 0.03776483237743378, -0.20203948020935059, -0.3493732810020447, -0.202504962682724, -0.4758153557777405, 0.7908631563186646, -0.23233738541603088, 0.003641777439042926, -0.10897967964410782, 0.012258557602763176, 0.05864362791180611, 0.3753896653652191, 0.23174019157886505, 0.6563823819160461, 0.42013779282569885, -0.09150169789791107, 0.20049667358398438, -0.41516241431236267, 0.25522059202194214, -0.15712621808052063, -0.19932778179645538, -0.5416882634162903, 0.5254532694816589, 0.48258012533187866, 0.41205573081970215, -0.5114470720291138, 0.47948503494262695, 0.5085443258285522, -0.24739961326122284, 0.21782724559307098, 0.41422414779663086, 0.17927274107933044, 0.3089967370033264, 0.3806684911251068, 0.2019447535276413, 0.0869738906621933, -0.5807298421859741, 0.042416349053382874, 0.8006719350814819, -0.46455225348472595, -0.17522069811820984, 0.6347644925117493, 0.4937029778957367, -0.08614836633205414, 0.6642541885375977, -0.22314567863941193, -0.7789039015769958, 0.7304316759109497, 0.5321540236473083, 0.7496337890625, -0.14411714673042297, 0.13346228003501892, 0.2543807029724121, 0.5123063325881958, -0.16239139437675476, 0.34970083832740784, -0.05301361531019211, -1.0542494058609009, -0.9120584726333618, -0.2061123549938202, -0.3383811116218567, -0.31175532937049866, -0.6954938173294067, 0.21015243232250214, -0.0883692055940628, -0.3801300525665283, 0.10980091243982315, -0.27238231897354126, -0.5689229965209961, -0.12261234223842621, 0.14152370393276215, 0.8134418725967407, -1.1007708311080933, 0.996771514415741, 0.7927700281143188, -0.519522488117218, -0.6556025743484497, -0.24893160164356232, -0.04211346060037613, -0.6146705150604248, 0.8056758642196655, 0.29843562841415405, -0.05468340590596199, -0.1526590883731842, -0.6437124013900757, -0.7669878005981445, 0.9822670817375183, 0.007141867186874151, -0.29582279920578003, -0.07909424602985382, 0.0928817167878151, 0.26047030091285706, -0.28453630208969116, 0.004767720587551594, 0.8510133028030396, 0.7404075860977173, 0.14221890270709991, -1.3193550109863281, -0.2279645949602127, 0.07065916806459427, -0.1398451328277588, -0.06288809329271317, -0.49053138494491577, 0.6974175572395325, -0.750145435333252, -0.10431470721960068, 0.18106622993946075, 0.5931960344314575, 0.1501733958721161, -0.13385553658008575, 0.562900960445404, 0.32771962881088257, 0.6419916152954102, -0.08416034281253815, 0.9166942834854126, -0.5071438550949097, 0.017424769699573517, 0.5630295276641846, -0.22351673245429993, 0.8689655065536499, 0.5827476978302002, -0.06976442039012909, 0.6324995756149292, -0.2729753851890564, 0.3259437680244446, 0.6536422967910767, 0.04518920183181763, -0.3544488549232483, -0.41460174322128296, 0.2999802827835083, -0.24924597144126892, 0.5336651802062988, 0.7464870810508728, 0.060226283967494965, 0.02908819541335106, 0.5594080686569214, -0.020003510639071465, -0.06794323027133942, -0.40607142448425293, 0.6925210356712341, -0.09900866448879242, -0.8352262377738953, 0.3980812132358551, 0.11213906109333038, 1.2165478467941284, -1.061673641204834, 0.0026594821829348803, 0.34537652134895325, 0.21408291161060333, -0.09882169961929321, -1.0289227962493896, 0.33144086599349976, -0.3815026879310608, 0.09157267957925797, -0.5452849268913269, 0.9138075709342957, -0.562238872051239, -0.027002602815628052, 0.558057427406311, 0.5149760246276855, -0.2717869281768799, -0.2799285054206848, -0.554472029209137, -0.1873483508825302, 0.043414752930402756, -0.42677003145217896, 0.1355290412902832, 0.3455135226249695, 0.0727446898818016, 1.1229050159454346, 0.7331168055534363, 0.26614975929260254, 0.4721232056617737, -0.17729410529136658, 1.0698989629745483, -0.7631328701972961, -0.7229427099227905, -0.6492642760276794, 0.7670890092849731, -0.17553521692752838, -0.3549206852912903, 0.8985153436660767, 0.45329809188842773, 0.6620959043502808, -0.23445501923561096, 0.902336597442627, -0.3682611584663391, -0.22331583499908447, -0.5180050730705261, 0.6612886190414429, -0.37522822618484497, -0.09338989108800888, -0.01581631228327751, -0.653634250164032, -0.183111310005188, 0.7971183657646179, -0.727074921131134, 0.07181379199028015, 0.5353229641914368, 0.7606896162033081, 0.12640440464019775, -0.17620395123958588, 0.5300120711326599, 0.23652677237987518, 0.3855183720588684, 0.8551197052001953, 1.0059903860092163, -0.06334686279296875, 0.42910847067832947, -0.4491465091705322, -0.5325794816017151, -0.3504960834980011, -0.8461184501647949, -1.0671173334121704, -0.45807185769081116, -0.1698068529367447, -0.3411867618560791, 0.03210528939962387, 0.5455433130264282, 1.0723005533218384, -0.6965447068214417, -0.24171623587608337, 0.32211098074913025, 0.5574103593826294, -0.8048599362373352, -0.15403425693511963, 0.023177413269877434, -0.7075318694114685, -0.7281198501586914, 0.46046632528305054, 0.39727479219436646, 0.08276467025279999, -0.4007093012332916, -0.22746840119361877, -0.4401891231536865, -0.2596999406814575, 0.8600085973739624, 0.5714833736419678, -0.3537510931491852, -0.3279847204685211, -0.16609174013137817, -0.10307078063488007, -0.09478247910737991, 0.8402994275093079, -0.8054277300834656, 0.30333033204078674, 0.5347497463226318, 0.2186872512102127, 0.449442058801651, -0.028561312705278397, 0.7883148789405823, -0.36716732382774353, 0.7262685298919678, 0.2459425926208496, 0.23795083165168762, -0.08423727750778198, -0.13542795181274414, 0.32140281796455383, 0.019876327365636826, -0.21920332312583923, -0.08526606857776642, 0.24154821038246155, -0.8642187118530273, -0.1628081053495407, 1.653567910194397, 0.15824705362319946, -0.04047466814517975, -0.5118840336799622, -0.3822818398475647, -0.12429232895374298, -0.27688461542129517, 0.44288721680641174, 0.5467907190322876, -0.16706153750419617, 0.35019683837890625, -0.7049760222434998, 0.5374311208724976, 0.6854866743087769, -0.4309910237789154, 0.06181139871478081, 0.34545254707336426, 0.28666287660598755, 0.32854050397872925, 0.4835585653781891, -0.05515484884381294, 0.4556020200252533, 0.07166479527950287, 0.14595472812652588, -0.05420757457613945, -0.7586305141448975, -0.7197462916374207, 0.45547112822532654, 0.2610519230365753, 0.084832563996315 ]
http://arxiv.org/abs/2403.05766v3
http://arxiv.org/pdf/2403.05766v3
FLAP: Flow-Adhering Planning with Constrained Decoding in LLMs
2024-03-09T02:27:45
2024-06-04T20:55:04
Shamik Roy, Sailik Sengupta, Daniele Bonadiman, Saab Mansour, Arshit Gupta
cs.CL
cs.CL
Planning is a crucial task for agents in task oriented dialogs (TODs). Human agents typically resolve user issues by following predefined workflows, decomposing workflow steps into actionable items, and performing actions by executing APIs in order; all of which require reasoning and planning. With the recent advances in LLMs, there have been increasing attempts to use them for task planning and API usage. However, the faithfulness of the plans to predefined workflows and API dependencies, is not guaranteed with LLMs. Moreover, workflows in real life are often custom-defined and prone to changes; hence, adaptation is desirable. To study this, we propose the problem of faithful planning in TODs that needs to resolve user intents by following predefined flows and preserving API dependencies. To solve this problem, we propose FLAP, a Flow-Adhering Planning algorithm based on constrained decoding with lookahead heuristic for LLMs. Our algorithm alleviates the need for finetuning LLMs using domain specific (plan/dependency) data, enables quick adaptation to predefined flows, and outperforms other decoding and prompting-based baselines. Further, our algorithm empowers smaller LLMs (7B) to perform at par larger LLMs (30B-40B).
[ -0.06315974146127701, -0.31927061080932617, 0.45154961943626404, 0.36302074790000916, -0.23106884956359863, 0.08629290759563446, 0.23272939026355743, -0.49756404757499695, 0.5468862652778625, 1.1047335863113403, -1.2038449048995972, -0.5346656441688538, -0.2539685368537903, 0.05079313740134239, 0.09174954891204834, 0.40053194761276245, -0.43686479330062866, -0.36384838819503784, 0.0016365631017833948, 0.0034396343398839235, -0.5895198583602905, -0.015337621793150902, -0.46709251403808594, -0.23835577070713043, 0.3775101602077484, 0.5232445001602173, 0.5630983114242554, 0.8873416781425476, 0.29448410868644714, 0.2611893117427826, -0.19889754056930542, 0.6779643893241882, -0.4407831132411957, 0.4150088131427765, -0.2098984718322754, -0.6169198751449585, -0.6616591215133667, -0.3395027816295624, 0.12323210388422012, 0.5512717366218567, -0.35045450925827026, 0.026080988347530365, 0.10151484608650208, 0.8514297604560852, -0.6563225984573364, 0.32431644201278687, -0.7831800580024719, 0.0525272898375988, -0.09813465923070908, -0.6952744722366333, -0.39027276635169983, 0.0329623706638813, 0.11972017586231232, -0.8686081171035767, -0.01277075707912445, 0.07166524231433868, 0.4762379825115204, 0.6218253970146179, -0.11989819258451462, -0.5975786447525024, -0.7311773300170898, 0.4628829061985016, -0.6105304956436157, 0.21631406247615814, 0.5023953914642334, 0.21505074203014374, -0.7405250668525696, -0.7336760759353638, -0.15970970690250397, 0.27459341287612915, 0.1091751903295517, 0.07855374366044998, -0.1551690250635147, 0.3365904986858368, 0.15421263873577118, -0.18118718266487122, -0.44934073090553284, -0.062331244349479675, -0.3353266716003418, -0.6877850890159607, 0.4869335889816284, 0.5675942301750183, -0.026944905519485474, 0.0033095688559114933, -0.5055416226387024, -0.022548820823431015, -0.7957702279090881, 0.42146730422973633, 0.18867790699005127, 0.46106693148612976, -0.09088534116744995, 0.4685782492160797, -0.4320460855960846, 0.618901252746582, 0.10778238624334335, -0.22290654480457306, -0.15951567888259888, -0.18847958743572235, -0.17274610698223114, -0.2899682819843292, 0.44295167922973633, 0.2190190851688385, 0.3297625184059143, -0.03216053545475006, -0.3378260135650635, -0.4468168318271637, 0.46209242939949036, -0.8159348368644714, 0.19100305438041687, 0.25745445489883423, -0.5434611439704895, 0.07191941142082214, -0.3683130145072937, -0.4305538833141327, -0.32757624983787537, -0.2947852611541748, 0.22003227472305298, -0.5884391069412231, -0.03159743547439575, 0.2937755286693573, 0.029077084735035896, 0.3435135781764984, 0.6499315500259399, -0.6088248491287231, 0.36133718490600586, 0.8444823026657104, 0.7695164084434509, 0.28011441230773926, -0.54816073179245, -0.7714483141899109, 0.4510835111141205, -0.4717421233654022, 1.017520546913147, -0.39080265164375305, -0.6092490553855896, 0.36344361305236816, -0.20413605868816376, -0.16766010224819183, -0.602375328540802, 0.9417490363121033, -0.4364619851112366, -0.3588487505912781, -0.3604607582092285, -0.4193006455898285, -0.23131175339221954, 0.3704436123371124, -0.48451948165893555, 0.22695167362689972, 0.1378634124994278, -0.3515855073928833, 0.1821262240409851, -0.5695878863334656, -0.6404016017913818, -0.09096614271402359, -0.09185289591550827, -0.18899767100811005, 0.0731225311756134, 0.29029950499534607, 0.4202663004398346, 0.07831938564777374, -0.22100327908992767, -0.10756608843803406, -0.3007570803165436, 0.14275260269641876, -0.12143302708864212, 0.7434419393539429, 0.23090843856334686, 0.06760938465595245, 0.5372409224510193, -0.3788072168827057, 0.1287919580936432, -0.21346287429332733, -0.305624783039093, -0.1019575372338295, 0.3557712435722351, -0.27437636256217957, 0.005290783941745758, -0.03088950179517269, -0.37410128116607666, 0.61661297082901, -0.6803669929504395, 0.6035305261611938, 0.9360184669494629, -0.03697868436574936, 0.5812662243843079, -0.6358811259269714, 0.732641875743866, -0.17658473551273346, 0.19952857494354248, -0.22929809987545013, -0.36770522594451904, -0.45325136184692383, -0.3479609489440918, -0.053679026663303375, 0.5056752562522888, -0.9024503827095032, -0.050983976572752, -0.11657553911209106, -0.20072150230407715, -0.4627944231033325, 0.12152606248855591, 0.46433478593826294, 0.4567584991455078, 0.1092170923948288, -0.08965491503477097, -0.7210575938224792, -0.5768991708755493, -0.3889407813549042, -0.3352084159851074, -0.010239290073513985, 0.35725870728492737, 0.2232256978750229, -0.3113056421279907, 0.7327623963356018, -0.6567308306694031, -0.7864606976509094, -0.40302613377571106, 0.045308925211429596, 0.14699549973011017, 0.11800393462181091, 0.24293577671051025, -0.5515256524085999, -0.6291024088859558, -0.28965482115745544, -0.056735072284936905, -0.17517507076263428, -0.3169344961643219, -0.5298950672149658, 0.4353918731212616, 0.5183550119400024, -0.8761897683143616, 0.7937530875205994, 0.46612271666526794, -0.6383729577064514, 0.6524816751480103, -0.19407124817371368, -0.3251070976257324, -0.9995598793029785, -0.3075077533721924, -0.35152167081832886, -0.5092490315437317, -0.5020585060119629, -0.16993893682956696, 0.020544838160276413, -0.07206729054450989, -0.27626973390579224, 0.8149547576904297, -0.8368226885795593, 0.022509071975946426, -0.5091650485992432, -0.37840035557746887, 0.09868408739566803, 0.6572994589805603, 0.27517327666282654, 0.7389290928840637, 0.6307047009468079, -0.6320807933807373, -0.13986718654632568, 0.5700448155403137, 0.07387065887451172, 0.3569037914276123, -0.21871764957904816, 0.15940819680690765, 0.21852843463420868, 0.5573843121528625, -0.5393457412719727, -0.19433008134365082, 0.6083309054374695, -0.47725528478622437, 0.3775385320186615, -0.5455484390258789, -0.07996423542499542, -0.23958659172058105, -0.5618666410446167, 0.3036198914051056, 0.507095992565155, -0.39205312728881836, 1.2068507671356201, 0.38325631618499756, -0.04737003892660141, -0.640415370464325, -0.4938810169696808, -0.08094360679388046, 0.11964917927980423, -0.7642227411270142, 0.6853139400482178, -0.02654840797185898, -0.05560004338622093, 0.22893014550209045, -0.5096322298049927, -0.17502646148204803, -0.33587485551834106, 0.5249249339103699, 0.1366586983203888, 0.017826363444328308, -0.5697154998779297, -0.0732572004199028, -0.20582567155361176, 0.11924135684967041, -0.3620215952396393, 0.48675793409347534, 0.13037607073783875, -0.46812593936920166, -0.5558063387870789, 0.3272285759449005, 0.8208151459693909, -0.08162792026996613, 0.18496322631835938, 0.4726743996143341, -0.3284640908241272, -0.6878643035888672, -0.30480465292930603, -0.059070806950330734, -0.5204747915267944, 0.04972327873110771, -0.6938381195068359, -0.558781087398529, 0.887313961982727, -0.1676294207572937, 0.358444482088089, -0.11683225631713867, 0.4916854500770569, -0.44559407234191895, 0.6195501685142517, 0.892815887928009, 0.1115044504404068, 0.36575764417648315, -0.4239652156829834, -0.10078059136867523, -1.1649048328399658, -0.29278820753097534, -0.47811445593833923, -0.49263325333595276, -0.40449708700180054, -0.8505405187606812, 0.18218563497066498, -0.03773633763194084, 0.46856561303138733, 0.4550781846046448, -0.33524516224861145, 0.17111803591251373, 0.4053342640399933, 0.05661098286509514, 0.10609547793865204, -0.08763282001018524, -0.01651710830628872, 0.21659007668495178, -0.6177701354026794, -0.37897151708602905, 1.0252883434295654, 0.26358041167259216, 1.0871233940124512, 0.016479138284921646, 0.8794848322868347, 0.15308906137943268, 0.08982579410076141, -1.165696382522583, 0.8489711880683899, 0.013662038370966911, -0.24823594093322754, -0.6037006378173828, -0.23320840299129486, -1.2158054113388062, 0.14855355024337769, 0.18995006382465363, -0.7568446397781372, 0.38320931792259216, 0.3924007713794708, -0.18058820068836212, 0.3276647627353668, -0.43329954147338867, 0.2840380370616913, 0.04536807909607887, -0.27953121066093445, -0.26688507199287415, -0.3512425422668457, 0.03293917700648308, 0.45325300097465515, -0.00845060683786869, -0.33706724643707275, -0.28656530380249023, 0.7037283182144165, -0.900436282157898, 1.0056313276290894, -0.4019251763820648, -0.14770083129405975, 0.7102773785591125, 0.4155891537666321, 1.0812991857528687, -0.09666121751070023, -0.07498794049024582, -0.13246436417102814, 0.1569354087114334, -0.3912206292152405, -0.488286554813385, 0.3965386152267456, -0.3189748227596283, -0.8436933159828186, -0.26161399483680725, -0.9523313641548157, -0.4792017936706543, 0.21048347651958466, 0.2197006344795227, 0.4997060000896454, -0.09816469997167587, -0.4369349479675293, 0.493772029876709, 0.23104195296764374, 0.7167062759399414, 0.6946619153022766, -0.15939171612262726, -0.23751413822174072, 0.7561411261558533, 0.08996772021055222, 0.0061262501403689384, 0.6506320238113403, 0.2580127418041229, -0.4683213233947754, -1.0910769701004028, -0.4036172032356262, 0.2412085086107254, -0.40703994035720825, -0.4614548981189728, -0.2802582383155823, -0.3016553223133087, -0.46342551708221436, -0.389987587928772, -0.46647828817367554, -0.321875661611557, -0.14742973446846008, 0.37413957715034485, 0.09264031052589417, 0.5726003646850586, -0.23423519730567932, -0.0034599690698087215, -0.7993839979171753, 0.44213202595710754, 0.18010172247886658, 0.4723808169364929, -0.27926596999168396, -0.4827759265899658, -0.08299073576927185, -0.11614741384983063, -0.37255704402923584, -0.8067167401313782, 0.5458813905715942, 0.04400632902979851, 0.6627116203308105, 0.5352709889411926, 0.5862391591072083, 1.002132534980774, -0.5009243488311768, 0.010623432695865631, -0.1947755366563797, -0.6690951585769653, 0.562033474445343, -0.4630139470100403, 0.3887360990047455, 0.5681992769241333, 0.0851578563451767, -0.3323214054107666, -0.28069546818733215, -0.3353103995323181, -0.6747169494628906, 0.8225833773612976, 0.2875981330871582, 0.06579134613275528, 0.5279151201248169, 0.5969848036766052, 0.21655812859535217, -0.10530444979667664, -0.17423127591609955, 0.04557186737656593, 0.04393560811877251, -0.14407044649124146, 0.4654996693134308, -0.41896647214889526, -0.36339807510375977, 0.03842240571975708, 0.3175866901874542, -0.39066919684410095, 0.4486113488674164, 0.40583792328834534, 0.008917303755879402, -0.28961873054504395, 0.24345475435256958, 0.824862003326416, 0.8857740163803101, -0.3098459541797638, -0.14108923077583313, -0.1161729171872139, -0.8392940163612366, -0.13763859868049622, 0.0344635471701622, -0.2950768768787384, -0.08689039200544357, 0.664116621017456, 0.7249432802200317, -0.14890335500240326, -0.9689356684684753, 0.3704388439655304, -0.12096129357814789, -0.5434690713882446, -0.18405194580554962, 0.20098023116588593, 0.012488773092627525, 0.5022730827331543, 0.20407924056053162, 0.3544078767299652, 0.15726467967033386, -0.6451275944709778, 0.040466293692588806, 0.45709872245788574, -0.470220148563385, -0.4806654751300812, 0.19325388967990875, 0.5521236658096313, -0.8323593735694885, 0.22183240950107574, -0.3560427725315094, -0.5796271562576294, 0.5755496621131897, 0.6538306474685669, 1.1591891050338745, -0.0843232274055481, 0.3005997836589813, 0.08316333591938019, 0.389535516500473, 0.07875149697065353, 0.8176456689834595, -0.16069820523262024, -0.6697007417678833, -0.5710604190826416, -0.46712514758110046, -0.5335824489593506, 0.009615594521164894, -0.5463898777961731, 0.10244004428386688, -0.4907662272453308, 0.1065693348646164, -0.5952392816543579, -0.03180953487753868, -0.5588977336883545, -0.22628569602966309, -0.07647816836833954, 1.4233225584030151, -0.14639891684055328, 0.7152910232543945, 0.8648517727851868, 0.22230257093906403, -0.9830004572868347, 0.5930662751197815, 0.2932235300540924, -1.079284429550171, 0.3293941915035248, 0.06983684748411179, -0.4666140675544739, -0.2067626416683197, -0.12632031738758087, -0.8951341509819031, 1.0895367860794067, 0.20774050056934357, -0.7925660610198975, -0.20236432552337646, 0.017725732177495956, 0.30063360929489136, -0.3903682231903076, -0.21206364035606384, 0.22124308347702026, 0.3843432366847992, 0.5744796991348267, -0.9711949229240417, 0.2796834111213684, 0.12622961401939392, -0.21065345406532288, 0.2964860796928406, -0.5619233250617981, 0.3203492760658264, -0.6386512517929077, -0.3759470283985138, 0.19090679287910461, 0.5133049488067627, 0.23389677703380585, 0.4927033483982086, 0.6777839064598083, 0.33869946002960205, 0.6641212701797485, 0.12619496881961823, 0.6264660358428955, -0.09529592096805573, -0.23733781278133392, 1.0810556411743164, -0.30767589807510376, 0.9987598061561584, 0.5829030275344849, -0.09513118118047714, 0.26513993740081787, 0.6137416362762451, 0.5617152452468872, 0.8465584516525269, 0.22252467274665833, 0.031606484204530716, -0.1435144543647766, 0.01392604224383831, 0.061658911406993866, 0.691922664642334, 0.5061439275741577, 0.21206000447273254, -0.1775672435760498, -0.0029238376300781965, -0.14493635296821594, -0.03690716624259949, -0.6026166081428528, 0.7676500082015991, 0.038468826562166214, -0.9877173900604248, 0.6865667700767517, -0.24037936329841614, 0.45397382974624634, -0.6656314730644226, -0.09751465916633606, -0.2174244374036789, 0.08371127396821976, -0.1961771845817566, -1.047844409942627, 0.6544356346130371, -0.24290473759174347, -0.14638899266719818, -0.6110967397689819, 1.034621238708496, -0.11519119888544083, -0.17756733298301697, 0.38330376148223877, 0.450702041387558, -0.05304046720266342, -0.1748257726430893, -0.6168736815452576, 0.23192204535007477, 0.31323307752609253, -0.4296448230743408, 0.28288179636001587, 0.6100655198097229, -0.19475124776363373, 1.2735918760299683, 0.5595016479492188, 0.32785531878471375, 0.0340714193880558, 0.05599820986390114, 1.077384352684021, -0.7321147322654724, -0.6386227011680603, -0.4971697926521301, 0.6101263165473938, 0.25334402918815613, -0.17068909108638763, 0.03780600428581238, 0.42245230078697205, 0.6566162109375, 0.04067722707986832, 0.4667119085788727, 0.0720328539609909, 0.4841584265232086, -0.97723788022995, 0.27870607376098633, -0.3797469735145569, 0.588903546333313, 0.15327048301696777, -0.6040047407150269, 0.03625980392098427, 0.45258456468582153, -0.045892659574747086, -0.45579394698143005, 0.515720546245575, 0.885960578918457, 0.13546159863471985, -0.4336256980895996, 0.287494957447052, 0.05027373507618904, 0.3586762845516205, 0.7405169010162354, 0.8879804611206055, 0.10551682114601135, 1.0445764064788818, -0.23423834145069122, -0.24414362013339996, -0.6048284769058228, -0.7171772718429565, -0.9586988091468811, -0.6341279149055481, -0.1222778782248497, -0.2697632610797882, 0.06684411317110062, 0.6255640983581543, 0.9831565618515015, -0.28932642936706543, -0.3605026602745056, -0.26869750022888184, 0.5352010130882263, -0.4975455105304718, -0.16247928142547607, 0.2982630729675293, -0.38344207406044006, -0.5032064914703369, 0.4997900426387787, 0.570934534072876, 0.14421436190605164, -0.16518183052539825, -0.5452756881713867, 0.22142311930656433, 0.45499011874198914, 0.4313699007034302, 0.7712827324867249, -0.8909884095191956, -0.04621304199099541, 0.1613187938928604, -0.11684773117303848, 0.04173288494348526, 1.1228655576705933, -0.6504501700401306, 0.2951524555683136, 0.5194619297981262, 0.480875164270401, 0.7582560181617737, 0.036179885268211365, 0.6189395785331726, -0.5447845458984375, 0.22309119999408722, 0.6403701305389404, 0.26315581798553467, -0.39670664072036743, -0.4846086800098419, 0.5582342147827148, -0.19253583252429962, -0.46890610456466675, -0.6742212176322937, 0.6837494373321533, -1.4451844692230225, -0.43902522325515747, 0.9636586308479309, -0.10738296806812286, -0.39960023760795593, -0.3709755539894104, -0.5449716448783875, -0.07936210930347443, -0.5442048907279968, 0.6813459396362305, 0.2937396168708801, -0.9735296964645386, -0.1528470516204834, -0.11521786451339722, 0.7694305181503296, 0.18195447325706482, -0.7460418343544006, 0.42802694439888, 0.38301873207092285, 0.21482540667057037, 0.004966412205249071, 1.2005947828292847, 0.18715958297252655, 0.2436932772397995, 0.0987621620297432, -0.2915641665458679, -0.45647650957107544, -0.46351078152656555, 0.2803976237773895, 0.10512675344944, 0.23696814477443695, -0.5114051103591919 ]
http://arxiv.org/abs/2403.05750v3
http://arxiv.org/pdf/2403.05750v3
Decoding the AI Pen: Techniques and Challenges in Detecting AI-Generated Text
2024-03-09T01:13:54
2024-06-26T20:49:32
Sara Abdali, Richard Anarfi, CJ Barberan, Jia He
cs.CL
cs.CL, cs.AI, cs.LG
Large Language Models (LLMs) have revolutionized the field of Natural Language Generation (NLG) by demonstrating an impressive ability to generate human-like text. However, their widespread usage introduces challenges that necessitate thoughtful examination, ethical scrutiny, and responsible practices. In this study, we delve into these challenges, explore existing strategies for mitigating them, with a particular emphasis on identifying AI-generated text as the ultimate solution. Additionally, we assess the feasibility of detection from a theoretical perspective and propose novel research directions to address the current limitations in this domain.
[ -0.13915564119815826, -0.9500563144683838, 0.8901292681694031, -0.11344266682863235, -0.22932441532611847, 0.13553938269615173, -0.2186533659696579, -0.8045835494995117, -0.2482433021068573, 0.9069857597351074, -0.73273766040802, -0.49242857098579407, -0.8316173553466797, 0.7455856204032898, -0.6058738827705383, 0.846422553062439, 0.034149568527936935, -0.2791683077812195, -0.2181382030248642, 0.2811724543571472, -0.27986520528793335, -0.6357924342155457, -0.9303029179573059, -0.30416470766067505, 0.25816166400909424, 0.4332068860530853, 0.30287566781044006, 0.8445658683776855, 0.7259175181388855, 0.30490347743034363, 0.01437914278358221, 0.44174593687057495, -0.34279516339302063, 0.26147276163101196, 0.4585884213447571, -0.5673766136169434, -0.4261702299118042, 0.08644647896289825, 0.6576036810874939, 0.45346206426620483, 0.1449250429868698, -0.004723038524389267, 0.006325554568320513, 0.6084100008010864, -0.5519645810127258, -0.036479175090789795, -1.0375734567642212, 0.15196368098258972, -0.6390091180801392, -0.3217082619667053, -0.8305008411407471, 0.022387491539120674, 0.053508460521698, -0.651872456073761, 0.31328728795051575, 0.2663787603378296, 0.7042132019996643, 0.146267369389534, -0.5119655728340149, -0.8511719107627869, -1.0703901052474976, 0.8047589659690857, -0.8190984725952148, -0.0412505678832531, 0.5135143995285034, 0.06918183714151382, -0.36107930541038513, -0.8354790806770325, -0.9681903123855591, -0.4630427360534668, 0.11760471016168594, -0.06706210225820541, -0.3630619943141937, 0.13156598806381226, 0.24534733593463898, 0.287738174200058, -0.41336196660995483, 0.2551177740097046, -0.08258437365293503, -0.30594104528427124, 0.8985808491706848, 0.4457995891571045, 0.8307976722717285, -0.15019182860851288, -0.1337297260761261, 0.09579722583293915, -0.9024463295936584, -0.0466928705573082, 0.8288009166717529, 0.21410301327705383, 0.1530599296092987, 0.6611655950546265, 0.286181777715683, 0.5283254384994507, -0.21052473783493042, -0.03273926302790642, -0.21442921459674835, -0.22732649743556976, -0.08431628346443176, 0.1377648413181305, 0.9745333194732666, 0.24629607796669006, 0.6834353804588318, 0.11428777873516083, -0.29544734954833984, -0.03523031249642372, 0.46488848328590393, -0.424557089805603, -0.07951376587152481, 0.24360480904579163, -0.4345749318599701, -0.6221812963485718, -0.08065140247344971, -0.3311923146247864, -0.6212165951728821, -0.08349001407623291, 0.054616209119558334, -0.3431664705276489, -0.27375608682632446, 0.2946169674396515, -0.1991964876651764, 0.5375918745994568, 0.5194945931434631, -1.105668544769287, 0.0308692529797554, 0.9601069688796997, 0.578048050403595, -0.14837121963500977, -0.12283965200185776, -0.3326643407344818, 0.3320921063423157, -0.5194244980812073, 1.021702527999878, -0.34063777327537537, -0.3826136589050293, 0.11036774516105652, -0.2101231962442398, 0.05074042081832886, -0.7078690528869629, 0.6823031902313232, -0.2290753275156021, 0.20670245587825775, -0.274565726518631, -0.6873735785484314, 0.20800894498825073, 0.5382986068725586, -0.8366385698318481, 0.9936093688011169, -0.08637841045856476, -0.9085918068885803, 0.3166491389274597, -0.6801549792289734, -0.49830061197280884, 0.3652206063270569, -0.2974065840244293, -0.7693904042243958, 0.09200508147478104, 0.2169414907693863, 0.5342679619789124, -0.28558260202407837, 0.19612233340740204, 0.02500917948782444, -0.4015412926673889, 0.3623883128166199, -0.8232185244560242, 0.909152626991272, 0.1199488490819931, -0.4094287157058716, 0.0034868400543928146, -0.8110003471374512, -0.47936946153640747, 0.4720178544521332, -0.43771615624427795, -0.11365599185228348, 0.25126737356185913, 0.08503521978855133, -0.41457507014274597, 0.23875051736831665, -0.6449219584465027, 0.12443997710943222, -0.22150811553001404, 0.5246334671974182, 0.8112978935241699, 0.03692951798439026, 0.28579211235046387, -0.3317588269710541, 0.5683749318122864, -0.14354631304740906, 0.10590654611587524, -0.44673341512680054, -0.6153523325920105, -0.8078451156616211, -0.11320195347070694, -0.05482975021004677, 0.6764915585517883, -0.6996174454689026, 0.5664811730384827, 0.05455021932721138, -0.2828220725059509, -0.8039475679397583, 0.339199423789978, 0.13245344161987305, 0.5750561356544495, 0.127296581864357, 0.2125813364982605, -0.29986444115638733, -0.897031307220459, -0.4728109836578369, -0.3110194206237793, -0.15837211906909943, 0.30954012274742126, 0.5494978427886963, -0.23084284365177155, 0.7702687978744507, -0.1468791365623474, -0.2971119284629822, -0.6009155511856079, 0.36157071590423584, -0.09000718593597412, 0.41712915897369385, 0.504465639591217, -0.6770049333572388, -0.5868076086044312, -0.027481326833367348, -1.0537241697311401, -0.21353724598884583, -0.5149289965629578, 0.33599987626075745, 0.40079259872436523, 1.0606017112731934, -0.6769685745239258, 0.6803943514823914, 0.10313133895397186, -0.3070885241031647, 0.791886031627655, -0.26710960268974304, 0.037435516715049744, -0.7539539933204651, 0.3430245816707611, -0.07243454456329346, -0.3358969986438751, -0.8765808939933777, 0.1552886813879013, -0.03757118806242943, -0.010905059054493904, -0.3260897696018219, 0.42408329248428345, -0.5976102352142334, 0.16363200545310974, -0.7271270751953125, 0.12544286251068115, 0.10252592712640762, -0.08366615325212479, 0.06237974390387535, 0.8466882109642029, 0.040703002363443375, -0.38453570008277893, 0.5187742114067078, 0.17443422973155975, -0.41855308413505554, 0.46668219566345215, -0.7026813626289368, 0.3938068747520447, -0.4838341176509857, 0.3112470805644989, -1.065062165260315, -0.08961394429206848, 0.4584231376647949, -0.6928667426109314, 0.3512575030326843, 0.041501011699438095, -0.7544498443603516, -0.3425443768501282, -0.4832197427749634, 0.3496702313423157, 0.4305608570575714, -0.3951437771320343, 0.6136749386787415, 0.23522722721099854, -0.20668591558933258, -0.8034526109695435, -0.6426215171813965, 0.6156054735183716, -0.39866897463798523, -0.5940288305282593, 0.1292656809091568, -0.027983708307147026, -0.6076071858406067, -0.2379353642463684, 0.3193795382976532, 0.49124613404273987, 0.48877957463264465, -0.13740073144435883, 0.14724673330783844, -0.2872445285320282, -0.15297816693782806, -0.07862972468137741, -0.25988849997520447, 0.47727730870246887, 0.03538414090871811, 0.5380980372428894, 0.2102946788072586, -0.31830310821533203, -0.7170336842536926, 0.6644404530525208, 0.6421107053756714, -0.26432037353515625, 0.660348653793335, 0.8607185482978821, -0.4844623804092407, -0.49093565344810486, -0.593592643737793, -0.2346605807542801, -0.5877789258956909, 0.293516606092453, -0.0793972983956337, -0.740510106086731, 0.5201929807662964, -0.026695024222135544, 0.05943966284394264, 0.2595694661140442, 0.681480348110199, -0.42242392897605896, 0.959721565246582, 0.8179590702056885, -0.08145350962877274, 0.3834834396839142, -0.1350300908088684, 0.5872141718864441, -0.8591256141662598, -0.2964887320995331, -0.6063567399978638, -0.15445010364055634, -0.43841299414634705, 0.0153252137824893, 0.40943050384521484, -0.056030143052339554, -0.005195064004510641, 0.0055329566821455956, -0.5311541557312012, 0.6577705144882202, 0.8048921823501587, -0.08604689687490463, 0.46767035126686096, -0.05674267187714577, 0.18974009156227112, 0.05149584263563156, -0.39810800552368164, -0.9744437336921692, 1.292393445968628, 0.44337084889411926, 0.31558308005332947, -0.08897286653518677, 0.6810691356658936, 0.6803740859031677, 0.30811524391174316, -0.7504990696907043, 0.7877687811851501, -0.22705727815628052, -0.6329843997955322, -0.248684823513031, -0.10776638984680176, -1.3973628282546997, -0.021450160071253777, -0.5835844278335571, -0.8936113119125366, -0.43921777606010437, 0.08231700211763382, -0.2542691230773926, 0.621088981628418, -0.33011311292648315, 0.6160433292388916, -0.2095412313938141, -0.16775211691856384, -0.009262125007808208, -0.5229836702346802, 0.4497307538986206, 0.05959707498550415, 0.0863850936293602, -0.21822434663772583, -0.03751745447516441, 0.6261339783668518, -0.3751961588859558, 0.8497503995895386, 0.1419653743505478, -0.5105330944061279, 0.708746612071991, 0.07220759242773056, 0.6391935348510742, -0.10358064621686935, 0.1567634791135788, -0.11044318228960037, -0.39051175117492676, -0.3453100323677063, -0.20967544615268707, 0.2836124897003174, -0.6759341955184937, -0.7221861481666565, -0.41306009888648987, -0.6860166788101196, 0.10005523264408112, 0.33021438121795654, 0.6430614590644836, 0.20183628797531128, -0.23046302795410156, -0.15478527545928955, 0.8042939305305481, -0.6486120223999023, 0.6484414935112, 0.2702166438102722, -0.07128892093896866, -0.14098255336284637, 0.9214047193527222, -0.31789660453796387, 0.0325704887509346, 0.16659900546073914, 0.1498119980096817, -0.17588987946510315, -1.1598701477050781, -0.6615983247756958, 0.3422996997833252, -0.6294857263565063, -0.17457181215286255, -0.5412985682487488, -0.35966262221336365, -0.42913827300071716, -0.2495887130498886, -0.1268007457256317, 0.12187271565198898, -0.92399662733078, -0.22373326122760773, 0.3102157711982727, 1.1478215456008911, 0.12444940954446793, 0.5817801356315613, -0.752993643283844, 0.41030827164649963, 0.06147594749927521, 0.05781926214694977, -0.005136722233146429, -0.24387165904045105, 0.08722860366106033, -0.1368861198425293, -0.20156164467334747, -0.7796587347984314, 0.3742865025997162, -0.14311814308166504, 0.37065771222114563, 0.5536760091781616, 0.163109689950943, 0.020560991019010544, -0.6552861928939819, 0.8832238912582397, -0.12798482179641724, -0.9011878371238708, 0.6021037101745605, -0.8522720336914062, 0.006222537253051996, 0.34990331530570984, 0.2659648656845093, -0.5106412768363953, -0.6685094833374023, -0.46502044796943665, -1.011170506477356, 0.4965495467185974, 0.34143126010894775, 0.45644399523735046, -0.07292740792036057, 0.6504409313201904, 0.12097059935331345, 0.06392563879489899, -0.9764953255653381, -0.0730561688542366, 0.37258246541023254, -0.41653868556022644, 0.11005979776382446, -0.2595883905887604, 0.1207602322101593, 0.15382537245750427, 0.3540256917476654, -0.016157710924744606, 0.32731491327285767, 0.15833987295627594, -0.13792037963867188, -0.11717060953378677, 0.11146026104688644, 0.9623611569404602, 0.22217664122581482, -0.1244460865855217, -0.03298601880669594, -0.1899598091840744, -0.670505166053772, -0.020724190399050713, -0.24007080495357513, -0.4237397611141205, -0.030318675562739372, 0.9962849617004395, 0.5512295365333557, -0.46103936433792114, -0.9711982011795044, 0.7105385065078735, -0.1511496752500534, -0.34143054485321045, -0.8002170920372009, 0.07999776303768158, -0.04073071479797363, 0.11937267333269119, 0.7136825323104858, -0.2991379201412201, 0.12197774648666382, -0.6082163453102112, 0.12481146305799484, 0.9379060864448547, 0.07791208475828171, -0.21968962252140045, 0.6241504549980164, 0.384002685546875, -0.7795374393463135, 0.9570438861846924, -0.18063488602638245, -0.7804641127586365, 0.9491698741912842, 0.7352145910263062, 0.8403907418251038, -0.005939170252531767, 0.05355990305542946, -0.011535382829606533, 0.8232778906822205, 0.08747806400060654, 0.2683407664299011, 0.014801525510847569, -1.0418987274169922, -0.28015825152397156, -0.24660873413085938, -0.5445720553398132, 0.612771213054657, -0.49681541323661804, 0.2707764208316803, -0.6925965547561646, -0.2240895926952362, 0.000008436314601567574, 0.006063203793019056, -0.45089834928512573, -0.14844563603401184, 0.7323622703552246, 0.7031888961791992, -0.8721668720245361, 0.5662741661071777, 0.39376190304756165, 0.010089854709804058, -0.3854159414768219, 0.07516217976808548, 0.21037693321704865, -0.9787969589233398, 0.31977739930152893, 0.3896254897117615, -0.25900328159332275, 0.0859244093298912, -0.9245100021362305, -0.274671345949173, 0.9690550565719604, 0.31149300932884216, -0.2925085127353668, -0.14608655869960785, 0.6765486001968384, 0.5124132633209229, -0.2567373812198639, 0.10695315152406693, 0.8965610265731812, 0.6263636946678162, -0.43474745750427246, -0.8675168752670288, -0.08706071227788925, -0.3664693832397461, -0.23858940601348877, 0.1873830258846283, -0.4387842118740082, 0.8706688284873962, -0.19847752153873444, -0.33360451459884644, 0.23080788552761078, 0.5799804329872131, 0.36764535307884216, 0.5851088166236877, 0.21789970993995667, 0.4202396869659424, 0.6654596328735352, 0.048931460827589035, 0.9573786854743958, 0.03648622706532478, -0.04146185517311096, 0.595591127872467, -0.45679771900177, 0.713081955909729, 0.4872538149356842, 0.011072888039052486, 0.40837568044662476, 0.37811827659606934, -0.3177490234375, -0.055514197796583176, 0.3447111248970032, -0.5728008151054382, -0.2740360200405121, -0.2157224416732788, -0.08621431142091751, 0.7954105734825134, 0.7516990900039673, -0.4155535399913788, -0.06794784218072891, 0.11925482749938965, 0.1469353586435318, 0.48205995559692383, -0.35186833143234253, 0.9953209757804871, -0.006830292288213968, -0.5311198830604553, 0.19793683290481567, 0.26510968804359436, 0.9356359243392944, -0.40410569310188293, -0.23816654086112976, -0.12136491388082504, 0.24189992249011993, 0.1045089140534401, -0.6894537210464478, 0.2655304968357086, 0.19523459672927856, 0.1276014894247055, -0.35104209184646606, 1.065025806427002, -0.3772250711917877, -0.5481333136558533, 0.12276684492826462, 0.478452205657959, 0.08831823617219925, -0.05727147310972214, -0.5592621564865112, 0.41529402136802673, -0.0731596052646637, -0.2321702539920807, 0.05309884995222092, 0.46045809984207153, 0.15008525550365448, 0.9480193853378296, 0.5830946564674377, -0.0003174281446263194, 0.10656563192605972, -0.35590335726737976, 0.3451203405857086, -0.6024316549301147, -0.28077754378318787, -1.2341259717941284, 0.2844755947589874, 0.022294802591204643, -0.15156951546669006, 0.6202154159545898, 0.23730935156345367, 0.7299636006355286, -0.07428102940320969, 1.03018057346344, 0.33802351355552673, 0.2369513213634491, -0.6634437441825867, 1.0840461254119873, -0.2920502722263336, 0.4540020525455475, -0.2681477665901184, -0.6211974024772644, -0.5081000328063965, 0.732624888420105, 0.005857918411493301, 0.022296544164419174, 0.4585878551006317, 0.39952102303504944, 0.14300093054771423, 0.11384686082601547, 0.17562241852283478, -0.16499286890029907, 0.6552696228027344, 0.6589871644973755, 1.133849859237671, -0.4205940365791321, 0.5863118171691895, 0.08831571042537689, -0.02176067605614662, -0.24362540245056152, -1.1335055828094482, -1.2443562746047974, -0.5664451718330383, -0.2557810842990875, -0.3555563986301422, -0.1723923683166504, 0.7297653555870056, 0.3913423717021942, -0.6278352737426758, -0.31095901131629944, -0.36207059025764465, 0.09947939962148666, 0.20275385677814484, -0.17593812942504883, 0.36065250635147095, -0.20669429004192352, -0.9433332085609436, 0.31409507989883423, 0.2638196051120758, 0.384075403213501, -0.3472655415534973, 0.22859317064285278, -0.09238196909427643, 0.32899266481399536, 0.6418306231498718, 0.27347269654273987, -0.7315704822540283, -0.3987694978713989, 0.07548123598098755, -0.22122620046138763, -0.029804883524775505, 1.2056910991668701, -0.47287967801094055, 0.11279580742120743, 0.4152669906616211, 0.9005201458930969, 0.14707240462303162, -0.17218855023384094, 0.7751389741897583, -0.700993537902832, -0.08397326618432999, 0.5930564403533936, 0.29708102345466614, 0.39384764432907104, -0.6618980169296265, 0.289034366607666, 0.2711142897605896, -0.5580228567123413, -1.1447598934173584, 0.5402445793151855, -0.8412876725196838, -0.40939319133758545, 0.9991284012794495, -0.1136719286441803, -0.30004242062568665, -0.3823692500591278, -0.29892221093177795, 0.22575749456882477, -0.14039869606494904, 0.8611170053482056, 0.8223344683647156, -0.26638612151145935, -0.3341192901134491, -0.5040141344070435, 0.7096174955368042, 0.25649356842041016, -1.0244063138961792, 0.41121068596839905, 0.405822217464447, 0.21428313851356506, 0.1335168331861496, 0.9457762241363525, 0.08767364174127579, 0.31483688950538635, 0.05311943590641022, -0.09759271889925003, -0.22288915514945984, -0.41632193326950073, -0.3015455901622772, -0.01219024695456028, 0.2129429429769516, 0.11419834941625595 ]
http://arxiv.org/abs/2403.09706v1
http://arxiv.org/pdf/2403.09706v1
Schema-Aware Multi-Task Learning for Complex Text-to-SQL
2024-03-09T01:13:37
2024-03-09T01:13:37
Yangjun Wu, Han Wang
cs.CL
cs.CL, cs.AI, cs.DB
Conventional text-to-SQL parsers are not good at synthesizing complex SQL queries that involve multiple tables or columns, due to the challenges inherent in identifying the correct schema items and performing accurate alignment between question and schema items. To address the above issue, we present a schema-aware multi-task learning framework (named MTSQL) for complicated SQL queries. Specifically, we design a schema linking discriminator module to distinguish the valid question-schema linkings, which explicitly instructs the encoder by distinctive linking relations to enhance the alignment quality. On the decoder side, we define 6-type relationships to describe the connections between tables and columns (e.g., WHERE_TC), and introduce an operator-centric triple extractor to recognize those associated schema items with the predefined relationship. Also, we establish a rule set of grammar constraints via the predicted triples to filter the proper SQL operators and schema items during the SQL generation. On Spider, a cross-domain challenging text-to-SQL benchmark, experimental results indicate that MTSQL is more effective than baselines, especially in extremely hard scenarios. Moreover, further analyses verify that our approach leads to promising improvements for complicated SQL queries.
[ -0.014674997888505459, -0.8312255144119263, 0.5382415056228638, 0.21973395347595215, -0.31681692600250244, 0.13532431423664093, -0.13387440145015717, -0.23834683001041412, 0.007386034354567528, 0.6321632266044617, -0.544680118560791, -0.4883659780025482, -0.44879233837127686, 0.41839054226875305, -0.31417906284332275, 1.1241390705108643, 0.12869690358638763, 0.11966408789157867, -0.42555102705955505, -0.17113669216632843, -0.5467232465744019, -0.5203710794448853, -0.4413871467113495, 0.13487794995307922, 0.3815462291240692, 0.3487330675125122, 0.2770913541316986, 0.817915141582489, 0.4797544479370117, 0.17891710996627808, -0.06715605407953262, 0.7507846355438232, -0.2817353308200836, 0.631799578666687, -0.4576186537742615, -0.6020099520683289, -0.48418810963630676, -0.6457235813140869, 0.28127583861351013, 0.846405029296875, -0.49988535046577454, 0.17517304420471191, 0.17723432183265686, 0.8406513333320618, -0.6746432185173035, 0.5236395597457886, -0.8956466317176819, 0.03742091357707977, -0.6173362135887146, -0.19886831939220428, -0.531658411026001, -0.1565752923488617, -0.15722154080867767, -0.802669882774353, 0.34874990582466125, 0.4668538570404053, 0.5789885520935059, 0.2943761348724365, -0.9201081395149231, -0.4400494396686554, -0.534008800983429, 0.4242047667503357, -0.17610028386116028, 0.664646565914154, 0.28558215498924255, 0.3927988111972809, -0.3085733652114868, -0.4661916196346283, -0.6477108001708984, 0.20548461377620697, -0.26817217469215393, -0.0729597881436348, 0.2735535800457001, -0.055601395666599274, 0.4261363744735718, 0.21767306327819824, -0.5699607133865356, -0.3196554183959961, -0.2886333763599396, -0.018086159601807594, 0.1817878633737564, 0.5037268996238708, 0.04169461503624916, -0.3285682499408722, -0.2900806963443756, 0.41359949111938477, -0.8764995336532593, -0.09035812318325043, -0.00997198186814785, 0.6516807675361633, 0.3282003700733185, 0.7916046380996704, -0.30480101704597473, 1.0129649639129639, 0.3247336149215698, 0.040042124688625336, 0.11837883293628693, -0.4730706810951233, 0.01087190117686987, -0.13101963698863983, 0.7900834083557129, 0.2388281375169754, -0.1407487392425537, -0.3592788577079773, -0.11367500573396683, 0.06231597438454628, 0.40287449955940247, -0.48852571845054626, -0.08738484233617783, 0.38528624176979065, -0.16382968425750732, -0.1415572315454483, -0.23272685706615448, -0.746536910533905, -0.5880467295646667, -0.3171215057373047, 0.3119446933269501, -0.6424561738967896, -0.2039644569158554, -0.17750194668769836, 0.0904817208647728, 0.20442676544189453, 0.24877037107944489, -0.9465526938438416, 0.439485639333725, 0.5445831418037415, 0.4016393721103668, -0.48644450306892395, -0.2807598412036896, -0.7105617523193359, 0.884487509727478, -0.25014370679855347, 0.8547253012657166, -0.32817259430885315, -0.0994439348578453, -0.015535520389676094, 0.08865918219089508, -0.2752422094345093, -0.4820663630962372, 0.4526630938053131, -0.47599565982818604, 0.22957223653793335, -0.539920449256897, -0.4468943178653717, 0.1799442619085312, 0.39298370480537415, -0.6320534944534302, 1.3404998779296875, 0.19068285822868347, -0.8352317810058594, 0.5083091259002686, -0.7050358653068542, -0.8586992621421814, 0.07852645963430405, -0.270295649766922, -0.3983805775642395, -0.06682301312685013, 0.1837797909975052, 0.5079293847084045, -0.5438368916511536, 0.37696367502212524, -0.19523203372955322, -0.22913728654384613, -0.12365350872278214, 0.2307853400707245, 0.6300070881843567, 0.20764528214931488, -0.23456673324108124, 0.27419430017471313, -0.8334102630615234, -0.07059594988822937, 0.16156893968582153, -0.36099526286125183, -0.21630844473838806, 0.291971355676651, -0.17043399810791016, 0.326019823551178, 0.0934385359287262, -0.5494723320007324, 0.20319271087646484, -0.24266277253627777, 0.48703664541244507, 0.43356382846832275, -0.15343324840068817, 0.4261932969093323, -0.044013023376464844, 0.15202875435352325, 0.3031879663467407, 0.1390865445137024, -0.03429974243044853, 0.025097137317061424, -0.919815182685852, -0.21147377789020538, 0.03948576748371124, 0.7217802405357361, -1.0907152891159058, 0.45435041189193726, -0.3067556619644165, -0.3591192364692688, -0.3247261643409729, 0.02435668185353279, 0.5263932943344116, 0.5376055240631104, 0.768943727016449, 0.016954589635133743, -0.48708656430244446, -0.5999131798744202, -0.7542492151260376, 0.22035236656665802, -0.009259384125471115, 0.3215743899345398, 0.5745823383331299, 0.31233125925064087, 0.7234720587730408, -0.7518378496170044, -0.7488591074943542, -0.2527932822704315, -0.20210854709148407, -0.09016355872154236, 0.5134826898574829, 0.32467177510261536, -0.6254410743713379, -0.7673614621162415, 0.11474209278821945, -0.7949007153511047, 0.3137490153312683, 0.18649178743362427, -0.1980753242969513, 0.403460294008255, 0.5425417423248291, -1.1369119882583618, 0.007851595059037209, -0.055398885160684586, -0.434337854385376, 0.5221485495567322, -0.008846326731145382, 0.11505357921123505, -1.320167899131775, 0.04016941040754318, -0.08303932100534439, -0.0936063677072525, -0.7090139985084534, 0.11399184912443161, 0.42066264152526855, -0.201408252120018, -0.3153828978538513, -0.20920422673225403, -0.668337881565094, -0.006855917163193226, 0.3362487256526947, 0.06233828142285347, 0.09272132068872452, 0.5680925250053406, -0.039270974695682526, 0.6936256289482117, 0.5126023292541504, -0.6203977465629578, 0.35826200246810913, 0.33289188146591187, -0.074715755879879, 1.285141110420227, -0.41403383016586304, 0.08921739459037781, -0.1775674819946289, 0.4626404643058777, -0.9541797041893005, -0.33351564407348633, 0.28828752040863037, -0.219136580824852, 0.4580029845237732, -0.34058359265327454, -0.6334604620933533, -0.22779278457164764, 0.03280103579163551, 0.2057523876428604, -0.15433426201343536, -0.4137008786201477, 1.164201021194458, 0.3178168833255768, 0.012726990506052971, -0.846056342124939, -0.5503572225570679, 0.09346400946378708, -0.11814118921756744, -0.4839833974838257, 0.4761452078819275, 0.2005307674407959, 0.16058668494224548, -0.08270340412855148, -0.36481714248657227, -0.4009615182876587, -0.14578744769096375, 0.2895609140396118, 0.2550121247768402, -0.06348628550767899, 0.2956959009170532, 0.40251925587654114, 0.011623215861618519, 0.04031344875693321, -0.320862740278244, 0.436762273311615, -0.02685968577861786, -0.35028088092803955, -0.2799901068210602, 0.6592584848403931, 0.6123069524765015, -0.6120749115943909, 0.7219538688659668, 0.37463557720184326, -0.3937220871448517, -0.1732601374387741, -0.6422674059867859, -0.18692666292190552, -0.41808268427848816, 0.4092855155467987, -0.8569470047950745, -0.876158595085144, 0.24718010425567627, -0.11675845831632614, -0.06022780016064644, 0.6956414580345154, 0.08582992106676102, -0.36272546648979187, 0.9235936999320984, 0.3202991485595703, 0.5180561542510986, 0.05255310609936714, -0.0040149386040866375, 0.2136358916759491, -0.8008061647415161, -0.5633677244186401, -0.6476342082023621, 0.2918858528137207, -0.1119578555226326, -0.4511265456676483, 0.14878079295158386, -0.2535564601421356, -0.5246881246566772, 0.6278948187828064, -0.6099389791488647, 0.6519860625267029, 0.2778782844543457, 0.20106379687786102, 0.35027849674224854, 0.008312146179378033, -0.116836316883564, -0.13363833725452423, -0.47777020931243896, -0.022621504962444305, 0.9238420724868774, -0.3637423515319824, 0.4365820288658142, 0.24282272160053253, 0.5213919878005981, 0.041109904646873474, -0.08461716771125793, -0.43411752581596375, 0.5463752150535583, -0.26025211811065674, -0.8945996165275574, -0.12354064732789993, -0.5932559967041016, -0.7413439154624939, 0.47764846682548523, -0.7363885045051575, -0.4076941907405853, 0.040492091327905655, 0.205496147274971, -0.12496358156204224, 0.17755454778671265, -0.6185455322265625, 1.0409133434295654, -0.17323940992355347, -0.5318721532821655, -0.08117500692605972, -0.9655981659889221, 0.25217610597610474, -0.11021935939788818, 0.26083654165267944, 0.04532669112086296, -0.0903804823756218, 0.4473109245300293, -0.26239147782325745, 0.6800122857093811, -0.12085531651973724, 0.17903392016887665, -0.02670411765575409, 0.3517591655254364, 0.6274169683456421, -0.35535842180252075, -0.12798359990119934, -0.014653539285063744, 0.28687584400177, -0.3427736461162567, -0.49560466408729553, 0.5886510610580444, -0.2923460602760315, -0.46143242716789246, -0.4980691075325012, -0.7202832102775574, -0.4066621959209442, 0.49467846751213074, 0.15469850599765778, 0.29378044605255127, 0.07452244311571121, 0.36278197169303894, 0.6173754334449768, 0.2172275185585022, 0.011096454225480556, 0.5562114715576172, 0.10742931813001633, -0.4001260995864868, 0.9326233267784119, 0.3024817705154419, 0.2264070063829422, 0.5921381115913391, -0.25673407316207886, -0.3933998942375183, -0.4770963490009308, -0.6400208473205566, 0.17977017164230347, -0.5403091907501221, -0.5314836502075195, -0.7965500950813293, 0.18336348235607147, -0.28550514578819275, 0.19227978587150574, -0.2605414092540741, -0.6042158007621765, -0.2761196792125702, 0.020327525213360786, 0.23926040530204773, 0.5259426236152649, 0.6421180367469788, 0.23807866871356964, -0.7533828020095825, 0.3121456801891327, 0.12596715986728668, 0.6430350542068481, -0.32537513971328735, -0.09960741549730301, -0.10362526029348373, -0.25227728486061096, -0.36141714453697205, -0.9972149133682251, -0.005581339821219444, 0.34966006875038147, 0.4321441054344177, 0.10889654606580734, 0.394422709941864, 0.7366425395011902, -0.676366925239563, 0.5725297927856445, 0.16201187670230865, -1.019349455833435, 0.5366923809051514, -0.35880398750305176, -0.09318172186613083, 0.5951246619224548, 0.4060727059841156, -0.2082676887512207, -0.35959672927856445, -0.1983029842376709, -0.8751891851425171, 0.7477085590362549, 0.16598311066627502, -0.3302561044692993, -0.1364438682794571, 0.47185176610946655, 0.33015334606170654, 0.3909495770931244, -0.7434355020523071, -0.43028926849365234, -0.17983883619308472, -0.33516624569892883, 0.30846694111824036, -0.30355870723724365, -0.28320351243019104, -0.07876667380332947, 0.3026348948478699, -0.29146355390548706, 0.01262451708316803, -0.1131855845451355, -0.39284300804138184, -0.0655212253332138, 0.46229633688926697, 0.1836594194173813, 0.7012567520141602, -0.1546897292137146, 0.26138317584991455, 0.3461833894252777, -0.2856476902961731, -0.17294469475746155, 0.3372570276260376, 0.0947938933968544, -0.2248534858226776, -0.10862964391708374, 0.48286864161491394, 0.006885632872581482, -0.5659165382385254, 0.6010087132453918, -0.07352116703987122, -0.18748393654823303, 0.1224394217133522, -0.06715457886457443, 0.3378220200538635, 0.08194618672132492, 0.4509398639202118, 0.18150028586387634, 0.24931973218917847, -0.28889772295951843, 0.05310793220996857, 0.506693422794342, -0.45936623215675354, -0.0481729619204998, 0.882682740688324, 0.40749579668045044, -0.21943902969360352, 0.5700554847717285, -0.2053060382604599, -0.5328988432884216, 0.2691769003868103, 0.7273148894309998, 0.3142482340335846, -0.35890886187553406, -0.17414039373397827, 0.3078559637069702, 0.3051426112651825, -0.041048813611269, 0.6819218993186951, -0.2823704779148102, -0.3250950276851654, -0.3930332064628601, -0.28226178884506226, -0.346607506275177, -0.5011833906173706, -0.6690424680709839, 0.3416280448436737, -0.1821838915348053, 0.04355546087026596, 0.15164615213871002, -0.20175105333328247, -0.3794342577457428, 0.22471415996551514, -0.69718337059021, 0.5862855911254883, -0.7724024653434753, 0.8719164133071899, 0.553834855556488, -0.45367729663848877, -0.6395151019096375, -0.3480011224746704, -0.06874729692935944, -0.3258756399154663, 0.41814228892326355, 0.14935332536697388, -0.013319326564669609, -0.011377004906535149, -0.14175842702388763, -0.6663593053817749, 1.0640101432800293, 0.580529510974884, -0.39000383019447327, -0.20527276396751404, 0.3804861903190613, 0.4205576479434967, -0.35084179043769836, 0.10702557861804962, 0.46943292021751404, 0.13076558709144592, -0.017756367102265358, -0.8042510747909546, 0.40990594029426575, -0.14189064502716064, -0.17845430970191956, 0.8665177822113037, -0.37883564829826355, 0.8957504630088806, -0.25113382935523987, -0.16374091804027557, -0.30692341923713684, 0.6517377495765686, 0.16822530329227448, 0.4129674434661865, 0.7536216378211975, 0.4338357448577881, 0.6316975355148315, -0.36210373044013977, 0.7232140898704529, -0.3662550449371338, 0.26961737871170044, 1.2638074159622192, -0.5447412729263306, 1.0157055854797363, 0.6769574880599976, -0.3141281306743622, 0.5336509346961975, 0.4472762644290924, 0.06425552070140839, 0.380462646484375, 0.03873908519744873, -0.1818864494562149, -0.44742074608802795, -0.19238734245300293, -0.46771931648254395, 0.26627397537231445, 0.7159180045127869, -0.15843771398067474, -0.25732091069221497, -0.29723161458969116, -0.1253296583890915, 0.140407994389534, 0.052741266787052155, 0.8603305816650391, -0.22579552233219147, -0.5599069595336914, 0.30199921131134033, -0.3313511312007904, 0.38845834136009216, -0.5552271604537964, -0.07941815257072449, 0.047079287469387054, 0.12542365491390228, -0.515678346157074, -0.8357338309288025, 0.485266774892807, -0.29719534516334534, -0.2123679667711258, 0.17270050942897797, 0.6261957287788391, -0.78425532579422, 0.004679473582655191, 0.005240707658231258, 0.454318106174469, -0.14617116749286652, -0.28966736793518066, -0.533379316329956, -0.09942610561847687, -0.11720236390829086, -0.0017335006268694997, 0.45624348521232605, 0.65108722448349, 0.11408145725727081, 0.6312779784202576, 0.8000099062919617, -0.1855769008398056, 0.03092951886355877, -0.25225865840911865, 0.8722306489944458, -0.6257450580596924, -0.4380975663661957, -0.5772055983543396, 0.5151429772377014, -0.3940092623233795, -0.10806309431791306, 0.611034095287323, 0.9151619076728821, 0.45085182785987854, -0.3197306990623474, 0.4425925612449646, -0.0922774076461792, 0.671695351600647, -0.2621838450431824, 0.570612907409668, -0.5002012252807617, 0.37671974301338196, -0.12931956350803375, -1.0747686624526978, -0.6393738389015198, 0.30067557096481323, 0.144573375582695, -0.29919934272766113, 1.064135193824768, 0.8033933043479919, 0.017906667664647102, 0.14039891958236694, -0.09976111352443695, 0.10723508149385452, 0.2295868843793869, 0.4852510392665863, 0.6527212858200073, -0.31542545557022095, 1.1557483673095703, -0.13339461386203766, 0.03321380168199539, -0.14623108506202698, -0.8498591184616089, -0.8478161096572876, -0.8203108310699463, -0.18038445711135864, -0.6014269590377808, 0.35242247581481934, 0.922302782535553, 0.4849262535572052, -0.674950897693634, -0.25945061445236206, -0.10106254369020462, 0.19660881161689758, -0.551956057548523, -0.19319604337215424, 0.7542791962623596, -0.4752744734287262, -0.4272165894508362, 0.12318352609872818, 0.4322770833969116, -0.42112839221954346, 0.19192229211330414, 0.4322825074195862, -0.3450038433074951, -0.1452660858631134, 0.9629905223846436, 0.07147849351167679, -0.612392783164978, -0.12011921405792236, 0.09395958483219147, -0.4185066521167755, 0.015602143481373787, 0.6221228241920471, -0.35766667127609253, 0.35450679063796997, 0.4679431915283203, 0.5754061341285706, 0.6633369326591492, -0.2046438753604889, 0.30290675163269043, -0.830077588558197, -0.37258201837539673, 0.182863250374794, 0.36543989181518555, 0.28780192136764526, -0.4427884817123413, 0.6281357407569885, 0.3530421555042267, -0.4719947576522827, -0.8860477209091187, 0.3173302710056305, -1.2562233209609985, -0.18456481397151947, 0.8960089683532715, 0.10140862315893173, -0.2649539113044739, -0.6470200419425964, -0.39157822728157043, 0.20985311269760132, -0.3180233836174011, 0.6099424958229065, 0.38967615365982056, -0.2644060552120209, 0.025784190744161606, -0.2102832943201065, 0.6581708788871765, 0.4049779176712036, -0.9521204233169556, 0.494482159614563, 0.5954546332359314, 0.4011537730693817, 0.0681982934474945, 0.2637048363685608, -0.2010771632194519, 0.28439587354660034, -0.0593753419816494, 0.002731899730861187, -0.1029914990067482, -0.21800458431243896, 0.2174401879310608, 0.5797326564788818, -0.24061448872089386, -0.199081152677536 ]
http://arxiv.org/abs/2403.09705v1
http://arxiv.org/pdf/2403.09705v1
A Novel Nuanced Conversation Evaluation Framework for Large Language Models in Mental Health
2024-03-08T23:46:37
2024-03-08T23:46:37
Alexander Marrapese, Basem Suleiman, Imdad Ullah, Juno Kim
cs.CL
cs.CL, cs.AI, cs.ET
Understanding the conversation abilities of Large Language Models (LLMs) can help lead to its more cautious and appropriate deployment. This is especially important for safety-critical domains like mental health, where someone's life may depend on the exact wording of a response to an urgent question. In this paper, we propose a novel framework for evaluating the nuanced conversation abilities of LLMs. Within it, we develop a series of quantitative metrics developed from literature on using psychotherapy conversation analysis literature. While we ensure that our framework and metrics are transferable by researchers to relevant adjacent domains, we apply them to the mental health field. We use our framework to evaluate several popular frontier LLMs, including some GPT and Llama models, through a verified mental health dataset. Our results show that GPT4 Turbo can perform significantly more similarly to verified therapists than other selected LLMs. We conduct additional analysis to examine how LLM conversation performance varies across specific mental health topics. Our results indicate that GPT4 Turbo performs well in achieving high correlation with verified therapists in particular topics such as Parenting and Relationships. We believe our contributions will help researchers develop better LLMs that, in turn, will more positively support people's lives.
[ -0.3348706364631653, -0.8698208928108215, 0.9314388632774353, 0.4029069244861603, -0.1323927789926529, 0.28618377447128296, -0.4573352038860321, -0.3736100196838379, 0.05684966593980789, 0.3555929660797119, -0.5132953524589539, -0.5595266222953796, -0.6854040622711182, 0.00198534713126719, -0.31115904450416565, 1.0933939218521118, 0.2726295292377472, 0.2046031951904297, -0.1350512057542801, 0.003954168409109116, -0.579250156879425, -0.4512415826320648, -0.8097733855247498, -0.37226247787475586, 0.4579176902770996, 0.1761021614074707, 0.9423458576202393, 0.1457659900188446, 0.6745941638946533, 0.30296459794044495, -0.33290085196495056, -0.08973310142755508, -0.7081709504127502, 0.09035566449165344, -0.19091375172138214, -0.3297047019004822, -0.8602687120437622, -0.27976667881011963, 0.4566906988620758, 0.8607277870178223, -0.3408821225166321, 0.03732147440314293, 0.22278252243995667, 0.27907609939575195, -0.3781122863292694, 0.22371523082256317, -0.6958174705505371, 0.1898890733718872, 0.08083270490169525, -0.14761093258857727, -0.2293573021888733, -0.4018270671367645, 0.06611865758895874, -0.20113839209079742, -0.016476068645715714, -0.3078901469707489, 0.4922015070915222, 0.11472000926733017, -0.7015237212181091, 0.03897428512573242, -0.7825380563735962, 0.4987258017063141, -1.1885294914245605, 0.2943296432495117, 0.35022854804992676, 0.3666171133518219, -0.38600796461105347, -0.6462279558181763, -0.40448781847953796, -0.08401086926460266, 0.06885388493537903, 0.026322366669774055, -0.3089061677455902, 0.2768930196762085, 0.30540016293525696, 0.49125632643699646, -0.4814399480819702, 0.13485951721668243, -0.10923517495393753, -0.026261379942297935, 0.5120983123779297, 0.6415531635284424, 0.27005118131637573, 0.12400344759225845, -0.039316024631261826, 0.2841005027294159, -0.34212490916252136, -0.037388939410448074, -0.1351853311061859, 0.05284646153450012, -0.4218860864639282, 0.3481666147708893, -0.16708512604236603, 0.47496864199638367, 0.02796921506524086, -0.6545590758323669, 0.13982592523097992, -0.2361585646867752, -0.09345574676990509, -0.25071534514427185, 0.9688566327095032, 0.7817644476890564, 0.24275030195713043, -0.3839070796966553, -0.010633145458996296, -0.1401551216840744, 0.35742202401161194, -1.1226969957351685, -0.0534408837556839, 0.2103247344493866, -0.2653791308403015, -0.15638549625873566, -0.2593925893306732, -0.740479052066803, -0.5939696431159973, -0.08429780602455139, 0.03315213695168495, -0.5363278985023499, -0.5700815916061401, 0.33087119460105896, 0.15589825809001923, 0.26776644587516785, 0.26574549078941345, -0.9127732515335083, 0.3166731595993042, 1.167281150817871, 1.0153452157974243, -0.040008656680583954, -0.039473503828048706, -0.4224410951137543, 0.007565733976662159, -0.41366031765937805, 0.7244794964790344, -0.5715623497962952, -0.4723283350467682, 0.044820576906204224, -0.14550600945949554, 0.0092729851603508, -0.20128141343593597, 0.5554941296577454, -0.37146487832069397, 0.09015300124883652, -0.3961999714374542, -0.4664941132068634, -0.09599396586418152, 0.5668134689331055, -0.28957974910736084, 0.5694381594657898, 0.23641632497310638, -0.9111260771751404, 0.2032371610403061, -0.46820515394210815, -0.44315269589424133, 0.47167471051216125, -0.3598245680332184, -0.20316292345523834, 0.15835098922252655, -0.017645670101046562, 0.5840849280357361, -0.6766107678413391, 0.7481510639190674, -0.7851665616035461, -0.49205759167671204, 0.6888150572776794, -0.5710745453834534, 0.6529983878135681, 0.05977135896682739, -0.3122608959674835, 0.0711032971739769, -0.5463041663169861, 0.4492846429347992, -0.05987561121582985, -0.08588292449712753, -0.15972666442394257, -0.14779524505138397, -0.08282168954610825, 0.25350221991539, 0.12949270009994507, -0.40564388036727905, -0.12424373626708984, -0.6020944118499756, 0.722012996673584, 0.2916748523712158, 0.36712446808815, 0.08232242614030838, -0.3009594976902008, 0.7335453629493713, -0.3464987874031067, 0.20271116495132446, -0.046774182468652725, -0.5656558275222778, -0.3382188677787781, -0.5792036056518555, 0.007147526368498802, 0.4443627893924713, -0.47556599974632263, 0.8046419024467468, -0.4839108884334564, -0.5767031908035278, -0.4144325852394104, 0.03671671450138092, 0.36578214168548584, 0.4475839138031006, 0.0010691015049815178, -0.34564340114593506, -0.22374111413955688, -0.8905031681060791, -0.18257316946983337, -0.31629493832588196, -0.05761290341615677, 0.2911565899848938, 0.26611611247062683, -0.403631329536438, 0.9202116131782532, -0.45851966738700867, 0.10643386840820312, -0.2611735165119171, 0.32257261872291565, 0.17407560348510742, 0.13650333881378174, 0.4754427969455719, -0.3464715778827667, -0.4236431419849396, 0.009039051830768585, -0.8711471557617188, -0.21015353500843048, 0.24611249566078186, -0.11109131574630737, -0.2783736288547516, 0.19131149351596832, -0.585825502872467, 0.2905731499195099, 0.5561599731445312, -0.37586238980293274, 0.33736979961395264, -0.17944547533988953, 0.21543855965137482, -0.915383517742157, 0.06692252308130264, -0.025638366118073463, -0.19151906669139862, -0.8344604969024658, -0.12461674213409424, -0.20516735315322876, -0.034690018743276596, -0.32330968976020813, 0.17231003940105438, -0.0743793472647667, 0.027518700808286667, -0.3017796277999878, 0.09735754877328873, -0.10408325493335724, 0.3646538257598877, -0.19195185601711273, 0.7689213752746582, 0.4183740019798279, -0.20017263293266296, 0.2877591848373413, 0.247791588306427, -0.39568185806274414, 1.0515729188919067, -0.7505502104759216, 0.427591472864151, 0.12045938521623611, 0.4246538281440735, -1.0582705736160278, -0.2264285832643509, -0.02581099420785904, -0.25465813279151917, 0.1181051954627037, 0.009835463017225266, -0.3624744415283203, -0.3021933138370514, -0.21716903150081635, 0.4150618612766266, 0.20719055831432343, 0.05223030224442482, 0.24540184438228607, 0.6681830286979675, -0.5376437902450562, -0.34679892659187317, -0.4332917630672455, 0.5108115077018738, -0.664208710193634, -0.6374374032020569, 0.21760240197181702, -0.2966524362564087, -0.38508448004722595, -0.3265330493450165, 0.0594174787402153, -0.21416574716567993, 0.45059844851493835, 0.2796402871608734, 0.11983571201562881, -0.28764188289642334, 0.155144602060318, -0.08878619968891144, -0.18882934749126434, 0.5035036206245422, 0.19471870362758636, 0.5935651659965515, -0.6007236242294312, -0.31743404269218445, -0.23738932609558105, 0.42983582615852356, 0.7278718948364258, -0.15482044219970703, 0.7003078460693359, 0.7356125116348267, -0.3865380883216858, 0.16259752213954926, -0.6517835855484009, -0.32500913739204407, -0.44212090969085693, 0.6223688721656799, -0.3503882884979248, -1.1760233640670776, 0.476543128490448, -0.14605261385440826, 0.03371310606598854, 0.04221184179186821, 0.7402135133743286, 0.06281764060258865, 1.2341585159301758, 0.6013434529304504, -0.014400389976799488, 0.2367076873779297, -0.08819802850484848, 0.7366520762443542, -0.8583952188491821, -0.051202382892370224, -0.27293333411216736, -0.12959378957748413, -0.4883333146572113, -0.4453265964984894, 0.5354769825935364, -0.0082825543358922, -0.5867148041725159, -0.11553165316581726, -0.3097813129425049, 0.20207419991493225, -0.2515750229358673, 0.11765772104263306, 0.4993053078651428, -0.22373376786708832, -0.001051593804731965, -0.4536311626434326, -0.5169329643249512, -0.8148897886276245, 0.8065084218978882, 0.7309318780899048, 0.6030824780464172, 0.3074733316898346, 0.3001188337802887, 0.06541784107685089, 0.6998916268348694, -1.0188517570495605, 0.6716880798339844, 0.16718968749046326, -0.648257851600647, -0.4230167865753174, -0.5352303981781006, -0.8418067097663879, 0.3923795819282532, -0.2760121822357178, -1.141221046447754, -0.1911264955997467, -0.34589555859565735, -0.521725058555603, 0.1784777194261551, -0.3567875921726227, 0.7873315215110779, -0.5228075385093689, -0.20142734050750732, -0.2976515293121338, -0.5931639671325684, 0.7000383138656616, -0.504840075969696, 0.19505734741687775, -0.6448045372962952, -0.054929979145526886, 0.7246794104576111, -0.21568894386291504, 0.7684678435325623, 0.04715779423713684, -0.39119839668273926, -0.09915001690387726, 0.051728446036577225, 0.024231182411313057, 0.2417220175266266, -0.21224156022071838, 0.32835862040519714, 0.40183889865875244, -0.07778970897197723, -0.9996483325958252, 0.7004121541976929, -0.6138143539428711, -0.8176459074020386, -0.24029992520809174, -0.6392950415611267, -0.7728416919708252, 0.23558837175369263, -0.06551869213581085, 0.19421274960041046, -0.5692520141601562, 0.39228108525276184, 0.5309388637542725, -0.3712216317653656, 0.10614368319511414, 0.9531859755516052, -0.38935211300849915, -0.5398568511009216, 0.5269404053688049, -0.021787377074360847, 0.1771969497203827, 0.1306350976228714, 0.35663101077079773, -0.23450298607349396, -0.4953409731388092, -0.06241605430841446, 0.46889954805374146, -0.7431193590164185, -0.3373185694217682, -0.7738444805145264, -0.4581926465034485, -0.5001517534255981, -0.020138483494520187, -0.3257232904434204, -0.07934169471263885, 0.15162105858325958, -0.36958998441696167, 0.5424588918685913, 0.7085705399513245, 0.16892334818840027, 0.39988771080970764, -0.7348482012748718, 0.056848108768463135, 0.33714818954467773, 0.5263347029685974, 0.2696625888347626, -0.6546903252601624, -0.21057480573654175, 0.12646673619747162, -0.40166527032852173, -1.0045298337936401, 0.46073606610298157, 0.03546742722392082, 0.55816251039505, 0.5634720325469971, 0.17157195508480072, 0.869867205619812, -0.5113618969917297, 0.6683374643325806, 0.3439652621746063, -0.9039143919944763, 0.3262103796005249, -0.4551985561847687, 0.18797454237937927, 0.866253137588501, 0.23851823806762695, -0.6815627813339233, -0.49503472447395325, -0.7783656716346741, -0.847709059715271, 0.443593829870224, 0.1650351583957672, 0.3346962332725525, -0.023655245080590248, 0.3539062738418579, -0.2058495283126831, 0.35513386130332947, -0.49496740102767944, -0.0644063800573349, 0.20706439018249512, -0.26369890570640564, -0.10346369445323944, -0.4366118311882019, -0.5947332382202148, -0.2568911910057068, 0.38576287031173706, -0.21705873310565948, 0.4140129089355469, -0.21684299409389496, 0.37025126814842224, -0.07236242294311523, 0.5767615437507629, 0.30726248025894165, 0.6683463454246521, -0.430448055267334, 0.256335586309433, 0.47072935104370117, -0.3473358154296875, 0.29520753026008606, -0.03591814637184143, 0.28405895829200745, -0.2568743824958801, 0.38993361592292786, 0.7123132944107056, 0.5778008699417114, -0.6921406984329224, 0.7185564637184143, -0.26566752791404724, 0.026178253814578056, -0.11184704303741455, 0.19018590450286865, 0.3629777729511261, 0.3735980689525604, -0.02781996689736843, -0.41542482376098633, 0.3213636577129364, -0.5446194410324097, 0.20414680242538452, 0.5105910301208496, -0.43860453367233276, -0.40696898102760315, 0.2649640440940857, 0.288446843624115, -0.6040176153182983, 0.4973662793636322, -0.02195882983505726, -0.36577093601226807, 0.3904651403427124, 0.7492570281028748, 0.9594146013259888, -0.08162172883749008, 0.1994779258966446, 0.11142302304506302, 0.15743035078048706, -0.06536450982093811, 0.17224904894828796, 0.01870952732861042, -0.7738626003265381, -0.5735176205635071, -0.40395987033843994, -0.6364510655403137, 0.5725603699684143, -0.919724702835083, -0.01789088360965252, -0.5030052661895752, -0.7987545132637024, -0.09617912769317627, 0.11756054311990738, -0.678135097026825, -0.004961072467267513, 0.30334359407424927, 0.6321588158607483, -0.8159265518188477, 0.7468580603599548, 0.5869730114936829, 0.0437547042965889, -0.7809668183326721, 0.1772041767835617, 0.10991954803466797, -0.704233705997467, 0.22404631972312927, 0.22921858727931976, -0.34712278842926025, -0.11564832180738449, -0.2598702013492584, -0.7764520049095154, 1.1681759357452393, 0.9268106818199158, -0.3936633765697479, 0.05137940123677254, 0.323893666267395, 0.9340701699256897, -0.4489748179912567, 0.6966123580932617, 0.9384583830833435, 0.507634699344635, 0.24225744605064392, -1.013469934463501, 0.1287534236907959, -0.28604233264923096, 0.21867644786834717, -0.24417522549629211, -0.7753400206565857, 0.31632134318351746, -0.176918625831604, -0.23768112063407898, 0.02295871451497078, 0.5657709836959839, 0.5642068982124329, 0.3586074709892273, 0.45051029324531555, 0.3572777509689331, 0.913187563419342, 0.07878938317298889, 0.8307496309280396, -0.5940365195274353, 0.26622602343559265, 1.229219675064087, -0.664013683795929, 0.7627866268157959, 0.13483618199825287, -0.39646151661872864, 0.22152912616729736, 0.31766074895858765, 0.21994058787822723, 0.2601624131202698, 0.3060583472251892, -0.38187089562416077, -0.246906116604805, -0.21615910530090332, -0.4159415662288666, 0.4704627990722656, 0.6624988913536072, -0.1341785341501236, -0.16921959817409515, -0.0009518678998574615, 0.4814205765724182, -0.048830680549144745, 0.13644039630889893, 0.7997214794158936, 0.528070867061615, -0.5538591146469116, 0.6164909601211548, 0.15897689759731293, 0.44239333271980286, -0.5738995671272278, 0.13345852494239807, -0.39437490701675415, 0.12090256065130234, -0.24413028359413147, -0.9655167460441589, 0.42377281188964844, 0.27241021394729614, 0.0651407316327095, -0.04947146400809288, 0.5093973278999329, -0.284003347158432, -0.5048246383666992, 0.42042604088783264, 0.6308538317680359, 0.3442666232585907, -0.03089793398976326, -0.8019526600837708, 0.17751041054725647, -0.1755426824092865, -0.1606689840555191, 0.55301433801651, 0.9286976456642151, 0.06183353438973427, 0.710753321647644, 0.3640962243080139, 0.22713860869407654, -0.4230313301086426, 0.25612953305244446, 0.7416502833366394, -0.7798096537590027, -0.497342973947525, -0.8217730522155762, 0.34379807114601135, -0.13669465482234955, -0.3606872260570526, 0.8333017826080322, 0.2539338171482086, 0.0901499018073082, 0.43344712257385254, 0.6985614895820618, 0.2619258463382721, 0.3108313977718353, -0.1458955556154251, 0.6030803918838501, -0.07041607797145844, 0.5485775470733643, -0.4074598550796509, -0.7824966907501221, -0.34935253858566284, 0.8311386108398438, -0.7656944990158081, 0.0820092260837555, 0.6332407593727112, 0.846716046333313, 0.20271672308444977, 0.29569971561431885, 0.6078503131866455, 0.3508879244327545, 0.7250856757164001, 0.7458362579345703, 1.0382317304611206, -0.05796302482485771, 0.2248484492301941, -0.07076133042573929, -0.36071813106536865, 0.015186790376901627, -1.0226401090621948, -0.9136318564414978, -0.22336392104625702, -0.3645297586917877, -0.3098753094673157, -0.04071260616183281, 0.7948383092880249, 0.6850948333740234, -0.4537270963191986, -0.27822524309158325, 0.22603757679462433, -0.09586907178163528, -0.1938190460205078, -0.2670325040817261, -0.000571021402720362, -0.18051129579544067, -0.28778889775276184, 0.35091421008110046, 0.5913217663764954, -0.12422570586204529, -0.5526683330535889, -0.062251608818769455, 0.26004427671432495, 0.23623651266098022, 0.6612786650657654, -0.002810735022649169, -0.6130544543266296, -0.2071608006954193, -0.33475032448768616, -0.3023712933063507, 0.22021205723285675, 0.8921035528182983, -0.48640647530555725, 0.18906986713409424, 0.11792175471782684, 0.7419750094413757, 0.28273284435272217, -0.11173612624406815, 0.6953848600387573, -0.328709214925766, 0.0015382980927824974, 0.39462748169898987, 0.27750638127326965, 0.5785459876060486, -0.4889424741268158, 0.5259695053100586, -0.045088991522789, -0.591313898563385, -0.8835152983665466, 0.055291954427957535, -0.9407925605773926, -0.00001734606848913245, 1.3994090557098389, -0.44953399896621704, 0.08489829301834106, -0.35221511125564575, -0.25240787863731384, 0.07945379614830017, -0.36755719780921936, 0.8887858986854553, 0.6987072229385376, -0.08162444829940796, -0.2213028520345688, -0.7585906982421875, 0.27293500304222107, 0.33613118529319763, -0.8151347637176514, 0.18109449744224548, 0.3189079761505127, 0.43334832787513733, -0.06802841275930405, 0.9980989694595337, -0.2758379280567169, -0.002462988020852208, -0.333447128534317, -0.1694098860025406, 0.1820698380470276, 0.013489083386957645, -0.5206462144851685, 0.14096495509147644, 0.3156300485134125, 0.5008984208106995 ]
http://arxiv.org/abs/2403.05720v1
http://arxiv.org/pdf/2403.05720v1
A Benchmark of Domain-Adapted Large Language Models for Generating Brief Hospital Course Summaries
2024-03-08T23:17:55
2024-03-08T23:17:55
Asad Aali, Dave Van Veen, Yamin Ishraq Arefeen, Jason Hom, Christian Bluethgen, Eduardo Pontes Reis, Sergios Gatidis, Namuun Clifford, Joseph Daws, Arash S. Tehrani, Jangwon Kim, Akshay S. Chaudhari
cs.CL
cs.CL, cs.AI, cs.LG
Brief hospital course (BHC) summaries are common clinical documents generated by summarizing clinical notes. While large language models (LLMs) depict remarkable capabilities in automating real-world tasks, their capabilities for healthcare applications such as BHC synthesis have not been shown. To enable the adaptation of LLMs for BHC synthesis, we introduce a novel benchmark consisting of a pre-processed dataset extracted from MIMIC-IV notes, encapsulating clinical note, and brief hospital course (BHC) pairs. We assess the performance of two general-purpose LLMs and three healthcare-adapted LLMs to improve BHC synthesis from clinical notes. Using clinical notes as input for generating BHCs, we apply prompting-based (using in-context learning) and fine-tuning-based adaptation strategies to three open-source LLMs (Clinical-T5-Large, Llama2-13B, FLAN-UL2) and two proprietary LLMs (GPT-3.5, GPT-4). We quantitatively evaluate the performance of these LLMs across varying context-length inputs using conventional natural language similarity metrics. We further perform a qualitative study where five diverse clinicians blindly compare clinician-written BHCs and two LLM-generated BHCs for 30 samples across metrics of comprehensiveness, conciseness, factual correctness, and fluency. Overall, we present a new benchmark and pre-processed dataset for using LLMs in BHC synthesis from clinical notes. We observe high-quality summarization performance for both in-context proprietary and fine-tuned open-source LLMs using both quantitative metrics and a qualitative clinical reader study. We propose our work as a benchmark to motivate future works to adapt and assess the performance of LLMs in BHC synthesis.
[ -0.020696792751550674, -0.6026244759559631, 0.8714699745178223, 0.08002906292676926, -0.1699363738298416, -0.04791698977351189, -0.5369620323181152, -0.38267770409584045, 0.11144860088825226, 0.4469066262245178, -0.34672972559928894, -0.81809002161026, -0.28941279649734497, 0.30357542634010315, -0.22263218462467194, 1.0157713890075684, -0.24288374185562134, 0.08060841262340546, -0.1648901402950287, -0.3636997640132904, -0.3437429666519165, -0.5052417516708374, -0.32655587792396545, -0.15085594356060028, 0.6343294382095337, 0.3688192665576935, 0.3681781589984894, 0.4933243691921234, 0.6815129518508911, 0.18989714980125427, 0.07879221439361572, 0.1801266074180603, -0.4111292362213135, 0.09039779007434845, -0.16039703786373138, -0.2427758425474167, -0.8196941018104553, -0.2041395604610443, 0.9213272929191589, 0.8347374200820923, -0.1298770010471344, 0.341814249753952, 0.0283245500177145, 0.7828195095062256, -0.6880019307136536, 0.07819795608520508, -0.6430268287658691, -0.08176365494728088, -0.1178952306509018, -0.38195618987083435, -0.6011322736740112, -0.5309712886810303, 0.34764379262924194, -0.4685256779193878, 0.37795546650886536, 0.07760442048311234, 0.6503480076789856, -0.12231927365064621, -0.1611025035381317, -0.5620216131210327, -0.3761892020702362, 0.6423262357711792, -1.1593225002288818, 0.26968738436698914, -0.018128840252757072, 0.5946125984191895, -0.18925544619560242, -0.9260189533233643, -0.33329519629478455, -0.32993221282958984, -0.10154221951961517, 0.3608599305152893, -0.03806117922067642, 0.16412734985351562, 0.4097687900066376, 0.4603419601917267, -0.6671715974807739, 0.13935726881027222, -0.29862770438194275, -0.19999577105045319, 0.5545178651809692, 0.5187452435493469, 0.06359981745481491, -0.15503282845020294, 0.024994684383273125, -0.027725404128432274, -0.8974239826202393, -0.01954754628241062, -0.14388775825500488, 0.3568326532840729, -0.3604534864425659, 0.46973735094070435, -0.07821853458881378, 0.5782628655433655, -0.19205698370933533, -0.5653366446495056, 0.2517739534378052, -0.21329492330551147, -0.41847968101501465, 0.24952760338783264, 0.8297176957130432, 0.7318383455276489, 0.2562658488750458, -0.04783320426940918, -0.20356109738349915, -0.048766445368528366, 0.24480389058589935, -0.8989306688308716, -0.22845548391342163, 0.18440459668636322, -0.6843969821929932, -0.08843709528446198, -0.544166088104248, -0.5967062711715698, -0.27456769347190857, -0.4121822416782379, 0.2418500781059265, -0.359247088432312, 0.23081372678279877, 0.10816982388496399, 0.11912255734205246, 0.08779889345169067, 0.5632458329200745, -0.6883836984634399, 0.6205279231071472, 0.43625763058662415, 1.0312999486923218, -0.4664691984653473, -0.32242345809936523, -0.7649613618850708, 0.4698121249675751, -0.3418303430080414, 0.6496666073799133, -0.057243749499320984, -0.5403974652290344, 0.3297570049762726, 0.08554156124591827, -0.004703621380031109, -0.8533615469932556, 0.44969525933265686, 0.07001873105764389, 0.08848850429058075, -0.036560263484716415, -0.6796647906303406, 0.13970129191875458, 0.14178410172462463, -0.4533945620059967, 0.47830256819725037, 0.49824464321136475, -0.6353157758712769, 0.39941367506980896, -0.30919066071510315, -0.8295914530754089, 0.014484621584415436, -0.12054897099733353, -0.5225405693054199, 0.3423095643520355, 0.25951293110847473, 0.5356021523475647, -0.4519541263580322, 0.26629939675331116, -0.0920790284872055, -0.524695634841919, 0.23836873471736908, -0.11377239972352982, 0.44104883074760437, -0.042812466621398926, 0.017715439200401306, 0.14952033758163452, -0.9635173082351685, -0.12565988302230835, -0.14174886047840118, -0.3752133846282959, -0.20023459196090698, -0.10322979092597961, 0.27748021483421326, 0.10291185975074768, 0.09078349173069, -0.05792687088251114, 0.07705260813236237, -0.4579131603240967, 0.37313106656074524, 0.4310101866722107, 0.2696415185928345, 0.1419478803873062, -0.7665954828262329, 0.5469626188278198, -0.06525043398141861, -0.05167442932724953, -0.31226223707199097, -0.16925466060638428, -0.445429265499115, -0.4894181489944458, 0.19433359801769257, 0.35102832317352295, -0.36833563446998596, 0.12115015089511871, -0.41391369700431824, -0.3858209550380707, -0.7071853280067444, -0.17966105043888092, 0.5345309376716614, 0.888976514339447, 0.6204093098640442, -0.4715890884399414, -0.6846730709075928, -0.7781981825828552, -0.3711015582084656, -0.22132961452007294, -0.1760052591562271, 0.4162605106830597, 0.32494571805000305, -0.2778403162956238, 0.5215905904769897, -0.5053589344024658, -0.3845890164375305, -0.3820265531539917, -0.038078512996435165, 0.5321331024169922, 0.21851219236850739, 0.5539863705635071, -0.040255628526210785, -0.5283312201499939, -0.007882739417254925, -0.7398331761360168, -0.2975503206253052, -0.16701535880565643, 0.06881475448608398, 0.2862298786640167, 0.5398883819580078, -0.4633203148841858, 0.41495010256767273, 0.3315697908401489, 0.23630847036838531, 0.8290214538574219, -0.6352152228355408, 0.15182584524154663, -1.2559490203857422, 0.41110795736312866, -0.07800827920436859, -0.3394398093223572, -0.541938841342926, -0.05361880734562874, 0.2124711275100708, -0.034777648746967316, -0.4176775813102722, 0.7131000757217407, -0.5028098821640015, -0.16574548184871674, -0.0463232696056366, 0.3290180563926697, 0.01710663177073002, 0.30254262685775757, 0.11872103810310364, 0.47877737879753113, 0.5272495746612549, -0.637247622013092, 0.12863273918628693, 0.44739195704460144, -0.4947889447212219, 0.6345282793045044, -0.6316569447517395, -0.2163536101579666, 0.0886893942952156, 0.42324867844581604, -0.6225574612617493, -0.3291094899177551, -0.2302790731191635, -0.15784983336925507, 0.2764136791229248, -0.1916697919368744, -0.5521973371505737, -0.26209694147109985, -0.27830973267555237, 0.15147213637828827, 0.8111987709999084, -0.06490235030651093, 0.35193702578544617, 0.08859970420598984, -0.5035380721092224, -0.11384128779172897, -0.7836875915527344, 0.21040168404579163, -0.022927330806851387, -0.21730397641658783, 0.31646862626075745, -0.27609017491340637, -0.1605624109506607, -0.28524935245513916, -0.12391937524080276, 0.10248506814241409, -0.051526520401239395, 0.20497499406337738, 0.27135396003723145, -0.6712678074836731, -0.08528084307909012, 0.40699610114097595, 0.13815240561962128, 0.15030480921268463, -0.012239541858434677, 0.18356220424175262, 0.11624874919652939, -0.2264394611120224, -0.47622066736221313, 0.3400105834007263, 0.750946581363678, 0.05989069119095802, 0.38239777088165283, 0.12200015783309937, -0.3738265931606293, -0.3542047142982483, -0.5571025609970093, -0.15085874497890472, -0.40323349833488464, 0.254239946603775, -0.21222956478595734, -0.8384941220283508, 0.4924534559249878, -0.25165149569511414, 0.27483826875686646, 0.21988655626773834, 0.9506463408470154, -0.02879238687455654, 0.5251466631889343, 0.1336105316877365, -0.0972268134355545, 0.09985195845365524, -0.03635738790035248, -0.01326453872025013, -0.9350481033325195, 0.018890516832470894, -0.40682336688041687, -0.02877301350235939, -0.7767742276191711, -0.40353119373321533, 0.8213940262794495, -0.24506869912147522, 0.01206315215677023, 0.08766253292560577, -0.12464489042758942, 0.07072321325540543, 0.23425951600074768, 0.08428635448217392, 0.3565709590911865, -0.04479582980275154, -0.16367512941360474, -0.018607571721076965, -0.48635798692703247, -0.40931224822998047, 1.2590217590332031, 0.3106427788734436, 0.5370617508888245, 0.24394088983535767, 0.7061395049095154, 0.2679850161075592, 0.600829005241394, -0.5108206868171692, 0.5252424478530884, -0.34353572130203247, -0.13972263038158417, -0.1482398360967636, -0.41998031735420227, -0.7670968174934387, 0.09162174165248871, -0.2667410969734192, -0.483954519033432, -0.28925368189811707, 0.22556711733341217, -0.3609367609024048, -0.05871790647506714, -0.5789709091186523, 0.7473904490470886, 0.11831921339035034, -0.4745047986507416, -0.17937113344669342, -0.7253841757774353, 0.22573420405387878, -0.2025028020143509, 0.3385729491710663, -0.12967322766780853, 0.10734977573156357, 0.2978721857070923, -0.46643608808517456, 0.5387184619903564, 0.0489334762096405, -0.07771395891904831, 0.12410437315702438, 0.2371443212032318, 0.3257431983947754, 0.3003847301006317, -0.19208118319511414, -0.07979050278663635, 0.037475839257240295, -0.297516405582428, -0.40299904346466064, 0.7801072001457214, -0.4427311420440674, -0.5874568223953247, -0.1567380577325821, -0.7236866354942322, -0.5822872519493103, 0.3633255958557129, 0.27838781476020813, 1.000163197517395, -0.530565083026886, 0.027843190357089043, 0.39553385972976685, -0.43754976987838745, 0.43297064304351807, 0.8493940830230713, -0.009055365808308125, -0.46145641803741455, 0.6714053750038147, -0.17024819552898407, 0.3474312126636505, 0.6884682178497314, 0.4158322215080261, -0.18519936501979828, -0.9605917930603027, -0.629133939743042, 0.4361359179019928, -0.6440596580505371, -0.11568804085254669, -0.7166401743888855, -0.3765389025211334, -0.7338557243347168, -0.570780336856842, 0.020382272079586983, -0.38651758432388306, -0.1607935130596161, 0.0204082690179348, 0.25460267066955566, 0.548549234867096, 0.09967001527547836, 0.1692851036787033, -0.9916234612464905, 0.4162602126598358, 0.04800496622920036, 0.29433736205101013, 0.04786863550543785, -0.7154105305671692, -0.3928217589855194, -0.270073801279068, -0.14822016656398773, -0.6451704502105713, 0.34769949316978455, 0.21202543377876282, 0.4439001977443695, 0.17427320778369904, -0.07717370986938477, 0.6422082781791687, -0.9951667785644531, 0.7587202787399292, 0.2520735561847687, -0.8760012984275818, 0.6786016225814819, -0.5523109436035156, 0.6325234770774841, 0.8760613799095154, 0.283352792263031, -0.4402731955051422, -0.672358512878418, -0.44048959016799927, -0.7711682915687561, 0.5614316463470459, 0.16025884449481964, -0.23977535963058472, -0.03832945600152016, 0.3610362410545349, 0.27230721712112427, 0.30105242133140564, -0.29433730244636536, -0.14768359065055847, 0.1432478427886963, -0.5006753206253052, -0.3711096942424774, -0.3382095396518707, -0.0357477068901062, -0.03131388500332832, 0.4761049151420593, -0.24086232483386993, -0.11509355157613754, 0.32418715953826904, -0.2946138381958008, -0.12102207541465759, 0.3098040223121643, 0.8079906702041626, 0.9950971603393555, -0.5000081062316895, 0.029409147799015045, 0.2803962230682373, -0.600122332572937, -0.04559522122144699, 0.09711126238107681, -0.16795489192008972, 0.34196069836616516, 0.8725638389587402, 0.6796624660491943, 0.4271189272403717, -0.9978512525558472, 0.6020496487617493, -0.16528929769992828, -0.15962523221969604, -0.18212313950061798, 0.11426569521427155, -0.029263408854603767, -0.13088667392730713, -0.1326381415128708, -0.29644525051116943, 0.4480656087398529, -0.6742021441459656, 0.27551743388175964, -0.14107578992843628, -0.3390662968158722, -0.39829879999160767, 0.5638322830200195, 0.08224612474441528, -0.2061580866575241, 0.25020572543144226, 0.17897158861160278, 0.10109326243400574, 0.26348602771759033, 0.7054606080055237, 0.8636505007743835, -0.2730630040168762, 0.059646811336278915, 0.6621124148368835, 0.029161619022488594, -0.18175823986530304, 0.2939121425151825, -0.004546926822513342, -0.13671889901161194, -0.3711470663547516, -0.592018723487854, -0.6874602437019348, 0.20581284165382385, -0.8636960983276367, 0.417591392993927, -0.6090601682662964, 0.08794243633747101, 0.14449359476566315, -0.0864698514342308, -0.4990459978580475, 0.3297134339809418, -0.09899156540632248, 0.9911404848098755, -0.6053041815757751, 0.6880700588226318, 0.7870849370956421, -0.20709139108657837, -0.683814525604248, 0.12832900881767273, -0.096138134598732, -0.5673863887786865, -0.07382690161466599, 0.0009269607835449278, 0.13833415508270264, -0.28515365719795227, -0.0799383744597435, -0.19452591240406036, 1.0033625364303589, 0.1975461095571518, -0.9302685260772705, -0.3235298693180084, 0.33190029859542847, 0.9092604517936707, -0.4684559106826782, 0.2884041368961334, 0.5741795897483826, 0.06453579664230347, -0.0680944174528122, -1.181045413017273, 0.31809714436531067, 0.03796253353357315, -0.07988053560256958, -0.029507847502827644, -0.5784545540809631, 0.5334757566452026, -0.28162768483161926, 0.04939689487218857, 0.2904190123081207, 0.4139581322669983, 0.578078031539917, 0.62613445520401, 0.08102244138717651, 0.1908911168575287, 0.7083051800727844, 0.20061689615249634, 1.0423493385314941, -0.27384883165359497, 0.010789155028760433, 1.3009488582611084, -0.7435621619224548, 0.716386079788208, 0.3266146183013916, -0.09695019572973251, 0.5770266056060791, 0.12326420843601227, 0.18989332020282745, 0.5827344655990601, 0.530173122882843, -0.21170362830162048, 0.147516131401062, 0.032894570380449295, -0.5152184963226318, 0.0776604488492012, 0.45502087473869324, -0.5904891490936279, -0.13196103274822235, -0.1548563688993454, 0.12046191096305847, 0.2449728548526764, -0.32790568470954895, 1.0411698818206787, 0.441325843334198, -0.8451666235923767, 0.751420259475708, -0.13559463620185852, -0.024883998557925224, -0.7491165995597839, -0.019017348065972328, -0.4312021732330322, 0.29174017906188965, -0.08640065044164658, -0.5485888719558716, 0.09703359752893448, 0.10138455033302307, -0.3332885801792145, -0.10499701648950577, 0.2801496684551239, -0.4350501000881195, -0.5170372724533081, -0.015299919992685318, 0.30785518884658813, 0.1483220010995865, 0.31096595525741577, -0.2596105933189392, 0.11129496991634369, -0.12816967070102692, 0.09434938430786133, 0.4704418182373047, 0.8295350074768066, -0.12247804552316666, 0.42300301790237427, 0.5027757287025452, 0.6621054410934448, -0.31579962372779846, 0.5943934321403503, 0.7662988305091858, -0.7135944366455078, -0.593494176864624, -0.6431080102920532, 0.2786773443222046, -0.006061534862965345, -0.5094633102416992, 0.5533702373504639, 0.8980618715286255, 0.6081162095069885, -0.3031964898109436, 0.9507443308830261, 0.30258846282958984, 0.8627803921699524, -0.7698708772659302, 0.7445583939552307, -0.609636664390564, 0.11663582921028137, -0.6398013234138489, -0.6756771206855774, -0.28415924310684204, 0.21300698816776276, -0.03312792256474495, -0.2777012586593628, 0.9295002818107605, 0.6173700094223022, -0.07390502840280533, -0.10248059034347534, 0.4373687207698822, 0.396973580121994, 0.422241747379303, 0.9344369173049927, 0.5797873139381409, -0.29238492250442505, 0.20078425109386444, -0.005148482043296099, -0.29768654704093933, -0.5062376260757446, -1.0151340961456299, -1.2119836807250977, -0.46023112535476685, -0.4224182665348053, -0.4722445607185364, 0.29705286026000977, 0.8674671649932861, 0.472597599029541, -1.0534768104553223, -0.33387765288352966, 0.20439453423023224, -0.17827585339546204, -0.24190428853034973, -0.1278761923313141, 0.7947576642036438, -0.053120873868465424, -0.31009551882743835, 0.38945698738098145, 0.619617223739624, 0.06777825206518173, 0.056803878396749496, -0.01916561648249626, 0.11858868598937988, 0.11461598426103592, 0.6352958083152771, 0.006264573894441128, -0.5922605395317078, -0.1379377841949463, -0.16701734066009521, -0.3021788001060486, 0.12011905014514923, 1.2039179801940918, -0.5054246783256531, 0.3424150347709656, 0.2667171061038971, 0.5257007479667664, 0.4701063632965088, -0.23002202808856964, 0.5080319046974182, -0.6503255367279053, 0.05601958930492401, 0.4101634621620178, 0.38591915369033813, 0.39545825123786926, -0.07723464071750641, 0.2922753393650055, 0.14808501303195953, -0.4045315384864807, -0.9527091979980469, 0.11979955434799194, -1.1929502487182617, -0.08624937385320663, 1.1578395366668701, -0.24082377552986145, -0.2743590176105499, -0.04785580933094025, -0.26361945271492004, 0.22161880135536194, -0.19731950759887695, 0.791570246219635, 0.2759104371070862, -0.04243682324886322, 0.032310642302036285, -0.5003125667572021, 0.6510525941848755, 0.129516139626503, -0.985661506652832, 0.18815305829048157, 0.7251256108283997, 0.4118020832538605, -0.28091251850128174, 1.0150514841079712, -0.29610294103622437, 0.6432580351829529, -0.3168601393699646, -0.1147301197052002, 0.11939241737127304, -0.20029282569885254, -0.13983556628227234, 0.042816124856472015, 0.11734966188669205, 0.3139498829841614 ]
http://arxiv.org/abs/2403.05700v1
http://arxiv.org/pdf/2403.05700v1
DADIT: A Dataset for Demographic Classification of Italian Twitter Users and a Comparison of Prediction Methods
2024-03-08T22:18:13
2024-03-08T22:18:13
Lorenzo Lupo, Paul Bose, Mahyar Habibi, Dirk Hovy, Carlo Schwarz
cs.CL
cs.CL
Social scientists increasingly use demographically stratified social media data to study the attitudes, beliefs, and behavior of the general public. To facilitate such analyses, we construct, validate, and release publicly the representative DADIT dataset of 30M tweets of 20k Italian Twitter users, along with their bios and profile pictures. We enrich the user data with high-quality labels for gender, age, and location. DADIT enables us to train and compare the performance of various state-of-the-art models for the prediction of the gender and age of social media users. In particular, we investigate if tweets contain valuable information for the task, since popular classifiers like M3 don't leverage them. Our best XLM-based classifier improves upon the commonly used competitor M3 by up to 53% F1. Especially for age prediction, classifiers profit from including tweets as features. We also confirm these findings on a German test set.
[ -0.40075698494911194, -0.17224034667015076, 0.1980735808610916, 0.13314808905124664, -0.336635947227478, 0.4331081509590149, -0.0968010425567627, -0.4157046675682068, 0.11637640744447708, 0.10323139280080795, -0.6945008635520935, -0.7354162335395813, -0.7452009320259094, -0.0729968249797821, -0.41040128469467163, 0.5450116395950317, 0.29952195286750793, 0.37967509031295776, -0.10548870265483856, -0.0150262750685215, -0.21587137877941132, -0.23870053887367249, -1.0807571411132812, -0.14454945921897888, 0.5864161849021912, 0.565024197101593, 0.2915786802768707, 0.18296599388122559, 0.38014188408851624, 0.2646052837371826, -0.19001051783561707, 0.23441429436206818, -0.7001073956489563, -0.09773949533700943, -0.33129411935806274, -0.48599010705947876, -0.2727174162864685, 0.16850024461746216, 0.26260894536972046, 0.4125228822231293, 0.04753514379262924, 0.4535406231880188, -0.15032066404819489, 0.6026028990745544, -0.46936577558517456, 0.2399986833333969, -0.4707367718219757, 0.05938352271914482, -0.08775565028190613, -0.440498411655426, -0.23455941677093506, -0.8155823945999146, -0.16174563765525818, 0.06225581467151642, 0.5724388957023621, 0.007691037375479937, 0.5296340584754944, 0.015590481460094452, -0.6322615146636963, 0.03638269752264023, -0.8493912816047668, 0.5889295935630798, -0.17820589244365692, 0.4350776970386505, 0.4840840697288513, 0.6544246673583984, -0.1578541249036789, -0.18985117971897125, -0.3901931345462799, -0.23684333264827728, 0.017635809257626534, 0.20237849652767181, -0.03519846871495247, -0.36565279960632324, 0.1561889797449112, 0.05755230784416199, -0.4480057954788208, 0.035784561187028885, -0.9106232523918152, 0.13918536901474, 0.9574095010757446, -0.161875918507576, 0.5542436242103577, 0.0086073512211442, -0.49591484665870667, -0.17856810986995697, -0.8286159038543701, -0.14091360569000244, 0.6182630658149719, 0.2954680323600769, -0.23442065715789795, 0.7300540208816528, -0.16004511713981628, 0.15787017345428467, 0.15759827196598053, 0.037746611982584, 0.3748668432235718, 0.0934324637055397, -0.0017953773494809866, 0.22649583220481873, 0.9263112545013428, 0.7662849426269531, 0.8202069997787476, -0.20015256106853485, -0.0841318890452385, -0.09889478236436844, 0.16056939959526062, -0.9728103876113892, 0.28765401244163513, 0.21623185276985168, -0.2114655077457428, -0.39218753576278687, 0.49754902720451355, -0.650993824005127, -0.5056908130645752, -0.10683014988899231, 0.048200108110904694, -0.5573936700820923, -0.24391719698905945, -0.20515020191669464, -0.46173733472824097, -0.28188061714172363, 0.7018512487411499, -0.7257037162780762, -0.0662715956568718, 0.708244264125824, 0.7957372069358826, 0.04457380995154381, -0.012114564888179302, -0.08404360711574554, 0.22006626427173615, -0.5940811038017273, 0.8342720866203308, -0.44306084513664246, -0.6002569794654846, 0.06800363212823868, -0.19209152460098267, -0.24723561108112335, -0.6581447124481201, 0.48360127210617065, -0.4326995313167572, 0.3915988802909851, -0.1884239912033081, -0.41380736231803894, -0.023338885977864265, -0.1273098886013031, -0.5549952387809753, 0.9573822021484375, 0.25728198885917664, -0.8886422514915466, 0.9793860912322998, -0.9169596433639526, -0.21395893394947052, 0.2520397901535034, -0.07439237833023071, -0.2001180499792099, 0.21322712302207947, 0.07007282227277756, 0.7456932067871094, -0.3931175172328949, 0.31833356618881226, -0.5368294715881348, -0.48395389318466187, 0.1873065084218979, -0.13931095600128174, 1.1940639019012451, 0.5257208347320557, -0.2359834462404251, -0.09369568526744843, -0.5205021500587463, -0.383293092250824, 0.18909195065498352, 0.044973112642765045, -0.23055291175842285, 0.07409980893135071, 0.12146136909723282, 0.19898168742656708, 0.008040942251682281, -0.9406168460845947, 0.07663758844137192, 0.11922655999660492, 0.7797743082046509, 0.5697625875473022, -0.006927119567990303, 0.22075560688972473, -0.5406871438026428, 0.5517404079437256, 0.15485818684101105, 0.15536075830459595, 0.37924179434776306, -0.3664882779121399, -0.22799377143383026, -0.32370176911354065, 0.3905448317527771, 0.6091695427894592, -0.6278736591339111, 0.6522032618522644, -0.656445324420929, -0.9036115407943726, -0.03505225107073784, 0.06626687943935394, -0.058079637587070465, 0.2207854986190796, -0.035890884697437286, 0.131389781832695, -0.49592551589012146, -0.9986274242401123, 0.08730921149253845, -0.7672346234321594, -0.3186008036136627, 0.3775321841239929, 0.6907566785812378, -0.22213521599769592, 0.7964827418327332, -0.3214077949523926, -0.09999106824398041, -0.35724809765815735, 0.4068925380706787, -0.24060223996639252, 0.5811100006103516, 0.8358839750289917, -1.2293667793273926, -0.39464113116264343, -0.004836388397961855, -0.698913037776947, -0.04136314615607262, 0.42604324221611023, -0.21897371113300323, -0.10019301623106003, 0.24163435399532318, -0.44335874915122986, 0.33417510986328125, 0.2958323657512665, -0.3878118097782135, 0.024004913866519928, 0.3371308445930481, 0.6264446973800659, -1.349402904510498, 0.03630321845412254, 0.4498329758644104, -0.4102820158004761, -0.43773749470710754, -0.2996119558811188, 0.06634760648012161, -0.13037841022014618, -0.7509705424308777, 0.5780358910560608, 0.02775428257882595, 0.0767773985862732, 0.14574335515499115, -0.35331273078918457, -0.5891537070274353, -0.1517837941646576, -0.31486982107162476, 1.3309218883514404, 0.18801340460777283, -0.05180077254772186, 0.0842721238732338, 0.17370302975177765, -0.3657224178314209, 0.5602211356163025, -0.45695531368255615, 0.2707439363002777, -0.40330925583839417, 0.2659088671207428, -1.2747225761413574, -0.38011470437049866, 0.2854198217391968, -1.0719313621520996, 0.06261222064495087, -0.20294934511184692, -0.6913440227508545, -0.5158587098121643, -0.472916841506958, 0.11241110414266586, 0.5188320279121399, -0.1754329651594162, 0.7738800644874573, 0.4621060788631439, -0.2751081883907318, -0.3610503673553467, -0.5602497458457947, 0.05699140205979347, -0.6224096417427063, -0.6138355731964111, 0.1962885558605194, 0.05603509396314621, -0.21258464455604553, 0.1364474594593048, -0.0021065769251435995, -0.36903050541877747, 0.23015464842319489, 0.40972840785980225, 0.22392331063747406, -0.07525278627872467, 0.19774465262889862, 0.02689962461590767, -0.05171120911836624, -0.21651174128055573, -0.007075222674757242, 0.757964551448822, -0.0626884251832962, 0.15826423466205597, -0.5212916135787964, 0.263966828584671, 0.5402851104736328, 0.15714885294437408, 1.028991937637329, 0.7393855452537537, -0.5344420671463013, -0.21003350615501404, -0.4951322078704834, -0.15687590837478638, -0.3991377055644989, -0.06945201754570007, -0.2955673635005951, -0.9561543464660645, 0.6054814457893372, 0.03392142429947853, 0.07549214363098145, 0.616132915019989, 0.3169407546520233, -0.6157400608062744, 1.2305710315704346, 0.6346297860145569, -0.055537156760692596, 0.6672847270965576, -0.3916850984096527, 0.030841583386063576, -0.2282831072807312, -0.04186929017305374, -0.7600674629211426, -0.38538888096809387, -0.7967161536216736, -0.035080716013908386, 0.12483298778533936, -0.1195899248123169, -0.45370182394981384, 0.4609098434448242, -0.19855175912380219, 0.44131413102149963, 0.66064453125, 0.2814667522907257, -0.02675020694732666, 0.23243209719657898, 0.3451857268810272, -0.08666954189538956, -0.55113285779953, -0.7248713970184326, 0.8809568285942078, 0.042911455035209656, 0.6161044836044312, 0.1780405193567276, 0.6750714182853699, 0.9263720512390137, 0.8702428936958313, -0.5740095973014832, 0.647376298904419, -0.7613770365715027, -1.110504388809204, -0.13385117053985596, -0.8162923455238342, -0.6118728518486023, -0.2162148654460907, -0.36243027448654175, -0.9556171298027039, 0.3523704409599304, 0.11474625766277313, -0.1632102131843567, 0.4076053500175476, -1.0350912809371948, 0.4645596742630005, -0.17381983995437622, -0.3166640102863312, -0.1858368068933487, -0.371493399143219, 0.2541602551937103, -0.24396111071109772, -0.015796596184372902, -0.6868103742599487, -0.005744344554841518, 1.046939730644226, -0.2022048681974411, 0.8897833228111267, -0.3483932614326477, 0.4023016691207886, 0.025588393211364746, -0.21344207227230072, -0.3499637544155121, -0.06310223042964935, -0.23277245461940765, 0.33078238368034363, 0.13133041560649872, -0.36375322937965393, -0.35231512784957886, 0.552855372428894, -0.8957533240318298, -0.6573963165283203, -0.4498153030872345, -0.2055099904537201, -0.26150500774383545, 0.1274769902229309, 0.3265286087989807, 0.19090425968170166, -0.22847484052181244, 0.7192833423614502, 0.15743586421012878, 0.0565778911113739, 0.12902000546455383, -0.057843223214149475, 0.029545245692133904, -0.42080503702163696, 0.5195538997650146, 0.5239124894142151, 0.014918018132448196, 0.25450363755226135, 0.3090437054634094, -0.3247353136539459, -0.2952599823474884, -0.4728710651397705, 0.20330318808555603, -0.5333217978477478, -0.10587820410728455, -0.25806742906570435, -0.3452381193637848, -0.3870295286178589, -0.13466300070285797, -0.21345199644565582, -0.4518912434577942, 0.05427880212664604, -0.31094199419021606, 0.1850680708885193, 0.6274542212486267, 0.04710055887699127, 0.6961178183555603, -0.38573500514030457, 0.12518250942230225, 0.18669869005680084, 0.18636098504066467, -0.3415725529193878, 0.01745002530515194, -0.002542148344218731, 0.05481129512190819, -0.1572512984275818, -0.899616003036499, 0.17153958976268768, 0.2379879504442215, 0.316996306180954, 0.6346125602722168, 0.10888614505529404, 0.5017752647399902, -0.23320923745632172, 0.4841996729373932, 0.29012447595596313, -0.5189650058746338, 0.6318261027336121, -0.6829436421394348, -0.3065212368965149, 0.9446467161178589, 0.7073569297790527, -0.49139901995658875, -0.18040530383586884, -0.7015641927719116, -0.6146443486213684, 0.7346269488334656, 0.38983088731765747, 0.343179851770401, 0.14620591700077057, 0.4371795058250427, 0.2495870143175125, 0.5382711291313171, -0.10326588153839111, -0.13086208701133728, 0.020031645894050598, -0.6748661994934082, -0.24835383892059326, -0.3654022812843323, -0.16131645441055298, -0.3001983165740967, 0.4334896206855774, 0.10568227618932724, 0.6317634582519531, -0.12288662046194077, 0.1526240110397339, -0.30202338099479675, 0.06969106942415237, 0.40443432331085205, 1.3297908306121826, -0.8706313967704773, 0.16123928129673004, 0.10450639575719833, -0.44056737422943115, 0.44118446111679077, 0.1246316134929657, -0.5947579741477966, -0.08403471857309341, 0.3062889873981476, 0.5436358451843262, -0.19468826055526733, -0.5726166367530823, 0.4215485155582428, -0.45552337169647217, -0.4664551615715027, -0.7382607460021973, 0.43110981583595276, 0.2819564640522003, 0.10628624260425568, 0.7274827361106873, 0.11705164611339569, 0.0796053484082222, -0.7853999137878418, 0.1344861537218094, 0.10916215181350708, -0.5641331672668457, -0.44247329235076904, 0.9007145166397095, 0.1720614731311798, -0.584969699382782, 0.2025749385356903, 0.009291206486523151, -0.5779852867126465, 0.7449089884757996, 0.0659683421254158, 0.9372129440307617, -0.3495302200317383, 0.6138849854469299, 0.39369848370552063, 0.1360761672258377, -0.03235512971878052, 0.2278444766998291, 0.012273432686924934, -1.145558476448059, -0.013678820803761482, -0.2875155806541443, -0.3648182451725006, -0.036968570202589035, -0.5360947251319885, 0.5657753944396973, -0.6855844259262085, -0.7623205780982971, 0.5056287050247192, 0.047557707875967026, -0.779037594795227, 0.4721604883670807, 0.050836533308029175, 1.0309107303619385, -1.1908591985702515, 0.5510322451591492, 1.0602507591247559, -0.3641955852508545, -0.22358639538288116, 0.28156495094299316, 0.16876593232154846, -0.7002854943275452, 0.9669578671455383, 0.45722055435180664, -0.34165918827056885, -0.08137645572423935, -0.8578452467918396, -0.28270530700683594, 0.9862635135650635, 0.4144872725009918, -0.3080986738204956, 0.17622169852256775, 0.00563479820266366, 0.46808332204818726, -0.6917678713798523, 0.35808175802230835, 0.3158371150493622, 0.3287700414657593, 0.46594300866127014, -0.43441319465637207, -0.3407164216041565, -0.41883066296577454, 0.10760782659053802, -0.009873208589851856, -0.8708541393280029, 0.4989718794822693, -0.0654243603348732, -0.542575478553772, -0.3604593575000763, 0.4765107333660126, 0.12755455076694489, 0.7010828852653503, 1.0987123250961304, 0.1492784470319748, 0.48978954553604126, -0.48744744062423706, 0.8645044565200806, -0.3598599433898926, 0.3648347854614258, 0.6523717641830444, -0.15795105695724487, 0.8362205624580383, 0.17241822183132172, -0.29605409502983093, 0.09974919259548187, 1.0075956583023071, 0.07243555039167404, 0.3400314152240753, -0.23004724085330963, -0.2358621507883072, -0.14743107557296753, -0.3595914840698242, -0.18828146159648895, 0.27477529644966125, 0.2802966237068176, -0.2468620091676712, -0.07540547847747803, 0.07745664566755295, 0.5231651067733765, -0.10008486360311508, -0.12405087053775787, 0.7846938967704773, -0.0727461650967598, -0.21616016328334808, 0.08365348726511002, -0.026005705818533897, 0.4418153166770935, -0.2524765133857727, 0.2004317194223404, -0.330305814743042, 0.19680887460708618, -0.06928333640098572, -0.8002548813819885, 0.29639312624931335, 0.1535636931657791, 0.12143120914697647, -0.1271969974040985, 0.7886186838150024, -0.23423954844474792, -0.8929745554924011, 0.38720840215682983, 0.7546883225440979, -0.03831388056278229, 0.07632344961166382, -0.6123995780944824, -0.44181352853775024, 0.053571417927742004, -0.1307683140039444, -0.1679937243461609, 0.17604561150074005, -0.30436834692955017, 1.0297273397445679, 0.5372799634933472, 0.35745736956596375, -0.03596866503357887, 0.09445793926715851, 0.7035925984382629, -0.6439218521118164, -0.32055214047431946, -0.7712621688842773, 0.33400198817253113, -0.4866524338722229, -0.5213972926139832, 0.5240522027015686, 0.5558465123176575, 0.9676022529602051, 0.016787439584732056, 0.8433380722999573, -0.3772246539592743, 0.7805455327033997, -0.1383984088897705, 0.5997710824012756, -0.8705459833145142, -0.06693276017904282, 0.24648016691207886, -0.8173523545265198, -0.31662434339523315, 0.4607148766517639, -0.7113615870475769, 0.49848276376724243, 0.35100239515304565, 0.5670258402824402, -0.28125137090682983, 0.1705048829317093, 0.14642058312892914, 0.024264145642518997, 0.3443634808063507, 0.059320118278265, 0.8815170526504517, -0.05938158556818962, 0.054865188896656036, -0.5330802798271179, -0.19767141342163086, -0.5222840309143066, -0.40602976083755493, -1.2423018217086792, -0.5811572670936584, -0.15505284070968628, -0.08569425344467163, 0.5833617448806763, 1.2684228420257568, 1.1057887077331543, -1.0151304006576538, -0.22910518944263458, 0.4142903983592987, -0.06627636402845383, -0.09946038573980331, -0.21378353238105774, 0.29464828968048096, 0.283131867647171, -0.9865093231201172, -0.14785136282444, -0.08504538983106613, 0.15303552150726318, -0.05558576434850693, 0.2353595793247223, -0.008711435832083225, -0.024375000968575478, 0.44178810715675354, -0.28330668807029724, -0.16950227320194244, -0.4658690392971039, -0.0927203968167305, -0.09015069901943207, 0.3279575705528259, 0.5878598690032959, 0.0074821170419454575, -0.005430048331618309, 0.8810397386550903, 0.30158543586730957, 0.5717717409133911, 0.6210924983024597, 0.5835219025611877, -0.4715300500392914, 0.12093253433704376, 0.2916402220726013, 0.43555331230163574, 0.44561856985092163, -0.4320882558822632, 0.9559892416000366, 0.2681373059749603, -0.11875169724225998, -0.6532889604568481, -0.154681995511055, -0.9227345585823059, -0.21482975780963898, 0.8561698794364929, 0.03503233939409256, -0.3078432083129883, 0.10190051048994064, -0.2553882896900177, 0.18232455849647522, -0.957794725894928, 1.0241527557373047, 0.7788856029510498, 0.24552428722381592, -0.4990610182285309, -0.9416862726211548, 0.2254084348678589, -0.1365547925233841, -0.7571415901184082, -0.34765905141830444, 0.2505098581314087, 0.424044668674469, 0.15389661490917206, 0.40906912088394165, -0.025576187297701836, 0.15329237282276154, -0.30710309743881226, -0.03726863116025925, -0.14509317278862, -0.34522929787635803, 0.2442639321088791, 0.38238999247550964, -0.14637799561023712, -0.14762918651103973 ]
http://arxiv.org/abs/2403.05696v1
http://arxiv.org/pdf/2403.05696v1
SeeGULL Multilingual: a Dataset of Geo-Culturally Situated Stereotypes
2024-03-08T22:09:58
2024-03-08T22:09:58
Mukul Bhutani, Kevin Robinson, Vinodkumar Prabhakaran, Shachi Dave, Sunipa Dev
cs.CL
cs.CL, cs.CV
While generative multilingual models are rapidly being deployed, their safety and fairness evaluations are largely limited to resources collected in English. This is especially problematic for evaluations targeting inherently socio-cultural phenomena such as stereotyping, where it is important to build multi-lingual resources that reflect the stereotypes prevalent in respective language communities. However, gathering these resources, at scale, in varied languages and regions pose a significant challenge as it requires broad socio-cultural knowledge and can also be prohibitively expensive. To overcome this critical gap, we employ a recently introduced approach that couples LLM generations for scale with culturally situated validations for reliability, and build SeeGULL Multilingual, a global-scale multilingual dataset of social stereotypes, containing over 25K stereotypes, spanning 20 languages, with human annotations across 23 regions, and demonstrate its utility in identifying gaps in model evaluations. Content warning: Stereotypes shared in this paper can be offensive.
[ -0.35916668176651, -0.2924489676952362, 0.17553101480007172, 0.6345843076705933, -0.037173666059970856, 0.20379933714866638, -0.21511614322662354, -0.8109121322631836, 0.16127312183380127, 0.31084367632865906, -0.42006027698516846, -0.5613029599189758, -0.6207848787307739, 0.18574859201908112, 0.06801695376634598, 1.0645371675491333, 0.035153839737176895, 0.25377604365348816, -0.29532673954963684, -0.5271241664886475, -0.18885722756385803, -0.7686148881912231, -0.4719567596912384, -0.17084938287734985, 0.4956175982952118, 0.48809272050857544, 0.860862135887146, 0.3636665940284729, 0.4763771593570709, 0.20489512383937836, -0.45711424946784973, 0.3717746138572693, -0.7078712582588196, 0.08527706563472748, -0.07545240223407745, -0.19522960484027863, -0.34959885478019714, 0.11855486780405045, 0.39975705742836, 0.9511083364486694, -0.05949711054563522, 0.5103567838668823, 0.23502814769744873, 0.4477700889110565, -0.5436253547668457, 0.4329874515533447, -0.4213184714317322, 0.22166460752487183, -0.2679917812347412, 0.28517085313796997, -0.15464600920677185, -0.6561663746833801, 0.02083415538072586, -0.40512609481811523, 0.1979379802942276, 0.23565040528774261, 0.6731414198875427, -0.03209609165787697, -0.6961620450019836, -0.21058526635169983, -0.5287761688232422, 0.7524393200874329, -0.5912564396858215, 0.5161463022232056, 0.5688599348068237, 0.3665752708911896, 0.09638711810112, -0.48705121874809265, -0.1995144635438919, -0.2519204020500183, -0.27343565225601196, 0.015099331736564636, 0.21343162655830383, -0.35342586040496826, 0.24507765471935272, 0.17680324614048004, -0.6504990458488464, 0.16591832041740417, -0.5327455997467041, -0.3596595525741577, 0.7070758938789368, 0.05435839295387268, 0.307683527469635, -0.5524670481681824, -0.36687198281288147, 0.10985874384641647, -0.9599186778068542, 0.06197809800505638, 0.5949594974517822, 0.4504288136959076, -0.5636310577392578, 0.332770973443985, -0.03888479247689247, 0.5321240425109863, -0.21425709128379822, -0.16478531062602997, 0.5979534387588501, -0.4357333779335022, 0.1595020592212677, 0.06832121312618256, 0.6760485172271729, 0.6164361238479614, 0.6003270745277405, 0.08553770184516907, -0.08534210920333862, -0.009698096662759781, -0.106942318379879, -0.5574440956115723, -0.07241612672805786, 0.09816626459360123, -0.4554315507411957, -0.4003760516643524, -0.14327065646648407, -1.0938466787338257, -0.6324691772460938, 0.09156236797571182, -0.38145384192466736, -0.3225485384464264, -0.38567033410072327, -0.06416982412338257, 0.1169668436050415, 0.18875934183597565, 0.04117896035313606, -0.7645233869552612, -0.2549994885921478, 0.44948726892471313, 0.8324912190437317, 0.4904594421386719, -0.5049024820327759, -0.28579965233802795, 0.10834775865077972, -0.3821798861026764, 0.6610413789749146, -0.6411985158920288, -0.5008290410041809, 0.3989182114601135, 0.11980468779802322, 0.23570187389850616, -0.5357121229171753, 0.535456657409668, -0.5267353057861328, 0.07172336429357529, -0.5014677047729492, 0.15875963866710663, -0.13454823195934296, 0.5018829703330994, -0.8162891268730164, 1.0639207363128662, 0.09480278193950653, -0.8921903967857361, 0.7734534740447998, -0.3209734559059143, -0.6355118751525879, 0.18953566253185272, -0.1441342830657959, -0.08084704726934433, 0.02088119462132454, 0.3863310217857361, 0.383474200963974, -0.3816041052341461, 0.5202201008796692, -0.683095395565033, -0.1378624588251114, 0.05541394278407097, -0.4684484601020813, 1.0128899812698364, 0.5890240669250488, -0.16199690103530884, -0.08863438665866852, -0.8768411874771118, -0.265436053276062, 0.14558012783527374, -0.36150914430618286, -0.5901154279708862, 0.12985338270664215, 0.33040639758110046, 0.4286056160926819, 0.5289578437805176, -0.4132104516029358, -0.20311754941940308, -0.07105420529842377, 0.2106940597295761, 0.710013747215271, -0.37223371863365173, 0.10196485370397568, -0.22792021930217743, 0.7277200222015381, 0.11950866132974625, 0.3646145164966583, 0.27373620867729187, -0.3757898509502411, -0.541448175907135, -0.25271597504615784, 0.11928169429302216, 0.5696143507957458, -0.942675769329071, 0.1961737722158432, -0.3833160996437073, -0.49062347412109375, -0.5218797922134399, 0.1875421553850174, 0.5816243886947632, 0.34032711386680603, -0.10075495392084122, 0.012219585478305817, -0.6420202255249023, -0.9837605953216553, -0.165398970246315, -0.4947997033596039, -0.02456580102443695, 0.3974694609642029, 0.27308574318885803, -0.017875412479043007, 0.6087231040000916, -0.2888530194759369, -0.08716970682144165, -0.18977008759975433, -0.10866399854421616, 0.18359306454658508, 0.1305588334798813, 0.7872571349143982, -0.8668080568313599, -0.4254577159881592, 0.15197737514972687, -1.3141565322875977, -0.13549195230007172, 0.30618444085121155, 0.013142965734004974, 0.0979451835155487, 0.48996666073799133, -0.2543432414531708, -0.0724901631474495, 0.8809720873832703, -0.5244025588035583, 0.5738611221313477, -0.24611099064350128, 0.44805264472961426, -0.8762535452842712, -0.2369329184293747, 0.26038867235183716, -0.23925454914569855, -0.3228210210800171, 0.2856203615665436, -0.008102938532829285, -0.3629857897758484, -0.5823590755462646, 0.5886056423187256, -0.5258972644805908, 0.061793357133865356, 0.5115966200828552, 0.372187077999115, -0.048677220940589905, 0.12113428860902786, 0.03117329254746437, 0.7668563723564148, 0.47614774107933044, -0.3204311728477478, 0.27268531918525696, 0.184378519654274, -0.6058435440063477, 0.8794158101081848, -0.26298636198043823, 0.023562392219901085, -0.2725552022457123, -0.03517597168684006, -0.7733939290046692, -0.4249603748321533, 0.007605407387018204, -0.06472757458686829, -0.02082234062254429, -0.24349582195281982, -0.5507774353027344, -0.3131938874721527, -0.3995782136917114, 0.6891888380050659, 0.4260498285293579, -0.8569215536117554, 0.2982766032218933, 0.6564749479293823, -0.3832513391971588, -0.7967488169670105, -0.6262736320495605, 0.07522259652614594, -0.6080592274665833, -1.0164536237716675, -0.3229960799217224, 0.09850502759218216, -0.6676491498947144, -0.10173021256923676, 0.06780042499303818, 0.06863366067409515, 0.04218766838312149, -0.014274190180003643, 0.18835076689720154, -0.1389188915491104, 0.014728314243257046, -0.1559215784072876, 0.07839203625917435, 0.02611427754163742, -0.2898411750793457, 0.30404016375541687, -0.28500762581825256, -0.3015420734882355, 0.6275154948234558, 0.4649212956428528, 0.6818793416023254, -0.2863377630710602, 0.8636428713798523, 0.550463855266571, -0.37659385800361633, -0.10505878925323486, -0.5876604914665222, 0.35003402829170227, -0.4267761707305908, 0.5193477272987366, -0.3432003855705261, -1.0784523487091064, 0.806111752986908, 0.053347259759902954, 0.10075221955776215, 0.20175257325172424, 0.4618193805217743, -0.04126463457942009, 0.7114368677139282, 0.6027206778526306, -0.14617714285850525, 0.06464958935976028, 0.2797512114048004, 0.35752570629119873, -0.4728015065193176, -0.5178158283233643, -0.46959176659584045, -0.1907372623682022, -0.7885010242462158, -0.5847588777542114, 0.6899080276489258, 0.058738816529512405, -0.3426321744918823, -0.061691123992204666, -0.11266687512397766, 0.45135271549224854, 0.34170764684677124, -0.06930626928806305, 0.41432446241378784, 0.2556447684764862, -0.27028390765190125, -0.3168739080429077, -0.8088597655296326, -0.7960346937179565, 1.0208526849746704, 0.18070490658283234, 0.7646325826644897, 0.44254645705223083, 0.48234623670578003, 0.4426797032356262, 0.5206029415130615, -0.39625290036201477, 0.5602426528930664, -0.41296085715293884, -0.6885080933570862, -0.11993362009525299, -0.43444597721099854, -0.7795268893241882, 0.424054890871048, -0.1422104686498642, -0.7829481363296509, 0.2048758864402771, 0.26399773359298706, -0.12616902589797974, 0.4068911671638489, -0.6722761988639832, 0.7128252983093262, -0.3161914348602295, -0.37656235694885254, -0.057450443506240845, -0.6118807792663574, 0.6696969270706177, -0.31547853350639343, 0.9721741676330566, -0.28659576177597046, 0.31100910902023315, 0.5098721981048584, -0.41186466813087463, 0.9570667147636414, -0.06263437122106552, -0.3561462461948395, 0.25300583243370056, 0.15197867155075073, 0.38849523663520813, 0.06418758630752563, -0.3417194187641144, 0.6711437106132507, 0.008369224146008492, -0.5413443446159363, -0.22867627441883087, 0.7370619773864746, -0.8518932461738586, -0.4041561484336853, -0.3585865795612335, -0.5620675086975098, -0.4431600868701935, -0.14301015436649323, 0.2659890353679657, 0.3343764543533325, -0.5537909865379333, -0.15487748384475708, 0.46464258432388306, -0.6046964526176453, 0.16911634802818298, 0.2694588303565979, -0.6173439621925354, -0.30511802434921265, 0.9171341061592102, 0.25353360176086426, 0.2104310840368271, -0.07557037472724915, 0.07184769213199615, -0.3476867973804474, -0.22009097039699554, -0.36318159103393555, 0.2294185757637024, -0.9436925649642944, 0.007646410726010799, -0.3242379426956177, -0.17183995246887207, -0.5704517960548401, -0.471716970205307, -0.12680684030056, -0.09238032251596451, 0.27382543683052063, -0.441860169172287, 0.3560808598995209, 0.8433215022087097, -0.4708435535430908, 0.10042177140712738, -0.5876873731613159, 0.20710816979408264, 0.13224530220031738, 0.4345627427101135, -0.013157542794942856, -0.2868940830230713, -0.3171612024307251, -0.19838383793830872, 0.20597052574157715, -0.7117593884468079, 0.4200689196586609, -0.08830494433641434, 0.5544015765190125, 0.40765342116355896, 0.043557729572057724, 0.5462988615036011, -0.5764430165290833, 0.9128592014312744, 0.23258869349956512, -0.5360449552536011, 0.33811670541763306, -0.49240732192993164, 0.08969338983297348, 0.38161328434944153, 0.5522546172142029, -0.864357590675354, -0.5385066866874695, -0.445756196975708, -1.0738426446914673, 0.48549559712409973, -0.057248275727033615, 0.13299839198589325, -0.29768264293670654, -0.013048496097326279, 0.1298476755619049, 0.13403107225894928, -1.0428869724273682, -0.3200191855430603, -0.38077905774116516, -0.22610653936862946, -0.38262325525283813, -0.7216731905937195, -0.3923467993736267, 0.034354519098997116, 0.4992826581001282, 0.03860573470592499, -0.3304676115512848, -0.028172019869089127, -0.3503015637397766, 0.22865307331085205, 0.4450753331184387, 0.2829477787017822, 0.6322445869445801, -0.24418582022190094, 0.45527681708335876, 0.19996584951877594, -0.35443058609962463, 0.3487173616886139, 0.1354696899652481, -0.27588069438934326, -0.06680600345134735, 0.4978683292865753, 0.5855191349983215, 0.29195332527160645, -0.6679313778877258, 0.20055140554904938, 0.07870731502771378, -0.05312233045697212, -0.43946200609207153, -0.5088691115379333, 0.19403570890426636, 0.41317859292030334, -0.0032850599382072687, -0.16034387052059174, -0.04230313003063202, -0.38199126720428467, 0.1170312836766243, 0.34243249893188477, -0.5970443487167358, -0.15329119563102722, 0.7177742719650269, 0.40599697828292847, -0.13353288173675537, 0.7757634520530701, -0.3992650806903839, -0.331156849861145, 0.5432227849960327, 0.42079290747642517, 0.6722884774208069, -0.11434654146432877, 0.46870142221450806, 0.41462135314941406, 0.808789074420929, 0.023712892085313797, 0.2663225531578064, 0.38875070214271545, -0.9455338716506958, -0.2333231270313263, -0.8762844204902649, -0.06925442069768906, -0.04870140925049782, -0.5599409341812134, 0.21517571806907654, -0.5299782156944275, -0.14877593517303467, -0.49637603759765625, -0.4573463797569275, -0.916540801525116, 0.046606164425611496, 0.4711349308490753, 0.7346705198287964, -1.2559608221054077, 0.4170684218406677, 0.8581917881965637, -0.35104840993881226, -0.7338697910308838, -0.09746871143579483, 0.5034192204475403, -1.0334975719451904, 0.8733817934989929, 0.16272391378879547, -0.3207317888736725, -0.4506693184375763, -0.36804863810539246, -0.7254053354263306, 0.7407492399215698, 0.533810555934906, -0.5252038240432739, 0.05801812559366226, 0.25964516401290894, 0.6049606800079346, -0.44456425309181213, 0.17001394927501678, 0.468919962644577, 0.5714462399482727, 0.008272169157862663, -0.900766909122467, 0.05109211802482605, -0.3230462074279785, 0.1695602685213089, -0.20241209864616394, -0.8543198704719543, 0.6963405013084412, -0.25522640347480774, -0.19685865938663483, -0.3851526975631714, 0.5206053256988525, 0.5987892150878906, 0.19524100422859192, 0.5753493905067444, 0.2978377342224121, 0.9596919417381287, -0.0120328888297081, 1.2362024784088135, -0.4469555914402008, 0.39901435375213623, 1.0412299633026123, -0.5546087026596069, 0.3826923370361328, 0.28164130449295044, -0.3208460807800293, 0.3301841914653778, 0.8798359036445618, 0.11155951023101807, 0.41913676261901855, 0.3359390199184418, -0.5555074214935303, -0.42463141679763794, -0.5532086491584778, -0.36017680168151855, 0.4473263621330261, 0.2494891732931137, -0.08914274722337723, -0.5388767719268799, -0.07581499963998795, 0.3058761656284332, 0.22359172999858856, -0.4780268371105194, 0.19551753997802734, 0.18166039884090424, -0.3410261571407318, 0.3562411069869995, -0.19135333597660065, 0.8632688522338867, -0.6063427925109863, 0.06502664089202881, -0.5687355399131775, -0.1327463686466217, -0.2936655580997467, -0.5769409537315369, 0.21383018791675568, 0.21721504628658295, -0.19828595221042633, -0.19538596272468567, 0.6481326818466187, -0.5044925808906555, -0.9978349208831787, 0.7164594531059265, 0.7798123359680176, 0.4031490683555603, 0.4215826690196991, -0.4504377543926239, -0.09173232316970825, 0.06523510068655014, -0.17014998197555542, 0.3084111511707306, 0.6262220144271851, -0.4158604145050049, 0.8189773559570312, 0.45543497800827026, 0.3482745289802551, 0.2296501249074936, 0.3973133862018585, 0.4359382390975952, -0.6099942326545715, -0.3926233947277069, -0.8450852036476135, 0.5049137473106384, -0.14945216476917267, -0.14542533457279205, 0.8697437644004822, 0.47812411189079285, 1.1087034940719604, -0.062311407178640366, 1.0844768285751343, -0.2608420252799988, 0.17103548347949982, -0.5576176643371582, 0.9281984567642212, -0.623136579990387, 0.39129918813705444, -0.2748156189918518, -0.8987587094306946, -0.22052395343780518, 0.5957493185997009, -0.2952357530593872, 0.22243106365203857, 0.5658597946166992, 0.7729489803314209, -0.01857427880167961, -0.10976122319698334, 0.6637202501296997, 0.19078920781612396, 0.2038518488407135, 0.44694140553474426, 1.0893889665603638, 0.06475653499364853, 0.5982481241226196, -0.036087874323129654, -0.29735493659973145, 0.0998472198843956, -1.0690879821777344, -0.7822788953781128, -0.3816293776035309, -0.1902172714471817, -0.610744059085846, 0.008539889007806778, 0.7341707944869995, 0.6342786550521851, -0.599905252456665, -0.5600062608718872, 0.8254063725471497, 0.4230801463127136, -0.1875317245721817, -0.2061178982257843, 0.1672893911600113, -0.3520931005477905, -0.7580341696739197, 0.1695013791322708, 0.28479430079460144, -0.13386154174804688, -0.5329210162162781, -0.03868170455098152, -0.05226164311170578, -0.08565689623355865, 0.9592117667198181, 0.09264538437128067, -0.5742789506912231, -0.686633288860321, -0.3266010284423828, -0.09366896748542786, 0.02293039672076702, 0.6884719133377075, -0.4333016872406006, 0.37179380655288696, 0.1878703534603119, 0.28479936718940735, 0.2886391878128052, -0.3719359338283539, 0.6717764139175415, -1.0039429664611816, 0.5085030198097229, -0.11407652497291565, 0.6543610692024231, 0.7204281091690063, -0.41001492738723755, 0.7967305183410645, 0.2799689471721649, -0.2967473864555359, -0.7038256525993347, 0.5249339938163757, -0.6948966979980469, -0.12767177820205688, 1.3424497842788696, -0.45744144916534424, 0.12712343037128448, -0.3318309783935547, 0.24553686380386353, 0.122746042907238, -0.08425058424472809, 0.8703407645225525, 1.0337682962417603, 0.2443675994873047, -0.06822385638952255, -0.7270926237106323, 0.3921166658401489, 0.18791024386882782, -0.6256454586982727, 0.24801287055015564, 0.9405587315559387, 0.4940711557865143, 0.1514061689376831, 0.6849665641784668, -0.39592376351356506, -0.30203425884246826, 0.2940700352191925, 0.21783968806266785, 0.0920879989862442, -0.2759471833705902, -0.23024633526802063, 0.37285491824150085, 0.30643051862716675, 0.1462169885635376 ]
http://arxiv.org/abs/2403.09704v1
http://arxiv.org/pdf/2403.09704v1
Alignment Studio: Aligning Large Language Models to Particular Contextual Regulations
2024-03-08T21:26:49
2024-03-08T21:26:49
Swapnaja Achintalwar, Ioana Baldini, Djallel Bouneffouf, Joan Byamugisha, Maria Chang, Pierre Dognin, Eitan Farchi, Ndivhuwo Makondo, Aleksandra Mojsilovic, Manish Nagireddy, Karthikeyan Natesan Ramamurthy, Inkit Padhi, Orna Raz, Jesus Rios, Prasanna Sattigeri, Moninder Singh, Siphiwe Thwala, Rosario A. Uceda-Sosa, Kush R. Varshney
cs.CL
cs.CL, cs.AI, cs.LG
The alignment of large language models is usually done by model providers to add or control behaviors that are common or universally understood across use cases and contexts. In contrast, in this article, we present an approach and architecture that empowers application developers to tune a model to their particular values, social norms, laws and other regulations, and orchestrate between potentially conflicting requirements in context. We lay out three main components of such an Alignment Studio architecture: Framers, Instructors, and Auditors that work in concert to control the behavior of a language model. We illustrate this approach with a running example of aligning a company's internal-facing enterprise chatbot to its business conduct guidelines.
[ -0.15885214507579803, -0.6025840640068054, 0.3167058527469635, 0.23463693261146545, 0.040966201573610306, 0.07925720512866974, -0.15095461905002594, -0.479859858751297, 0.1328875571489334, 0.807927131652832, -0.3793047368526459, -0.303382933139801, -0.2155669629573822, -0.24332942068576813, -0.5725968480110168, 1.0150624513626099, -0.26453402638435364, 0.0827634334564209, -0.2422792762517929, -0.3618161976337433, -1.1743450164794922, -0.2906801104545593, -0.17901821434497833, -0.3545509874820709, 0.03998076543211937, 0.44005078077316284, 1.1797733306884766, 0.8958804607391357, 0.6190629005432129, 0.37028878927230835, -0.18816132843494415, -0.19387486577033997, -0.34750038385391235, 0.09917183965444565, -0.4757958948612213, -0.2671423852443695, -0.7009263038635254, -0.10960162431001663, 0.4175565242767334, 0.5834774971008301, -0.3615395426750183, 0.3073195219039917, 0.2216046303510666, 0.5888088941574097, -0.7190190553665161, 0.07492898404598236, -0.2440677136182785, -0.28372880816459656, -0.10970912128686905, -0.12095247954130173, -0.42839115858078003, -0.35921671986579895, 0.1437729001045227, -0.3305515646934509, -0.27038392424583435, 0.2287238985300064, 1.1348334550857544, 0.42833685874938965, -0.6004400849342346, -0.3474937081336975, -0.7646446824073792, 0.6909593343734741, -0.4503105580806732, 0.535587728023529, -0.032433539628982544, 0.35732579231262207, -0.1404915302991867, -0.4170806407928467, -0.43351975083351135, 0.24547125399112701, -0.2121681123971939, -0.008453979156911373, -0.11117091029882431, 0.08626236766576767, 0.02253080904483795, 0.10769150406122208, -0.580507755279541, 0.30639544129371643, -0.5533850789070129, -0.09686000645160675, 0.5707622170448303, 0.3887057304382324, 0.5754207968711853, 0.08144348859786987, -0.28275927901268005, 0.1345326453447342, -0.7814193964004517, -0.010476280003786087, 0.3031512200832367, 0.28731146454811096, -0.20813894271850586, 0.6314428448677063, 0.049979306757450104, 1.0802959203720093, 0.29572832584381104, 0.013642721809446812, 0.14813020825386047, -0.2949565351009369, -0.4078906178474426, 0.5617451071739197, 0.3790803849697113, 0.4337860941886902, 0.006098893005400896, -0.07387394458055496, -0.42862561345100403, 0.13169753551483154, 0.6999696493148804, -0.4141950011253357, 0.07831832021474838, 0.4588070809841156, -0.435499906539917, -0.15988388657569885, -0.24817796051502228, -0.4793111979961395, -0.43305131793022156, -1.2473349571228027, 0.44704362750053406, -0.06400981545448303, -0.27000609040260315, -0.054682403802871704, -0.1960667371749878, 0.8487969636917114, 0.3170863091945648, -1.0999616384506226, 0.3422918915748596, 1.2261172533035278, 0.8042464256286621, -0.07544369250535965, -0.23139043152332306, -0.39442670345306396, 0.511685848236084, -0.6197158694267273, 0.24996258318424225, -0.7206475734710693, -0.07776577770709991, 0.088721863925457, 0.011154347099363804, 0.08772838115692139, -0.1787436455488205, 0.18092934787273407, -0.7315782308578491, 0.12744078040122986, 0.1664685755968094, -0.9704461097717285, -0.09708713740110397, 0.169796422123909, -0.5594210624694824, 0.5132959485054016, 0.1621227115392685, -0.29677537083625793, 0.25608760118484497, -0.6588625907897949, -0.2565041482448578, 0.1988743543624878, -0.5951409339904785, -0.23761330544948578, 0.1239793673157692, -0.14278164505958557, 0.35056623816490173, -0.18019363284111023, 0.5028351545333862, -0.12999506294727325, -0.38178032636642456, 0.09641549736261368, 0.17795884609222412, 1.21388840675354, 0.45233431458473206, -0.39220061898231506, 0.705116331577301, -0.573583722114563, -0.04825153946876526, -0.27954283356666565, -0.2466302365064621, -0.5034234523773193, 0.05448542907834053, 0.18846388161182404, 0.14923883974552155, 0.37371817231178284, -0.0287664532661438, 0.2731991112232208, -0.11207590252161026, 0.5790821313858032, 0.8260821104049683, -0.3349960446357727, 0.929367184638977, -0.3548543155193329, 0.7225008606910706, -0.24561405181884766, 0.019239235669374466, 0.015209199860692024, -0.22001251578330994, -0.529048502445221, -0.1927037090063095, 0.2384929358959198, 0.5957373380661011, -0.05162839964032173, 0.8457179069519043, -0.4732220768928528, -0.5035526752471924, -0.9404813051223755, 0.5270419120788574, 0.43493446707725525, 0.44115909934043884, -0.0856996551156044, -0.2894352674484253, -0.706535816192627, -0.86856609582901, -0.1195058599114418, 0.21772663295269012, 0.023738935589790344, 0.16121521592140198, 0.3185373544692993, -0.23650158941745758, 1.1970945596694946, -0.1599324345588684, -0.305141806602478, -0.1495094895362854, -0.1164015457034111, 0.16197381913661957, 0.8274948596954346, 0.6637091040611267, -1.0595614910125732, -0.6613802313804626, 0.28487977385520935, -0.5412471890449524, -0.3100265562534332, -0.09034263342618942, -0.5847986936569214, 0.2539535164833069, 0.9312658905982971, -0.3637045919895172, 0.23226113617420197, 0.9250440001487732, -0.5487390756607056, 0.3382717967033386, 0.09793788194656372, -0.011591613292694092, -1.3479907512664795, 0.28999805450439453, -0.14271008968353271, -0.41481882333755493, -0.6313177943229675, 0.26941078901290894, 0.14841017127037048, -0.3470444083213806, -0.21974478662014008, 0.5526107549667358, -0.40003061294555664, -0.13465210795402527, -0.2050267606973648, 0.44183945655822754, 0.18186722695827484, 0.1549403816461563, 0.2017422914505005, 0.7295327186584473, 0.6099375486373901, -0.5890316963195801, 0.420308381319046, 0.6360911130905151, -0.7448844313621521, 1.1762504577636719, -0.5610772967338562, 0.09219935536384583, -0.1427682638168335, 0.07539884001016617, -0.7273387312889099, -0.441638708114624, -0.10062383115291595, -0.24614539742469788, 0.3507530391216278, -0.20325464010238647, -0.1832580417394638, 0.029699847102165222, 0.30446696281433105, 0.029434507712721825, 0.5589426159858704, -0.37603458762168884, 0.9680627584457397, 0.7625249028205872, 0.0009277172503061593, -0.4871787130832672, -0.7744304537773132, 0.06427332758903503, -0.536802351474762, -0.6805617213249207, 0.3677826523780823, -0.13036157190799713, -0.5148874521255493, 0.12557081878185272, 0.00019465955847408623, -0.24932490289211273, 0.33443373441696167, 0.4833929240703583, 0.42067041993141174, -0.49931320548057556, -0.06956075131893158, -0.16958069801330566, 0.0584227554500103, -0.08422428369522095, -0.09954342991113663, 0.451386958360672, -0.133292555809021, -0.340213418006897, -0.5326474905014038, 0.3701169490814209, 0.7037636637687683, -0.3518606126308441, 0.7955352663993835, 0.1641082912683487, -0.1959218531847, 0.09993734210729599, -0.6709079742431641, 0.22187890112400055, -0.5344998836517334, 0.22467833757400513, -0.3499103784561157, -0.9590324759483337, 0.6117767691612244, 0.027893446385860443, 0.39392706751823425, 0.029291385784745216, 0.7625905275344849, 0.18958166241645813, 1.342776894569397, 0.9631819725036621, -0.3778749108314514, 0.8766774535179138, 0.45508089661598206, 0.40463823080062866, -0.9586977958679199, -0.034463971853256226, -0.8400480151176453, -0.46199753880500793, -0.4053727984428406, 0.119867704808712, 0.08065598458051682, 0.3993959128856659, -0.5780101418495178, 0.7750242352485657, -0.6453540921211243, 0.8013731837272644, 0.49293848872184753, -0.2830509543418884, 0.06776811927556992, -0.5469226837158203, 0.12398014217615128, 0.1760440468788147, -0.5682617425918579, -0.9447121620178223, 0.69801926612854, 0.3276742100715637, 0.825537383556366, 0.7246317863464355, 0.6877939105033875, -0.19516709446907043, 0.4746515452861786, -0.7055709362030029, 0.2535286843776703, 0.15970709919929504, -1.0039180517196655, -0.1251925528049469, -0.13798651099205017, -0.7368678450584412, 0.07724402099847794, -0.020275864750146866, -1.1223645210266113, 0.2470259666442871, 0.45539966225624084, -0.4382472336292267, -0.18012090027332306, -1.1490527391433716, 1.3815821409225464, -0.34937813878059387, -0.32920369505882263, -0.16908687353134155, -0.6992922425270081, 0.2895983159542084, -0.0755104124546051, 0.3663405478000641, -0.060650184750556946, 0.0730924904346466, 0.2831755578517914, -0.20194239914417267, 0.9340608716011047, 0.1518983095884323, -0.23549632728099823, 0.27475064992904663, 0.3176550269126892, 0.43075886368751526, -0.3671248257160187, 0.023837629705667496, -0.21399043500423431, 0.3149893283843994, -0.20943234860897064, -0.42266201972961426, 0.668234646320343, -0.7370417714118958, -0.7414118051528931, -0.02741607464849949, -0.5831342935562134, -0.0983462929725647, 0.39630335569381714, -0.14940471947193146, 0.16272084414958954, -0.38150542974472046, 0.4959586262702942, 0.3016919195652008, 0.07546024769544601, 0.22335946559906006, 0.6261352896690369, -0.17896267771720886, -0.07347321510314941, 0.527573823928833, -0.23027104139328003, 0.4449700713157654, 0.35415154695510864, 0.07108267396688461, -0.14397530257701874, -0.11779569089412689, -0.43272867798805237, -0.3922681510448456, -0.8693508505821228, -0.3485376834869385, -0.05008424073457718, -0.20580258965492249, -0.6863033771514893, -0.8197181820869446, -0.2619026303291321, -0.12823320925235748, -0.3011300265789032, 0.13957083225250244, 0.16730909049510956, 0.6580581665039062, 0.2267533540725708, 0.4820095896720886, -0.9822953939437866, -0.2193843126296997, 0.076348215341568, 0.46915149688720703, -0.2162056416273117, -0.44188249111175537, -0.3774568438529968, -0.06982646137475967, -0.3277614116668701, -0.7033524513244629, 0.1746853142976761, 0.06562264263629913, 0.46960505843162537, 0.6116797924041748, -0.22169968485832214, 1.014967679977417, -0.7005620002746582, 0.7144186496734619, 0.18917302787303925, -1.519984245300293, 0.6108635067939758, -0.1588229387998581, 0.2699704170227051, 0.5635296702384949, 0.23278675973415375, -0.8291432857513428, -0.5308856964111328, -0.37912529706954956, -0.5938267707824707, 0.7326805591583252, -0.03878188133239746, 0.49847301840782166, 0.27629631757736206, 0.4236241281032562, -0.350837767124176, 0.2829287648200989, -0.7077721357345581, 0.2634275555610657, -0.00045576062984764576, -0.6696439981460571, 0.04160928726196289, 0.0380130335688591, -0.6812567114830017, -0.08890040963888168, 0.7133923768997192, -0.05105164647102356, -0.3362096846103668, -0.19412146508693695, -0.10982777178287506, -0.16338419914245605, 0.39372310042381287, 0.5348826050758362, 0.9582353830337524, 0.1351803094148636, -0.06342631578445435, -0.2617497146129608, -0.14785580337047577, 0.04486255720257759, -0.19738441705703735, -0.12201236188411713, -0.36808326840400696, 0.21919213235378265, 0.8668020963668823, 0.3782227337360382, -0.6877681612968445, 0.5542826056480408, 0.2576661705970764, 0.011409278027713299, -0.19448864459991455, 0.41101494431495667, 0.2933047115802765, 0.5598909258842468, -0.3893122673034668, -0.14696180820465088, -0.1027202233672142, -0.573992133140564, 0.13717326521873474, 0.4818241596221924, -0.5484111905097961, -0.18774808943271637, 0.903327465057373, 0.4266272485256195, -0.47901418805122375, 0.5221155881881714, 0.11738934367895126, -0.46644827723503113, 0.6944811344146729, 0.7416933178901672, 0.8570632934570312, -0.4089944064617157, -0.1734098196029663, 0.07592111825942993, 0.17674751579761505, -0.3610592186450958, 0.11113342642784119, 0.13205324113368988, -0.9525818228721619, -0.635390043258667, -0.4656125605106354, -0.47777894139289856, -0.21711763739585876, -0.7674260139465332, 0.6373623609542847, -0.33821961283683777, 0.08521487563848495, 0.43702054023742676, -0.406897634267807, -0.4649300277233124, -0.25108709931373596, 0.09511303901672363, 0.8575700521469116, -0.8424867391586304, 0.7905964851379395, 0.9208343625068665, -0.4373558461666107, -1.0191755294799805, -0.4032381474971771, 0.6138879656791687, -0.5919963717460632, 0.5502734184265137, 0.041065752506256104, -0.12409688532352448, -0.07163383811712265, -0.750528872013092, -0.9058853983879089, 1.0242537260055542, 0.3036991357803345, -0.8922158479690552, 0.04089249297976494, -0.22368809580802917, 0.5853414535522461, -0.6320018768310547, -0.4456964433193207, 0.7753503918647766, 0.3664062023162842, 0.1525159329175949, -1.247207760810852, -0.02544931322336197, -0.09098073840141296, 0.001948676654137671, 0.597710132598877, -0.5425562262535095, 0.47081926465034485, 0.20450244843959808, -0.21113453805446625, 0.09465700387954712, 0.34495869278907776, -0.10035914182662964, -0.08128426223993301, 0.34025782346725464, 0.3986890912055969, 0.736676037311554, -0.03306395933032036, 0.6272998452186584, -0.9209555387496948, 0.2095322459936142, 1.5515655279159546, -0.5607409477233887, 0.8210549354553223, 0.5886074304580688, 0.24245965480804443, 0.4804920256137848, 0.4767116606235504, -0.14181633293628693, 0.2471025139093399, -0.1013617143034935, 0.07242804765701294, -0.17346131801605225, -0.09741920977830887, -0.09416147321462631, 0.8881681561470032, 0.35547366738319397, -0.31417566537857056, 0.21078263223171234, -0.3803461790084839, 0.0009252429008483887, 0.256198525428772, -0.3425501585006714, 1.0254201889038086, -0.11726602911949158, -0.9323669075965881, 0.08390447497367859, -0.08062241971492767, 0.028607890009880066, -0.5845983624458313, 0.06221354007720947, 0.2122369110584259, 0.3764316737651825, -0.37102076411247253, -0.8830889463424683, 0.7493347525596619, -0.10532227158546448, 0.1478620022535324, -0.39544448256492615, 0.17396843433380127, -0.5468327403068542, -0.04223710671067238, 0.08629404008388519, 0.06808227300643921, -0.17126405239105225, 0.34400105476379395, -0.6807109117507935, 0.2569723129272461, -0.2086402177810669, 0.06236835569143295, 0.1395891010761261, 0.4312131404876709, -0.21889297664165497, 0.410310834646225, 0.2704068720340729, -0.018611935898661613, -0.20089705288410187, -0.02540299855172634, 0.5534158945083618, -0.5349596738815308, -0.8186293244361877, -0.7680222392082214, 0.5884057879447937, -0.23456859588623047, -0.38962921500205994, 0.6855142116546631, 0.6944096684455872, 0.9395986795425415, 0.27677714824676514, 0.35127848386764526, -0.39922788739204407, 0.10065930336713791, -0.5869520306587219, 0.5368048548698425, -0.5281668305397034, 0.29590362310409546, -0.3237690031528473, -0.9979663491249084, -0.4254085123538971, 0.7415236830711365, -0.10749071836471558, -0.24256673455238342, 0.2568868100643158, 0.8363924026489258, -0.18782281875610352, 0.06984001398086548, 0.08283838629722595, 0.15804541110992432, 0.4026724696159363, 0.24111919105052948, 0.5184232592582703, 0.1409577876329422, 0.4012134075164795, -0.01778227463364601, -0.2871001660823822, -0.2212253361940384, -1.0506585836410522, -0.6608594655990601, -0.6438841819763184, -0.5576379299163818, -0.46078020334243774, -0.31500759720802307, 1.1559003591537476, 0.8662765622138977, -0.9586583971977234, -0.5917026400566101, -0.1525963842868805, 0.15088443458080292, -0.38742727041244507, -0.2565930187702179, 0.18049296736717224, -0.5132565498352051, -0.8018017411231995, 0.1764703243970871, 0.41448578238487244, 0.15269918739795685, -0.4296624958515167, -0.13815747201442719, -0.03766839578747749, 0.23619019985198975, 0.2976548373699188, 0.35802775621414185, -0.6939639449119568, -0.47881147265434265, -0.28057584166526794, -0.44149789214134216, 0.13079628348350525, 0.9186583161354065, -0.06629544496536255, 0.668799638748169, 0.43903952836990356, 0.6659195423126221, -0.08216103911399841, 0.033632975071668625, 1.042775273323059, -0.8654164671897888, 0.21400576829910278, 0.1557682603597641, 0.45170536637306213, 0.13491179049015045, -0.3645103871822357, 0.4777206480503082, -0.5923662185668945, -0.8779244422912598, -0.6140475869178772, 0.397340327501297, -0.9017053842544556, -0.33122482895851135, 0.8372183442115784, 0.12766660749912262, -0.34058821201324463, -0.13990464806556702, -0.2786552906036377, 0.11488151550292969, -0.11209462583065033, 0.8621208071708679, 1.0849432945251465, -0.08849368244409561, 0.019548429176211357, -0.7893984317779541, 0.6119836568832397, 0.293959379196167, -0.6726697087287903, 0.24994322657585144, 0.8392429947853088, 0.3063991069793701, 0.4404161274433136, 0.3717364966869354, -0.1984909027814865, 0.17344211041927338, -0.3677061200141907, 0.14289595186710358, 0.5057631731033325, -0.17384882271289825, -0.5933439135551453, -0.2960602939128876, 0.09620983153581619, 0.043386466801166534 ]
http://arxiv.org/abs/2403.05680v2
http://arxiv.org/pdf/2403.05680v2
How Well Do Multi-modal LLMs Interpret CT Scans? An Auto-Evaluation Framework for Analyses
2024-03-08T21:16:28
2024-06-18T12:43:18
Qingqing Zhu, Benjamin Hou, Tejas S. Mathai, Pritam Mukherjee, Qiao Jin, Xiuying Chen, Zhizheng Wang, Ruida Cheng, Ronald M. Summers, Zhiyong Lu
cs.AI
cs.AI, cs.CL, cs.CV
Automatically interpreting CT scans can ease the workload of radiologists. However, this is challenging mainly due to the scarcity of adequate datasets and reference standards for evaluation. This study aims to bridge this gap by introducing a novel evaluation framework, named ``GPTRadScore''. This framework assesses the capabilities of multi-modal LLMs, such as GPT-4 with Vision (GPT-4V), Gemini Pro Vision, LLaVA-Med, and RadFM, in generating descriptions for prospectively-identified findings. By employing a decomposition technique based on GPT-4, GPTRadScore compares these generated descriptions with gold-standard report sentences, analyzing their accuracy in terms of body part, location, and type of finding. Evaluations demonstrated a high correlation with clinician assessments and highlighted its potential over traditional metrics, such as BLEU, METEOR, and ROUGE. Furthermore, to contribute to future studies, we plan to release a benchmark dataset annotated by clinicians. Using GPTRadScore, we found that while GPT-4V and Gemini Pro Vision fare better, their performance revealed significant areas for improvement, primarily due to limitations in the dataset used for training these models. To demonstrate this potential, RadFM was fine-tuned and it resulted in significant accuracy improvements: location accuracy rose from 3.41\% to 12.8\%, body part accuracy from 29.12\% to 53\%, and type accuracy from 9.24\% to 30\%, thereby validating our hypothesis.
[ -0.1887548714876175, -0.22183115780353546, 0.9059470295906067, 0.08292573690414429, -0.5604559183120728, 0.005184693727642298, -0.021329347044229507, -0.5574427843093872, -0.051043231040239334, 0.16860002279281616, -0.38540536165237427, -0.6874140501022339, -0.8265842795372009, 0.5407630205154419, -0.3465498387813568, 0.844843327999115, -0.100193552672863, 0.455975741147995, -0.24320989847183228, -0.3890155255794525, -0.5317175984382629, -0.1591799259185791, -0.279276967048645, -0.2564164400100708, 0.4729883074760437, -0.15387609601020813, 0.9964142441749573, 0.8932565450668335, 0.802646279335022, 0.3264213502407074, 0.12582378089427948, 0.21760666370391846, -0.10018762946128845, -0.09780358523130417, 0.0254124253988266, -0.17653784155845642, -0.5752054452896118, 0.05078146979212761, 0.4973222017288208, 0.3685871362686157, -0.10386442393064499, -0.12159592658281326, -0.014199449680745602, 0.44036751985549927, -0.600020170211792, 0.2980002760887146, -0.20785236358642578, 0.07536965608596802, 0.0036810508463531733, -0.573437511920929, -0.17396527528762817, -0.3357732892036438, 0.22766469419002533, -0.507010281085968, 0.21781028807163239, -0.3081372380256653, 0.703571081161499, 0.4075535535812378, -0.6962087750434875, -0.48388031125068665, -0.3405887186527252, 0.4822433292865753, -0.3266606032848358, 0.4807854890823364, 0.10958857089281082, 0.6015600562095642, 0.12556548416614532, -0.7371729016304016, -0.04371777921915054, -0.38215264678001404, -0.2529579699039459, 0.5322859287261963, -0.20470307767391205, 0.2887130081653595, 0.1310456395149231, 0.5426803827285767, -0.8067508935928345, -0.06605356931686401, -0.3602428436279297, -0.5728051066398621, 0.6687183976173401, 0.5770666003227234, 0.35816943645477295, -0.30031949281692505, -0.7362304329872131, -0.08794752508401871, -0.43216803669929504, -0.3830385208129883, 0.0778321698307991, 0.05358356982469559, -0.2208470106124878, 0.6132131814956665, -0.18167182803153992, 0.8472234010696411, 0.17858949303627014, -0.3879159688949585, 0.7204214334487915, -0.809084415435791, -0.4571889340877533, -0.3245784342288971, 0.5871286988258362, 0.5229208469390869, -0.11305661499500275, -0.07522814720869064, -0.4180873930454254, 0.14460481703281403, 0.26242634654045105, -0.517369270324707, -0.17066173255443573, 0.15545548498630524, -0.8262538313865662, -0.40747374296188354, 0.023633314296603203, -0.43247294425964355, -0.4485247731208801, -0.4107339680194855, 0.4858728349208832, -0.5479620099067688, -0.23275215923786163, 0.40714091062545776, -0.08558572828769684, 0.24442490935325623, 0.660560667514801, -0.43952158093452454, 0.18060225248336792, 0.5242385864257812, 1.0249440670013428, -0.3177817165851593, -0.12202814221382141, -0.41299495100975037, 0.021891508251428604, -0.16045355796813965, 1.0564672946929932, -0.5112270712852478, -0.56770920753479, -0.3080802261829376, 0.08761563897132874, -0.41090884804725647, -0.5550744533538818, 0.6103525757789612, -0.22565409541130066, 0.3261053264141083, -0.27663376927375793, -0.10889782011508942, -0.22966201603412628, 0.6330135464668274, -0.7742986679077148, 0.8263817429542542, 0.4188515543937683, -0.5898038148880005, 0.5985856652259827, -0.6157875061035156, -0.3419678807258606, 0.11254647374153137, -0.5604851245880127, -0.1693752557039261, 0.3016831874847412, 0.49046778678894043, 0.3184175491333008, -0.494832843542099, 0.1989467591047287, -0.021900339052081108, -0.287002295255661, 0.14554743468761444, -0.44684290885925293, 0.5762122273445129, 0.2513083815574646, -0.2633243799209595, 0.2516282796859741, -0.37029263377189636, 0.06232466176152229, -0.19739721715450287, -0.34445202350616455, 0.10603302717208862, -0.2697544991970062, 0.037029705941677094, 0.38355308771133423, 0.18775884807109833, -0.41694724559783936, 0.12394650280475616, -0.3309192657470703, 0.2297329157590866, 0.7062828540802002, -0.04911213368177414, 0.1828911155462265, -0.45005789399147034, 1.0076731443405151, 0.2158593237400055, 0.5579506158828735, -0.0435379296541214, -0.4819231331348419, -0.3376959562301636, -0.6211453080177307, 0.010561013594269753, 0.3163543939590454, -0.7961843609809875, 0.28505179286003113, -0.45156922936439514, -0.513340175151825, -0.31037086248397827, -0.15114560723304749, 0.47564512491226196, 0.5597668886184692, 0.349244624376297, -0.6548277139663696, -0.21089032292366028, -1.0701265335083008, -0.01464280765503645, 0.019655469805002213, -0.005160635337233543, 0.2564285099506378, 0.4442218840122223, -0.42544499039649963, 0.5760647654533386, -0.37718284130096436, -0.4943864345550537, -0.24584373831748962, 0.1791902333498001, 0.2862420976161957, 0.154872864484787, 0.634535014629364, -0.6911170482635498, -0.3751301169395447, -0.07888175547122955, -0.7797476649284363, -0.027335265651345253, -0.13586510717868805, 0.1958991438150406, 0.14159683883190155, -0.006609270349144936, -0.35512688755989075, 0.636612594127655, 0.5640694499015808, -0.20629768073558807, 0.626004159450531, -0.6001178622245789, 0.45452550053596497, -0.7218632102012634, 0.03343500941991806, 0.10310617834329605, -0.21700049936771393, -0.14541234076023102, 0.0648820772767067, 0.13255511224269867, 0.013115402311086655, -0.41401487588882446, 0.31707724928855896, -0.7981053590774536, -0.6247837543487549, -0.15314491093158722, -0.06567782163619995, 0.05244102701544762, -0.04842240363359451, 0.17358845472335815, 0.8578429818153381, 0.6672276258468628, -0.23360387980937958, 0.41341811418533325, -0.031183429062366486, -0.3674217164516449, 0.7298538684844971, -0.6011497378349304, 0.14481447637081146, -0.026301732286810875, 0.41946473717689514, -0.9710484743118286, -0.22949527204036713, 0.1302962303161621, -0.3031731843948364, 0.281075119972229, -0.11895033717155457, -0.5506870150566101, -0.450432151556015, -0.5706766843795776, 0.5757524371147156, -0.0033231619745492935, -0.28670600056648254, 0.9711233377456665, 0.1991516500711441, 0.38497811555862427, -0.5769110918045044, -0.599591076374054, 0.2959132492542267, -0.2173055112361908, -0.616761326789856, 0.19445818662643433, -0.21659886837005615, -0.043252814561128616, -0.11427685618400574, -0.2685388922691345, -0.2998688817024231, 0.0304567813873291, 0.29016730189323425, 0.41698580980300903, -0.14992882311344147, 0.0015789493918418884, -0.15024614334106445, -0.5169011354446411, 0.08580179512500763, -0.06514212489128113, 0.3571651577949524, -0.3834194540977478, -0.5003171563148499, -0.5960179567337036, -0.01815655641257763, 0.7047711610794067, -0.10773401707410812, -0.09712023288011551, 0.9059244394302368, -0.41002652049064636, 0.1565607339143753, -0.545708954334259, -0.08542794734239578, -0.4025222063064575, 0.4081425666809082, -0.6629538536071777, -0.5434563159942627, 0.5331649780273438, 0.21854399144649506, -0.29155266284942627, 0.5740312337875366, 0.8831794261932373, -0.0762774646282196, 1.11860191822052, 0.4017288386821747, 0.0760888010263443, 0.01978256367146969, -0.12674757838249207, -0.1100136786699295, -1.0058543682098389, -0.41815927624702454, -0.29670509696006775, -0.16993403434753418, -0.3717222511768341, -0.6246785521507263, 0.7794230580329895, -0.4845072627067566, 0.08927997946739197, 0.14240920543670654, -0.8693256378173828, 0.33164823055267334, 0.11388632655143738, 0.43939146399497986, 0.41426438093185425, -0.05397946015000343, -0.22347009181976318, -0.07953817397356033, -0.663339376449585, -0.48045846819877625, 1.5214428901672363, 0.3741508722305298, 0.6983427405357361, -0.11252353340387344, 0.5739272832870483, 0.4358840584754944, 0.5772355198860168, -0.854108989238739, 0.3736223578453064, -0.2449740469455719, -0.614277720451355, 0.1468660831451416, -0.17129680514335632, -0.7644041180610657, 0.4468436539173126, -0.15765801072120667, -0.3274497985839844, 0.13843585550785065, -0.10463716834783554, -0.5611678957939148, -0.015799859538674355, -0.3792582154273987, 0.7316877841949463, -0.74467533826828, -0.23476974666118622, -0.35988450050354004, -0.6454763412475586, 0.4031843841075897, -0.19592206180095673, 0.2678552567958832, -0.24811723828315735, -0.34721750020980835, 0.32640212774276733, -0.2309396117925644, 0.5591807961463928, -0.1090589389204979, -0.16609904170036316, 0.043059706687927246, 0.15240611135959625, 0.04489930719137192, 0.3199135661125183, -0.21490682661533356, 0.3811036944389343, 0.4113388657569885, -0.09864900261163712, -0.4848293364048004, 0.6592089533805847, -0.8290901184082031, -0.25185349583625793, -0.792058527469635, -0.6704685091972351, -0.14358802139759064, 0.01382383331656456, 0.25277984142303467, 0.7821038961410522, -0.0430586002767086, -0.056235987693071365, 0.22041501104831696, -0.18169602751731873, 0.177250936627388, 0.3901166319847107, 0.17459304630756378, -0.6076656579971313, 0.5108123421669006, 0.04533037915825844, 0.10397809743881226, 0.32464125752449036, 0.24944907426834106, -0.7196420431137085, -0.9662243127822876, -0.6485986113548279, 0.351922869682312, -0.9574514627456665, -0.29734042286872864, -0.3170563578605652, 0.08137223869562149, -0.3033014237880707, -0.12612135708332062, -0.24422046542167664, -0.0145547641441226, -0.16586820781230927, -0.030994202941656113, -0.1074170246720314, 0.8082255125045776, -0.34738829731941223, 0.12503066658973694, -0.733775794506073, 0.06950441747903824, -0.015596393495798111, 0.2514137327671051, -0.3936903774738312, -0.49670735001564026, -0.35459280014038086, -0.2009698897600174, -0.06197356805205345, -0.6408162117004395, 0.34068232774734497, -0.08064156770706177, 0.7057278156280518, 0.36513733863830566, -0.18811747431755066, 0.9587286114692688, 0.010611144825816154, 0.694391667842865, 0.4484831988811493, -0.8297574520111084, 0.4800892472267151, -0.38587814569473267, 0.33835384249687195, 0.6527204513549805, -0.029667306691408157, -0.028319591656327248, -0.16016785800457, -0.47275760769844055, -0.5514127016067505, 0.6498668789863586, 0.13161341845989227, -0.15769708156585693, -0.10684698075056076, 0.5763274431228638, 0.2430245280265808, -0.009340090677142143, -0.7526343464851379, -0.04825036972761154, -0.21773576736450195, -0.36031806468963623, -0.09939351677894592, -0.21488554775714874, -0.4804792106151581, -0.2782357633113861, 0.043194759637117386, -0.4801354706287384, 0.664415717124939, 0.30339401960372925, -0.3776871860027313, 0.029879042878746986, -0.005749095231294632, 0.7317649126052856, 1.2379732131958008, -0.2527092397212982, 0.3153053820133209, 0.2232031226158142, -0.6694312691688538, -0.1116286963224411, -0.08928603678941727, 0.31654101610183716, 0.08640922605991364, 0.6871134638786316, 0.20372259616851807, 0.09077892452478409, -0.48702114820480347, 0.8601526021957397, -0.21810734272003174, -0.3370722234249115, -0.2843865752220154, 0.053759582340717316, -0.2417488694190979, 0.27147963643074036, 0.4678210914134979, 0.20138083398342133, 0.3194657564163208, -0.26544347405433655, 0.3321200907230377, 0.41878023743629456, -0.41832655668258667, -0.5452516078948975, 0.674860954284668, 0.20046229660511017, 0.4841127097606659, 0.564339280128479, 0.1348220854997635, -0.3597141206264496, 0.7653995156288147, 0.23910143971443176, 1.0120033025741577, -0.11809636652469635, 0.1917244791984558, 0.4291348457336426, 0.43895766139030457, -0.04601467028260231, 0.37321242690086365, -0.1799096316099167, -0.6736299991607666, -0.4898837208747864, -0.3732820749282837, -0.23686154186725616, 0.03180499002337456, -0.9871676564216614, 0.28165221214294434, -0.47456926107406616, -0.3444957137107849, -0.16415603458881378, 0.015266424044966698, -0.9345566034317017, 0.7637647390365601, 0.21434645354747772, 0.8483002781867981, -0.7422679662704468, 0.9222524762153625, 0.7112292051315308, -0.6140120625495911, -0.6191641688346863, -0.06771816313266754, 0.3309841752052307, -1.27924382686615, 0.7652863264083862, 0.37248480319976807, -0.33207809925079346, -0.21571733057498932, -0.1567675620317459, -0.7560876607894897, 1.4620872735977173, 0.26634496450424194, -0.2613619565963745, -0.1569206863641739, 0.18284639716148376, 0.583713710308075, -0.6237037777900696, 0.8916933536529541, 0.500781774520874, 0.6657698154449463, 0.03923190385103226, -1.2031484842300415, 0.2745417654514313, -0.00970082450658083, -0.04408193752169609, -0.19979438185691833, -0.4315106272697449, 0.666002094745636, -0.18915894627571106, -0.33345091342926025, -0.000012200572200526949, 0.16419368982315063, 0.08347555249929428, 0.3530583083629608, 0.7523672580718994, 0.4193582534790039, 0.5129196643829346, -0.25947105884552, 1.1187024116516113, -0.6104938387870789, 0.4632708728313446, 0.9105476140975952, -0.26596876978874207, 0.23119981586933136, 0.29364094138145447, -0.13475462794303894, 0.39170533418655396, 0.833210289478302, -0.13050122559070587, 0.6064128875732422, -0.0024472216609865427, -0.1968047320842743, -0.5624940991401672, 0.27554774284362793, -0.48045647144317627, 0.8512341976165771, 0.4208996593952179, -0.5396573543548584, -0.6229235529899597, 0.09801577776670456, -0.32890787720680237, -0.2149733603000641, -0.22171533107757568, 0.6516721248626709, -0.07730607688426971, -0.23299792408943176, 0.587068498134613, -0.08046168088912964, 0.6203835606575012, -0.6143547892570496, 0.19497598707675934, -0.19821637868881226, 0.2333320826292038, -0.5361870527267456, -0.6929855346679688, 0.5463792681694031, -0.2313106209039688, 0.1344996839761734, -0.3615999221801758, 0.44839152693748474, 0.14562317728996277, -0.41212013363838196, 0.3315638601779938, 0.6755608320236206, 0.3324611485004425, -0.11374527961015701, -1.0069139003753662, 0.3237016797065735, -0.012352515012025833, -0.17536042630672455, 0.2778070867061615, 0.2280520796775818, -0.0952381044626236, 0.7150909900665283, 0.43233948945999146, 0.09343966841697693, -0.3692896068096161, 0.07460569590330124, 1.0555927753448486, -0.65123450756073, -0.3960760235786438, -0.5992333889007568, 0.4082146883010864, 0.1909390091896057, -0.5055772066116333, 0.6225478053092957, 0.8965297341346741, 0.5262510180473328, 0.15275312960147858, 0.7426761388778687, 0.04504077509045601, 0.20555712282657623, -0.5096117258071899, 0.5117462277412415, -0.6675443053245544, 0.3995847702026367, 0.033238742500543594, -0.6738172173500061, -0.517664909362793, 0.6871486306190491, -0.5094550848007202, 0.15369677543640137, 1.0651135444641113, 0.8065466284751892, -0.1352814882993698, -0.09249816089868546, 0.37415438890457153, 0.08308988809585571, 0.21798697113990784, 0.5759512782096863, 0.8704656362533569, -0.3365599811077118, 0.6066937446594238, -0.11078639328479767, -0.31854671239852905, -0.14786958694458008, -0.718347430229187, -0.6490925550460815, -0.3749939203262329, -0.5221455693244934, -0.4294300675392151, 0.07701240479946136, 0.42357510328292847, 0.8391627669334412, -0.35099419951438904, -0.1440654695034027, 0.313459187746048, -0.20370469987392426, -0.2370160073041916, -0.16101574897766113, 0.8076483011245728, -0.2502572238445282, -0.6565326452255249, 0.5755867958068848, 0.7014217972755432, -0.13421358168125153, -0.34077218174934387, -0.03629451245069504, 0.34343773126602173, -0.4551612436771393, 0.5650773048400879, -0.3089095950126648, -0.8264045715332031, -0.5309022665023804, 0.041640911251306534, -0.30670320987701416, 0.3968326151371002, 0.7506259083747864, -0.9212368726730347, 0.898568868637085, 0.22969365119934082, 0.2523021996021271, 0.5295077562332153, 0.0934656485915184, 0.4770834445953369, -0.12772026658058167, 0.01866096630692482, 0.422242671251297, 0.44176608324050903, 0.17972753942012787, -0.32007449865341187, 0.5683618187904358, 0.4443967044353485, -0.3560657203197479, -0.6021632552146912, 0.05398747697472572, -1.329959511756897, -0.08072467893362045, 1.1379265785217285, -0.2534392476081848, -0.20894299447536469, -0.4214099049568176, -0.060484036803245544, 0.031620822846889496, -0.06933676451444626, 0.668792724609375, 0.3713533282279968, -0.5991347432136536, -0.18665263056755066, -0.4885672926902771, 0.4980626106262207, 0.10606243461370468, -0.7030712366104126, -0.469286173582077, 0.9072583913803101, 0.7636299133300781, -0.015807777643203735, 0.8956828117370605, -0.563603401184082, 0.6624948382377625, -0.29877233505249023, -0.006902752444148064, -0.44838157296180725, -0.029140841215848923, -0.6811457872390747, 0.2177412062883377, -0.18759489059448242, -0.40428948402404785 ]
http://arxiv.org/abs/2403.05676v1
http://arxiv.org/pdf/2403.05676v1
PipeRAG: Fast Retrieval-Augmented Generation via Algorithm-System Co-design
2024-03-08T21:09:20
2024-03-08T21:09:20
Wenqi Jiang, Shuai Zhang, Boran Han, Jie Wang, Bernie Wang, Tim Kraska
cs.CL
cs.CL
Retrieval-augmented generation (RAG) can enhance the generation quality of large language models (LLMs) by incorporating external token databases. However, retrievals from large databases can constitute a substantial portion of the overall generation time, particularly when retrievals are periodically performed to align the retrieved content with the latest states of generation. In this paper, we introduce PipeRAG, a novel algorithm-system co-design approach to reduce generation latency and enhance generation quality. PipeRAG integrates (1) pipeline parallelism to enable concurrent retrieval and generation processes, (2) flexible retrieval intervals to maximize the efficiency of pipeline parallelism, and (3) a performance model to automatically balance retrieval quality and latency based on the generation states and underlying hardware. Our evaluation shows that, by combining the three aforementioned methods, PipeRAG achieves up to 2.6$\times$ speedup in end-to-end generation latency while improving generation quality. These promising results showcase the effectiveness of co-designing algorithms with underlying systems, paving the way for the adoption of PipeRAG in future RAG systems.
[ -0.5075260400772095, -0.6674854755401611, 0.1603238582611084, 0.3429880738258362, -0.5012190341949463, 0.7912523746490479, -0.04207891970872879, -0.34496963024139404, 0.5513325333595276, 0.222190260887146, -0.12057365477085114, -0.21094532310962677, -0.2839466333389282, -0.16074807941913605, -0.23974229395389557, 0.5636906027793884, 0.17182870209217072, -0.11701054126024246, 0.050975169986486435, 0.1415432244539261, -0.6196219325065613, -0.32557976245880127, -0.7534970045089722, -0.23826943337917328, 0.6647453904151917, 0.5614546537399292, 0.7943949699401855, 0.6182518601417542, 0.5822288990020752, 0.1646512746810913, -0.21022097766399384, 0.2728153169155121, -0.781988263130188, 0.6072299480438232, -0.18829765915870667, -0.35133180022239685, -0.6432965993881226, -0.4901474714279175, 0.6090294718742371, 0.5004724860191345, 0.015219581313431263, 0.31877511739730835, 0.20796741545200348, 0.5944714546203613, -0.8806124925613403, -0.05593673139810562, -0.743651807308197, 0.009141444228589535, -0.522297203540802, -0.6136475801467896, -0.519325852394104, -0.4223214089870453, -0.15732383728027344, -0.5820847749710083, 0.32529324293136597, 0.5539794564247131, 0.8135627508163452, 0.1402350217103958, -0.07594453543424606, -0.330972820520401, -0.47572237253189087, 0.8314019441604614, -0.41956445574760437, 0.39375385642051697, -0.09461943060159683, 0.37257257103919983, -0.5989050269126892, -0.8469027280807495, -0.4375765025615692, 0.18854396045207977, -0.1357443481683731, -0.10807769000530243, 0.08439633995294571, 0.010426759719848633, 0.107363760471344, 0.6255102157592773, -0.7569224238395691, 0.02841784618794918, -0.2456309050321579, -0.38795173168182373, 0.6565690040588379, 0.05942973494529724, 0.10056890547275543, -0.38204118609428406, -0.22389067709445953, -0.06228585168719292, -0.9023852348327637, -0.09528352320194244, 0.4288718104362488, 0.4484967887401581, 0.25513365864753723, 0.46424925327301025, -0.2238280028104782, 0.5078427195549011, 0.2705168128013611, 0.038435522466897964, 0.1910213828086853, -0.5580476522445679, -0.10337427258491516, 0.1565103381872177, 0.7146319150924683, 0.03331778571009636, -0.26569607853889465, -0.1525358259677887, -0.3258413076400757, 0.23450233042240143, -0.02315278723835945, -0.8841986060142517, -0.1424226462841034, 0.3077741265296936, -0.45866161584854126, -0.36996757984161377, -0.3149290382862091, -1.0522525310516357, -0.25431516766548157, -0.036411914974451065, 0.2871714234352112, -0.3179646134376526, -0.2882530689239502, -0.21981818974018097, -0.24759727716445923, 0.38877636194229126, -0.07020604610443115, -0.6766188144683838, 0.26567766070365906, 1.014356017112732, 1.0873922109603882, -0.1943397969007492, 0.21815726161003113, -1.4018436670303345, 0.2471332997083664, -0.6230444312095642, 0.8043339848518372, -0.7921292185783386, -0.571697473526001, -0.19540803134441376, -0.4200592637062073, 0.33046165108680725, -0.5327867865562439, 0.6041749715805054, -1.0874395370483398, 0.189025416970253, -0.23942066729068756, -0.4747850000858307, 0.2603250741958618, -0.322567880153656, -0.5394978523254395, 1.0285507440567017, -0.0823013186454773, -0.8083153963088989, 0.42826181650161743, -0.5039315223693848, -0.3743076026439667, 0.5113425850868225, -0.26452288031578064, -0.7077816724777222, 0.28634706139564514, 0.2289937436580658, 0.24096064269542694, -0.420181542634964, 0.5870668292045593, -0.2839551270008087, -0.6422116756439209, -0.3314945697784424, -0.11062317341566086, 0.8776770830154419, 0.9293119311332703, -0.12019485980272293, -0.13952721655368805, -0.8452199101448059, 0.40365371108055115, -0.032045550644397736, -0.5206964612007141, -0.4491698741912842, -0.1142207533121109, 0.0003387266187928617, 0.028903432190418243, 0.43300071358680725, -0.3775066137313843, 0.26291948556900024, -0.41381561756134033, -0.07967332005500793, 0.6404324769973755, -0.05506400018930435, 0.6296793818473816, -0.4589301645755768, 0.6846592426300049, -0.23766838014125824, -0.10845877230167389, -0.3468746542930603, -0.3456900417804718, -0.9109743237495422, -0.4655018150806427, 0.5508339405059814, 0.17045998573303223, -1.0357604026794434, 0.4933393895626068, -0.270285040140152, -0.5358485579490662, -0.6213814616203308, 0.10787627846002579, 0.7881274223327637, 0.3200262784957886, 0.13899871706962585, -0.9549919366836548, -0.8085794448852539, -0.4348270893096924, -0.46202459931373596, 0.00920839048922062, 0.027878817170858383, 0.36537644267082214, 0.05498102307319641, -0.0347328744828701, 0.9682955741882324, -0.3743307590484619, 0.1650274395942688, 0.12380426377058029, 0.47790929675102234, 0.32496464252471924, 0.5094704031944275, 0.4554976224899292, -0.5546842217445374, -0.7583658695220947, -0.012787580490112305, -0.6148442029953003, -0.6833562254905701, 0.31824350357055664, -0.31078964471817017, 0.4650340974330902, 0.4423075020313263, -0.22855225205421448, 0.3482417166233063, 0.6261072754859924, -0.36224472522735596, 0.6140027046203613, -0.30357620120048523, 0.052484557032585144, -0.986346960067749, 0.22289451956748962, -0.5957803726196289, -0.3261357247829437, -0.3797289729118347, 0.41012969613075256, -0.08583185821771622, -0.3056281507015228, -0.3891597390174866, 0.5190845131874084, -0.7552111744880676, -0.5256837606430054, -0.36719638109207153, -0.1588917374610901, 0.24275392293930054, 0.31319281458854675, -0.5108627676963806, 1.323348879814148, 0.4451953172683716, -0.6994300484657288, 0.22523973882198334, -0.06579264253377914, -0.31507933139801025, 0.7785791158676147, -0.6676907539367676, 0.5137220621109009, -0.1988876760005951, 0.2642655074596405, -0.7907993793487549, -0.2714252769947052, 0.04497852921485901, -0.46800121665000916, 0.2566782832145691, -0.16326601803302765, -0.6892590522766113, 0.006457317620515823, -0.15673114359378815, 0.5043255686759949, 0.6523275971412659, -0.7722834348678589, 0.4331582188606262, 0.5254056453704834, -0.346889853477478, -0.5361604690551758, -0.25914639234542847, 0.3429740071296692, -0.22988393902778625, -0.7712454199790955, 0.5636991858482361, 0.016470354050397873, -0.2697148025035858, -0.020334873348474503, 0.23588021099567413, 0.015974119305610657, 0.014869129285216331, -0.19895663857460022, 0.03775005042552948, -0.018537238240242004, 0.48116543889045715, 0.31534722447395325, -0.20065553486347198, -0.4258376657962799, -0.499248206615448, 0.9184812307357788, 0.14037922024726868, -0.16640321910381317, -0.3071933388710022, 0.5168673992156982, 0.27580034732818604, -0.5292724967002869, 0.5114725232124329, 0.5930663347244263, 0.06193718686699867, -0.27887600660324097, -0.3519153892993927, 0.04116228222846985, -0.5149075984954834, -0.05672512203454971, -0.7746316194534302, -0.6989700198173523, 0.4704584777355194, -0.2715390622615814, 0.0838785469532013, 0.22953106462955475, 0.5542107224464417, -0.047606322914361954, 0.8598729968070984, 0.5146588087081909, 0.09075625240802765, 0.788053572177887, -0.3112029731273651, 0.18056543171405792, -0.8024151921272278, -0.02879798598587513, -0.6367385983467102, -0.3097385764122009, -0.8271985650062561, -0.6795876026153564, 0.5322980284690857, 0.2882555425167084, -0.3742195963859558, 0.15091398358345032, -0.7957828044891357, 0.2594977021217346, 0.8419027328491211, -0.12577824294567108, 0.5939863920211792, 0.3062562644481659, -0.5124760866165161, 0.05796937271952629, -1.0688210725784302, -0.36996176838874817, 1.2504974603652954, 0.01821776106953621, 0.8556973934173584, 0.3487513065338135, 1.11627197265625, 0.3986244201660156, -0.0799388587474823, -0.41257208585739136, 0.5907383561134338, -0.14406660199165344, -0.5377210378646851, -0.051878441125154495, -0.49390920996665955, -1.2628952264785767, 0.21371150016784668, -0.09597872942686081, -0.27600252628326416, 0.3322131633758545, 0.15005244314670563, -0.22191129624843597, -0.05049394443631172, -0.8619271516799927, 0.1699642390012741, -0.2754381000995636, -1.0067460536956787, -0.48783114552497864, -0.39009523391723633, 0.3182731866836548, -0.16872699558734894, 0.29602372646331787, 0.18975360691547394, -0.07560349255800247, 0.6447471380233765, -0.7621713876724243, 0.18463978171348572, -0.322610080242157, -0.13121838867664337, 0.5296476483345032, 0.14538803696632385, 0.8524007201194763, -0.05161289498209953, -0.21340994536876678, -0.09556117653846741, -0.21533171832561493, -0.6233122944831848, -0.5978472232818604, 0.9835143685340881, -0.5383599400520325, -0.5701383352279663, -0.5393851399421692, -0.4986759424209595, 0.15419518947601318, 0.35451066493988037, -0.08612366020679474, 0.40250328183174133, 0.06457898020744324, 0.19079118967056274, 0.47439855337142944, -0.4339931607246399, 0.44333046674728394, 0.23952889442443848, -0.51181960105896, -0.5573041439056396, 1.1591497659683228, 0.37753042578697205, 0.27364110946655273, 0.19072982668876648, 0.18064236640930176, -0.30350789427757263, -0.5347339510917664, -0.08285194635391235, 0.28278207778930664, -0.2466520220041275, -0.16167543828487396, -0.4161689877510071, -0.05219141021370888, -0.6320861577987671, -0.13836044073104858, -0.24531103670597076, -0.4675139784812927, -0.2512277364730835, 0.5681400895118713, 0.43921545147895813, 0.49297577142715454, -0.3224773108959198, 0.4697171151638031, -0.6053065657615662, 0.49484220147132874, 0.20006534457206726, 0.849956214427948, -0.07273450493812561, -0.4009239077568054, -0.2771461606025696, -0.21190457046031952, -0.5050201416015625, -0.5184924006462097, 0.5552777647972107, 0.25314491987228394, 0.3201962411403656, -0.06938064843416214, 0.14535728096961975, 0.9072533845901489, -0.6012322306632996, 0.4944387674331665, 0.03656730800867081, -0.856411874294281, 0.3275260627269745, -0.39758577942848206, 0.29952362179756165, 0.17304150760173798, 0.016188109293580055, -0.4096379280090332, -0.17303986847400665, -0.5579927563667297, -0.8709990978240967, 0.3862878382205963, 0.3581620156764984, -0.318673312664032, 0.1439075618982315, 0.29118478298187256, 0.14951977133750916, 0.22187922894954681, 0.018462494015693665, -0.04359831288456917, 0.022587817162275314, -0.09138958901166916, -0.02266460284590721, -0.27670925855636597, -0.046692222356796265, 0.0876857116818428, 0.7481523156166077, -0.2784286439418793, 0.4434564411640167, 0.07756494730710983, 0.01711495965719223, -0.19688569009304047, 0.3911609649658203, 0.14436261355876923, 0.6200708150863647, -0.2962006628513336, 0.0431511364877224, -0.12182480096817017, -0.2072494626045227, 0.34483009576797485, 0.18780408799648285, -0.3805357813835144, 0.3563039302825928, -0.09610715508460999, 0.567289412021637, -0.11260837316513062, -0.44186046719551086, 0.19375045597553253, -0.28601619601249695, 0.20836760103702545, -0.299672931432724, 0.14634793996810913, -0.038692839443683624, 0.4230386018753052, 0.5411218404769897, -0.08240290731191635, 0.19071388244628906, -0.49319955706596375, 0.45676228404045105, 0.6535806059837341, 0.22972649335861206, -0.17094044387340546, 0.839747965335846, 0.4191897511482239, -0.7895725965499878, 0.05635116621851921, -0.5061325430870056, -0.1033715009689331, 0.22805695235729218, 0.24366945028305054, 0.8638104200363159, -0.07014048844575882, -0.046957917511463165, 0.25372087955474854, -0.2450972944498062, 0.14034302532672882, 0.5242738127708435, -0.18749500811100006, -0.19369399547576904, -0.7158183455467224, -0.8847405314445496, -0.4370463192462921, -0.11626948416233063, -0.41438135504722595, 0.5851409435272217, -0.3587159514427185, -0.17729558050632477, -0.2234497219324112, 0.435324490070343, -0.7381393313407898, 0.07923194020986557, -0.20976974070072174, 0.6400138139724731, -0.30739864706993103, 0.7484499216079712, 0.2735137641429901, -0.3437122702598572, -0.5907473564147949, -0.09950393438339233, -0.2023378610610962, -0.6750614643096924, 0.7859225869178772, -0.22551481425762177, -0.3208461105823517, 0.20573312044143677, -0.4218989908695221, -1.123751163482666, 1.1115200519561768, 0.43744319677352905, -0.8858619332313538, -0.13395707309246063, -0.0626671090722084, 0.6978447437286377, -0.3455013036727905, 0.4398793876171112, 0.44691723585128784, 0.13501635193824768, 0.2557562291622162, -1.0650153160095215, -0.08611802756786346, -0.1810273826122284, 0.1869833618402481, 0.105186328291893, -0.9349450469017029, 0.8555887341499329, 0.0794767513871193, -0.5634775757789612, 0.21218855679035187, 0.7532888054847717, 0.7935507893562317, 0.49712708592414856, 0.385932058095932, 0.7130420207977295, 0.9151322841644287, 0.062142182141542435, 0.9226235747337341, -0.7384077310562134, 0.4349760413169861, 1.1724908351898193, -0.12312597781419754, 0.8123061060905457, 0.7528179883956909, -0.04240282624959946, 0.5219525694847107, 0.4062047302722931, 0.5643025636672974, 0.6457743644714355, 0.3458823263645172, -0.540932297706604, 0.06885223090648651, -0.5571955442428589, -0.5500175952911377, 0.38897576928138733, 0.310726135969162, -0.3989522159099579, -0.1647714376449585, -0.2681054472923279, 0.03822315111756325, 0.10354136675596237, -0.1516517698764801, 0.7195798754692078, -0.11608078330755234, -1.049455165863037, 1.0144433975219727, -0.13790898025035858, 0.8314502239227295, -0.027584608644247055, -0.2037821263074875, -0.34818100929260254, 0.18311844766139984, -0.12755148112773895, -0.38773390650749207, 0.39588436484336853, 0.03420567512512207, 0.057514872401952744, -0.3287440240383148, 0.7998613715171814, -0.3550699055194855, -0.4384085237979889, 0.2284737378358841, 0.5605295300483704, 0.29113033413887024, 0.30706027150154114, -0.5410058498382568, 0.49470266699790955, -0.4821620583534241, 0.05980139970779419, 0.2231370210647583, 0.4515824019908905, -0.0779770240187645, 0.48803022503852844, 0.689512312412262, 0.4320552945137024, 0.4596613645553589, -0.09364922344684601, 1.0675640106201172, -0.5386176109313965, -0.6199113130569458, -0.2551940679550171, 0.21855857968330383, -0.12302926927804947, 0.3302314281463623, 0.6072770357131958, 0.7192105650901794, 0.8789666295051575, 0.239190474152565, 1.0139594078063965, -0.28975528478622437, 0.9206792116165161, -0.41011327505111694, 0.5699731111526489, -0.5708715915679932, 0.5359585285186768, -0.28374674916267395, -0.8856425881385803, -0.2928549349308014, 0.20304808020591736, -0.2280646711587906, -0.07454849034547806, 0.5367729663848877, 1.33146333694458, -0.012856623157858849, -0.4155593514442444, 0.3196461796760559, 0.033676858991384506, 1.0043781995773315, 0.5958989262580872, 0.520124614238739, -0.6989578008651733, 0.7251802682876587, 0.0377841480076313, -0.23476868867874146, -0.48368263244628906, -0.7305242419242859, -0.5365780591964722, -0.43715816736221313, 0.06717408448457718, -0.36512136459350586, 0.6319787502288818, 0.8073880672454834, 0.6124956011772156, -0.564489483833313, -0.39166611433029175, -0.4986328184604645, 0.08466228097677231, 0.0273283701390028, -0.2661852538585663, 0.3033604025840759, -0.920822262763977, -0.9308648109436035, 0.4003303349018097, 0.19247685372829437, -0.34331879019737244, -0.5426627397537231, -0.3690413236618042, -0.4882211983203888, 0.06911527365446091, 0.4798297882080078, 0.296785831451416, -0.5246752500534058, -0.49165841937065125, 0.010221595875918865, -0.12057933956384659, 0.23489797115325928, 0.9441778659820557, -1.2840510606765747, 1.0838918685913086, 1.057377815246582, 0.8178231120109558, 0.5321780443191528, 0.05292944982647896, 0.7439007759094238, -0.8358433246612549, 0.1960611641407013, 0.14101329445838928, 0.24023346602916718, 0.28562918305397034, -0.29459622502326965, 0.34605348110198975, 0.39632725715637207, -0.8884055018424988, -0.7668611407279968, 0.36447301506996155, -0.5440046787261963, 0.00507438275963068, 0.9841498732566833, -0.09640525281429291, -0.33939433097839355, -0.3989270031452179, -0.34751319885253906, 0.48771631717681885, -0.6965714693069458, 0.8526310920715332, 0.3951801359653473, -0.12933871150016785, -0.259086549282074, -0.14993755519390106, 0.4562458395957947, 0.7372850179672241, -0.507447361946106, -0.2355310469865799, 0.6132732033729553, -0.09502176195383072, 0.3391585946083069, 0.7252413630485535, -0.08883314579725266, 0.4025611877441406, 0.11874065548181534, 0.05866246297955513, -0.0340835303068161, -0.3164623975753784, -0.30217376351356506, 0.5602492094039917, 0.1911526322364807, -0.2823488712310791 ]
http://arxiv.org/abs/2403.05640v1
http://arxiv.org/pdf/2403.05640v1
Generating Hard-Negative Out-of-Scope Data with ChatGPT for Intent Classification
2024-03-08T19:25:00
2024-03-08T19:25:00
Zhijian Li, Stefan Larson, Kevin Leach
cs.CL
cs.CL
Intent classifiers must be able to distinguish when a user's utterance does not belong to any supported intent to avoid producing incorrect and unrelated system responses. Although out-of-scope (OOS) detection for intent classifiers has been studied, previous work has not yet studied changes in classifier performance against hard-negative out-of-scope utterances (i.e., inputs that share common features with in-scope data, but are actually out-of-scope). We present an automated technique to generate hard-negative OOS data using ChatGPT. We use our technique to build five new hard-negative OOS datasets, and evaluate each against three benchmark intent classifiers. We show that classifiers struggle to correctly identify hard-negative OOS utterances more than general OOS utterances. Finally, we show that incorporating hard-negative OOS data for training improves model robustness when detecting hard-negative OOS data and general OOS data. Our technique, datasets, and evaluation address an important void in the field, offering a straightforward and inexpensive way to collect hard-negative OOS data and improve intent classifiers' robustness.
[ -0.3700646460056305, -0.5735160708427429, 0.6017062067985535, -0.4466283619403839, -0.07398296147584915, -0.3058723509311676, -0.24309644103050232, -0.3679918050765991, -0.0259078498929739, 0.5985682606697083, -0.6004099249839783, -0.6102178692817688, -0.5092629194259644, -0.2026905119419098, -0.42747366428375244, 1.2277281284332275, 0.13615652918815613, -0.12678951025009155, -0.06794212013483047, -0.16893696784973145, -0.9296523928642273, -0.5687567591667175, -0.4806680977344513, -0.2971574664115906, -0.04128069430589676, 1.0352427959442139, 0.4267892837524414, 0.0021006951574236155, 0.5755984783172607, 0.20122654736042023, 0.2664163410663605, 0.03967069461941719, -0.7364638447761536, 0.2331816405057907, 0.011600234545767307, -0.26733630895614624, -0.5103193521499634, -0.008320886641740799, 0.37874284386634827, 0.49379774928092957, -0.1735639125108719, 0.32265928387641907, -0.040776051580905914, 0.47885504364967346, -0.6262937784194946, 0.39999645948410034, -0.7532405257225037, 0.14347606897354126, -0.48684123158454895, -0.2511926293373108, -0.568505048751831, -0.27575933933258057, 0.3282310664653778, -0.43012985587120056, 0.4054833948612213, -0.14462082087993622, 0.7101877927780151, 0.09628543257713318, -0.2675026059150696, -0.6843627691268921, -0.7574777603149414, 0.7523549199104309, -0.7366716861724854, 0.4329560399055481, 0.4777557849884033, 0.41267454624176025, -0.40615782141685486, -0.19782184064388275, -0.4952598810195923, -0.3590961694717407, -0.0046000005677342415, 0.19692362844944, -0.033873941749334335, 0.1490539014339447, 0.280577152967453, 0.35092517733573914, -0.4267880916595459, -0.10328309237957001, -0.5438007116317749, -0.13179756700992584, 0.703960657119751, 0.0436147004365921, 0.059217579662799835, -0.22124794125556946, -0.14087867736816406, -0.23419371247291565, -0.6601276397705078, 0.03619150072336197, 0.48975807428359985, 0.5884963870048523, 0.09312774240970612, 1.0832494497299194, -0.3626566231250763, 0.39228591322898865, 0.1777781993150711, -0.0576794296503067, 0.44965672492980957, 0.02189532108604908, -0.11349700391292572, 0.41453924775123596, 0.6809977889060974, 0.2447649985551834, 0.018976911902427673, -0.42639318108558655, -0.2691252529621124, 0.2111230194568634, 0.15355104207992554, -0.828803300857544, 0.11144731193780899, 0.32599765062332153, -0.2578980624675751, -0.29199379682540894, 0.09094664454460144, -0.37745416164398193, -0.5795498490333557, -0.19129684567451477, 0.6563054323196411, -0.5310195088386536, -0.15283255279064178, 0.3629625737667084, -0.29263728857040405, 0.21964585781097412, 0.14739130437374115, -0.7286196351051331, 0.4002104103565216, 0.7302502989768982, 0.675305187702179, -0.05020320042967796, -0.2015533596277237, -0.8454281091690063, -0.12529829144477844, -0.15357591211795807, 0.5700772404670715, -0.39476877450942993, -0.3481910824775696, -0.14157643914222717, -0.12431806325912476, -0.1186947226524353, -0.4719209671020508, 0.8348664045333862, -0.5611070990562439, 0.5562343001365662, 0.03289150446653366, -0.9012226462364197, -0.4045107960700989, 0.3318188786506653, -0.3113441467285156, 0.7277961373329163, 0.12029312551021576, -0.4258955419063568, 0.7329501509666443, -1.1405266523361206, -0.39145427942276, 0.24437537789344788, -0.3797588348388672, -0.7377089262008667, 0.14459627866744995, -0.1270330548286438, 0.588716983795166, -0.15139126777648926, 0.26225489377975464, -0.4942207634449005, -0.5154123902320862, 0.28089675307273865, -0.6366993188858032, 0.6047630906105042, 0.03349708393216133, -0.46156254410743713, -0.2353082150220871, -0.7279635667800903, 0.150589719414711, -0.005767388269305229, -0.2078789919614792, -0.36358731985092163, 0.2943752706050873, -0.2322455197572708, 0.0709981843829155, 0.060720134526491165, -0.9271682500839233, 0.2756927013397217, -0.3286082446575165, 0.50443035364151, 0.48900988698005676, -0.10513615608215332, 0.4302610456943512, -0.23994670808315277, 0.2956315875053406, 0.013187343254685402, 0.24954910576343536, 0.04231351241469383, -0.7593762874603271, -0.5355342030525208, -0.01305944100022316, -0.03253660723567009, 0.4959432780742645, -0.5020592212677002, 0.5112799406051636, -0.4898689389228821, -0.4258924126625061, -0.09796198457479477, 0.1226605698466301, 0.3796063959598541, 0.8508940935134888, 0.3818167746067047, -0.6214597225189209, -0.27193862199783325, -0.30849263072013855, 0.008882765658199787, -0.3679491877555847, -0.0804753229022026, 0.8395406007766724, 0.49627357721328735, -0.33033767342567444, 1.1465779542922974, -0.7322219610214233, -0.6541677117347717, 0.034953612834215164, 0.37485837936401367, 0.25109919905662537, 0.22893714904785156, 0.2566549479961395, -0.9459766149520874, -0.19628086686134338, -0.16099512577056885, -0.5240416526794434, -0.05351127311587334, 0.07625783234834671, 0.06990387290716171, 0.14721666276454926, 0.528014063835144, -0.561303436756134, 0.42269471287727356, 0.4425065219402313, -0.545894205570221, 0.31202709674835205, 0.006805467419326305, 0.15176378190517426, -0.747525155544281, 0.03710328787565231, -0.2860371172428131, -0.10346958041191101, -0.6900432109832764, -0.3801785409450531, 0.00175357679836452, -0.3853199779987335, -0.8320016264915466, 0.38106587529182434, -0.2114471197128296, 0.026391243562102318, -0.023236550390720367, 0.051828861236572266, -0.04383952170610428, 0.5295581221580505, 0.35242587327957153, 0.5776039361953735, 0.32984843850135803, -0.644111692905426, 0.3275195062160492, 0.28492066264152527, -0.28792768716812134, 0.5157268643379211, -0.31575480103492737, 0.24059493839740753, -0.10348633676767349, 0.39138439297676086, -1.2229949235916138, -0.5960845351219177, 0.7330011129379272, -0.3967285454273224, 0.2105547934770584, -0.690513551235199, -0.06104940548539162, -0.2972111999988556, -0.46227186918258667, 0.607705295085907, 0.45779314637184143, -0.5216975212097168, 0.24979017674922943, 0.5523455142974854, 0.1811554729938507, -0.3319399952888489, -0.7784017324447632, -0.03308485075831413, -0.49255838990211487, -0.49198833107948303, 0.24047888815402985, 0.15242093801498413, 0.10050541907548904, -0.09150242805480957, 0.2432134747505188, -0.2508503794670105, -0.21269187331199646, 0.5678023099899292, 0.14740419387817383, -0.2658272385597229, 0.44289538264274597, -0.18203239142894745, -0.06516575813293457, 0.04442058131098747, -0.347817063331604, 0.6719173789024353, -0.2991575300693512, -0.7863478660583496, -0.42409664392471313, 0.19113104045391083, 0.6173065304756165, 0.19930008053779602, 0.3297436833381653, 0.47733208537101746, -0.188455268740654, 0.12461164593696594, -0.5450376272201538, -0.29076358675956726, -0.4914807975292206, 0.15579134225845337, -0.02716841548681259, -0.45619648694992065, 0.2071685940027237, 0.1252290904521942, 0.0645872950553894, 0.152723029255867, 0.2149803787469864, 0.04570424556732178, 0.9377790689468384, 0.4072849154472351, 0.08265727013349533, 0.7221764922142029, -0.3561563193798065, 0.11480585485696793, -0.7923234701156616, 0.16780735552310944, -0.18150240182876587, -0.07868315279483795, -0.709873616695404, -0.20570605993270874, 0.36480802297592163, -0.25950488448143005, -0.22739554941654205, 0.4456891715526581, -0.7237786054611206, 0.5187063813209534, 0.5396865010261536, 0.37757089734077454, 0.30640774965286255, -0.1868378221988678, 0.6826754808425903, 0.21241538226604462, -0.4444916248321533, -0.4773738384246826, 1.4726886749267578, 0.2519500255584717, 0.7811988592147827, 0.3195606470108032, 1.020874261856079, 0.37275081872940063, 0.5056886076927185, -1.371350646018982, 0.3947787284851074, -0.3768717050552368, -0.8411905169487, -0.6395044922828674, -0.5395272374153137, -0.8317574262619019, -0.041268471628427505, 0.064523845911026, -0.7663130164146423, 0.362454891204834, 0.3289673626422882, -0.5547471046447754, 0.17367441952228546, -1.4169074296951294, 0.899593710899353, -0.020628446713089943, 0.0040982007049024105, 0.3562512695789337, -0.39968129992485046, 0.38248008489608765, 0.005120500922203064, -0.07118991762399673, -0.21054162085056305, 0.2756252586841583, 0.7689133286476135, -0.37748420238494873, 1.062114953994751, -0.5398960113525391, -0.23374634981155396, 0.7693700790405273, -0.01066482812166214, 0.5562322735786438, 0.2482302486896515, -0.0505792461335659, 0.4346812963485718, -0.24888768792152405, -0.031974829733371735, -0.185988187789917, 0.3261880576610565, -0.6190594434738159, -0.25757238268852234, -0.3173833191394806, -0.34104064106941223, -0.4267233908176422, 0.3811485171318054, 0.6316502690315247, 0.5272611379623413, -0.243934765458107, 0.24428650736808777, 0.532849133014679, -0.05991210415959358, 0.1794660985469818, 0.5068386793136597, 0.1479029655456543, 0.07736081629991531, 1.1978994607925415, 0.34076908230781555, 0.1737387776374817, 0.3121315836906433, 0.34149113297462463, -0.5172292590141296, -0.4881371259689331, -0.6131789684295654, -0.26681721210479736, -0.47521069645881653, -0.3917616307735443, -0.2894804775714874, -0.35243991017341614, -0.3750978410243988, -0.06923647969961166, -0.4717746078968048, -0.3382645547389984, -0.14477278292179108, 0.40799352526664734, 0.30289849638938904, 0.5733791589736938, -0.04402593895792961, 0.39658522605895996, -0.7464987635612488, 0.41053304076194763, 0.4307001233100891, 0.38931652903556824, -0.3418637812137604, -0.45528584718704224, 0.15232130885124207, 0.3727826774120331, -0.5830119252204895, -0.714459240436554, 0.2780061662197113, 0.4156445860862732, -0.011109240353107452, 0.44835880398750305, 0.20254409313201904, 0.4865831434726715, -0.4813764989376068, 0.6619200110435486, 0.2355240285396576, -1.0640069246292114, 0.5169435739517212, -0.5457203388214111, 0.19322074949741364, 0.6884835362434387, 0.12248525023460388, -0.6093615293502808, -0.3462371230125427, -0.49061688780784607, -0.9323065280914307, 1.3443995714187622, 0.45699194073677063, 0.19706173241138458, 0.002199906390160322, 0.20273591578006744, 0.398055762052536, 0.2320774495601654, -0.6697384119033813, 0.09631741046905518, -0.24653561413288116, -0.08836153149604797, -0.2026452124118805, 0.031998757272958755, -0.19322188198566437, 0.17077498137950897, 0.711018443107605, -0.23721885681152344, 0.4395217001438141, 0.17422902584075928, -0.2532340884208679, -0.1311120092868805, 0.5769045948982239, 0.5857810378074646, 0.20554114878177643, -0.6529914736747742, -0.22027908265590668, 0.3156900703907013, -0.9206799268722534, 0.2808343768119812, 0.02818954363465309, -0.1099223643541336, -0.1858665645122528, 0.009730496443808079, 0.44026994705200195, -0.18805472552776337, -0.7103236317634583, 1.002751350402832, -0.5440064072608948, -0.17865806818008423, -0.5033320784568787, 0.2783275842666626, -0.39779388904571533, 0.05051681026816368, 0.17655740678310394, 0.3416087031364441, 0.5825720429420471, -0.41108354926109314, 0.031413543969392776, 0.34888654947280884, -0.45764464139938354, -0.23109954595565796, 0.10124450922012329, 0.29411864280700684, -0.14527612924575806, 0.6182782053947449, -0.6606924533843994, -0.32889804244041443, 0.5591338872909546, 0.3111236095428467, 0.9848224520683289, 0.18568994104862213, 0.34100770950317383, 0.025973716750741005, -0.014100312255322933, 0.0005521130515262485, 0.3300974667072296, -0.32045215368270874, -0.8188318610191345, -0.32392290234565735, -0.167825385928154, -0.7246763706207275, 0.5968589782714844, -0.7688509225845337, 0.6838939189910889, -0.10992538183927536, -0.3034193217754364, 0.03125275671482086, -0.10474894195795059, -0.7877347469329834, 0.22369970381259918, 0.4235740005970001, 0.2932117283344269, -0.6949016451835632, 0.4746737778186798, 0.5545870065689087, -0.04133142530918121, -0.5743898153305054, 0.2451428920030594, 0.13858987390995026, -0.7990850806236267, 0.6117671132087708, 0.44498926401138306, -0.47441744804382324, -0.19764681160449982, -0.30573588609695435, -0.7472193241119385, 0.9538503885269165, 0.27899232506752014, -0.6730964183807373, 0.1833946406841278, 0.4186752736568451, 0.405719518661499, -0.026110148057341576, 0.3735392093658447, 0.18939918279647827, 0.3185889720916748, 0.1993112415075302, -0.8130581378936768, 0.0376310795545578, 0.10606551170349121, -0.5486294031143188, 0.5539379119873047, -0.46281641721725464, 0.7934779524803162, -0.15938150882720947, -0.5399752855300903, -0.21648558974266052, 0.11102037876844406, -0.12300942838191986, 0.6520058512687683, 0.6050213575363159, 0.5382100939750671, 0.6582789421081543, -0.16530680656433105, 0.4668472707271576, -0.06825070083141327, 0.6351468563079834, 1.189611554145813, -0.4275398850440979, 0.7831758260726929, 0.3099275529384613, 0.13828246295452118, 0.08813624829053879, 0.354474276304245, 0.190131276845932, 0.6608797311782837, 0.049522075802087784, -0.31944915652275085, -0.07178390026092529, 0.026681900024414062, -0.5646838545799255, 0.9779951572418213, 0.5871616005897522, -0.11035747826099396, -0.44079428911209106, 0.08633322268724442, -0.21161220967769623, -0.6610314846038818, -0.15303292870521545, 0.9327468872070312, -0.16025526821613312, -0.8551051616668701, 0.7023542523384094, -0.2235678732395172, 0.8159368634223938, -0.460891455411911, -0.042829062789678574, 0.00396358547732234, 0.5433329343795776, -0.39698469638824463, -0.9795494079589844, 0.37444406747817993, 0.12723127007484436, -0.012302644550800323, -0.08317529410123825, 0.8463878631591797, -0.3004988729953766, -0.10630181431770325, 0.1253976672887802, 0.3222897946834564, 0.30176854133605957, -0.16542068123817444, -0.42322683334350586, -0.2641054093837738, -0.23277360200881958, -0.2808631956577301, 0.014375710859894753, 0.5886567831039429, -0.14152109622955322, 0.4100940227508545, 0.7485706806182861, -0.13925737142562866, -0.07422272861003876, 0.0891004353761673, 0.8587461113929749, -0.5328466296195984, -0.405637264251709, -0.8570974469184875, 0.12005499750375748, -0.04775305092334747, -0.6931140422821045, 0.564970850944519, 0.4541749060153961, 0.9236231446266174, 0.0458778440952301, 0.8799798488616943, -0.49990612268447876, 0.4777742028236389, -0.2900073230266571, 0.629709780216217, -0.4337044060230255, 0.2408466637134552, -0.21244078874588013, -0.6395960450172424, -0.2667348086833954, 0.32446083426475525, -0.8071208000183105, 0.07402107864618301, 0.14640465378761292, 0.7682544589042664, -0.6287480592727661, 0.2355547696352005, 0.23045377433300018, 0.0331139899790287, 0.6482996940612793, 0.696449339389801, 1.003039002418518, -0.7470840215682983, 0.9205177426338196, -0.31549060344696045, -0.392646461725235, -0.5642661452293396, -0.9417299032211304, -0.8388156294822693, -0.5557888746261597, -0.22847473621368408, -0.27390843629837036, -0.032348647713661194, 0.7298527956008911, 0.9950172305107117, -0.9196502566337585, -0.21986399590969086, -0.71144700050354, 0.04387024790048599, 0.0038144364953041077, -0.36454761028289795, 0.23853106796741486, -0.45129701495170593, -0.47634202241897583, 0.2636720538139343, 0.13138937950134277, 0.05529990792274475, 0.00615445151925087, -0.2042204588651657, 0.17840194702148438, 0.09411595016717911, 0.6781915426254272, 0.568506121635437, -0.12269532680511475, -0.4229484498500824, -0.030062329024076462, -0.016558639705181122, 0.15467427670955658, 0.5917063355445862, -0.5681396722793579, 0.4801635444164276, 0.41796618700027466, 0.15550237894058228, 0.4026351273059845, -0.013689938001334667, 0.23326405882835388, -1.031084418296814, 0.047140609472990036, 0.6563223004341125, 0.10691981762647629, 0.24066105484962463, -0.5679882168769836, 0.36029931902885437, -0.057803720235824585, -0.6800240278244019, -0.979434609413147, 0.19250142574310303, -0.8437209725379944, 0.014669445343315601, 1.2761038541793823, -0.041446503251791, -0.17983904480934143, -0.38154688477516174, -0.526631236076355, 0.10401878505945206, -0.780042290687561, 1.1389135122299194, 0.5852760672569275, -0.6374139189720154, 0.6543484926223755, -0.2852354049682617, 0.4762440323829651, 0.28465110063552856, -0.7689664959907532, 0.21718847751617432, 0.40805384516716003, 0.22368177771568298, 0.4789619743824005, 0.7053461074829102, -0.09053575247526169, 0.34662380814552307, -0.10010857880115509, -0.03736665099859238, 0.024515239521861076, -0.20312446355819702, 0.046911366283893585, 0.13749177753925323, -0.13940571248531342, -0.703669011592865 ]
http://arxiv.org/abs/2403.05636v1
http://arxiv.org/pdf/2403.05636v1
Tuning-Free Accountable Intervention for LLM Deployment -- A Metacognitive Approach
2024-03-08T19:18:53
2024-03-08T19:18:53
Zhen Tan, Jie Peng, Tianlong Chen, Huan Liu
cs.AI
cs.AI, cs.CL
Large Language Models (LLMs) have catalyzed transformative advances across a spectrum of natural language processing tasks through few-shot or zero-shot prompting, bypassing the need for parameter tuning. While convenient, this modus operandi aggravates ``hallucination'' concerns, particularly given the enigmatic ``black-box'' nature behind their gigantic model sizes. Such concerns are exacerbated in high-stakes applications (e.g., healthcare), where unaccountable decision errors can lead to devastating consequences. In contrast, human decision-making relies on nuanced cognitive processes, such as the ability to sense and adaptively correct misjudgments through conceptual understanding. Drawing inspiration from human cognition, we propose an innovative \textit{metacognitive} approach, dubbed \textbf{CLEAR}, to equip LLMs with capabilities for self-aware error identification and correction. Our framework facilitates the construction of concept-specific sparse subnetworks that illuminate transparent decision pathways. This provides a novel interface for model \textit{intervention} after deployment. Our intervention offers compelling advantages: (\textit{i})~at deployment or inference time, our metacognitive LLMs can self-consciously identify potential mispredictions with minimum human involvement, (\textit{ii})~the model has the capability to self-correct its errors efficiently, obviating the need for additional tuning, and (\textit{iii})~the rectification procedure is not only self-explanatory but also user-friendly, enhancing the interpretability and accessibility of the model. By integrating these metacognitive features, our approach pioneers a new path toward engendering greater trustworthiness and accountability in the deployment of LLMs.
[ -0.20837467908859253, -0.6807442903518677, 0.6315944194793701, 0.28561896085739136, -0.1406961977481842, -0.0836939886212349, -0.1991766095161438, -0.3006844222545624, 0.1622675210237503, 0.7082319855690002, -0.7644646167755127, -0.5309231281280518, -0.48971372842788696, -0.004093250259757042, -0.33689019083976746, 0.9979389309883118, -0.15252605080604553, -0.404784232378006, -0.06057699769735336, -0.11273393034934998, -0.9879502654075623, -0.10707995295524597, -0.7652011513710022, -0.44530418515205383, 0.5461727976799011, 0.6642800569534302, 0.6632229089736938, 0.7262455821037292, 0.3509923219680786, 0.29212862253189087, 0.020440079271793365, 0.5219871997833252, -0.3822958171367645, -0.05621828883886337, -0.4664094150066376, -0.419732928276062, -0.741239070892334, -0.0025805465411394835, 0.4474927484989166, 0.7151261568069458, -0.6830845475196838, 0.20327551662921906, 0.33996134996414185, 0.6838365793228149, -1.1125805377960205, 0.0820121318101883, -0.8714276552200317, 0.0418841652572155, 0.21965014934539795, -0.23058205842971802, -0.540481686592102, -0.0836837887763977, -0.14251819252967834, -0.9151557683944702, 0.4046008586883545, -0.027976542711257935, 0.4743625521659851, 0.731218695640564, -0.5133575797080994, -0.3284528851509094, -0.9799795746803284, 0.7174801230430603, -0.5433716177940369, 0.3368279039859772, 0.435251384973526, 0.3338615596294403, -0.2910561263561249, -0.6645610928535461, -0.432600736618042, 0.026544561609625816, -0.08273711055517197, 0.23397763073444366, -0.17043271660804749, 0.3340756893157959, 0.23404210805892944, 0.07696837931871414, -0.40967658162117004, 0.3304188847541809, -0.29249319434165955, -0.5056545734405518, 0.6368135809898376, 0.19406749308109283, -0.015774069353938103, -0.06711473315954208, -0.2345939427614212, 0.2708282768726349, -0.6221467852592468, -0.3759671449661255, -0.02319108508527279, 0.257318913936615, -0.08690663427114487, 0.5567679405212402, -0.43667951226234436, 0.5497477650642395, 0.3381193280220032, 0.09131236374378204, 0.14693346619606018, -0.26701006293296814, -0.576350212097168, 0.29335489869117737, 0.6985813975334167, 0.3214157819747925, 0.4278295338153839, -0.01487055979669094, -0.3858436644077301, 0.18242697417736053, 0.7544785737991333, -0.4862685203552246, -0.18428751826286316, 0.3325698673725128, -0.3499755561351776, -0.30192315578460693, -0.2900662422180176, -0.5948553085327148, -0.693919837474823, -0.25605544447898865, 0.5881760716438293, -0.386963427066803, -0.40432047843933105, 0.3793672025203705, 0.1966371387243271, 0.06109479442238808, 0.37320783734321594, -1.0138638019561768, 0.014178943820297718, 0.7986997365951538, 0.7679761648178101, 0.21642380952835083, -0.15852750837802887, -0.40352416038513184, 0.4783489406108856, -0.5852777361869812, 0.6081564426422119, -0.24364246428012848, -0.4145241975784302, 0.10551363974809647, -0.022820157930254936, -0.218341663479805, -0.639323890209198, 0.8374387621879578, -0.2675277292728424, 0.0326763316988945, -0.05778397247195244, -0.4247933626174927, -0.3009360730648041, 0.32449761033058167, -0.5686704516410828, 0.7321886420249939, -0.016252722591161728, -0.6710229516029358, 0.42786550521850586, -0.9141667485237122, -0.12137998640537262, 0.1094571202993393, -0.15646883845329285, -0.43295928835868835, 0.3725196123123169, 0.21903680264949799, 0.43870025873184204, 0.009466000832617283, 0.31427648663520813, -0.23214736580848694, -0.36092063784599304, 0.1163928210735321, -0.4009915888309479, 0.5672898292541504, 0.2616409957408905, -0.4858785569667816, 0.2753170132637024, -0.8406387567520142, 0.12358295172452927, -0.1332380324602127, 0.03668848052620888, -0.43831974267959595, -0.026900630444288254, -0.33917805552482605, 0.05901488661766052, 0.17109933495521545, -0.2510107755661011, 0.04788915812969208, -0.5190265774726868, 0.387166291475296, 0.9177127480506897, 0.12885522842407227, 0.46187686920166016, -0.15453489124774933, 0.5140465497970581, 0.08627890795469284, 0.5245159864425659, -0.2881389260292053, -0.21405044198036194, -0.8990263342857361, -0.4606722891330719, 0.15853817760944366, 0.5765112042427063, -0.6454655528068542, 0.5391781330108643, -0.1662614494562149, -0.27353525161743164, -0.8042411804199219, 0.2780751585960388, 0.4762188792228699, 0.7327382564544678, 0.4022683799266815, -0.02525164745748043, -0.5955047011375427, -1.0001308917999268, -0.2662573754787445, -0.10633865743875504, 0.0640658289194107, 0.23028212785720825, 0.6482371687889099, -0.7119248509407043, 0.8469176888465881, -0.5405140519142151, -0.5793270468711853, 0.02292364090681076, 0.3716300129890442, 0.11431831121444702, 0.6222890615463257, -0.04402212053537369, -0.6245418787002563, -0.17563457787036896, -0.017088159918785095, -0.8466677069664001, -0.17949864268302917, -0.26995784044265747, -0.040223050862550735, 0.28707289695739746, 0.7025005221366882, -0.6433507800102234, 0.3354780375957489, 0.5592895746231079, -0.23299148678779602, 0.45505666732788086, -0.5997208952903748, -0.12063375860452652, -0.9797464609146118, 0.10447404533624649, -0.45005571842193604, -0.06842605024576187, -0.6465162634849548, 0.04603424668312073, 0.30504530668258667, 0.11556989699602127, -0.27070939540863037, 0.4895803928375244, -0.5521343946456909, 0.1567813903093338, -0.2544337213039398, 0.26031509041786194, -0.08215030282735825, 0.33292141556739807, -0.02687845379114151, 0.7875560522079468, 0.28059104084968567, -0.743217945098877, 0.08978569507598877, 0.234577938914299, -0.30566734075546265, 0.8426938056945801, -0.6170420050621033, 0.13341575860977173, -0.3043883442878723, 0.1530955582857132, -0.9622445106506348, -0.2580389082431793, 0.46949195861816406, -0.23686449229717255, 0.27151066064834595, 0.035136617720127106, -0.2186923325061798, -0.14861752092838287, -0.10204746574163437, 0.4732396900653839, 0.11553705483675003, -0.3155353367328644, 0.7957737445831299, 0.10405774414539337, 0.1932590901851654, -0.7861320376396179, -0.8194015622138977, 0.1745642125606537, -0.11365349590778351, -0.35803067684173584, 0.1356322020292282, -0.08652142435312271, 0.005628319922834635, -0.09495820850133896, -0.29092079401016235, -0.011146476492285728, 0.4475988447666168, 0.3893585503101349, 0.12080423533916473, 0.0026792834978550673, 0.4650645852088928, 0.17225605249404907, -0.46589675545692444, -0.04612273722887039, -0.3516274690628052, 0.046237628906965256, -0.056107643991708755, -0.4695636034011841, -0.42861291766166687, 0.24800588190555573, 0.6947342753410339, -0.32716605067253113, 0.7646401524543762, 0.5874601006507874, -0.46961724758148193, -0.3927154839038849, -0.845786452293396, -0.21039170026779175, -0.5205010771751404, 0.23983576893806458, -0.1929120272397995, -0.8062988519668579, 0.3318374454975128, -0.351468950510025, 0.0686337947845459, 0.3863590657711029, 0.37787842750549316, -0.2780705690383911, 0.9244776964187622, 0.9255172610282898, 0.17226716876029968, 0.4111144542694092, -0.2760814130306244, 0.2363598346710205, -1.0657646656036377, -0.39888080954551697, -0.4082600772380829, -0.16061705350875854, -0.5733535885810852, -0.4453578591346741, 0.5043511986732483, 0.16554109752178192, -0.3390181362628937, 0.006004573777318001, -0.6438056826591492, 0.30714747309684753, 0.28186091780662537, 0.13203482329845428, 0.45633435249328613, -0.31225869059562683, -0.24129503965377808, -0.015598457306623459, -0.787006676197052, -0.4259014129638672, 1.0703169107437134, 0.24407878518104553, 0.7589625120162964, -0.023974584415555, 0.8303517699241638, 0.3148144483566284, 0.5588266849517822, -0.8226475119590759, 0.5011729001998901, 0.11533411592245102, -0.6285756230354309, -0.3390553593635559, -0.4590291976928711, -1.0873512029647827, 0.2356071025133133, -0.470796674489975, -0.5243449807167053, 0.25975659489631653, 0.5395926833152771, -0.43323084712028503, 0.0380275622010231, -0.8071582913398743, 1.0354282855987549, -0.14142702519893646, -0.1344204694032669, -0.5888053178787231, -0.4850141704082489, 0.6061972975730896, -0.35894015431404114, 0.4370115399360657, -0.02659447118639946, -0.3276481628417969, 0.36881500482559204, -0.13138733804225922, 1.065982699394226, -0.3037954866886139, -0.27873092889785767, 0.08222470432519913, 0.11830867826938629, 0.8040742874145508, -0.2960973083972931, -0.08343333005905151, 0.049517203122377396, -0.16340525448322296, -0.2633683681488037, -0.8847212195396423, 0.43705952167510986, -0.5986295342445374, -0.5525611042976379, -0.27458497881889343, -0.5565666556358337, -0.25237107276916504, 0.33477479219436646, 0.1375223994255066, 0.183279886841774, -0.39800187945365906, 0.02723890170454979, 1.0639448165893555, -0.32492995262145996, 0.3491749167442322, 0.9125809073448181, -0.22535797953605652, -0.49588873982429504, 0.6124286651611328, 0.16877010464668274, 0.3758545219898224, 0.386369526386261, 0.17072241008281708, -0.3503933846950531, -0.7279975414276123, -0.1673073172569275, 0.37002408504486084, -0.6349754333496094, -0.30703017115592957, -0.5495057702064514, -0.1732114553451538, -0.27250921726226807, -0.12199375033378601, -0.44044584035873413, -0.3191865086555481, -0.3962705135345459, -0.32374510169029236, 0.11363295465707779, 0.6340196132659912, -0.15608051419258118, 0.5496159791946411, -0.676543653011322, 0.3673448860645294, 0.27389025688171387, 0.5462028980255127, -0.021365653723478317, -0.5115519762039185, -0.5221191644668579, 0.21481464803218842, -0.34089595079421997, -0.7128540873527527, 0.1698380708694458, 0.22185195982456207, 0.6482077240943909, 0.5012222528457642, 0.012544143944978714, 0.8219776749610901, -0.5118502974510193, 0.5025039315223694, 0.16957077383995056, -1.1408289670944214, 0.79319167137146, -0.29267212748527527, 0.37119555473327637, 0.6642975807189941, 0.22815683484077454, -0.7336578965187073, -0.520960807800293, -0.5758781433105469, -0.6300829648971558, 0.5179284811019897, -0.07746833562850952, 0.09992683678865433, -0.04215668886899948, 0.7640722990036011, -0.27324992418289185, 0.37074410915374756, -0.5625607371330261, -0.07544001191854477, -0.2983255982398987, -0.30683034658432007, -0.2685355842113495, -0.4372102618217468, -0.28779247403144836, -0.024993181228637695, 0.7494088411331177, -0.49454182386398315, 0.05689198151230812, 0.42984694242477417, -0.36609137058258057, -0.1494227945804596, 0.5116608142852783, 0.8738706111907959, 0.6915079355239868, -0.07906652241945267, 0.20444847643375397, 0.35741767287254333, -0.3326094448566437, 0.16732405126094818, -0.3304232656955719, -0.3247418999671936, -0.18966351449489594, 0.5108112692832947, 0.7106719613075256, 0.4411585032939911, -0.5170381665229797, 0.4548507332801819, 0.18347398936748505, -0.28853705525398254, -0.19853058457374573, 0.15147490799427032, 0.08968629688024521, 0.29834187030792236, 0.03987910598516464, 0.11276798695325851, 0.2385728359222412, -0.4516315460205078, 0.13517944514751434, 0.6312970519065857, -0.5418480634689331, -0.07675345987081528, 0.6446634531021118, 0.36695513129234314, -0.29819774627685547, 0.6667377352714539, -0.07819462567567825, -0.24408607184886932, 0.3144208788871765, 0.5354806184768677, 1.3466806411743164, -0.5509857535362244, 0.4666728377342224, 0.3221494257450104, 0.7178503274917603, -0.24978576600551605, 0.16161079704761505, -0.06306204199790955, -0.9738336205482483, -0.6217086315155029, -0.378961980342865, -0.3227664828300476, 0.05555043742060661, -0.7054703235626221, 0.054865848273038864, -0.7006285786628723, -0.1555902361869812, -0.3318181335926056, -0.13207267224788666, -0.48627984523773193, 0.30671894550323486, 0.10197232663631439, 1.1170564889907837, -0.858293890953064, 0.7059204578399658, 0.3484247922897339, -0.21779319643974304, -0.7841924428939819, -0.028707008808851242, -0.002842790214344859, -0.8618411421775818, 0.33875322341918945, 0.09592106938362122, -0.41086629033088684, -0.11972660571336746, -0.3799954950809479, -0.636269211769104, 1.2717602252960205, 0.5722225308418274, -0.8625801801681519, -0.017006102949380875, 0.03291822969913483, 0.5962700843811035, -0.36293932795524597, 0.25570887327194214, 0.6387899518013, 0.6469569802284241, -0.022807806730270386, -1.0649144649505615, 0.33981186151504517, 0.2784438133239746, 0.005639933981001377, 0.36381110548973083, -0.6627330183982849, 0.4047348201274872, -0.3930266499519348, -0.36820894479751587, -0.11975111067295074, 0.5555375814437866, 0.05836104229092598, 0.3010708689689636, 0.6850668787956238, 0.5364044904708862, 1.2405478954315186, 0.2244056612253189, 0.7996675372123718, -0.18506848812103271, 0.27527329325675964, 1.3278123140335083, -0.10726772993803024, 0.7300230264663696, 0.5491418838500977, 0.3244672417640686, 0.5954001545906067, 0.31395262479782104, 0.09826420247554779, 0.5874320268630981, -0.0140602458268404, -0.32790470123291016, -0.38313204050064087, -0.1680440902709961, -0.1303456723690033, 0.49770551919937134, 0.47521504759788513, -0.3924294710159302, -0.21029047667980194, -0.019148504361510277, -0.012052253820002079, 0.15374767780303955, -0.537833034992218, 0.9304652810096741, 0.20782795548439026, -0.7926813960075378, 0.764629602432251, 0.07680264115333557, 0.48253217339515686, -0.7250862717628479, -0.03267988562583923, -0.09713214635848999, 0.3161967694759369, -0.5417880415916443, -0.559283971786499, 0.6581048965454102, -0.2567243278026581, -0.40369606018066406, -0.415371298789978, 0.5350901484489441, -0.45414188504219055, -0.4661223292350769, 0.3032781481742859, 0.42661693692207336, -0.12835213541984558, -0.31257522106170654, -0.7515034079551697, 0.05252876132726669, -0.013458741828799248, 0.2520430088043213, -0.05949501693248749, 0.6008621454238892, -0.22046683728694916, 1.0061001777648926, 0.4383825361728668, 0.13837023079395294, -0.15370073914527893, 0.15231433510780334, 0.5067397952079773, -0.7196905612945557, -0.3792329430580139, -0.8336086273193359, 0.5718316435813904, 0.10530751198530197, -0.12506064772605896, 0.5297859907150269, 0.36246272921562195, 0.518352746963501, 0.06927921622991562, 0.6729113459587097, 0.42453786730766296, 0.4303184449672699, -0.5446171760559082, 0.5618330836296082, -0.583766520023346, 0.40354323387145996, -0.18734623491764069, -0.6112188696861267, -0.42064160108566284, 0.5855217576026917, -0.25605857372283936, -0.035425055772066116, 0.6832045316696167, 1.0138098001480103, -0.07446151971817017, -0.16150231659412384, 0.38308700919151306, 0.5166863799095154, 0.29371345043182373, 0.5628346800804138, 0.8315113186836243, -0.2529014050960541, 0.5681918859481812, 0.08486997336149216, -0.3989832401275635, -0.3198336064815521, -1.1559861898422241, -0.6632872819900513, -0.3155401647090912, -0.3086108863353729, -0.2349998950958252, 0.10446174442768097, 0.8424344658851624, 0.7034159302711487, -0.7294402122497559, -0.053956158459186554, -0.3335822522640228, 0.5281032919883728, -0.5186024308204651, -0.1811193823814392, 0.08642356842756271, -0.5837898850440979, -0.33219364285469055, 0.3858139216899872, 0.39567217230796814, -0.02129492722451687, -0.4364325702190399, -0.04614697024226189, 0.028419919312000275, 0.3460463583469391, 0.525094211101532, 0.08218131214380264, -0.7334388494491577, -0.46277129650115967, -0.2574334144592285, -0.05935768410563469, -0.022242676466703415, 0.8791211843490601, -0.7436507940292358, 0.6908617615699768, 0.04249736666679382, 0.5289728045463562, 0.504523754119873, -0.15113148093223572, 0.6802119612693787, -0.650389552116394, -0.04268204793334007, 0.12639181315898895, 0.17086338996887207, 0.4120583236217499, -0.5740829706192017, 0.5905225276947021, 0.03669920936226845, -0.4827885329723358, -0.879109799861908, 0.433169960975647, -0.7889989018440247, -0.18533743917942047, 0.8845489025115967, -0.03132394328713417, 0.02730332501232624, -0.2371193915605545, -0.33727532625198364, 0.3074065148830414, -0.12432079017162323, 1.0545647144317627, 0.6010079383850098, 0.0961943045258522, -0.25882360339164734, -0.45122653245925903, 0.5629558563232422, 0.5435815453529358, -0.8850647807121277, 0.454532653093338, 0.47810712456703186, 0.4055636525154114, 0.22247852385044098, 0.7486152052879333, 0.12625710666179657, 0.2592293918132782, -0.15517762303352356, 0.12203363329172134, -0.23626139760017395, -0.5422238111495972, -0.7701476216316223, -0.008290927857160568, 0.07904922962188721, -0.41516050696372986 ]
http://arxiv.org/abs/2403.09703v2
http://arxiv.org/pdf/2403.09703v2
Concept-aware Data Construction Improves In-context Learning of Language Models
2024-03-08T19:07:47
2024-06-28T08:03:19
Michal Štefánik, Marek Kadlčík, Petr Sojka
cs.CL
cs.CL, cs.AI
Many recent language models (LMs) are capable of in-context learning (ICL), manifested in the LMs' ability to perform a new task solely from natural-language instruction. Previous work curating in-context learners assumes that ICL emerges from a vast over-parametrization or the scale of multi-task training. However, recent theoretical work attributes the ICL ability to concept-dependent training data and creates functional in-context learners even in small-scale, synthetic settings. In this work, we practically explore this newly identified axis of ICL quality. We propose Concept-aware Training (CoAT), a framework for constructing training scenarios that make it beneficial for the LM to learn to utilize the analogical reasoning concepts from demonstrations. We find that by using CoAT, pre-trained transformers can learn to better utilise new latent concepts from demonstrations and that such ability makes ICL more robust to the functional deficiencies of the previous models. Finally, we show that concept-aware in-context learning is more effective for a majority of new tasks when compared to traditional instruction tuning, resulting in a performance comparable to the previous in-context learners using magnitudes of more training data.
[ -0.47567978501319885, -0.8097357749938965, 0.27070093154907227, -0.311417818069458, -0.11128079891204834, 0.24220703542232513, -0.15996840596199036, -0.47014495730400085, -0.08420019596815109, 0.16257081925868988, -0.30795350670814514, -0.4402781128883362, -0.17953160405158997, -0.20673319697380066, -0.5296087265014648, 0.8150858283042908, -0.030726047232747078, -0.11087816953659058, -0.5610295534133911, -0.009915530681610107, -0.29902324080467224, -0.6472905874252319, -0.5309622287750244, -0.45766496658325195, 0.0000858669081935659, 0.7222576141357422, 0.4938162565231323, 0.7653511166572571, 0.07199907302856445, 0.22868160903453827, 0.17441828548908234, 0.3546959459781647, -0.27511510252952576, 0.08857474476099014, -0.3607344925403595, -0.5297228693962097, -0.3222178816795349, 0.2838559150695801, 0.5425078868865967, 0.7921134829521179, -0.19238236546516418, -0.018421510234475136, 0.2395329475402832, 0.6048296093940735, -0.8351912498474121, 0.19669371843338013, -0.8854135274887085, -0.04186924546957016, -0.05442864075303078, -0.18992261588573456, -0.4767461121082306, 0.2722320556640625, 0.2646567225456238, -0.9398311376571655, 0.4067007601261139, -0.049407392740249634, 0.7957532405853271, 0.12986725568771362, -0.2378324568271637, -0.32303106784820557, -0.582411527633667, 0.6694967746734619, -0.6067461967468262, 0.7202190160751343, 0.8158438801765442, 0.17593194544315338, -0.06299734860658646, -0.9433110356330872, -0.7772913575172424, -0.24811296164989471, -0.2908645272254944, 0.11023500561714172, 0.37398961186408997, -0.15907599031925201, 0.2923884391784668, 0.17380428314208984, -0.09197860956192017, 0.2484757900238037, -0.26632368564605713, -0.17644189298152924, 0.4715346097946167, 0.08716236799955368, 0.18625137209892273, -0.10072635859251022, -0.4127424955368042, -0.04644393175840378, -0.9940972924232483, 0.36247897148132324, -0.019151199609041214, 0.46177008748054504, -0.26126331090927124, 0.2964558005332947, -0.2535839080810547, 0.7115764021873474, 0.12797749042510986, -0.2176697552204132, 0.30522605776786804, -0.2150987684726715, -0.06621109694242477, 0.1232176274061203, 0.277548611164093, 0.2673248052597046, 0.09832582622766495, -0.3062998056411743, -0.3685093820095062, 0.07941128313541412, 0.3299124538898468, -0.8472482562065125, -0.2801702916622162, 0.14445742964744568, -0.13002248108386993, -0.14609211683273315, 0.2277827113866806, -0.11364356428384781, -0.2079702615737915, -0.9060115814208984, 0.5252925753593445, -0.7751261591911316, -0.30354368686676025, 0.37511077523231506, -0.07928440719842911, 0.2946900427341461, 0.32566332817077637, -0.9046933054924011, 0.43773123621940613, 0.6524333953857422, 0.6962466835975647, -0.14970560371875763, -0.21460483968257904, -0.7088062763214111, 0.3933367133140564, -0.6119009256362915, 0.5857827067375183, -0.4155898988246918, -0.3225909173488617, -0.10396677255630493, -0.21745572984218597, -0.2682531177997589, -0.7064971327781677, 0.14722386002540588, -0.4530195891857147, 0.17922960221767426, -0.11446667462587357, -0.9049686193466187, 0.14066459238529205, 0.30918118357658386, -0.42942845821380615, 0.9832112193107605, 0.3519626557826996, -0.9598603248596191, 0.6442627310752869, -0.8024101853370667, -0.6376298069953918, 0.0910896509885788, -0.38295111060142517, -0.24682869017124176, 0.04569182172417641, 0.04358351230621338, 0.814332127571106, -0.090325266122818, 0.08936312794685364, -0.23761607706546783, -0.4120510518550873, 0.43075433373451233, 0.1918562948703766, 0.2631336748600006, 0.17071031033992767, -0.3856146037578583, 0.058106131851673126, -0.7157963514328003, 0.13975702226161957, -0.14510324597358704, -0.02085750177502632, -0.5649001002311707, 0.10932520776987076, -0.17594978213310242, 0.4062472879886627, -0.09845983237028122, -0.6020045280456543, -0.18759113550186157, -0.701890230178833, 0.5007923245429993, 0.6323390603065491, -0.15388797223567963, 0.6705807447433472, -0.4736497402191162, 0.41789817810058594, 0.1579040139913559, -0.06303718686103821, -0.16379521787166595, 0.07331144064664841, -0.9049017429351807, -0.5362737774848938, 0.1465594619512558, 0.28906944394111633, -1.0386922359466553, 0.3455667197704315, -0.14439141750335693, -0.40497303009033203, -0.3331409692764282, 0.02471633441746235, 0.343902051448822, 0.8116028904914856, 0.3114291727542877, -0.4233874976634979, -0.40575161576271057, -0.7795067429542542, 0.11644187569618225, -0.08548048883676529, 0.06832624226808548, 0.1292162835597992, 0.46536579728126526, -0.0037182404194027185, 1.3489824533462524, -0.32931607961654663, -0.13174185156822205, -0.3478265702724457, -0.14325740933418274, -0.04171792417764664, 0.604264497756958, 0.38083314895629883, -0.7863913774490356, -0.7027552723884583, 0.13613273203372955, -0.6736564040184021, 0.34846410155296326, -0.004754668101668358, -0.13665615022182465, 0.07692287117242813, 1.1196216344833374, -0.4959883987903595, 0.26631051301956177, 0.09479188919067383, -0.11510778963565826, 0.46977919340133667, -0.2499917596578598, -0.19024673104286194, -1.1484547853469849, 0.12491066008806229, 0.05883943289518356, -0.22738192975521088, -0.9453639388084412, 0.2294769585132599, 0.3682176172733307, 0.016423793509602547, -0.5680403709411621, 0.8508439064025879, -0.18342000246047974, 0.13417577743530273, -0.21338357031345367, 0.07099926471710205, -0.035418394953012466, 0.31174537539482117, 0.3893086910247803, 0.920848548412323, 0.7669703364372253, -0.940542459487915, -0.24274420738220215, 0.34629589319229126, -0.778483510017395, 0.5805498361587524, -0.4434402287006378, 0.197127565741539, -0.10374648123979568, 0.09308785945177078, -0.5338292717933655, -0.33788856863975525, 0.21296733617782593, -0.09266231209039688, 0.573532223701477, 0.05259145423769951, -0.6378053426742554, 0.09304673969745636, -0.13390275835990906, 0.287750780582428, 0.2687891721725464, -0.7468103766441345, 0.31138643622398376, 0.39173614978790283, 0.19193975627422333, -0.492139995098114, -0.5112800598144531, -0.2753121554851532, -0.44318702816963196, -0.17782293260097504, 0.5792372822761536, -0.26602664589881897, -0.11473499238491058, -0.16006827354431152, -0.313709020614624, -0.1847609281539917, 0.46065691113471985, 0.06730108708143234, 0.11511611938476562, -0.02626054920256138, 0.4494919776916504, -0.09115217626094818, -0.06739649176597595, 0.049643561244010925, -0.27531078457832336, 0.45438340306282043, -0.08912038058042526, -0.5111185908317566, -0.3921705186367035, 0.17932963371276855, 0.3875330686569214, -0.4491397440433502, 0.8017426133155823, 0.40964406728744507, -0.3201245963573456, -0.7576431035995483, -0.1546252816915512, -0.41621556878089905, -0.5030614733695984, 0.46126702427864075, -0.5985448360443115, -0.8610448837280273, 0.2218087911605835, -0.0900728777050972, 0.05905192345380783, 0.036520589143037796, 0.10593747347593307, -0.38799843192100525, 0.7907435297966003, 0.8369672894477844, 0.15989908576011658, 0.6705822348594666, -0.5390876531600952, 0.2819922864437103, -0.9235936999320984, -0.24738569557666779, -0.2633827030658722, -0.10258213430643082, -0.3881244361400604, -0.439421683549881, 0.39079517126083374, 0.4067043364048004, -0.44161656498908997, 0.35480624437332153, -0.2705342471599579, 0.46091198921203613, 0.5592915415763855, 0.41569215059280396, 0.20950916409492493, 0.1256313920021057, -0.1930849403142929, -0.03358922153711319, -0.9662638902664185, -0.5155174732208252, 1.1397939920425415, 0.2934054732322693, 0.5882511734962463, -0.2632748484611511, 0.6988814473152161, -0.027159618213772774, 0.45315197110176086, -0.8120771646499634, 0.4404027462005615, -0.09914298355579376, -0.46499988436698914, -0.3009422719478607, -0.11937875300645828, -0.6093859076499939, 0.040481243282556534, -0.19835679233074188, -0.6289047002792358, 0.12481318414211273, 0.3553789556026459, -0.08603013306856155, 0.2487322837114334, -0.7051325440406799, 0.6456263661384583, 0.010366050526499748, -0.3150777816772461, -0.3339826166629791, -0.6488397121429443, 0.18768000602722168, -0.30535075068473816, 0.3836171329021454, 0.047774557024240494, -0.09160180389881134, 0.3673418462276459, -0.37556523084640503, 1.0047557353973389, -0.12235688418149948, -0.28992506861686707, 0.3107905089855194, 0.03233627602458, 0.4053739607334137, -0.01833665929734707, -0.10629290342330933, -0.3336491584777832, -0.17284101247787476, -0.3244757056236267, -0.8225573897361755, 0.4228869080543518, -0.560199499130249, -0.48769351840019226, -0.12405253201723099, -0.6794081330299377, -0.6418613195419312, -0.1994674652814865, 0.33911484479904175, 0.8003337383270264, -0.12502658367156982, 0.31100600957870483, 0.8864040970802307, -0.003137506078928709, 0.20383697748184204, 0.7026156187057495, 0.08829480409622192, 0.0808395966887474, 1.0693119764328003, 0.1321999728679657, 0.6888301968574524, 0.7797292470932007, 0.032209280878305435, -0.2037571668624878, -0.5728938579559326, -0.17611755430698395, -0.19433383643627167, -0.8464431166648865, -0.1792149394750595, -0.5280929803848267, -0.4897812306880951, 0.20586463809013367, -0.25751325488090515, -0.37592804431915283, -0.5381186008453369, -0.15066233277320862, -0.19288583099842072, 0.18901918828487396, 0.4771307706832886, -0.005854766815900803, 0.48942330479621887, -0.28563883900642395, 0.16256004571914673, 0.3746316134929657, 0.48371070623397827, 0.08087282627820969, -0.6437769532203674, -0.7537699937820435, 0.2676304578781128, -0.2795460522174835, -0.16934335231781006, 0.11312615126371384, 0.5986247062683105, 0.7526033520698547, 0.410491019487381, 0.1161007210612297, 0.5403464436531067, -0.4752236008644104, 0.4819713830947876, 0.08231747895479202, -1.070087194442749, 0.5970521569252014, -0.18929976224899292, 0.15765416622161865, 0.35072046518325806, 0.4606713354587555, -0.5465013384819031, -0.5052545070648193, -0.8220115900039673, -0.5697587728500366, 0.8320100903511047, -0.028815556317567825, 0.3184885084629059, -0.2155696153640747, 0.3368065357208252, 0.3958837687969208, 0.32834163308143616, -0.4980664849281311, -0.21116624772548676, -0.4407508075237274, -0.16220873594284058, -0.3144901394844055, 0.029847614467144012, -0.022406302392482758, -0.44723033905029297, 0.705547571182251, -0.5505822896957397, 0.04521464928984642, 0.036376357078552246, -0.4237997829914093, 0.19788812100887299, 0.24961145222187042, 0.4006066918373108, 0.7165093421936035, -0.20877547562122345, 0.1861775666475296, 0.15082918107509613, -0.15534283220767975, 0.14049386978149414, -0.047482606023550034, -0.13140727579593658, -0.18993505835533142, 0.5510278344154358, 0.8991592526435852, 0.3899673819541931, -0.8884234428405762, 0.5106602311134338, 0.12619151175022125, -0.21071785688400269, -0.020671533420681953, 0.43108224868774414, 0.09343841671943665, 0.049019210040569305, 0.05879290774464607, 0.09498020261526108, 0.0438416413962841, -0.7116752862930298, 0.5344049334526062, 0.5326272249221802, -0.4064479172229767, -0.35203373432159424, 0.3722507059574127, -0.03595323860645294, -0.0036788189318031073, 0.6190524101257324, -0.23674708604812622, -0.37127500772476196, 0.5686593651771545, 0.7812135219573975, 0.4963412880897522, -0.3021187484264374, 0.37686797976493835, 0.43175122141838074, -0.017101453617215157, 0.004826262127608061, 0.1821739822626114, -0.25399431586265564, -1.2178215980529785, -0.3555462062358856, -0.47847598791122437, -0.32766228914260864, 0.2528289556503296, -0.6376258134841919, 0.2916536331176758, -0.6098225116729736, 0.13293445110321045, -0.12696433067321777, -0.23617538809776306, -0.817913830280304, 0.42794549465179443, -0.10356231033802032, 1.0665404796600342, -0.8770850300788879, 1.0632444620132446, 0.883841872215271, -0.2571009695529938, -0.9106121063232422, 0.016293203458189964, -0.3500354290008545, -0.6648094654083252, 0.7069605588912964, 0.3203643262386322, -0.03591128811240196, 0.10145965963602066, -0.5169047117233276, -0.7416707277297974, 1.0743917226791382, 0.5494082570075989, -0.2851834297180176, 0.22285552322864532, 0.1100657507777214, 0.5270516276359558, -0.7346054315567017, 0.07695192098617554, 0.5379915237426758, -0.0711110457777977, 0.03721833601593971, -0.7896973490715027, -0.15330301225185394, -0.32024437189102173, -0.14439821243286133, 0.08504565060138702, -0.2518210709095001, 0.5169201493263245, -0.19040408730506897, -0.4015306830406189, 0.11731336265802383, 0.6742193698883057, 0.2555142939090729, 0.29533883929252625, 0.6796666979789734, 0.40037429332733154, 0.7188149690628052, -0.0012078216532245278, 1.1082141399383545, -0.21207831799983978, -0.12042352557182312, 1.4218100309371948, -0.1476268768310547, 0.977584719657898, 0.4327186346054077, 0.13908086717128754, 0.6069729924201965, 0.6242254972457886, 0.5179299712181091, 0.8019750118255615, 0.1851889044046402, -0.3910805284976959, -0.46763500571250916, -0.45113417506217957, -0.32982999086380005, 0.5669621825218201, 0.7127174139022827, -0.07253421097993851, -0.034284576773643494, 0.21238508820533752, -0.30240145325660706, 0.41790732741355896, -0.16635727882385254, 0.7843422889709473, 0.1467805653810501, -0.28840240836143494, 0.6563524603843689, -0.11269959807395935, 0.5269772410392761, -0.7504381537437439, 0.003070601960644126, -0.2129732072353363, 0.04430544376373291, -0.1201440840959549, -0.6354418396949768, 0.20171552896499634, -0.30869102478027344, -0.27607256174087524, -0.266356885433197, 0.40261656045913696, -0.6352167725563049, -0.15103621780872345, 0.08031059801578522, 0.7438594102859497, -0.07924827188253403, 0.05859304219484329, -0.4792470335960388, -0.2940637469291687, -0.3062237799167633, 0.035927243530750275, 0.6117920875549316, 0.5073946118354797, -0.34147101640701294, 1.0405311584472656, 0.46070167422294617, -0.059738002717494965, -0.29150503873825073, 0.1238926351070404, 0.9083482623100281, -0.3172917664051056, -0.5822768807411194, -0.46991971135139465, 0.6699522137641907, -0.14733746647834778, -0.1594500094652176, 0.5108131766319275, 0.6120777130126953, 1.4480531215667725, -0.1622653752565384, 0.7805173397064209, -0.16654199361801147, 0.6129023432731628, -0.7552230358123779, 0.624849259853363, -0.6019917726516724, 0.34833040833473206, -0.24564975500106812, -0.5384698510169983, -0.08664942532777786, 0.7782017588615417, -0.11395737528800964, -0.13099627196788788, 0.7882858514785767, 1.0304272174835205, -0.59056556224823, 0.07684456557035446, 0.2999894917011261, -0.20748251676559448, 0.25555896759033203, 0.18199987709522247, 1.0737245082855225, -0.2640970051288605, -0.16991791129112244, -0.6042776107788086, -0.025695789605379105, 0.24269437789916992, -0.9765153527259827, -0.9753002524375916, -1.0244733095169067, -0.4730404019355774, 0.05099869146943092, -0.11202381551265717, 1.2204899787902832, 1.1322764158248901, -0.8755823969841003, -0.38623377680778503, -0.3008198142051697, -0.03143472224473953, -0.33972886204719543, -0.1902318000793457, 0.6419259309768677, -0.7652825117111206, -0.5591303110122681, 0.594233512878418, 0.05037638917565346, 0.044634416699409485, 0.1311793029308319, -0.3234471380710602, -0.07040625810623169, -0.11754244565963745, 0.9478932023048401, 0.14117944240570068, -0.5814554691314697, -0.4166940748691559, -0.2534712255001068, -0.029948901385068893, 0.0179278627038002, 0.8964364528656006, -0.9800727367401123, 0.6804690361022949, 0.06625160574913025, 0.7444735169410706, 0.4166279137134552, -0.2609095275402069, 0.7946949601173401, -1.05369234085083, 0.36569541692733765, 0.011710976250469685, 0.3077089488506317, 0.552860677242279, -0.15807631611824036, 0.4722408354282379, 0.1641901433467865, 0.06249785050749779, -0.5956345200538635, 0.35488152503967285, -0.5207198858261108, -0.37339454889297485, 0.7891033291816711, -0.059469517320394516, 0.31613054871559143, -0.14522302150726318, -0.14043095707893372, 0.1987128108739853, -0.19948513805866241, 0.8461554050445557, 0.5400255918502808, -0.015193251892924309, 0.012932663783431053, -0.7086588740348816, 0.9214649796485901, 0.42122331261634827, -1.0389397144317627, 0.04659399017691612, 0.06726868450641632, 0.3138037621974945, -0.16177581250667572, 0.45760300755500793, 0.10945918411016464, 0.2320990413427353, -0.409029483795166, -0.2049291431903839, -0.23607492446899414, -0.4707984924316406, 0.1055811271071434, -0.08060935139656067, 0.2411542683839798, -0.13240838050842285 ]
http://arxiv.org/abs/2403.05535v3
http://arxiv.org/pdf/2403.05535v3
Tell, Don't Show!: Language Guidance Eases Transfer Across Domains in Images and Videos
2024-03-08T18:58:46
2024-06-06T01:44:48
Tarun Kalluri, Bodhisattwa Prasad Majumder, Manmohan Chandraker
cs.CV
cs.CV, cs.AI, cs.CL
We introduce LaGTran, a novel framework that utilizes text supervision to guide robust transfer of discriminative knowledge from labeled source to unlabeled target data with domain gaps. While unsupervised adaptation methods have been established to address this problem, they show limitations in handling challenging domain shifts due to their exclusive operation within the pixel-space. Motivated by our observation that semantically richer text modality has more favorable transfer properties, we devise a transfer mechanism to use a source-trained text-classifier to generate predictions on the target text descriptions, and utilize these predictions as supervision for the corresponding images. Our approach driven by language guidance is surprisingly easy and simple, yet significantly outperforms all prior approaches on challenging datasets like GeoNet and DomainNet, validating its extreme effectiveness. To further extend the scope of our study beyond images, we introduce a new benchmark called Ego2Exo to study ego-exo transfer in videos and find that our language-aided approach LaGTran yields significant gains in this highly challenging and non-trivial transfer setting. Code, models, and proposed datasets are publicly available at https://tarun005.github.io/lagtran/.
[ -0.23962117731571198, -0.491329550743103, 0.46717050671577454, 0.009824518114328384, -0.26955196261405945, 0.02613239176571369, -0.42402711510658264, -0.4097532629966736, -0.1444079875946045, 0.5545177459716797, -0.37829411029815674, -0.436551570892334, -0.9805353283882141, -0.4221133291721344, -0.5353149175643921, 1.1165865659713745, -0.3982759416103363, -0.0381225161254406, 0.08773026615381241, -0.028435714542865753, -0.1849682480096817, -0.09363406151533127, -0.6887441873550415, -0.2688123285770416, 0.3596843183040619, 0.4330517649650574, 0.5388219952583313, 0.8137698173522949, 0.5966124534606934, 0.12262434512376785, 0.2636505663394928, 0.42610374093055725, -0.42259135842323303, -0.08303327858448029, -0.35633763670921326, -0.5190538167953491, -0.013583032414317131, -0.47934871912002563, 0.4073947072029114, 0.57340407371521, 0.14055447280406952, 0.06616507470607758, -0.03989855945110321, 0.6790367364883423, -0.6097299456596375, 0.252156525850296, -0.613857090473175, -0.006289498880505562, -0.2541474997997284, -0.3381641209125519, -0.43417370319366455, -0.34662139415740967, 0.3228672742843628, -0.9279621243476868, 0.34050610661506653, 0.06792975217103958, 0.9246622323989868, 0.601098358631134, -0.4780274033546448, -0.23806603252887726, -0.795115053653717, 0.4921538531780243, 0.02946232631802559, 0.26325544714927673, 0.6509331464767456, 0.6274340748786926, 0.19280029833316803, -0.8342685699462891, -0.43205565214157104, -0.03685195744037628, 0.11112168431282043, 0.06064402312040329, -0.5234853625297546, -0.06190811097621918, -0.07918661832809448, -0.08401928097009659, -0.4585365056991577, 0.08293195813894272, -0.5743895769119263, -0.07198233902454376, 0.40719032287597656, -0.6399899125099182, 0.44962722063064575, 0.22545841336250305, -0.551249623298645, -0.5172849297523499, -0.6349754929542542, -0.06450463831424713, 0.09161588549613953, 0.14636366069316864, -0.015767348930239677, 0.45348620414733887, 0.0958777666091919, 0.49955639243125916, 0.26835986971855164, 0.2627161145210266, -0.09195929765701294, 0.029422322288155556, -0.23313479125499725, 0.29194575548171997, 0.7381129860877991, 0.7281709313392639, 0.5373737812042236, -0.13930341601371765, 0.16572295129299164, 0.20190145075321198, 0.1377328336238861, -0.7206977605819702, -0.493584007024765, -0.465825617313385, -0.25513458251953125, -0.07647308707237244, 0.06730367243289948, -0.9232631325721741, -0.664503276348114, -0.046336572617292404, 0.686671793460846, -0.40324312448501587, -0.10569828748703003, 0.2009839117527008, -0.0015679302159696817, 0.40625, 0.6210499405860901, -0.8526410460472107, 0.5259308815002441, 0.4709673225879669, 0.9740803241729736, -0.32625943422317505, -0.04302253574132919, -0.6196020841598511, 0.3583274185657501, -0.39800211787223816, 0.9665141105651855, -0.36749085783958435, -0.05589275807142258, 0.12994170188903809, 0.15624532103538513, -0.006984788924455643, -0.4769039750099182, 0.5903484225273132, -0.2060673087835312, 0.12032941728830338, -0.04655769467353821, -0.3399321734905243, -0.3261689245700836, -0.27585113048553467, -0.5096858143806458, 0.863244354724884, 0.10377620160579681, -0.3021917939186096, 0.35814303159713745, -0.5005035996437073, -0.44547951221466064, -0.03183605521917343, -0.2074349820613861, -0.17945270240306854, -0.08689858764410019, 0.47867655754089355, 0.41043975949287415, -0.029567690566182137, 0.3244146704673767, -0.07417216897010803, -0.29284605383872986, 0.15210485458374023, -0.37854865193367004, 0.2415774017572403, 0.2302556037902832, -0.6707199811935425, -0.1203385517001152, -0.4615638554096222, -0.0332208089530468, -0.02973628230392933, 0.3111720383167267, -0.4996525049209595, -0.1412588208913803, 0.01847626268863678, 0.1868293583393097, -0.11161042749881744, -0.17956168949604034, 0.38190966844558716, -0.061596471816301346, 0.20820754766464233, 0.9736420512199402, -0.25279462337493896, 0.8744290471076965, -0.1894088089466095, 0.6432356238365173, -0.20006245374679565, -0.013910790905356407, -0.2979183495044708, -0.4973968267440796, -0.8388320803642273, 0.043818846344947815, 0.08113748580217361, 0.5932475924491882, -1.2016329765319824, 0.0747746005654335, -0.4394310414791107, -0.34777870774269104, -0.5720846652984619, 0.19649431109428406, 0.5349982380867004, 0.40355411171913147, 0.32832252979278564, -0.20503534376621246, -0.37490183115005493, -1.0685237646102905, -0.46922335028648376, -0.21793600916862488, 0.12480753660202026, 0.33662351965904236, 0.4516252875328064, 0.16527807712554932, 0.4016677737236023, -0.6528679728507996, -0.6809965968132019, -0.15114358067512512, 0.06054333224892616, -0.1041577160358429, 0.36203423142433167, 0.7490887641906738, -0.7871630787849426, -0.8842268586158752, 0.5915282964706421, -0.866337776184082, -0.3474285900592804, -0.3162737190723419, -0.3626742362976074, 0.03990975394845009, 0.7200846672058105, -0.237844318151474, 0.504455029964447, 0.7475224137306213, -0.42313554883003235, 0.03382033482193947, -0.2743827998638153, 0.15370695292949677, -0.9324281215667725, -0.04116068780422211, 0.10731081664562225, -0.6965081691741943, -0.5688480138778687, -0.3234080672264099, -0.00589429447427392, 0.04094438999891281, -0.41220623254776, 0.8652929663658142, -0.3842499852180481, 0.0827496200799942, -0.17948013544082642, 0.23981398344039917, 0.05959301441907883, 0.6865723729133606, 0.07675135135650635, 0.8580058813095093, 1.113728642463684, -0.4848118722438812, 0.1581605225801468, 0.49599769711494446, -0.4623278081417084, 0.858502209186554, -0.3716202676296234, 0.2576737403869629, -0.22698667645454407, 0.15240657329559326, -0.7473737597465515, -0.16035151481628418, 0.6021763682365417, -0.4544314444065094, 0.43105149269104004, -0.33356067538261414, -0.3062046468257904, 0.1348222941160202, -0.2184576392173767, 0.25696292519569397, 0.6617833375930786, -0.8559223413467407, 0.320604532957077, 0.11028365045785904, -0.11443574726581573, -0.5745447278022766, -0.9533669948577881, 0.16920453310012817, -0.44964930415153503, -0.4296673536300659, 0.5371946692466736, -0.03237104043364525, -0.2775537073612213, 0.24031852185726166, -0.34333372116088867, -0.5315207839012146, -0.13371118903160095, 0.4212118089199066, 0.02563735470175743, 0.09357009828090668, 0.0750839039683342, 0.3587867021560669, 0.19227398931980133, -0.045494552701711655, -0.5125630497932434, -0.052815668284893036, 0.07446008175611496, -0.24078379571437836, -0.5714335441589355, 0.30832862854003906, 0.25547561049461365, 0.18086037039756775, 0.5502696633338928, 0.7427959442138672, -0.2817620635032654, -0.6297944188117981, -0.10617973655462265, 0.09347867965698242, -0.4742984175682068, 0.5717014074325562, -0.20173820853233337, -0.8436115384101868, 0.17195552587509155, -0.3138602375984192, -0.2951459288597107, 0.08997948467731476, 0.13462305068969727, -0.058544840663671494, 0.7731855511665344, 1.0090662240982056, 0.2718604505062103, 0.838727593421936, -0.29802143573760986, 0.13335464894771576, -0.5748017430305481, -0.33334800601005554, -0.15709590911865234, -0.24110127985477448, -0.3862784206867218, -0.789119303226471, 0.28575608134269714, 0.37368249893188477, -0.015882348641753197, 0.6275017261505127, -0.40030986070632935, 0.7071381211280823, 0.31053969264030457, 0.1835249811410904, 0.3793247938156128, 0.36430564522743225, 0.3919318616390228, -0.3102008104324341, -0.5370995402336121, -0.3796716630458832, 0.9637784361839294, 0.14816956222057343, 0.937109649181366, 0.338413268327713, 0.30217090249061584, 0.9303557276725769, 0.35436564683914185, -0.9014678001403809, 0.6562946438789368, -0.4744076728820801, -0.14966201782226562, 0.023718737065792084, -0.44037190079689026, -0.8919002413749695, 0.08764775097370148, 0.14000272750854492, -0.8374024629592896, 0.18509875237941742, 0.12219374626874924, 0.07236238569021225, 0.5065027475357056, -0.8772279620170593, 0.5313946604728699, -0.48680299520492554, -0.6857184767723083, 0.1170055940747261, -0.5458127856254578, 0.16731278598308563, -0.3542015254497528, 0.2239377349615097, 0.06607310473918915, -0.10287145525217056, 0.7050480246543884, -0.37969279289245605, 0.8722547292709351, -0.3058358132839203, -0.2652900815010071, 0.32221171259880066, 0.3236568868160248, 0.48568058013916016, -0.25794732570648193, 0.37149226665496826, 0.14234372973442078, -0.18212848901748657, -0.11857327818870544, -0.8293317556381226, 0.6703886389732361, -0.8154009580612183, -0.24146738648414612, -0.2407231628894806, -0.21650949120521545, -0.16195952892303467, 0.3951624035835266, 0.3684956729412079, 0.20032699406147003, -0.14664503931999207, -0.0016239533433690667, 0.7064450979232788, -0.3623273968696594, 0.3847423493862152, 0.13100749254226685, -0.4291422963142395, -0.3723340630531311, 1.0314898490905762, -0.12421497702598572, 0.4077776372432709, 0.49647828936576843, -0.022554390132427216, -0.42811712622642517, -0.29133427143096924, -0.7584441304206848, 0.21034836769104004, -1.1041843891143799, -0.19486325979232788, -0.2385326623916626, -0.034396156668663025, -0.32892927527427673, -0.5051233768463135, -0.4920819103717804, -0.5673360228538513, -0.2316184639930725, -0.059784624725580215, 0.5030296444892883, 0.7587572932243347, -0.06455858051776886, 0.726222574710846, -0.47124436497688293, 0.28761276602745056, 0.3583749234676361, 0.3873007893562317, -0.43454810976982117, -0.8354318737983704, -0.2684401571750641, -0.17239338159561157, -0.24338124692440033, -0.7303227186203003, 0.4871940314769745, 0.7442227602005005, 0.400432825088501, 0.4036930799484253, 0.09198280423879623, 0.7631884813308716, -0.45990753173828125, 0.6814799904823303, 0.3455057144165039, -1.1646443605422974, 0.7128345370292664, -0.4317968785762787, 0.03190700709819794, 0.3637462258338928, 0.3391874432563782, -0.39247971773147583, 0.06651654094457626, -0.4223327040672302, -0.7671109437942505, 0.7555219531059265, 0.36391404271125793, 0.04198775067925453, 0.4232841432094574, 0.42874211072921753, 0.17722614109516144, 0.06513138115406036, -0.7149249911308289, -0.34910714626312256, -0.30239951610565186, -0.044147081673145294, 0.1006062775850296, 0.3107578456401825, -0.18554151058197021, 0.04321333020925522, 0.44625094532966614, -0.4772340953350067, 0.4018271565437317, 0.5627565383911133, -0.49246877431869507, -0.05500726029276848, 0.1554887443780899, 0.6544292569160461, 0.3951612114906311, -0.007561979349702597, 0.273676335811615, -0.15295085310935974, -0.5665180087089539, 0.10832585394382477, 0.1410548985004425, -0.08566481620073318, 0.10847293585538864, 0.42438259720802307, 1.2319996356964111, -0.04633444920182228, -0.5674400925636292, 0.783800482749939, -0.08685894310474396, -0.6679437756538391, -0.29598677158355713, -0.03533307835459709, -0.61357581615448, 0.2838851809501648, 0.22400866448879242, 0.37421244382858276, -0.040683064609766006, -0.3004429340362549, 0.17823554575443268, 0.012956463731825352, -0.6371831297874451, -0.7372488975524902, 0.8724629878997803, -0.03946708142757416, -0.16712796688079834, 0.036667585372924805, -0.10849934816360474, -0.37656137347221375, 0.4627072215080261, 0.520161509513855, 0.8539277911186218, -0.06661050021648407, 0.5444026589393616, 0.17219536006450653, 0.23990508913993835, -0.5282624959945679, 0.010514477267861366, -0.23945628106594086, -0.6597914099693298, -0.6172145009040833, -0.1584063619375229, -0.3148525357246399, 0.06113942712545395, -0.749055027961731, 0.23630771040916443, -0.5123793482780457, 0.054024193435907364, -0.03802898898720741, -0.5496331453323364, -0.6512454748153687, -0.015736063942313194, 0.5423810482025146, 0.742901086807251, -0.8769360780715942, 0.9081745147705078, 0.6652430891990662, -0.024420421570539474, -0.5156939029693604, -0.015522664412856102, -0.04296899959445, -0.9386385083198547, 0.82261061668396, 0.22336745262145996, -0.46018123626708984, -0.04593391716480255, -0.7681475877761841, -0.7016811370849609, 0.9538207650184631, 0.6400976181030273, -0.5125671625137329, -0.04491611570119858, 0.030271710827946663, 0.5257840752601624, -0.1279844045639038, -0.03214867785573006, 0.31325602531433105, 0.6976161599159241, 0.31220316886901855, -1.0124622583389282, -0.06459016352891922, -0.2267298698425293, -0.3440927267074585, 0.1614810675382614, -0.6021249294281006, 0.34991392493247986, -0.36170944571495056, -0.3700343668460846, 0.1226295530796051, 0.36838898062705994, -0.3267959654331207, 0.44972461462020874, 0.420268714427948, 0.27569854259490967, 0.6494637131690979, -0.13925333321094513, 0.9661284685134888, 0.051226530224084854, 0.25947877764701843, 1.244093894958496, -0.3096589744091034, 0.6148576140403748, 0.6106416583061218, -0.0779319480061531, 0.4769512116909027, 0.2924842834472656, -0.07800688594579697, 0.925361156463623, 0.23378939926624298, -0.2153199315071106, -0.10135123133659363, -0.6978012919425964, -0.17954488098621368, 0.5807842016220093, 0.34139829874038696, -0.41988885402679443, -0.22514156997203827, 0.20222081243991852, 0.23524294793605804, 0.3974997103214264, -0.5034130215644836, 0.555075466632843, 0.20493054389953613, -0.6773253083229065, 0.5604474544525146, -0.429778128862381, 0.7207013368606567, -0.7479763627052307, -0.3357510268688202, -0.17562894523143768, 0.491603821516037, -0.29225701093673706, -0.9093289971351624, 0.3314613103866577, 0.08582344651222229, 0.09384115785360336, -0.718592643737793, 0.8371441960334778, -0.5109973549842834, -0.25502637028694153, 0.43678468465805054, 0.5381375551223755, 0.4355033338069916, -0.05535009130835533, -0.4667734205722809, -0.1876935213804245, 0.25137415528297424, 0.07572793960571289, 0.348660409450531, 0.5294197797775269, -0.49252191185951233, 0.6894738674163818, 0.45730045437812805, 0.2897363305091858, 0.0032752968836575747, 0.09459222108125687, 0.7595068216323853, -0.4643351435661316, -0.1262129843235016, -0.7061171531677246, 0.19405782222747803, 0.10616106539964676, -0.21517536044120789, 0.8003374934196472, 0.2865613102912903, 1.0256779193878174, -0.07470761984586716, 0.9471049904823303, -0.13556653261184692, -0.07505904883146286, -0.6743184328079224, 0.6127931475639343, -0.5659853219985962, 0.14732486009597778, -0.31858694553375244, -0.7423686385154724, -0.4983043670654297, 0.5562034249305725, -0.17716926336288452, -0.13371437788009644, 0.8242312073707581, 0.7816153764724731, -0.12453343719244003, -0.42713290452957153, 0.4326934814453125, 0.09070155769586563, 0.3647642731666565, 0.6591984033584595, 0.9890163540840149, -0.47382277250289917, 0.8627046942710876, -0.1864398717880249, -0.2114124447107315, 0.0737147405743599, -0.9752152562141418, -0.9220763444900513, -0.562397837638855, -0.5996460318565369, -0.26471859216690063, 0.2830650210380554, 0.5463041663169861, 0.975705087184906, -0.3768702745437622, -0.062274690717458725, -0.2707652151584625, -0.17376923561096191, -0.30978143215179443, -0.20176036655902863, 0.6884342432022095, 0.3233027458190918, -0.8077343106269836, 0.4510123133659363, 0.1896376758813858, 0.11498385667800903, -0.01828906126320362, 0.004622226115316153, 0.109747014939785, -0.2647874653339386, 0.3201088309288025, 0.40159863233566284, -0.5550886392593384, -0.25123560428619385, 0.09696654230356216, 0.17269185185432434, 0.07032040506601334, 0.91943359375, -0.7125201225280762, 0.5105704665184021, 0.25318315625190735, 0.7140340209007263, 0.6595706939697266, -0.041301190853118896, 0.5410114526748657, -0.9056499004364014, 0.16625961661338806, -0.18690712749958038, 0.0889599621295929, 0.5465685129165649, -0.5342310667037964, 0.72073894739151, 0.18674203753471375, -0.4920447766780853, -0.6826152801513672, 0.23824666440486908, -1.2424713373184204, -0.2528954744338989, 1.2895739078521729, -0.32206910848617554, -0.3103001117706299, -0.043970443308353424, -0.4124961495399475, 0.2750452160835266, -0.4967130124568939, 0.4465709626674652, 0.27361536026000977, -0.19909252226352692, -0.5412117838859558, -0.9127911329269409, 0.6354427337646484, 0.4165119528770447, -0.8148573040962219, 0.06204284727573395, 0.3393312096595764, 0.27633488178253174, -0.06646772474050522, 0.5433239340782166, 0.0952400267124176, 0.03334515169262886, -0.2099076211452484, 0.013740047812461853, -0.1791776716709137, -0.5193176865577698, -0.5879004001617432, -0.286880761384964, -0.04136728122830391, -0.42464813590049744 ]
http://arxiv.org/abs/2403.05534v1
http://arxiv.org/pdf/2403.05534v1
Bayesian Preference Elicitation with Language Models
2024-03-08T18:57:52
2024-03-08T18:57:52
Kunal Handa, Yarin Gal, Ellie Pavlick, Noah Goodman, Jacob Andreas, Alex Tamkin, Belinda Z. Li
cs.CL
cs.CL
Aligning AI systems to users' interests requires understanding and incorporating humans' complex values and preferences. Recently, language models (LMs) have been used to gather information about the preferences of human users. This preference data can be used to fine-tune or guide other LMs and/or AI systems. However, LMs have been shown to struggle with crucial aspects of preference learning: quantifying uncertainty, modeling human mental states, and asking informative questions. These challenges have been addressed in other areas of machine learning, such as Bayesian Optimal Experimental Design (BOED), which focus on designing informative queries within a well-defined feature space. But these methods, in turn, are difficult to scale and apply to real-world problems where simply identifying the relevant features can be difficult. We introduce OPEN (Optimal Preference Elicitation with Natural language) a framework that uses BOED to guide the choice of informative questions and an LM to extract features and translate abstract BOED queries into natural language questions. By combining the flexibility of LMs with the rigor of BOED, OPEN can optimize the informativity of queries while remaining adaptable to real-world domains. In user studies, we find that OPEN outperforms existing LM- and BOED-based methods for preference elicitation.
[ -0.6024542450904846, -1.0798695087432861, 0.42860740423202515, -0.10139212757349014, 0.1221795603632927, -0.423949658870697, -0.5721961855888367, -0.2722521126270294, -0.11379283666610718, 0.5906606316566467, -0.31132233142852783, -0.408658504486084, -0.17145927250385284, -0.26921314001083374, 0.23291948437690735, 1.0214836597442627, -0.1539933681488037, -0.14006398618221283, -0.1600111424922943, -0.3992120325565338, -0.12736989557743073, -0.5867111086845398, -0.845817506313324, -0.21186286211013794, 0.46419936418533325, 0.4883052408695221, 1.108091950416565, 0.2096979022026062, 0.4606882929801941, 0.15585079789161682, 0.09124301373958588, 0.19482047855854034, -0.2765730321407318, 0.33093562722206116, -0.3511292338371277, -0.7093750834465027, -0.15442664921283722, 0.04280431196093559, 0.3517523407936096, 1.1163219213485718, -0.18431824445724487, 0.17342203855514526, 0.04915482923388481, 0.8589500188827515, -0.7940143346786499, 0.3994820713996887, -0.6762987971305847, -0.03184584155678749, -0.06251587718725204, -0.008255325257778168, -0.23488223552703857, -0.7307304739952087, 0.6230319142341614, -0.49104923009872437, 0.04754634574055672, 0.27447181940078735, 0.7691065669059753, 0.20575617253780365, -0.20398348569869995, -0.25890570878982544, -0.8256638050079346, 0.6784719228744507, -0.6855003833770752, 0.2748926877975464, 0.6145998239517212, 0.38151252269744873, -0.47758230566978455, -0.10846466571092606, -0.6203024983406067, -0.2648076117038727, 0.009157728403806686, 0.07914701849222183, -0.386991411447525, 0.2548121213912964, 0.19730497896671295, 0.1972712278366089, -0.7745327949523926, 0.3387853503227234, -0.22673794627189636, 0.1384236216545105, 0.6629654765129089, -0.1281895488500595, 0.2830860912799835, 0.051464375108480453, -0.08026746660470963, -0.3449079990386963, -0.4944821298122406, 0.4976913332939148, 0.4802972376346588, 0.6432763338088989, 0.048239123076200485, 0.8314494490623474, -0.4395245313644409, 0.9582003951072693, 0.06704016029834747, 0.28495845198631287, 0.1518060266971588, 0.18849386274814606, -0.2997058629989624, -0.06677847355604172, 0.8513428568840027, 0.4069075286388397, 0.630760669708252, 0.012174220755696297, -0.07162455469369888, 0.11273069679737091, 0.24205400049686432, -0.6928973197937012, -0.1285199075937271, 0.7089692950248718, -0.40691086649894714, -0.1410752534866333, 0.12970474362373352, -0.7348291873931885, -0.28236159682273865, -0.39269736409187317, 0.5834428071975708, -0.4392997920513153, -0.40404656529426575, 0.4109450578689575, -0.04191718250513077, 0.007164536509662867, 0.20094838738441467, -1.2651922702789307, 0.27043479681015015, 0.32099151611328125, 0.6808134913444519, -0.09541179984807968, 0.12072097510099411, -0.3694652020931244, 0.1852007955312729, -0.438867449760437, 0.7224954962730408, -0.6685512661933899, -0.3627921938896179, 0.1069827526807785, -0.2686559855937958, 0.15879562497138977, -0.651930570602417, 0.3670196235179901, -0.45053336024284363, 0.6441695690155029, -0.11331766098737717, -0.46871882677078247, -0.19202539324760437, 0.029242778196930885, -0.5252021551132202, 0.8195950388908386, 0.28879979252815247, -0.6590257883071899, 0.5136464238166809, -1.0839519500732422, -0.09141327440738678, -0.029134633019566536, -0.306549072265625, -0.26946085691452026, 0.38198551535606384, 0.3129580318927765, 0.36311614513397217, -0.10110339522361755, 0.3253779411315918, -0.6393434405326843, -0.023037351667881012, 0.36791688203811646, -0.24796044826507568, 0.6682239770889282, 0.4827219247817993, -0.17519386112689972, 0.3808300495147705, -0.5250832438468933, 0.15340405702590942, 0.1554303914308548, -0.34756043553352356, -0.7066437602043152, 0.21293772757053375, -0.23963594436645508, -0.2838633358478546, 0.3054112195968628, -0.5684553980827332, 0.27523189783096313, -0.8340362906455994, 0.28685832023620605, 0.7552724480628967, -0.15754875540733337, 0.8269696235656738, -0.3348655104637146, 0.38213998079299927, 0.03202227130532265, 0.07263080775737762, 0.04237174987792969, -0.5743910074234009, -0.5234338045120239, -0.2023191750049591, 0.1783609390258789, 0.48829230666160583, -0.4007524251937866, 0.5257855653762817, 0.14074738323688507, -0.38773810863494873, -0.9555251002311707, -0.22432056069374084, -0.03976660221815109, 0.34068563580513, 0.2710997760295868, -0.2404724806547165, -0.08137461543083191, -1.1254299879074097, -0.21248410642147064, -0.5423844456672668, -0.3119542598724365, 0.5606572031974792, -0.01770021580159664, 0.06022491678595543, 1.397417426109314, -0.7209227681159973, 0.26480695605278015, -0.07760223746299744, 0.31871268153190613, 0.35163500905036926, 0.24816802144050598, 0.47064054012298584, -1.0757075548171997, -0.3806709945201874, 0.2928982377052307, -0.558506965637207, -0.3049442768096924, 0.2204313725233078, -0.3220594525337219, 0.26191216707229614, -0.17057663202285767, -0.5980098247528076, 0.5601454973220825, 0.29710566997528076, 0.03930136188864708, 0.279028981924057, -0.30456581711769104, 0.2126280516386032, -0.8630351424217224, 0.22812588512897491, 0.1612968146800995, 0.06709792464971542, -0.5535470843315125, 0.04684143885970116, 0.11845166236162186, -0.2511564791202545, -0.2917137145996094, 0.9088598489761353, -0.3950018584728241, -0.051883112639188766, -0.3288840055465698, 0.05102661997079849, -0.1563403308391571, 0.41067594289779663, 0.39529767632484436, 0.6050447225570679, 0.5280936360359192, -0.7169067859649658, 0.08593226969242096, 0.24161209166049957, -0.2504653036594391, 0.4957823157310486, -0.5518016815185547, -0.0008755218586884439, -0.43139928579330444, -0.10891559720039368, -1.0742595195770264, -0.41391023993492126, 0.2506442964076996, -0.6041265726089478, 0.098758764564991, -0.1629791557788849, -0.34632086753845215, -0.21257014572620392, -0.2333790808916092, 0.33287882804870605, 0.6524099707603455, -0.505784809589386, 0.12323909252882004, 0.47437784075737, -0.34886279702186584, -0.48239055275917053, -0.29086074233055115, -0.4073624312877655, -0.220371276140213, -0.5759653449058533, 0.19279612600803375, -0.25732308626174927, -0.4582589566707611, 0.027370847761631012, -0.10593678802251816, -0.16292251646518707, 0.23407162725925446, 0.3569079041481018, 0.2580271363258362, -0.3047797381877899, 0.15670053660869598, 0.3991566598415375, -0.12984012067317963, -0.14545489847660065, -0.41710364818573, 0.4338128864765167, -0.1520228236913681, -0.4813493490219116, -0.055671095848083496, 0.5786619186401367, 0.29732269048690796, -0.2520813047885895, 0.6658486127853394, 0.3795420229434967, -0.5541813373565674, -0.3869116008281708, -0.4070543348789215, -0.268537312746048, -0.41838347911834717, 0.12941768765449524, -0.3943137526512146, -1.1599693298339844, 0.15583769977092743, -0.027219168841838837, 0.25036925077438354, 0.04920244216918945, 0.684577465057373, -0.2802400588989258, 1.3643555641174316, 0.743026614189148, -0.27018579840660095, 0.5321208238601685, 0.10119494795799255, 0.309741348028183, -0.40232810378074646, 0.0753498300909996, -0.7094129323959351, -0.3325231969356537, -0.4970345199108124, -0.013167641125619411, 0.6301518678665161, 0.3073934018611908, -0.268210768699646, 0.08883894979953766, -0.48177874088287354, 0.28355368971824646, 0.8705926537513733, 0.2043786495923996, 0.04233304038643837, 0.1075964942574501, -0.3079155683517456, -0.02075691521167755, -0.6095470786094666, -0.7626938819885254, 1.1583939790725708, 0.13863873481750488, 0.9158723950386047, 0.2445928007364273, 0.5273314714431763, -0.06439674645662308, 0.23957984149456024, -0.704312264919281, 0.31157195568084717, 0.2136070728302002, -0.8131638765335083, -0.5710471868515015, -0.31373682618141174, -1.142020344734192, 0.3138785660266876, -0.34106191992759705, -1.065345287322998, 0.2001790851354599, 0.3504756987094879, -0.4617592692375183, 0.24019409716129303, -0.7487983107566833, 0.8980773687362671, -0.27335354685783386, -0.49760204553604126, -0.006183082703500986, -0.8291662931442261, 0.08699221163988113, 0.10191290080547333, 0.22626306116580963, -0.16018830239772797, -0.021938230842351913, 0.29312992095947266, -0.13784918189048767, 0.6948323249816895, -0.07087940722703934, 0.09096386283636093, 0.03357818350195885, 0.16013595461845398, 0.0703902393579483, 0.04091412574052811, -0.41106322407722473, -0.10609722882509232, 0.016120897606015205, -0.3351859450340271, -0.7637514472007751, 0.4183749556541443, -0.7879453301429749, -0.6908008456230164, -0.3862803280353546, -0.5555540323257446, -0.4950107932090759, 0.05452674254775047, 0.07038436830043793, 0.2285192310810089, -0.38268208503723145, -0.08758414536714554, 0.82505202293396, -0.41295892000198364, 0.30586686730384827, 0.5949506163597107, -0.48936542868614197, -0.1784452348947525, 0.7224672436714172, -0.11911382526159286, 0.407139390707016, 0.6887243986129761, 0.46182629466056824, -0.26044777035713196, -0.5911368131637573, -0.6269805431365967, 0.12729740142822266, -0.19895532727241516, 0.15691833198070526, -0.4664766490459442, -0.054100941866636276, -0.40822574496269226, -0.2763727307319641, -0.0666511058807373, -0.30840057134628296, -0.3392792046070099, -0.1731322854757309, 0.23820851743221283, 0.3397468626499176, -0.13158541917800903, 0.2510131001472473, -0.7065916657447815, 0.3742581903934479, 0.17186342179775238, 0.32245853543281555, -0.2156568020582199, -0.19063401222229004, -0.03765948489308357, 0.25423941016197205, -0.3207435607910156, -0.8899111747741699, 0.5968068242073059, -0.10195580124855042, 0.8598901629447937, 0.6936861276626587, 0.3431926369667053, 0.26711052656173706, -0.30061468482017517, 0.6320645809173584, -0.05358835682272911, -0.45959752798080444, 1.0022460222244263, -0.4397124648094177, 0.13405059278011322, 0.712620735168457, 1.0853650569915771, -0.3603738248348236, -0.16349773108959198, -0.4455145299434662, -0.6739951372146606, 0.7041532397270203, 0.13558542728424072, -0.09210555255413055, -0.13950508832931519, 0.3193691074848175, 0.5613545179367065, 0.5583543181419373, -0.511634111404419, -0.0960550382733345, 0.054574381560087204, -0.5468382239341736, -0.10109846293926239, -0.019403764978051186, -0.05510513111948967, -0.004494302906095982, 0.47181007266044617, -0.307813435792923, 0.1591932624578476, 0.05875880643725395, 0.12434009462594986, -0.2109471708536148, 0.4562433362007141, 0.11199882626533508, 0.5861884951591492, -0.68521648645401, -0.04487012326717377, -0.25249385833740234, 0.06074673682451248, 0.0013911757851019502, 0.04966738447546959, -0.4579070508480072, -0.26995334029197693, -0.30492380261421204, 0.8932528495788574, -0.04896274954080582, -0.8165337443351746, 0.3837396204471588, 0.03625495731830597, -0.0005660764873027802, 0.030394062399864197, 0.37712767720222473, -0.09189528226852417, 0.13809390366077423, 0.15339180827140808, 0.005736640654504299, 0.1795017421245575, -0.8181029558181763, -0.08071108162403107, 0.7788868546485901, -0.513189435005188, -0.2452075481414795, 0.563500165939331, 0.0612839013338089, -0.5033475160598755, 0.36501380801200867, 0.13187092542648315, -0.1798734962940216, 0.2650885283946991, 0.513243556022644, 0.8261695504188538, -0.268907368183136, 0.19862216711044312, 0.2724619507789612, 0.18772630393505096, -0.02105417661368847, 0.5226365923881531, -0.20072747766971588, -0.9776038527488708, 0.14432135224342346, -0.6648367047309875, -0.7897136211395264, 0.04965686425566673, -0.806094765663147, 0.2394608110189438, -0.3364008367061615, -0.30197563767433167, -0.0661989375948906, -0.22712503373622894, -0.5240528583526611, 0.1398461014032364, 0.06833720207214355, 0.7073773741722107, -0.6722697019577026, 0.5905735492706299, 0.9681968092918396, -0.5579813122749329, -0.4974442422389984, -0.08348259329795837, -0.06324611604213715, -0.6887145638465881, 0.29915183782577515, 0.07648967951536179, 0.1998465657234192, 0.04712597653269768, -0.7658758759498596, -0.5749651193618774, 0.6223430037498474, 0.36334162950515747, -0.16214437782764435, -0.01469181478023529, 0.1527344435453415, 0.41090232133865356, -0.489579975605011, 0.6005778908729553, 0.3727465867996216, 0.5527780055999756, -0.30105331540107727, -0.8504279851913452, -0.23162828385829926, -0.2032860517501831, -0.19499187171459198, 0.43115246295928955, -0.5949224233627319, 0.5427359938621521, -0.3657580316066742, -0.09624442458152771, -0.01071988232433796, 0.6330726742744446, 0.26103469729423523, 0.34720173478126526, 0.46453869342803955, 0.3976007103919983, 0.7887020707130432, 0.07653649896383286, 0.8629818558692932, -0.07017717510461807, -0.01759018562734127, 0.9302945137023926, -0.5468935370445251, 1.145646572113037, 0.427828311920166, -0.34042292833328247, 0.2787148654460907, 0.819994330406189, 0.43985775113105774, 0.49380940198898315, 0.3852919340133667, -0.35008859634399414, -0.14139729738235474, -0.03921980410814285, -0.2425018697977066, 0.24313077330589294, 0.5163660645484924, -0.026586970314383507, -0.12239589542150497, 0.06815380603075027, -0.15767152607440948, 0.26877716183662415, -0.018744714558124542, 0.9283236861228943, -0.07933434098958969, -0.8566985130310059, 0.11774727702140808, 0.06223466247320175, 0.5134455561637878, -0.8222736716270447, -0.08162664622068405, -0.28104689717292786, -0.08000218868255615, -0.03490041196346283, -0.8316612839698792, -0.0508013516664505, -0.10619302839040756, -0.3775162696838379, 0.005349775310605764, 0.667838990688324, -0.5379810929298401, -0.21481189131736755, 0.1171291321516037, 0.6671952605247498, 0.315834641456604, -0.202048197388649, -0.5360018014907837, -0.2719935178756714, -0.037078652530908585, -0.3056608736515045, 0.5918205976486206, 0.4085649847984314, -0.2155790477991104, 0.8100783228874207, 0.8455855846405029, 0.25395703315734863, -0.16497038304805756, -0.039663489907979965, 0.5938627123832703, -0.5850732326507568, -0.4927266240119934, -0.6973126530647278, 0.4650292694568634, -0.014557844959199429, -0.22444719076156616, 0.5711623430252075, 0.6153960227966309, 1.0078638792037964, -0.07322343438863754, 1.202742338180542, 0.07614798843860626, 0.5960668325424194, -0.5052564740180969, 0.5869308710098267, -0.4676538407802582, 0.049404583871364594, -0.16140690445899963, -0.9706692695617676, -0.2115318775177002, 0.7282201647758484, -0.3197624385356903, 0.009095137007534504, 0.5281258821487427, 0.8422378301620483, -0.1898130625486374, 0.30608099699020386, 0.26579973101615906, -0.04625527188181877, 0.26799923181533813, 0.6538094878196716, 0.7973209023475647, 0.22036100924015045, 0.12212948501110077, -0.20162402093410492, -0.81540447473526, -0.23262614011764526, -0.7774508595466614, -0.9563205242156982, -0.6387804746627808, -0.15048454701900482, 0.01402959693223238, 0.19551970064640045, 1.330419659614563, 0.6243398189544678, -0.8572790026664734, -0.5503925681114197, 0.04181855916976929, 0.1398354470729828, -0.01962273195385933, -0.2818773090839386, 0.19246111810207367, -0.3924828767776489, -0.8422295451164246, 0.2872735261917114, 0.3073502779006958, 0.13451772928237915, -0.24602721631526947, 0.16232435405254364, 0.010636762715876102, 0.2377343624830246, 0.4105507731437683, 0.4388257563114166, -0.6890057325363159, -0.45535925030708313, -0.09375512599945068, -0.046846214681863785, 0.1395806074142456, 0.6705021262168884, -0.7801625728607178, 0.6632153391838074, 0.6389778852462769, 0.8678112626075745, 0.4158863425254822, 0.13597510755062103, 0.9368361830711365, -0.31327366828918457, -0.09065115451812744, 0.17561106383800507, 0.2163611501455307, 0.033043693751096725, -0.23384924232959747, 0.5606661438941956, -0.06954400986433029, -0.5635307431221008, -0.7078327536582947, 0.2862979769706726, -1.172733187675476, -0.43848562240600586, 1.0672783851623535, -0.05989043042063713, -0.1862810105085373, -0.10145015269517899, -0.5578906536102295, 0.05002046003937721, -0.6581529974937439, 0.6108943819999695, 0.616509735584259, -0.36233624815940857, 0.14714579284191132, -0.6426795721054077, 0.47580063343048096, 0.4434017241001129, -0.7594166398048401, 0.08023200929164886, 0.7163097858428955, 0.07141447812318802, -0.13741356134414673, 0.6072287559509277, 0.060225822031497955, 0.04075906053185463, -0.38231390714645386, 0.18535569310188293, 0.001669428776949644, -0.22847583889961243, -0.2477046549320221, 0.503046989440918, 0.3031003475189209, -0.28937679529190063 ]
http://arxiv.org/abs/2403.05530v3
http://arxiv.org/pdf/2403.05530v3
Gemini 1.5: Unlocking multimodal understanding across millions of tokens of context
2024-03-08T18:54:20
2024-06-14T10:14:10
Gemini Team, Petko Georgiev, Ving Ian Lei, Ryan Burnell, Libin Bai, Anmol Gulati, Garrett Tanzer, Damien Vincent, Zhufeng Pan, Shibo Wang, Soroosh Mariooryad, Yifan Ding, Xinyang Geng, Fred Alcober, Roy Frostig, Mark Omernick, Lexi Walker, Cosmin Paduraru, Christina Sorokin, Andrea Tacchetti, Colin Gaffney, Samira Daruki, Olcan Sercinoglu, Zach Gleicher, Juliette Love, Paul Voigtlaender, Rohan Jain, Gabriela Surita, Kareem Mohamed, Rory Blevins, Junwhan Ahn, Tao Zhu, Kornraphop Kawintiranon, Orhan Firat, Yiming Gu, Yujing Zhang, Matthew Rahtz, Manaal Faruqui, Natalie Clay, Justin Gilmer, JD Co-Reyes, Ivo Penchev, Rui Zhu, Nobuyuki Morioka, Kevin Hui, Krishna Haridasan, Victor Campos, Mahdis Mahdieh, Mandy Guo, Samer Hassan, Kevin Kilgour, Arpi Vezer, Heng-Tze Cheng, Raoul de Liedekerke, Siddharth Goyal, Paul Barham, DJ Strouse, Seb Noury, Jonas Adler, Mukund Sundararajan, Sharad Vikram, Dmitry Lepikhin, Michela Paganini, Xavier Garcia, Fan Yang, Dasha Valter, Maja Trebacz, Kiran Vodrahalli, Chulayuth Asawaroengchai, Roman Ring, Norbert Kalb, Livio Baldini Soares, Siddhartha Brahma, David Steiner, Tianhe Yu, Fabian Mentzer, Antoine He, Lucas Gonzalez, Bibo Xu, Raphael Lopez Kaufman, Laurent El Shafey, Junhyuk Oh, Tom Hennigan, George van den Driessche, Seth Odoom, Mario Lucic, Becca Roelofs, Sid Lall, Amit Marathe, Betty Chan, Santiago Ontanon, Luheng He, Denis Teplyashin, Jonathan Lai, Phil Crone, Bogdan Damoc, Lewis Ho, Sebastian Riedel, Karel Lenc, Chih-Kuan Yeh, Aakanksha Chowdhery, Yang Xu, Mehran Kazemi, Ehsan Amid, Anastasia Petrushkina, Kevin Swersky, Ali Khodaei, Gowoon Chen, Chris Larkin, Mario Pinto, Geng Yan, Adria Puigdomenech Badia, Piyush Patil, Steven Hansen, Dave Orr, Sebastien M. R. Arnold, Jordan Grimstad, Andrew Dai, Sholto Douglas, Rishika Sinha, Vikas Yadav, Xi Chen, Elena Gribovskaya, Jacob Austin, Jeffrey Zhao, Kaushal Patel, Paul Komarek, Sophia Austin, Sebastian Borgeaud, Linda Friso, Abhimanyu Goyal, Ben Caine, Kris Cao, Da-Woon Chung, Matthew Lamm, Gabe Barth-Maron, Thais Kagohara, Kate Olszewska, Mia Chen, Kaushik Shivakumar, Rishabh Agarwal, Harshal Godhia, Ravi Rajwar, Javier Snaider, Xerxes Dotiwalla, Yuan Liu, Aditya Barua, Victor Ungureanu, Yuan Zhang, Bat-Orgil Batsaikhan, Mateo Wirth, James Qin, Ivo Danihelka, Tulsee Doshi, Martin Chadwick, Jilin Chen, Sanil Jain, Quoc Le, Arjun Kar, Madhu Gurumurthy, Cheng Li, Ruoxin Sang, Fangyu Liu, Lampros Lamprou, Rich Munoz, Nathan Lintz, Harsh Mehta, Heidi Howard, Malcolm Reynolds, Lora Aroyo, Quan Wang, Lorenzo Blanco, Albin Cassirer, Jordan Griffith, Dipanjan Das, Stephan Lee, Jakub Sygnowski, Zach Fisher, James Besley, Richard Powell, Zafarali Ahmed, Dominik Paulus, David Reitter, Zalan Borsos, Rishabh Joshi, Aedan Pope, Steven Hand, Vittorio Selo, Vihan Jain, Nikhil Sethi, Megha Goel, Takaki Makino, Rhys May, Zhen Yang, Johan Schalkwyk, Christina Butterfield, Anja Hauth, Alex Goldin, Will Hawkins, Evan Senter, Sergey Brin, Oliver Woodman, Marvin Ritter, Eric Noland, Minh Giang, Vijay Bolina, Lisa Lee, Tim Blyth, Ian Mackinnon, Machel Reid, Obaid Sarvana, David Silver, Alexander Chen, Lily Wang, Loren Maggiore, Oscar Chang, Nithya Attaluri, Gregory Thornton, Chung-Cheng Chiu, Oskar Bunyan, Nir Levine, Timothy Chung, Evgenii Eltyshev, Xiance Si, Timothy Lillicrap, Demetra Brady, Vaibhav Aggarwal, Boxi Wu, Yuanzhong Xu, Ross McIlroy, Kartikeya Badola, Paramjit Sandhu, Erica Moreira, Wojciech Stokowiec, Ross Hemsley, Dong Li, Alex Tudor, Pranav Shyam, Elahe Rahimtoroghi, Salem Haykal, Pablo Sprechmann, Xiang Zhou, Diana Mincu, Yujia Li, Ravi Addanki, Kalpesh Krishna, Xiao Wu, Alexandre Frechette, Matan Eyal, Allan Dafoe, Dave Lacey, Jay Whang, Thi Avrahami, Ye Zhang, Emanuel Taropa, Hanzhao Lin, Daniel Toyama, Eliza Rutherford, Motoki Sano, HyunJeong Choe, Alex Tomala, Chalence Safranek-Shrader, Nora Kassner, Mantas Pajarskas, Matt Harvey, Sean Sechrist, Meire Fortunato, Christina Lyu, Gamaleldin Elsayed, Chenkai Kuang, James Lottes, Eric Chu, Chao Jia, Chih-Wei Chen, Peter Humphreys, Kate Baumli, Connie Tao, Rajkumar Samuel, Cicero Nogueira dos Santos, Anders Andreassen, Nemanja Rakićević, Dominik Grewe, Aviral Kumar, Stephanie Winkler, Jonathan Caton, Andrew Brock, Sid Dalmia, Hannah Sheahan, Iain Barr, Yingjie Miao, Paul Natsev, Jacob Devlin, Feryal Behbahani, Flavien Prost, Yanhua Sun, Artiom Myaskovsky, Thanumalayan Sankaranarayana Pillai, Dan Hurt, Angeliki Lazaridou, Xi Xiong, Ce Zheng, Fabio Pardo, Xiaowei Li, Dan Horgan, Joe Stanton, Moran Ambar, Fei Xia, Alejandro Lince, Mingqiu Wang, Basil Mustafa, Albert Webson, Hyo Lee, Rohan Anil, Martin Wicke, Timothy Dozat, Abhishek Sinha, Enrique Piqueras, Elahe Dabir, Shyam Upadhyay, Anudhyan Boral, Lisa Anne Hendricks, Corey Fry, Josip Djolonga, Yi Su, Jake Walker, Jane Labanowski, Ronny Huang, Vedant Misra, Jeremy Chen, RJ Skerry-Ryan, Avi Singh, Shruti Rijhwani, Dian Yu, Alex Castro-Ros, Beer Changpinyo, Romina Datta, Sumit Bagri, Arnar Mar Hrafnkelsson, Marcello Maggioni, Daniel Zheng, Yury Sulsky, Shaobo Hou, Tom Le Paine, Antoine Yang, Jason Riesa, Dominika Rogozinska, Dror Marcus, Dalia El Badawy, Qiao Zhang, Luyu Wang, Helen Miller, Jeremy Greer, Lars Lowe Sjos, Azade Nova, Heiga Zen, Rahma Chaabouni, Mihaela Rosca, Jiepu Jiang, Charlie Chen, Ruibo Liu, Tara Sainath, Maxim Krikun, Alex Polozov, Jean-Baptiste Lespiau, Josh Newlan, Zeyncep Cankara, Soo Kwak, Yunhan Xu, Phil Chen, Andy Coenen, Clemens Meyer, Katerina Tsihlas, Ada Ma, Juraj Gottweis, Jinwei Xing, Chenjie Gu, Jin Miao, Christian Frank, Zeynep Cankara, Sanjay Ganapathy, Ishita Dasgupta, Steph Hughes-Fitt, Heng Chen, David Reid, Keran Rong, Hongmin Fan, Joost van Amersfoort, Vincent Zhuang, Aaron Cohen, Shixiang Shane Gu, Anhad Mohananey, Anastasija Ilic, Taylor Tobin, John Wieting, Anna Bortsova, Phoebe Thacker, Emma Wang, Emily Caveness, Justin Chiu, Eren Sezener, Alex Kaskasoli, Steven Baker, Katie Millican, Mohamed Elhawaty, Kostas Aisopos, Carl Lebsack, Nathan Byrd, Hanjun Dai, Wenhao Jia, Matthew Wiethoff, Elnaz Davoodi, Albert Weston, Lakshman Yagati, Arun Ahuja, Isabel Gao, Golan Pundak, Susan Zhang, Michael Azzam, Khe Chai Sim, Sergi Caelles, James Keeling, Abhanshu Sharma, Andy Swing, YaGuang Li, Chenxi Liu, Carrie Grimes Bostock, Yamini Bansal, Zachary Nado, Ankesh Anand, Josh Lipschultz, Abhijit Karmarkar, Lev Proleev, Abe Ittycheriah, Soheil Hassas Yeganeh, George Polovets, Aleksandra Faust, Jiao Sun, Alban Rrustemi, Pen Li, Rakesh Shivanna, Jeremiah Liu, Chris Welty, Federico Lebron, Anirudh Baddepudi, Sebastian Krause, Emilio Parisotto, Radu Soricut, Zheng Xu, Dawn Bloxwich, Melvin Johnson, Behnam Neyshabur, Justin Mao-Jones, Renshen Wang, Vinay Ramasesh, Zaheer Abbas, Arthur Guez, Constant Segal, Duc Dung Nguyen, James Svensson, Le Hou, Sarah York, Kieran Milan, Sophie Bridgers, Wiktor Gworek, Marco Tagliasacchi, James Lee-Thorp, Michael Chang, Alexey Guseynov, Ale Jakse Hartman, Michael Kwong, Ruizhe Zhao, Sheleem Kashem, Elizabeth Cole, Antoine Miech, Richard Tanburn, Mary Phuong, Filip Pavetic, Sebastien Cevey, Ramona Comanescu, Richard Ives, Sherry Yang, Cosmo Du, Bo Li, Zizhao Zhang, Mariko Iinuma, Clara Huiyi Hu, Aurko Roy, Shaan Bijwadia, Zhenkai Zhu, Danilo Martins, Rachel Saputro, Anita Gergely, Steven Zheng, Dawei Jia, Ioannis Antonoglou, Adam Sadovsky, Shane Gu, Yingying Bi, Alek Andreev, Sina Samangooei, Mina Khan, Tomas Kocisky, Angelos Filos, Chintu Kumar, Colton Bishop, Adams Yu, Sarah Hodkinson, Sid Mittal, Premal Shah, Alexandre Moufarek, Yong Cheng, Adam Bloniarz, Jaehoon Lee, Pedram Pejman, Paul Michel, Stephen Spencer, Vladimir Feinberg, Xuehan Xiong, Nikolay Savinov, Charlotte Smith, Siamak Shakeri, Dustin Tran, Mary Chesus, Bernd Bohnet, George Tucker, Tamara von Glehn, Carrie Muir, Yiran Mao, Hideto Kazawa, Ambrose Slone, Kedar Soparkar, Disha Shrivastava, James Cobon-Kerr, Michael Sharman, Jay Pavagadhi, Carlos Araya, Karolis Misiunas, Nimesh Ghelani, Michael Laskin, David Barker, Qiujia Li, Anton Briukhov, Neil Houlsby, Mia Glaese, Balaji Lakshminarayanan, Nathan Schucher, Yunhao Tang, Eli Collins, Hyeontaek Lim, Fangxiaoyu Feng, Adria Recasens, Guangda Lai, Alberto Magni, Nicola De Cao, Aditya Siddhant, Zoe Ashwood, Jordi Orbay, Mostafa Dehghani, Jenny Brennan, Yifan He, Kelvin Xu, Yang Gao, Carl Saroufim, James Molloy, Xinyi Wu, Seb Arnold, Solomon Chang, Julian Schrittwieser, Elena Buchatskaya, Soroush Radpour, Martin Polacek, Skye Giordano, Ankur Bapna, Simon Tokumine, Vincent Hellendoorn, Thibault Sottiaux, Sarah Cogan, Aliaksei Severyn, Mohammad Saleh, Shantanu Thakoor, Laurent Shefey, Siyuan Qiao, Meenu Gaba, Shuo-yiin Chang, Craig Swanson, Biao Zhang, Benjamin Lee, Paul Kishan Rubenstein, Gan Song, Tom Kwiatkowski, Anna Koop, Ajay Kannan, David Kao, Parker Schuh, Axel Stjerngren, Golnaz Ghiasi, Gena Gibson, Luke Vilnis, Ye Yuan, Felipe Tiengo Ferreira, Aishwarya Kamath, Ted Klimenko, Ken Franko, Kefan Xiao, Indro Bhattacharya, Miteyan Patel, Rui Wang, Alex Morris, Robin Strudel, Vivek Sharma, Peter Choy, Sayed Hadi Hashemi, Jessica Landon, Mara Finkelstein, Priya Jhakra, Justin Frye, Megan Barnes, Matthew Mauger, Dennis Daun, Khuslen Baatarsukh, Matthew Tung, Wael Farhan, Henryk Michalewski, Fabio Viola, Felix de Chaumont Quitry, Charline Le Lan, Tom Hudson, Qingze Wang, Felix Fischer, Ivy Zheng, Elspeth White, Anca Dragan, Jean-baptiste Alayrac, Eric Ni, Alexander Pritzel, Adam Iwanicki, Michael Isard, Anna Bulanova, Lukas Zilka, Ethan Dyer, Devendra Sachan, Srivatsan Srinivasan, Hannah Muckenhirn, Honglong Cai, Amol Mandhane, Mukarram Tariq, Jack W. Rae, Gary Wang, Kareem Ayoub, Nicholas FitzGerald, Yao Zhao, Woohyun Han, Chris Alberti, Dan Garrette, Kashyap Krishnakumar, Mai Gimenez, Anselm Levskaya, Daniel Sohn, Josip Matak, Inaki Iturrate, Michael B. Chang, Jackie Xiang, Yuan Cao, Nishant Ranka, Geoff Brown, Adrian Hutter, Vahab Mirrokni, Nanxin Chen, Kaisheng Yao, Zoltan Egyed, Francois Galilee, Tyler Liechty, Praveen Kallakuri, Evan Palmer, Sanjay Ghemawat, Jasmine Liu, David Tao, Chloe Thornton, Tim Green, Mimi Jasarevic, Sharon Lin, Victor Cotruta, Yi-Xuan Tan, Noah Fiedel, Hongkun Yu, Ed Chi, Alexander Neitz, Jens Heitkaemper, Anu Sinha, Denny Zhou, Yi Sun, Charbel Kaed, Brice Hulse, Swaroop Mishra, Maria Georgaki, Sneha Kudugunta, Clement Farabet, Izhak Shafran, Daniel Vlasic, Anton Tsitsulin, Rajagopal Ananthanarayanan, Alen Carin, Guolong Su, Pei Sun, Shashank V, Gabriel Carvajal, Josef Broder, Iulia Comsa, Alena Repina, William Wong, Warren Weilun Chen, Peter Hawkins, Egor Filonov, Lucia Loher, Christoph Hirnschall, Weiyi Wang, Jingchen Ye, Andrea Burns, Hardie Cate, Diana Gage Wright, Federico Piccinini, Lei Zhang, Chu-Cheng Lin, Ionel Gog, Yana Kulizhskaya, Ashwin Sreevatsa, Shuang Song, Luis C. Cobo, Anand Iyer, Chetan Tekur, Guillermo Garrido, Zhuyun Xiao, Rupert Kemp, Huaixiu Steven Zheng, Hui Li, Ananth Agarwal, Christel Ngani, Kati Goshvadi, Rebeca Santamaria-Fernandez, Wojciech Fica, Xinyun Chen, Chris Gorgolewski, Sean Sun, Roopal Garg, Xinyu Ye, S. M. Ali Eslami, Nan Hua, Jon Simon, Pratik Joshi, Yelin Kim, Ian Tenney, Sahitya Potluri, Lam Nguyen Thiet, Quan Yuan, Florian Luisier, Alexandra Chronopoulou, Salvatore Scellato, Praveen Srinivasan, Minmin Chen, Vinod Koverkathu, Valentin Dalibard, Yaming Xu, Brennan Saeta, Keith Anderson, Thibault Sellam, Nick Fernando, Fantine Huot, Junehyuk Jung, Mani Varadarajan, Michael Quinn, Amit Raul, Maigo Le, Ruslan Habalov, Jon Clark, Komal Jalan, Kalesha Bullard, Achintya Singhal, Thang Luong, Boyu Wang, Sujeevan Rajayogam, Julian Eisenschlos, Johnson Jia, Daniel Finchelstein, Alex Yakubovich, Daniel Balle, Michael Fink, Sameer Agarwal, Jing Li, Dj Dvijotham, Shalini Pal, Kai Kang, Jaclyn Konzelmann, Jennifer Beattie, Olivier Dousse, Diane Wu, Remi Crocker, Chen Elkind, Siddhartha Reddy Jonnalagadda, Jong Lee, Dan Holtmann-Rice, Krystal Kallarackal, Rosanne Liu, Denis Vnukov, Neera Vats, Luca Invernizzi, Mohsen Jafari, Huanjie Zhou, Lilly Taylor, Jennifer Prendki, Marcus Wu, Tom Eccles, Tianqi Liu, Kavya Kopparapu, Francoise Beaufays, Christof Angermueller, Andreea Marzoca, Shourya Sarcar, Hilal Dib, Jeff Stanway, Frank Perbet, Nejc Trdin, Rachel Sterneck, Andrey Khorlin, Dinghua Li, Xihui Wu, Sonam Goenka, David Madras, Sasha Goldshtein, Willi Gierke, Tong Zhou, Yaxin Liu, Yannie Liang, Anais White, Yunjie Li, Shreya Singh, Sanaz Bahargam, Mark Epstein, Sujoy Basu, Li Lao, Adnan Ozturel, Carl Crous, Alex Zhai, Han Lu, Zora Tung, Neeraj Gaur, Alanna Walton, Lucas Dixon, Ming Zhang, Amir Globerson, Grant Uy, Andrew Bolt, Olivia Wiles, Milad Nasr, Ilia Shumailov, Marco Selvi, Francesco Piccinno, Ricardo Aguilar, Sara McCarthy, Misha Khalman, Mrinal Shukla, Vlado Galic, John Carpenter, Kevin Villela, Haibin Zhang, Harry Richardson, James Martens, Matko Bosnjak, Shreyas Rammohan Belle, Jeff Seibert, Mahmoud Alnahlawi, Brian McWilliams, Sankalp Singh, Annie Louis, Wen Ding, Dan Popovici, Lenin Simicich, Laura Knight, Pulkit Mehta, Nishesh Gupta, Chongyang Shi, Saaber Fatehi, Jovana Mitrovic, Alex Grills, Joseph Pagadora, Dessie Petrova, Danielle Eisenbud, Zhishuai Zhang, Damion Yates, Bhavishya Mittal, Nilesh Tripuraneni, Yannis Assael, Thomas Brovelli, Prateek Jain, Mihajlo Velimirovic, Canfer Akbulut, Jiaqi Mu, Wolfgang Macherey, Ravin Kumar, Jun Xu, Haroon Qureshi, Gheorghe Comanici, Jeremy Wiesner, Zhitao Gong, Anton Ruddock, Matthias Bauer, Nick Felt, Anirudh GP, Anurag Arnab, Dustin Zelle, Jonas Rothfuss, Bill Rosgen, Ashish Shenoy, Bryan Seybold, Xinjian Li, Jayaram Mudigonda, Goker Erdogan, Jiawei Xia, Jiri Simsa, Andrea Michi, Yi Yao, Christopher Yew, Steven Kan, Isaac Caswell, Carey Radebaugh, Andre Elisseeff, Pedro Valenzuela, Kay McKinney, Kim Paterson, Albert Cui, Eri Latorre-Chimoto, Solomon Kim, William Zeng, Ken Durden, Priya Ponnapalli, Tiberiu Sosea, Christopher A. Choquette-Choo, James Manyika, Brona Robenek, Harsha Vashisht, Sebastien Pereira, Hoi Lam, Marko Velic, Denese Owusu-Afriyie, Katherine Lee, Tolga Bolukbasi, Alicia Parrish, Shawn Lu, Jane Park, Balaji Venkatraman, Alice Talbert, Lambert Rosique, Yuchung Cheng, Andrei Sozanschi, Adam Paszke, Praveen Kumar, Jessica Austin, Lu Li, Khalid Salama, Wooyeol Kim, Nandita Dukkipati, Anthony Baryshnikov, Christos Kaplanis, XiangHai Sheng, Yuri Chervonyi, Caglar Unlu, Diego de Las Casas, Harry Askham, Kathryn Tunyasuvunakool, Felix Gimeno, Siim Poder, Chester Kwak, Matt Miecnikowski, Vahab Mirrokni, Alek Dimitriev, Aaron Parisi, Dangyi Liu, Tomy Tsai, Toby Shevlane, Christina Kouridi, Drew Garmon, Adrian Goedeckemeyer, Adam R. Brown, Anitha Vijayakumar, Ali Elqursh, Sadegh Jazayeri, Jin Huang, Sara Mc Carthy, Jay Hoover, Lucy Kim, Sandeep Kumar, Wei Chen, Courtney Biles, Garrett Bingham, Evan Rosen, Lisa Wang, Qijun Tan, David Engel, Francesco Pongetti, Dario de Cesare, Dongseong Hwang, Lily Yu, Jennifer Pullman, Srini Narayanan, Kyle Levin, Siddharth Gopal, Megan Li, Asaf Aharoni, Trieu Trinh, Jessica Lo, Norman Casagrande, Roopali Vij, Loic Matthey, Bramandia Ramadhana, Austin Matthews, CJ Carey, Matthew Johnson, Kremena Goranova, Rohin Shah, Shereen Ashraf, Kingshuk Dasgupta, Rasmus Larsen, Yicheng Wang, Manish Reddy Vuyyuru, Chong Jiang, Joana Ijazi, Kazuki Osawa, Celine Smith, Ramya Sree Boppana, Taylan Bilal, Yuma Koizumi, Ying Xu, Yasemin Altun, Nir Shabat, Ben Bariach, Alex Korchemniy, Kiam Choo, Olaf Ronneberger, Chimezie Iwuanyanwu, Shubin Zhao, David Soergel, Cho-Jui Hsieh, Irene Cai, Shariq Iqbal, Martin Sundermeyer, Zhe Chen, Elie Bursztein, Chaitanya Malaviya, Fadi Biadsy, Prakash Shroff, Inderjit Dhillon, Tejasi Latkar, Chris Dyer, Hannah Forbes, Massimo Nicosia, Vitaly Nikolaev, Somer Greene, Marin Georgiev, Pidong Wang, Nina Martin, Hanie Sedghi, John Zhang, Praseem Banzal, Doug Fritz, Vikram Rao, Xuezhi Wang, Jiageng Zhang, Viorica Patraucean, Dayou Du, Igor Mordatch, Ivan Jurin, Lewis Liu, Ayush Dubey, Abhi Mohan, Janek Nowakowski, Vlad-Doru Ion, Nan Wei, Reiko Tojo, Maria Abi Raad, Drew A. Hudson, Vaishakh Keshava, Shubham Agrawal, Kevin Ramirez, Zhichun Wu, Hoang Nguyen, Ji Liu, Madhavi Sewak, Bryce Petrini, DongHyun Choi, Ivan Philips, Ziyue Wang, Ioana Bica, Ankush Garg, Jarek Wilkiewicz, Priyanka Agrawal, Xiaowei Li, Danhao Guo, Emily Xue, Naseer Shaik, Andrew Leach, Sadh MNM Khan, Julia Wiesinger, Sammy Jerome, Abhishek Chakladar, Alek Wenjiao Wang, Tina Ornduff, Folake Abu, Alireza Ghaffarkhah, Marcus Wainwright, Mario Cortes, Frederick Liu, Joshua Maynez, Slav Petrov, Yonghui Wu, Demis Hassabis, Koray Kavukcuoglu, Jeffrey Dean, Oriol Vinyals
cs.CL
cs.CL, cs.AI
In this report, we introduce the Gemini 1.5 family of models, representing the next generation of highly compute-efficient multimodal models capable of recalling and reasoning over fine-grained information from millions of tokens of context, including multiple long documents and hours of video and audio. The family includes two new models: (1) an updated Gemini 1.5 Pro, which exceeds the February version on the great majority of capabilities and benchmarks; (2) Gemini 1.5 Flash, a more lightweight variant designed for efficiency with minimal regression in quality. Gemini 1.5 models achieve near-perfect recall on long-context retrieval tasks across modalities, improve the state-of-the-art in long-document QA, long-video QA and long-context ASR, and match or surpass Gemini 1.0 Ultra's state-of-the-art performance across a broad set of benchmarks. Studying the limits of Gemini 1.5's long-context ability, we find continued improvement in next-token prediction and near-perfect retrieval (>99%) up to at least 10M tokens, a generational leap over existing models such as Claude 3.0 (200k) and GPT-4 Turbo (128k). Finally, we highlight real-world use cases, such as Gemini 1.5 collaborating with professionals on completing their tasks achieving 26 to 75% time savings across 10 different job categories, as well as surprising new capabilities of large language models at the frontier; when given a grammar manual for Kalamang, a language with fewer than 200 speakers worldwide, the model learns to translate English to Kalamang at a similar level to a person who learned from the same content.
[ -0.522882878780365, -0.43199846148490906, 0.4236488938331604, 0.36266112327575684, -0.22991548478603363, -0.25820499658584595, -0.035886406898498535, -0.5919262766838074, 0.10991354286670685, 0.5180525779724121, -0.8583506941795349, -0.46405187249183655, -0.7155023813247681, -0.10166362673044205, -0.6997359991073608, 0.9017400741577148, 0.25864526629447937, -0.16353082656860352, -0.317719042301178, -0.20686623454093933, -0.42655864357948303, -0.4829769730567932, -0.6329421997070312, 0.07056935131549835, 0.7122495174407959, 0.4809184670448303, 0.7346494197845459, 0.5114331245422363, 0.6397339701652527, 0.2391803115606308, -0.21757163107395172, -0.055641282349824905, -0.4205480217933655, 0.07324942201375961, -0.25344860553741455, -0.11321408301591873, -0.638240396976471, 0.1028519719839096, 0.5879676342010498, 0.6977539658546448, 0.01278902217745781, 0.26837313175201416, -0.42030030488967896, 0.6664217710494995, -0.725673496723175, 0.3152927756309509, -0.5285090208053589, -0.04628164693713188, -0.07032322883605957, 0.021876731887459755, -0.4661197066307068, 0.34112539887428284, 0.2988151013851166, -0.8947887420654297, -0.008463689126074314, -0.06680546700954437, 0.5621995329856873, 0.3868734538555145, -0.7263584136962891, -0.2800893187522888, -0.5448827147483826, 0.6137004494667053, -0.513762354850769, 0.5076895356178284, 0.2336696982383728, 0.5269954204559326, 0.003880705451592803, -1.3164560794830322, -0.637472927570343, -0.23690466582775116, 0.10228880494832993, 0.3964060842990875, -0.06434593349695206, 0.09159214049577713, 0.18875423073768616, 0.27624690532684326, -0.2867022454738617, -0.046356797218322754, -0.5457431077957153, -0.06734155118465424, 0.2572627365589142, 0.2362860143184662, -0.06346318870782852, -0.530556857585907, -0.43214619159698486, -0.08156291395425797, -0.5924992561340332, 0.07336222380399704, -0.06970448791980743, 0.10006724298000336, -0.1686359941959381, 0.2628307640552521, -0.14741146564483643, 0.5870402455329895, -0.1899423450231552, -0.1830216944217682, -0.031674325466156006, -0.673891544342041, -0.15773726999759674, -0.2147451788187027, 0.4788301885128021, 0.20944084227085114, -0.10182881355285645, -0.11372314393520355, -0.1369716227054596, 0.05889522284269333, 0.2793635129928589, -0.6889562010765076, -0.03268439695239067, 0.2557249069213867, -0.7645586729049683, -0.03410254046320915, 0.26979923248291016, -0.2634589374065399, -0.4029504358768463, -0.4297869801521301, 0.5224286913871765, -0.680928647518158, -0.3082740604877472, 0.1390104442834854, -0.30371272563934326, 0.2273339033126831, 0.4855605959892273, -1.0155189037322998, 0.2430764138698578, 1.1062228679656982, 0.7079184651374817, -0.0693126991391182, -0.36238110065460205, -0.437325119972229, 0.005599916912615299, -0.21129897236824036, 0.3687642514705658, -0.5536931753158569, -0.4394192695617676, -0.19363176822662354, -0.14093747735023499, -0.011500310152769089, -0.4268561899662018, 0.5766705870628357, -0.33972984552383423, 0.28991618752479553, -0.29146283864974976, -0.44265520572662354, -0.14775213599205017, 0.3623681664466858, -0.7048386931419373, 0.9966511130332947, 0.4053455889225006, -0.6687644720077515, 0.4820030927658081, -0.9762629270553589, -0.26890578866004944, -0.1516779512166977, 0.11324616521596909, -0.007418052759021521, 0.2693154215812683, 0.13008658587932587, 0.4135068356990814, -0.19615969061851501, 0.21361050009727478, -0.11034300923347473, -0.4413032531738281, 0.18960745632648468, -0.5102153420448303, 0.4862027168273926, 0.47577914595603943, -0.14364251494407654, 0.4247657060623169, -0.575774073600769, -0.40219050645828247, -0.31608250737190247, -0.2962858974933624, -0.11725073307752609, 0.03978946805000305, 0.38523340225219727, 0.7132143378257751, 0.30772262811660767, -0.6375367045402527, 0.26713827252388, -0.2413983792066574, 0.5948806405067444, 0.7455662488937378, -0.44923877716064453, 0.37807828187942505, -0.1432274878025055, 0.5327053666114807, 0.542808473110199, 0.8348960876464844, -1.0413258075714111, -0.4221956431865692, -0.7246692776679993, -0.5160514712333679, 0.44084253907203674, 0.1773616522550583, -0.7713451981544495, -0.03344915807247162, -0.5483852028846741, -0.30161944031715393, -0.6262179613113403, -0.08716954290866852, 0.4293237328529358, 0.5314407348632812, 0.39127886295318604, -0.29747042059898376, -0.4930267035961151, -0.9885293841362, -0.06513369828462601, 0.02540328912436962, 0.1491570621728897, 0.4382208287715912, 0.6464129686355591, -0.4212161600589752, 1.0850942134857178, -0.04893583059310913, -0.014942561276257038, -0.19186100363731384, 0.17100147902965546, 0.31935495138168335, 0.3767172396183014, 0.5303409695625305, -1.1001323461532593, -0.4010792374610901, -0.04483772814273834, -0.6470518112182617, 0.435345858335495, -0.2696310579776764, -0.049285776913166046, 0.45622718334198, 0.6293551325798035, -0.5919579863548279, 0.28398919105529785, 0.6835130453109741, -0.6985073089599609, 0.3706527650356293, -0.254753440618515, -0.1065976545214653, -1.3700810670852661, 0.3891286551952362, -0.10580769926309586, -0.32185131311416626, -0.579897940158844, 0.13683077692985535, 0.4887891411781311, -0.09978604316711426, -0.7032819986343384, 0.9206010699272156, -0.420297771692276, -0.10387256741523743, -0.12547674775123596, 0.22059224545955658, -0.35435375571250916, 0.3066295087337494, -0.1954875886440277, 0.7086586356163025, 0.6537720561027527, -0.5868309140205383, 0.3009628355503082, 0.19022363424301147, -0.4404216706752777, 0.3440259099006653, -0.36675623059272766, 0.06527489423751831, -0.5525732636451721, 0.472126841545105, -1.059566617012024, -0.2935861349105835, 0.014134068973362446, -0.6006744503974915, 0.24299190938472748, -0.10257841646671295, -0.3651933968067169, -0.5188086032867432, -0.360277384519577, 0.189875528216362, 0.35230815410614014, -0.7720849514007568, 0.9845050573348999, 0.21133337914943695, -0.16867123544216156, -1.0428460836410522, -0.45138418674468994, 0.28354427218437195, 0.05575603246688843, -0.9015799760818481, 0.6423414945602417, 0.08262133598327637, -0.11950056254863739, -0.04086247831583023, -0.46268612146377563, 0.14313474297523499, 0.2821149528026581, 0.4002262353897095, 0.4828735291957855, -0.04981207847595215, 0.19455739855766296, 0.19424523413181305, -0.41021814942359924, -0.019796213135123253, -0.42766886949539185, 0.3930351138114929, -0.06418628245592117, -0.19734956324100494, -0.29943379759788513, 0.28560781478881836, 1.1026510000228882, -0.2988741993904114, 0.9651170372962952, 0.8109850883483887, -0.3924080729484558, 0.1382799744606018, -0.5670216679573059, -0.1177777424454689, -0.47624528408050537, 0.4920240044593811, -0.6371711492538452, -0.8595117330551147, 0.7200678586959839, -0.030348846688866615, 0.24268941581249237, 0.5284113883972168, 0.211899071931839, 0.05348464474081993, 1.0380414724349976, 0.8306129574775696, -0.2759297788143158, 0.8875859379768372, -0.41556045413017273, -0.046200286597013474, -0.8718369007110596, -0.502737283706665, -0.2442452758550644, -0.440611332654953, -0.4123057425022125, -0.4222484230995178, 0.6805272698402405, -0.037353336811065674, -0.08191590011119843, 0.24962849915027618, -0.20054872334003448, 0.516922116279602, 0.9119870066642761, 0.06507151573896408, 0.30434203147888184, -0.3184957206249237, -0.13194547593593597, 0.16971606016159058, -0.8756710886955261, -0.35088321566581726, 1.340590476989746, 0.3463190197944641, 0.5841749906539917, 0.1988331526517868, 0.427109956741333, -0.040661927312612534, 0.8271507024765015, -0.6981982588768005, 0.44003474712371826, -0.5053679347038269, -1.1572331190109253, -0.10441620647907257, -0.4633568525314331, -0.8125512599945068, 0.4224521815776825, -0.45945030450820923, -0.4965590834617615, -0.18719260394573212, 0.029680529609322548, -0.33700570464134216, 0.002210692735388875, -0.6372216939926147, 1.2501639127731323, -0.21559634804725647, -0.45207226276397705, -0.5551192164421082, -1.0926377773284912, 0.4093500077724457, 0.035875651985406876, 0.13680259883403778, -0.05213334038853645, -0.1346762776374817, 0.5346017479896545, -0.04665597155690193, 0.532381534576416, -0.22661073505878448, 0.19674202799797058, 0.12224781513214111, -0.1039043590426445, 0.24122877418994904, 0.08404894173145294, -0.12938393652439117, -0.06882788985967636, 0.4314417839050293, -0.3931090235710144, -0.40656521916389465, 0.7347710728645325, -0.6151303052902222, -0.3505564033985138, -0.2914399206638336, -0.6815550327301025, 0.05044234171509743, 0.1298353523015976, 0.0672042965888977, 0.7450069785118103, -0.3453207314014435, 0.5339534282684326, 0.47814643383026123, -0.3355783224105835, 0.5999804139137268, 0.5069084763526917, -0.3720112442970276, -0.3991350829601288, 0.6322720050811768, -0.03413014113903046, 0.30836862325668335, 0.513170063495636, -0.05631569027900696, -0.47081977128982544, -0.29704299569129944, -0.3751581907272339, 0.24061556160449982, -0.8607171773910522, 0.015318346209824085, -0.7029432058334351, 0.13761071860790253, -0.6166994571685791, -0.00526661891490221, -0.5520221590995789, -0.7336869835853577, -0.1381598263978958, 0.12816499173641205, -0.0353764072060585, 0.7818660736083984, 0.1514904946088791, 0.3356491029262543, -0.9130531549453735, 0.3382190763950348, 0.1302180141210556, 0.3898976147174835, -0.1522376984357834, -0.5279129147529602, -0.4451141655445099, -0.16436991095542908, -0.5853443741798401, -0.6559377312660217, 0.3190942704677582, -0.08995562046766281, 0.5328816175460815, 0.5757935643196106, -0.3215941786766052, 0.7298489809036255, -0.04053712636232376, 0.8819464445114136, 0.2993593215942383, -1.1778552532196045, 0.29194164276123047, -0.6206055283546448, 0.5258323550224304, 0.4974307417869568, 0.37216290831565857, -1.1131203174591064, 0.11917334794998169, -0.6462066769599915, -0.8953699469566345, 0.963712215423584, 0.19839921593666077, 0.24016648530960083, -0.24315054714679718, 0.6897163987159729, 0.3377918601036072, 0.1826479732990265, -0.5103312730789185, -0.27601945400238037, -0.4148108661174774, -0.49080148339271545, -0.2646953761577606, -0.11467195302248001, 0.16975295543670654, -0.48149242997169495, 0.35942542552948, -0.24748225510120392, 0.3333509862422943, 0.24403882026672363, -0.016273075714707375, 0.2111584097146988, 0.17601916193962097, 0.7041628360748291, 0.9538353681564331, -0.18166875839233398, 0.07317745685577393, 0.11278586834669113, -0.4379872977733612, -0.3831615746021271, 0.20217253267765045, 0.2356298863887787, -0.11420042812824249, 0.2506100535392761, 0.8008714914321899, 0.47939950227737427, -0.7744566202163696, 0.542754054069519, -0.06766609847545624, -0.1324950009584427, -0.4694385528564453, 0.03164738416671753, 0.2657093107700348, 0.1904117912054062, 0.31178733706474304, 0.17569676041603088, 0.11555812507867813, -1.1346033811569214, 0.06151807680726051, 0.5144926905632019, -0.3313002586364746, -0.3076968491077423, 0.939524233341217, 0.4132257103919983, -0.030305689200758934, 0.9060891270637512, 0.02180079184472561, -0.4916606843471527, 0.6653966307640076, 0.5361360907554626, 0.5432868003845215, -0.03228209540247917, 0.050526779145002365, 0.45678240060806274, 0.10636963695287704, -0.3987329602241516, 0.33750250935554504, -0.28489139676094055, -0.5068513751029968, -0.3849708139896393, -0.3977774977684021, -0.6675540208816528, -0.22689436376094818, -0.4802835285663605, 0.18459773063659668, -0.4642469584941864, -0.29517021775245667, 0.07687687128782272, -0.09237459301948547, -0.5832872986793518, 0.17889174818992615, 0.44165217876434326, 1.4578932523727417, -0.3271927833557129, 1.0023897886276245, 0.6645411252975464, -0.3181404173374176, -0.5228825807571411, -0.4254562258720398, 0.021127834916114807, -0.38877514004707336, 0.637298583984375, 0.4183681905269623, -0.04428139328956604, -0.009560244157910347, -0.49505001306533813, -0.9155411124229431, 1.5382874011993408, 0.2905749976634979, -0.4660291075706482, -0.08416301757097244, -0.06883116811513901, 0.3959113657474518, -0.5034207701683044, 0.5246763229370117, 0.47790560126304626, 0.5665748119354248, 0.242655411362648, -1.1174366474151611, -0.17596930265426636, -0.40863943099975586, -0.14062084257602692, 0.39112555980682373, -0.7276095151901245, 1.1641544103622437, -0.24390210211277008, -0.19961632788181305, 0.40551888942718506, 0.6261420249938965, 0.04893868416547775, 0.6360426545143127, 0.3026725947856903, 0.33732959628105164, 0.6723999381065369, -0.27653366327285767, 1.4022122621536255, -0.6401448845863342, 0.25715112686157227, 0.9070169925689697, 0.16283033788204193, 0.9060789942741394, 0.6443977952003479, 0.16972586512565613, 0.45018741488456726, 0.4184318482875824, 0.4695713222026825, 0.32883813977241516, -0.17995548248291016, -0.4227767884731293, -0.3361292779445648, 0.10908811539411545, -0.18541282415390015, 0.38797834515571594, 0.4681623578071594, -0.5611617565155029, 0.25576093792915344, 0.040302351117134094, 0.05499482899904251, -0.32384899258613586, -0.4856868386268616, 0.5443527102470398, 0.03166615962982178, -1.1200393438339233, 0.24433431029319763, 0.30819544196128845, 0.9279426336288452, -0.7440815567970276, 0.22310982644557953, -0.3563143014907837, 0.5859784483909607, -0.09848245233297348, -0.592832624912262, 0.21696718037128448, -0.19634298980236053, -0.07682324200868607, -0.35655587911605835, 0.684398353099823, -0.17259332537651062, -0.4145404100418091, 0.22175586223602295, 0.3906221091747284, -0.07436256855726242, -0.4179011583328247, -0.5169095993041992, 0.03167695179581642, -0.3533603549003601, -0.2732822299003601, 0.13842105865478516, 0.2380146086215973, 0.038622308522462845, 0.9573748111724854, 0.6124976873397827, -0.38118818402290344, 0.39706116914749146, 0.044192057102918625, 0.8713378310203552, -1.0714842081069946, -0.44984081387519836, -0.5856524109840393, 0.635758638381958, -0.15440723299980164, -0.7258445620536804, 0.6658008694648743, 0.5660656690597534, 0.9453224539756775, -0.16907957196235657, 0.5112476944923401, -0.14444193243980408, 0.2151883989572525, -0.38696515560150146, 0.4311036765575409, -0.7596422433853149, 0.05659805238246918, -0.23760630190372467, -0.7120429873466492, -0.31378310918807983, 0.47162386775016785, -0.1726214438676834, 0.1477411687374115, 0.8212244510650635, 0.7523934841156006, -0.3216750919818878, 0.20137737691402435, 0.3483660817146301, 0.16679930686950684, 0.3280552625656128, 0.6540940999984741, 0.9164091944694519, -0.606157124042511, 0.7163631319999695, -0.15243197977542877, -0.2121511697769165, -0.12745165824890137, -0.605130136013031, -0.8271179795265198, -0.6064878106117249, 0.05475376546382904, -0.09605459868907928, -0.0430818647146225, 1.1135295629501343, 1.1449192762374878, -0.4282815754413605, -0.06284555047750473, 0.019302278757095337, -0.1318843960762024, -0.25638994574546814, -0.14088335633277893, -0.05401471629738808, -0.21316805481910706, -0.740760087966919, 0.46062421798706055, 0.5638974905014038, -0.17685115337371826, -0.393595427274704, -0.4350649118423462, -0.057178132236003876, 0.1988174468278885, 0.9317201972007751, 0.1460408866405487, -0.779628336429596, -0.16504646837711334, 0.3001093566417694, -0.13736984133720398, -0.09343834221363068, 0.8652591705322266, -0.9870081543922424, 0.4235145151615143, 0.5190395712852478, 0.24673211574554443, 1.0266718864440918, 0.014044751413166523, 0.20815777778625488, -0.44362688064575195, 0.1561889946460724, 0.05149178206920624, 0.4862145483493805, 0.13859347999095917, -0.04531533643603325, 0.5852876901626587, 0.12135854363441467, -0.28700992465019226, -0.4953656494617462, 0.4022529423236847, -1.2973793745040894, -0.667473316192627, 0.8327010273933411, 0.05825256183743477, -0.1921020746231079, -0.029077135026454926, -0.3132079839706421, 0.22170668840408325, -0.2729170024394989, 0.9694200754165649, 0.7858383059501648, 0.015330045484006405, -0.28703686594963074, -0.5355409383773804, 0.18260909616947174, 0.661194920539856, -0.7907395958900452, -0.0006550216930918396, 0.5228656530380249, 0.3661446273326874, 0.15689630806446075, 0.7746312022209167, -0.47100919485092163, 0.6381489038467407, 0.16372178494930267, -0.16022036969661713, -0.47772836685180664, -0.8155786991119385, -0.24545550346374512, 0.3019808828830719, -0.21165573596954346, 0.047201238572597504 ]
http://arxiv.org/abs/2403.05527v2
http://arxiv.org/pdf/2403.05527v2
GEAR: An Efficient KV Cache Compression Recipe for Near-Lossless Generative Inference of LLM
2024-03-08T18:48:30
2024-03-11T18:55:40
Hao Kang, Qingru Zhang, Souvik Kundu, Geonhwa Jeong, Zaoxing Liu, Tushar Krishna, Tuo Zhao
cs.LG
cs.LG, cs.AI, cs.CL
Key-value (KV) caching has become the de-facto to accelerate generation speed for large language models (LLMs) inference. However, the growing cache demand with increasing sequence length has transformed LLM inference to be a memory bound problem, significantly constraining the system throughput. Existing methods rely on dropping unimportant tokens or quantizing all entries uniformly. Such methods, however, often incur high approximation errors to represent the compressed matrices. The autoregressive decoding process further compounds the error of each step, resulting in critical deviation in model generation and deterioration of performance. To tackle this challenge, we propose GEAR, an efficient KV cache compression framework that achieves near-lossless high-ratio compression. GEAR first applies quantization to majority of entries of similar magnitudes to ultra-low precision. It then employs a low rank matrix to approximate the quantization error, and a sparse matrix to remedy individual errors from outlier entries. By adeptly integrating three techniques, GEAR is able to fully exploit their synergistic potentials. Our experiments demonstrate that compared to alternatives, GEAR achieves near-lossless 4-bit KV cache compression with up to 2.38x throughput improvement, while reducing peak-memory size up to 2.29x. Our code is publicly available at https://github.com/HaoKang-Timmy/GEAR.
[ -0.12669096887111664, -0.31152215600013733, 0.5209661722183228, 0.2592839300632477, -0.3762967884540558, 0.20844529569149017, -0.3779914975166321, -0.11301596462726593, 0.15666815638542175, 0.4310258626937866, -0.8082747459411621, -0.587457537651062, -0.30105945467948914, -0.2111203819513321, -0.46576201915740967, 0.43356385827064514, 0.19700127840042114, -0.07749788463115692, -0.12323229014873505, -0.06091269850730896, -0.5890437960624695, -0.5421919822692871, -0.42043164372444153, -0.12602300941944122, 0.3471221923828125, 0.39071330428123474, 0.4301007091999054, 0.7332208156585693, 0.46409523487091064, 0.24182778596878052, 0.070914126932621, 0.1416786015033722, -0.5595059394836426, 0.570772647857666, 0.424796998500824, -0.6599454283714294, -0.7091119289398193, -0.09203996509313583, 0.5911029577255249, 0.28274375200271606, -0.3012363314628601, 0.1173601895570755, -0.1268189698457718, 0.7968562841415405, -0.9756478667259216, 0.17149966955184937, -0.7457084655761719, 0.25659915804862976, -0.4558253288269043, -0.04317884519696236, -0.4102649688720703, -0.22100162506103516, -0.5497815012931824, -1.0219793319702148, 0.3621632754802704, 0.06426441669464111, 0.6988170146942139, 0.6373644471168518, 0.2460787296295166, 0.11835575103759766, -0.6939035058021545, 0.8505206108093262, -0.6840021014213562, 0.694805920124054, 0.5186570882797241, 0.2303933948278427, -0.13359041512012482, -0.8093370795249939, -0.9045904874801636, 0.490797221660614, 0.47214511036872864, 0.22770607471466064, -0.00003057890717172995, 0.1657053679227829, 0.21102666854858398, 0.7302005887031555, -0.4020002782344818, 0.05545945465564728, -0.16158874332904816, -0.12206139415502548, 0.29746586084365845, 0.21179650723934174, 0.0774778351187706, -0.20164436101913452, -0.10149269551038742, -0.7585897445678711, -1.1006373167037964, -0.15189144015312195, 0.6932263374328613, 0.22385694086551666, 0.07942639291286469, 0.35232052206993103, -0.38684749603271484, 0.5910032987594604, 0.21991631388664246, -0.17589642107486725, 0.0149961207062006, -0.08753160387277603, -0.45612022280693054, 0.16916649043560028, 0.6317436099052429, 0.5914320349693298, -0.07313796132802963, -0.5012738704681396, -0.12241218984127045, 0.23240624368190765, 0.45317208766937256, -0.7961359620094299, -0.3700656592845917, 0.1451943963766098, -0.35311007499694824, -0.494236558675766, 0.03749045357108116, -0.7569878101348877, -0.26226603984832764, 0.07362453639507294, 0.4256134033203125, 0.002290196716785431, 0.0050596268847584724, 0.4368971586227417, -0.1541648507118225, 0.3761027157306671, 0.26022401452064514, -0.8216438293457031, 0.24731004238128662, 0.6030595302581787, 0.9917910695075989, -0.1942761093378067, 0.14756761491298676, -0.8515129685401917, 0.3228663504123688, -0.35201185941696167, 0.6891356706619263, -0.34183868765830994, -0.36241665482521057, 0.04882870614528656, 0.10634423792362213, 0.4023703634738922, -0.5250584483146667, 0.5918264389038086, -1.0723869800567627, -0.36043354868888855, -0.5406642556190491, -0.33883827924728394, 0.0895967036485672, 0.13011512160301208, -0.865385115146637, 1.061354637145996, 0.21053367853164673, -0.16367274522781372, 0.6443403363227844, -0.11613303422927856, -0.641948938369751, -0.092533178627491, 0.1501997709274292, -0.33156347274780273, 0.2020845264196396, 0.21153178811073303, 0.35215649008750916, -0.5778415203094482, 0.2074143886566162, -0.5616424679756165, -0.3820147216320038, -0.23225000500679016, -0.5360248684883118, 0.27712228894233704, 0.12197229266166687, -0.13842494785785675, -0.1549435406923294, -0.7795652747154236, 0.3437635600566864, 0.012026221491396427, -0.4151187837123871, -0.29280173778533936, -0.02463464066386223, -0.19686757028102875, 0.35281479358673096, -0.006349328905344009, -0.31985875964164734, 0.5695892572402954, -0.338019460439682, 0.4344680607318878, 0.9164285659790039, -0.2975260615348816, 0.6873703002929688, -0.13550545275211334, 0.5661930441856384, -0.07036687433719635, 0.23532676696777344, 0.01115233451128006, -0.2896118462085724, -1.0849413871765137, 0.02948818728327751, 0.40866172313690186, 0.21984735131263733, -0.7801690101623535, 0.3306899964809418, -0.6529203057289124, -0.21088352799415588, -0.7864439487457275, 0.21542701125144958, 0.3333367705345154, 0.4652861952781677, 0.4130541980266571, -0.5110093951225281, -0.5472180247306824, -0.6187577247619629, -0.09619347751140594, -0.3370956480503082, -0.2342289388179779, 0.10687468945980072, 0.07506358623504639, 0.11783062666654587, 0.6935739517211914, -0.5124258995056152, -0.16301460564136505, 0.0707356259226799, 0.22111305594444275, 0.2926783561706543, 0.4689136743545532, -0.24793174862861633, -0.33006221055984497, -0.18281808495521545, -0.2645684778690338, -0.6037778854370117, -0.3689548671245575, 0.08338909596204758, -0.3283102810382843, 0.20473894476890564, 0.4021751880645752, -0.6727294921875, 0.36777642369270325, 0.652704119682312, 0.2250921130180359, 0.47949424386024475, -0.1946118026971817, 0.14331287145614624, -0.913436770439148, -0.017605189234018326, -0.40225574374198914, -0.2574393153190613, -0.2890704870223999, -0.16105495393276215, 0.20862138271331787, 0.1426302045583725, -0.20769010484218597, 0.4286379814147949, -0.3496226370334625, -0.28498485684394836, -0.12130054086446762, -0.177019402384758, 0.29642677307128906, 0.4975106120109558, -0.032697197049856186, 1.1404391527175903, 0.016893086954951286, -0.7927457690238953, 0.17536687850952148, 0.18552416563034058, -0.418061763048172, 0.49418479204177856, -0.5120896100997925, 0.3480473756790161, 0.17561021447181702, 0.41179248690605164, -0.4670865833759308, -0.27534112334251404, 0.0405617319047451, -0.10043833404779434, 0.6402406096458435, -0.5298638939857483, -0.8804347515106201, -0.3682262897491455, -0.5219352841377258, 0.4783782362937927, 0.8011929392814636, -0.699399471282959, 0.2390819638967514, 0.5175216197967529, 0.2199549823999405, -0.5609859824180603, -0.8815913200378418, 0.176723450422287, -0.16212411224842072, -0.6349177956581116, 0.5836191177368164, -0.28868263959884644, -0.030276816338300705, -0.22560833394527435, -0.5300641059875488, -0.08354200422763824, -0.25148144364356995, 0.12126284837722778, 0.08910440653562546, -0.3122417628765106, 0.44664502143859863, 0.16130976378917694, -0.293427973985672, -0.04086679592728615, -0.7781617641448975, 0.8603269457817078, -0.24907070398330688, -0.2478833645582199, -0.16056784987449646, 0.09385814517736435, 0.7541197538375854, 0.18885749578475952, 0.40505698323249817, 0.4112401008605957, -0.06354431807994843, -0.24532181024551392, -0.6925830841064453, -0.1810639500617981, -0.5318804383277893, -0.05150789022445679, -0.17454779148101807, -0.6037306785583496, 0.5444930791854858, -0.17964766919612885, -0.20852483808994293, 0.4550498127937317, 0.4281630516052246, -0.15193168818950653, 0.7661064863204956, 0.11211178451776505, -0.27861878275871277, 0.20054824650287628, -0.6001790165901184, 0.2436937838792801, -1.0111712217330933, -0.004438194911926985, -0.22801925241947174, -0.4742053747177124, -0.4413250982761383, -0.9380426406860352, 0.5928534865379333, 0.3102630376815796, -0.3452543020248413, 0.20616893470287323, -0.4722658097743988, 0.4655338227748871, 0.568063497543335, 0.0704391673207283, 0.45700255036354065, 0.008282260037958622, -0.006872213911265135, -0.05386330559849739, -1.0656558275222778, -0.1783420294523239, 0.9647204875946045, -0.11515376716852188, 1.2549039125442505, 0.010289245285093784, 0.3544708490371704, 0.3622249960899353, 0.0366511233150959, -0.749112606048584, 0.3880128264427185, -0.1643475890159607, -0.4359606206417084, -0.12894071638584137, -0.2005549669265747, -0.6189180612564087, -0.005845263134688139, -0.09188105165958405, -0.41145315766334534, 0.18658915162086487, 0.33419468998908997, -0.45675620436668396, 0.6185270547866821, -0.4516512155532837, 0.5403238534927368, 0.04045628011226654, -0.595503032207489, -0.08561510592699051, -0.8515642881393433, 0.49887698888778687, -0.01046596560627222, -0.1371515691280365, 0.22765862941741943, 0.0979795902967453, 0.7095288038253784, -0.8893383741378784, 0.9055854082107544, 0.09007373452186584, -0.15867964923381805, 0.1579156368970871, 0.06999903172254562, 0.8809279799461365, 0.07029513269662857, -0.0450812429189682, 0.2866446077823639, -0.2759559750556946, -0.4052511155605316, -0.9274458885192871, 0.7665225863456726, -0.47044697403907776, -0.469117134809494, -0.13916641473770142, -0.5716280937194824, -0.26744842529296875, 0.1164487972855568, 0.3414228856563568, 0.4233704209327698, 0.18240734934806824, 0.16488119959831238, 0.99969482421875, -0.20149418711662292, 0.47846299409866333, 0.2564184367656708, 0.2466070055961609, -0.4092054069042206, 0.9496427774429321, 0.035805944353342056, 0.5346307158470154, 0.4112933576107025, 0.004434508737176657, -0.2724556028842926, -0.2526188790798187, -0.7507266998291016, 0.002219649264588952, -0.7987142205238342, -0.7467830777168274, -0.6944991946220398, -0.09977401793003082, -0.18177081644535065, -0.4971838891506195, -0.7890565395355225, -0.6242527961730957, -0.16613364219665527, 0.25840693712234497, 0.5410217046737671, 0.520829439163208, -0.015904000028967857, 0.7402371764183044, -0.6224223971366882, 0.20247267186641693, 0.4126741886138916, 0.4193800091743469, 0.21605078876018524, -0.23864726722240448, -0.23454509675502777, -0.09868268668651581, -0.3713815212249756, -0.5584899187088013, 0.4794155955314636, 0.18579043447971344, 0.032923001796007156, 0.5061026811599731, 0.29851558804512024, 1.268795132637024, -0.3611135184764862, 0.8186017870903015, 0.10062474012374878, -0.8973225951194763, 0.2644452452659607, -0.18703065812587738, 0.411489337682724, 0.6221819519996643, -0.13733746111392975, -0.6082739233970642, -0.39683398604393005, -0.7414882183074951, -1.0883197784423828, 0.5175247192382812, 0.13462324440479279, -0.05598223954439163, -0.15970851480960846, 0.2805998921394348, 0.06898514181375504, 0.5203582644462585, -0.5141783952713013, -0.22740720212459564, -0.11399252712726593, -0.20936831831932068, 0.13490183651447296, -0.09925387799739838, 0.22656656801700592, -0.3258489668369293, 0.7976455092430115, -0.20473794639110565, 0.5920796394348145, 0.14365924894809723, -0.4346815049648285, -0.44904929399490356, 0.05996420606970787, 0.5200210809707642, 0.12062013894319534, -0.10850083082914352, 0.418181836605072, 0.3531312942504883, -0.6049562096595764, 0.21923130750656128, -0.24387583136558533, -0.15764476358890533, -0.13407619297504425, 0.27180835604667664, 0.5787397027015686, 0.5479164719581604, -0.4200306832790375, 0.4610239565372467, -0.27433663606643677, 0.2109059989452362, -0.04971197247505188, 0.10293953120708466, 0.013628081418573856, 0.24156291782855988, 0.17917586863040924, -0.1093459278345108, -0.02019622176885605, -0.1554717719554901, -0.052407365292310715, 0.4516476094722748, -0.29233530163764954, -0.4291324019432068, 0.7629953622817993, -0.007616308517754078, -0.016285451129078865, 0.8449456691741943, -0.29157283902168274, -0.5969933271408081, 0.2600858509540558, 0.47916296124458313, 0.9395995140075684, -0.09632714092731476, -0.16182857751846313, 0.41409724950790405, 0.3726046681404114, -0.3599082827568054, 0.15276192128658295, -0.3888600170612335, -0.5102645754814148, -0.6186011433601379, -1.000398874282837, -0.006341957021504641, 0.3454750180244446, -0.6060365438461304, 0.1695745587348938, -0.18278157711029053, 0.10170137137174606, -0.48892927169799805, -0.11459945142269135, -0.6425219774246216, 0.04772533103823662, -0.376716673374176, 0.769648015499115, -0.5257427096366882, 0.990573525428772, -0.05218835175037384, -0.38770511746406555, -0.5040996670722961, 0.060409534722566605, -0.06458490341901779, -0.9686381220817566, 0.8013953566551208, -0.05517728254199028, -0.1485445499420166, 0.17991751432418823, -0.44397756457328796, -0.8085504770278931, 1.192602276802063, 0.38968345522880554, -0.6759450435638428, -0.21087491512298584, -0.08289855718612671, 0.10130642354488373, 0.027209173887968063, -0.06488335132598877, 0.39622318744659424, 0.6887252926826477, 0.19996583461761475, -0.5392053723335266, 0.04298550635576248, -0.09885337948799133, -0.0020818710327148438, 0.6212323307991028, -0.5413621068000793, 0.6008424162864685, -0.02507675066590309, -0.23353801667690277, 0.13971924781799316, 0.661486804485321, 0.17078347504138947, 0.09455765038728714, 0.571856677532196, 1.0334537029266357, 0.9275136590003967, -0.048634231090545654, 1.2530763149261475, -0.527114748954773, 0.2619543671607971, 0.9608205556869507, -0.10206557810306549, 0.6529194116592407, 0.5571301579475403, -0.2769544720649719, 0.3155909478664398, 0.48218318819999695, 0.2133810669183731, 0.7455859780311584, 0.29655200242996216, -0.6766762137413025, -0.5103010535240173, 0.13451454043388367, -0.3822801113128662, 0.2112893909215927, 0.26590269804000854, -0.2582184970378876, -0.12605035305023193, -0.42093145847320557, 0.017155537381768227, -0.68717360496521, -0.18362659215927124, 0.498244047164917, 0.03443531692028046, -0.6896601915359497, 0.6929308772087097, -0.17225122451782227, 0.640444815158844, -0.5102909207344055, -0.16343998908996582, -0.11506755650043488, -0.0026109409518539906, 0.1599777638912201, -0.4022267162799835, 0.12463858723640442, -0.15794628858566284, -0.5516484379768372, -0.4871279001235962, 0.9187278747558594, -0.37024348974227905, -0.3834724426269531, -0.2560938000679016, 0.23348189890384674, 0.09262322634458542, -0.1524597406387329, -0.072957344353199, 0.32172009348869324, -0.49709513783454895, -0.09951537102460861, 0.44946280121803284, 0.19445131719112396, -0.12163125723600388, 0.5105173587799072, 0.9319145679473877, 0.23105119168758392, 0.20654785633087158, -0.11701633781194687, 0.9986720681190491, -0.5518253445625305, -0.43750470876693726, -0.626813530921936, 0.289033979177475, -0.1093958243727684, -0.30263617634773254, 0.34416723251342773, 0.5389280319213867, 0.7480603456497192, -0.09875738620758057, 0.611899733543396, -0.0030011548660695553, -0.3348233997821808, -0.8834026455879211, 0.7777007222175598, -0.6268436908721924, 0.39872872829437256, -0.1600506454706192, -0.6122339367866516, -0.28375616669654846, 0.7377663850784302, 0.0684666857123375, 0.10281464457511902, 0.6890268921852112, 0.8387015461921692, -0.3065251410007477, -0.11636205017566681, 0.5242781043052673, 0.30498477816581726, 0.2097940295934677, 0.5482127666473389, 0.5763418078422546, -0.7274279594421387, 0.5146159529685974, -0.2763189673423767, 0.1327841579914093, -0.23526524007320404, -1.153960943222046, -0.39424097537994385, -0.698035478591919, -0.045625489205121994, -0.5785865783691406, 0.30960899591445923, 0.5666798949241638, 1.1742722988128662, -0.40341678261756897, -0.06804877519607544, -0.552855908870697, 0.20867833495140076, -0.13129779696464539, -0.23912496864795685, 0.30904415249824524, -0.5304985642433167, -0.5419188141822815, 0.5888631939888, 0.5435543060302734, -0.16678915917873383, -0.46098852157592773, -0.3870573937892914, 0.1805325746536255, -0.25945866107940674, 0.7491955161094666, 0.2562108039855957, -0.7685990929603577, -0.1283443421125412, 0.22631897032260895, 0.17156097292900085, 0.2467717081308365, 1.144513726234436, -1.1049816608428955, 0.7306052446365356, 0.4161871373653412, 0.5956368446350098, 0.9158254265785217, -0.37959232926368713, 0.8285735249519348, -0.9921704530715942, 0.10068449378013611, 0.15175890922546387, 0.14073392748832703, 0.17565126717090607, -0.39345818758010864, 0.4561081528663635, 0.4828066825866699, -0.5342428684234619, -0.8732278943061829, 0.14856664836406708, -1.0989820957183838, 0.02990293689072132, 1.2043814659118652, 0.11434143781661987, -0.5360687375068665, 0.08397479355335236, 0.20017953217029572, 0.5405892133712769, -0.5067451596260071, 0.8002141714096069, 0.8157707452774048, 0.22605201601982117, -0.14222858846187592, -0.890657901763916, 0.5846050381660461, 0.1997227519750595, -0.5820088982582092, 0.27238625288009644, 0.28836753964424133, -0.04680496081709862, -0.09866508096456528, 0.4335560202598572, -0.0988256186246872, 0.3828029930591583, -0.08012495189905167, 0.38786864280700684, 0.043357670307159424, -0.2626783847808838, -0.2686968445777893, 0.08846230059862137, -0.11130329966545105, 0.0033486553002148867 ]
http://arxiv.org/abs/2403.05519v1
http://arxiv.org/pdf/2403.05519v1
Authorship Attribution in Bangla Literature (AABL) via Transfer Learning using ULMFiT
2024-03-08T18:42:59
2024-03-08T18:42:59
Aisha Khatun, Anisur Rahman, Md Saiful Islam, Hemayet Ahmed Chowdhury, Ayesha Tasnim
cs.CL
cs.CL
Authorship Attribution is the task of creating an appropriate characterization of text that captures the authors' writing style to identify the original author of a given piece of text. With increased anonymity on the internet, this task has become increasingly crucial in various security and plagiarism detection fields. Despite significant advancements in other languages such as English, Spanish, and Chinese, Bangla lacks comprehensive research in this field due to its complex linguistic feature and sentence structure. Moreover, existing systems are not scalable when the number of author increases, and the performance drops for small number of samples per author. In this paper, we propose the use of Average-Stochastic Gradient Descent Weight-Dropped Long Short-Term Memory (AWD-LSTM) architecture and an effective transfer learning approach that addresses the problem of complex linguistic features extraction and scalability for authorship attribution in Bangla Literature (AABL). We analyze the effect of different tokenization, such as word, sub-word, and character level tokenization, and demonstrate the effectiveness of these tokenizations in the proposed model. Moreover, we introduce the publicly available Bangla Authorship Attribution Dataset of 16 authors (BAAD16) containing 17,966 sample texts and 13.4+ million words to solve the standard dataset scarcity problem and release six variations of pre-trained language models for use in any Bangla NLP downstream task. For evaluation, we used our developed BAAD16 dataset as well as other publicly available datasets. Empirically, our proposed model outperformed state-of-the-art models and achieved 99.8% accuracy in the BAAD16 dataset. Furthermore, we showed that the proposed system scales much better even with an increasing number of authors, and performance remains steady despite few training samples.
[ 0.14289864897727966, -0.6220636367797852, 0.20051316916942596, 0.27861687541007996, -0.2872573435306549, 0.0727318525314331, -0.13027247786521912, -0.5803884863853455, 0.10302097350358963, 0.5392810106277466, -0.11334196478128433, -0.15364901721477509, -0.6284077167510986, 0.19388912618160248, -0.5167586207389832, 1.0958504676818848, -0.19051654636859894, -0.3844926655292511, -0.2406245768070221, -0.2300054132938385, -0.3389052748680115, -0.3460571765899658, -0.8316097259521484, -0.28839626908302307, 0.6347677707672119, 0.08971985429525375, 0.3056776821613312, 0.6448450684547424, 0.599736750125885, 0.18791884183883667, 0.012350441887974739, 0.14091841876506805, -0.33717676997184753, -0.06022818386554718, -0.38271111249923706, -0.3778122663497925, -0.21264486014842987, -0.07308090478181839, 0.8666533827781677, 0.49718499183654785, -0.2649264335632324, 0.4449799060821533, -0.009375227615237236, 0.7761673331260681, -0.7105646133422852, 0.12586773931980133, -0.5122689008712769, -0.27237576246261597, -0.3965916633605957, -0.22016587853431702, -0.6075803637504578, -0.8206157088279724, -0.28000330924987793, -0.2723831236362457, -0.10035029798746109, 0.35193413496017456, 0.665417492389679, 0.11209926009178162, -0.6033069491386414, -0.7075074315071106, -0.4046162962913513, 0.9330048561096191, -0.7306036353111267, 0.0920303612947464, 0.5838101506233215, 0.052015434950590134, 0.03896312043070793, -0.3406650125980377, -0.44306471943855286, -0.03423740342259407, -0.25463205575942993, -0.1819562315940857, -0.13103130459785461, -0.20539501309394836, -0.21538005769252777, 0.3608219027519226, -0.4575566351413727, 0.3215152323246002, -0.5889403223991394, -0.16683568060398102, 0.7278227806091309, -0.09590829163789749, 0.17886531352996826, -0.3782772719860077, -0.5242912769317627, -0.01054400485008955, -0.6983864903450012, 0.43647634983062744, 0.5714130997657776, 0.5434873700141907, -0.04696718230843544, 0.2660728991031647, 0.3436947166919708, 0.5342878103256226, -0.08911097794771194, -0.09121179580688477, 0.2101229727268219, -0.5879002809524536, 0.06051460653543472, 0.24502401053905487, 0.7666494846343994, -0.12546832859516144, 0.34849441051483154, -0.022840389981865883, -0.11587842553853989, -0.4569225311279297, 0.2186514139175415, -0.7121979594230652, -0.3306347727775574, 0.059444379061460495, -0.8723847270011902, -0.3961851894855499, 0.14675898849964142, -0.6705053448677063, -0.5754284858703613, -0.09217184036970139, 0.4314083158969879, -0.5829083919525146, -0.3101349174976349, -0.2087297886610031, 0.3908119797706604, 0.3482722043991089, 0.147299125790596, -0.85484379529953, 0.1862630844116211, 0.14864426851272583, 1.0289621353149414, -0.6916859745979309, -0.4067905843257904, -0.6017486453056335, 0.38177844882011414, -0.31024909019470215, 0.648652195930481, -0.3374178111553192, -0.2457616627216339, 0.005313062574714422, -0.16231031715869904, -0.3956645131111145, -0.39589667320251465, 0.3928736448287964, -0.5643957257270813, -0.01105629000812769, -0.15140393376350403, -0.6138420104980469, -0.13960672914981842, -0.37421298027038574, -0.4972931742668152, 0.8229138851165771, 0.10701388865709305, -0.5965311527252197, 0.23301416635513306, -0.8644522428512573, -0.543079137802124, 0.14696356654167175, 0.05845494195818901, -0.586183488368988, -0.008485912345349789, 0.28021058440208435, 0.6396653056144714, -0.04048102721571922, 0.18890175223350525, 0.21049654483795166, -0.5479658842086792, 0.44834190607070923, -0.1704191118478775, 1.3043311834335327, 0.3576340973377228, -0.03639819473028183, 0.06622686982154846, -0.7890917062759399, -0.19285517930984497, -0.040692899376153946, -0.5373743772506714, -0.3563101291656494, -0.24113468825817108, 0.39201050996780396, -0.22630321979522705, 0.12704221904277802, -0.6002496480941772, 0.30448758602142334, -0.2551201283931732, 0.03997614607214928, 0.9625542163848877, 0.04467904567718506, 0.45030704140663147, -0.4079170525074005, 0.7065171599388123, -0.24363908171653748, -0.23739205300807953, -0.22573751211166382, -0.5373291373252869, -0.2780109941959381, -0.881643533706665, 0.5891191959381104, 0.5958983898162842, -0.5046322345733643, 0.6486836671829224, -0.2309311181306839, -0.433876633644104, -0.8899220824241638, 0.35519343614578247, 0.4853575527667999, 0.2754315137863159, 0.4341835379600525, -0.20831556618213654, -0.30183225870132446, -0.7751106023788452, -0.3978253901004791, -0.5335419774055481, -0.10514795780181885, 0.0810060203075409, 0.6025233864784241, -0.11266936361789703, 1.1400474309921265, -0.4667382538318634, -0.6467007398605347, -0.3570610582828522, 0.5367323160171509, 0.1026339903473854, 0.6865047812461853, 0.636198878288269, -0.6818403601646423, -0.5823379158973694, 0.10879937559366226, -0.6666032075881958, -0.4708118736743927, -0.31117773056030273, -0.10046640783548355, 0.3153422176837921, 0.6757030487060547, -0.4372835159301758, 0.5867119431495667, 0.2285490483045578, -0.4781671464443207, 0.8543698787689209, 0.040810853242874146, 0.2501455545425415, -1.2801445722579956, 0.4219169616699219, -0.37353014945983887, -0.13571812212467194, -0.33085495233535767, 0.23518666625022888, 0.13441170752048492, 0.07818564772605896, -0.3487916588783264, 0.847130298614502, -0.5385213494300842, 0.19545215368270874, -0.37484562397003174, -0.42902159690856934, -0.3774356544017792, 0.43933096528053284, -0.26943346858024597, 0.6250973343849182, 0.3428579568862915, -0.4165709614753723, 0.5954638719558716, 0.4047378599643707, -0.6226158142089844, 0.5229940414428711, -0.38372811675071716, -0.10245908051729202, -0.038096196949481964, 0.4231106638908386, -1.1728919744491577, -0.03662271797657013, 0.10161988437175751, -0.47629180550575256, 0.3716554045677185, -0.1522931605577469, -0.6305395364761353, -0.10877714306116104, -0.2449449896812439, 0.5935759544372559, 0.4431416690349579, -0.4525265693664551, 0.7549517750740051, -0.02909693866968155, -0.5513472557067871, -0.6144319772720337, -0.7889390587806702, 0.1841278076171875, -0.42688989639282227, -0.19532565772533417, 0.2529448866844177, 0.039478909224271774, -0.13349387049674988, 0.07659824937582016, 0.29898858070373535, -0.26586517691612244, 0.022541778162121773, 0.023916495963931084, 0.14627055823802948, 0.12727271020412445, 0.08734501898288727, 0.19585257768630981, 0.06051335483789444, 0.025515137240290642, 0.214381605386734, 0.1343287229537964, -0.028882645070552826, -0.29468148946762085, -0.3704456686973572, 0.5770695209503174, 0.16041134297847748, -0.10554371774196625, 1.087139368057251, 1.0271092653274536, -0.30986711382865906, -0.25955328345298767, -0.5288475155830383, -0.11805126816034317, -0.39028045535087585, 0.38395729660987854, -0.1451127678155899, -0.6839388608932495, 0.8769287467002869, 0.17928481101989746, 0.09126098453998566, 0.278865247964859, 0.6480016112327576, 0.01207716204226017, 0.17574681341648102, 0.7668087482452393, -0.26627683639526367, 0.4879932403564453, -0.010976451449096203, 0.41513895988464355, -0.7325849533081055, -0.1206439658999443, -0.43320780992507935, -0.3185981512069702, -0.3956039547920227, -0.21636931598186493, 0.01862124167382717, 0.0046298629604279995, 0.020869912579655647, 0.4512408375740051, -0.2672693729400635, 0.40176647901535034, 0.7020797729492188, 0.07965949922800064, 0.4409427344799042, -0.04196527227759361, 0.07728886604309082, 0.0688389390707016, -0.2719734013080597, -0.2859571576118469, 1.1589374542236328, 0.1469222903251648, 0.829574465751648, 0.48473599553108215, 0.6270833015441895, 0.8378705978393555, 0.17715077102184296, -0.5357894897460938, 0.4897131621837616, 0.07179607450962067, -0.7139920592308044, -0.4244633913040161, -0.4682002663612366, -0.9362388253211975, 0.10380291193723679, -0.2053089290857315, -0.9013754725456238, 0.37960299849510193, -0.08254662901163101, -0.33775731921195984, 0.3713994324207306, -0.6797825694084167, 0.45990490913391113, 0.1750677525997162, -0.41343140602111816, -0.0272202268242836, -0.9035665988922119, 0.3277846872806549, -0.6317296028137207, 0.46239590644836426, 0.17869271337985992, -0.004305006004869938, 1.2639795541763306, -0.30916357040405273, 0.7955230474472046, -0.1971854716539383, -0.22316144406795502, 0.2709866464138031, 0.005712683778256178, 0.5953178405761719, -0.1721140742301941, -0.29086846113204956, 0.054459817707538605, -0.21340326964855194, -0.5996479392051697, -0.17991755902767181, 0.5911353230476379, -0.645432710647583, 0.025954021140933037, -0.5048104524612427, -0.6968512535095215, -0.020648442208766937, 0.27339914441108704, 0.34674856066703796, 0.2708800733089447, 0.15153609216213226, 0.4963527321815491, 0.22236718237400055, -0.1374683827161789, 0.6733039617538452, 0.2696761190891266, -0.1907130777835846, -0.16863296926021576, 0.9241212010383606, 0.042608100920915604, -0.057179972529411316, 0.12290769815444946, 0.12808722257614136, -0.329509973526001, -0.8257036209106445, -0.47698619961738586, 0.36724570393562317, -0.6615126729011536, -0.3798157274723053, -0.6540470719337463, -0.28393420577049255, -0.47445499897003174, -0.7780407667160034, -0.3630804419517517, -0.34673210978507996, -0.32900092005729675, -0.0342722162604332, 0.5529860854148865, 0.6229565143585205, -0.0884174108505249, 0.5865703821182251, -0.5420731902122498, 0.0806821957230568, 0.17943134903907776, 0.05877644941210747, 0.3716995120048523, -1.136205792427063, -0.7170878648757935, -0.27850669622421265, -0.26923051476478577, -0.6010451316833496, 0.41996559500694275, 0.5246394872665405, 0.44679245352745056, 0.34675469994544983, 0.12543214857578278, 0.597832977771759, -0.2450931966304779, 0.8315878510475159, 0.16593880951404572, -0.7992392778396606, 0.4216453731060028, -0.538499653339386, 0.1735231876373291, 0.7871965169906616, 0.5547816753387451, -0.1435263305902481, -0.462844580411911, -0.28629186749458313, -1.0936366319656372, 0.6228401064872742, 0.47218218445777893, -0.10787010937929153, 0.3630964457988739, 0.43639254570007324, 0.4738421142101288, 0.221420019865036, -1.0901013612747192, -0.2733440399169922, 0.19458264112472534, -0.35146698355674744, -0.05050735920667648, -0.17137068510055542, 0.2537725269794464, -0.38677263259887695, 0.7450098991394043, -0.015450947917997837, 0.33198320865631104, -0.1318080574274063, -0.316718190908432, 0.011374881491065025, 0.15834099054336548, 0.2832946479320526, 0.9412575960159302, -0.35231301188468933, -0.12692014873027802, -0.09604159742593765, -0.5664440393447876, 0.2619684338569641, 0.15516896545886993, -0.14348405599594116, -0.0816340446472168, 0.8436102271080017, 0.5474876761436462, -0.007136269472539425, -0.4997057616710663, 0.6645135283470154, 0.4390789866447449, -0.17168325185775757, -0.1662491112947464, -0.24429014325141907, 0.21194158494472504, 0.12732230126857758, 0.9545199275016785, 0.044108666479587555, 0.2697083353996277, -0.44829222559928894, 0.26610735058784485, 0.21159547567367554, -0.022149719297885895, -0.2781059741973877, 0.654278576374054, 0.15349288284778595, -0.14391770958900452, 0.5124021172523499, -0.25090670585632324, -0.3106997311115265, 0.4097912013530731, 0.6861005425453186, 0.6988204717636108, -0.6060975193977356, 0.07789455354213715, 0.2690621614456177, 0.12773999571800232, 0.0623074509203434, -0.24046671390533447, -0.05094021558761597, -0.6116254329681396, -0.43666157126426697, -0.9933146238327026, -0.251811146736145, -0.06959967315196991, -0.5721843242645264, 0.14184734225273132, -0.14544208347797394, 0.10505646467208862, -0.18996725976467133, 0.2058219462633133, -0.2182939499616623, -0.12966005504131317, -0.029771102592349052, 0.134547159075737, -1.2350796461105347, 0.7401435375213623, 0.7761616110801697, -0.39256778359413147, -0.5342971086502075, -0.26744338870048523, 0.03705254942178726, -0.8286858201026917, 0.6305122375488281, 0.09207490086555481, -0.10691086947917938, 0.280068039894104, -0.3643110692501068, -0.7586536407470703, 1.0652440786361694, 0.2713031470775604, 0.03588380292057991, -0.1748027503490448, -0.1726655215024948, 0.328148752450943, -0.5537527799606323, 0.12895217537879944, 0.26158925890922546, 0.3311099112033844, 0.20304372906684875, -0.8779473304748535, 0.27984172105789185, -0.24614714086055756, -0.021180571988224983, 0.07674923539161682, -0.5858508944511414, 0.8770042061805725, -0.10196705162525177, 0.02509712614119053, 0.10892046242952347, 0.8398021459579468, 0.38950997591018677, 0.15279458463191986, 0.41486868262290955, 0.23574833571910858, 0.765067994594574, 0.4952317178249359, 0.6696869730949402, 0.13773271441459656, 0.271167129278183, 0.9009604454040527, -0.03875342383980751, 0.8635604977607727, 0.6932075619697571, -0.4773002862930298, 0.6914882659912109, 0.4986596405506134, -0.11494282633066177, 0.5928131937980652, 0.40432852506637573, -0.18621014058589935, 0.14573723077774048, -0.33168768882751465, -0.3139243721961975, 0.5112730860710144, 0.0759623721241951, -0.49517348408699036, 0.02737269550561905, 0.3915553092956543, 0.12977921962738037, 0.2525545656681061, -0.361336886882782, 0.6358152031898499, 0.19534751772880554, -0.13496382534503937, 0.5289733409881592, -0.11293035745620728, 1.1158744096755981, -0.6755753755569458, 0.1506088823080063, -0.1404353529214859, 0.18565768003463745, -0.425485223531723, -0.43224453926086426, 0.4169953465461731, -0.007488104980438948, -0.17923666536808014, -0.4720621407032013, 0.7820650339126587, -0.5083456039428711, -0.8396727442741394, 0.15127745270729065, 0.5233103632926941, 0.5200308561325073, 0.16421163082122803, -0.4660341739654541, -0.06610693037509918, 0.09116286784410477, -0.3818534016609192, 0.45544302463531494, 0.2434094399213791, -0.04898111894726753, 0.7414902448654175, 0.6620129942893982, 0.6378676891326904, 0.04335584491491318, -0.3027289807796478, 0.4696899950504303, -0.4970170855522156, -0.6515204906463623, -0.9033008813858032, 0.20896494388580322, -0.0046057808212935925, -0.1676872819662094, 0.8811092376708984, 0.5162407755851746, 0.5146259069442749, -0.07376664876937866, 0.7015947699546814, -0.2504321336746216, 0.612210214138031, -0.5047290921211243, 1.1606026887893677, -0.5892332196235657, 0.083266980946064, -0.5445508360862732, -1.0990314483642578, -0.28600114583969116, 0.7401684522628784, 0.05103406310081482, 0.23008836805820465, 0.8317995071411133, 0.43552452325820923, 0.004100100602954626, -0.24586424231529236, 0.0686066597700119, 0.025066787376999855, 0.43816354870796204, 0.3626917898654938, 0.2802211046218872, -0.5345814824104309, 0.553472101688385, 0.08433480560779572, -0.5483219623565674, -0.5317887663841248, -1.0057055950164795, -0.8432866334915161, -0.7891548871994019, -0.400730162858963, 0.001982819987460971, 0.1635931134223938, 0.8978503942489624, 0.4063214063644409, -0.8701813220977783, -0.4103330969810486, 0.17979615926742554, 0.012072146870195866, -0.30235037207603455, -0.30172237753868103, 0.9591646194458008, -0.08823685348033905, -0.514422595500946, 0.11869736015796661, -0.15524207055568695, -0.17980040609836578, -0.06856773048639297, 0.22450745105743408, -0.8223502039909363, 0.2074669450521469, 0.5447710156440735, 0.17999789118766785, -0.5080713033676147, -0.23165616393089294, -0.46711716055870056, -0.0186997652053833, -0.1770908087491989, 0.6539486646652222, -0.5064885020256042, 0.29329821467399597, 0.21858280897140503, 0.9283210635185242, 0.29348090291023254, 0.43559330701828003, 0.46523037552833557, -0.7866756916046143, -0.016733121126890182, 0.20094281435012817, 0.16124694049358368, 0.3885398507118225, -0.5651493072509766, 0.4952845275402069, 0.3195933699607849, -0.9142825603485107, -0.9279306530952454, 0.025186525657773018, -1.0371644496917725, -0.30199360847473145, 1.2587321996688843, -0.31222066283226013, -0.15967033803462982, -0.433165580034256, -0.07288310676813126, 0.26172032952308655, -0.6618056893348694, 0.7578725814819336, 0.9321653842926025, -0.19229277968406677, -0.050491344183683395, -0.29061180353164673, 0.5247992277145386, 0.47969427704811096, -0.4722921848297119, 0.49248912930488586, 0.2819361388683319, -0.160169318318367, 0.14887818694114685, 1.0342680215835571, -0.022565511986613274, 0.08761195093393326, -0.12255129218101501, 0.3180684745311737, -0.3592052757740021, -0.12249989807605743, -0.2059192955493927, 0.18013082444667816, -0.07577099651098251, -0.11494433879852295 ]
http://arxiv.org/abs/2403.05518v1
http://arxiv.org/pdf/2403.05518v1
Bias-Augmented Consistency Training Reduces Biased Reasoning in Chain-of-Thought
2024-03-08T18:41:42
2024-03-08T18:41:42
James Chua, Edward Rees, Hunar Batra, Samuel R. Bowman, Julian Michael, Ethan Perez, Miles Turpin
cs.CL
cs.CL, cs.AI
While chain-of-thought prompting (CoT) has the potential to improve the explainability of language model reasoning, it can systematically misrepresent the factors influencing models' behavior--for example, rationalizing answers in line with a user's opinion without mentioning this bias. To mitigate this biased reasoning problem, we introduce bias-augmented consistency training (BCT), an unsupervised fine-tuning scheme that trains models to give consistent reasoning across prompts with and without biasing features. We construct a suite testing nine forms of biased reasoning on seven question-answering tasks, and find that applying BCT to GPT-3.5-Turbo with one bias reduces the rate of biased reasoning by 86% on held-out tasks. Moreover, this model generalizes to other forms of bias, reducing biased reasoning on held-out biases by an average of 37%. As BCT generalizes to held-out biases and does not require gold labels, this method may hold promise for reducing biased reasoning from as-of-yet unknown biases and on tasks where supervision for ground truth reasoning is unavailable.
[ -0.7449673414230347, -0.8914221525192261, 0.6473444104194641, -0.02046841010451317, -0.14615723490715027, -0.14221209287643433, -0.4117862582206726, -0.2202187329530716, -0.0369243323802948, 0.5308728218078613, -0.7634786367416382, -0.13189853727817535, -0.5426947474479675, -0.060074079781770706, -0.12115804105997086, 1.2885302305221558, -0.3461402654647827, 0.11554574221372604, -0.14849501848220825, -0.08239643275737762, -0.8539295792579651, -0.45416849851608276, -0.5260323882102966, -0.5054289102554321, 0.4897221326828003, 0.21106187999248505, 0.5726767182350159, 0.5250965356826782, 0.060948166996240616, 0.05178007856011391, -0.17300954461097717, 0.616676926612854, -0.2915414869785309, 0.18710246682167053, -0.7325563430786133, -0.1791980117559433, -0.41561830043792725, 0.01554945483803749, 0.27581754326820374, 0.8439027667045593, -0.02465759590268135, 0.03248725086450577, 0.27366092801094055, 0.8291612863540649, -1.0343189239501953, 0.08201875537633896, -0.7843158841133118, -0.24420776963233948, 0.13437502086162567, -0.18575419485569, -0.6114505529403687, -0.4593914747238159, 0.22723975777626038, -0.5775588154792786, 0.45428571105003357, -0.012129941023886204, 0.7327108383178711, 0.36799222230911255, -0.3530846834182739, 0.1484425812959671, -0.46676522493362427, 0.623397171497345, -0.42400407791137695, 0.5039743185043335, 0.6104041337966919, -0.15808148682117462, -0.16249734163284302, -0.08870545774698257, -0.616790771484375, 0.07955033332109451, 0.1470453143119812, 0.08144577592611313, 0.11061569303274155, 0.3690820634365082, 0.6372661590576172, 0.08202889561653137, -0.4889368414878845, -0.38902169466018677, -0.1251208484172821, -0.38580864667892456, 0.4019888639450073, -0.22748373448848724, -0.04723362624645233, 0.22811725735664368, -0.16199520230293274, -0.03779067471623421, -0.6933926343917847, -0.06289117783308029, 0.22300192713737488, 0.2999284565448761, 0.4218691289424896, 0.4169555902481079, -0.34462830424308777, 0.8535308837890625, 0.6600188612937927, 0.22033201158046722, -0.05724527686834335, -0.06785964220762253, -0.4033684730529785, 0.22628054022789001, 0.35034626722335815, 0.42624571919441223, 0.44097191095352173, -0.1853354424238205, -0.13683103024959564, 0.4477732479572296, 0.3028598725795746, -0.5877588391304016, -0.42542964220046997, 0.13578996062278748, -0.2254118025302887, -0.08939525485038757, 0.036695756018161774, -0.24553591012954712, -0.2744293808937073, -0.48983389139175415, 0.43009307980537415, -0.5386289358139038, -0.18058493733406067, 0.23072317242622375, -0.1517585813999176, 0.08799336850643158, 0.5471757054328918, -1.0252153873443604, 0.36858364939689636, 0.6371129751205444, 0.5593933463096619, -0.14395174384117126, -0.2237490713596344, -0.6672132611274719, 0.16313359141349792, -0.5265506505966187, 0.9629101753234863, -0.38572409749031067, 0.036432113498449326, -0.04172726348042488, 0.027598578482866287, -0.025491487234830856, -0.5209916234016418, 0.44069841504096985, -0.41189172863960266, 0.08870761841535568, -1.1431527137756348, -0.5434759259223938, -0.11137470602989197, 0.6325306296348572, -0.31809937953948975, 0.9981203675270081, 0.022314446046948433, -1.0033879280090332, 0.9590889811515808, -0.29403918981552124, -0.34102314710617065, -0.40670159459114075, -0.013999215327203274, -0.3009328544139862, -0.09015119820833206, 0.7573145627975464, 0.10876189917325974, -0.02106243371963501, 0.33980926871299744, -0.3923797309398651, -0.6487252712249756, -0.1136966347694397, -0.40533339977264404, 0.7179157733917236, 0.1693378984928131, -0.5416842103004456, -0.09757516533136368, -0.427152544260025, 0.24557271599769592, -0.3133357763290405, -0.14091747999191284, -0.3974168300628662, -0.18495884537696838, -0.323423832654953, 0.2505428194999695, -0.021211663261055946, -0.6521553993225098, 0.5940826535224915, -0.2862359881401062, 0.07049157470464706, 0.8485181331634521, 0.1283721774816513, 0.3444805145263672, -0.38586708903312683, 0.062164999544620514, 0.419182687997818, -0.00403821375221014, 0.10183125734329224, -0.4831625521183014, -1.0484486818313599, -0.11684328317642212, 0.24192756414413452, 0.45814457535743713, -0.9143657088279724, 0.3814704120159149, 0.17043082416057587, -0.03659161925315857, -0.5760818719863892, 0.10354244709014893, 0.6120063066482544, 0.7999851107597351, 0.6185540556907654, -0.4678158760070801, -0.5839203596115112, -0.7524256110191345, -0.6753345727920532, -0.1738787144422531, 0.23261544108390808, -0.23427976667881012, 0.5156902074813843, -0.18955308198928833, 1.1386433839797974, -0.2687523066997528, 0.1884208768606186, -0.1349850445985794, 0.3379093408584595, -0.12013834714889526, 0.6592031121253967, 0.0890791118144989, -0.2840571701526642, -0.30806806683540344, -0.11520441621541977, -0.504808247089386, -0.23545308411121368, -0.2058609575033188, -0.3392367959022522, 0.2388300597667694, 0.18154577910900116, -0.8152139186859131, 0.6834830641746521, 0.09386278688907623, -0.26216697692871094, 0.6694698929786682, -0.19234733283519745, 0.32464757561683655, -0.6855568289756775, -0.21637707948684692, 0.012469988316297531, -0.36174556612968445, -0.4113653600215912, -0.2882581353187561, 0.22820185124874115, 0.196536585688591, -0.09421487897634506, 0.36105450987815857, -0.5177534222602844, 0.14800545573234558, -0.5065925121307373, 0.056848954409360886, 0.3525300621986389, 0.639683723449707, 0.23832052946090698, 0.9656069874763489, 0.5614655017852783, -0.791252851486206, 0.0793987512588501, 0.4815036356449127, -0.09063870459794998, 0.6929188370704651, -0.4491349756717682, 0.5009059309959412, -0.205694779753685, 0.4654490649700165, -0.5858120322227478, -0.012360376305878162, 0.14573964476585388, -0.19421611726284027, 0.09215301275253296, -0.26959028840065, -0.34706249833106995, -0.3664107918739319, -0.24937549233436584, 0.48888418078422546, 0.31256818771362305, -0.9103007912635803, 0.23700563609600067, -0.08544950187206268, 0.25169336795806885, -0.960525631904602, -0.7597097158432007, -0.5374903082847595, 0.16017186641693115, -0.37918519973754883, 0.13784244656562805, 0.00798898097127676, -0.21326039731502533, -0.13085658848285675, -0.6880732178688049, -0.15083524584770203, -0.22684237360954285, -0.10218117386102676, 0.11048909276723862, 0.109633669257164, 0.3017236590385437, 0.4056941270828247, 0.10365928709506989, 0.13681866228580475, -0.8584673404693604, 0.5217797160148621, -0.2895326316356659, -0.5566499829292297, -0.5602289438247681, 0.22948771715164185, 0.2642401158809662, -0.01990378275513649, 0.8069470524787903, 0.4905107915401459, -0.2743149995803833, -0.2714802622795105, -0.779360294342041, -0.39869990944862366, -0.3843943774700165, 0.15392008423805237, -0.38084694743156433, -0.7871673107147217, 0.464240163564682, 0.0300521869212389, -0.022999415174126625, 0.23857314884662628, 0.6136085391044617, 0.03387480974197388, 1.3406621217727661, 0.4922671914100647, -0.16496866941452026, 0.38895589113235474, -0.10525006800889969, 0.3607240319252014, -0.8496693968772888, -0.1808214783668518, -0.04503779113292694, -0.026239490136504173, -0.4861154854297638, -0.17210295796394348, 0.07319304347038269, 0.13814765214920044, -0.740480899810791, 0.20957887172698975, -0.9398499131202698, 0.6516507267951965, 0.6010919213294983, 0.6641883254051208, 0.282930850982666, -0.26195162534713745, -0.23614291846752167, 0.17021556198596954, -0.7329889535903931, -0.2966845631599426, 0.9574494957923889, 0.05953161418437958, 0.7210172414779663, -0.2716730237007141, 0.5733000636100769, 0.34388118982315063, 0.16375981271266937, -0.47926464676856995, 0.328762024641037, 0.3824153244495392, -0.8329630494117737, -0.06037279963493347, -0.4927169680595398, -0.40566137433052063, 0.0843934714794159, -0.11874360591173172, -0.7381933927536011, 0.295105904340744, 0.6178985834121704, -0.3957289159297943, 0.5352860689163208, -0.8394198417663574, 0.618074893951416, 0.06121480464935303, -0.5947878360748291, -0.037749383598566055, -0.6155687570571899, 0.46057721972465515, 0.2398100048303604, -0.19099222123622894, 0.09204687923192978, 0.5803529620170593, 0.6250070929527283, -0.8400390148162842, 0.6587011814117432, -0.27029913663864136, 0.09442626684904099, 0.4768180251121521, 0.32998126745224, 0.7669026851654053, 0.2561033368110657, 0.14161504805088043, -0.10269008576869965, -0.10726086050271988, -0.752636730670929, -0.9053521752357483, 0.5065346360206604, -0.6166628003120422, -0.6072084307670593, -0.48140257596969604, -0.9669342041015625, -0.5873837471008301, 0.09868708997964859, 0.4729975759983063, 0.30610230565071106, 0.022131800651550293, -0.3371752202510834, 1.1987801790237427, 0.24289776384830475, -0.0008435892523266375, -0.13973812758922577, 0.05907388776540756, -0.32051345705986023, 0.5146900415420532, -0.0400252528488636, 0.521367609500885, 0.10972585529088974, -0.06715533882379532, -0.23650237917900085, -0.37478846311569214, -0.3929780125617981, 0.0015171613777056336, -0.8273979425430298, -0.1359144002199173, -0.5358709096908569, -0.049129702150821686, -0.46854743361473083, -0.3240932524204254, -0.5144929885864258, -0.5542072653770447, 0.05760332569479942, -0.25163882970809937, 0.45990121364593506, 0.668080747127533, 0.03831864148378372, 0.3462871313095093, -0.16466565430164337, 0.14013734459877014, 0.6420629620552063, 0.46907946467399597, -0.018083680421113968, -0.5331682562828064, -0.11044907569885254, 0.3029125928878784, -0.47461774945259094, -0.7555946111679077, 0.13730357587337494, -0.2138804942369461, 0.2919886112213135, 0.4810342788696289, 0.045754365622997284, 1.0144554376602173, -0.3145618736743927, 0.7099288702011108, 0.3001404404640198, -1.2015975713729858, 0.7299133539199829, -0.5601412057876587, 0.34006810188293457, 0.8167296648025513, 0.09983883798122406, -0.2649618089199066, -0.37947016954421997, -0.651343822479248, -0.4977354407310486, 0.5563269853591919, 0.19697147607803345, -0.39986535906791687, -0.3973003625869751, 0.47295746207237244, 0.18690690398216248, 0.2603716254234314, -0.6534634828567505, -0.13222961127758026, -0.49044379591941833, -0.21142257750034332, 0.4011392593383789, -0.17426469922065735, -0.20299364626407623, -0.6845448017120361, 0.9759566783905029, -0.27375760674476624, 0.19930095970630646, 0.508398711681366, -0.2106354832649231, -0.11702392995357513, 0.36122164130210876, 0.5484122633934021, 0.6616778373718262, -0.36113670468330383, 0.3806520104408264, 0.48089003562927246, -0.5945672988891602, 0.11844117939472198, -0.08664816617965698, -0.4589329957962036, -0.1351662129163742, -0.02364419586956501, 0.8663428425788879, -0.2779054641723633, -0.3393084704875946, 0.44800493121147156, 0.21960587799549103, -0.2909959554672241, 0.1167207807302475, 0.010113991796970367, -0.3030637502670288, 0.15225642919540405, 0.012403389438986778, 0.581220269203186, 0.10789390653371811, -0.5732861757278442, 0.188984215259552, 0.5346301794052124, -0.6756830811500549, -0.11140783131122589, 0.6846737265586853, 0.05894341319799423, 0.10699347406625748, 0.5930678248405457, -0.29717597365379333, -0.6139023900032043, 0.2599569261074066, 0.6366134285926819, 0.8341888189315796, 0.09986668080091476, 0.14033113420009613, 0.2604261636734009, 0.43421533703804016, -0.6933554410934448, 0.3126479685306549, -0.3388173580169678, -0.9224491119384766, -0.5643464922904968, -0.07269714027643204, -0.6341477632522583, 0.028823060914874077, -0.7993395328521729, 0.24163098633289337, -0.6555382609367371, -0.27378079295158386, -0.3600013554096222, -0.0017204242758452892, -0.6523184776306152, 0.35693076252937317, 0.06516680866479874, 0.9328794479370117, -0.9049327969551086, 0.7881226539611816, 0.5948729515075684, -0.5774921178817749, -0.9967519640922546, 0.28187161684036255, -0.13729780912399292, -0.5705987811088562, 0.38950490951538086, 0.16195973753929138, -0.21701711416244507, -0.23031650483608246, -0.8636490702629089, -0.6467092633247375, 0.767486035823822, 0.5915311574935913, -0.4668079912662506, 0.10534566640853882, -0.2703683376312256, 0.21990561485290527, -0.33535873889923096, 0.5966262221336365, 0.8109146952629089, 0.4134700894355774, -0.13110913336277008, -1.1454049348831177, 0.17207428812980652, -0.0011589180212467909, -0.0014256060821935534, 0.1532006561756134, -0.5575462579727173, 0.7813996076583862, -0.34942662715911865, 0.24259939789772034, -0.21525534987449646, 0.5819180607795715, 0.7403881549835205, 0.33577993512153625, 0.44461125135421753, 0.7282439470291138, 1.206737756729126, -0.2972699999809265, 0.7966613173484802, 0.08213209360837936, 0.4382651448249817, 1.1082087755203247, -0.38543012738227844, 0.28211709856987, 0.6694965362548828, 0.238387331366539, 0.8018560409545898, 0.6590738296508789, 0.2589885890483856, 0.764467179775238, -0.11094397306442261, -0.40659648180007935, -0.6467360258102417, -0.0004971351008862257, -0.31316500902175903, -0.022651266306638718, 0.03702779859304428, -0.20923155546188354, -0.06974602490663528, 0.1590026319026947, 0.15425194799900055, 0.18496884405612946, -0.6221122741699219, 0.5466220378875732, -0.0967608243227005, -0.9877288341522217, 0.9579935073852539, -0.5008798241615295, 0.473030149936676, -0.18687720596790314, -0.06865962594747543, -0.1576899141073227, 0.37340205907821655, -0.27666619420051575, -0.7527052164077759, 0.20034730434417725, -0.010938139632344246, -0.622231662273407, -0.3572274446487427, 0.7032743096351624, -0.4894614815711975, -0.11215852946043015, 0.009819730184972286, 0.5185509920120239, 0.03585180640220642, -0.3965371251106262, -0.5163326859474182, -0.11325737088918686, 0.015822552144527435, -0.2619076669216156, 0.16530683636665344, 0.691217303276062, -0.3246380388736725, 0.6956703662872314, 0.5657660365104675, 0.1270473301410675, -0.061787787824869156, 0.2928568124771118, 1.2347418069839478, -0.5308341383934021, -0.4027043879032135, -0.7751811146736145, 0.32268592715263367, -0.2690221667289734, -0.24046385288238525, 0.5974159240722656, 0.48833805322647095, 0.9494048357009888, -0.08695247769355774, 1.1258488893508911, 0.04220352694392204, 0.4550209641456604, -0.5066931843757629, 0.5653309226036072, -0.15469954907894135, 0.25971344113349915, -0.4163808524608612, -0.9056985974311829, -0.14968395233154297, 0.8038143515586853, -0.5457878112792969, 0.27660784125328064, 1.0093498229980469, 0.5085882544517517, -0.18432091176509857, 0.22383707761764526, 0.19075670838356018, 0.03955238312482834, 0.04540691152215004, 0.5719442367553711, 0.6716520190238953, -0.4049170911312103, 0.3284550607204437, -0.24973823130130768, -0.2551784813404083, 0.18568788468837738, -0.7151394486427307, -1.2578673362731934, -0.27596405148506165, -0.36720871925354004, -0.7730631232261658, 0.576921284198761, 1.0748569965362549, 0.8730013966560364, -1.0921140909194946, 0.2250194251537323, -0.7246570587158203, 0.2616775929927826, -0.6447102427482605, -0.16051286458969116, 0.31438761949539185, -0.5438703894615173, -0.22717100381851196, 0.12042364478111267, 0.1508491188287735, -0.38563117384910583, 0.000709429441485554, 0.0218086875975132, -0.30855417251586914, 0.21063636243343353, 0.3256787955760956, 0.2818906307220459, -0.7660050988197327, -0.7486599683761597, 0.041584745049476624, 0.18082201480865479, 0.17370876669883728, 0.9348011612892151, -1.0402143001556396, 0.5940878987312317, 0.43139007687568665, 0.47328081727027893, 0.6291207671165466, 0.43316295742988586, 0.6784406900405884, -0.8914200067520142, 0.3371697664260864, 0.2557225823402405, 0.29416048526763916, 0.18838828802108765, -0.5318446755409241, 0.2153916358947754, 0.468637079000473, -0.7816718220710754, -0.6409515142440796, 0.39174917340278625, -1.1462481021881104, -0.11965753138065338, 1.1844028234481812, 0.022795390337705612, -0.22879920899868011, -0.5133476853370667, -0.4147343635559082, 0.47836458683013916, -0.47574472427368164, 0.9779859781265259, 0.876959502696991, -0.2903558313846588, -0.29783931374549866, -0.26799869537353516, 0.7752045392990112, 0.8056482076644897, -0.5775666236877441, 0.35373803973197937, 0.38395801186561584, 0.41713574528694153, -0.0727664902806282, 0.7477125525474548, 0.11515125632286072, 0.5203270316123962, -0.12898392975330353, 0.2801540195941925, -0.024765880778431892, -0.39997929334640503, -0.04690762981772423, -0.2568513751029968, 0.05625239387154579, -0.0933704599738121 ]
http://arxiv.org/abs/2403.05612v2
http://arxiv.org/pdf/2403.05612v2
Unfamiliar Finetuning Examples Control How Language Models Hallucinate
2024-03-08T18:28:13
2024-05-28T23:56:14
Katie Kang, Eric Wallace, Claire Tomlin, Aviral Kumar, Sergey Levine
cs.LG
cs.LG, cs.AI, cs.CL
Large language models are known to hallucinate when faced with unfamiliar queries, but the underlying mechanism that govern how models hallucinate are not yet fully understood. In this work, we find that unfamiliar examples in the models' finetuning data -- those that introduce concepts beyond the base model's scope of knowledge -- are crucial in shaping these errors. In particular, we find that an LLM's hallucinated predictions tend to mirror the responses associated with its unfamiliar finetuning examples. This suggests that by modifying how unfamiliar finetuning examples are supervised, we can influence a model's responses to unfamiliar queries (e.g., say ``I don't know''). We empirically validate this observation in a series of controlled experiments involving SFT, RL, and reward model finetuning on TriviaQA and MMLU. Our work further investigates RL finetuning strategies for improving the factuality of long-form model generations. We find that, while hallucinations from the reward model can significantly undermine the effectiveness of RL factuality finetuning, strategically controlling how reward models hallucinate can minimize these negative effects. Leveraging our previous observations on controlling hallucinations, we propose an approach for learning more reliable reward models, and show that they improve the efficacy of RL factuality finetuning in long-form biography and book/movie plot generation tasks.
[ -0.4656476676464081, -1.1043617725372314, 0.7216264605522156, 0.032753441482782364, -0.08084239810705185, -0.21808119118213654, -0.2043713480234146, -0.49238482117652893, 0.14908576011657715, 0.7284426093101501, -0.6778029799461365, -0.20110845565795898, -0.5335132479667664, 0.03051702305674553, -0.3808997571468353, 1.284151554107666, 0.11405626684427261, -0.040674664080142975, -0.10200390219688416, -0.07046516239643097, -0.4865843951702118, -0.6157305836677551, -0.6154354214668274, -0.40419062972068787, 0.7111429572105408, 0.3382740914821625, 0.8602852821350098, 0.4453730285167694, 0.2757112681865692, 0.19483038783073425, 0.0931805670261383, 0.4262773096561432, -1.0733894109725952, 0.18756207823753357, -0.2791699469089508, -0.9551317095756531, 0.03193846717476845, 0.006153501570224762, 0.37692582607269287, 0.8840905427932739, -0.1475127637386322, -0.1312115341424942, 0.21807095408439636, 0.7612342834472656, -0.5651627779006958, 0.2257370948791504, -0.7961477637290955, 0.14440107345581055, -0.06345127522945404, -0.5396202802658081, -0.5989505052566528, -0.5150171518325806, 0.011311614885926247, -0.4147740602493286, 0.5016272664070129, 0.15288472175598145, 0.8258333206176758, 0.5095498561859131, -0.16500268876552582, -0.4625036120414734, -1.0446339845657349, 0.563313901424408, -0.6419029831886292, 0.4626643657684326, 0.5085842609405518, 0.35779497027397156, -0.4130520224571228, -0.5025014877319336, -0.5413909554481506, -0.5147370100021362, -0.30842816829681396, -0.14917737245559692, 0.028321709483861923, 0.11234253644943237, 0.33723220229148865, 0.24090586602687836, -0.30212512612342834, 0.1371045708656311, -0.48150599002838135, -0.21293321251869202, 0.40883979201316833, 0.20530205965042114, 0.16281194984912872, -0.24099719524383545, -0.18432699143886566, -0.07655593007802963, -0.8720436692237854, -0.003694069804623723, 0.26411738991737366, 0.46709391474723816, 0.08692125231027603, 0.8564084768295288, -0.35319647192955017, 0.5947842001914978, 0.30349624156951904, 0.14397378265857697, -0.0006606330862268806, -0.04947196692228317, -0.263557493686676, 0.27410003542900085, 0.39309296011924744, 0.5395039319992065, 0.4848189949989319, -0.4164412319660187, -0.405638724565506, 0.12237178534269333, 0.23458530008792877, -0.7042143940925598, -0.3769241273403168, 0.33953186869621277, -0.3196636438369751, -0.40672191977500916, 0.09961891174316406, -0.6167610287666321, -0.8084728717803955, -0.4469594657421112, 0.7718830108642578, -0.46707648038864136, -0.05437949299812317, 0.1733967512845993, -0.0429847314953804, 0.2891981303691864, 0.30749937891960144, -1.0756117105484009, 0.4350893199443817, 0.7115491628646851, 0.597689688205719, -0.35112228989601135, -0.3944765627384186, -0.9343116879463196, 0.020382026210427284, -0.4062725901603699, 0.6988862752914429, -0.11775704473257065, -0.05800912156701088, 0.01193237490952015, 0.13283856213092804, 0.07468497008085251, -0.6933280229568481, 0.29666846990585327, -0.5235157012939453, 0.3169955611228943, -0.2158435434103012, -0.46770530939102173, -0.27094966173171997, 0.1398315131664276, -0.6950652599334717, 0.3735440671443939, -0.07687491923570633, -0.5573176741600037, 0.3993380665779114, -0.27957746386528015, -0.3420635163784027, -0.24325895309448242, -0.35949623584747314, -0.20386184751987457, 0.4430735111236572, 0.06751344352960587, 0.7876369953155518, 0.0018672625301405787, 0.4595937430858612, -0.10223852097988129, -0.5360716581344604, 0.38465550541877747, -0.5666136145591736, 0.5102967619895935, 0.20138609409332275, -0.4387688934803009, 0.056576166301965714, -0.7897590398788452, -0.2514892816543579, 0.21148501336574554, -0.11004414409399033, -0.5962327122688293, -0.1940106749534607, -0.12571001052856445, -0.05705546215176582, -0.03588411957025528, -0.23460084199905396, 0.16535070538520813, -0.5762752294540405, 0.16081061959266663, 0.7916890978813171, 0.36579573154449463, 0.26555848121643066, -0.7488635182380676, 0.3530840575695038, 0.11036866903305054, -0.18151262402534485, 0.12000066787004471, -0.13152861595153809, -1.0562132596969604, 0.35273614525794983, 0.24621915817260742, 0.4883268177509308, -0.703761875629425, -0.05141301080584526, -0.04255930706858635, -0.41761142015457153, -0.6553560495376587, 0.002366573316976428, 0.18236449360847473, 0.3007217049598694, 0.4071674644947052, 0.00682293763384223, -0.38484248518943787, -0.9180565476417542, -0.4161093533039093, 0.09067430347204208, -0.018978377804160118, 0.34985581040382385, 0.28425487875938416, -0.1421959549188614, 0.5990105271339417, -0.5899357199668884, -0.29595643281936646, -0.10516899824142456, 0.35149192810058594, 0.09902380406856537, 0.6259787678718567, 0.47499150037765503, -0.7738664746284485, -0.06413011252880096, -0.17902669310569763, -0.5908803343772888, 0.19416020810604095, -0.7242741584777832, 0.13938367366790771, 0.3426963984966278, 0.7025632858276367, -0.6734336614608765, 0.044058907777071, 0.3983977138996124, -0.39806288480758667, 0.6509518623352051, -0.2803361415863037, 0.052762340754270554, -0.761326014995575, -0.3209608495235443, -0.17022189497947693, -0.19719572365283966, -0.592857837677002, 0.14692729711532593, -0.07917490601539612, 0.3837897777557373, -0.36786410212516785, 0.4160323739051819, -0.1988798826932907, 0.14203986525535583, -0.10043177753686905, 0.1182476282119751, -0.0421043299138546, 0.5993673205375671, 0.006449763663113117, 0.6742275953292847, 0.33587008714675903, -0.8667066693305969, 0.1181524470448494, 0.132277250289917, -0.553155779838562, 0.23391783237457275, -0.45109012722969055, -0.022913917899131775, -0.5277738571166992, -0.17139646410942078, -0.9337437748908997, -0.48986726999282837, 0.18182379007339478, -0.4250251352787018, 0.4838740825653076, 0.03817160800099373, -0.28959333896636963, 0.059174325317144394, -0.056997768580913544, 0.15460360050201416, 0.33681637048721313, -0.6985865831375122, 0.49544090032577515, 0.0795554593205452, -0.17934906482696533, -0.576192319393158, -0.9624503254890442, -0.07118168473243713, -0.35435137152671814, -0.13582563400268555, 0.18968534469604492, -0.30795031785964966, -0.4734499156475067, -0.22588880360126495, -0.0994759127497673, -0.002787741832435131, 0.22313885390758514, 0.35322555899620056, 0.1158820316195488, -0.23938007652759552, 0.24353086948394775, 0.19164510071277618, 0.12302710860967636, 0.34834545850753784, -0.017820078879594803, 0.7850925326347351, 0.046062175184488297, -0.2303575724363327, -0.33567947149276733, -0.021032828837633133, 0.4976193308830261, 0.04057791456580162, 0.7956846952438354, 0.4402782917022705, -0.46111229062080383, -0.4295910894870758, -0.8215797543525696, -0.7609776854515076, -0.4204934239387512, 0.36566948890686035, -0.5540279746055603, -0.8539943695068359, 0.5437456369400024, 0.16446790099143982, -0.16495974361896515, 0.43280014395713806, 0.5445227026939392, 0.04859733581542969, 0.833705484867096, 0.6348856687545776, 0.12334387749433517, 0.19561053812503815, -0.21299776434898376, -0.05695914104580879, -0.460213840007782, -0.23425382375717163, -0.3349945545196533, -0.09145466238260269, -0.7828705310821533, -0.2740307152271271, -0.023743072524666786, 0.04984981566667557, -0.0821259394288063, 0.01947450265288353, -0.3174099028110504, 0.6653640270233154, 0.40902748703956604, 0.30257555842399597, 0.4187067747116089, 0.07131653279066086, -0.16738660633563995, -0.0058732954785227776, -0.6930230855941772, -0.3984726369380951, 1.003853440284729, 0.38851600885391235, 1.0070875883102417, 0.08201821148395538, 0.8020003437995911, 0.22626525163650513, 0.1046442836523056, -0.7374716997146606, 0.19030719995498657, 0.01990783028304577, -0.6104587912559509, -0.41894233226776123, -0.3760318458080292, -0.6631189584732056, 0.037173207849264145, -0.3616807460784912, -0.6946339011192322, 0.4739561676979065, 0.12732654809951782, -0.9185393452644348, 0.22110676765441895, -0.767575204372406, 0.6787184476852417, -0.14959704875946045, -0.52602219581604, -0.1494382619857788, -0.5140203833580017, 0.7362816333770752, -0.21441403031349182, 0.22195090353488922, 0.15276820957660675, 0.4393858015537262, 0.6344109773635864, 0.07170690596103668, 1.0836278200149536, -0.020950449630618095, -0.2452322542667389, 0.1312035173177719, 0.6887542605400085, 0.6888594627380371, 0.18755704164505005, -0.0220654159784317, -0.18041008710861206, 0.06731998175382614, -0.0913967564702034, -0.6565583944320679, 0.8585234880447388, -0.6656146049499512, -0.8659077286720276, -0.17115925252437592, -0.8028008341789246, -0.3359140157699585, 0.14692793786525726, 0.3650147318840027, 0.2993394434452057, -0.26597559452056885, 0.318972110748291, 0.8727801442146301, -0.23002295196056366, -0.028107693418860435, 0.2608225345611572, -0.3348406255245209, 0.04351770877838135, 0.9104855060577393, 0.12250743061304092, 0.7004921436309814, 0.38999423384666443, 0.27860674262046814, -0.1395615041255951, -0.5425989627838135, -0.05283570662140846, 0.30185091495513916, -0.8473241329193115, -0.1542941927909851, -0.6723686456680298, -0.37642666697502136, -0.3467569053173065, -0.036662738770246506, -0.2596566081047058, -0.5996465086936951, -0.40446072816848755, -0.32445675134658813, 0.36882802844047546, 0.9231445789337158, -0.12505017220973969, 0.24299629032611847, -0.390255331993103, 0.5137989521026611, 0.49928784370422363, 0.42316722869873047, 0.17471815645694733, -0.5054216980934143, -0.013345086947083473, 0.21081431210041046, -0.08336727321147919, -0.5391660928726196, 0.26291385293006897, 0.021827638149261475, 0.48403969407081604, 0.6097698211669922, 0.36718297004699707, 0.5594004988670349, -0.45514535903930664, 0.6101208925247192, -0.10777697712182999, -0.587486743927002, 0.23411814868450165, -0.2393570989370346, 0.05182826891541481, 0.5703886151313782, 0.38024279475212097, -0.5562940835952759, -0.7799175977706909, -0.5975413918495178, -0.2751796543598175, 0.5873774886131287, 0.1277347207069397, 0.31003451347351074, 0.00547397043555975, 0.522117555141449, 0.48889005184173584, 0.18941861391067505, -1.188183069229126, -0.23869144916534424, -0.2545124590396881, -0.010728588327765465, -0.3127037584781647, -0.5270639061927795, -0.23383507132530212, -0.13823696970939636, 0.3938348591327667, 0.0423479899764061, 0.04497262462973595, 0.27201759815216064, -0.09898782521486282, -0.41354966163635254, 0.241224467754364, 0.9638887643814087, 0.5301644206047058, -0.502079427242279, 0.39583125710487366, 0.12025453895330429, -0.20580242574214935, -0.14656494557857513, -0.00011138017725897953, -0.3343150019645691, -0.10497809946537018, 0.23573139309883118, 0.8878988027572632, 0.08869825303554535, -0.5030335783958435, 0.1283617913722992, 0.09270608425140381, -0.3151739835739136, -0.3061749041080475, 0.3982653319835663, 0.0818425863981247, 0.41446152329444885, 0.18642491102218628, 0.1227537989616394, 0.08166012167930603, -0.7416996955871582, 0.3843611776828766, 0.578389048576355, -0.472598135471344, -0.007816454395651817, 0.7986823320388794, -0.3193724751472473, -0.24687205255031586, 0.502408504486084, -0.2775002121925354, -0.45539870858192444, 0.5578676462173462, 0.7328692078590393, 0.5958063006401062, -0.1301020085811615, 0.15098583698272705, 0.2382550984621048, 0.42781513929367065, -0.14864805340766907, 0.043323393911123276, 0.17790120840072632, -0.9400560259819031, -0.2653336524963379, -0.5347760319709778, -0.1478388011455536, 0.4974459409713745, -0.590994656085968, 0.3424466550350189, -0.43292197585105896, 0.238206148147583, -0.00021103759354446083, -0.22294636070728302, -0.6503966450691223, 0.19058413803577423, 0.19429850578308105, 0.5723944902420044, -0.8864415287971497, 0.7925425171852112, 0.0809548869729042, -0.7001357078552246, -0.7945302128791809, 0.15813229978084564, -0.19045740365982056, -0.8388960957527161, 0.7461559772491455, 0.08145558089017868, -0.07675889134407043, 0.2698320150375366, -0.6360991597175598, -0.6416928172111511, 0.8792787194252014, 0.010017632506787777, -0.4920654892921448, -0.2915797233581543, 0.34100914001464844, 0.3507087528705597, -0.43959254026412964, -0.14257486164569855, 0.7104882597923279, 0.3992450535297394, 0.1114223301410675, -0.7135577201843262, 0.3255922794342041, 0.34656640887260437, -0.45447343587875366, -0.009541784413158894, -0.3771497905254364, 0.9065371155738831, -0.6378571391105652, -0.13368307054042816, 0.2799724340438843, 0.6398467421531677, 0.37258484959602356, 0.291183203458786, 0.47971323132514954, 0.11456100642681122, 0.8945668339729309, 0.10060319304466248, 0.9292353987693787, -0.08841235935688019, 0.23762860894203186, 1.3478496074676514, 0.051646679639816284, 0.745942234992981, 0.8042075037956238, 0.2284894734621048, 0.3566338121891022, 0.5079746246337891, -0.3456941843032837, 0.6447833776473999, 0.35604098439216614, 0.16358453035354614, -0.2910333573818207, -0.13118931651115417, -0.3114296793937683, 0.3689156174659729, 0.5042003393173218, -0.35335585474967957, -0.2589782476425171, 0.32944098114967346, -0.06137002632021904, 0.20636174082756042, -0.33419063687324524, 0.6858369708061218, 0.08869726955890656, -0.7407492995262146, 1.023489236831665, -0.18053872883319855, 0.5495477914810181, -0.4200665354728699, -0.19446003437042236, -0.40948817133903503, 0.13907520473003387, -0.19392764568328857, -0.5218404531478882, 0.29320621490478516, -0.31842294335365295, -0.18961691856384277, 0.09270479530096054, 0.5153892040252686, -0.562828540802002, -0.37902653217315674, -0.056656286120414734, 0.6053160429000854, 0.23461008071899414, -0.21785961091518402, -0.29720622301101685, -0.12178819626569748, 0.23391816020011902, -0.08642106503248215, 0.17102961242198944, 0.6647211909294128, -0.053876738995313644, 0.7848996520042419, 0.4339860677719116, 0.2478472739458084, -0.010277874767780304, 0.04145904257893562, 0.6518804430961609, -0.6581366658210754, -0.3109971582889557, -0.8586005568504333, 0.2784114181995392, 0.23582777380943298, -0.044304557144641876, 0.7244188189506531, 0.5432306528091431, 1.0172743797302246, -0.4976903796195984, 0.5107341408729553, 0.25845658779144287, 0.41854560375213623, -0.945115327835083, 1.1186256408691406, -0.661819577217102, 0.2262384295463562, -0.2732289433479309, -0.8172539472579956, -0.42420846223831177, 0.5647026300430298, -0.2231176793575287, -0.07035733759403229, 0.8206033110618591, 0.921919584274292, -0.1247728019952774, -0.1176178902387619, 0.5544980764389038, 0.7224345207214355, 0.16720730066299438, 0.3585061728954315, 0.8546287417411804, -0.17449109256267548, 0.4518640637397766, -0.6512104868888855, 0.08793820440769196, -0.29960617423057556, -0.7731764316558838, -1.0133477449417114, -0.6139208078384399, -0.20398686826229095, -0.45654305815696716, 0.05615365505218506, 0.9763187766075134, 0.4207572042942047, -1.1569238901138306, -0.24519029259681702, -0.257811963558197, 0.28316789865493774, -0.1401977241039276, -0.29818299412727356, 0.3792915642261505, -0.5502637028694153, -0.5854254961013794, 0.22358651459217072, -0.1841888576745987, 0.5004110932350159, -0.38579490780830383, 0.005076981149613857, 0.01820169761776924, 0.08680016547441483, 0.551721453666687, 0.23951131105422974, -0.9935446381568909, -0.46378520131111145, -0.03717458248138428, -0.10304228216409683, -0.08036529272794724, 0.6899239420890808, -0.9202014803886414, 0.2500388026237488, 0.0905706137418747, 0.5570967793464661, 0.23643805086612701, 0.0742584764957428, 0.6165555715560913, -0.48424670100212097, 0.204758882522583, 0.1518043875694275, 0.18689319491386414, 0.2568112015724182, -0.6726064085960388, 0.33277052640914917, 0.04295333847403526, -0.4404379725456238, -0.9459837675094604, 0.23020879924297333, -0.8408267498016357, -0.5876477956771851, 1.1634007692337036, 0.4295830726623535, -0.10696732997894287, 0.08822274953126907, -0.34479406476020813, 0.3239006996154785, -0.039646100252866745, 1.3577154874801636, 0.8632851243019104, -0.02166491001844406, -0.10692328959703445, -0.9914078116416931, 1.016017198562622, 0.50724858045578, -0.5214203596115112, 0.519853949546814, 0.5395939350128174, 0.26226115226745605, 0.10716630518436432, 0.16122451424598694, 0.16883857548236847, 0.12537263333797455, -0.2399083375930786, -0.10015297681093216, -0.02965421788394451, -0.5748274922370911, -0.4027753174304962, 0.1567854881286621, 0.4669019877910614, 0.1937650591135025 ]
http://arxiv.org/abs/2403.05493v1
http://arxiv.org/pdf/2403.05493v1
To Err Is Human, but Llamas Can Learn It Too
2024-03-08T18:04:03
2024-03-08T18:04:03
Agnes Luhtaru, Taido Purason, Martin Vainikko, Maksym Del, Mark Fishel
cs.CL
cs.CL
This study explores enhancing grammatical error correction (GEC) through artificial error generation (AEG) using language models (LMs). Specifically, we fine-tune Llama 2-based LMs for error generation and find that this approach yields synthetic errors akin to human errors. Next, we train GEC Llama models with the help of these artificial errors and outperform previous state-of-the-art error correction models, with gains ranging between 0.8 and 6 F0.5 points across all tested languages (German, Ukrainian, and Estonian). Moreover, we demonstrate that generating errors by fine-tuning smaller sequence-to-sequence models and prompting large commercial LMs (GPT-3.5 and GPT-4) also results in synthetic errors beneficially affecting error generation models.
[ 0.2216772884130478, -1.0655664205551147, 0.644310474395752, 0.15923023223876953, 0.002105831867083907, 0.30436500906944275, -0.3762984275817871, -0.5605463981628418, 0.04797937721014023, 0.27163371443748474, -0.5709719061851501, -0.41970333456993103, -0.5357556939125061, 0.6945343613624573, -0.4729413688182831, 0.9658880829811096, -0.05522926151752472, 0.17425647377967834, -0.05134439840912819, 0.15674999356269836, -0.5325616598129272, -0.5535774230957031, -0.7991304397583008, -0.14683552086353302, 0.5816429853439331, 0.7772760391235352, 0.6965600252151489, 0.5412750840187073, 0.16395875811576843, 0.3687824606895447, -0.003306745085865259, 0.8402787446975708, -0.3233870267868042, -0.2790047526359558, -0.08917607367038727, -0.7453497648239136, -0.5790198445320129, -0.2991613447666168, 0.5338844656944275, 0.4438406229019165, -0.5437209606170654, -0.012073132209479809, -0.04798610880970955, 0.6289368271827698, -0.3404749035835266, 0.15785782039165497, -0.8235225081443787, -0.018992772325873375, -0.22245362401008606, 0.007114281877875328, -0.4616643190383911, -0.48468396067619324, -0.24226737022399902, -0.7292062044143677, 0.3437899947166443, 0.10517903417348862, 1.008241891860962, 0.49657705426216125, 0.022374624386429787, -0.5064948201179504, -0.7215986847877502, 0.6121020317077637, -1.1490894556045532, 0.05477747321128845, 0.4727436602115631, 0.07061248272657394, -0.5953836441040039, -0.5365943908691406, -0.940181314945221, -0.2717718482017517, 0.0006852018414065242, -0.057345252484083176, -0.3801439702510834, 0.2079584300518036, 0.09131509810686111, 0.08744591474533081, -0.12400349229574203, 0.25881868600845337, -0.5165159106254578, -0.17393769323825836, 0.8370866179466248, 0.034307584166526794, 0.5241575241088867, -0.11103050410747528, 0.20088139176368713, -0.08952535688877106, -0.9426019191741943, -0.07817956805229187, 0.7403467297554016, 0.43509727716445923, -0.09327959269285202, 0.5931498408317566, -0.034009747207164764, 0.6982653141021729, 0.2845930755138397, -0.1288723349571228, 0.07270460575819016, -0.06291481852531433, -0.21728219091892242, 0.17678990960121155, 0.6338139176368713, 0.3113306164741516, 0.6463667750358582, -0.17372320592403412, -0.3604598045349121, 0.69707190990448, 0.5388441681861877, -0.16208019852638245, -0.21684467792510986, -0.1776357889175415, 0.05918388441205025, -0.5353545546531677, -0.002116152551025152, -0.8556410670280457, -0.2668542265892029, -0.37042754888534546, 0.49016278982162476, -0.15151150524616241, 0.10020510852336884, 0.33118513226509094, 0.1956610232591629, 0.036901190876960754, 0.3508678078651428, -0.9186594486236572, 0.5536521673202515, 0.4218292236328125, 0.5342337489128113, 0.13739363849163055, -0.5557345747947693, -0.5644363760948181, -0.058759234845638275, -0.8278923034667969, 0.9019112586975098, -0.21371805667877197, -0.7082606554031372, 0.06872408092021942, 0.02418198436498642, -0.054291192442178726, -0.6517093181610107, 0.6990000009536743, -0.41848134994506836, 0.07241947948932648, -0.2913965880870819, -0.29608431458473206, -0.4717486500740051, -0.1515033096075058, -0.5102961659431458, 1.1982465982437134, 0.06312111765146255, -0.3522491157054901, 0.12587232887744904, -0.7595524787902832, -0.6699591875076294, -0.3281940519809723, -0.15292398631572723, -0.4455636441707611, 0.3437904119491577, 0.3245132565498352, 0.3890441060066223, -0.2612350285053253, 0.32800331711769104, 0.14409813284873962, -0.4593055546283722, 0.2841067612171173, -0.38399118185043335, 0.30602318048477173, -0.034491512924432755, -0.5129353404045105, 0.018598567694425583, -1.191449761390686, -0.08737540245056152, 0.3967936933040619, -0.9187923669815063, -0.12685106694698334, 0.47068706154823303, -0.392805814743042, 0.06915295124053955, -0.06781843304634094, -0.40701183676719666, 0.05297623947262764, -0.3540896475315094, 0.5307359099388123, 0.968717098236084, -0.3646569848060608, 0.21366602182388306, -0.4409424662590027, 0.5721831321716309, -0.1320124715566635, -0.2384106069803238, -0.00908645149320364, -0.4870392978191376, -1.3649590015411377, 0.21358844637870789, 0.20917654037475586, 0.8943629860877991, -0.6416110992431641, 0.4543641209602356, -0.20205049216747284, -0.47290870547294617, -0.8423691987991333, 0.577646017074585, 0.48356446623802185, 0.6726319193840027, 0.2957330048084259, -0.3145310580730438, -0.8845109343528748, -0.6950498819351196, -0.35717159509658813, -0.6803119778633118, 0.1933262199163437, 0.28207170963287354, 0.33379533886909485, -0.5683987736701965, 0.880693793296814, -0.17135131359100342, -0.09866127371788025, -0.2219509333372116, -0.01899457909166813, 0.0558001734316349, 0.28877782821655273, 0.4297032654285431, -0.2696964740753174, -0.05846504122018814, 0.18586398661136627, -0.6251228451728821, -0.4996218979358673, -0.15871328115463257, -0.012696643359959126, 0.5496268272399902, 0.4299688935279846, -0.7118473649024963, 0.3148627281188965, 0.6120191216468811, -0.4404873549938202, 0.6987923979759216, -0.4971708357334137, 0.029899070039391518, -0.9227612018585205, -0.2646835148334503, -0.0033636942971497774, -0.2465061992406845, -0.6357893943786621, -0.2538997232913971, 0.01959386095404625, 0.474003404378891, -0.33595067262649536, 0.24028052389621735, -0.24708731472492218, -0.10385356098413467, -0.22791869938373566, -0.1279950737953186, -0.09145652502775192, 0.3922121226787567, -0.2887546420097351, 0.9964985847473145, 0.12177275866270065, -0.7720356583595276, 0.17463742196559906, 0.21734581887722015, -0.03292880579829216, 0.3704020082950592, -0.7108064293861389, 0.45122233033180237, -0.31039005517959595, 0.03457857295870781, -1.0419445037841797, -0.8339813351631165, 0.3894192576408386, -0.5451682806015015, 0.4746682047843933, 0.18269354104995728, -0.38844239711761475, -0.4455582797527313, -0.25566524267196655, 0.08188004791736603, 0.6834051012992859, -0.8250809907913208, 0.6932370662689209, 0.20122763514518738, -0.3771764934062958, -0.6436923146247864, -0.9903271794319153, 0.3548141419887543, -0.22998885810375214, -0.612521767616272, 0.13883276283740997, 0.04150737449526787, -0.5550363659858704, -0.20735108852386475, 0.4375210702419281, 0.40842074155807495, 0.16649575531482697, 0.2790912091732025, 0.3950332999229431, -0.2096318006515503, 0.2809944450855255, 0.03560156747698784, 0.112081378698349, 0.06934932619333267, -0.141871839761734, 0.3705119490623474, -0.44900938868522644, -0.45097815990448, -0.4145214557647705, 0.11503318697214127, 0.4168548285961151, 0.1478770673274994, 0.2946814298629761, -0.1226780116558075, -0.5325765609741211, -0.24035020172595978, -0.8226824998855591, -0.05778259411454201, -0.5166460275650024, 0.648723304271698, -0.03281150385737419, -0.5205005407333374, 0.4700981676578522, 0.03341662883758545, 0.10013887286186218, 0.5078002214431763, 0.5233345031738281, -0.32125574350357056, 0.8736724853515625, 0.7343432307243347, -0.1912798136472702, 0.20776870846748352, 0.03696533292531967, 0.013439665548503399, -0.4726547598838806, -0.1544341892004013, -0.5872329473495483, -0.2773411273956299, -0.5518089532852173, -0.543449342250824, 0.1726144552230835, 0.22571209073066711, -0.44537127017974854, 0.22553017735481262, -0.1120949387550354, 0.5884795784950256, 0.5736417770385742, 0.09068959206342697, 0.37084728479385376, 0.5161620378494263, -0.2215503454208374, -0.2796038091182709, -0.8814007639884949, -0.9641895890235901, 1.0577893257141113, 0.3859173357486725, 0.9724876284599304, 0.08708319813013077, 0.6199173927307129, 0.42189016938209534, 0.4551234245300293, -0.7118647694587708, 0.44533851742744446, -0.2541547417640686, -0.22219808399677277, -0.1639218032360077, -0.09987052530050278, -0.6430622935295105, 0.012238601222634315, -0.13534465432167053, -0.6137770414352417, 0.03396562859416008, 0.6012572646141052, -0.46619629859924316, 0.4745822250843048, -0.7892642617225647, 0.4138953685760498, -0.4744526147842407, -0.2953113615512848, -0.11487580090761185, -0.5317717790603638, 0.2961655557155609, -0.23932407796382904, 0.4467543363571167, 0.14041094481945038, -0.2197568714618683, 0.6222051382064819, -0.4824591875076294, 1.4236233234405518, 0.10997499525547028, -0.46551749110221863, 0.7111106514930725, 0.24729517102241516, 0.9956793785095215, -0.4000999927520752, -0.15021313726902008, 0.24161143600940704, -0.8028075695037842, -0.2327483743429184, -0.2673264443874359, 0.4098467230796814, -1.0623855590820312, -0.647570013999939, -0.3176925778388977, -0.2982645034790039, -0.21610617637634277, -0.26299071311950684, 0.34805241227149963, -0.1903076171875, -0.21428370475769043, -0.5010801553726196, 0.16317185759544373, -0.26710155606269836, 0.5392854809761047, 0.5804516077041626, 0.08833209425210953, -0.5554637312889099, 0.7304149866104126, 0.13354332745075226, 0.2939113676548004, -0.28616443276405334, 0.0841595008969307, -0.3138086795806885, -0.5026459693908691, -0.8956863880157471, 0.5071156620979309, -0.9141649007797241, -0.3301680386066437, -0.3896760046482086, 0.01307961717247963, -0.12345458567142487, -0.1921619027853012, -0.4318365752696991, -0.32622140645980835, -0.7967822551727295, -0.5172380208969116, 0.6316633224487305, 1.1515541076660156, -0.2572218179702759, 0.7588952779769897, -0.83859783411026, -0.08216764777898788, 0.3118785619735718, 0.1441950649023056, -0.03274480625987053, -0.8200559020042419, 0.03388622775673866, 0.13030701875686646, -0.487456738948822, -0.9270957708358765, 0.5760592818260193, 0.6169600486755371, 0.22514058649539948, 0.13620229065418243, -0.5285515785217285, 1.0043333768844604, -0.8789042830467224, 0.8791925311088562, 0.14638136327266693, -1.107160210609436, 0.7136175036430359, -0.4736260771751404, -0.1630883663892746, 0.2332613170146942, -0.14596819877624512, -0.714165449142456, -0.11936085671186447, -0.7810333967208862, -0.737899124622345, 0.6308589577674866, 0.02036849595606327, 0.4353945255279541, -0.38381144404411316, 0.693099856376648, 0.09524203091859818, 0.04185815528035164, -0.9141336679458618, 0.1778266280889511, 0.1350490301847458, -0.435886412858963, -0.2669450640678406, -0.38622307777404785, -0.022147418931126595, -0.04545361548662186, 1.0541868209838867, -0.4320868253707886, -0.02754507213830948, 0.3784608244895935, -0.18660442531108856, -0.7890311479568481, 0.41385316848754883, 0.8602328896522522, 0.45699888467788696, 0.3985444903373718, 0.03447122126817703, 0.9032564759254456, -0.378286749124527, 0.4301162362098694, -0.09336019307374954, -0.306122362613678, 0.0638413280248642, 0.35434091091156006, 0.714815616607666, 0.18905852735042572, -0.9267095923423767, 0.10123990476131439, 0.2303106188774109, -0.02172384038567543, -0.4848565459251404, 0.19911590218544006, 0.2698560655117035, 0.15454727411270142, 0.15306812524795532, 0.3795243501663208, -0.17866575717926025, -0.3525078594684601, -0.017121685668826103, 0.06275693327188492, 0.0453253798186779, -0.6687933802604675, 0.8675085306167603, 0.3189256489276886, -0.5764985084533691, 0.43886274099349976, -0.1993981897830963, -0.5725862979888916, 0.6871412992477417, 0.81574946641922, 0.6852557063102722, -0.4959816336631775, 0.20803068578243256, 0.37240317463874817, 0.3430279791355133, -0.5457855463027954, 0.3771439492702484, 0.423236221075058, -0.8417806029319763, -0.6558932662010193, -0.6141453385353088, -0.2806277573108673, -0.11590255051851273, -0.1909765750169754, 0.4317556917667389, -0.5352981090545654, -0.21577315032482147, -0.3448133170604706, -0.4813467264175415, -0.46454671025276184, 0.2545349597930908, 0.28173765540122986, 0.4117552936077118, -0.7917259335517883, 0.49633991718292236, 0.9586244225502014, -0.21301379799842834, -1.039139747619629, -0.27870628237724304, 0.15194527804851532, -0.871117353439331, 0.6441381573677063, -0.0299469456076622, -0.37274467945098877, -0.03643424063920975, -0.4500228762626648, -0.677362859249115, 0.9316569566726685, 0.5803171992301941, -1.1301242113113403, -0.20519648492336273, 0.4880655109882355, 0.7490496635437012, -0.24656060338020325, -0.12056335061788559, 0.9581937193870544, 0.27144789695739746, -0.2710692882537842, -1.0643974542617798, -0.1460077464580536, -0.13900887966156006, 0.24153929948806763, -0.08486415445804596, -0.6440037488937378, 0.9996996521949768, -0.7378186583518982, -0.3107696771621704, 0.29328200221061707, 0.6678186655044556, 0.28953513503074646, 0.12099526077508926, 0.40239712595939636, 0.7083557844161987, 1.1466429233551025, -0.17611311376094818, 1.2160847187042236, 0.17748358845710754, 0.07824420183897018, 1.115331768989563, -0.264295756816864, 1.0639771223068237, 0.6049849987030029, -0.4608926475048065, 0.6754024624824524, 0.7551317811012268, 0.12635347247123718, 0.22264906764030457, 0.41790342330932617, -0.34701499342918396, -0.14647218585014343, 0.17872244119644165, -0.04662929102778435, 0.434343546628952, 0.6342539191246033, -0.4626385569572449, -0.02621202915906906, -0.3002399206161499, 0.3453354239463806, 0.4735561013221741, -0.4195515215396881, 0.7516399621963501, 0.06796399503946304, -0.7688258290290833, 0.6904518008232117, 0.29723110795021057, 1.0351351499557495, -0.3392534554004669, -0.19594167172908783, -0.29485809803009033, 0.4245266616344452, -0.364882230758667, -0.26055097579956055, 0.11493225395679474, 0.5186001062393188, -0.07521406561136246, 0.5117886662483215, 0.9048622846603394, -0.4020935297012329, -0.7876871824264526, 0.26107069849967957, 0.40233930945396423, 0.08915520459413528, 0.22005850076675415, -0.2993277907371521, 0.005329405888915062, 0.10395878553390503, 0.03495687246322632, -0.13432273268699646, 0.036627162247896194, -0.3475097417831421, 0.6903717517852783, 0.7284742593765259, 0.4161629378795624, 0.4774336516857147, -0.043896496295928955, 0.5870063304901123, -0.6550869941711426, -0.43616625666618347, -1.1088957786560059, 0.5751649737358093, 0.22999440133571625, -0.3116059899330139, 0.3830215632915497, 0.09493029862642288, 1.1171643733978271, -0.4637291431427002, 1.0540798902511597, 0.19062824547290802, 0.5085574984550476, -0.6465161442756653, 0.35581114888191223, -0.35568001866340637, 0.5809751749038696, -0.22645124793052673, -0.6984342932701111, -0.2652200758457184, 0.87083899974823, -0.16470295190811157, 0.010668810456991196, 0.27961209416389465, 1.171626329421997, 0.287508100271225, -0.05349646508693695, 0.3029157221317291, 0.35340186953544617, 0.3028395175933838, 0.47914624214172363, 1.1406092643737793, -0.6392490863800049, 0.3674301207065582, -0.09088214486837387, 0.015678975731134415, -0.24084489047527313, -0.7926726937294006, -0.6009932160377502, -0.08994979411363602, -0.3292304575443268, -0.5682594180107117, 0.5313742756843567, 1.3023958206176758, 0.3007121980190277, -0.804057776927948, -0.26598307490348816, -0.45501014590263367, -0.19890636205673218, 0.09213846176862717, -0.13339805603027344, 0.22301192581653595, -0.5889156460762024, -0.9043912887573242, 0.46322640776634216, -0.022330578416585922, 0.6560257077217102, 0.07443809509277344, -0.6787033081054688, 0.019360674545168877, 0.35033220052719116, 0.5927244424819946, 0.43617483973503113, -1.0877940654754639, -0.5899638533592224, -0.018210574984550476, -0.05209612473845482, 0.2001371681690216, 0.503247857093811, -0.7102692127227783, 0.3229304850101471, 0.10114791244268417, 0.7778513431549072, -0.15573233366012573, 0.0752183198928833, 0.809958279132843, -0.8772025108337402, 0.17132776975631714, 0.055299386382102966, 0.559249222278595, 0.8003503084182739, -0.50611811876297, 0.7104147672653198, 0.3531959056854248, -0.5105056166648865, -0.6399887204170227, -0.11903534829616547, -0.5723124742507935, 0.11497261375188828, 1.3121460676193237, -0.11172622442245483, -0.40696021914482117, 0.15322844684123993, -0.6540161371231079, 0.33378785848617554, -0.23897649347782135, 1.1756362915039062, 0.9926224946975708, -0.054547347128391266, 0.17468106746673584, -0.733218789100647, 0.7639709115028381, 0.831960916519165, -1.0899879932403564, -0.03623443841934204, 0.7875282764434814, 0.5300366878509521, 0.19783367216587067, 0.3702015280723572, -0.1404585987329483, 0.7935337424278259, 0.030785206705331802, 0.2787270247936249, 0.14215120673179626, -0.32166188955307007, -0.663032054901123, -0.5614961385726929, 0.47183260321617126, -0.09227155148983002 ]
http://arxiv.org/abs/2403.05488v1
http://arxiv.org/pdf/2403.05488v1
FFSTC: Fongbe to French Speech Translation Corpus
2024-03-08T17:53:58
2024-03-08T17:53:58
D. Fortune Kponou, Frejus A. A. Laleye, Eugene C. Ezin
cs.CL
cs.CL
In this paper, we introduce the Fongbe to French Speech Translation Corpus (FFSTC) for the first time. This corpus encompasses approximately 31 hours of collected Fongbe language content, featuring both French transcriptions and corresponding Fongbe voice recordings. FFSTC represents a comprehensive dataset compiled through various collection methods and the efforts of dedicated individuals. Furthermore, we conduct baseline experiments using Fairseq's transformer_s and conformer models to evaluate data quality and validity. Our results indicate a score of 8.96 for the transformer_s model and 8.14 for the conformer model, establishing a baseline for the FFSTC corpus.
[ -0.28423452377319336, -0.5336686968803406, 0.3971860408782959, 0.4253855347633362, -0.14333954453468323, 0.03141789883375168, -0.216257706284523, -0.2767488956451416, -0.12302687019109726, 0.5746093988418579, -0.5567976832389832, -0.5108240842819214, -0.8262382745742798, 0.3651163578033447, -1.0088518857955933, 0.8311218023300171, 0.19721178710460663, -0.14907719194889069, 0.2091887891292572, -0.05522114410996437, -0.1389935314655304, -0.24950164556503296, -0.8875162601470947, 0.00081675685942173, 0.3155142664909363, 0.3886758089065552, 0.7860279679298401, 0.1518680900335312, 0.14673365652561188, 0.24099141359329224, -0.0819859430193901, -0.06962428987026215, -0.8153425455093384, -0.41400229930877686, -0.21561338007450104, -0.4652005434036255, -0.4235992133617401, 0.03172535076737404, 0.8368797302246094, 0.5000626444816589, -0.1873445063829422, 0.1721380352973938, -0.0177244171500206, 0.46062174439430237, -0.27887606620788574, 0.34145277738571167, -0.39756301045417786, -0.08485924452543259, -0.31344178318977356, -0.1357550024986267, -0.7651669979095459, -0.601184070110321, -0.06614242494106293, -0.36764541268348694, 0.2533988058567047, -0.28137505054473877, 0.6435248255729675, 0.13174673914909363, -0.8852042555809021, -0.11579734832048416, -0.9227436184883118, 0.8871793746948242, -0.548338770866394, 0.9389629364013672, 0.4070311188697815, 0.4945265054702759, -0.04051414504647255, -1.2175047397613525, -0.722394585609436, -0.10783636569976807, 0.05357475206255913, 0.15851250290870667, -0.6023502349853516, -0.1527208387851715, 0.027684662491083145, 0.6347203254699707, -0.6448733806610107, -0.19200246036052704, -0.8043308258056641, -0.4187641441822052, 0.8731830716133118, -0.053010474890470505, 0.24167780578136444, -0.11957620084285736, -0.35097041726112366, -0.289323091506958, -0.2928365468978882, 0.24498075246810913, 0.19168421626091003, 0.5267758369445801, -0.19231249392032623, 0.38886165618896484, -0.14127184450626373, 0.5695202946662903, 0.017824847251176834, -0.30046600103378296, 0.39181941747665405, -0.5126856565475464, -0.18095999956130981, 0.28768670558929443, 0.944539487361908, 0.5253469944000244, 0.3960861265659332, -0.15251927077770233, -0.3952491283416748, -0.30182066559791565, 0.4745085537433624, -0.8581894040107727, -0.2562609612941742, 0.26688605546951294, -0.5874220728874207, -0.32389453053474426, 0.1661107987165451, -0.6196348071098328, 0.30979999899864197, -0.25963324308395386, 0.07505057007074356, -0.48948368430137634, -0.2084333896636963, -0.19808270037174225, 0.27992987632751465, 0.47717520594596863, 0.4380311667919159, -0.6746196150779724, 0.3442491888999939, 0.3776794970035553, 1.0051437616348267, -0.4134272634983063, -0.10329298675060272, -0.6833921074867249, -0.30634620785713196, -0.45878836512565613, 0.6179926991462708, -0.17883677780628204, -0.945655107498169, 0.18766823410987854, 0.7161178588867188, -0.07492108643054962, -0.2493250072002411, 1.1181533336639404, -0.38961830735206604, 0.08747141808271408, 0.12229751795530319, -0.6698589324951172, -0.2613914906978607, -0.5563892126083374, -0.9926108717918396, 0.9478204250335693, 0.7766044735908508, -0.3578890562057495, 0.02652091532945633, -0.18676507472991943, -0.5214536786079407, 0.051148559898138046, -0.025624770671129227, 0.01798880100250244, 0.025882381945848465, 0.3554404079914093, 0.5044968128204346, -0.5109054446220398, 0.2894475758075714, 0.22739015519618988, -0.212874174118042, 0.5726982951164246, -0.5327060222625732, 0.9527449607849121, 0.7188770771026611, -0.0006689965957775712, -0.09040152281522751, -0.6258043646812439, 0.03270166367292404, 0.18725979328155518, -0.17935991287231445, 0.18358474969863892, -0.27611401677131653, 0.5694223046302795, 0.35932740569114685, -0.08040881156921387, -0.7304151058197021, -0.23956824839115143, -0.4019850790500641, 0.8171671032905579, 0.5094746947288513, -0.04826769977807999, 0.5354753732681274, -0.44338542222976685, 0.5021603107452393, -0.23976287245750427, 0.016762783750891685, -0.042694319039583206, -0.6260135769844055, 0.03231120482087135, -0.08363158255815506, 0.5691027641296387, 0.8769254684448242, -0.5855669975280762, 0.3823772668838501, -0.5475075244903564, -0.6184489727020264, -0.633881151676178, -0.3301279842853546, 0.0060875304043293, 0.3984330892562866, 0.5630791187286377, -0.08486364036798477, -0.052851352840662, -0.8801527619361877, 0.006997869815677404, -0.10983525961637497, -0.4860687851905823, 0.33432334661483765, 0.33250728249549866, -0.17732571065425873, 0.6047824025154114, -0.3383222222328186, -0.2680746018886566, -0.25628113746643066, -0.06239283084869385, 0.31273022294044495, 0.501876175403595, 1.085107684135437, -0.8038669228553772, -0.30144864320755005, -0.15099522471427917, -0.20713257789611816, -0.2603835463523865, -0.13580825924873352, -0.14406588673591614, 0.08057807385921478, 0.6822261214256287, -0.0850803405046463, 0.5364339351654053, 0.860083818435669, -0.17008699476718903, 0.3767196834087372, 0.35461243987083435, 0.820953905582428, -1.0951735973358154, 0.08787702023983002, -0.15526610612869263, -0.6537840962409973, -0.6680285334587097, -0.40722033381462097, 0.05394156277179718, -0.12058009952306747, -0.7693713307380676, 0.7403287291526794, 0.18366000056266785, 0.39157673716545105, -0.1122063547372818, 0.3712049424648285, -0.1126888170838356, 0.2778654396533966, 0.025085289031267166, 0.9688634276390076, 0.12753446400165558, -0.45394784212112427, 0.4915284812450409, 0.6984060406684875, -0.4073399305343628, 0.5793431997299194, -0.7112341523170471, 0.08390229195356369, 0.3648715615272522, 0.26764217019081116, -1.1702055931091309, -0.22324857115745544, 0.08383727073669434, -0.7787702679634094, 0.2122219204902649, -0.0322384275496006, -0.17447473108768463, -0.41432181000709534, 0.13200317323207855, 0.5001451373100281, 0.5212397575378418, -0.5018166899681091, 0.259866327047348, 0.48766133189201355, -0.4860207736492157, -0.3069017827510834, -1.1979856491088867, -0.14250938594341278, 0.07485014945268631, -0.7832993865013123, 0.6640720963478088, 0.11843454837799072, 0.09321647137403488, -0.25773659348487854, -0.3455175757408142, -0.2905339300632477, -0.38066747784614563, 0.04452478885650635, -0.0014944362919777632, -0.5943112373352051, 0.004457702860236168, 0.2752859890460968, 0.05225934460759163, 0.020035410299897194, -0.3968524634838104, 0.31505605578422546, -0.12224877625703812, -0.08109331130981445, -0.5581572651863098, 0.5027387738227844, 0.35286372900009155, -0.05818747356534004, 0.7152976393699646, 0.5339797139167786, -0.39304158091545105, -0.07345539331436157, -0.4055575430393219, -0.22551928460597992, -0.3942541778087616, 0.19262786209583282, -0.5928210616111755, -1.085611343383789, 0.4505264163017273, -0.25350984930992126, 0.08834446966648102, 0.563489556312561, 0.5112550854682922, 0.017381614074110985, 0.5635673403739929, 0.4112222194671631, -0.1675489991903305, 0.5379884243011475, -0.07036817818880081, 0.16880029439926147, -0.4607135057449341, 0.07782916724681854, -0.680945634841919, -0.027361463755369186, -0.6499488353729248, -0.7318331003189087, -0.046547263860702515, 0.3437768816947937, -0.045712199062108994, 0.5957227349281311, -0.3692636787891388, 0.17039307951927185, 0.3535867929458618, 0.09936826676130295, 0.3171482980251312, 0.01333355251699686, -0.034996211528778076, -0.1377885490655899, -0.4944605529308319, -0.7115362882614136, 1.1002110242843628, 0.4161408841609955, 0.32941001653671265, 0.22277432680130005, 0.4526114761829376, 0.2820771038532257, 0.08781275898218155, -0.7044344544410706, 0.2937527596950531, -0.616022527217865, -0.6117479205131531, -0.4040822684764862, -0.43287959694862366, -0.80757075548172, -0.04739346727728844, -0.0012307798024266958, -0.8030538558959961, 0.3264995515346527, -0.07646459341049194, -0.4131655991077423, 0.233350470662117, -0.30590611696243286, 1.0688399076461792, -0.13919632136821747, -0.2624465823173523, -0.041239965707063675, -0.6945422887802124, 0.4070768654346466, -0.08793745189905167, 0.35326844453811646, -0.06876790523529053, 0.2256629467010498, 0.6808490753173828, -0.33002185821533203, 0.2548406720161438, 0.04776515066623688, -0.38303157687187195, 0.5816542506217957, 0.13145674765110016, 0.367309033870697, 0.49130430817604065, -0.2509981393814087, 0.4577527344226837, 0.317828893661499, -0.45976248383522034, -0.27522268891334534, 0.4490008056163788, -0.6509385108947754, 0.004009876865893602, -0.34791967272758484, -0.20598925650119781, -0.0915047898888588, 0.0953567698597908, 0.4857475757598877, 0.4442217946052551, -0.9469757080078125, 0.5519536137580872, 0.50433748960495, -0.28517597913742065, 0.15049748122692108, 0.48097437620162964, -0.5221014618873596, -0.5631231069564819, 0.6013736724853516, -0.1437012404203415, 0.35642650723457336, 0.6278883814811707, -0.04267878457903862, -0.5018569231033325, -0.48251160979270935, -0.4707128405570984, 0.2788126766681671, -0.552466869354248, -0.21229957044124603, -0.6466706991195679, -0.5876787304878235, -0.8233584761619568, -0.18015016615390778, -0.6432852149009705, -0.5611162781715393, -0.2232855260372162, -0.28155821561813354, 0.518467128276825, 0.29128900170326233, -0.2291724681854248, 0.7019339799880981, -1.198610782623291, 0.4570218324661255, 0.19016872346401215, -0.09503048658370972, -0.5476359724998474, -0.9130541086196899, -0.08929666131734848, 0.39321714639663696, -0.013712258078157902, -1.039405345916748, 0.40681517124176025, 0.3110972046852112, 0.5775905251502991, 0.16614730656147003, 0.16029365360736847, 0.1078604981303215, -0.5862938165664673, 1.088098168373108, 0.11042475700378418, -1.1391664743423462, 0.6948400139808655, -0.31646597385406494, 0.38599979877471924, 0.4300139844417572, 0.453962504863739, -0.7367280125617981, -0.3577801287174225, -0.5629454255104065, -0.8208192586898804, 0.9580146074295044, 0.7553899884223938, -0.10842974483966827, -0.02562471479177475, 0.33671656250953674, 0.11116956174373627, 0.25310125946998596, -0.30628347396850586, -0.23275761306285858, -0.5958139300346375, -0.12004465609788895, -0.40792015194892883, -0.0689825639128685, -0.16042612493038177, -0.22240972518920898, 0.5770968198776245, -0.17889685928821564, 0.5786296129226685, 0.30861523747444153, -0.1817575991153717, -0.022264746949076653, 0.4240637421607971, 0.7395191788673401, 0.3314286172389984, -0.16713286936283112, -0.18321706354618073, 0.3855817914009094, -0.6778711676597595, 0.050763003528118134, 0.34926196932792664, 0.04206632077693939, 0.14389537274837494, 0.4786060154438019, 0.8921449780464172, 0.23749326169490814, -0.519598662853241, 0.6076667904853821, -0.18447628617286682, -0.443606972694397, -0.3786087930202484, -0.011367090046405792, 0.2522706091403961, 0.25152701139450073, 0.23344403505325317, -0.04923897609114647, 0.07467534393072128, -0.21766184270381927, 0.7009240984916687, -0.2776830792427063, -0.6198314428329468, -0.2470753788948059, 0.9526036381721497, 0.25522518157958984, 0.07485026866197586, 0.8224892616271973, -0.03034842759370804, -0.20644797384738922, 0.39375755190849304, 0.34605512022972107, 0.9723640084266663, -0.9686010479927063, 0.3996504843235016, 0.7237896919250488, 0.5354192852973938, -0.14390221238136292, 0.31990012526512146, -0.040388911962509155, -0.5047328472137451, -0.4651055335998535, -0.9314212799072266, -0.11358579993247986, -0.006218532100319862, -0.8856342434883118, 0.1548025757074356, 0.27451092004776, -0.24751919507980347, -0.00157528358977288, -0.2842702865600586, -0.6028205156326294, 0.297934889793396, 0.10281920433044434, 0.9754501581192017, -0.7655787467956543, 1.3249375820159912, 0.3266422152519226, -0.4457648694515228, -1.015263319015503, -0.054262109100818634, 0.1322813481092453, -0.47884562611579895, 0.5104475021362305, -0.21646712720394135, -0.35120001435279846, 0.24344411492347717, -0.3947080969810486, -0.5687553882598877, 1.120881199836731, 0.32172486186027527, -0.921002209186554, 0.14393529295921326, 0.48087260127067566, 0.43663328886032104, -0.5234147310256958, 0.09969054162502289, 0.884209394454956, 0.4579748511314392, 0.1483573466539383, -1.3364266157150269, -0.0426098108291626, -0.016540318727493286, -0.056705292314291, -0.10276494175195694, -0.6843237280845642, 1.01996648311615, 0.0727580264210701, -0.4989875853061676, 0.15367001295089722, 0.9045714139938354, -0.20818400382995605, 0.21203722059726715, 0.5975030660629272, 0.022881140932440758, 0.7541654109954834, -0.3058933615684509, 0.8728161454200745, -0.32980892062187195, 0.3778180480003357, 1.203914761543274, -0.18753525614738464, 0.8238497972488403, 0.22074554860591888, -0.5758082866668701, 0.057607028633356094, 0.5052153468132019, 0.18838053941726685, 0.5293757319450378, 0.17974057793617249, -0.22302281856536865, -0.18093623220920563, -0.06319744884967804, -0.44454121589660645, 0.44416844844818115, 0.6236302852630615, -0.36798617243766785, 0.007143632508814335, 0.2909572720527649, -0.1846865564584732, 0.2417408972978592, -0.1440795511007309, 0.583415150642395, 0.5993496775627136, -0.3737308382987976, 0.7072997689247131, -0.09524000436067581, 0.3059847354888916, -0.49180611968040466, 0.15758752822875977, -0.21073676645755768, 0.15729831159114838, -0.2443169355392456, -1.0413233041763306, 0.6738694906234741, -0.07243844121694565, -0.0868694931268692, -0.33321693539619446, 0.47421586513519287, -0.65108323097229, -0.35219770669937134, 0.5530637502670288, 0.6159647107124329, 0.2733277380466461, -0.22847770154476166, -0.5716780424118042, 0.017047960311174393, 0.4213480055332184, -0.12894080579280853, -0.06349379569292068, 0.5591577887535095, -0.005145454313606024, 0.24905502796173096, 0.4286448657512665, -0.101840540766716, 0.26101016998291016, 0.08843369781970978, 0.5535771250724792, -0.638276994228363, -0.40230655670166016, -0.2477327436208725, 0.420170396566391, 0.09848661720752716, -0.3280245065689087, 0.344343364238739, 0.5207658410072327, 1.0590574741363525, -0.3532070815563202, 0.8367339372634888, -0.13781748712062836, 0.7424688935279846, -0.6753509640693665, 0.6132947206497192, -0.5994619727134705, -0.14348579943180084, -0.33578941226005554, -0.8318684101104736, 0.0014446028508245945, 0.8704532980918884, -0.007535058539360762, -0.33781254291534424, 0.9285063743591309, 0.7862705588340759, -0.19227713346481323, 0.6701071262359619, 0.42341428995132446, 0.18463099002838135, 0.3556477427482605, 0.705333948135376, 0.6667482256889343, -0.9396145343780518, 0.7769644856452942, -0.5749943852424622, -0.21818898618221283, -0.25381141901016235, -0.6064624786376953, -0.5792484283447266, -0.9233911037445068, -0.41215190291404724, -0.594730019569397, -0.023791596293449402, 0.8539307713508606, 0.3358811140060425, -1.4116921424865723, -0.3882586359977722, 0.16558405756950378, -0.16544510424137115, -0.4935624301433563, -0.3059970736503601, 0.23930880427360535, -0.0066255806013941765, -1.1183671951293945, 0.7049492001533508, -0.21024399995803833, 0.19509494304656982, 0.22315233945846558, -0.10021379590034485, -0.3064389228820801, 0.1457725465297699, 0.6732686161994934, 0.24136827886104584, -0.7371059656143188, -0.4205301105976105, 0.20562098920345306, -0.3086335361003876, 0.024569282308220863, 0.9965746998786926, -0.4381089210510254, 0.21244220435619354, 0.7044007182121277, 0.41067489981651306, 0.6721257567405701, -0.040610674768686295, 0.9286344647407532, -0.8025361895561218, 0.39511367678642273, 0.45183420181274414, 0.2936423718929291, 0.06305284053087234, -0.02213098295032978, 0.6962705850601196, -0.033732153475284576, -0.8415302634239197, -0.7255805730819702, 0.07402738183736801, -1.3608818054199219, -0.13840804994106293, 0.9056154489517212, -0.20178693532943726, -0.19899065792560577, 0.007212447933852673, -0.337597519159317, 0.6155298948287964, -0.8254146575927734, 0.055078499019145966, 0.773212730884552, 0.08555474877357483, -0.13096286356449127, -1.253018856048584, 0.7272750735282898, -0.058759041130542755, -0.3578760027885437, 0.033212337642908096, 0.47741398215293884, 0.2098427414894104, 0.2257346659898758, 0.7926141619682312, -0.43791162967681885, 0.27499935030937195, 0.23912407457828522, -0.04682724177837372, 0.47056832909584045, -0.15694944560527802, -0.30677348375320435, 0.20848865807056427, -0.2625660300254822, -0.06664490699768066 ]
http://arxiv.org/abs/2403.05468v1
http://arxiv.org/pdf/2403.05468v1
Will GPT-4 Run DOOM?
2024-03-08T17:30:41
2024-03-08T17:30:41
Adrian de Wynter
cs.CL
cs.CL, cs.AI, cs.CV
We show that GPT-4's reasoning and planning capabilities extend to the 1993 first-person shooter Doom. This large language model (LLM) is able to run and play the game with only a few instructions, plus a textual description--generated by the model itself from screenshots--about the state of the game being observed. We find that GPT-4 can play the game to a passable degree: it is able to manipulate doors, combat enemies, and perform pathing. More complex prompting strategies involving multiple model calls provide better results. While further work is required to enable the LLM to play the game as well as its classical, reinforcement learning-based counterparts, we note that GPT-4 required no training, leaning instead on its own reasoning and observational capabilities. We hope our work pushes the boundaries on intelligent, LLM-based agents in video games. We conclude by discussing the ethical implications of our work.
[ -0.28910231590270996, -0.6960455775260925, 1.2597039937973022, 0.020463719964027405, -0.18314236402511597, 0.002434792462736368, -0.02885701321065426, -0.44358429312705994, -0.4832673668861389, 0.654573380947113, -0.7818647623062134, -0.36805060505867004, -0.562726616859436, 0.23687787353992462, 0.06836598366498947, 1.3226546049118042, 0.09373249858617783, -0.08441879600286484, 0.11221292614936829, 0.39496469497680664, -0.4368494153022766, -0.3837452828884125, -0.8376612663269043, -0.5072365403175354, 0.30080291628837585, 0.11665486544370651, 0.9096782803535461, 0.9131281971931458, 0.5011074542999268, 0.41550400853157043, 0.37774839997291565, -0.5140184760093689, -0.8688864707946777, 0.12506195902824402, -0.4485529959201813, -0.6866773962974548, -0.19664722681045532, 0.16157767176628113, 0.5300447344779968, -0.156747505068779, 0.08165495842695236, -0.14500391483306885, -0.20564432442188263, 0.08446647971868515, 0.0024121743626892567, 0.20103947818279266, -0.2476395219564438, 0.0630265325307846, -0.04804902523756027, -0.23786883056163788, -0.1272328794002533, -0.23222683370113373, 0.10101532191038132, -1.0081336498260498, 0.16226792335510254, -0.06344494968652725, 0.5965715050697327, 0.6060185432434082, -0.19354909658432007, -0.16941329836845398, -1.0714573860168457, 0.814081072807312, -0.6508721709251404, 0.2078395038843155, 0.18152080476284027, 0.36996543407440186, -0.4544091820716858, -0.7460784912109375, -0.3786062002182007, -0.6573910713195801, 0.49643057584762573, 0.13312958180904388, -0.4274698793888092, 0.5215937495231628, 0.8759013414382935, 0.23156596720218658, -0.40086567401885986, -0.10318517684936523, -0.7078537344932556, -0.16853968799114227, 0.5133721828460693, 0.2762365937232971, 0.4040133059024811, 0.09215528517961502, -0.7386369705200195, 0.14927449822425842, -0.5104294419288635, 0.16781629621982574, 0.6365986466407776, 0.14077763259410858, -0.06155261769890785, 0.46652016043663025, 0.11618532240390778, 0.35218900442123413, 0.06620409339666367, -0.46063244342803955, -0.22176970541477203, 0.03854113817214966, -0.1341366320848465, 0.1270226538181305, 0.7367932200431824, 0.36262398958206177, 0.328723669052124, -0.3115171790122986, -0.19711245596408844, 0.2384074181318283, 0.6720387935638428, -0.7159873843193054, -0.5052179098129272, 0.2118401676416397, -0.2359866201877594, -0.0992279127240181, -0.15745866298675537, -0.6976174116134644, -0.4659203886985779, -0.1588393747806549, 0.5824827551841736, -0.7320607304573059, -0.2364477664232254, 0.26390209794044495, -0.31898483633995056, 0.3713986575603485, 0.23064203560352325, -0.7471572756767273, 0.5448653101921082, 1.0327200889587402, 0.6572575569152832, -0.16197063028812408, -0.5400476455688477, -0.4104231297969818, 0.45572102069854736, -0.323606014251709, 0.6142486929893494, -0.559333324432373, -0.6940422654151917, -0.4154003858566284, -0.24954795837402344, 0.5516344308853149, -0.11813940852880478, 0.5214319229125977, -0.4016953408718109, 0.03766001760959625, -0.5240959525108337, -0.4537193179130554, -0.3835315704345703, 0.5580334663391113, -0.5625270009040833, 0.5113396048545837, 0.17681527137756348, -0.7043218612670898, 0.40344974398612976, -0.8231330513954163, -0.6309873461723328, 0.3829820156097412, -0.4720841646194458, 0.12788976728916168, 0.24505849182605743, -0.023528262972831726, -0.011143652722239494, -0.34052523970603943, 0.04649502784013748, -0.4781495928764343, -0.6316216588020325, -0.3073948323726654, -0.4529842734336853, 0.7401884198188782, 0.09548241645097733, -0.8442041873931885, -0.13329683244228363, -0.39797016978263855, 0.11969999223947525, 0.2755734324455261, -0.3259020149707794, 0.10430116206407547, 0.3481003940105438, -0.4422755539417267, 0.3737817704677582, 0.3306468427181244, -0.5980409979820251, 0.403945654630661, -0.1773892194032669, 0.3394392728805542, 0.8690324425697327, 0.047138676047325134, 0.40862196683883667, -0.44215887784957886, 1.1402223110198975, -0.5073065757751465, 0.4951719343662262, 0.1399175524711609, -0.9107380509376526, -0.22082048654556274, -0.2768796384334564, -0.2460867315530777, 0.9277076721191406, -0.7832712531089783, -0.3155701458454132, 0.05827685818076134, -0.2695215940475464, -0.0012858171248808503, -0.3152834475040436, 0.41074514389038086, 0.41326451301574707, 0.25692611932754517, -0.0663842111825943, -0.5967568755149841, -0.8486747145652771, -0.3617747128009796, -0.5629013776779175, 0.08292212337255478, 0.3784566819667816, 0.3572077751159668, -0.16136135160923004, 0.8868672251701355, -0.4739178419113159, -0.030893957242369652, -0.5976823568344116, 0.03146488592028618, 0.0979093462228775, 0.259021133184433, 0.38526272773742676, -0.5695141553878784, 0.05565673112869263, -0.10468074679374695, -0.8294941782951355, -0.09943118691444397, 0.07617221772670746, -0.011585824191570282, -0.36663636565208435, 0.25013917684555054, -0.6738091111183167, 0.4066876769065857, 0.17312242090702057, -0.18129870295524597, 0.5740402936935425, -0.552948534488678, 0.32361409068107605, -0.7730726599693298, -0.25327566266059875, -0.004529878031462431, -0.19739742577075958, -0.6664704084396362, 0.2537069022655487, -0.5690099596977234, -0.24409492313861847, -0.26977717876434326, 0.5217284560203552, -0.2668176293373108, -0.43918272852897644, -0.5180680751800537, -0.01059835683554411, -0.2582780122756958, 0.31155696511268616, 0.004548836965113878, 0.6831422448158264, 0.6587069034576416, -0.7140526175498962, 0.5531907081604004, 0.028292149305343628, -0.0839008316397667, 0.5460461378097534, -0.6642526388168335, 0.20289058983325958, 0.013670578598976135, 0.2729742228984833, -0.7035273313522339, -0.2164580523967743, 0.35879769921302795, -0.2660009264945984, 0.025669218972325325, -0.13861580193042755, -0.3089010715484619, -0.48039570450782776, 0.02352900616824627, 0.23512545228004456, 0.6908881068229675, -0.010164480656385422, 0.8289020657539368, 0.41508185863494873, -0.070437952876091, -0.4889172315597534, -0.6895226836204529, 0.14221395552158356, -0.4974183738231659, -0.2948313057422638, 0.30474942922592163, -0.131373792886734, -0.41625767946243286, -0.050940025597810745, 0.16932633519172668, -0.11648206412792206, 0.05921731889247894, 0.527350902557373, 0.06968329101800919, -0.15401816368103027, -0.19289661943912506, -0.396173894405365, -0.23144099116325378, 0.24643589556217194, -0.34251004457473755, 0.21602794528007507, -0.3515370786190033, -0.3132669925689697, -0.22863830626010895, 0.4148055911064148, 0.43578723073005676, -0.09665165841579437, -0.26247745752334595, 0.3055427670478821, -0.3409082889556885, -0.16299334168434143, -0.3745620548725128, -0.20806798338890076, -0.5055974125862122, 0.5074986219406128, -0.4761650562286377, -0.9682484865188599, 0.5452125668525696, -0.16282470524311066, 0.08841012418270111, 0.280674546957016, 0.5648593306541443, 0.26839399337768555, 1.2278138399124146, 0.8751571774482727, -0.06694484502077103, 0.12705473601818085, -0.04291275143623352, 0.38549545407295227, -0.37554240226745605, -0.14245255291461945, -0.1341352015733719, -0.3358854055404663, -0.8396491408348083, -0.3866480886936188, 0.4073002338409424, -0.20221760869026184, -0.7724010944366455, 0.08721421658992767, -0.6222037672996521, 0.6578518152236938, 0.6258785724639893, 0.11650532484054565, 0.35806944966316223, -0.32578587532043457, 0.01906166970729828, 0.0020498447120189667, -0.6037115454673767, -0.6241025328636169, 0.8742191791534424, 0.5383185148239136, 0.8424338698387146, 0.2298348993062973, 0.9911839962005615, 0.1401098072528839, 0.32670480012893677, -0.4729706346988678, 0.785509467124939, 0.151298388838768, -1.1916759014129639, -0.38865381479263306, -0.35044190287590027, -0.5939466953277588, -0.13154925405979156, 0.17870962619781494, -0.8418895602226257, -0.2952161729335785, -0.031924981623888016, -0.8210994601249695, 0.4691694378852844, -0.7500301599502563, 0.8398059010505676, -0.6209161877632141, -0.3550868630409241, -0.05164390429854393, -0.5912030935287476, 0.8051857948303223, 0.0690605416893959, 0.12935662269592285, -0.11504451930522919, -0.2554638385772705, 0.48987138271331787, -0.0704774558544159, 0.5777541399002075, -0.3231271207332611, -0.22826173901557922, 0.5545376539230347, 0.49605968594551086, 0.442844957113266, 0.2587611675262451, 0.2663564383983612, 0.020427679643034935, 0.1360071897506714, -0.16665399074554443, -0.5348995327949524, 0.667539119720459, -0.7128661870956421, -0.9647577404975891, -0.7860535383224487, -0.8732519149780273, -0.3126610219478607, 0.35010766983032227, 0.49614235758781433, 0.18546052277088165, -0.5155069231987, -0.37650009989738464, 0.5214671492576599, -0.25282448530197144, 0.27236756682395935, 0.4854584038257599, -0.3944408893585205, -0.19687378406524658, 0.7757323980331421, -0.0308463666588068, 0.11217370629310608, 0.016044067218899727, 0.33640915155410767, -0.45723801851272583, -0.5506675839424133, -0.2997521162033081, 0.08756913244724274, -0.5220929384231567, 0.09958649426698685, -0.4600546360015869, 0.17418111860752106, 0.05221064016222954, -0.12689200043678284, -0.26431217789649963, 0.08936041593551636, -0.12344466894865036, -0.2810485064983368, 0.42218852043151855, 1.4992916584014893, -0.38739335536956787, 0.2841920852661133, -0.39356157183647156, 0.441027969121933, 0.4755348861217499, 0.544349193572998, -0.3920050859451294, -0.31856513023376465, 0.1770225614309311, -0.05930256471037865, -0.44545823335647583, -0.939719021320343, -0.020757852122187614, -0.06006501987576485, 0.5566049218177795, 0.33972397446632385, -0.09418626874685287, 0.5112103223800659, -1.0045287609100342, 1.022625207901001, 0.0964084342122078, -0.7800484299659729, 0.3734460473060608, -0.8924486637115479, 0.2931584119796753, 0.5251126885414124, 0.41536951065063477, 0.08346837759017944, -0.4679347276687622, -0.9411394000053406, -0.07324244827032089, 0.9053442478179932, 0.0066574811935424805, 0.12860821187496185, -0.17219939827919006, 0.468292236328125, -0.01614629663527012, 0.1180952861905098, -0.6623935103416443, 0.0406685471534729, -0.25890448689460754, 0.1547764539718628, -0.32207220792770386, -0.11213754862546921, -0.24013034999370575, -0.1543162614107132, 0.40877634286880493, 0.08927659690380096, 0.5654551982879639, 0.09575183689594269, 0.4083220064640045, -0.09065623581409454, 0.19767704606056213, 0.7370803952217102, 0.7768983244895935, -0.1274813711643219, 0.11073045432567596, 0.11853742599487305, -0.6345616579055786, 0.5380530953407288, 0.34917205572128296, -0.08049466460943222, -0.3749234676361084, 0.14207424223423004, 0.7587945461273193, 0.5336713790893555, -0.6576113700866699, 0.5607191324234009, -0.037741124629974365, -0.33331534266471863, -0.15550091862678528, 0.31539711356163025, -0.21372759342193604, 0.8931133151054382, 0.31233087182044983, -0.18868063390254974, 0.27078208327293396, -0.7624891400337219, 0.5055648684501648, 0.3916044533252716, -0.3271036446094513, -0.4584681987762451, 0.9725818037986755, -0.2856127619743347, -0.48297715187072754, 0.359468013048172, -0.5071898698806763, -0.8540757894515991, 0.49556708335876465, 0.8531782031059265, 0.8196633458137512, -0.41038239002227783, 0.3510309159755707, 0.16994962096214294, 0.6374857425689697, -0.5596903562545776, 0.5556913018226624, 0.2832290232181549, -0.5291057825088501, -0.7284207940101624, -0.20402242243289948, -0.5511349439620972, 0.24875931441783905, -0.16931945085525513, 0.10625310242176056, -0.8819175362586975, -0.4305810034275055, -0.35253551602363586, 0.07953104376792908, -0.5815849900245667, 0.2732529938220978, 0.2756645679473877, 0.6059257388114929, -0.43618160486221313, 0.44536471366882324, 0.5366281867027283, -0.5819326043128967, -1.0681774616241455, 0.055316537618637085, -0.0056975120678544044, -0.6006530523300171, 0.6253370642662048, -0.020121784880757332, -0.23067565262317657, 0.3884570300579071, -0.9103394150733948, -0.8162853717803955, 0.9996679425239563, 0.8350952863693237, -0.24161234498023987, -0.4211447834968567, -0.04671969637274742, 0.4117491543292999, -0.28601813316345215, 0.2238699197769165, 0.7028344869613647, 0.6019957661628723, 0.06510096043348312, -0.7443543076515198, -0.12468533217906952, 0.1582680642604828, -0.18885982036590576, 0.041876744478940964, -0.4694311022758484, 1.0895577669143677, -0.7040299773216248, -0.3246181011199951, -0.047943245619535446, 0.6411678194999695, 0.4066828489303589, 0.20285315811634064, 0.3312914967536926, 0.8250995874404907, 0.56319659948349, -0.21079200506210327, 1.5536389350891113, -0.2722623944282532, 0.13834872841835022, 0.959847629070282, -0.5853866338729858, 0.391824334859848, 0.028952408581972122, -0.3445326089859009, 0.35977715253829956, 0.6020245552062988, -0.009823065251111984, 0.5746151208877563, 0.1957164704799652, -0.3306574821472168, -0.36517277359962463, 0.2912733256816864, -0.273396372795105, 0.5810663104057312, 0.1275596022605896, -0.016621334478259087, -0.5592814683914185, 0.12973490357398987, -0.02461724728345871, -0.23979289829730988, -0.4489505887031555, 0.6141478419303894, 0.19435513019561768, -0.708846390247345, 0.20071938633918762, -0.042434047907590866, 0.400967538356781, -0.7796220183372498, -0.1595139354467392, 0.19921623170375824, 0.2417333424091339, -0.01027179230004549, -0.7722405195236206, -0.1542401909828186, 0.19912739098072052, -0.017779501155018806, -0.024038827046751976, 0.6944907903671265, 0.004144849721342325, -0.3429904878139496, 0.2772540748119354, 0.4516833424568176, 0.4712514579296112, -0.17058458924293518, -0.8457704186439514, 0.21814598143100739, 0.08392386138439178, -0.12492813915014267, 0.287503182888031, 0.6613182425498962, 0.08319969475269318, 0.7056093215942383, 0.32013413310050964, 0.06868086755275726, 0.36557477712631226, -0.32118192315101624, 0.6576981544494629, -0.5799232125282288, -0.793720006942749, -1.0712889432907104, 0.23360702395439148, 0.10732202976942062, -0.4376995861530304, 0.7107622027397156, 0.6666350960731506, 0.6183371543884277, 0.010639544576406479, 1.235310673713684, -0.05233750119805336, 0.28747355937957764, -0.32591718435287476, 0.24933581054210663, -0.13902068138122559, -0.002009271876886487, -0.334384948015213, -1.1107505559921265, -0.141459122300148, 0.7625022530555725, -0.7638616561889648, 0.5065143704414368, 0.5704972743988037, 0.4267224073410034, -0.06671134382486343, 0.2523156404495239, 0.496621310710907, 0.129706472158432, 0.528749406337738, 0.9241841435432434, 1.0190300941467285, -0.1465337723493576, 0.47842714190483093, -0.07037584483623505, -0.5756979584693909, 0.19271628558635712, -0.9871448278427124, -0.7221219539642334, -0.31584763526916504, 0.026272324845194817, -0.3161017596721649, 0.21784549951553345, 0.7298360466957092, 0.34102219343185425, -0.16609390079975128, -0.14441384375095367, -0.27027225494384766, -0.08042042702436447, -0.2345876842737198, -0.13346262276172638, -0.07846208661794662, -0.2418508678674698, -0.6029204726219177, 0.6766088604927063, 0.5082144141197205, -0.03068850375711918, -0.5984461903572083, -0.2608805000782013, 0.03829953819513321, 0.12191560864448547, 0.45134106278419495, 0.6640388369560242, -0.8363271355628967, -0.5695386528968811, -0.12367493659257889, 0.08322835713624954, 0.0743863508105278, 1.098159909248352, -0.6618014574050903, 0.4728834629058838, 0.15770946443080902, 0.6514574885368347, 0.3548794090747833, 0.2803475856781006, 1.0213927030563354, -0.10358971357345581, 0.13036669790744781, 0.5890191197395325, -0.03338516131043434, 0.17910327017307281, -0.5768448114395142, 0.37472543120384216, 0.184699147939682, -0.9381332397460938, -0.5044493675231934, 0.49742990732192993, -0.7661771774291992, -0.13104316592216492, 1.424826979637146, -0.012819764204323292, -0.23922567069530487, -0.3149929344654083, -0.41031837463378906, 0.18112187087535858, -0.397317111492157, 0.4385336637496948, 0.8572478890419006, -0.4360927939414978, -0.39902424812316895, -1.3220504522323608, 1.0255459547042847, -0.3176919221878052, -0.6534444689750671, -0.13670141994953156, 0.6118945479393005, 0.4331185221672058, 0.05663064867258072, 0.9907470345497131, -0.13045817613601685, 0.40196534991264343, 0.08889331668615341, 0.08651759475469589, -0.2472493052482605, -0.3195798099040985, -0.2494712471961975, 0.1358833760023117, 0.0888727605342865, -0.0608389787375927 ]
http://arxiv.org/abs/2403.05434v2
http://arxiv.org/pdf/2403.05434v2
Cost-Performance Optimization for Processing Low-Resource Language Tasks Using Commercial LLMs
2024-03-08T16:37:36
2024-04-18T18:35:07
Arijit Nag, Animesh Mukherjee, Niloy Ganguly, Soumen Chakrabarti
cs.CL
cs.CL
Large Language Models (LLMs) exhibit impressive zero/few-shot inference and generation quality for high-resource languages (HRLs). A few of them have been trained on low-resource languages (LRLs) and give decent performance. Owing to the prohibitive costs of training LLMs, they are usually used as a network service, with the client charged by the count of input and output tokens. The number of tokens strongly depends on the script and language, as well as the LLM's subword vocabulary. We show that LRLs are at a pricing disadvantage, because the well-known LLMs produce more tokens for LRLs than HRLs. This is because most currently popular LLMs are optimized for HRL vocabularies. Our objective is to level the playing field: reduce the cost of processing LRLs in contemporary LLMs while ensuring that predictive and generative qualities are not compromised. As means to reduce the number of tokens processed by the LLM, we consider code-mixing, translation, and transliteration of LRLs to HRLs. We perform an extensive study using the IndicXTREME classification and six generative tasks dataset, covering 15 Indic and 3 other languages, while using GPT-4 (one of the costliest LLM services released so far) as a commercial LLM. We observe and analyze interesting patterns involving token count, cost, and quality across a multitude of languages and tasks. We show that choosing the best policy to interact with the LLM can reduce cost by 90% while giving better or comparable performance compared to communicating with the LLM in the original LRL.
[ -0.3936283588409424, -0.4392183721065521, 0.20094546675682068, 0.21642504632472992, -0.2794078290462494, 0.22395853698253632, -0.4640699028968811, -0.6220442652702332, 0.019499152898788452, 0.6843804717063904, -0.5068212151527405, -0.5231659412384033, -0.22828488051891327, 0.20762352645397186, 0.03423783928155899, 0.7686974406242371, -0.04237541928887367, -0.04132738709449768, -0.11085609346628189, -0.2568908631801605, -0.2080157995223999, -0.6249175071716309, -1.0038751363754272, -0.42400631308555603, 0.7093572020530701, 0.3634258508682251, 0.5644142627716064, 0.8941753506660461, 0.6147770285606384, 0.2522909641265869, -0.346510648727417, 0.3403960168361664, -0.6435067653656006, 0.16876862943172455, -0.03902001678943634, -0.6253027319908142, -0.3734566271305084, -0.07664860039949417, 0.49390023946762085, 0.6727757453918457, -0.1165948361158371, 0.37128978967666626, 0.06318291276693344, 0.7147945761680603, -0.6890907883644104, 0.1340600997209549, -0.7414444088935852, 0.13252075016498566, -0.5410265326499939, -0.3069485127925873, -0.3830726742744446, -0.1700872778892517, -0.2015858292579651, -0.38202932476997375, 0.048039063811302185, 0.2122318297624588, 0.6462278366088867, 0.39717286825180054, 0.15458431839942932, -0.1629783660173416, -0.6945914626121521, 0.9382750391960144, -0.716401219367981, 0.35368576645851135, 0.26155540347099304, -0.08182697743177414, -0.08569667488336563, -0.5040918588638306, -0.36058488488197327, -0.29089444875717163, -0.014965868555009365, 0.028602683916687965, -0.34079328179359436, 0.38077428936958313, 0.465304970741272, 0.4134025275707245, -0.5744599103927612, 0.6394954323768616, -0.32663148641586304, -0.19729922711849213, 0.4266631007194519, 0.2791141867637634, 0.015452147461473942, -0.013612314127385616, -0.34926047921180725, 0.10752888023853302, -1.0412161350250244, 0.19522811472415924, 0.48505622148513794, 0.4660632312297821, -0.10469714552164078, 0.6224339604377747, -0.29928675293922424, 0.4565497636795044, -0.15963327884674072, -0.40456247329711914, 0.04650257155299187, -0.4500580132007599, -0.32151180505752563, -0.15453805029392242, 0.6360769271850586, 0.12550276517868042, 0.2519644796848297, -0.24179373681545258, -0.5102021098136902, 0.07946259528398514, 0.06589386612176895, -0.7808799147605896, 0.30076882243156433, 0.06357449293136597, -0.4929485321044922, -0.232866108417511, -0.7637391686439514, -0.4431021213531494, -0.22815699875354767, -0.41851121187210083, 0.13573384284973145, -0.22803498804569244, 0.06551077961921692, -0.11984717845916748, 0.28155115246772766, 0.10382918268442154, 0.30742642283439636, -0.771739661693573, 0.47402486205101013, 0.5979161262512207, 1.1068189144134521, -0.28105971217155457, 0.03109232895076275, -0.7956739068031311, -0.08605269342660904, -0.4498771131038666, 0.6534705758094788, -0.22486776113510132, -0.6136650443077087, 0.09328606724739075, -0.3783026933670044, 0.08598435670137405, -0.8511600494384766, 0.554415225982666, -0.7597108483314514, -0.07717853039503098, -0.2881126403808594, -0.5375386476516724, 0.24229146540164948, 0.17969857156276703, -0.756226658821106, 0.9255689978599548, 0.16661660373210907, -0.5062503814697266, 0.3366871178150177, -0.757398247718811, -0.5229679942131042, 0.5488744378089905, -0.24402734637260437, -0.1366066187620163, 0.09890074282884598, -0.00731493579223752, 0.2533615827560425, -0.709038496017456, -0.16784913837909698, 0.051093894988298416, -0.5014520883560181, 0.19237825274467468, -0.44147321581840515, 0.49200439453125, 0.7703384757041931, -0.23477087914943695, 0.05464772507548332, -0.4925338327884674, -0.012397912330925465, -0.05152236670255661, -0.8956336975097656, -0.07048036903142929, 0.0431014709174633, 0.08924844861030579, 0.1051604226231575, 0.329822301864624, -0.45071130990982056, -0.014375374652445316, -0.747678279876709, 0.3373318910598755, 0.7814100384712219, -0.23726043105125427, 0.5256240367889404, -0.1722525656223297, 0.8874297738075256, -0.12076060473918915, 0.4263189136981964, 0.08843275159597397, -0.26772087812423706, -0.7631078362464905, -0.4334336817264557, 0.04344767704606056, 0.29099223017692566, -0.8908089399337769, -0.11662459373474121, -0.15324068069458008, -0.2991982400417328, -0.765769362449646, 0.47342583537101746, 0.6050660014152527, 0.26818791031837463, 0.1972580850124359, -0.206603541970253, -0.2742639183998108, -1.016459345817566, -0.3103705942630768, -0.11577005684375763, 0.3029201328754425, 0.316695898771286, 0.04352186247706413, 0.11982381343841553, 0.8539772033691406, -0.3874955475330353, -0.20526935160160065, -0.5751257538795471, 0.06584042310714722, 0.4964156150817871, 0.3376457691192627, 0.4620385468006134, -0.5710399150848389, -0.6590319871902466, 0.1981685310602188, -0.1858844757080078, -0.28808292746543884, -0.011121168732643127, 0.047340698540210724, 0.8429252505302429, 0.40344852209091187, -0.6211473345756531, 0.04976075887680054, 0.6910201907157898, 0.11769669502973557, 0.40222278237342834, -0.3164057433605194, -0.27290835976600647, -0.6816940307617188, 0.12179715186357498, 0.08594436943531036, -0.1905452460050583, -0.4689960777759552, 0.21483369171619415, -0.2991301417350769, -0.2334076315164566, -0.6539041996002197, 0.7150436043739319, -0.5195871591567993, -0.29871290922164917, -0.2466987520456314, -0.0030959041323512793, -0.09593617916107178, 0.7099376320838928, -0.04434407874941826, 1.3660573959350586, 0.26006069779396057, -0.4663770794868469, 0.22475770115852356, -0.2577284574508667, -0.5130664110183716, 0.35186219215393066, -0.5151676535606384, 0.07381980121135712, -0.16081327199935913, -0.1294219195842743, -0.595527708530426, 0.21697548031806946, 0.21648728847503662, -0.008188292384147644, 0.2679229974746704, -0.41295406222343445, -0.7500306963920593, -0.16968949139118195, -0.147102490067482, 0.45853886008262634, 0.7116405963897705, -0.48050299286842346, 0.2250290811061859, 0.25917336344718933, -0.06009513884782791, -0.7205017805099487, -0.725861668586731, 0.19679462909698486, -0.28193429112434387, -0.21875648200511932, 0.3701215982437134, 0.010894040577113628, -0.1554674655199051, 0.13174223899841309, -0.15514695644378662, 0.1339566707611084, 0.0347873717546463, -0.0013661476550623775, 0.1852930337190628, -0.23077507317066193, -0.01290594507008791, -0.27441734075546265, -0.2627599835395813, -0.26057395339012146, -0.5584304928779602, 0.7510111927986145, -0.0898759588599205, -0.5323116779327393, -0.403739869594574, 0.18138515949249268, 0.5986165404319763, -0.2955252528190613, 0.6874688267707825, 0.5516894459724426, -0.20656485855579376, -0.28572967648506165, -0.7093564867973328, 0.2406093180179596, -0.5107569694519043, 0.4950923025608063, -0.41472145915031433, -0.9072602987289429, 0.4159672260284424, 0.03755718469619751, 0.19338560104370117, 0.20740796625614166, 0.6631712913513184, -0.0683467909693718, 0.7338453531265259, 0.32061275839805603, -0.32825979590415955, 0.5117399096488953, -0.3419528603553772, 0.33548232913017273, -0.5897786021232605, -0.1634065806865692, -0.5196068286895752, -0.350452721118927, -1.0586600303649902, -0.7604820728302002, 0.5472310185432434, 0.07558974623680115, -0.2931423485279083, 0.37463659048080444, -0.4493754804134369, 0.6546855568885803, 0.8114381432533264, -0.08512643724679947, 0.38650575280189514, 0.2535633146762848, -0.05273330211639404, 0.029268281534314156, -0.9017286896705627, -0.49583494663238525, 0.8328946828842163, 0.4024254083633423, 1.1009234189987183, 0.17424340546131134, 0.8120943307876587, 0.2527610659599304, 0.3253428041934967, -0.851136326789856, 0.6187562346458435, -0.49622368812561035, -0.2933467626571655, -0.3403477966785431, -0.7232077717781067, -0.8675087094306946, 0.3186359703540802, -0.05801995471119881, -0.6136376261711121, 0.11392302811145782, 0.24054984748363495, -0.24162253737449646, 0.39548084139823914, -0.44903886318206787, 0.696800172328949, -0.45554739236831665, -0.4311407506465912, -0.629337728023529, -0.20121173560619354, 0.1487007886171341, -0.040330976247787476, 0.20182697474956512, -0.21857023239135742, -0.2420511394739151, 0.5454264879226685, -0.41017356514930725, 0.8614124655723572, -0.0666550025343895, -0.09225723892450333, 0.18490636348724365, 0.13676252961158752, 0.7270345687866211, -0.25610804557800293, -0.2094261795282364, 0.11175733804702759, -0.106687992811203, -0.4485606253147125, -0.22159112989902496, 0.8457229137420654, -0.7878910899162292, -0.4752641022205353, -0.12453953176736832, -0.5574655532836914, -0.16082961857318878, 0.08261808007955551, 0.4148555397987366, 0.4305184483528137, 0.004218431655317545, -0.011171653866767883, 0.5064334869384766, -0.4836037755012512, 0.5529271960258484, 0.21244224905967712, 0.0854637399315834, -0.35786205530166626, 0.8871868252754211, 0.2300567626953125, 0.6132291555404663, 0.5360245108604431, 0.21034406125545502, -0.42445260286331177, -0.8882351517677307, -0.2485353648662567, 0.2702125608921051, -0.7630835175514221, -0.363055020570755, -0.44797149300575256, -0.09951844811439514, -0.08450689166784286, -0.12773634493350983, -0.5141084790229797, -0.31037437915802, -0.36906686425209045, 0.13157440721988678, 0.34144049882888794, 0.3162566125392914, -0.049376230686903, 0.3885175883769989, -0.7272266745567322, -0.03678297623991966, -0.05953308939933777, 0.5148516297340393, 0.13200609385967255, -0.36637431383132935, -0.6515589356422424, -0.23248320817947388, -0.24186824262142181, -0.21155740320682526, 0.42410290241241455, 0.04155838117003441, 0.5637306571006775, 0.45203232765197754, 0.10589804500341415, 0.7369775176048279, -0.4586159586906433, 0.6275381445884705, 0.42281749844551086, -0.8973755836486816, 0.1259971261024475, -0.103517547249794, 0.11190246045589447, 0.4203454852104187, 0.14656950533390045, -0.7686173319816589, -0.2937183678150177, -0.3827471435070038, -0.9391555786132812, 0.9548109769821167, 0.21726326644420624, 0.3152726888656616, -0.1906026005744934, 0.44070926308631897, -0.18916097283363342, 0.24433395266532898, -0.6625346541404724, -0.250759094953537, 0.367200642824173, -0.13819782435894012, 0.08393824100494385, -0.4087704122066498, -0.14595021307468414, 0.10709645599126816, 0.4596990942955017, -0.1285824030637741, 0.09784737229347229, -0.17247283458709717, -0.018598347902297974, -0.1947312355041504, 0.2508115768432617, 0.6440200805664062, 0.3807825744152069, 0.008739957585930824, 0.10116755962371826, 0.39655712246894836, -0.05095328763127327, 0.09525812417268753, -0.34353765845298767, -0.09774427115917206, 0.0009847203036770225, 0.4457916021347046, 0.9138280749320984, 0.10333454608917236, -0.9077816009521484, 0.31924667954444885, 0.3200031518936157, -0.005184543319046497, -0.16508716344833374, 0.08125398308038712, 0.20715881884098053, 0.4663388431072235, -0.007224203087389469, -0.00618013646453619, 0.05943188816308975, -0.28536999225616455, -0.24365532398223877, 0.6387238502502441, -0.017607633024454117, -0.1978941261768341, 0.4392129182815552, 0.3936203718185425, -0.30814066529273987, 0.47892409563064575, -0.27818113565444946, -0.37736865878105164, 0.4887638986110687, 0.46226754784584045, 0.834796667098999, 0.16612136363983154, 0.06848542392253876, 0.12125631421804428, 0.3395710289478302, -0.11116517335176468, 0.21008440852165222, -0.054443810135126114, -0.7051302790641785, -0.8408125638961792, -0.8106978535652161, -0.5844604969024658, 0.2688160836696625, -0.46409446001052856, 0.20794153213500977, -0.5003020167350769, -0.42019280791282654, -0.33527758717536926, 0.20124927163124084, -1.0119898319244385, -0.012904629111289978, 0.2823067009449005, 0.8383697867393494, -0.351606547832489, 0.6845031976699829, 0.42168983817100525, -0.5501865744590759, -0.5814991593360901, -0.249508798122406, -0.2358911782503128, -1.1107240915298462, 1.2625250816345215, -0.2816420793533325, -0.3442699909210205, 0.026032285764813423, -0.1331445574760437, -0.9271131753921509, 0.7788097858428955, 0.6769255995750427, -0.765564501285553, -0.20169468224048615, 0.5092464089393616, 0.4540538787841797, -0.15010367333889008, 0.005482048261910677, 0.4475155174732208, 0.2961782217025757, 0.09143899381160736, -0.9396957159042358, -0.013706746511161327, 0.24266791343688965, 0.3952483832836151, 0.29390501976013184, -0.5634775161743164, 0.8988962769508362, -0.1654369980096817, -0.5210206508636475, 0.029236260801553726, 0.2769290804862976, 0.21719267964363098, 0.11326605826616287, 0.4461408257484436, 0.3837493360042572, 0.6466955542564392, 0.11137563735246658, 1.0983179807662964, -0.5031390190124512, 0.3860180377960205, 0.7359263300895691, -0.4588293731212616, 0.7362169027328491, 0.6875691413879395, -0.4186711609363556, 0.05913057178258896, 0.7362220287322998, 0.10557134449481964, 0.49344995617866516, 0.6158875823020935, -0.46075356006622314, -0.2002103328704834, -0.4145323634147644, 0.021196404471993446, 0.28992393612861633, 0.031129179522395134, -0.14636676013469696, -0.2769940495491028, -0.20018501579761505, 0.000845954054966569, 0.01487113256007433, -0.31159597635269165, 0.7896167039871216, 0.16768018901348114, -0.43039730191230774, 0.7760081887245178, 0.18950146436691284, 0.7715505957603455, -0.4432312250137329, 0.3499424159526825, -0.57984858751297, 0.09968782216310501, -0.1202927678823471, -0.4875304400920868, 0.2226027399301529, 0.3027927875518799, -0.05246301740407944, -0.4783363342285156, 0.3647518455982208, -0.3465918302536011, -0.3434755206108093, 0.41940218210220337, 0.6801878809928894, 0.26764246821403503, 0.05463917553424835, -0.5647710561752319, 0.175850510597229, -0.20162340998649597, -0.2209843099117279, 0.5868091583251953, 0.36381712555885315, -0.03626713156700134, 0.6776351928710938, 0.9302517175674438, 0.788421630859375, -0.1625441461801529, 0.3504360616207123, 0.8041545748710632, -0.5542287230491638, -0.49849000573158264, -0.9007434844970703, 0.08873763680458069, 0.027621788904070854, -0.19556517899036407, 0.19568902254104614, 0.6019553542137146, 1.078678846359253, 0.021164698526263237, 0.7250468730926514, 0.3380475342273712, 0.22870878875255585, -0.855542778968811, 0.5280863046646118, -0.6910510063171387, 0.5056121349334717, 0.037209443747997284, -0.9115391969680786, -0.1493583619594574, 0.39060643315315247, -0.1529642641544342, -0.16658787429332733, 0.5151389241218567, 0.893216609954834, 0.14543648064136505, -0.4310459494590759, 0.6158735752105713, -0.2815338671207428, 0.40918052196502686, 0.4360935688018799, 0.8444702625274658, 0.0235887560993433, 0.7558021545410156, -0.28522035479545593, 0.028587648645043373, -0.28737354278564453, -0.8103128671646118, -0.607870876789093, -0.2216976135969162, -0.21894356608390808, -0.18949097394943237, 0.00024094409309327602, 1.4206894636154175, 0.6401717066764832, -0.6658869981765747, -0.663818895816803, -0.04995439946651459, 0.19026659429073334, -0.30040329694747925, -0.20369701087474823, 0.23215410113334656, -0.9272529482841492, -0.9199993014335632, 0.42729684710502625, 0.43525147438049316, -0.08133979886770248, -0.30865874886512756, -0.2003929764032364, 0.28995394706726074, 0.054618168622255325, 0.7905485033988953, 0.24404276907444, -0.9085234999656677, -0.04550647363066673, 0.14465337991714478, -0.3955511748790741, 0.1416098028421402, 1.0840858221054077, -0.3550315797328949, 0.12617728114128113, 0.32599011063575745, 0.9535180926322937, 0.5053800344467163, -0.21702753007411957, 0.3872004449367523, -0.8122267723083496, 0.15392886102199554, 0.39704421162605286, 0.324640691280365, 0.25771352648735046, -0.4568822681903839, 0.4788559675216675, 0.2090146541595459, -0.43162453174591064, -0.8785820603370667, 0.39347609877586365, -0.737227737903595, -0.22480233013629913, 1.1698402166366577, -0.012170136906206608, 0.03538631275296211, -0.045039135962724686, -0.033251263201236725, 0.1459350734949112, -0.4468342661857605, 0.358587384223938, 0.4107941687107086, -0.42778074741363525, -0.25606483221054077, -0.4922821819782257, 0.7241744995117188, 0.4677604138851166, -0.639929473400116, 0.27595874667167664, 0.4296586811542511, 0.1280810534954071, -0.01118508167564869, 0.8163504004478455, 0.05208516865968704, -0.03395460546016693, -0.19975344836711884, 0.35359981656074524, -0.14024250209331512, -0.034295544028282166, -0.20395462214946747, 0.042191654443740845, 0.6618068814277649, -0.42660635709762573 ]
http://arxiv.org/abs/2403.05396v2
http://arxiv.org/pdf/2403.05396v2
HistGen: Histopathology Report Generation via Local-Global Feature Encoding and Cross-modal Context Interaction
2024-03-08T15:51:43
2024-06-18T05:58:43
Zhengrui Guo, Jiabo Ma, Yingxue Xu, Yihui Wang, Liansheng Wang, Hao Chen
cs.CV
cs.CV, cs.AI, cs.CL, cs.LG
Histopathology serves as the gold standard in cancer diagnosis, with clinical reports being vital in interpreting and understanding this process, guiding cancer treatment and patient care. The automation of histopathology report generation with deep learning stands to significantly enhance clinical efficiency and lessen the labor-intensive, time-consuming burden on pathologists in report writing. In pursuit of this advancement, we introduce HistGen, a multiple instance learning-empowered framework for histopathology report generation together with the first benchmark dataset for evaluation. Inspired by diagnostic and report-writing workflows, HistGen features two delicately designed modules, aiming to boost report generation by aligning whole slide images (WSIs) and diagnostic reports from local and global granularity. To achieve this, a local-global hierarchical encoder is developed for efficient visual feature aggregation from a region-to-slide perspective. Meanwhile, a cross-modal context module is proposed to explicitly facilitate alignment and interaction between distinct modalities, effectively bridging the gap between the extensive visual sequences of WSIs and corresponding highly summarized reports. Experimental results on WSI report generation show the proposed model outperforms state-of-the-art (SOTA) models by a large margin. Moreover, the results of fine-tuning our model on cancer subtyping and survival analysis tasks further demonstrate superior performance compared to SOTA methods, showcasing strong transfer learning capability. Dataset, model weights, and source code are available in https://github.com/dddavid4real/HistGen.
[ -0.17612521350383759, -0.328962117433548, 0.622028648853302, -0.15378409624099731, -0.17052394151687622, 0.01616697758436203, -0.1419023871421814, -0.35571813583374023, -0.014099516905844212, 0.4932612478733063, -0.48730671405792236, -0.4679626524448395, -0.531334400177002, 0.14911486208438873, -0.22773660719394684, 1.0810022354125977, 0.19468729197978973, 0.14006181061267853, -0.4696047902107239, -0.37122514843940735, -0.22082501649856567, -0.19102060794830322, -0.480214923620224, -0.16959720849990845, 0.7888408899307251, 0.5447463393211365, 0.5897442102432251, 0.9783060550689697, 0.7814090251922607, 0.32007911801338196, 0.2570502758026123, 0.09776504337787628, -0.4118014872074127, 0.42360052466392517, -0.05805158615112305, -0.29635536670684814, -0.3816578984260559, -0.19909149408340454, 0.20606717467308044, 0.5853882431983948, -0.2080071121454239, 0.0012557520531117916, -0.14676575362682343, 0.31257206201553345, -0.7039432525634766, -0.008308922871947289, -0.389150470495224, 0.30849727988243103, -0.21840672194957733, -0.36160290241241455, -0.2208092361688614, -0.27722594141960144, 0.2691292464733124, -0.4009314179420471, 0.34972086548805237, -0.4167652428150177, 0.5492197275161743, 0.0469832569360733, -0.6024702191352844, -0.06321384757757187, -0.3977604806423187, 0.5679068565368652, -0.7412552833557129, 0.2248370200395584, 0.08381636440753937, 0.900527834892273, 0.22737908363342285, -1.2251282930374146, 0.10438739508390427, -0.22524598240852356, 0.03615202382206917, 0.3691396713256836, 0.0014477517688646913, -0.17791104316711426, -0.00017135356029029936, 0.6664741635322571, -0.6233952045440674, 0.2863149344921112, -0.4635635018348694, -0.37547406554222107, 0.6488533020019531, 0.5438462495803833, 0.21578700840473175, -0.3355720639228821, -0.5543221235275269, -0.10241664201021194, -0.6974526047706604, -0.21189472079277039, -0.3166450560092926, 0.4965812861919403, -0.1553933322429657, 0.132604718208313, -0.4618731737136841, 0.5258999466896057, -0.055471718311309814, -0.5214002132415771, 0.3642510771751404, -0.5568836331367493, -0.16991759836673737, 0.4077739119529724, 0.7226272821426392, 0.11960514634847641, -0.3390638828277588, -0.2708994746208191, 0.3205356001853943, -0.013877500779926777, 0.598376989364624, -1.1429330110549927, 0.005658613983541727, 0.15166975557804108, -0.5507636666297913, -0.6995676159858704, -0.2766415476799011, -0.8021270036697388, -0.551419198513031, -0.035077329725027084, 0.40554359555244446, -0.5467895865440369, -0.16406923532485962, -0.13531483709812164, -0.05733250826597214, -0.2738039791584015, 0.43878403306007385, -0.453490674495697, -0.03986115753650665, 0.098255455493927, 0.5472365617752075, -0.06933058053255081, -0.46227675676345825, -0.9034798741340637, 0.6244263052940369, -0.18080054223537445, 0.7185474634170532, -0.9147982001304626, -0.26887184381484985, 0.08015701174736023, 0.02276482619345188, 0.08152163773775101, -0.20409630239009857, 0.3254651427268982, -0.07513203471899033, 0.4146474003791809, -0.4045848548412323, -0.49646854400634766, -0.024894731119275093, 0.056626733392477036, -0.3344182074069977, 0.8655761480331421, 0.40716060996055603, -0.6816926002502441, 0.7596146464347839, -0.4658188223838806, -0.23155471682548523, 0.3819786608219147, -0.4844355583190918, -0.43410512804985046, 0.06376827508211136, 0.1570596545934677, 0.7242776155471802, -0.4377073049545288, 0.31061699986457825, -0.12553800642490387, 0.07795576006174088, -0.12413991987705231, -0.10446062684059143, 0.4292064309120178, 0.23542508482933044, -0.5261568427085876, 0.33503013849258423, -0.5159341096878052, 0.006822074763476849, 0.20911695063114166, -0.09992833435535431, 0.11895070225000381, -0.17126953601837158, -0.4088860750198364, 0.3113200068473816, -0.04132620990276337, -0.7440999746322632, 0.29066213965415955, -0.11037634313106537, 0.18072549998760223, 0.3006792664527893, 0.07872562110424042, 0.2624296247959137, -0.3263494670391083, 0.28871485590934753, 0.406127393245697, 0.13005901873111725, -0.5577970147132874, -0.5149344205856323, -0.029592959210276604, -0.2572675049304962, 0.4843134880065918, 0.4063940644264221, -0.5880870819091797, 0.31202247738838196, -0.44133856892585754, -0.5897290706634521, -0.22293487191200256, 0.03665987029671669, 0.5025567412376404, 0.8538224101066589, 0.2723800837993622, -0.6807689666748047, -0.5410487651824951, -1.0210708379745483, 0.38704195618629456, 0.3409498929977417, -0.0454239547252655, 0.35579702258110046, 0.45330068469047546, -0.33680787682533264, 0.6417877674102783, -0.7145808935165405, -0.6967877149581909, -0.5514931678771973, 0.2211267054080963, -0.312619686126709, 0.41893303394317627, 0.5526210069656372, -0.47772160172462463, -0.22877776622772217, 0.3461498022079468, -0.9857626557350159, -0.08629831671714783, -0.19025708734989166, -0.22895090281963348, 0.08052565157413483, 0.6204375624656677, -0.22351878881454468, 0.6359118223190308, 0.3183935880661011, -0.20461983978748322, 0.3024689555168152, -0.5925398468971252, 0.5643690228462219, -1.224409580230713, -0.08700206130743027, 0.23149219155311584, -0.37060824036598206, -0.3725743293762207, 0.14957395195960999, -0.013797762803733349, -0.23410509526729584, -0.3728019893169403, 0.0993386059999466, -0.20287781953811646, -0.30269232392311096, -0.11560869961977005, -0.024621356278657913, 0.16108281910419464, 0.34472861886024475, 0.09144610911607742, 0.5634861588478088, 0.7191494703292847, -0.5295103788375854, 0.23411762714385986, 0.4129318594932556, -0.09389306604862213, 0.30776387453079224, -0.17157550156116486, -0.06774333864450455, -0.003407039912417531, 0.3779459595680237, -0.6308450698852539, -0.5085057616233826, -0.1812257617712021, -0.38350552320480347, 0.3511506915092468, -0.24119871854782104, -0.31860408186912537, -0.3517383635044098, -0.25828102231025696, 0.13928958773612976, 0.6829046010971069, -0.3805151581764221, 0.4317795932292938, 0.22046059370040894, -0.3075060546398163, -0.10051851719617844, -0.8141220808029175, 0.24060340225696564, -0.029582157731056213, -0.7468926310539246, 0.5491520166397095, -0.049788977950811386, 0.13942070305347443, -0.07953152805566788, 0.04267442598938942, -0.2142808884382248, -0.4014492332935333, 0.16142749786376953, -0.2680565416812897, -0.4956608712673187, -0.11786772310733795, 0.07930514216423035, -0.16878841817378998, -0.38913553953170776, 0.1718595027923584, 0.2797577977180481, -0.12358825653791428, -0.5742391347885132, -0.33609601855278015, 0.441559374332428, 0.6417100429534912, -0.34116023778915405, 0.26532843708992004, 0.845795750617981, -0.5257348418235779, -0.07084152102470398, -0.35346338152885437, -0.21557585895061493, -0.40230950713157654, 0.39829644560813904, -0.3947421908378601, -0.5384027361869812, 0.5519073605537415, -0.2884889841079712, 0.07338455319404602, 0.5079130530357361, 0.8961626887321472, 0.045920830219984055, 1.1178137063980103, 0.6391671299934387, 0.11484796553850174, 0.1935255229473114, -0.24324917793273926, 0.012084268033504486, -0.6666106581687927, -0.1497543454170227, -0.2831440269947052, -0.09319019317626953, -0.3934386372566223, -0.46368011832237244, 0.6649695634841919, -0.335864394903183, -0.05970369651913643, 0.14727504551410675, -0.7176074981689453, 0.3586547374725342, 0.36214834451675415, 0.4207146167755127, 0.1667829006910324, 0.00796744879335165, 0.13319356739521027, -0.5165575742721558, -1.0625299215316772, -0.33657559752464294, 1.0854179859161377, 0.10683044046163559, 0.3118552267551422, 0.10190466046333313, 0.9334555864334106, 0.36984214186668396, 0.15791934728622437, -0.3274953067302704, 0.1932602971792221, -0.5737705826759338, -0.271635502576828, -0.3819683790206909, -0.366030752658844, -1.0506073236465454, 0.2870402932167053, -0.033697184175252914, -0.6827712655067444, 0.11842663586139679, -0.09028096497058868, -0.6219483017921448, 0.4154106378555298, -0.3663138449192047, 1.0400539636611938, -0.2912444770336151, -0.5961304306983948, -0.16466599702835083, -0.779069721698761, 0.3813055753707886, 0.21037894487380981, 0.059342414140701294, 0.03161689639091492, 0.07021123170852661, 0.5261497497558594, -0.4364747107028961, 1.0531913042068481, -0.1324339061975479, -0.02664581499993801, 0.07763916999101639, 0.3383723199367523, 0.19574691355228424, 0.26786118745803833, -0.02282807230949402, -0.20057827234268188, -0.13868913054466248, -0.37431278824806213, -0.14667923748493195, 0.8673887252807617, -0.23374983668327332, -0.016721831634640694, -0.06901146471500397, -0.6900988817214966, -0.17064596712589264, 0.27907416224479675, 0.6790889501571655, 1.038981556892395, -0.15810321271419525, 0.10215018689632416, 0.7846367359161377, -0.33000582456588745, 0.38346943259239197, 0.028804589062929153, 0.2146599441766739, -0.18091340363025665, 1.3445165157318115, 0.07250463962554932, -0.007495720870792866, 0.11567914485931396, 0.45273107290267944, 0.13263164460659027, -0.6404047012329102, -0.9154115915298462, -0.4255806803703308, -0.757392406463623, -0.6698458194732666, -0.5584153532981873, -0.25843143463134766, -0.3174022138118744, -0.6356081366539001, -0.5655209422111511, 0.07468333095312119, 0.0128361526876688, -0.09894084930419922, 0.49674832820892334, 0.6447091698646545, -0.3572826683521271, 0.22540032863616943, -0.9646556973457336, 0.30175313353538513, 0.23874662816524506, 0.2909910976886749, -0.22001872956752777, -0.33752143383026123, -0.3182010352611542, -0.1605307161808014, -0.34460100531578064, -0.799070417881012, 0.571239709854126, 0.3791581690311432, 0.5969479084014893, 0.4158332347869873, -0.0555875338613987, 0.6177456974983215, -0.2728079855442047, 0.6356295943260193, 0.22482194006443024, -0.5488457083702087, 0.7562335133552551, -0.5705385208129883, 0.26640573143959045, 0.7491399645805359, 0.2919095754623413, -0.3114970922470093, -0.7210407257080078, -0.9768730998039246, -0.8597212433815002, 0.8402026891708374, 0.20465722680091858, -0.24036365747451782, 0.20934975147247314, 0.10775613784790039, 0.7817301154136658, 0.07694264501333237, -0.419370174407959, -0.0009830897906795144, -0.3125454783439636, -0.3936091363430023, -0.020083466544747353, -0.16667775809764862, -0.709200918674469, -0.30983665585517883, 0.22284314036369324, -0.4572125971317291, 0.4718022346496582, 0.475952684879303, -0.391376256942749, -0.004467457067221403, -0.030321873724460602, 0.6533478498458862, 0.7282280325889587, -0.2557656168937683, 0.0035319810267537832, 0.21000449359416962, -0.18010570108890533, -0.2777133584022522, -0.14204086363315582, 0.25214850902557373, -0.01627405919134617, 0.6774293780326843, 0.5037804245948792, 0.27962857484817505, -0.43511906266212463, 0.6239869594573975, -0.08430463075637817, -0.536560595035553, 0.16564463078975677, 0.10632927715778351, 0.010194055736064911, 0.12284920364618301, 0.42376717925071716, 0.09184972196817398, 0.5760339498519897, -0.32865044474601746, 0.6942850351333618, 0.004182990174740553, -0.6663800477981567, -0.20840796828269958, 0.555107057094574, 0.4554261267185211, 0.33767440915107727, 0.4830624759197235, -0.2832580804824829, -0.36734774708747864, 0.9691178798675537, 0.47445133328437805, 0.7050862312316895, -0.04158564284443855, 0.36133119463920593, 0.5035934448242188, 0.06440944969654083, 0.25312089920043945, 0.10812006145715714, 0.0841435119509697, -0.3700300455093384, -0.26774856448173523, -0.3269800841808319, -0.4446747899055481, 0.13751617074012756, -0.6106228828430176, -0.05569595471024513, -0.37498170137405396, 0.24123169481754303, 0.298438161611557, -0.08658555150032043, -0.3431580364704132, 0.4547378718852997, 0.429174542427063, 0.8290426135063171, -0.8782035708427429, 0.599704921245575, 0.3696396052837372, -0.5435320138931274, -0.29234692454338074, -0.03992786630988121, 0.30118048191070557, -0.5366194248199463, 0.48424139618873596, 0.39506611227989197, 0.22448430955410004, -0.2082543671131134, -0.32858771085739136, -0.8577749133110046, 1.1778912544250488, 0.17090700566768646, -0.333711177110672, 0.39628496766090393, -0.04524865373969078, 0.5739797949790955, -0.9425435662269592, 0.30946779251098633, 0.4988928735256195, 0.4135853350162506, 0.1580214500427246, -0.8029667139053345, 0.3259066641330719, -0.04000901058316231, -0.042715638875961304, 0.15415483713150024, -0.5384408235549927, 0.6028844714164734, -0.44226786494255066, 0.1022612527012825, -0.07007509469985962, 0.46291816234588623, 0.006963169202208519, 0.45644456148147583, 0.025046637281775475, 0.7653390765190125, 0.5663942098617554, -0.2095150500535965, 1.3438349962234497, -0.3893742263317108, -0.09278208017349243, 0.5660922527313232, -0.3480917513370514, 0.4012359380722046, -0.029135696589946747, 0.09308052808046341, 0.46762630343437195, 0.6882952451705933, -0.1088949665427208, 0.6295509934425354, -0.12704132497310638, -0.09365594387054443, -0.4818662703037262, 0.04549802467226982, -0.670714259147644, 0.5737389326095581, 0.30351653695106506, -0.3151402175426483, -0.5628470182418823, 0.26805126667022705, -0.2703845500946045, -0.22199511528015137, -0.23520776629447937, 0.8987149000167847, -0.434845894575119, -0.15753452479839325, 0.48318490386009216, -0.09354215860366821, 0.689791738986969, -0.7694454789161682, 0.013444611802697182, -0.37069880962371826, 0.105886310338974, -0.49497419595718384, -0.6964971423149109, 0.5341264009475708, -0.18316711485385895, -0.1327517032623291, 0.047178614884614944, 0.5452069640159607, -0.3242742717266083, -0.5386653542518616, 0.1429159939289093, 0.8018175959587097, 0.002155147260054946, 0.2024499624967575, -0.5337633490562439, 0.02189100906252861, 0.1613825112581253, -0.29527223110198975, 0.757586658000946, 0.5224151015281677, -0.3554379940032959, 0.6979262828826904, 0.49398404359817505, -0.16017568111419678, -0.13083206117153168, 0.2734510004520416, 0.8396297693252563, -0.6619663834571838, -0.32682979106903076, -0.43445223569869995, 0.676010251045227, -0.3238322138786316, -0.6724177002906799, 0.33484044671058655, 0.7031517624855042, 0.5651454925537109, 0.037648290395736694, 0.8616120219230652, -0.28367355465888977, 0.2125266194343567, -0.31758812069892883, 0.6335853934288025, -0.7099208831787109, -0.08473720401525497, 0.0130320368334651, -0.2013608068227768, -0.2736382782459259, 0.04701303690671921, -0.09232563525438309, 0.179377481341362, 0.7953410148620605, 0.56343674659729, -0.32584941387176514, -0.28083673119544983, 0.41950422525405884, 0.18943443894386292, 0.1720283180475235, 0.5089996457099915, 0.3269978165626526, -0.40064236521720886, 0.7765914797782898, -0.709834098815918, -0.40299469232559204, -0.3916601240634918, -0.6621766686439514, -0.6488751173019409, -0.6683791279792786, -0.6603457927703857, -0.15209108591079712, 0.19593168795108795, 0.22544458508491516, 1.1132452487945557, -0.5755851864814758, -0.1433631330728531, 0.040154099464416504, -0.15039372444152832, -0.18691515922546387, -0.17544884979724884, 0.36759132146835327, -0.6339899301528931, -0.5924933552742004, 0.6400477290153503, 0.6451655626296997, -0.19756285846233368, 0.005506235174834728, -0.04546903818845749, -0.0001220318372361362, -0.42210444808006287, 0.8186404705047607, 0.3072078824043274, -0.2469881772994995, 0.11546995490789413, -0.30013585090637207, -0.47464147210121155, 0.5457714200019836, 0.8084509372711182, -0.9823523163795471, 0.32083678245544434, 0.37664610147476196, 0.7094188928604126, 0.5378249287605286, -0.3366781175136566, 0.8581132292747498, -0.8815130591392517, 0.03889188915491104, 0.3831058442592621, 0.37844911217689514, 0.2981010973453522, -0.6867507696151733, 0.620357871055603, 0.06774000078439713, -0.4378255307674408, -0.9820591807365417, 0.3574685752391815, -0.9567270278930664, -0.4980940520763397, 0.8363161087036133, 0.07631158083677292, -0.2523669898509979, 0.08155736327171326, -0.25702303647994995, 0.21019931137561798, -0.42214706540107727, 0.7181646227836609, -0.19357235729694366, -0.7145435214042664, -0.37401115894317627, -0.41212669014930725, 0.8084261417388916, 0.3423713743686676, -1.0542614459991455, -0.038063567131757736, 0.5258156657218933, 0.30524155497550964, 0.07860400527715683, 0.44907039403915405, -0.21165664494037628, 0.7885085940361023, 0.29009971022605896, 0.2636033296585083, -0.2751411497592926, -0.33150696754455566, -0.16029323637485504, 0.4626123607158661, -0.21526534855365753, -0.19819454848766327 ]
http://arxiv.org/abs/2403.05365v1
http://arxiv.org/pdf/2403.05365v1
The Impact of Quantization on the Robustness of Transformer-based Text Classifiers
2024-03-08T14:55:05
2024-03-08T14:55:05
Seyed Parsa Neshaei, Yasaman Boreshban, Gholamreza Ghassem-Sani, Seyed Abolghasem Mirroshandel
cs.CL
cs.CL, cs.LG
Transformer-based models have made remarkable advancements in various NLP areas. Nevertheless, these models often exhibit vulnerabilities when confronted with adversarial attacks. In this paper, we explore the effect of quantization on the robustness of Transformer-based models. Quantization usually involves mapping a high-precision real number to a lower-precision value, aiming at reducing the size of the model at hand. To the best of our knowledge, this work is the first application of quantization on the robustness of NLP models. In our experiments, we evaluate the impact of quantization on BERT and DistilBERT models in text classification using SST-2, Emotion, and MR datasets. We also evaluate the performance of these models against TextFooler, PWWS, and PSO adversarial attacks. Our findings show that quantization significantly improves (by an average of 18.68%) the adversarial accuracy of the models. Furthermore, we compare the effect of quantization versus that of the adversarial training approach on robustness. Our experiments indicate that quantization increases the robustness of the model by 18.80% on average compared to adversarial training without imposing any extra computational overhead during training. Therefore, our results highlight the effectiveness of quantization in improving the robustness of NLP models.
[ -0.25473371148109436, -0.6659896969795227, 0.13913889229297638, 0.06973876059055328, -0.11370332539081573, -0.11408853530883789, -0.09415549039840698, -0.2825423777103424, -0.5753197073936462, 0.11645849794149399, 0.027746502310037613, -0.3578367233276367, -0.9580548405647278, 0.09394337981939316, -0.6305748224258423, 1.3415920734405518, 0.43232637643814087, -0.012070034630596638, 0.0004795693384949118, -0.13766299188137054, -0.21002396941184998, -1.0571752786636353, -0.5288608074188232, 0.025993211194872856, 0.30009469389915466, -0.6193272471427917, 1.3419380187988281, 0.39364251494407654, 0.8208892345428467, 0.42905059456825256, -0.5147162675857544, -0.4623843729496002, -0.1989666372537613, 0.31824758648872375, 0.1045532077550888, -1.011343002319336, -0.3882029056549072, -0.15362444519996643, 0.5369452834129333, 0.27726826071739197, -0.18545743823051453, -0.0840386375784874, 0.11032073944807053, 0.6719245314598083, -0.6903406977653503, -0.05139242857694626, -0.7428333163261414, 0.1326873004436493, -0.05048903822898865, 0.10596831142902374, -0.6248430013656616, -0.41754865646362305, 0.3395022451877594, -0.4713969826698303, 0.3959159255027771, -0.20935295522212982, 1.0650370121002197, 0.7154107689857483, -0.4734840393066406, -0.2733464539051056, -0.9637144804000854, 0.860489010810852, -0.7362203001976013, 0.16676996648311615, 0.29369279742240906, 0.30365726351737976, 0.19520950317382812, -0.8438776135444641, -0.4162856936454773, 0.05951058492064476, -0.3271488547325134, 0.008232595399022102, -0.7732793092727661, 0.1736667901277542, 0.6112621426582336, 0.5495434403419495, -0.6741987466812134, -0.07325981557369232, -0.06307221204042435, -0.09359673410654068, 0.28422170877456665, -0.05842844769358635, 0.3017593324184418, -0.2680133283138275, -0.28808385133743286, -0.6113584637641907, -0.20367436110973358, 0.266396164894104, 0.3487006723880768, 0.19475004076957703, 0.22265556454658508, 0.2887628376483917, 0.2304784506559372, 0.49411025643348694, -0.05769817903637886, -0.06740433722734451, -0.3020666539669037, -0.22699345648288727, -0.3187294900417328, -0.2747906744480133, 0.9483510255813599, -0.03218840807676315, 0.37251678109169006, -0.2263505756855011, -0.2161528766155243, 0.34720513224601746, 0.6382552981376648, -0.9666784405708313, -0.48993241786956787, 0.23410965502262115, -0.6273179650306702, -0.8513807058334351, 0.060895536094903946, -0.5059579610824585, -0.222573384642601, 0.13094283640384674, 0.7219243049621582, -0.7127841114997864, 0.016186019405722618, 0.10852374136447906, -0.15693412721157074, 0.000028776890758308582, 0.17213159799575806, -0.9443560838699341, 0.2699390649795532, 0.7839669585227966, 0.8309795260429382, 0.26219311356544495, 0.07461634278297424, -0.2994885742664337, -0.11161494255065918, -0.10297457873821259, 0.3826633095741272, -0.007677907589823008, -0.3863236904144287, -0.050904661417007446, -0.25571349263191223, 0.06340181082487106, -0.38905400037765503, 0.6515977382659912, -0.7081058621406555, 0.27749398350715637, 0.10724326223134995, -0.40300557017326355, -0.14177332818508148, 0.2691050171852112, -1.014678716659546, 0.8098778128623962, 0.06119028851389885, -1.1022497415542603, 0.24927350878715515, -0.4195094406604767, -0.5358179807662964, -0.15517526865005493, 0.37210965156555176, -1.036275863647461, 0.26346123218536377, 0.35376471281051636, 0.3290277421474457, -0.07210222631692886, 0.3217712342739105, -0.24725519120693207, -0.3757290244102478, 0.71583092212677, -1.056069016456604, 1.0497812032699585, 0.060932911932468414, -0.4313504695892334, -0.13412164151668549, -0.7763310670852661, 0.160583958029747, 0.16641859710216522, -0.2506939470767975, -0.5989359021186829, 0.07633308321237564, -0.026707977056503296, 0.114760622382164, -0.024715671315789223, -0.09543715417385101, 0.22952255606651306, -0.7614659070968628, 0.5621530413627625, 0.6606956720352173, -0.15500055253505707, 0.5574184060096741, -0.2162998467683792, 0.6174755692481995, -0.09000659734010696, 0.430934876203537, -0.20212754607200623, -0.37213972210884094, -0.6920803785324097, -0.35852447152137756, 0.9582943320274353, 0.5797979831695557, -0.8718637824058533, 0.5344955325126648, -0.3654433488845825, -0.45492687821388245, -0.39225685596466064, -0.46819308400154114, 0.31709936261177063, 0.10865344107151031, 0.25863707065582275, 0.1583835631608963, -0.3079909682273865, -0.5746004581451416, -0.3957298696041107, -0.3174842894077301, -0.49446186423301697, -0.3341449201107025, 0.5355693101882935, -0.07643163204193115, 1.0143412351608276, -0.49286529421806335, -0.1859171837568283, 0.14302845299243927, 0.32589638233184814, 0.008777490817010403, 0.4371401071548462, 0.7042278051376343, -1.1613103151321411, -0.4332713484764099, -0.3118784725666046, -0.5467244982719421, 0.20575812458992004, -0.16517779231071472, -0.02158910036087036, 0.22701044380664825, -0.0016523981466889381, -0.5262392163276672, 0.9072579741477966, 0.4687143862247467, -0.24593593180179596, 0.20898908376693726, -0.043650850653648376, 0.007039791438728571, -1.0476018190383911, 0.051977258175611496, 0.10518296808004379, -0.32205095887184143, -0.783328652381897, 0.12328246980905533, 0.16649256646633148, -0.31097838282585144, -0.3873260021209717, 0.05577719584107399, 0.15960794687271118, 0.17416387796401978, -0.21015127003192902, -0.2261824607849121, 0.4483736455440521, 0.404967725276947, -0.025685051456093788, 0.6721351146697998, 0.46121567487716675, -0.41141071915626526, 0.17214782536029816, 0.3588627278804779, -0.10259850323200226, 0.5757268667221069, -0.9971248507499695, -0.034588366746902466, -0.06883727014064789, 0.25094643235206604, -0.6236874461174011, 0.27600446343421936, 0.005904208403080702, -0.6992759108543396, 0.4612431824207306, -0.18399183452129364, -0.6972981095314026, -0.109797403216362, -0.5215124487876892, 0.23493514955043793, 0.5195578932762146, -0.6154242753982544, 0.7189661860466003, 0.08682464808225632, 0.04003942757844925, -0.47033894062042236, -0.7523707151412964, 0.027360700070858, -0.4475440979003906, -0.6783871650695801, 0.32871243357658386, 0.07034080475568771, -0.260707825422287, -0.16151250898838043, -0.11766918748617172, -0.19439473748207092, 0.5193290114402771, 0.29011061787605286, 0.31773316860198975, 0.06884580850601196, 0.11886776983737946, -0.13806717097759247, -0.44523394107818604, 0.16423125565052032, -0.2925450801849365, 0.3271918296813965, -0.5155027508735657, -0.03367340564727783, -0.5071409940719604, 0.2056901752948761, 0.4595739245414734, -0.38692575693130493, 1.123184084892273, 0.8693774342536926, -0.4730818569660187, -0.16265925765037537, 0.036106280982494354, -0.2093018889427185, -0.5314486622810364, 0.324888676404953, -0.27899405360221863, -0.8521575331687927, 0.2766297459602356, 0.026053912937641144, -0.26777225732803345, 0.5044766664505005, 0.31171438097953796, -0.2557324767112732, 1.2868329286575317, 0.66695237159729, -0.12965187430381775, 0.4012143313884735, -0.39336299896240234, 0.4028182625770569, -0.6514600515365601, 0.09262054413557053, -0.8124756217002869, -0.22830995917320251, -0.914196789264679, -0.07260248810052872, 0.5224938988685608, 0.08852417021989822, -0.052090130746364594, 0.5317218899726868, -0.7610849142074585, 0.2599538564682007, 0.7492814064025879, 0.19711315631866455, 0.10721941292285919, -0.04954180121421814, 0.5504773855209351, -0.373644083738327, -0.8583371043205261, -0.5945273637771606, 1.1070325374603271, 0.5727304220199585, 0.75718754529953, 0.36920490860939026, 0.32328489422798157, 0.3427165150642395, 0.16877347230911255, -0.8066128492355347, 0.20465609431266785, -0.5880877375602722, -0.37696900963783264, -0.4285348057746887, -0.6156246066093445, -0.8809604048728943, 0.3914221227169037, -0.44366276264190674, -0.3752662241458893, 0.28013914823532104, 0.0267954021692276, -0.5385719537734985, 0.3341161608695984, -0.556479811668396, 0.7962601780891418, -0.15324309468269348, 0.13493657112121582, 0.1894402801990509, -0.7425745725631714, 0.15530012547969818, -0.3320496380329132, 0.253423810005188, 0.41648879647254944, 0.1271151751279831, 0.6549209356307983, -0.4970512390136719, 0.8696386814117432, 0.019494399428367615, -0.31582173705101013, 0.11253304779529572, 0.06371328234672546, 0.7211475372314453, 0.11631100624799728, -0.019773518666625023, 0.5075020790100098, 0.11473581194877625, -0.32005763053894043, -0.8919700384140015, 0.21134701371192932, -0.7110320329666138, -0.3893934190273285, -0.6769977807998657, -0.5246089100837708, -0.023798856884241104, -0.09607086330652237, 0.5305384397506714, 0.4954979717731476, 0.05635325238108635, 0.5194586515426636, 1.0481172800064087, -0.38708215951919556, 0.6342949271202087, 0.2652158737182617, 0.2319326251745224, -0.7365508079528809, 0.818832278251648, 0.040188781917095184, 0.4794469475746155, 0.7040843367576599, 0.26006901264190674, -0.24550344049930573, -0.4221189320087433, -0.10195249319076538, -0.34418320655822754, -0.6050117015838623, -0.6971871852874756, -0.6236351728439331, -0.24614214897155762, -0.4659017026424408, -0.14873918890953064, -0.2518142759799957, -0.7816482782363892, -0.3892281651496887, 0.09567911177873611, 0.3307320475578308, 0.18592557311058044, 0.17508564889431, 0.7383078932762146, -0.8453376293182373, 0.3523911237716675, 0.5537057518959045, 0.07689277827739716, -0.08799009770154953, -0.5644426345825195, -0.448594868183136, 0.0658109188079834, -0.49259084463119507, -0.6961884498596191, 0.4179129898548126, 0.3390144407749176, -0.15475697815418243, 0.4084136486053467, 0.2783554792404175, 0.2532648742198944, -0.3176979720592499, 0.6390421390533447, -0.025476783514022827, -1.3634854555130005, 0.662440836429596, -0.15687257051467896, 0.30942004919052124, 0.3431541621685028, 0.2930049002170563, -0.14075307548046112, -0.5568619966506958, -0.7437263131141663, -0.7369141578674316, 0.7516855001449585, 0.6955618262290955, 0.0037041620817035437, 0.19490578770637512, 0.25848597288131714, -0.22430419921875, 0.24815714359283447, -0.9968032836914062, -0.3173086941242218, -0.5201747417449951, -0.3405451476573944, 0.29436394572257996, -0.31772279739379883, 0.03782881423830986, -0.029441118240356445, 0.6155182719230652, -0.006005425937473774, 0.06972242891788483, -0.12208068370819092, 0.004728544969111681, 0.18198296427726746, 0.26179224252700806, 0.3918802738189697, -0.11704748868942261, -0.12994584441184998, 0.31518325209617615, 0.1253819763660431, -0.6225094795227051, 0.2434280514717102, 0.20020723342895508, -0.5388118028640747, 0.1553507149219513, 0.5667545795440674, 0.8168321251869202, 0.15849657356739044, -0.33929744362831116, 0.8047342300415039, -0.45810431241989136, 0.052815575152635574, -0.07682971656322479, 0.004225214011967182, -0.44976988434791565, 0.26922938227653503, 0.3090890049934387, 0.4699788987636566, 0.3288651704788208, -0.16438429057598114, 0.14750976860523224, 0.739377498626709, -0.13107232749462128, -0.3451469838619232, 0.982200026512146, -0.1542138159275055, -0.37672340869903564, 0.3123299479484558, 0.061671968549489975, -0.9735791087150574, 0.7803481817245483, 0.4921184778213501, 0.8341540694236755, -0.40280985832214355, 0.1117694228887558, 0.1395353227853775, 0.6165952086448669, -0.18266712129116058, -0.2720623314380646, -0.04903334379196167, -0.36452749371528625, -0.3152846097946167, -0.6585341691970825, -0.3641584515571594, -0.16725796461105347, -1.038071870803833, 0.18917836248874664, -0.2826046347618103, -0.701871931552887, 0.010939031839370728, -0.2072169929742813, -0.290523499250412, 0.6088446974754333, 0.06655900180339813, 0.43195655941963196, -0.7602251172065735, 0.7598565816879272, 0.5196202397346497, -0.11781628429889679, -0.5192596316337585, 0.27655133605003357, -0.30469051003456116, -0.3565727770328522, 0.5344929695129395, 0.06364292651414871, 0.21211212873458862, 0.08176962286233902, -0.20416682958602905, -0.7587547302246094, 1.0126702785491943, 0.3638157546520233, -0.4929133951663971, -0.012054389342665672, 0.487827330827713, 0.9188497066497803, 0.585159182548523, 0.2048983871936798, 0.24778003990650177, 0.17465932667255402, -0.15224020183086395, -0.7372673153877258, -0.07651491463184357, -0.1465183049440384, 0.5772227048873901, 0.6605565547943115, -0.6029941439628601, 0.6717318892478943, 0.06410921365022659, -0.37862280011177063, 0.05671272799372673, 0.6569972634315491, -0.08186444640159607, 0.11543896049261093, 0.484046071767807, 0.774394690990448, 0.6119835376739502, -0.44488030672073364, 1.1084989309310913, -0.31754446029663086, 0.6523929238319397, 0.7720071077346802, 0.14984385669231415, 0.6888232231140137, 0.18570533394813538, -0.6865784525871277, 0.21990184485912323, 0.14368905127048492, -0.3176073431968689, 0.6656008958816528, 0.16879455745220184, -0.22742480039596558, 0.18408648669719696, 0.20844516158103943, -0.19449719786643982, 0.2838796079158783, 0.09895100444555283, -0.21028581261634827, 0.06189385801553726, 0.444882333278656, 0.09179970622062683, 0.16095060110092163, -0.01566896215081215, 0.7474973201751709, 0.018412278965115547, -0.13326801359653473, 0.6086733937263489, 0.1470586359500885, 0.9394946098327637, -0.4756096303462982, 0.2837633192539215, 0.038644395768642426, 0.27714478969573975, -0.17677855491638184, -0.3830052316188812, 0.5601640939712524, 0.17862845957279205, -0.4468497335910797, -0.28258955478668213, 0.6670814752578735, -0.14464502036571503, -0.6741162538528442, -0.14105387032032013, -0.06402499973773956, -0.36665382981300354, -0.5914504528045654, -0.4157152771949768, 0.10565569251775742, -0.03288313001394272, -0.27132463455200195, 0.46229517459869385, 0.6985068917274475, 0.04739423841238022, 0.6591415405273438, 0.6161132454872131, -0.09618058800697327, -0.062293753027915955, -0.026208018884062767, 0.64462810754776, -0.47196441888809204, -0.36929845809936523, -1.2368669509887695, 0.5848733186721802, 0.1712830364704132, -0.061630528420209885, 0.7681140899658203, 0.4303235411643982, 0.5912073850631714, -0.02304253727197647, 0.7227784991264343, 0.04824581369757652, 0.22438064217567444, -0.3225226104259491, 0.9589807987213135, -0.1870807260274887, 0.46245479583740234, -0.27125051617622375, -0.7178451418876648, -0.5424304604530334, 0.6413496732711792, -0.06308402121067047, 0.04217595234513283, 0.5283938050270081, 0.3881698250770569, 0.43050554394721985, 0.13704994320869446, 0.3448448181152344, 0.015959804877638817, 0.4520512521266937, 0.5022200345993042, 0.7632569670677185, -1.0373201370239258, 0.9605149030685425, -0.7111614346504211, -0.26650407910346985, 0.05472327023744583, -0.7033616304397583, -1.068856120109558, -0.5876561403274536, -0.5524734258651733, -0.4561784267425537, 0.028839876875281334, 0.0970328226685524, 0.6075032353401184, -0.7797776460647583, 0.45146143436431885, -0.17220616340637207, -0.011863750405609608, -0.10980764031410217, -0.3300391137599945, 0.6636660099029541, -0.2180957794189453, -0.7999392151832581, -0.0757390484213829, 0.2160269170999527, 0.5069235563278198, -0.22528456151485443, 0.3261406421661377, 0.3436422348022461, 0.11488169431686401, 0.6548230648040771, -0.16342663764953613, -0.45371872186660767, -0.00043157621985301375, 0.17726856470108032, -0.24950860440731049, -0.0882115438580513, 0.5646824240684509, -0.9166034460067749, 0.24440036714076996, 0.19423678517341614, 0.4681132435798645, 0.11606492102146149, 0.27288517355918884, 0.46878981590270996, -0.8339419364929199, 0.3086947202682495, 0.43680036067962646, 0.09073279798030853, 0.31412577629089355, -0.5517098903656006, 0.5681925415992737, 0.032607994973659515, -0.6900781989097595, -1.0794709920883179, -0.031059743836522102, -0.6077995896339417, -0.29796868562698364, 0.7332146763801575, -0.2975682020187378, -0.054377928376197815, 0.2694169580936432, -0.19898752868175507, 0.4141739308834076, -0.0071231587789952755, 1.1400911808013916, 0.6741656064987183, 0.33739686012268066, 0.025266505777835846, -0.26032745838165283, 0.49696215987205505, 0.4768710434436798, -0.8307338953018188, -0.18592166900634766, -0.04018991440534592, -0.2582024335861206, 0.2608185410499573, -0.09225191920995712, -0.08640602231025696, 0.10566132515668869, 0.11805394291877747, -0.024799883365631104, 0.12761491537094116, -0.04842323809862137, -0.7804396152496338, 0.35847893357276917, -0.16425226628780365, -0.17446361482143402 ]
http://arxiv.org/abs/2403.05338v1
http://arxiv.org/pdf/2403.05338v1
Explaining Pre-Trained Language Models with Attribution Scores: An Analysis in Low-Resource Settings
2024-03-08T14:14:37
2024-03-08T14:14:37
Wei Zhou, Heike Adel, Hendrik Schuff, Ngoc Thang Vu
cs.CL
cs.CL
Attribution scores indicate the importance of different input parts and can, thus, explain model behaviour. Currently, prompt-based models are gaining popularity, i.a., due to their easier adaptability in low-resource settings. However, the quality of attribution scores extracted from prompt-based models has not been investigated yet. In this work, we address this topic by analyzing attribution scores extracted from prompt-based models w.r.t. plausibility and faithfulness and comparing them with attribution scores extracted from fine-tuned models and large language models. In contrast to previous work, we introduce training size as another dimension into the analysis. We find that using the prompting paradigm (with either encoder-based or decoder-based models) yields more plausible explanations than fine-tuning the models in low-resource settings and Shapley Value Sampling consistently outperforms attention and Integrated Gradients in terms of leading to more plausible and faithful explanations.
[ -0.27810490131378174, -0.6653639674186707, 0.9773951172828674, 0.35350850224494934, -0.24116994440555573, -0.3466055691242218, -0.46685683727264404, -0.2005532830953598, -0.08148600906133652, 0.16226156055927277, -0.6670001745223999, -0.020949291065335274, -0.4756168723106384, 0.15864044427871704, -0.3519211709499359, 0.831733226776123, -0.1703042834997177, 0.011889178305864334, -0.5103894472122192, -0.046859439462423325, -0.6360105872154236, -0.380923330783844, -0.8423715233802795, -0.4492843449115753, 0.8180119395256042, 0.41671037673950195, 0.8263023495674133, 0.8675611019134521, 0.22040647268295288, 0.27224764227867126, 0.13880862295627594, -0.23665226995944977, -0.4411166310310364, -0.04034961387515068, -0.1780909299850464, -0.5093916654586792, -0.18212556838989258, 0.5110867023468018, 0.6226304769515991, 0.7509735226631165, 0.003105132607743144, 0.3990015983581543, 0.4600958228111267, 0.2765716016292572, -0.6635908484458923, 0.1388952136039734, -0.4570121169090271, -0.23938773572444916, 0.057422395795583725, -0.3576412498950958, -0.6532654166221619, -0.611370325088501, -0.006347304210066795, -0.6200971007347107, 0.3427908420562744, 0.07124635577201843, 0.8458662033081055, 0.3271019756793976, -0.26234695315361023, -0.44442784786224365, -0.5399630665779114, 1.2116903066635132, -0.5522041916847229, 0.22864572703838348, 0.5232758522033691, 0.29791951179504395, 0.20609979331493378, -0.4999707341194153, -0.5296891331672668, -0.3245494067668915, -0.40557774901390076, -0.09007024765014648, -0.1403317153453827, -0.1517823487520218, 0.481314480304718, 0.4351794421672821, -0.4549647867679596, 0.40499040484428406, -0.17830392718315125, -0.29424989223480225, 0.4957648515701294, 0.13857847452163696, 0.011366600170731544, -0.22979483008384705, -0.13950790464878082, -0.09054987132549286, -0.6713863611221313, 0.5859069228172302, 0.4838941693305969, 0.5342326760292053, -0.26438581943511963, 0.39571577310562134, 0.015282752923667431, 0.8171637058258057, 0.20781153440475464, 0.09479627758264542, -0.2907354235649109, -0.46755528450012207, -0.10558896511793137, 0.06980695575475693, 0.9704200625419617, 0.13686154782772064, 0.5669982433319092, 0.04276953265070915, -0.3191624581813812, 0.03701753914356232, 0.20526745915412903, -0.8256248235702515, -0.1698344647884369, 0.0010979165090247989, -1.014203429222107, -0.5057143568992615, -0.2582011818885803, -0.7131348848342896, -0.4266152083873749, -0.28997740149497986, 0.49714675545692444, -0.3158279359340668, -0.32460400462150574, -0.015698669478297234, 0.10978126525878906, 0.38139641284942627, 0.5265206098556519, -0.860416829586029, 0.14959774911403656, 0.40415266156196594, 1.0338748693466187, -0.23873379826545715, -0.27394503355026245, -0.6536591053009033, -0.4421297311782837, -0.387626588344574, 0.8201825022697449, -0.7113025188446045, -0.3701964020729065, -0.020690545439720154, 0.005941856186836958, -0.08328896015882492, -0.4229109287261963, 0.4954829514026642, -0.45439913868904114, 0.531274676322937, -0.6832245588302612, -0.4193919599056244, -0.07182951271533966, 0.19633905589580536, -0.7412002086639404, 0.7159088253974915, 0.2616279423236847, -0.40219393372535706, 0.45935437083244324, -0.8561432957649231, -0.20996606349945068, -0.11957812309265137, -0.012021346017718315, 0.014691703021526337, 0.42348629236221313, 0.36329376697540283, 0.444630891084671, -0.5019793510437012, 0.30643153190612793, -0.16405275464057922, -0.3263196349143982, 0.8165271282196045, -0.9589415788650513, 1.1415891647338867, 0.3831585645675659, 0.1416441798210144, 0.11081624031066895, -0.5678989887237549, 0.119839608669281, 0.24116088449954987, -0.426014244556427, -0.14466916024684906, -0.216840460896492, -0.27331310510635376, 0.2674809694290161, 0.2835480868816376, -0.4294649064540863, -0.020951656624674797, -0.1846129298210144, 0.5137709975242615, 0.6827911138534546, 0.01387240830808878, 0.5747546553611755, -0.28323596715927124, 0.896999716758728, -0.09977994859218597, 0.19567373394966125, -0.4709760546684265, -0.19141805171966553, -0.3710970878601074, -0.30147698521614075, 0.37732958793640137, 0.25366055965423584, -0.5558194518089294, 0.07983975112438202, -0.23208962380886078, -0.4172477126121521, -0.7806008458137512, -0.07988236099481583, 0.4530487656593323, 0.7181169986724854, 0.266087144613266, -0.3504452109336853, -0.16251789033412933, -0.862727701663971, -0.6764828562736511, -0.35815978050231934, -0.21501238644123077, 0.45132189989089966, 0.39932554960250854, 0.3377299904823303, 1.0827285051345825, -0.2880402207374573, 0.3295569121837616, -0.37363046407699585, 0.10556592047214508, 0.380220890045166, 0.541532576084137, 0.6001428961753845, -0.5396705269813538, -0.5196225047111511, -0.4479748606681824, -0.598639965057373, -0.1650715321302414, -0.2404482364654541, 0.22324571013450623, -0.1800699383020401, 0.51422518491745, -0.4901353716850281, 0.22265319526195526, 0.517052412033081, -0.4363144338130951, 0.9612680673599243, -0.11626400053501129, 0.46540045738220215, -0.7561398148536682, 0.01082647405564785, 0.011771407909691334, -0.39823776483535767, -0.47786271572113037, -0.15097938477993011, -0.05727452039718628, -0.4094702899456024, -0.46338388323783875, 0.6439973711967468, -0.41930699348449707, -0.1422388106584549, -0.12598292529582977, -0.06261669099330902, 0.3007039427757263, 0.4213731586933136, -0.12138644605875015, 0.9679446816444397, 0.4640170931816101, -0.6294375658035278, 0.5269283056259155, 0.2226768285036087, -0.5318279266357422, 0.3438214957714081, -1.0392824411392212, -0.07353576272726059, 0.008239931426942348, 0.08413730561733246, -1.1460782289505005, -0.3813565671443939, -0.04448139667510986, -0.6559657454490662, 0.09884007275104523, -0.4120151996612549, -0.49944397807121277, -0.18009059131145477, -0.1720699816942215, 0.6263077855110168, 0.7198134064674377, -0.709886372089386, 0.4962012767791748, -0.20069235563278198, -0.26568153500556946, -0.300140380859375, -0.4764763414859772, -0.312406986951828, -0.5667217373847961, -0.40602946281433105, 0.07271161675453186, 0.013759703375399113, -0.4987356662750244, -0.036787278950214386, 0.14103399217128754, -0.16103394329547882, 0.424207866191864, 0.20932216942310333, 0.18020905554294586, -0.6254004836082458, 0.08617204427719116, -0.34832724928855896, -0.2651998698711395, 0.4086628258228302, 0.05084779113531113, 0.5686935782432556, -0.15791058540344238, -0.512843132019043, -0.6857120990753174, 0.4235544204711914, 0.5487383604049683, -0.33946770429611206, 1.159864068031311, 0.2920406460762024, -0.23460279405117035, -0.0026330247055739164, -0.2791001796722412, -0.6964934468269348, -0.49416640400886536, 0.11382091045379639, -0.2557443380355835, -0.6585572361946106, 0.7880481481552124, 0.10609754174947739, -0.17014291882514954, 0.44896602630615234, 0.5058369636535645, -0.11250544339418411, 1.1358562707901, 0.593480110168457, 0.1362714320421219, 0.7864089012145996, 0.2547186017036438, 0.12972915172576904, -0.3128300607204437, 0.035139136016368866, -0.6848984956741333, -0.1290416568517685, -0.5139046311378479, -0.03718843683600426, 0.10989434272050858, 0.2125307321548462, -0.27269360423088074, 0.07717999070882797, -0.2704117000102997, 0.7400451898574829, 0.6059627532958984, 0.0011028655571863055, 0.05255095288157463, -0.055538956075906754, 0.35139578580856323, 0.0010711413342505693, -0.8066545128822327, -0.7285085320472717, 0.8621934056282043, 0.5579977035522461, 0.7582825422286987, 0.11441414803266525, 0.39726847410202026, 0.16389991343021393, 0.1490432620048523, -0.9648364186286926, 0.3425391614437103, -0.10871387273073196, -0.6429720520973206, -0.4685404598712921, -0.4354571998119354, -0.8470088839530945, -0.01583712361752987, -0.35795438289642334, -0.7242322564125061, 0.09207020699977875, 0.5358755588531494, -0.9220210313796997, -0.17818398773670197, -1.0319733619689941, 1.261723279953003, -0.201602041721344, -0.338833749294281, -0.15799106657505035, -0.36490413546562195, 0.46788913011550903, -0.10319536924362183, 0.20385326445102692, -0.06209823489189148, 0.3087499141693115, 0.9985823631286621, -0.4243077039718628, 0.7908267378807068, -0.3765600323677063, -0.14103516936302185, 0.3863930106163025, 0.14420190453529358, 0.5164320468902588, 0.02603081613779068, -0.25103306770324707, -0.0938967764377594, -0.035794056951999664, -0.45420727133750916, -0.9164595007896423, 0.6399656534194946, -0.666893482208252, -0.47944769263267517, -0.01706017553806305, -0.47894373536109924, -0.2605902850627899, 0.07903984189033508, 0.5453260540962219, 0.8259966373443604, 0.08887270838022232, 0.22990475594997406, 0.8806802034378052, -0.5322591066360474, 0.40531912446022034, 0.5126038789749146, -0.06462056189775467, 0.1866125911474228, 0.8959071636199951, 0.03062247298657894, 0.4045674502849579, -0.1595805138349533, 0.4516698122024536, -0.4590025246143341, -0.41771960258483887, -0.282489150762558, 0.19819006323814392, -0.7305137515068054, -0.0425562784075737, -0.2717065215110779, 0.05455514043569565, -0.3187415897846222, -0.4198845624923706, -0.5337177515029907, -0.07665973156690598, -0.5880232453346252, 0.06444697827100754, 0.4232560992240906, 0.5696215629577637, 0.11072299629449844, 0.7956426739692688, -0.6777300834655762, 0.13254685699939728, 0.37264755368232727, 0.498996764421463, 0.2647551894187927, -1.0270339250564575, -0.3304671347141266, 0.01166516076773405, 0.03189738467335701, -1.0378800630569458, 0.20405416190624237, 0.15791650116443634, 0.5772570967674255, 0.5121221542358398, -0.0006032432429492474, 0.6172309517860413, -0.3390730321407318, 1.0364534854888916, 0.2270360291004181, -0.9847187995910645, 0.7163686156272888, -0.33183860778808594, 0.3015008568763733, 0.6113219857215881, 0.4860636293888092, -0.3175426125526428, -0.13621366024017334, -0.7555737495422363, -0.5325615406036377, 0.990496814250946, -0.13379530608654022, 0.17179293930530548, 0.19998200237751007, 0.5688192248344421, 0.48396652936935425, -0.05627403408288956, -0.7616441249847412, -0.06886252760887146, -0.34086447954177856, -0.4415614604949951, -0.35213911533355713, -0.45666760206222534, 0.0997987613081932, -0.07524707913398743, 0.5580511689186096, -0.025546832010149956, 0.4508156180381775, -0.32253652811050415, -0.3161381781101227, -0.03970314934849739, 0.2773475646972656, 0.4529046416282654, 0.7706326842308044, 0.08437757194042206, 0.2355477213859558, -0.003521890379488468, -0.17880120873451233, 0.20740585029125214, -0.05637074261903763, 0.1095719113945961, 0.014909480698406696, 0.9133091568946838, 1.0235837697982788, -0.06611661612987518, -0.36557111144065857, 0.9254458546638489, -0.11963119357824326, -0.0016333700623363256, -0.05401340872049332, 0.26232367753982544, -0.13766738772392273, 0.25472432374954224, 0.1381346434354782, -0.12081091105937958, 0.032061006873846054, -0.6370313763618469, -0.09932194650173187, 0.35169774293899536, -0.6209479570388794, -0.5172819495201111, 0.45014727115631104, 0.10100016742944717, -0.2757871747016907, 0.777909517288208, -0.10484667867422104, -0.31508395075798035, 0.4638608992099762, 0.4861561357975006, 0.54754239320755, -0.25885507464408875, 0.3410681188106537, 0.4960264265537262, 0.1475396454334259, -0.4182819724082947, 0.022471986711025238, -0.12125871330499649, -0.7944948077201843, -0.8274277448654175, -0.7168486714363098, -0.12197205424308777, 0.28394463658332825, -1.0052917003631592, -0.004841579124331474, -0.2100757211446762, -0.037140101194381714, 0.18923288583755493, -0.210641548037529, -0.8274890184402466, 0.17855577170848846, 0.011750738136470318, 0.8137129545211792, -1.3857910633087158, 0.6452917456626892, 0.524087131023407, -0.6066374182701111, -1.1882870197296143, -0.011103211902081966, -0.2182101309299469, -1.0958276987075806, 0.5610130429267883, 0.22566725313663483, 0.01749446988105774, 0.1827884018421173, -0.8335811495780945, -0.7530496120452881, 0.7465043663978577, 0.825593888759613, -0.1975557804107666, 0.03526295721530914, -0.1275814026594162, 0.3718130886554718, -0.36415451765060425, 0.31672993302345276, 0.7693685293197632, 0.37367749214172363, -0.15276581048965454, -0.8525474667549133, 0.17924706637859344, 0.05998745933175087, -0.13321083784103394, -0.20346865057945251, -0.09452951699495316, 0.9502722024917603, -0.2090529352426529, -0.2964106798171997, -0.16812533140182495, 0.6525917053222656, 0.31303325295448303, 0.10369665175676346, 0.6332300305366516, -0.14652642607688904, 0.6573066115379333, -0.14731231331825256, 1.3097279071807861, -0.032976873219013214, 0.24028244614601135, 0.9551830887794495, 0.17843177914619446, 0.542145311832428, 0.6905726194381714, -0.2879966199398041, 0.5684073567390442, 0.8941705226898193, 0.14004693925380707, 0.6896219253540039, 0.005743424873799086, -0.034106701612472534, -0.4613788425922394, -0.43514835834503174, -0.007684684824198484, 0.5615037679672241, 0.17288029193878174, -0.6313905119895935, -0.21853107213974, 0.27842238545417786, -0.24102793633937836, 0.1368352472782135, -0.6985253095626831, 0.7603527307510376, 0.1388207972049713, -0.7134321928024292, 0.6533430814743042, -0.2031506597995758, 0.42092740535736084, -0.5719994306564331, 0.06945247948169708, -0.1397412121295929, -0.002461174502968788, -0.08744829893112183, -0.9527584314346313, 0.11259542405605316, 0.2438807636499405, -0.6429688334465027, -0.6830992102622986, 0.6520690321922302, -0.3893396854400635, -0.24176417291164398, -0.18009577691555023, 0.7581357359886169, 0.37851184606552124, -0.317389577627182, -0.5627722144126892, -0.027377337217330933, -0.035240501165390015, -0.42627838253974915, 0.1798691749572754, 0.7817617058753967, -0.15972332656383514, 0.5555965304374695, 0.5404833555221558, 0.09003311395645142, -0.166157066822052, -0.060346003621816635, 0.6332249045372009, -0.5370842218399048, -0.5923178791999817, -1.1850420236587524, 0.5309078693389893, 0.1479896754026413, -0.3311016261577606, 0.746487557888031, 0.16210909187793732, 0.4159770607948303, -0.2760704457759857, 0.7119005918502808, 0.15767571330070496, 0.5420593619346619, -0.6916320323944092, 0.7035738825798035, -0.5240545272827148, 0.11757641285657883, 0.04324355348944664, -0.840889573097229, 0.07358035445213318, 0.7862263917922974, -0.6101889610290527, 0.18176297843456268, 0.5182381868362427, 0.5855492353439331, -0.18030984699726105, -0.013387775048613548, 0.2667900025844574, 0.13946174085140228, 0.22502869367599487, 0.3296876847743988, 1.0849665403366089, 0.017803145572543144, 0.4797716736793518, 0.1588985174894333, -0.292501837015152, -0.3347363770008087, -1.0760612487792969, -0.695667028427124, -0.5595179200172424, -0.20768478512763977, -0.3413037061691284, -0.3489013910293579, 0.7307071685791016, 0.4217435419559479, -0.8920401930809021, 0.1263606697320938, 0.04802336543798447, -0.011490274220705032, -0.2532721757888794, -0.26087498664855957, 0.3497491478919983, -0.40299054980278015, -0.28421100974082947, 0.32705098390579224, -0.2766517102718353, 0.2532409727573395, -0.37900426983833313, -0.1869441717863083, 0.3220583498477936, 0.16449953615665436, 0.4441680908203125, 0.1982676088809967, -0.7218313813209534, -0.4500714838504791, -0.036161020398139954, -0.18902701139450073, -0.17229825258255005, 1.042466402053833, -0.8565757274627686, 0.11190633475780487, 0.32653823494911194, 0.47616323828697205, 0.026596665382385254, 0.20545101165771484, 0.8603397011756897, -0.8505391478538513, -0.014173179864883423, 0.15542075037956238, 0.36185699701309204, 0.5386521220207214, -0.3476685881614685, 0.03894541412591934, 0.015046931803226471, -0.47759419679641724, -0.9354541301727295, 0.43301594257354736, -0.6298730969429016, -0.3038785755634308, 1.249750018119812, -0.38286662101745605, -0.21571215987205505, -0.058742716908454895, -0.015416352078318596, 0.42838937044143677, -0.3856273591518402, 0.7034866809844971, 0.9587602615356445, -0.05876215919852257, -0.27515143156051636, -0.6134775280952454, 0.8278149962425232, 0.32626742124557495, -0.5660403370857239, 0.5618820786476135, 0.5532809495925903, 0.2858559489250183, 0.0672735646367073, 0.630352258682251, 0.047769010066986084, 0.2777858376502991, 0.09382542222738266, -0.28398364782333374, -0.34629425406455994, -0.21159033477306366, -0.7118070721626282, 0.11641689389944077, 0.3782675862312317, -0.18552269041538239 ]
http://arxiv.org/abs/2403.05330v2
http://arxiv.org/pdf/2403.05330v2
Consecutive Model Editing with Batch alongside HooK Layers
2024-03-08T14:07:44
2024-04-17T07:23:35
Shuaiyi Li, Yang Deng, Deng Cai, Hongyuan Lu, Liang Chen, Wai Lam
cs.CL
cs.CL
As the typical retraining paradigm is unacceptably time- and resource-consuming, researchers are turning to model editing in order to seek an effective, consecutive, and batch-supportive way to edit the model behavior directly. Despite all these practical expectations, existing model editing methods fail to realize all of them. Furthermore, the memory demands for such succession-supportive model editing approaches tend to be prohibitive, frequently necessitating an external memory that grows incrementally over time. To cope with these challenges, we propose COMEBA-HK, a model editing method that is both consecutive and batch-supportive. COMEBA-HK is memory-friendly as it only needs a small amount of it to store several hook layers with updated weights. Experimental results demonstrate the superiority of our method over other batch-supportive model editing methods under both single-round and consecutive batch editing scenarios. Extensive analyses of COMEBA-HK have been conducted to verify the stability of our method over 1) the number of consecutive steps and 2) the number of editing instance.
[ -0.041033465415239334, -0.8518540859222412, 0.41309648752212524, 0.5924234986305237, -0.14346720278263092, -0.10423475503921509, -0.169368177652359, -0.33309662342071533, 0.04055475816130638, 0.6589160561561584, -0.8528825640678406, -0.41813430190086365, -0.10544871538877487, 0.10930223017930984, -0.37108615040779114, 0.8591979146003723, -0.47277194261550903, 0.27104002237319946, -0.1345512866973877, -0.45463255047798157, -1.1097419261932373, -0.5583768486976624, -1.06868314743042, -0.24996770918369293, 0.7582446336746216, 0.22433660924434662, 0.6048809885978699, 0.9309553503990173, 0.6101025938987732, 0.24267417192459106, -0.2555524408817291, 0.20554107427597046, -0.24542440474033356, 0.26438814401626587, -0.22869211435317993, -0.44213953614234924, -1.0005803108215332, -0.03370391204953194, 0.8192195892333984, 0.6672112941741943, -0.40711498260498047, 0.2993498146533966, -0.2082969844341278, 0.9315570592880249, -0.596446692943573, -0.38421541452407837, -0.6260666847229004, 0.22152425348758698, -0.20369571447372437, 0.04453759640455246, -0.8923991918563843, -0.046864353120326996, -0.15130001306533813, -0.9051988124847412, 0.3518255650997162, -0.15106238424777985, 0.5956853032112122, 0.3429781496524811, -0.041407860815525055, 0.3328979015350342, -0.6847149729728699, 0.6529911756515503, -0.9817708134651184, 0.5990972518920898, 0.1422770768404007, 0.18006190657615662, -0.4358954131603241, -1.1297557353973389, -0.24216537177562714, -0.20798347890377045, 0.3981361389160156, 0.12091652303934097, 0.4368947148323059, -0.004919544328004122, 0.4810449182987213, 0.12647297978401184, -0.14870673418045044, 0.3739268183708191, -0.17220325767993927, -0.0021617612801492214, 0.5373588800430298, 0.4332761764526367, 0.40184858441352844, 0.15621104836463928, -0.5149964690208435, 0.029628388583660126, -0.9442039728164673, 0.20065093040466309, 0.21731789410114288, 0.41822347044944763, 0.07975722849369049, 0.49634480476379395, 0.057437580078840256, 0.85981285572052, 0.40065476298332214, 0.2570302188396454, -0.05540916696190834, -0.290548175573349, -0.44384750723838806, -0.06779810041189194, 0.5484294891357422, 0.4836977422237396, -0.0661756694316864, 0.07130107283592224, -0.23361799120903015, -0.32755306363105774, 0.8895648121833801, -0.9340993762016296, -0.3662263751029968, 0.32619190216064453, -0.6967511773109436, -0.2927805185317993, -0.13694357872009277, -0.43622997403144836, -0.32528311014175415, -0.24350199103355408, 0.3428477346897125, -0.6060664057731628, -0.020129889249801636, -0.024724923074245453, -0.3666279911994934, -0.20065854489803314, 0.9626092910766602, -0.6924877166748047, 0.13206705451011658, 0.5476197004318237, 1.1130506992340088, 0.02288844995200634, -0.49582281708717346, -0.37163323163986206, 0.3614680767059326, -0.8309375047683716, 0.5427122116088867, -0.658226728439331, -0.6494844555854797, -0.3165576756000519, 0.24715648591518402, 0.17253559827804565, -0.6412681341171265, 0.1840611696243286, -0.59048992395401, 0.0923951119184494, -0.40821975469589233, -0.7702128887176514, -0.13415102660655975, -0.015658045187592506, -0.744343101978302, 0.9099380970001221, 0.11720746755599976, -0.5708646774291992, 0.6564105749130249, -0.39107629656791687, -0.2958907186985016, -0.31887322664260864, 0.2147340476512909, -0.8105193972587585, 0.14575277268886566, 0.32707706093788147, 0.3133215606212616, 0.14355938136577606, 0.3542441725730896, -0.7368865013122559, -0.20729896426200867, 0.16197466850280762, 0.0026237862184643745, 0.7405409812927246, -0.08281910419464111, 0.19081707298755646, 0.5134860277175903, -0.9135139584541321, -0.2695918679237366, 0.057822518050670624, -0.2784164845943451, -0.4509349465370178, 0.0027399531099945307, -0.1947166472673416, 0.294107049703598, 0.24310998618602753, -0.49470090866088867, 0.6468303799629211, 0.24203085899353027, 0.18232999742031097, 1.2721996307373047, 0.4115402400493622, 0.10327477753162384, -0.6974968314170837, 0.4235314130783081, 0.3142412602901459, 0.27247366309165955, -0.47557780146598816, -0.4420541524887085, -0.691077709197998, -0.23808324337005615, 0.31059202551841736, 0.38627889752388, -0.477591872215271, 0.001355774817056954, 0.22057440876960754, -0.6717174649238586, -0.45369309186935425, 0.4461071193218231, 0.2579804062843323, 0.7652148008346558, 0.5163229703903198, -0.8683344721794128, -0.6882532238960266, -0.7027324438095093, -0.3643780052661896, 0.12910273671150208, 0.0539088137447834, -0.0448080450296402, 0.3362358808517456, 0.08832550793886185, 0.7156277894973755, -0.323411762714386, -0.0827636569738388, 0.09460335969924927, 0.018975388258695602, 0.2040485143661499, 0.90427565574646, 0.5860233306884766, -0.4342508316040039, -0.2769744098186493, -0.249359130859375, -0.9309929609298706, 0.054838258773088455, -0.7759441137313843, -0.42005184292793274, 0.19748368859291077, 0.6023412942886353, -0.548664927482605, 0.436261922121048, 0.028324440121650696, -0.17537657916545868, 0.8681102991104126, -0.48915883898735046, 0.15834058821201324, -0.9236059188842773, 0.02064952254295349, 0.10066737979650497, -0.4458421468734741, -0.6796759366989136, 0.2139667421579361, 0.31862813234329224, -0.02529500052332878, -0.5133739113807678, 0.5510004162788391, -0.5043453574180603, 0.13206887245178223, -0.1948866993188858, -0.19858059287071228, -0.07647056132555008, 0.5459979772567749, 0.212837353348732, 0.4700668752193451, 0.42756325006484985, -0.777506947517395, 0.31575003266334534, 0.4146769046783447, -0.26565468311309814, 0.4899401068687439, -0.619213342666626, 0.6750949621200562, 0.06290663778781891, 0.664933979511261, -0.6651082038879395, -0.09379888325929642, 0.21771349012851715, -0.09133031219244003, 0.599504292011261, -0.2401946634054184, -0.1784367710351944, -0.19687731564044952, -0.6958428621292114, 0.2242242991924286, 0.17038007080554962, -0.5670785903930664, 0.32298779487609863, 0.09022953361272812, -0.18310046195983887, -0.6828915476799011, -0.7484556436538696, -0.03929416462779045, -0.23887108266353607, -0.5821346044540405, 0.40487679839134216, -0.125341534614563, -0.05231066048145294, 0.0886017456650734, -0.5157509446144104, -0.1299487203359604, -0.030254367738962173, 0.29128482937812805, 0.7506484389305115, -0.1801067590713501, -0.24827978014945984, 0.15913625061511993, -0.11910280585289001, -0.23130656778812408, -0.2560793161392212, 0.09869173169136047, 0.43477609753608704, -0.04814452677965164, -0.6475918292999268, 0.10034830123186111, 0.6419806480407715, -0.05221546068787575, 0.8890945911407471, 0.3262043297290802, -0.5401197671890259, -0.48673510551452637, -0.44359642267227173, -0.011300470679998398, -0.4735463261604309, 0.3654659390449524, -0.5641589760780334, -0.6254462599754333, 0.7636265158653259, -0.11783472448587418, 0.5754510164260864, 0.27970951795578003, 0.4447101354598999, -0.04012829437851906, 0.6704081892967224, 0.5496015548706055, 0.19538365304470062, 0.745884120464325, -0.0268307626247406, -0.20412904024124146, -1.2162703275680542, -0.050568025559186935, -0.14698892831802368, -0.3976411819458008, -0.3335067927837372, -0.32540571689605713, 0.17469874024391174, 0.12644816935062408, -0.6189876794815063, 0.5038729906082153, -0.33719658851623535, 0.10285738855600357, 0.4044229984283447, 0.521162211894989, 0.13700249791145325, -0.39709585905075073, 0.13732004165649414, -0.18411678075790405, -0.7102996110916138, -0.1857798844575882, 1.2367416620254517, 0.288849800825119, 0.793016791343689, -0.0871657058596611, 0.6525546312332153, 0.21993450820446014, 0.3558107614517212, -0.32858121395111084, 0.8191021680831909, -0.43069329857826233, -0.6631447076797485, -0.23831963539123535, -0.2669737637042999, -0.41872167587280273, 0.05814250558614731, 0.11583935469388962, -0.6845192909240723, 0.33981022238731384, 0.5740833282470703, -0.44973912835121155, 0.756201982498169, -0.5929915308952332, 0.9617200493812561, 0.031398527324199677, -0.7182133793830872, -0.4650297462940216, -0.6969643831253052, 0.5132689476013184, -0.3402319550514221, 0.08526716381311417, 0.09851222485303879, -0.18760931491851807, 0.9170017838478088, -1.1234443187713623, 0.7071136832237244, -0.440978467464447, -0.053559474647045135, 0.30539801716804504, 0.3789340853691101, 0.6647205948829651, 0.005123618524521589, -0.09361234307289124, 0.0823553204536438, -0.07457368075847626, -0.23512640595436096, -0.9313682317733765, 0.4529576599597931, -0.4216032028198242, -0.586694061756134, -0.09600220620632172, -0.6684480309486389, -0.33793509006500244, 0.17938639223575592, -0.0008336842874996364, 0.7349179983139038, -0.006757844239473343, 0.06869339197874069, 0.2496860921382904, -0.37802454829216003, 0.4468991458415985, 0.17262686789035797, -0.7207245230674744, -0.29514607787132263, 0.8087410926818848, 0.5378966927528381, 0.5686356425285339, 0.1400737315416336, 0.1607470065355301, 0.23054422438144684, -0.5396820902824402, -0.4093780219554901, -0.04885721579194069, -0.5512669682502747, 0.0151759572327137, -0.471031129360199, -0.13346707820892334, -0.32444024085998535, -0.6082401275634766, -0.8752768039703369, -0.7129086256027222, 0.07860487699508667, 0.05540592223405838, 0.5031306743621826, 0.6279271245002747, -0.44945427775382996, 0.3371685743331909, -0.7581362128257751, 0.6579969525337219, 0.025192763656377792, 0.5449373722076416, 0.21523350477218628, -0.685452938079834, -0.5054295063018799, -0.17564870417118073, -0.3061361610889435, -0.7146908044815063, 0.21746748685836792, 0.034072957932949066, 0.28092214465141296, 0.216960608959198, -0.1901661604642868, 1.1678651571273804, -0.7650381326675415, 0.7941348552703857, 0.029977548867464066, -0.8958457708358765, 0.5354825258255005, -0.47477370500564575, 0.3166002035140991, 0.42702341079711914, 0.1451915055513382, -0.6756414175033569, -0.5756664276123047, -0.5711178183555603, -0.99103182554245, 0.9872100949287415, -0.20156408846378326, -0.09149393439292908, 0.31380850076675415, 0.5960055589675903, 0.46555131673812866, 0.41324901580810547, -0.43108272552490234, -0.29337871074676514, -0.33837658166885376, 0.21532516181468964, 0.3837061822414398, -0.3735174238681793, 0.20452910661697388, -0.4645106792449951, 1.0696594715118408, 0.4734312891960144, 0.1948998123407364, 0.16178448498249054, 0.03746573254466057, -0.26817768812179565, 0.07708892971277237, 0.34838974475860596, 0.946098804473877, -0.8477394580841064, -0.32026469707489014, 0.2396581470966339, -0.6623900532722473, 0.39356663823127747, -0.43090254068374634, -0.37326228618621826, -0.015356423333287239, 0.3241969347000122, 0.9595840573310852, 0.3986189067363739, -0.1665005385875702, -0.26462462544441223, 0.09713943302631378, 0.04467045143246651, -0.13915127515792847, 0.16037611663341522, -0.06843075901269913, 0.016951706260442734, -0.02690715901553631, 0.36965569853782654, -0.2454773634672165, -0.5002236366271973, 0.38639020919799805, -0.06888741999864578, -0.09007682651281357, -0.06113581731915474, 0.8757695555686951, -0.06364826112985611, -0.3979746699333191, 0.8952759504318237, 0.1505638211965561, -0.00955697987228632, 0.6052280068397522, 0.6817690134048462, 1.0905879735946655, -0.5434770584106445, -0.06879483163356781, 0.6789581775665283, 0.16143307089805603, -0.4575839936733246, -0.023455986753106117, 0.21454572677612305, -0.796329140663147, -0.31038782000541687, -0.1795198619365692, -0.8066636919975281, 0.1742151975631714, -0.945266604423523, 0.46407970786094666, -1.1766374111175537, -0.47123563289642334, 0.03610125556588173, -0.3888340890407562, -0.2263566553592682, 0.4309777319431305, -0.13573741912841797, 1.1797069311141968, -0.28815844655036926, 0.8655043840408325, 0.7787561416625977, -0.43344923853874207, -0.7491195797920227, -0.15429621934890747, 0.41127437353134155, -0.5238316059112549, 0.34392988681793213, 0.38738134503364563, 0.06587479263544083, 0.009321792982518673, -0.6112114787101746, -0.4800633490085602, 0.9955570697784424, 0.25151288509368896, -0.7592175006866455, -0.1691347360610962, -0.6635076999664307, 0.2013336718082428, -0.2994060814380646, -0.10171394795179367, 0.1951490044593811, 0.3997792899608612, 0.09853272885084152, -0.6091797351837158, 0.1553177535533905, -0.3461512327194214, 0.1841937154531479, 0.12891076505184174, -0.9130419492721558, 0.980377733707428, -0.2825879752635956, -0.0261670034378767, 0.23689569532871246, 0.9110238552093506, 0.42036664485931396, 0.1945076286792755, 0.5675644874572754, 0.779531717300415, 0.7150954604148865, 0.26622432470321655, 0.9827736020088196, -0.25688132643699646, 0.14974825084209442, 1.646209955215454, -0.5140655040740967, 0.8781416416168213, 0.27506205439567566, -0.29995134472846985, 0.7683185935020447, 0.8337706923484802, -0.1616543084383011, 0.419023334980011, 0.02085396647453308, -0.1278100162744522, -0.36122220754623413, 0.15476825833320618, -0.24869321286678314, 0.12057717889547348, -0.020927639678120613, 0.010825562290847301, 0.037729661911726, 0.023840663954615593, 0.40185773372650146, -0.2533791959285736, -0.5022058486938477, 0.35430338978767395, 0.35600072145462036, -0.5288362503051758, 0.13360171020030975, 0.14629457890987396, 0.42697444558143616, -0.839421808719635, -0.044625651091337204, -0.18255244195461273, 0.385021448135376, -0.12137891352176666, -0.6344267129898071, 0.4208010137081146, 0.2564104199409485, -0.0834074541926384, -0.3329356014728546, 0.6446595788002014, -0.30333659052848816, -0.6555363535881042, 0.28411903977394104, 0.20122945308685303, -0.19450464844703674, 0.16130952537059784, -0.7312279939651489, 0.10445201396942139, -0.1258794367313385, -0.6624087691307068, 0.43734249472618103, 0.25642096996307373, -0.262124627828598, 0.7756026387214661, 0.7653040885925293, 0.1998116821050644, 0.15638411045074463, 0.1590053141117096, 0.5096320509910583, -1.0120811462402344, -0.5961008071899414, -1.11414635181427, 0.8161705136299133, 0.02651541493833065, -0.22788557410240173, 0.7842833399772644, 0.3700874149799347, 0.8892948627471924, -0.12032271921634674, 0.7169239521026611, -0.049038756638765335, 0.1837688684463501, -0.8629903197288513, 0.6140909194946289, -0.5829574465751648, -0.0059426650404930115, -0.4747192859649658, -0.6922515034675598, -0.32464897632598877, 0.4261746406555176, -0.04299873113632202, 0.037523385137319565, 0.6812750101089478, 0.6956109404563904, -0.02769060619175434, 0.07298583537340164, 0.07625861465930939, 0.46826714277267456, 0.2587142884731293, 0.5413339138031006, 0.6210987567901611, -0.25792306661605835, -0.3746086657047272, -0.5532509088516235, -0.020382462069392204, 0.23513874411582947, -1.005152940750122, -0.821596622467041, -0.49767953157424927, -0.5980976819992065, -0.33498671650886536, 0.18337871134281158, 1.163630723953247, 0.5459328889846802, -0.6507743000984192, -0.39937853813171387, -0.033279187977313995, 0.050867579877376556, -0.7628182172775269, -0.13241668045520782, 0.38081368803977966, -0.47503194212913513, -0.4157952070236206, 0.5964825749397278, 0.41493144631385803, -0.11782073974609375, 0.07233282923698425, 0.10725678503513336, -0.5077022910118103, 0.08059143275022507, 0.28093937039375305, 0.41790634393692017, -0.24514076113700867, -0.30029356479644775, -0.3285791873931885, 0.2928495407104492, 0.19977304339408875, 0.9477328062057495, -0.6739005446434021, 0.9105467200279236, 0.25034064054489136, 0.7357192635536194, 0.5072565674781799, 0.11316103488206863, 0.9618650674819946, -0.7532694935798645, 0.34000784158706665, -0.3810707926750183, 0.47410643100738525, 0.4104899764060974, -0.33685120940208435, 0.6520025730133057, 0.5414788126945496, -0.5291432738304138, -1.0031421184539795, -0.16958779096603394, -1.08128821849823, -0.30293336510658264, 0.6066629886627197, -0.5275787711143494, -0.30207929015159607, 0.30094772577285767, -0.22765426337718964, 0.7136934995651245, -0.20771397650241852, 0.6575374007225037, 0.9283962845802307, -0.2540156841278076, -0.20704799890518188, -0.8073210716247559, 0.20538774132728577, 0.3463357388973236, -0.6716522574424744, 0.33013349771499634, 0.7472400665283203, 0.18469968438148499, -0.1489093154668808, 0.7694317698478699, -0.13312216103076935, 0.5604498982429504, 0.22888243198394775, 0.08170472085475922, -0.6310042142868042, -0.5860087275505066, -0.35116949677467346, 0.02878071367740631, 0.04692574217915535, -0.3199237585067749 ]