id
stringlengths
33
33
doc_url
stringlengths
33
33
title
stringlengths
13
211
publication_date
timestamp[s]
update_date
timestamp[s]
authors
stringlengths
6
16.6k
category_primary
stringclasses
60 values
category_all
stringlengths
5
132
abstract
stringlengths
123
1.99k
embeddings
sequencelengths
768
768
http://arxiv.org/abs/2402.06126v3
http://arxiv.org/pdf/2402.06126v3
Learn To be Efficient: Build Structured Sparsity in Large Language Models
2024-02-09T01:18:16
2024-06-03T18:28:58
Haizhong Zheng, Xiaoyan Bai, Xueshen Liu, Z. Morley Mao, Beidi Chen, Fan Lai, Atul Prakash
cs.CL
cs.CL, cs.AI, cs.LG
Large Language Models (LLMs) have achieved remarkable success with their billion-level parameters, yet they incur high inference overheads. The emergence of activation sparsity in LLMs provides a natural approach to reduce this cost by involving only parts of the parameters for inference. However, existing methods only focus on utilizing this naturally formed activation sparsity in a post-training setting, overlooking the potential for further amplifying this inherent sparsity. In this paper, we hypothesize that LLMs can learn to be efficient by achieving more structured activation sparsity. To achieve this, we introduce a novel training algorithm, Learn-To-be-Efficient (LTE), designed to train efficiency-aware LLMs to learn to activate fewer neurons and achieve a better trade-off between sparsity and performance. Furthermore, unlike SOTA MoEfication methods, which mainly focus on ReLU-based models, LTE can also be applied to LLMs like LLaMA using non-ReLU activations. Extensive evaluation on language understanding, language generation, and instruction tuning tasks show that LTE consistently outperforms SOTA baselines. Along with our hardware-aware custom kernel implementation, LTE reduces LLaMA2-7B inference latency by 25% at 50% sparsity.
[ -0.08876725286245346, -0.9678640365600586, 0.42305272817611694, 0.30652743577957153, -0.37578457593917847, -0.08189232647418976, -0.36423033475875854, -0.33281365036964417, 0.21809104084968567, 0.21893276274204254, -0.3956458866596222, -0.29932987689971924, -0.8247789740562439, 0.07178805768489838, -0.19614703953266144, 0.6586505770683289, 0.12273645401000977, -0.09456659108400345, 0.1423824280500412, -0.19277241826057434, -0.21438509225845337, -0.23609161376953125, -0.9408538937568665, -0.5884514451026917, 0.6603436470031738, 0.276325523853302, 0.3177051842212677, 0.5869717001914978, 0.05377859249711037, 0.3083076477050781, -0.23477502167224884, 0.31705451011657715, -0.9145116209983826, -0.034678973257541656, 0.30173173546791077, -0.4385853409767151, -0.3678341507911682, -0.22870586812496185, 0.6578301787376404, 0.8238126635551453, -0.3965455889701843, 0.09507426619529724, 0.1332348734140396, 0.5840786695480347, -0.7013758420944214, 0.03433329984545708, -1.0099183320999146, -0.009977792389690876, 0.006323979701846838, -0.3972591459751129, -0.7670474052429199, -0.13336274027824402, -0.24719524383544922, -0.7616989016532898, -0.18668565154075623, -0.1078220084309578, 0.8426703810691833, 0.4516885578632355, -0.25356170535087585, -0.00001317283749813214, -0.539423942565918, 0.7492272257804871, -0.5706686973571777, 0.8076316118240356, 0.21933187544345856, 0.08291047811508179, -0.3081475496292114, -0.6831603050231934, -0.407713919878006, -0.39054685831069946, 0.11017793416976929, 0.03612817823886871, -0.11055568605661392, 0.09485536068677902, 0.41684162616729736, 0.010723561979830265, -0.4087257385253906, 0.3908410966396332, -0.14679621160030365, 0.0903589203953743, 0.452633798122406, -0.28652578592300415, 0.10486511886119843, 0.33114945888519287, -0.5205705761909485, 0.27535679936408997, -0.9332451224327087, 0.08074799925088882, 0.3534179925918579, 0.2069801241159439, 0.018292086198925972, 0.5259965658187866, 0.05904950574040413, 0.5327073931694031, 0.003049669321626425, 0.004235380329191685, 0.17241205275058746, 0.11563657969236374, -0.30490759015083313, 0.08484291285276413, 0.5133240818977356, -0.08946098387241364, 0.22563014924526215, -0.5265306234359741, -0.6560767889022827, -0.021248366683721542, 0.39546748995780945, -0.9267839193344116, 0.044482141733169556, 0.014160949736833572, -0.39116793870925903, -0.1545296162366867, -0.4935321509838104, -0.3293563723564148, 0.08549881726503372, -0.06398435682058334, 0.6625134944915771, -0.4362347722053528, -0.25747182965278625, 0.2616109549999237, 0.09813076257705688, 0.2204533964395523, 0.2443496435880661, -1.138460397720337, 0.44142165780067444, 0.6641183495521545, 0.8314986824989319, 0.08700855821371078, -0.22543808817863464, -0.8310079574584961, 0.18839214742183685, -0.4689039885997772, 0.8322271704673767, -0.47262418270111084, -0.2291582226753235, -0.20253394544124603, -0.23821185529232025, -0.28914809226989746, -0.4351072907447815, 0.4113099277019501, -0.9566407799720764, -0.13342240452766418, 0.020105566829442978, -0.5817516446113586, -0.20861028134822845, 0.030816074460744858, -0.6462444067001343, 1.222792625427246, 0.11787296086549759, -0.4532979726791382, 0.42940759658813477, -0.7427929043769836, -0.697472333908081, 0.1601548045873642, 0.09032003581523895, -0.5244547128677368, 0.4757942855358124, -0.0482347272336483, 0.5416686534881592, 0.032924361526966095, 0.3291865289211273, -0.10885714739561081, -0.5894201397895813, 0.018019285053014755, -0.29148802161216736, 0.5125985741615295, 0.2609159052371979, -0.43295595049858093, 0.05108685791492462, -0.7383747696876526, 0.03715561702847481, 0.045735061168670654, -0.7267695665359497, -0.41208887100219727, 0.14264898002147675, -0.05146530643105507, -0.2420472800731659, 0.14222145080566406, -0.32562267780303955, 0.1093273013830185, -0.7134899497032166, 0.47483572363853455, 0.6712706685066223, -0.36479082703590393, 0.6866511106491089, -0.09318142384290695, 0.14439664781093597, -0.2883542776107788, -0.10685762017965317, 0.125574991106987, -0.29527416825294495, -0.747894823551178, -0.5798906087875366, 0.29581403732299805, 0.4138803482055664, -0.7455611228942871, 0.5948501229286194, -0.3369871973991394, -0.41049325466156006, -0.3359256088733673, 0.5838434100151062, 0.4529955983161926, 0.4851214289665222, 0.4025105834007263, -0.2640972137451172, -0.4822041690349579, -0.7278891205787659, -0.4094755947589874, 0.23490722477436066, 0.1393241137266159, 0.2540186941623688, 0.3840840756893158, -0.13767695426940918, 0.6834596991539001, -0.16426272690296173, 0.04280219227075577, -0.6147243976593018, -0.024233432486653328, 0.3334735631942749, 0.48423707485198975, 0.15315017104148865, -0.683201014995575, -0.2500605881214142, 0.08020411431789398, -0.4531073570251465, -0.2855338454246521, -0.1734984964132309, 0.03782274201512337, 0.22972489893436432, 0.6445564031600952, -0.6592506170272827, 0.031801749020814896, 0.4678761959075928, -0.05028007552027702, 0.1976911574602127, -0.3063164949417114, -0.2532568573951721, -1.0039206743240356, 0.10913841426372528, 0.16148482263088226, -0.29884353280067444, -0.8446558117866516, -0.3130216598510742, 0.03572198748588562, 0.010253406129777431, -0.31145569682121277, 0.6385639905929565, -0.5555561184883118, -0.2606963515281677, -0.1843138337135315, -0.1304118037223816, -0.14464952051639557, 0.7711899280548096, 0.034909892827272415, 0.8986935019493103, 0.2761400640010834, -0.686578631401062, -0.3247394263744354, -0.023897184059023857, -0.5121462345123291, -0.18271878361701965, -0.8412868976593018, -0.054767265915870667, -0.1691911816596985, 0.2089138925075531, -0.8341385126113892, -0.1616588681936264, -0.047683872282505035, -0.233148992061615, 0.5127524733543396, -0.09155893325805664, -0.3896650969982147, 0.26790449023246765, -0.17801883816719055, 0.5110567212104797, 0.7178485989570618, -0.8593262434005737, 0.644839882850647, 0.33420324325561523, 0.002136500785127282, -0.9236693978309631, -0.5884440541267395, -0.036404259502887726, -0.12925300002098083, -0.5709384083747864, 0.4258847236633301, 0.3050784170627594, 0.22479644417762756, -0.12879648804664612, -0.16974763572216034, -0.09014756232500076, 0.6231852173805237, 0.018647484481334686, -0.05402861908078194, -0.2422705590724945, 0.3412250578403473, 0.2530561685562134, -0.2310672402381897, -0.0762563943862915, -0.3128296732902527, 0.7409563064575195, -0.05160200968384743, -0.2464146912097931, -0.5070475339889526, 0.21797099709510803, 0.27695930004119873, -0.1554735153913498, 0.7256926894187927, 0.45234599709510803, -0.30149132013320923, -0.47881367802619934, -0.7314612865447998, -0.3774658739566803, -0.49146780371665955, 0.6739206314086914, -0.3663293123245239, -1.0342494249343872, 0.23147957026958466, -0.45832329988479614, 0.2957994043827057, 0.061232563108205795, 0.47074615955352783, 0.03729446977376938, 0.8608882427215576, 0.7035640478134155, 0.13117027282714844, 0.8990493416786194, -0.4475618898868561, 0.28709301352500916, -0.7799157500267029, -0.24639873206615448, -0.2525276243686676, -0.37965983152389526, -0.37215912342071533, -0.5108989477157593, 0.2684025466442108, 0.26377904415130615, -0.3434749245643616, 0.32951709628105164, -0.15039116144180298, 0.6165830492973328, 0.28713634610176086, 0.3695414364337921, 0.13783803582191467, 0.448397159576416, 0.05026322603225708, 0.2814626693725586, -1.1752023696899414, -0.6280849575996399, 0.8944726586341858, 0.5595435500144958, 0.769293487071991, -0.04273805022239685, 0.8077831864356995, 0.02420859783887863, 0.5345017313957214, -0.8613585233688354, 0.6093482971191406, -0.16823707520961761, -0.13267609477043152, -0.24263256788253784, -0.7450470924377441, -1.090346336364746, 0.18234491348266602, -0.3392748534679413, -0.6207498908042908, 0.09236133098602295, 0.2864595949649811, -0.22389468550682068, 0.2605888843536377, -0.9014295339584351, 0.7879870533943176, -0.16961154341697693, -0.6833989024162292, -0.44130954146385193, -0.41363051533699036, 0.2999277710914612, 0.03330903500318527, 0.15409617125988007, 0.006574725266546011, -0.4617510139942169, 0.6732796430587769, -0.3043455481529236, 0.9187710285186768, -0.3239174783229828, -0.0624745637178421, 0.13158787786960602, -0.16675297915935516, 0.6737725138664246, -0.03777247294783592, -0.3485821485519409, 0.27965545654296875, -0.7771218419075012, -0.6204617023468018, -0.6340599060058594, 0.5283448696136475, -0.7859524488449097, -0.3956705927848816, 0.06236870214343071, -0.4231688976287842, -0.2583734393119812, 0.12157979607582092, 0.3118686079978943, 0.5451666116714478, -0.17472460865974426, 0.16945642232894897, 0.8871633410453796, -0.09637624025344849, 0.4444926381111145, 0.16713637113571167, 0.25352829694747925, -0.4173843264579773, 0.8762956261634827, 0.25809988379478455, 0.3122754991054535, 0.5469447374343872, 0.14887358248233795, -0.4521694779396057, -0.8539621829986572, -0.4301355183124542, 0.2492227405309677, -0.5026473999023438, -0.14864222705364227, -0.8375315070152283, -0.23387138545513153, -0.052956219762563705, -0.4511999785900116, -0.5016838908195496, -0.3931906223297119, -0.34356504678726196, -0.1883379966020584, 0.27484825253486633, 0.43324363231658936, 0.0024093317333608866, 0.9076229929924011, -0.5502643585205078, 0.1486017107963562, 0.27264559268951416, 0.46139487624168396, 0.004248877055943012, -0.6769949793815613, -0.3243343234062195, -0.17605918645858765, -0.21422994136810303, -0.6135051846504211, 0.4647327959537506, 0.5187697410583496, 0.6677601933479309, 0.23946547508239746, -0.31895288825035095, 0.6627694964408875, -0.5936898589134216, 0.46122249960899353, 0.37940794229507446, -0.9634034633636475, 0.08917004615068436, -0.04523663595318794, -0.02356533706188202, 0.43986016511917114, 0.32734182476997375, 0.01621568389236927, -0.16103793680667877, -0.6138520836830139, -0.960576057434082, 0.39547842741012573, 0.04087537154555321, 0.48701056838035583, -0.08174347132444382, 0.5853561162948608, 0.1679232120513916, 0.09269332140684128, -1.044752597808838, 0.02092391438782215, -0.03183254227042198, -0.22768791019916534, -0.0987217128276825, -0.6236066222190857, 0.08870065212249756, -0.0405617281794548, 0.7866815328598022, -0.15597966313362122, 0.16782090067863464, 0.10922682285308838, -0.485347181558609, 0.016280101612210274, 0.4237920045852661, 0.48366737365722656, 0.45740512013435364, 0.06860770285129547, 0.2656736671924591, 0.6189446449279785, -0.28449946641921997, 0.24509446322917938, -0.06689238548278809, -0.08000103384256363, -0.06373050063848495, 0.3371502459049225, 0.9664286375045776, 0.5569028258323669, -0.5723584890365601, 0.41192305088043213, -0.010195918381214142, -0.3400621712207794, -0.1311466544866562, 0.2165052592754364, 0.29498645663261414, 0.29168418049812317, 0.2467787265777588, 0.012381089851260185, 0.06071095913648605, -0.16895532608032227, 0.12814012169837952, 0.6555654406547546, -0.12519046664237976, -0.20908363163471222, 0.5277242064476013, 0.45544472336769104, -0.3731203079223633, 0.43415820598602295, -0.2440747618675232, -0.4343126118183136, 0.5400046706199646, 0.695229709148407, 0.9128528833389282, -0.28527936339378357, -0.12048498541116714, 0.29065918922424316, 0.3761095404624939, -0.2927873730659485, 0.3424430191516876, -0.33843493461608887, -0.777467668056488, -0.9220969080924988, -0.7425305247306824, -0.020273592323064804, 0.10022544860839844, -0.28763601183891296, 0.2703857421875, -0.4418391287326813, -0.11802125722169876, -0.15636740624904633, -0.0077190641313791275, -0.27607810497283936, 0.10030276328325272, -0.05847550928592682, 1.1295965909957886, -0.8413180708885193, 0.9091147780418396, 0.520250141620636, 0.17092148959636688, -0.8938807845115662, -0.3144029676914215, -0.6352071762084961, -0.9699940085411072, 0.9679672122001648, 0.6127371788024902, -0.38365495204925537, 0.44530171155929565, -0.560154378414154, -0.520564615726471, 0.9743792414665222, 0.6315611004829407, -0.7126849889755249, 0.12875600159168243, -0.2953399121761322, 0.2594080865383148, -0.3820475935935974, 0.3784189522266388, 0.37238645553588867, 0.2917082905769348, 0.04598342627286911, -0.560300886631012, -0.003915633540600538, -0.31843695044517517, 0.09290488064289093, 0.35332784056663513, -0.513288140296936, 0.5287690162658691, -0.39063936471939087, -0.3470814824104309, -0.08250757306814194, 0.7362462282180786, 0.1541508585214615, 0.3900688886642456, 0.7865232229232788, 0.8329482078552246, 0.5997128486633301, 0.06880372762680054, 0.9437731504440308, -0.319017618894577, 0.16207517683506012, 0.7694855332374573, -0.21324071288108826, 0.9630594849586487, 0.5797559022903442, 0.20628345012664795, 0.3978408873081207, 0.5640625357627869, 0.22212348878383636, 0.6277697086334229, 0.2540781795978546, -0.6153847575187683, -0.5651569962501526, 0.04768669977784157, -0.08804802596569061, 0.33310458064079285, 0.5121075510978699, -0.22141502797603607, -0.27703726291656494, -0.09614696353673935, 0.07515726238489151, 0.02775784395635128, -0.23155371844768524, 0.9385597109794617, 0.1848776936531067, -0.5574706792831421, 0.9749457240104675, -0.12508559226989746, 0.7551190853118896, -0.8800084590911865, -0.06299968808889389, -0.17970480024814606, 0.07791543006896973, -0.2822951078414917, -0.16775590181350708, 0.28096839785575867, 0.047667305916547775, -0.11023375391960144, -0.3815882205963135, 0.6267837882041931, -0.4486089050769806, -0.25753387808799744, 0.38388359546661377, 0.48901835083961487, 0.16054324805736542, 0.10382331162691116, -0.6127527952194214, 0.11302949488162994, -0.1332872062921524, -0.70893394947052, 0.48284685611724854, 0.32407206296920776, 0.14936035871505737, 0.8553638458251953, 0.7983465790748596, 0.27302396297454834, 0.20007823407649994, 0.004288799595087767, 1.0535355806350708, -0.39962059259414673, -0.3048814535140991, -0.8588141798973083, 0.44060418009757996, -0.16390244662761688, -0.1597410887479782, 0.35251060128211975, 0.6592072248458862, 0.7186402678489685, 0.059473469853401184, 0.6607223749160767, 0.098532535135746, 0.0580277182161808, -0.8341628313064575, 0.6170589327812195, -0.8119655251502991, 0.6138471364974976, 0.2098183035850525, -0.8056862950325012, -0.21400752663612366, 0.8520569205284119, -0.4345926344394684, 0.18723174929618835, 0.4712211787700653, 1.2873167991638184, -0.1411837786436081, -0.14313742518424988, 0.5380927324295044, 0.20019467175006866, 0.2061208188533783, 0.6823624968528748, 0.7853140234947205, -0.2749162018299103, 0.43339240550994873, -0.1320039927959442, -0.5217717289924622, -0.3438934087753296, -1.0154162645339966, -0.7988660335540771, -0.24477267265319824, -0.2131613940000534, -0.25984710454940796, 0.44732972979545593, 1.1062473058700562, 0.880442202091217, -0.3671964108943939, -0.41247478127479553, -0.38573774695396423, 0.2818886339664459, -0.24794436991214752, -0.12185554206371307, 0.3601545989513397, -0.9605277180671692, -0.6822177767753601, 0.6453877091407776, 0.4348579943180084, -0.11072909086942673, 0.1796017438173294, -0.06671468168497086, -0.16380879282951355, 0.11346828937530518, 0.8697965145111084, 0.34927013516426086, -0.34062087535858154, -0.05081766098737717, -0.04716429114341736, -0.1772732436656952, 0.07687342911958694, 0.8403903841972351, -0.7322270274162292, 0.030556540936231613, 0.3038267195224762, 1.0307295322418213, 0.45854371786117554, -0.08865584433078766, 0.4706958532333374, -0.7502673268318176, 0.26446598768234253, 0.22518809139728546, 0.3899555802345276, 0.12496670335531235, -0.2823209762573242, 0.3378884196281433, 0.16455671191215515, -0.6469485759735107, -0.9036500453948975, 0.2696973979473114, -1.0321048498153687, -0.2680613100528717, 1.3744765520095825, -0.09949704259634018, -0.6112063527107239, -0.20708821713924408, -0.038138944655656815, 0.29392993450164795, -0.5476434230804443, 0.7589727640151978, 0.08325985819101334, -0.010743612423539162, -0.16695022583007812, -0.5930960774421692, 0.4616623818874359, 0.901968240737915, -0.8723435997962952, 0.09372969716787338, 0.19125723838806152, 0.38883814215660095, -0.23741403222084045, 0.7437913417816162, 0.1860199272632599, 0.24901194870471954, 0.03641374781727791, 0.17115749418735504, -0.2692492604255676, -0.2336876541376114, -0.2611372470855713, 0.2461014837026596, 0.1658228039741516, -0.14040178060531616 ]
http://arxiv.org/abs/2402.06125v1
http://arxiv.org/pdf/2402.06125v1
Language Model Sentence Completion with a Parser-Driven Rhetorical Control Method
2024-02-09T01:15:42
2024-02-09T01:15:42
Joshua Zingale, Jugal Kalita
cs.CL
cs.CL
Controlled text generation (CTG) seeks to guide large language model (LLM) output to produce text that conforms to desired criteria. The current study presents a novel CTG algorithm that enforces adherence toward specific rhetorical relations in an LLM sentence-completion context by a parser-driven decoding scheme that requires no model fine-tuning. The method is validated both with automatic and human evaluation. The code is accessible on GitHub.
[ -0.14219291508197784, -1.0405333042144775, 0.6756335496902466, 0.22083573043346405, -0.5162621736526489, 0.14711010456085205, -0.28096041083335876, -0.06140686199069023, -0.11849690228700638, 0.9005471467971802, -0.6843349933624268, -0.7790891528129578, -0.6962360143661499, 0.35020971298217773, -0.38371577858924866, 0.9329363703727722, 0.08557125180959702, 0.040096282958984375, 0.11035015434026718, 0.23823288083076477, -0.5115416049957275, -0.47692182660102844, -0.786188542842865, -0.8558852672576904, 0.30217820405960083, 0.08072483539581299, 0.9420986771583557, 1.0606359243392944, 0.30126604437828064, 0.19807864725589752, -0.23133742809295654, 0.16054655611515045, -0.40711790323257446, 0.1545751690864563, -0.20107024908065796, -0.5745091438293457, -0.4429076910018921, -0.02738032117486, 0.4630488455295563, 0.5672640204429626, -0.29666340351104736, -0.3207656145095825, 0.2263862043619156, 0.3090904951095581, -0.4718247056007385, 0.03444439172744751, -0.7799037098884583, 0.07196291536092758, -0.05910563841462135, -0.7033475041389465, -0.9854740500450134, -0.6407519578933716, 0.04422552511096001, -0.4556899666786194, 0.002104058163240552, 0.1680915206670761, 0.7835609912872314, 0.18081283569335938, -0.9004908800125122, -0.5145212411880493, -0.4621979594230652, 0.7589612603187561, -0.7871531844139099, -0.06531226634979248, 0.496962308883667, -0.04348240792751312, -0.4757072329521179, -0.6689476370811462, -0.2867705523967743, -0.5897840857505798, -0.2728140354156494, 0.1536676287651062, -0.15272018313407898, 0.7912303805351257, 0.37605589628219604, 0.45716121792793274, -0.6541165709495544, -0.201703280210495, -0.27457234263420105, -0.1409139782190323, 0.2859141230583191, 0.1857830137014389, 0.4897509515285492, -0.6882247924804688, -0.44229772686958313, 0.21942031383514404, -0.9638065695762634, -0.05651092901825905, 0.28869205713272095, 0.22899675369262695, -0.07502158731222153, 0.8865051865577698, -0.05255720764398575, 0.9228715300559998, 0.3786293566226959, 0.1790236532688141, -0.13829953968524933, -0.2860735356807709, -0.48682621121406555, 0.35809069871902466, 0.8204911351203918, 0.4610499143600464, 0.6711612939834595, 0.07428690791130066, -0.21985913813114166, 0.017224261537194252, 0.4159558117389679, -0.4972057640552521, 0.05628259852528572, 0.12365467101335526, -0.38098907470703125, -0.5001529455184937, -0.17457915842533112, -0.40835410356521606, -0.23510117828845978, -0.5763115286827087, -0.0022782497107982635, -0.4750445783138275, -0.0032904809340834618, 0.15786409378051758, -0.06967562437057495, 0.23141518235206604, 0.14456674456596375, -0.690548837184906, 0.22311347723007202, 0.6387529373168945, 0.9248555898666382, -0.23199857771396637, -0.16091014444828033, -0.7520627379417419, 0.5174941420555115, -0.43715736269950867, 0.6616054177284241, -0.6733771562576294, -0.6283622980117798, 0.3308779299259186, -0.11551541835069656, -0.27973783016204834, -0.3372971713542938, 0.6956433057785034, -0.6894361972808838, 0.41310548782348633, -0.17116887867450714, -0.9889465570449829, -0.09511931240558624, 0.41765037178993225, -0.5105555653572083, 0.9329785108566284, 0.20478034019470215, -0.8203708529472351, 0.17504876852035522, -0.4363217353820801, -0.41766074299812317, 0.27875635027885437, -0.35834482312202454, -0.18999077379703522, 0.18349775671958923, -0.020202159881591797, 0.45329734683036804, -0.2921530306339264, 0.8270813226699829, -0.14119763672351837, -0.3762105405330658, 0.07895829528570175, -0.13376113772392273, 0.9514606595039368, 0.4096411466598511, -0.28522375226020813, 0.48891180753707886, -1.0019103288650513, 0.30873557925224304, 0.004263836424797773, -0.8643149733543396, -0.17539362609386444, 0.002205426571890712, 0.22943022847175598, 0.06669007241725922, 0.43689414858818054, -0.2351895421743393, 0.4472000300884247, -0.4035125970840454, 0.6778221726417542, 0.6238000988960266, 0.22170235216617584, 0.5237837433815002, -0.6312433481216431, 0.8608853220939636, -0.4586733281612396, -0.3262953758239746, -0.41044536232948303, -0.22816012799739838, -0.7791661024093628, 0.07747741043567657, 0.17611795663833618, 0.7913104295730591, -0.6678831577301025, 0.8450073599815369, -0.012999474070966244, -0.15719002485275269, -0.012722641229629517, 0.12922066450119019, 0.6003357768058777, 0.39815059304237366, -0.06460508704185486, 0.21797482669353485, -0.7391902804374695, -0.8223274350166321, -0.18792863190174103, -0.021325984969735146, -0.23397374153137207, 0.09362342953681946, 0.18617679178714752, 0.0705818384885788, 0.7548776268959045, -0.47650912404060364, -0.1409667581319809, -0.7067847847938538, 0.4205741584300995, 0.03783058747649193, 0.4843907356262207, 0.5440039038658142, -0.3857101798057556, -0.5370521545410156, 0.10267668217420578, -0.6016376614570618, -0.6592655181884766, -0.23457565903663635, -0.1263522505760193, 0.20052006840705872, 0.9205251336097717, -0.504050612449646, 0.4939550757408142, 0.7796236872673035, -0.43684613704681396, 0.5094304084777832, -0.3554902970790863, 0.294132262468338, -1.272316336631775, 0.025713060051202774, -0.06360851228237152, -0.68589186668396, -0.7741873264312744, 0.19212575256824493, 0.08374274522066116, -0.12439271807670593, -0.37479308247566223, 0.2740830183029175, -0.3255755603313446, 0.446640282869339, -0.692136287689209, 0.22403177618980408, -0.018049990758299828, 0.5157558917999268, 0.18441489338874817, 0.8990206122398376, 0.247345432639122, -0.561955988407135, 0.09161649644374847, 0.17618273198604584, -0.029924314469099045, 0.4978998303413391, -1.0291802883148193, 0.11387713253498077, -0.04100368916988373, 0.22186002135276794, -1.037522554397583, -0.3978680968284607, 0.14225445687770844, -0.18913571536540985, -0.0005598746356554329, -0.13893286883831024, -0.5661647319793701, -0.07815397530794144, 0.029789211228489876, 0.35353872179985046, 0.5096009373664856, -0.19088011980056763, 0.6779283285140991, -0.030141590163111687, -0.2448897510766983, -0.05242776498198509, -0.8465516567230225, 0.1286199390888214, -0.17528848350048065, -0.41800832748413086, 0.30301612615585327, -0.1297731101512909, -0.2193252146244049, -0.32542818784713745, 0.3043918311595917, 0.07137027382850647, -0.23696453869342804, 0.1895863562822342, 0.04779331758618355, -0.1029641330242157, 0.12114633619785309, 0.3130243420600891, 0.055401068180799484, 0.10584679245948792, 0.06435666978359222, 1.0321059226989746, 0.18202531337738037, -0.2503200173377991, -0.5194126963615417, 0.5286256074905396, 0.49090132117271423, -0.012638870626688004, 0.31293585896492004, 0.221533864736557, -0.33138561248779297, -0.3721666932106018, -0.4036443531513214, -0.042267363518476486, -0.5366222262382507, 0.14115101099014282, -0.4184556007385254, -1.1485167741775513, 0.5425704121589661, -0.022298309952020645, -0.17133374512195587, 0.2523593306541443, 0.6013074517250061, 0.2577355206012726, 1.0720674991607666, 0.7987508773803711, 0.24180950224399567, 0.43454834818840027, 0.2621435225009918, 0.08824822306632996, -0.5147010684013367, 0.04469095170497894, -0.6121246814727783, -0.1094776913523674, -0.7630060911178589, 0.1533062756061554, 0.1506962776184082, 0.3373972475528717, -0.19007514417171478, 0.3482706844806671, -0.6711363196372986, 0.5671349167823792, 0.6946077346801758, 0.08743114769458771, 0.5221484303474426, -0.13629977405071259, -0.3875589668750763, -0.06507302820682526, -0.5950403213500977, -0.7587667107582092, 0.8770205974578857, 0.08218632638454437, 0.5999603867530823, -0.18146494030952454, 0.6818318367004395, 0.5076654553413391, 0.07697758823633194, -0.6687926650047302, 0.6637350916862488, -0.12473739683628082, -0.515415370464325, 0.12598036229610443, -0.3401564061641693, -0.9686400890350342, 0.0538424514234066, 0.10271553695201874, -0.8217018842697144, -0.3016493320465088, 0.28740760684013367, -0.23778551816940308, -0.029852066189050674, -0.5181094408035278, 0.5374487638473511, -0.01862005703151226, -0.04113265499472618, -0.33164313435554504, -0.34735310077667236, 0.5110654830932617, 0.17377084493637085, -0.23267912864685059, 0.010008196346461773, 0.05350572615861893, 0.662137508392334, -0.48645785450935364, 0.846777617931366, 0.03545984998345375, -0.1456996351480484, 0.5096244215965271, 0.4925219416618347, 0.7107878923416138, -0.16806648671627045, 0.03281799331307411, -0.2654483914375305, 0.0399596132338047, -0.42714357376098633, -0.36235544085502625, 0.7865198850631714, -0.5121696591377258, -0.8784566521644592, -0.4060038924217224, -0.8286104202270508, -0.04082318767905235, 0.5236250758171082, 0.5505660772323608, 0.06826998293399811, -0.1760873943567276, 0.3723635673522949, 0.6937088370323181, -0.3763352036476135, 0.5419407486915588, 0.15331140160560608, -0.5321019291877747, -0.7055564522743225, 0.22196301817893982, -0.11662572622299194, 0.5004185438156128, 0.40234997868537903, 0.19327996671199799, -0.12580467760562897, -0.6987297534942627, -0.1549059897661209, 0.12300015985965729, -0.6028690338134766, -0.10711735486984253, -0.6025517582893372, -0.565183162689209, -0.40227416157722473, -0.5354803800582886, 0.050727300345897675, -0.26315924525260925, -0.5323929190635681, -0.1862660050392151, 0.2811233699321747, 1.0787408351898193, 0.38934463262557983, 1.0090960264205933, -0.7611111998558044, 0.06236876919865608, 0.031884677708148956, 0.1366967260837555, -0.4063495397567749, -0.3863942325115204, 0.14365041255950928, -0.026317868381738663, -0.5573724508285522, -1.1127899885177612, 0.3613726794719696, -0.06191530078649521, 0.22342266142368317, 0.5767216682434082, -0.09928461164236069, 0.3710017800331116, -0.4089389741420746, 0.9082702398300171, 0.33137306571006775, -1.2929222583770752, 0.9856768846511841, -1.1014702320098877, 0.8623178601264954, 0.31394994258880615, -0.0997186154127121, -0.4788977801799774, -0.7146417498588562, -0.40679672360420227, -0.5155743360519409, 0.6455010771751404, 0.26486119627952576, 0.1139017790555954, -0.26908600330352783, 0.5398043394088745, -0.1606188714504242, 0.35977309942245483, -1.0235995054244995, 0.05832355469465256, -0.04325824975967407, -0.3033216595649719, 0.2495352327823639, -0.5195257663726807, -0.22675299644470215, 0.23948007822036743, 0.5325782895088196, -0.19319719076156616, -0.1614307463169098, 0.11571894586086273, -0.0012030776124447584, -0.20342013239860535, 0.6446281671524048, 0.9171704649925232, 0.7244415283203125, -0.16815976798534393, 0.07712807506322861, -0.15314744412899017, -0.29965025186538696, 0.20115120708942413, -0.01869218423962593, -0.7096866965293884, 0.0036155465058982372, 0.24406158924102783, 0.46727409958839417, 0.11594142019748688, -0.6829520463943481, 0.570330023765564, 0.06013468652963638, -0.592255175113678, -0.2882285714149475, 0.24201099574565887, -0.019476402550935745, 0.0875563994050026, 0.3305452764034271, -0.20705866813659668, 0.0020675002597272396, -0.16945256292819977, 0.3247518837451935, 0.4032297730445862, -0.35188862681388855, -0.10007666796445847, 0.8382039666175842, 0.02509636990725994, -0.4146207869052887, 0.3618799149990082, -0.20593230426311493, -0.49646255373954773, 0.6344044804573059, 0.7110317945480347, 0.9265132546424866, -0.09441415220499039, 0.27159583568573, 0.37008899450302124, 0.3323785364627838, -0.22753728926181793, 0.6124380230903625, 0.14904621243476868, -0.5547342300415039, -0.7799851298332214, -0.5237935185432434, -0.2386574149131775, 0.3902202546596527, -0.6515224575996399, 0.50255286693573, -0.8853186964988708, -0.24889783561229706, -0.38355550169944763, -0.08208811283111572, -0.27943524718284607, 0.2569558322429657, 0.04173123836517334, 1.018554925918579, -0.6021562218666077, 1.0268642902374268, 0.3485625386238098, -0.21483471989631653, -0.8548845052719116, -0.1700260490179062, 0.09879548847675323, -0.6077530980110168, 0.5754692554473877, -0.04247453808784485, -0.1992163062095642, -0.01141345128417015, -0.5383036732673645, -0.6211896538734436, 0.9849600195884705, 0.43988195061683655, -0.7970985770225525, -0.2891870439052582, 0.3445459008216858, 0.5484501719474792, -0.621309220790863, -0.07549049705266953, 0.5776888132095337, 0.6092277765274048, 0.2180367261171341, -0.9225620627403259, 0.21570679545402527, -0.10440519452095032, 0.3900180459022522, 0.2390330284833908, -0.5000879764556885, 0.5809666514396667, 0.1520255208015442, -0.1618659347295761, 0.3652613162994385, 0.6440354585647583, 0.5473719835281372, 0.10909492522478104, 0.2336827963590622, 0.6165376901626587, 0.6628064513206482, -0.23143470287322998, 0.9369029402732849, -0.5944209098815918, 0.2768104374408722, 1.4622725248336792, -0.25269004702568054, 0.6323749423027039, 0.4824192225933075, 0.10658092796802521, 0.27670934796333313, 0.5158069729804993, -0.07837486267089844, 0.45762500166893005, 0.28965097665786743, -0.2691236436367035, -0.2765781879425049, -0.3289507031440735, -0.15136897563934326, 0.5539059638977051, 0.20207582414150238, -0.9936134219169617, -0.40524500608444214, -0.03459213674068451, 0.30129575729370117, 0.5704609155654907, -0.3657594323158264, 0.7330747246742249, -0.07251905649900436, -0.9861341714859009, 0.7618218660354614, 0.1023968830704689, 0.48198598623275757, -0.7314614057540894, 0.04912518709897995, 0.07661867886781693, 0.06287139654159546, -0.09824739396572113, -0.5265547037124634, 0.5432198643684387, -0.09652829170227051, -0.23194563388824463, -0.521824300289154, 0.6432122588157654, -0.7214384078979492, -0.4231218695640564, 0.2563031315803528, 0.5688695907592773, -0.25004392862319946, 0.16006319224834442, -0.5002117156982422, 0.14505791664123535, 0.35968151688575745, -0.49486473202705383, -0.021158579736948013, 0.3388527035713196, 0.12288330495357513, 0.5941120386123657, 0.24436409771442413, 0.1723129004240036, 0.2906929552555084, 0.20024877786636353, 0.6944255828857422, -0.7510752081871033, -0.5033366084098816, -0.9459171295166016, 0.29195600748062134, 0.11426590383052826, -0.35117343068122864, 0.6211563348770142, 0.639850914478302, 0.7855058312416077, -0.04324443265795708, 1.1044926643371582, -0.19173291325569153, 0.226450577378273, -0.8430208563804626, 0.6440645456314087, -0.17247973382472992, 0.17992836236953735, 0.12009350955486298, -0.8263958096504211, -0.5284567475318909, 0.4813469350337982, -0.42298996448516846, 0.021654078736901283, 1.08443021774292, 0.9364129304885864, 0.005102740600705147, 0.041668735444545746, 0.5682989954948425, 0.045457832515239716, 0.4634658694267273, 0.7328967452049255, 0.6972689032554626, -0.17066241800785065, 0.6321681141853333, 0.049099426716566086, -0.18595321476459503, 0.14227774739265442, -1.1582386493682861, -1.2471680641174316, -0.3993188142776489, -0.41617169976234436, -0.5447086095809937, 0.015884535387158394, 1.1681784391403198, 0.5026953220367432, -0.7467831969261169, -0.3769160509109497, -0.7914822101593018, -0.09128950536251068, 0.11525414139032364, -0.29844680428504944, 0.2025952935218811, -0.44938474893569946, -0.9169194102287292, 0.18782752752304077, 0.3689800798892975, 0.053212396800518036, -0.18355149030685425, -0.06257741898298264, -0.4112758934497833, 0.4386133551597595, 0.39886248111724854, -0.15224824845790863, -1.0173497200012207, -0.2319975197315216, -0.15272068977355957, -0.4092680811882019, 0.1899295598268509, 1.3937017917633057, -0.4314666986465454, 0.2305610030889511, 0.6648185849189758, 0.3936285078525543, 0.10956377536058426, 0.08063887804746628, 0.9148313999176025, -0.7569290399551392, 0.04934293404221535, 0.17809757590293884, 0.5292935371398926, 0.039379775524139404, -0.5372821092605591, 0.17656494677066803, -0.07944124191999435, -0.7834177017211914, -0.37714579701423645, 0.5417453050613403, -1.0880932807922363, -0.32106515765190125, 1.4469413757324219, -0.1953236311674118, -0.3132575750350952, 0.15385566651821136, -0.7011730074882507, 0.385736882686615, -0.4956236183643341, 0.7032567262649536, 0.9785805940628052, -0.08025010675191879, -0.6329378485679626, -0.27780184149742126, 0.7005631923675537, 0.3090464770793915, -0.8338192701339722, 0.11420977860689163, 0.8097172379493713, 0.22665302455425262, -0.00843678880482912, 0.6578658819198608, -0.043194591999053955, 0.2625909745693207, -0.3577541708946228, 0.0048881759867072105, 0.01786067709326744, 0.007066395133733749, -0.4612221419811249, 0.7127737402915955, 0.048158299177885056, 0.2247621715068817 ]
http://arxiv.org/abs/2402.06120v1
http://arxiv.org/pdf/2402.06120v1
Exploring Group and Symmetry Principles in Large Language Models
2024-02-09T01:10:25
2024-02-09T01:10:25
Shima Imani, Hamid Palangi
cs.CL
cs.CL
Large Language Models (LLMs) have demonstrated impressive performance across a wide range of applications; however, assessing their reasoning capabilities remains a significant challenge. In this paper, we introduce a framework grounded in group and symmetry principles, which have played a crucial role in fields such as physics and mathematics, and offer another way to evaluate their capabilities. While the proposed framework is general, to showcase the benefits of employing these properties, we focus on arithmetic reasoning and investigate the performance of these models on four group properties: closure, identity, inverse, and associativity. Our findings reveal that LLMs studied in this work struggle to preserve group properties across different test regimes. In the closure test, we observe biases towards specific outputs and an abrupt degradation in their performance from 100% to 0% after a specific sequence length. They also perform poorly in the identity test, which represents adding irrelevant information in the context, and show sensitivity when subjected to inverse test, which examines the robustness of the model with respect to negation. In addition, we demonstrate that breaking down problems into smaller steps helps LLMs in the associativity test that we have conducted. To support these tests we have developed a synthetic dataset which will be released.
[ -0.3564833402633667, -0.4627820551395416, 0.7401206493377686, 0.11282544583082199, -0.14173920452594757, 0.06446806341409683, -0.16034869849681854, -0.19349193572998047, -0.032789215445518494, 0.43714046478271484, -0.25480005145072937, -0.5367773771286011, -0.4868135452270508, 0.3784945011138916, -0.4822121560573578, 0.612011730670929, -0.09335064888000488, 0.4141739010810852, -0.26675036549568176, -0.6123893857002258, -0.012755143456161022, -0.8415299654006958, -0.46785402297973633, -0.5199264883995056, 0.09511856734752655, 0.1127472072839737, 0.9902177453041077, 0.8150392770767212, 0.5362622737884521, 0.27859124541282654, -0.1368323564529419, -0.055706121027469635, -0.4554416835308075, -0.02179238758981228, -0.17419618368148804, -0.6917339563369751, -0.3876175880432129, 0.034286100417375565, 0.9430931210517883, 1.241369366645813, -0.35724613070487976, -0.0032181786373257637, -0.11780343949794769, 0.6486232876777649, -0.34022435545921326, 0.44927722215652466, -0.7331991195678711, -0.04264307767152786, -0.026388654485344887, 0.4943980872631073, -0.3336840569972992, -0.4242766499519348, -0.26143720746040344, -0.6357026696205139, 0.28135502338409424, 0.2156834751367569, 0.7114441990852356, -0.029456622898578644, -0.4864068329334259, -0.14790450036525726, -0.4137694239616394, 0.788480818271637, -0.9641781449317932, 0.6404873728752136, 0.5646189451217651, 0.21944014728069305, -0.271451860666275, -0.289543092250824, -0.6250302791595459, -0.06960812956094742, -0.08715023845434189, -0.06274950504302979, 0.15638329088687897, 0.2237900197505951, 0.4859566390514374, 0.7484778761863708, -0.628362774848938, 0.16979125142097473, -0.18529611825942993, -0.09972092509269714, 0.6480106711387634, 0.22539681196212769, 0.3690589368343353, 0.08891642838716507, 0.03927742317318916, -0.008815580978989601, -0.9608492255210876, 0.08530556410551071, 0.48766952753067017, 0.2223711460828781, -0.14754849672317505, 0.8193050622940063, -0.031639546155929565, 0.6841629147529602, -0.1394682377576828, -0.38034817576408386, 0.2271163910627365, -0.35766127705574036, -0.1728270798921585, -0.24633561074733734, 0.6341865658760071, 0.14170075953006744, 0.2678469717502594, -0.2539305090904236, -0.4077190160751343, 0.4530559480190277, -0.4807947874069214, -0.8063180446624756, -0.04447280243039131, -0.09243239462375641, -0.5949610471725464, -0.078606016933918, 0.2046431005001068, -0.3792373836040497, -0.23648977279663086, -0.6231794357299805, 0.33085158467292786, -0.5922726392745972, -0.2788262963294983, 0.5016791224479675, -0.11076828092336655, 0.2743005156517029, 0.3192187547683716, -1.237420678138733, 0.7632794380187988, 1.1776336431503296, 0.644986629486084, -0.1936275064945221, -0.30495330691337585, -0.5450034141540527, 0.16005615890026093, -0.4192739427089691, 0.34711402654647827, -0.7752261161804199, -0.25129950046539307, -0.16459940373897552, -0.197771817445755, -0.10530762374401093, -0.5109944939613342, 0.32962584495544434, -0.36392971873283386, 0.3605445921421051, -0.3711927831172943, -0.6817396879196167, -0.17593489587306976, 0.2811787724494934, -0.6902594566345215, 0.444519579410553, -0.05414346978068352, -0.42060187458992004, 0.12209727615118027, -0.3840574622154236, -0.3810930848121643, -0.29327136278152466, -0.6020656228065491, -0.22617098689079285, 0.5065780878067017, 0.08472438901662827, 0.19287550449371338, -0.5708193778991699, 0.19315172731876373, -0.7302237153053284, -0.4110586941242218, 0.26282280683517456, -0.2457062005996704, 0.9074475765228271, 0.05799460411071777, 0.004763627890497446, -0.12338379770517349, -0.7902999520301819, 0.15860112011432648, 0.05001252517104149, -0.10034438222646713, -0.4870541989803314, 0.09385759383440018, -0.8110871911048889, 0.13239401578903198, -0.04983915016055107, -0.27813300490379333, 0.4871310889720917, -0.5637863278388977, 0.537993311882019, 0.9865763783454895, -0.17543324828147888, 0.5085738897323608, -0.23170040547847748, 0.4725722670555115, -0.09497330337762833, 0.06723605841398239, -0.23737621307373047, -0.5046559572219849, -0.6108296513557434, -0.36056700348854065, 0.060768526047468185, 0.32610902190208435, -0.4749087989330292, 0.5095314979553223, -0.29570186138153076, -0.18076913058757782, -0.1759653389453888, 0.4733898341655731, 0.49778541922569275, 0.3368397057056427, 0.11354531347751617, -0.21805378794670105, -0.07160734385251999, -0.9240203499794006, -0.3716607391834259, -0.48105424642562866, -0.108071468770504, 0.03921215608716011, 0.37076616287231445, -0.04732165113091469, 0.6711703538894653, -0.4841589331626892, 0.1354883909225464, -0.07448915392160416, -0.12064014375209808, 0.7199409008026123, -0.034945011138916016, 0.3585909605026245, -0.7805308699607849, -0.09452097117900848, -0.08565037697553635, -1.0307470560073853, -0.40889206528663635, 0.34263595938682556, -0.025503087788820267, 0.2781819999217987, 0.29677802324295044, -0.9025618433952332, 0.4449428915977478, 0.8076333403587341, -0.5472946166992188, 0.5484673380851746, 0.28524303436279297, 0.06001533940434456, -0.9738566875457764, -0.23636402189731598, -0.03478660061955452, -0.11295704543590546, -0.4767179787158966, 0.2791885733604431, -0.13212618231773376, -0.23863811790943146, -0.1484101265668869, 0.5579627156257629, -0.6790770292282104, -0.3432128429412842, -0.020112888887524605, -0.11776922643184662, 0.38168469071388245, 0.1649327278137207, -0.1873096227645874, 0.5970554947853088, 0.618718147277832, -0.6949996948242188, 0.333543598651886, 0.19531354308128357, -0.20972010493278503, 0.3874832093715668, -0.7405202388763428, 0.03539547696709633, -0.2592046558856964, 0.017898783087730408, -1.0363234281539917, -0.20075587928295135, 0.003745785215869546, -0.3645890951156616, 0.23345041275024414, -0.184493750333786, -0.8044622540473938, -0.09118909388780594, -0.23210953176021576, 0.7095750570297241, 0.6612240672111511, -0.4086102247238159, 0.8987849950790405, 0.31174424290657043, -0.017609456554055214, -0.369834840297699, -0.3978043496608734, -0.2311418503522873, -0.6073535680770874, -0.9360001087188721, 0.1400332897901535, -0.11368262767791748, -1.0526907444000244, -0.11156930029392242, -0.15483985841274261, 0.08095462620258331, 0.17030154168605804, 0.1590930074453354, 0.21783824265003204, -0.31114959716796875, 0.4253447651863098, -0.17520885169506073, -0.03158547356724739, 0.1888425350189209, -0.19423584640026093, 0.7102421522140503, -0.45255354046821594, -0.6780551075935364, -0.0062719169072806835, 0.3341132402420044, 0.7873974442481995, -0.3476337492465973, 0.8762146234512329, -0.03410862758755684, -0.4586292803287506, -0.061090245842933655, -0.5949246883392334, -0.3348879814147949, -0.5027763843536377, 0.3048642873764038, -0.39802786707878113, -0.8309983015060425, 1.0238521099090576, 0.13479599356651306, -0.028403548523783684, 0.33729973435401917, 0.5786241292953491, 0.24558860063552856, 1.120850920677185, 0.35781633853912354, -0.15350309014320374, 0.0630679503083229, -0.06694705784320831, 0.4647861123085022, -0.7292816638946533, 0.013217386789619923, -0.3206392228603363, 0.09824330359697342, -0.34266167879104614, -0.33143725991249084, 0.4657123386859894, 0.6061752438545227, -0.4739012122154236, -0.019372913986444473, -0.005966225638985634, 0.6089239716529846, 0.04489175230264664, -0.1481793075799942, 0.5660278797149658, -0.002780199283733964, -0.2266020029783249, -0.10965635627508163, -0.26039057970046997, -0.6393643617630005, 0.9786243438720703, 0.42728739976882935, 1.121852993965149, 0.5394251346588135, 0.6211327314376831, -0.16877900063991547, 0.42004120349884033, -0.7911542654037476, 0.8184843063354492, -0.18601027131080627, -0.40728628635406494, -0.4895158112049103, -0.7498114109039307, -0.648917019367218, 0.6346811652183533, 0.016362814232707024, -0.7779081463813782, -0.030566222965717316, 0.19076427817344666, 0.1873297393321991, 0.3737790584564209, -0.687162458896637, 0.5507068634033203, -0.35783588886260986, -0.34182167053222656, 0.013042911887168884, -0.41930973529815674, 0.7824589610099792, -0.25917375087738037, 0.4334384799003601, -0.277282178401947, 0.05384119600057602, 0.3808196485042572, -0.48679086565971375, 0.6294124126434326, 0.1622132509946823, -0.37375205755233765, 0.049958325922489166, 0.40424439311027527, 0.4605821967124939, 0.15972085297107697, -0.5322490334510803, 0.5361723899841309, -0.17463645339012146, -0.14966042339801788, -1.0297842025756836, 0.6615667939186096, -0.6466754078865051, -0.9746429324150085, -0.27018508315086365, -0.682253897190094, -0.32664933800697327, 0.43770018219947815, 0.0317559652030468, 0.4161185324192047, 0.013381468132138252, 0.3170710802078247, 0.6524596214294434, -0.02079237625002861, 0.3234122097492218, 0.49769872426986694, -0.966253936290741, -0.49936047196388245, 0.6634470224380493, 0.09969636052846909, 0.889644205570221, 0.16086523234844208, 0.4374869465827942, -0.3984781503677368, -0.4489760398864746, -0.19079652428627014, 0.5839637517929077, -0.841535747051239, -0.015625298023223877, -0.3248620629310608, -0.06376311182975769, -0.7655972838401794, 0.2676909863948822, -0.2798374891281128, -0.8060004711151123, -0.10563268512487411, -0.11680252104997635, 0.02693825401365757, 0.5353124737739563, 0.0263995248824358, -0.08223288506269455, -0.545606255531311, 0.6472060084342957, 0.242079958319664, 0.25090911984443665, -0.1431063860654831, -0.5258132815361023, 0.10887551307678223, 0.0826893150806427, -0.2935221791267395, -0.7532312273979187, 0.18810227513313293, 0.20676450431346893, 0.7660214304924011, 0.5581400394439697, -0.10172748565673828, 0.5094765424728394, -0.5987451076507568, 0.5893138647079468, 0.3108048737049103, -1.256232738494873, 0.12331444770097733, -0.5093811750411987, -0.040038179606199265, 0.34265628457069397, 0.22035619616508484, -0.31367772817611694, -0.33380571007728577, -0.38889580965042114, -0.5856742262840271, 0.1654018759727478, 0.45059528946876526, -0.015297388657927513, 0.1839045137166977, 0.4844932556152344, -0.02328832820057869, 0.3833863437175751, -0.9065694808959961, -0.33339723944664, -0.2979344129562378, -0.3148622214794159, -0.10367792099714279, 0.030453763902187347, -0.2921657860279083, -0.38602975010871887, 0.34543925523757935, -0.2539062201976776, -0.01986577920615673, -0.14107857644557953, 0.18870021402835846, 0.005191045813262463, 0.2502804696559906, 0.5333566069602966, 1.1068209409713745, 0.12096162885427475, 0.16890981793403625, 0.18093444406986237, -0.16767370700836182, 0.5278182029724121, 0.030438527464866638, 0.01462126336991787, -0.3450259566307068, 0.6184024810791016, 0.42502182722091675, -0.03754619508981705, -0.37017014622688293, 0.4249153733253479, -0.08895580470561981, -0.26109442114830017, -0.26064446568489075, 0.16460123658180237, 0.12818774580955505, -0.05723077431321144, 0.3940035402774811, -0.33059409260749817, 0.03325168415904045, -0.901290237903595, 0.08053655922412872, 0.6476922631263733, 0.19631347060203552, -0.512190043926239, 0.24356038868427277, -0.24200858175754547, -0.34820669889450073, 0.4798314869403839, -0.2220015525817871, -0.7493496537208557, 0.6018376350402832, 0.7576963305473328, 0.5474466681480408, -0.456053227186203, -0.14920537173748016, 0.0077026356011629105, 0.4469904899597168, -0.3978547751903534, 0.2547098398208618, 0.22802580893039703, -1.0138075351715088, -0.3998938202857971, -0.5529277324676514, -0.3930792808532715, 0.10134398937225342, -0.733073353767395, 0.23099590837955475, -0.5651455521583557, -0.009729769080877304, -0.21986614167690277, -0.32762548327445984, -0.2963365614414215, 0.07509756088256836, 0.08077986538410187, 0.5922252535820007, -1.0121020078659058, 0.4130525588989258, 0.5706254839897156, -0.16367512941360474, -0.8908402919769287, -0.02401065267622471, 0.2024364322423935, -1.1097190380096436, 0.7576466798782349, 0.4084920585155487, -0.10073547065258026, -0.2385583370923996, -0.6018856167793274, -1.2292325496673584, 0.8133476376533508, 0.7870463728904724, -0.5188723206520081, -0.1769283264875412, 0.323793888092041, 0.6332871913909912, -0.4290250837802887, 0.02692514657974243, 0.37558528780937195, 0.5223907828330994, 0.2520238757133484, -1.0010242462158203, 0.07582351565361023, -0.26996690034866333, -0.09036949276924133, 0.3695753812789917, -0.8662634491920471, 1.271089792251587, -0.1603168249130249, -0.21536527574062347, 0.02177281677722931, 0.4851641356945038, 0.7771467566490173, 0.21781347692012787, 0.5689324736595154, 1.0166304111480713, 0.7638577818870544, -0.14993064105510712, 1.0404771566390991, -0.28370940685272217, 0.3622806966304779, 0.7818346619606018, -0.7172443866729736, 0.44890812039375305, 0.44763392210006714, -0.12920089066028595, 0.48025810718536377, 0.1298896223306656, 0.04661214351654053, 0.3353402614593506, 0.6421934962272644, -0.24350717663764954, -0.404440313577652, -0.046412356197834015, -0.4985118806362152, 0.46941107511520386, 0.5732976198196411, -0.45270413160324097, -0.2166520059108734, -0.21224446594715118, 0.08018498122692108, 0.20615911483764648, -0.43707937002182007, 0.5152037143707275, 0.5255419015884399, -0.568345308303833, 0.46238401532173157, 0.04766951873898506, 0.06005958467721939, -0.49357593059539795, -0.35792356729507446, -0.21108423173427582, 0.4178917407989502, -0.1161177009344101, -0.6290153861045837, 0.17413319647312164, -0.3960433006286621, -0.2922680675983429, 0.11643887311220169, 0.4228630065917969, -0.3603760302066803, -0.890626847743988, 0.16397127509117126, 0.20291858911514282, 0.10391730815172195, 0.20075784623622894, -0.44797906279563904, 0.41533344984054565, -0.1602916717529297, -0.05133727937936783, 0.17305949330329895, 0.7148333191871643, -0.12472136318683624, 0.860602855682373, 0.7069647312164307, 0.23394565284252167, -0.025446094572544098, 0.1636265218257904, 1.0212002992630005, -0.8093313574790955, -0.3889573812484741, -1.3066917657852173, 0.20035023987293243, -0.052919380366802216, -0.1261688619852066, 1.0527021884918213, 0.7112284302711487, 0.5786476135253906, 0.3721878230571747, 0.5686293840408325, 0.4724166691303253, 0.33780500292778015, -0.9946709871292114, 0.4228264391422272, -0.28286635875701904, 0.5683996677398682, -0.34652766585350037, -1.0482909679412842, -0.47127270698547363, 0.860653817653656, -0.27734896540641785, 0.2682186961174011, 0.8585567474365234, 0.5967523455619812, -0.1870754361152649, 0.10778720676898956, 0.44809287786483765, 0.3012254238128662, 0.8759428262710571, 0.7228935360908508, 0.8814687728881836, -0.3909200429916382, 0.21796172857284546, 0.08750452101230621, -0.21263018250465393, 0.2794898450374603, -0.9369632601737976, -1.304347038269043, -0.21034860610961914, -0.07675551623106003, -0.5394112467765808, -0.2266848236322403, 0.6774637699127197, 0.5160120129585266, -0.4537620544433594, -0.3496832251548767, -0.16647933423519135, 0.18653210997581482, 0.17572124302387238, -0.25149446725845337, 0.30535566806793213, -0.042887330055236816, -0.33302244544029236, 0.13528437912464142, 0.36357381939888, 0.1726108342409134, -0.49785271286964417, -0.21956001222133636, 0.22146989405155182, 0.07146051526069641, 0.5092604756355286, 0.19362220168113708, -0.8822762370109558, -0.23553788661956787, 0.03642397001385689, 0.04826099053025246, -0.1266455352306366, 0.8214197158813477, -0.4020715355873108, 0.176642507314682, 0.3255126178264618, 0.5246420502662659, 0.08982271701097488, 0.410083144903183, 0.8448552489280701, -0.29334840178489685, 0.10241948813199997, 0.23117023706436157, 0.81736159324646, 0.36783841252326965, -0.14440099895000458, 0.6020201444625854, 0.37662068009376526, -0.48831936717033386, -1.0464977025985718, 0.5267916917800903, -0.5046943426132202, 0.040108393877744675, 1.3681623935699463, -0.2630097568035126, -0.1757083684206009, 0.062287334352731705, 0.2514856457710266, -0.24725914001464844, -0.21050626039505005, 0.8246434926986694, 1.0880311727523804, -0.2433827966451645, -0.1273784339427948, 0.0031205967534333467, 0.10613494366407394, 0.528847873210907, -0.7828183174133301, 0.20629562437534332, 0.7011234164237976, 0.3153265714645386, 0.3078347444534302, 0.4870893955230713, -0.4008781313896179, -0.05789484456181526, -0.3942275643348694, -0.2182997763156891, -0.1298064887523651, -0.2763086259365082, -0.4496174454689026, 0.1541174352169037, 0.03750618174672127, 0.2041352242231369 ]
http://arxiv.org/abs/2402.06094v1
http://arxiv.org/pdf/2402.06094v1
Rethinking Data Selection for Supervised Fine-Tuning
2024-02-08T23:02:04
2024-02-08T23:02:04
Ming Shen
cs.CL
cs.CL
Although supervised finetuning (SFT) has emerged as an essential technique to align large language models with humans, it is considered superficial, with style learning being its nature. At the same time, recent works indicate the importance of data selection for SFT, showing that finetuning with high-quality and diverse subsets of the original dataset leads to superior downstream performance. In this work, we rethink the intuition behind data selection for SFT. Considering SFT is superficial, we propose that essential demonstrations for SFT should focus on reflecting human-like interactions instead of data quality or diversity. However, it is not straightforward to directly assess to what extent a demonstration reflects human styles. Towards an initial attempt in this direction, we find selecting instances with long responses is surprisingly more effective for SFT than utilizing full datasets or instances selected based on quality and diversity. We hypothesize that such a simple heuristic implicitly mimics a crucial aspect of human-style conversation: detailed responses are usually more helpful.
[ -0.8023005723953247, -1.0924605131149292, 0.5015279054641724, 0.23604440689086914, -0.3345472514629364, 0.011888914741575718, -0.6785324215888977, -0.42899826169013977, 0.19095756113529205, 0.307810515165329, -0.7626370191574097, -0.409258633852005, -0.188720703125, 0.14989742636680603, -0.6870924234390259, 1.246842622756958, 0.12386710196733475, -0.2020808309316635, -0.26143133640289307, -0.055220603942871094, -0.45542293787002563, -0.18863371014595032, -0.9317222833633423, -0.426917165517807, 0.5259751081466675, 0.8825445771217346, 0.9081082940101624, 0.9495106339454651, 0.3917403221130371, 0.19797246158123016, 0.09673646837472916, 0.28763267397880554, -0.8749098777770996, 0.13901513814926147, -0.21794329583644867, -0.5017882585525513, 0.046457190066576004, 0.24885861575603485, 0.1514483392238617, 1.0220755338668823, 0.14049015939235687, 0.14762020111083984, 0.38396599888801575, 1.0886154174804688, -0.34377172589302063, -0.027228251099586487, -0.5516521334648132, 0.06550159305334091, -0.2926831841468811, 0.0019022146007046103, -0.2188362181186676, -0.11491736024618149, 0.36284929513931274, -0.671296238899231, 0.7140735983848572, 0.06171179935336113, 0.8761182427406311, 0.5548504590988159, -0.3409602642059326, 0.07010383903980255, -0.8625686764717102, 0.7237917184829712, -0.41104191541671753, 0.5616775751113892, 0.6376754641532898, 0.5235925316810608, -0.024470612406730652, -0.5074280500411987, -0.2922130525112152, -0.40119749307632446, -0.21675889194011688, 0.11182747036218643, 0.13840819895267487, -0.0017249754164367914, 0.4619845449924469, 0.5360816121101379, -0.4278427064418793, 0.4330730736255646, -0.46957889199256897, -0.04901066794991493, 0.8870371580123901, 0.11066143959760666, -0.271712064743042, -0.04389486089348793, -0.11663844436407089, -0.23905836045742035, -0.5944571495056152, 0.3393624424934387, 0.41466477513313293, 0.5375750660896301, -0.1512984186410904, 0.3553240895271301, -0.8550986647605896, 0.673486053943634, 0.48764997720718384, 0.10960973054170609, 0.09040533006191254, -0.3576790988445282, -0.2327026128768921, -0.21549390256404877, 0.9212689995765686, 0.5700803995132446, 0.7156214118003845, -0.20106469094753265, -0.17921435832977295, -0.16177721321582794, 0.5473055243492126, -0.8381933569908142, -0.4784793555736542, 0.11519281566143036, -0.4043247401714325, -0.38040223717689514, 0.3253442645072937, -0.9142204523086548, -0.04165342077612877, -0.9051241874694824, 0.057500772178173065, -0.30335623025894165, -0.19463658332824707, 0.1255960762500763, -0.05120968073606491, -0.1208416223526001, 0.2548123300075531, -1.1080472469329834, 0.39695292711257935, 0.781830906867981, 0.49242275953292847, -0.27828824520111084, -0.27899959683418274, -0.5780996084213257, -0.19940806925296783, -0.6836905479431152, 0.7169427871704102, -0.5456565022468567, -0.4792347550392151, -0.3125167191028595, 0.06878097355365753, 0.3186579644680023, -0.4160284698009491, 0.6773434281349182, -0.10926695913076401, 0.21872273087501526, -0.42707347869873047, -0.28402701020240784, 0.0050643314607441425, -0.163599893450737, -0.7029961943626404, 0.9808416962623596, 0.3474093973636627, -0.6991270780563354, 1.1233307123184204, -0.3519160747528076, -0.6767691373825073, -0.14125044643878937, -0.3358570635318756, -0.6363252401351929, 0.07099194079637527, 0.396404504776001, 0.9381128549575806, -0.055397190153598785, 0.3257017731666565, -0.7034021615982056, -0.7898934483528137, 0.2299271821975708, -0.45354804396629333, 0.18763379752635956, 0.5363022685050964, -0.5026089549064636, 0.1518884003162384, -0.7047308087348938, 0.07014674693346024, -0.021247681230306625, -0.3441314399242401, -0.47512346506118774, 0.08682896941900253, 0.11154007166624069, 0.12190268188714981, -0.31428951025009155, -0.44046086072921753, 0.15721391141414642, -0.38315725326538086, 0.4852724075317383, 0.7917307019233704, -0.20828525722026825, 0.5454750657081604, -0.48413893580436707, 0.25144127011299133, -0.36429136991500854, 0.15916787087917328, 0.27097025513648987, -0.023336214944720268, -0.4471573233604431, -0.33098527789115906, 0.40931472182273865, 0.2719591557979584, -0.693040668964386, 0.26232072710990906, -0.29632458090782166, -0.46950170397758484, -0.7706617712974548, 0.42750629782676697, 0.3892010748386383, 0.39102599024772644, 0.3653649389743805, -0.31347963213920593, -0.42221978306770325, -1.2341406345367432, -0.19768843054771423, 0.1788347214460373, -0.18127773702144623, 0.476457417011261, 0.05849317088723183, -0.16706658899784088, 1.2833764553070068, -0.6024149656295776, 0.006356424652040005, -0.20519223809242249, -0.019371842965483665, 0.022213000804185867, 0.5851874351501465, 1.0839704275131226, -0.7657685279846191, -0.45991650223731995, 0.035978998988866806, -0.472184956073761, -0.09807222336530685, -0.4348472058773041, -0.28365233540534973, 0.007526564411818981, 0.5831140279769897, -0.27796822786331177, 0.4493248164653778, 0.27606478333473206, -0.10456354171037674, 0.5370418429374695, 0.030290963128209114, 0.28202417492866516, -0.9080426096916199, -0.2299104630947113, 0.40631532669067383, -0.38362616300582886, -0.3485102951526642, -0.09800411015748978, 0.029951022937893867, 0.10172542184591293, -0.17385511100292206, 0.3847354054450989, -0.23094360530376434, 0.018437394872307777, -0.18870232999324799, -0.1732030063867569, -0.15788017213344574, 0.5266662836074829, -0.03751015663146973, 0.854954183101654, 0.49594640731811523, -0.6561464667320251, 0.1889774054288864, 0.20404283702373505, -0.32353559136390686, 0.798708975315094, -0.7955968976020813, 0.16419954597949982, -0.009028258733451366, 0.17936542630195618, -1.1038061380386353, -0.6205393075942993, -0.2608156204223633, -0.2809523344039917, 0.4130622446537018, -0.3476523756980896, -0.5432154536247253, -0.49130091071128845, -0.36890602111816406, 0.1830676645040512, 0.4745379090309143, -0.68952476978302, -0.09094437211751938, 0.060563910752534866, -0.13117463886737823, -0.176808699965477, -0.5103365778923035, -0.06821350008249283, -0.5631214380264282, -0.6164320111274719, 0.1657686084508896, -0.09526079893112183, -0.29006385803222656, -0.5101762413978577, -0.2551741302013397, -0.04833025857806206, 0.5316798090934753, 0.24461500346660614, 0.021650712937116623, -0.18644823133945465, -0.011007668450474739, 0.3772432804107666, 0.029741376638412476, -0.13305909931659698, -0.009492033161222935, 0.3233281075954437, -0.11292111873626709, -0.41605082154273987, -0.735740065574646, 0.36188364028930664, 0.34866923093795776, -0.10973693430423737, 0.33481284976005554, 0.9230815172195435, 0.14071735739707947, -0.2273857444524765, -0.6103517413139343, -0.6289902329444885, -0.4778133034706116, 0.3065625727176666, -0.48026156425476074, -1.060509443283081, 0.21924139559268951, -0.013486295938491821, 0.0986473485827446, 0.2126377820968628, 0.1434258073568344, -0.3887767195701599, 1.0867029428482056, 0.5757021307945251, -0.030424680560827255, 0.9248458743095398, -0.28410467505455017, -0.07295127958059311, -0.5985880494117737, 0.16889892518520355, -0.4971407353878021, -0.5781829953193665, -0.8930109739303589, 0.23143529891967773, 0.03744358569383621, 0.12407545000314713, -0.2685956358909607, 0.29563742876052856, -0.6048154234886169, 0.6056776642799377, 0.6645531058311462, 0.4579874873161316, 0.0671035498380661, 0.11968974024057388, 0.25265830755233765, -0.20203649997711182, -0.3405730128288269, -0.46300598978996277, 1.0938910245895386, 0.267269104719162, 0.9692630767822266, -0.20803460478782654, 0.7477299571037292, -0.07873499393463135, 0.0034695619251579046, -0.9316892623901367, 0.2763559818267822, -0.5399855375289917, -0.31422361731529236, -0.5084364414215088, -0.3571479022502899, -1.1053065061569214, 0.04268139600753784, -0.1927739828824997, -0.43004491925239563, 0.03089158609509468, 0.36441025137901306, -0.6052772402763367, -0.22414977848529816, -0.8949996829032898, 0.7283565402030945, -0.02077639475464821, -0.5786648988723755, -0.18069182336330414, -0.7892599105834961, 0.2008049488067627, -0.14138510823249817, 0.17289753258228302, 0.06530078500509262, 0.5160606503486633, 0.9302223920822144, -0.26216885447502136, 0.951082706451416, -0.027559874579310417, -0.0914422869682312, 0.09921137243509293, 0.24974505603313446, 0.19105872511863708, 0.2799917161464691, 0.07348614186048508, -0.16765451431274414, 0.027593566104769707, -0.4056989550590515, -0.615280270576477, 0.7311672568321228, -0.6415751576423645, -0.6601845026016235, 0.5042330622673035, -0.34929290413856506, -0.49857816100120544, 0.0468791164457798, 0.17005881667137146, 0.44133874773979187, -0.01910644769668579, 0.7338994145393372, 0.589887261390686, 0.220253124833107, 0.14124615490436554, 0.2272712141275406, -0.11323167383670807, -0.08525264263153076, 0.9361480474472046, 0.22478142380714417, 0.7190395593643188, 0.01833820343017578, 0.3194105625152588, 0.14458458125591278, -0.5583310723304749, -0.40531420707702637, 0.11106385290622711, -0.3657532334327698, 0.04717963933944702, -0.4606867730617523, 0.16729484498500824, -0.30084294080734253, -0.45025402307510376, -0.4382705092430115, -0.6235082745552063, -0.47574225068092346, -0.4702816307544708, 0.6104755401611328, 0.5450977087020874, -0.06288610398769379, 0.4132118821144104, -0.35462555289268494, 0.5126965045928955, 0.6383282542228699, 0.5464196801185608, -0.1650080680847168, -0.355285108089447, -0.16623225808143616, 0.4055856168270111, -0.38506999611854553, -0.3733232021331787, 0.04395955801010132, 0.26953908801078796, 0.6575616598129272, 0.6271718144416809, -0.0265305545181036, 0.9551751017570496, -0.3954094350337982, 0.6880773305892944, -0.4058046340942383, -0.5284563899040222, 0.7322596907615662, -0.5215617418289185, -0.023224713280797005, 1.1200586557388306, 0.36222603917121887, -0.5699326992034912, -0.5860859155654907, -0.7331718802452087, -0.8816186785697937, 0.6540781855583191, -0.015613135881721973, 0.195999413728714, 0.038636211305856705, 0.4554879665374756, 0.6128136515617371, 0.20685778558254242, -0.18702730536460876, -0.0539267398416996, -0.47568508982658386, -0.10768105834722519, -0.11309206485748291, 0.038082726299762726, -0.14210160076618195, -0.47453388571739197, 0.25581714510917664, -0.47290197014808655, 0.14033262431621552, 0.02041100151836872, 0.07798627763986588, -0.1639285534620285, 0.35419178009033203, 0.43878641724586487, 0.5734630823135376, -0.14933167397975922, -0.17197231948375702, -0.0048284465447068214, -0.34243181347846985, -0.3700341582298279, 0.01927848719060421, -0.023760100826621056, -0.08398742973804474, 0.3872458338737488, 1.0368905067443848, 0.4211962819099426, -0.3445075452327728, 0.39020511507987976, 0.07306760549545288, -0.3870600163936615, 0.1343822330236435, 0.5049602389335632, -0.22666683793067932, 0.14867983758449554, 0.3004343807697296, 0.04254240542650223, 0.21571311354637146, -0.5695738196372986, 0.43768104910850525, 0.5522632598876953, -0.5891227126121521, -0.2053547203540802, 0.6178587079048157, 0.08771044760942459, -0.22426848113536835, 0.8187833428382874, -0.05519790202379227, -0.30522266030311584, 0.6202212572097778, 0.1655159443616867, 0.6424660682678223, 0.18369725346565247, 0.09443987160921097, 0.33761173486709595, -0.09036815166473389, -0.38673141598701477, 0.06985299289226532, -0.4055982530117035, -0.47975245118141174, -0.47763967514038086, -0.5358996391296387, -0.1557222455739975, 0.04322686046361923, -1.1329485177993774, 0.39944177865982056, -0.3950805068016052, -0.024587681517004967, -0.044212281703948975, -0.07126469910144806, -0.8204764723777771, 0.27561748027801514, -0.0027669977862387896, 0.8596711754798889, -1.0975178480148315, 0.602042019367218, 0.31856510043144226, -0.3723617494106293, -1.0454919338226318, 0.25026965141296387, -0.02246136963367462, -0.7122877836227417, 0.6803440451622009, 0.10986411571502686, 0.1546928733587265, 0.060063522309064865, -1.0035430192947388, -0.580820620059967, 0.9926379323005676, 0.27650585770606995, -0.5115240812301636, 0.03826746717095375, -0.24625122547149658, 0.7403120398521423, -0.1724109947681427, 0.025346878916025162, 0.8931161165237427, 0.21255341172218323, 0.2790515124797821, -1.434621810913086, -0.013522448018193245, 0.05581459403038025, 0.01689239777624607, 0.1193779781460762, -0.8434081673622131, 0.6390067338943481, -0.34567901492118835, -0.14009849727153778, 0.042910993099212646, 0.7645366787910461, 0.12072266638278961, 0.2094915360212326, 0.5334299206733704, 0.2404586225748062, 0.5089857578277588, -0.3067609965801239, 1.0360426902770996, 0.18969573080539703, 0.41321447491645813, 1.0070478916168213, 0.09625296294689178, 0.7161887288093567, 0.6301712989807129, -0.3711216151714325, 0.2482413947582245, 1.0327521562576294, -0.04732871800661087, 0.7980837821960449, 0.17379912734031677, 0.2569935619831085, -0.46944594383239746, 0.12820233404636383, -0.23661160469055176, 0.5748912692070007, 0.32701948285102844, -0.1602904498577118, -0.053289495408535004, 0.10572659969329834, 0.036555610597133636, 0.21429510414600372, -0.15571902692317963, 1.0687286853790283, -0.07957689464092255, -0.7347375154495239, 0.8348692655563354, -0.456797331571579, 0.9556601643562317, -0.1748882681131363, 0.02084212191402912, -0.3334197998046875, -0.08071248978376389, -0.4931008815765381, -1.0886266231536865, 0.1899711787700653, -0.22979041934013367, -0.21392928063869476, -0.41340121626853943, 0.20342902839183807, -0.4907682538032532, -0.1981988102197647, -0.08064258098602295, 0.2654312551021576, 0.2327936440706253, -0.15419189631938934, -0.40206220746040344, -0.27512413263320923, 0.1347484588623047, -0.2912346422672272, 0.511872410774231, 0.582617461681366, -0.41540998220443726, 0.6910028457641602, 0.8865488767623901, -0.12042995542287827, -0.3513130843639374, 0.362152099609375, 0.8309561014175415, -0.35322147607803345, -0.5714946389198303, -0.9338484406471252, 0.5027064085006714, -0.2115044742822647, -0.28570476174354553, 0.5661281943321228, 0.4010782539844513, 1.17758047580719, -0.12202241271734238, 0.762173593044281, 0.23866666853427887, 0.5795375108718872, -0.697991669178009, 0.7210661172866821, -0.45942798256874084, 0.039956651628017426, -0.7147645950317383, -0.6542069315910339, -0.07332505285739899, 0.8651371598243713, -0.3578158915042877, 0.1751052439212799, 0.6442805528640747, 0.6338185667991638, -0.40482035279273987, 0.33450156450271606, 0.2804467976093292, -0.07334832102060318, 0.4664155840873718, 0.3307538628578186, 0.6336337327957153, 0.039868660271167755, 0.3954647481441498, -0.6349221467971802, -0.27856507897377014, -0.34962350130081177, -0.6596964001655579, -1.012276530265808, -0.7267321348190308, -0.12418162822723389, -0.11281155794858932, -0.20483490824699402, 1.1740771532058716, 1.0031849145889282, -0.5681413412094116, -0.06540482491254807, 0.09784185141324997, -0.1846061497926712, -0.43947193026542664, -0.2922368347644806, 0.17762593924999237, -0.37549087405204773, -0.634162962436676, 0.3350693881511688, -0.1742406189441681, 0.3717457950115204, -0.10117983818054199, 0.14743289351463318, 0.3191060721874237, -0.4200874865055084, 0.5910307168960571, 0.1440076380968094, -0.688758373260498, -0.4855225086212158, -0.08473239094018936, -0.13683663308620453, -0.019717620685696602, 0.7689836621284485, -0.9863153696060181, 0.10757146030664444, 0.20352017879486084, 0.923988938331604, 0.5551506876945496, 0.1948767453432083, 0.6209861040115356, -1.04074227809906, 0.08606326580047607, -0.117131806910038, 0.22693908214569092, 0.43862491846084595, -0.5730515122413635, 0.6446978449821472, 0.09349000453948975, -0.5981411337852478, -0.7675065398216248, 0.28176379203796387, -1.0193802118301392, -0.23452679812908173, 1.3389055728912354, 0.2182788997888565, -0.10130853950977325, -0.132277250289917, -0.7367458343505859, -0.008960793726146221, -0.6000784635543823, 1.0619226694107056, 0.7310490608215332, -0.2935405671596527, -0.017170581966638565, -0.8279116749763489, 0.7619749307632446, 0.38179105520248413, -0.7181199193000793, 0.3534854054450989, 0.5509613156318665, 0.4253024756908417, -0.055902380496263504, 0.3714147210121155, 0.4754752516746521, 0.40869051218032837, -0.5475253462791443, -0.5498794317245483, -0.21618123352527618, -0.34379440546035767, -0.07792309671640396, 0.0027922268491238356, 0.16799959540367126, -0.030489925295114517 ]
http://arxiv.org/abs/2402.06073v2
http://arxiv.org/pdf/2402.06073v2
LightCAM: A Fast and Light Implementation of Context-Aware Masking based D-TDNN for Speaker Verification
2024-02-08T21:47:16
2024-02-12T15:28:38
Di Cao, Xianchen Wang, Junfeng Zhou, Jiakai Zhang, Yanjing Lei, Wenpeng Chen
cs.CL
cs.CL, cs.SD, eess.AS
Traditional Time Delay Neural Networks (TDNN) have achieved state-of-the-art performance at the cost of high computational complexity and slower inference speed, making them difficult to implement in an industrial environment. The Densely Connected Time Delay Neural Network (D-TDNN) with Context Aware Masking (CAM) module has proven to be an efficient structure to reduce complexity while maintaining system performance. In this paper, we propose a fast and lightweight model, LightCAM, which further adopts a depthwise separable convolution module (DSM) and uses multi-scale feature aggregation (MFA) for feature fusion at different levels. Extensive experiments are conducted on VoxCeleb dataset, the comparative results show that it has achieved an EER of 0.83 and MinDCF of 0.0891 in VoxCeleb1-O, which outperforms the other mainstream speaker verification methods. In addition, complexity analysis further demonstrates that the proposed architecture has lower computational cost and faster inference speed.
[ -0.5311632752418518, -0.8151726722717285, 0.4450559914112091, 0.18320997059345245, -0.45881757140159607, 0.10895846039056778, -0.04183153435587883, -0.6349799633026123, 0.077012799680233, 0.07771015167236328, -0.26595133543014526, -0.2968711853027344, -0.46121716499328613, -0.1218961775302887, -0.5927572846412659, -0.045670606195926666, 0.5433853268623352, -0.0902090072631836, 0.13187865912914276, -0.17453789710998535, -0.4273921847343445, 0.050926048308610916, -0.5250130891799927, -0.28531527519226074, 0.6437084078788757, 0.3882402777671814, 0.5723701119422913, 0.5586308836936951, 0.1686239093542099, 0.48081734776496887, -0.42473122477531433, 0.3029720187187195, -0.06976334750652313, -0.14247427880764008, -0.03256772831082344, 0.32706183195114136, -0.7513976693153381, -0.24995821714401245, 0.6102648973464966, 0.7885829210281372, 0.15373595058918, 0.14762529730796814, -0.28412649035453796, 0.23602458834648132, -0.6410656571388245, -0.05287111923098564, -0.8687393069267273, -0.03805837407708168, -0.15948174893856049, -0.2846071124076843, -0.4211452007293701, -0.026329346001148224, 0.1224125325679779, -0.08892011642456055, 0.2903931140899658, 0.12004036456346512, 0.4467596709728241, 0.2750031352043152, -0.5274630188941956, 0.567604124546051, -1.0289604663848877, 0.6194822788238525, -0.580839991569519, 0.4611995220184326, -0.11132898181676865, 0.8242056965827942, -0.12018795311450958, -0.4948939383029938, -0.8666045665740967, 0.21774637699127197, -0.09784307330846786, -0.1680207997560501, 0.15721429884433746, 0.10130224376916885, 0.2914227843284607, 0.47916314005851746, -0.6059888005256653, 0.13447457551956177, -0.3208119869232178, -0.3040916323661804, 0.6043775677680969, -0.03383106365799904, 0.15823803842067719, -0.18479961156845093, -0.5308328866958618, 0.019736947491765022, -0.16167311370372772, -0.044850800186395645, -0.04902774095535278, 0.2874203622341156, -0.16443699598312378, 0.0376783087849617, -0.468331903219223, 0.9899849891662598, -0.37751713395118713, -0.5265138149261475, 0.016444554552435875, -0.2809734046459198, -0.20186957716941833, 0.6285954713821411, 0.5504832863807678, 0.23249274492263794, -0.16800852119922638, -0.1831972450017929, -0.18568174540996552, 0.4366989731788635, -0.22426344454288483, -0.8895045518875122, 0.0639968067407608, 0.45639073848724365, -0.5629918575286865, -0.005307183135300875, 0.014026344753801823, -0.8708353638648987, -0.21145842969417572, -0.20047913491725922, 0.7408897876739502, -0.21486832201480865, -0.6942281126976013, 0.3812452256679535, 0.23351554572582245, 0.42340368032455444, 0.703933596611023, -0.6035661697387695, 0.21567265689373016, 0.7113404273986816, 0.9935800433158875, -0.21720637381076813, -0.09478766471147537, -0.7171677947044373, 0.09049158543348312, -0.3180178701877594, 0.3884475529193878, -0.08234058320522308, -0.07200273126363754, -0.25299072265625, -0.035062238574028015, 0.12027128785848618, -0.3161850869655609, 0.16057667136192322, -0.5635946393013, -0.09950857609510422, 0.17254240810871124, -0.5220198631286621, -0.16665855050086975, 0.13394320011138916, -0.5282824039459229, 0.7224269509315491, 0.25536754727363586, -0.7040652632713318, 0.5966724753379822, -0.1972482055425644, -0.43136054277420044, 0.619310736656189, -0.4547220766544342, -0.3981088399887085, -0.13334223628044128, 0.24189704656600952, 0.6048213243484497, -0.0830223336815834, 0.5436156392097473, -0.3478306531906128, -0.956121563911438, 0.09448635578155518, -0.4002331495285034, 0.8082922697067261, 0.4130055904388428, -0.8078144788742065, -0.06845752894878387, -1.2536556720733643, 0.0007472576689906418, -0.11601152271032333, -0.17080694437026978, -0.06767259538173676, -0.19029326736927032, 0.23847022652626038, 0.149867981672287, -0.3252451717853546, -0.9782223105430603, -0.10213489085435867, -0.12938810884952545, 0.48048070073127747, 0.33641260862350464, -0.06813431531190872, 0.026422956958413124, 0.023260926827788353, 0.1735825389623642, 0.352412611246109, 0.11440172046422958, -0.4384058713912964, -0.5321367979049683, -0.549183189868927, -0.584749162197113, 0.3198116719722748, 0.37408116459846497, -1.0507378578186035, 0.5926645994186401, -0.39110010862350464, -0.6880899667739868, -0.29146435856819153, -0.19028180837631226, 0.41245532035827637, 0.9329810738563538, 0.1541244387626648, -0.16183777153491974, -0.3787727952003479, -0.9414767622947693, 0.09475474059581757, -0.05803075432777405, -0.2323581725358963, 0.5404551029205322, 0.3367161750793457, -0.05592988803982735, 0.9547582864761353, -0.29452791810035706, -0.19091743230819702, -0.12017204612493515, -0.06794368475675583, 0.24972781538963318, 0.7048987746238708, 0.7937658429145813, -1.0336748361587524, -0.08147513121366501, -0.06517262011766434, -0.5444900989532471, -0.04541706666350365, 0.05462966486811638, 0.2969363033771515, 0.14412596821784973, 0.33529675006866455, -0.3466155529022217, 0.9701198935508728, 0.45329469442367554, -0.49287015199661255, -0.001931609003804624, -0.09638592600822449, 0.48512303829193115, -0.8082370162010193, 0.029911059886217117, -0.16522575914859772, -0.5646779537200928, -0.7529918551445007, -0.6628250479698181, 0.2922276556491852, -0.3959416449069977, -1.0190590620040894, 0.6553438305854797, -0.36666813492774963, -0.5145244002342224, -0.27114343643188477, 0.34994667768478394, 0.2977447211742401, 0.6521053910255432, 0.0972076877951622, 0.7069921493530273, 0.6444035768508911, -1.032283902168274, 0.5606326460838318, -0.16553443670272827, -0.8988373279571533, 0.4256030321121216, -0.6161438822746277, 0.04682859778404236, 0.15937329828739166, 0.39392536878585815, -1.181213617324829, 0.030520059168338776, -0.13426455855369568, -0.0736585408449173, 0.24611130356788635, -0.259957492351532, -0.38862845301628113, -0.3606977164745331, 0.18735545873641968, 1.2583038806915283, 0.4532108008861542, -0.9625625014305115, 0.4919520318508148, 0.1738734394311905, 0.03298008814454079, -0.40574368834495544, -0.773871660232544, 0.2615480422973633, -0.042542923241853714, -0.9099843502044678, 0.8813268542289734, 0.03159523010253906, -0.35969674587249756, -0.5264483094215393, -0.1090770736336708, 0.0026963402051478624, 0.07982026785612106, -0.2023797333240509, 0.07450247555971146, -0.24203822016716003, 0.12992747128009796, -0.3043482005596161, -0.17007744312286377, -0.49436306953430176, -0.16413646936416626, 0.1857031285762787, -0.044765472412109375, -0.509255588054657, -0.6133686304092407, 0.5639576315879822, 0.45930927991867065, 0.014136750251054764, 0.37147337198257446, 0.9046490788459778, -0.4645323157310486, -0.33981266617774963, -1.070412516593933, -0.4151564836502075, -0.5030665993690491, 0.3592683970928192, -0.1607714742422104, -0.9692943096160889, 0.5436071753501892, -0.02229919843375683, -0.4328862130641937, 0.06906197220087051, 0.3456078767776489, 0.38039693236351013, 0.8354082703590393, 0.4731994569301605, 0.14344683289527893, 0.5000605583190918, -0.1775035560131073, 0.23722200095653534, -0.5248365998268127, -0.4237769544124603, -0.537958562374115, -0.591397225856781, -0.4611518979072571, -0.5441546440124512, 0.3157576322555542, -0.3406984806060791, 0.16529227793216705, 0.3896809220314026, -0.6239600777626038, 0.3733671009540558, 0.339031457901001, 0.478805273771286, 0.3022960424423218, -0.2964978516101837, 0.07925941795110703, 0.05059218779206276, -0.7428889870643616, -0.1661732792854309, 0.3376271426677704, 0.19852498173713684, 0.5235646367073059, 0.045050110667943954, 0.21699590981006622, 0.296303391456604, -0.3122391700744629, -0.6786739826202393, 0.9791742563247681, 0.09536097198724747, -0.47422125935554504, -0.39826786518096924, -0.6857039332389832, -0.4376210868358612, 0.41239455342292786, 0.12718014419078827, -0.8837845921516418, 0.6729516386985779, 0.17791293561458588, -0.3602104187011719, 0.646075963973999, -0.8174296021461487, 0.5969043970108032, -0.4083591401576996, -0.7138239145278931, -0.15136578679084778, -0.6862972378730774, 0.4463251233100891, 0.2689553499221802, 0.1915932595729828, -0.4001300632953644, 0.1217336654663086, 0.7046397924423218, -0.5310766696929932, 0.45213210582733154, -0.5885417461395264, -0.0151064433157444, 0.28799667954444885, 0.040725093334913254, 0.08645464479923248, 0.49755972623825073, -0.08598526567220688, 0.15734362602233887, -0.3004402220249176, -0.49524417519569397, -0.5021238923072815, 0.5948439240455627, -0.446906715631485, -0.6421439051628113, -0.11833450198173523, -0.5068105459213257, -0.23538674414157867, 0.18728995323181152, 0.05199422314763069, 0.9856663942337036, -0.1441696584224701, 0.6528279781341553, 0.9798128604888916, -0.31335920095443726, 1.089863657951355, 0.40675705671310425, -0.16224239766597748, -0.42659324407577515, 0.5142858624458313, 0.08109403401613235, 0.06158934161067009, 0.44840186834335327, 0.0856531485915184, 0.008382159285247326, -0.5975476503372192, -0.37240058183670044, -0.22568850219249725, -0.4657772481441498, -0.3254954218864441, -0.6785367131233215, -0.368704229593277, -0.504595935344696, -0.06076112017035484, -0.5758154988288879, -0.6145041584968567, 0.06565268337726593, 0.19080118834972382, 0.5162578821182251, 0.27142876386642456, 0.2735660970211029, 0.5497990846633911, -0.32042157649993896, 0.575469434261322, 0.9323348999023438, 0.7316140532493591, 0.10351502150297165, -0.42596563696861267, -0.28754130005836487, -0.18497003614902496, -0.05322525277733803, -0.5317403674125671, -0.04772135987877846, 0.3250621259212494, 0.5897559523582458, 0.6070056557655334, 0.13747096061706543, 0.6439952254295349, -0.16468843817710876, 0.8450060486793518, -0.019526910036802292, -1.1232191324234009, 0.576675534248352, -0.32080820202827454, 0.5626818537712097, 0.32866182923316956, -0.36382409930229187, -0.4408791959285736, 0.07186304032802582, -0.572508692741394, -0.7932988405227661, 1.0436396598815918, 0.2671873867511749, -0.29594993591308594, 0.299862802028656, 0.39452695846557617, 0.13070546090602875, 0.1883498579263687, -0.4006396234035492, -0.20678524672985077, -0.590918242931366, 0.23283357918262482, -0.22551533579826355, -0.5252364873886108, 0.03829146921634674, -0.4394817650318146, 0.40088120102882385, -0.18272584676742554, 0.2441866248846054, 0.5392354130744934, -0.18365877866744995, 0.15236695110797882, 0.4769365191459656, 1.0827432870864868, 0.890953004360199, -0.47747811675071716, 0.36530232429504395, 0.3395923376083374, -0.202484592795372, 0.3586943447589874, 0.009932405315339565, 0.12150514870882034, 0.4565897583961487, 0.434476763010025, 0.7438650727272034, 0.5409405827522278, -0.20573465526103973, 0.9749407768249512, -0.3226708769798279, -0.2033592313528061, -0.014421625062823296, 0.09745103120803833, -0.0007976204506121576, 0.2511489987373352, 0.5264947414398193, -0.14348097145557404, 0.1786094307899475, -0.18245556950569153, 0.34516823291778564, 0.1982487440109253, -0.15452279150485992, -0.18011817336082458, 0.7955649495124817, 0.3703143000602722, -0.5873973369598389, 0.3212512135505676, -0.21258644759655, -0.4143633544445038, 0.8289615511894226, 0.2382989227771759, 0.9789509177207947, -0.4355488419532776, -0.014132567681372166, 0.13956956565380096, 0.17806829512119293, 0.2110542505979538, 0.4425630271434784, -0.5332637429237366, -0.37202852964401245, -0.25440534949302673, -0.47716012597084045, -0.44619521498680115, 0.11207380890846252, -0.07400989532470703, 0.39275723695755005, -0.4355843961238861, -0.12062841653823853, -0.06588049978017807, 0.047607630491256714, -0.7762414216995239, 0.5239351391792297, 0.2971722483634949, 1.0517914295196533, -0.734779417514801, 0.962716817855835, 0.15893198549747467, 0.17042407393455505, -0.8597267270088196, -0.5596009492874146, 0.01340574026107788, -0.4371941089630127, 0.5524694323539734, 0.47753939032554626, -0.4091469645500183, -0.2983333170413971, -0.2724916934967041, -0.4156002104282379, 1.5775564908981323, 0.4631916284561157, -0.7459527850151062, 0.4452103078365326, 0.13842134177684784, 0.26771730184555054, -0.8228752017021179, 0.4584507942199707, 0.2544427812099457, 0.4482652544975281, 0.4771795868873596, -0.7800444960594177, 0.0195396076887846, -0.13971318304538727, 0.5302513241767883, -0.4069223701953888, -0.9295020699501038, 0.841769278049469, 0.10331105440855026, 0.06424518674612045, -0.24588461220264435, 0.7447029948234558, -0.014468385837972164, 0.5088852047920227, 1.028926134109497, 0.18028925359249115, 0.3793236017227173, -0.242294579744339, 0.2605297565460205, -0.2852281630039215, 0.04756966233253479, 0.8939366936683655, -0.31748196482658386, 0.3492106795310974, 0.4182739853858948, 0.06536251306533813, 0.16942672431468964, 0.5979140996932983, -0.08726008236408234, 0.5176382660865784, -0.03272859752178192, -0.3449794054031372, -0.43055152893066406, -0.19936610758304596, -0.6090598106384277, 0.8864780068397522, 0.10706398636102676, -0.22471663355827332, 0.023867201060056686, 0.100625179708004, -0.3003259599208832, -0.19241103529930115, -0.39633944630622864, 0.7959625720977783, 0.059035688638687134, -0.43267229199409485, 0.5172169804573059, -0.2947937250137329, 0.7052982449531555, -0.42755571007728577, -0.04231348633766174, -0.35919514298439026, 0.4575134813785553, -0.40055081248283386, -0.2177847921848297, 0.056396789848804474, -0.2922649681568146, -0.0040796054527163506, -0.3940639793872833, 0.9550211429595947, -0.5412392616271973, -0.37630125880241394, 0.5219659805297852, 0.4518585801124573, -0.03418752923607826, 0.17254452407360077, -0.05485605448484421, 0.4076264500617981, -0.4151027798652649, -0.3019362986087799, 0.13569867610931396, 0.6081987619400024, 0.23437856137752533, 0.5703967809677124, 0.16195464134216309, 0.11192527413368225, -0.007929015904664993, 0.4250369369983673, 0.7860018610954285, -0.6538915038108826, -0.6380451321601868, -0.7560337781906128, 0.4297887086868286, -0.2746707499027252, -0.026531094685196877, 0.5203499794006348, 0.5652189254760742, 0.7434353232383728, 0.09371553361415863, 0.22444456815719604, 0.14808154106140137, 0.5138359665870667, -0.3568513095378876, 1.0101374387741089, -0.6032168865203857, 0.5231362581253052, -0.75472092628479, -0.956853985786438, -0.3738946318626404, 0.12019389867782593, 0.22383883595466614, 0.42303159832954407, 0.5961591005325317, 0.9783264994621277, -0.505638599395752, 0.06867444515228271, 0.8590976595878601, -0.06929470598697662, 0.5144163370132446, 0.5014362931251526, 0.5933426022529602, -0.7424948215484619, 0.793847918510437, -0.6015483736991882, -0.5062935948371887, -0.62764972448349, -1.3018580675125122, -0.754010021686554, -0.4632435739040375, -0.7487530708312988, -0.004042422864586115, -0.36556968092918396, 0.4978219270706177, 1.1817547082901, -0.6910272836685181, -0.20896129310131073, 0.20950639247894287, 0.4389573335647583, -0.5428833365440369, -0.20495657622814178, 0.40107420086860657, 0.23704220354557037, -0.4251238703727722, 0.6022970676422119, 0.5131589770317078, 0.09120591729879379, -0.36812734603881836, 0.2116730660200119, -0.4547242224216461, -0.0685693696141243, 0.4160752594470978, 0.05050920695066452, -0.777773380279541, -0.7270278334617615, -0.4183962643146515, -0.04705043509602547, 0.2236810177564621, 0.9372684359550476, -0.9657214879989624, 0.713232159614563, 0.6788237690925598, 0.4513857662677765, 0.4786168038845062, -0.28462639451026917, 0.37593066692352295, -0.9456660747528076, 0.7553000450134277, 0.16522759199142456, 0.7958046197891235, 0.5201172828674316, -0.29213541746139526, 0.3898039758205414, 0.39953359961509705, -0.6162194609642029, -0.9143502116203308, 0.16927705705165863, -1.1934665441513062, -0.08841939270496368, 0.6647326946258545, -0.22964856028556824, -0.4434163570404053, -0.35951703786849976, -0.06412018090486526, 0.44042661786079407, -0.28389105200767517, 0.912215530872345, 0.267618328332901, 0.09907838702201843, -0.507469654083252, -0.18121503293514252, 0.5267199277877808, 0.26731276512145996, -0.5458962917327881, -0.00031866395147517323, 0.21241405606269836, -0.020141690969467163, 0.165998637676239, 0.5431851744651794, -0.01853659749031067, 0.5749103426933289, 0.15743732452392578, 0.012482142075896263, -0.5910624861717224, -0.5287755131721497, -0.33838918805122375, 0.3324783742427826, -0.32353872060775757, -0.26482251286506653 ]
http://arxiv.org/abs/2402.16877v1
http://arxiv.org/pdf/2402.16877v1
Large Language Model Augmented Exercise Retrieval for Personalized Language Learning
2024-02-08T20:35:31
2024-02-08T20:35:31
Austin Xu, Will Monroe, Klinton Bicknell
cs.IR
cs.IR, cs.AI, cs.CL, cs.LG
We study the problem of zero-shot exercise retrieval in the context of online language learning, to give learners the ability to explicitly request personalized exercises via natural language. Using real-world data collected from language learners, we observe that vector similarity approaches poorly capture the relationship between exercise content and the language that learners use to express what they want to learn. This semantic gap between queries and content dramatically reduces the effectiveness of general-purpose retrieval models pretrained on large scale information retrieval datasets like MS MARCO. We leverage the generative capabilities of large language models to bridge the gap by synthesizing hypothetical exercises based on the learner's input, which are then used to search for relevant exercises. Our approach, which we call mHyER, overcomes three challenges: (1) lack of relevance labels for training, (2) unrestricted learner input content, and (3) low semantic similarity between input and retrieval candidates. mHyER outperforms several strong baselines on two novel benchmarks created from crowdsourced data and publicly available data.
[ -0.2593500018119812, -0.8453919887542725, 0.5408689379692078, -0.2540592849254608, 0.2204144150018692, 0.17111726105213165, -0.383038192987442, -0.2795748710632324, 0.45350614190101624, 0.31271713972091675, -0.46959009766578674, -0.3788842260837555, -0.555109441280365, 0.048172663897275925, -0.36943086981773376, 0.7971479892730713, -0.3002793788909912, 0.13088321685791016, -0.13986681401729584, -0.31319865584373474, -0.2420956939458847, -0.6319577693939209, -0.36518311500549316, -0.46775442361831665, 0.780367910861969, 0.4913710653781891, 0.41388076543807983, 0.4634363651275635, 0.4019736349582672, 0.2980022728443146, 0.05194462090730667, -0.15539653599262238, -0.6399890184402466, 0.38266924023628235, -0.05181582644581795, -0.5081757307052612, 0.029435059055685997, -0.11761124432086945, 0.8275684118270874, 0.850540816783905, -0.03244739770889282, 0.23695510625839233, -0.17654135823249817, 0.6401192545890808, -0.8298974633216858, -0.13037726283073425, -0.6884349584579468, 0.05017855763435364, -0.2702173590660095, -0.06891081482172012, -0.14492543041706085, -0.3049222230911255, 0.24767601490020752, -0.5375301241874695, 0.44615763425827026, -0.05930054187774658, 0.8652434349060059, 0.088097482919693, -0.267353892326355, -0.35046300292015076, -0.6769073009490967, 0.8610950708389282, -0.38166919350624084, 0.7343744039535522, 0.612855851650238, 0.5063098669052124, -0.03878315910696983, -0.3995319604873657, -0.7394835352897644, -0.6411862373352051, 0.28317177295684814, -0.09762382507324219, 0.05083983764052391, 0.06216586008667946, 0.4137805998325348, 0.5436897873878479, -0.7402292490005493, -0.04444090649485588, -0.3414807617664337, -0.02271309867501259, 0.5147465467453003, 0.10571750998497009, 0.41334041953086853, -0.2091735452413559, -0.20320527255535126, -0.27860555052757263, -0.7829118371009827, 0.06891526281833649, 0.5331873297691345, 0.2051924467086792, 0.05703001469373703, 0.8968216180801392, -0.48959484696388245, 0.8740976452827454, -0.19860412180423737, -0.11082773655653, 0.5267233848571777, 0.0801704078912735, -0.06737928092479706, -0.14351429045200348, 0.7072682976722717, -0.08439169079065323, 0.23223285377025604, -0.4141075909137726, -0.2153010368347168, -0.39418521523475647, 0.061473097652196884, -0.9127124547958374, -0.3350413739681244, 0.21555384993553162, -0.12300563603639603, 0.016396645456552505, 0.3748711943626404, -0.5553491711616516, -0.10489162057638168, -0.6306562423706055, 0.786065399646759, -0.4974413812160492, -0.09412216395139694, 0.09417962282896042, -0.26795297861099243, 0.3262179493904114, 0.13564074039459229, -0.7972361445426941, 0.138544499874115, 0.6278181076049805, 0.8112382292747498, 0.0016530189896002412, -0.2767455577850342, -0.685126781463623, 0.130588561296463, -0.15517063438892365, 0.5666243433952332, -0.7961846590042114, -0.07538506388664246, 0.2543991506099701, -0.15430158376693726, -0.24378183484077454, -0.7517560720443726, 0.11901387572288513, -0.8271343111991882, 0.4914219081401825, -0.26282399892807007, -0.9042099714279175, -0.0030051609501242638, 0.47542697191238403, -0.6390952467918396, 1.0422078371047974, 0.2543908953666687, -0.7378736138343811, 0.2729008197784424, -0.5496680736541748, -0.2633706033229828, 0.022757356986403465, -0.31252434849739075, -0.46295255422592163, 0.18133455514907837, -0.035984836518764496, 0.4489533007144928, -0.15602436661720276, 0.05453719571232796, -0.5510738492012024, -0.46982964873313904, 0.2106425017118454, -0.05591749772429466, 0.3977093994617462, 0.17297066748142242, -0.2998949885368347, 0.1518644392490387, -0.9195961356163025, 0.09731347113847733, 0.3052125573158264, -0.5411372780799866, -0.6468881964683533, -0.09517604112625122, 0.2708114683628082, 0.425226628780365, 0.23821000754833221, -0.927814245223999, 0.3168388903141022, -0.5466073155403137, 0.20907245576381683, 0.5606722831726074, -0.11063624173402786, 0.3427673280239105, -0.22873470187187195, 0.5984402298927307, -0.3963891267776489, -0.20235499739646912, -0.1455746740102768, -0.21961627900600433, -0.7020784616470337, -0.15109917521476746, 0.5673168301582336, 0.543332576751709, -0.959244430065155, 0.41344159841537476, -0.5990958213806152, -0.4835149943828583, -0.7333819270133972, 0.5886396765708923, 0.41291436553001404, 0.3394227623939514, 0.4899291694164276, -0.28598669171333313, -0.3382555842399597, -0.6786913871765137, -0.25276413559913635, 0.12694646418094635, -0.5028365850448608, 0.36226868629455566, 0.4788256585597992, -0.28282105922698975, 0.7185244560241699, -0.7677121162414551, -0.3949502110481262, -0.3593900501728058, 0.09267999231815338, 0.02669922448694706, 0.26961949467658997, 0.5240442752838135, -0.8211944103240967, -0.6739767789840698, -0.0032550895120948553, -0.6118226051330566, 0.13211067020893097, 0.06979243457317352, -0.00490602059289813, -0.16210786998271942, 0.5459367036819458, -0.501294732093811, 0.16989129781723022, 0.519119918346405, -0.04426945745944977, 0.30022430419921875, -0.32676267623901367, 0.16842779517173767, -1.1974424123764038, 0.2764821946620941, -0.08891851454973221, -0.05796057730913162, -0.573880672454834, 0.21643365919589996, 0.1519361287355423, -0.3792448937892914, -0.39988771080970764, 0.811182975769043, -0.27752530574798584, 0.0922824889421463, -0.4386494755744934, 0.1364554911851883, -0.22687162458896637, 0.3405136168003082, 0.0481768436729908, 0.677757203578949, 0.5339844226837158, -0.7029449343681335, 0.18236778676509857, 0.45816177129745483, -0.2958308458328247, 0.388823539018631, -0.8127951622009277, 0.313531756401062, -0.43215978145599365, 0.04120364785194397, -0.9265655279159546, -0.6270157694816589, 0.08084625750780106, -0.5708438754081726, 0.4394766390323639, 0.0132441446185112, -0.3236095905303955, -0.3037225008010864, -0.49763306975364685, 0.534340500831604, 0.30002546310424805, -0.6279623508453369, 0.28729623556137085, 0.27529770135879517, -0.01763523742556572, -0.6241447925567627, -0.48198202252388, -0.04394938796758652, -0.12062253057956696, -0.3788394331932068, 0.323352575302124, -0.21810291707515717, -0.023815471678972244, -0.06512419879436493, -0.10996642708778381, -0.2452244758605957, -0.010901699773967266, 0.15423619747161865, -0.02638915367424488, -0.14833256602287292, 0.40468630194664, -0.3258896768093109, 0.031719617545604706, -0.10369457304477692, -0.14074544608592987, 0.6233152747154236, 0.19736509025096893, -0.5687221884727478, -0.3067542016506195, 0.4158002734184265, 0.40333133935928345, -0.4061322808265686, 0.941838264465332, 0.7653976678848267, -0.4085242450237274, 0.0394599623978138, -0.7581140995025635, -0.10848362743854523, -0.44641342759132385, 0.49563419818878174, -0.5088090896606445, -1.197666883468628, 0.14290574193000793, 0.13692131638526917, -0.01317435409873724, 0.16595031321048737, 0.5510665774345398, -0.19845737516880035, 0.9227353930473328, 0.5348444581031799, -0.2950259745121002, 0.8901975750923157, -0.4791357219219208, 0.15350888669490814, -0.8694826364517212, -0.3089165687561035, -0.5231938362121582, -0.45717963576316833, -0.552319347858429, -0.4554058611392975, 0.22477705776691437, -0.14741159975528717, -0.4058981239795685, 0.4601005017757416, -0.14634430408477783, 0.37012073397636414, 0.7943033576011658, 0.21906553208827972, 0.0272227693349123, 0.2917810082435608, -0.17651982605457306, -0.2890428900718689, -0.605043888092041, -0.17295955121517181, 1.188686490058899, 0.0037928130477666855, 0.6917881965637207, 0.27594444155693054, 0.9111552834510803, 0.04135863855481148, 0.3828359842300415, -0.950221836566925, 0.21623070538043976, 0.15908300876617432, -0.7875593304634094, -0.3337228000164032, -0.6742186546325684, -1.4247363805770874, 0.3928990364074707, -0.33635276556015015, -0.5233101844787598, -0.12450408935546875, 0.028050001710653305, -0.025917910039424896, 0.4294087290763855, -0.5197317004203796, 0.8577796816825867, -0.2551043629646301, -0.5094272494316101, -0.28609728813171387, -0.644445538520813, 0.30263668298721313, -0.15193846821784973, 0.3083707392215729, -0.1446484923362732, -0.007222829852253199, 0.557878315448761, -0.4660244882106781, 0.49270570278167725, -0.21308064460754395, 0.10993729531764984, 0.1965319663286209, 0.13975068926811218, 0.24183733761310577, -0.3543262779712677, -0.15160034596920013, -0.28132766485214233, -0.1863008588552475, -0.8522018194198608, -0.6304143071174622, 0.8752529621124268, -0.7577561140060425, -0.4916728436946869, -0.41447508335113525, -0.28914108872413635, -0.22798773646354675, 0.17279505729675293, 0.15763315558433533, 0.2986283600330353, -0.37249043583869934, 0.4229010343551636, 0.6795125603675842, -0.3101668059825897, 0.21364085376262665, 0.4950438141822815, 0.021157165989279747, -0.48824459314346313, 1.28481924533844, 0.09899838268756866, 0.23373271524906158, 0.9382116198539734, 0.05790013447403908, -0.3617769777774811, -0.47079288959503174, -0.244034081697464, 0.3873632252216339, -0.5094265341758728, -0.11412104219198227, -0.5730434656143188, 0.0914393961429596, -0.2669617831707001, 0.01814228855073452, -0.33196941018104553, -0.2658640742301941, -0.10090348869562149, 0.07686915993690491, 0.1255776733160019, 0.6499775648117065, 0.14505019783973694, 0.3627740740776062, -0.7948456406593323, 0.5828462839126587, 0.399008572101593, 0.485015332698822, -0.16401758790016174, -0.5821089148521423, -0.28001827001571655, 0.00820030178874731, -0.4862184226512909, -0.8003042936325073, 0.2865777611732483, 0.3855339288711548, 0.610438883304596, 0.3745190501213074, -0.016169194132089615, 0.734792172908783, -0.7867180109024048, 0.5235539078712463, 0.34808051586151123, -0.779344379901886, 0.6556354761123657, -0.1976025253534317, 0.13371437788009644, 0.8130075931549072, 0.7934158444404602, -0.5076705813407898, -0.14641913771629333, -0.5942219495773315, -0.9664672017097473, 0.28000974655151367, 0.05127132683992386, 0.5636543035507202, -0.15843617916107178, 0.5420125126838684, -0.014197585172951221, 0.15282434225082397, -0.7950689196586609, -0.06401843577623367, 0.11613240092992783, -0.3063153922557831, -0.18026988208293915, -0.02976040355861187, 0.21537181735038757, -0.3830794394016266, 0.6156171560287476, -0.18889617919921875, 0.03502760827541351, 0.24354016780853271, -0.34206703305244446, -0.2134493887424469, 0.24367544054985046, 0.13181644678115845, 0.5029711723327637, -0.23884978890419006, -0.041372913867235184, 0.20431655645370483, -0.25151491165161133, 0.2717123031616211, 0.1145995706319809, -0.20945148169994354, 0.15194353461265564, 0.3304404020309448, 0.5780093669891357, 0.5871313214302063, -1.2147111892700195, 0.8519039750099182, -0.027068087831139565, -0.2876173257827759, -0.5793504118919373, 0.17747771739959717, -0.026343030855059624, 0.08307231962680817, 0.19247925281524658, -0.16015836596488953, 0.2077663689851761, -0.35455891489982605, 0.316439688205719, 0.6561402678489685, -0.600344717502594, -0.44123348593711853, 0.9810366034507751, -0.1498018354177475, -0.3810252249240875, 0.6677011847496033, -0.20091620087623596, -0.35994160175323486, 0.11731741577386856, 0.24514949321746826, 0.621109664440155, -0.36879611015319824, 0.13085156679153442, 0.6465889811515808, 0.055844228714704514, -0.1464281678199768, 0.20764456689357758, -0.21039541065692902, -0.43392348289489746, -0.6342648267745972, -0.5696835517883301, -0.5299281477928162, 0.39013490080833435, -0.5993992686271667, 0.4662249982357025, -0.25319793820381165, 0.08226294815540314, -0.06893713772296906, 0.06582725048065186, -0.9250431656837463, 0.12009463459253311, 0.1430920660495758, 0.7084788680076599, -0.7236880660057068, 0.954837441444397, 0.902325451374054, -0.5901224613189697, -0.5672599077224731, 0.14671702682971954, -0.31252703070640564, -0.7909197807312012, 0.6759175658226013, 0.17783746123313904, 0.23270782828330994, -0.18253059685230255, -0.3886163830757141, -0.8109868764877319, 0.9487428665161133, 0.5678961277008057, -0.4354514181613922, -0.10044755041599274, 0.19566065073013306, 0.44860389828681946, -0.017467688769102097, 0.1648494154214859, 0.16578976809978485, 0.16457974910736084, 0.2929920554161072, -0.72103351354599, -0.2389099895954132, -0.19029079377651215, -0.029261771589517593, 0.2789989709854126, -0.5778955221176147, 0.7045104503631592, -0.2396763563156128, 0.10697704553604126, 0.17176088690757751, 0.6936890482902527, 0.24176698923110962, 0.31285056471824646, 0.3276033401489258, 0.7288808822631836, 0.7203566431999207, 0.2643570601940155, 1.428912878036499, -0.2030748873949051, 0.545117974281311, 1.0255374908447266, -0.20572885870933533, 1.3105583190917969, 0.44403547048568726, -0.1750364750623703, 0.3746320307254791, 0.472550630569458, 0.17040474712848663, 0.42048290371894836, 0.5165764689445496, -0.5217140913009644, -0.30150550603866577, 0.06830766797065735, -0.2903614640235901, 0.4166867136955261, 0.1625659316778183, -0.34091952443122864, -0.2714919447898865, 0.16356012225151062, -0.1312839835882187, 0.35603901743888855, -0.07158830016851425, 0.6403256058692932, -0.06883883476257324, -0.5386288166046143, 0.7671902775764465, 0.051540885120630264, 0.6789805293083191, -0.7067769169807434, -0.06808620691299438, -0.01797342486679554, 0.20456841588020325, -0.04555998370051384, -0.3653889000415802, 0.1781330704689026, -0.03184954449534416, 0.0517335906624794, -0.14734123647212982, 0.5915058851242065, -0.7110788226127625, -0.4920254051685333, 0.2985193431377411, 0.8220855593681335, 0.34105488657951355, -0.35268375277519226, -0.6652045249938965, -0.11248025298118591, -0.047879450023174286, -0.38612934947013855, 0.595676064491272, 0.34766244888305664, 0.22660265862941742, 0.7245965600013733, 0.5780083537101746, 0.047027427703142166, 0.1535300314426422, 0.11741580814123154, 0.836169421672821, -0.7091190218925476, -0.18775632977485657, -0.6634132862091064, 0.08262317627668381, 0.05846697837114334, -0.30324238538742065, 0.7184061408042908, 0.9259164333343506, 1.1576792001724243, -0.21598099172115326, 0.7689934968948364, -0.09407317638397217, 0.7230924963951111, -0.4674879014492035, 0.5541977882385254, -0.8074739575386047, 0.06132632866501808, -0.11713510751724243, -1.0611463785171509, -0.31106534600257874, 0.7156769037246704, -0.3814488649368286, 0.003918841946870089, 0.33138298988342285, 0.7472994327545166, -0.46022456884384155, -0.3831561505794525, 0.4348059594631195, -0.11871273070573807, 0.37934643030166626, 0.6862068772315979, 0.8474799990653992, -0.6007232666015625, 0.4872416853904724, -0.19521084427833557, -0.14673425257205963, -0.38949790596961975, -0.6022874116897583, -1.1630269289016724, -0.7153856754302979, -0.3149389624595642, -0.1827639937400818, -0.057375822216272354, 1.481331706047058, 0.688544511795044, -0.9667311906814575, -0.217592254281044, -0.041754692792892456, 0.08622665703296661, 0.19567759335041046, -0.24523510038852692, 0.39421314001083374, -0.6140291690826416, -0.9930952787399292, 0.31404373049736023, -0.11642196774482727, 0.0353817418217659, -0.145247682929039, -0.22934968769550323, -0.26616981625556946, -0.22485125064849854, 0.660485565662384, 0.6316133737564087, -0.7209782004356384, -0.4241737425327301, 0.25794708728790283, -0.013875839300453663, 0.1159197986125946, 1.0324839353561401, -0.6634415984153748, 0.6089664101600647, 0.55422443151474, 1.1902186870574951, 0.7744240760803223, -0.15475217998027802, 0.334023118019104, -0.9610967040061951, 0.23479774594306946, 0.23646864295005798, 0.2175273597240448, 0.47665396332740784, 0.0003501168976072222, 0.3413357138633728, 0.20676377415657043, -0.39533254504203796, -0.593719482421875, 0.11725243926048279, -0.7973877787590027, -0.1446804255247116, 1.1712149381637573, -0.12030453979969025, -0.12940336763858795, -0.11820022016763687, -0.2615004777908325, 0.20351442694664001, -0.1268361210823059, 1.0254991054534912, 0.7922681570053101, -0.22430844604969025, 0.07907330989837646, -1.1002618074417114, 0.30158713459968567, 0.4764692187309265, -0.47701355814933777, -0.16632455587387085, 0.4258713126182556, 0.6521443128585815, 0.011596698313951492, 0.5394344925880432, 0.16411103308200836, 0.11451730132102966, -0.37193968892097473, 0.20901206135749817, 0.07085622847080231, -0.18995502591133118, -0.27373746037483215, 0.3015342354774475, 0.29345405101776123, -0.22445471584796906 ]
http://arxiv.org/abs/2402.06044v3
http://arxiv.org/pdf/2402.06044v3
OpenToM: A Comprehensive Benchmark for Evaluating Theory-of-Mind Reasoning Capabilities of Large Language Models
2024-02-08T20:35:06
2024-06-03T10:48:16
Hainiu Xu, Runcong Zhao, Lixing Zhu, Jinhua Du, Yulan He
cs.AI
cs.AI, cs.CL
Neural Theory-of-Mind (N-ToM), machine's ability to understand and keep track of the mental states of others, is pivotal in developing socially intelligent agents. However, prevalent N-ToM benchmarks have several shortcomings, including the presence of ambiguous and artificial narratives, absence of personality traits and preferences, a lack of questions addressing characters' psychological mental states, and limited diversity in the questions posed. In response to these issues, we construct OpenToM, a new benchmark for assessing N-ToM with (1) longer and clearer narrative stories, (2) characters with explicit personality traits, (3) actions that are triggered by character intentions, and (4) questions designed to challenge LLMs' capabilities of modeling characters' mental states of both the physical and psychological world. Using OpenToM, we reveal that state-of-the-art LLMs thrive at modeling certain aspects of mental states in the physical world but fall short when tracking characters' mental states in the psychological world.
[ -0.6599397659301758, -0.6399549841880798, 1.0350297689437866, -0.07699722796678543, -0.09347628057003021, -0.10777443647384644, -0.6951285600662231, -0.3891953229904175, 0.16118283569812775, 0.26243531703948975, -0.7434828281402588, -0.3177158534526825, -0.43014708161354065, 0.257264107465744, -0.08345136046409607, 0.7880304455757141, -0.12530627846717834, -0.05011274665594101, -0.5200459957122803, -0.2945558428764343, -0.10376584529876709, -0.4279818832874298, -0.6670408844947815, -0.5111355781555176, 0.7077956199645996, -0.11471733450889587, 0.7249258160591125, 0.39278748631477356, 0.6449838876724243, 0.2737853527069092, -0.06240091472864151, 0.4240218997001648, -0.3932029604911804, 0.3779093027114868, -0.5203118920326233, -0.7343574166297913, -0.7237036824226379, 0.10226865857839584, 0.7080142498016357, 0.5803826451301575, 0.13523106276988983, 0.1123262271285057, 0.012914115563035011, 0.46424517035484314, -0.799305260181427, 0.19145353138446808, -0.45119354128837585, 0.02967642806470394, -0.058012429624795914, -0.07374307513237, -0.2860502004623413, -0.5947508215904236, 0.2998277544975281, -0.6194345355033875, -0.0379997193813324, -0.034031450748443604, 0.7715705037117004, 0.264198899269104, -0.47531378269195557, -0.060098178684711456, -0.6891389489173889, 0.8726891875267029, -0.6724950075149536, 0.21449577808380127, 0.3809070289134979, 0.6495965719223022, -0.23171518743038177, -0.35825785994529724, -0.8090456128120422, -0.4542084336280823, 0.03112952411174774, 0.07142791897058487, -0.2220776081085205, -0.019950300455093384, 0.30547595024108887, 0.2751789689064026, -0.4008438289165497, -0.1124320849776268, 0.11401040852069855, -0.013353846967220306, 0.7040505409240723, 0.5166186094284058, 0.12921050190925598, 0.09000299125909805, -0.37204715609550476, -0.2926158010959625, -0.4247235357761383, -0.30588433146476746, 0.2414928674697876, 0.2043328583240509, 0.02653740532696247, 0.483686625957489, -0.14760474860668182, 0.4573822319507599, -0.2467741221189499, -0.10895347595214844, 0.07129213958978653, -0.15317222476005554, -0.2399703860282898, -0.13482651114463806, 0.752145528793335, 0.599760115146637, 0.5674017071723938, -0.09728609025478363, -0.2819545269012451, 0.23492954671382904, 0.38304996490478516, -0.6292577981948853, -0.03928201273083687, 0.2701854407787323, -0.40999549627304077, 0.060254134237766266, 0.02810858190059662, -1.0290510654449463, -0.8282853364944458, -0.11492683738470078, 0.3480599522590637, -0.6936658620834351, -0.5279402732849121, 0.08153119683265686, -0.1359708458185196, 0.3385220170021057, 0.5100582838058472, -0.5897192358970642, 0.47276389598846436, 0.7757331132888794, 1.0708965063095093, -0.12252672016620636, -0.4415476620197296, 0.10705152153968811, 0.06610904633998871, -0.45948851108551025, 0.9040833115577698, -0.588119387626648, -0.0450889952480793, -0.16680538654327393, -0.2651180028915405, -0.06119541823863983, -0.2959023118019104, 0.2981205880641937, -0.1130095049738884, 0.221200093626976, -0.5787276029586792, -0.6239337921142578, -0.2902822196483612, 0.6649638414382935, -0.4427514672279358, 0.4915125072002411, 0.2508755922317505, -0.2670765817165375, 0.32052576541900635, -0.7793071866035461, -0.2415323555469513, -0.03875843808054924, -0.4311986267566681, 0.16403427720069885, 0.3571874499320984, 0.06231633201241493, 0.4307500123977661, -0.898300051689148, 0.3199450671672821, -0.5354376435279846, -0.30726349353790283, 0.673629641532898, -0.4864012598991394, 0.780180037021637, 0.1631920039653778, -0.21614262461662292, 0.049206044524908066, -0.6787527203559875, 0.28561851382255554, 0.449354887008667, -0.028203008696436882, -0.38053086400032043, 0.15367281436920166, -0.31739726662635803, 0.11286367475986481, 0.31890860199928284, -0.5763211250305176, 0.19783909618854523, -0.22823747992515564, 0.5925674438476562, 0.6945512294769287, -0.17952032387256622, 0.09594379365444183, -0.6580855846405029, 0.4485268294811249, -0.2095712572336197, 0.05493222549557686, -0.16105540096759796, -0.6139936447143555, -0.7130978107452393, -0.617580235004425, -0.019542837515473366, 0.16887180507183075, -0.5544753670692444, 0.7584913372993469, -0.23186439275741577, -0.9052531123161316, -0.5020779967308044, -0.35647740960121155, 0.6353026032447815, 0.29370856285095215, 0.26810944080352783, -0.38280847668647766, -0.2760274410247803, -0.6821783185005188, -0.4382317066192627, -0.37870532274246216, -0.25943613052368164, 0.35025373101234436, 0.5772944688796997, -0.031845271587371826, 0.9259079098701477, -0.47148382663726807, -0.19579949975013733, -0.2330622524023056, -0.040920764207839966, 0.15869280695915222, 0.348622590303421, 0.45358094573020935, -0.30427125096321106, 0.0027535140980035067, -0.030904963612556458, -0.9956535696983337, 0.10549765080213547, 0.16709992289543152, -0.20537114143371582, 0.11255975812673569, 0.13345952332019806, -0.9934854507446289, 0.4249613583087921, 0.15026485919952393, -0.5343436002731323, 0.3907158076763153, -0.3016636371612549, 0.2846900224685669, -0.7516120076179504, 0.2640085816383362, 0.12295620143413544, 0.10753925144672394, -0.5918194651603699, 0.34422510862350464, 0.07661057263612747, 0.05039498955011368, -0.2370765209197998, 0.7681353688240051, -0.3362690210342407, -0.34386563301086426, 0.0014230788219720125, 0.5516627430915833, 0.06632835417985916, 0.71470707654953, -0.13290074467658997, 0.5562705397605896, 0.27173542976379395, -0.8251671195030212, 0.4227867126464844, 0.1547505259513855, -0.4810020327568054, 1.1170008182525635, -0.5056122541427612, 0.44580528140068054, -0.08742652088403702, 0.24737010896205902, -1.1720541715621948, -0.19292108714580536, 0.014599309302866459, -0.5933403372764587, 0.06800875812768936, 0.2081526666879654, -0.7611222863197327, -0.2501246929168701, -0.11221075803041458, 0.38285398483276367, 0.5896745920181274, -0.39672577381134033, 0.8050634264945984, 0.26328906416893005, 0.298435240983963, 0.011178518645465374, -0.6089984774589539, -0.10907179117202759, -0.23433834314346313, -0.5979484915733337, 0.32980072498321533, -0.16949209570884705, -0.5573534369468689, -0.045527100563049316, -0.2051188200712204, -0.2432129979133606, 0.18283702433109283, -0.17888951301574707, 0.10324445366859436, -0.44611984491348267, 0.17914627492427826, -0.12992613017559052, -0.06829815357923508, 0.43590161204338074, -0.20599661767482758, 0.6901669502258301, -0.3414347469806671, -0.3934715688228607, -0.2705058157444, -0.05984477326273918, 0.942242443561554, -0.40443137288093567, 0.4886684715747833, 0.16571855545043945, -0.642932653427124, -0.1946564018726349, -0.3040708899497986, -0.17893265187740326, -0.4051542282104492, 0.4405214786529541, -0.38292166590690613, -0.6453579664230347, 0.5432050228118896, -0.035485923290252686, 0.060491956770420074, 0.38042837381362915, 0.5160138607025146, -0.046995602548122406, 1.1222164630889893, 0.2003604769706726, 0.12445806711912155, 0.06552596390247345, 0.05618630349636078, 0.17423300445079803, -1.05460786819458, -0.2783944010734558, -0.5429942011833191, -0.6342834234237671, -0.35971981287002563, -0.552267849445343, 0.3260684013366699, -0.22516940534114838, -0.47871822118759155, 0.37324678897857666, -0.4590403437614441, 0.5003665089607239, 0.484492689371109, 0.17148974537849426, 0.29346179962158203, -0.3046187460422516, -0.28492027521133423, 0.003139824140816927, -0.30107277631759644, -0.7837461233139038, 1.2871862649917603, 0.47888681292533875, 0.5891125202178955, 0.4553380310535431, 0.3330087959766388, 0.04214826226234436, 0.12360969185829163, -0.5949249267578125, 1.0560874938964844, -0.02687649242579937, -0.9505656957626343, -0.35548606514930725, -0.3625662326812744, -0.8715587854385376, 0.38524502515792847, -0.16723020374774933, -1.028641939163208, 0.039044056087732315, 0.0010836475994437933, -0.4797864854335785, 0.4566348195075989, -0.3366054892539978, 0.6064732670783997, -0.41287368535995483, -0.4023997485637665, -0.3777598738670349, -0.4452306926250458, 0.4300193786621094, 0.09221427142620087, -0.3099576532840729, -0.5758183002471924, -0.39982056617736816, 0.6383076906204224, -0.24053435027599335, 0.5639714002609253, -0.20017027854919434, -0.19293543696403503, 0.23304489254951477, 0.2220575213432312, 0.07874244451522827, -0.02459670603275299, -0.17827165126800537, 0.3330422043800354, 0.1943419873714447, -0.2655988037586212, -1.0133696794509888, 0.5805904269218445, -0.8725619912147522, -0.4446640610694885, -0.5690938830375671, -0.6498810052871704, -0.7113510966300964, 0.2101273536682129, -0.0615263357758522, 0.22865748405456543, -0.3715613782405853, 0.27317914366722107, 0.8073570728302002, -0.2699110805988312, 0.20704500377178192, 0.49270570278167725, -0.44391563534736633, -0.5855107307434082, 0.7931855320930481, -0.016957050189375877, 0.2710876762866974, 0.35038405656814575, 0.2714860439300537, -0.2816540002822876, -0.4274258315563202, -0.21196436882019043, 0.24579325318336487, -0.7432346940040588, -0.0018655307358130813, -0.3735755383968353, -0.16001242399215698, -0.13258427381515503, 0.03855171427130699, -0.3110918402671814, -0.17235971987247467, 0.01965273916721344, 0.1520920991897583, 0.28411781787872314, 0.7910627722740173, 0.4119550883769989, 0.03708517923951149, -0.34233418107032776, 0.18212351202964783, 0.18723832070827484, 0.73927903175354, 0.2551022171974182, -0.3419477045536041, 0.024365559220314026, -0.023163551464676857, -0.32900577783584595, -0.821053147315979, 0.005793172866106033, -0.0734301432967186, 0.827143132686615, 0.5998027920722961, 0.040490563958883286, 0.6507759690284729, -0.18274420499801636, 0.6811133027076721, 0.09865140169858932, -0.8423017859458923, 0.5554124116897583, -0.5763297080993652, 0.46879035234451294, 0.604312539100647, 0.4070053696632385, -0.43306970596313477, -0.3168783485889435, -0.38181808590888977, -0.41833654046058655, 0.5341607928276062, 0.27680978178977966, -0.09933420270681381, -0.3289435803890228, 0.26282167434692383, 0.15316621959209442, 0.362436980009079, -0.4259020984172821, 0.006295135244727135, -0.03752174973487854, -0.3481307327747345, -0.23697902262210846, 0.03040333278477192, -0.1586131602525711, -0.3318042457103729, 0.4378819763660431, -0.37499773502349854, 0.6510879993438721, 0.331842303276062, -0.006012185476720333, -0.09166039526462555, 0.0348743200302124, 0.7097184062004089, 0.6954703330993652, -0.4266233444213867, 0.10923202335834503, 0.08157341927289963, -0.32219699025154114, 0.15519140660762787, -0.19045071303844452, 0.014852238819003105, -0.2908613383769989, 0.44037625193595886, 0.6664849519729614, 0.2865016460418701, -0.9497309327125549, 0.3236372172832489, -0.106209896504879, -0.35011035203933716, -0.2215871661901474, 0.37111160159111023, -0.06424065679311752, 0.6404915452003479, 0.10886989533901215, 0.0019934545271098614, -0.2628248929977417, -0.8538223505020142, 0.007730310317128897, 0.3735065758228302, -0.5419506430625916, -0.3274132311344147, 0.4146103262901306, 0.2174573391675949, -0.5172314643859863, 0.6993809938430786, -0.11264470219612122, -0.20221200585365295, 0.7444176077842712, 0.4591193199157715, 1.231031060218811, 0.002579031977802515, -0.14970636367797852, 0.27568694949150085, 0.6586050987243652, -0.006237870082259178, 0.53727126121521, 0.0019062565406784415, -0.8483419418334961, 0.05063226819038391, -0.39143532514572144, -0.5769400000572205, 0.23185688257217407, -0.8196526765823364, 0.17440272867679596, -0.9847898483276367, -0.3898097276687622, -0.2425564080476761, 0.15816083550453186, -0.723301112651825, 0.2709881365299225, 0.32844239473342896, 1.1238019466400146, -0.2698468565940857, 0.7806267738342285, 0.8934957385063171, -0.41017091274261475, -0.3074660301208496, 0.26288706064224243, 0.14819487929344177, -0.7648909687995911, 0.18225234746932983, 0.4176683723926544, -0.08717148751020432, -0.15616574883460999, -0.2676195502281189, -0.9582854509353638, 1.3747249841690063, 0.6534799337387085, -0.4554932415485382, -0.14157050848007202, -0.08925984054803848, 0.7784453630447388, -0.5028819441795349, 0.6636534333229065, 0.6496255993843079, 0.6540426015853882, -0.3121388554573059, -0.7430186867713928, 0.25863873958587646, -0.3324261009693146, 0.03734315559267998, 0.314330518245697, -0.951299250125885, 1.1461442708969116, -0.12656137347221375, -0.17340978980064392, 0.3425149619579315, 0.6939073204994202, 0.5115979909896851, 0.5526241064071655, 0.564814567565918, 0.5794909596443176, 0.9348739385604858, -0.2965378761291504, 1.0356271266937256, -0.251392662525177, 0.14989174902439117, 1.1000957489013672, -0.7404808402061462, 0.802887499332428, 0.2396083027124405, -0.31646057963371277, 0.5751140713691711, 0.3964660167694092, -0.0439518578350544, 0.4938737452030182, 0.41101038455963135, -0.07969975471496582, -0.2455878108739853, 0.07376860082149506, -0.2543700635433197, 0.5855926275253296, 0.40505412220954895, -0.2101249396800995, -0.14169302582740784, -0.1408856213092804, 0.019182613119482994, 0.3773527145385742, -0.3552388548851013, 0.5198237895965576, 0.04617031663656235, -0.894543468952179, 0.2819119989871979, -0.1774657815694809, 0.529204249382019, -0.7199370265007019, 0.19129936397075653, -0.33071932196617126, 0.4927334785461426, 0.2928149104118347, -0.8799189925193787, 0.11936251819133759, 0.08455249667167664, 0.04177221655845642, -0.083871029317379, 0.6018901467323303, -0.07951813191175461, -0.09660574048757553, 0.48738715052604675, 0.45488473773002625, 0.3078765869140625, -0.15230302512645721, -0.5404325723648071, 0.09992028772830963, -0.3729069232940674, -0.3105662763118744, 0.4773962199687958, 0.5733534693717957, 0.03965252637863159, 0.8082747459411621, 0.3606579005718231, -0.01944579742848873, -0.3057147264480591, -0.15435273945331573, 0.5734742879867554, -1.0605741739273071, -0.35043179988861084, -1.0968657732009888, 0.26037153601646423, -0.22369983792304993, -0.942760169506073, 0.7699559926986694, 0.1897224634885788, 0.9035622477531433, 0.26195231080055237, 0.7226190567016602, -0.10722827166318893, 0.3007756173610687, -0.4888446629047394, 0.9314006567001343, -0.7427196502685547, 0.04365374147891998, -0.3767813742160797, -1.071778416633606, -0.04697215184569359, 0.8022361397743225, -0.23447950184345245, 0.35711342096328735, 1.0695396661758423, 0.4419982135295868, 0.24942465126514435, 0.4314539134502411, 0.579765796661377, 0.2046952247619629, 0.25616922974586487, 0.9520928263664246, 1.1107678413391113, -0.14789573848247528, 0.20045028626918793, -0.07658575475215912, -0.3328583538532257, -0.07365752756595612, -0.8772558569908142, -1.4124902486801147, -0.5333322882652283, -0.16196765005588531, -0.18600131571292877, 0.09567011892795563, 1.1053423881530762, 0.5941436886787415, -0.42955711483955383, -0.36093300580978394, -0.04379265755414963, 0.014729805290699005, -0.49207600951194763, -0.16129647195339203, -0.22389821708202362, -0.14706750214099884, -0.5485279560089111, 0.475693941116333, 0.5686924457550049, -0.1647247076034546, -0.851105809211731, -0.15883687138557434, -0.20182470977306366, 0.5968997478485107, 0.48378986120224, 0.046517159789800644, -1.0090675354003906, -0.3973596394062042, -0.043620847165584564, -0.1464231163263321, 0.014148615300655365, 0.849983811378479, -0.6801292896270752, 0.331264853477478, 0.42059358954429626, 0.6403276324272156, -0.039142269641160965, -0.40542393922805786, 0.8148592114448547, -0.3230397701263428, -0.17218154668807983, 0.535137414932251, 0.45269232988357544, 0.03868721053004265, -0.1764763742685318, 0.6319948434829712, 0.22952143847942352, -0.43459075689315796, -0.9835408926010132, 0.32495787739753723, -0.8354802131652832, -0.25506091117858887, 0.8499290943145752, -0.3438664376735687, -0.5442375540733337, 0.13269245624542236, -0.01997327245771885, 0.14727534353733063, -0.28119030594825745, 0.6714620590209961, 0.873611330986023, -0.069587841629982, -0.1422901302576065, -0.5100386142730713, 0.15614862740039825, 0.521755576133728, -1.0284292697906494, 0.15332245826721191, 0.37624916434288025, -0.10353459417819977, 0.32555627822875977, 0.6497841477394104, -0.16956903040409088, 0.20986463129520416, 0.06530343741178513, 0.07368582487106323, -0.10230209678411484, -0.6576223373413086, -0.24700702726840973, 0.16194763779640198, -0.020104287192225456, -0.09425049275159836 ]
http://arxiv.org/abs/2402.06041v1
http://arxiv.org/pdf/2402.06041v1
A Prompt Response to the Demand for Automatic Gender-Neutral Translation
2024-02-08T20:24:44
2024-02-08T20:24:44
Beatrice Savoldi, Andrea Piergentili, Dennis Fucci, Matteo Negri, Luisa Bentivogli
cs.CL
cs.CL
Gender-neutral translation (GNT) that avoids biased and undue binary assumptions is a pivotal challenge for the creation of more inclusive translation technologies. Advancements for this task in Machine Translation (MT), however, are hindered by the lack of dedicated parallel data, which are necessary to adapt MT systems to satisfy neutral constraints. For such a scenario, large language models offer hitherto unforeseen possibilities, as they come with the distinct advantage of being versatile in various (sub)tasks when provided with explicit instructions. In this paper, we explore this potential to automate GNT by comparing MT with the popular GPT-4 model. Through extensive manual analyses, our study empirically reveals the inherent limitations of current MT systems in generating GNTs and provides valuable insights into the potential and challenges associated with prompting for neutrality.
[ -0.29744723439216614, -0.41200026869773865, 0.6343832612037659, 0.07533084601163864, -0.23670609295368195, 0.10172183811664581, -0.12637819349765778, -0.19337742030620575, -0.26244786381721497, 0.35899701714515686, -0.8112700581550598, -0.3173401355743408, -0.6963973045349121, 0.9369640946388245, -0.6204845309257507, 1.1754207611083984, -0.45619457960128784, 0.0388428159058094, 0.21919792890548706, -0.28868353366851807, -1.2339638471603394, -0.44578373432159424, -0.4301173985004425, -0.21053247153759003, 0.5144649744033813, 0.3665686249732971, 0.9088473320007324, 0.6181195974349976, 0.4089375138282776, 0.45526719093322754, 0.38357633352279663, -0.11918845772743225, -0.21072742342948914, 0.3485671579837799, -0.3033100962638855, -0.2513215243816376, -0.5269567966461182, 0.3057636022567749, 0.7124588489532471, 0.7855812311172485, 0.21106597781181335, 0.1987740695476532, 0.2928374707698822, 0.5788021683692932, -0.0717025101184845, 0.1892707496881485, -0.6496132016181946, 0.050612807273864746, 0.0030298884958028793, 0.1934325248003006, -0.11469237506389618, -0.5325364470481873, 0.2621086537837982, -0.46452072262763977, 0.6482863426208496, -0.10423606634140015, 0.8881767392158508, 0.3495866060256958, -0.5737490653991699, -0.35271134972572327, -0.8354774117469788, 0.9000394940376282, -0.3966338634490967, 0.3443353474140167, 0.15795430541038513, 0.4063398241996765, -0.09190382063388824, -0.2965204417705536, -0.35704320669174194, -0.32015565037727356, -0.018533868715167046, 0.021239137277007103, -0.5260674357414246, -0.06045813113451004, 0.31659814715385437, 0.24986974895000458, -0.6432114839553833, 0.03522876277565956, -0.27076637744903564, 0.01748257502913475, 0.014471227303147316, 0.2876572608947754, 0.5338343977928162, -0.25032323598861694, -0.26807230710983276, 0.2915434241294861, -0.43406224250793457, -0.16123640537261963, 0.7984054088592529, 0.45151713490486145, -0.32600924372673035, 0.7232356071472168, -0.21399475634098053, 0.535849928855896, 0.25195518136024475, 0.5114670395851135, 0.2839888632297516, -0.48654624819755554, -0.20354945957660675, -0.2172849029302597, 1.0057510137557983, 0.20011602342128754, 0.26447081565856934, -0.407559335231781, -0.33888745307922363, 0.2250090390443802, 0.17552420496940613, -0.9156672954559326, 0.11656555533409119, 0.16717776656150818, -0.2651560306549072, -0.1506948471069336, -0.2379026710987091, -0.629247784614563, -0.09106989204883575, -0.7198238372802734, 0.44551724195480347, -0.2193623185157776, -0.1280241757631302, -0.04653666168451309, -0.3884383738040924, 0.06589735299348831, 0.549627959728241, -0.9843184351921082, 0.2057938426733017, 0.4588232636451721, 0.9634964466094971, -0.160704106092453, -0.19832248985767365, -0.5204405188560486, -0.116700679063797, -0.35347118973731995, 0.19787856936454773, -0.3466869294643402, -0.3959991931915283, -0.49056026339530945, 0.18810875713825226, -0.0902639850974083, -0.18409758806228638, 0.4302997887134552, -0.20759154856204987, 0.5616505742073059, -0.8796196579933167, -0.06554265320301056, -0.22390444576740265, 0.2467595785856247, -0.5804817080497742, 0.28591930866241455, 0.31499865651130676, -0.8625898361206055, 0.3130117952823639, -0.5056262016296387, -0.17302338778972626, -0.0502265989780426, -0.46976885199546814, -0.2655180096626282, 0.1203220933675766, 0.206812784075737, 0.17486721277236938, -0.812921941280365, 0.7624357342720032, -0.4375176429748535, -0.27222034335136414, 0.23782280087471008, -0.8048059940338135, 0.8120610117912292, 0.03702206909656525, -0.7456048130989075, 0.13658535480499268, -0.12961165606975555, -0.3713928461074829, 0.14520633220672607, -0.09067580103874207, 0.00021560178720392287, -0.1669158637523651, -0.5434408783912659, 0.3793069124221802, 0.15688304603099823, -0.49311065673828125, 0.14808215200901031, -0.24598558247089386, 0.501829981803894, 1.0003749132156372, -0.5763850212097168, 0.5490980744361877, -0.04875040054321289, 0.7879402041435242, -0.4019085466861725, 0.07676874101161957, 0.08188634365797043, -0.9197506904602051, -0.5476348996162415, -0.32516276836395264, 0.5564256310462952, 0.8278142213821411, -0.9118157625198364, 0.1500771939754486, -0.24753639101982117, 0.0879993885755539, -0.7636401653289795, 0.23802892863750458, 0.4316612184047699, 0.8838489055633545, 0.35567957162857056, -0.3238897919654846, -0.43302229046821594, -1.085243582725525, -0.4003940224647522, 0.12424874305725098, -0.11865916848182678, 0.08333012461662292, 0.5274814963340759, -0.2625957727432251, 0.9412270188331604, 0.15885019302368164, -0.04288949444890022, -0.3553445339202881, 0.5557730793952942, 0.6123890280723572, 0.5795483589172363, 0.4776122570037842, -0.6024125218391418, -0.43125757575035095, 0.2709062099456787, -1.2826571464538574, -0.46017366647720337, -0.046183742582798004, -0.10144087672233582, 0.14655694365501404, 0.3015664517879486, -0.8156924247741699, 0.543667733669281, 0.7276757955551147, -0.16940534114837646, 0.48213085532188416, -0.4161665439605713, 0.39418184757232666, -0.679261326789856, 0.44780173897743225, -0.43018513917922974, -0.3471407890319824, -0.8413593769073486, -0.062405843287706375, 0.17877867817878723, -0.3708347678184509, -0.2827163636684418, 0.5277905464172363, -0.7157931327819824, -0.3528716564178467, -0.36873501539230347, -0.14577987790107727, -0.09786011278629303, 0.30532628297805786, -0.1891026794910431, 0.9426830410957336, 0.17187297344207764, -0.40778669714927673, -0.07346248626708984, 0.3887019455432892, 0.46434667706489563, 0.2556518614292145, -0.8855920433998108, 0.2141607254743576, -0.25313252210617065, 0.280507355928421, -0.8318679332733154, -0.3168675899505615, 0.7251215577125549, -0.4348295331001282, 0.4140143394470215, -0.3604629337787628, -0.22444814443588257, -0.5130234360694885, -0.2082415223121643, 0.6458091735839844, 0.6563300490379333, -0.2937726378440857, 0.4455239474773407, -0.0440434031188488, -0.5348680019378662, -0.679558277130127, -0.7565391659736633, 0.49019065499305725, -0.2172326296567917, -0.38378608226776123, 0.09757673740386963, -0.01954166777431965, -0.02767672948539257, 0.01229636836796999, 0.04916048049926758, 0.29284700751304626, 0.07904098182916641, 0.07627623528242111, 0.4659809470176697, -0.13567687571048737, -0.18278637528419495, 0.31174564361572266, -0.5833116173744202, -0.11109873652458191, -0.639185905456543, 0.4280354380607605, -0.4328464865684509, -0.46282488107681274, -0.732859194278717, 0.6904535293579102, 0.5825507044792175, -0.12209278345108032, 0.4950958490371704, 0.6083767414093018, -0.2156716287136078, 0.2560516595840454, -0.2337951511144638, -0.010830085724592209, -0.515518069267273, 0.06472333520650864, -0.32638588547706604, -0.8121482729911804, 0.4043818414211273, 0.36310145258903503, 0.18591879308223724, 0.5596696734428406, 0.6242774128913879, 0.2648009955883026, 1.4627232551574707, 0.38217979669570923, 0.09792480617761612, 0.07652958482503891, 0.2876286804676056, 0.19334518909454346, -0.582697868347168, 0.20646658539772034, -0.8122218251228333, -0.5727859139442444, -0.943608283996582, -0.4083225429058075, 0.3411857783794403, -0.12312322109937668, -0.5227633714675903, 0.4343820810317993, -0.6343373656272888, 0.1815148890018463, 0.5454981327056885, -0.28280049562454224, 0.3116439878940582, -0.018273206427693367, -0.07863356173038483, -0.28700655698776245, -0.5545342564582825, -0.5642374753952026, 1.1029142141342163, 0.3577008843421936, 0.4043956696987152, 0.26042455434799194, 0.5650784969329834, 0.2762788236141205, 0.5840394496917725, -0.36683788895606995, 0.5643821358680725, -0.6650977730751038, -0.7677181363105774, -0.040855772793293, -0.8663455843925476, -1.1299513578414917, 0.30090582370758057, 0.07534344494342804, -0.401027649641037, 0.26412299275398254, 0.26192066073417664, -0.023655645549297333, 0.14763957262039185, -0.9595730304718018, 0.8956941962242126, -0.3599078059196472, -0.29375821352005005, 0.363905131816864, -0.6702388525009155, 0.4871206283569336, -0.2842632234096527, 0.16982869803905487, -0.16630323231220245, -0.13978144526481628, 0.20664478838443756, -0.3627617061138153, 0.9035341143608093, -0.31158390641212463, -0.07499981671571732, -0.029032384976744652, 0.338868647813797, 0.48818886280059814, -0.1260160505771637, -0.23053626716136932, 0.377702534198761, -0.7137106657028198, -0.4465305209159851, -0.18071962893009186, 0.6165950298309326, -0.826129674911499, -0.8765718936920166, -0.4694724977016449, -0.8639858961105347, -0.09737180173397064, 0.4632304310798645, 0.370523601770401, 0.21922188997268677, 0.018708061426877975, -0.11683076620101929, 0.36273884773254395, -0.5849069356918335, 0.4187985956668854, 0.3455319106578827, -0.3940139710903168, -0.4958327114582062, 0.9145439267158508, 0.19326138496398926, 0.43024060130119324, 0.17515075206756592, 0.3717237114906311, -0.5781921148300171, -0.5609904527664185, -1.0580745935440063, 0.19319847226142883, -0.5779966115951538, -0.05786927044391632, -1.0462557077407837, 0.2669233977794647, -0.3806004226207733, -0.31405317783355713, -0.15272261202335358, -0.4755329191684723, -0.256574422121048, 0.013704421930015087, 0.2012253701686859, 0.8268132209777832, -0.03716297447681427, -0.020643046125769615, -0.6363574862480164, 0.6777592897415161, 0.5267729163169861, -0.026291729882359505, -0.31980666518211365, -0.6849327087402344, 0.39656761288642883, 0.003405450377613306, -0.2656934857368469, -1.139877438545227, 0.5149157643318176, -0.23926390707492828, 0.36477622389793396, -0.018009068444371223, -0.09332535415887833, 0.4097103774547577, -0.7667688131332397, 0.5893449783325195, 0.42087894678115845, -1.1552681922912598, 0.23652349412441254, -1.1327546834945679, 0.5799105763435364, 0.47410818934440613, 0.3338939845561981, -0.2009258270263672, -0.5388116240501404, -0.43233078718185425, -0.8487678170204163, 0.7743979692459106, 0.7475239634513855, 0.2756524682044983, 0.06708677858114243, 0.1939253807067871, 0.7149633169174194, 0.8056357502937317, -0.7857983708381653, 0.20467062294483185, -0.5696383714675903, -0.25932449102401733, -0.07416996359825134, 0.40428081154823303, 0.14191702008247375, -0.13555942475795746, 0.5247694849967957, -0.14586985111236572, 0.5177250504493713, 0.13434357941150665, -0.0538615956902504, 0.012063086964190006, 0.4868217706680298, 0.5733821392059326, 0.09570271521806717, -0.16212640702724457, 0.13414981961250305, 0.3248195946216583, -0.11265365779399872, 0.3920381963253021, 0.24625597894191742, -0.7048214673995972, 0.3124784231185913, -0.05696253851056099, 0.9520758390426636, -0.1549861878156662, -0.07069062441587448, 0.32821232080459595, -0.19140775501728058, -0.48107799887657166, 0.21921317279338837, -0.2845284342765808, 0.009265214204788208, -0.10773967206478119, -0.03201394900679588, 0.39263585209846497, 0.13110344111919403, -0.3984034061431885, -0.08145492523908615, 0.450104296207428, -0.5112619400024414, -0.5784120559692383, 1.0803953409194946, 0.30703726410865784, -0.1835644543170929, 0.5941212177276611, -0.5482146143913269, -0.46845778822898865, 0.42763954401016235, 0.45649397373199463, 1.363226294517517, -0.41878238320350647, 0.29466208815574646, 0.2712905704975128, 0.7941692471504211, -0.22069492936134338, 0.21617260575294495, 0.1893097162246704, -0.2522255480289459, -0.43794938921928406, -0.36188870668411255, -0.3428267240524292, -0.04187386855483055, -0.2458648830652237, 0.4116167426109314, -0.5184314846992493, -0.3696447014808655, -0.258539080619812, -0.6367847919464111, -1.0409268140792847, -0.08071693032979965, 0.0486619658768177, 0.28774046897888184, -0.5994158387184143, 0.4888899624347687, 0.39489635825157166, -0.5294830203056335, -0.7101171016693115, -0.021037520840764046, 0.19007867574691772, -0.5771443843841553, 0.5468403100967407, 0.4488202929496765, -0.39357754588127136, -0.009137675166130066, -0.08563094586133957, -0.4658743143081665, 0.8105524182319641, 1.0997177362442017, -0.5575065016746521, -0.24770554900169373, 0.6495450139045715, 0.3200596868991852, -0.13242599368095398, 0.3761198818683624, 0.3602712154388428, 0.7606331706047058, -0.4477052092552185, -0.9837108254432678, 0.3706808388233185, -0.17483094334602356, 0.04392930492758751, 0.29605042934417725, -0.3798460066318512, 1.3917155265808105, 0.1944672018289566, -0.17092059552669525, 0.19252736866474152, 0.37026211619377136, -0.15949077904224396, 0.18949146568775177, 0.5984106659889221, 0.2013072818517685, 0.47560983896255493, -0.152017280459404, 1.138596773147583, 0.25853824615478516, 0.1281890720129013, 0.9187401533126831, -0.5804798007011414, 0.11817274242639542, 0.2771099805831909, 0.08368559926748276, 0.34156534075737, 0.20986604690551758, 0.0520312562584877, 0.050559524446725845, -0.07962333410978317, -0.3302147686481476, -0.29705700278282166, -0.05751337856054306, -0.6151639223098755, 0.3236337900161743, 0.192169189453125, -0.3665646016597748, -0.6463256478309631, -0.060020074248313904, 0.06360646337270737, -0.09514904022216797, -0.1497015506029129, 0.35949811339378357, 0.2147827297449112, -0.9159731864929199, 0.7426916360855103, 0.26667967438697815, 0.4973616898059845, -0.5833263397216797, 0.050669413059949875, -0.1843073070049286, 0.05223884806036949, 0.08381849527359009, -0.45907771587371826, 0.4044983685016632, 0.559144914150238, -0.30375969409942627, -0.7805547118186951, 0.7204937934875488, -0.20704588294029236, -0.4787498414516449, 0.37541764974594116, 0.7649176716804504, 0.047499749809503555, -0.05759231373667717, -0.9370448589324951, -0.07613568007946014, 0.28367358446121216, 0.03126506134867668, 0.3413752019405365, 0.7220572233200073, -0.4454268217086792, 0.47553545236587524, 0.7405185103416443, -0.31278499960899353, 0.0017280378378927708, -0.03773994371294975, 0.6026608347892761, -0.6822199821472168, -0.6076348423957825, -0.8652366995811462, 0.5546826720237732, 0.17655879259109497, -0.2882383167743683, 0.8921236395835876, 0.10761812329292297, 0.2804130017757416, -0.20237472653388977, 1.137039065361023, -0.10405068844556808, 0.43052878975868225, -0.23854009807109833, 0.5394465327262878, -0.3810451626777649, 0.28742489218711853, -0.39523014426231384, -0.7160349488258362, -0.25336843729019165, -0.050344888120889664, -0.506556510925293, 0.24381966888904572, 0.6227415204048157, 0.6366456747055054, -0.4140476584434509, 0.31096354126930237, 0.15436354279518127, 0.062068331986665726, 0.3876674473285675, 0.3992465138435364, 0.9184926748275757, -0.22824859619140625, 0.7321758270263672, 0.4029190242290497, -0.31314167380332947, 0.0394030325114727, -1.1033380031585693, -0.990128219127655, -0.09849470108747482, -0.14890971779823303, -0.23785409331321716, 0.27586355805397034, 0.8256252408027649, 0.322406530380249, -0.8170980215072632, -0.1515374630689621, -0.7000987529754639, 0.050306130200624466, 0.04028267413377762, -0.011455905623733997, -0.0407349057495594, -0.3883186876773834, -0.9047651290893555, 0.39338240027427673, 0.15317046642303467, 0.22087493538856506, -0.11536552011966705, -0.23810304701328278, 0.1022644117474556, -0.12951180338859558, 0.20529113709926605, 0.34675899147987366, -0.5842999219894409, -0.18134605884552002, 0.2408968061208725, 0.002532277023419738, -0.09232140332460403, 0.8423763513565063, -0.6012793779373169, 0.5098596215248108, 0.535632848739624, 0.8356795907020569, 0.031047236174345016, -0.01793733239173889, 1.1539158821105957, -0.6764021515846252, 0.04567372053861618, 0.1716604381799698, 0.13044582307338715, 0.5039646029472351, -0.18642395734786987, 0.190841943025589, 0.49802306294441223, -0.5102760195732117, -0.7351663708686829, 0.4990397095680237, -0.618123471736908, -0.19193679094314575, 1.0859113931655884, -0.09436588734388351, 0.030035793781280518, -0.5333515405654907, -0.33172371983528137, 0.4919819235801697, -0.586317241191864, 0.3844454288482666, 0.5055081844329834, 0.16227886080741882, 0.25219765305519104, -1.1917756795883179, 0.15341778099536896, 0.778847336769104, -0.5026692152023315, 0.009567641653120518, 0.3508327901363373, 0.2701001465320587, -0.1459902822971344, 0.7131786942481995, -0.12788556516170502, 0.22467346489429474, -0.1927807629108429, 0.06537028402090073, -0.025563865900039673, -0.15485341846942902, -0.544056236743927, 0.21851271390914917, -0.10084578394889832, -0.2705978751182556 ]
http://arxiv.org/abs/2402.06025v6
http://arxiv.org/pdf/2402.06025v6
Doing Experiments and Revising Rules with Natural Language and Probabilistic Reasoning
2024-02-08T19:57:29
2024-05-22T21:24:19
Wasu Top Piriyakulkij, Cassidy Langenfeld, Tuan Anh Le, Kevin Ellis
cs.AI
cs.AI, cs.CL
We give a model of how to infer natural language rules by doing experiments. The model integrates Large Language Models (LLMs) with Monte Carlo algorithms for probabilistic inference, interleaving online belief updates with experiment design under information-theoretic criteria. We conduct a human-model comparison on a Zendo-style task, finding that a critical ingredient for modeling the human data is to assume that humans also consider fuzzy, probabilistic rules, in addition to assuming that humans perform approximately-Bayesian belief updates. We also compare with recent algorithms for using LLMs to generate and revise hypotheses, finding that our online inference method yields higher accuracy at recovering the true underlying rule, and provides better support for designing optimal experiments.
[ -0.2514423429965973, -1.0524325370788574, 0.9460474848747253, 0.1218816488981247, -0.07966972887516022, -0.1443469077348709, -0.5025262832641602, -0.36406034231185913, 0.07938925921916962, 0.7982280850410461, -0.6650232076644897, -0.4382838010787964, -0.20312003791332245, 0.13509833812713623, -0.41869500279426575, 0.655695378780365, 0.03977064788341522, 0.22074632346630096, -0.16219158470630646, 0.6197707653045654, 0.02628662995994091, -0.24495548009872437, -0.741977870464325, -0.5775988698005676, 0.35593175888061523, 0.5287876725196838, 0.8607682585716248, 0.311360627412796, 0.5925495028495789, 0.3527378737926483, 0.06075114384293556, 0.18389226496219635, -0.26384514570236206, -0.022089140489697456, -0.39062273502349854, -0.7952573895454407, -0.20448404550552368, 0.1365932822227478, 0.4686826169490814, 0.7672640085220337, -0.5463634729385376, -0.26955461502075195, -0.23763802647590637, 0.354898065328598, -0.3548591136932373, 0.23057059943675995, -0.5674354434013367, -0.036482132971286774, 0.18256177008152008, -0.3318365514278412, -0.5670068264007568, -0.7149314880371094, 0.07080342620611191, -0.6912502646446228, 0.6171033978462219, 0.11794964224100113, 0.7497184872627258, -0.12961755692958832, -0.2984701693058014, -0.2910956144332886, -0.9043250679969788, 0.8942980170249939, -1.2994716167449951, 0.42798277735710144, 0.7145490646362305, 0.26506516337394714, -0.8433899879455566, -0.6972875595092773, -0.9964314699172974, -0.7579233646392822, -0.1457226276397705, -0.13062834739685059, 0.058598145842552185, 0.4488513767719269, 0.47549840807914734, 0.31085044145584106, -0.26690852642059326, -0.04027470201253891, -0.22663307189941406, 0.113240085542202, 1.0298441648483276, -0.12076845020055771, 0.315258264541626, -0.08800286799669266, -0.08461973071098328, -0.34725847840309143, -0.6744748950004578, -0.19822843372821808, 0.42814400792121887, 0.25844383239746094, 0.16783100366592407, 0.7042360305786133, -0.7511175274848938, 0.6899078488349915, -0.0243915393948555, -0.3656390607357025, 0.3082343339920044, -0.3054342567920685, -0.3384571373462677, 0.017018504440784454, 0.7956539392471313, 0.5213772654533386, 0.5727826952934265, -0.3845461905002594, -0.27915647625923157, 0.04069630056619644, 0.3602825999259949, -0.4528960883617401, -0.30275607109069824, 0.06468145549297333, -0.2839113175868988, -0.23816944658756256, 0.18693561851978302, -0.6297844648361206, -0.5052617192268372, -0.5812375545501709, 0.8482811450958252, -0.4906533360481262, -0.1796916127204895, 0.5909852981567383, -0.34184661507606506, -0.028392711654305458, 0.5519465804100037, -0.8707019090652466, 0.7480748295783997, 0.8155682682991028, 0.5278624296188354, 0.24345257878303528, -0.41291630268096924, -0.35264042019844055, 0.1086294949054718, -0.6481707096099854, 0.9009079337120056, -0.5681794881820679, -0.3204396963119507, -0.13497567176818848, -0.06241130828857422, 0.01889765076339245, -0.3791685402393341, 0.7912845015525818, -0.5047947764396667, 0.3404524624347687, -0.33815398812294006, -0.9200472235679626, -0.48004329204559326, 0.02440257929265499, -0.535122275352478, 0.8850346207618713, -0.05188016593456268, -0.8450735211372375, 0.3301241993904114, -0.8016698956489563, -0.4693320095539093, -0.16233152151107788, -0.01100056990981102, -0.2847994267940521, 0.20563147962093353, -0.08408956229686737, 0.43166616559028625, -0.40476709604263306, 0.428145170211792, -0.5034217238426208, -0.42337992787361145, 0.7398577928543091, -0.20148532092571259, 0.6858193278312683, 0.2880726754665375, -0.38495224714279175, 0.21044830977916718, -0.6801466345787048, -0.0024781697429716587, 0.15600934624671936, -0.26654431223869324, -0.2349693328142166, 0.796814501285553, -0.06229903921484947, -0.012645348906517029, -0.28589969873428345, -0.791046679019928, 0.4482252299785614, -0.583455502986908, 0.6085453629493713, 0.49729228019714355, 0.26977282762527466, 0.44150054454803467, -0.5220668911933899, 0.060942184180021286, -0.32099437713623047, 0.11300640553236008, 0.16500908136367798, -0.7049790620803833, -0.6832834482192993, -0.10221803933382034, 0.26094216108322144, 0.539695680141449, -0.6166861653327942, 0.2983980178833008, -0.12854495644569397, -0.5037904381752014, -0.4574373960494995, 0.19903695583343506, 0.0508476197719574, 0.3989724814891815, 0.3394578695297241, -0.16175392270088196, -0.5742690563201904, -1.0065574645996094, -0.44174593687057495, -0.1671067327260971, -0.31156402826309204, -0.13284045457839966, 0.5683485865592957, -0.30989134311676025, 1.0341092348098755, -0.49326130747795105, 0.04211985692381859, -0.39849045872688293, 0.5924456119537354, 0.3589150905609131, 0.4451840817928314, 0.2916523218154907, -0.8180565237998962, -0.1623409390449524, -0.12227015197277069, -0.5077775716781616, -0.18698793649673462, -0.2680536210536957, 0.003153847996145487, -0.06773938238620758, 0.5968344807624817, -0.7921998500823975, 0.6107944846153259, 0.1441548764705658, -0.3465271294116974, 0.3755117356777191, -0.44701194763183594, 0.6190972924232483, -0.9282391667366028, -0.4842648506164551, 0.2951158583164215, -0.24836945533752441, -1.038562297821045, 0.18980476260185242, 0.015593034215271473, 0.4335644841194153, -0.3457675874233246, 0.34198522567749023, -0.3858715295791626, -0.0843873992562294, -0.4409755766391754, 0.08536818623542786, -0.08147644251585007, 0.18173956871032715, 0.4001259505748749, 0.5696165561676025, 0.4274745285511017, -0.7053934931755066, 0.4581999182701111, -0.1612536907196045, -0.6987294554710388, 0.2474398910999298, -0.6578500270843506, -0.04278845712542534, -0.30394163727760315, 0.15187500417232513, -1.1480709314346313, -0.4486483335494995, 0.35060280561447144, -0.5181801319122314, 0.10842741280794144, 0.19057346880435944, -1.129281759262085, -0.21324048936367035, -0.32777416706085205, -0.1008189246058464, 0.6614748239517212, -0.4144825041294098, 0.6907890439033508, 0.1328127384185791, -0.11048559844493866, -0.057857248932123184, -0.6214241981506348, 0.3131139576435089, -0.2399473786354065, -0.4235036075115204, 0.4923064708709717, -0.09037156403064728, -1.0094091892242432, 0.007996775209903717, 0.37285131216049194, -0.12987348437309265, 0.34794124960899353, 0.12890197336673737, 0.09147123992443085, -0.10483723878860474, 0.14769496023654938, -0.10907900333404541, 0.13267171382904053, 0.35274848341941833, 0.11992622166872025, 0.3916020393371582, 0.12186086177825928, -0.45639437437057495, -0.6519453525543213, 0.2832183539867401, 0.20199652016162872, 0.1856323778629303, 0.6622781753540039, 0.2827002704143524, -0.7018176913261414, -0.23486508429050446, -0.8380885720252991, -0.5157188773155212, -0.4925578832626343, 0.19872264564037323, -0.3800660967826843, -0.5429760813713074, 0.151598259806633, -0.018584299832582474, 0.12633031606674194, 0.34912458062171936, 0.5895479321479797, -0.5173680186271667, 1.2508811950683594, 0.542828381061554, 0.3426204025745392, 0.4639246165752411, 0.09949717670679092, 0.278107613325119, -0.636600136756897, 0.048553429543972015, -0.5100888609886169, -0.0767548531293869, -0.5951294302940369, -0.6869091987609863, 0.019730815663933754, 0.30327656865119934, -0.19979578256607056, 0.25442662835121155, -0.053694069385528564, 0.49648478627204895, 0.925619900226593, 0.31997400522232056, 0.33549362421035767, -0.05940277501940727, -0.001946658594533801, 0.09637276828289032, -0.5242828130722046, -0.6118229031562805, 1.002234935760498, 0.15176139771938324, 1.1201388835906982, 0.1827227622270584, 0.7029028534889221, 0.3796178102493286, 0.6311721205711365, -0.6670928597450256, 0.5582696795463562, 0.341645210981369, -0.711662232875824, -0.1822039633989334, -0.5693480968475342, -0.8073030710220337, 0.17119243741035461, -0.5599578619003296, -0.9943166971206665, -0.0793672651052475, 0.10453931987285614, -0.132307767868042, 0.4812413156032562, -0.8363892436027527, 0.5141564011573792, -0.14901116490364075, -0.33313220739364624, -0.5640308260917664, -0.4746069312095642, 0.4118373692035675, 0.043821677565574646, 0.5657371282577515, -0.15683922171592712, 0.1201484277844429, 0.7187297940254211, -0.2671716511249542, 1.1519123315811157, 0.11147033423185349, -0.07564818859100342, 0.5917935371398926, 0.3335881531238556, 0.4727666676044464, 0.12464414536952972, -0.14049892127513885, -0.11063896119594574, 0.06070864573121071, -0.2548500895500183, -0.7277530431747437, 0.5538862943649292, -0.7446224093437195, -0.8493975400924683, -0.47613635659217834, -0.5218075513839722, -0.29674002528190613, 0.037903815507888794, 0.009001432918012142, 0.027208073064684868, -0.19797278940677643, 0.05572490766644478, 0.8411145806312561, -0.21582385897636414, 0.23370324075222015, 0.6912939548492432, -0.3831923305988312, -0.23594646155834198, 0.5351564884185791, 0.01146053709089756, 0.546827495098114, 0.6461650133132935, 0.43739020824432373, -0.2176436483860016, -0.4999907612800598, -0.08426716923713684, 0.3865234851837158, -0.6941860318183899, 0.16151636838912964, -0.5291346311569214, -0.11906376481056213, -0.5786100625991821, -0.17094430327415466, -0.11806729435920715, -0.2905369997024536, -0.2085941880941391, -0.1910778135061264, 0.5888493657112122, 0.9112395644187927, -0.29891273379325867, 0.3679516315460205, -0.6832874417304993, 0.6075611710548401, 0.4279446303844452, 0.27384310960769653, -0.12434723228216171, -0.4993789494037628, 0.06330662220716476, 0.47512200474739075, -0.12137968838214874, -1.2940682172775269, 0.3485082983970642, 0.20928172767162323, 0.7825904488563538, 0.4304753243923187, -0.031205859035253525, 0.4930252134799957, -0.5994680523872375, 0.5517995357513428, 0.052563682198524475, -0.8261734843254089, 0.6432957649230957, -0.3965538740158081, -0.1574011892080307, 0.3553762137889862, 0.4748675227165222, -0.758757472038269, -0.395123153924942, -0.8128658533096313, -0.3364051878452301, 0.45378294587135315, 0.20296981930732727, -0.005585466977208853, -0.286289244890213, 0.6206905841827393, 0.027756547555327415, 0.29303497076034546, -0.3952137231826782, 0.17071208357810974, 0.11216409504413605, -0.32291379570961, -0.38671794533729553, -0.13960886001586914, -0.1373109519481659, -0.33257338404655457, 0.7226266860961914, -0.17879532277584076, 0.2120833545923233, 0.3363191783428192, -0.01283296849578619, -0.2170330286026001, 0.3972325921058655, 0.7326745390892029, 0.8176674842834473, -0.45806238055229187, 0.2546902596950531, 0.43767839670181274, -0.167809396982193, -0.02558118849992752, -0.009691252373158932, -0.26401087641716003, -0.15700949728488922, 0.5386988520622253, 0.6012009978294373, 0.4872129559516907, -0.9539926052093506, 0.15267716348171234, -0.30775249004364014, -0.5474728941917419, -0.3020007312297821, 0.5553622245788574, 0.5115553140640259, 0.3062526285648346, 0.3310525119304657, -0.029863370582461357, 0.3488667905330658, -0.933253288269043, 0.24868206679821014, 0.26482170820236206, 0.037793055176734924, -0.43656685948371887, 0.5593929886817932, -0.23998668789863586, -0.7182934284210205, 0.5113562345504761, -0.40802955627441406, -0.5205141305923462, 0.5366573929786682, 0.6689453721046448, 0.5857557654380798, -0.07866158336400986, 0.2879420518875122, 0.3816395699977875, 0.3136751055717468, -0.6731675863265991, 0.5979171395301819, 0.024147160351276398, -0.9061692953109741, -0.5938006043434143, -0.534656286239624, -0.6773646473884583, -0.18781758844852448, -0.4534730613231659, 0.2993852198123932, -0.40921467542648315, -0.1080167219042778, 0.11086958646774292, 0.006731230299919844, -0.5534814596176147, 0.47690829634666443, 0.2310762256383896, 0.9488240480422974, -0.8854168057441711, 0.9189760684967041, 0.671771228313446, -0.33479827642440796, -0.5432214140892029, 0.03165917098522186, 0.1281045377254486, -0.6275899410247803, 0.653401255607605, -0.12795390188694, -0.042610183358192444, -0.04567195475101471, -0.8651813268661499, -1.0758037567138672, 0.8276966214179993, 0.1347607970237732, -0.6274019479751587, 0.11283162236213684, -0.016017641872167587, 0.5860441327095032, -0.273309588432312, 0.29861706495285034, 0.5784397721290588, 0.4443747401237488, 0.21159476041793823, -0.8076719045639038, -0.13361050188541412, -0.05367927625775337, -0.09658441692590714, 0.20822367072105408, -0.2144448310136795, 1.0723686218261719, -0.6343669891357422, -0.24841268360614777, -0.017540615051984787, 0.8865876197814941, 0.21769918501377106, 0.14749358594417572, 0.6476974487304688, 0.7770556211471558, 0.746360719203949, -0.04306725412607193, 1.2142155170440674, 0.031896717846393585, 0.4601254165172577, 1.3002269268035889, -0.44082996249198914, 1.0902072191238403, 0.4894866645336151, -0.45205309987068176, 0.5841194987297058, 0.9012045860290527, 0.17245112359523773, 0.5510599613189697, 0.5229164958000183, -0.29024121165275574, -0.49117276072502136, 0.04049014672636986, -0.09957649558782578, 0.1805392950773239, 0.4415867328643799, -0.2303600162267685, -0.16620230674743652, -0.20778857171535492, 0.17050743103027344, 0.16691675782203674, -0.25912052392959595, 0.8197055459022522, -0.015352175571024418, -0.8431774377822876, 0.09419913589954376, 0.5125784277915955, 0.5745819211006165, -0.44518235325813293, -0.30836471915245056, 0.05011618509888649, 0.3750499486923218, -0.14271582663059235, -0.9717115163803101, 0.1580812931060791, -0.13355691730976105, 0.07946700602769852, -0.009382623247802258, 0.7164843082427979, -0.3129012882709503, -0.767865002155304, 0.08206026256084442, 0.17788229882717133, 0.15690450370311737, 0.03620557859539986, -0.5822038650512695, -0.22429879009723663, -0.11334944516420364, -0.5232594609260559, 0.22463075816631317, 0.3180612027645111, -0.12637144327163696, 0.8495491147041321, 0.82045978307724, 0.3446836769580841, 0.19271765649318695, 0.2580128312110901, 0.6607940793037415, -0.8861766457557678, -0.40966978669166565, -0.9424425363540649, 0.2534129023551941, -0.2629457414150238, -0.017910098657011986, 0.7474183440208435, 0.26621800661087036, 0.9279701709747314, -0.01072858739644289, 0.86086505651474, 0.04920361191034317, 0.6102798581123352, -0.7575129270553589, 0.34707748889923096, -0.36491236090660095, 0.06964708119630814, -0.1397029310464859, -0.6744039058685303, -0.3251638114452362, 1.0527591705322266, -0.44525429606437683, -0.022406186908483505, 0.5798078775405884, 0.9071993231773376, -0.012566635385155678, 0.3566727936267853, 0.08289357274770737, 0.4134722054004669, 0.4191931486129761, 0.4718822240829468, 0.9066576361656189, -0.28836989402770996, -0.3087330162525177, -0.5584798455238342, -0.2561233639717102, -0.31791794300079346, -1.0117322206497192, -0.9695819616317749, -0.4945656955242157, -0.4366458058357239, -0.322444349527359, -0.00026542815612629056, 1.3955912590026855, 0.4584893584251404, -0.7610583901405334, -0.5078510642051697, -0.2826823890209198, 0.17279167473316193, -0.39652854204177856, -0.2800769507884979, -0.04469398036599159, -0.4086432456970215, -0.544861376285553, 0.49116697907447815, -0.027281636372208595, 0.014502635225653648, -0.21532386541366577, -0.12318193167448044, -0.6587849855422974, 0.5706824660301208, 0.41718408465385437, -0.009660397656261921, -0.8460168242454529, -0.5168749094009399, -0.10604381561279297, -0.15000811219215393, 0.03985900804400444, 0.7461528182029724, -0.7506867051124573, 0.5059554576873779, 0.8331518769264221, 0.3353882133960724, 0.44947943091392517, -0.023227782920002937, 0.6875640749931335, -0.17941342294216156, -0.2235456258058548, 0.08624819666147232, 0.45339837670326233, 0.3238244652748108, -0.07784505188465118, 0.5987528562545776, 0.30641475319862366, -0.4868525266647339, -0.9177002906799316, 0.18315823376178741, -0.7833273410797119, -0.42584770917892456, 1.255900502204895, -0.0443686805665493, -0.44206753373146057, 0.009874922223389149, -0.30381128191947937, 0.24795104563236237, -0.1728971153497696, 0.9731534719467163, 0.7836750149726868, -0.3172844350337982, -0.22055454552173615, -0.9998313784599304, 0.5735271573066711, -0.0020155850797891617, -0.9594020247459412, 0.014165299944579601, 0.27396512031555176, 0.5605987906455994, 0.07080324739217758, 0.5751202702522278, 0.2104232758283615, 0.28716930747032166, 0.0178129430860281, 0.30128756165504456, 0.3567456007003784, -0.12718433141708374, 0.09728575497865677, -0.06642505526542664, 0.2676629424095154, 0.2929171919822693 ]
http://arxiv.org/abs/2402.06015v2
http://arxiv.org/pdf/2402.06015v2
Exploring Visual Culture Awareness in GPT-4V: A Comprehensive Probing
2024-02-08T19:25:40
2024-02-15T10:39:19
Yong Cao, Wenyan Li, Jiaang Li, Yifei Yuan, Antonia Karamolegkou, Daniel Hershcovich
cs.CL
cs.CL, cs.CV
Pretrained large Vision-Language models have drawn considerable interest in recent years due to their remarkable performance. Despite considerable efforts to assess these models from diverse perspectives, the extent of visual cultural awareness in the state-of-the-art GPT-4V model remains unexplored. To tackle this gap, we extensively probed GPT-4V using the MaRVL benchmark dataset, aiming to investigate its capabilities and limitations in visual understanding with a focus on cultural aspects. Specifically, we introduced three visual related tasks, i.e. caption classification, pairwise captioning, and culture tag selection, to systematically delve into fine-grained visual cultural evaluation. Experimental results indicate that GPT-4V excels at identifying cultural concepts but still exhibits weaker performance in low-resource languages, such as Tamil and Swahili. Notably, through human evaluation, GPT-4V proves to be more culturally relevant in image captioning tasks than the original MaRVL human annotations, suggesting a promising solution for future visual cultural benchmark construction.
[ -0.6938039064407349, -0.24706587195396423, 0.3623785674571991, 0.07589639723300934, -0.3971906006336212, 0.011633400805294514, -0.35039767622947693, -0.6346963047981262, -0.3552229404449463, 0.42673835158348083, -0.46250468492507935, -0.5714406967163086, -0.3987976610660553, 0.21661163866519928, 0.1654861867427826, 0.8870071172714233, -0.49065712094306946, 0.05434652045369148, -0.24271829426288605, -0.4287518560886383, -0.7359734177589417, -0.4714716672897339, -0.24284271895885468, -0.029609907418489456, 0.30508294701576233, 0.2555144727230072, 0.24863839149475098, 0.4720092713832855, 0.8012593388557434, 0.21963518857955933, 0.2161865383386612, 0.06293971091508865, -0.6484139561653137, -0.07332306355237961, 0.0065386053174734116, -0.47403600811958313, -0.25581130385398865, 0.4607662856578827, 0.5877973437309265, 0.15835237503051758, 0.08665668964385986, 0.500389814376831, -0.1178799420595169, 0.6695248484611511, -0.7332250475883484, 0.6477898359298706, -0.4805225729942322, 0.2921347916126251, -0.4816407859325409, -0.13602682948112488, -0.10788874328136444, -0.04550032317638397, 0.33247822523117065, -0.6182587742805481, 0.17309115827083588, -0.04532357305288315, 0.7805994153022766, 0.5190373659133911, -0.5795134902000427, 0.1961280256509781, -0.6660831570625305, 0.7021307349205017, -0.033296555280685425, 0.6274099349975586, 0.44401440024375916, 0.5910507440567017, 0.4499457776546478, -0.8525186777114868, -0.5446233153343201, -0.04269769787788391, 0.17070822417736053, 0.5342274308204651, -0.24099500477313995, -0.1585879921913147, 0.4319974482059479, 0.2919481098651886, -0.7252699732780457, -0.14622336626052856, -0.4903410077095032, -0.4628826975822449, 0.41721752285957336, 0.04412847012281418, 0.33956006169319153, -0.12349162995815277, -0.5362737774848938, -0.03157972916960716, -0.8205094337463379, 0.2588963210582733, 0.019525619223713875, -0.12539124488830566, -0.3096964657306671, 0.2752743363380432, -0.3797517716884613, 0.6716147065162659, -0.529263973236084, 0.08106033504009247, 0.3615845739841461, -0.7472624778747559, -0.25855937600135803, -0.4244190454483032, 0.6449466347694397, 0.882817804813385, 0.7258095145225525, 0.3184265196323395, -0.11537274718284607, 0.12084819376468658, 0.3193542957305908, -0.9035892486572266, -0.5291551947593689, -0.3433787226676941, -0.44153308868408203, -0.18850857019424438, -0.11746621876955032, -0.5658175945281982, -0.5385748744010925, -0.09443790465593338, 0.3694590628147125, -0.34822389483451843, -0.3306122422218323, -0.2500157654285431, -0.1653517484664917, 0.7575531601905823, 0.6660041213035583, -0.9012108445167542, -0.120649054646492, 0.41044485569000244, 0.7093176245689392, -0.21633128821849823, -0.28072425723075867, -0.2597045600414276, 0.09460852295160294, -0.5506089329719543, 0.506737470626831, -0.5532000660896301, -0.2834053337574005, -0.1573583483695984, -0.12054132670164108, 0.1494438201189041, -0.286472886800766, 0.5960033535957336, -0.5934290289878845, 0.05503440648317337, -0.780512273311615, 0.011491821147501469, -0.4142703711986542, 0.7450250387191772, -0.6197806000709534, 0.6196491718292236, 0.17134447395801544, -0.9165692925453186, 0.8170391917228699, -0.4715158939361572, -0.08218465000391006, 0.5988242626190186, -0.7061402797698975, -0.34580403566360474, -0.061196018010377884, 0.5039359927177429, 0.4981536865234375, -0.16069014370441437, -0.23665623366832733, -0.1528228372335434, -0.6364749670028687, 0.016868963837623596, -0.5941805839538574, 0.3194054961204529, 0.3917020261287689, -0.3549097776412964, 0.17515142261981964, -0.29108038544654846, -0.2659311294555664, 0.25878363847732544, -0.020661164075136185, -0.4241337478160858, -0.30198433995246887, -0.13095726072788239, 0.17236080765724182, 0.33118873834609985, -0.3229013979434967, 0.21526563167572021, 0.06507433205842972, 0.42974939942359924, 0.6827886700630188, 0.05221153795719147, 0.45067331194877625, 0.08461060374975204, 0.7895317673683167, 0.14223383367061615, 0.4797033369541168, -0.26212820410728455, -0.6642128229141235, -0.43056783080101013, -0.2544287145137787, -0.08134280145168304, 0.37372317910194397, -1.201125979423523, -0.5087676644325256, -0.2994386553764343, -0.38494056463241577, -0.32085999846458435, 0.1461717188358307, 0.3759750425815582, 0.6060921549797058, 0.22431747615337372, -0.646353542804718, -0.3135377764701843, -1.107151746749878, -0.05602550134062767, -0.24977415800094604, 0.19619058072566986, 0.4884788393974304, 0.4889749586582184, -0.07402346283197403, 0.6803723573684692, -0.3868236839771271, -0.46323779225349426, -0.18898136913776398, 0.12642215192317963, -0.02904270961880684, 0.200008362531662, 0.6908764839172363, -1.0468400716781616, -0.4743940234184265, 0.29860392212867737, -0.8251070380210876, 0.09891791641712189, 0.2694838047027588, 0.019959906116127968, 0.3414563834667206, 0.43943697214126587, -0.12592150270938873, 0.4919643700122833, 0.6345357298851013, -0.08407007157802582, 0.4995540678501129, -0.19115960597991943, 0.46964767575263977, -0.7153545618057251, -0.11570484191179276, 0.16666921973228455, -0.136112242937088, -0.5867984890937805, -0.023487726226449013, 0.5113914012908936, -0.1418221890926361, -0.46115192770957947, 0.23590382933616638, -0.683069109916687, -0.40049248933792114, -0.05731517821550369, -0.13349305093288422, -0.13380715250968933, 0.3967529237270355, 0.4474518299102783, 0.9823277592658997, 0.7469225525856018, -0.02738148532807827, 0.3279610872268677, 0.1655997484922409, -0.49492907524108887, 0.7029913067817688, -0.3546496033668518, -0.06945796310901642, -0.0927511528134346, 0.3390033543109894, -0.8678144216537476, -0.28214168548583984, 0.36114978790283203, -0.2590327262878418, 0.19794915616512299, -0.7398968935012817, -0.2568899095058441, -0.5250556468963623, -0.24612432718276978, 0.8192946314811707, 0.7863617539405823, -0.26693007349967957, 0.46239063143730164, 0.2335173487663269, -0.017265351489186287, -0.62498539686203, -0.6084337830543518, 0.16419744491577148, -0.5845464468002319, -0.6431657075881958, -0.22018562257289886, 0.1162450984120369, -0.12626278400421143, -0.5351986885070801, -0.3255106806755066, 0.03601108863949776, 0.05908447876572609, 0.2853310704231262, 0.36056461930274963, -0.2719411849975586, -0.08201729506254196, -0.6533561944961548, 0.12888501584529877, 0.10623002797365189, -0.31364870071411133, 0.3468160927295685, -0.9207972884178162, -0.43430545926094055, -0.45790213346481323, -0.12339859455823898, 0.5596381425857544, -1.020885944366455, 0.051447708159685135, 1.129831314086914, -0.1829017847776413, 0.16030524671077728, -0.7593623399734497, 0.00003263028702349402, -0.44814684987068176, 0.46593236923217773, -0.6495922803878784, -0.9923315048217773, 0.47634246945381165, 0.04817243665456772, -0.466762900352478, 0.2791373133659363, 0.5716468095779419, -0.20803983509540558, 0.6194285154342651, 0.6374791860580444, 0.09827959537506104, 0.3745734691619873, -0.2739584147930145, -0.06753136217594147, -0.7528883218765259, -0.2739197313785553, -0.06275422871112823, -0.11195709556341171, -1.0429333448410034, -0.9275215268135071, 0.585461437702179, -0.2601330578327179, -0.18735642731189728, -0.0347134992480278, -0.39955493807792664, 0.7013276219367981, 0.3422003388404846, -0.13983426988124847, 0.2428404986858368, -0.11999993026256561, 0.0725497156381607, -0.2891010642051697, -0.4018324017524719, -0.42123648524284363, 0.9476745128631592, 0.47925034165382385, 0.6644970774650574, 0.17900796234607697, 0.5274787545204163, 0.05918774753808975, 0.3206748962402344, -0.5425173044204712, 0.33838966488838196, -0.03922198340296745, -0.4226513206958771, -0.1853664666414261, -0.3339157700538635, -0.5674363374710083, 0.3567105233669281, -0.07033979892730713, -0.681979238986969, 0.1791960895061493, 0.35513052344322205, -0.23407334089279175, 0.14694830775260925, -0.8719480037689209, 1.3311296701431274, -0.3171580731868744, -0.4989594519138336, 0.05027925223112106, -0.9206122756004333, 0.6366736888885498, -0.3068138360977173, 0.283505380153656, -0.17016960680484772, 0.016726702451705933, 0.4728926718235016, 0.0552556999027729, 0.7579165101051331, -0.19894878566265106, -0.09561219811439514, 0.13427434861660004, 0.0699731633067131, 0.3522079288959503, 0.03488483279943466, 0.5362518429756165, 0.34397944808006287, -0.10404430329799652, -0.4272158145904541, -0.3864547312259674, 0.6671634316444397, -0.8982608914375305, -0.6144940853118896, -0.556550145149231, -0.5974882245063782, -0.3149383068084717, 0.20943583548069, 0.017615532502532005, 0.34269922971725464, -0.17694668471813202, 0.10691916197538376, 0.5854192972183228, -0.26154187321662903, 0.45094695687294006, 0.4909970462322235, -0.23355746269226074, -0.06777742505073547, 0.9042425155639648, 0.09402641654014587, 0.17995047569274902, 0.14893151819705963, 0.13148589432239532, -0.24021492898464203, -0.8701643943786621, -0.7456486821174622, 0.034876223653554916, -0.7945446968078613, 0.22588670253753662, -0.32750803232192993, 0.09723634272813797, -0.17278560996055603, -0.04043800011277199, -0.45079106092453003, -0.02866111882030964, 0.0367160364985466, 0.08234211802482605, 0.2971474230289459, 0.8980224132537842, 0.20941482484340668, -0.05983223766088486, -0.5734347105026245, 0.1412809193134308, 0.5535213947296143, 0.5647895336151123, -0.33563631772994995, -0.47541648149490356, -0.24362286925315857, -0.2659100592136383, -0.07728536427021027, -0.6543563604354858, 0.3226979672908783, -0.10880102962255478, 0.4480878710746765, 0.56952303647995, -0.06897759437561035, 0.6766486763954163, -0.6464011669158936, 0.992483913898468, 0.022421661764383316, -0.6827331781387329, 0.49259570240974426, -0.6919130682945251, 0.47646835446357727, 0.43444639444351196, 0.48438555002212524, -0.5656754970550537, -0.16805529594421387, -0.3516688346862793, -0.5956966876983643, 0.4298074245452881, 0.3308526277542114, 0.020767424255609512, 0.18537737429141998, 0.05575959011912346, 0.006676610559225082, 0.15623973309993744, -0.6905043721199036, 0.15767328441143036, -0.7199822068214417, 0.30513811111450195, -0.18742920458316803, -0.033521849662065506, -0.23333582282066345, -0.24008619785308838, 0.15614134073257446, -0.22415080666542053, -0.08186861127614975, 0.09916900098323822, -0.31031814217567444, 0.14172224700450897, 0.0652768462896347, 0.7932322025299072, 0.8222829699516296, -0.3404010832309723, 0.24240002036094666, 0.4167095124721527, -0.7551383376121521, -0.08038369566202164, 0.07544250041246414, 0.07786847651004791, -0.5764725208282471, 0.3538965880870819, 0.9379924535751343, -0.21128186583518982, -0.4568484127521515, 0.8257201313972473, -0.5085415840148926, -0.022583765909075737, -0.5700774788856506, -0.1476115882396698, 0.022588714957237244, 0.311669260263443, 0.24831770360469818, 0.09157383441925049, 0.134007528424263, -0.3943544626235962, 0.08434583246707916, 0.4721739888191223, -0.6740351915359497, -0.32369571924209595, 0.804995059967041, 0.4181920886039734, 0.3507806062698364, 0.730228841304779, -0.17464596033096313, -0.7407403588294983, 0.4622449576854706, 0.15117612481117249, 0.49633315205574036, -0.03838907554745674, 0.14603444933891296, 0.1829608529806137, 0.6644244194030762, 0.07428082078695297, 0.385407954454422, -0.2946607172489166, -0.9237146973609924, -0.6936261653900146, -0.5709602236747742, -0.40950608253479004, -0.11341123282909393, -0.6559358835220337, 0.2633771300315857, -0.2522297203540802, 0.05197971314191818, -0.2538208067417145, -0.06796485930681229, -1.0107063055038452, 0.3672689199447632, 0.6895858645439148, 0.5965330004692078, -1.2019286155700684, 0.9475617408752441, 0.892570972442627, -0.7245155572891235, -0.8109548687934875, 0.08682827651500702, 0.23348698019981384, -1.0457582473754883, 0.9824696183204651, 0.5103776454925537, -0.10017117112874985, 0.019478116184473038, -0.4115040600299835, -0.7114887237548828, 1.3323577642440796, -0.04852530360221863, -0.3291853666305542, 0.4598856568336487, 0.06498786062002182, 0.6437206268310547, -0.2633008360862732, 0.31858837604522705, 0.6861351728439331, 0.6008214950561523, 0.2552063763141632, -0.8980523347854614, 0.018626045435667038, -0.33183714747428894, 0.244353786110878, 0.1326204240322113, -0.8476823568344116, 0.6057283282279968, -0.3226713538169861, 0.0161991436034441, -0.29560548067092896, 0.7096124887466431, 0.14062339067459106, 0.3253513276576996, 0.5797821283340454, 0.3714066445827484, 0.5972329378128052, -0.39219188690185547, 1.3419482707977295, 0.06518793851137161, 0.09698651731014252, 0.7893510460853577, -0.44874149560928345, 0.6318275332450867, 0.4495662450790405, -0.13350683450698853, 0.088758185505867, 0.8413775563240051, -0.30442580580711365, 0.47154271602630615, 0.37112581729888916, -0.2802262306213379, -0.35060298442840576, -0.1852066069841385, -0.4233541488647461, 1.0049113035202026, 0.17436374723911285, -0.07985454052686691, 0.019299956038594246, 0.09695091843605042, -0.16381864249706268, -0.21309340000152588, -0.5238871574401855, 0.6643082499504089, -0.19099654257297516, -0.5868338942527771, 0.6272079348564148, -0.3913253843784332, 0.5851625800132751, -0.4980238676071167, -0.09126009047031403, -0.3083101511001587, -0.08401986211538315, 0.09591378271579742, -0.9061539769172668, 0.05708509311079979, 0.08362210541963577, 0.08957123756408691, -0.4475300908088684, 0.6751807928085327, -0.35159358382225037, -0.17968173325061798, -0.09674569219350815, 0.4483417868614197, 0.4417232275009155, -0.29733049869537354, -0.2746809720993042, 0.38512659072875977, 0.2967323362827301, -0.15983490645885468, 0.33021244406700134, 0.46921005845069885, -0.7162964344024658, 0.5482679605484009, 0.3873034417629242, -0.11315962672233582, -0.043438903987407684, 0.4145214259624481, 0.6196967959403992, -0.5438082218170166, -0.3837506175041199, -0.7916731834411621, 0.3990783095359802, -0.10287840664386749, -0.1827666014432907, 0.7675923109054565, 0.4914242625236511, 1.0411511659622192, -0.2946791350841522, 0.9871741533279419, 0.20302163064479828, -0.2788332402706146, -0.35039985179901123, 0.9844833612442017, -0.5093160271644592, 0.06909699738025665, -0.4019474387168884, -0.8288373351097107, -0.36003074049949646, 0.5191419124603271, -0.5962424874305725, 0.12493444234132767, 0.6764964461326599, 0.49979671835899353, 0.03626732528209686, 0.28687185049057007, 0.6331379413604736, 0.28467419743537903, 0.3979615867137909, 0.35245782136917114, 1.1904833316802979, 0.1454392969608307, 0.7577826976776123, -0.3531261384487152, -0.3788638412952423, 0.12775468826293945, -1.1917670965194702, -0.8718118667602539, -0.7157948017120361, -0.25625383853912354, 0.16686616837978363, -0.019434183835983276, 0.5458227396011353, 0.5778209567070007, -0.4614405930042267, -0.04288690909743309, 0.35040512681007385, -0.34177541732788086, -0.09855929762125015, -0.11349857598543167, 0.36468350887298584, -0.028654713183641434, -0.6719426512718201, 0.24193672835826874, 0.4927629232406616, 0.23482617735862732, -0.3168865442276001, -0.013315411284565926, 0.17703719437122345, -0.4460768401622772, 0.6633342504501343, 0.2523992955684662, -0.8096350431442261, -0.42518219351768494, -0.09850259870290756, 0.10844353586435318, -0.012192848138511181, 0.6476544141769409, -0.6353411078453064, 0.8875610828399658, 0.47746512293815613, 0.5824984312057495, 0.949602484703064, 0.24204757809638977, 0.7561393976211548, -0.8383839726448059, 0.12444932758808136, 0.12014276534318924, 0.5139700770378113, 0.7173343896865845, 0.021908659487962723, 0.630002498626709, 0.37633970379829407, -0.7000742554664612, -0.4529932737350464, 0.39841532707214355, -1.1992197036743164, 0.16247744858264923, 1.022871732711792, -0.20731164515018463, -0.058610450476408005, 0.010376927442848682, -0.3287169635295868, 0.15389640629291534, -0.17307646572589874, 0.3205541968345642, 0.7310466766357422, -0.09704615920782089, -0.4675474464893341, -1.0810558795928955, 0.5761876106262207, 0.18523958325386047, -0.5759732723236084, 0.07163316756486893, 0.735836923122406, 0.5202779769897461, -0.06452326476573944, 0.6358795166015625, -0.1998518705368042, 0.4859350323677063, -0.28174394369125366, 0.4137018918991089, -0.23715399205684662, -0.05987558886408806, -0.3183460831642151, 0.021967781707644463, 0.17357470095157623, -0.3607967495918274 ]
http://arxiv.org/abs/2402.05935v2
http://arxiv.org/pdf/2402.05935v2
SPHINX-X: Scaling Data and Parameters for a Family of Multi-modal Large Language Models
2024-02-08T18:59:48
2024-06-26T07:59:03
Dongyang Liu, Renrui Zhang, Longtian Qiu, Siyuan Huang, Weifeng Lin, Shitian Zhao, Shijie Geng, Ziyi Lin, Peng Jin, Kaipeng Zhang, Wenqi Shao, Chao Xu, Conghui He, Junjun He, Hao Shao, Pan Lu, Hongsheng Li, Yu Qiao, Peng Gao
cs.CV
cs.CV, cs.AI, cs.CL, cs.LG
We propose SPHINX-X, an extensive Multimodality Large Language Model (MLLM) series developed upon SPHINX. To improve the architecture and training efficiency, we modify the SPHINX framework by removing redundant visual encoders, bypassing fully-padded sub-images with skip tokens, and simplifying multi-stage training into a one-stage all-in-one paradigm. To fully unleash the potential of MLLMs, we assemble a comprehensive multi-domain and multimodal dataset covering publicly available resources in language, vision, and vision-language tasks. We further enrich this collection with our curated OCR intensive and Set-of-Mark datasets, extending the diversity and generality. By training over different base LLMs including TinyLlama1.1B, InternLM2-7B, LLaMA2-13B, and Mixtral8x7B, we obtain a spectrum of MLLMs that vary in parameter size and multilingual capabilities. Comprehensive benchmarking reveals a strong correlation between the multi-modal performance with the data and parameter scales. Code and models are released at https://github.com/Alpha-VLLM/LLaMA2-Accessory
[ -0.5387022495269775, -0.36810585856437683, 0.23107314109802246, 0.0751739963889122, -0.2472066730260849, -0.2365351766347885, -0.4931459128856659, -0.5412800312042236, 0.25754299759864807, 0.5267969369888306, -0.5757682919502258, -0.34629398584365845, -0.6428883671760559, 0.18590949475765228, -0.5830650329589844, 1.0219767093658447, 0.0579751580953598, 0.3974533677101135, 0.17079997062683105, -0.5387501120567322, 0.29820817708969116, -0.524718701839447, -0.495935320854187, 0.16857950389385223, 1.03762948513031, 0.337885320186615, 0.9385801553726196, 0.9131243824958801, 0.45826196670532227, 0.2803257703781128, -0.007477139122784138, 0.1722046285867691, -0.3061901926994324, 0.2542282044887543, 0.054841987788677216, -0.3390995264053345, -0.5360368490219116, -0.1029553934931755, 1.0578488111495972, 0.7806950807571411, -0.07548267394304276, 0.4076935648918152, -0.1713164895772934, 0.3940899670124054, -0.6381461024284363, 0.23248133063316345, -0.514937162399292, -0.17895004153251648, -0.3601961135864258, 0.11771559715270996, -0.3725442886352539, 0.04102399945259094, 0.1649285852909088, -0.7676042914390564, -0.1394324004650116, 0.2701243758201599, 0.48952457308769226, 0.22143784165382385, -0.6321342587471008, -0.34635528922080994, -0.4470631778240204, 1.024759292602539, -0.4921864867210388, 0.6811897158622742, 0.23927977681159973, 0.24880391359329224, 0.20450423657894135, -1.0744798183441162, -0.4555976688861847, -0.5521821975708008, 0.010261575691401958, -0.342955082654953, -0.06677266210317612, -0.10017426311969757, 0.37610119581222534, 0.4397757053375244, -0.5848743915557861, 0.1170240268111229, -0.2884554862976074, -0.14742043614387512, 0.4414994716644287, 0.44016915559768677, 0.30829328298568726, -0.02864588238298893, -0.3005674481391907, -0.2873365581035614, -0.695612370967865, -0.05649949237704277, 0.2601092755794525, 0.3604469299316406, -0.19357211887836456, 0.7019964456558228, -0.13471698760986328, 0.79609614610672, -0.06977831572294235, -0.3283850848674774, 0.2501600384712219, -0.5755054354667664, -0.0633825734257698, -0.07524625211954117, 0.7523209452629089, 0.24284128844738007, 0.042930178344249725, -0.085854172706604, -0.31700655817985535, -0.3112526834011078, 0.17599785327911377, -1.0206791162490845, -0.14754682779312134, 0.04900272935628891, -0.5914950966835022, -0.14395253360271454, -0.22382210195064545, -0.6654785871505737, -0.7144806981086731, -0.5364223122596741, 0.6809101104736328, -0.4214988648891449, -0.3768589496612549, 0.2596004903316498, -0.14538002014160156, 0.17757399380207062, 0.609524667263031, -1.0665574073791504, 0.27035900950431824, 0.35477396845817566, 0.7483308911323547, -0.10469941794872284, -0.5840054750442505, -0.6646713018417358, 0.11165960878133774, -0.1740504652261734, 0.37063148617744446, -0.7664089202880859, -0.21935631334781647, 0.11114492267370224, 0.02351575717329979, 0.05598966032266617, -0.33114004135131836, 0.6226905584335327, -0.5069846510887146, 0.13234926760196686, -0.184661403298378, -0.2074216902256012, -0.16654597222805023, 0.3736807703971863, -1.135629415512085, 0.9786797761917114, 0.2817859351634979, -0.7577734589576721, 0.4719698131084442, -0.600756049156189, -0.38679659366607666, -0.14384044706821442, -0.13536183536052704, -0.30740320682525635, 0.2191421091556549, 0.229728102684021, 0.3975065052509308, -0.6014977693557739, -0.2461886703968048, -0.5308871269226074, -0.1183781623840332, 0.38374707102775574, -0.5059338212013245, 0.7336140275001526, 0.01852080225944519, -0.320922315120697, 0.47718092799186707, -1.1165887117385864, 0.14147143065929413, -0.059969548135995865, -0.503248393535614, -0.3514072597026825, -0.01121664047241211, 0.6865712404251099, 0.4424600899219513, 0.477649062871933, -0.5061586499214172, 0.33242267370224, -0.1380843222141266, 0.5708808898925781, 0.5372095704078674, -0.6193866729736328, 0.5260125398635864, -0.17043177783489227, 0.34609952569007874, -0.0662466362118721, 0.5210978984832764, -0.45128631591796875, -0.36813685297966003, -0.9813596606254578, -0.7276062965393066, 0.29548323154449463, 0.12638966739177704, -0.7840689420700073, 0.20592549443244934, -0.5595503449440002, -0.6611781120300293, -0.3942597806453705, 0.15456020832061768, 0.1926400512456894, 0.12441721558570862, 0.31631311774253845, -0.25725057721138, -0.45904192328453064, -0.9550658464431763, 0.05840186029672623, -0.05304946005344391, -0.18122078478336334, 0.18450644612312317, 0.6023985743522644, -0.1928897500038147, 0.6130686402320862, -0.21742558479309082, -0.39154890179634094, -0.23364652693271637, 0.0367862842977047, -0.03417336568236351, 0.2556638717651367, 0.665024995803833, -0.8938332200050354, -0.49109047651290894, 0.12672346830368042, -0.44689539074897766, 0.263886034488678, 0.04966283217072487, 0.25925302505493164, 0.4189673662185669, 0.268791526556015, -0.6460381150245667, 0.051437363028526306, 0.8384494185447693, -0.2845965623855591, 0.6518742442131042, -0.4169299304485321, 0.20043395459651947, -1.0346877574920654, 0.14283078908920288, 0.19320043921470642, -0.08133787661790848, -0.8045170307159424, 0.39378753304481506, 0.5099571943283081, 0.09817668050527573, -0.5031996965408325, 0.6056579947471619, -0.584560751914978, -0.1470523178577423, -0.014755912125110626, 0.03509914129972458, -0.0749804675579071, 0.5145063996315002, 0.16270211338996887, 0.8152725696563721, 0.8623538017272949, -0.29525619745254517, 0.43281060457229614, -0.012491594068706036, -0.564789354801178, 0.48286572098731995, -0.5799728035926819, -0.1908024549484253, 0.09405616670846939, 0.2773318290710449, -0.9469976425170898, -0.24995839595794678, 0.13937872648239136, -0.18051405251026154, 0.4241018295288086, -0.07665650546550751, -0.9378490447998047, 0.016589591279625893, -0.674271285533905, 0.5596005916595459, 0.30865636467933655, -0.6378306150436401, 0.9586745500564575, 0.30715230107307434, -0.1988389790058136, -0.4346930682659149, -0.35702773928642273, 0.39704716205596924, -0.2655692994594574, -0.7481154203414917, 0.18518389761447906, -0.1650867462158203, -0.3297879993915558, -0.23546689748764038, 0.11457749456167221, -0.24898019433021545, -0.06809107959270477, 0.27634546160697937, 0.3016155958175659, -0.4239938259124756, 0.1413619965314865, -0.1170395091176033, -0.04766663908958435, 0.04091746732592583, -0.42871659994125366, 0.634151816368103, -0.042928244918584824, -0.28909429907798767, -0.2620612680912018, 0.38356778025627136, 1.0539989471435547, -0.5526601672172546, 0.7009067535400391, 0.886415421962738, -0.2577926218509674, 0.06032320857048035, -0.3593800365924835, -0.04520491883158684, -0.4467097520828247, 0.5682693719863892, -0.4428713917732239, -0.8744523525238037, 0.4202152192592621, 0.1135939359664917, 0.2757420539855957, 0.43609851598739624, 0.8975422382354736, 0.19122324883937836, 1.2973607778549194, 0.6378354430198669, -0.29186421632766724, 0.612036943435669, -0.2369629293680191, -0.2314416766166687, -0.903340220451355, -0.1555248647928238, -0.6230140328407288, -0.26621460914611816, -0.48371565341949463, -0.617009699344635, 0.4698350429534912, -0.1692885309457779, -0.30096226930618286, 0.2427031546831131, -0.16074278950691223, 0.13891726732254028, 0.6485542058944702, 0.005310876294970512, 0.4407026171684265, 0.2455960363149643, 0.10643509030342102, -0.11190814524888992, -0.4943609833717346, -0.36087268590927124, 1.5471440553665161, 0.15679208934307098, 1.2266935110092163, 0.3266468346118927, 0.26336362957954407, 0.16894753277301788, 0.23362328112125397, -0.8697941303253174, 0.3758116364479065, -0.19168265163898468, -0.7053005695343018, -0.6368061900138855, -0.25911450386047363, -0.856652021408081, 0.5571607947349548, -0.21544930338859558, -0.5773596167564392, 0.06526613235473633, -0.15700331330299377, -0.18060655891895294, 0.40015628933906555, -0.38827085494995117, 0.6608180403709412, -0.26720452308654785, -0.2501542568206787, -0.525734543800354, -0.8192397952079773, 0.3710359036922455, -0.4095573425292969, 0.11969761550426483, 0.13641634583473206, -0.7183258533477783, 0.49629274010658264, -0.37648895382881165, 0.9162236452102661, 0.10548626631498337, -0.5111706852912903, -0.1527276635169983, -0.029340948909521103, 0.46465522050857544, 0.11720779538154602, -0.21669070422649384, 0.31037941575050354, 0.1390220671892166, -0.29075780510902405, -0.6318002939224243, 0.8067956566810608, -0.9462577700614929, -0.3860526978969574, -0.27448463439941406, -0.7305254936218262, -0.07000444084405899, 0.14199042320251465, 0.015470064245164394, 0.9965462684631348, -0.02102857455611229, 0.44050055742263794, 0.7006577253341675, 0.07746940106153488, 0.42402952909469604, 0.6525323987007141, -0.3207884430885315, -0.7197373509407043, 0.9826202392578125, 0.28947553038597107, 0.43199825286865234, 0.5238407850265503, -0.14707666635513306, -0.4686608910560608, -0.6107726693153381, -1.0561550855636597, 0.15611161291599274, -0.7335000038146973, 0.12622159719467163, -0.57961505651474, 0.03051483817398548, -0.30543577671051025, 0.12405030429363251, -0.2239682823419571, -0.7178871631622314, -0.4373622536659241, 0.5111203193664551, 0.3025457561016083, 0.7202984690666199, 0.0658884197473526, 0.22051739692687988, -0.8593079447746277, 0.331763356924057, 0.20342421531677246, 0.30586349964141846, 0.01745767518877983, -0.7707873582839966, -0.5184559226036072, -0.0349615141749382, -0.04425252974033356, -0.3886331617832184, 0.2800552546977997, 0.3970462679862976, 0.5048747658729553, 0.4921582043170929, -0.0024729131255298853, 0.4874959886074066, -0.7009949088096619, 1.0001742839813232, 0.4353339970111847, -0.8263341188430786, 0.13799265027046204, -0.3432263135910034, 0.24748755991458893, 0.04829055070877075, 0.523221492767334, -0.7347319722175598, -0.31088772416114807, -0.2581996023654938, -0.5957925319671631, 0.8524219989776611, 0.08807455748319626, 0.21894656121730804, 0.2523912489414215, 0.23349212110042572, 0.3148747682571411, 0.06133889779448509, -0.6330543160438538, -0.48715198040008545, -0.3454737365245819, -0.30802562832832336, -0.32829955220222473, -0.3594394624233246, -0.30108216404914856, -0.32709938287734985, 0.43982088565826416, -0.3757156729698181, -0.21520163118839264, -0.1189841777086258, -0.5081512331962585, 0.03540338575839996, 0.17555515468120575, 1.0177186727523804, 0.7405605316162109, 0.06456415355205536, 0.15979036688804626, 0.1149529442191124, -0.6570306420326233, 0.12009662389755249, 0.2752276659011841, 0.17207452654838562, -0.06853818148374557, 0.45915687084198, 0.7596516013145447, 0.2766993045806885, -0.9232707619667053, 0.4694564640522003, -0.21037855744361877, -0.20870345830917358, -0.27833229303359985, 0.0555521622300148, -0.08570258319377899, 0.4145628809928894, 0.5032954216003418, -0.08968979120254517, 0.23930682241916656, -0.42557603120803833, 0.04152696207165718, 0.43083932995796204, -0.378943532705307, -0.5099807381629944, 0.5994235277175903, 0.14146047830581665, 0.010511325672268867, 0.4424455761909485, 0.235068216919899, -0.15587082505226135, 0.3619680404663086, 0.3418440818786621, 0.5641396045684814, -0.025514677166938782, 0.09376868605613708, 0.28994855284690857, 0.5175430178642273, -0.0144563103094697, 0.1781052052974701, -0.21386408805847168, -0.4280168414115906, -0.4069710969924927, -0.6634219288825989, -0.4899401068687439, 0.08846031129360199, -0.7006043195724487, 0.36493000388145447, -0.5408132076263428, -0.10510793328285217, 0.11235751211643219, 0.14422476291656494, -0.4111917316913605, 0.19795942306518555, 0.22528190910816193, 1.2056570053100586, -0.3966922461986542, 1.233005166053772, 0.8014248609542847, -0.6158303618431091, -0.505859375, -0.18635202944278717, 0.16722293198108673, -0.8711954951286316, 0.925001323223114, 0.009926963597536087, -0.20470309257507324, 0.057200364768505096, -0.34754422307014465, -1.2513706684112549, 1.091199278831482, 0.3406998813152313, -0.49125349521636963, -0.11751455068588257, 0.27261707186698914, 0.435025155544281, -0.38942772150039673, 0.2886756658554077, 0.45909616351127625, 0.5967943668365479, -0.06708797812461853, -1.1229907274246216, 0.02336104027926922, -0.12506569921970367, 0.10962865501642227, 0.4241006076335907, -0.5246828198432922, 1.1640349626541138, -0.2111029177904129, 0.00669500045478344, 0.7233695387840271, 0.513645589351654, -0.06701049953699112, -0.2823288142681122, 0.6076002717018127, 0.49102064967155457, 0.49617281556129456, 0.029437445104122162, 0.9874083995819092, -0.566366970539093, 0.256746768951416, 1.0032010078430176, -0.3069114685058594, 0.97394198179245, 0.5555286407470703, -0.03577600419521332, 0.31787142157554626, 0.621276319026947, 0.01515287160873413, 0.36840084195137024, 0.082926906645298, -0.4591667950153351, -0.39509260654449463, -0.11533959209918976, -0.45583000779151917, 0.3978883922100067, 0.5616661906242371, -0.5785190463066101, -0.41349178552627563, 0.25087684392929077, -0.2061011642217636, -0.44752687215805054, -0.472971111536026, 0.5691245198249817, -0.20326118171215057, -0.1748710721731186, 0.7714022397994995, 0.09024105966091156, 0.7695127129554749, -0.94764643907547, 0.14252686500549316, -0.11848676949739456, 0.1486198902130127, -0.07785653322935104, -0.8786861896514893, -0.1817319244146347, -0.22022280097007751, -0.3560376465320587, -0.10301992297172546, 0.4881640672683716, -0.5756849050521851, -0.5252630710601807, 0.21501615643501282, 0.3825991749763489, 0.12497910112142563, -0.2429429441690445, -0.5816237926483154, 0.40978896617889404, -0.14331459999084473, -0.333243191242218, 0.6256694197654724, 0.5369879603385925, -0.2215125858783722, 0.7760760188102722, 0.5907045006752014, 0.02610253542661667, 0.35034918785095215, 0.30535247921943665, 1.108601450920105, -0.6343411207199097, 0.006336977705359459, -0.7068904042243958, 0.5450179576873779, -0.12116077542304993, -0.5290979146957397, 0.8378055095672607, 0.690301775932312, 0.7672582268714905, -0.18206191062927246, 0.5675904750823975, 0.028122682124376297, 0.1082463264465332, -0.4714624881744385, 0.7257830500602722, -0.9929115772247314, -0.0926850438117981, 0.034387070685625076, -0.7538628578186035, -0.5920134782791138, 0.23263759911060333, 0.06365669518709183, -0.008016878738999367, 0.5731121897697449, 0.990268349647522, 0.002387787215411663, -0.0736527070403099, 0.6138497591018677, 0.04043801873922348, 0.2811136245727539, 0.2917880415916443, 0.9774818420410156, -0.3042827844619751, 0.9167566895484924, -0.028586097061634064, -0.30427223443984985, -0.450620174407959, -0.40926578640937805, -0.9653986096382141, -0.8943464756011963, -0.13424676656723022, -0.09050992131233215, -0.34587934613227844, 0.9559007883071899, 0.7940521836280823, -0.4293762445449829, -0.3445681631565094, 0.5330103039741516, -0.18634968996047974, -0.15908293426036835, -0.09160204976797104, 0.2511305809020996, -0.5034074187278748, -0.8967952132225037, 0.19211988151073456, 0.6011786460876465, -0.03307337686419487, -0.9925135970115662, -0.2574518620967865, 0.1381796896457672, 0.029452072456479073, 1.025164246559143, 0.04958244040608406, -1.0787521600723267, -0.2787433862686157, 0.0870702713727951, -0.4328145682811737, 0.12437582015991211, 0.9456471800804138, -0.5680148005485535, 0.23347583413124084, 0.295863538980484, 0.428411066532135, 0.3576178550720215, -0.7265827059745789, 0.3579205274581909, -0.4292891323566437, 0.13957524299621582, -0.1427881419658661, 0.6369985342025757, 0.17520876228809357, 0.12403739988803864, 0.3026328682899475, -0.0757175087928772, -0.2947574555873871, -0.7304584383964539, 0.26853305101394653, -1.1783356666564941, -0.2818182706832886, 1.204093098640442, -0.09369577467441559, -0.1764991134405136, -0.08771877735853195, -0.5611335635185242, -0.22524146735668182, -0.3299882113933563, 0.6263620257377625, 0.655169665813446, 0.08917848020792007, -0.4162042737007141, -0.286222904920578, 0.33723363280296326, 0.13536927103996277, -0.7777888178825378, 0.22591474652290344, 0.7862840890884399, 0.36860719323158264, 0.38900238275527954, 0.33601051568984985, -0.16068238019943237, 0.40644118189811707, 0.1793777495622635, 0.11398320645093918, 0.052984196692705154, -0.4407213032245636, -0.5149828791618347, 0.43914860486984253, 0.2953330874443054, -0.007397898938506842 ]
http://arxiv.org/abs/2402.05932v2
http://arxiv.org/pdf/2402.05932v2
Driving Everywhere with Large Language Model Policy Adaptation
2024-02-08T18:59:03
2024-04-10T23:29:18
Boyi Li, Yue Wang, Jiageng Mao, Boris Ivanovic, Sushant Veer, Karen Leung, Marco Pavone
cs.RO
cs.RO, cs.AI, cs.CL
Adapting driving behavior to new environments, customs, and laws is a long-standing problem in autonomous driving, precluding the widespread deployment of autonomous vehicles (AVs). In this paper, we present LLaDA, a simple yet powerful tool that enables human drivers and autonomous vehicles alike to drive everywhere by adapting their tasks and motion plans to traffic rules in new locations. LLaDA achieves this by leveraging the impressive zero-shot generalizability of large language models (LLMs) in interpreting the traffic rules in the local driver handbook. Through an extensive user study, we show that LLaDA's instructions are useful in disambiguating in-the-wild unexpected situations. We also demonstrate LLaDA's ability to adapt AV motion planning policies in real-world datasets; LLaDA outperforms baseline planning approaches on all our metrics. Please check our website for more details: https://boyiliee.github.io/llada.
[ -0.294124960899353, -0.8125942349433899, 1.099045991897583, 0.3542312681674957, -0.2811247706413269, -0.23362798988819122, -0.16458114981651306, -0.5302811861038208, 0.23174948990345, 0.46258363127708435, -0.5997985005378723, -0.4090965688228607, -0.12369678914546967, -0.17538927495479584, -0.5298371315002441, 0.7294397354125977, -0.27024534344673157, -0.1916724443435669, -0.05430622026324272, -0.24188628792762756, -0.48537662625312805, -0.05814439430832863, -0.3147624135017395, 0.024240175262093544, 0.6673142910003662, 0.5424983501434326, 0.7705696225166321, 0.5818184614181519, 0.4430214464664459, 0.28271573781967163, 0.14556308090686798, 0.21564248204231262, -0.27055007219314575, 0.2797428369522095, -0.5819892287254333, -0.07511773705482483, -0.48334091901779175, -0.6371819972991943, 0.8573743104934692, 0.508686363697052, -0.42064157128334045, -0.3302195370197296, -0.3801044225692749, 0.3100379705429077, -0.6412256360054016, -0.03741411864757538, -0.6715681552886963, -0.17236894369125366, -0.15199485421180725, -0.2173662632703781, 0.26186835765838623, -0.5283382534980774, 0.01761009730398655, -0.9069789052009583, -0.247471421957016, 0.06679573655128479, 0.6024495959281921, 0.4818279445171356, -0.8110448718070984, -0.31227755546569824, -1.259680151939392, 0.5691990852355957, -0.34476062655448914, 0.38493892550468445, -0.17220155894756317, 0.6962053179740906, -0.49651381373405457, -0.23150798678398132, -0.9763062596321106, -0.010697640478610992, 0.4346727728843689, 0.10364729166030884, -0.3260718882083893, 0.19242018461227417, -0.10894670337438583, 0.04500662907958031, -0.32375454902648926, 0.46513423323631287, -0.31521570682525635, -0.011489279568195343, 0.8934211134910583, 0.39565324783325195, 0.14316675066947937, 0.4041499197483063, -0.11970573663711548, -0.2516820728778839, -0.8518865704536438, -0.01387820579111576, 0.1508152335882187, 0.25776585936546326, -0.21678993105888367, 0.30424222350120544, -0.48346805572509766, 0.7576939463615417, -0.39954161643981934, -0.1743076592683792, 0.370595782995224, -0.16298706829547882, -0.5460476279258728, -0.1093883365392685, 0.6872256398200989, 0.5511147379875183, 0.3378126323223114, -0.18208089470863342, -0.2038075476884842, -0.2809123396873474, 0.16160330176353455, -0.44597986340522766, 0.10925664752721786, 0.23564167320728302, 0.08385684341192245, -0.07083279639482498, -0.0677734911441803, -0.6889634728431702, -0.608316957950592, -0.4556044936180115, 0.361528217792511, 0.037533823400735855, -0.3440053462982178, 0.32128849625587463, 0.3192805051803589, 0.8316898941993713, 0.7534499764442444, -0.9050763845443726, 0.262167751789093, 0.6613802313804626, 0.890550971031189, -0.16954271495342255, -0.637609601020813, -0.5771769285202026, 0.3390022814273834, -0.570254921913147, 1.1227171421051025, -0.195693701505661, -0.491396963596344, 0.1654186099767685, 0.34791243076324463, 0.08056200295686722, -0.35295626521110535, 0.3733077645301819, -0.20984873175621033, -0.32128071784973145, -0.11397949606180191, -0.10488186776638031, -0.45469358563423157, 0.14313335716724396, -0.5581684708595276, 0.5890390872955322, 0.05751660466194153, 0.31922730803489685, 0.38526973128318787, -1.1267070770263672, -1.0141499042510986, -0.03790073096752167, -0.04630725085735321, -0.3324938118457794, 0.33631715178489685, 0.1378868967294693, 0.48826852440834045, -0.25802773237228394, 0.4033946990966797, -0.158338263630867, -0.22585295140743256, -0.026075536385178566, -0.46449556946754456, 0.7484477162361145, 0.07296793162822723, 0.01265497412532568, 0.6598318219184875, -0.5526975393295288, -0.38111650943756104, 0.17700503766536713, -0.3468257784843445, -0.028416434302926064, 0.10272505134344101, 0.237323597073555, 0.06965626031160355, 0.05274687334895134, -0.4601269066333771, 0.5077611804008484, -0.39779341220855713, 0.3048148453235626, 1.0107041597366333, 0.20165817439556122, 0.6357781291007996, -0.4046644866466522, 0.6700520515441895, -0.01838967204093933, 0.2232910394668579, -0.11444805562496185, -0.5837475657463074, -0.6676501035690308, 0.1359727531671524, -0.1434340626001358, 0.6960899829864502, -0.5596129894256592, 0.15607281029224396, -0.4427068531513214, -0.5875476598739624, -0.584219217300415, 0.15705381333827972, -0.033198561519384384, 0.10680430382490158, 0.11909233778715134, -0.2202325314283371, -0.510291576385498, -0.48534220457077026, 0.008114969357848167, -0.02661934122443199, -0.08468881249427795, 0.4224478304386139, 0.6547567248344421, -0.5131547451019287, 0.8884806036949158, -0.34390363097190857, -0.4328973889350891, -0.28848573565483093, -0.2060684859752655, -0.06864302605390549, 0.2852315306663513, 0.6885403990745544, -0.5370318293571472, -0.46524155139923096, 0.3634020984172821, -0.5698217153549194, 0.0034826446790248156, -0.7096956968307495, -0.27286913990974426, 0.049629442393779755, 0.582269012928009, -0.28003883361816406, 0.35523390769958496, 0.5492739081382751, -0.3595665395259857, 0.4456460177898407, -0.6045750379562378, -0.28594985604286194, -0.8141007423400879, -0.21758152544498444, 0.05405851826071739, -0.8086032867431641, -0.5525235533714294, 0.32310688495635986, -0.19816355407238007, 0.1706138700246811, -0.8537542819976807, 0.5916911363601685, -0.16883856058120728, -0.4993405342102051, -0.3283284306526184, 0.09252867847681046, -0.25330832600593567, 0.17879104614257812, -0.009383048862218857, 0.9703403115272522, 0.9776374101638794, -0.942895770072937, 0.5678249001502991, 0.3029942512512207, -0.690636932849884, 0.6272514462471008, -0.5095300674438477, -0.16185344755649567, -0.4192509651184082, 0.3661102056503296, -0.6439061164855957, -0.6665546894073486, 0.1444254219532013, 0.1545039564371109, -0.16655541956424713, -0.03253896161913872, -0.40227794647216797, 0.26878783106803894, 0.07228688895702362, 0.13273712992668152, 0.5632568001747131, -0.5623940229415894, 0.8563474416732788, 0.8458821177482605, 0.0732097253203392, 0.0530022531747818, -0.5096108317375183, 0.3887091279029846, -0.3176123797893524, -0.23211471736431122, 0.40465936064720154, -0.300010621547699, -0.6572138071060181, -0.2877943515777588, 0.12973280251026154, -0.1760774403810501, 0.5177208185195923, 0.4866819381713867, 0.09178175777196884, -0.12149105966091156, -0.001308675855398178, 0.01413316372781992, 0.03134945407509804, 0.02492818981409073, -0.060874320566654205, 0.4646679759025574, -0.09405966848134995, -0.1185852512717247, -0.5895598530769348, 0.1928911954164505, 0.7950575947761536, 0.08190598338842392, 0.4222312569618225, 0.13446669280529022, 0.023040136322379112, -0.13825729489326477, 0.07466193288564682, 0.2811351716518402, -0.542883038520813, 0.6137789487838745, -0.4187175929546356, -0.39011701941490173, 0.2127152532339096, -0.4713187515735626, 0.39335891604423523, 0.25479137897491455, 0.7484161257743835, -0.5209423303604126, 0.731546938419342, 0.9632928967475891, -0.061152052134275436, 0.6654812097549438, 0.10975535959005356, 0.03222459927201271, -0.6003750562667847, -0.3179575204849243, -0.08662790805101395, -0.2876954972743988, -0.7967898845672607, -0.44899603724479675, 0.45850518345832825, -0.4857129156589508, -0.40609100461006165, 0.12377656996250153, -0.14444608986377716, 0.9602897763252258, 0.4826897084712982, 0.0028278229292482138, 0.28650590777397156, -0.18940818309783936, 0.3935377597808838, 0.33486586809158325, -0.4625435173511505, -0.09562800824642181, 1.0596938133239746, 0.16556085646152496, 0.6070077419281006, 0.35223835706710815, 0.5240626335144043, 0.3120136857032776, 0.2367568463087082, -1.0079931020736694, 0.6519001722335815, 0.09274892508983612, -0.4366875886917114, -0.40804600715637207, -0.42226171493530273, -1.10091233253479, 0.2443118691444397, -0.29746735095977783, -0.5482416152954102, 0.24334044754505157, -0.06719779223203659, -0.6331021785736084, 0.40664589405059814, -0.24870193004608154, 0.730605959892273, -0.6831154227256775, -0.11116981506347656, -0.10567236691713333, -0.41627928614616394, 0.14400508999824524, -0.22575853765010834, 0.6084266304969788, -0.5336856842041016, -0.08868861943483353, 0.451448917388916, -0.09541917592287064, 0.7773703336715698, -0.3335115313529968, -0.5028519034385681, 0.09673221409320831, 0.3762257993221283, 0.5001216530799866, -0.30386483669281006, 0.10899706184864044, 0.2644062340259552, -0.27200716733932495, -0.25299662351608276, -0.4814358651638031, 0.8369565010070801, -0.6970849633216858, -0.4735998213291168, -0.5551542043685913, -0.9560645222663879, -0.012124787084758282, 0.1962064951658249, -0.2501387894153595, 0.039420634508132935, -0.4054785966873169, -0.10279364138841629, 0.5067088603973389, -0.339273065328598, 0.5947312116622925, 0.6898254752159119, -0.5946812033653259, 0.06875048577785492, 1.1526317596435547, 0.02212858386337757, 0.3307119309902191, 0.2751612067222595, 0.1171114519238472, -0.3651188910007477, -0.658219039440155, -0.5725719928741455, -0.0021151225082576275, -0.9164344668388367, 0.0640435591340065, -0.1533302515745163, 0.07526375353336334, -0.2912367284297943, -0.5797654390335083, -0.39390820264816284, -0.6355788111686707, -0.09878730773925781, -0.14752115309238434, 0.4617944657802582, 0.9786779284477234, -0.38898026943206787, 0.8015144467353821, -0.052529606968164444, 0.2918643355369568, 0.5244444608688354, 0.12277606874704361, -0.24691618978977203, -0.49673545360565186, 0.05035463348031044, -0.16247491538524628, -0.3142378032207489, -0.5559390187263489, 0.5190022587776184, 0.37411588430404663, 0.3708203434944153, 0.2709219455718994, 0.020626546815037727, 0.8925410509109497, -0.6082301139831543, 0.44423946738243103, 0.03336872160434723, -0.6941080689430237, 0.4154411852359772, -0.3583948314189911, 0.472445011138916, 0.5858949422836304, 0.07209188491106033, -0.5859235525131226, -0.12825098633766174, 0.009412730112671852, -1.0725297927856445, 0.13962411880493164, -0.0037161626387387514, 0.41093671321868896, 0.32557785511016846, 0.26290106773376465, -0.0034975982271134853, 0.02292024716734886, -0.7780038118362427, -0.0161724966019392, -0.028996363282203674, -0.19548992812633514, -0.11298917233943939, 0.12327779829502106, -0.1327514797449112, -0.43577536940574646, 0.6129213571548462, -0.17660698294639587, 0.13913565874099731, 0.047086019068956375, -0.21386407315731049, -0.0083699906244874, 0.28974825143814087, 0.8972935676574707, 0.705349862575531, -0.09655611962080002, -0.14260219037532806, 0.35882943868637085, -0.32556650042533875, 0.3103012144565582, -0.25917547941207886, -0.41702207922935486, -0.15341681241989136, -0.03040027618408203, 0.6941710114479065, 0.3211926221847534, -0.9365071058273315, 0.3629535734653473, -0.012537655420601368, -0.3047473430633545, -0.651522159576416, 0.4978477656841278, -0.346131831407547, 0.21713808178901672, 0.1542205512523651, 0.21209965646266937, -0.09334173798561096, -0.8556710481643677, -0.0636298730969429, 0.17769019305706024, -0.5284451842308044, -0.28362926840782166, 0.9610288143157959, 0.390285849571228, -0.34655365347862244, 0.324911892414093, -0.3749108612537384, -0.2659393548965454, 0.5689123868942261, 0.5054149031639099, 0.8768191337585449, -0.13211436569690704, 0.14802470803260803, 0.10461485385894775, 0.25568822026252747, -0.16582508385181427, 0.46076399087905884, -0.025353852659463882, -0.7603020071983337, -0.7064432501792908, -0.39647188782691956, -0.703707754611969, -0.29631367325782776, -0.3967910408973694, 0.03161618486046791, -0.7474677562713623, 0.44838014245033264, 0.007485734764486551, -0.41065457463264465, -0.728039562702179, 0.14047031104564667, 0.09850990772247314, 0.8642723560333252, -0.860632061958313, 1.041825532913208, 0.7922054529190063, -0.21207010746002197, -0.1676533967256546, 0.24072898924350739, 0.3084801733493805, -1.1148605346679688, 0.1615251898765564, 0.011874031275510788, -0.22435034811496735, 0.02000238001346588, -0.673899233341217, -0.8902971148490906, 1.2074470520019531, 0.3263934850692749, -0.9746510982513428, 0.014819239266216755, 0.2782766819000244, 0.19976498186588287, -0.35090047121047974, -0.12474995851516724, 1.0120407342910767, 0.5186525583267212, 0.24930329620838165, -1.0125222206115723, -0.011977930553257465, 0.36478525400161743, -0.1493280827999115, 0.09925219416618347, -0.4539569318294525, 0.45550215244293213, -0.3704536259174347, 0.027389612048864365, 0.1379828304052353, 0.5349815487861633, 0.20933213829994202, 0.1818259060382843, 0.6322434544563293, 0.36639028787612915, 0.9653034806251526, -0.09021028876304626, 1.3211299180984497, 0.011859115213155746, -0.023963168263435364, 1.2169333696365356, -0.6961345672607422, 0.7250552773475647, 0.37897786498069763, -0.0329584926366806, 0.6913185119628906, 0.3144729733467102, 0.022971244528889656, 0.9584919810295105, -0.0954439640045166, -0.3856964707374573, -0.4379274547100067, -0.3224634826183319, 0.07494257390499115, 0.7688215970993042, 0.2737150192260742, 0.2186683565378189, -0.337848424911499, 0.3087802231311798, 0.07289819419384003, -0.06984005123376846, -0.7192695140838623, 0.9327166080474854, -0.22210073471069336, -0.43400150537490845, 0.26613494753837585, 0.1067890077829361, 0.4504379630088806, -0.4682323634624481, -0.042692139744758606, -0.22378437221050262, 0.25496527552604675, -0.08026590198278427, -1.0145031213760376, 0.4774625301361084, -0.07583445310592651, 0.05832541361451149, -0.2557407319545746, 0.19127245247364044, -0.061121128499507904, -0.5641705989837646, 0.04190964624285698, 0.25160011649131775, 0.43345436453819275, -0.06142190471291542, -0.41006994247436523, 0.2612283229827881, 0.22146061062812805, 0.13478602468967438, 0.36233165860176086, 0.3832838535308838, -0.1950986087322235, 0.9388633966445923, 0.7176131010055542, 0.2614597678184509, -0.04887102171778679, -0.15447160601615906, 0.8146227598190308, -0.9777595400810242, -0.6320569515228271, -0.8255102634429932, 0.5672379732131958, 0.1709868609905243, -0.5304654836654663, 0.7616381645202637, 0.34984758496284485, 0.6976929903030396, 0.37759581208229065, 1.001314401626587, 0.04384227097034454, 0.024868357926607132, -0.5590898990631104, 0.29241183400154114, -0.8040690422058105, 0.29057008028030396, 0.04821903631091118, -0.8762736320495605, -0.5829380750656128, 1.051338791847229, -0.43149325251579285, -0.44321200251579285, -0.023397717624902725, 0.7099214792251587, -0.3511268198490143, -0.36132290959358215, 0.5315673351287842, 0.47862789034843445, 0.6282422542572021, 0.565185010433197, 0.6034039855003357, -0.34860917925834656, 0.5587758421897888, -0.04129541665315628, -0.03084498457610607, -0.28000736236572266, -1.0087918043136597, -0.36545971035957336, -0.35415416955947876, -0.28373995423316956, -0.05515922233462334, 0.1706455498933792, 0.9144971370697021, 0.8764379620552063, -0.7366864085197449, -0.310534805059433, -0.45139437913894653, 0.34342432022094727, -0.14492279291152954, -0.11874683201313019, -0.028410274535417557, 0.08483652770519257, -0.7583766579627991, 1.0810593366622925, 0.26850324869155884, 0.4686400294303894, -0.38069260120391846, -0.4484744071960449, 0.08867762237787247, 0.14038300514221191, 0.42900198698043823, 0.6321584582328796, -0.46968066692352295, -0.12302983552217484, -0.443695068359375, 0.28128790855407715, 0.1844145804643631, 0.6471251845359802, -0.680414080619812, 0.5357831716537476, 0.06605309247970581, 0.24562276899814606, 0.40308788418769836, -0.13352659344673157, 0.8876563906669617, -0.564570963382721, 0.5331701040267944, 0.08877528458833694, 0.46771591901779175, 0.2327035814523697, -0.05534343793988228, 0.4788474440574646, -0.23545438051223755, -0.8609120845794678, -0.7528042793273926, 0.4937340319156647, -0.9263027906417847, -0.4461304843425751, 1.2735387086868286, 0.22541876137256622, -0.5215661525726318, -0.4040526747703552, -0.2595747411251068, -0.2565123736858368, -0.49125635623931885, 0.8194758892059326, -0.031652286648750305, 0.12314067780971527, -0.22535602748394012, -1.0303982496261597, 0.25268086791038513, -0.01853177137672901, -1.0439777374267578, 0.16281622648239136, 0.5997296571731567, 0.3088788092136383, -0.2574728727340698, 0.5525985360145569, 0.4021086096763611, 0.4325541853904724, -0.23781944811344147, 0.05079898610711098, 0.04080543667078018, -0.5407028198242188, -0.669929027557373, -0.2709296941757202, 0.003174453042447567, -0.14484012126922607 ]
http://arxiv.org/abs/2402.05930v1
http://arxiv.org/pdf/2402.05930v1
WebLINX: Real-World Website Navigation with Multi-Turn Dialogue
2024-02-08T18:58:02
2024-02-08T18:58:02
Xing Han Lù, Zdeněk Kasner, Siva Reddy
cs.CL
cs.CL, cs.CV, cs.LG
We propose the problem of conversational web navigation, where a digital agent controls a web browser and follows user instructions to solve real-world tasks in a multi-turn dialogue fashion. To support this problem, we introduce WEBLINX - a large-scale benchmark of 100K interactions across 2300 expert demonstrations of conversational web navigation. Our benchmark covers a broad range of patterns on over 150 real-world websites and can be used to train and evaluate agents in diverse scenarios. Due to the magnitude of information present, Large Language Models (LLMs) cannot process entire web pages in real-time. To solve this bottleneck, we design a retrieval-inspired model that efficiently prunes HTML pages by ranking relevant elements. We use the selected elements, along with screenshots and action history, to assess a variety of models for their ability to replicate human behavior when navigating the web. Our experiments span from small text-only to proprietary multimodal LLMs. We find that smaller finetuned decoders surpass the best zero-shot LLMs (including GPT-4V), but also larger finetuned multimodal models which were explicitly pretrained on screenshots. However, all finetuned models struggle to generalize to unseen websites. Our findings highlight the need for large multimodal models that can generalize to novel settings. Our code, data and models are available for research: https://mcgill-nlp.github.io/weblinx
[ -0.514523446559906, -0.7279606461524963, 0.6757484674453735, 0.09261023253202438, -0.1237732321023941, 0.0769253522157669, -0.2914300560951233, -0.5490569472312927, -0.043725743889808655, 0.17032499611377716, -0.7439491748809814, -0.4415833055973053, -0.21268704533576965, -0.03595030680298805, -0.6423358917236328, 0.6107522249221802, 0.33929750323295593, 0.12714336812496185, -0.2539019286632538, 0.06583478301763535, 0.1103183701634407, -0.5161016583442688, -0.7256138324737549, -0.26458242535591125, 0.6858335733413696, 0.2744388282299042, 0.6989986300468445, 0.33781734108924866, 0.48927780985832214, 0.31353759765625, 0.04778412729501724, 0.2511466443538666, -0.7009583711624146, 0.12152352929115295, -0.20632991194725037, -0.3929343819618225, -0.43609780073165894, 0.029240567237138748, 0.43152400851249695, 0.6276292204856873, -0.2841930687427521, -0.03898902237415314, -0.034396108239889145, 0.2763151526451111, -0.6283941268920898, -0.05417976528406143, -0.3124934136867523, -0.06722637265920639, 0.22999663650989532, -0.11987251788377762, -0.5831493139266968, -0.43969953060150146, 0.3656754791736603, -0.9217565059661865, 0.1809478998184204, 0.018999818712472916, 0.7498577237129211, -0.015339917503297329, -0.6311730742454529, -0.037795305252075195, -0.8074500560760498, 0.8541603684425354, -0.748988687992096, 0.9050890207290649, 0.32277587056159973, 0.324598103761673, -0.13332931697368622, -0.909500002861023, -0.7553709745407104, -0.20794858038425446, 0.18441715836524963, 0.09646119177341461, -0.38044974207878113, 0.10573989897966385, 0.2057395577430725, -0.17686417698860168, -0.8127038478851318, 0.06800780445337296, -0.04947575554251671, -0.3158254623413086, 0.39024442434310913, 0.1460466980934143, 0.31040307879447937, 0.1236797645688057, -0.33382225036621094, -0.5168969631195068, -0.4467392563819885, 0.0909513309597969, 0.17322956025600433, 0.3658204674720764, -0.034162238240242004, 0.1252981573343277, -0.41990238428115845, 0.832444965839386, -0.010644219815731049, -0.2967948615550995, 0.11959031224250793, -0.44986552000045776, 0.14138707518577576, -0.3039018511772156, 0.5522032976150513, 0.9434382319450378, 0.433276891708374, -0.20904402434825897, -0.27468058466911316, 0.1645122766494751, 0.5682733058929443, -0.7659660577774048, -0.18647202849388123, 0.28756237030029297, -0.44840914011001587, 0.0008995716343633831, 0.22669073939323425, -0.8207639455795288, -0.3497219979763031, -0.34986013174057007, 0.3957606852054596, -0.32692939043045044, -0.37366610765457153, 0.1310497671365738, -0.27706941962242126, 0.48972976207733154, 0.5724730491638184, -0.5236158967018127, 0.39960429072380066, 0.7108383178710938, 0.647226870059967, -0.29914388060569763, -0.2731100916862488, -0.747664213180542, -0.05231134966015816, -0.16189737617969513, 0.7430295348167419, -0.772156298160553, -0.28625306487083435, 0.3987416923046112, -0.014750687405467033, 0.11996153742074966, -0.37939175963401794, 0.34940847754478455, -0.5497983694076538, -0.09330141544342041, 0.04556068405508995, -0.2593865394592285, -0.3204326331615448, 0.6808068156242371, -0.6511194109916687, 0.4019721448421478, -0.40180015563964844, -0.1841822862625122, 0.011265701614320278, -0.42930537462234497, -0.4333322048187256, -0.07843484729528427, 0.14627724885940552, -0.15587368607521057, -0.038496073335409164, 0.0514117032289505, 0.3402949571609497, -0.2053167074918747, -0.06558073312044144, -0.3211592435836792, -0.264686644077301, 0.43914324045181274, -0.5754311680793762, 0.17916154861450195, 0.2264484167098999, -0.22946418821811676, -0.067180335521698, -0.7090813517570496, 0.304657906293869, 0.02951788157224655, -0.5428626537322998, -0.30551260709762573, 0.09015082567930222, 0.4007219076156616, 0.28816428780555725, 0.1963580995798111, -0.5121549963951111, 0.40575236082077026, 0.03744981065392494, 0.38347122073173523, 0.5225715637207031, -0.035803064703941345, 0.3913087546825409, -0.377346932888031, 0.5576657056808472, -0.10332568734884262, 0.4660276472568512, -0.32828009128570557, -0.47535109519958496, -1.0584173202514648, 0.22055727243423462, 0.24043701589107513, 0.4357052743434906, -0.7614061832427979, -0.3102308213710785, -0.5251020789146423, -0.3879408538341522, -0.1913629025220871, -0.05719345062971115, 0.7068296074867249, -0.0018607900710776448, 0.5596761107444763, -0.299172967672348, -0.1825469434261322, -0.7772352695465088, -0.23793865740299225, -0.08011292666196823, -0.16654080152511597, 0.3477792739868164, 0.20820894837379456, -0.5576680302619934, 0.7297220230102539, -0.5720128417015076, -0.0576326809823513, -0.19810615479946136, 0.501754879951477, -0.23551496863365173, 0.3123132586479187, 0.00010620117245707661, -1.0885554552078247, -0.4983617663383484, -0.007155087776482105, -0.6308017373085022, 0.04281112551689148, -0.3427998721599579, 0.06783672422170639, 0.0282934308052063, 0.47302448749542236, -0.6299497485160828, 0.22421953082084656, 0.461972177028656, -0.13619749248027802, 0.39729779958724976, -0.04949948191642761, 0.2125261276960373, -0.7322209477424622, -0.03540750965476036, 0.5513374209403992, -0.5741456151008606, -0.8132131695747375, 0.5874856114387512, 0.2201196253299713, -0.1901586502790451, -0.5916826725006104, 0.5816252827644348, -0.4602263569831848, -0.1006719246506691, -0.04829341545701027, 0.5140023231506348, 0.08845803141593933, 0.7664568424224854, -0.044442277401685715, 0.7901466488838196, 0.044638946652412415, -0.9121901988983154, 0.47113561630249023, 0.26516756415367126, 0.03366703540086746, 0.6272894740104675, -0.281767874956131, 0.22848747670650482, 0.12564216554164886, 0.3849254846572876, -0.8785924315452576, -0.08430119603872299, -0.24855175614356995, -0.4184245765209198, 0.028365924954414368, -0.21707002818584442, -0.3311339318752289, -0.2619059085845947, -0.3731057643890381, 0.19436819851398468, 0.3579420745372772, -0.4063647389411926, 0.6328610777854919, 0.2797711193561554, -0.21598376333713531, -0.2545757591724396, -0.4174003303050995, 0.4305606782436371, 0.058572348207235336, -0.5861195921897888, 0.4322841763496399, -0.36055243015289307, -0.5742177367210388, -0.385591596364975, -0.09845069795846939, -0.2814171016216278, -0.013225756585597992, 0.043237194418907166, 0.014465509913861752, -0.0861813947558403, 0.09751821309328079, -0.29913994669914246, -0.09579005092382431, -0.04833103343844414, -0.47506168484687805, 0.6914663314819336, -0.21439509093761444, -0.5451714396476746, -0.7687849402427673, 0.4515351355075836, 0.61604243516922, -0.11905300617218018, 0.08178828656673431, 0.48678186535835266, -0.22203265130519867, 0.033981628715991974, -0.7836461663246155, -0.48211392760276794, -0.4899538457393646, 0.18242135643959045, -0.3587956428527832, -0.6124944686889648, 0.4313291907310486, -0.43109336495399475, 0.20870929956436157, 0.06096480041742325, 0.17592640221118927, -0.386942058801651, 1.224490761756897, 0.6331508159637451, 0.1569918692111969, 0.491972416639328, -0.36712101101875305, -0.016013819724321365, -0.5063366889953613, -0.18871796131134033, -0.3558042645454407, -0.4801376461982727, -0.6409083008766174, -0.3694727122783661, 0.4882587492465973, -0.16391077637672424, 0.030662596225738525, 0.3285215497016907, -0.17424827814102173, 0.30710363388061523, 0.8113515973091125, 0.26582223176956177, 0.5508063435554504, -0.014518268406391144, -0.4385150969028473, 0.1420377492904663, -0.6356934905052185, -0.4172651469707489, 1.028764009475708, 0.058913469314575195, 1.088096022605896, 0.5020340085029602, 0.47166964411735535, 0.5432754755020142, -0.11469881236553192, -0.7923439145088196, 0.8235331177711487, -0.06121411919593811, -0.4922303259372711, -0.40331539511680603, -0.2395125925540924, -1.187491774559021, 0.27708670496940613, -0.3190780282020569, -0.5373107194900513, 0.06937766820192337, 0.236882284283638, -0.5469825863838196, 0.1445091813802719, -0.6954419612884521, 0.7717291116714478, -0.26782453060150146, -0.8501293659210205, -0.7275471091270447, -0.6186220645904541, -0.06468793749809265, 0.30484244227409363, 0.33253058791160583, 0.23379629850387573, 0.115389883518219, 0.27323833107948303, -0.19252388179302216, 0.9336315989494324, -0.07580383867025375, -0.07886134088039398, 0.10386631637811661, 0.3146900236606598, 0.6563763618469238, -0.19062688946723938, 0.32046613097190857, -0.010118232108652592, -0.018995363265275955, -0.2879675030708313, -0.5726664662361145, 0.8465781807899475, -0.732005774974823, -0.5599697828292847, -0.4579884707927704, 0.0035241171717643738, -0.5058239102363586, 0.057699017226696014, -0.0993252545595169, 0.993465006351471, -0.3615632653236389, 0.27285274863243103, 0.7985672950744629, -0.11422056704759598, 0.8284246325492859, 0.7434977889060974, -0.3611276149749756, -0.06107509136199951, 1.1775656938552856, -0.13412539660930634, 0.36812230944633484, 0.6294258236885071, -0.00829603523015976, -0.40447548031806946, -0.5013729333877563, -0.5461761951446533, 0.09114543348550797, -0.7403507232666016, -0.1418437957763672, -0.5148894786834717, -0.16050972044467926, -0.2277284413576126, -0.05242801457643509, -0.3431645631790161, -0.5100838541984558, -0.2866440415382385, 0.08072826266288757, 0.013078601099550724, 0.8313425779342651, 0.014184367842972279, 0.3550776541233063, -0.9661754369735718, 0.3829084634780884, 0.8384456038475037, 0.3383675813674927, 0.21053647994995117, -0.2668267786502838, -0.2338486909866333, 0.18308863043785095, -0.529999315738678, -0.5982291102409363, 0.43228647112846375, 0.10009526461362839, 0.7570533156394958, 0.5737572908401489, 0.04654855653643608, 0.6929754018783569, -0.4861033260822296, 0.734185516834259, 0.3301050662994385, -0.6320606470108032, 0.2651525139808655, -0.5877746343612671, 0.7219805121421814, 0.38855549693107605, 0.6542330384254456, -0.8963577151298523, -0.1222144365310669, -0.3464948236942291, -0.6312552690505981, 0.41845232248306274, 0.0477135069668293, 0.10703303664922714, 0.08223321288824081, 0.21351170539855957, -0.1277027130126953, 0.10882633924484253, -0.6963091492652893, 0.09615056216716766, -0.3053676187992096, -0.08112865686416626, 0.020081887021660805, -0.2558545470237732, -0.1259920746088028, 0.07058841735124588, 0.5241593718528748, -0.4357679486274719, 0.25783056020736694, 0.1628866344690323, -0.6465137004852295, 0.05858558788895607, 0.3202855885028839, 0.8767217397689819, 0.9532157182693481, -0.15984591841697693, 0.3234012722969055, 0.05445946753025055, -0.4907948672771454, 0.11809279024600983, 0.09537879377603531, -0.09995802491903305, -0.24443338811397552, 0.2837957739830017, 0.5455323457717896, 0.5047635436058044, -0.8959481120109558, 0.4582139253616333, -0.3232463598251343, 0.06668166816234589, -0.3889329433441162, 0.07604413479566574, 0.0754900798201561, 0.40637266635894775, 0.7834919095039368, -0.2399047613143921, 0.34015771746635437, -0.7182617783546448, 0.29036945104599, 0.4957456588745117, -0.5439507365226746, -0.4477609097957611, 0.519946813583374, 0.8347514271736145, -0.7212620377540588, 0.6877555847167969, -0.29701051115989685, -0.4139186441898346, 0.24974830448627472, 0.3254898190498352, 0.780722975730896, -0.08914751559495926, 0.32398107647895813, 0.3916924297809601, 0.07649493217468262, -0.15144330263137817, 0.0836433619260788, 0.010444781742990017, -0.6202929615974426, -0.35269060730934143, -0.5648161172866821, -0.7254245281219482, 0.04171741008758545, -0.5757917761802673, -0.07303042709827423, -0.41157835721969604, -0.4715808928012848, -0.041988059878349304, -0.09553348273038864, -0.5497252345085144, 0.25491970777511597, 0.34145587682724, 0.7066782116889954, -0.3673045039176941, 0.6792753338813782, 0.5623652338981628, -0.3266112208366394, -0.17732849717140198, 0.24417118728160858, 0.35939180850982666, -0.4834921061992645, 0.3461422920227051, 0.25733712315559387, -0.4687441289424896, 0.30041468143463135, -0.584375262260437, -0.5628260374069214, 0.9673186540603638, -0.10992774367332458, -0.9184297919273376, -0.1722036451101303, 0.1277843713760376, 0.38101261854171753, -0.0791575238108635, 0.3845372498035431, 0.24831798672676086, 0.4532615840435028, -0.08221495151519775, -1.2106544971466064, -0.1684735119342804, -0.2526242733001709, -0.133619025349617, 0.022051379084587097, -0.9046975374221802, 0.8161637783050537, 0.012946845032274723, -0.09308762103319168, 0.016804557293653488, 0.14620669186115265, -0.020849671214818954, 0.16914530098438263, 0.6895728707313538, 0.5424133539199829, 0.4907515347003937, -0.05582364648580551, 0.918160617351532, -0.2843552231788635, 0.1496906876564026, 0.7998963594436646, -0.1747129261493683, 1.1112825870513916, 0.41884395480155945, -0.11962305009365082, 0.5785278081893921, 0.3688710927963257, 0.328068345785141, 0.460593581199646, 0.038083236664533615, -0.4590420424938202, -0.7845072150230408, -0.1492520570755005, -0.022505879402160645, 0.5904937982559204, 0.3015785813331604, 0.1100291758775711, -0.32915234565734863, 0.1723872721195221, -0.0009030298097059131, 0.27654895186424255, -0.2765451967716217, 1.0399110317230225, 0.03479813039302826, -0.8640472888946533, 0.6195194125175476, 0.12813152372837067, 0.6883600354194641, -0.8656905293464661, -0.2840557098388672, -0.45687639713287354, 0.32779279351234436, 0.08226172626018524, -0.5720540881156921, -0.29432207345962524, -0.0646248385310173, -0.08984723687171936, -0.46099308133125305, 0.5418257117271423, -0.2168707698583603, -0.300735205411911, 0.38620448112487793, 0.5686593651771545, 0.16032589972019196, -0.26805374026298523, -0.5118516087532043, 0.26850223541259766, 0.1948380321264267, -0.24629651010036469, 0.6020129919052124, 0.025642771273851395, -0.16722604632377625, 1.2351452112197876, 0.8219638466835022, -0.4018261730670929, 0.2531287968158722, 0.1330333799123764, 0.9315097332000732, -0.8873860239982605, -0.4185383915901184, -0.5726305246353149, 0.3429678976535797, -0.24372628331184387, -0.22223778069019318, 0.6059578657150269, 0.7194701433181763, 0.7263065576553345, 0.10089121758937836, 0.8166465163230896, 0.4615689814090729, 0.3020309805870056, -0.5890873074531555, 0.5515949726104736, -0.5594547390937805, -0.14425252377986908, -0.11257112771272659, -0.8996080756187439, -0.09459458291530609, 0.7553868889808655, 0.1705126315355301, -0.09576589614152908, 0.49234718084335327, 0.7332494258880615, -0.2522803843021393, -0.004570925608277321, 0.5720893740653992, 0.1856367290019989, 0.4624429941177368, 0.4738665223121643, 0.8567513227462769, -0.16655170917510986, 1.0646928548812866, -0.007726618088781834, -0.1823781430721283, -0.6452344655990601, -0.7472444772720337, -0.6080231070518494, -0.6200853586196899, -0.1156989336013794, -0.1774352341890335, 0.32639193534851074, 1.0217857360839844, 1.0641095638275146, -0.6358603835105896, -0.5205890536308289, 0.08356645703315735, -0.059337735176086426, -0.3048805296421051, -0.152598574757576, -0.34255334734916687, -0.2714810073375702, -0.9739665985107422, 0.51252281665802, 0.1482185274362564, 0.15851429104804993, -0.616856038570404, -0.1332291066646576, -0.7374735474586487, 0.1458510458469391, 0.687789261341095, 0.30376118421554565, -0.8813455700874329, -0.35200151801109314, 0.3104310631752014, -0.1887815296649933, 0.1118268147110939, 0.7411983013153076, -0.8579283952713013, 0.6803438663482666, 0.3201483190059662, 0.41944772005081177, 1.0005857944488525, 0.1687152236700058, 0.6452253460884094, -0.5369080305099487, -0.004377509001642466, 0.1974135935306549, 0.10533168166875839, 0.45135337114334106, 0.1329619437456131, 0.45532897114753723, 0.20613443851470947, -0.3033773601055145, -0.4730418026447296, 0.261756956577301, -1.0153298377990723, -0.5007181167602539, 1.322348713874817, -0.17474456131458282, 0.10646791756153107, -0.25145137310028076, -0.023101020604372025, 0.003473650896921754, -0.5811479091644287, 0.6584284901618958, 0.6828861236572266, -0.1234307661652565, -0.34541282057762146, -0.8199118971824646, 0.3597058951854706, 0.003372752107679844, -0.6147212386131287, -0.003303389996290207, 0.7862530946731567, 0.14193007349967957, 0.43553102016448975, 0.41823500394821167, 0.5720614790916443, 0.2682150602340698, 0.05022231489419937, 0.19676922261714935, 0.03845015540719032, -0.576755166053772, -0.13871300220489502, 0.12534494698047638, -0.06354894489049911, -0.05791445076465607 ]
http://arxiv.org/abs/2402.05926v3
http://arxiv.org/pdf/2402.05926v3
On the Convergence of Zeroth-Order Federated Tuning for Large Language Models
2024-02-08T18:56:40
2024-06-17T16:00:59
Zhenqing Ling, Daoyuan Chen, Liuyi Yao, Yaliang Li, Ying Shen
cs.LG
cs.LG, cs.CL
The confluence of Federated Learning (FL) and Large Language Models (LLMs) is ushering in a new era in privacy-preserving natural language processing. However, the intensive memory requirements for fine-tuning LLMs pose significant challenges, especially when deploying on clients with limited computational resources. To circumvent this, we explore the novel integration of Memory-efficient Zeroth-Order Optimization within a federated setting, a synergy we term as FedMeZO. Our study is the first to examine the theoretical underpinnings of FedMeZO in the context of LLMs, tackling key questions regarding the influence of large parameter spaces on optimization behavior, the establishment of convergence properties, and the identification of critical parameters for convergence to inform personalized federated strategies. Our extensive empirical evidence supports the theory, showing that FedMeZO not only converges faster than traditional first-order methods such as FedAvg but also significantly reduces GPU memory usage during training to levels comparable to those during inference. Moreover, the proposed personalized FL strategy that is built upon the theoretical insights to customize the client-wise learning rate can effectively accelerate loss reduction. We hope our work can help to bridge theoretical and practical aspects of federated fine-tuning for LLMs, thereby stimulating further advancements and research in this area.
[ -0.7232850193977356, -0.7636549472808838, 0.5985327363014221, 0.15331487357616425, -0.057141970843076706, 0.024422330781817436, -0.6947851777076721, -0.3800208866596222, 0.055301468819379807, 0.6212150454521179, -0.7924302220344543, -0.6227298378944397, -0.28144362568855286, 0.06283668428659439, -0.10458873212337494, 0.9341461658477783, 0.19409342110157013, 0.07262767851352692, -0.19353333115577698, -0.49137818813323975, -0.20193208754062653, -0.24570757150650024, -0.4406890869140625, -0.41053852438926697, 0.6333681344985962, 0.528497040271759, 0.6467419266700745, 0.8443195223808289, 0.33358466625213623, 0.35355448722839355, 0.2130618542432785, 0.12435246258974075, -0.8455970883369446, 0.22923161089420319, -0.37693116068840027, -0.6067686676979065, -0.4662809669971466, 0.1036318689584732, 0.7184555530548096, 0.8748575448989868, -0.534730851650238, 0.15984933078289032, -0.25054559111595154, 0.5637915730476379, -0.944367527961731, 0.10769795626401901, -0.4235914349555969, 0.30845144391059875, -0.23502930998802185, -0.45687898993492126, -0.5637655258178711, -0.38927987217903137, 0.0914788544178009, -0.43008390069007874, 0.35748258233070374, 0.08044268935918808, 0.587565541267395, 0.1297132968902588, 0.13341942429542542, 0.1271759569644928, -0.9478775858879089, 0.8362023234367371, -0.8559173941612244, 0.5865784287452698, 0.031741946935653687, 0.3525204062461853, -0.25788408517837524, -0.423446923494339, -0.521395206451416, 0.28746524453163147, 0.10438665747642517, -0.11507180333137512, -0.32570502161979675, 0.37861377000808716, 0.13428649306297302, 0.6265199780464172, -0.3304855227470398, 0.536272406578064, 0.024839984253048897, -0.16821981966495514, 0.6647993922233582, 0.3569774329662323, 0.00597256189212203, 0.6088524460792542, -0.4568485617637634, -0.10310699790716171, -0.5180996060371399, -0.035238344222307205, 0.35557159781455994, 0.5937860012054443, -0.03764834627509117, 0.1400543749332428, -0.586963415145874, 0.6959874033927917, 0.3201039731502533, -0.3942602276802063, 0.24070443212985992, -0.09136135131120682, -0.4013061225414276, 0.10810784250497818, 0.9133787751197815, 0.15215685963630676, 0.1340218186378479, -0.6264398694038391, -0.258861243724823, -0.14747391641139984, 0.17076550424098969, -1.0521559715270996, 0.13571996986865997, 0.11063983291387558, -0.11349250376224518, -0.2708152234554291, 0.04680463671684265, -0.7673683762550354, -0.13882064819335938, -0.22062088549137115, 0.27542126178741455, -0.2396194189786911, -0.12081702798604965, 0.2249899059534073, 0.21987801790237427, 0.2327437847852707, 0.3166447877883911, -1.2761237621307373, 0.6812335252761841, 1.2137115001678467, 0.7908226847648621, 0.20442993938922882, -0.5297548174858093, -0.8190175294876099, -0.00047922300291247666, -0.1950380802154541, 0.44403231143951416, -0.5322332382202148, -0.2303556501865387, 0.08047550171613693, 0.00316617707721889, -0.1406404823064804, -0.2555769681930542, 0.20122972130775452, -0.7773037552833557, 0.46249377727508545, -0.31649544835090637, -0.7653616666793823, -0.33495959639549255, 0.15135186910629272, -0.31890371441841125, 0.24472153186798096, 0.17210102081298828, -0.5269781947135925, 0.13337241113185883, -0.42381182312965393, -0.5020391941070557, 0.21351908147335052, -0.23802292346954346, -0.5297638177871704, 0.3747449815273285, -0.16049911081790924, 0.6898847222328186, -0.4564656615257263, 0.061720624566078186, -0.6976755261421204, -0.5526053309440613, -0.09059621393680573, -0.046326279640197754, 0.6247450709342957, 0.23825734853744507, -0.5878251194953918, -0.014744122512638569, -0.5462386012077332, 0.29151463508605957, 0.2121654897928238, -0.15217550098896027, -0.4198036193847656, -0.04744011163711548, -0.28849390149116516, -0.139422208070755, 0.282136470079422, -0.7377011775970459, 0.10380486398935318, -0.8208640813827515, 0.5426228046417236, 0.6999183893203735, -0.13192978501319885, 0.7291432023048401, -0.12894798815250397, 0.44441038370132446, -0.3004434108734131, 0.302223265171051, -0.17805948853492737, -0.21631060540676117, -0.5084940791130066, -0.14923276007175446, 0.09492141008377075, 0.2679656445980072, -0.2575991451740265, 0.3764282166957855, -0.4360475242137909, -0.3059293031692505, -0.2645801603794098, 0.29200270771980286, 0.5033841133117676, 0.4822998642921448, 0.09134305268526077, -0.26075661182403564, -0.03936855122447014, -0.9325694441795349, 0.07956122606992722, 0.19159218668937683, 0.041011035442352295, 0.5788593292236328, 0.02390695922076702, -0.20418298244476318, 0.9472010731697083, -0.5575342178344727, -0.26013824343681335, -0.0728193148970604, -0.13339146971702576, 0.32056862115859985, 0.3573194146156311, 0.8481926918029785, -0.5062949657440186, -0.43227019906044006, 0.35040706396102905, -0.41127318143844604, -0.10808487236499786, 0.13122761249542236, -0.14484310150146484, 0.2259625941514969, 0.0034909239038825035, -0.4982028305530548, -0.06624077260494232, 0.6370121240615845, -0.3153477609157562, 0.3278738856315613, -0.5226948857307434, -0.12362799048423767, -0.9917555451393127, -0.16006730496883392, -0.207113116979599, -0.2346019595861435, -0.7138345241546631, 0.3681773543357849, -0.08057291060686111, -0.13955450057983398, 0.032202254980802536, 0.3846278786659241, -0.496988981962204, -0.2133946716785431, -0.4879307746887207, 0.11990739405155182, -0.07464280724525452, 0.6193447709083557, -0.4345351457595825, 0.7450602054595947, 0.38253623247146606, -0.3672076165676117, 0.22492003440856934, 0.2548162639141083, 0.07707613706588745, 0.6095021367073059, -0.3443598449230194, 0.16916514933109283, 0.06918076425790787, -0.04783649370074272, -0.6700063347816467, -0.19119182229042053, 0.16049812734127045, -0.2179843634366989, 0.516076922416687, 0.19030654430389404, -0.6955931782722473, -0.1696668416261673, -0.31179988384246826, 0.22447086870670319, 0.36001327633857727, -0.704954206943512, 0.3908161222934723, 0.29721561074256897, 0.1409553587436676, -0.6070733070373535, -0.5462457537651062, -0.060363367199897766, -0.12367390096187592, -0.6383256912231445, 0.3273558020591736, -0.010050139389932156, -0.18719527125358582, -0.07602997124195099, -0.037722550332546234, 0.03614490106701851, 0.3736984133720398, 0.2000681310892105, -0.05047788470983505, -0.6171613335609436, -0.006728550419211388, 0.20542369782924652, -0.07950843125581741, 0.008243640884757042, -0.5280829071998596, 0.6600053310394287, -0.5356378555297852, -0.07271554321050644, -0.3514820337295532, 0.31997430324554443, 0.6101117134094238, -0.3509214520454407, 1.1171908378601074, 0.7188357710838318, -0.08615780621767044, -0.6680888533592224, -0.8440830111503601, -0.2679345905780792, -0.5469226837158203, 0.029751339927315712, -0.10473629832267761, -1.4093832969665527, 0.6920321583747864, -0.07541952282190323, 0.29619866609573364, 0.08204804360866547, 0.7286691069602966, 0.18053539097309113, 0.6235353350639343, 0.9791796207427979, -0.4974379241466522, 0.5887587070465088, -0.26405441761016846, 0.3588548004627228, -0.5023162961006165, 0.007576164323836565, -0.2821689546108246, -0.5180339217185974, -0.8008886575698853, -0.24173447489738464, 0.05925535410642624, -0.1767703890800476, -0.30269262194633484, 0.2820061147212982, -0.2213011384010315, 0.7259112000465393, 0.4822033941745758, 0.123290054500103, 0.29347866773605347, 0.0848919078707695, -0.08211628347635269, 0.1953996866941452, -0.8652178049087524, 0.18973982334136963, 0.7164331674575806, 0.26816001534461975, 0.579316258430481, 0.11049550026655197, 1.0114918947219849, 0.13155174255371094, 0.3376087248325348, -0.5878109335899353, 0.5987582802772522, -0.2330237627029419, -0.4404631555080414, -0.35540837049484253, -0.6110775470733643, -0.7361639738082886, 0.40250536799430847, -0.13517364859580994, -0.8182898163795471, 0.34792572259902954, 0.018147803843021393, -0.6758384108543396, 0.3385271430015564, -0.6483083963394165, 0.7278679013252258, -0.08019993454217911, -0.8048701882362366, -0.4982965290546417, -0.7328076958656311, 0.4814401865005493, 0.12120263278484344, -0.013742025010287762, -0.27329307794570923, -0.14059562981128693, 0.33102744817733765, -0.7665757536888123, 0.7198116779327393, -0.3760984539985657, -0.09502637386322021, -0.1872193068265915, -0.09560026973485947, 0.38484442234039307, -0.0036139856092631817, -0.07585666328668594, 0.3082365393638611, -0.28755515813827515, -0.42005443572998047, -0.6966168284416199, 1.1539478302001953, -0.7083710432052612, -0.6619620323181152, 0.008703851141035557, -0.5242345929145813, -0.44640135765075684, 0.5200168490409851, -0.01889234408736229, 0.4193209111690521, -0.13343419134616852, 0.23512022197246552, 0.850759744644165, -0.1766076683998108, 0.48231035470962524, 0.9628604054450989, -0.010823222808539867, -0.6743100881576538, 0.8853514194488525, -0.0052725342102348804, 0.2772683799266815, 0.41541680693626404, 0.37182068824768066, 0.05264478921890259, -0.7020809054374695, -0.26395323872566223, 0.6520026326179504, -0.4001363217830658, -0.36398303508758545, -0.3964959979057312, -0.09070201218128204, -0.18287359178066254, -0.42870643734931946, -0.5926811099052429, -0.036462027579545975, -0.404540091753006, 0.04272238537669182, 0.36817556619644165, 0.06868517398834229, 0.07243835926055908, 0.5424813032150269, -0.6883658766746521, -0.14748172461986542, -0.018002783879637718, 0.9311314821243286, 0.19619633257389069, -0.1309971958398819, -0.46977245807647705, -0.08305063098669052, -0.015353141352534294, -0.5444043874740601, 0.24499741196632385, 0.4508923888206482, 0.6295807361602783, 1.0395194292068481, 0.2417609989643097, 0.7561571598052979, -0.6988012194633484, 0.20686456561088562, 0.11352600902318954, -0.6368651986122131, 0.10736488550901413, -0.6266874074935913, 0.3239838182926178, 0.8695591688156128, 0.14938820898532867, -0.31115177273750305, -0.38788750767707825, -0.5965083837509155, -0.617311418056488, 0.9338842630386353, 0.09118503332138062, 0.36388760805130005, 0.12415925413370132, 0.6418120861053467, 0.15375617146492004, 0.4716954231262207, -0.13902898132801056, -0.36937522888183594, 0.21567663550376892, -0.013651694171130657, -0.2991991341114044, -0.18049141764640808, -0.34048500657081604, -0.23655804991722107, 0.36956343054771423, -0.23099598288536072, 0.22759610414505005, -0.14835087954998016, 0.2278243452310562, -0.46017932891845703, 0.28475287556648254, 0.8293005228042603, 0.41081929206848145, -0.18329750001430511, -0.24434131383895874, -0.00030185526702553034, -0.2635899782180786, 0.019275253638625145, 0.40662381052970886, -0.39964789152145386, -0.13601136207580566, 0.1757878065109253, 1.0114893913269043, 0.7522927522659302, -0.5156919360160828, 0.5383707284927368, -0.08636932820081711, -0.3922466039657593, -0.12561266124248505, 0.4523962140083313, -0.029730049893260002, 0.6112455725669861, 0.12355950474739075, -0.055541280657052994, 0.009650250896811485, -0.39248839020729065, 0.2135045975446701, 0.7785100340843201, 0.0012864110758528113, -0.5306828618049622, 0.7175772786140442, 0.17063359916210175, -0.3962896466255188, 0.4525723159313202, 0.06543774157762527, -0.44438987970352173, 0.17283016443252563, 0.4777323007583618, 1.2428696155548096, -0.2987259328365326, 0.22249780595302582, 0.14494392275810242, 0.030512221157550812, -0.21857550740242004, -0.04306942969560623, -0.808652400970459, -0.778190016746521, -0.2497137188911438, -0.8875793218612671, -0.5279781222343445, -0.09283686429262161, -0.7383891344070435, -0.06040654703974724, -1.1024976968765259, -0.17626866698265076, -0.013877431862056255, 0.364181786775589, -0.3672914206981659, -0.1935124695301056, 0.3919562101364136, 0.7772805690765381, -0.473542183637619, 0.7878240942955017, 0.30150264501571655, 0.08605097234249115, -0.6837268471717834, -0.020106539130210876, -0.09738754481077194, -0.7439127564430237, 0.09396125376224518, 0.20563027262687683, -0.23264029622077942, 0.1781773567199707, -0.3784209191799164, -0.7359545230865479, 1.3386294841766357, 0.5414121150970459, -0.8210498690605164, -0.09331189095973969, 0.19305036962032318, 0.8192384839057922, -0.5370299816131592, -0.12097339332103729, 0.5713829398155212, 0.1995312124490738, 0.15743696689605713, -0.8366235494613647, 0.08954298496246338, 0.029370564967393875, 0.058664895594120026, 0.6199998259544373, -1.1598905324935913, 0.7368018627166748, -0.44589200615882874, -0.36128681898117065, -0.06643202155828476, 0.6375972628593445, -0.2028501182794571, 0.4489039182662964, 0.4658268988132477, 0.7501952052116394, 0.6480053067207336, 0.01479558739811182, 0.9474622011184692, -0.4941287338733673, 0.5995720624923706, 1.1131705045700073, -0.3686583638191223, 0.738797128200531, 0.4047796130180359, -0.09925873577594757, 0.3984922170639038, 0.2985709607601166, -0.043941810727119446, 0.6150399446487427, -0.10220925509929657, -0.4287630319595337, -0.1738409548997879, 0.0024862803984433413, -0.27039000391960144, 0.36873239278793335, 0.2109007090330124, -0.4892157316207886, -0.6070935726165771, 0.11393657326698303, 0.1649836152791977, 0.05049445107579231, -0.21146845817565918, 0.9076517820358276, 0.07724564522504807, -0.43800753355026245, 0.7085939645767212, 0.10346277803182602, 0.5390611886978149, -0.6224464774131775, 0.4534318745136261, -0.5198533535003662, 0.6197521686553955, -0.11292926967144012, -0.25959211587905884, 0.23898328840732574, -0.191245436668396, -0.14475801587104797, -0.3879702389240265, 0.3130592703819275, -0.5347136855125427, -0.13460573554039001, 0.4213113486766815, 0.2839030623435974, -0.30072829127311707, 0.15831442177295685, -0.397950679063797, 0.007438747677952051, -0.15223030745983124, -0.3316158056259155, 0.640866756439209, 0.2998313009738922, 0.2736353576183319, 0.5674903392791748, 0.5456975102424622, 0.005604601930826902, -0.08846072107553482, -0.015130124986171722, 0.8975706696510315, -0.43568405508995056, -0.8106660842895508, -0.9846510291099548, -0.18990834057331085, 0.08074796944856644, -0.01563265547156334, 1.0660041570663452, 0.4129403829574585, 0.9770573973655701, -0.029143765568733215, 0.265654057264328, 0.07998392730951309, 0.19735053181648254, -0.3117803931236267, 0.8677279949188232, -0.7231460809707642, 0.1908409744501114, -0.15045587718486786, -0.7469078898429871, -0.2502209544181824, 0.22959144413471222, -0.4246254861354828, -0.2651192843914032, 0.21059022843837738, 0.6967911720275879, -0.08284920454025269, 0.261409729719162, 0.5517706871032715, 0.2607521414756775, 0.19673149287700653, 0.6018231511116028, 0.16797098517417908, -0.1702377051115036, 0.034168489277362823, -0.8199239373207092, -0.17755287885665894, -0.5100585222244263, -0.5095736980438232, -0.8693278431892395, -0.32827508449554443, -0.13193176686763763, -0.018373576924204826, 0.12238022685050964, 0.9546242952346802, 0.5786464810371399, -0.7616758346557617, -0.17736870050430298, -0.23603905737400055, 0.03253115713596344, -0.08047422766685486, -0.22391420602798462, -0.06704095005989075, -0.4174095094203949, -0.6227245330810547, 0.32639920711517334, 0.6651961803436279, -0.20287786424160004, -0.5993310213088989, -0.16619451344013214, -0.009093580767512321, 0.04685642197728157, 0.4616166055202484, 0.5373120903968811, -0.6532143354415894, -0.06755005568265915, 0.0369650274515152, -0.0708807185292244, 0.1635701060295105, 0.8935468196868896, -0.590083122253418, 0.618648111820221, 0.48437198996543884, 0.9087051153182983, 0.2997828722000122, 0.24063946306705475, 0.784331202507019, -0.6866466999053955, 0.3452802300453186, 0.2600333094596863, 0.1899888962507248, 0.13000057637691498, -0.5385415554046631, 0.25929388403892517, 0.4117904603481293, -0.5509461760520935, -1.0110236406326294, -0.03049829788506031, -0.9005952477455139, -0.0061666714027523994, 0.685011625289917, -0.2936159372329712, -0.40764811635017395, 0.5188732147216797, 0.35319918394088745, -0.04366336017847061, -0.306257963180542, 0.7766189575195312, 0.5357046723365784, -0.16347838938236237, -0.3060839772224426, -0.35022222995758057, 0.3024030327796936, 0.41424351930618286, -0.5208606719970703, 0.2666112184524536, 0.644862711429596, 0.3260674476623535, 0.1490725874900818, 0.5327983498573303, 0.24826622009277344, 0.32969021797180176, -0.14531727135181427, -0.29672929644584656, -0.4434240460395813, -0.2646700143814087, -0.5541443824768066, 0.4394901394844055, -0.10177373886108398, -0.11918525397777557 ]
http://arxiv.org/abs/2402.05913v1
http://arxiv.org/pdf/2402.05913v1
Efficient Stagewise Pretraining via Progressive Subnetworks
2024-02-08T18:49:09
2024-02-08T18:49:09
Abhishek Panigrahi, Nikunj Saunshi, Kaifeng Lyu, Sobhan Miryoosefi, Sashank Reddi, Satyen Kale, Sanjiv Kumar
cs.CL
cs.CL, cs.LG
Recent developments in large language models have sparked interest in efficient pretraining methods. A recent effective paradigm is to perform stage-wise training, where the size of the model is gradually increased over the course of training (e.g. gradual stacking (Reddi et al., 2023)). While the resource and wall-time savings are appealing, it has limitations, particularly the inability to evaluate the full model during earlier stages, and degradation in model quality due to smaller model capacity in the initial stages. In this work, we propose an alternative framework, progressive subnetwork training, that maintains the full model throughout training, but only trains subnetworks within the model in each step. We focus on a simple instantiation of this framework, Random Path Training (RaPTr) that only trains a sub-path of layers in each step, progressively increasing the path lengths in stages. RaPTr achieves better pre-training loss for BERT and UL2 language models while requiring 20-33% fewer FLOPs compared to standard training, and is competitive or better than other efficient training methods. Furthermore, RaPTr shows better downstream performance on UL2, improving QA tasks and SuperGLUE by 1-5% compared to standard training and stacking. Finally, we provide a theoretical basis for RaPTr to justify (a) the increasing complexity of subnetworks in stages, and (b) the stability in loss across stage transitions due to residual connections and layer norm.
[ -0.0973096415400505, -0.4133506715297699, 0.21509356796741486, 0.2458992451429367, -0.272697776556015, 0.1614757925271988, -0.06918805092573166, -0.2373933047056198, -0.010551342740654945, 0.16868798434734344, -0.770376980304718, -0.2824091613292694, -0.4242776334285736, -0.28725287318229675, -0.5944865345954895, 1.1367137432098389, -0.12749715149402618, 0.09051614999771118, 0.01877342350780964, -0.014069120399653912, -0.09617414325475693, -0.392111212015152, -1.2021156549453735, -0.7125781178474426, 0.7258653044700623, 0.294560045003891, 0.34932973980903625, 0.30564409494400024, 0.1821429431438446, 0.23824642598628998, 0.0460507795214653, -0.1964298039674759, -0.764952540397644, 0.2638283371925354, 0.14155349135398865, -0.2960270643234253, -0.1513327807188034, 0.02424086071550846, 0.7650871872901917, 0.7035964727401733, -0.5041074752807617, 0.12943671643733978, -0.03392288088798523, 0.7162574529647827, -0.49913454055786133, -0.15002571046352386, -0.49750617146492004, 0.4829649329185486, -0.3503119647502899, 0.014983145520091057, -0.5108757615089417, -0.18248145282268524, 0.06005888804793358, -0.5770286321640015, -0.04895687848329544, -0.21971844136714935, 0.8183249235153198, -0.0012126931687816978, -0.08793942630290985, 0.0539122000336647, -0.7951890826225281, 0.4843490719795227, -0.7376524209976196, 0.7427414059638977, 0.08475598692893982, 0.33904552459716797, -0.11140824854373932, -1.2153539657592773, -0.3945762813091278, -0.38803717494010925, 0.0688043162226677, 0.3960763216018677, -0.31340956687927246, 0.23368920385837555, 0.2224515825510025, 0.0946388766169548, -0.612629771232605, 0.4582187533378601, -0.18795622885227203, -0.26484811305999756, 0.08220146596431732, -0.16577711701393127, 0.15540289878845215, 0.21443665027618408, -0.4802783131599426, -0.2364516407251358, -0.8105238080024719, 0.24130547046661377, 0.5101838111877441, 0.28636619448661804, 0.08423244208097458, 0.17178967595100403, -0.04371863603591919, 0.5945712327957153, 0.04421469569206238, -0.17678207159042358, 0.23185673356056213, -0.32257866859436035, 0.043545082211494446, -0.2103264331817627, 0.6580613255500793, -0.34489625692367554, 0.5272901058197021, -0.3182785212993622, -0.2868402302265167, -0.21084408462047577, 0.3247407376766205, -0.8507561087608337, -0.44901320338249207, 0.15440616011619568, -0.121436707675457, -0.14252689480781555, -0.22311225533485413, 0.03172435611486435, -0.024948107078671455, -0.08719248324632645, 0.4222280979156494, -0.8376670479774475, -0.22354625165462494, -0.051795389503240585, 0.1547466367483139, 0.08505860716104507, 0.3300594687461853, -0.6516207456588745, 0.3124040961265564, 0.37978076934814453, 0.9157609939575195, 0.10771499574184418, -0.30766692757606506, -0.8018162846565247, -0.09266407042741776, -0.5997352600097656, 0.6531335711479187, -0.4386651813983917, -0.1941840648651123, -0.23373650014400482, -0.328471839427948, -0.3382207751274109, -0.25229090452194214, 0.3009655773639679, -0.844655454158783, 0.17849768698215485, 0.14251834154129028, -0.19322514533996582, 0.04153487831354141, 0.2736765146255493, -0.4499198794364929, 1.066184163093567, 0.2871127426624298, -0.9639815092086792, 0.39336493611335754, -0.4304860830307007, -0.7145088911056519, -0.008229934610426426, -0.3377573490142822, -0.47116872668266296, -0.05504395440220833, 0.07761098444461823, 0.21682628989219666, 0.23541538417339325, 0.020874489098787308, 0.10745231062173843, -0.527032196521759, -0.20760829746723175, -0.1493322104215622, 0.6910033226013184, 0.2069683074951172, -0.3955625593662262, 0.25756317377090454, -0.7736802697181702, 0.08909180015325546, -0.24470128118991852, -0.5590137839317322, -0.3773959279060364, -0.03278972953557968, -0.3217774033546448, 0.524959146976471, 0.033762745559215546, -0.5287135243415833, 0.2542707026004791, -0.4548570215702057, 0.18986889719963074, 0.8776100277900696, -0.1399456113576889, 0.4133915603160858, -0.09218551218509674, 0.8813644647598267, 0.3822512626647949, 0.32057443261146545, -0.012748409993946552, -0.23530146479606628, -0.9656972885131836, -0.12217239290475845, 0.8153592348098755, 0.5736629366874695, -1.117611050605774, 0.19164660573005676, -0.27070143818855286, -0.5168839693069458, -0.37491193413734436, 0.0524449422955513, 0.6218198537826538, 0.555414080619812, 0.2983698546886444, -0.6837903261184692, -0.7796803116798401, -0.884598970413208, 0.17769932746887207, -0.22026152908802032, -0.10174009203910828, -0.11312174052000046, 0.26252317428588867, -0.06461863219738007, 0.929146409034729, -0.027768516913056374, -0.2254631519317627, -0.7332241535186768, 0.43458160758018494, 0.41360002756118774, 0.7436233758926392, 0.3698248267173767, -0.5846230983734131, -0.5301390290260315, -0.09937237203121185, -0.17809362709522247, -0.04549432173371315, -0.43613317608833313, -0.13564978539943695, 0.06975477188825607, 0.5421432256698608, -0.4174962043762207, 0.12000541388988495, 0.7151160836219788, 0.13326305150985718, 0.4790392518043518, -0.2536149024963379, -0.3107222020626068, -0.858375072479248, 0.011017234064638615, -0.08210645616054535, -0.24654297530651093, -0.7599889039993286, -0.1301346868276596, -0.1734822392463684, -0.031074756756424904, -0.5339542627334595, 0.2515043020248413, -0.42397141456604004, -0.19306336343288422, -0.000929937930777669, 0.034809138625860214, -0.19870741665363312, 0.5092218518257141, 0.07019620388746262, 0.883973240852356, 0.5005232691764832, -0.469207763671875, -0.21453213691711426, 0.08238586038351059, -0.43959036469459534, -0.02006344683468342, -0.7714638710021973, 0.3139297664165497, -0.07454792410135269, 0.8112835884094238, -0.7190520167350769, 0.20114648342132568, 0.19347968697547913, -0.29989904165267944, 0.3931788504123688, -0.23668919503688812, -0.31641149520874023, -0.4816642105579376, -0.23725350201129913, 0.35669636726379395, 0.6777375340461731, -0.30663633346557617, 0.6175342202186584, 0.051974572241306305, 0.15478672087192535, -0.7734895944595337, -0.6791161298751831, -0.10126805305480957, 0.08357356488704681, -0.6668527722358704, 0.2947310507297516, 0.028058476746082306, 0.18119600415229797, -0.13458457589149475, -0.4171850383281708, 0.07048867642879486, 0.07031131535768509, 0.20081955194473267, -0.3382514715194702, -0.07938223332166672, -0.044011421501636505, -0.01837388426065445, -0.3456064462661743, -0.25647100806236267, -0.833048403263092, 0.8166494965553284, -0.049357108771800995, -0.2632416784763336, -0.22372104227542877, 0.3278387188911438, 0.22432377934455872, -0.2070688158273697, 0.9653455018997192, 0.9261990189552307, -0.18227648735046387, -0.5227365493774414, -0.20225107669830322, 0.022301655262708664, -0.4225432574748993, 0.5167507529258728, -0.4834953844547272, -1.0054758787155151, 0.5494582056999207, -0.011729567311704159, 0.1156417652964592, 0.28847837448120117, 0.29151812195777893, -0.07196775078773499, 0.9517971873283386, 0.9556878805160522, 0.19910074770450592, 0.6972004771232605, -0.56974858045578, 0.18661271035671234, -0.840404212474823, -0.299180805683136, -0.19783619046211243, -0.3416319489479065, -0.36898860335350037, -0.48496565222740173, 0.5081916451454163, 0.2433656007051468, -0.5435474514961243, 0.4918685257434845, -0.039472587406635284, 0.3194149136543274, 0.8177830576896667, 0.2014361172914505, 0.09544934332370758, 0.010293809697031975, -0.6199482679367065, 0.12938381731510162, -1.4049991369247437, -0.180795356631279, 0.593259871006012, 0.6012181043624878, 0.8030434846878052, -0.19396741688251495, 0.9103743433952332, 0.047180648893117905, 0.4028007686138153, -0.5219293236732483, 0.5367831587791443, -0.3643382787704468, -0.5048076510429382, -0.47952765226364136, -0.6903757452964783, -0.8009411096572876, 0.0877460390329361, -0.16912947595119476, -0.6845912337303162, 0.3070056438446045, 0.33904898166656494, -0.5362851023674011, 0.4827980697154999, -0.5194038152694702, 0.7348263263702393, -0.23415637016296387, -0.18516094982624054, -0.06968104094266891, -0.9889861941337585, 0.24478282034397125, -0.2803492546081543, 0.13064977526664734, 0.1855521947145462, 0.253758043050766, 0.9737962484359741, -0.5579978823661804, 0.7926344871520996, -0.413083016872406, -0.1548946350812912, 0.1799497902393341, 0.12828686833381653, 0.6616013646125793, -0.12069841474294662, -0.038422830402851105, 0.04664032161235809, -0.3092575967311859, -0.3964177072048187, -0.5379036068916321, 0.24994158744812012, -0.860228419303894, -0.23610667884349823, -0.34097984433174133, -0.48513323068618774, -0.6074046492576599, 0.23231662809848785, 0.44518911838531494, 0.6781628727912903, 0.041478004306554794, 0.19573459029197693, 0.6283820867538452, -0.226197749376297, 0.4847683906555176, 0.25439155101776123, -0.17663736641407013, -0.14344468712806702, 0.7068173289299011, 0.3155840337276459, 0.468161940574646, 0.5562986135482788, 0.1681438535451889, -0.2409031242132187, -1.1779450178146362, -0.18137381970882416, -0.11764494329690933, -0.6661499738693237, -0.03272675350308418, -0.6772282123565674, -0.5499277710914612, -0.273133784532547, 0.08131162822246552, -0.5165342688560486, -0.558622419834137, 0.1358972191810608, -0.2386821061372757, 0.09034470468759537, 0.4918834865093231, -0.5046238303184509, 0.5330225229263306, -0.6761350631713867, 0.08063941448926926, 0.4992193579673767, 0.5098886489868164, 0.2756096422672272, -0.6046715974807739, -0.568818986415863, -0.008976965211331844, -0.09998739510774612, -0.25603628158569336, 0.14161734282970428, 0.473609983921051, 0.5845277309417725, 0.40815573930740356, 0.025088664144277573, 0.7823759317398071, -0.872571587562561, 0.6975995898246765, 0.5269504189491272, -0.7039301991462708, 0.45451873540878296, -0.3555258512496948, 0.4179304540157318, 0.8754971027374268, 0.6538040041923523, -0.4998833239078522, -0.42744317650794983, -0.6501645445823669, -1.2367937564849854, 0.6649960279464722, 0.4423782229423523, 0.1585034430027008, 0.07617764919996262, 0.14203296601772308, 0.21323439478874207, 0.10783178359270096, -0.9559080600738525, 0.057351235300302505, -0.38640931248664856, -0.01894502528011799, -0.02568015456199646, -0.1671622097492218, -0.15378880500793457, -0.3087559640407562, 0.8526716828346252, 0.06421749293804169, 0.2273992896080017, 0.0644260123372078, -0.18989041447639465, -0.06920506805181503, 0.18663589656352997, 0.4388114809989929, 0.9418826699256897, -0.270253986120224, 0.2944582998752594, 0.15344275534152985, -0.645793616771698, 0.3965221047401428, -0.01302450243383646, -0.23153705894947052, -0.052799493074417114, 0.712123692035675, 0.9230560064315796, 0.24317508935928345, -0.4463682472705841, 0.3875446915626526, 0.02047642134130001, -0.24738219380378723, -0.2657546401023865, 0.09037332236766815, 0.02413998171687126, 0.36908257007598877, 0.4915132224559784, 0.014329984784126282, -0.21335823833942413, -0.49962499737739563, 0.611761212348938, 0.03844121843576431, -0.495216965675354, -0.23563793301582336, 0.5055617094039917, 0.10492618381977081, -0.25174638628959656, 0.8788970708847046, -0.12701939046382904, -0.5701715350151062, 0.35295137763023376, 0.5429784059524536, 0.8638996481895447, -0.08117137849330902, 0.48212599754333496, 0.17750772833824158, 0.38507500290870667, -0.08494309335947037, -0.04212469980120659, 0.02163161337375641, -0.7635177373886108, -0.8759180903434753, -0.9746902585029602, -0.3268783390522003, 0.13495299220085144, -0.3297737240791321, -0.19883769750595093, -0.46743711829185486, -0.1227453425526619, -0.5364579558372498, -0.10074348002672195, -0.39019837975502014, 0.5064048767089844, 0.19464676082134247, 1.270046591758728, -0.694595992565155, 1.1168973445892334, 0.6076010465621948, -0.40517759323120117, -1.2374112606048584, 0.1759115308523178, -0.42460671067237854, -0.7917653918266296, 0.9059442281723022, 0.09048057347536087, -0.2957741320133209, 0.2683258056640625, -0.32595619559288025, -0.764409601688385, 1.0785547494888306, 0.35381174087524414, -0.8782321214675903, -0.3294870853424072, -0.12115774303674698, 0.6254450678825378, -0.40879976749420166, 0.38562482595443726, 0.215907022356987, 0.24667994678020477, 0.5226065516471863, -0.668566107749939, -0.025195011869072914, -0.31621962785720825, 0.384144127368927, 0.12108157575130463, -0.4343881905078888, 0.9592093229293823, -0.032925378531217575, -0.3920058310031891, 0.023827072232961655, 0.8522520065307617, 0.25012367963790894, -0.16208529472351074, 1.092551827430725, 0.7654520869255066, 0.30143028497695923, -0.13422183692455292, 0.9999892115592957, -0.2651609182357788, 0.2619855999946594, 1.099113941192627, 0.03858710452914238, 0.7029088139533997, 0.2945462167263031, -0.22541183233261108, 0.9508642554283142, 0.908564031124115, 0.4743300676345825, 0.7645854949951172, 0.6105563044548035, 0.02092329040169716, -0.4981749653816223, 0.05244683101773262, -0.47817763686180115, 0.289521187543869, -0.14855681359767914, 0.024007607251405716, -0.448668509721756, 0.12685532867908478, 0.06353534013032913, -0.21624159812927246, -0.2121669054031372, 0.35790759325027466, 0.24368412792682648, -0.46066397428512573, 0.5998105406761169, -0.18421980738639832, 0.5615193247795105, -1.2021476030349731, 0.19984841346740723, -0.5880259275436401, 0.1330874115228653, -0.10364478826522827, -0.3939569592475891, 0.08360353857278824, -0.044985659420490265, 0.11764663457870483, -0.576330304145813, 0.43183839321136475, -0.35810044407844543, -0.42007699608802795, 0.3491676151752472, 0.5095804333686829, -0.021893514320254326, 0.3935123383998871, -0.8001708984375, -0.0806737095117569, -0.2989707589149475, -0.6380495429039001, 0.4967097342014313, 0.4041464030742645, -0.08620885014533997, 0.6895239353179932, 0.6431793570518494, 0.2549391984939575, 0.12514549493789673, 0.5922595262527466, 1.1012742519378662, -0.24429379403591156, -0.6707162261009216, -0.43777963519096375, 0.6894201636314392, -0.00546957366168499, -0.29344236850738525, 0.6156213283538818, 0.37482813000679016, 0.9772769212722778, 0.19871778786182404, 0.5402525663375854, -0.20075133442878723, 0.3034302294254303, -0.7911393046379089, 0.5222602486610413, -0.43929168581962585, 0.3782839775085449, -0.34439393877983093, -0.7882900834083557, -0.09148742258548737, 0.8202963471412659, -0.25675168633461, 0.4083455502986908, 0.6753075122833252, 0.4270428419113159, -0.2070169448852539, -0.42115142941474915, 0.19959549605846405, 0.4537934958934784, 0.32413923740386963, 0.7124247550964355, 0.8970658779144287, -0.11409980803728104, 0.6220653057098389, -0.2948288917541504, -0.4042801558971405, 0.16397322714328766, -1.0652903318405151, -0.7070515751838684, -0.5076020359992981, -0.15619376301765442, -0.2218881994485855, 0.5128127932548523, 0.6737985610961914, 0.9795624017715454, -0.773677408695221, -0.2432612180709839, -0.4307369291782379, -0.1917378455400467, -0.4095851182937622, -0.14136968553066254, 0.2725513279438019, -0.5282727479934692, -0.18857304751873016, 0.5436115860939026, 0.16757434606552124, 0.03726838529109955, -0.38023999333381653, -0.06314776092767715, -0.6447514295578003, 0.05317556485533714, 0.6383592486381531, 0.40922194719314575, -0.17884327471256256, -0.6056909561157227, -0.13788704574108124, 0.1748029738664627, -0.03213512524962425, 0.7485937476158142, -0.8926176428794861, 0.11810596287250519, 0.44576287269592285, 0.472919225692749, 0.8190923929214478, 0.03607752174139023, 0.7973932027816772, -1.1046451330184937, 0.2698553502559662, 0.4860679507255554, 0.15140016376972198, 0.19362886250019073, 0.03603619709610939, 0.6938334107398987, 0.23546971380710602, -0.3035869002342224, -0.687534749507904, 0.5042117834091187, -0.9147523641586304, -0.3194730579853058, 0.9762406945228577, -0.4303450882434845, 0.09266599267721176, 0.0026674913242459297, 0.18876446783542633, 0.36265894770622253, -0.1727621853351593, 0.6185043454170227, 0.38343939185142517, -0.4714348614215851, -0.18996135890483856, -0.3962728977203369, 0.4543817937374115, 0.3357076942920685, -0.5411856770515442, -0.3048592507839203, 0.16830092668533325, 0.0872039943933487, 0.21013890206813812, 1.1008375883102417, 0.024527965113520622, -0.07481784373521805, -0.014386762864887714, -0.07877741008996964, -0.3372378945350647, -0.8748341202735901, 0.021740378811955452, 0.2135004848241806, -0.04479126259684563, -0.222034752368927 ]
http://arxiv.org/abs/2402.05904v1
http://arxiv.org/pdf/2402.05904v1
FACT-GPT: Fact-Checking Augmentation via Claim Matching with LLMs
2024-02-08T18:43:05
2024-02-08T18:43:05
Eun Cheol Choi, Emilio Ferrara
cs.CL
cs.CL, cs.CY, cs.HC, cs.SI
Our society is facing rampant misinformation harming public health and trust. To address the societal challenge, we introduce FACT-GPT, a system leveraging Large Language Models (LLMs) to automate the claim matching stage of fact-checking. FACT-GPT, trained on a synthetic dataset, identifies social media content that aligns with, contradicts, or is irrelevant to previously debunked claims. Our evaluation shows that our specialized LLMs can match the accuracy of larger models in identifying related claims, closely mirroring human judgment. This research provides an automated solution for efficient claim matching, demonstrates the potential of LLMs in supporting fact-checkers, and offers valuable resources for further research in the field.
[ 0.03789179027080536, -0.7280861735343933, 1.0647763013839722, 0.002961075631901622, -0.1884501427412033, 0.2986127734184265, 0.14694571495056152, -0.6504136919975281, 0.3146565556526184, 0.4263738989830017, -0.38154923915863037, -0.3320136070251465, -0.7861550450325012, 0.10224056988954544, -0.4684891998767853, 0.947832465171814, -0.046468786895275116, 0.10698040574789047, -0.44657960534095764, 0.24016885459423065, -0.07970206439495087, -0.5485766530036926, -0.616935133934021, -0.4148643910884857, 0.6013700366020203, 0.343354731798172, 0.7154244780540466, 0.5966970324516296, 0.4712602496147156, 0.3369998335838318, 0.23998481035232544, 0.5605785250663757, -0.34247392416000366, -0.07458443939685822, -0.377113938331604, -0.18081961572170258, -0.43666672706604004, 0.14499719440937042, 0.33236539363861084, 0.27906766533851624, -0.0663650706410408, 0.38424837589263916, 0.027980787679553032, 0.4764552414417267, -0.5127414464950562, 0.20784316956996918, -0.8213288187980652, -0.18349269032478333, 0.021259905770421028, -0.20702840387821198, -0.14638088643550873, -0.8613012433052063, 0.1273069828748703, -0.3737819790840149, 0.5560888648033142, -0.010019066743552685, 1.0281184911727905, 0.474277526140213, -0.7150930762290955, -0.3145987093448639, -0.560307502746582, 0.19886960089206696, -0.6657775044441223, 0.4283924400806427, 0.3764484226703644, 0.2303270399570465, -0.15062738955020905, -0.6167331337928772, -0.7407536506652832, -0.3567785620689392, -0.4155038595199585, -0.05047184228897095, -0.08178780972957611, 0.01914898119866848, 0.45990288257598877, 0.38097846508026123, -0.9105054140090942, -0.21674728393554688, -0.29180532693862915, -0.637120246887207, 0.6950008869171143, -0.21669861674308777, 0.6122040152549744, -0.30012479424476624, -0.35766130685806274, 0.2081717997789383, -0.8555005192756653, -0.49285250902175903, 0.07194612175226212, 0.1816502809524536, -0.2049744725227356, 0.8647043704986572, -0.2684744894504547, 0.5566583275794983, -0.007718957494944334, -0.38079482316970825, 0.216835156083107, -0.4407358467578888, -0.3686566948890686, 0.562120258808136, 0.6730763912200928, 0.5705284476280212, 0.01890229620039463, -0.059933703392744064, -0.16943685710430145, 0.4878070652484894, -0.07520219683647156, -0.8378804326057434, -0.06959176808595657, 0.022950736805796623, -0.17184260487556458, -0.31525659561157227, 0.19813257455825806, -0.5012057423591614, -0.8414400815963745, -0.35178133845329285, 0.6721860766410828, -0.10239789634943008, -0.147105872631073, 0.2860815227031708, -0.1611769050359726, 0.1652146577835083, 0.4828976094722748, -0.29928308725357056, 0.07594151794910431, 0.7933069467544556, 1.047615885734558, 0.042221371084451675, 0.2104121595621109, -0.6749152541160583, 0.19629357755184174, -0.3368467390537262, 0.9915468096733093, -0.4125559329986572, -0.01173828262835741, 0.034791022539138794, 0.16753259301185608, 0.06468799710273743, -0.45502322912216187, 0.9640989303588867, -0.6918403506278992, 0.23367823660373688, -0.7164945006370544, -0.7111986875534058, -0.13992425799369812, 0.65240478515625, -0.7070343494415283, 0.8523338437080383, -0.020178211852908134, -0.7739298343658447, 0.37715503573417664, -0.581569254398346, -0.5374608039855957, 0.18023191392421722, -0.185435950756073, -0.5273559093475342, -0.09719754010438919, 0.36096689105033875, 0.40994682908058167, -0.4692777693271637, 0.42756378650665283, -0.49856358766555786, -0.06528734415769577, 0.1879691481590271, -0.43166476488113403, 0.7346394658088684, 0.2910882830619812, -0.23244380950927734, 0.07877125591039658, -0.6231777667999268, -0.36971527338027954, 0.2682259678840637, -0.5432308912277222, -0.33901986479759216, 0.1466069221496582, -0.09691541641950607, 0.22800888121128082, 0.45233023166656494, -0.8960869312286377, 0.31247642636299133, -0.08919193595647812, 0.4409165680408478, 0.5316187143325806, 0.03008390963077545, -0.09483963996171951, -0.7639288306236267, 0.08962273597717285, -0.16649095714092255, 0.0733523890376091, -0.04372241720557213, -0.32467666268348694, -0.5421321988105774, -0.38845503330230713, 0.493338942527771, 0.8992535471916199, -0.8468095064163208, 0.5256226062774658, -0.5146797895431519, -0.4645274579524994, -0.4360538423061371, -0.024434326216578484, -0.08695738762617111, 0.8373384475708008, 0.3602921962738037, 0.005174021702259779, -0.7655838131904602, -0.8983071446418762, -0.5389553904533386, -0.23576590418815613, -0.19079910218715668, 0.04755968600511551, 0.3431304693222046, -0.2987511157989502, 0.9908558130264282, -0.6151357293128967, -0.22592584788799286, 0.06477909535169601, 0.0759982094168663, 0.14881835877895355, 0.12964875996112823, 0.4582492411136627, -0.8612130284309387, -0.6129535436630249, -0.05163338780403137, -0.7998804450035095, -0.37702134251594543, -0.021438565105199814, 0.32104572653770447, 0.09447720646858215, 0.3445846736431122, -0.7754947543144226, 0.17268167436122894, 0.6931508779525757, -0.46473708748817444, 0.41149795055389404, -0.15162880718708038, 0.5417078733444214, -1.0754351615905762, -0.1752774566411972, 0.3086129128932953, -0.6810499429702759, -0.3828488886356354, -0.22853250801563263, 0.2088124006986618, 0.07579583674669266, -0.3098830580711365, 0.3849961459636688, -0.40223228931427, -0.006536518223583698, -0.40558964014053345, 0.12530384957790375, -0.0456022284924984, -0.18698614835739136, -0.12070778012275696, 0.8945562839508057, 0.5807704329490662, -0.48815691471099854, 0.6397331357002258, 0.0005976124084554613, -0.464058518409729, 0.680456280708313, -0.6029269099235535, 0.00219379598274827, -0.04856101796030998, 0.565980851650238, -0.9344416260719299, -0.608577311038971, 0.23358465731143951, -0.4962840676307678, -0.15664887428283691, -0.2500300109386444, -0.8698325157165527, -0.4075794517993927, -0.19999514520168304, 0.05661405250430107, 0.4255867302417755, -0.6825379729270935, 0.8091434240341187, 0.5635724663734436, -0.43438729643821716, -0.4924166202545166, -0.5571548938751221, 0.4878581166267395, -0.09463264793157578, -0.539170503616333, 0.31539997458457947, 0.06082843616604805, -0.28976449370384216, 0.09493772685527802, -0.2372870296239853, -0.04235295578837395, -0.03816724941134453, 0.08349140733480453, 0.38647356629371643, -0.17356917262077332, 0.2212250828742981, -0.132715106010437, 0.12025616317987442, 0.07651618868112564, -0.21649013459682465, 0.2687723636627197, -0.09091603755950928, -0.7484639286994934, -0.27644842863082886, 0.18443429470062256, 0.6513277888298035, -0.05758296698331833, 0.49188125133514404, 0.49617958068847656, -0.6597171425819397, 0.2656705975532532, -1.0868299007415771, -0.13238951563835144, -0.4927818775177002, 0.33013901114463806, 0.11188831180334091, -1.0363410711288452, 0.2202100306749344, -0.09501742571592331, -0.019148509949445724, 0.5363833904266357, 0.49940747022628784, 0.08157147467136383, 0.7828453183174133, 0.3865797519683838, -0.37988173961639404, 0.23338961601257324, 0.3225141763687134, 0.25071054697036743, -0.20051154494285583, -0.0560501366853714, -0.3281148672103882, -0.008652524091303349, -0.6158145070075989, -0.5475673079490662, 0.5716707110404968, -0.4024724066257477, -0.18922050297260284, 0.17024372518062592, -0.43134140968322754, 0.6503806710243225, 0.23913779854774475, 0.3960368037223816, 0.8098910450935364, -0.09024565666913986, 0.27997663617134094, 0.2033565640449524, -0.5682246685028076, -0.5810927152633667, 0.9282600283622742, 0.36420565843582153, 0.8152234554290771, 0.34858807921409607, 0.3971490263938904, 0.7065750956535339, 0.8584824204444885, -0.705259382724762, 0.5316188335418701, -0.07361264526844025, -0.7672587633132935, -0.17935670912265778, -0.5484411716461182, -0.6615088582038879, 0.14967797696590424, -0.5349035859107971, -0.3884933888912201, 0.0066020432859659195, 0.37864628434181213, -0.4470180869102478, 0.4380700886249542, -0.5609020590782166, 0.39847898483276367, -0.5438585877418518, -0.14462579786777496, -0.4135217070579529, -0.4291193187236786, 0.5350902676582336, -0.19729992747306824, 0.27700623869895935, -0.24871523678302765, 0.09489938616752625, 0.4753867983818054, -0.36612191796302795, 0.9093669652938843, -0.01870265044271946, -0.33438897132873535, 0.13979049026966095, -0.11835203319787979, 0.6602599024772644, 0.1985405683517456, 0.11082719266414642, -0.06683965027332306, -0.008141821250319481, -0.21228593587875366, -0.39031973481178284, 0.7027006149291992, -0.48748886585235596, -0.6634127497673035, -0.8669710755348206, -0.5371250510215759, -0.12420809268951416, 0.2936503291130066, -0.10549312829971313, 0.258645236492157, -0.5373359322547913, 0.026051724329590797, 0.936416745185852, -0.09546038508415222, 0.02893320843577385, 0.9383397698402405, -0.2661108076572418, -0.44340816140174866, 0.886253833770752, 0.1822408139705658, 0.056587185710668564, 0.48660558462142944, 0.387714147567749, -0.5805231332778931, -0.3152223825454712, -0.25055670738220215, 0.40104904770851135, -0.6293623447418213, -0.4354127049446106, -0.8603512644767761, -0.2889636158943176, -0.6824418902397156, 0.16562119126319885, -0.22469471395015717, -0.27199307084083557, 0.23942089080810547, -0.3129726052284241, 0.6059591770172119, 0.908706545829773, -0.460190087556839, 0.2274187058210373, -0.9107432961463928, 0.7799602150917053, 0.7629641890525818, 0.48184606432914734, -0.6237558126449585, -0.2812839448451996, -0.1142759695649147, 0.24938233196735382, -0.27981653809547424, -0.9527671933174133, -0.07015063613653183, 0.05892235040664673, 0.46090638637542725, 0.24991095066070557, 0.1811414361000061, 0.3945416212081909, -0.514101505279541, 0.63018399477005, 0.09710798412561417, -0.8061995506286621, 0.2913559079170227, -0.34909647703170776, -0.30423977971076965, 0.31167906522750854, 0.5522793531417847, -0.6897304654121399, -0.1559760421514511, -0.6759611964225769, -0.5268231630325317, 0.15789924561977386, -0.11875874549150467, -0.11178900301456451, -0.1409061700105667, 0.25854432582855225, -0.10549497604370117, -0.0726495236158371, -0.6902040839195251, -0.03976976498961449, -0.11521277576684952, -0.38059183955192566, -0.015773562714457512, -0.3154405355453491, -0.44267788529396057, -0.17287026345729828, 0.8195653557777405, -0.18154272437095642, 0.07066689431667328, 0.5562503933906555, -0.3345036804676056, -0.26538506150245667, 0.45252498984336853, 0.7120824456214905, 0.549162745475769, -0.17126542329788208, 0.39654672145843506, 0.2544086277484894, -0.45115214586257935, 0.3585702180862427, 0.379784494638443, -0.4089392125606537, 0.19980990886688232, 0.18017029762268066, 0.5309731960296631, -0.04168440029025078, -0.5775834918022156, 0.6490692496299744, 0.04109078645706177, -0.2546427249908447, -0.1846182495355606, -0.005477736704051495, 0.2813180685043335, 0.2290373593568802, 0.5368787050247192, 0.0834229588508606, 0.13353633880615234, -0.6161660552024841, 0.5915547013282776, 0.6933092474937439, -0.14168372750282288, -0.14319221675395966, 0.47037091851234436, 0.2548733651638031, -0.1743329018354416, 0.2319263219833374, -0.12837092578411102, -0.7073194980621338, 0.5027442574501038, 0.442050963640213, 0.6941453218460083, -0.30413228273391724, 0.32723912596702576, 0.40905413031578064, 0.5756334066390991, -0.5555069446563721, 0.02221217006444931, 0.4506688714027405, -0.8286414742469788, -0.9473299384117126, -0.33691540360450745, -0.441602885723114, 0.5242031216621399, -0.23674248158931732, 0.3112946152687073, -0.3131992518901825, -0.12226100265979767, 0.07526438683271408, -0.0824035108089447, -0.6573876738548279, 0.2510596513748169, 0.2982357442378998, 0.942840039730072, -1.3215210437774658, 0.7922955751419067, 0.5530388951301575, -0.269587904214859, -0.6790974736213684, 0.357959508895874, 0.394304484128952, -0.9590743184089661, 0.5072225332260132, 0.04890231788158417, -0.32266223430633545, 0.035411447286605835, -0.8599916696548462, -0.8570684194564819, 0.984999418258667, 0.8714084029197693, -0.6041474938392639, 0.08747078478336334, 0.27784067392349243, 0.27605605125427246, -0.2593264579772949, -0.00627400167286396, 0.4584868848323822, 0.6323813796043396, 0.1676582545042038, -1.178107500076294, 0.41856735944747925, 0.29326531291007996, -0.4721784293651581, -0.06410477310419083, -0.5676680207252502, 0.5907366871833801, -0.26504746079444885, -0.3252975046634674, -0.2758060395717621, 0.6231673359870911, 0.32867684960365295, 0.3030329942703247, 0.7975181341171265, 0.6584151983261108, 0.8962130546569824, 0.07070619612932205, 0.8537940979003906, -0.2641432583332062, 0.6226856708526611, 1.1394550800323486, -0.46920156478881836, 0.41407355666160583, 0.13169704377651215, -0.26771819591522217, 0.3551165461540222, 0.7931671142578125, -0.17066265642642975, 0.2729072570800781, 0.12543389201164246, -0.41181421279907227, -0.4217223525047302, -0.38669392466545105, -0.4197078049182892, 0.13826380670070648, 0.466400682926178, -0.2697145342826843, -0.45275816321372986, -0.367581844329834, 0.1629776656627655, 0.047692012041807175, -0.2355886548757553, 0.8174822330474854, -0.13189448416233063, -0.6586712002754211, 0.34961411356925964, -0.13250429928302765, 0.7209435105323792, -0.5195408463478088, -0.25670525431632996, 0.14082278311252594, -0.07941808551549911, -0.3863420784473419, -0.8520106673240662, 0.38130486011505127, -0.02310260757803917, -0.3410211205482483, 0.02624800056219101, 1.2169209718704224, -0.7382947206497192, -0.5504385232925415, 0.07235261052846909, 0.6817260384559631, -0.11100565642118454, -0.44454458355903625, -0.7452609539031982, -0.07388041913509369, -0.17049261927604675, 0.11251495778560638, 0.13368424773216248, 0.4022851884365082, -0.0518253929913044, 0.6693643927574158, 0.7350717782974243, 0.2435625046491623, -0.26782146096229553, 0.05992388725280762, 0.8445450663566589, -0.2948931157588959, -0.3906574249267578, -1.1444905996322632, 0.1226317510008812, -0.40248793363571167, 0.45352602005004883, 0.7026089429855347, 0.807687520980835, 0.5780036449432373, -0.03003755211830139, 1.4131344556808472, -0.16951587796211243, 0.9722170233726501, -0.4977717697620392, 0.8728121519088745, -0.3147651255130768, 0.09348060935735703, -0.12320748716592789, -0.6406077742576599, -0.275068461894989, 0.45219001173973083, -0.4417409896850586, -0.1568140983581543, 0.5198209881782532, 1.0951262712478638, -0.28904008865356445, -0.1638839840888977, 0.15677568316459656, 0.37318548560142517, 0.4265329837799072, 0.2404278814792633, 0.7612658739089966, -0.258204847574234, 0.4295467436313629, 0.19971264898777008, -0.39552342891693115, -0.43218109011650085, -1.3258823156356812, -0.7042864561080933, -0.3463941812515259, -0.5739045739173889, -0.6451134085655212, 0.1247800812125206, 1.2838951349258423, 0.5779874920845032, -0.7694681286811829, 0.2513352036476135, 0.14081348478794098, 0.3310970366001129, -0.08242665976285934, -0.20921750366687775, 0.4730534255504608, 0.0505666546523571, -0.3135434091091156, 0.32854965329170227, 0.1364353746175766, 0.11845847219228745, -0.17479075491428375, 0.01996256411075592, -0.2738937735557556, 0.3050350844860077, 0.6406510472297668, 0.2963545620441437, -0.7029138803482056, -0.5888468027114868, -0.19744981825351715, -0.3087941110134125, 0.07450700551271439, 1.038020133972168, -0.6338820457458496, 0.13605879247188568, 0.4737948477268219, 0.9993521571159363, 0.26359426975250244, 0.1796567291021347, 0.425459086894989, -0.6489765048027039, -0.2791493833065033, -0.036844462156295776, 0.5175305604934692, 0.7498074173927307, -0.7168758511543274, 0.5906190276145935, 0.5729073286056519, -0.5430440902709961, -0.7852392196655273, 0.34090110659599304, -1.0732483863830566, -0.05144030228257179, 1.0586947202682495, 0.10597198456525803, -0.10084612667560577, -0.4165422022342682, -0.18678563833236694, 0.40778738260269165, -0.3659376800060272, 1.0912361145019531, 0.7340822815895081, 0.1213051825761795, -0.14061178267002106, -0.5753217339515686, 0.7450430989265442, -0.03206261992454529, -0.891150951385498, 0.1479293704032898, 0.4554716944694519, 0.7474097609519958, 0.18618062138557434, 0.8105273842811584, -0.06610291451215744, 0.24200791120529175, -0.35845446586608887, 0.041574541479349136, -0.033928900957107544, 0.13836446404457092, 0.12968288362026215, -0.048984672874212265, -0.08203000575304031, -0.05320082977414131 ]
http://arxiv.org/abs/2402.05889v2
http://arxiv.org/pdf/2402.05889v2
CREMA: Generalizable and Efficient Video-Language Reasoning via Multimodal Modular Fusion
2024-02-08T18:27:22
2024-06-12T21:03:33
Shoubin Yu, Jaehong Yoon, Mohit Bansal
cs.CV
cs.CV, cs.AI, cs.CL
Despite impressive advancements in recent multimodal reasoning approaches, they are still limited in flexibility and efficiency, as these models typically process only a few fixed modality inputs and require updates to numerous parameters. This paper tackles these critical challenges and proposes CREMA, a generalizable, highly efficient, and modular modality-fusion framework that can incorporate any new modality to enhance video reasoning. We first augment multiple informative modalities (such as optical flow, 3D point cloud, audio, thermal heatmap, and touch map) from given videos without extra human annotation by leveraging sensors or existing pre-trained models. Next, we introduce a query transformer with multiple parameter-efficient modules associated with each accessible modality. It projects diverse modality features to the LLM token embedding space, allowing the model to integrate different data types for response generation. Furthermore, we propose a novel progressive multimodal fusion design supported by a lightweight fusion module and modality-sequential training strategy. It helps compress information across various assisting modalities, maintaining computational efficiency in the LLM while improving performance. We validate our method on 7 video-language reasoning tasks assisted by diverse modalities, including conventional VideoQA and Video-Audio/3D/Touch/Thermal QA, and achieve better/equivalent performance against strong multimodal LLMs, including OneLLM, BLIP-2, and SeViLA while reducing over 90% trainable parameters. We provide extensive analyses of CREMA, including the impact of each modality on reasoning domains, the design of the fusion module, and example visualizations.
[ -0.3979001045227051, -0.7500633001327515, 0.5096299648284912, -0.011699655093252659, -0.5186679363250732, -0.14545029401779175, -0.37066450715065, -0.0959378182888031, 0.041984982788562775, 0.4589109420776367, -0.583700954914093, -0.6227526068687439, -0.43303772807121277, -0.22966346144676208, -0.337027907371521, 0.4445676803588867, -0.1139017790555954, 0.2968204915523529, -0.40802252292633057, -0.5283240675926208, -0.37399137020111084, -0.3858201205730438, -0.019704364240169525, -0.23115481436252594, 0.45354995131492615, 0.4076237380504608, 0.6482928991317749, 0.5117443799972534, 0.5680150389671326, 0.4335934519767761, 0.47042205929756165, 0.5369002819061279, -0.1520548313856125, 0.4264496862888336, -0.11440444737672806, -0.2655448913574219, -0.3831457793712616, -0.5274789333343506, 0.5603132843971252, 0.39899587631225586, -0.1514025628566742, 0.1550375372171402, -0.428305447101593, 0.48040571808815, -0.8922449350357056, -0.0754477009177208, -0.6272522211074829, -0.09131717681884766, -0.02447608858346939, -0.2656088173389435, -0.40574780106544495, 0.018169423565268517, 0.02299606241285801, -0.5063697099685669, 0.3454309403896332, -0.054215967655181885, 0.5301074981689453, 0.7213736772537231, -0.5721231698989868, 0.15532438457012177, -0.9073143005371094, 0.8036542534828186, -0.4423152804374695, 1.0244063138961792, 0.2584112286567688, 0.5962375998497009, 0.23592449724674225, -0.6023757457733154, -0.6533075571060181, -0.14628848433494568, 0.14300794899463654, 0.06755545735359192, 0.03455379977822304, 0.23575173318386078, 0.14897003769874573, 0.18477052450180054, -0.9763950109481812, -0.09141375869512558, -0.10668904334306717, -0.44097721576690674, 0.4938305616378784, 0.40938958525657654, 0.33291569352149963, -0.14456671476364136, -0.5335103273391724, -0.038366660475730896, -0.308600515127182, 0.033375296741724014, 0.1511523276567459, -0.005830090027302504, -0.19985370337963104, 0.6891607046127319, -0.4411066770553589, 0.9231560230255127, -0.22148264944553375, -0.552933931350708, 0.22201839089393616, -0.6463407874107361, -0.6457051634788513, -0.3105516731739044, 0.6800774931907654, 0.3007446825504303, -0.24591012299060822, 0.06705262511968613, 0.12852999567985535, 0.41665297746658325, 0.1568196415901184, -0.7185501456260681, -0.36889412999153137, 0.3185877501964569, -0.3846747577190399, 0.11390101909637451, -0.07708151638507843, -0.8540732860565186, -0.11255908012390137, -0.39610445499420166, 0.3488219976425171, -0.6024584174156189, -0.2648179829120636, 0.38737747073173523, -0.2054852992296219, 0.4143063724040985, 0.6752917170524597, -0.7882353067398071, 0.0442185252904892, 0.41876915097236633, 0.2586449086666107, -0.016202522441744804, -0.18923260271549225, -0.41038405895233154, 0.5532897710800171, 0.2250509262084961, 0.9868587255477905, -0.9622762203216553, -0.24985335767269135, 0.17500032484531403, -0.11956249922513962, -0.2673374116420746, -0.27610334753990173, 0.3592468798160553, -0.3328808844089508, 0.5295209288597107, -0.02543848194181919, -0.16902199387550354, -0.6877849102020264, 0.5524129271507263, -0.5830090045928955, 0.7125142812728882, -0.10920654982328415, -0.31485989689826965, 0.4400051236152649, -0.5193901062011719, -0.450353741645813, -0.003270588116720319, -0.42935067415237427, -0.20195387303829193, -0.28323280811309814, 0.18736666440963745, 0.2794589698314667, -0.6313366889953613, 0.22847338020801544, -0.2689586877822876, 0.03867980092763901, 0.16566002368927002, -0.5796847939491272, 0.0824662446975708, 0.1609930396080017, -0.34710341691970825, 0.38302239775657654, -0.557546079158783, 0.11097481101751328, -0.3009692430496216, -0.3287920653820038, 0.1395038515329361, -0.11811625212430954, -0.19027119874954224, 0.1917383223772049, -0.034565918147563934, -0.2570422887802124, 0.275145024061203, 0.17180468142032623, 0.37325313687324524, 0.370226114988327, -0.11908125132322311, 0.7519083619117737, -0.14077362418174744, 0.528779923915863, 0.10590188950300217, 0.44223833084106445, -0.44336917996406555, -0.4127967953681946, -0.7311168313026428, -0.8397548198699951, 0.01758871227502823, 0.6144257187843323, -1.0242058038711548, -0.10046978294849396, -0.14638157188892365, -0.5289364457130432, -0.39252766966819763, 0.42043906450271606, 0.3970799148082733, 0.5430078506469727, 0.48128852248191833, -0.27070853114128113, -0.48127028346061707, -1.2018040418624878, 0.028431177139282227, -0.22237682342529297, -0.0235332902520895, 0.3608132004737854, 0.20169495046138763, -0.23769456148147583, 0.6835542321205139, -0.4816325902938843, -0.35107219219207764, -0.4454628825187683, -0.014577296562492847, -0.1834724098443985, 0.40412747859954834, 0.415079802274704, -1.0695894956588745, 0.07657592743635178, 0.0369863361120224, -0.8691173195838928, 0.06834950298070908, -0.3493753671646118, -0.16118104755878448, 0.2971165180206299, -0.016196252778172493, -0.8645513653755188, 0.3506937026977539, 0.4330616295337677, -0.20481666922569275, 0.55916827917099, -0.021296439692378044, 0.8224511742591858, -0.7831102609634399, -0.07313238084316254, 0.20204463601112366, -0.15041260421276093, -0.655823826789856, 0.03594599664211273, -0.11328227072954178, -0.1934186965227127, -0.7755550146102905, 0.4401216208934784, -0.26717597246170044, 0.152798593044281, -0.02325998619198799, 0.2305607944726944, 0.2549806237220764, 0.7646378874778748, 0.1256457269191742, 0.44005852937698364, 0.7080686092376709, -0.6890222430229187, 0.6310272812843323, 0.20036233961582184, -0.07606019824743271, 0.48886120319366455, -0.2727651596069336, -0.08574067801237106, -0.14481085538864136, 0.42130470275878906, -1.1378567218780518, -0.5980029702186584, 0.4012868106365204, -0.4066045880317688, 0.17394614219665527, -0.2741432785987854, -0.2842308580875397, -0.133330300450325, -0.20934361219406128, 0.9240666031837463, 0.4501892328262329, -0.2586230933666229, 1.3656229972839355, 0.26586994528770447, 0.22277311980724335, -0.47097358107566833, -0.6519297361373901, -0.2049591988325119, -0.2748136818408966, -1.1716697216033936, 0.35012122988700867, -0.2560868561267853, -0.22600048780441284, -0.044649865478277206, -0.2152407318353653, -0.5171444416046143, -0.2400137484073639, 0.23960742354393005, 0.2783556878566742, -0.1038467213511467, 0.14048732817173004, 0.08636876940727234, -0.043086107820272446, -0.2183607965707779, -0.1030765026807785, 0.6572772860527039, -0.07533323764801025, -0.7510044574737549, -0.6912433505058289, 0.5545547008514404, 0.646442711353302, -0.2327692061662674, 0.1352073848247528, 0.9531089663505554, -0.33579397201538086, 0.019484419375658035, -0.9965230822563171, -0.15194453299045563, -0.4535983204841614, 0.3375810384750366, -0.35783225297927856, -0.9206895232200623, 0.4632399380207062, -0.022270390763878822, 0.015554839745163918, 0.1386788934469223, 1.095566987991333, 0.0944799855351448, 1.1811033487319946, 0.3151650130748749, 0.38873642683029175, 0.45244961977005005, -0.38925492763519287, 0.042631104588508606, -0.4632508456707001, -0.806333601474762, -0.2755231559276581, -0.40330231189727783, -0.05017362907528877, -1.0014042854309082, 0.5507873892784119, -0.18213772773742676, -0.13370944559574127, 0.29230043292045593, -0.3172168433666229, 0.33110982179641724, 0.2843624949455261, 0.20961004495620728, 0.30638670921325684, -0.16848689317703247, 0.04198336973786354, 0.045739248394966125, -0.8403449654579163, -0.27297067642211914, 0.4616839587688446, 0.1139116957783699, 0.8183393478393555, 0.39111220836639404, 0.2058427482843399, 0.38052159547805786, 0.055719755589962006, -0.7364626526832581, 0.8935096263885498, 0.13197220861911774, -0.5438722968101501, -0.09355432540178299, -0.30034545063972473, -0.6033754348754883, 0.5211181640625, -0.3470659852027893, -0.41899144649505615, 0.0656004250049591, 0.3019169569015503, -0.2221977710723877, 0.35382258892059326, -0.7836707830429077, 0.7496717572212219, -0.31228816509246826, -0.6335459351539612, -0.5853143334388733, -0.7076190710067749, 0.795973539352417, 0.3554883897304535, 0.36770331859588623, -0.21547923982143402, -0.2515365183353424, 0.2926483452320099, -0.31277960538864136, 0.7133403420448303, -0.16811178624629974, 0.17993031442165375, 0.4276883900165558, 0.41589927673339844, -0.0411258228123188, 0.23329435288906097, 0.09427893161773682, 0.16703559458255768, -0.16128131747245789, -0.42067041993141174, -0.8146989941596985, 0.5603383779525757, -0.3985612094402313, -0.7145875692367554, -0.09015198051929474, -0.6533389687538147, -0.2728249132633209, -0.04829051345586777, -0.013428316451609135, 0.7887921929359436, 0.15957330167293549, 0.1923135668039322, 0.6374530792236328, -0.08764371275901794, 0.4289887547492981, 0.3245697021484375, 0.01677454449236393, -0.9119874835014343, 0.8937511444091797, -0.31911489367485046, 0.39650627970695496, 0.5130866765975952, -0.0611409991979599, -0.2504918575286865, -0.4537276327610016, -0.84950852394104, 0.13905057311058044, -0.7635274529457092, -0.49323463439941406, -0.6820995211601257, 0.2015029489994049, -0.40176963806152344, -0.27220818400382996, -0.2520523965358734, -0.5183823108673096, -0.06696008890867233, -0.011191575787961483, 0.10883557051420212, 0.11671224236488342, 0.01652630977332592, 0.12040691822767258, -1.043557047843933, 0.5191650390625, 0.5706806182861328, 0.13341373205184937, -0.14713674783706665, -0.2866842448711395, -0.07121582329273224, 0.0034754506777971983, -0.39384225010871887, -0.8222536444664001, 0.1771310567855835, 0.2605719268321991, 0.8024295568466187, 0.4650628864765167, -0.16336670517921448, 0.8211355805397034, -0.26941120624542236, 1.1865233182907104, 0.6273664832115173, -0.8476186394691467, 0.4681347608566284, -0.3139181435108185, 0.19250522553920746, 0.5117889642715454, 0.3255428969860077, -0.2491547167301178, -0.04642464965581894, -0.47070446610450745, -0.7400029897689819, 0.07857881486415863, -0.033789291977882385, 0.06983397901058197, -0.017874859273433685, -0.04761171713471413, 0.378452330827713, 0.15583941340446472, -0.35808423161506653, -0.00539106409996748, -0.5204115509986877, -0.11793582886457443, 0.5059102177619934, -0.12772423028945923, -0.33005619049072266, -0.4751771092414856, 0.506618082523346, -0.34764528274536133, 0.16913151741027832, 0.3630415201187134, -0.47972872853279114, 0.05866990238428116, 0.2505556643009186, 1.0644451379776, 0.5923560261726379, 0.14099270105361938, 0.2335420697927475, 0.3069584369659424, -0.10985303670167923, 0.15688784420490265, -0.26095613837242126, 0.2421368658542633, 0.046726323664188385, 0.4538162350654602, 0.7410318851470947, 0.43455514311790466, -1.0262751579284668, 0.45605286955833435, -0.09323906898498535, -0.5107620358467102, -0.22089490294456482, 0.1917150467634201, -0.11152596771717072, 0.510678231716156, 0.20020097494125366, 0.2062748372554779, 0.2531389892101288, -0.5579013824462891, 0.3464360237121582, 0.5278693437576294, -0.25951701402664185, -0.5213372111320496, 0.708604633808136, 0.40461280941963196, -0.31658971309661865, 0.3026183843612671, 0.09169729053974152, -0.6237182021141052, 0.13774512708187103, 0.1058291420340538, 0.7293307781219482, -0.1530766785144806, 0.41010454297065735, 0.1511302888393402, 0.09532643109560013, 0.09752022475004196, 0.37833908200263977, -0.4185777008533478, -0.5917441844940186, -0.6383195519447327, -0.3246499001979828, -0.5138147473335266, -0.3432901203632355, -0.32065221667289734, 0.4658645689487457, -0.3431384861469269, -0.07489234954118729, -0.21962784230709076, -0.45913952589035034, -0.944510817527771, 0.23559516668319702, 0.3552515506744385, 0.9658870697021484, -0.6774550676345825, 0.6553947925567627, 0.6516878008842468, -0.5459365248680115, -0.4215781092643738, -0.4799903631210327, 0.07868445664644241, -0.8328595757484436, 0.5170300006866455, -0.031856413930654526, -0.22048000991344452, -0.4410991966724396, -0.3692476153373718, -0.5073171854019165, 1.2404881715774536, 0.5619412660598755, -0.21330545842647552, -0.050304532051086426, 0.3527320921421051, 0.23450535535812378, -0.4694685637950897, 0.4982467591762543, 0.40241333842277527, 0.669802725315094, 0.5333207845687866, -0.8413585424423218, -0.07835023105144501, -0.13365715742111206, -0.36891448497772217, 0.3106530010700226, -0.7508326172828674, 0.4993025064468384, -0.32166558504104614, -0.007579500786960125, -0.06958328932523727, 0.5650955438613892, 0.10279642790555954, 0.5021551251411438, 0.5863122940063477, 0.836727499961853, 0.447180837392807, -0.056331850588321686, 0.900535523891449, -0.2202172726392746, 0.054568540304899216, 0.7194148898124695, -0.33002546429634094, 0.44410398602485657, 0.527152955532074, 0.2580716013908386, 0.7713083028793335, 0.3135021924972534, 0.11801431328058243, 0.44636428356170654, -0.055320437997579575, -0.6558723449707031, -1.1197627782821655, -0.1959763914346695, -0.23595018684864044, 0.7540004253387451, 0.34344741702079773, -0.18703442811965942, -0.5295026302337646, 0.23659533262252808, -0.2534342110157013, 0.10349330306053162, -0.19545744359493256, 0.8485776782035828, -0.1085340678691864, -0.4598822295665741, 0.4873846769332886, -0.2604474723339081, 0.414533793926239, -0.7271922826766968, -0.15867623686790466, -0.01848018169403076, -0.055302564054727554, -0.4200058877468109, -0.5085723400115967, 0.20979319512844086, -0.20319201052188873, -0.3203337788581848, -0.19284488260746002, 0.9027033448219299, -0.7262976169586182, -0.2156921923160553, -0.07864081114530563, 0.7562284469604492, 0.018338697031140327, 0.12683051824569702, -0.6005926132202148, 0.5661369562149048, -0.010119902901351452, -0.18059290945529938, 0.46541574597358704, 0.28216448426246643, 0.08283515274524689, 1.0026787519454956, 0.7585992813110352, -0.2579372227191925, -0.06419109553098679, 0.20083270967006683, 1.1400078535079956, -0.6463512182235718, -0.01793677918612957, -0.8418064117431641, 0.9142392873764038, -0.009567624889314175, -0.1938423067331314, 0.41427117586135864, 0.627136766910553, 0.5870082378387451, -0.11347859352827072, 0.7288594841957092, -0.07566482573747635, -0.026933539658784866, -0.7120828032493591, 0.025830985978245735, -0.5737083554267883, 0.16479283571243286, 0.058787520974874496, -0.8145869970321655, -0.5707778930664062, 0.3492531180381775, -0.2105419635772705, -0.1604221612215042, 0.7062743902206421, 0.8362465500831604, -0.1172596737742424, 0.14449746906757355, 0.495276540517807, -0.1860552281141281, 0.6090101003646851, 0.5973138213157654, 0.7687950730323792, -0.25137388706207275, 0.7819520831108093, -0.22148491442203522, -0.1651695817708969, -0.2624182403087616, -0.8959382772445679, -0.7054181098937988, -0.6583414077758789, -0.451285183429718, -0.23628681898117065, -0.1625216156244278, 1.0697405338287354, 0.9217313528060913, -0.31220605969429016, -0.05576488748192787, 0.4745030403137207, 0.27486416697502136, -0.13214297592639923, -0.22599460184574127, -0.013053441420197487, -0.19765342772006989, -0.6701964735984802, 0.5612896680831909, 0.5069514513015747, -0.3596605956554413, -0.5842059850692749, -0.06876002997159958, -0.0601479671895504, 0.08690813928842545, 0.7895973324775696, 0.2646057903766632, -0.8905398845672607, -0.6544868350028992, 0.07385315746068954, 0.1611950546503067, 0.07378589361906052, 1.2061759233474731, -0.9216364026069641, 0.42917710542678833, 0.8644289374351501, 0.6604697108268738, 0.392320841550827, 0.06302745640277863, 0.5921573042869568, -0.41454562544822693, 0.27842047810554504, 0.5128777027130127, 0.6129494905471802, 0.29678210616111755, -0.05767324939370155, 0.352567583322525, 0.5852139592170715, -0.5092599391937256, -0.9010603427886963, 0.6876925826072693, -1.717393398284912, -0.10518726706504822, 1.380507230758667, 0.20597843825817108, -0.33283212780952454, -0.1262683868408203, -0.3488162159919739, 0.08406560122966766, -0.42709779739379883, 0.5019121170043945, 0.3694594204425812, -0.49378398060798645, -0.4855976104736328, -0.28399062156677246, 0.2837243378162384, 0.5426235198974609, -0.6299537420272827, 0.021810607984662056, 0.8294155597686768, 0.3294733166694641, -0.0036749474238604307, 0.5251616835594177, -0.025984106585383415, 0.5679153203964233, -0.06842383742332458, 0.08825758099555969, -0.4612840414047241, -0.5482082366943359, 0.04884845390915871, 0.5424580574035645, -0.40158507227897644, -0.13806556165218353 ]
http://arxiv.org/abs/2402.05880v2
http://arxiv.org/pdf/2402.05880v2
Generative Echo Chamber? Effects of LLM-Powered Search Systems on Diverse Information Seeking
2024-02-08T18:14:33
2024-02-10T17:03:58
Nikhil Sharma, Q. Vera Liao, Ziang Xiao
cs.CL
cs.CL, cs.AI, cs.HC
Large language models (LLMs) powered conversational search systems have already been used by hundreds of millions of people, and are believed to bring many benefits over conventional search. However, while decades of research and public discourse interrogated the risk of search systems in increasing selective exposure and creating echo chambers -- limiting exposure to diverse opinions and leading to opinion polarization, little is known about such a risk of LLM-powered conversational search. We conduct two experiments to investigate: 1) whether and how LLM-powered conversational search increases selective exposure compared to conventional search; 2) whether and how LLMs with opinion biases that either reinforce or challenge the user's view change the effect. Overall, we found that participants engaged in more biased information querying with LLM-powered conversational search, and an opinionated LLM reinforcing their views exacerbated this bias. These results present critical implications for the development of LLMs and conversational search systems, and the policy governing these technologies.
[ -0.5107902884483337, -0.5991183519363403, 0.8938860893249512, -0.03094835951924324, -0.2609362006187439, 0.1698511391878128, -0.10147774964570999, -0.5062568783760071, 0.3990011513233185, 0.5642725825309753, -0.46753212809562683, -0.4210003912448883, -0.6465813517570496, 0.10381906479597092, -0.6386162638664246, 0.7449597716331482, 0.3216579556465149, 0.1341477632522583, -0.018266435712575912, 0.2514090836048126, -0.3652413785457611, -0.9292669892311096, -0.30108436942100525, -0.14736688137054443, 0.6458458304405212, 0.27014023065567017, 1.0309982299804688, 0.11206931620836258, 0.5230103731155396, 0.18982507288455963, -0.3526344299316406, -0.07534365355968475, -0.8020921945571899, 0.5320390462875366, -0.20874248445034027, -0.837415337562561, -0.1824762523174286, -0.038956169039011, 0.7066750526428223, 0.5504106879234314, -0.3037385642528534, -0.10820672661066055, 0.25955674052238464, 0.7199035882949829, -0.6362700462341309, -0.22373951971530914, -0.9603132009506226, 0.13839684426784515, -0.3265171945095062, -0.6479286551475525, -0.42883238196372986, -0.24643293023109436, 0.1822892129421234, -0.5571306943893433, 0.3584982454776764, 0.1951836794614792, 0.448702335357666, 0.1670413315296173, -0.5293012261390686, -0.48846864700317383, -0.9931548833847046, 0.8942014575004578, -0.3779105842113495, 0.42134347558021545, 0.10752946138381958, 0.004082072991877794, -0.17170624434947968, -0.611795961856842, -0.5093180537223816, 0.003916110377758741, 0.1506265550851822, 0.16761963069438934, -0.4890252947807312, 0.23135586082935333, 0.22717563807964325, 0.4122002124786377, -0.4223922789096832, 0.12089575082063675, -0.4038764536380768, 0.03085208870470524, 0.5473154187202454, 0.2561343312263489, 0.16168347001075745, -0.21240873634815216, -0.12228040397167206, -0.10938505828380585, -0.9062021970748901, -0.05804600566625595, 0.6714032888412476, 0.32125571370124817, 0.31222933530807495, 0.685879111289978, -0.32654857635498047, 0.44522276520729065, 0.07148561626672745, 0.11924870312213898, 0.01999916136264801, -0.32677531242370605, -0.0033227354288101196, 0.2620396912097931, 0.49913904070854187, 0.4580517113208771, 0.1048271432518959, -0.061429642140865326, -0.21517644822597504, -0.2469613403081894, 0.4616081416606903, -0.7764846086502075, 0.3607710897922516, 0.09979657828807831, -0.7168845534324646, -0.5080586075782776, 0.43401384353637695, -0.8375110626220703, -0.7206059098243713, -0.014935819432139397, 0.4527454972267151, 0.1825573444366455, -0.23773539066314697, 0.25515061616897583, -0.3394469618797302, 0.2657284140586853, 0.20029975473880768, -0.7860040068626404, 0.5432551503181458, 0.6610454320907593, 0.8321660757064819, -0.23207680881023407, 0.18208695948123932, -0.3073246479034424, -0.24095918238162994, -0.22873377799987793, 0.7504833340644836, -0.8164185285568237, -0.9510990977287292, 0.3386768698692322, -0.06619510799646378, 0.21194729208946228, -0.9519258141517639, 0.5170878171920776, -0.858365535736084, 0.3265742361545563, -0.4992014765739441, -0.41266417503356934, -0.06391213089227676, 0.023234818130731583, -0.4581625461578369, 0.631047785282135, -0.2699144780635834, -0.5494078993797302, 0.2133769541978836, -0.3267015814781189, -0.42101773619651794, 0.03247680887579918, -0.4255363941192627, -0.3077758252620697, 0.30795174837112427, 0.34321731328964233, 0.15126006305217743, -0.3046410083770752, 0.07601690292358398, -0.41041475534439087, -0.5144680142402649, 0.636387050151825, -0.6112233400344849, 0.5315098166465759, 0.03728180378675461, -0.747791588306427, -0.11264665424823761, -0.12322044372558594, -0.1384800523519516, 0.2944052517414093, -0.39795368909835815, -0.2061420977115631, 0.2830950617790222, -0.056212421506643295, 0.1219744011759758, 0.19032494723796844, -0.575069785118103, 0.06210384517908096, -0.22555257380008698, 0.07850687950849533, 0.8750090599060059, 0.083245649933815, 0.2679537832736969, -0.6031246781349182, 0.6909254789352417, 0.02022184617817402, 0.30028554797172546, -0.16656561195850372, -0.7188933491706848, -0.6827767491340637, 0.21146167814731598, -0.0933375209569931, 0.399436891078949, -0.3698573708534241, 0.36038827896118164, 0.044844601303339005, -0.2057933509349823, -0.6880130171775818, 0.06530731171369553, 0.03285931050777435, 0.15897907316684723, 0.13599354028701782, -0.2482645958662033, -0.436462938785553, -1.0673786401748657, -0.4283577799797058, -0.19871442019939423, -0.32624536752700806, 1.0481404066085815, 0.010848641395568848, -0.26792341470718384, 0.6434201598167419, -0.5198317170143127, -0.5205516219139099, -0.21555499732494354, -0.08595693856477737, 0.3796994090080261, -0.11987223476171494, 0.256118506193161, -0.9612573385238647, -0.2001940757036209, -0.2617916166782379, -0.6141723990440369, -0.4395442008972168, 0.1226460412144661, 0.16552817821502686, -0.14571407437324524, 0.3506040573120117, -0.6528257727622986, 0.2960638701915741, 0.6581754088401794, 0.21025371551513672, 0.4596419632434845, 0.2674298882484436, 0.30629977583885193, -0.8577617406845093, 0.019071277230978012, -0.12782861292362213, -0.01768704317510128, -0.5683557391166687, 0.021826433017849922, -0.309431254863739, -0.2446717470884323, -0.34872737526893616, 0.2945336401462555, -0.4285477101802826, -0.22314290702342987, -0.6327309012413025, 0.5151622891426086, 0.0890883207321167, -0.010412720963358879, 0.031800396740436554, 0.8965297937393188, 0.5842157602310181, -0.6289058327674866, 0.23069345951080322, 0.06293735653162003, -0.40862083435058594, 0.1922309696674347, -0.42569082975387573, 0.44684913754463196, -0.11319698393344879, 0.4501381516456604, -0.8088135719299316, -0.13951559364795685, -0.18683269619941711, -0.30215027928352356, 0.0066871135495603085, 0.13873007893562317, -0.37657469511032104, -0.24837657809257507, -0.4688993990421295, 0.5442381501197815, 0.4683842360973358, -0.7585150599479675, 0.4394359290599823, 0.5585945248603821, -0.5884770154953003, -0.5824536085128784, -0.4929511249065399, 0.48170652985572815, -0.17545248568058014, -0.5373426675796509, 0.4394261837005615, 0.05991143733263016, -0.6129924654960632, -0.14396430552005768, -0.05714089795947075, 0.3164224922657013, 0.15043918788433075, 0.3410370349884033, 0.24346624314785004, 0.0311441607773304, 0.46041440963745117, -0.22400717437267303, 0.1128162294626236, 0.11078780889511108, -0.16193747520446777, 0.8479558229446411, -0.28072303533554077, -0.727915346622467, -0.2498890459537506, 0.6071451306343079, 0.42213305830955505, 0.15282538533210754, 0.6404137015342712, 0.07061559706926346, -0.16931548714637756, -0.08340690284967422, -0.8909675478935242, -0.621988832950592, -0.526124119758606, 0.4037766456604004, 0.10839420557022095, -1.2279304265975952, 0.38832101225852966, -0.06242721527814865, -0.17144380509853363, 0.32937321066856384, 0.9278358817100525, -0.38659289479255676, 1.324738621711731, 0.51189124584198, -0.19064901769161224, 0.704581618309021, 0.07037104666233063, 0.38679105043411255, -0.8986645936965942, -0.2646818459033966, -0.6554645299911499, -0.4885006546974182, -0.9447697997093201, -0.08989524096250534, 0.7005242705345154, -0.25242099165916443, 0.2518201768398285, -0.4312784671783447, -0.7122305035591125, 0.2307654470205307, 0.6682836413383484, 0.4763195216655731, 0.5362685322761536, 0.05173647776246071, 0.18961463868618011, -0.1134357899427414, -0.6424242854118347, -0.4506540894508362, 1.4859161376953125, 0.2183166891336441, 1.1210098266601562, 0.21818937361240387, 0.5632641315460205, 0.30622267723083496, 0.23521459102630615, -0.9346784949302673, 0.49863797426223755, 0.021605180576443672, -1.0462818145751953, -0.1950305551290512, -0.346295565366745, -1.10454523563385, 0.23191621899604797, -0.11561335623264313, -0.645882785320282, 0.34775468707084656, -0.06687565892934799, -0.09282634407281876, 0.49886125326156616, -0.33677878975868225, 0.01620844379067421, -0.5888919234275818, -0.37076321244239807, -0.5919796228408813, -0.378632515668869, 0.3685908615589142, -0.21884594857692719, 0.1651071012020111, 0.15994802117347717, 0.149185448884964, 0.7140069007873535, 0.024811463430523872, 0.7787245512008667, -0.030638670548796654, 0.07956358045339584, 0.2635936141014099, 0.03378668427467346, 0.5416781306266785, 0.001658526947721839, -0.12962374091148376, 0.23788072168827057, -0.5004764199256897, -0.18365836143493652, -0.5361855626106262, 0.6655849814414978, -0.6534808278083801, -1.4423067569732666, -0.42340087890625, -0.482683390378952, 0.015310592018067837, 0.18500950932502747, 0.30087071657180786, 0.050783079117536545, -0.3387131094932556, 0.7244998812675476, 0.8433247804641724, -0.22883090376853943, 0.026446538046002388, 0.44455739855766296, -0.46851620078086853, -0.12277762591838837, 0.4404680132865906, 0.2292863130569458, 0.36783844232559204, 0.2829691171646118, 0.20063284039497375, -0.15402451157569885, -0.5221748352050781, 0.08706152439117432, -0.012222710065543652, -0.49047499895095825, 0.05295103043317795, -0.5764340758323669, -0.29857420921325684, -0.32973530888557434, 0.06394734233617783, -0.2659429907798767, -0.07007114589214325, -0.4655474126338959, -0.13570360839366913, -0.017707010731101036, 0.7701708674430847, 0.14766713976860046, 0.2272779941558838, -0.3808458745479584, 0.16831877827644348, 0.6894465684890747, 0.3644283711910248, -0.23048290610313416, -0.4682439863681793, -0.11950241029262543, 0.03289986401796341, -0.624320924282074, -0.9240695238113403, 0.15607906877994537, -0.10317260771989822, 0.675757884979248, 0.5088933110237122, 0.10262453556060791, 0.15108053386211395, -0.12854483723640442, 0.9413222074508667, 0.04173048958182335, -0.44239190220832825, 0.48235148191452026, -0.41942861676216125, 0.32091018557548523, 0.37631160020828247, 0.24675071239471436, -0.6093798279762268, -0.4172493815422058, -0.6485161185264587, -0.7094240188598633, 0.502710223197937, 0.30567464232444763, 0.338937908411026, 0.07126832753419876, 0.12740442156791687, 0.12775807082653046, 0.565726101398468, -0.7046594023704529, -0.13976897299289703, -0.10446540266275406, 0.2525523602962494, 0.14040794968605042, -0.5177938342094421, -0.37861958146095276, 0.12373427301645279, 0.6462984085083008, 0.05845371633768082, 0.26291993260383606, 0.48954659700393677, 0.2341870367527008, -0.2602735161781311, 0.5771046876907349, 0.3722488284111023, 0.209609255194664, -0.4634493291378021, 0.30290916562080383, 0.04932629317045212, -0.45298704504966736, 0.21421577036380768, 0.020119983702898026, -0.3898560106754303, 0.0925484225153923, 0.0016961267683655024, 0.7837415337562561, -0.016846509650349617, -0.7501934170722961, 0.4971976578235626, -0.14697995781898499, -0.14642766118049622, -0.2781234085559845, 0.09947983175516129, 0.12121272087097168, 0.29605576395988464, 0.709746778011322, -0.1373027116060257, 0.43044313788414, -0.7906211614608765, -0.0661352202296257, 0.9538742303848267, -0.36272767186164856, -0.06642705202102661, 0.45800480246543884, 0.2485998421907425, -0.6461072564125061, 0.43214231729507446, 0.2224302738904953, -0.470208078622818, 0.346178263425827, 0.5316973328590393, 1.2450206279754639, -0.2908962666988373, -0.04115738719701767, -0.1974329948425293, 0.5334398150444031, 0.09474173933267593, 0.024820512160658836, -0.11956868320703506, -0.8746419548988342, 0.210220068693161, -0.38456520438194275, -0.8532621264457703, 0.30931997299194336, -0.6611647605895996, 0.0026077155489474535, -0.18715807795524597, -0.6028656363487244, -0.2986283004283905, -0.07559406757354736, -0.7420264482498169, -0.15049569308757782, 0.3153018355369568, 0.6117492914199829, -0.4771879017353058, 0.31769469380378723, 0.4807131886482239, -0.08904222398996353, -0.3525601327419281, 0.41698163747787476, 0.28696373105049133, -0.7824506163597107, 0.5370833277702332, 0.19613900780677795, -0.5017797350883484, -0.17370755970478058, -0.6903948187828064, -0.9955229163169861, 1.09244704246521, 0.3327082097530365, -0.8165255188941956, 0.0722552016377449, 0.37911948561668396, 0.4801092743873596, -0.5010208487510681, 0.337027370929718, 0.5701876282691956, 0.33513492345809937, -0.16244618594646454, -1.0100992918014526, -0.14992213249206543, -0.18718872964382172, -0.13693282008171082, -0.1286599487066269, -0.8264545798301697, 0.6582403779029846, -0.027237221598625183, -0.40281984210014343, -0.10592038184404373, 0.05249432474374771, 0.5112879872322083, 0.4155696928501129, 0.4651404023170471, 0.3158548176288605, 0.6653314828872681, 0.06675918400287628, 1.2550973892211914, -0.2727275490760803, 0.16971717774868011, 0.6647729277610779, -0.6200810670852661, 0.7933001518249512, 0.6089559197425842, -0.19940686225891113, 0.4071698784828186, 0.41529884934425354, 0.2149890810251236, 0.4863198399543762, 0.1569993644952774, -0.7305330634117126, -0.19623732566833496, -0.5373186469078064, -0.3948178291320801, 0.235983744263649, 0.4965004324913025, -0.6758861541748047, 0.00825425423681736, -0.0718035101890564, -0.07732387632131577, -0.011087784543633461, -0.13235168159008026, 0.812538206577301, 0.3329283893108368, -0.57215815782547, 0.25810566544532776, -0.25639551877975464, 0.7279016375541687, -0.3650946319103241, 0.33666497468948364, -0.17981316149234772, -0.10407022386789322, -0.2969638705253601, -0.9361807107925415, -0.12979178130626678, 0.025661572813987732, -0.20960834622383118, -0.2068486213684082, 0.9813143610954285, 0.045342497527599335, -0.4052942395210266, 0.6549206376075745, 0.7518720626831055, 0.19914719462394714, -0.3279781937599182, -0.4945339560508728, 0.14587989449501038, 0.11699648201465607, -0.6576300859451294, 0.4844837486743927, -0.04091161862015724, 0.2337140589952469, 0.7321903109550476, 0.7826481461524963, 0.23807641863822937, 0.13656647503376007, 0.31358739733695984, 1.2105332612991333, -0.7356113791465759, -0.20608286559581757, -0.6713835597038269, -0.010514117777347565, -0.12951457500457764, 0.031834326684474945, 0.5211585164070129, 0.6216521859169006, 0.7734531164169312, 0.31114140152931213, 1.2220369577407837, 0.3090824484825134, 0.39948683977127075, -0.5379281640052795, 0.5487374067306519, -0.4681808054447174, 0.5717202425003052, -0.06324505060911179, -1.200768232345581, -0.18127098679542542, 0.21247270703315735, -0.48088669776916504, 0.32371798157691956, 0.5836413502693176, 1.164483666419983, 0.14766553044319153, 0.12661363184452057, 0.30606403946876526, 0.4130476415157318, 0.6014389395713806, 0.2622681260108948, 1.113404393196106, -0.13577581942081451, 0.7239586710929871, 0.011224394664168358, -0.39459842443466187, -0.5933319330215454, -0.40536293387413025, -0.5046061873435974, -0.30028313398361206, 0.1332985907793045, -0.21084296703338623, 0.21922501921653748, 0.6882214546203613, 0.4650896489620209, -0.5292565822601318, -0.3515355587005615, -0.10737009346485138, 0.28243136405944824, 0.06207113713026047, -0.30215898156166077, -0.026830971240997314, -0.11607815325260162, -0.7172441482543945, 0.6128143072128296, 0.5410213470458984, -0.17778027057647705, -0.5120576024055481, 0.07366792112588882, 0.010812767781317234, 0.27402812242507935, 0.34703633189201355, 0.1011136919260025, -0.8768725991249084, -0.4614051282405853, 0.35183849930763245, -0.33064696192741394, 0.3106151223182678, 0.896845281124115, -0.846567690372467, 0.7265539169311523, 0.3532710075378418, 0.4207649827003479, 0.6977282166481018, 0.2745017111301422, 0.5809548497200012, -0.47409453988075256, -0.0013081729412078857, 0.5160390734672546, 0.24770231544971466, 0.21584098041057587, -0.5174924731254578, 0.059055209159851074, 0.14609752595424652, -0.8806489706039429, -0.763115406036377, 0.2814052104949951, -0.8642597794532776, -0.20543429255485535, 1.3050355911254883, 0.4565865099430084, 0.18862661719322205, -0.11163146793842316, -0.409715473651886, 0.09514735639095306, -0.5332514643669128, 1.2982925176620483, 0.7005948424339294, -0.45514756441116333, -0.08873790502548218, -0.5436336398124695, 0.17315006256103516, 0.6446080803871155, -0.6463612914085388, -0.04688917472958565, 0.22752685844898224, 0.05851593241095543, 0.3279995322227478, 0.505220353603363, -0.3082437217235565, 0.18966200947761536, -0.06145891547203064, -0.047716766595840454, 0.25336000323295593, -0.17728959023952484, -0.5664108395576477, 0.3513939380645752, 0.11614079028367996, 0.0355704203248024 ]
http://arxiv.org/abs/2402.05868v2
http://arxiv.org/pdf/2402.05868v2
EmojiCrypt: Prompt Encryption for Secure Communication with Large Language Models
2024-02-08T17:57:11
2024-02-12T16:26:14
Guo Lin, Wenyue Hua, Yongfeng Zhang
cs.CL
cs.CL, cs.AI, cs.CR, cs.IR, cs.LG
Cloud-based large language models (LLMs) such as ChatGPT have increasingly become integral to daily operations, serving as vital tools across various applications. While these models offer substantial benefits in terms of accessibility and functionality, they also introduce significant privacy concerns: the transmission and storage of user data in cloud infrastructures pose substantial risks of data breaches and unauthorized access to sensitive information; even if the transmission and storage of data is encrypted, the LLM service provider itself still knows the real contents of the data, preventing individuals or entities from confidently using such LLM services. To address these concerns, this paper proposes a simple yet effective mechanism EmojiCrypt to protect user privacy. It uses Emoji to encrypt the user inputs before sending them to LLM, effectively rendering them indecipherable to human or LLM's examination while retaining the original intent of the prompt, thus ensuring the model's performance remains unaffected. We conduct experiments on three tasks, personalized recommendation, sentiment analysis, and tabular data analysis. Experiment results reveal that EmojiCrypt can encrypt personal information within prompts in such a manner that not only prevents the discernment of sensitive data by humans or LLM itself, but also maintains or even improves the precision without further tuning, achieving comparable or even better task accuracy than directly prompting the LLM without prompt encryption. These results highlight the practicality of adopting encryption measures that safeguard user privacy without compromising the functional integrity and performance of LLMs. Code and dataset are available at https://github.com/agiresearch/EmojiCrypt.
[ -0.1982896327972412, -1.1457369327545166, 0.657023549079895, 0.2412302941083908, -0.3583463728427887, 0.3573005795478821, -0.31201377511024475, -0.35309961438179016, 0.2795127332210541, 0.791208803653717, -0.7262214422225952, -0.6692094206809998, -0.6675283312797546, 0.22204500436782837, -0.33866778016090393, 0.5519511103630066, 0.237239271402359, -0.1516227424144745, -0.04742565378546715, 0.30262231826782227, -0.33249765634536743, -0.7832407355308533, -0.7300528883934021, -0.007599288132041693, 0.35010671615600586, 0.5155865550041199, 0.9367383718490601, 0.4582800269126892, 0.4775944650173187, 0.24032869935035706, -0.26718083024024963, -0.1223018690943718, -0.22150751948356628, 0.7613168954849243, 0.19260267913341522, -0.5327286124229431, 0.07496757060289383, -0.5453559756278992, 0.32894599437713623, 0.1139213889837265, -0.30168020725250244, -0.10003861784934998, 0.10936371982097626, 0.5540629029273987, -0.6692795157432556, 0.20406652987003326, -0.8423942923545837, 0.12081070244312286, -0.22927266359329224, -0.3089587092399597, -0.35211798548698425, -0.2700972259044647, -0.23015780746936798, -0.25951939821243286, -0.2818578779697418, 0.3855088949203491, 0.47063660621643066, 0.2839460074901581, -0.0965765193104744, -0.401047945022583, -0.2921406030654907, 0.5638642311096191, -0.4687943160533905, 0.6038522720336914, 0.7586341500282288, 0.46444761753082275, -0.20213614404201508, -0.559575617313385, -0.46323999762535095, -0.4405757784843445, 0.19954657554626465, 0.012090901844203472, -0.0818559005856514, 0.29434865713119507, 0.3763437569141388, 0.10920919477939606, -0.5547080636024475, 0.3459753096103668, 0.19267341494560242, -0.30482396483421326, 0.2555253505706787, 0.2078479528427124, 0.6644917726516724, -0.24114194512367249, -0.46848636865615845, 0.1264471858739853, -1.1168760061264038, 0.2400345355272293, 0.2017025351524353, 0.4218263626098633, -0.2028120905160904, 0.7814757823944092, -0.2548324167728424, 0.3966614902019501, -0.029111066833138466, -0.0043778568506240845, -0.20161625742912292, -0.10510914027690887, -0.08198201656341553, 0.24572394788265228, 0.9730873703956604, 0.1297474056482315, 0.24314649403095245, -0.25209182500839233, -0.0967901349067688, -0.10058292746543884, -0.06167234852910042, -0.9531159996986389, 0.1298377960920334, 0.4216541647911072, -0.19604791700839996, -0.3894350826740265, -0.024403681978583336, -0.71363765001297, -0.7177547216415405, -0.057786766439676285, 0.08174443989992142, -0.3411683440208435, 0.22002631425857544, -0.1418357491493225, 0.3352162539958954, -0.05339225381612778, 0.35785672068595886, -1.3735697269439697, 0.49253034591674805, 1.0899807214736938, 1.0165321826934814, 0.13101792335510254, -0.19163794815540314, -0.35580185055732727, 0.12742796540260315, 0.014996427111327648, 0.3131922781467438, -0.7283284068107605, -0.40103137493133545, 0.36454999446868896, -0.03590654209256172, 0.03524814546108246, -0.011027701199054718, 0.5053980946540833, -0.5802845358848572, -0.031919002532958984, -0.11755232512950897, -0.7581694722175598, 0.14501069486141205, 0.2962222397327423, -0.5607565641403198, 0.44793879985809326, -0.3675113022327423, -0.8005930185317993, 0.166691854596138, -0.4727013409137726, -0.43671756982803345, 0.3784734904766083, -0.47500520944595337, -0.3520297706127167, 0.07302527129650116, 0.7746142745018005, 0.6692352294921875, -0.37146440148353577, -0.18513748049736023, -0.46652647852897644, -0.3452909290790558, 0.9694779515266418, -0.45724907517433167, 0.7997193932533264, 0.33501505851745605, -0.0907038077712059, -0.12017341703176498, -0.19503936171531677, -0.011741641908884048, 0.13987420499324799, -0.10456671565771103, -0.12590426206588745, -0.19482627511024475, 0.19981805980205536, 0.05977044627070427, 0.6364173293113708, -0.7900285720825195, 0.23839755356311798, -0.44182708859443665, 0.8330798149108887, 0.6413211822509766, 0.05158648639917374, 0.5539004802703857, -0.08870004117488861, 0.8092213869094849, -0.3098793029785156, 0.4797012507915497, -0.577343761920929, -0.7680667638778687, -0.13457544147968292, -0.5477964878082275, 0.3359196186065674, 0.736277163028717, -0.8575461506843567, 0.6425713896751404, -0.19999931752681732, -0.3131406903266907, -0.5161595344543457, 0.18335463106632233, 0.26571664214134216, 0.19351568818092346, -0.14365142583847046, -0.1267470419406891, -0.29953786730766296, -0.705804705619812, -0.478744238615036, -0.13511325418949127, -0.15605758130550385, 0.5794971585273743, 0.25216034054756165, -0.25028473138809204, 0.6529691219329834, -0.5444523096084595, -0.2745036482810974, -0.1963575929403305, -0.14714886248111725, 0.16011036932468414, 0.46792373061180115, 0.2675740122795105, -0.808167040348053, -0.42597508430480957, -0.21368762850761414, -0.5427478551864624, -0.1683487743139267, -0.2814105451107025, -0.11732576042413712, 0.26370683312416077, 0.3379587233066559, -0.961918830871582, 0.4315483570098877, 0.7658498287200928, -0.6277946829795837, -0.08992239832878113, -0.1566094607114792, 0.37786099314689636, -1.0474562644958496, -0.05192546546459198, -0.48329290747642517, -0.5203564167022705, -0.6415602564811707, 0.10045532882213593, 0.19735172390937805, -0.6375693678855896, -0.5213252305984497, 0.4448590874671936, -0.45202556252479553, 0.1252911388874054, -0.16478277742862701, 0.035758405923843384, -0.2992827594280243, 0.20959845185279846, -0.11635193228721619, 0.6976770758628845, 0.8140339255332947, -0.10953391343355179, 0.22737380862236023, 0.7278872132301331, -0.21555133163928986, 0.380125492811203, -0.5075581669807434, 0.6406590938568115, 0.2393931746482849, 0.0990748256444931, -0.8779932260513306, -0.27545425295829773, 0.5786401033401489, -0.8262580633163452, 0.1996583342552185, -0.2804485559463501, -0.8295568227767944, 0.04363444820046425, -0.45004239678382874, -0.012512763030827045, 0.8050336241722107, -0.7020336389541626, 0.6972559690475464, 0.4111911654472351, -0.40751785039901733, -0.540036141872406, -1.0456939935684204, 0.5932955145835876, -0.19820654392242432, -0.8415765762329102, 0.14930123090744019, -0.25037145614624023, 0.11733163893222809, -0.34052205085754395, 0.06846454739570618, -0.37719252705574036, 0.5278717875480652, 0.8000528216362, 0.20053459703922272, 0.5264989733695984, -0.0528247207403183, 0.20668989419937134, -0.1402675360441208, 0.1494375318288803, 0.013985950499773026, 0.7530092597007751, 0.08611103147268295, -0.40936902165412903, -0.714329719543457, 0.49233123660087585, 0.5469695329666138, -0.0755419060587883, 0.9903385639190674, 0.25624531507492065, -0.5093815326690674, -0.30250757932662964, -0.5216456651687622, -0.606884777545929, -0.5585913062095642, -0.0013284389860928059, -0.3558003008365631, -1.220049500465393, 0.6929384469985962, 0.08210142701864243, -0.008057612925767899, -0.30793827772140503, 0.6206366419792175, -0.13932353258132935, 1.0375255346298218, 0.2846717834472656, -0.184696227312088, 0.8185304403305054, 0.4364264905452728, 0.3654116690158844, -0.6502315998077393, -0.2515067458152771, -0.49939435720443726, 0.12854133546352386, -0.5958289504051208, -0.08620192855596542, 0.13959413766860962, 0.07418423891067505, -0.21728697419166565, 0.2246115356683731, -0.4341210126876831, 0.5103791952133179, 0.32755541801452637, 0.3807952105998993, 0.32406851649284363, 0.34315285086631775, 0.2838432788848877, -0.22319988906383514, -0.3634546101093292, -0.4524824619293213, 1.0092955827713013, 0.4288552403450012, 1.1658483743667603, 0.15438765287399292, 1.12374746799469, 0.25271937251091003, -0.04865836724638939, -0.6861622929573059, 0.5498634576797485, 0.08217217028141022, -0.3593667447566986, -0.3056081533432007, -0.5154204964637756, -1.1411317586898804, 0.2650688588619232, -0.35073524713516235, -1.1088770627975464, -0.17491473257541656, 0.2437586635351181, -0.2408323884010315, 0.11847962439060211, -0.38518837094306946, 0.5008468627929688, -0.35647451877593994, -0.13466891646385193, -0.05474681407213211, -0.6826903820037842, 0.23220351338386536, -0.3079378604888916, 0.2575199604034424, -0.1314295530319214, -0.3391098380088806, 0.57520991563797, -0.4663326144218445, 0.8920004367828369, -0.07266011834144592, 0.25494638085365295, 0.11536557227373123, 0.3455192446708679, 0.9369432330131531, 0.387108713388443, 0.3021182119846344, 0.32837504148483276, -0.15425024926662445, 0.027399301528930664, -0.8401026129722595, 1.0063199996948242, -0.4815627634525299, -0.7509982585906982, -0.32117778062820435, -0.37733933329582214, -0.09032218903303146, 0.037455182522535324, 0.17616724967956543, 0.21298174560070038, 0.07866188883781433, 0.357300728559494, 0.45200926065444946, -0.21963860094547272, 0.4473668336868286, 0.3101572096347809, -0.3525506854057312, -0.7434686422348022, 0.5698011517524719, -0.02411278709769249, 0.14198066294193268, 0.6078557372093201, 0.29124873876571655, -0.6475452780723572, -0.40829381346702576, -0.4970114231109619, 0.08478288352489471, -0.9385968446731567, -0.19328227639198303, -0.6715611815452576, 0.04521864280104637, -0.5121482014656067, -0.3821021020412445, -0.0742226243019104, -0.7045860886573792, -0.2505059838294983, -0.0043686870485544205, 0.574633002281189, 0.25590717792510986, 0.2868793308734894, 0.3783699572086334, -0.8500948548316956, 0.22843095660209656, 0.059726323932409286, 0.023656265810132027, -0.2274172008037567, -0.40514716506004333, -0.00434530433267355, -0.05850023031234741, 0.024389684200286865, -0.9589276313781738, 0.4804714024066925, 0.02937990613281727, 0.3804335296154022, 0.39668676257133484, 0.12417060881853104, 0.33128485083580017, -0.4683651626110077, 0.7982503175735474, 0.41918736696243286, -1.2908217906951904, 0.5243571996688843, -0.21296426653862, 0.3150531053543091, 0.7064525485038757, -0.024024706333875656, -0.8219313621520996, -0.5018115639686584, -0.5452333092689514, -0.9373210072517395, 0.46894824504852295, 0.6109772324562073, 0.14769425988197327, 0.10058226436376572, 0.24766358733177185, 0.00610850565135479, 0.4588126242160797, -0.5983775854110718, -0.2963641881942749, -0.12731784582138062, -0.5079436302185059, 0.16047458350658417, -0.2818427085876465, -0.00854442734271288, 0.18265892565250397, 0.2374873161315918, 0.04660981521010399, 0.431813508272171, 0.016016485169529915, -0.15750683844089508, 0.36159124970436096, 0.6474279165267944, 0.2457977682352066, 0.23553204536437988, 0.03964085504412651, 0.22843316197395325, 0.263516902923584, -0.7145490646362305, 0.10149740427732468, 0.07574335485696793, -0.3849075734615326, -0.2631348967552185, 0.3242676556110382, 0.4269666373729706, 0.2460314780473709, -0.6731297969818115, 0.7758992314338684, -0.37700745463371277, 0.21517805755138397, -0.5724591016769409, -0.12353234738111496, 0.09040693938732147, 0.0381510928273201, 0.13557304441928864, -0.2543933689594269, 0.1860864907503128, -0.3542225658893585, -0.028305670246481895, 0.38663583993911743, -0.1818758100271225, -0.28339684009552, 0.620266854763031, 0.23872002959251404, -0.4753076434135437, 0.6625248193740845, 0.2898642122745514, -0.6006571054458618, 0.5300571322441101, 0.6387221813201904, 1.1384950876235962, -0.4783625602722168, 0.07798919081687927, -0.09449126571416855, 0.5453203320503235, -0.09807638078927994, 0.7009970545768738, -0.23886412382125854, -0.5080017447471619, 0.04469269514083862, -0.3140799403190613, -0.6589416861534119, -0.26048219203948975, -0.4604504108428955, 0.010278185829520226, -0.9437879920005798, -0.151265487074852, -0.28399041295051575, -0.5011444091796875, -0.7750948667526245, 0.09046212583780289, 0.432284951210022, 0.762641191482544, -0.7537528872489929, 0.6413739919662476, 0.4478132426738739, -0.16957460343837738, -0.4993123710155487, -0.1622082144021988, 0.10210620611906052, -1.0485286712646484, 0.42208003997802734, 0.3631123900413513, 0.00040169188287109137, -0.34686070680618286, -0.6589146852493286, -0.8565452694892883, 0.9706887602806091, 0.5100167989730835, -1.117936611175537, 0.3340364694595337, 0.5641708374023438, 0.19398342072963715, -0.4256817102432251, 0.27614909410476685, 0.37193557620048523, 0.5112038850784302, -0.03813621774315834, -0.6351275444030762, 0.6950632333755493, 0.18538130819797516, 0.033582497388124466, 0.13630233705043793, -0.3648104667663574, 0.6448965072631836, -0.1054135262966156, -0.5953409671783447, 0.08611278235912323, 0.3206078112125397, 0.4355451762676239, 0.12280885875225067, 0.46872439980506897, 0.15823803842067719, 0.9190095067024231, -0.10845630615949631, 1.1813870668411255, -0.7356950640678406, 0.2895485460758209, 0.7011692523956299, -0.21455815434455872, 0.9338366985321045, 0.6438477039337158, -0.013439715839922428, -0.07487694174051285, 0.5825803279876709, -0.002933114767074585, 0.6814201474189758, 0.248937726020813, -0.46712324023246765, -0.3895373046398163, -0.3246106803417206, -0.1980670988559723, 0.09786243736743927, 0.4487324655056, -0.5722551941871643, 0.25009453296661377, 0.14954684674739838, 0.2544163167476654, 0.05635455995798111, -0.30261215567588806, 0.6870517730712891, 0.5051683783531189, -0.4066419005393982, 0.5554262399673462, -0.1938343197107315, 0.6076215505599976, -0.47080883383750916, 0.22279943525791168, 0.10194738954305649, 0.014643536880612373, -0.3850558400154114, -0.9539881944656372, 0.0314822681248188, 0.05556941032409668, 0.2578592896461487, -0.13537992537021637, 0.865218997001648, -0.4520731568336487, -0.45896971225738525, 0.18017376959323883, 0.25132256746292114, 0.1950290948152542, -0.30251121520996094, -0.9740429520606995, 0.47160497307777405, -0.025812892243266106, -0.48361578583717346, 0.2804279327392578, 0.011920720338821411, 0.1153540387749672, 1.10819673538208, 0.7034929394721985, 0.14497826993465424, -0.14229172468185425, 0.45515313744544983, 0.7132841944694519, -0.8271417021751404, -1.0136380195617676, -1.3055020570755005, 0.1541685163974762, -0.08572747558355331, -0.06647256016731262, 1.0040271282196045, 0.18182893097400665, 0.3767087161540985, -0.033416036516427994, 0.8533215522766113, 0.14542138576507568, 0.21590515971183777, -0.8082923293113708, 0.8440619111061096, -0.08209837228059769, 0.3056330680847168, -0.07041493058204651, -0.7222172021865845, -0.4636304974555969, 0.19162485003471375, -0.1890804022550583, -0.013275183737277985, 0.5728313326835632, 0.8695403337478638, 0.3328996002674103, 0.1607663929462433, 0.5121414661407471, 0.10633158683776855, 0.494595468044281, 0.5709409713745117, 1.0762747526168823, -0.1311781257390976, 0.3604256808757782, -0.2577708065509796, -0.21741987764835358, -0.14665529131889343, -0.7223168611526489, -1.4345215559005737, -0.3389151096343994, -0.17244400084018707, -0.15122731029987335, 0.2607249617576599, 0.9180346727371216, 0.447689414024353, -0.5936821103096008, 0.12946046888828278, -0.22726894915103912, 0.015759291127324104, -0.03091428242623806, -0.08975844085216522, 0.42924025654792786, -0.04393141716718674, -0.46249210834503174, 0.48229101300239563, 0.19393318891525269, 0.2952737510204315, -0.17054319381713867, 0.006339332088828087, 0.42806753516197205, 0.2800099849700928, 0.25001996755599976, 0.29491326212882996, -0.9861698150634766, -0.14882439374923706, -0.1588641107082367, -0.13777123391628265, 0.06682414561510086, 0.6756792664527893, -0.32607799768447876, 0.4252614676952362, 0.7206113934516907, 0.8386753797531128, 0.46521270275115967, 0.24603907763957977, 0.269010066986084, -0.6389609575271606, 0.1229734867811203, 0.18649429082870483, 0.6510711312294006, 0.6423635482788086, -1.0483665466308594, 0.09667827934026718, -0.24547061324119568, -0.7875167727470398, -0.7412416338920593, 0.38043639063835144, -1.1199586391448975, -0.12259838730096817, 0.9871522784233093, -0.33149847388267517, -0.48152366280555725, -0.12932151556015015, -0.38896769285202026, -0.25965413451194763, -1.0745068788528442, 0.7570232152938843, 0.4126078188419342, 0.17922039330005646, -0.5215612053871155, -0.35993632674217224, 0.6226637363433838, 0.38954293727874756, -0.923275887966156, 0.4259156286716461, 0.07409895211458206, 0.29372063279151917, -0.10963352024555206, 0.5034624338150024, -0.14718489348888397, 0.1924363672733307, -0.16699129343032837, 0.09376836568117142, -0.4768470823764801, -0.30462294816970825, -0.6844382882118225, 0.31687626242637634, 0.22365061938762665, -0.2493264079093933 ]
http://arxiv.org/abs/2402.05864v1
http://arxiv.org/pdf/2402.05864v1
Permute-and-Flip: An optimally robust and watermarkable decoder for LLMs
2024-02-08T17:54:23
2024-02-08T17:54:23
Xuandong Zhao, Lei Li, Yu-Xiang Wang
cs.CL
cs.CL, cs.CR, cs.LG
In this paper, we propose a new decoding method called Permute-and-Flip (PF) decoder. It enjoys robustness properties similar to the standard sampling decoder, but is provably up to 2x better in its quality-robustness tradeoff than sampling and never worse than any other decoder. We also design a cryptographic watermarking scheme analogous to Aaronson's Gumbel watermark, but naturally tailored for PF decoder. The watermarking scheme does not change the distribution to sample, while allowing arbitrarily low false positive rate and high recall whenever the generated text has high entropy. Our experiments show that the PF decoder (and its watermarked counterpart) significantly outperform(s) naive sampling (and it's Gumbel watermarked counterpart) in terms of perplexity, while retaining the same robustness (and detectability), hence making it a promising new approach for LLM decoding. The code is available at https://github.com/XuandongZhao/pf-decoding
[ -0.020796379074454308, -0.3813556730747223, 0.38120684027671814, 0.3104616105556488, -0.7028483152389526, 0.20635588467121124, 0.3495117425918579, -0.28712552785873413, 0.3201257288455963, 0.58990478515625, -0.4829173982143402, -0.6105612516403198, -0.6922886967658997, 0.04388280212879181, -0.719337522983551, 0.49105849862098694, 0.04210986942052841, 0.14638803899288177, -0.016631778329610825, -0.08438313752412796, 0.2862931191921234, -0.7356454133987427, -0.4795694947242737, -0.6597545742988586, 0.13513416051864624, 0.1815796047449112, 0.8031659126281738, 0.8703620433807373, 0.5121021866798401, 0.18758104741573334, -0.34169918298721313, 0.06886137276887894, -0.6364332437515259, 0.17734357714653015, 0.15001128613948822, -0.5189439058303833, -0.650229275226593, -0.0689963549375534, 0.6045788526535034, 0.39202046394348145, -0.04911118373274803, 0.09623974561691284, 0.04142108932137489, 0.8242285847663879, -0.9854661226272583, -0.0023988322354853153, -0.8384115099906921, 0.13804571330547333, -0.45656245946884155, -0.7980261445045471, -0.4026699662208557, -0.33233126997947693, -0.5270095467567444, -0.638147234916687, -0.07538877427577972, 0.19034463167190552, 0.6927699446678162, 0.15519876778125763, -0.27820298075675964, -0.08774099498987198, -0.7109898924827576, 0.7665218710899353, -0.721412181854248, 0.35151687264442444, 0.325306236743927, 0.3908553719520569, -0.22708049416542053, -0.7139781713485718, -0.569374680519104, 0.31693345308303833, 0.4900696575641632, 0.41407549381256104, -0.2884901165962219, -0.1767764538526535, 0.07315661758184433, 0.739391565322876, -0.395732045173645, -0.1822982281446457, 0.3820517361164093, -0.3263802230358124, 0.573736310005188, 0.5370876789093018, 0.09278061985969543, 0.2867445647716522, -0.6567792296409607, -0.46258196234703064, -1.0468281507492065, 0.1076800599694252, 0.9499063491821289, -0.17718224227428436, 0.1262960284948349, 0.4131767153739929, -0.02502809278666973, 0.5038416981697083, 0.08895248174667358, -0.4280809462070465, 0.28026360273361206, -0.285264253616333, -0.23674345016479492, -0.09926805645227432, 0.5545857548713684, 0.42191293835639954, 0.1262155920267105, -0.3096892535686493, -0.5048218369483948, -0.17391467094421387, 0.07596581429243088, -0.8193139433860779, -0.3990253806114197, 0.12286564707756042, -0.7338229417800903, -0.5885516405105591, 0.3240734040737152, -0.7528692483901978, -0.3768666386604309, 0.12414373457431793, 0.46604791283607483, -0.566597580909729, -0.4615767300128937, 0.6970362067222595, -0.14612525701522827, 0.5790891051292419, 0.20516115427017212, -0.7796145081520081, 0.4065200388431549, 0.7646281719207764, 0.5513337254524231, -0.34220945835113525, -0.2791954576969147, -0.5287905931472778, 0.30293214321136475, -0.1947161704301834, 0.9687698483467102, -0.41161611676216125, -0.4707026183605194, 0.07708986103534698, -0.22242584824562073, 0.21661712229251862, -0.8571751117706299, 0.4875698685646057, -0.7957546710968018, -0.31135061383247375, -0.17103327810764313, -0.6203691959381104, -0.014711722731590271, 0.013058215379714966, -0.9360685348510742, 0.6379397511482239, -0.0571809858083725, -1.0166276693344116, 0.1216958537697792, -0.28368446230888367, -0.5560824871063232, -0.028171295300126076, 0.12989887595176697, -0.706520140171051, -0.010498763993382454, 0.4148102402687073, 0.28290075063705444, -0.20940008759498596, -0.33014732599258423, -0.28833723068237305, -0.7121074199676514, 0.7722195982933044, -0.682006299495697, 0.9786320924758911, 0.24136537313461304, -0.1920374184846878, -0.21767476201057434, -0.9154518842697144, 0.09986847639083862, 0.49059563875198364, -0.8277127146720886, -0.005384074989706278, 0.11397004127502441, 0.197383850812912, -0.45854222774505615, 0.29508140683174133, -0.35890674591064453, 0.004523823969066143, -0.3516673147678375, 0.45032545924186707, 0.7343347668647766, 0.059778958559036255, 0.6418190598487854, -0.4909488260746002, 0.5632333159446716, 0.14875428378582, 0.16122254729270935, -0.23329247534275055, -0.37176454067230225, -0.44449442625045776, -0.6727990508079529, 0.34534668922424316, 0.8824525475502014, -0.8949657082557678, 0.453276127576828, -0.256009966135025, -0.02544577792286873, -0.33914533257484436, 0.4306662976741791, 0.1747865080833435, 0.321907639503479, 0.4564545750617981, -0.3113310635089874, -0.4374062418937683, -0.5742496848106384, -0.48011377453804016, -0.08052200078964233, -0.16486281156539917, 0.012463436461985111, 0.35765957832336426, -0.23660019040107727, 0.7637395858764648, -0.30403655767440796, 0.041726645082235336, -0.3037737011909485, -0.04961824789643288, 0.37724578380584717, 0.43873271346092224, 0.2997596561908722, -0.7406315803527832, -0.30976900458335876, -0.4260868728160858, -0.48953723907470703, -0.24372754991054535, -0.07290098816156387, -0.43567222356796265, 0.08706780523061752, 0.5773507952690125, -0.30567872524261475, 0.5392611622810364, 0.5669162273406982, -0.329249769449234, 0.5902485251426697, -0.08846108615398407, -0.1852954626083374, -0.9909818172454834, 0.0734575167298317, -0.5523310899734497, -0.4654185175895691, -0.4552048444747925, 0.02337600104510784, 0.31181594729423523, 0.1812908947467804, -0.4195472300052643, 0.36038634181022644, -0.6469493508338928, -0.04493003711104393, -0.5334174633026123, -0.42887893319129944, -0.08883614838123322, 0.09871788322925568, -0.003802628954872489, 0.8586232662200928, 0.5381629467010498, -0.29802343249320984, 0.4188137352466583, 0.18044033646583557, -0.36051854491233826, 0.659380316734314, -0.4071628153324127, 0.4214829206466675, -0.19402290880680084, 0.2513573467731476, -0.9931902885437012, 0.13690564036369324, 0.414469838142395, -0.4461844563484192, 0.5461949110031128, -0.33360856771469116, -0.576561450958252, 0.003467164933681488, -0.8029006123542786, 0.5845837593078613, 0.7305408120155334, -0.8560045957565308, 0.48364511132240295, 0.2633676528930664, 0.28245627880096436, -0.5287358164787292, -0.8540627360343933, 0.23621708154678345, -0.162361279129982, -0.4869144558906555, 0.5957263708114624, -0.12484821677207947, -0.03940258175134659, 0.024260444566607475, -0.541282594203949, 0.12300115823745728, 0.10229584574699402, 0.29624325037002563, 0.018076768144965172, -0.1994280070066452, -0.6279836297035217, -0.04177975282073021, -0.8693549633026123, -0.037672314792871475, -0.5480631589889526, 0.6039319038391113, -0.15162019431591034, -0.5913848876953125, -0.3558085858821869, 0.45308399200439453, 0.4400206506252289, -0.13817612826824188, 0.50955730676651, 0.5194078683853149, -0.342713862657547, -0.027727806940674782, -0.42419081926345825, -0.15643909573554993, -0.5431928038597107, 0.040593840181827545, -0.35791724920272827, -0.7447246313095093, 0.5367510914802551, -0.14232492446899414, -0.018928654491901398, -0.08833258599042892, 0.5209817290306091, -0.4341423809528351, 0.7168313264846802, 0.6442551016807556, -0.24309232831001282, 0.5318710207939148, -0.4755094647407532, 0.35196399688720703, -0.8287477493286133, -0.061405353248119354, -0.2813568115234375, -0.3926120400428772, -0.18593499064445496, -0.4989340007305145, 0.2616531252861023, 0.5371914505958557, -0.17105434834957123, 0.2322331815958023, -0.4381296634674072, 0.6109591126441956, 0.6050634980201721, 0.12179197371006012, 0.6102216243743896, 0.551037609577179, -0.058746520429849625, -0.09740111976861954, -0.6348402500152588, -0.7551010251045227, 1.3998721837997437, 0.25441989302635193, 1.260264277458191, 0.04105154797434807, 1.118283987045288, -0.04929182678461075, 0.21148480474948883, -0.5886170268058777, 0.6679651141166687, -0.06557990610599518, -0.32122641801834106, -0.2362862229347229, -0.4667498767375946, -1.2675305604934692, 0.3048287332057953, -0.265342116355896, -0.5027188062667847, 0.13583976030349731, 0.09017616510391235, 0.005507756024599075, 0.7332459092140198, -0.21310551464557648, 0.22902482748031616, -0.22721177339553833, -0.18829727172851562, -0.02701682783663273, -0.42351993918418884, 0.18019317090511322, 0.24258871376514435, 0.10166752338409424, -0.11743973195552826, -0.3346300721168518, 0.5953306555747986, -0.31791001558303833, 0.48105767369270325, -0.18036475777626038, -0.3079250454902649, 0.18046127259731293, 0.41468048095703125, 0.4982626140117645, 0.4467203915119171, -0.18675075471401215, 0.1061360165476799, 0.1572408825159073, -0.5815092921257019, -0.4750284254550934, 0.3672996163368225, -0.739388644695282, -0.49507322907447815, -0.4974059760570526, -0.41682636737823486, -0.1161823496222496, 0.10948547720909119, 0.5928682684898376, 0.32976964116096497, 0.12936171889305115, 0.08563696593046188, 0.9077721834182739, -0.1353335827589035, 0.4847765862941742, 0.5594731569290161, -0.047261662781238556, -0.8316782116889954, 1.1009361743927002, -0.2719325125217438, 0.07013281434774399, 0.8564953207969666, -0.06743516772985458, -0.2741377353668213, -0.9704415202140808, -0.21220041811466217, 0.17886221408843994, -0.9075337052345276, -0.5487844944000244, -0.301008015871048, -0.39663034677505493, -0.24391962587833405, -0.1517561674118042, -0.44593513011932373, -0.18259714543819427, -0.41578975319862366, 0.037165410816669464, 0.13291068375110626, 0.21906958520412445, -0.23067286610603333, 0.06332434713840485, -0.5566217303276062, 0.6330742239952087, 0.48267456889152527, 0.332739919424057, -0.14341995120048523, -0.5895152688026428, 0.08874356001615524, -0.11644835770130157, -0.35631927847862244, -1.1459029912948608, 0.3054260313510895, 0.0020226959604769945, 0.7367603182792664, 0.5665681958198547, 0.2557520866394043, 0.3513050973415375, -0.3007490336894989, 0.5191347002983093, 0.26674193143844604, -1.0194517374038696, 0.13310347497463226, -0.09959430992603302, 0.30674487352371216, 0.6000332236289978, -0.05408264696598053, -0.23317161202430725, -0.32519853115081787, -0.45208555459976196, -1.2992568016052246, 0.4426831901073456, 0.3487844467163086, 0.3078792095184326, 0.20362980663776398, 0.3982343077659607, 0.24924738705158234, 0.147963747382164, -0.8343172669410706, -0.5573078989982605, -0.7342265844345093, -0.2984319031238556, 0.16907046735286713, -0.7830712199211121, -0.13770294189453125, -0.13664788007736206, 0.5502122640609741, -0.22264158725738525, 0.9397823214530945, 0.18737736344337463, -0.44415050745010376, -0.08433907479047775, 0.26012757420539856, 0.4946090877056122, 0.36037540435791016, -0.3140542507171631, 0.6297541856765747, 0.16200275719165802, -0.825957179069519, 0.3831135630607605, -0.1602982133626938, -0.344529390335083, -0.1025272011756897, 0.6149739027023315, 0.6336074471473694, -0.044161394238471985, -0.42111077904701233, 0.6759447455406189, -0.013189991936087608, -0.5167848467826843, -0.09481682628393173, 0.031948573887348175, 0.30599576234817505, 0.44246727228164673, 0.6814823746681213, -0.23079794645309448, 0.18146945536136627, -0.2653946280479431, -0.01649514213204384, 0.5145351886749268, 0.31542056798934937, -0.322599858045578, 0.7533979415893555, -0.010567856021225452, -0.4293873906135559, 0.3606659770011902, -0.3238733410835266, -0.610393226146698, 0.323306679725647, 0.848382830619812, 0.8767194747924805, 0.1353839486837387, -0.059200018644332886, 0.023773273453116417, 0.385247141122818, -0.17295871675014496, 0.6132712960243225, -0.28926169872283936, -0.9656381607055664, 0.043366074562072754, -0.6772124171257019, -0.6347740888595581, 0.256308376789093, -0.7477056384086609, -0.11055056005716324, -0.6203622221946716, -0.05662519112229347, -0.5747498273849487, -0.1945422738790512, -0.43539610505104065, 0.0003618866321630776, 0.2858668863773346, 1.1510592699050903, -0.43767982721328735, 1.126118779182434, 0.7930493354797363, 0.29260900616645813, -0.3571164011955261, 0.3457331657409668, 0.009904745034873486, -1.1573381423950195, 0.11964581906795502, 0.037299562245607376, -0.49405235052108765, 0.01106670405715704, -0.7836997509002686, -0.9539266228675842, 1.5256258249282837, 0.7381793260574341, -0.398097425699234, 0.4642540514469147, 0.2826727032661438, 0.18737928569316864, -0.15256379544734955, -0.04048939421772957, 0.7020868062973022, 0.502067506313324, 0.0634642243385315, -0.3338949978351593, 0.17569608986377716, -0.4342091977596283, 0.23107071220874786, -0.10419182479381561, -0.4951114356517792, 0.5494661331176758, 0.125287264585495, -0.4423254728317261, 0.38617661595344543, 0.5116624236106873, 0.3535027503967285, 0.257834255695343, 0.5039277672767639, 0.5710006356239319, 0.6432591080665588, -0.12311563640832901, 1.0762346982955933, -0.5668359398841858, 0.34146976470947266, 0.6503602862358093, -0.3309181034564972, 0.9465006589889526, 0.8868392109870911, -0.4403138756752014, 0.14316022396087646, 0.2922534644603729, 0.023777863010764122, 0.9368215799331665, 0.4045228362083435, -0.37438148260116577, -0.6142160296440125, 0.6710004210472107, -0.359257310628891, 0.03217369690537453, 0.21465818583965302, -0.13996382057666779, -0.26328015327453613, -0.18719381093978882, -0.17644453048706055, 0.11810986697673798, -0.19243958592414856, 0.4959264099597931, 0.2617954909801483, -0.03789808973670006, 0.733856737613678, 0.3257875442504883, 1.156434178352356, -0.41282010078430176, 0.3379969894886017, -0.49366700649261475, 0.2195683866739273, -0.30719998478889465, -0.9751942753791809, 0.24028706550598145, -0.30282798409461975, -0.08319205790758133, -0.6399174928665161, 0.9805203676223755, -0.28209230303764343, -0.28920915722846985, 0.3522213101387024, 0.2982710599899292, 0.2406953126192093, -0.13169659674167633, -0.5480072498321533, 0.31683576107025146, -0.1111874133348465, -0.49392029643058777, 0.30812832713127136, 0.19000287353992462, 0.3280014097690582, 0.7843307852745056, 0.7967821359634399, 0.09447271376848221, 0.4135984480381012, -0.07986398786306381, 0.5675833821296692, -0.7700294256210327, -0.4463878273963928, -0.9628474116325378, 0.2138456106185913, 0.20422567427158356, -0.027224989607930183, 0.5520851016044617, 0.6227986812591553, 0.6829714179039001, -0.18111833930015564, 0.7584766149520874, 0.4693019390106201, 0.18622738122940063, -0.9146319031715393, 0.6238800287246704, -0.5278891324996948, 0.41093236207962036, -0.18408432602882385, -0.9147648215293884, -0.4465334713459015, 0.8902484774589539, -0.018411878496408463, -0.14396990835666656, 0.5709714293479919, 0.9872536063194275, -0.11543886363506317, 0.0691300630569458, 0.3756505846977234, -0.16462966799736023, 0.3340182900428772, 0.9707382917404175, 1.0273125171661377, -0.6108196973800659, 0.8585470914840698, -0.13038033246994019, -0.1476064920425415, -0.478213369846344, -1.0586978197097778, -0.8616505265235901, -0.40043166279792786, -0.3254720866680145, -0.46522215008735657, 0.06418780982494354, 0.45748233795166016, 0.61705082654953, -0.8639703392982483, -0.15509875118732452, -0.16097667813301086, 0.4635208547115326, -0.5004326701164246, -0.11776275932788849, 0.21152876317501068, 0.012950247153639793, -0.5843389630317688, 0.37284645438194275, 0.6581557393074036, 0.555722177028656, 0.020200878381729126, -0.46292638778686523, 0.19342674314975739, 0.29508763551712036, 0.260093092918396, 0.21086321771144867, -0.303666889667511, 0.18909132480621338, -0.01734992302954197, -0.28707367181777954, 0.39582568407058716, 1.1471717357635498, -0.377035915851593, 0.00625758757814765, 0.5945072174072266, 0.8371536135673523, 0.9626398086547852, -0.1778848022222519, 0.16343799233436584, -0.2618614733219147, 0.261200487613678, 0.248567134141922, 0.3778255581855774, 0.30689626932144165, -0.26166436076164246, 0.28893059492111206, 0.6061581373214722, -0.09559120982885361, -0.9751868844032288, 0.24178366363048553, -1.0708508491516113, -0.17293784022331238, 1.2663313150405884, -0.18674111366271973, -0.3890937566757202, -0.12794888019561768, -0.13689745962619781, 0.028557362034916878, -0.16721871495246887, 0.644044816493988, 0.6989384889602661, 0.016521116718649864, -0.31642064452171326, -0.1378304362297058, 0.3374543786048889, 0.6694658398628235, -0.5345137715339661, -0.15179744362831116, -0.08268044888973236, 0.7527790069580078, -0.12232155352830887, 0.9149885773658752, -0.6212755441665649, 0.4398117661476135, 0.16880811750888824, -0.01927071064710617, -0.5228137969970703, -0.19014014303684235, -0.5965023040771484, 0.3143055737018585, 0.16232465207576752, -0.2967868149280548 ]
http://arxiv.org/abs/2402.05863v1
http://arxiv.org/pdf/2402.05863v1
How Well Can LLMs Negotiate? NegotiationArena Platform and Analysis
2024-02-08T17:51:48
2024-02-08T17:51:48
Federico Bianchi, Patrick John Chia, Mert Yuksekgonul, Jacopo Tagliabue, Dan Jurafsky, James Zou
cs.AI
cs.AI, cs.CL, cs.GT
Negotiation is the basis of social interactions; humans negotiate everything from the price of cars to how to share common resources. With rapidly growing interest in using large language models (LLMs) to act as agents on behalf of human users, such LLM agents would also need to be able to negotiate. In this paper, we study how well LLMs can negotiate with each other. We develop NegotiationArena: a flexible framework for evaluating and probing the negotiation abilities of LLM agents. We implemented three types of scenarios in NegotiationArena to assess LLM's behaviors in allocating shared resources (ultimatum games), aggregate resources (trading games) and buy/sell goods (price negotiations). Each scenario allows for multiple turns of flexible dialogues between LLM agents to allow for more complex negotiations. Interestingly, LLM agents can significantly boost their negotiation outcomes by employing certain behavioral tactics. For example, by pretending to be desolate and desperate, LLMs can improve their payoffs by 20\% when negotiating against the standard GPT-4. We also quantify irrational negotiation behaviors exhibited by the LLM agents, many of which also appear in humans. Together, \NegotiationArena offers a new environment to investigate LLM interactions, enabling new insights into LLM's theory of mind, irrationality, and reasoning abilities.
[ -0.6451115608215332, -0.7184452414512634, 0.7508751153945923, 0.18640820682048798, -0.2377162128686905, 0.2857738733291626, -0.421114444732666, -0.7753766179084778, 0.6474466323852539, 0.3218095898628235, -0.2890073359012604, -0.2920183539390564, -0.6126390099525452, 0.13740749657154083, 0.07677346467971802, 0.44852298498153687, 0.06763021647930145, 0.10142688453197479, 0.14393644034862518, -0.579437792301178, -0.47625911235809326, -0.8752004504203796, -1.1958626508712769, -0.5591630339622498, 0.7329854369163513, 0.32617858052253723, 0.8509315252304077, 0.11359750479459763, 0.3958807587623596, 0.5081840753555298, -0.2873091697692871, 0.008341707289218903, -0.5504459142684937, 0.5106139183044434, -0.4744325876235962, -0.5471429824829102, -0.6215702891349792, 0.21307939291000366, 0.17767764627933502, 0.3752480447292328, -0.4205637574195862, 0.11932236701250076, 0.04364785924553871, 0.5057840347290039, -0.31344732642173767, 0.18690519034862518, -0.9849380254745483, 0.15147562325000763, -0.1368701457977295, -0.13719196617603302, -0.3008129596710205, -0.3218420445919037, -0.022821851074695587, -0.649888813495636, -0.3681661784648895, 0.05583813041448593, 0.8612117171287537, 0.21731054782867432, -0.5078105926513672, -0.371143639087677, -0.5409098267555237, 0.48176008462905884, -0.4852972626686096, -0.05400095507502556, 0.3285497725009918, 0.48273685574531555, -0.517381489276886, -0.8352050185203552, -0.7111609578132629, -0.4025425910949707, 0.10061439126729965, 0.3118157684803009, -0.512002170085907, 0.0031115091405808926, 0.2131498157978058, 0.2290542870759964, -0.2812862694263458, 0.2996775209903717, -0.3559238016605377, -0.044588055461645126, 0.7648895382881165, 0.357080340385437, 0.37895628809928894, -0.1075952872633934, -0.5672129988670349, -0.06623585522174835, -0.4135560393333435, 0.15311861038208008, 0.5271616578102112, 0.27809473872184753, 0.1201544851064682, 0.6678621768951416, 0.07017087191343307, 0.48750191926956177, -0.12398430705070496, 0.3157443702220917, -0.3000611960887909, -0.13424980640411377, -0.4327017068862915, -0.2583170533180237, 0.6995224952697754, 0.6188138127326965, 0.43369999527931213, -0.20642223954200745, -0.24813583493232727, 0.291341632604599, 0.3910600543022156, -0.3623223602771759, 0.09394203126430511, 0.20594337582588196, -0.8546925187110901, -0.4075930416584015, -0.3462907373905182, -1.0633963346481323, -0.3061411678791046, -0.32795751094818115, 0.5537587404251099, 0.02776898443698883, -0.498073935508728, 0.3202742338180542, -0.12877675890922546, 0.5617499351501465, 0.28879547119140625, -0.7039134502410889, 0.8300927877426147, 0.4248797297477722, 0.831917941570282, -0.15968099236488342, -0.5953278541564941, -0.3500194847583771, -0.01667429693043232, -0.2307300567626953, 0.8883748054504395, -0.39709165692329407, -0.583878755569458, -0.11457424610853195, -0.45024970173835754, -0.2402297854423523, -0.6583987474441528, 0.4296312928199768, -0.739467203617096, -0.34762999415397644, -0.4118853211402893, -0.46545183658599854, -0.022482847794890404, 0.8005809187889099, -0.9488095045089722, 0.3870554268360138, -0.16435134410858154, -0.30271247029304504, 0.11083227396011353, -0.8371690511703491, -0.2816142141819, 0.10667632520198822, -0.1908515840768814, 0.014002733863890171, 0.05073130130767822, -0.21670596301555634, 0.3850788474082947, -0.5372006893157959, 0.14217069745063782, -0.32034438848495483, -0.2527146637439728, 1.1372262239456177, -0.3720053732395172, 0.47133126854896545, 0.4228954017162323, -0.16700120270252228, 0.28259626030921936, -0.011986943893134594, -0.10671278834342957, 0.3871615529060364, -0.46057796478271484, -0.003657617373391986, -0.10465020686388016, 0.17525608837604523, 0.3197919726371765, 0.4262634217739105, -0.2566737234592438, 0.6596239805221558, -0.20832844078540802, 0.6564913988113403, 0.803428590297699, -0.046268120408058167, 0.47392737865448, -0.6020858287811279, 0.8595227599143982, -0.49466755986213684, 0.3221490681171417, 0.6920349597930908, -0.4280279278755188, -0.8139570355415344, 0.04691789671778679, 0.05866336449980736, 0.3726625144481659, -0.6648833751678467, -0.17860154807567596, -0.0277329683303833, -0.41966989636421204, -0.3650885224342346, -0.025289669632911682, 0.3723974823951721, 0.12025511264801025, 0.2234143614768982, -0.12192961573600769, -0.4140937328338623, -0.7547096014022827, -0.41901931166648865, -0.21940737962722778, 0.22475233674049377, 0.14476856589317322, 0.34271296858787537, 0.0055965231731534, 0.6818170547485352, -0.26712191104888916, -0.40155231952667236, -0.6166922450065613, 0.3909837603569031, -0.11444035172462463, 0.16165223717689514, 0.6141775846481323, -0.8504492044448853, -0.33272790908813477, 0.18977469205856323, -0.49136531352996826, 0.3558042347431183, -0.11614720523357391, -0.36388954520225525, 0.30222761631011963, 0.544988214969635, -0.8127187490463257, 0.5569499135017395, 0.591275155544281, -0.4308374226093292, 0.5118117332458496, -0.28052642941474915, 0.1596507430076599, -1.1118134260177612, -0.01247980073094368, -0.28632432222366333, -0.3238769769668579, -0.47585055232048035, 0.20264752209186554, -0.5221573114395142, -0.19199584424495697, -0.5575056672096252, 0.5650550723075867, -0.43552255630493164, -0.3254818916320801, -0.33475568890571594, 0.3132888376712799, -0.2896641790866852, 0.6201796531677246, 0.11965245753526688, 0.9680315852165222, 0.3571542203426361, -0.7469809651374817, 0.24248144030570984, 0.22351863980293274, -0.31833478808403015, 0.585918664932251, -0.802178144454956, 0.24600230157375336, 0.22705891728401184, 0.38004669547080994, -0.6528642773628235, -0.18569964170455933, 0.3547898232936859, -0.22971290349960327, -0.06432943046092987, -0.13521286845207214, -0.3845330476760864, 0.04604724049568176, -0.2215709239244461, 0.39672666788101196, 0.3649020493030548, -0.3298364281654358, 1.007477879524231, 0.5420041680335999, -0.15668825805187225, -0.3463665843009949, -0.5403209924697876, 0.4906178414821625, -0.4290527403354645, -0.5327893495559692, 0.30123573541641235, -0.3471031188964844, -0.6138942241668701, -0.09552805125713348, 0.18130576610565186, -0.1825193613767624, 0.20514851808547974, 0.039538122713565826, 0.10177762061357498, 0.025741415098309517, -0.04269784316420555, -0.06551551073789597, -0.3777797818183899, 0.11537612229585648, 0.13319428265094757, 0.8227055072784424, -0.3746364712715149, -0.40127021074295044, -0.14390133321285248, 0.27374377846717834, 0.8366172909736633, -0.231781467795372, 0.796920657157898, 0.13096454739570618, -0.4343186616897583, 0.2169739305973053, -0.5238758325576782, -0.09194789081811905, -0.47088608145713806, 0.19498027861118317, -0.6474063396453857, -0.8630458116531372, 0.9874606132507324, -0.43331003189086914, -0.11722534894943237, 0.2634176015853882, 0.6221756935119629, -0.022250808775424957, 0.9374205470085144, 0.3298055827617645, -0.0019942813087254763, 0.03955889120697975, -0.19167335331439972, 0.0638866126537323, -0.8729504942893982, -0.40654507279396057, -0.42951613664627075, -0.7445107102394104, -0.4546741843223572, -0.46504244208335876, 0.3208882808685303, -0.00002903314816649072, -0.1498979926109314, 0.2440163493156433, -0.22963453829288483, 0.917046308517456, 0.18575359880924225, 0.1556779444217682, 0.39371660351753235, -0.30803149938583374, 0.019303133711218834, -0.15934902429580688, -0.41166216135025024, -0.7421514987945557, 0.6712931990623474, 0.48862922191619873, 0.43216854333877563, 0.7019875645637512, 0.3418884873390198, 0.16730424761772156, 0.31735411286354065, -1.13755464553833, 0.8930894136428833, 0.1424100548028946, -0.46290847659111023, -0.4588944911956787, -0.49930331110954285, -1.349183201789856, 0.34850451350212097, -0.2068326771259308, -0.885101854801178, 0.3262065351009369, -0.17714987695217133, -0.17535799741744995, 0.4837893545627594, -0.4119771122932434, 0.7095102667808533, -0.5308248400688171, -0.33871787786483765, -0.6260327696800232, -0.47008103132247925, 0.19524036347866058, 0.07436861842870712, 0.07486628741025925, -0.25164473056793213, -0.12186992913484573, 0.6403002738952637, -0.0024487837217748165, 0.8580435514450073, 0.02213745191693306, -0.050556618720293045, 0.026173658668994904, 0.6358592510223389, 0.40311697125434875, 0.022437307983636856, -0.3640836179256439, 0.09534348547458649, -0.14302639663219452, -0.4778639078140259, -0.8792847394943237, 0.5503765940666199, -0.7474104166030884, -0.5872223973274231, -0.5991299748420715, -0.5320930480957031, -0.2478381246328354, 0.007945500314235687, 0.3539588153362274, 0.06399670243263245, -0.5791596174240112, -0.12500442564487457, 0.3860069513320923, 0.09591761231422424, 0.21890196204185486, 0.5040267109870911, -0.3051494061946869, -0.31606778502464294, 0.692783772945404, 0.06731143593788147, 0.2327573001384735, 0.016500499099493027, 0.19825993478298187, -0.32416611909866333, -0.5770164728164673, -0.01289118267595768, 0.12066397070884705, -0.7502912282943726, -0.4408433437347412, -0.21309514343738556, -0.10407616943120956, 0.11952043324708939, -0.3965623676776886, -0.3176417648792267, -0.4796297252178192, 0.01540434081107378, -0.30655205249786377, 0.38379597663879395, 1.1599289178848267, -0.16483627259731293, 0.30630040168762207, -0.5067521333694458, 0.0210818350315094, 0.6007557511329651, 0.164095938205719, 0.23503659665584564, -0.20549145340919495, -0.07622433453798294, -0.11093375831842422, -0.13519825041294098, -1.0314311981201172, 0.3734774589538574, -0.26159754395484924, 0.6768025755882263, 0.16177847981452942, 0.1545277088880539, 0.6552143692970276, -0.11979931592941284, 0.8058502078056335, 0.13678674399852753, -1.2045402526855469, 0.27842333912849426, -0.2939307689666748, -0.12457238882780075, 0.577028214931488, 0.12849390506744385, -0.4250495731830597, -0.23167303204536438, -0.5341978073120117, -0.9754882454872131, 0.4600486755371094, 0.37451767921447754, 0.23658959567546844, 0.11960221827030182, 0.3711853623390198, -0.07984849065542221, 0.24709506332874298, -0.9110071659088135, -0.19778397679328918, 0.17594414949417114, 0.07526373118162155, 0.056446872651576996, -0.27051106095314026, -0.5784122943878174, -0.09682703763246536, 0.36364462971687317, -0.0004909198614768684, 0.23296356201171875, -0.027497446164488792, -0.12020044028759003, 0.01022005919367075, 0.43326297402381897, 0.7166787385940552, 0.7492143511772156, -0.007533799856901169, 0.18358315527439117, 0.4087262451648712, -0.1477697491645813, 0.2650296986103058, 0.07410338521003723, 0.607236385345459, -0.5468441843986511, 0.1970498412847519, 0.6162936091423035, 0.3443247973918915, -0.8002715706825256, 0.3139156997203827, -0.769169270992279, -0.5853955149650574, -0.3458438515663147, -0.04037907347083092, 0.23702280223369598, 0.8053885102272034, 0.12602920830249786, 0.0386454313993454, 0.14918586611747742, -0.5223302245140076, 0.005817226134240627, 0.3818919062614441, -0.06530892103910446, -0.2138916403055191, 0.4077586531639099, 0.4480418264865875, -0.5223283171653748, 0.5740825533866882, -0.275569885969162, -0.8047254085540771, 0.5487974882125854, 0.37006422877311707, 0.6876108050346375, -0.12066265195608139, 0.45615965127944946, -0.10500647127628326, 0.3162950277328491, 0.01204956229776144, 0.33485254645347595, -0.13401289284229279, -0.9708109498023987, -0.28449520468711853, -0.24791200459003448, -0.8645614981651306, 0.08794041723012924, -0.7828603982925415, -0.11126208305358887, -0.38118261098861694, -0.4239859879016876, -0.28233057260513306, 0.30534350872039795, -0.8137211203575134, -0.36745887994766235, -0.20976373553276062, 0.9378648996353149, -0.5819275379180908, 0.6666364073753357, 0.9122734069824219, -0.7989687323570251, -1.0019900798797607, 0.1776023954153061, -0.2422553300857544, -0.7858680486679077, 0.6743956804275513, -0.09566571563482285, -0.553884744644165, -0.07797154784202576, -0.7027326822280884, -0.4893163740634918, 1.0485502481460571, 0.8099549412727356, -0.38623061776161194, 0.14335456490516663, 0.0958705022931099, 0.45376473665237427, -0.3115844428539276, 0.08409489691257477, 0.7206076383590698, 0.8171745538711548, 0.2650293707847595, -0.9606136679649353, 0.1395503282546997, -0.25148507952690125, -0.17215436697006226, -0.08591321110725403, -1.017342448234558, 0.9030660390853882, 0.07899399101734161, 0.002496632281690836, 0.48997169733047485, 0.5324780941009521, 0.3844749331474304, 0.5274683833122253, 0.6330709457397461, 0.3747140169143677, 0.9385457634925842, 0.12985599040985107, 0.9406029582023621, -0.07819977402687073, 0.25379663705825806, 0.8173163533210754, -0.7991140484809875, 1.0089640617370605, 0.5255722999572754, -0.06130865588784218, 0.4641033411026001, 0.6092992424964905, 0.4777490198612213, 0.037475742399692535, 0.5299657583236694, -0.4060744643211365, -0.5383582711219788, -0.2068086564540863, -0.0827101618051529, 0.6382601261138916, 0.40136557817459106, 0.21785518527030945, -0.023186272010207176, 0.017723700031638145, 0.2558557093143463, 0.28026139736175537, -0.20493124425411224, 0.7597630620002747, 0.250471830368042, -0.47688278555870056, 0.07986363023519516, -0.05251593887805939, 0.5185512900352478, -0.5624327659606934, 0.0014600636204704642, -0.3254064917564392, 0.02390347607433796, -0.0004715683462563902, -0.850365400314331, 0.3042792081832886, -0.13604027032852173, 0.07945682108402252, -0.21381326019763947, 0.8625673651695251, -0.2833493649959564, -0.15516303479671478, 0.7170642018318176, 0.6409316658973694, 0.37077033519744873, 0.058789242058992386, -0.8150545358657837, 0.4203903377056122, -0.3783133327960968, -0.3583511710166931, 0.6850769519805908, 0.549699068069458, 0.14734326303005219, 0.7843323349952698, 0.5725716352462769, 0.3338708281517029, -0.4871823489665985, -0.01858982816338539, 0.9241431951522827, -0.5515530109405518, -0.3537466526031494, -0.6131340861320496, 0.45990410447120667, -0.2670700252056122, -0.20288585126399994, 0.5457402467727661, 0.15269942581653595, 0.43859222531318665, 0.30156466364860535, 0.42631205916404724, 0.3578377366065979, -0.04260329529643059, -1.0422626733779907, 0.9794090390205383, -0.5219011902809143, 0.21292631328105927, 0.08502105623483658, -0.8917250037193298, 0.00963403470814228, 0.9555135369300842, -0.22017402946949005, 0.11356449127197266, 0.6556475162506104, 0.5178834795951843, -0.21876126527786255, 0.1725376546382904, 0.427310049533844, 0.22684092819690704, 0.3394160866737366, 0.4703894853591919, 1.187443733215332, 0.007672859355807304, 0.7907918691635132, 0.10985283553600311, 0.00128450826741755, -0.0004937750054523349, -0.7477856874465942, -0.7994850873947144, -0.5481721758842468, -0.09711170196533203, -0.39403313398361206, 0.086640365421772, 1.2065725326538086, 0.6805666089057922, -0.14257089793682098, -0.7983501553535461, 0.05250375345349312, 0.29579177498817444, -0.17103569209575653, -0.22750870883464813, 0.028868786990642548, -0.17481215298175812, -0.7271362543106079, 0.6396080851554871, 0.13047538697719574, 0.17618317902088165, -0.45586636662483215, -0.4393163323402405, -0.07177497446537018, 0.44603148102760315, 0.5174127221107483, 0.40954405069351196, -0.4563671946525574, -0.13336624205112457, -0.03999856859445572, -0.003895056899636984, -0.14544148743152618, 1.1862918138504028, -0.6396756172180176, 0.15266723930835724, 0.048565395176410675, 0.5219281911849976, 0.422756165266037, -0.17535673081874847, 0.700244665145874, -0.3699377477169037, 0.36916786432266235, 0.35711970925331116, 0.3502160608768463, 0.06025470793247223, -0.22889553010463715, 0.4685494303703308, -0.33332106471061707, -0.8141038417816162, -0.5391799211502075, 0.5120607018470764, -0.889093816280365, -0.40690845251083374, 0.9319427013397217, -0.04260255768895149, -0.10495290160179138, -0.23406442999839783, -0.3582521975040436, 0.08647779375314713, -0.5629150867462158, 0.7818351984024048, 0.8581345081329346, -0.42812857031822205, 0.04344648867845535, -0.4109992980957031, 0.38844725489616394, 0.6306426525115967, -0.700419545173645, -0.17530597746372223, 0.35409680008888245, -0.0973605290055275, 0.10437566041946411, 1.026201605796814, 0.2548391819000244, 0.14328420162200928, -0.35914430022239685, -0.12860658764839172, 0.1244039237499237, -0.2314651757478714, -0.3826306164264679, 0.08948817104101181, 0.5548199415206909, -0.1281299591064453 ]
http://arxiv.org/abs/2402.06690v1
http://arxiv.org/pdf/2402.06690v1
Neural Models for Source Code Synthesis and Completion
2024-02-08T17:10:12
2024-02-08T17:10:12
Mitodru Niyogi
cs.SE
cs.SE, cs.CL, cs.LG, cs.PL
Natural language (NL) to code suggestion systems assist developers in Integrated Development Environments (IDEs) by translating NL utterances into compilable code snippet. The current approaches mainly involve hard-coded, rule-based systems based on semantic parsing. These systems make heavy use of hand-crafted rules that map patterns in NL or elements in its syntax parse tree to various query constructs and can only work on a limited subset of NL with a restricted NL syntax. These systems are unable to extract semantic information from the coding intents of the developer, and often fail to infer types, names, and the context of the source code to get accurate system-level code suggestions. In this master thesis, we present sequence-to-sequence deep learning models and training paradigms to map NL to general-purpose programming languages that can assist users with suggestions of source code snippets, given a NL intent, and also extend auto-completion functionality of the source code to users while they are writing source code. The developed architecture incorporates contextual awareness into neural models which generate source code tokens directly instead of generating parse trees/abstract meaning representations from the source code and converting them back to source code. The proposed pretraining strategy and the data augmentation techniques improve the performance of the proposed architecture. The proposed architecture has been found to exceed the performance of a neural semantic parser, TranX, based on the BLEU-4 metric by 10.82%. Thereafter, a finer analysis for the parsable code translations from the NL intent for CoNaLA challenge was introduced. The proposed system is bidirectional as it can be also used to generate NL code documentation given source code. Lastly, a RoBERTa masked language model for Python was proposed to extend the developed system for code completion.
[ -0.26876136660575867, -0.3693191409111023, 0.4875050187110901, 0.3497999906539917, -0.11625942587852478, 0.268250435590744, -0.5105485916137695, -0.4096623957157135, 0.17024967074394226, 0.49799907207489014, -0.39390772581100464, -0.581230878829956, -0.25984442234039307, 0.32647913694381714, -0.5520225167274475, 0.7403786182403564, 0.07324770838022232, 0.059876859188079834, -0.014599891379475594, 0.21259506046772003, -0.8609131574630737, -0.6060559153556824, -0.48003536462783813, -0.08475431799888611, 0.27624303102493286, 0.33122768998146057, 0.4262678325176239, 0.45378613471984863, 0.33535659313201904, 0.29058095812797546, -0.06561774015426636, 0.1093633770942688, 0.06349699944257736, 0.2129695862531662, -0.08622622489929199, -0.344607949256897, -0.406593918800354, -0.2606116533279419, 0.2773157060146332, 0.6198259592056274, 0.053861115127801895, 0.3185409605503082, 0.1781826913356781, 0.6200282573699951, -0.47385361790657043, 0.18404027819633484, -0.5841130018234253, 0.07694946229457855, 0.2806994915008545, -0.29073023796081543, -0.4993785619735718, -0.5057982802391052, 0.28203195333480835, -0.3803405463695526, 0.05430569127202034, -0.18125034868717194, 0.36889293789863586, 0.5017131567001343, 0.028293427079916, -0.7666155099868774, -0.6344320178031921, 0.4777103066444397, -1.131163239479065, 0.22371616959571838, 0.35343149304389954, 0.07699476182460785, -0.09120432287454605, -0.6718103885650635, -0.39014267921447754, -0.5274817943572998, -0.1574176400899887, -0.21407540142536163, -0.002790365368127823, 0.09756094962358475, 0.3672095537185669, 0.26594415307044983, -0.7277219891548157, -0.13044418394565582, -0.42154884338378906, -0.16880327463150024, 0.49240007996559143, -0.07995758205652237, 0.3717350959777832, -0.5263438820838928, -0.13297836482524872, 0.24736961722373962, -0.6316553950309753, 0.0022972929291427135, 0.22682395577430725, 0.4356425404548645, 0.018166810274124146, 0.48366421461105347, -0.3540049195289612, 1.1796966791152954, -0.11117006093263626, 0.3345507085323334, 0.16130036115646362, -0.6115358471870422, -0.4491736888885498, 0.0015810633776709437, 0.6564904451370239, 0.12485333532094955, 0.33937540650367737, -0.33272168040275574, -0.14802168309688568, 0.14099866151809692, 0.4854855537414551, -0.3782583177089691, -0.02918785810470581, 0.27005890011787415, -0.4933708906173706, -0.3348444104194641, -0.03703485429286957, -0.6035155653953552, -0.23882806301116943, -0.9284839034080505, 0.13134987652301788, -0.4900420606136322, -0.3073153495788574, 0.2956448793411255, -0.10790007561445236, 0.07507198303937912, 0.2181241512298584, -0.6467519998550415, -0.05596382915973663, 0.5731486678123474, 0.6694050431251526, 0.05531294271349907, -0.2540871500968933, -0.22660920023918152, 0.19366483390331268, -0.2980521321296692, 0.3642110526561737, -0.6041808128356934, -0.1392345279455185, 0.08310176432132721, -0.21637144684791565, 0.23984825611114502, -0.5187225937843323, 0.11523645371198654, -0.5963704586029053, -0.09694165736436844, 0.15988801419734955, -0.49731364846229553, -0.24688969552516937, 0.17973695695400238, -0.4972325563430786, 0.6450111865997314, 0.12301208078861237, -0.4140060245990753, 0.10103173553943634, -0.5594093203544617, -0.5187879800796509, 0.06631854921579361, -0.17954440414905548, 0.04850751906633377, 0.16552796959877014, -0.04577062651515007, 0.31257370114326477, -0.21188057959079742, 0.7756973505020142, 0.09280796349048615, -0.4918658137321472, 0.00677243759855628, -0.05619282275438309, 0.8265945315361023, 0.4829128682613373, -0.5140248537063599, 0.42162036895751953, -0.8628503084182739, 0.21209168434143066, -0.18129794299602509, -0.5696532130241394, -0.295888215303421, -0.1211489737033844, -0.10854838788509369, 0.2714070677757263, 0.24365246295928955, -0.05928319692611694, 0.4115339517593384, -0.4485277533531189, 0.7385500073432922, 0.5296636819839478, -0.22143857181072235, 0.6081281304359436, 0.14098820090293884, 0.4259721040725708, -0.1038580983877182, 0.07416076958179474, -0.38379836082458496, -0.47657355666160583, -0.8031196594238281, 0.23060859739780426, 0.47822749614715576, 0.6763330101966858, -0.9178464412689209, 0.6434687972068787, -0.16773971915245056, -0.08700031787157059, -0.44464966654777527, 0.3946883976459503, 0.5369250774383545, 0.3742155432701111, 0.33908966183662415, -0.3571597635746002, -1.0529735088348389, -0.7979134917259216, -0.13179631531238556, -0.05173003301024437, -0.2015330195426941, 0.03256332501769066, 0.23470835387706757, -0.30269625782966614, 1.044310212135315, -0.24220533668994904, -0.04162953794002533, -0.30353429913520813, -0.20712250471115112, 0.5128627419471741, 0.7725340723991394, 0.24006664752960205, -0.7272447943687439, -0.322153776884079, -0.05491827055811882, -0.7103762626647949, 0.11565781384706497, -0.11183317005634308, -0.015111022628843784, 0.1488116979598999, 0.9354933500289917, -0.42053109407424927, 0.5189969539642334, 0.4191415011882782, -0.22981879115104675, 0.4467689096927643, -0.29678672552108765, -0.35388579964637756, -1.2260406017303467, 0.37476691603660583, -0.1837674081325531, -0.01705262064933777, -0.6068069934844971, 0.311452716588974, 0.24866130948066711, -0.3245195746421814, -0.3023104667663574, 0.23526965081691742, -0.539641797542572, -0.17157107591629028, -0.32058069109916687, -0.18752795457839966, 0.03213818371295929, 0.7530849575996399, 0.12726043164730072, 0.8275634050369263, 0.5801477432250977, -0.7592753767967224, 0.2845013439655304, 0.15698844194412231, -0.337510883808136, -0.028084663674235344, -0.7171621322631836, 0.3621287941932678, -0.015815572813153267, -0.007622393313795328, -0.7144469618797302, -0.13357824087142944, 0.17415057122707367, -0.5692798495292664, 0.2512631416320801, -0.41060248017311096, -0.39722976088523865, -0.3951246738433838, 0.010152028873562813, 0.5458894968032837, 0.5074686408042908, -0.2639404237270355, 0.340863436460495, 0.11748036742210388, -0.13744314014911652, -0.5371264219284058, -0.7419994473457336, 0.40999558568000793, 0.2128489464521408, -0.41222259402275085, 0.34948328137397766, -0.184498131275177, 0.03782324492931366, 0.059171345084905624, 0.13337403535842896, -0.0947885662317276, 0.08511626720428467, 0.31557711958885193, 0.34269949793815613, -0.1904345452785492, 0.04178428277373314, -0.13302873075008392, -0.2401726096868515, 0.08184443414211273, -0.7494195103645325, 0.5813251733779907, -0.2682209014892578, -0.26530858874320984, -0.09401398152112961, 0.45024293661117554, 0.3511109948158264, -0.4500758945941925, 0.23050878942012787, 0.2258121371269226, -0.3511292040348053, -0.3476003110408783, -0.45962420105934143, -0.039231058210134506, -0.44490355253219604, 0.2226618230342865, -0.2546294331550598, -0.7662585973739624, 0.448917418718338, -0.11733587831258774, -0.0916096493601799, 0.17791461944580078, 0.5242676734924316, 0.21223166584968567, 0.6378233432769775, 0.6649637222290039, -0.12673251330852509, 0.6175636649131775, -0.7459540963172913, 0.21283584833145142, -0.9322136640548706, -0.04539814591407776, -0.4441685676574707, -0.30889904499053955, -0.2620835602283478, -0.35528814792633057, 0.06411557644605637, 0.15048925578594208, -0.23010596632957458, 0.7744250297546387, -0.9722992181777954, 0.5665001273155212, 1.006240725517273, 0.0663277879357338, 0.22058194875717163, 0.04138992354273796, -0.28150036931037903, 0.2916814088821411, -0.7270002961158752, -0.32544127106666565, 1.0945217609405518, 0.11889216303825378, 0.43530726432800293, -0.08497302979230881, 0.7241894006729126, 0.34102922677993774, 0.09022822976112366, -0.6141533255577087, 0.5040370225906372, -0.09614142030477524, -0.423383891582489, -0.14160311222076416, -0.2422105073928833, -0.5990681052207947, -0.3025692403316498, 0.08954939991235733, -0.3019571900367737, 0.43894413113594055, -0.03142247349023819, -0.7622065544128418, 0.10080241411924362, -0.8724859356880188, 0.8001846075057983, -0.09180265665054321, -0.27130788564682007, -0.06375668942928314, -0.7889620065689087, 0.22350984811782837, 0.1482396274805069, 0.012647543102502823, 0.157707080245018, 0.17747268080711365, 0.38189825415611267, -0.19496534764766693, 0.9883184432983398, -0.11249328404664993, -0.1523919254541397, 0.3952898681163788, 0.22351069748401642, 0.26065221428871155, 0.2567492425441742, -0.43609070777893066, 0.2082626074552536, -0.2876371741294861, -0.17123940587043762, -0.4118090569972992, 0.5951314568519592, -0.4514346718788147, -0.46042999625205994, -0.10617083311080933, -0.6022506952285767, -0.009373372420668602, 0.4151388108730316, 0.31705808639526367, 0.5797205567359924, 0.17945155501365662, -0.09192817658185959, 0.44128724932670593, -0.36251112818717957, 0.7458670735359192, 0.3116995096206665, -0.16242507100105286, -0.5728170275688171, 0.7917851209640503, -0.09827473759651184, 0.0409751757979393, 0.178388774394989, -0.33436810970306396, -0.08837956935167313, -0.8264456987380981, -0.6445743441581726, -0.08453136682510376, -0.6525843143463135, -0.6560648679733276, -0.286160409450531, -0.5254707932472229, -0.46393367648124695, -0.22746756672859192, -0.0784270167350769, -0.3933192789554596, -0.2919660806655884, -0.043720733374357224, 0.309714674949646, 0.89394211769104, 0.10504443943500519, 0.03546495735645294, -0.801271378993988, 0.25236108899116516, 0.21531231701374054, 0.7146631479263306, 0.2704874575138092, -0.24771751463413239, -0.4790078103542328, 0.0995900109410286, -0.15305577218532562, -0.7941479682922363, 0.5616637468338013, -0.15819823741912842, 0.36291664838790894, -0.09689676016569138, -0.07625573128461838, 0.37510615587234497, -0.6061291694641113, 0.6820573806762695, 0.09013068675994873, -1.0787725448608398, 0.9701993465423584, -0.286857008934021, 0.2805524468421936, 0.6933746933937073, -0.029767783358693123, -0.4543278217315674, -0.3979223370552063, -0.26181522011756897, -0.750853955745697, 0.6437687277793884, 0.20235835015773773, 0.12842851877212524, -0.14249245822429657, 0.6556335091590881, 0.05542703717947006, 0.37821298837661743, -0.5895580053329468, -0.13033165037631989, -0.36507168412208557, -0.356411337852478, 0.12393750250339508, -0.19281251728534698, 0.15184707939624786, -0.46822845935821533, 0.29358744621276855, -0.38856783509254456, 0.344024658203125, 0.41251125931739807, -0.2793658673763275, 0.10660997033119202, 0.2899288237094879, 0.971813440322876, 0.8722844123840332, -0.2562881112098694, -0.04461827501654625, -0.16804073750972748, -0.2421271950006485, 0.09245116263628006, 0.03436734899878502, -0.5752357840538025, 0.15916040539741516, 0.16209855675697327, 0.9359437823295593, 0.23015196621418, -0.5542609691619873, 0.369619756937027, -0.06687448173761368, 0.03620936721563339, -0.5663482546806335, 0.15208610892295837, 0.23875366151332855, 0.19829337298870087, 0.24614748358726501, 0.6105093955993652, 0.38473784923553467, -0.49576783180236816, 0.2808007001876831, 0.44750866293907166, -0.19123733043670654, -0.3530080020427704, 0.5234630107879639, 0.3622652590274811, -0.5937153100967407, 0.5941305160522461, -0.2269943207502365, -0.5544518828392029, 0.9752728343009949, 0.5321254134178162, 1.2263672351837158, 0.05738021060824394, 0.11850950121879578, 0.5104629397392273, 0.11114019900560379, 0.04759664461016655, 0.31821510195732117, -0.29377907514572144, -0.35013535618782043, -0.7730892300605774, -0.7921047210693359, -0.09140569716691971, -0.14908891916275024, -0.4100434184074402, 0.34192806482315063, -0.7503751516342163, -0.16508719325065613, -0.2501972019672394, -0.24877400696277618, -0.6701474189758301, 0.007461337838321924, 0.4010385274887085, 1.2267341613769531, -0.35350391268730164, 1.1520609855651855, 0.6520867347717285, -0.7240279316902161, -0.9333099722862244, -0.15263889729976654, -0.40736842155456543, -0.5587406158447266, 0.8750656247138977, 0.09413731098175049, 0.21282555162906647, 0.023398475721478462, -0.5487872958183289, -0.9375240802764893, 0.8731109499931335, 0.5236648321151733, -0.5573172569274902, -0.5949563980102539, 0.16344472765922546, 0.5786449909210205, -0.5427013635635376, 0.27355197072029114, 0.5000867247581482, 0.3604171872138977, -0.014136253856122494, -1.0221683979034424, 0.13077419996261597, -0.5651459097862244, 0.410920649766922, 0.06371604651212692, -0.2723643481731415, 0.7080075144767761, -0.33143338561058044, 0.060044050216674805, 0.17669124901294708, 0.5113286972045898, 0.1477242112159729, 0.22755585610866547, 0.15967106819152832, 0.44498056173324585, 0.3308931887149811, 0.1429903507232666, 1.0943377017974854, -0.6826665997505188, 0.1434015929698944, 1.1749439239501953, -0.0846157968044281, 0.8925539255142212, 0.4927934408187866, 0.007406060583889484, 0.6622936725616455, 0.45874011516571045, 0.015322109684348106, 0.5515421032905579, 0.33475279808044434, 0.11379304528236389, 0.055272240191698074, -0.05591099336743355, -0.542555570602417, 0.12308516353368759, 0.3465610146522522, -0.5209447145462036, -0.15816174447536469, -0.017966005951166153, -0.47372734546661377, 0.08159390091896057, -0.2604050934314728, 1.0534831285476685, 0.1930624544620514, -0.9027723073959351, 0.9015011787414551, -0.06405613571405411, 0.8531385660171509, -0.6513417363166809, -0.21425189077854156, -0.4531809091567993, 0.050599172711372375, -0.36380207538604736, -0.553775429725647, 0.6503418684005737, -0.09115409106016159, -0.4326244592666626, -0.2996457517147064, 0.639245331287384, -0.6132238507270813, -0.34021085500717163, 0.4025470018386841, 0.26431187987327576, -0.28153663873672485, -0.027080893516540527, -0.5708486437797546, 0.04010682553052902, 0.2532607913017273, 0.09966839104890823, 0.13566195964813232, 0.22836977243423462, 0.14252717792987823, 0.6152694821357727, 0.7289304137229919, 0.23763036727905273, 0.2964676320552826, 0.12774516642093658, 0.8506708741188049, -0.7815954089164734, -0.5109772086143494, -0.8137331604957581, 0.49167099595069885, -0.03825864940881729, -0.10734618455171585, 0.6299818158149719, 0.437701016664505, 1.0139491558074951, -0.45477041602134705, 0.7817431092262268, -0.2109595537185669, 0.17393623292446136, -0.6751281023025513, 0.623461127281189, -0.2485869824886322, 0.5666899085044861, -0.2726817727088928, -1.0989086627960205, -0.35860955715179443, 0.36643391847610474, -0.14406216144561768, -0.07520108669996262, 0.4676811099052429, 0.7485300898551941, -0.046571359038352966, -0.013393573462963104, 0.11845458298921585, -0.15404118597507477, 0.20135462284088135, 0.8678985834121704, 0.7627260088920593, -0.4562859535217285, 0.4764181971549988, -0.2479388564825058, 0.08962469547986984, -0.2429720014333725, -0.8189494013786316, -0.585791826248169, -0.712687075138092, -0.23972168564796448, -0.39975088834762573, -0.08595626801252365, 1.145342469215393, 0.8984103798866272, -1.0116320848464966, -0.4142184257507324, -0.5357415676116943, 0.2293590009212494, -0.060010913759469986, -0.21030323207378387, 0.35624778270721436, -0.744113564491272, -0.5288777947425842, 0.576425313949585, 0.40487268567085266, 0.018941935151815414, -0.30400827527046204, -0.26232820749282837, -0.2519839107990265, -0.21805964410305023, 0.631853461265564, 0.37318047881126404, -0.8805606365203857, 0.10301277041435242, 0.12892048060894012, -0.29447126388549805, 0.04123346507549286, 1.0915886163711548, -1.0460119247436523, 0.34680822491645813, 0.6864610910415649, 0.90720134973526, -0.08411435037851334, -0.21819354593753815, 0.8117132186889648, -0.9202682375907898, 0.39282023906707764, 0.373446524143219, 0.3144356310367584, 0.28053194284439087, -0.5425216555595398, 0.6418958902359009, -0.04947153851389885, -0.3745143413543701, -0.6685315370559692, 0.21361935138702393, -0.7586829662322998, -0.4502353072166443, 1.0803687572479248, 0.012074875645339489, -0.3331648111343384, -0.18507640063762665, -0.37316033244132996, 0.17920802533626556, -0.34789812564849854, 0.5621946454048157, 0.46092817187309265, 0.1213177740573883, -0.03903883323073387, -0.5633102655410767, 0.9044632911682129, 0.4404095411300659, -0.5989604592323303, 0.15687984228134155, 0.5146011114120483, 0.20464326441287994, 0.5854193568229675, 0.6120744347572327, -0.012584961019456387, 0.433574378490448, -0.3880758583545685, 0.29499322175979614, -0.3523489236831665, -0.4041141867637634, -0.585304856300354, 0.1809985488653183, 0.15905074775218964, 0.011033875867724419 ]
http://arxiv.org/abs/2402.05827v1
http://arxiv.org/pdf/2402.05827v1
Is it Possible to Edit Large Language Models Robustly?
2024-02-08T17:06:45
2024-02-08T17:06:45
Xinbei Ma, Tianjie Ju, Jiyang Qiu, Zhuosheng Zhang, Hai Zhao, Lifeng Liu, Yulong Wang
cs.CL
cs.CL
Large language models (LLMs) have played a pivotal role in building communicative AI to imitate human behaviors but face the challenge of efficient customization. To tackle this challenge, recent studies have delved into the realm of model editing, which manipulates specific memories of language models and changes the related language generation. However, the robustness of model editing remains an open question. This work seeks to understand the strengths and limitations of editing methods, thus facilitating robust, realistic applications of communicative AI. Concretely, we conduct extensive analysis to address the three key research questions. Q1: Can edited LLMs behave consistently resembling communicative AI in realistic situations? Q2: To what extent does the rephrasing of prompts lead LLMs to deviate from the edited knowledge memory? Q3: Which knowledge features are correlated with the performance and robustness of editing? Our experimental results uncover a substantial disparity between existing editing methods and the practical application of LLMs. On rephrased prompts that are complex and flexible but common in realistic applications, the performance of editing experiences a significant decline. Further analysis shows that more popular knowledge is memorized better, easier to recall, and more challenging to edit effectively.
[ -0.12008719146251678, -1.18704092502594, 0.6263492703437805, 0.001336508896201849, 0.122266985476017, 0.19272030889987946, -0.6709513664245605, -0.6470364332199097, -0.12959511578083038, 0.31443852186203003, -0.2026108354330063, -0.208187073469162, -0.6274500489234924, 0.21375510096549988, -0.35116976499557495, 0.5546543598175049, -0.034542351961135864, 0.12464810162782669, -0.2246551215648651, -0.39343780279159546, -0.6380236744880676, -0.8182385563850403, -0.7254371643066406, -0.19515769183635712, 0.3825812339782715, 0.2570390999317169, 1.1409382820129395, 0.946938693523407, 0.4018198847770691, 0.5049281716346741, -0.7719127535820007, 0.1803230494260788, -0.6173182725906372, 0.422393798828125, -0.14732949435710907, -0.7583448886871338, -0.7944380640983582, 0.00016673773643560708, 0.9432094693183899, 0.7571282386779785, -0.056146278977394104, -0.2089739888906479, 0.3538666367530823, 0.4454878568649292, -0.3729284703731537, 0.16891635954380035, -0.8938624858856201, -0.33705800771713257, -0.03572088107466698, 0.06365969032049179, -0.463847279548645, -0.06101738661527634, 0.08321351557970047, -0.633761465549469, -0.04586951807141304, -0.11821840703487396, 0.6870574355125427, 0.41068074107170105, -0.05250219628214836, -0.44055089354515076, -0.8247141242027283, 0.7280662655830383, -0.8904625177383423, 0.3508175313472748, 0.34557783603668213, 0.10908366739749908, -0.24127236008644104, -0.6080904603004456, -0.5561937689781189, -0.20394620299339294, -0.006330735515803099, -0.27840402722358704, -0.2910555899143219, 0.2501049339771271, 0.6246242523193359, 0.16135111451148987, -0.33064213395118713, 0.4485883116722107, -0.15855734050273895, -0.19127441942691803, 0.5779324173927307, 0.37141111493110657, 0.6302634477615356, -0.09206202626228333, 0.20901399850845337, -0.09681396186351776, -0.6243281364440918, 0.16949795186519623, 0.2742656171321869, 0.15671026706695557, 0.015561788342893124, 0.7041944861412048, -0.1575421690940857, 0.8156107068061829, 0.005210006609559059, -0.45303305983543396, -0.21055088937282562, -0.24069571495056152, -0.3531941771507263, -0.4325958490371704, 0.634560227394104, 0.4719390273094177, 0.4154324531555176, -0.05681231617927551, -0.24267785251140594, -0.1383534073829651, 0.11384084820747375, -0.5329794883728027, -0.19034603238105774, 0.23937605321407318, -0.4841993749141693, -0.32494091987609863, -0.34015166759490967, -0.40017539262771606, -0.40035480260849, -0.34890925884246826, 0.20363986492156982, -0.5986214876174927, 0.16740809381008148, 0.18976856768131256, -0.09327902644872665, -0.08884093165397644, 0.8006551861763, -0.7665271759033203, 0.004190663807094097, 0.8658483624458313, 0.6817508935928345, -0.05881967395544052, -0.5692318677902222, -0.42299094796180725, 0.05941499397158623, -0.2878251373767853, 0.5367008447647095, -0.8561156988143921, -0.4421537220478058, -0.14215198159217834, -0.1552509069442749, -0.12486760318279266, -0.5450305938720703, 0.32216382026672363, -0.7227495908737183, -0.016646847128868103, -0.3341027796268463, -0.8236493468284607, -0.0255796667188406, 0.4009574353694916, -0.6604019999504089, 0.5556414723396301, -0.13938851654529572, -0.7704994082450867, 0.0895741879940033, -0.29610055685043335, -0.34023624658584595, -0.44159576296806335, 0.1178789734840393, -0.2708335220813751, 0.17255638539791107, 0.3183375298976898, 0.3480580449104309, -0.04535055533051491, 0.5003501176834106, -0.41734856367111206, -0.31549280881881714, 0.7218051552772522, -0.6983433961868286, 0.7819046974182129, 0.30060094594955444, 0.054776206612586975, 0.2820492386817932, -0.7179397940635681, -0.1616280972957611, -0.1346774697303772, -0.6163808107376099, -0.2339031994342804, -0.08945289999246597, -0.22512218356132507, -0.05297735705971718, 0.2292604297399521, -0.24245603382587433, 0.5541808605194092, -0.2353864312171936, 0.5338677167892456, 0.9187771081924438, 0.02967301569879055, 0.46323537826538086, -0.697697103023529, 0.7136479020118713, -0.22029399871826172, 0.09993202984333038, -0.3246172368526459, -0.455914169549942, -0.7220529913902283, -0.55096036195755, 0.46155717968940735, 0.6843147873878479, -0.6665416955947876, 0.1305677890777588, -0.20535744726657867, -0.5339184999465942, -0.40960559248924255, 0.28656578063964844, 0.2966303527355194, 0.4450890123844147, 0.17207391560077667, 0.040632206946611404, -0.4040466845035553, -0.7324682474136353, -0.742601215839386, -0.2779712378978729, 0.04729350283741951, 0.23912933468818665, 0.23249851167201996, -0.05980965495109558, 0.7040809392929077, -0.2587120234966278, 0.3616493046283722, -0.4251939058303833, -0.06941714137792587, 0.10016298294067383, 0.4774831235408783, 0.4996553361415863, -0.4118703603744507, -0.3705168664455414, -0.22688016295433044, -0.7235783934593201, -0.26410672068595886, -0.4054540991783142, 0.22822490334510803, 0.17401082813739777, 0.695475161075592, -0.9792732000350952, 0.4841868579387665, 0.33754459023475647, -0.13597053289413452, 0.5837084650993347, -0.5309359431266785, 0.23432563245296478, -0.9698894619941711, 0.01740160770714283, -0.2969806492328644, -0.19573815166950226, -0.8139841556549072, 0.3795187771320343, 0.013458626344799995, -0.07296416908502579, -0.41996413469314575, 0.5287678241729736, -0.4731218218803406, 0.15390007197856903, -0.3448573350906372, 0.15404409170150757, -0.09130261838436127, 0.2452109307050705, -0.2405853569507599, 0.5634150505065918, 0.5908857583999634, -0.6668704152107239, 0.3481189012527466, 0.42728859186172485, -0.6436269283294678, 0.4764740467071533, -0.8720796704292297, 0.19779279828071594, -0.21650026738643646, 0.21810291707515717, -0.7831413745880127, -0.4088384211063385, 0.0727786123752594, -0.32973602414131165, 0.3939898610115051, 0.03541065379977226, -0.5987877249717712, 0.2493128925561905, -0.21993258595466614, 0.31823620200157166, 0.35055744647979736, -0.44125840067863464, 0.5730798840522766, 0.30591365694999695, -0.6045325994491577, -0.5271069407463074, -0.6288301944732666, 0.3605893552303314, -0.28710952401161194, -0.8282342553138733, -0.03036409430205822, -0.28173086047172546, -0.7629238963127136, -0.1755242645740509, 0.3194127380847931, 0.0002760406059678644, 0.511654794216156, 0.12328392267227173, 0.3223632872104645, -0.015622220933437347, 0.07260993868112564, 0.06587700545787811, -0.0036929550115019083, -0.14888250827789307, 0.41394081711769104, 0.31169265508651733, 0.19110098481178284, -0.4198378324508667, -0.7680194973945618, 0.33988282084465027, 0.9947529435157776, -0.29954794049263, 0.5794317126274109, 0.10597267001867294, -0.36040154099464417, -0.10031305253505707, -0.4795025587081909, -0.06389066576957703, -0.4754849374294281, 0.4506883919239044, -0.4707117974758148, -1.2195661067962646, 0.6861015558242798, 0.03924484923481941, 0.19141781330108643, 0.19072775542736053, 0.5188150405883789, -0.0621633380651474, 1.0424741506576538, 0.5268387794494629, -0.16988509893417358, 0.4046545624732971, 0.05042349547147751, 0.17473265528678894, -0.7994615435600281, 0.16962407529354095, -0.8165568113327026, -0.40685778856277466, -0.7168849110603333, -0.3961818814277649, 0.2702276110649109, 0.1762266457080841, 0.056639038026332855, 0.01903003267943859, -0.07253269106149673, 0.41004788875579834, 0.5123812556266785, 0.0009804072324186563, 0.5014145970344543, -0.2999967336654663, 0.19339390099048615, -0.07816612720489502, -0.9164334535598755, -0.7669800519943237, 0.9921163320541382, 0.551781952381134, 0.9769313931465149, 0.22215570509433746, 0.2659601867198944, 0.10154786705970764, 0.21696986258029938, -0.6544848084449768, 0.6701711416244507, 0.03577328473329544, -0.6019988656044006, -0.41175577044487, -0.2016385793685913, -0.6629783511161804, 0.053943101316690445, -0.5143705606460571, -0.8741719722747803, 0.2511107623577118, 0.4259438216686249, -0.3789990246295929, 0.606741726398468, -0.7006251215934753, 0.6236622929573059, -0.0789896547794342, -0.2770058810710907, -0.3262719213962555, -0.5681836009025574, 0.20019298791885376, -0.16819390654563904, 0.39654168486595154, 0.19624346494674683, 0.08617445826530457, 0.3776569366455078, -0.4643382728099823, 0.9888394474983215, 0.1167595162987709, -0.07658465951681137, 0.2586193084716797, 0.300411581993103, 0.7409347891807556, 0.1995665282011032, -0.44886884093284607, -0.03436723351478577, 0.06735830754041672, -0.3342236578464508, -0.9605744481086731, 0.5621532797813416, -0.6637738347053528, -0.9646952748298645, -0.2337997406721115, -1.0262446403503418, -0.2809489667415619, 0.017691226676106453, 0.06223384663462639, 0.5198714137077332, -0.2880021333694458, 0.21377524733543396, 0.4919264018535614, -0.5342305302619934, 0.5044467449188232, 0.24791623651981354, -0.2716160714626312, -0.33370646834373474, 0.7826443314552307, 0.3156316876411438, 0.474934846162796, 0.24850554764270782, 0.2735373079776764, 0.10668888688087463, -0.8705635070800781, -0.3408098816871643, 0.11024121195077896, -0.7861220836639404, 0.21136651933193207, -0.780957043170929, -0.03780914843082428, -0.3739009499549866, -0.42039042711257935, -0.2708567976951599, -0.575299859046936, -0.4167214334011078, -0.0184920784085989, 0.22563911974430084, 1.0221892595291138, -0.23592424392700195, 0.32598555088043213, -0.8256704807281494, 0.2864687144756317, 0.4078165292739868, 0.17497028410434723, 0.07103493064641953, -0.5449234843254089, -0.13178390264511108, 0.2542110085487366, -0.10177482664585114, -0.7341539859771729, 0.2307402789592743, 0.17798615992069244, 0.48310959339141846, 0.30377885699272156, -0.018989719450473785, 0.8277400135993958, -0.24475793540477753, 0.8757779002189636, -0.3770778775215149, -1.0651099681854248, 0.24385784566402435, -0.42163988947868347, 0.39907243847846985, 0.3220177888870239, 0.07653196156024933, -0.40652212500572205, -0.80879807472229, -0.6648728847503662, -0.3528731167316437, 0.5779085755348206, 0.042258620262145996, 0.247226282954216, 0.17086243629455566, 0.6843400001525879, 0.05319599807262421, 0.03987554460763931, -0.2920113503932953, -0.0992508977651596, 0.08762230724096298, 0.01118373405188322, -0.18669579923152924, -0.6191878318786621, 0.008171459659934044, -0.3307057321071625, 0.5284465551376343, 0.19570255279541016, -0.06390047818422318, 0.1257597655057907, -0.144597589969635, -0.004708744119852781, 0.5972375273704529, 0.8866432309150696, 0.7949406504631042, -0.13936875760555267, 0.0300619974732399, 0.4602613151073456, -0.3007645308971405, 0.031177887693047523, -0.2428097128868103, -0.4967188835144043, -0.1069696769118309, 0.6934948563575745, 0.8979042172431946, 0.10893944650888443, -0.7753407955169678, 0.09555058926343918, -0.23850782215595245, -0.13171231746673584, 0.1546901911497116, 0.3176313638687134, 0.11735531687736511, 0.3776925504207611, -0.11717282235622406, 0.32391592860221863, -0.15619827806949615, -0.7085539698600769, -0.0501103401184082, 0.5354440808296204, -0.06779839098453522, -0.3330622911453247, 0.6605029702186584, -0.00187725352589041, -0.5562937259674072, 0.5730713605880737, 0.06270483136177063, -0.4912642240524292, 0.35039713978767395, 0.44129228591918945, 0.4953596293926239, -0.27170005440711975, -0.13034914433956146, 0.24919122457504272, 0.47851529717445374, -0.13568460941314697, 0.06911660730838776, 0.22781507670879364, -0.8438251614570618, -0.49917566776275635, -0.09438753128051758, -0.6731383800506592, 0.2833257019519806, -0.5603847503662109, 0.25721898674964905, -0.5576698184013367, -0.2165355384349823, 0.029139772057533264, -0.4120643138885498, -0.5383402705192566, 0.2736825942993164, -0.3094013035297394, 0.9814648628234863, -0.5510919094085693, 0.892227292060852, 0.8218556046485901, 0.10622972249984741, -1.0187084674835205, -0.04438145086169243, 0.19596551358699799, -0.5215964913368225, 0.1772434413433075, -0.09081733226776123, 0.13339745998382568, -0.17134834825992584, -0.7904832363128662, -0.7326393127441406, 0.833648145198822, 0.7057504653930664, -0.5105229020118713, -0.1516379863023758, -0.0015264649409800768, 0.6230252385139465, -0.17602579295635223, 0.21777880191802979, 0.564927339553833, 0.5684641599655151, 0.0054227677173912525, -1.1316211223602295, -0.09297899901866913, -0.28773078322410583, -0.002453853143379092, -0.2860712707042694, -0.6645169854164124, 0.8341811299324036, -0.3342093825340271, -0.13216695189476013, 0.43036937713623047, 0.5187984704971313, 0.12433183193206787, 0.04028069227933884, 0.38705921173095703, 0.5855313539505005, 0.9209017753601074, 0.05213621258735657, 1.0918586254119873, -0.49811479449272156, 0.10836144536733627, 1.2305089235305786, -0.21141953766345978, 0.8014266490936279, 0.43661367893218994, 0.08046720176935196, 0.1293792575597763, 0.44142332673072815, 0.1900806725025177, 0.033472940325737, 0.08067245036363602, -0.19243350625038147, -0.4234442114830017, 0.04127969220280647, -0.18786515295505524, 0.7905272245407104, 0.28983473777770996, -0.25435781478881836, 0.14657501876354218, -0.056041594594717026, 0.36108851432800293, 0.20954588055610657, -0.1238030418753624, 0.6899611353874207, -0.05087373033165932, -0.8187897801399231, 0.45708167552948, 0.19243302941322327, 0.5289098620414734, -0.3542207181453705, -0.04864748567342758, -0.04292185977101326, 0.02855805680155754, 0.004806633107364178, -0.7661094069480896, 0.45007407665252686, 0.22512416541576385, 0.0005727114621549845, -0.2632562518119812, 0.8411508798599243, -0.30439093708992004, -0.3617386817932129, -0.13506174087524414, 0.6730443239212036, -0.03971165418624878, 0.07081414014101028, -0.5159422755241394, 0.6171993613243103, 0.02326899580657482, -0.35016846656799316, 0.2869698405265808, 0.4523310661315918, 0.03294222429394722, 1.038219690322876, 0.6014062166213989, 0.3119027018547058, -0.053900498896837234, -0.3496490716934204, 0.8038504719734192, -0.6080563068389893, -0.32534661889076233, -0.9301614165306091, 0.6804272532463074, 0.0011673260014504194, -0.2661192715167999, 0.7514318227767944, 0.22264206409454346, 0.7435157895088196, -0.09711522608995438, 1.0068461894989014, 0.07263060659170151, 0.4019436836242676, -0.6858944296836853, 0.8619055151939392, -0.2674175500869751, 0.5108862519264221, -0.44030314683914185, -0.7441779375076294, -0.4629189372062683, 0.5225831270217896, -0.22430889308452606, 0.06838160753250122, 0.39056748151779175, 1.0086525678634644, 0.14536824822425842, 0.10309332609176636, 0.5588301420211792, 0.6780114769935608, 0.45712247490882874, 0.27360472083091736, 1.0324445962905884, -0.1444445699453354, 0.20709188282489777, -0.3660762906074524, -0.1928335577249527, -0.11721760779619217, -0.971756100654602, -1.092220425605774, -0.4653700292110443, -0.3028540015220642, -0.21874362230300903, 0.18972896039485931, 0.9690949320793152, 0.40867897868156433, -0.5384902358055115, -0.1825311779975891, 0.2762276828289032, 0.43820902705192566, -0.13215211033821106, -0.12742197513580322, 0.31556299328804016, -0.10495828837156296, -0.8596931099891663, 0.6139606237411499, 0.2564007341861725, 0.10448693484067917, -0.048178501427173615, -0.07980283349752426, -0.030168388038873672, 0.28102320432662964, 0.5226594805717468, 0.32175883650779724, -0.6729135513305664, -0.6460979580879211, 0.11037787795066833, -0.13535594940185547, -0.0339263379573822, 0.6761141419410706, -0.38029593229293823, 0.7116619944572449, 0.6056563258171082, 0.7109081745147705, -0.14840273559093475, 0.11550253629684448, 0.8052273988723755, -0.3346290588378906, 0.05977542698383331, -0.03971044346690178, 0.5093336701393127, 0.4927884638309479, -0.15317696332931519, 0.04432586207985878, 0.14308100938796997, -0.8340855240821838, -0.8528484106063843, 0.11993782222270966, -1.0834561586380005, -0.20433834195137024, 1.3047763109207153, -0.3173457086086273, -0.14455099403858185, -0.18773816525936127, -0.5158683061599731, 0.3360222280025482, -0.04387792572379112, 0.8146341443061829, 1.0155370235443115, -0.20842845737934113, -0.2722782492637634, -0.4688383638858795, 0.3405310809612274, 0.4542585611343384, -0.6579751968383789, 0.14556759595870972, 0.7412670850753784, 0.3802545964717865, -0.1127040758728981, 0.40732309222221375, 0.06922169029712677, 0.4063037037849426, -0.13108280301094055, -0.24463263154029846, -0.1886071413755417, -0.21457861363887787, -0.5563675761222839, 0.21163244545459747, 0.7405893206596375, 0.3285270929336548 ]
http://arxiv.org/abs/2402.05819v1
http://arxiv.org/pdf/2402.05819v1
Integrating Self-supervised Speech Model with Pseudo Word-level Targets from Visually-grounded Speech Model
2024-02-08T16:55:21
2024-02-08T16:55:21
Hung-Chieh Fang, Nai-Xuan Ye, Yi-Jen Shih, Puyuan Peng, Hsuan-Fu Wang, Layne Berry, Hung-yi Lee, David Harwath
eess.AS
eess.AS, cs.CL, cs.LG
Recent advances in self-supervised speech models have shown significant improvement in many downstream tasks. However, these models predominantly centered on frame-level training objectives, which can fall short in spoken language understanding tasks that require semantic comprehension. Existing works often rely on additional speech-text data as intermediate targets, which is costly in the real-world setting. To address this challenge, we propose Pseudo-Word HuBERT (PW-HuBERT), a framework that integrates pseudo word-level targets into the training process, where the targets are derived from a visually-ground speech model, notably eliminating the need for speech-text paired data. Our experimental results on four spoken language understanding (SLU) benchmarks suggest the superiority of our model in capturing semantic information.
[ -0.41711100935935974, -0.7320464253425598, 0.7752901315689087, 0.09218745678663254, -0.22964885830879211, -0.3305748999118805, -0.04247204214334488, -0.5685967803001404, 0.3226926922798157, 0.42270779609680176, -0.5291067361831665, -0.5109300017356873, -0.48690542578697205, -0.18155919015407562, -0.7054625749588013, 0.7940959334373474, -0.009572910144925117, -0.1226101666688919, -0.22100120782852173, 0.13264654576778412, -0.43918710947036743, -0.5909487009048462, -0.1624063402414322, -0.22738724946975708, 0.5556886792182922, 0.49649766087532043, 0.509876012802124, 0.7216829061508179, 0.21317821741104126, 0.2812022864818573, 0.20765084028244019, -0.15036384761333466, -0.6208858489990234, -0.2954384684562683, -0.2589256465435028, -0.34716758131980896, -0.44748178124427795, 0.507240355014801, 0.8499944806098938, 0.8858904838562012, -0.2067134976387024, 0.24225810170173645, 0.031447745859622955, 0.29576563835144043, -0.673550546169281, 0.24323709309101105, -0.6646724939346313, 0.15468542277812958, -0.05259041488170624, -0.07054930925369263, -0.3638501763343811, 0.28648340702056885, 0.4472000300884247, -0.771152675151825, 0.10891030728816986, 0.146315336227417, 1.0134334564208984, 0.18524233996868134, 0.08769779652357101, -0.0016695951344445348, -0.38115236163139343, 0.8472505807876587, -0.6139584183692932, 0.5230153799057007, 0.6560959219932556, 0.10784730315208435, 0.05101538076996803, -0.9133230447769165, -0.5888220071792603, -0.3420507311820984, -0.30013710260391235, 0.36442527174949646, -0.497877299785614, 0.2754523754119873, 0.2152000069618225, 0.10463658720254898, -0.6862466931343079, -0.07390966266393661, -0.3177124261856079, -0.23154890537261963, 0.46001479029655457, -0.07438962161540985, 0.34621208906173706, -0.4290449023246765, -0.4196580946445465, 0.008352512493729591, -0.20898808538913727, -0.023316640406847, 0.12859612703323364, 0.38949182629585266, -0.3882072865962982, 0.6260506510734558, -0.42885228991508484, 1.1150919198989868, 0.20576684176921844, -0.24561089277267456, 0.1286730319261551, -0.27691611647605896, -0.21470889449119568, 0.3894360661506653, 0.5999385714530945, 0.1755073517560959, 0.4365292489528656, -0.3413920998573303, -0.24911732971668243, 0.1590207815170288, 0.29565736651420593, -0.6236938834190369, -0.7345279455184937, 0.06839899718761444, -0.4499419927597046, -0.20918907225131989, 0.029531266540288925, -0.32251203060150146, 0.3756496012210846, -0.6198392510414124, 0.8458137512207031, -0.5112009048461914, -0.4883054196834564, -0.09555219858884811, -0.35460102558135986, 0.3102075159549713, 0.13872405886650085, -0.8070477843284607, 0.1613466739654541, 0.49411702156066895, 1.0052413940429688, -0.11563152819871902, -0.5306218266487122, -0.8918202519416809, 0.4140392243862152, -0.6617224812507629, 0.665536105632782, -0.4418846666812897, -0.45468670129776, -0.2635876536369324, -0.2997867465019226, -0.11912768334150314, -0.3896004259586334, 0.18900002539157867, -0.24675248563289642, 0.48980382084846497, -0.08963882923126221, -0.6372323632240295, -0.18840216100215912, 0.12338310480117798, -0.08056648820638657, 1.25137197971344, 0.35123956203460693, -0.8721198439598083, 0.42282232642173767, -0.3413757383823395, -0.3439774215221405, 0.20850272476673126, -0.38394057750701904, -0.2081688493490219, 0.2744099497795105, 0.29951605200767517, 0.6238226890563965, 0.04236665368080139, 0.622181236743927, -0.39322036504745483, -0.5256962180137634, -0.0061325803399086, -0.3029627203941345, 0.4005713164806366, 0.06505987048149109, -0.49551427364349365, 0.24224215745925903, -0.9649853706359863, 0.0994056686758995, 0.1556629091501236, 0.1835324466228485, -0.6139004826545715, -0.13221858441829681, 0.029788848012685776, 0.39413371682167053, 0.4583192765712738, -0.42378851771354675, -0.2756475508213043, -0.41740211844444275, 0.28795474767684937, 0.5564371943473816, -0.22110547125339508, 0.6172429323196411, -0.09790707379579544, 0.3511011600494385, -0.09723230451345444, 0.059944137930870056, -0.17405110597610474, -0.5150277614593506, -0.6836880445480347, -0.8335233330726624, 0.15507523715496063, 0.6416152119636536, -0.7667170166969299, 0.5263652801513672, -0.26209941506385803, -0.34795668721199036, -0.5681146383285522, 0.19270168244838715, 0.494671106338501, 1.098495602607727, 0.7110479474067688, -0.06265195459127426, -0.30165895819664, -1.0641074180603027, -0.2969350516796112, -0.5234792232513428, -0.07798007130622864, 0.23594503104686737, 0.3779350817203522, -0.042633216828107834, 1.4815640449523926, -0.47855186462402344, -0.5191991925239563, -0.5602734684944153, 0.42219895124435425, 0.15905839204788208, 0.4076455235481262, 0.5044127106666565, -0.7983090877532959, -0.4634664058685303, -0.3272196352481842, -0.8642122149467468, -0.428149938583374, 0.020527882501482964, -0.12783434987068176, -0.5203585624694824, 0.6084656119346619, -0.29401540756225586, 0.5750596523284912, 0.7004835605621338, -0.0018213812727481127, 0.3762974739074707, -0.27897271513938904, -0.12626774609088898, -0.8679906129837036, -0.07967951893806458, 0.14244547486305237, -0.36520469188690186, -0.8204222321510315, -0.37724077701568604, 0.1295740157365799, -0.4666300415992737, -0.5507760643959045, 0.5017220377922058, -0.39574989676475525, -0.3195294439792633, -0.5627613663673401, 0.4270554482936859, 0.017819494009017944, 0.4097846448421478, 0.6252806186676025, 0.8105601072311401, 0.7228282690048218, -0.4963141977787018, 0.3573835492134094, 0.1830603927373886, -0.30648213624954224, 0.7737622857093811, -0.8769326210021973, -0.007830766029655933, -0.27042725682258606, 0.2211172729730606, -1.1032772064208984, -0.36230120062828064, 0.3600873351097107, -0.3663269579410553, 0.42636165022850037, -0.2218600958585739, -0.26089340448379517, -0.1577928364276886, -0.1742008775472641, 0.30974575877189636, 0.4124547839164734, -0.6909560561180115, 0.5808431506156921, 0.5373693704605103, 0.10442960262298584, -0.3660587668418884, -1.035020112991333, 0.39223167300224304, -0.472050279378891, -0.6704797148704529, 0.7109434008598328, 0.4541052281856537, -0.1344650387763977, 0.21906380355358124, -0.07055625319480896, 0.13882233202457428, -0.24004335701465607, 0.015602647326886654, 0.13608136773109436, -0.2715238630771637, 0.011988665908575058, -0.037035051733255386, -0.5080683827400208, 0.07880859822034836, -0.597552478313446, 0.13821253180503845, 0.13356544077396393, -0.12362128496170044, -1.0003517866134644, 0.6413726210594177, 0.06527961045503616, -0.33918508887290955, 0.8712849617004395, 0.6780939102172852, -0.44917693734169006, -0.3079395592212677, -0.4686250686645508, -0.3126155138015747, -0.4341995418071747, 0.3362308740615845, -0.7770050168037415, -0.800833523273468, 0.00034056560252793133, -0.04632950574159622, -0.2952382564544678, 0.2651003301143646, 0.22001633048057556, -0.5700065493583679, 0.9330622553825378, 0.7567567229270935, -0.17956718802452087, 0.7024223208427429, -0.3647461235523224, 0.3273661732673645, -0.6927860975265503, 0.016374217346310616, -0.2045256346464157, -0.060281798243522644, -0.31119558215141296, -0.46545982360839844, 0.3209964334964752, 0.3851945698261261, 0.3014865815639496, 0.6593500375747681, -0.33975890278816223, -0.07127414643764496, 0.733917236328125, 0.09208029508590698, -0.02547815628349781, -0.04617130011320114, -0.057414572685956955, -0.2003808319568634, -1.0384427309036255, -0.3252326548099518, 0.716178834438324, 0.38599151372909546, 0.8355841636657715, -0.12309035658836365, 0.976260781288147, 0.17973975837230682, 0.21974657475948334, -0.7896085381507874, 0.5846365690231323, -0.02525373175740242, -0.5795179009437561, -0.4629282057285309, -0.5506228804588318, -0.5251991152763367, 0.5597211122512817, -0.061845339834690094, -0.823946475982666, 0.35139772295951843, 0.517974853515625, -0.03052387945353985, -0.0864398330450058, -0.8454902172088623, 1.2591313123703003, -0.24470223486423492, -0.24483337998390198, -0.2506020665168762, -0.727469801902771, 0.33111098408699036, -0.17455807328224182, 0.4344387352466583, -0.3016602694988251, 0.0317910835146904, 0.8905791640281677, -0.45577311515808105, 0.8532323241233826, -0.48228919506073, -0.10499720275402069, 0.38907021284103394, -0.2507610023021698, 0.5173467993736267, -0.11008540540933609, 0.1507411152124405, 0.3660922050476074, -0.022375931963324547, -0.4247951805591583, -0.4774843156337738, 0.5545883774757385, -0.5162600874900818, -0.46392685174942017, -0.5745106339454651, -0.29338446259498596, -0.4427850842475891, 0.0885142832994461, 0.42757242918014526, 0.7470870614051819, -0.10509159415960312, 0.009886286221444607, 0.5846712589263916, -0.1282125860452652, 0.2172694057226181, 0.5235674977302551, -0.2833230197429657, -0.3848299980163574, 1.1492506265640259, 0.128916397690773, 0.4451977014541626, 0.5198014378547668, 0.35890015959739685, -0.5821455121040344, -0.5873903632164001, -0.2981579005718231, 0.2412930130958557, -0.7570488452911377, 0.11862372606992722, -0.7392187118530273, -0.07417719811201096, -0.44192245602607727, -0.19492286443710327, -0.30976423621177673, -0.01569732464849949, -0.5435614585876465, -0.13526354730129242, 0.17889286577701569, 0.31000974774360657, -0.5188909769058228, 0.6784350872039795, -0.5077007412910461, 1.0141085386276245, 0.4825272560119629, -0.06630111485719681, -0.2962786555290222, -1.017060399055481, -0.13468089699745178, -0.00044864031951874495, 0.30400872230529785, -0.9801489114761353, 0.33151975274086, 0.48025253415107727, 0.6941428184509277, 0.3391090929508209, -0.01369123999029398, 1.2676875591278076, -0.702064037322998, 0.66949862241745, 0.5252535343170166, -1.1551353931427002, 0.979381799697876, -0.3212597072124481, 0.3640647232532501, 0.6349945664405823, 0.3130485713481903, -0.3700977861881256, -0.4565519392490387, -0.5234643816947937, -0.618954598903656, 1.046477198600769, 0.18208491802215576, 0.2719200849533081, -0.1674923151731491, 0.2426915019750595, -0.3130529224872589, 0.027809031307697296, -0.7515987157821655, -0.1324300318956375, -0.4651332199573517, -0.47439852356910706, -0.19887995719909668, -0.3918071985244751, 0.07276778668165207, -0.4295383393764496, 0.5963906049728394, -0.17168569564819336, 0.034357476979494095, 0.4011368453502655, -0.5373367667198181, 0.11767939478158951, -0.09325263649225235, 0.24424348771572113, 0.6054308414459229, -0.2552799880504608, 0.23681354522705078, 0.18689224123954773, -0.4286181926727295, 0.03914046287536621, 0.19055305421352386, -0.12435350567102432, 0.10048069804906845, 0.6909127235412598, 0.8252706527709961, 0.7364679574966431, -0.5289591550827026, 0.6657142639160156, 0.12361283600330353, -0.2713247239589691, -0.14063411951065063, -0.032431453466415405, 0.024843866005539894, -0.05489907041192055, 0.3339107036590576, -0.4101560413837433, 0.30178314447402954, -0.5787928104400635, 0.5832529067993164, 0.43981385231018066, -0.6873699426651001, -0.09803380817174911, 0.7131950259208679, 0.07032328844070435, -0.03269893303513527, 0.3866109251976013, -0.11844056099653244, -0.5000421404838562, 0.08194965124130249, 0.6606603860855103, 0.7031904458999634, -0.25832024216651917, 0.33314406871795654, 0.1354668289422989, 0.3234657347202301, -0.008411062881350517, 0.30314934253692627, -0.5717219114303589, -0.5781434774398804, -0.591705322265625, -0.7039550542831421, -0.2715557813644409, -0.00919465534389019, -0.6708325743675232, 0.39496028423309326, -0.24043653905391693, -0.21359747648239136, 0.025012699887156487, -0.4075908958911896, -0.23577305674552917, 0.6482197046279907, 0.3693704307079315, 0.5829027891159058, -0.6670536398887634, 1.049513339996338, 0.46243616938591003, -0.24001073837280273, -0.9043832421302795, 0.09216690808534622, -0.07933307439088821, -0.7899402976036072, 0.827099084854126, 0.38999873399734497, -0.6256574392318726, 0.3076970875263214, -0.3239806592464447, -0.916949450969696, 0.6304895281791687, 0.39286428689956665, -0.6189999580383301, -0.0675148293375969, 0.14004793763160706, 0.33757278323173523, -0.28606513142585754, -0.09274392575025558, 0.4868731200695038, 0.3691868484020233, 0.18519307672977448, -0.8825942277908325, -0.47247087955474854, 0.19937428832054138, 0.10099732130765915, 0.12888093292713165, -0.15416188538074493, 0.5392533540725708, 0.11683252453804016, -0.17055611312389374, -0.116848424077034, 1.1700611114501953, 0.04394115135073662, 0.4512284994125366, 0.7309368848800659, 0.7233874201774597, 0.3837229013442993, -0.01612384431064129, 0.7547249794006348, -0.31985342502593994, 0.28582558035850525, 1.3212169408798218, -0.015762172639369965, 0.9193637371063232, 0.3562530279159546, -0.12723787128925323, 0.25397515296936035, 0.5644663572311401, 0.26990070939064026, 0.8715515732765198, 0.20450206100940704, -0.1463218331336975, -0.39095407724380493, -0.17720912396907806, -0.3747401237487793, 0.8710948824882507, 0.5144906640052795, -0.2263675481081009, -0.20770491659641266, 0.1400623619556427, -0.2372724711894989, 0.1546790897846222, -0.3010278046131134, 0.885002613067627, 0.3785977363586426, -0.4219287931919098, 0.6145171523094177, 0.08754461258649826, 0.6207526922225952, -0.825276255607605, 0.016439467668533325, 0.12332139164209366, -0.06407225877046585, -0.18323910236358643, -0.6172650456428528, 0.29109975695610046, 0.18444415926933289, 0.07587550580501556, -0.529955267906189, 0.7907953262329102, -0.7312244772911072, -0.48366475105285645, 0.5295363068580627, 0.37930887937545776, 0.272268146276474, -0.368253618478775, -0.9390100836753845, 0.010463167913258076, -0.32357561588287354, 0.0048935734666883945, 0.2342577874660492, 0.45477116107940674, 0.18181167542934418, 0.23109664022922516, 0.6720787286758423, 0.053475264459848404, 0.12002349644899368, 0.21034787595272064, 0.6155014634132385, -0.6604200005531311, -0.8707444667816162, -0.7213294506072998, 0.3169878423213959, -0.1808493584394455, -0.27712133526802063, 0.7876321077346802, 0.46376752853393555, 0.7318660616874695, 0.19311514496803284, 0.5224565863609314, 0.14302241802215576, 0.6338569521903992, -0.6793724894523621, 0.46322813630104065, -0.7492499947547913, -0.28587526082992554, -0.5506672859191895, -1.0827736854553223, -0.08225266635417938, 1.0594501495361328, -0.6174787878990173, -0.001201303326524794, 0.4665095806121826, 0.4378916323184967, -0.2941811978816986, -0.09217019379138947, 0.7498854398727417, -0.05814318731427193, 0.13386091589927673, 0.20578263700008392, 0.9938124418258667, -0.005938397720456123, 0.3342573046684265, -0.5600654482841492, -0.5993989109992981, -0.1622607409954071, -0.7914943695068359, -0.9499587416648865, -0.525692343711853, -0.39643704891204834, 0.008495832793414593, -0.039553094655275345, 0.565520703792572, 1.1033055782318115, -0.6921377778053284, -0.16782288253307343, -0.1491835117340088, -0.3754751980304718, 0.005835442338138819, -0.23663349449634552, 0.38825082778930664, -0.45138001441955566, -0.5477432608604431, 0.8419061899185181, 0.7441204190254211, 0.054700516164302826, -0.2303806096315384, 0.05519920587539673, -0.241965651512146, 0.01713288016617298, 0.6202085018157959, 0.2371377944946289, -0.9409772157669067, -0.29100164771080017, -0.13023343682289124, -0.09270981699228287, -0.10092218965291977, 0.6735363602638245, -0.9714612364768982, 0.5259246230125427, 0.19291952252388, 0.4815590977668762, 0.7785100936889648, 0.320342481136322, 0.5489637851715088, -0.6859403252601624, 0.5267409086227417, 0.16070328652858734, 0.3385962247848511, 0.4579658806324005, -0.12305787205696106, 0.15028223395347595, 0.4208536744117737, 0.08025608956813812, -0.7845070958137512, 0.15120534598827362, -0.9160719513893127, -0.34003645181655884, 0.8896918892860413, -0.24630926549434662, -0.2439063936471939, -0.1750154346227646, -0.19311325252056122, 0.25247329473495483, -0.1219978779554367, 0.4065118432044983, 0.6666248440742493, -0.23717829585075378, -0.22865842282772064, -0.5820448398590088, 0.4581207036972046, 0.6393826007843018, -0.790841281414032, -0.1765158474445343, 0.48377615213394165, 0.01884353905916214, 0.08846429735422134, 0.7759040594100952, 0.1384887844324112, 0.22602933645248413, 0.07629196345806122, -0.274842768907547, 0.15238447487354279, -0.6386481523513794, -0.17043723165988922, 0.003794650547206402, -0.1056349128484726, -0.5080950856208801 ]
http://arxiv.org/abs/2402.05813v1
http://arxiv.org/pdf/2402.05813v1
Selective Forgetting: Advancing Machine Unlearning Techniques and Evaluation in Language Models
2024-02-08T16:50:01
2024-02-08T16:50:01
Lingzhi Wang, Xingshan Zeng, Jinsong Guo, Kam-Fai Wong, Georg Gottlob
cs.CL
cs.CL, cs.AI
The aim of this study is to investigate Machine Unlearning (MU), a burgeoning field focused on addressing concerns related to neural models inadvertently retaining personal or sensitive data. Here, a novel approach is introduced to achieve precise and selective forgetting within language models. Unlike previous methodologies that adopt completely opposing training objectives, this approach aims to mitigate adverse effects on language model performance, particularly in generation tasks. Furthermore, two innovative evaluation metrics are proposed: Sensitive Information Extraction Likelihood (S-EL) and Sensitive Information Memory Accuracy (S-MA), designed to gauge the effectiveness of sensitive information elimination. To reinforce the forgetting framework, an effective method for annotating sensitive scopes is presented, involving both online and offline strategies. The online selection mechanism leverages language probability scores to ensure computational efficiency, while the offline annotation entails a robust two-stage process based on Large Language Models (LLMs).
[ -0.3080299198627472, -0.7386512160301208, 0.18333305418491364, -0.04248175770044327, -0.09218651056289673, 0.25661125779151917, -0.5097490549087524, -0.011614055372774601, -0.24904602766036987, 0.4340328574180603, -0.6419919729232788, -0.2995266914367676, -0.37170833349227905, -0.25303414463996887, -0.29800230264663696, 1.1466978788375854, -0.1675061732530594, -0.0011040312238037586, -0.2328619360923767, -0.486287921667099, -0.5210350751876831, -0.7623904347419739, -0.48338189721107483, -0.3648069202899933, 0.5908985733985901, 0.28842198848724365, 0.17490534484386444, 0.5788021683692932, 0.5685945153236389, 0.17533063888549805, -0.17789888381958008, 0.2558041512966156, -0.8290876150131226, 0.2444147914648056, -0.49521300196647644, -0.3923390209674835, -0.2103428989648819, -0.09766694903373718, 0.9327491521835327, 0.9382930994033813, -0.19317691028118134, 0.5074825286865234, 0.14187517762184143, 0.797230064868927, -1.3034234046936035, -0.2504516541957855, -1.1978449821472168, 0.25915154814720154, -0.30883240699768066, -0.01285872794687748, -0.6458699703216553, 0.030507966876029968, 0.01643701270222664, -0.4361802935600281, 0.3791691064834595, -0.3418060541152954, 0.7941455841064453, 0.2556328773498535, -0.07122541218996048, -0.2361789047718048, -0.8342200517654419, 1.205497145652771, -0.3381117284297943, 0.3538355827331543, 1.0845153331756592, 0.22674669325351715, 0.23583222925662994, -0.567415714263916, 0.0633433535695076, -0.12015166133642197, 0.31465083360671997, 0.29734596610069275, -0.34115085005760193, -0.18273258209228516, 0.2506873905658722, 0.279410719871521, -0.2916291356086731, 0.1255570352077484, -0.5206148624420166, -0.40356138348579407, 0.4661010503768921, -0.021653534844517708, -0.1083398163318634, 0.37935641407966614, -0.2536979019641876, 0.39892998337745667, -0.7576507925987244, -0.2826217710971832, 0.5091112852096558, 0.22409789264202118, 0.06885192543268204, 0.5397705435752869, -0.1777084320783615, 0.2607972025871277, 0.07180796563625336, 0.07380005717277527, 0.3226035237312317, -0.04128390550613403, -0.09183549880981445, -0.6832927465438843, 0.7192865610122681, 0.03079189918935299, 0.49002605676651, -0.44890469312667847, -0.4030880033969879, 0.07684976607561111, 0.44691234827041626, -0.36888182163238525, -0.20597600936889648, 0.046896792948246, -0.6073265671730042, -0.1288633942604065, -0.29546669125556946, -0.6561279892921448, -0.3585538864135742, 0.023546678945422173, 0.346882700920105, -0.6135581135749817, -0.29492679238319397, -0.2841801941394806, -0.16539287567138672, -0.29352930188179016, -0.036079615354537964, -1.100605845451355, 0.25729963183403015, 0.2516539990901947, 0.491196870803833, -0.25188636779785156, -0.41823145747184753, -0.44743263721466064, 0.3144952058792114, -0.14132611453533173, 0.32992494106292725, -0.6946219205856323, -0.3627622425556183, -0.0347352959215641, -0.2083979994058609, -0.35180506110191345, -0.8898727297782898, 0.5020763874053955, -0.6054642796516418, 0.2698127329349518, -0.1334439218044281, -0.5544593334197998, -0.46714362502098083, 0.22166617214679718, -0.6745473742485046, 1.0792261362075806, 0.40857815742492676, -0.6995541453361511, 0.3059682548046112, -0.5375800132751465, -0.21089297533035278, -0.12020141631364822, 0.11699423938989639, -0.8193618655204773, 0.28599438071250916, -0.04210139811038971, 0.4375384449958801, -0.09417308121919632, 0.45999348163604736, -0.4256153702735901, -0.30482012033462524, 0.3578130304813385, -0.678364634513855, 0.7425299882888794, 0.4242836534976959, -0.2307083159685135, 0.10115019977092743, -0.666989266872406, -0.05241886153817177, 0.3428820073604584, -0.5062935948371887, -0.31011709570884705, -0.03200776129961014, -0.26232320070266724, 0.034192778170108795, 0.2889292538166046, -0.3202955424785614, -0.1691150814294815, -0.15587112307548523, 0.4917006492614746, 0.7765762209892273, 0.06255292892456055, 0.5377513766288757, -0.6023235321044922, 0.44762811064720154, 0.12577427923679352, 0.33452460169792175, -0.39265376329421997, -0.47414430975914, -0.9681190252304077, -0.18807289004325867, 0.3061429262161255, 0.5169506669044495, -0.3568684756755829, 0.23974475264549255, 0.10357857495546341, -0.45998916029930115, -0.5988317131996155, 0.528617262840271, 0.8874853253364563, 0.3569111227989197, 0.3094205856323242, -0.32584935426712036, -0.7083183526992798, -0.8778347969055176, -0.43467745184898376, -0.20191815495491028, -0.042585279792547226, 0.20644539594650269, 0.5041556358337402, -0.43564897775650024, 0.6373271346092224, -0.17133161425590515, -0.3485180735588074, -0.28946447372436523, 0.03440162539482117, -0.3330378532409668, 0.36027392745018005, 0.3487321138381958, -0.6065827012062073, -0.22733478248119354, -0.15659353137016296, -0.7842631936073303, 0.10487430542707443, -0.010578223504126072, 0.07259644567966461, 0.3182368278503418, 0.27501872181892395, -0.44531887769699097, 0.3789714276790619, 0.31435996294021606, 0.07837169617414474, 0.43959859013557434, -0.142396479845047, -0.012253247201442719, -0.6551293730735779, 0.47209352254867554, -0.3120628893375397, -0.00573265366256237, -0.7438080310821533, 0.13701647520065308, 0.38102251291275024, 0.021884920075535774, -0.6990172863006592, 0.6575908660888672, -0.74979168176651, 0.32204464077949524, -0.2198476940393448, -0.010644523426890373, -0.009875249117612839, 0.7003622055053711, -0.26006922125816345, 0.40327516198158264, 0.4472980499267578, -0.740913450717926, -0.22276701033115387, -0.0961141288280487, -0.10184692591428757, 0.00823428388684988, 0.11729133874177933, 0.49144747853279114, -0.30014875531196594, -0.46248069405555725, -0.6862906217575073, 0.02891409955918789, 0.2779925763607025, -0.4488109052181244, 0.46366456151008606, -0.13356363773345947, -0.1467002034187317, -0.2939537763595581, -0.2319488376379013, 0.4985317289829254, 0.5075290203094482, -0.07704854011535645, 0.3412211835384369, 0.8130496740341187, -0.09521635621786118, -0.5952695608139038, -0.6665319800376892, -0.1093536987900734, -0.42891427874565125, 0.06310909986495972, 0.24363400042057037, -0.16993916034698486, -0.24793723225593567, -0.036602724343538284, 0.00478651886805892, -0.4931265413761139, 0.5464980006217957, 0.10133066773414612, 0.0577344074845314, 0.04408308491110802, 0.31207895278930664, -0.09832347929477692, -0.2354448288679123, -0.07698322087526321, -0.12046866118907928, 0.5292330384254456, 0.14616917073726654, -0.5041599869728088, -0.3317456841468811, 0.6320101022720337, 0.31534212827682495, -0.37703391909599304, 0.5718966126441956, 0.590057373046875, -0.9163820743560791, -0.35393238067626953, -0.7605916857719421, -0.19244293868541718, -0.38893237709999084, 0.651229977607727, -0.30597004294395447, -0.8811070322990417, 0.7056308388710022, -0.03303765878081322, 0.16217505931854248, 0.38601207733154297, 0.7056085467338562, -0.11154843121767044, 1.0507110357284546, 0.9368184208869934, -0.3072325587272644, 0.6219030022621155, -0.08775708079338074, 0.05095912516117096, -0.806126594543457, -0.2046007663011551, -0.34128108620643616, -0.21352054178714752, -0.1327449232339859, -0.3157021403312683, -0.127412810921669, 0.4817356765270233, -0.3568359911441803, 0.047416966408491135, -0.385587215423584, 0.43541836738586426, 0.6521220803260803, 0.09555217623710632, 0.09247872978448868, 0.21140789985656738, -0.42161405086517334, -0.2301313728094101, -0.7464108467102051, -0.5665562748908997, 1.4525285959243774, 0.37219393253326416, 0.4134160876274109, -0.14794401824474335, 0.3741587698459625, 0.1584140807390213, 0.5979142785072327, -0.5740687251091003, 0.4035232365131378, -0.2071315348148346, -0.9811837077140808, -0.21186991035938263, -0.5723505616188049, -0.8662583827972412, -0.023303847759962082, 0.07793828845024109, -0.9857966303825378, -0.32745030522346497, 0.305082231760025, -0.5536742806434631, 0.6475008726119995, -0.8231322765350342, 0.5831731557846069, -0.17720453441143036, -0.3983822166919708, -0.2579166293144226, -0.382992684841156, 0.45796528458595276, -0.5777217745780945, 0.020218919962644577, -0.32033053040504456, -0.030414218083024025, 0.8652307391166687, 0.16221307218074799, 1.0573135614395142, -0.2315714955329895, 0.3733566701412201, 0.5512272119522095, 0.2409602701663971, 0.2989456355571747, -0.34523093700408936, -0.5844526886940002, 0.3879425823688507, -0.467233806848526, -0.30040881037712097, -0.2836942970752716, 0.501213014125824, -0.5339494943618774, -0.4385415017604828, -0.12557445466518402, -0.7114280462265015, -0.38825228810310364, 0.39489296078681946, 0.38566404581069946, -0.31173089146614075, -0.37792474031448364, 0.10969655960798264, 0.850456714630127, -0.2930642366409302, 0.5939816236495972, 0.5836436152458191, -0.0350881852209568, -0.5800683498382568, 1.037945032119751, 0.4485167860984802, 0.3551578223705292, 0.5100570321083069, 0.25609123706817627, -0.08235766738653183, -0.6097356677055359, -0.3725399672985077, 0.26420533657073975, -0.7209156155586243, -0.1852641999721527, -0.7286953330039978, -0.2946871817111969, -0.17540642619132996, -0.015250854194164276, -0.584874153137207, -0.35691940784454346, -0.5130786895751953, -0.19017504155635834, 0.2139735370874405, 0.515775203704834, 0.09153511375188828, 0.3658973276615143, -0.7640382051467896, 0.25315210223197937, -0.026897767558693886, 0.4735695421695709, 0.05163636431097984, -0.7493873834609985, -0.3563070595264435, 0.1958317756652832, -0.7883102297782898, -0.6060866117477417, 0.3370038568973541, 0.44041547179222107, 1.0446833372116089, 0.6786724328994751, -0.0908554196357727, 0.5228540301322937, -0.2023918777704239, 0.39103245735168457, 0.16647869348526, -0.8639401197433472, 0.7909455299377441, -0.42022770643234253, 0.5373568534851074, 0.7591637372970581, 0.3594241738319397, -0.46146252751350403, -0.4650719463825226, -0.6424612402915955, -0.9376522302627563, 0.7549604773521423, 0.1507321447134018, 0.11541009694337845, 0.08523543924093246, 0.3884884715080261, 0.40651124715805054, 0.3074316084384918, -0.8260061144828796, -0.3198103606700897, 0.23363329470157623, -0.32972899079322815, 0.021107440814375877, -0.6175112128257751, -0.08760566264390945, 0.08265037089586258, 0.7697307467460632, 0.11138036847114563, 0.11518330127000809, -0.30181875824928284, -0.3845096826553345, -0.2362038493156433, 0.09235993772745132, 0.46769481897354126, 0.7247010469436646, -0.03618200868368149, -0.0007108444115146995, 0.6912549138069153, -0.5760331749916077, 0.08878582715988159, -0.43764030933380127, -0.6812831163406372, -0.11983578652143478, 0.09817858040332794, 0.5450770258903503, 0.30950769782066345, -0.7548201084136963, 0.3307316303253174, 0.18113024532794952, -0.09557218104600906, -0.26837852597236633, 0.05431659519672394, 0.15180730819702148, -0.29792043566703796, 0.1986929327249527, 0.3268057405948639, -0.030272038653492928, -0.4710024893283844, 0.4508623480796814, 0.29408663511276245, -0.8408107161521912, -0.41843193769454956, 0.6334803700447083, -0.03678077459335327, -0.2967163622379303, 0.67803555727005, -0.29002460837364197, -0.3936575651168823, 0.4294222891330719, 0.5991535782814026, 1.2060399055480957, -0.6763716340065002, -0.05871201306581497, 0.36655035614967346, 0.42801204323768616, -0.06459135562181473, 0.3413979411125183, -0.14176735281944275, -0.6388205289840698, -0.04260076582431793, -0.4754694104194641, -0.16634820401668549, 0.34364306926727295, -0.6653900146484375, 0.1237633228302002, -0.8161823153495789, -0.48341962695121765, -0.2541659474372864, -0.13030603528022766, -0.49979087710380554, 0.18974241614341736, 0.15935298800468445, 0.6214737296104431, -0.728955090045929, 0.7328544855117798, 0.5365955233573914, -0.33119896054267883, -0.3987363278865814, -0.1581672877073288, 0.3968655467033386, -0.7885845899581909, 0.19008734822273254, 0.2760621905326843, -0.00768194580450654, -0.15115691721439362, 0.09149034321308136, -0.8057934045791626, 0.758560061454773, 0.6602737307548523, -0.5960768461227417, 0.32376471161842346, 0.09234386682510376, 0.20992961525917053, -0.12918239831924438, 0.42056605219841003, 0.5072153210639954, 0.22483696043491364, -0.2645275592803955, -0.7979652881622314, -0.23082910478115082, -0.44314655661582947, -0.2713935673236847, 0.37553346157073975, -0.9176121950149536, 0.8504820466041565, -0.4229549765586853, -0.4338032007217407, 0.05395636707544327, 0.3190951943397522, 0.2469996213912964, 0.42403802275657654, 0.34096547961235046, 0.6053212285041809, 1.1277737617492676, 0.008124451152980328, 0.4954470098018646, 0.019321918487548828, 0.18706125020980835, 1.1094944477081299, -0.3336816728115082, 0.7358136773109436, 0.427896112203598, 0.038780324161052704, -0.1800803244113922, 0.5533176064491272, 0.05845505744218826, 0.6041690111160278, 0.2687121629714966, -0.36362260580062866, -0.17013287544250488, -0.1893157809972763, -0.15014950931072235, 0.496792197227478, 0.3654422163963318, -0.6003971695899963, -0.18650975823402405, 0.21084801852703094, 0.22790583968162537, 0.23902088403701782, -0.3273821473121643, 0.8747234344482422, 0.19439011812210083, -0.7023938298225403, 0.5251275897026062, 0.2375091314315796, 0.3944045305252075, -0.7699161767959595, 0.3618099093437195, -0.22723479568958282, 0.6053115129470825, 0.0069551304914057255, -0.38875332474708557, 0.4953926205635071, 0.3099307417869568, -0.6752597689628601, -0.4273439347743988, 0.6806752681732178, -0.3611912727355957, -0.5880332589149475, 0.688208818435669, 0.41723620891571045, 0.18471373617649078, -0.2661430537700653, -0.8754242062568665, 0.1519078016281128, 0.3406792879104614, -0.3500290513038635, 0.4236904978752136, 0.3606768250465393, -0.5623928904533386, 1.1038275957107544, 0.5653007626533508, 0.008792126551270485, 0.0942399799823761, 0.48370516300201416, 0.7020667791366577, -0.8131490349769592, -0.24583496153354645, -0.9578803777694702, 0.4693108797073364, 0.13026665151119232, -0.715148389339447, 0.7218285799026489, 0.7357472777366638, 1.0163931846618652, -0.04596959054470062, 1.0385441780090332, 0.4634438455104828, 0.7941619753837585, -0.3359004557132721, 1.0376861095428467, -0.19272644817829132, 0.3452623188495636, -0.07957329601049423, -0.7154784202575684, -0.5889574885368347, 0.2737845778465271, -0.20767661929130554, 0.3625560402870178, 0.6517629027366638, 0.8490793704986572, 0.009321345016360283, -0.24151663482189178, 0.6295119524002075, -0.13776911795139313, 0.006836157292127609, 0.8979324102401733, 1.0673054456710815, -0.3962942659854889, 0.6646137237548828, -0.4620988667011261, -0.26021814346313477, -0.1370597928762436, -0.5789946913719177, -0.977528989315033, -0.5076318383216858, -0.4609553813934326, 0.15341979265213013, 0.3327837586402893, 0.4267357587814331, 0.7382945418357849, -1.026456594467163, -0.18514475226402283, 0.06086868420243263, 0.16648326814174652, -0.2875710427761078, -0.12106898427009583, 0.16205835342407227, -0.3936873972415924, -0.5555302500724792, 0.44675740599632263, 0.5570451021194458, 0.026797788217663765, -0.19028225541114807, -0.038768403232097626, -0.290237694978714, -0.11292892694473267, 0.21204201877117157, 0.3237990140914917, -0.6076661348342896, -0.03865497186779976, -0.0032533390913158655, -0.09635721892118454, -0.056476376950740814, 0.8496190905570984, -0.6377438902854919, 0.6066349148750305, 0.315446674823761, 0.5533999800682068, 0.4263803958892822, -0.13748490810394287, 0.5735978484153748, -0.7109688520431519, 0.2741299569606781, 0.5548120141029358, 0.4488711655139923, 0.5003572702407837, -0.2671893239021301, 0.27515512704849243, 0.2510314881801605, -0.26780053973197937, -0.9331344962120056, 0.22294171154499054, -0.3967190384864807, -0.3392910361289978, 1.010941982269287, -0.4522426426410675, -0.18808192014694214, -0.3848566710948944, 0.02388915978372097, 0.4382399022579193, -0.048760492354631424, 0.9905140399932861, 0.7081360220909119, 0.38631460070610046, -0.10515610873699188, -0.5682441592216492, 0.26933830976486206, 0.6519840359687805, -0.35702449083328247, 0.3233545422554016, 0.15078023076057434, 0.29174086451530457, -0.07289014756679535, 0.7385337948799133, -0.32264649868011475, 0.230180025100708, 0.08260773122310638, 0.2360907644033432, -0.012227145954966545, -0.5642856359481812, -0.4472842812538147, 0.36495906114578247, -0.002195484936237335, -0.35142645239830017 ]
http://arxiv.org/abs/2402.05812v3
http://arxiv.org/pdf/2402.05812v3
FAQ-Gen: An automated system to generate domain-specific FAQs to aid content comprehension
2024-02-08T16:49:41
2024-05-09T10:29:16
Sahil Kale, Gautam Khaire, Jay Patankar
cs.CL
cs.CL
Frequently Asked Questions (FAQs) refer to the most common inquiries about specific content. They serve as content comprehension aids by simplifying topics and enhancing understanding through succinct presentation of information. In this paper, we address FAQ generation as a well-defined Natural Language Processing task through the development of an end-to-end system leveraging text-to-text transformation models. We present a literature review covering traditional question-answering systems, highlighting their limitations when applied directly to the FAQ generation task. We propose a system capable of building FAQs from textual content tailored to specific domains, enhancing their accuracy and relevance. We utilise self-curated algorithms to obtain an optimal representation of information to be provided as input and also to rank the question-answer pairs to maximise human comprehension. Qualitative human evaluation showcases the generated FAQs as well-constructed and readable while also utilising domain-specific constructs to highlight domain-based nuances and jargon in the original content.
[ -0.8179154992103577, -1.096524953842163, 0.3817232847213745, -0.20637741684913635, -0.3065554201602936, -0.02141108363866806, 0.20627421140670776, -0.05914687737822533, -0.006702322047203779, 0.9041805863380432, -0.850973904132843, -0.31909364461898804, -0.16858477890491486, 0.6389095187187195, -0.6803504824638367, 1.1583783626556396, 0.028124570846557617, -0.4601823687553406, -0.6510822176933289, -0.00492808036506176, -0.23339907824993134, -0.4725908935070038, -0.5015198588371277, -0.06303246319293976, 0.1266268640756607, 0.41804829239845276, 0.7710555791854858, 0.36664465069770813, -0.02468661591410637, 0.20974363386631012, 0.18538787961006165, 0.822555661201477, -0.5382618308067322, 0.502699077129364, -0.28062206506729126, -0.06709065288305283, -0.16103780269622803, -0.17960627377033234, -0.08611655980348587, 0.6912578344345093, 0.07242663949728012, 0.383633553981781, 0.09647206217050552, 0.8097726702690125, -0.28379809856414795, -0.43776988983154297, -0.5475041270256042, -0.0251929871737957, 0.020967593416571617, -0.5203596353530884, -0.2688497006893158, -0.37823376059532166, 0.20500950515270233, -0.9835973978042603, 0.5871174931526184, 0.16257289052009583, 0.7738590240478516, 0.42651283740997314, -0.5436745285987854, -0.7237577438354492, -0.49315136671066284, 0.36258748173713684, -0.2600592076778412, 0.4473439157009125, 0.3648846745491028, 0.1987575888633728, -0.3633909821510315, -0.5264225602149963, -0.6459023356437683, 0.2607477307319641, -0.03310287371277809, -0.0006154536968097091, -0.27470076084136963, -0.2555761933326721, -0.02574201300740242, 0.551007091999054, -0.8391307592391968, -0.611673891544342, -0.3353683054447174, -0.19732366502285004, 0.7048117518424988, 0.28981760144233704, 0.5442191362380981, -0.34478670358657837, -0.09526047110557556, 0.2692559063434601, -0.6313421726226807, 0.03721532225608826, 0.34801357984542847, -0.04535730183124542, 0.36074957251548767, 0.42676571011543274, -0.5983241200447083, 0.8793906569480896, 0.6530210375785828, 0.015248694457113743, 0.035724423825740814, -0.5477592945098877, -0.21467749774456024, -0.48618853092193604, 0.5451611876487732, 0.33556845784187317, 0.4207908511161804, -0.39437031745910645, -0.2305297553539276, -0.4353877007961273, 0.4468950033187866, -0.36871230602264404, -0.02491029165685177, 0.49394842982292175, -0.17724797129631042, -0.39018338918685913, 0.048844076693058014, -0.6608412265777588, -0.20782296359539032, -0.40137797594070435, 0.3731944262981415, -0.31773024797439575, -0.10097593069076538, 0.11711433529853821, -0.22952081263065338, 0.4138624966144562, 0.4077570140361786, -0.7958391904830933, 0.1851852983236313, 0.42293286323547363, 0.5058783888816833, -0.33529946208000183, 0.09993834048509598, -0.24755489826202393, 0.46017372608184814, -0.10507111996412277, 0.9887250661849976, -0.06637011468410492, -0.4786778390407562, 0.3389362692832947, 0.11326396465301514, 0.31215178966522217, -0.41080546379089355, 0.3321601152420044, -0.7336575984954834, 0.5027086734771729, -0.01962549239397049, -0.4600485861301422, 0.09141504764556885, 0.2778641879558563, -0.7013537883758545, 0.9278156161308289, 0.3442593514919281, -0.6056309342384338, 0.13432632386684418, -0.6155385375022888, -0.787815511226654, 0.3320049047470093, -0.1778811812400818, -0.07979534566402435, -0.1337091326713562, 0.45490047335624695, 0.6294310092926025, -0.7685750126838684, 0.2705347239971161, 0.4311846196651459, 0.1425866037607193, 0.3149253726005554, -0.2533070147037506, 0.601201593875885, 0.5444058179855347, -0.15076692402362823, -0.13919034600257874, -0.35531550645828247, 0.23093442618846893, 0.2842826545238495, -0.2940995693206787, -0.1554121971130371, -0.2775346636772156, -0.2755551338195801, 0.17889489233493805, 0.5137986540794373, -0.21978971362113953, -0.04918414354324341, -0.3343326151371002, 0.3973110318183899, 0.30907300114631653, 0.6467617750167847, 0.6795797348022461, -0.717624843120575, 0.6484484076499939, -0.16610375046730042, 0.29384762048721313, -0.4171472191810608, -0.6737564206123352, -0.6348411440849304, 0.2772965431213379, -0.044804397970438004, 0.5878452658653259, -1.071315884590149, 0.536658763885498, -0.14296147227287292, -0.4882703721523285, -0.35696035623550415, 0.5863500237464905, 0.09427828341722488, 0.4789999723434448, 0.37661343812942505, -0.0963333323597908, -0.26349401473999023, -0.6050043106079102, 0.06994079053401947, -0.0549892857670784, -0.18272177875041962, 0.35493019223213196, 0.2696334719657898, -0.06911027431488037, 1.170393466949463, -0.7120025753974915, 0.03862292692065239, -0.31065085530281067, 0.31426241993904114, -0.07554128766059875, 0.2559332847595215, 0.4994050860404968, -1.0914607048034668, -0.5818385481834412, -0.12029912322759628, -0.7333043217658997, -0.39304468035697937, -0.16246125102043152, -0.5553897619247437, 0.22627511620521545, 0.35237395763397217, -0.542896032333374, 0.25507670640945435, 0.10592707991600037, -0.3338276445865631, 0.5986725091934204, 0.07548221945762634, 0.37827569246292114, -1.15628182888031, 0.28294146060943604, -0.18400989472866058, -0.19799888134002686, -0.890879213809967, 0.08886928856372833, -0.21711325645446777, -0.4351850748062134, -0.2125195413827896, 0.7189987897872925, -0.2996341288089752, 0.11386200785636902, -0.1803707778453827, 0.11186359077692032, 0.4948378801345825, 0.4974716305732727, 0.01698002591729164, 0.8769330978393555, 0.15261155366897583, -0.9297806024551392, 0.316203236579895, 0.5994403958320618, -0.06662728637456894, 0.5843029022216797, -0.6329780220985413, 0.44633978605270386, -0.2549273669719696, 0.08343328535556793, -1.0830637216567993, -0.51128089427948, 0.37919971346855164, -0.7836545705795288, -0.15124580264091492, -0.08430887013673782, -0.44955945014953613, -0.36316126585006714, -0.04420607164502144, 0.1746644824743271, 0.5537736415863037, -0.35869190096855164, 0.257003515958786, 0.4330822825431824, -0.5032914280891418, -0.394794225692749, -0.31894761323928833, -0.14499016106128693, 0.30712127685546875, -0.9680238962173462, 0.22049874067306519, -0.37932613492012024, -0.15018194913864136, -0.003630019025877118, -0.15113258361816406, -0.41954970359802246, 0.18856266140937805, 0.19216375052928925, -0.05027366429567337, -0.27410855889320374, 0.34178346395492554, 0.6767385005950928, 0.19278444349765778, 0.07429657876491547, -0.3056240677833557, 0.6172558069229126, 0.2286282479763031, -0.057960376143455505, -0.11289246380329132, 1.0559914112091064, 0.6587546467781067, -0.36429068446159363, 0.13032636046409607, 0.2975642681121826, -0.23080570995807648, -0.4720151126384735, -0.49441179633140564, -0.01676418073475361, -0.4746374189853668, -0.02443111501634121, -0.4374687075614929, -0.9075130820274353, 0.20798222720623016, -0.07498357445001602, 0.4293057322502136, 0.7355546951293945, 0.5543681383132935, -0.22896644473075867, 0.8638304471969604, 0.42825087904930115, 0.3847963809967041, 0.08299466967582703, 0.07684493809938431, -0.10500390082597733, -0.30401694774627686, -0.1790759414434433, -0.43104788661003113, 0.18495209515094757, 0.06116927042603493, -0.5415366291999817, 0.1442878097295761, -0.09502086788415909, -0.22648587822914124, 0.17364004254341125, -0.663384199142456, 0.31505918502807617, 0.3907758593559265, -0.029692206531763077, 0.5332142114639282, 0.28764575719833374, -0.03730451315641403, 0.4052294194698334, -0.5989342927932739, -0.7854196429252625, 1.0977133512496948, 0.06480398029088974, 0.4529281258583069, -0.004111644346266985, 0.639423131942749, 0.7122982144355774, 0.4330935478210449, -0.5038039684295654, 0.44351983070373535, -0.1716352105140686, -0.8835987448692322, -0.6765584349632263, -0.28458157181739807, -0.8611333966255188, -0.1165504902601242, -0.1976504623889923, -0.10508784651756287, 0.06234150752425194, -0.06952953338623047, -0.6199295520782471, -0.12158819288015366, -0.4526221752166748, 0.5073287487030029, -0.34594130516052246, -0.25747036933898926, 0.3162945806980133, -0.5397434830665588, 0.3103366494178772, -0.41475027799606323, 0.1424698531627655, 0.11799028515815735, 0.018524590879678726, 0.7214999794960022, -0.4128515422344208, 0.4742862582206726, -0.06537137925624847, -0.43733471632003784, 0.8670449256896973, 0.22312811017036438, -0.061642829328775406, 0.21210087835788727, -0.12068998068571091, -0.1528652012348175, -0.08689022064208984, -0.35322606563568115, -0.6938323378562927, 0.368679016828537, -0.8798080682754517, -0.8944883942604065, 0.11488884687423706, -0.38616153597831726, -0.3737638294696808, 0.08404151350259781, 0.39302700757980347, 0.2758660912513733, -0.3809770941734314, 0.00232963589951396, 1.0218415260314941, -0.34439322352409363, -0.09695997834205627, 0.45345720648765564, -0.17176370322704315, -0.4747202694416046, 0.6630314588546753, -0.0565771721303463, 0.2396252155303955, 0.4716804623603821, -0.19357183575630188, -0.3824585974216461, -0.4088575839996338, -0.9021627902984619, 0.11068960279226303, -0.7256428599357605, -0.49660736322402954, -0.7742847800254822, -0.354434609413147, -0.864468514919281, -0.37945184111595154, 0.23853671550750732, -0.36144372820854187, -0.5781380534172058, 0.0848793014883995, 0.35690194368362427, 0.7556175589561462, 0.2224891483783722, 0.259905606508255, -0.8846274614334106, 0.6211087703704834, 0.7345227003097534, -0.040594469755887985, -0.21026600897312164, -0.7012788653373718, -0.1606348305940628, 0.06470274925231934, -0.4825613796710968, -0.9816144704818726, 0.3579060137271881, 0.3233644366264343, 0.6215927004814148, 0.261074036359787, 0.36477842926979065, 0.2852034270763397, -0.33219215273857117, 0.9138266444206238, 0.13471074402332306, -0.8549395799636841, 0.7590036988258362, -0.46903401613235474, 0.38756313920021057, 0.7083718776702881, 0.7031286358833313, -0.6300908923149109, -0.4438391327857971, -0.4636474847793579, -0.8558856248855591, 0.3581477105617523, 0.19713103771209717, 0.3708510994911194, -0.24249978363513947, 0.8971759080886841, 0.7685883045196533, 0.2531192898750305, -0.24401003122329712, -0.34683459997177124, -0.5963048934936523, -0.3997179865837097, 0.370665967464447, 0.04199676960706711, -0.07667974382638931, 0.09376253187656403, 0.608243465423584, -0.3293759226799011, 0.3890262842178345, 0.5456017255783081, -0.3442537486553192, -0.446085661649704, 0.34603461623191833, 0.29394257068634033, 0.3727521598339081, 0.13146409392356873, -0.16002891957759857, -0.09073244035243988, -0.3917688727378845, 0.23796536028385162, -0.1713012009859085, -0.3975665867328644, 0.0180453360080719, -0.25824686884880066, 0.338457852602005, -0.17962616682052612, -0.6972867846488953, 0.47121095657348633, -0.2310134917497635, -0.6035187244415283, -0.23237642645835876, 0.35307350754737854, -0.040656864643096924, -0.0962107703089714, 0.931542158126831, -0.16247649490833282, 0.05189217999577522, -0.3898194432258606, 0.7261775732040405, 0.14658188819885254, 0.04121822118759155, -0.14968885481357574, 0.6265730261802673, 0.8340772986412048, -0.4249306619167328, 0.4044826328754425, -0.320956826210022, -0.3694518804550171, 0.4496215879917145, 0.43156948685646057, 0.7718749046325684, -0.1124332994222641, 0.6037469506263733, 0.29810741543769836, 0.011036824434995651, 0.2051185667514801, 0.45192354917526245, -0.5009498596191406, -0.8043971061706543, -0.3120478093624115, -0.5175878405570984, -0.5363741517066956, 0.23907311260700226, -0.483846515417099, 0.14746709167957306, -0.5117354989051819, -0.1228528544306755, 0.023576851934194565, -0.037491507828235626, -0.6949992775917053, 0.5351230502128601, 0.1077875867486, 0.8764713406562805, -0.6682109832763672, 0.32721051573753357, 0.9276992082595825, -0.6416645646095276, -0.35088542103767395, 0.1995878517627716, -0.3729938268661499, -0.49833980202674866, 0.38833731412887573, -0.15728768706321716, -0.1375918835401535, 0.24272942543029785, -0.8582870364189148, -0.797369122505188, 1.257910132408142, -0.06409859657287598, -0.160101979970932, -0.2310722917318344, 0.6133163571357727, 0.5143011808395386, -0.49220314621925354, -0.14121030271053314, 0.24220727384090424, 0.25236108899116516, 0.05292224511504173, -0.4992919862270355, 0.2454376220703125, -0.48114338517189026, -0.529689610004425, 0.22197934985160828, -0.3659910261631012, 0.5496276021003723, -0.07515261322259903, -0.3668519854545593, 0.35955938696861267, 0.7441158890724182, 0.048272754997015, 0.36197003722190857, 0.6102794408798218, 0.15641935169696808, 0.8552169799804688, 0.14651836454868317, 0.7602059841156006, -0.6152318120002747, -0.03763774409890175, 0.7103110551834106, -0.046752799302339554, 0.4705183804035187, 0.3810300827026367, 0.17908801138401031, 0.3699405789375305, 0.41715380549430847, 0.18132558465003967, 0.34439975023269653, 0.09750188142061234, -0.2829916775226593, -0.5165281295776367, -0.12461350113153458, -0.24169570207595825, 0.1680167019367218, 0.6440804600715637, -0.41363948583602905, -0.21897189319133759, -0.14799366891384125, -0.24213677644729614, 0.20315644145011902, -0.23765991628170013, 0.8560954928398132, -0.17705555260181427, -0.9751140475273132, 0.4937961995601654, -0.09969733655452728, 0.48826709389686584, -0.4011603593826294, 0.1325567364692688, -0.5410277843475342, -0.6949622631072998, -0.17161895334720612, -1.0136985778808594, 0.31552207469940186, 0.38675785064697266, -0.4570423662662506, -0.4337466061115265, 1.0246645212173462, -0.3524402976036072, -0.05590996891260147, -0.31539294123649597, 1.218079924583435, -0.02569209784269333, -0.12743566930294037, -0.6836866736412048, -0.446723997592926, 0.32150039076805115, -0.26502397656440735, 0.14458729326725006, 0.8450865745544434, 0.10418421775102615, 0.6247307658195496, 0.7288923859596252, -0.5857161283493042, 0.0693138986825943, -0.15441207587718964, 0.6849856376647949, -0.6005963087081909, -0.44257882237434387, -0.12668491899967194, 0.48566967248916626, -0.07417865097522736, -0.690223753452301, 0.2952525317668915, 0.36154916882514954, 0.5633355379104614, -0.2468857616186142, 1.2621703147888184, -0.16519741714000702, 0.5318546295166016, -0.19922390580177307, 0.807956874370575, -0.7675552368164062, 0.005338490474969149, -0.012875895015895367, -0.571088969707489, -0.11886762827634811, 0.2692355513572693, -0.1337900459766388, -0.3055528402328491, 0.3245512545108795, 0.6992512345314026, 0.29333338141441345, 0.15313087403774261, 0.5685115456581116, -0.2703419029712677, 0.09237062931060791, 0.32604607939720154, 0.9054193496704102, -0.445395290851593, 0.9232569336891174, -0.042729444801807404, 0.010825274512171745, -0.1808493733406067, -0.19307805597782135, -0.7716996669769287, -0.9604707360267639, -0.2953210175037384, -0.11469247192144394, 0.18237784504890442, 0.7438061237335205, 0.4021759331226349, -0.5977185964584351, 0.011763662099838257, -0.12073445320129395, 0.10089839994907379, 0.10308579355478287, -0.26326465606689453, 0.09169767796993256, -0.44037410616874695, -0.651523232460022, 0.0954815149307251, 0.1284766048192978, 0.1840035617351532, -0.43319830298423767, -0.082908034324646, -0.1131795272231102, 0.44896745681762695, 0.6715567708015442, 0.44069594144821167, -0.40923017263412476, -0.1631288081407547, 0.5625043511390686, -0.30914294719696045, 0.05844825506210327, 0.9161111116409302, -0.8043981790542603, 0.07142326235771179, 0.578632652759552, 0.9488115906715393, 0.09768042713403702, 0.3465457558631897, 0.8565194010734558, -0.8300249576568604, -0.6590425372123718, 0.2091769278049469, -0.03129163384437561, 0.4497988522052765, -0.7073482275009155, 0.5484139919281006, 0.13768388330936432, -0.5352647304534912, -0.3131917417049408, 0.32972872257232666, -0.9158469438552856, -0.3899155259132385, 1.3928422927856445, 0.06447354704141617, -0.2779035270214081, -0.9459952116012573, -0.33023422956466675, 0.41298145055770874, -0.571911096572876, 0.5260217785835266, 0.4714474678039551, -0.2829572260379791, -0.03833939507603645, -0.31633836030960083, 0.6225656867027283, 0.39830368757247925, -0.9535010457038879, 0.13995131850242615, 0.4429962933063507, 0.49012747406959534, 0.2381027340888977, 0.5160636305809021, -0.06363072991371155, 0.6043541431427002, -0.37441742420196533, -0.024230707436800003, 0.004757088143378496, -0.0024407824967056513, 0.011195817962288857, 0.6244765520095825, -0.1457221806049347, 0.2170839011669159 ]
http://arxiv.org/abs/2402.05808v2
http://arxiv.org/pdf/2402.05808v2
Training Large Language Models for Reasoning through Reverse Curriculum Reinforcement Learning
2024-02-08T16:46:26
2024-03-17T09:02:02
Zhiheng Xi, Wenxiang Chen, Boyang Hong, Senjie Jin, Rui Zheng, Wei He, Yiwen Ding, Shichun Liu, Xin Guo, Junzhe Wang, Honglin Guo, Wei Shen, Xiaoran Fan, Yuhao Zhou, Shihan Dou, Xiao Wang, Xinbo Zhang, Peng Sun, Tao Gui, Qi Zhang, Xuanjing Huang
cs.AI
cs.AI, cs.CL, cs.LG
In this paper, we propose R$^3$: Learning Reasoning through Reverse Curriculum Reinforcement Learning (RL), a novel method that employs only outcome supervision to achieve the benefits of process supervision for large language models. The core challenge in applying RL to complex reasoning is to identify a sequence of actions that result in positive rewards and provide appropriate supervision for optimization. Outcome supervision provides sparse rewards for final results without identifying error locations, whereas process supervision offers step-wise rewards but requires extensive manual annotation. R$^3$ overcomes these limitations by learning from correct demonstrations. Specifically, R$^3$ progressively slides the start state of reasoning from a demonstration's end to its beginning, facilitating easier model exploration at all stages. Thus, R$^3$ establishes a step-wise curriculum, allowing outcome supervision to offer step-level signals and precisely pinpoint errors. Using Llama2-7B, our method surpasses RL baseline on eight reasoning tasks by $4.1$ points on average. Notebaly, in program-based reasoning on GSM8K, it exceeds the baseline by $4.2$ points across three backbone models, and without any extra data, Codellama-7B + R$^3$ performs comparable to larger models or closed-source models.
[ -0.20296622812747955, -0.801317572593689, 0.8832603693008423, 0.24648132920265198, -0.14375677704811096, -0.11785446107387543, -0.26568081974983215, -0.21565480530261993, -0.16712653636932373, 0.9428842067718506, -0.7433856129646301, -0.6071053147315979, -0.5408300161361694, -0.2043015956878662, -0.1771620213985443, 0.993263304233551, -0.2705860733985901, 0.20833007991313934, 0.13532690703868866, 0.23642389476299286, -0.37297341227531433, -0.428046852350235, -0.9055412411689758, -0.6757603883743286, 0.7470155358314514, 0.763796865940094, 0.3928244709968567, 0.5270272493362427, 0.12877784669399261, 0.1600215584039688, 0.1764833629131317, 0.4420211613178253, -0.6267755627632141, 0.15046426653862, -0.36809614300727844, -0.6731931567192078, -0.32573312520980835, 0.24286483228206635, 0.36606696248054504, 0.5599986910820007, -0.43063032627105713, 0.06936568021774292, -0.2364896982908249, 0.7532426714897156, -0.6747138500213623, 0.4337102770805359, -0.44135960936546326, 0.14516758918762207, 0.07375147938728333, -0.27286139130592346, -0.9626011252403259, -0.5724707245826721, -0.26037079095840454, -0.6086145043373108, -0.09605098515748978, 0.18164944648742676, 0.6281730532646179, 0.18533001840114594, -0.2974596619606018, -0.2221800684928894, -0.7443737983703613, 1.1078689098358154, -0.7990301251411438, 0.38469257950782776, 0.6425585150718689, 0.5624340772628784, -0.3390238583087921, -0.5149686336517334, -0.5169997215270996, -0.2571598291397095, 0.14318722486495972, 0.27607235312461853, 0.3577284514904022, 0.07288532704114914, 0.5384977459907532, -0.003976644482463598, -0.4328450560569763, 0.23284998536109924, -0.4970477521419525, 0.006277270149439573, 0.7151346206665039, 0.2471321076154709, -0.05782364681363106, 0.18175995349884033, -0.14765365421772003, -0.29019036889076233, -1.0642194747924805, 0.011123117059469223, 0.5067892074584961, 0.3474595844745636, 0.020290624350309372, 0.47066378593444824, -0.29884275794029236, 0.6345623731613159, -0.15793916583061218, -0.27515777945518494, -0.0656135305762291, 0.22081258893013, -0.29438158869743347, 0.11701741069555283, 0.5352597832679749, 0.047277092933654785, 0.3193935453891754, 0.10554338246583939, -0.35202744603157043, -0.011043774895370007, 0.471338152885437, -0.5018337368965149, -0.29027798771858215, 0.16842535138130188, -0.3731277287006378, -0.18039341270923615, 0.08618416637182236, -0.5112301111221313, -0.2949080467224121, -0.589909017086029, 0.4664786159992218, -0.3689548671245575, -0.2548331916332245, 0.5077909231185913, 0.3032945394515991, 0.44280362129211426, 0.7659887671470642, -0.8949613571166992, 0.2164420783519745, 1.0709689855575562, 0.49746087193489075, -0.08916415274143219, -0.39542844891548157, -0.7988192439079285, 0.10656151175498962, -0.540106475353241, 0.6776872277259827, -0.514938235282898, -0.2208026796579361, -0.013286357745528221, -0.07581524550914764, -0.10176941007375717, -0.5594881772994995, 0.6758298873901367, -0.7628030776977539, 0.1789887249469757, 0.1418885886669159, -0.4142202138900757, -0.5938773155212402, 0.2357446402311325, -0.5055500864982605, 0.9246318340301514, -0.07888177782297134, -0.4820682108402252, 0.3249695897102356, -0.4215354919433594, -0.48101741075515747, -0.30637553334236145, -0.24106073379516602, -0.6751829385757446, -0.2286832481622696, 0.25419384241104126, 0.6946303844451904, -0.13445663452148438, 0.5265306234359741, -0.5574247241020203, -0.6591008305549622, 0.0270671509206295, -0.3186894953250885, 0.713324248790741, 0.2084888219833374, -0.38487040996551514, 0.36852458119392395, -0.8285354375839233, 0.03203962743282318, 0.16510289907455444, -0.4641900062561035, -0.05842369794845581, 0.03213728964328766, -0.4468855857849121, 0.26156291365623474, -0.1189369410276413, -0.3882859945297241, 0.49133312702178955, -0.4578286111354828, 0.1285509616136551, 0.726563572883606, 0.10563801229000092, 0.24091285467147827, -0.22647610306739807, 0.605330765247345, 0.010760823264718056, 0.25016650557518005, -0.10421796143054962, -0.5659405589103699, -1.0163387060165405, -0.13445764780044556, -0.08466698229312897, 0.6647020578384399, -0.7748915553092957, 0.1841239631175995, 0.15511329472064972, -0.38119298219680786, -0.3445819914340973, -0.014913826249539852, 0.6727185249328613, 0.534473717212677, 0.6783294081687927, 0.04863359406590462, -0.7076534628868103, -0.948120653629303, -0.16540272533893585, -0.3852083384990692, 0.09856941550970078, 0.1087469682097435, 0.6162922978401184, -0.02487337775528431, 0.5023373961448669, -0.6707807183265686, -0.27913162112236023, -0.637471079826355, 0.41230952739715576, 0.534137487411499, 0.5665499567985535, -0.0848618745803833, -0.6333797574043274, -0.03997556492686272, -0.04204018414020538, -0.9520631432533264, 0.02913474291563034, -0.35720717906951904, -0.18568941950798035, 0.3346589207649231, 0.5448665022850037, -0.456800252199173, 0.4365483224391937, 0.32532280683517456, -0.0125888055190444, 0.8350064158439636, -0.267672061920166, 0.07239239662885666, -0.6810622811317444, -0.21165570616722107, 0.05264502763748169, -0.23121517896652222, -0.4054006338119507, 0.14624373614788055, 0.15952998399734497, 0.17301315069198608, -0.4467364549636841, 0.38728323578834534, -0.29548683762550354, -0.24721255898475647, -0.2950315773487091, 0.14211870729923248, -0.008482587523758411, 0.7958164811134338, 0.4404463768005371, 0.6442103981971741, 0.3588812053203583, -0.5912525653839111, 0.5669952630996704, 0.01973923295736313, -0.46733370423316956, 0.2805284261703491, -0.3162378668785095, -0.09684991091489792, 0.06997580081224442, 0.729497492313385, -0.6876634955406189, -0.19928161799907684, 0.4664643704891205, -0.4485182762145996, 0.23037706315517426, -0.09359006583690643, -0.2653590738773346, -0.45790836215019226, -0.10972584038972855, 0.18519927561283112, 0.4795384109020233, -0.7490236163139343, 0.6735148429870605, -0.03628700599074364, 0.17124135792255402, -0.90269535779953, -0.6790419816970825, -0.08989349007606506, -0.24660472571849823, -0.277306467294693, -0.25483131408691406, 0.31760695576667786, -0.19303837418556213, -0.19383090734481812, -0.043199632316827774, -0.008302286267280579, 0.2009507715702057, 0.3603288233280182, 0.2923402488231659, -0.19539110362529755, 0.011746915057301521, 0.11962978541851044, -0.31060558557510376, 0.30073490738868713, -0.44216564297676086, 0.14067143201828003, -0.10876986384391785, -0.787420392036438, -0.5847244262695312, 0.28036630153656006, 0.14316946268081665, -0.0902184545993805, 0.625495195388794, 0.34402069449424744, -0.20187045633792877, -0.5795436501502991, -0.5502657890319824, -0.19235064089298248, -0.37416958808898926, 0.34945663809776306, -0.5329739451408386, -0.8510408401489258, 0.3713606297969818, -0.13214486837387085, 0.21201948821544647, -0.013441123068332672, 0.5870391726493835, 0.20620422065258026, 1.2719357013702393, 0.31906750798225403, 0.3072221875190735, 0.20959432423114777, -0.3942195177078247, 0.3941267728805542, -0.9102379679679871, -0.4410513937473297, -0.24230004847049713, 0.1851688027381897, -0.12865358591079712, -0.5849390625953674, 0.09144533425569534, 0.538292646408081, -0.6108757853507996, 0.3314274847507477, -0.2410314828157425, 0.3661192059516907, 0.7252752184867859, 0.32491809129714966, 0.4441535770893097, -0.4505482316017151, -0.2223067283630371, 0.18003380298614502, -0.5751962065696716, -0.7168529033660889, 0.9530622363090515, 0.472848117351532, 1.1528490781784058, 0.19440649449825287, 0.9636197090148926, 0.11076249182224274, 0.6546124219894409, -0.8920828700065613, 0.7866341471672058, 0.35870522260665894, -0.24016235768795013, -0.30396735668182373, -0.47679370641708374, -0.49916547536849976, 0.4293452799320221, -0.07596781849861145, -0.7779905796051025, -0.11432100832462311, 0.31561607122421265, -0.21914944052696228, 0.41343653202056885, -0.764197051525116, 0.8003566265106201, -0.08853621780872345, -0.4982896149158478, -0.3987686038017273, -0.7774370908737183, 0.884894609451294, 0.11598590016365051, 0.4001964330673218, 0.12268248945474625, 0.3174494802951813, 0.5628905892372131, -0.2448713481426239, 1.0011802911758423, -0.27548202872276306, -0.4521290361881256, 0.3551631271839142, 0.3923019468784332, 0.7332082986831665, 0.3164662718772888, 0.10184986889362335, -0.2915195822715759, -0.24887509644031525, -0.36757680773735046, -0.8937521576881409, 0.6925484538078308, -0.6904942989349365, -0.9960370659828186, -0.32409968972206116, -0.41642048954963684, -0.41228607296943665, 0.04178055748343468, -0.3533885180950165, 0.32551297545433044, 0.25561073422431946, -0.07854267209768295, 0.9695420265197754, -0.4059256613254547, 0.04337088763713837, 0.5666897296905518, -0.613501250743866, -0.2851499319076538, 0.926285445690155, -0.2839268743991852, 0.46023473143577576, 0.5725852847099304, 0.20947054028511047, -0.3712911307811737, -0.5064243078231812, -0.4964871108531952, 0.3159143924713135, -1.0943820476531982, -0.19590306282043457, -0.774446427822113, -0.12726235389709473, -0.31278735399246216, -0.2373906672000885, -0.5523988604545593, -0.4344714283943176, -0.32632753252983093, -0.33835962414741516, -0.02411295473575592, 0.8055204749107361, -0.271621972322464, 0.19136209785938263, -0.5761247277259827, 0.3419203460216522, 0.41509726643562317, 0.31031447649002075, 0.3435010313987732, -0.6563681960105896, -0.29458293318748474, -0.09031003713607788, -0.38207778334617615, -0.6743340492248535, 0.26238107681274414, -0.16105405986309052, 0.562508225440979, 0.5140964388847351, -0.030655885115265846, 0.5343251824378967, -0.4591328501701355, 0.6948519945144653, 0.10389503091573715, -0.8204092383384705, 0.6879284381866455, -0.3824194073677063, -0.03184731677174568, 0.12417363375425339, 0.33752572536468506, -0.3891139030456543, -0.6852185130119324, -0.6000509858131409, -0.7264438271522522, 1.0638046264648438, -0.23459281027317047, -0.2214558720588684, -0.13578838109970093, 0.41839519143104553, 0.10469057410955429, -0.1996893435716629, -0.8767867684364319, -0.005411000922322273, -0.31478020548820496, -0.1361796110868454, 0.1276012510061264, -0.2328222244977951, -0.23369592428207397, -0.09724502265453339, 1.2901149988174438, -0.3154127895832062, -0.040243156254291534, 0.13299207389354706, -0.03731445223093033, 0.00180356006603688, 0.4372643530368805, 1.0242300033569336, 0.7421079874038696, -0.3025059103965759, 0.3931538164615631, 0.24138674139976501, -0.10515914112329483, 0.17409084737300873, -0.3035914897918701, 0.14124652743339539, -0.6090669631958008, 0.6857270002365112, 0.8749750256538391, 0.30403608083724976, -0.8619452714920044, 0.5513913035392761, 0.03493218123912811, -0.4886825680732727, -0.40362656116485596, 0.2777847349643707, 0.24615830183029175, 0.6064513325691223, 0.34648793935775757, -0.31751707196235657, 0.003229887690395117, -0.4171059727668762, 0.3916907012462616, 0.026626046746969223, -0.45948007702827454, -0.08587122708559036, 0.6556993722915649, -0.14161430299282074, -0.07635901868343353, 0.6133966445922852, -0.24407179653644562, -0.540472149848938, 0.6420587301254272, 0.8574438691139221, 0.553088366985321, -0.05188806727528572, 0.36579829454421997, 0.5893556475639343, 0.11849215626716614, -0.801945149898529, 0.21363501250743866, 0.02284354716539383, -0.7428833246231079, -0.9943461418151855, -0.5109289884567261, -0.8333895802497864, 0.08304299414157867, -0.8330103158950806, 0.35655033588409424, -0.5514234900474548, 0.42221495509147644, -0.2246372252702713, -0.2639022171497345, -0.0006170611013658345, 0.376232773065567, 0.08355341106653214, 0.8214667439460754, -0.9698976278305054, 1.0841469764709473, 0.6243864297866821, -0.5614736080169678, -1.240639328956604, -0.33356499671936035, -0.020111575722694397, -0.999538779258728, 1.3410842418670654, 0.24846775829792023, -0.4930274784564972, 0.03587007150053978, -0.7621011734008789, -0.4132412374019623, 0.9064507484436035, 0.09911318868398666, -0.44770586490631104, 0.09714450687170029, -0.34801948070526123, 0.41631001234054565, -0.45757460594177246, 0.33562251925468445, 0.4874359667301178, 0.4342615604400635, 0.4240560531616211, -0.5419579148292542, 0.11765800416469574, 0.2514778971672058, -0.119823157787323, 0.19761787354946136, -0.43232640624046326, 0.8705899119377136, -0.6765566468238831, -0.2007208913564682, 0.03752649948000908, 0.8716568350791931, 0.7843807935714722, 0.25734052062034607, 0.35097965598106384, 0.7751604914665222, 0.3445727527141571, -0.08302284777164459, 1.004776120185852, 0.3129372298717499, 0.6144505739212036, 1.4021416902542114, -0.4509080946445465, 0.7974033355712891, 0.4878133237361908, -0.18866480886936188, 0.6371473073959351, 0.601174533367157, 0.1519887000322342, 0.4988957941532135, 0.36864742636680603, -0.14245815575122833, -0.850547730922699, 0.14270900189876556, -0.08461105078458786, 0.26040440797805786, 0.5452533960342407, -0.14842554926872253, -0.4144330620765686, 0.1283852458000183, 0.14464275538921356, 0.5171132683753967, -0.30376508831977844, 0.6159144639968872, 0.2419692724943161, -0.8929265141487122, 0.561246931552887, 0.03895021975040436, 0.28024038672447205, -0.4724518358707428, -0.5678828358650208, -0.15246735513210297, 0.4117821156978607, -0.27468064427375793, -0.9922470450401306, 0.3306587040424347, -0.27616119384765625, 0.07368239015340805, -0.2953503131866455, 0.4312444031238556, -0.34861236810684204, -0.24090968072414398, 0.3541337251663208, 0.24627678096294403, 0.2006356567144394, 0.25163039565086365, -0.643696129322052, 0.0071433656848967075, -0.014210041612386703, -0.5422007441520691, 0.2489917278289795, 0.5023232102394104, -0.35436946153640747, 1.1094601154327393, 0.5258132815361023, 0.24644678831100464, -0.10004791617393494, 0.33302241563796997, 0.8760961890220642, -0.8313348889350891, -0.4351712465286255, -0.7879325151443481, 0.14839114248752594, 0.08168848603963852, 0.01745760440826416, 0.5479788780212402, 0.4704439342021942, 1.0758744478225708, -0.1461104452610016, 0.7392969727516174, 0.22049307823181152, 0.7677046060562134, -0.9981698393821716, 0.06179263815283775, -0.3346266448497772, 0.45687443017959595, -0.08144702017307281, -0.7154562473297119, -0.7112685441970825, 1.0571482181549072, -0.8148255348205566, -0.054493874311447144, 0.7801845669746399, 0.9488534331321716, -0.1602126806974411, 0.2899182140827179, 0.41773682832717896, 0.027889741584658623, 0.593325138092041, 0.9344759583473206, 1.21393883228302, -0.16874302923679352, 0.42099180817604065, -0.03151509165763855, -0.24466374516487122, -0.34613460302352905, -0.9744117856025696, -0.9031789302825928, -0.2009279578924179, -0.1307709813117981, -0.5146328806877136, 0.14412805438041687, 1.0486185550689697, 0.5251775979995728, -0.8921181559562683, -0.23863419890403748, -0.3262999951839447, 0.49852296710014343, -0.4918406009674072, -0.2780700623989105, 0.28607192635536194, -0.47046613693237305, -0.4301060438156128, 0.41019564867019653, 0.3591057360172272, -0.3863648474216461, -0.4827708899974823, -0.2807266116142273, -0.44194164872169495, -0.037277255207300186, 0.5247305631637573, 0.4783213138580322, -0.9941926598548889, -0.6196266412734985, -0.5602367520332336, -0.12034918367862701, -0.07827851176261902, 1.0085088014602661, -0.668085515499115, 0.1888546645641327, 0.27333763241767883, 0.6443603038787842, 0.706915020942688, 0.003827776527032256, 0.46413859724998474, -0.4408647418022156, 0.10652567446231842, 0.2344563603401184, 0.21085351705551147, 0.19313311576843262, -0.16768749058246613, 0.646416187286377, 0.11283159255981445, -0.7210589647293091, -0.7384807467460632, 0.7494644522666931, -0.9830469489097595, -0.32855600118637085, 1.3164490461349487, -0.5028122663497925, -0.17931142449378967, -0.21792566776275635, -0.4468776285648346, 0.3387417495250702, -0.3732149302959442, 0.822435736656189, 0.4767966866493225, -0.5088706612586975, -0.5216794610023499, -0.8829052448272705, 0.31002408266067505, 0.3597233295440674, -0.7798855304718018, 0.3527528643608093, 0.5552715063095093, 0.1274196207523346, -0.07976913452148438, 0.5593403577804565, -0.21958667039871216, 0.23845085501670837, -0.23556651175022125, 0.20050814747810364, -0.27281373739242554, -0.49079808592796326, -0.1631796509027481, 0.16730423271656036, 0.22209502756595612, 0.1832856386899948 ]
http://arxiv.org/abs/2402.05794v1
http://arxiv.org/pdf/2402.05794v1
Phonetically rich corpus construction for a low-resourced language
2024-02-08T16:36:11
2024-02-08T16:36:11
Marcellus Amadeus, William Alberto Cruz Castañeda, Wilmer Lobato, Niasche Aquino
cs.CL
cs.CL, cs.AI
Speech technologies rely on capturing a speaker's voice variability while obtaining comprehensive language information. Textual prompts and sentence selection methods have been proposed in the literature to comprise such adequate phonetic data, referred to as a phonetically rich \textit{corpus}. However, they are still insufficient for acoustic modeling, especially critical for languages with limited resources. Hence, this paper proposes a novel approach and outlines the methodological aspects required to create a \textit{corpus} with broad phonetic coverage for a low-resourced language, Brazilian Portuguese. Our methodology includes text dataset collection up to a sentence selection algorithm based on triphone distribution. Furthermore, we propose a new phonemic classification according to acoustic-articulatory speech features since the absolute number of distinct triphones, or low-probability triphones, does not guarantee an adequate representation of every possible combination. Using our algorithm, we achieve a 55.8\% higher percentage of distinct triphones -- for samples of similar size -- while the currently available phonetic-rich corpus, CETUC and TTS-Portuguese, 12.6\% and 12.3\% in comparison to a non-phonetically rich dataset.
[ -0.4783918857574463, -0.645417332649231, -0.059775128960609436, 0.3410915434360504, -0.4631044268608093, 0.36227646470069885, -0.5320692658424377, -0.5273610949516296, 0.7194550037384033, 0.5200473070144653, 0.08665414154529572, -0.437917560338974, -0.18526574969291687, 0.0711071714758873, -0.20281168818473816, 0.808439314365387, 0.3792024552822113, -0.06615376472473145, 0.5088335871696472, -0.19754166901111603, -0.4199346899986267, -0.36711904406547546, -0.3366093933582306, 0.17116110026836395, 0.40465760231018066, 0.5529119968414307, 0.8938286900520325, 0.7963443398475647, 0.18064838647842407, 0.17554011940956116, -0.5735544562339783, 0.13645613193511963, -0.22286434471607208, 0.09827831387519836, 0.05413995310664177, -0.37528663873672485, -0.3972671627998352, -0.14766012132167816, 0.7027774453163147, 1.1976449489593506, -0.3225151300430298, -0.10613978654146194, 0.23877540230751038, 0.0033810557797551155, -0.5668420195579529, -0.043575890362262726, -0.582402229309082, 0.15055911242961884, -0.6590492129325867, -0.3425813615322113, -0.3024789094924927, -0.350066602230072, 0.07109461724758148, -0.50083988904953, 0.1651497483253479, -0.23648492991924286, 0.5646827816963196, 0.10188277065753937, -0.03524479269981384, -0.3636494278907776, -0.9340133666992188, 0.7948185205459595, -0.3536422550678253, 0.5787142515182495, 0.5174888968467712, 0.21842285990715027, 0.23571845889091492, -0.2083885222673416, -0.3418002724647522, -0.3638426959514618, 0.22570107877254486, 0.13689617812633514, -0.04077095538377762, -0.0013388075167313218, 0.0018184788059443235, 0.3969714641571045, -0.5837079286575317, 0.1922610104084015, -0.5007967948913574, -0.4034959077835083, 0.4142516553401947, -0.3421613574028015, 0.22126707434654236, -0.506174623966217, -0.250751793384552, -0.053681280463933945, -0.5886058807373047, -0.21259631216526031, 0.7546892166137695, 0.8935738205909729, -0.319850891828537, 0.6618846654891968, 0.027104241773486137, 0.6798864603042603, -0.43125659227371216, -0.4362197816371918, 0.5264444947242737, -0.3597361743450165, -0.12664996087551117, 0.3457135260105133, 0.794339120388031, -0.3875497579574585, 0.48729830980300903, -0.10765641927719116, -0.3897739052772522, -0.01733911782503128, -0.02630472183227539, -0.5379138588905334, -0.06396748125553131, 0.3429124355316162, -0.41532623767852783, -0.37260329723358154, -0.2560617923736572, -0.6881895065307617, -0.14490529894828796, -0.09029212594032288, -0.23802819848060608, -0.7464543581008911, -0.45580023527145386, -0.1330946385860443, -0.04582410305738449, -0.17225731909275055, -0.013631364330649376, -0.772845983505249, 0.1243283599615097, 0.09585141390562057, 0.940410315990448, -0.1031896099448204, -0.12378184497356415, -0.7618461847305298, 0.04875576123595238, -0.5044257640838623, 0.8924883008003235, -0.7543331384658813, -0.9007582664489746, 0.24513067305088043, -0.4119701385498047, 0.0499611534178257, -0.8693421483039856, 1.05044686794281, -0.1196926087141037, 0.21204422414302826, 0.010245096869766712, -0.18120044469833374, 0.18462572991847992, -0.08976484835147858, -0.7312852144241333, 1.1223045587539673, 0.36981919407844543, -0.8162323832511902, 0.34827175736427307, -0.43206295371055603, -0.8059350848197937, 0.5894418954849243, -0.1962754875421524, -0.04703275114297867, -0.1646970510482788, 0.10226346552371979, 0.33913883566856384, -0.09781113266944885, 0.08930018544197083, -0.27397602796554565, -0.5636941194534302, 0.36720025539398193, -0.48437219858169556, 1.0979982614517212, 0.7302849888801575, -0.16838538646697998, -0.27593645453453064, -0.8505383133888245, 0.14843320846557617, -0.04857729375362396, -0.715766191482544, -0.4799332618713379, -0.381273090839386, 0.5885118842124939, -0.18766050040721893, 0.08695610612630844, -0.39214104413986206, 0.27890247106552124, -0.7583794593811035, 0.5114017724990845, 0.30517980456352234, -0.08762205392122269, 0.5796665549278259, -0.35132625699043274, 0.6323462724685669, -0.1105644628405571, -0.10054811835289001, 0.04021907597780228, -0.3693821132183075, -0.5837183594703674, -0.8668913841247559, 0.8405384421348572, 0.9266232848167419, -0.6910403370857239, 0.5903027057647705, -0.23676146566867828, -0.5485518574714661, -0.6618331074714661, 0.10623965412378311, 0.3556380569934845, 0.15429134666919708, 0.31168222427368164, -0.3434894382953644, -0.4934539198875427, -0.7692373394966125, 0.1870511770248413, -0.3413675129413605, -0.20929938554763794, 0.47761476039886475, 0.05851568654179573, 0.008684412576258183, 0.5275847911834717, -0.17787976562976837, -0.36026301980018616, -0.4779321849346161, -0.0639428123831749, 0.33591800928115845, 0.43814337253570557, 0.7295377850532532, -0.4433286786079407, -0.12506656348705292, 0.014062629081308842, -0.3932095468044281, -0.23080289363861084, 0.09744322299957275, -0.08232949674129486, 0.15264858305454254, 0.19177615642547607, -0.542064905166626, 0.007051147986203432, 0.27564364671707153, 0.015119052492082119, 0.2628673315048218, -0.15578226745128632, -0.14778099954128265, -1.0777757167816162, 0.09641167521476746, -0.07998308539390564, -0.003671827493235469, -0.31959858536720276, -0.19094982743263245, -0.3167540431022644, -0.36649417877197266, -0.5364584922790527, 0.5588294267654419, -0.5505304932594299, -0.3434085547924042, -0.14043886959552765, 0.24938376247882843, -0.3364056944847107, 0.4611283540725708, 0.27705898880958557, 0.7033900618553162, 0.6000351309776306, -0.6631008386611938, 0.39057037234306335, 0.33398622274398804, -0.3540721535682678, 0.7230355143547058, -0.5604729056358337, -0.06303010135889053, 0.17742183804512024, 0.24941706657409668, -0.743117094039917, -0.21479037404060364, 0.08174366503953934, -0.29471084475517273, 0.16822366416454315, -0.38879477977752686, -0.48671862483024597, -0.2651110589504242, 0.07638552784919739, 0.5878186821937561, 0.5068459510803223, -0.39682433009147644, 0.3740462362766266, 0.8510993123054504, -0.6050825119018555, -0.39627712965011597, -0.8237954378128052, 0.26881563663482666, -0.5557464957237244, -0.6170592904090881, 0.37958768010139465, 0.04886187985539436, -0.441782146692276, -0.21068014204502106, 0.3700793981552124, -0.29518213868141174, 0.004139684606343508, -0.08073413372039795, 0.2796195149421692, -0.20728330314159393, 0.35181543231010437, 0.05318231135606766, 0.1405298113822937, -0.4261251986026764, -0.5322896838188171, 0.6718282699584961, -0.012752755545079708, 0.11759524792432785, -0.27393367886543274, 0.5746920108795166, 0.21994991600513458, -0.4508272707462311, 0.03484402224421501, 0.6347136497497559, -0.31889593601226807, -0.5439522862434387, -0.3928435742855072, -0.07883022725582123, -0.32776057720184326, -0.02729816734790802, -0.46655869483947754, -0.5507597327232361, 0.5997963547706604, 0.2680562734603882, -0.143722802400589, 0.18365439772605896, 0.632061243057251, -0.04277016595005989, 0.3494704067707062, 0.29760047793388367, -0.1298978626728058, 0.677457869052887, -0.38872307538986206, -0.24581573903560638, -0.3836391270160675, 0.0990847572684288, -0.7979908585548401, -0.13022615015506744, -1.0286073684692383, -0.4541751742362976, 0.31387391686439514, -0.07490622997283936, 0.18228955566883087, 0.5797702074050903, -0.695618212223053, 0.18565933406352997, 0.9935920238494873, 0.05564458668231964, 0.18341487646102905, 0.22680599987506866, -0.4650942385196686, 0.2973065972328186, -0.6841225028038025, -0.686377227306366, 1.0087578296661377, 0.01208149641752243, 0.4943864047527313, 0.18976616859436035, 0.9697692394256592, 0.3966377377510071, -0.3915269374847412, -0.8463009595870972, 0.6289466023445129, -0.0925305113196373, -0.4542236030101776, -0.5306820869445801, -0.42463046312332153, -1.2933282852172852, 0.24396315217018127, -0.33127665519714355, -0.4710022807121277, 0.3854999542236328, -0.08656579256057739, -0.7048304677009583, -0.080391526222229, -0.8581414818763733, 0.64974045753479, -0.24602609872817993, -0.25681114196777344, -0.10181748867034912, -0.6263387799263, -0.06243138760328293, 0.060074806213378906, 0.38946664333343506, 0.04369683191180229, -0.0002360818034503609, 0.8782687783241272, -0.5032076239585876, 0.6895961761474609, -0.2938022315502167, -0.21987472474575043, 0.8578625321388245, 0.22297295928001404, 0.2717438042163849, 0.09354086220264435, -0.10181737691164017, 0.21723572909832, 0.011376897804439068, -0.671380877494812, -0.0669475644826889, 0.5555329918861389, -0.7013347744941711, 0.03671663627028465, -0.33885088562965393, -0.3564120829105377, -0.52950119972229, 0.1683027744293213, 0.4505182206630707, 0.3394974172115326, -0.5911521315574646, -0.0019447952508926392, 0.5007299184799194, -0.2634180188179016, 0.717880129814148, 0.21473900973796844, 0.2866179347038269, -0.49087172746658325, 1.0348800420761108, 0.4242625832557678, -0.12009405344724655, 0.42723900079727173, 0.2726527154445648, -0.2607843279838562, -0.749147355556488, -0.52977454662323, 0.3283633589744568, -0.3044019937515259, 0.03860432654619217, -0.45631253719329834, -0.02444516494870186, -0.4226429760456085, -0.0037017250433564186, -0.322726845741272, -0.7114028930664062, -0.2533003091812134, -0.15552379190921783, 0.008628872223198414, 0.38114863634109497, -0.37360864877700806, 0.22782571613788605, -0.7786275148391724, 0.19725996255874634, 0.0718933567404747, 0.13995516300201416, -0.43304115533828735, -0.4297906458377838, -0.1730467528104782, 0.04982045292854309, -0.14206188917160034, -0.9177109003067017, 0.5474398732185364, 0.13090230524539948, 0.5035075545310974, 0.2544654309749603, 0.1473524272441864, 0.2972864806652069, -0.1899290680885315, 0.5886841416358948, -0.033215418457984924, -0.7022686004638672, 0.812282145023346, -0.708956241607666, 0.1348583996295929, 0.4569069743156433, -0.0643591433763504, -0.3675110340118408, -0.5540076494216919, -0.9930002689361572, -0.9442241191864014, 0.33074674010276794, 0.5731915831565857, 0.12829788029193878, -0.1690511405467987, -0.13643917441368103, 0.19453027844429016, 0.16693393886089325, -0.3650705814361572, 0.1918940246105194, -0.3312254548072815, -0.1183382123708725, 0.1519143432378769, -0.15636193752288818, -0.22416116297245026, 0.1376287043094635, 0.6128156781196594, -0.1689339131116867, 0.39391589164733887, 0.125209242105484, 0.01695193536579609, 0.20339824259281158, 0.7243964672088623, 0.5044484734535217, 0.18946382403373718, -0.20222054421901703, 0.2263764590024948, 0.1988583654165268, -0.6381956934928894, -0.06311973929405212, 0.48160508275032043, -0.22320693731307983, 0.35478541254997253, 0.529931366443634, 0.7026222944259644, 0.05299833044409752, -0.7972079515457153, 0.4975447952747345, 0.2999742329120636, 0.024484409019351006, -0.3905179798603058, -0.11652019619941711, 0.06439503282308578, 0.11818338185548782, 0.2739567756652832, 0.0040741609409451485, 0.292788565158844, -0.5352542400360107, -0.003113991115242243, 0.3429551124572754, -0.24300850927829742, -0.24168427288532257, 0.30803239345550537, 0.615456759929657, -0.16030023992061615, 0.5179241299629211, -0.4550885856151581, -0.0313827209174633, 0.4891777038574219, 0.14285063743591309, 0.7466561794281006, -0.44125130772590637, 0.28722745180130005, 0.22575834393501282, 0.14313741028308868, -0.06469575315713882, 0.7249305248260498, -0.26666125655174255, -0.7393068671226501, -0.18909017741680145, -0.635006844997406, -0.5230185389518738, 0.08616681396961212, -0.4092389643192291, 0.4321621060371399, -0.2289070039987564, -0.17616742849349976, 0.13604795932769775, -0.11645768582820892, -0.5393316745758057, 0.3790381848812103, 0.2864949405193329, 0.5370404124259949, -0.4549393951892853, 0.8322031497955322, 0.36991554498672485, -0.4648454487323761, -0.8892942070960999, -0.11551743745803833, -0.37192386388778687, -1.0314626693725586, 0.5204454660415649, -0.29376348853111267, -0.06924059242010117, -0.30888044834136963, -0.18149888515472412, -0.5096592903137207, 0.4967861771583557, 0.796802818775177, -0.6020811796188354, -0.24011541903018951, 0.23872923851013184, 0.6364715695381165, -0.3289244472980499, 0.4657829701900482, 0.38096341490745544, 0.3639838695526123, 0.26577311754226685, -1.3476296663284302, -0.2506221830844879, -0.2488451600074768, 0.0001826263323891908, 0.02722506783902645, -0.6261053085327148, 0.5385770201683044, -0.49135762453079224, -0.4643700122833252, 0.04111127927899361, 0.5708672404289246, 0.17167900502681732, -0.08028662949800491, 0.7298084497451782, 0.4775354862213135, 1.2341760396957397, -0.04170865938067436, 0.8393552899360657, -0.5357743501663208, 0.013953409157693386, 0.9498932361602783, -0.18493159115314484, 0.9341463446617126, 0.25829723477363586, -0.11253362894058228, 0.15175937116146088, 0.832852303981781, -0.007788304705172777, 0.3974148631095886, 0.33647388219833374, -0.4150477349758148, -0.3550874888896942, -0.5878492593765259, -0.5479995012283325, 1.0893992185592651, 0.26395297050476074, -0.3330288827419281, 0.08870162814855576, 0.2086213231086731, 0.08488067984580994, -0.09746867418289185, -0.13475827872753143, 0.4997042417526245, 0.05808545649051666, -0.5631301403045654, 0.9329272508621216, -0.2382432520389557, 0.5903764367103577, -0.16625191271305084, 0.19257228076457977, -0.25603991746902466, -0.03366472199559212, -0.20011413097381592, -0.7962234616279602, 0.2195391058921814, 0.07733431458473206, 0.2302916944026947, -0.2263302505016327, 0.4779549539089203, -0.537440836429596, -0.3987128734588623, 0.1890965849161148, 0.9140503406524658, 0.4388423264026642, 0.04706877842545509, -0.18370622396469116, 0.029980773106217384, -0.15023532509803772, -0.04133046045899391, -0.08461316674947739, 0.6702812314033508, -0.13725464046001434, 0.35369810461997986, 0.5240079164505005, 0.578916072845459, -0.2508419156074524, 0.4561171531677246, 0.6490305066108704, -0.7897537350654602, -1.0943940877914429, -0.39250484108924866, 0.13525605201721191, -0.030719611793756485, -0.5449904799461365, 0.3188897669315338, 0.8779208064079285, 0.7719194293022156, 0.15007570385932922, 1.2257521152496338, 0.08107379078865051, 0.8966941237449646, -0.48172062635421753, 0.3781900405883789, -0.1864074021577835, 0.37480202317237854, -0.35302475094795227, -1.1022205352783203, -0.11266737431287766, 0.7199172377586365, 0.11397955566644669, 0.07483436912298203, 0.5597108006477356, 0.5556855201721191, -0.10273432731628418, 0.28329190611839294, 0.33579760789871216, 0.22037698328495026, -0.03966432437300682, 0.5549073219299316, 0.8075321316719055, -0.0007343209581449628, 1.143776535987854, -0.07639650255441666, -0.3422732353210449, -0.2425820529460907, -0.5725472569465637, -0.687850296497345, -0.5465212464332581, -0.2343323677778244, -0.5739924311637878, 0.04880134016275406, 0.9109545946121216, 0.7275327444076538, -0.5902619361877441, -0.5341544151306152, 0.03159068897366524, -0.0022905634250491858, -0.29879090189933777, -0.20804202556610107, 0.33823472261428833, -0.0919186994433403, -0.9599226713180542, 0.7171323895454407, 0.14390762150287628, 0.3344752788543701, -0.15597987174987793, 0.20216363668441772, 0.21163411438465118, 0.13069656491279602, 0.4417792856693268, 0.3794519007205963, -0.41003552079200745, -0.21255919337272644, 0.2302985042333603, -0.19238698482513428, 0.21272355318069458, 0.7659993767738342, -0.8194880485534668, 0.21629047393798828, 0.5134061574935913, 0.3024521768093109, 0.4125860333442688, -0.4391537010669708, 0.2738436758518219, -0.8810195922851562, 0.5361350178718567, 0.7130565643310547, 0.6535485982894897, 0.5666192173957825, -0.11514478176832199, 0.6862866878509521, 0.5555803179740906, -0.1673947125673294, -0.8354065418243408, 0.35766544938087463, -1.759148359298706, -0.20536233484745026, 1.5952668190002441, 0.33205974102020264, 0.012027841992676258, -0.2472923845052719, -0.57662034034729, 0.2858777344226837, -0.9438285827636719, 0.6089791059494019, 0.560020387172699, -0.023874111473560333, 0.20085746049880981, -0.19580532610416412, 0.2986263632774353, 0.21386130154132843, -0.7037298083305359, 0.11812343448400497, 0.5837586522102356, 0.035036005079746246, 0.4780014753341675, 0.7959455847740173, 0.038599979132413864, -0.023491213098168373, 0.19334764778614044, -0.048743151128292084, 0.2041940540075302, -0.24886910617351532, 0.18664298951625824, 0.6752162575721741, 0.017033224925398827, -0.27575919032096863 ]
http://arxiv.org/abs/2402.05785v3
http://arxiv.org/pdf/2402.05785v3
Limits of Transformer Language Models on Learning to Compose Algorithms
2024-02-08T16:23:29
2024-05-25T11:09:28
Jonathan Thomm, Aleksandar Terzic, Giacomo Camposampiero, Michael Hersche, Bernhard Schölkopf, Abbas Rahimi
cs.LG
cs.LG, cs.AI, cs.CL
We analyze the capabilities of Transformer language models in learning compositional discrete tasks. To this end, we evaluate training LLaMA models and prompting GPT-4 and Gemini on four tasks demanding to learn a composition of several discrete sub-tasks. On both training LLaMA models from scratch and prompting on GPT-4 and Gemini, we measure how well these models can reuse primitives observable in the sub-tasks to learn the composition task. Our results indicate that compositional learning in state-of-the-art Transformer language models is highly sample inefficient: LLaMA requires more data samples than relearning all sub-tasks from scratch to learn the compositional task; in-context prompting with few samples is unreliable and fails at executing the sub-tasks or correcting the errors in multi-round code generation. Further, by leveraging complexity theory, we support these findings with a theoretical analysis focused on the sample inefficiency of gradient descent in memorizing feedforward models.
[ -0.1097496822476387, -0.5493950843811035, 0.606480062007904, 0.30847516655921936, 0.010287321172654629, 0.21584592759609222, -0.21203140914440155, -0.3509606719017029, -0.20878057181835175, 0.4442884624004364, -0.9119818806648254, -0.13957567512989044, -0.6917147040367126, 0.30310148000717163, -0.5261349081993103, 1.1969817876815796, -0.14799587428569794, -0.07955661416053772, -0.391478568315506, 0.2545281946659088, -0.7928088307380676, -0.16390320658683777, -0.5205698609352112, -0.4229221045970917, 0.39737173914909363, 0.5939357280731201, 0.16456329822540283, 0.4792804718017578, 0.3770293891429901, 0.3547559082508087, -0.021680887788534164, -0.06969333440065384, -0.631453275680542, 0.23311994969844818, -0.03509899228811264, -0.9101139903068542, 0.12945693731307983, 0.10462530702352524, 0.5109604001045227, 0.6197097897529602, -0.2397441416978836, 0.06936094164848328, -0.2537820637226105, 0.511992871761322, -0.3745369017124176, 0.3667030930519104, -0.9323952794075012, 0.021179819479584694, -0.009659317322075367, 0.2821388840675354, -0.4274125397205353, -0.13444951176643372, 0.26167428493499756, -0.5995408296585083, 0.3072076439857483, -0.28362610936164856, 0.3981465697288513, 0.5360364317893982, -0.24095465242862701, -0.7208968997001648, -0.8067803382873535, 0.9422898292541504, -0.42242908477783203, 0.24335695803165436, 0.4490814805030823, 0.4008379876613617, 0.13552702963352203, -1.0600318908691406, -0.6695188283920288, -0.45436766743659973, -0.028540166094899178, 0.09994736313819885, -0.36971065402030945, -0.17330318689346313, 0.5048897862434387, 0.40329283475875854, -0.23280370235443115, 0.1971307396888733, -0.7134342789649963, -0.015939276665449142, 0.37767285108566284, 0.32398393750190735, 0.2597554624080658, 0.06022549420595169, -0.2306889146566391, -0.23151768743991852, -0.7766793966293335, 0.14689207077026367, 0.47402283549308777, 0.12287338078022003, -0.36870330572128296, 0.3570965528488159, 0.1070086732506752, 0.5502908825874329, 0.35478535294532776, -0.3893219530582428, 0.08534007519483566, -0.15305083990097046, -0.21288500726222992, -0.47053980827331543, 0.6024627685546875, -0.1923828274011612, 0.2529100179672241, -0.33961448073387146, -0.45319685339927673, 0.18816587328910828, 0.7707113027572632, -0.5857152342796326, -0.4561331272125244, 0.23626282811164856, -0.10921765863895416, -0.2189662903547287, -0.03882142901420593, -0.3157136142253876, 0.0019812786485999823, -0.3541366457939148, 0.6672461032867432, -0.4142136573791504, 0.05412313714623451, 0.022342499345541, -0.06206107139587402, 0.2650192081928253, 0.04030988737940788, -1.2553220987319946, 0.37168198823928833, 0.7551196217536926, 0.5510886907577515, -0.20078855752944946, -0.6547083258628845, -0.10165446996688843, -0.20287325978279114, -0.18900945782661438, 0.8312652707099915, -0.6315497756004333, -0.6672171950340271, -0.2064862847328186, -0.018088964745402336, -0.5826223492622375, -0.7285528779029846, 0.3897935450077057, -0.474960058927536, 0.2865477502346039, -0.36475616693496704, -0.5655123591423035, -0.3736255466938019, 0.06322254985570908, -0.987631618976593, 1.0352414846420288, 0.5091031789779663, -0.45280224084854126, 0.11529042571783066, -0.464875727891922, -0.7071681618690491, -0.028456661850214005, -0.24535012245178223, -0.5813096165657043, 0.3100336492061615, 0.2658443748950958, 0.640197217464447, -0.3128383755683899, 0.16665509343147278, 0.34510499238967896, -0.5099673271179199, 0.2948194444179535, -0.2142006754875183, 0.5081816911697388, 0.08947763592004776, -0.5860668420791626, 0.09680254757404327, -0.6309837698936462, -0.46335601806640625, 0.15177510678768158, -0.5767426490783691, 0.23642589151859283, 0.18605811893939972, -0.26955822110176086, 0.2064124196767807, 0.08862283825874329, -0.39570337533950806, 0.19314531981945038, -0.2749098241329193, 0.7063952684402466, 0.7277414202690125, -0.1468605399131775, 0.6362475156784058, -0.6345497965812683, 0.790971040725708, 0.07621214538812637, 0.0729481652379036, -0.5675859451293945, -0.4248714745044708, -0.9596256613731384, -0.1998472362756729, 0.007289496250450611, 0.5651984810829163, -0.8051647543907166, 0.0768563374876976, -0.29100489616394043, -0.761620819568634, -0.33402588963508606, 0.16007475554943085, 0.4527292549610138, 0.6246383190155029, 0.32777273654937744, -0.20791639387607574, -0.40056702494621277, -0.7802702188491821, 0.13907049596309662, 0.09151121973991394, -0.008248988538980484, 0.11159106343984604, 0.7861732244491577, -0.2881919741630554, 0.7051071524620056, -0.15264396369457245, 0.02348550781607628, -0.4053654670715332, -0.08483830094337463, 0.2537662982940674, 0.4377700686454773, 0.4139863848686218, -0.6796143054962158, -0.4988723695278168, -0.1441577970981598, -0.49617552757263184, 0.017382293939590454, -0.03096707910299301, 0.355760782957077, 0.048856861889362335, 0.5120421648025513, -0.6686276793479919, -0.011860535480082035, 0.7481253743171692, 0.1411314159631729, 0.5648015737533569, -0.0705995038151741, -0.3842754065990448, -0.8121873140335083, -0.13145558536052704, -0.16683198511600494, 0.1319800615310669, -0.8892529606819153, 0.15726475417613983, 0.20067718625068665, -0.06813418865203857, -0.4310837388038635, 0.17170219123363495, -0.3163943588733673, 0.135517880320549, -0.4396066665649414, -0.36669689416885376, -0.28376883268356323, 0.7667803168296814, 0.010692841373383999, 0.7336501479148865, 0.5343928933143616, -0.6578027009963989, 0.14250877499580383, 0.028472580015659332, -0.31292349100112915, 0.45420047640800476, -0.8905557990074158, 0.23016908764839172, -0.3419150412082672, 0.4277741312980652, -1.1051634550094604, -0.20077753067016602, 0.13543550670146942, -0.027472447603940964, 0.321903795003891, 0.11271043866872787, -0.08039005100727081, -0.3692379295825958, -0.02130858600139618, 0.3942452371120453, 0.513587236404419, -0.42855018377304077, 0.8793503046035767, 0.12207400798797607, 0.1584523618221283, -0.7064182162284851, -0.663434624671936, -0.38980185985565186, -0.0926022157073021, -0.33095255494117737, 0.5487410426139832, -0.04265902563929558, 0.050332531332969666, -0.1495596021413803, -0.20979131758213043, 0.18332581222057343, 0.08712582290172577, 0.45574092864990234, 0.03640737757086754, 0.052634578198194504, 0.030311333015561104, -0.00753843504935503, -0.19378653168678284, 0.20736920833587646, -0.37511566281318665, 0.6109694242477417, -0.07664863020181656, -0.6280786991119385, -0.3057955801486969, 0.20935936272144318, 0.6089953184127808, -0.2581704556941986, 0.573211669921875, 0.4100126326084137, -0.1655033677816391, -0.46525058150291443, -0.6100822687149048, -0.3073515295982361, -0.464326947927475, 0.33611685037612915, -0.5266097784042358, -1.0401684045791626, 0.727558434009552, 0.14798471331596375, 0.24988950788974762, 0.6389532685279846, 0.6311269998550415, -0.1072535514831543, 0.4488856792449951, 0.7140985131263733, -0.3612506091594696, 0.49138253927230835, -0.6990472078323364, 0.038672368973493576, -0.6035549640655518, -0.41059404611587524, -0.6348248720169067, -0.4211452901363373, -0.6628040671348572, -0.5185331702232361, 0.4799290895462036, -0.4725939929485321, -0.45491865277290344, 0.4047220051288605, -0.4474450349807739, 0.7461933493614197, 0.8357406854629517, 0.259281724691391, 0.20154644548892975, 0.01854153908789158, -0.009189938195049763, 0.13685491681098938, -0.7889803647994995, -0.25094303488731384, 1.2302433252334595, 0.3294374644756317, 0.8293318748474121, -0.07870068401098251, 0.6344244480133057, -0.08686526119709015, 0.434817373752594, -0.8676772117614746, 0.20304366946220398, -0.18007761240005493, -0.5517686605453491, -0.14183641970157623, -0.2539632022380829, -0.8066871762275696, 0.09119559079408646, 0.026918107643723488, -0.45960497856140137, 0.06241700053215027, -0.027233649045228958, -0.15889927744865417, 0.33733928203582764, -0.45055046677589417, 0.573540985584259, 0.039265744388103485, 0.13967154920101166, -0.06509669870138168, -0.7840063571929932, 0.4871002733707428, -0.26118239760398865, 0.15677155554294586, 0.26373547315597534, -0.01824667677283287, 0.5401676893234253, -0.1594381481409073, 1.3463943004608154, -0.08339234441518784, -0.36011871695518494, 0.3934421241283417, 0.06658725440502167, 0.7278103232383728, -0.3499343991279602, 0.016433747485280037, -0.04140697419643402, -0.2538357675075531, -0.2643020451068878, -0.5322595834732056, 0.27275022864341736, -0.9377336502075195, -0.45289865136146545, -0.10283274948596954, -0.5131335854530334, -0.035840027034282684, -0.2085431069135666, 0.6569725275039673, 0.3084430992603302, 0.04407558590173721, 0.05502519756555557, 0.7145856022834778, 0.03899504244327545, 0.5575035214424133, 0.3123164474964142, 0.32868972420692444, -0.32942861318588257, 0.943452000617981, 0.02502487786114216, 0.42209741473197937, 0.6070996522903442, 0.20060652494430542, -0.2102055549621582, -0.667451798915863, -0.4044705927371979, 0.2885221838951111, -0.8612085580825806, -0.11408702284097672, -0.5832114219665527, -0.10678493231534958, 0.11726966500282288, -0.08138401806354523, -0.41768044233322144, -0.23661793768405914, -0.402738094329834, -0.21154913306236267, -0.032319724559783936, 1.1500816345214844, 0.2597394585609436, 0.748934805393219, -0.6454893946647644, 0.06422840803861618, 0.5858824253082275, 0.04931033030152321, 0.26940667629241943, -0.6250956058502197, -0.43610823154449463, -0.18087877333164215, -0.6625841856002808, -0.8498364686965942, -0.007646661251783371, 0.07340642809867859, 0.7635316848754883, 0.20991727709770203, -0.3871675431728363, 0.38665059208869934, -0.5504045486450195, 0.9339830875396729, -0.05812213569879532, -1.1885422468185425, 0.18451115489006042, -0.35719332098960876, 0.3835487961769104, 0.47395050525665283, 0.6782416105270386, -0.5417799949645996, -0.26653343439102173, -0.6379580497741699, -0.5235247015953064, 0.6614841222763062, -0.06793355196714401, 0.5277256369590759, 0.013979892246425152, 0.6041359901428223, 0.29950377345085144, 0.23436930775642395, -1.0911332368850708, -0.15689606964588165, -0.26574188470840454, -0.3725486993789673, -0.07564819604158401, -0.2807523310184479, 0.03243196755647659, -0.21811144053936005, 0.5939047932624817, -0.2510150074958801, 0.372909814119339, -0.1300014853477478, -0.060987941920757294, -0.12298663705587387, 0.07720407843589783, 0.8526355624198914, 0.6184329986572266, 0.3630419075489044, 0.01939036324620247, 0.3341204524040222, -0.543714702129364, 0.3555073142051697, -0.1555231511592865, -0.2687631845474243, -0.4944288730621338, 0.6519383788108826, 0.9662941694259644, 0.41636568307876587, -0.6795421242713928, 0.45556193590164185, -0.006848803721368313, -0.4399263262748718, -0.26236966252326965, 0.24241434037685394, 0.28189077973365784, 0.3136619031429291, 0.42489326000213623, -0.08388414978981018, -0.1447627991437912, -0.43099090456962585, -0.030574990436434746, 0.3734179437160492, -0.35974588990211487, -0.5515046715736389, 0.6893388628959656, -0.04296773299574852, -0.21485581994056702, 0.8299010396003723, -0.016352616250514984, -0.6737831234931946, 0.6587032675743103, 0.7681871652603149, 0.8146884441375732, -0.40672802925109863, 0.22806665301322937, 0.19396594166755676, 0.46583691239356995, -0.3772223889827728, 0.15890181064605713, -0.3626767694950104, -0.6738331317901611, -0.7602406740188599, -0.5168652534484863, -0.7046735882759094, 0.10997279733419418, -0.2331649363040924, -0.09112691134214401, -0.3939283788204193, 0.18593913316726685, -0.10685272514820099, -0.1515064388513565, -0.5901798605918884, 0.25374796986579895, -0.12307605892419815, 0.5803610682487488, -0.981220006942749, 0.4829782247543335, 0.5053933262825012, -0.3577674329280853, -1.286001205444336, -0.22638146579265594, -0.21159544587135315, -0.719710648059845, 0.7607754468917847, 0.24155405163764954, -0.018945984542369843, 0.015943055972456932, -0.6224753856658936, -0.8153446912765503, 1.1083307266235352, 0.4333268702030182, -0.4170096218585968, -0.24394427239894867, 0.2652779519557953, 0.48547253012657166, -0.4170207977294922, 0.37770557403564453, 0.6802767515182495, 0.3313915431499481, 0.2680155038833618, -0.9785290360450745, 0.007295746356248856, -0.15785270929336548, 0.04537079483270645, 0.05553717166185379, -0.5967080593109131, 1.424839973449707, -0.1700325310230255, -0.287394255399704, 0.03168981149792671, 0.6165276765823364, 0.03074009157717228, 0.022662116214632988, 0.48626190423965454, 0.6653452515602112, 0.6223965883255005, -0.11698447167873383, 1.1661639213562012, -0.029620157554745674, 0.2270534634590149, 0.8993577361106873, -0.050859082490205765, 0.6435593366622925, 0.45824557542800903, -0.46106889843940735, 0.8478555679321289, 0.41923987865448, -0.12653149664402008, 0.4397234320640564, 0.4563671052455902, -0.3690292239189148, 0.02297644317150116, 0.39881691336631775, 0.027302421629428864, 0.7304964065551758, 0.3374398350715637, -0.4215051531791687, -0.10384295880794525, 0.20749062299728394, -0.0898023173213005, 0.0012464950559660792, -0.04645486921072006, 0.8619397282600403, 0.044836025685071945, -1.093786358833313, 0.5456293821334839, 0.06561405956745148, 0.7195357084274292, -0.5904907584190369, 0.1944105327129364, -0.23009710013866425, 0.04387058690190315, -0.13268151879310608, -0.3580787777900696, 0.39369067549705505, -0.21730883419513702, -0.22872859239578247, 0.01435998547822237, 0.39298948645591736, -0.3005610704421997, -0.46000510454177856, -0.12331061065196991, 0.6657688617706299, -0.04926074668765068, -0.244444340467453, -0.37200644612312317, -0.015693265944719315, 0.060007017105817795, -0.22378738224506378, 0.07309726625680923, 0.12393447756767273, -0.05852968618273735, 0.7939234375953674, 0.6492868661880493, -0.20856311917304993, 0.29125797748565674, 0.05139797925949097, 0.9665994644165039, -0.4889383316040039, -0.40400511026382446, -1.0174150466918945, 0.5147944688796997, 0.5359188914299011, -0.09737356007099152, 0.5902544260025024, 0.24368955194950104, 1.2140508890151978, -0.5107244253158569, 0.7939004898071289, -0.02302851527929306, 0.2459355890750885, -0.6410541534423828, 0.22601664066314697, -0.16306661069393158, 0.3354964554309845, -0.11070065200328827, -0.9967257976531982, -0.10286572575569153, 0.4944900572299957, -0.3457014858722687, 0.3341939151287079, 0.7198152542114258, 0.8166383504867554, -0.1985054463148117, 0.4125031530857086, 0.1475985199213028, -0.258403480052948, 0.45323750376701355, 0.8884188532829285, 1.0895822048187256, -0.4334205090999603, 0.38058698177337646, -0.554745614528656, 0.04211483895778656, 0.006662675645202398, -0.6894986033439636, -0.9699379801750183, -0.8617861866950989, 0.06947163492441177, 0.008813336491584778, -0.3444286286830902, 0.8140086531639099, 0.7106702923774719, -0.6325333118438721, -0.4103470742702484, -0.34618133306503296, 0.1446818709373474, -0.382865846157074, -0.14231136441230774, 0.24212272465229034, -0.5296390056610107, -1.0134197473526, 0.5084417462348938, -0.02363193780183792, 0.2927156090736389, -0.4506148397922516, 0.014525730162858963, 0.23247338831424713, -0.06033087894320488, 0.5387283563613892, 0.27291062474250793, -0.6624126434326172, -0.011319746263325214, 0.24369651079177856, 0.016576720401644707, 0.033172644674777985, 1.194912314414978, -0.7664680480957031, 0.20379434525966644, 0.3914787769317627, 0.819284200668335, 0.8179406523704529, -0.16811512410640717, 0.3730342388153076, -0.8471211194992065, -0.06496495753526688, 0.11537538468837738, 0.2117457389831543, 0.34307169914245605, -0.17564450204372406, 0.36997300386428833, 0.27278661727905273, -0.6953411102294922, -0.3185499608516693, 0.42336171865463257, -0.7975686192512512, -0.16714268922805786, 0.8565576076507568, -0.01729677803814411, -0.2543802261352539, 0.0421682633459568, -0.1641138345003128, 0.019675876945257187, -0.09866075217723846, 0.6837906241416931, 0.6109816431999207, -0.24369896948337555, -0.21120132505893707, -0.48050656914711, 0.5820190906524658, 0.3385484516620636, -0.7473985552787781, -0.1863812357187271, 0.3348991572856903, 0.5506168007850647, 0.1730717420578003, 0.6474813222885132, 0.05783414468169212, 0.33567893505096436, 0.14820516109466553, -0.1740320771932602, -0.24401651322841644, -0.502280592918396, -0.4758669137954712, 0.22602178156375885, -0.15366017818450928, 0.0509406216442585 ]
http://arxiv.org/abs/2402.05783v2
http://arxiv.org/pdf/2402.05783v2
Text-to-Code Generation with Modality-relative Pre-training
2024-02-08T16:17:24
2024-02-12T10:44:18
Fenia Christopoulou, Guchun Zhang, Gerasimos Lampouras
cs.CL
cs.CL
Large pre-trained language models have recently been expanded and applied to programming language tasks with great success, often through further pre-training of a strictly-natural language model--where training sequences typically contain both natural and (linearised) programming language. Such approaches effectively map both modalities of the sequence into the same embedding space. However, programming language keywords (e.g. "while") often have very strictly defined semantics. As such, transfer learning from their natural language usage may not necessarily be beneficial to their code application and vise versa. Assuming an already pre-trained language model, in this work we investigate how sequence tokens can be adapted and represented differently, depending on which modality they belong to, and to the ultimate benefit of the downstream task. We experiment with separating embedding spaces between modalities during further model pre-training with modality-relative training objectives. We focus on text-to-code generation and observe consistent improvements across two backbone models and two test sets, measuring pass@$k$ and a novel incremental variation.
[ -0.27944257855415344, -0.3587806224822998, 0.4625290036201477, 0.11937406659126282, -0.3997284173965454, 0.06663500517606735, -0.29001563787460327, -0.4171694815158844, 0.01861029677093029, 0.3009542226791382, -0.5122610926628113, -0.30091041326522827, -0.48868119716644287, 0.396747350692749, -0.21361301839351654, 1.179007649421692, -0.1511239856481552, 0.059279561042785645, -0.14794383943080902, -0.06082245334982872, -0.7411030530929565, -0.9203026294708252, -0.1249472051858902, -0.020279424265027046, 0.38743117451667786, 0.23767966032028198, 0.5045236349105835, 0.5449270009994507, 0.43030768632888794, 0.2623344659805298, 0.4284660220146179, -0.04436559975147247, -0.23766279220581055, 0.03127070143818855, -0.1251002997159958, -0.5737903714179993, -0.3845047056674957, 0.010962432250380516, 0.7572077512741089, 0.7325347065925598, 0.2892301082611084, 0.16417042911052704, 0.11281553655862808, 0.4364403486251831, -0.6119399666786194, -0.03716473653912544, -0.6426233649253845, 0.0334562212228775, -0.13636884093284607, -0.4046560525894165, -0.4576512277126312, -0.21829436719417572, 0.12913917005062103, -0.5545433163642883, 0.10202474892139435, -0.09828836470842361, 0.790910005569458, 0.1350780427455902, -0.4817837178707123, -0.5617787837982178, -0.4511578679084778, 0.7096907496452332, -0.8706977367401123, 0.49659502506256104, 0.3768059015274048, -0.031777918338775635, 0.1753527820110321, -0.8937214016914368, -0.6764950752258301, -0.6429888010025024, -0.18650084733963013, -0.11346305161714554, 0.21354292333126068, 0.06002230569720268, 0.3836856782436371, 0.2977931499481201, -0.503279983997345, -0.12001443654298782, -0.31882256269454956, -0.21761855483055115, 0.36265888810157776, -0.032742273062467575, 0.16052554547786713, -0.4238603115081787, -0.2723401188850403, -0.131486177444458, -0.7242469191551208, 0.07906415313482285, 0.44527363777160645, 0.4613552391529083, -0.2889043986797333, 0.5045634508132935, 0.06861422210931778, 0.7872259020805359, 0.11746246367692947, -0.1763952374458313, 0.42115893959999084, -0.970511794090271, -0.31093496084213257, -0.23140326142311096, 0.5475189089775085, -0.22448928654193878, 0.15219788253307343, -0.344518780708313, -0.30176299810409546, 0.19524314999580383, 0.5663047432899475, -0.867190420627594, -0.3455621004104614, -0.2048037201166153, -0.6077690720558167, -0.43658626079559326, 0.2538317143917084, -0.16490435600280762, 0.10562852025032043, -0.5568768382072449, 0.6011361479759216, -0.4680745303630829, -0.16925857961177826, 0.07267232984304428, -0.00591285340487957, 0.27724960446357727, 0.0413033589720726, -0.6401951313018799, 0.04002678766846657, 0.4710444509983063, 0.6753865480422974, -0.14749926328659058, -0.14623743295669556, -0.5956677198410034, 0.03514337167143822, -0.22966443002223969, 0.5146374106407166, -0.8274461030960083, -0.6463578343391418, 0.07485085725784302, -0.16978362202644348, -0.1803237497806549, -0.3475661277770996, 0.17279163002967834, -0.5336546301841736, 0.5032625794410706, -0.3116587996482849, -0.5398549437522888, 0.04786786064505577, 0.27275174856185913, -0.3607841730117798, 0.9648370146751404, 0.28073883056640625, -0.7364283800125122, 0.6810684204101562, -0.7892486453056335, -0.6945623755455017, -0.334904283285141, -0.5065205693244934, -0.226415753364563, 0.29870912432670593, -0.17659389972686768, 0.33438628911972046, -0.2830974757671356, 0.06260981410741806, -0.17673039436340332, -0.2787720561027527, 0.4786533713340759, -0.37686848640441895, 0.2498020976781845, 0.21277274191379547, -0.4568924605846405, 0.17093592882156372, -0.9164925217628479, 0.1844213902950287, -0.20229598879814148, -0.6649340987205505, -0.3808031976222992, -0.11069986969232559, 0.10112008452415466, 0.4194343388080597, 0.17718954384326935, -0.20035992562770844, 0.48044243454933167, -0.3557632267475128, 0.360385537147522, 0.7317676544189453, -0.07596439123153687, 0.7017480134963989, -0.41919004917144775, 0.7212250232696533, 0.07377222180366516, -0.20106226205825806, -0.5343489050865173, -0.08444536477327347, -0.7525582909584045, -0.2776641845703125, 0.4415561556816101, 0.4105667769908905, -1.031753420829773, 0.5488535761833191, -0.3724391460418701, 0.07837213575839996, -0.06221505254507065, 0.07251276075839996, 0.5645077228546143, 0.40034541487693787, 0.2317950427532196, -0.7524173855781555, -0.48041316866874695, -0.4996342957019806, -0.07442058622837067, -0.20436307787895203, -0.034197766333818436, 0.31066298484802246, 0.3794088363647461, -0.3120880424976349, 0.8936091661453247, -0.46130090951919556, -0.004193311091512442, -0.2371947169303894, 0.17838901281356812, 0.2080252468585968, 0.7543343901634216, 0.6108685731887817, -0.7728164792060852, -0.4693073630332947, -0.09607048332691193, -0.23705288767814636, -0.2146078199148178, -0.564641535282135, -0.22941669821739197, 0.2535490393638611, 0.7526902556419373, -0.18303342163562775, 0.4620884358882904, 0.5343689918518066, -0.40190181136131287, 0.7023865580558777, -0.2658003866672516, 0.2397029995918274, -1.4761723279953003, 0.40438124537467957, -0.4626506268978119, -0.4323313236236572, -0.4775540232658386, -0.007536340970546007, 0.019457010552287102, -0.05621024966239929, -0.35058921575546265, 0.260578989982605, -0.5410098433494568, -0.13535283505916595, -0.2984362244606018, -0.11167752742767334, 0.09177123755216599, 0.4696100652217865, 0.10017965734004974, 0.9597713947296143, 0.522144615650177, -0.7190904021263123, -0.07520879060029984, 0.13425320386886597, -0.04927799850702286, 0.2569195628166199, -0.5212017893791199, 0.47129005193710327, 0.16681499779224396, 0.2513214349746704, -0.9156341552734375, -0.16194288432598114, 0.2376066893339157, -0.4066430628299713, 0.6351138949394226, -0.0765509083867073, -0.4439418613910675, -0.12020712345838547, -0.3361774981021881, 0.9105184674263, 0.5911245346069336, -0.09349310398101807, 0.36138415336608887, -0.07014340907335281, 0.0016621671384200454, -0.36841511726379395, -0.7728045582771301, -0.09971530735492706, -0.17691312730312347, -0.36488884687423706, 0.5405590534210205, -0.055056724697351456, 0.148645281791687, -0.09223970025777817, -0.220490962266922, -0.224275141954422, 0.04321073740720749, 0.23907212913036346, 0.32339397072792053, -0.4206269085407257, 0.2742049992084503, -0.03156089037656784, -0.134013831615448, -0.019344868138432503, -0.692589282989502, 0.5658308267593384, 0.037030179053545, -0.6102068424224854, -0.24062170088291168, 0.3649192750453949, 0.3320169448852539, -0.32478299736976624, 0.6486343741416931, 0.37042924761772156, -0.12647847831249237, -0.1422668844461441, -0.20985883474349976, -0.1442105919122696, -0.5217083096504211, 0.44034114480018616, -0.625918984413147, -0.8824381232261658, 0.30906379222869873, -0.08386025577783585, 0.21554678678512573, 0.11431942135095596, 0.45953428745269775, 0.09702068567276001, 0.7265431880950928, 0.9206383228302002, 0.10555396229028702, 0.8597660064697266, -0.18610496819019318, 0.30912068486213684, -0.5269829034805298, -0.011006621643900871, -0.6925519704818726, -0.10911784321069717, -0.5952383875846863, -0.7108652591705322, 0.10453929752111435, 0.2977789342403412, -0.27287352085113525, 0.6163353323936462, -0.32389694452285767, 0.3112596869468689, 0.39059779047966003, -0.025394311174750328, 0.11635264754295349, 0.040551405400037766, -0.14375822246074677, -0.06840534508228302, -0.7168289422988892, -0.4867002069950104, 1.1870299577713013, 0.13067562878131866, 0.548340380191803, 0.11522436887025833, 0.8033114671707153, 0.3448876440525055, 0.5561491847038269, -0.6122034788131714, 0.3311770260334015, -0.30321261286735535, -0.3529050946235657, 0.051151733845472336, -0.5581746697425842, -0.709011971950531, -0.08438409119844437, -0.14937597513198853, -0.45868539810180664, 0.09376449882984161, 0.244644895195961, -0.2602711319923401, -0.03601321205496788, -0.5741308331489563, 0.9004522562026978, -0.19322775304317474, -0.21309620141983032, -0.15520992875099182, -0.7985944151878357, 0.027080737054347992, -0.42981693148612976, 0.14503377676010132, 0.21804660558700562, -0.025271430611610413, 0.34447652101516724, -0.562811017036438, 0.7287510633468628, 0.018111860379576683, -0.1258154660463333, 0.2691476047039032, 0.20008836686611176, 0.3518247902393341, 0.1050587147474289, 0.013560890220105648, -0.1540309190750122, 0.013409447856247425, -0.4288157820701599, -0.43787360191345215, 0.304984450340271, -0.6480826735496521, -0.40196675062179565, -0.17729926109313965, -0.596589207649231, -0.34766116738319397, 0.2157640904188156, 0.5705771446228027, 0.8680424690246582, 0.10703384131193161, 0.11873015761375427, 0.43973276019096375, -0.4138108491897583, 0.45754924416542053, 0.19286195933818817, -0.1827470064163208, -0.22148306667804718, 0.7891150116920471, -0.15636728703975677, 0.7142899632453918, 0.6438513994216919, 0.05029475316405296, -0.3949342668056488, -0.5608291029930115, -0.4027121961116791, 0.07641297578811646, -0.7267331480979919, -0.16597993671894073, -0.3255404531955719, -0.10285884886980057, -0.5348787903785706, -0.5901409983634949, -0.23752908408641815, -0.3680315315723419, -0.4930031895637512, 0.13942451775074005, 0.08472217619419098, 0.5639629364013672, 0.005440275184810162, 0.15893927216529846, -1.1586620807647705, 0.24669627845287323, 0.1973886340856552, 0.18302680552005768, -0.212433323264122, -0.7576430439949036, -0.22917859256267548, 0.12594197690486908, -0.2691863477230072, -0.9416746497154236, 0.13155913352966309, 0.47700440883636475, 0.31922465562820435, 0.278556227684021, -0.07317196577787399, 0.8823490142822266, -0.5759790539741516, 0.9111524820327759, 0.512550950050354, -1.1496953964233398, 0.4762484133243561, -0.23728814721107483, 0.41568320989608765, 0.7833089828491211, 0.18132264912128448, -0.37110650539398193, -0.3615817725658417, -0.32990366220474243, -0.7344786524772644, 0.5843337178230286, 0.27499014139175415, 0.649568498134613, -0.1179504245519638, 0.45246508717536926, 0.44850218296051025, 0.2941669523715973, -1.126794457435608, -0.04066177085042, -0.41036900877952576, -0.19023510813713074, 0.20900003612041473, 0.03316473215818405, 0.18645140528678894, -0.15621674060821533, 0.38278326392173767, -0.3765096068382263, 0.5613754391670227, 0.17723311483860016, -0.40333208441734314, 0.31214675307273865, 0.30383357405662537, 0.6230983734130859, 0.7569647431373596, 0.20660656690597534, 0.16213993728160858, 0.03799852356314659, -0.5639820694923401, 0.18641754984855652, -0.04119154065847397, 0.09818219393491745, 0.09719878435134888, 0.5459655523300171, 0.7788642644882202, 0.2740868330001831, -0.6953691840171814, 0.7051838636398315, 0.13188660144805908, -0.17557206749916077, 0.0178193561732769, 0.11502662301063538, -0.16003015637397766, 0.033553969115018845, 0.18885691463947296, 0.26589810848236084, 0.07778942584991455, -0.6870437860488892, 0.4024142026901245, 0.19961270689964294, -0.2743711769580841, -0.5428376197814941, 0.5280566215515137, 0.3178611993789673, -0.2937367856502533, 0.5388630628585815, -0.33930373191833496, -0.6319591999053955, 0.544960618019104, 0.6993340849876404, 0.9744643568992615, 0.28473058342933655, 0.04425293207168579, 0.14066478610038757, 0.024123799055814743, 0.21912650763988495, 0.3989607095718384, -0.6050788164138794, -0.6612346172332764, -0.7297268509864807, -0.6439850330352783, 0.1186765730381012, -0.15426313877105713, -0.6232916712760925, 0.4224525988101959, -0.4186701774597168, -0.34888291358947754, -0.3383822739124298, -0.3016328513622284, -0.8418290615081787, 0.07987340539693832, 0.33433061838150024, 0.8437129855155945, -0.6747255325317383, 1.1446776390075684, 0.9762473702430725, -0.5249847173690796, -1.168766736984253, 0.5087497234344482, -0.5211416482925415, -0.3856315314769745, 0.8415677547454834, 0.37501105666160583, -0.09973198920488358, -0.10127869993448257, -0.26781997084617615, -0.840480387210846, 0.7827236652374268, 0.296456515789032, -0.45373183488845825, -0.30426761507987976, 0.3178269863128662, 0.34136995673179626, -0.4314661920070648, 0.06358827650547028, 0.3777189254760742, 0.16304443776607513, 0.026712963357567787, -1.147394061088562, 0.10610955208539963, -0.1620294451713562, 0.23388104140758514, 0.3388611376285553, -0.19907091557979584, 0.8248197436332703, -0.10341279208660126, -0.31995728611946106, 0.15784673392772675, 0.5641679167747498, 0.21607279777526855, 0.03954363241791725, 0.6115884184837341, 0.19599424302577972, 0.4282817542552948, 0.09561877697706223, 1.1087836027145386, -0.44429147243499756, 0.20615963637828827, 1.021034836769104, -0.2111683487892151, 0.7003003358840942, 0.5863383412361145, -0.23662176728248596, 0.6825608611106873, 0.4860231280326843, 0.3323262333869934, 0.7581810355186462, 0.33944806456565857, -0.09474751353263855, -0.22986820340156555, 0.13122591376304626, -0.6616182923316956, 0.3074497878551483, 0.06849054247140884, -0.5477275848388672, -0.00564873730763793, 0.142878919839859, 0.020197849720716476, 0.08505027741193771, -0.07657839357852936, 0.6251799464225769, 0.09206943213939667, -0.6754520535469055, 0.593816876411438, 0.09638544172048569, 0.9350441098213196, -0.8227033019065857, -0.008704479783773422, -0.15328937768936157, -0.037847477942705154, -0.1017661914229393, -0.3747881054878235, 0.42807403206825256, 0.06413161754608154, -0.3240124583244324, -0.49504587054252625, 0.6193082928657532, -0.390190064907074, -0.4305250644683838, -0.0649944618344307, 0.42777585983276367, -0.05355212092399597, 0.18768367171287537, -0.6160582900047302, -0.048918675631284714, 0.1838226020336151, -0.1935718059539795, 0.3011794984340668, 0.4173224866390228, 0.00754602300003171, 0.13162454962730408, 0.8318966627120972, 0.036505669355392456, 0.3235766291618347, 0.07074088603258133, 0.9865886569023132, -0.516768753528595, -0.8176742196083069, -0.7721307873725891, 0.5349907875061035, 0.14064966142177582, -0.6574507355690002, 0.4926376938819885, 0.44071197509765625, 0.9890392422676086, -0.25105124711990356, 0.6881073117256165, -0.459259033203125, 0.01954028569161892, -0.8239235281944275, 0.39815035462379456, -0.5551208853721619, 0.3928280770778656, -0.34609296917915344, -1.0499640703201294, -0.16245846450328827, 0.7965508699417114, -0.20377591252326965, 0.15170127153396606, 0.8824964761734009, 0.7083756327629089, -0.05860770121216774, -0.22347690165042877, 0.2019520103931427, -0.1635412871837616, 0.42618972063064575, 0.7219346165657043, 0.8489187359809875, -0.22683507204055786, 0.3901708722114563, 0.021989930421113968, -0.10923425853252411, -0.09754732251167297, -1.0879188776016235, -0.6733701825141907, -0.6491596698760986, -0.32300055027008057, -0.39774394035339355, -0.1296422928571701, 1.103050947189331, 0.8550745248794556, -0.6755837202072144, -0.0912650004029274, -0.38631436228752136, -0.226645827293396, 0.05933021754026413, -0.18156833946704865, 0.18943241238594055, -0.7188304662704468, -0.4232162535190582, 0.23792590200901031, 0.1271125227212906, 0.134004145860672, -0.139858216047287, -0.14450938999652863, 0.08810782432556152, 0.19297607243061066, 0.5368595719337463, 0.190040722489357, -0.34687143564224243, -0.550944983959198, 0.20515187084674835, -0.35731080174446106, 0.1324554830789566, 1.462157130241394, -0.9701414704322815, 0.3402279019355774, 0.644254744052887, 0.8214265704154968, 0.2467685043811798, -0.05476047471165657, 0.8020247220993042, -1.1569324731826782, 0.39709383249282837, 0.23438109457492828, 0.12638916075229645, 0.14897750318050385, -0.20711418986320496, 0.28064030408859253, 0.32362061738967896, -0.2935017943382263, -0.8718758225440979, 0.44833317399024963, -0.8068108558654785, -0.44674399495124817, 1.208846092224121, -0.12374577671289444, 0.217942476272583, -0.10454189777374268, -0.23625482618808746, 0.40060293674468994, -0.054122570902109146, 0.5471751689910889, 0.5351868271827698, -0.10234872251749039, 0.41417691111564636, -0.29836201667785645, 0.553726315498352, 0.5894472002983093, -0.9405028223991394, -0.19757457077503204, 0.6673586368560791, 0.30504828691482544, 0.20706704258918762, 0.7980822324752808, -0.221408411860466, 0.39438536763191223, 0.0674581304192543, -0.08590696007013321, -0.05340087041258812, -0.22587506473064423, -0.2563738524913788, 0.10220982134342194, 0.2500821053981781, -0.3615499436855316 ]
http://arxiv.org/abs/2402.05779v1
http://arxiv.org/pdf/2402.05779v1
Examining Gender and Racial Bias in Large Vision-Language Models Using a Novel Dataset of Parallel Images
2024-02-08T16:11:23
2024-02-08T16:11:23
Kathleen C. Fraser, Svetlana Kiritchenko
cs.CY
cs.CY, cs.CL, cs.CV
Following on recent advances in large language models (LLMs) and subsequent chat models, a new wave of large vision-language models (LVLMs) has emerged. Such models can incorporate images as input in addition to text, and perform tasks such as visual question answering, image captioning, story generation, etc. Here, we examine potential gender and racial biases in such systems, based on the perceived characteristics of the people in the input images. To accomplish this, we present a new dataset PAIRS (PArallel Images for eveRyday Scenarios). The PAIRS dataset contains sets of AI-generated images of people, such that the images are highly similar in terms of background and visual content, but differ along the dimensions of gender (man, woman) and race (Black, white). By querying the LVLMs with such images, we observe significant differences in the responses according to the perceived gender or race of the person depicted.
[ -0.5679526925086975, -0.5094465613365173, 0.5091089010238647, 0.10501529276371002, -0.12474668025970459, 0.1677667647600174, -0.16867470741271973, -0.6931769251823425, 0.27999138832092285, 0.5814145803451538, -0.6596248745918274, -0.40974757075309753, -0.522078812122345, 0.13864490389823914, -0.5069569945335388, 0.6558939218521118, 0.027996821328997612, 0.3754819929599762, -0.4926084578037262, -0.3123435974121094, -0.668083667755127, -0.3926193118095398, -0.5437527298927307, -0.01462646760046482, 0.471697598695755, 0.15845565497875214, 0.8210901021957397, 0.38034722208976746, 0.6772399544715881, 0.24645963311195374, 0.12409252673387527, 0.1299717128276825, -0.5611133575439453, 0.15175820887088776, -0.19513757526874542, -0.5734657645225525, 0.03956758975982666, -0.15304094552993774, 0.7269513607025146, 0.6442005038261414, 0.2596226930618286, 0.5573904514312744, 0.10381011664867401, 0.7572094202041626, -0.6685898900032043, 0.3221229016780853, -0.6004975438117981, 0.24826234579086304, -0.35815441608428955, 0.06305830180644989, -0.21170812845230103, -0.17547890543937683, 0.10186371952295303, -0.4037080705165863, 0.42625847458839417, 0.31240028142929077, 0.7093409895896912, 0.2075977921485901, -0.491485595703125, -0.00010735075193224475, -0.82272869348526, 0.6951872706413269, -0.393433153629303, 0.48422491550445557, 0.33167752623558044, 0.4671814441680908, 0.05258975550532341, -0.27268803119659424, -0.9101545810699463, -0.29790520668029785, -0.29769641160964966, -0.05873973295092583, -0.07978183776140213, -0.19946777820587158, 0.44257667660713196, 0.08208632469177246, -0.5117630362510681, 0.24996396899223328, -0.48635512590408325, -0.1262258142232895, 0.8158397078514099, 0.4178678095340729, 0.5287622213363647, -0.10561802983283997, -0.1345670074224472, -0.1546938717365265, -0.6555985808372498, 0.003870098851621151, 0.5335843563079834, 0.21614080667495728, -0.43097901344299316, 0.797426164150238, -0.2694816589355469, 0.7988166213035583, -0.1747162938117981, -0.11295465379953384, 0.43013569712638855, -0.21954508125782013, -0.13083304464817047, -0.17189699411392212, 0.8590486645698547, 1.0110526084899902, 0.6243517994880676, 0.11033415794372559, -0.04005631431937218, 0.2147299200296402, -0.03158242255449295, -0.6067360043525696, -0.04385696351528168, -0.07625990360975266, -0.7093019485473633, -0.37799474596977234, -0.07623843848705292, -1.1057403087615967, -1.0310132503509521, -0.3980656862258911, 0.04974795877933502, 0.07395144551992416, -0.2781219780445099, -0.2765343189239502, -0.29766085743904114, 0.32586991786956787, 0.36977729201316833, -0.8994032740592957, 0.21937252581119537, 0.40150028467178345, 0.6267002820968628, -0.4824182093143463, -0.36010435223579407, -0.2540682554244995, 0.03236532583832741, -0.24419306218624115, 0.556379497051239, -0.7067947387695312, -0.11466675251722336, 0.03226393088698387, -0.11745351552963257, 0.12214316427707672, -0.6271997690200806, 0.2865455746650696, -0.5426833629608154, 0.13482913374900818, -0.5045599341392517, -0.13931570947170258, 0.16116414964199066, 0.2502407431602478, -0.7548943758010864, 0.6961517333984375, -0.22777467966079712, -1.1250007152557373, 0.4131304621696472, -0.5462902188301086, -0.18175014853477478, 0.039203714579343796, -0.7646492123603821, -0.36452624201774597, 0.02498127520084381, 0.597556471824646, 0.39751482009887695, -0.3830738961696625, 0.19859956204891205, -0.5754579305648804, -0.4318851828575134, 0.3134118616580963, -0.32813477516174316, 0.8240115642547607, 0.11111925542354584, -0.3518487513065338, 0.057822972536087036, -0.5589157342910767, -0.5049664974212646, 0.704735517501831, 0.09946856647729874, -0.5128466486930847, 0.3164210319519043, 0.004566340707242489, 0.15875180065631866, 0.19428178668022156, -0.8548282384872437, -0.10635538399219513, 0.1827240139245987, 0.29782983660697937, 0.8452326655387878, -0.4494328498840332, 0.459155797958374, -0.11045002192258835, 0.41910025477409363, 0.23413923382759094, 0.30861276388168335, -0.3596113622188568, -0.626510500907898, -0.8632345199584961, -0.1288621872663498, 0.13860942423343658, 0.5081689357757568, -0.9074513912200928, -0.049797043204307556, -0.29750776290893555, -0.07208286970853806, -0.3874329626560211, -0.04182253032922745, 0.3272539973258972, 0.4273454546928406, 0.001587600912898779, -0.30556488037109375, -0.5079845786094666, -1.3682595491409302, -0.22161205112934113, -0.19189928472042084, -0.1346568912267685, 0.8508980870246887, 0.6315036416053772, -0.12923605740070343, 0.9299983978271484, -0.6594724655151367, -0.12854251265525818, 0.005074627697467804, -0.2161102443933487, -0.15220917761325836, 0.3219143748283386, 0.7481311559677124, -0.9678407311439514, -0.3574845492839813, -0.1478872299194336, -0.9863111972808838, -0.09324532747268677, 0.04341460019350052, -0.1632378101348877, 0.21922658383846283, 0.7198280692100525, -0.23513947427272797, 0.6071215271949768, 0.8365638256072998, -0.3855215907096863, 0.6520385146141052, 0.17417027056217194, 0.1537366658449173, -0.874991774559021, -0.1361723691225052, 0.46081429719924927, -0.2613944113254547, -0.4056941568851471, 0.1754421889781952, -0.041063327342271805, -0.23306570947170258, -0.45617568492889404, 0.6910602450370789, -0.5259376168251038, -0.7174320816993713, -0.0322728157043457, -0.1252378523349762, -0.17268270254135132, 0.5059099197387695, 0.1745862513780594, 0.7140291333198547, 0.659233570098877, -0.0727895051240921, 0.4645289480686188, 0.27140358090400696, -0.680475652217865, 0.6214290261268616, -0.6708952784538269, 0.328585147857666, -0.7138445973396301, 0.4099980890750885, -1.0484853982925415, -0.347911536693573, 0.2562409043312073, -0.30284956097602844, 0.011038449592888355, -0.0886167362332344, -0.6170253157615662, -0.6417993307113647, -0.15317535400390625, 0.8372251391410828, 0.4874173402786255, -0.5050966143608093, 0.5601832866668701, 0.5163038969039917, -0.2612720727920532, -0.5756565928459167, -0.8112286925315857, 0.18495221436023712, -0.05565750598907471, -0.6661400198936462, 0.03698044270277023, 0.15076109766960144, -0.4595421850681305, -0.00587717117741704, 0.3692947030067444, -0.09179210662841797, -0.243501216173172, 0.5088825225830078, 0.5795722007751465, -0.0512220598757267, 0.031089307740330696, -0.23368917405605316, 0.44900092482566833, 0.05952930822968483, -0.033523887395858765, 0.7423282265663147, -0.03523840755224228, -0.6169782876968384, -0.45601728558540344, 0.5269291400909424, 0.6495329737663269, -0.455138623714447, 0.7964134812355042, 0.5093244910240173, -0.22684653103351593, 0.03543640673160553, -0.5798025131225586, -0.2215050458908081, -0.4206591844558716, 0.5042344331741333, -0.16935034096240997, -1.1921218633651733, 0.6522663235664368, 0.5797094106674194, 0.08183170855045319, 0.18293537199497223, 0.7898239493370056, -0.42938899993896484, 1.0101277828216553, 0.5519247055053711, -0.055496230721473694, 0.7267958521842957, -0.0017901447135955095, -0.0968238115310669, -0.6720730662345886, -0.37817925214767456, -0.3610838055610657, -0.7916768789291382, -0.7338428497314453, -0.5018429756164551, 0.38544633984565735, -0.6336525082588196, -0.48897311091423035, -0.24088487029075623, -0.2114620953798294, 0.7018659114837646, 0.881966233253479, 0.3215927481651306, 0.07808375358581543, 0.33369794487953186, -0.140835702419281, -0.2646044194698334, -0.4094131290912628, -0.2207392007112503, 1.3797178268432617, 0.36253395676612854, 0.7084649205207825, -0.19914892315864563, 0.359744131565094, 0.4726273715496063, 0.20263969898223877, -0.3976368308067322, 0.7081899046897888, -0.4127686619758606, -0.8394302129745483, -0.1981070190668106, -0.4929811358451843, -0.8780943155288696, 0.30955770611763, -0.5635486245155334, -0.7316052913665771, 0.33432915806770325, 0.2718896269798279, -0.04150652512907982, 0.500171959400177, -0.697468101978302, 0.6508156061172485, -0.34199798107147217, -0.36207449436187744, -0.02767474390566349, -0.6843713521957397, 0.7848030924797058, -0.09253230690956116, 0.183191180229187, -0.25824883580207825, 0.17206117510795593, 0.6287369728088379, -0.17517808079719543, 0.9757784605026245, -0.151147723197937, 0.0015697467606514692, 0.015927350148558617, -0.004074526950716972, 0.32168182730674744, -0.26972296833992004, 0.11988018453121185, 0.6768443584442139, -0.33672380447387695, -0.4272724390029907, -0.5789138078689575, 0.5183911919593811, -0.9254247546195984, -0.5691858530044556, -0.19569511711597443, -0.8785290122032166, -0.15359841287136078, 0.05853846296668053, 0.06869678199291229, 0.5534352660179138, -0.14903110265731812, -0.013118426315486431, 0.2366168051958084, -0.7305135726928711, 0.21686455607414246, 0.18246643245220184, -0.5488097667694092, -0.11975470185279846, 0.6647723317146301, -0.09241077303886414, 0.30329665541648865, 0.2274540662765503, 0.046492401510477066, -0.10689105093479156, -0.4813326299190521, -0.4489143192768097, 0.3334856927394867, -0.38920435309410095, 0.18654941022396088, -0.5116850137710571, -0.22320254147052765, -0.2577069103717804, 0.13245220482349396, -0.24186870455741882, -0.251272976398468, -0.1266176700592041, 0.20407547056674957, 0.09906375408172607, 0.7184755802154541, 0.4743092656135559, 0.20894041657447815, -0.5505244731903076, 0.6968775391578674, 0.7352277040481567, 0.3677848279476166, 0.0375293493270874, -0.3405036926269531, -0.0747421532869339, 0.18974703550338745, -0.0595538504421711, -0.8200567960739136, 0.34894925355911255, -0.03704126924276352, 0.4223451316356659, 0.20022472739219666, -0.1356155425310135, 0.40000206232070923, -0.8001766800880432, 0.8150816559791565, 0.41266119480133057, -0.5154653787612915, 0.4201847016811371, -0.5126296877861023, 0.1803324669599533, 0.23823386430740356, 0.19533899426460266, -0.6340778470039368, -0.44363075494766235, -0.13237470388412476, -0.4218108355998993, 0.721617579460144, 0.49988123774528503, 0.19343560934066772, 0.28159233927726746, 0.3026709258556366, 0.024713052436709404, 0.31933754682540894, -0.7706475853919983, -0.6149804592132568, -0.05963737145066261, -0.35825422406196594, 0.01355269830673933, -0.3340652287006378, -0.19803908467292786, -0.3458281457424164, -0.02254684828221798, -0.1917298436164856, 0.520338773727417, -0.09148748964071274, -0.12053418159484863, 0.057478874921798706, -0.0009363455465063453, 0.5424398183822632, 0.5070574879646301, -0.16832774877548218, 0.07622140645980835, 0.07164422422647476, -0.4863801896572113, 0.07177216559648514, -0.028493942692875862, -0.5148253440856934, -0.05473747104406357, 0.28249046206474304, 1.256773591041565, -0.35061007738113403, -0.8412657380104065, 0.5612872242927551, -0.3834473490715027, -0.35427695512771606, -0.23212185502052307, -0.08781522512435913, 0.061867669224739075, 0.5530868172645569, 0.375311940908432, 0.1863672286272049, 0.0582607127726078, -0.7099612355232239, -0.2539984881877899, 0.592293381690979, -0.22349415719509125, -0.2138117104768753, 0.6767851114273071, 0.44059041142463684, -0.336428701877594, 0.6695387363433838, -0.01217795629054308, -0.5935306549072266, 0.8655377626419067, 0.31903931498527527, 0.7455330491065979, 0.2003200203180313, 0.2921256422996521, 0.28934231400489807, 0.521757185459137, 0.07919031381607056, 0.18055762350559235, 0.04104029759764671, -1.248315453529358, -0.242746502161026, -0.6041296720504761, -0.36620497703552246, 0.14333166182041168, -0.49397987127304077, 0.3042643964290619, -0.44796431064605713, -0.1302599310874939, 0.127207413315773, -0.5609391331672668, -0.9192618727684021, 0.1688299924135208, 0.9294053316116333, 0.506690502166748, -1.0178420543670654, 0.5935115218162537, 0.891741931438446, -0.007693934720009565, -0.4801255762577057, 0.1453697681427002, 0.058216534554958344, -1.1190887689590454, 1.093691349029541, 0.2653302252292633, 0.18671077489852905, -0.4056394100189209, -0.6704871654510498, -0.8711596131324768, 0.8182982206344604, 0.8091424703598022, -0.9753391146659851, -0.1340685933828354, 0.553916871547699, 0.46551841497421265, -0.6076587438583374, 0.2782147526741028, 0.5954307913780212, 0.2588287591934204, 0.013403376564383507, -1.0728380680084229, -0.2034766674041748, -0.29026755690574646, 0.37998199462890625, 0.05460069328546524, -0.7857881784439087, 1.0000587701797485, -0.34821248054504395, -0.08133423328399658, -0.2945954501628876, 0.5977088809013367, 0.5652647018432617, 0.46907666325569153, 0.9250580072402954, 0.44506025314331055, 0.5774397253990173, -0.08000674098730087, 1.2074037790298462, 0.0965760126709938, 0.0522356852889061, 1.3439555168151855, -0.41358453035354614, 0.6490136384963989, 0.3450312316417694, -0.3247906565666199, 0.583217203617096, 0.38754546642303467, -0.16090203821659088, 0.24395933747291565, 0.2249063104391098, -0.06934815645217896, -0.26071619987487793, -0.30213499069213867, -0.24107149243354797, 0.6174562573432922, 0.21854721009731293, -0.6246788501739502, 0.026102334260940552, 0.1328165978193283, -0.33507341146469116, 0.08162640035152435, -0.44604942202568054, 0.5067704916000366, -0.04645804688334465, -0.4913608133792877, 0.25304946303367615, -0.16029208898544312, 0.9822111129760742, -0.10952634364366531, 0.04931395500898361, -0.3616209030151367, -0.0027079666033387184, -0.17906147241592407, -1.0263850688934326, 0.05710471048951149, 0.2957713007926941, -0.32291537523269653, 0.0671861469745636, 0.7617428302764893, -0.46281835436820984, -0.9962934255599976, 0.17019125819206238, 0.3166823089122772, 0.15030312538146973, -0.12623421847820282, -0.7616870999336243, 0.2829936742782593, 0.18787990510463715, 0.17653979361057281, 0.2847690284252167, -0.11303335428237915, -0.476046621799469, 0.6293086409568787, 0.6099963188171387, 0.25048714876174927, 0.39762842655181885, 0.3738757073879242, 0.6934381127357483, -0.6712396144866943, -0.46661829948425293, -0.909679114818573, 0.14257177710533142, -0.3104451596736908, -0.052208177745342255, 0.6738776564598083, 0.38704898953437805, 0.8089433908462524, 0.011071261018514633, 0.8558183908462524, 0.18626846373081207, 0.3809551000595093, -0.3642463982105255, 0.57284015417099, -0.76250821352005, -0.0025295638479292393, -0.4782462418079376, -1.0063529014587402, -0.14958101511001587, 0.2633056044578552, -0.3224736452102661, 0.10624953359365463, 0.412375271320343, 0.8148407340049744, -0.006082705222070217, 0.1593627780675888, 0.21227572858333588, 0.1414962261915207, 0.30924665927886963, 0.4599928557872772, 1.083709478378296, -0.15258634090423584, 0.3701448142528534, -0.13301552832126617, -0.12497539073228836, -0.1836985945701599, -0.8149898648262024, -1.0527983903884888, -0.41804689168930054, -0.20918044447898865, 0.001351466285996139, 0.06448187679052353, 0.6959054470062256, 0.6668028235435486, -0.6866851449012756, -0.30816105008125305, 0.2651093900203705, 0.03470970690250397, 0.2555517256259918, -0.18296903371810913, 0.20192576944828033, 0.2452852874994278, -0.9065566062927246, -0.2812020182609558, 0.16811338067054749, 0.08398059755563736, -0.7004024386405945, -0.038816336542367935, 0.213449627161026, -0.1698668897151947, 0.6309651732444763, 0.08815921097993851, -0.641457200050354, -0.21544870734214783, -0.08569781482219696, -0.07052665203809738, 0.06507664918899536, 0.8203148245811462, -0.6817384362220764, 0.5354095101356506, 0.5282893776893616, 0.5967097282409668, 0.6188268065452576, -0.18677067756652832, 0.7413455843925476, -0.7339357137680054, 0.5589190125465393, 0.024817999452352524, 0.5652273893356323, 0.6636174321174622, -0.17493171989917755, 0.22546768188476562, 0.48105114698410034, -0.3539485037326813, -0.8491424322128296, 0.2493770867586136, -1.0123538970947266, -0.27469855546951294, 1.301222801208496, 0.14384318888187408, -0.29958009719848633, 0.07778511196374893, -0.354851096868515, -0.057280924171209335, -0.450452595949173, 0.5607459545135498, 0.5600897073745728, 0.1846720576286316, -0.4559941291809082, -0.7076274752616882, 0.13474711775779724, 0.3823462426662445, -0.7795198559761047, -0.07835355401039124, 0.7632789015769958, 0.19886086881160736, 0.04018106311559677, 0.562349259853363, -0.10621456056833267, 0.232181116938591, -0.1297164261341095, 0.22717009484767914, -0.09170197695493698, -0.16836866736412048, -0.2532312273979187, 0.1346997618675232, -0.2395593822002411, -0.3803302049636841 ]
http://arxiv.org/abs/2402.07939v5
http://arxiv.org/pdf/2402.07939v5
UFO: A UI-Focused Agent for Windows OS Interaction
2024-02-08T15:40:35
2024-05-23T05:18:58
Chaoyun Zhang, Liqun Li, Shilin He, Xu Zhang, Bo Qiao, Si Qin, Minghua Ma, Yu Kang, Qingwei Lin, Saravan Rajmohan, Dongmei Zhang, Qi Zhang
cs.HC
cs.HC, cs.AI, cs.CL
We introduce UFO, an innovative UI-Focused agent to fulfill user requests tailored to applications on Windows OS, harnessing the capabilities of GPT-Vision. UFO employs a dual-agent framework to meticulously observe and analyze the graphical user interface (GUI) and control information of Windows applications. This enables the agent to seamlessly navigate and operate within individual applications and across them to fulfill user requests, even when spanning multiple applications. The framework incorporates a control interaction module, facilitating action grounding without human intervention and enabling fully automated execution. Consequently, UFO transforms arduous and time-consuming processes into simple tasks achievable solely through natural language commands. We conducted testing of UFO across 9 popular Windows applications, encompassing a variety of scenarios reflective of users' daily usage. The results, derived from both quantitative metrics and real-case studies, underscore the superior effectiveness of UFO in fulfilling user requests. To the best of our knowledge, UFO stands as the first UI agent specifically tailored for task completion within the Windows OS environment. The open-source code for UFO is available on https://github.com/microsoft/UFO.
[ -0.4088023602962494, -0.875117301940918, 0.7532788515090942, 0.12985055148601532, 0.2311093956232071, 0.2043105512857437, 0.23378166556358337, -0.6147862672805786, 0.34954020380973816, 0.36365261673927307, -0.7370591759681702, -0.23182685673236847, -0.006315537262707949, 0.09537044167518616, -0.12358254939317703, 0.8293771743774414, 0.14569956064224243, -0.6807070374488831, -0.43709173798561096, 0.026093630120158195, -0.43348440527915955, -0.2250904142856598, -0.4140084981918335, -0.10106738656759262, 0.9091119170188904, 0.2931751608848572, 1.1736429929733276, 0.3541184961795807, 0.5157641768455505, 0.39092421531677246, 0.4936683773994446, 0.26534757018089294, -0.39235439896583557, 0.1625339239835739, -0.26771315932273865, -0.2708573341369629, -0.7323695421218872, 0.2046094536781311, 0.3590567111968994, 0.6339168548583984, -0.034891340881586075, -0.039482224732637405, 0.30242711305618286, 0.6272879242897034, -0.7696323394775391, -0.13917553424835205, -0.29700174927711487, 0.2702014446258545, -0.166458398103714, -0.1904395967721939, -0.3376617133617401, -0.01759849488735199, -0.05724097043275833, -1.2730119228363037, 0.044676437973976135, -0.06608162820339203, 0.6176294088363647, 0.372496098279953, -0.5127875208854675, 0.26105034351348877, -0.8131837844848633, 0.6865077614784241, -0.13075576722621918, 0.36332565546035767, 0.15706762671470642, 0.365116685628891, -0.5386815071105957, -0.7273158431053162, -0.4588991403579712, -0.8697619438171387, -0.14411039650440216, 0.06120024994015694, -0.39378562569618225, 0.4025621712207794, 0.2792210578918457, 0.26546788215637207, -0.7165853977203369, -0.23121193051338196, -0.13456261157989502, -0.4361572563648224, 0.34059351682662964, 0.36770913004875183, 0.617443323135376, 0.38195252418518066, -0.6969305872917175, 0.22157788276672363, -0.4275445342063904, 0.46540212631225586, 0.10612356662750244, 0.24891705811023712, -0.0532226599752903, 0.7580057382583618, -0.5971441864967346, 0.9265608191490173, 0.012543418444693089, 0.10428638756275177, 0.20888997614383698, -0.08560449630022049, -0.5279909372329712, -0.6041675806045532, 0.7267484664916992, 0.4211983382701874, -0.33070236444473267, -0.5819563269615173, -0.30727580189704895, 0.16708029806613922, 0.5934116840362549, -0.4408048987388611, 0.04220248758792877, 0.38218197226524353, -0.2963697612285614, -0.344448983669281, 0.4587101638317108, -0.3109244406223297, -0.5033783912658691, -0.5900389552116394, 0.3882113993167877, -0.14994299411773682, -0.6775745749473572, -0.3233400285243988, -0.43349361419677734, 0.2127920538187027, 0.6995938420295715, -0.16856922209262848, 0.14701683819293976, 0.7836689352989197, 0.6957702040672302, -0.5665266513824463, -0.6529793739318848, -1.1474353075027466, 0.3056696057319641, -0.4881076216697693, 0.813659131526947, -0.5676664710044861, -0.3983820378780365, -0.3088725209236145, 0.021429724991321564, 0.030744483694434166, -0.2478865534067154, -0.24874603748321533, -0.32315337657928467, 0.15434029698371887, -0.2685864269733429, -0.133159801363945, -0.27261194586753845, 0.4654618501663208, -0.5577399134635925, 1.1226392984390259, 0.5255682468414307, -0.38318100571632385, 0.48332858085632324, -1.109039545059204, -0.3889513611793518, 0.7575181722640991, -0.2594151496887207, 0.10265690088272095, 0.2945282459259033, -0.5294523239135742, 0.38686174154281616, 0.025792988017201424, -0.026000680401921272, -0.380463570356369, -0.5614893436431885, -0.0023503981065005064, -0.2788028120994568, 0.5483222603797913, 0.33968207240104675, -0.6224592924118042, 0.4165692925453186, -0.49478939175605774, 0.21769025921821594, -0.19151142239570618, -0.24479547142982483, -0.40788477659225464, -0.03953411057591438, 0.5630444288253784, 0.008685161359608173, 0.5722382664680481, -0.8189418911933899, 0.6228329539299011, 0.03320899233222008, -0.037768203765153885, 0.4975915551185608, -0.33057376742362976, 0.40247249603271484, -0.08403262495994568, 0.716976523399353, -0.1916104108095169, 0.7183192372322083, 0.15222926437854767, -0.579663097858429, -0.28299078345298767, -0.23014110326766968, -0.4951508045196533, 0.6627010107040405, -0.9812925457954407, 0.08216601610183716, 0.04258635640144348, -0.3723004460334778, -0.0533209852874279, 0.21371951699256897, 0.4629366993904114, 0.3556981682777405, 0.11665555089712143, -0.21546423435211182, -0.10611798614263535, -0.8554321527481079, -0.3401584029197693, -0.32519233226776123, -0.22535566985607147, 0.34217098355293274, 0.18211258947849274, -0.7441567778587341, 1.6180813312530518, -0.3048118054866791, -0.5455439686775208, -0.2333671897649765, 0.06666618585586548, 0.02046113647520542, 0.24893416464328766, 0.8007633090019226, -1.2786357402801514, -0.9207643270492554, 0.8178760409355164, -1.120468258857727, -0.1424659639596939, -0.12124871462583542, -0.2297554314136505, 0.3905235826969147, 0.4876706898212433, -0.4944504201412201, 0.8761062622070312, 0.37323546409606934, -0.6495211720466614, 0.7071791291236877, -0.3059957027435303, 0.2839932441711426, -0.6699988842010498, 0.2519029378890991, -0.1414181888103485, -0.44280365109443665, -0.8306791186332703, 0.21648117899894714, 0.1313648819923401, -0.20520398020744324, -0.5261437296867371, 0.49127453565597534, -0.5460996031761169, -0.08211197704076767, -0.7249079942703247, -0.2749072015285492, 0.03653624281287193, 0.55629563331604, -0.023198800161480904, 1.155261516571045, 0.7623754739761353, -0.7100615501403809, 0.6846984028816223, -0.1542305052280426, 0.17303210496902466, 0.834818959236145, -0.5428498983383179, 0.42445650696754456, 0.02619219198822975, -0.22692236304283142, -0.8757961988449097, -0.2129456102848053, 0.3837045729160309, -0.31321048736572266, -0.03225957229733467, -0.10058141499757767, 0.0366063229739666, -0.4305652976036072, -0.3662818372249603, -0.08782992511987686, 0.20729845762252808, -0.3421996831893921, 1.1358147859573364, 0.3386732339859009, 0.1136246994137764, -0.7702452540397644, -0.5213389992713928, 0.6869524717330933, -0.09392047673463821, -0.42343729734420776, 0.06212441995739937, -0.2202153205871582, -0.38679251074790955, 0.2517085373401642, -0.08016446232795715, -0.02507888525724411, 0.21321439743041992, 0.7070903182029724, 0.3221031427383423, -0.3481444716453552, -0.5050009489059448, -0.08997832983732224, -0.22144843637943268, -0.29187411069869995, -0.31987422704696655, -0.10753676295280457, -0.4708237648010254, -0.3693121373653412, -0.8097697496414185, 0.6844805479049683, 1.0658475160598755, -0.07161260396242142, 0.23893791437149048, 0.6735987067222595, -0.19244398176670074, -0.12557929754257202, -0.7245670557022095, 0.06698967516422272, -0.6307668089866638, 0.6130346655845642, -0.9123326539993286, -0.5612809658050537, 0.34552323818206787, 0.05487411469221115, 0.3151111900806427, 0.08316930383443832, 0.17905659973621368, -0.26032933592796326, 0.984939694404602, 1.2299485206604004, -0.36272022128105164, 0.6782987117767334, -0.2099858671426773, -0.25598910450935364, -0.6274759769439697, -0.211610808968544, -0.06839747726917267, -0.12940892577171326, -0.12922969460487366, -0.15321817994117737, 0.5960545539855957, -0.26456528902053833, 0.026959259063005447, 0.4267427325248718, -0.8598943948745728, 0.40827152132987976, 0.8030580282211304, 0.006102048326283693, 0.09092182666063309, 0.10745227336883545, -0.012320611625909805, 0.16625064611434937, -0.34003427624702454, -0.49896880984306335, 0.5856460332870483, 0.2281704992055893, 0.7662038803100586, -0.016711188480257988, 0.19453977048397064, 1.1148407459259033, 0.6737043857574463, -0.7125548124313354, 0.7948882579803467, 0.14452746510505676, -0.35052481293678284, -0.6492674946784973, -0.2856596112251282, -0.9727584719657898, 0.4163249135017395, 0.23473598062992096, -0.7649092674255371, 0.24555884301662445, 0.2552470564842224, -0.3482826352119446, 0.37615999579429626, -0.7431671023368835, 0.9977908730506897, -0.23838840425014496, -0.6691162586212158, -0.2589539587497711, -0.40026116371154785, -0.12415716797113419, 0.3759295344352722, -0.09928130358457565, -0.3159523010253906, -0.37543413043022156, 0.1666082888841629, -0.6815170645713806, 0.8257707953453064, -0.735747754573822, -0.18390187621116638, 0.28095707297325134, 0.4528247117996216, 0.5371266007423401, -0.20999059081077576, 0.08088262379169464, 0.09656612575054169, -0.06234094873070717, -0.1984957605600357, -0.49546849727630615, 0.5856069326400757, -0.5615847110748291, -0.6384612917900085, -0.5546209812164307, -0.6288623809814453, 0.00963230524212122, 0.35380297899246216, 0.08812869340181351, 0.4813651144504547, -0.6707939505577087, -0.03625014051795006, -0.012255566194653511, -0.018280968070030212, 0.49849459528923035, 0.9785807132720947, -0.4392489492893219, -0.10033319890499115, 1.067021369934082, -0.18085111677646637, 0.18677784502506256, 0.6066229343414307, 0.0023948773741722107, -0.13882862031459808, -0.4832219183444977, -0.6473942399024963, -0.206155464053154, -0.09251195192337036, -0.11655885726213455, -0.5155726671218872, 0.05895238369703293, -0.22624430060386658, -0.3712453246116638, -0.4258515238761902, 0.08768898993730545, -0.13358628749847412, 0.08915699273347855, 0.24610748887062073, 1.1015417575836182, -0.13721883296966553, 0.27699175477027893, -0.3866996765136719, 0.8470202088356018, 0.6653666496276855, 0.4143960177898407, -0.48360109329223633, 0.18887457251548767, -0.2762991189956665, 0.21047194302082062, -0.49521878361701965, -0.7181232571601868, 0.2857801914215088, 0.2773057222366333, 0.7314628958702087, 0.9000440239906311, 0.14014476537704468, 0.5692506432533264, -0.4129381477832794, 0.9613487720489502, 0.38936007022857666, -0.7427425980567932, 0.7012218832969666, -0.44261136651039124, 0.11920630931854248, 0.5948320627212524, -0.13615953922271729, -0.6284169554710388, -0.9003937840461731, -0.005273585207760334, -0.45120471715927124, 1.0301220417022705, 0.2388375848531723, -0.0011553275398910046, 0.30934080481529236, 0.28544875979423523, 0.37818047404289246, 0.17397527396678925, -0.5037901997566223, -0.3756069839000702, -0.18896621465682983, 0.23413673043251038, -0.07446756958961487, -0.08097822219133377, -0.041779983788728714, -0.046027787029743195, 0.45986634492874146, -0.3892507255077362, 0.2766615152359009, 0.4311266541481018, -0.21830680966377258, -0.26979491114616394, 0.05342821776866913, 0.3963887691497803, 0.855421781539917, -0.34020623564720154, 0.049112122505903244, -0.27539193630218506, -1.1754554510116577, 0.08019141107797623, 0.15775588154792786, -0.4415469765663147, -0.054156702011823654, -0.2079695761203766, 0.48733383417129517, -0.3202284276485443, -0.36460012197494507, 0.5080159306526184, -0.2206001728773117, -0.11699420213699341, -0.41653284430503845, 0.45768845081329346, -0.5082072615623474, 0.2554810345172882, 1.0541212558746338, 0.3298295736312866, 0.572873055934906, -0.5227175951004028, 0.08508333563804626, 0.7019842267036438, -0.7319039702415466, -0.424137681722641, 1.1338807344436646, 0.47833818197250366, -0.47429895401000977, 0.5299618244171143, -0.27463144063949585, -0.30708152055740356, 0.8698808550834656, 0.18566562235355377, 1.202087640762329, -0.2053832709789276, 0.6126126646995544, -0.30685529112815857, 0.4869886338710785, 0.1763075441122055, 0.38166964054107666, -0.5626851916313171, -0.49931612610816956, -0.28638529777526855, -0.3133564293384552, -0.8298208117485046, -0.014359582215547562, -0.6415846347808838, -0.179460346698761, -0.17332231998443604, -0.42145028710365295, -0.04060034453868866, 0.14314395189285278, -0.5873827934265137, 0.005941477138549089, 0.1739959567785263, 0.9561750888824463, -0.44483956694602966, 0.799615204334259, 1.2041319608688354, -0.2207028716802597, -0.3354276418685913, -0.0022726573515683413, 0.11834381520748138, -0.47702327370643616, 0.23167581856250763, 0.5371248722076416, -0.6558789610862732, -0.144952192902565, -0.5000213980674744, -0.5460407137870789, 0.9920977354049683, 0.4130094647407532, -0.4068361818790436, 0.17083299160003662, 0.5081592798233032, 0.3830030560493469, -0.1567152589559555, 0.2880844175815582, 0.2761574685573578, 0.8025603890419006, -0.2765932083129883, -1.1244161128997803, 0.04664308577775955, -0.75519859790802, 0.059789564460515976, -0.07528446614742279, -0.4619505703449249, 0.3726694583892822, -0.40398848056793213, -0.19051936268806458, 0.3365820646286011, 0.8152799010276794, -0.011315546929836273, 0.9676042795181274, 0.8300305604934692, 0.10009881854057312, 0.638322114944458, -0.1101633682847023, 1.188619613647461, -0.08996814489364624, -0.03956504166126251, 0.6593497395515442, -0.442472904920578, 0.49107691645622253, 0.5028764605522156, -0.487377792596817, 0.44278720021247864, 0.3809221684932709, 0.16492681205272675, 0.5075758099555969, -0.4160745441913605, -0.4224712550640106, -0.07456034421920776, -0.07524346560239792, -0.3966728448867798, 0.12950068712234497, 0.28445255756378174, 0.5117918848991394, 0.08946545422077179, 0.7286596894264221, -0.28771135210990906, 0.002882562344893813, -0.5188061594963074, 0.8357524275779724, -0.20942801237106323, -0.7607293725013733, 0.28922876715660095, -0.15263639390468597, 0.9099173545837402, -0.9516893625259399, -0.0872112438082695, -0.330008864402771, 0.1613549143075943, -0.40041840076446533, -0.7233587503433228, 0.19328615069389343, -0.06646321713924408, -0.31050801277160645, -0.30110985040664673, 0.6267831921577454, -0.2090037316083908, -0.16666163504123688, 0.2737657427787781, 0.25077489018440247, 0.3356156647205353, -0.9189046621322632, -0.5822438597679138, 0.05323058366775513, 0.13398030400276184, -0.5407601594924927, 0.32836300134658813, 0.3773523271083832, 0.0664738118648529, 0.8746309876441956, 0.6751019954681396, -0.11206717044115067, -0.09568008035421371, -0.19746443629264832, 0.9560362696647644, -0.7173925042152405, -0.8196470141410828, -0.49864208698272705, 0.675463855266571, -0.1013902798295021, -0.12018617242574692, 0.9322089552879333, 1.023134469985962, 0.29784059524536133, -0.3012952208518982, 1.0190848112106323, -0.4000600576400757, 0.3145146667957306, 0.05871429666876793, 0.7649934887886047, -0.9021730422973633, -0.11293480545282364, -0.1279754340648651, -0.915604829788208, 0.11846993863582611, 0.28293195366859436, 0.062355272471904755, -0.057744260877370834, 0.44309496879577637, 0.8760200142860413, -0.34912848472595215, -0.21850045025348663, 0.7837662696838379, 0.020244693383574486, 0.23858758807182312, 0.5887042880058289, 1.1371430158615112, -0.02667374350130558, 0.5872730612754822, -0.09130068868398666, -0.6948010325431824, -0.26756641268730164, -0.6432815790176392, -0.7457876801490784, -0.5768513679504395, -0.39877191185951233, -0.16406646370887756, 0.09956684708595276, 0.5506601929664612, 0.9061505794525146, -0.6571597456932068, -0.23567870259284973, -0.24057158827781677, 0.20760291814804077, -0.7806512713432312, -0.3605225086212158, 0.040044914931058884, -0.3395828306674957, -0.7802059650421143, 0.8788424730300903, 0.6725215911865234, -0.011698560789227486, -0.23718896508216858, -0.36093831062316895, 0.5404040813446045, -0.27617669105529785, 0.5655384063720703, 0.9262750744819641, -0.6768641471862793, -0.05508074536919594, 0.06807910650968552, -0.45119336247444153, -0.15133310854434967, 0.861463725566864, -1.0857288837432861, 0.4059933125972748, 0.05733531340956688, 0.20955874025821686, 0.21338452398777008, 0.0529785081744194, 0.7647123336791992, -0.7718210816383362, 0.3739088773727417, -0.00938587635755539, -0.08474616706371307, -0.037318889051675797, -1.0278795957565308, 0.46014848351478577, 0.2335319072008133, -0.22032013535499573, -0.855751633644104, 0.024127895012497902, -1.3608567714691162, -0.4381813406944275, 1.0386853218078613, -0.014067755080759525, -0.16088871657848358, -0.6641795635223389, -0.5358383059501648, -0.4438204765319824, -0.5872852802276611, 0.5174490809440613, -0.09858270734548569, -0.30950063467025757, 0.29538705945014954, -0.6307345628738403, 0.5612002611160278, 0.0053398278541862965, -0.770424485206604, 0.1537782847881317, 0.726898193359375, 0.276316374540329, 0.24244634807109833, 0.947234570980072, 0.27218887209892273, 0.6394429206848145, -0.016668016090989113, 0.22576498985290527, -0.809717059135437, -0.5499590039253235, 0.09114871174097061, 0.4407387673854828, -0.31977081298828125, -0.6871258616447449 ]
http://arxiv.org/abs/2402.05755v1
http://arxiv.org/pdf/2402.05755v1
SpiRit-LM: Interleaved Spoken and Written Language Model
2024-02-08T15:39:32
2024-02-08T15:39:32
Tu Anh Nguyen, Benjamin Muller, Bokai Yu, Marta R. Costa-jussa, Maha Elbayad, Sravya Popuri, Paul-Ambroise Duquenne, Robin Algayres, Ruslan Mavlyutov, Itai Gat, Gabriel Synnaeve, Juan Pino, Benoit Sagot, Emmanuel Dupoux
cs.CL
cs.CL, cs.SD, eess.AS
We introduce SPIRIT-LM, a foundation multimodal language model that freely mixes text and speech. Our model is based on a pretrained text language model that we extend to the speech modality by continuously training it on text and speech units. Speech and text sequences are concatenated as a single set of tokens, and trained with a word-level interleaving method using a small automatically-curated speech-text parallel corpus. SPIRIT-LM comes in two versions: a BASE version that uses speech semantic units and an EXPRESSIVE version that models expressivity using pitch and style units in addition to the semantic units. For both versions, the text is encoded with subword BPE tokens. The resulting model displays both the semantic abilities of text models and the expressive abilities of speech models. Additionally, we demonstrate that SPIRIT-LM is able to learn new tasks in a few-shot fashion across modalities (i.e. ASR, TTS, Speech Classification).
[ -0.17895139753818512, -0.692583441734314, 0.3680568337440491, 0.30726301670074463, -0.5048531889915466, 0.1960437148809433, -0.41706588864326477, -0.5864647626876831, 0.43578001856803894, 0.6292307376861572, -0.5731929540634155, -0.29217010736465454, -0.5461330413818359, -0.047985877841711044, -0.49950456619262695, 1.1374696493148804, 0.11851173639297485, 0.7250712513923645, -0.03848131746053696, -0.1762584149837494, -0.48093459010124207, -0.697951078414917, -0.3539712429046631, -0.6104524731636047, 0.418521523475647, 0.104320228099823, 0.4697568714618683, 0.23101025819778442, 0.28304779529571533, 0.2741732597351074, -0.08521049469709396, -0.1059265285730362, -0.3398372530937195, 0.29915422201156616, -0.1819799393415451, -0.6418130993843079, -0.5283955335617065, 0.3016188144683838, 0.7844820618629456, 0.7932763695716858, -0.04957403242588043, -0.08515878766775131, 0.055636078119277954, 0.5566142797470093, -0.37423211336135864, 0.3226916790008545, -0.9689352512359619, -0.0960523784160614, -0.0985729992389679, -0.19800812005996704, -0.3296058773994446, -0.18940868973731995, 0.21929951012134552, -0.23938383162021637, -0.07388512790203094, -0.1443605124950409, 0.48645004630088806, 0.35458457469940186, -0.5204200148582458, -0.6415119171142578, -0.6819417476654053, 0.6863673329353333, -0.6421173810958862, 0.676985502243042, 0.19818015396595, 0.18010471761226654, 0.08480383455753326, -0.8886894583702087, -1.0472041368484497, -0.3450479209423065, 0.054011065512895584, 0.18287977576255798, 0.16229425370693207, 0.6373611688613892, -0.11835189163684845, 0.37665852904319763, -0.3513709604740143, -0.33252739906311035, -0.24003057181835175, -0.0032035112380981445, 0.5193583965301514, 0.0708966925740242, 0.4389970004558563, -0.1543557196855545, -0.5275934338569641, -0.03859466314315796, -0.35029640793800354, 0.020296433940529823, 0.33191564679145813, 0.6961988806724548, -0.011928115040063858, 0.7926534414291382, 0.05085618421435356, 0.7060836553573608, -0.09822675585746765, -0.6801760196685791, 0.11738215386867523, -0.3433209955692291, -0.5019051432609558, 0.345577597618103, 0.6169079542160034, 0.15124398469924927, 0.28570374846458435, -0.3738867938518524, -0.35331833362579346, 0.2563225328922272, 0.07899313420057297, -0.9047263860702515, 0.10395505279302597, 0.14829473197460175, -0.5652288198471069, -0.1477898359298706, 0.05952849239110947, -0.31879568099975586, -0.387628972530365, -0.45938795804977417, 0.7467963099479675, -0.6793782711029053, -0.6539519429206848, 0.21367618441581726, -0.01888817548751831, 0.14454230666160583, 0.4378109872341156, -0.8409909605979919, 0.48216184973716736, 0.735187828540802, 0.7547314763069153, -0.1617833822965622, -0.30652734637260437, -0.6621220707893372, -0.10701295733451843, -0.1384701281785965, 0.272768497467041, -0.614646852016449, -0.4583398699760437, -0.010997703298926353, 0.09954002499580383, -0.18111827969551086, -0.454496294260025, 0.604465663433075, -0.4572157859802246, 0.4522993564605713, -0.06157273054122925, -0.9322964549064636, -0.6301551461219788, -0.059766434133052826, -0.6044517755508423, 1.0157493352890015, 0.17149174213409424, -0.5647193193435669, 0.4002022445201874, -0.38609081506729126, -0.24674676358699799, 0.19842231273651123, -0.17996621131896973, 0.014644095674157143, 0.5086588859558105, -0.4259996712207794, 0.7068325281143188, -0.29650819301605225, 0.5827646851539612, 0.06823600083589554, -0.22526617348194122, 0.04812246561050415, -0.5107744336128235, 0.6318438649177551, 0.28486740589141846, -0.24745787680149078, 0.45376527309417725, -0.8965855240821838, 0.14462602138519287, -0.008054397068917751, -0.42800676822662354, -0.38275694847106934, 0.090727299451828, 0.614847719669342, 0.4737323522567749, 0.2337297797203064, -0.4357835352420807, 0.133117213845253, -0.48939913511276245, 0.2523682415485382, 0.3596108555793762, -0.43439045548439026, 0.5556139945983887, -0.30648425221443176, 0.543898344039917, 0.21161118149757385, -0.26870328187942505, -0.6660465598106384, -0.4459204077720642, -0.8388805389404297, -0.500345766544342, 0.049797173589468, 0.7978396415710449, -0.6374760866165161, 0.37482625246047974, -0.1571217179298401, -0.4817144274711609, -0.6537964344024658, 0.14778219163417816, 0.5573673248291016, 0.5828141570091248, 0.4186670184135437, -0.32320570945739746, -0.3464023470878601, -0.6101635694503784, -0.5577675700187683, -0.40808942914009094, 0.32382285594940186, -0.06010478734970093, 0.34701159596443176, -0.21455198526382446, 1.2143006324768066, 0.08561109006404877, -0.2630771994590759, -0.6270166039466858, 0.10163230448961258, 0.12078306823968887, 0.49999579787254333, 0.6130263805389404, -0.8901439309120178, -0.48381417989730835, -0.2782732844352722, -0.684415340423584, -0.3249339461326599, 0.016227584332227707, 0.4146728515625, 0.15798576176166534, 0.5454770922660828, -0.47167593240737915, 0.45504823327064514, 0.8230093121528625, -0.48915809392929077, 0.3089491128921509, 0.019580701366066933, 0.12455318123102188, -1.334469199180603, -0.20512105524539948, -0.22664980590343475, -0.5172532200813293, -1.0614018440246582, 0.15222537517547607, 0.1450917273759842, -0.24020269513130188, -0.7816187739372253, 0.8325579166412354, -0.5169755220413208, -0.04033518210053444, -0.6511054635047913, 0.07923176139593124, -0.05335082486271858, 0.43837544322013855, 0.2998987138271332, 0.5707743763923645, 0.633106529712677, -0.516025185585022, 0.48956283926963806, -0.32742467522621155, -0.3098815381526947, 0.6260970830917358, -0.591090202331543, 0.12122635543346405, -0.6272075772285461, 0.16492639482021332, -1.1688114404678345, -0.17614604532718658, 0.15251962840557098, -0.1188991442322731, 0.5298254489898682, 0.1272566020488739, -0.4506296217441559, 0.12778478860855103, -0.02284361980855465, 0.43070048093795776, 0.2516838610172272, -0.39583921432495117, 1.1341816186904907, 0.18727843463420868, -0.1118747889995575, -0.5242966413497925, -0.6639115810394287, 0.09402626007795334, -0.12451080232858658, -0.84317946434021, 0.4214349091053009, -0.4135790765285492, -0.5205527544021606, 0.14455680549144745, 0.03816905990242958, -0.10178466141223907, 0.08392076194286346, 0.4648784399032593, 0.05466821789741516, -0.1527259647846222, 0.35206225514411926, 0.031090576201677322, 0.14806225895881653, -0.2835998833179474, -0.1989387422800064, 0.7873066663742065, -0.4744893014431, -0.4117596447467804, -0.5504809617996216, 0.5661986470222473, 0.5818209648132324, -0.19497820734977722, 0.9531125426292419, 0.5483564138412476, -0.6589460968971252, 0.08982495963573456, -0.5273787379264832, -0.14629726111888885, -0.37192055583000183, 0.48150375485420227, -0.7038838267326355, -1.006416916847229, 0.4837939739227295, -0.15962229669094086, 0.05836627259850502, 0.09499587118625641, 0.5246074795722961, 0.057361453771591187, 0.7715361714363098, 0.8591702580451965, 0.07975386083126068, 0.6236339211463928, 0.16031666100025177, 0.0383492186665535, -0.4671141803264618, -0.39791756868362427, -0.26154106855392456, -0.17798641324043274, -0.2541351318359375, -0.5214530229568481, 0.2715759873390198, 0.7815505266189575, 0.12019328773021698, 0.1225600391626358, -0.2828094959259033, 0.34595128893852234, 0.3853091597557068, -0.14710429310798645, 0.5217849612236023, -0.25382116436958313, -0.24515536427497864, -0.12084759771823883, -0.48833706974983215, -0.6135591268539429, 0.8339483141899109, 0.5165283679962158, 0.8653945326805115, 0.12598639726638794, 0.6955292224884033, -0.0398179367184639, 0.3694378435611725, -1.2584623098373413, 0.5689777135848999, -0.23108431696891785, -0.7517522573471069, -0.016166944056749344, -0.10335257649421692, -0.42113301157951355, 0.61077880859375, -0.46267515420913696, -0.476215124130249, -0.22286877036094666, 0.07394992560148239, 0.07427511364221573, 0.3973480761051178, -0.7553004622459412, 0.5267665386199951, -0.4609186053276062, -0.09437038749456406, -0.3085004389286041, -0.7585537433624268, 0.5491895079612732, -0.13831059634685516, 0.20264826714992523, -0.15638136863708496, -0.09355611354112625, 0.4857707619667053, -0.559477686882019, 0.7935407161712646, -0.15504278242588043, -0.3963063657283783, 0.24711185693740845, 0.07472983747720718, 0.3417908549308777, -0.05363974720239639, -0.06942566484212875, 0.1554001420736313, -0.020590070635080338, -0.1684311032295227, -0.4336977005004883, 0.4154071509838104, -0.6180729866027832, -0.5008885264396667, -0.6197408437728882, -0.425325870513916, -0.23602789640426636, 0.34040001034736633, 0.22727251052856445, 0.4649897813796997, -0.38836923241615295, 0.19156719744205475, 0.7373533844947815, -0.24054986238479614, 0.6618157625198364, 0.5499356389045715, -0.7128528952598572, -0.5458282828330994, 0.46623578667640686, 0.03587966784834862, 0.6164944171905518, 0.42504218220710754, 0.1537049561738968, -0.35432106256484985, -0.17040616273880005, -0.24708494544029236, 0.31901291012763977, -0.8591381907463074, 0.14282475411891937, -0.9124321937561035, -0.2772301137447357, -0.3532496690750122, 0.004096647258847952, -0.4606545865535736, -0.4090544879436493, -0.41274911165237427, -0.06027979403734207, 0.3368361294269562, 0.6994351744651794, 0.13130046427249908, 0.6758208870887756, -0.7047403454780579, 0.4785037636756897, 0.43270212411880493, 0.24855861067771912, -0.234924778342247, -0.3764118254184723, -0.11883378773927689, 0.07190965861082077, 0.049841031432151794, -1.1848701238632202, 0.4339860677719116, 0.47288569808006287, 0.46413809061050415, 0.2394380271434784, -0.4802614152431488, 0.6178116202354431, -0.767424464225769, 1.0311529636383057, 0.6564270257949829, -1.3625460863113403, 0.4183013141155243, -0.10269671678543091, 0.1190599575638771, 0.4541560411453247, 0.2472948431968689, -0.890714704990387, -0.34999921917915344, -0.31291672587394714, -0.6009587049484253, 0.7026689648628235, -0.20117497444152832, 0.2517760097980499, -0.018790122121572495, 0.401923805475235, 0.27016153931617737, 0.5857433080673218, -0.9995092153549194, -0.40933510661125183, -0.7286626696586609, -0.5320758819580078, -0.18853791058063507, -0.29314032196998596, -0.11227386444807053, -0.4102689325809479, 0.6458708643913269, -0.4058355987071991, 0.1418079286813736, 0.14635424315929413, -0.3282913863658905, -0.07357576489448547, 0.30268073081970215, 0.8698825240135193, 0.4069232642650604, -0.16308505833148956, 0.41221195459365845, -0.08881574869155884, -0.7394651770591736, 0.19037233293056488, 0.03528999164700508, 0.07114628702402115, 0.27308088541030884, 0.43344858288764954, 1.2346502542495728, 0.03454858437180519, -0.8372104167938232, 0.644294261932373, -0.17154961824417114, -0.22206656634807587, -0.37939366698265076, 0.12190879136323929, 0.20614604651927948, 0.4459695518016815, 0.5058386921882629, 0.037115514278411865, -0.16453817486763, -0.9345188140869141, 0.05238087847828865, 0.6285156607627869, -0.7351548075675964, -0.5349594950675964, 1.0335795879364014, 0.13567441701889038, -0.2846646308898926, 0.03782695531845093, -0.06742499768733978, -0.6533702611923218, 0.17173504829406738, 0.7043539881706238, 1.1849201917648315, -0.23449648916721344, 0.0000650297588435933, -0.08534274995326996, 0.44196900725364685, -0.13576620817184448, 0.7586893439292908, 0.03350570425391197, -0.9111431837081909, -0.35615500807762146, -0.8281269073486328, -0.17513352632522583, 0.3029187321662903, -0.3282224237918854, 0.3971483111381531, -0.3999061584472656, -0.09895335882902145, -0.3555827736854553, 0.037244927138090134, -0.7133392691612244, 0.5167813897132874, 0.20727014541625977, 0.9908539056777954, -0.8585687279701233, 1.2826075553894043, 0.7315056324005127, -0.4483816921710968, -0.9007308483123779, 0.08297554403543472, 0.04833594337105751, -0.6900445818901062, 1.0356450080871582, 0.1849958449602127, -0.48506367206573486, 0.14176446199417114, -0.4626776874065399, -0.754189670085907, 1.079925537109375, 0.4919646382331848, -0.551757276058197, -0.10630930215120316, 0.043422140181064606, 0.4235716760158539, -0.5976915955543518, 0.32952725887298584, 0.16149242222309113, 0.2382175326347351, 0.022105801850557327, -1.2834559679031372, -0.1751626431941986, -0.13498921692371368, 0.13210426270961761, -0.013114864937961102, -0.8494546413421631, 1.2051793336868286, 0.1533726304769516, -0.3827098608016968, 0.17746855318546295, 1.0304638147354126, 0.13816453516483307, 0.19349640607833862, 0.7935245633125305, 0.574273943901062, 0.8743708729743958, -0.16978788375854492, 0.6209926009178162, -0.6237457990646362, 0.13304926455020905, 1.049879550933838, -0.5650957226753235, 0.6279828548431396, 0.5630446076393127, 0.19832028448581696, 0.45329928398132324, 0.2917659878730774, 0.7485277652740479, 0.5671114325523376, 0.05913551151752472, -0.8094082474708557, -0.08481724560260773, -0.24098488688468933, -0.44134435057640076, 0.7263728380203247, 0.44331878423690796, -0.4883095622062683, -0.030949784442782402, 0.43821436166763306, 0.12663237750530243, 0.17583291232585907, -0.3468468487262726, 0.7951772809028625, 0.18284323811531067, -0.5737155675888062, 0.5240469574928284, 0.2289343774318695, 1.1402945518493652, -0.902286171913147, 0.13113966584205627, 0.07502135634422302, -0.01949433796107769, -0.21509794890880585, -0.5409490466117859, 0.1969044953584671, -0.09296241402626038, -0.20717895030975342, -0.42219746112823486, 1.0197008848190308, -1.0167752504348755, -0.26589828729629517, 0.4977555274963379, 0.6463823914527893, 0.17894098162651062, -0.01513745542615652, -0.5478188991546631, 0.16708968579769135, -0.37860822677612305, -0.2774651348590851, 0.14291982352733612, 0.5511547327041626, 0.02930908277630806, 0.606748104095459, 0.4433501660823822, 0.22805219888687134, 0.39416277408599854, 0.3275929391384125, 0.7181376814842224, -0.7605186104774475, -0.5444424748420715, -0.7717026472091675, 0.48801541328430176, 0.3539235293865204, -0.2596605718135834, 0.48578065633773804, 0.5435287952423096, 0.7126896977424622, -0.18418768048286438, 0.8794132471084595, -0.027679823338985443, 0.5579469203948975, -0.7258388996124268, 0.5365145802497864, -0.81170254945755, -0.10346076637506485, -0.4559323489665985, -1.0488355159759521, -0.03238500654697418, 0.5561226010322571, 0.4649335741996765, 0.11275067180395126, 0.6745702028274536, 0.5345399975776672, 0.00015796652587596327, 0.17317058145999908, 0.3986085057258606, -0.08448193967342377, 0.223619744181633, 0.2750168442726135, 0.8156699538230896, -0.30677661299705505, 0.05613337829709053, -0.09042089432477951, -0.3253870904445648, -0.13501782715320587, -1.1118454933166504, -0.9981697201728821, -0.8921921849250793, 0.008335853926837444, -0.4001900553703308, -0.21220462024211884, 1.4617606401443481, 0.8427494168281555, -0.4988623857498169, -0.45572900772094727, -0.10306950658559799, -0.20660483837127686, -0.136276975274086, -0.29441866278648376, -0.1289500594139099, -0.3811408579349518, -1.0311322212219238, 0.775297999382019, 0.4578862190246582, 0.298080176115036, -0.6566093564033508, -0.2648348808288574, -0.20933422446250916, 0.37218576669692993, 0.8400661945343018, -0.06948448717594147, -1.002043604850769, -0.24965490400791168, 0.09165897965431213, -0.2077919989824295, -0.1114627942442894, 0.9542319178581238, -0.9221255779266357, 0.730994701385498, 0.658885657787323, 0.6180856823921204, 0.49009692668914795, -0.2293819785118103, 0.4466090500354767, -0.9759235978126526, 0.5997692346572876, 0.3131853938102722, 0.4503142237663269, 0.32668042182922363, -0.06674550473690033, 0.34960201382637024, 0.5523449182510376, -0.19435109198093414, -0.7624083757400513, 0.4690644145011902, -1.182698369026184, -0.49892017245292664, 1.1140921115875244, 0.12039294838905334, 0.032582033425569534, 0.07232042402029037, -0.23748745024204254, 0.5897051095962524, -0.13703379034996033, 0.2082802653312683, 1.018661618232727, -0.08426979184150696, -0.2914460599422455, -0.5121890902519226, 0.6895405650138855, 0.4682973325252533, -0.655714213848114, -0.2643517851829529, 0.49009832739830017, 0.39237165451049805, 0.13321617245674133, 1.0489407777786255, -0.008415515534579754, -0.1353810876607895, -0.2407238930463791, 0.24995292723178864, 0.18100383877754211, -0.5766724348068237, -0.5955085158348083, 0.22285103797912598, -0.12485641241073608, 0.05007081478834152 ]
http://arxiv.org/abs/2402.05733v1
http://arxiv.org/pdf/2402.05733v1
TimeArena: Shaping Efficient Multitasking Language Agents in a Time-Aware Simulation
2024-02-08T15:08:57
2024-02-08T15:08:57
Yikai Zhang, Siyu Yuan, Caiyu Hu, Kyle Richardson, Yanghua Xiao, Jiangjie Chen
cs.CL
cs.CL
Despite remarkable advancements in emulating human-like behavior through Large Language Models (LLMs), current textual simulations do not adequately address the notion of time. To this end, we introduce TimeArena, a novel textual simulated environment that incorporates complex temporal dynamics and constraints that better reflect real-life planning scenarios. In TimeArena, agents are asked to complete multiple tasks as soon as possible, allowing for parallel processing to save time. We implement the dependency between actions, the time duration for each action, and the occupancy of the agent and the objects in the environment. TimeArena grounds to 30 real-world tasks in cooking, household activities, and laboratory work. We conduct extensive experiments with various state-of-the-art LLMs using TimeArena. Our findings reveal that even the most powerful models, e.g., GPT-4, still lag behind humans in effective multitasking, underscoring the need for enhanced temporal awareness in the development of language agents.
[ 0.049137648195028305, -1.058768630027771, 0.6916528344154358, 0.8411564826965332, 0.11107239872217178, 0.3320853114128113, -0.0792028158903122, -0.59375, 0.3964952528476715, 0.3613415062427521, -0.5173592567443848, -0.11263077706098557, -0.2677379548549652, 0.032639969140291214, -0.19073493778705597, 0.5137603282928467, -0.22490251064300537, -0.17760011553764343, 0.11170823872089386, -0.07482663542032242, -0.33187106251716614, -0.7973906397819519, -0.6534668207168579, -0.6097063422203064, 0.6499876379966736, 0.21440163254737854, 0.6550477147102356, 0.5062596201896667, -0.06186458468437195, 0.36398178339004517, 0.129060298204422, 0.2850716710090637, -0.1685594618320465, 0.47871577739715576, -0.00960624497383833, -0.5171636343002319, -0.6929833292961121, -0.0476895347237587, 0.45485273003578186, 0.3711587190628052, -0.2992165684700012, 0.10919417440891266, -0.021885668858885765, 0.27965399622917175, -0.5056081414222717, 0.43013444542884827, -0.262506902217865, 0.2745906114578247, -0.27754709124565125, -0.40595564246177673, -0.16118009388446808, -0.10532331466674805, -0.109607994556427, -0.850310206413269, 0.04273289442062378, 0.09518993645906448, 0.6388733386993408, 0.4070434272289276, -0.37903618812561035, 0.02687942422926426, -1.3744806051254272, 0.7816876173019409, -0.3934677243232727, 0.23139934241771698, 0.2841333746910095, 0.6309798359870911, -0.22155679762363434, -0.6260502338409424, -0.8558081984519958, -0.11062295734882355, 0.4645252525806427, 0.16084818542003632, -0.025325234979391098, -0.10643117129802704, 0.25511878728866577, -0.2173418402671814, -0.4337649345397949, -0.0026455845218151808, -0.12462269514799118, 0.07637855410575867, 0.04750079661607742, 0.6305854916572571, 0.5695061087608337, 0.08115499466657639, -0.1392432451248169, -0.15780949592590332, -0.4558056890964508, 0.14608584344387054, 0.3515808880329132, 0.1597328931093216, 0.040542226284742355, 0.5413713455200195, -0.06786485761404037, 0.5083265900611877, -0.41518011689186096, -0.05418011173605919, -0.06237940490245819, -0.38421308994293213, -0.2325419783592224, 0.0351034551858902, 0.4622573256492615, 0.402906209230423, 0.2546226382255554, -0.16930650174617767, 0.11257120221853256, 0.6546469926834106, 0.5065348744392395, -0.8401215672492981, 0.006377622485160828, 0.4197823107242584, -0.21643918752670288, -0.40675970911979675, -0.5933035016059875, -1.0372077226638794, -0.06632925570011139, -0.2587772607803345, 0.2659050524234772, -0.3072778582572937, -0.37676241993904114, 0.31092411279678345, 0.05963428318500519, 0.06849343329668045, 0.4404427707195282, -0.6984117031097412, 0.5963690876960754, 0.5063714981079102, 0.892397940158844, 0.02390376105904579, -0.865501344203949, -0.5709859728813171, 0.6409952640533447, -0.29259762167930603, 0.8907110095024109, -0.7755033373832703, -0.4018120765686035, -0.15768884122371674, -0.016268083825707436, -0.29261380434036255, -0.205169677734375, 0.15947149693965912, -0.6151392459869385, 0.0931304320693016, -0.1288917511701584, -0.2941468358039856, -0.09910009056329727, 0.49224820733070374, -0.9784140586853027, 0.9478074312210083, -0.04466104879975319, -0.25821104645729065, 0.3929781913757324, -1.2218499183654785, -0.48668569326400757, -0.13432899117469788, 0.03437402471899986, -0.26169654726982117, -0.2107250988483429, 0.3170487880706787, 0.5382845997810364, -0.0983128547668457, 0.282527357339859, -0.20411317050457, -0.1793910712003708, 0.4547707438468933, -0.46129995584487915, 0.5785802006721497, 0.4634697735309601, -0.5092568397521973, 0.2703661024570465, -0.3267521858215332, 0.0453852079808712, 0.20077380537986755, -0.3881407678127289, -0.2590596079826355, 0.2027866393327713, 0.2503105700016022, 0.3839032053947449, 0.1827625185251236, -0.6989845633506775, 0.413281112909317, -0.029176881536841393, 0.7034960389137268, 0.46407684683799744, 0.08598987758159637, 0.36441415548324585, -0.8058425784111023, 0.8486580848693848, -0.165164053440094, 0.535558819770813, 0.004256668966263533, -0.3797656297683716, -0.6384069919586182, -0.016623755916953087, -0.008673482574522495, 0.7961758375167847, -0.8839549422264099, -0.19214552640914917, -0.3752230703830719, -0.505876898765564, -0.1693100482225418, -0.029632046818733215, 0.43363383412361145, -0.0859873965382576, 0.24914588034152985, 0.10510148853063583, -0.3649248480796814, -0.4783487915992737, -0.3595755398273468, -0.048264652490615845, 0.3427458107471466, 0.010402655228972435, 0.5037522315979004, -0.1771801859140396, 0.7893134951591492, -0.3626553416252136, -0.40813499689102173, -0.48139604926109314, 0.10054882615804672, -0.21642513573169708, 0.33454474806785583, 0.805332362651825, -0.6688887476921082, -0.23608967661857605, -0.12658561766147614, -0.8001079559326172, 0.017712993547320366, -0.3805845379829407, 0.012031316757202148, 0.1286926120519638, 0.6532579660415649, -0.6308730840682983, 0.35866987705230713, 0.8180976510047913, -0.5555548071861267, 0.6771856546401978, -0.4549848139286041, 0.3060711920261383, -1.3557612895965576, 0.07479245215654373, -0.31562140583992004, -0.3383590281009674, -0.7250272631645203, -0.0328851193189621, -0.05942535772919655, -0.44379013776779175, -0.5552605390548706, 1.04242742061615, -0.5893193483352661, -0.008905448950827122, -0.251937597990036, -0.11622007936239243, 0.11598611623048782, 0.7842696309089661, -0.11303889751434326, 1.00187349319458, 0.08284370601177216, -0.8146876096725464, 0.1195722445845604, -0.16094940900802612, -0.4066673815250397, 0.26808276772499084, -0.7057097554206848, 0.04461811110377312, -0.002773930784314871, 0.4518587291240692, -0.44860151410102844, -0.3555707037448883, 0.07036178559064865, -0.05099970102310181, -0.034928515553474426, 0.06772066652774811, -0.9062706828117371, -0.13441362977027893, -0.2128608524799347, 0.7088572382926941, 0.2754759192466736, -0.23677128553390503, 1.2318683862686157, 0.4933568239212036, -0.10333995521068573, -0.47534888982772827, -0.6826233863830566, 0.23799051344394684, -0.24172541499137878, -0.2155274897813797, 0.40711209177970886, -0.0710354596376419, -0.48065218329429626, 0.09458542615175247, 0.15127873420715332, -0.16317492723464966, 0.3279530107975006, 0.46433407068252563, -0.06606119871139526, 0.3279646933078766, 0.08237119019031525, 0.19418178498744965, 0.0019528084667399526, -0.11381310969591141, -0.3171582818031311, 0.699334442615509, 0.02858208678662777, -0.36989232897758484, -0.4587033689022064, 0.5296041965484619, 0.8403494358062744, -0.30729854106903076, 0.6697697043418884, 0.3935658037662506, -0.5912341475486755, -0.29928165674209595, -0.5494741201400757, -0.01876981183886528, -0.4612013101577759, 0.2341230809688568, -0.4453558921813965, -0.7494123578071594, 0.7573562264442444, -0.08192101866006851, 0.48696908354759216, 0.04352443292737007, 0.4248800575733185, 0.05475752800703049, 0.8403392434120178, 0.4105846881866455, 0.169883593916893, 0.9076022505760193, -0.22001376748085022, -0.09737161546945572, -0.799852728843689, -0.33043915033340454, -0.522152841091156, -0.4027327597141266, -0.06554417312145233, -0.951870322227478, 0.43637150526046753, -0.38986900448799133, -0.09137500077486038, 0.2700482904911041, -0.1353316605091095, 0.6174766421318054, 0.3946942090988159, 0.0017342172795906663, 0.24893508851528168, -0.12001916766166687, -0.2207402139902115, 0.0042991237714886665, -0.7568168640136719, -0.6784491539001465, 0.8696165084838867, 0.07544895261526108, 0.7089848518371582, 0.14418822526931763, 0.40337464213371277, 0.3222035765647888, 0.1936900019645691, -0.42897966504096985, 0.6036777496337891, -0.11930865794420242, -0.9084682464599609, -0.4854172170162201, -0.344798743724823, -1.3783230781555176, 0.18729570508003235, 0.09408058226108551, -0.6009899973869324, -0.11572399735450745, 0.23642942309379578, -0.5435460209846497, 0.5387383103370667, -0.817649245262146, 0.887912392616272, -0.5571051239967346, -0.5038829445838928, -0.5994539856910706, -0.32432693243026733, -0.11126738786697388, 0.09295906126499176, 0.39825668931007385, -0.569477379322052, -0.2783108651638031, 0.637279748916626, -0.45543137192726135, 1.2294117212295532, -0.3006616532802582, 0.014992307871580124, 0.3387005627155304, 0.6626882553100586, 0.5057075023651123, -0.10032301396131516, -0.11677567660808563, -0.1981244683265686, 0.16006523370742798, -0.6110305190086365, -0.6821041107177734, 0.8488812446594238, -0.609770655632019, -0.2729666531085968, -0.5809453129768372, -0.571509063243866, -0.26739856600761414, 0.15309478342533112, -0.11932209134101868, 0.7270933985710144, -0.6463811993598938, -0.3041805326938629, 0.35694220662117004, -0.1629188507795334, 0.6795397400856018, 0.5893632173538208, -0.5270515084266663, 0.047250211238861084, 0.7728897929191589, 0.4046459197998047, 0.04021395742893219, 0.6611786484718323, 0.09380029141902924, -0.36044588685035706, -0.09923271834850311, -0.4189375340938568, 0.03444797173142433, -0.3701958954334259, 0.15871544182300568, -1.0636546611785889, 0.10763221979141235, -0.11043193191289902, -0.20284493267536163, -0.6651930809020996, -0.6265239715576172, -0.1082344502210617, -0.05323243886232376, 0.3998956084251404, 0.8686525225639343, 0.19058777391910553, 0.2707526981830597, -0.8059187531471252, 0.25877055525779724, 0.5984960198402405, 0.36193305253982544, 0.1902453899383545, 0.166741743683815, -0.17772448062896729, -0.22804485261440277, -0.05764329433441162, -0.5719442367553711, 0.34306085109710693, 0.17797952890396118, 0.49022048711776733, -0.08033973723649979, -0.08545230329036713, 0.6501863598823547, -0.5995885133743286, 0.7763614058494568, -0.16859318315982819, -0.7866055369377136, 0.32172176241874695, -0.4797751307487488, 0.8060395121574402, 0.24820511043071747, -0.13776518404483795, -0.7378186583518982, -0.39755362272262573, -0.36270952224731445, -0.8237404227256775, 0.47017303109169006, 0.5144063234329224, 0.09319129586219788, 0.05225750058889389, 0.02697024866938591, 0.09584328532218933, 0.09533191472291946, -0.43841755390167236, -0.03295512869954109, -0.38097015023231506, 0.0653432086110115, -0.2381199151277542, -0.32731425762176514, 0.013607234694063663, 0.07652302086353302, 0.41291964054107666, 0.009411962702870369, 0.5449324250221252, 0.1345549374818802, -0.19362109899520874, 0.08000794798135757, 0.4474414885044098, 1.032669186592102, 0.5338125824928284, 0.06230432540178299, 0.14457224309444427, 0.2722444534301758, -0.5596919655799866, 0.42867884039878845, 0.07951878756284714, 0.09791753441095352, -0.1766074299812317, 0.32380399107933044, 0.6361644268035889, 0.5586376190185547, -0.5019086599349976, -0.044304486364126205, -0.6284005641937256, 0.06261153519153595, -0.7644277215003967, 0.08234108984470367, 0.2384282499551773, 0.41056978702545166, 0.17900577187538147, 0.095018669962883, -0.0909355953335762, -0.5371823310852051, -0.15022991597652435, -0.139179989695549, -0.1169511005282402, -0.548574686050415, 0.991398811340332, 0.4128519594669342, -0.4369507431983948, 0.22631554305553436, -0.3780454099178314, -0.5572645664215088, 0.7562412619590759, 0.4678037166595459, 1.1154459714889526, -0.5000272989273071, 0.18176120519638062, 0.12330783158540726, 0.3028789460659027, -0.31567278504371643, 0.8143984079360962, 0.043362442404031754, -0.6886030435562134, -0.6492307782173157, -0.6575343012809753, -0.44080862402915955, -0.019106628373265266, -0.11015591025352478, -0.2474891096353531, -0.43516433238983154, -0.5131329894065857, -0.04642461612820625, -0.0755586326122284, -0.7742330431938171, -0.2037462741136551, -0.4317210912704468, 0.6671751141548157, -0.5414624214172363, 1.0589853525161743, 0.9779410362243652, -0.025875303894281387, -0.9023643732070923, 0.16465413570404053, 0.15478995442390442, -0.53684002161026, 0.41800689697265625, 0.1144934818148613, -0.7245957255363464, -0.04604692757129669, -0.10436674952507019, -0.6400042772293091, 1.1426860094070435, 0.32482999563217163, -0.5524689555168152, -0.4555957317352295, -0.14383307099342346, 0.6912745237350464, -0.24618184566497803, -0.0873776227235794, 0.19793139398097992, 0.4699020981788635, -0.46626996994018555, -1.007236361503601, -0.05788836255669594, -0.6049679517745972, 0.13336895406246185, 0.36628201603889465, -0.981365442276001, 0.7096497416496277, -0.2047649472951889, -0.2848161458969116, 0.0060478635132312775, 0.4361930191516876, 0.25036540627479553, 0.30485156178474426, 0.6214435696601868, 0.3995665907859802, 0.5447856783866882, 0.012782247737050056, 1.3173151016235352, -0.4328625202178955, -0.05227115377783775, 1.1544443368911743, -0.6472404599189758, 0.5281636118888855, 0.3577333688735962, -0.06490364670753479, 0.3501412570476532, 0.299381285905838, 0.4926377236843109, 0.23814141750335693, -0.031207118183374405, -0.46358153223991394, -0.4442684054374695, -0.41232502460479736, -0.15368963778018951, 0.5947446823120117, 0.5731707215309143, 0.26619821786880493, -0.17345161736011505, 0.34701886773109436, 0.3680458664894104, 0.23456430435180664, -0.025451138615608215, 0.41482067108154297, -0.005812845192849636, -0.7837451100349426, 0.028335340321063995, -0.16050906479358673, 0.3797963559627533, -0.6605461239814758, -0.20601189136505127, -0.10432906448841095, 0.42647653818130493, 0.21582694351673126, -0.6304871439933777, 0.2673581838607788, 0.06479151546955109, -0.08797379583120346, -0.4825895130634308, 0.5405959486961365, -0.4842000901699066, -0.37117889523506165, 0.6614298224449158, 0.7753235101699829, 0.1504727452993393, -0.10181402415037155, -0.537142813205719, 0.24368566274642944, -0.35883304476737976, -0.33655548095703125, 0.22545234858989716, 0.5997572541236877, -0.3277420401573181, 1.0659695863723755, 0.4778117835521698, 0.13366706669330597, 0.12921155989170074, 0.17210735380649567, 0.6518293023109436, -0.6863992810249329, -0.8153319358825684, -0.796791672706604, -0.06771467626094818, 0.006507062818855047, -0.2537745535373688, 0.5156844854354858, 0.5251374840736389, 0.6064540147781372, -0.10718243569135666, 0.6957868933677673, -0.031342267990112305, 0.4766610264778137, -0.7647714018821716, 0.9425941705703735, -0.5411157608032227, 0.17984755337238312, -0.20608848333358765, -0.9472736716270447, -0.10800319164991379, 0.27998295426368713, -0.13674896955490112, 0.2623958885669708, 0.8337616920471191, 0.6118636727333069, 0.005357980728149414, -0.15359744429588318, 0.39829114079475403, -0.0036738701164722443, 0.6851121187210083, 0.7315295338630676, 0.9635336399078369, 0.02963157184422016, 0.7306917905807495, -0.4631268084049225, -0.00959886983036995, -0.2068263739347458, -0.8672171831130981, -0.951063871383667, -0.764481782913208, -0.00976575631648302, -0.0715695396065712, 0.34215328097343445, 1.1424494981765747, 0.8453016877174377, -0.5217390060424805, -0.47152218222618103, 0.17812485992908478, -0.303824245929718, -0.5839090943336487, -0.17414924502372742, 0.0754317194223404, -0.12926898896694183, -0.9187941551208496, 0.6877192258834839, 0.2448931336402893, 0.3281615674495697, -0.2514803409576416, -0.10177896171808243, -0.31589072942733765, -0.0008565523894503713, 0.7357649207115173, 0.45805877447128296, -0.49079373478889465, -0.0981125608086586, 0.13964316248893738, -0.13858672976493835, -0.19863077998161316, 1.1959319114685059, -0.7168450355529785, 0.5030860304832458, 0.15616919100284576, 0.3829847574234009, 0.701971173286438, -0.1663120836019516, 0.7756069898605347, -0.6688358783721924, 0.34415388107299805, 0.3915807902812958, 0.18247701227664948, 0.06112886592745781, -0.2129746824502945, 0.5719618201255798, -0.06310861557722092, -0.7294318079948425, -0.4727621078491211, 0.3541078269481659, -0.835411787033081, -0.5059273838996887, 0.9730145335197449, -0.0025096270255744457, -0.45797330141067505, -0.4541880190372467, -0.16072583198547363, 0.5266926288604736, -0.8048670291900635, 0.9712602496147156, 0.7360291481018066, -0.31965991854667664, 0.07603603601455688, -0.982980489730835, 0.5210260152816772, 0.514434814453125, -1.1556100845336914, 0.22306974232196808, 0.410897821187973, 0.25959232449531555, 0.257669597864151, 0.8733837008476257, -0.0394524522125721, 0.2778904438018799, 0.039847489446401596, 0.1529702991247177, -0.3964211344718933, -0.7699143290519714, 0.03658562898635864, 0.05916749686002731, 0.0622924268245697, -0.14511243999004364 ]
http://arxiv.org/abs/2402.05706v1
http://arxiv.org/pdf/2402.05706v1
Unified Speech-Text Pretraining for Spoken Dialog Modeling
2024-02-08T14:35:09
2024-02-08T14:35:09
Heeseung Kim, Soonshin Seo, Kyeongseok Jeong, Ohsung Kwon, Jungwhan Kim, Jaehong Lee, Eunwoo Song, Myungwoo Oh, Sungroh Yoon, Kang Min Yoo
cs.CL
cs.CL, cs.SD, eess.AS
While recent work shows promising results in expanding the capabilities of large language models (LLM) to directly understand and synthesize speech, an LLM-based strategy for modeling spoken dialogs remains elusive and calls for further investigation. This work proposes an extensive speech-text LLM framework, named the Unified Spoken Dialog Model (USDM), to generate coherent spoken responses with organic prosodic features relevant to the given input speech without relying on automatic speech recognition (ASR) or text-to-speech (TTS) solutions. Our approach employs a multi-step speech-text inference scheme that leverages chain-of-reasoning capabilities exhibited by the underlying LLM. We also propose a generalized speech-text pretraining scheme that helps with capturing cross-modal semantics. Automatic and human evaluations show that the proposed approach is effective in generating natural-sounding spoken responses, outperforming both prior and cascaded baselines. Detailed comparative studies reveal that, despite the cascaded approach being stronger in individual components, the joint speech-text modeling improves robustness against recognition errors and speech quality. Demo is available at https://unifiedsdm.github.io.
[ -0.18152321875095367, -0.8586379885673523, 0.650295615196228, -0.0372101366519928, -0.620803713798523, 0.08348217606544495, -0.24935609102249146, -0.2653047442436218, -0.05855751782655716, 0.7960624694824219, -0.7234333157539368, -0.5568860173225403, -0.1547790914773941, 0.35887402296066284, -0.2888323962688446, 0.9016651511192322, 0.23781868815422058, 0.6596043109893799, -0.2521040737628937, 0.14112989604473114, -0.3791419565677643, -0.790871262550354, -0.4261339008808136, -0.6605547070503235, 0.23389704525470734, 0.15512311458587646, 0.39270541071891785, 0.22867049276828766, 0.19346623122692108, 0.3590727150440216, -0.027061963453888893, -0.08866289258003235, -0.137461856007576, 0.05224373936653137, 0.09959366172552109, -0.2653467357158661, -0.5844913721084595, 0.07674932479858398, 0.7265371680259705, 0.8865602612495422, -0.3499608635902405, -0.13153763115406036, 0.227028489112854, 0.28561532497406006, -0.21257486939430237, 0.06399355828762054, -0.7515742778778076, -0.07004371285438538, -0.2227603793144226, -0.36424368619918823, -0.5200825929641724, -0.04853386804461479, 0.4706394672393799, -0.6227577328681946, 0.16470178961753845, -0.11360403895378113, 0.4828677177429199, 0.04208523407578468, -0.5099442601203918, -0.28273120522499084, -0.8444552421569824, 0.6418492197990417, -0.8811494708061218, 0.6271694302558899, 0.2561950087547302, 0.07178636640310287, -0.20770131051540375, -0.7195703983306885, -0.5279099345207214, -0.4569849669933319, 0.09094960242509842, 0.3021275997161865, -0.022817252203822136, 0.4705279469490051, -0.24294869601726532, 0.4018422067165375, -0.6807300448417664, 0.039827294647693634, 0.141974538564682, -0.34404367208480835, 0.3138872981071472, 0.20664633810520172, 0.23657146096229553, -0.1101539209485054, -0.6215407848358154, -0.028005322441458702, -0.6890369653701782, 0.12811769545078278, 0.16821666061878204, 0.6177191138267517, -0.18160562217235565, 0.5066927075386047, 0.034717053174972534, 0.6967737674713135, -0.046350132673978806, -0.24518178403377533, 0.041812166571617126, -0.5682116150856018, -0.4695908725261688, 0.05525097995996475, 1.0549639463424683, -0.0007417231099680066, 0.2040432244539261, -0.36490151286125183, -0.2018190175294876, 0.06060203164815903, 0.16525545716285706, -0.8134124279022217, -0.04617353901267052, 0.06468526273965836, -0.05522419884800911, -0.28645455837249756, 0.16996675729751587, -0.6389785408973694, -0.06184723600745201, -0.6351712942123413, 0.4549707770347595, -0.31369540095329285, -0.25434690713882446, 0.01955067738890648, 0.06425821781158447, -0.038471952080726624, 0.2821634113788605, -0.7155483365058899, 0.44642215967178345, 0.5042883157730103, 0.6225528120994568, -0.07384409755468369, -0.12749426066875458, -0.7576633095741272, 0.19150668382644653, -0.2049238532781601, 0.7174466252326965, -0.7142038345336914, -0.710087776184082, -0.07700669765472412, -0.21748828887939453, -0.20966388285160065, -0.5700774788856506, 0.45065584778785706, -0.4084143042564392, 0.32336902618408203, 0.011178210377693176, -0.5390231013298035, 0.008268604055047035, 0.003963199444115162, -0.4865962862968445, 0.9191792011260986, -0.05069972947239876, -0.6077558398246765, 0.046030882745981216, -0.43269532918930054, -0.46729543805122375, 0.10974328219890594, -0.39711520075798035, -0.17568929493427277, 0.24329805374145508, 0.19428834319114685, 0.29093578457832336, -0.6603567004203796, 0.7433990836143494, -0.20292213559150696, -0.15695974230766296, 0.36343154311180115, -0.6670345664024353, 0.7437395453453064, 0.11321856826543808, -0.2629326581954956, 0.3984431326389313, -0.7881699204444885, 0.12146934866905212, 0.04724089056253433, -0.5634229183197021, -0.006152976769953966, -0.10776762664318085, 0.17527160048484802, 0.002389283152297139, -0.01933051459491253, -0.47238585352897644, 0.023621100932359695, -0.3453545868396759, 0.4235084652900696, 0.801929771900177, -0.1533147543668747, 0.6048458218574524, -0.06319534778594971, 0.505755603313446, 0.047189559787511826, -0.1281203031539917, -0.4450981020927429, -0.4255484938621521, -0.5752002000808716, -0.3328070044517517, 0.3612932562828064, 0.7581605911254883, -0.6947322487831116, 0.7450765371322632, -0.09893796592950821, -0.231705904006958, -0.18721532821655273, 0.2036043405532837, 0.7355829477310181, 0.7285373210906982, 0.298489511013031, -0.4437064528465271, -0.6258677840232849, -0.4914189875125885, -0.29435762763023376, -0.4119715988636017, -0.3924674391746521, 0.1467476636171341, 0.2503105700016022, -0.28558745980262756, 1.1987181901931763, -0.28906697034835815, -0.34545189142227173, -0.44511526823043823, 0.3910808861255646, -0.11051813513040543, 0.2712668478488922, 0.22543920576572418, -0.7267823219299316, -0.23274309933185577, -0.1010279506444931, -0.39865317940711975, -0.4077845513820648, 0.021475566551089287, 0.07137786597013474, 0.08796805888414383, 0.4941548705101013, -0.7481841444969177, 0.17896299064159393, 0.6628897786140442, -0.15777520835399628, 0.7945809960365295, -0.07195460796356201, -0.0984019786119461, -1.2535213232040405, 0.015125276520848274, 0.009334450587630272, -0.43365904688835144, -0.9082863330841064, -0.35210907459259033, -0.38152387738227844, -0.5517661571502686, -0.40140262246131897, 0.594332754611969, -0.3569963872432709, -0.06193351000547409, -0.2191799432039261, 0.02117125503718853, 0.002620282582938671, 0.5763791799545288, 0.31599053740501404, 0.8694743514060974, 0.5857810974121094, -0.6353251934051514, 0.16879671812057495, 0.07166053354740143, -0.0641702264547348, 0.5562019348144531, -0.7687579989433289, 0.421891987323761, 0.04719901084899902, 0.621393620967865, -0.9964104890823364, -0.38083338737487793, 0.1274518519639969, -0.34174755215644836, 0.3560709059238434, 0.0391353964805603, -0.3056633770465851, -0.28286126255989075, 0.033560942858457565, 0.3071856200695038, 0.378131628036499, -0.37840306758880615, 1.0832569599151611, 0.45936015248298645, -0.6842876076698303, -0.06679286807775497, -0.4118967056274414, 0.05664319917559624, -0.06240608170628548, -0.567525327205658, 0.4393756687641144, -0.1904347836971283, -0.055783387273550034, -0.3299318253993988, -0.3613542318344116, -0.3048854172229767, -0.053165119141340256, 0.2066836953163147, 0.18921293318271637, -0.17395198345184326, 0.07384565472602844, -0.15852302312850952, -0.3427516520023346, 0.06615274399518967, -0.49096331000328064, 0.7229208946228027, -0.2890208959579468, -0.3138676583766937, -0.7849063277244568, 0.5065661072731018, 0.455596387386322, -0.3330383896827698, 0.14284628629684448, 0.5526272654533386, -0.22089721262454987, 0.03909643366932869, -0.3630726635456085, -0.37580403685569763, -0.4708271026611328, 0.2609899938106537, -0.16820429265499115, -0.9666142463684082, 0.23032580316066742, -0.4106380343437195, -0.08272424340248108, -0.00602888036519289, 0.43464168906211853, -0.21851614117622375, 1.0978094339370728, 0.47876885533332825, -0.04963306337594986, 0.60614013671875, 0.020273776724934578, 0.08033192902803421, -0.5877441167831421, -0.24837878346443176, -0.6652613282203674, 0.29163509607315063, -0.10928471386432648, -0.49304547905921936, 0.3314379155635834, 0.12859202921390533, -0.15848414599895477, 0.12639887630939484, -0.0005482101114466786, 0.3138214349746704, 0.5208353400230408, 0.024092325940728188, 0.3509601950645447, 0.18221034109592438, -0.5656238198280334, -0.07892021536827087, -0.5562494993209839, -0.6822454333305359, 0.8812387585639954, 0.07473461329936981, 0.8336570858955383, -0.24257850646972656, 0.66606605052948, 0.049525756388902664, 0.3310990035533905, -0.5626973509788513, 0.6763247847557068, -0.1726256161928177, -0.43352267146110535, -0.26234158873558044, -0.6775246858596802, -0.8041950464248657, 0.29978200793266296, -0.2315705120563507, -0.790051281452179, -0.2730908989906311, 0.2785366177558899, -0.331501305103302, 0.18017740547657013, -0.6767054796218872, 0.6767313480377197, -0.4307936728000641, 0.1633041799068451, 0.035913366824388504, -0.7335146069526672, 0.09417780488729477, -0.18768011033535004, 0.20743587613105774, -0.08134543150663376, 0.2654418647289276, 0.6108152270317078, -0.604093611240387, 1.1255249977111816, -0.20492681860923767, -0.25953081250190735, 0.501071572303772, -0.09471315890550613, 0.41315749287605286, 0.034315094351768494, 0.01149202510714531, 0.3155282437801361, -0.3521316647529602, -0.13626977801322937, -0.4350985288619995, 0.29075002670288086, -0.5222323536872864, -0.6088765859603882, -0.29436853528022766, -0.4654339551925659, -0.5230674743652344, 0.40766480565071106, 0.34358373284339905, 0.8652841448783875, -0.6757206320762634, 0.27459749579429626, 0.5156036615371704, 0.05214513838291168, 0.2929302453994751, 0.6305230855941772, -0.265809029340744, -0.7930296659469604, 0.7411003112792969, -0.07948978245258331, 0.42676547169685364, 0.46177247166633606, 0.2662144601345062, -0.5594879984855652, -0.50407475233078, -0.5084213614463806, -0.021637696772813797, -0.33071210980415344, -0.18558333814144135, -0.5554603338241577, -0.1344829648733139, -0.4983519911766052, -0.0710308849811554, -0.39661335945129395, -0.04539036750793457, -0.5632900595664978, -0.05206901207566261, -0.016129154711961746, 0.7109516859054565, 0.07380795478820801, 0.6097092032432556, -1.0034123659133911, 0.7181264162063599, 0.7306389808654785, 0.1954592913389206, -0.1885802000761032, -0.5276502370834351, 0.01889517903327942, 0.4750882387161255, -0.43436571955680847, -0.8834555149078369, 0.3481191396713257, 0.5139420628547668, 0.4924086332321167, 0.4856535792350769, -0.018863845616579056, 0.7262383103370667, -0.7345662713050842, 0.7955130934715271, 0.6045525074005127, -1.142135739326477, 0.5201795101165771, -0.4982939064502716, 0.4653988182544708, 0.5648633241653442, 0.17349214851856232, -0.27326616644859314, -0.5321140885353088, -0.35029587149620056, -0.7951818704605103, 0.5647058486938477, 0.3133231997489929, 0.15622445940971375, -0.0010644415160641074, 0.057341210544109344, 0.09246731549501419, 0.21753694117069244, -0.7226812839508057, 0.006206663325428963, -0.17570911347866058, -0.2384042590856552, -0.2090713381767273, -0.11653956770896912, -0.19779926538467407, -0.364632785320282, 0.5721345543861389, -0.300138920545578, 0.23657214641571045, 0.2580735981464386, -0.36528217792510986, -0.1233622133731842, 0.59556645154953, 0.4355895519256592, 0.5032739043235779, -0.19653016328811646, 0.19063813984394073, 0.09504766017198563, -0.6238006353378296, 0.4898470938205719, 0.33769622445106506, -0.10303743183612823, 0.11102592200040817, 0.34723374247550964, 0.8927462100982666, 0.6237438917160034, -0.666113018989563, 0.43241310119628906, -0.10827171057462692, -0.2779833972454071, -0.137319415807724, 0.005463982000946999, 0.25441110134124756, 0.18287581205368042, 0.5082818865776062, 0.014875826425850391, -0.016020959243178368, -0.590194821357727, 0.15416118502616882, 0.4882130026817322, -0.5219157934188843, -0.6380995512008667, 0.7438470125198364, 0.5837576389312744, -0.49239835143089294, 0.5128958225250244, 0.07393393665552139, -0.5272839069366455, 0.40654435753822327, 0.8755771517753601, 1.1395933628082275, -0.47260525822639465, 0.2713257372379303, -0.07625720649957657, -0.06656597554683685, 0.07690524309873581, 0.32022038102149963, -0.20645666122436523, -0.6640593409538269, -0.38127171993255615, -0.7860638499259949, -0.43389201164245605, 0.22439773380756378, -0.6656715869903564, 0.04637358337640762, -0.3288205564022064, -0.36615660786628723, 0.03343585506081581, -0.2585577666759491, -0.5826366543769836, 0.3294091820716858, 0.3081566095352173, 0.5906378030776978, -0.8108279705047607, 0.8274715542793274, 0.6878454089164734, -0.15162846446037292, -0.818889319896698, 0.24156895279884338, 0.2736901342868805, -0.5351777076721191, 0.3069692552089691, 0.5058869123458862, -0.45054125785827637, 0.20922693610191345, -0.4319825768470764, -0.5785163044929504, 1.0630759000778198, 0.7473064064979553, -0.7926109433174133, -0.13298043608665466, 0.4885115325450897, 0.4638550281524658, -0.5593988299369812, 0.06628302484750748, 0.5039882659912109, 0.2111072838306427, 0.2505066394805908, -1.159509301185608, -0.2373315989971161, -0.14460396766662598, 0.16702336072921753, 0.06496375054121017, -0.3030495345592499, 0.7038423418998718, -0.17737449705600739, -0.4684823453426361, 0.2902344763278961, 0.6499584317207336, 0.3116644620895386, 0.2741844952106476, 0.6863313317298889, 0.7560438513755798, 0.820327877998352, -0.09783963859081268, 0.8670704960823059, -0.1778331845998764, 0.10153850167989731, 1.314353108406067, -0.5898110270500183, 0.8569548726081848, 0.3130171298980713, -0.20720377564430237, 0.4081290066242218, 0.47188666462898254, 0.5999755263328552, 0.5894812941551208, 0.043453458696603775, -0.6501334309577942, -0.5730940699577332, -0.1528911590576172, -0.40775066614151, 0.7185895442962646, 0.24371784925460815, -0.07928470522165298, -0.38775938749313354, -0.0018718861974775791, -0.014710893854498863, -0.13759316504001617, -0.2477228343486786, 1.1463888883590698, 0.3528856933116913, -0.5679469108581543, 0.43042829632759094, -0.3559763431549072, 0.5384377837181091, -0.8256281018257141, -0.02261783927679062, 0.06386241316795349, -0.027318298816680908, 0.1906549483537674, -0.4229559898376465, 0.04064090549945831, 0.2753424048423767, -0.17380528151988983, -0.46495330333709717, 0.7215896844863892, -0.6825543642044067, -0.42830249667167664, 0.3352343738079071, 0.43312063813209534, -0.0021061392035335302, -0.27206656336784363, -0.6613304615020752, -0.16295883059501648, -0.07179505378007889, -0.2759072184562683, 0.3235984444618225, 0.40154266357421875, 0.06054633483290672, 0.4031059145927429, 1.0438835620880127, -0.13747714459896088, -0.04596230387687683, 0.6053645610809326, 0.936420202255249, -0.6091427206993103, -0.6936800479888916, -0.7130578756332397, 0.646720290184021, 0.16744743287563324, -0.15457221865653992, 0.4457424581050873, 0.4098827838897705, 0.6350350379943848, -0.03586249053478241, 0.7578151822090149, 0.3781391978263855, 0.37748345732688904, -0.7584604620933533, 0.5050560832023621, -0.3564934730529785, 0.07921036332845688, -0.42154234647750854, -0.944491982460022, -0.1782543808221817, 0.48880699276924133, 0.0803486704826355, 0.1765366643667221, 0.5060420036315918, 0.6430399417877197, 0.11892164498567581, 0.2860338091850281, 0.2595129609107971, 0.19264380633831024, 0.34499284625053406, 0.20390745997428894, 0.7460960745811462, 0.005044036544859409, 0.5798601508140564, 0.10226358473300934, -0.1252882331609726, -0.2069082260131836, -0.871889591217041, -0.8454110026359558, -0.4327056407928467, -0.006316616665571928, -0.03438375145196915, -0.03412943705916405, 0.8914421796798706, 0.8821024894714355, -0.7693726420402527, -0.33925482630729675, -0.5255085825920105, -0.2087784707546234, 0.06375150382518768, -0.18443523347377777, -0.04513926059007645, -0.31942474842071533, -0.5189866423606873, 0.7267110347747803, 0.4125499427318573, 0.36456531286239624, -0.17553284764289856, -0.3296213746070862, -0.06108098104596138, 0.35994213819503784, 0.5830716490745544, 0.15606403350830078, -0.8298185467720032, 0.030528992414474487, 0.08722071349620819, 0.03162530064582825, 0.061571862548589706, 1.0482678413391113, -0.6862962245941162, 0.5794999003410339, 0.3020155727863312, 0.4866592586040497, 0.29259559512138367, 0.08002969622612, 0.9300472140312195, -0.9245198369026184, 0.28157076239585876, 0.37612077593803406, 0.32697951793670654, 0.35933902859687805, -0.01500773523002863, 0.1463702917098999, 0.3364499807357788, -0.4499770998954773, -0.8261337280273438, 0.4300488829612732, -1.0713090896606445, -0.159983828663826, 1.0192935466766357, -0.17772801220417023, -0.10748110711574554, -0.20092174410820007, -0.39191964268684387, 0.3929424583911896, -0.43906527757644653, 0.3375914692878723, 0.5557388663291931, -0.09271226078271866, -0.025228317826986313, -0.19948898255825043, 0.4320191442966461, 0.4413617253303528, -1.0128520727157593, 0.17176392674446106, 0.6093124151229858, 0.2360006421804428, 0.08899155259132385, 0.9702573418617249, 0.0027292920276522636, 0.1871509701013565, 0.040313418954610825, -0.07216090708971024, -0.006293238140642643, -0.6839572787284851, -0.37359723448753357, -0.06283951550722122, -0.19050025939941406, 0.02642144076526165 ]
http://arxiv.org/abs/2402.05699v3
http://arxiv.org/pdf/2402.05699v3
Self-Alignment of Large Language Models via Monopolylogue-based Social Scene Simulation
2024-02-08T14:21:03
2024-06-08T06:13:55
Xianghe Pang, Shuo Tang, Rui Ye, Yuxin Xiong, Bolun Zhang, Yanfeng Wang, Siheng Chen
cs.CL
cs.CL, cs.AI, cs.CY
Aligning large language models (LLMs) with human values is imperative to mitigate potential adverse effects resulting from their misuse. Drawing from the sociological insight that acknowledging all parties' concerns is a key factor in shaping human values, this paper proposes a novel direction to align LLMs by themselves: social scene simulation. To achieve this, we present MATRIX, a novel social scene simulator that emulates realistic scenes around a user's input query, enabling the LLM to take social consequences into account before responding. MATRIX serves as a virtual rehearsal space, akin to a Monopolylogue, where the LLM performs diverse roles related to the query and practice by itself. To inject this alignment, we fine-tune the LLM with MATRIX-simulated data, ensuring adherence to human values without compromising inference speed. We theoretically show that the LLM with MATRIX outperforms Constitutional AI under mild assumptions. Finally, extensive experiments validate that our method outperforms over 10 baselines across 4 benchmarks. As evidenced by 875 user ratings, our tuned 13B-size LLM exceeds GPT-4 in aligning with human values. See our project page at https://shuotang123.github.io/MATRIX.
[ -0.21247321367263794, -0.4466882646083832, 0.4951966106891632, 0.3069758415222168, -0.14496585726737976, 0.3921901285648346, -0.12924209237098694, -0.2034144550561905, 0.5382411479949951, 0.6014370322227478, -0.3731684982776642, -0.33828839659690857, -0.14621613919734955, -0.274200439453125, -0.28717294335365295, 0.7370105981826782, 0.2083723545074463, 0.17774946987628937, -0.3400871753692627, -0.09139057993888855, -0.27342355251312256, -0.5940278768539429, -0.3119035065174103, -0.3479519784450531, 0.7191024422645569, 0.4750248193740845, 0.8821290731430054, 1.0284724235534668, 0.2620053291320801, 0.39215654134750366, 0.15163086354732513, 0.23425360023975372, -0.7342225909233093, -0.08634254336357117, -0.3560712933540344, -0.08106862753629684, -0.6659136414527893, 0.13516974449157715, 0.9451453685760498, 0.4872903823852539, -0.41023293137550354, 0.5020164847373962, 0.39884278178215027, 0.6545817852020264, -0.539315938949585, -0.02704642154276371, -0.5655089020729065, 0.016397545114159584, -0.10294844210147858, 0.05087273195385933, -0.33707934617996216, -0.5033993124961853, -0.18326899409294128, -0.4443572163581848, -0.22574186325073242, 0.25030985474586487, 1.0921822786331177, 0.23892268538475037, -0.4985349774360657, 0.15898951888084412, -0.798052191734314, 0.5606676340103149, -0.5736960768699646, -0.042934827506542206, 0.05901129171252251, 0.5374552607536316, -0.3469405472278595, -0.37492635846138, -0.6792185306549072, 0.0387725792825222, 0.20196093618869781, 0.19158980250358582, -0.08153560757637024, 0.05528263375163078, 0.0902392566204071, 0.021935774013400078, -0.44535714387893677, 0.2111157923936844, -0.5688578486442566, -0.18841779232025146, 0.6863921880722046, 0.6477944254875183, 0.28265419602394104, -0.35647115111351013, -0.5155829787254333, -0.07512152194976807, -0.7780304551124573, 0.3147267699241638, 0.7504574656486511, 0.32017412781715393, 0.002126965904608369, 0.7388524413108826, 0.10303382575511932, 0.6386380195617676, 0.31631675362586975, -0.057209935039281845, 0.07023479044437408, -0.1681157946586609, -0.13852594792842865, 0.35607534646987915, 0.8700010776519775, 0.7045220136642456, 0.5842910408973694, 0.16847024857997894, 0.030283495783805847, 0.16869887709617615, 0.6216052770614624, -0.6421159505844116, 0.11366728693246841, 0.037993475794792175, -0.3052062690258026, -0.5221738815307617, -0.3481146991252899, -0.9007917046546936, -0.6461670994758606, -0.6652796864509583, 0.5528571009635925, -0.11167018860578537, -0.23879766464233398, 0.03996671363711357, 0.28020167350769043, 0.512065589427948, 0.5510842800140381, -0.8400142788887024, 0.483462929725647, 0.6958105564117432, 0.7610124945640564, -0.10021097958087921, -0.44429001212120056, -0.3514050245285034, 0.42012909054756165, -0.5991992354393005, 0.763247549533844, -0.4824032187461853, -0.14731870591640472, -0.126287579536438, -0.2906567454338074, 0.021933505311608315, -0.5215315818786621, 0.09646771103143692, -0.27376770973205566, -0.12682195007801056, -0.3655211925506592, -0.4195635914802551, 0.40874171257019043, 0.3438706398010254, -0.6033452749252319, 0.8395693898200989, -0.16163070499897003, -0.6530361771583557, 0.14993557333946228, -0.311190128326416, -0.0708308070898056, -0.21139231324195862, -0.5936568379402161, -0.39723336696624756, -0.007549773436039686, -0.092862568795681, 0.2821540832519531, -0.1289752572774887, 0.5018201470375061, -0.7539956569671631, -0.512111485004425, 0.7256625294685364, -0.2496625781059265, 0.6836407780647278, 0.22277089953422546, -0.22051003575325012, 0.3340291678905487, -0.5298389196395874, 0.005657725967466831, -0.008676829747855663, -0.1083361804485321, 0.0669001117348671, 0.16494590044021606, -0.05272993817925453, 0.5635176301002502, 0.2628334164619446, -0.44261136651039124, 0.2785743176937103, -0.2756691873073578, 0.35845616459846497, 1.3119733333587646, -0.4423949122428894, 0.6702103614807129, -0.5132357478141785, 0.6947389841079712, -0.16973929107189178, 0.15096063911914825, 0.39764437079429626, -0.2433539479970932, -0.5467975735664368, -0.3797459304332733, 0.43025118112564087, 0.582343339920044, -0.1566753089427948, 0.3033296763896942, -0.4335172474384308, -0.30919232964515686, -0.9248634576797485, 0.19680717587471008, 0.2566617727279663, 0.2967509627342224, 0.044258441776037216, -0.15450160205364227, -0.7359315752983093, -1.2752206325531006, -0.2690415680408478, -0.20830166339874268, -0.01113023329526186, 0.540849506855011, 0.13956664502620697, 0.03356192633509636, 1.1763266324996948, -0.4146556258201599, -0.4527902603149414, -0.24093613028526306, -0.050219547003507614, 0.06280868500471115, 0.5077306628227234, 0.09741239994764328, -0.19770801067352295, -0.478350430727005, 0.011230865493416786, -0.6027272343635559, -0.28477445244789124, -0.06994836777448654, -0.3653881549835205, 0.014746399596333504, 0.5990110039710999, -0.25568199157714844, 0.2625023424625397, 0.7412821054458618, -0.1392829567193985, 0.5482056140899658, -0.3621632158756256, 0.00765990698710084, -1.5132664442062378, 0.12581364810466766, -0.10138104110956192, -0.4706597924232483, -0.37946370244026184, -0.34790855646133423, 0.10353034734725952, -0.25415873527526855, -0.34290874004364014, 0.5508174300193787, -0.49485692381858826, -0.39466890692710876, -0.24205836653709412, 0.32470235228538513, 0.0024179485626518726, 0.3484887182712555, -0.2896301746368408, 0.9389533996582031, 0.21945539116859436, -0.10630679875612259, 0.08950909227132797, 0.028873933479189873, -0.5742210745811462, 0.5103302597999573, -0.46836310625076294, 0.16503781080245972, -0.2396441549062729, 0.4054398238658905, -1.1630408763885498, -0.3315016031265259, 0.05265790596604347, -0.319353312253952, 0.21427401900291443, -0.3104008138179779, -0.6037386655807495, -0.05988886207342148, -0.16310769319534302, 0.4809671938419342, 0.705960214138031, -0.32694122195243835, 0.7843111753463745, 0.9924343824386597, -0.04869934543967247, -0.829955518245697, -0.39499104022979736, 0.3721648156642914, -0.4854052662849426, -0.646806538105011, 0.19264823198318481, -0.015970710664987564, -0.2196115255355835, -0.13839510083198547, 0.11356235295534134, 0.06187544763088226, -0.07287920266389847, 0.3956766426563263, 0.4097837209701538, -0.0834169089794159, -0.11224140971899033, 0.09026120603084564, 0.024797463789582253, 0.06795922666788101, -0.23755349218845367, 0.47495970129966736, -0.3117440342903137, -0.15378960967063904, -0.3126102089881897, 0.22818027436733246, 0.5417056083679199, -0.0008500143303535879, 0.46059298515319824, 0.2656514346599579, -0.22922441363334656, -0.13245944678783417, -0.7330816984176636, 0.042630311101675034, -0.5573660731315613, 0.10135705024003983, -0.14914846420288086, -0.9588526487350464, 0.7597041726112366, -0.1047268658876419, -0.2362121343612671, -0.09909852594137192, 0.591975212097168, -0.3285747170448303, 1.1899837255477905, 0.39979982376098633, -0.16612789034843445, 0.4186110496520996, -0.07648720592260361, 0.2707619071006775, -1.0392603874206543, -0.09509963542222977, -0.4207550287246704, -0.6507411003112793, -0.48528656363487244, -0.6946075558662415, 0.3126539885997772, -0.06309667974710464, -0.2953640818595886, 0.36740055680274963, -0.21244646608829498, 0.6953971982002258, 0.12319865822792053, 0.06146201118826866, 0.09871137887239456, -0.015265140682458878, -0.4330272376537323, -0.1621735692024231, -0.6466783881187439, -0.8141112327575684, 0.7826980948448181, 0.27712735533714294, 1.1298117637634277, 0.21226900815963745, 0.7648671865463257, 0.023310193791985512, 0.5561913847923279, -0.4207991063594818, 0.7475488781929016, 0.016460934653878212, -0.9867974519729614, -0.39469996094703674, -0.43692323565483093, -0.9427058100700378, 0.42578819394111633, -0.21474584937095642, -1.005761742591858, 0.3833144009113312, 0.5458817481994629, -0.5972925424575806, 0.1379915326833725, -0.5010502338409424, 1.1361788511276245, -0.12895676493644714, -0.8459991812705994, -0.3600963354110718, -0.6218234300613403, 0.34357041120529175, 0.046845369040966034, 0.44276314973831177, -0.5869104862213135, 0.05377998203039169, 0.196796715259552, -0.1444152146577835, 1.2628681659698486, 0.10778488963842392, -0.07037226855754852, 0.11599383503198624, 0.27843135595321655, 0.3260227143764496, -0.07381703704595566, -0.01144509855657816, 0.14085432887077332, -0.09881232678890228, -0.4694982171058655, -0.5092730522155762, 0.8700125813484192, -0.7973018288612366, -0.8806053400039673, -0.4299600124359131, -0.5974652171134949, 0.02756688930094242, 0.00244730431586504, -0.029697837308049202, 0.34944432973861694, -0.6048814654350281, 0.07433326542377472, 0.2644254267215729, -0.2307707667350769, 0.18029777705669403, 0.40545713901519775, -0.5484916567802429, -0.6355804204940796, 0.9469332098960876, 0.38988247513771057, 0.48665547370910645, 0.05591293424367905, 0.3057212829589844, -0.3793509304523468, -0.040926478803157806, -0.6963496208190918, 0.1904863566160202, -0.5048538446426392, -0.27043160796165466, -0.5621637105941772, -0.2514529526233673, -0.4503919184207916, -0.42830485105514526, -0.557068407535553, -0.247589111328125, -0.06739505380392075, -0.12213533371686935, -0.16297245025634766, 0.5794370174407959, -0.3336905539035797, 0.056900665163993835, -0.407297819852829, 0.0809774398803711, 0.5138171911239624, 0.4725968539714813, -0.007150859106332064, -0.5949983596801758, -0.32057633996009827, 0.09591925889253616, -0.23992326855659485, -0.7237083911895752, 0.3929727375507355, -0.021465567871928215, 0.36628594994544983, 0.4854311943054199, 0.12136168777942657, 1.2097342014312744, -0.9935628175735474, 0.42178940773010254, 0.08699861913919449, -1.1477857828140259, 0.21389657258987427, -0.5020529627799988, 0.0955393835902214, 0.725950300693512, -0.05967574194073677, -0.5190509557723999, -0.5475948452949524, -0.350006639957428, -0.6258129477500916, 0.6209713220596313, 0.20747335255146027, 0.45395976305007935, -0.04581815376877785, 0.3268762528896332, -0.39104393124580383, 0.05431831628084183, -0.8977083563804626, 0.0561433807015419, -0.2683187425136566, -0.4215043783187866, -0.06060171127319336, -0.20904290676116943, -0.23992426693439484, -0.3273474872112274, 0.2883831560611725, -0.1974310278892517, 0.09209611266851425, 0.1888120472431183, -0.05633549019694328, -0.43492671847343445, 0.19959260523319244, 0.8144827485084534, 0.8678621649742126, -0.2815505564212799, 0.21849896013736725, 0.23357664048671722, -0.09398848563432693, 0.48158809542655945, -0.22244273126125336, 0.23080965876579285, -0.47407442331314087, -0.11409962177276611, 0.5170227289199829, 0.4572738707065582, -0.6065595149993896, 0.6535439491271973, -0.1075328066945076, -0.13801395893096924, -0.661456286907196, 0.0831327810883522, 0.45889079570770264, 0.442158043384552, -0.04824148491024971, -0.17952516674995422, 0.09819197654724121, -0.6491599678993225, 0.12167248874902725, 0.6560091376304626, -0.44667407870292664, -0.2569628953933716, 0.7296423316001892, 0.13646987080574036, -0.5890619158744812, 0.4153754711151123, -0.1455642133951187, -0.3265824019908905, 0.7219296097755432, 0.7538377642631531, 0.7601689100265503, -0.5116189122200012, 0.24158792197704315, 0.30906668305397034, 0.38226670026779175, -0.18644462525844574, -0.020623179152607918, 0.16661971807479858, -1.100937843322754, -0.716151237487793, -0.6973101496696472, -0.48280617594718933, -0.02412210963666439, -0.6317184567451477, 0.29936450719833374, -0.5665606260299683, -0.11176036298274994, 0.01224652212113142, -0.0591183677315712, -0.16872887313365936, -0.3149425685405731, 0.295012891292572, 0.5919824838638306, -0.8641807436943054, 1.3481431007385254, 0.4276001453399658, -0.05765962228178978, -0.9785382151603699, -0.08578462898731232, 0.30592185258865356, -0.8697771430015564, 0.5971609950065613, 0.371462345123291, -0.47765040397644043, 0.10242718458175659, -0.5370769500732422, -0.9353392124176025, 1.0723819732666016, 0.8329280018806458, -0.6311241984367371, -0.07033414393663406, 0.3127208948135376, 0.7079513669013977, -0.7179951667785645, -0.1349160075187683, 0.328549325466156, 0.3372615873813629, 0.1579267382621765, -0.8596665263175964, 0.046805404126644135, -0.26719343662261963, 0.07066455483436584, 0.18172132968902588, -0.6983384490013123, 0.6289542317390442, -0.21390405297279358, -0.18771375715732574, -0.019489383324980736, 0.47386160492897034, 0.3269302248954773, 0.186688631772995, 0.689216673374176, 0.5347223877906799, 0.47522324323654175, 0.3673222064971924, 0.7857512831687927, -0.3759329617023468, 0.19530287384986877, 1.2586495876312256, -0.8601171970367432, 0.6808420419692993, 0.3308182954788208, 0.014945218339562416, 0.5302110314369202, 0.5216530561447144, 0.04065403714776039, 0.2353460043668747, 0.5718624591827393, -0.10498163849115372, -0.5825369358062744, 0.005686876829713583, -0.11424843966960907, 0.7025601267814636, 0.26814574003219604, -0.13523884117603302, -0.11286301165819168, -0.4858703017234802, 0.02117510885000229, 0.3083501160144806, -0.17499861121177673, 0.8960750102996826, 0.18883554637432098, -0.6838138699531555, 0.42961007356643677, -0.1779201328754425, 0.044926173985004425, -0.39105284214019775, -0.07265615463256836, -0.235809788107872, 0.33925509452819824, 0.019748566672205925, -0.6465206742286682, 0.21599963307380676, -0.10778726637363434, 0.027919063344597816, -0.33076241612434387, 0.4484676718711853, -0.6541087031364441, -0.4495159089565277, 0.45989879965782166, 0.14625947177410126, 0.15144164860248566, 0.1382107138633728, -0.6932349801063538, 0.006143601145595312, -0.08118116855621338, 0.10517774522304535, 0.730606198310852, 0.5108706951141357, -0.07595384865999222, 0.58847576379776, 0.6005381345748901, 0.01911383680999279, -0.15948772430419922, -0.0438370518386364, 0.9668742418289185, -0.7788079977035522, -0.5654456615447998, -1.0482609272003174, 0.5380189418792725, -0.42810264229774475, -0.2647692561149597, 0.5856522917747498, 0.6691756248474121, 0.5762898921966553, 0.2464669644832611, 0.23487205803394318, 0.4690278470516205, 0.17867504060268402, -0.4238675534725189, 0.7832486033439636, -0.4518938362598419, 0.28366997838020325, -0.5369256734848022, -0.8691153526306152, -0.09087803214788437, 0.8471822142601013, -0.2204795479774475, -0.29309210181236267, 0.3093640208244324, 1.0924439430236816, -0.10329383611679077, -0.46992185711860657, 0.6499395370483398, 0.2689334750175476, 0.20641988515853882, 0.19641239941120148, 1.0877898931503296, 0.03854789212346077, 0.6745366454124451, -0.025781340897083282, -0.1604074388742447, -0.3384907841682434, -1.0202410221099854, -0.9314946532249451, -0.463101327419281, 0.03223034366965294, -0.6017257571220398, 0.16218438744544983, 1.273821234703064, 0.7693634629249573, -0.3625549376010895, -1.0201700925827026, 0.2163122147321701, 0.11902853846549988, -0.0031214153859764338, -0.17422325909137726, 0.08018798381090164, -0.27550625801086426, -0.5171031951904297, 0.2408646047115326, 0.5668977499008179, -0.051610421389341354, -0.5432682633399963, -0.027370981872081757, -0.22965340316295624, 0.6452297568321228, 0.3827672004699707, 0.06395253539085388, -0.7495929002761841, -0.5079120397567749, -0.028295323252677917, -0.5618499517440796, 0.3334712088108063, 0.9165608286857605, -0.5710711479187012, 0.4251399040222168, 0.14424310624599457, 0.47616469860076904, 0.4541158080101013, 0.3173092007637024, 0.9021145701408386, -0.557205319404602, -0.0711463987827301, 0.13767792284488678, 0.3269568979740143, 0.2650373578071594, -0.4436267018318176, 0.1543266773223877, -0.13164833188056946, -0.8247026205062866, -0.8670344948768616, 0.42694589495658875, -1.059753179550171, -0.18709473311901093, 1.02743661403656, 0.030585143715143204, -0.5516538023948669, -0.09922988712787628, -0.274370014667511, 0.14983920753002167, -0.4955231547355652, 1.2578619718551636, 0.6599711775779724, 0.17558814585208893, -0.11364709585905075, -0.4996941387653351, 0.4008607566356659, 0.373955100774765, -0.6631370186805725, 0.3115520775318146, 0.681010365486145, 0.33197444677352905, 0.1147432029247284, 0.7733969688415527, -0.196901336312294, 0.13249465823173523, -0.30537670850753784, 0.3580312728881836, 0.11959677189588547, -0.188380166888237, -0.533157229423523, 0.09420762211084366, -0.0009006629697978497, 0.06036879122257233 ]
http://arxiv.org/abs/2402.05672v1
http://arxiv.org/pdf/2402.05672v1
Multilingual E5 Text Embeddings: A Technical Report
2024-02-08T13:47:50
2024-02-08T13:47:50
Liang Wang, Nan Yang, Xiaolong Huang, Linjun Yang, Rangan Majumder, Furu Wei
cs.CL
cs.CL, cs.IR
This technical report presents the training methodology and evaluation results of the open-source multilingual E5 text embedding models, released in mid-2023. Three embedding models of different sizes (small / base / large) are provided, offering a balance between the inference efficiency and embedding quality. The training procedure adheres to the English E5 model recipe, involving contrastive pre-training on 1 billion multilingual text pairs, followed by fine-tuning on a combination of labeled datasets. Additionally, we introduce a new instruction-tuned embedding model, whose performance is on par with state-of-the-art, English-only models of similar sizes. Information regarding the model release can be found at https://github.com/microsoft/unilm/tree/master/e5 .
[ -0.3046562075614929, -0.382513165473938, 0.28276410698890686, 0.316130667924881, -0.20975176990032196, -0.07194657623767853, -0.2194145768880844, -0.7588783502578735, 0.08246682584285736, 0.38872578740119934, -0.3019942343235016, -0.8805812001228333, -0.4970899224281311, 0.36836642026901245, -0.49680835008621216, 0.7422207593917847, -0.24292996525764465, 0.3822343945503235, -0.2610499858856201, -0.2203025221824646, -0.45304879546165466, -0.6738143563270569, -0.2530858814716339, -0.07770741730928421, 0.7121570110321045, 0.5492072105407715, 0.29320916533470154, 0.8046087026596069, 0.623492956161499, 0.24019911885261536, 0.038329266011714935, -0.05541716516017914, -0.2611561119556427, -0.11245687305927277, 0.23862046003341675, -0.27215149998664856, -0.6634593605995178, 0.32421135902404785, 0.5665779113769531, 0.5811536908149719, -0.27326107025146484, 0.1172483041882515, 0.02974656969308853, 0.19754263758659363, -0.696485161781311, 0.17147186398506165, -0.207440584897995, 0.23032163083553314, 0.04782469570636749, 0.04153041914105415, -0.9087942838668823, -0.21056753396987915, 0.1465010792016983, -0.5982661843299866, 0.21570703387260437, 0.17867441475391388, 0.7760312557220459, -0.006095673888921738, -0.5658052563667297, -0.3713991343975067, -0.388200968503952, 0.8391900062561035, -0.5750707387924194, 0.8262370824813843, 0.4066353440284729, 0.35191160440444946, 0.47922664880752563, -0.9794492721557617, -0.19529424607753754, -0.15951451659202576, 0.027361812070012093, 0.15682941675186157, 0.2719828486442566, 0.12816035747528076, -0.09981606900691986, 0.2345169633626938, -0.5389462113380432, 0.2586655616760254, -0.42033323645591736, 0.0005951711209490895, 0.5280119776725769, -0.15708766877651215, 0.1989225447177887, 0.4402197301387787, -0.22092513740062714, 0.07967980206012726, -0.7660151720046997, -0.5710793733596802, 0.4082462191581726, 0.2221321314573288, -0.46315476298332214, 0.350416898727417, 0.12497811764478683, 0.7461111545562744, -0.20705349743366241, -0.16247762739658356, 0.5856436491012573, -0.5283063650131226, -0.1701096147298813, 0.19557125866413116, 0.3939862549304962, 0.4079573452472687, 0.21356602013111115, -0.3107486069202423, -0.3345487415790558, -0.2225656807422638, 0.24535876512527466, -1.0101993083953857, -0.36702409386634827, 0.1705014705657959, -0.647019624710083, -0.41141098737716675, 0.16042913496494293, -0.4174096882343292, -0.14412446320056915, -0.1340162307024002, 0.4008547067642212, -0.5141514539718628, -0.3296320140361786, 0.23331843316555023, -0.22394530475139618, 0.13064289093017578, 0.3057996332645416, -0.9246979355812073, 0.1120300367474556, 0.31202471256256104, 0.7595256567001343, 0.12328506261110306, -0.5510059595108032, -0.3235769271850586, 0.39417219161987305, -0.12635119259357452, 0.7346519231796265, -0.8794532418251038, -0.32387661933898926, 0.23165997862815857, 0.2263481169939041, 0.11062254756689072, -0.2045140564441681, 0.7292834520339966, -0.5495229363441467, 0.34543681144714355, -0.13610947132110596, -0.5956111550331116, -0.3445377051830292, 0.2501632869243622, -0.8583036065101624, 0.8330007791519165, -0.135494202375412, -0.7344909906387329, 0.46371451020240784, -0.9125704169273376, -0.045145537704229355, -0.17007747292518616, 0.1678386926651001, -0.5145218968391418, -0.009087814949452877, 0.1526098996400833, 0.42179563641548157, -0.3571643531322479, -0.16510674357414246, -0.4328121840953827, -0.32763758301734924, -0.18129220604896545, -0.25824931263923645, 0.47074124217033386, 0.39758485555648804, 0.05386895686388016, 0.2286621630191803, -0.7865650653839111, 0.10887163132429123, 0.15582787990570068, -0.23897987604141235, -0.09720765054225922, -0.016555199399590492, 0.38967522978782654, 0.2099587768316269, 0.4500591456890106, -0.7737892270088196, 0.022043457254767418, -0.2272767424583435, 0.6546630263328552, 0.5070469379425049, -0.2781856060028076, 0.33372044563293457, -0.09701160341501236, 0.45418116450309753, 0.46023645997047424, 0.13361051678657532, -0.7227177619934082, -0.3523326814174652, -0.6232685446739197, -0.3577345311641693, 0.9956334829330444, 0.3927907347679138, -0.4869806468486786, 0.20877419412136078, -0.16167467832565308, -0.3978959023952484, -0.82844078540802, -0.13200128078460693, 0.5054758787155151, -0.04663459584116936, 0.4123031198978424, -0.059108953922986984, -0.5335608124732971, -0.9588226079940796, -0.31393393874168396, 0.39198628067970276, 0.30212804675102234, -0.15039847791194916, 0.7434708476066589, -0.1325322687625885, 0.5475895404815674, -0.2553901672363281, 0.08717220276594162, -0.21878059208393097, 0.35690826177597046, -0.2127489596605301, 0.5222233533859253, 0.6893051862716675, -0.7092693448066711, -0.8277418613433838, 0.071056067943573, -0.7227441072463989, 0.06664196401834488, 0.3776681423187256, 0.2880522906780243, 0.4602760076522827, 0.6412454843521118, -0.01509801670908928, 0.21388743817806244, 0.9046499133110046, -0.2730885446071625, 0.20909376442432404, -0.5268775224685669, 0.1301679164171219, -1.2542632818222046, -0.052038971334695816, 0.142041876912117, -0.4085427224636078, -0.28481897711753845, 0.2838675081729889, 0.4820205271244049, -0.2589554488658905, -0.6196081638336182, 0.2892886698246002, -1.028790831565857, -0.07430993020534515, 0.11824937164783478, 0.31423619389533997, 0.09780193865299225, 0.07565633952617645, -0.07840829342603683, 0.6722922325134277, 0.2612179219722748, -0.5295891165733337, 0.2574099898338318, 0.02334710769355297, -0.27820760011672974, 0.518110990524292, -0.833970308303833, 0.4855024814605713, -0.11720026284456253, 0.15825790166854858, -0.6958976984024048, -0.1830717772245407, -0.07640111446380615, -0.41343560814857483, 0.48389971256256104, -0.10519532114267349, -0.6468951106071472, -0.2916719913482666, -0.5364691615104675, 0.2850944697856903, 0.17386162281036377, -0.5274355411529541, 0.38852575421333313, 0.5065895318984985, -0.1350940763950348, -0.41889870166778564, -0.8860806226730347, 0.01439644768834114, 0.017054427415132523, -0.5677486062049866, 0.642848789691925, -0.18191510438919067, 0.11765137314796448, 0.2199503481388092, 0.38317903876304626, -0.35014843940734863, 0.148118257522583, -0.16249240934848785, -0.12114270031452179, -0.2504596710205078, 0.16567367315292358, 0.07920598983764648, -0.21027475595474243, -0.14987944066524506, -0.3084520101547241, 0.29124653339385986, -0.2038467824459076, -0.48596328496932983, -0.35549435019493103, 0.6201227903366089, 0.35621199011802673, -0.634849488735199, 1.1237305402755737, 0.7329273223876953, -0.45239704847335815, -0.11566806584596634, -0.3022078275680542, -0.11515789479017258, -0.4383712708950043, 0.6622843146324158, -0.6617828607559204, -0.7594674825668335, 0.21431691944599152, -0.13656644523143768, 0.4150301218032837, 0.4517037868499756, 0.41039150953292847, -0.051154572516679764, 1.5238620042800903, 0.9603433609008789, 0.4279458820819855, 0.33091557025909424, -0.05439355969429016, 0.2861473858356476, -0.45216941833496094, -0.529019832611084, -0.884006679058075, -0.19619594514369965, -0.7637820243835449, -0.26572397351264954, 0.3258146643638611, 0.1113593727350235, -0.2798835337162018, 0.036440055817365646, -0.3886621594429016, 0.6577411890029907, 0.44500696659088135, -0.10794004797935486, 0.23889166116714478, 0.0702051892876625, -0.5483349561691284, -0.19503971934318542, -0.7372033596038818, -0.7272549867630005, 1.244815468788147, 0.5297147035598755, 0.43817758560180664, 0.24550381302833557, 0.7233774662017822, 0.1934410184621811, 0.3352976441383362, -0.5203142762184143, 0.11417309194803238, -0.31945815682411194, -0.43153464794158936, -0.11791836470365524, -0.1343809962272644, -0.8715574145317078, 0.13912343978881836, -0.1292896419763565, -0.35966992378234863, -0.330740749835968, 0.10631625354290009, 0.01279022078961134, 0.22666436433792114, -1.204067349433899, 1.0696061849594116, -0.1048036739230156, -0.03973579406738281, -0.4114179015159607, -0.5637258887290955, 0.01760966330766678, 0.019854312762618065, 0.29552820324897766, 0.16533197462558746, -0.2479199916124344, 0.7249871492385864, -0.10250229388475418, 0.8961413502693176, -0.32427865266799927, -0.0837269052863121, 0.007374749053269625, -0.30281081795692444, 0.47838717699050903, -0.37966087460517883, -0.18042108416557312, 0.20488221943378448, 0.3188622295856476, -0.6353172063827515, -0.36332643032073975, 0.6598763465881348, -0.9007295966148376, -0.1885925978422165, -0.3506224751472473, -0.2938644587993622, -0.19422338902950287, 0.24904678761959076, 0.2032524049282074, 0.5480613708496094, -0.6633458733558655, 0.5495336055755615, 0.5945219993591309, -0.4810240864753723, 0.7394956350326538, 0.6904444694519043, -0.4271990656852722, -0.6174946427345276, 1.0704196691513062, 0.4339994192123413, 0.13059265911579132, 0.5103253126144409, -0.10267982631921768, -0.2715017795562744, -0.5878236293792725, -0.39930522441864014, 0.25987717509269714, -0.6814195513725281, 0.032884564250707626, -0.5852338075637817, -0.22697767615318298, -0.5301626920700073, -0.0713760033249855, -0.5062710642814636, -0.301458477973938, -0.24118483066558838, -0.3284774422645569, 0.18478600680828094, 1.4825021028518677, 0.08272680640220642, 0.30947059392929077, -1.0073189735412598, -0.10889847576618195, -0.20003949105739594, 0.5719627737998962, -0.2218685895204544, -0.4653932750225067, -1.080032229423523, 0.16430671513080597, -0.6701117157936096, -0.8513096570968628, 0.4192231595516205, 0.30182868242263794, 0.6154665946960449, 0.1324813961982727, -0.24883344769477844, 0.24462443590164185, -0.6378220915794373, 0.8877777457237244, 0.34168022871017456, -0.986088752746582, 0.4765665829181671, -0.318938285112381, 0.35772716999053955, 0.1712164729833603, 0.6283113360404968, -0.434477835893631, -0.0037646694108843803, -0.5598552227020264, -0.6785852909088135, 0.7005442380905151, -0.31192368268966675, 0.08550435304641724, -0.0804375484585762, -0.018893469125032425, 0.36413466930389404, 0.33939892053604126, -0.562116801738739, -0.3227786719799042, -0.31320756673812866, -0.4391937255859375, -0.1839875876903534, -0.6434537768363953, 0.0966755747795105, -0.25667181611061096, 0.5691742300987244, -0.07699676603078842, 0.6023988723754883, -0.042120423167943954, -0.4415041208267212, 0.1698935478925705, 0.22071658074855804, 0.8654210567474365, 0.7278630137443542, -0.1598615199327469, 0.06641177088022232, 0.13225732743740082, -0.5274934768676758, 0.04627468064427376, 0.035231247544288635, 0.08033324778079987, 0.07026592642068863, 0.43211856484413147, 0.8193026185035706, 0.47495037317276, -0.15587027370929718, 0.487555593252182, -0.06593193858861923, -0.45059317350387573, -0.28442081809043884, -0.4199994206428528, 0.2577723562717438, -0.06333627551794052, 0.032889142632484436, -0.28055331110954285, 0.05365600064396858, -0.412064790725708, 0.14162248373031616, -0.01401651743799448, -0.4265719950199127, -0.6939187049865723, 0.557708203792572, 0.7132218480110168, -0.26189738512039185, 0.6149472594261169, -0.05454716831445694, -0.4006302058696747, 0.45936301350593567, 0.7983523607254028, 0.855187714099884, -0.48717719316482544, 0.34360596537590027, 0.31003522872924805, 0.628069281578064, 0.15773996710777283, 0.6667757630348206, 0.42383161187171936, -0.591673731803894, -0.4188934564590454, -0.36365509033203125, -0.45797327160835266, -0.117819644510746, -0.635957658290863, 0.48512399196624756, -0.21551725268363953, -0.0883089229464531, -0.07645200192928314, 0.02899172343313694, -0.8863027095794678, 0.23424188792705536, 0.07627429068088531, 1.2609144449234009, -0.7200400233268738, 0.9857138395309448, 0.9995394945144653, -0.5135179758071899, -0.6212700009346008, -0.10472261905670166, -0.08135250955820084, -0.5870588421821594, 0.5608817934989929, 0.37938112020492554, -0.154476597905159, 0.36746102571487427, -0.5945754051208496, -0.7747781872749329, 1.2185138463974, 0.7329145669937134, -0.6610589027404785, -0.006939253304153681, 0.061645038425922394, 0.2631431519985199, -0.6298640370368958, 0.6303305625915527, 0.3058154284954071, 0.6427084803581238, -0.2438984364271164, -1.1279151439666748, -0.304874449968338, -0.3421769142150879, -0.08111587911844254, 0.17339329421520233, -0.7874217629432678, 0.6787011027336121, -0.19329914450645447, -0.007187388371676207, -0.071010522544384, 0.7435246706008911, 0.020025111734867096, 0.039173077791929245, 0.1811419129371643, 0.7949948906898499, 0.8803638815879822, -0.1857299953699112, 1.3020485639572144, -0.873508095741272, 0.294450044631958, 1.0014830827713013, -0.2405748963356018, 1.0423519611358643, 0.31994906067848206, 0.034542858600616455, 0.48490068316459656, 0.7814502120018005, 0.1534619927406311, 0.6660763621330261, -0.140035480260849, -0.10475686937570572, -0.06684281677007675, -0.32190608978271484, -0.7404144406318665, 0.37071263790130615, 0.17753936350345612, -0.7418097853660583, -0.1105053722858429, -0.08906252682209015, 0.06092324107885361, -0.2522946298122406, -0.1510426253080368, 0.7159326076507568, 0.11989600211381912, -0.3842085897922516, 0.5193954110145569, 0.6304288506507874, 0.5082514882087708, -0.37559014558792114, -0.23276154696941376, 0.09179044514894485, 0.20168064534664154, -0.08040179312229156, -0.6315872669219971, 0.19847290217876434, -0.08038682490587234, -0.27470389008522034, -0.5152134299278259, 0.3096234202384949, -0.6347625255584717, -0.46993300318717957, 0.4649343490600586, 0.4416140913963318, 0.14210690557956696, 0.2911525070667267, -0.6203739643096924, 0.18420767784118652, -0.14450529217720032, -0.28210440278053284, 0.3361756503582001, 0.6842811107635498, 0.09438841044902802, 0.39960718154907227, 0.23136061429977417, -0.10959655046463013, 0.11750621348619461, 0.44771963357925415, 0.5773401856422424, -0.7705296277999878, -0.5708752274513245, -0.583846926689148, 0.7611446976661682, -0.08494453877210617, -0.3989834189414978, 0.7090414762496948, 0.6434532403945923, 0.8665971159934998, -0.25028926134109497, 0.8705887198448181, 0.3942120671272278, 0.40036365389823914, -0.679853081703186, 0.5932345390319824, -0.6056718230247498, 0.06944949179887772, -0.028521545231342316, -0.7952788472175598, -0.19582238793373108, 0.38393649458885193, -0.17077890038490295, 0.42216217517852783, 1.1742936372756958, 0.5912973880767822, -0.12564608454704285, 0.3142285943031311, 0.5295450687408447, 0.36335235834121704, 0.11791381239891052, 0.30044326186180115, 0.5572870969772339, -0.45015597343444824, 0.3887348771095276, -0.15308928489685059, -0.04382651299238205, -0.23545826971530914, -1.0940591096878052, -0.8121523261070251, -0.6122227311134338, -0.2899416387081146, 0.04695058986544609, 0.2527928054332733, 0.8879373669624329, 0.8230294585227966, -0.8343714475631714, -0.12728862464427948, 0.011251883581280708, -0.14099812507629395, 0.014004007913172245, -0.10987526178359985, 0.06826658546924591, -0.40277618169784546, -0.8206536769866943, 0.3886357545852661, 0.22229495644569397, 0.12966737151145935, -0.49506884813308716, -0.23343710601329803, -0.299861878156662, 0.07378432154655457, 0.7014113664627075, -0.28913986682891846, -0.5120598673820496, -0.3645651340484619, 0.06967378407716751, -0.17827466130256653, 0.006538026034832001, 0.6319936513900757, -0.2818985879421234, 0.4097474217414856, 0.3541695475578308, 0.3927202820777893, 0.4715786278247833, -0.5770590901374817, 1.0028340816497803, -0.9681496620178223, 0.2554152011871338, -0.020149018615484238, 0.4125703275203705, 0.4266878366470337, 0.07488895207643509, 0.5151311159133911, 0.15463657677173615, -0.45894014835357666, -0.8922186493873596, -0.0036458915565162897, -0.42332738637924194, -0.19663003087043762, 0.7745203375816345, -0.4899344742298126, -0.0427132286131382, -0.030947305262088776, 0.008075907826423645, 0.2827298045158386, -0.3206048011779785, 0.28531771898269653, 1.027793526649475, 0.4372085630893707, -0.4045114517211914, -0.6859694719314575, 0.25732144713401794, 0.2520831525325775, -0.8296311497688293, -0.362382709980011, 0.4159115254878998, 0.18819375336170197, -0.042364925146102905, 0.1884949505329132, -0.2112807035446167, 0.1877741813659668, 0.26545450091362, 0.4797728657722473, -0.31521669030189514, -0.8200716376304626, -0.3113038241863251, 0.38559579849243164, 0.32112476229667664, -0.27657824754714966 ]
http://arxiv.org/abs/2402.05668v1
http://arxiv.org/pdf/2402.05668v1
Comprehensive Assessment of Jailbreak Attacks Against LLMs
2024-02-08T13:42:50
2024-02-08T13:42:50
Junjie Chu, Yugeng Liu, Ziqing Yang, Xinyue Shen, Michael Backes, Yang Zhang
cs.CR
cs.CR, cs.AI, cs.CL, cs.LG
Misuse of the Large Language Models (LLMs) has raised widespread concern. To address this issue, safeguards have been taken to ensure that LLMs align with social ethics. However, recent findings have revealed an unsettling vulnerability bypassing the safeguards of LLMs, known as jailbreak attacks. By applying techniques, such as employing role-playing scenarios, adversarial examples, or subtle subversion of safety objectives as a prompt, LLMs can produce an inappropriate or even harmful response. While researchers have studied several categories of jailbreak attacks, they have done so in isolation. To fill this gap, we present the first large-scale measurement of various jailbreak attack methods. We concentrate on 13 cutting-edge jailbreak methods from four categories, 160 questions from 16 violation categories, and six popular LLMs. Our extensive experimental results demonstrate that the optimized jailbreak prompts consistently achieve the highest attack success rates, as well as exhibit robustness across different LLMs. Some jailbreak prompt datasets, available from the Internet, can also achieve high attack success rates on many LLMs, such as ChatGLM3, GPT-3.5, and PaLM2. Despite the claims from many organizations regarding the coverage of violation categories in their policies, the attack success rates from these categories remain high, indicating the challenges of effectively aligning LLM policies and the ability to counter jailbreak attacks. We also discuss the trade-off between the attack performance and efficiency, as well as show that the transferability of the jailbreak prompts is still viable, becoming an option for black-box models. Overall, our research highlights the necessity of evaluating different jailbreak methods. We hope our study can provide insights for future research on jailbreak attacks and serve as a benchmark tool for evaluating them for practitioners.
[ -0.4107342064380646, -0.9906545281410217, 0.567333996295929, 0.26591575145721436, -0.16217011213302612, 0.48451393842697144, -0.13909918069839478, -0.5045952796936035, 0.38783907890319824, 0.5660165548324585, -0.37441304326057434, -0.3110916018486023, -0.6586407423019409, 0.2210892140865326, -0.4874708652496338, 0.7335197329521179, -0.002392957452684641, -0.015973413363099098, 0.11970909684896469, -0.0628204271197319, -0.6711885929107666, -0.6524586081504822, -0.3771391212940216, 0.07960519194602966, 0.4797894060611725, 0.2455350011587143, 0.46815481781959534, 0.24160678684711456, 0.7006723284721375, 0.23879782855510712, -0.40010732412338257, -0.05077975615859032, -0.40278568863868713, 0.07352961599826813, -0.11871103197336197, -0.37809938192367554, -0.4317837059497833, 0.07175848633050919, 0.28398653864860535, 0.24815140664577484, -0.1361047923564911, 0.14454223215579987, -0.07815658301115036, 0.7474300265312195, -0.8445587754249573, -0.5485886335372925, -0.8731417655944824, 0.059261441230773926, -0.4276096224784851, 0.11452020704746246, -0.5821160674095154, -0.462644100189209, -0.27253976464271545, 0.14629556238651276, -0.2813745141029358, -0.014752986840903759, 0.41614800691604614, -0.06529084593057632, -0.34239324927330017, -0.42249637842178345, -0.3147208094596863, 0.621351957321167, -0.8725541234016418, -0.027743441984057426, 0.4049331247806549, 0.2764509916305542, -0.3730483651161194, -0.26426422595977783, -0.19346436858177185, -0.62591552734375, 0.15114834904670715, -0.08417242020368576, -0.5068650841712952, 0.055651869624853134, 0.4802931249141693, 0.1845708191394806, -0.34926509857177734, 0.47197145223617554, -0.51792973279953, -0.21525469422340393, 0.7040526866912842, 0.34302228689193726, 0.44622042775154114, -0.3351045250892639, -0.5477667450904846, 0.11111561954021454, -1.0912193059921265, 0.12918002903461456, 0.5715280175209045, -0.024399656802415848, -0.25759151577949524, 0.665644645690918, 0.139211505651474, 0.8020592927932739, -0.1654294729232788, -0.1626853346824646, -0.12216215580701828, -0.456428200006485, -0.14184845983982086, 0.06731226295232773, 0.9791222214698792, 0.5676463842391968, 0.3321439027786255, -0.3523656725883484, -0.16000030934810638, -0.155030757188797, 0.4808618724346161, -0.8276710510253906, 0.17800463736057281, 0.3458766043186188, -0.13558049499988556, -0.7335472106933594, 0.06022658571600914, -0.8094147443771362, -1.008110761642456, 0.4534880220890045, 0.07503242790699005, -0.17318685352802277, -0.015433997847139835, 0.008754863403737545, -0.0353006049990654, 0.5334264039993286, 0.17660266160964966, -0.6948038339614868, 0.3417222201824188, 0.6400101184844971, 0.9830541014671326, -0.243294358253479, -0.09655889868736267, -0.553401529788971, -0.0278064776211977, -0.3502987325191498, 0.49113649129867554, -0.12154901772737503, -0.5993950963020325, -0.09964702278375626, -0.19256995618343353, -0.04763050377368927, -0.47815993428230286, 0.3560565412044525, -0.5372278690338135, -0.5599038600921631, -0.17132927477359772, -0.5539795160293579, 0.03156270831823349, 0.6277629137039185, -0.6919177174568176, 0.49268296360969543, -0.09266939014196396, -0.8148100972175598, 0.08206065744161606, -0.46050840616226196, -0.42385539412498474, -0.23119837045669556, 0.10520046204328537, -0.3812578618526459, 0.30439478158950806, 0.15413512289524078, 0.44195061922073364, -0.388039767742157, 0.32733821868896484, -0.5890718102455139, -0.46542689204216003, 0.6342723369598389, -0.4092135727405548, 0.8415565490722656, 0.27458199858665466, -0.5836371183395386, -0.05975621938705444, -0.4889884293079376, -0.135101780295372, 0.44053909182548523, -0.06658904254436493, -0.36555948853492737, 0.1508372575044632, -0.19198079407215118, -0.02446257509291172, 0.24591058492660522, -0.7425837516784668, 0.3321537673473358, -0.2979579269886017, 0.7777056694030762, 0.8465206027030945, 0.14202666282653809, 0.07875894755125046, -0.04199624061584473, 0.5628227591514587, -0.3289691209793091, 0.44893965125083923, -0.05926842615008354, -0.15131540596485138, -0.09859631210565567, -0.1891651600599289, 0.13240572810173035, 0.8045478463172913, -0.06842495501041412, 0.39575982093811035, 0.08387234061956406, -0.8272165060043335, -0.2416936606168747, 0.30286404490470886, 0.4975578486919403, 0.21700051426887512, 0.2846520245075226, -0.3534049689769745, -0.302748441696167, -0.7154538035392761, -0.6668007373809814, -0.22104915976524353, 0.30790314078330994, 0.2964830994606018, 0.409830778837204, -0.1950218677520752, 0.6050817966461182, -0.2786828577518463, 0.05695043504238129, -0.4081350266933441, -0.25706303119659424, 0.09341950714588165, 0.3325861692428589, 0.6682551503181458, -0.30554813146591187, -0.21373766660690308, -0.35978758335113525, -0.7559826374053955, -0.193787083029747, 0.032255224883556366, 0.2597171366214752, 0.026376334950327873, 0.6700544953346252, -0.5003769397735596, 0.39010000228881836, 0.5059664249420166, -0.5154117941856384, 0.7730827927589417, 0.09825272858142853, 0.21169619262218475, -0.7752688527107239, -0.13437043130397797, 0.03425247594714165, -0.053766343742609024, -0.7622898817062378, 0.34923797845840454, 0.22386157512664795, 0.09799578785896301, -0.8106246590614319, 0.4145641624927521, -0.3778274655342102, -0.33531835675239563, -0.21747387945652008, 0.3120657503604889, -0.1395222544670105, -0.20012271404266357, -0.5834141969680786, 0.890500545501709, 0.29825785756111145, -0.06500536948442459, 0.5100722312927246, -0.0060298144817352295, -0.4065011739730835, 0.3917129337787628, -0.9187329411506653, 0.5074806213378906, 0.12535671889781952, 0.16328825056552887, -1.0890198945999146, -0.07451438158750534, 0.17200957238674164, -0.3287447690963745, 0.19492414593696594, -0.255896657705307, -0.5865998864173889, -0.2610119581222534, -0.7716224193572998, 0.05265599489212036, 0.3933395445346832, -0.44200658798217773, 0.1891012340784073, 0.36649006605148315, -0.08571924269199371, -0.8222649693489075, -0.5163490176200867, 0.615568220615387, -0.7175920009613037, -0.7426281571388245, -0.045553985983133316, 0.051993224769830704, -0.6431356072425842, -0.49449142813682556, -0.257258802652359, 0.2342897206544876, 0.8005739450454712, 0.2530123293399811, 0.5349358320236206, 0.2352779060602188, -0.6225454211235046, -0.18682502210140228, 0.2707749307155609, 0.5137540698051453, 0.1261795610189438, 0.6681489944458008, -0.1258474886417389, -0.3801543414592743, -0.2802092134952545, 0.05553468316793442, 0.7611441016197205, -0.28588879108428955, 0.7080934643745422, 0.2427196055650711, -0.0830957442522049, 0.15481631457805634, -0.797464907169342, -0.07479317486286163, -0.4546164572238922, 0.34970009326934814, -0.1916245073080063, -1.0429508686065674, 0.5306999683380127, -0.17771843075752258, 0.2374197244644165, -0.12264861166477203, 0.3359367549419403, -0.06396171450614929, 0.7571530938148499, 0.3788045644760132, -0.5062254071235657, 0.46473756432533264, 0.05788550525903702, 0.2686668634414673, -0.8569912910461426, -0.19428284466266632, -0.6053115129470825, -0.13773252069950104, -0.5892958045005798, -0.18833261728286743, 0.1674584448337555, 0.4643309712409973, -0.32459402084350586, 0.5048310160636902, -0.1869214028120041, 0.500069260597229, -0.03939421474933624, 0.116871178150177, 0.2882218062877655, -0.18682079017162323, 0.018680762499570847, 0.10604970157146454, -0.23746371269226074, -0.5440171957015991, 1.283132791519165, 0.5758276581764221, 1.034346342086792, 0.22564847767353058, 0.8831962943077087, 0.4307139813899994, 0.43191367387771606, -0.7202306389808655, 0.656938910484314, -0.03728308528661728, -0.5270276069641113, -0.09738067537546158, -0.32891878485679626, -0.8486194014549255, 0.22717389464378357, 0.037552960216999054, -1.2397263050079346, -0.11681737750768661, 0.02897564135491848, -0.32987144589424133, 0.42509591579437256, -0.6946749091148376, 0.7875467538833618, -0.5671996474266052, -0.4407486915588379, -0.15419718623161316, -0.756973922252655, 0.7241004705429077, -0.37337902188301086, 0.517100989818573, -0.2521072030067444, 0.12149537354707718, 0.7454991936683655, -0.5017211437225342, 0.9780129790306091, -0.3864568769931793, -0.09791115671396255, 0.22647598385810852, 0.26861006021499634, 0.7416731715202332, 0.21201561391353607, 0.1135113313794136, 0.1124543696641922, -0.08838192373514175, -0.32607561349868774, -0.35542336106300354, 0.6918643116950989, -0.6581860184669495, -0.8170334696769714, -0.3014586567878723, -0.36525601148605347, -0.372710257768631, -0.005928924772888422, 0.08693720400333405, 0.16991648077964783, -0.23616179823875427, 0.02881665527820587, 0.7186729907989502, -0.4454089403152466, 0.4043479263782501, 0.47560757398605347, -0.31402701139450073, -0.4997243881225586, 0.5021607279777527, -0.036728572100400925, 0.5373411178588867, -0.05053126811981201, 0.20466701686382294, -0.15173311531543732, -0.8181870579719543, -0.41628021001815796, 0.15774326026439667, -0.40828847885131836, -0.40795913338661194, -0.3691723048686981, -0.2861572504043579, -0.287466436624527, -0.4089491367340088, -0.2911987602710724, -0.11682657897472382, 0.21740993857383728, -0.44294023513793945, 0.47909730672836304, 0.6596386432647705, 0.09034937620162964, 0.3384610414505005, -0.7739130854606628, 0.2450316995382309, 0.06912767142057419, -0.07794128358364105, -0.045787326991558075, -0.40332475304603577, 0.10067661106586456, -0.28647878766059875, -0.2662542760372162, -1.27726411819458, 0.1257844716310501, -0.24186024069786072, 0.41867589950561523, 0.30475324392318726, 0.0710873156785965, 0.6205912828445435, -0.5225135684013367, 0.7390122413635254, 0.45376166701316833, -0.9918076992034912, 0.819942831993103, -0.18903052806854248, -0.22456640005111694, 0.7473515272140503, 0.1504787653684616, -0.38056525588035583, -0.6283808946609497, -0.5255363583564758, -0.9578182101249695, 0.3361983895301819, 0.010537966154515743, 0.29916414618492126, -0.013695911504328251, 0.42060521245002747, -0.14947231113910675, 0.1485334038734436, -0.691697359085083, -0.38908448815345764, 0.11698418110609055, 0.1489723026752472, 0.041098084300756454, -0.27163130044937134, -0.23617872595787048, -0.07934751361608505, 0.11012158542871475, 0.3685375452041626, -0.08489320427179337, 0.045998312532901764, -0.34515106678009033, 0.21403510868549347, 0.6651390790939331, 0.5790166258811951, 0.5806205868721008, -0.26264503598213196, 0.04872306063771248, 0.2573712468147278, -0.8991284370422363, 0.5910175442695618, 0.005826251115649939, -0.2512381672859192, -0.3195045292377472, 0.2929284870624542, 0.5361514091491699, 0.06307400017976761, -0.9647161960601807, 0.6378929615020752, 0.0014996303943917155, -0.024888135492801666, -0.3671601414680481, 0.17369335889816284, -0.07645765691995621, 0.31269457936286926, 0.076603002846241, -0.10280334204435349, 0.006729290820658207, -0.5635062456130981, 0.07886695116758347, 0.7540947794914246, -0.3872561752796173, -0.11190993338823318, 0.4833563268184662, -0.003142482601106167, -0.2284127026796341, 0.6372344493865967, -0.07083205133676529, -0.3999069035053253, 0.7979678511619568, 0.709528923034668, 0.8381352424621582, -0.23680394887924194, 0.07085152715444565, 0.09230631589889526, 0.9719775319099426, 0.029732035472989082, 0.12603650987148285, 0.10462946444749832, -0.6605713963508606, -0.5070756673812866, -0.39294084906578064, -0.6033055782318115, 0.292127788066864, -0.7801594138145447, 0.008256470784544945, -0.8629387021064758, -0.2868012487888336, -0.22191424667835236, 0.029725905507802963, -0.1921824961900711, -0.25290560722351074, 0.22757314145565033, 1.4121731519699097, -0.7329115271568298, 0.6236043572425842, 0.6315537095069885, -0.03930186480283737, -0.6794513463973999, -0.07154913246631622, 0.32777562737464905, -0.8591193556785583, 0.40880686044692993, 0.38132479786872864, -0.06802748143672943, -0.3698279857635498, -0.8171816468238831, -0.5193247199058533, 0.9636180996894836, 0.33283281326293945, -0.8235872983932495, 0.08484160155057907, 0.11737518012523651, 0.0769120529294014, -0.05230649560689926, 0.058186426758766174, 1.119828701019287, 0.5776748657226562, -0.2576279640197754, -0.8112881779670715, 0.26988309621810913, -0.020098062232136726, -0.12531931698322296, 0.5130345821380615, -0.5610059499740601, 0.41008642315864563, -0.48929089307785034, 0.22825880348682404, 0.17967292666435242, 0.1811889261007309, 0.7634871602058411, 0.4117937684059143, 0.4582870304584503, 0.5257575511932373, 0.4856930077075958, -0.09723597764968872, 0.9062467813491821, -0.27752578258514404, 0.1740972250699997, 0.7828855514526367, -0.47196775674819946, 0.6709946990013123, 0.6860553026199341, -0.22979843616485596, 0.1160067617893219, 0.4191979467868805, -0.2874698340892792, 0.47093984484672546, 0.7795494794845581, -0.1390240490436554, 0.1403418779373169, 0.19347961246967316, -0.14252616465091705, 0.25926151871681213, 0.526414692401886, -0.14136317372322083, -0.24038606882095337, 0.38225042819976807, 0.7700209617614746, -0.05690159648656845, -0.4795888066291809, 0.762312114238739, 0.25820958614349365, -0.38285818696022034, 0.486558735370636, 0.3120408058166504, 0.8470849394798279, -0.6880528926849365, 0.33487141132354736, -0.4223830997943878, -0.10564927756786346, -0.23630623519420624, -0.8458584547042847, 0.07875791192054749, 0.6507335901260376, 0.30518150329589844, 0.10563325881958008, 0.8060652613639832, 0.31298455595970154, -0.06635179370641708, 0.541375994682312, 0.37002116441726685, 0.13552574813365936, -0.05049341917037964, -0.6345674991607666, 0.5489984154701233, -0.0154588483273983, -0.3898333013057709, 0.7244093418121338, -0.18241344392299652, 0.017346398904919624, 0.5188339948654175, 0.4898553788661957, 0.33661454916000366, 0.2953643202781677, -0.07911652326583862, 0.8403101563453674, -0.8716791868209839, -0.09700167179107666, -1.3313343524932861, 0.2933098375797272, -0.30885565280914307, -0.15157543122768402, 0.896921694278717, 0.3033464848995209, 0.5926042795181274, 0.39426371455192566, 0.7565292716026306, -0.2344735860824585, -0.014932489022612572, -0.6643512845039368, 0.5534327626228333, -0.16154278814792633, 0.7224203944206238, -0.6179792284965515, -0.6635334491729736, -0.10152550786733627, 0.36833685636520386, -0.5281756520271301, -0.19635111093521118, 0.44461682438850403, 0.6647310853004456, 0.34181955456733704, -0.0034198809880763292, 0.21381346881389618, 0.18086402118206024, 0.5108668208122253, 0.49230486154556274, 1.2177097797393799, -0.23551113903522491, 0.39125147461891174, -0.18767476081848145, -0.4009886682033539, -0.06320226192474365, -0.7966377139091492, -1.1199017763137817, 0.1766635626554489, -0.07402022927999496, -0.5725315809249878, 0.40855926275253296, 0.728389322757721, 0.25428682565689087, -0.5356558561325073, -0.38379913568496704, 0.10002017766237259, 0.12122476100921631, -0.08758171647787094, -0.18269091844558716, 0.09568546712398529, -0.2660512328147888, -0.12545208632946014, 0.7503527998924255, 0.4259066879749298, -0.16197045147418976, -0.3207423686981201, 0.18524661660194397, 0.10548624396324158, 0.1540813446044922, 0.6099380254745483, 0.31771066784858704, -0.5683652758598328, -0.15258030593395233, 0.10813487321138382, -0.2881140112876892, -0.030476927757263184, 0.8493877649307251, -0.33956173062324524, 0.05206015706062317, 0.19545792043209076, 0.8047187924385071, 0.20649948716163635, 0.07107378542423248, 0.2055264413356781, -0.5166873335838318, 0.04912326857447624, 0.1588480919599533, 0.5129348635673523, 0.15997152030467987, -0.30099669098854065, 0.4194572865962982, 0.029018990695476532, -0.5201343894004822, -1.118938684463501, 0.26742446422576904, -0.8008566498756409, -0.35419636964797974, 1.0512633323669434, -0.379067599773407, -0.24291746318340302, -0.09646708518266678, -0.1262616217136383, -0.3712242543697357, -0.259583443403244, 0.7324702143669128, 0.7036155462265015, -0.0187116377055645, -0.031185781583189964, -0.8653820157051086, 0.08946078270673752, 0.14944158494472504, -1.018833875656128, 0.26448744535446167, 0.47222334146499634, 0.44834136962890625, 0.056747544556856155, 0.3695785701274872, -0.6345422863960266, 0.2875045835971832, -0.32253772020339966, -0.29416757822036743, -0.06200443208217621, -0.27417588233947754, -0.5036652088165283, 0.27657079696655273, 0.3551727533340454, 0.12186425924301147 ]
http://arxiv.org/abs/2402.14579v1
http://arxiv.org/pdf/2402.14579v1
Text Role Classification in Scientific Charts Using Multimodal Transformers
2024-02-08T13:21:44
2024-02-08T13:21:44
Hye Jin Kim, Nicolas Lell, Ansgar Scherp
cs.CV
cs.CV, cs.CL, cs.LG
Text role classification involves classifying the semantic role of textual elements within scientific charts. For this task, we propose to finetune two pretrained multimodal document layout analysis models, LayoutLMv3 and UDOP, on chart datasets. The transformers utilize the three modalities of text, image, and layout as input. We further investigate whether data augmentation and balancing methods help the performance of the models. The models are evaluated on various chart datasets, and results show that LayoutLMv3 outperforms UDOP in all experiments. LayoutLMv3 achieves the highest F1-macro score of 82.87 on the ICPR22 test dataset, beating the best-performing model from the ICPR22 CHART-Infographics challenge. Moreover, the robustness of the models is tested on a synthetic noisy dataset ICPR22-N. Finally, the generalizability of the models is evaluated on three chart datasets, CHIME-R, DeGruyter, and EconBiz, for which we added labels for the text roles. Findings indicate that even in cases where there is limited training data, transformers can be used with the help of data augmentation and balancing methods. The source code and datasets are available on GitHub under https://github.com/hjkimk/text-role-classification
[ -0.16220571100711823, -0.1596681773662567, 0.4178309440612793, 0.2643393874168396, -0.27262741327285767, 0.14011870324611664, -0.058441758155822754, -0.6895557641983032, -0.12238658964633942, 0.8220019340515137, -0.28173086047172546, -0.7334877848625183, -0.7154380679130554, 0.47579580545425415, -0.4106815457344055, 1.1727055311203003, -0.17849938571453094, 0.22841745615005493, -0.5886561870574951, -0.12457763403654099, -0.4974481761455536, -0.3801620900630951, -0.15125510096549988, -0.2004220336675644, 0.6673434972763062, 0.4922386407852173, 0.7179776430130005, 0.621101975440979, 0.5591520667076111, 0.4365498423576355, 0.25147509574890137, 0.3929150104522705, -0.22431859374046326, 0.3929094076156616, 0.24252475798130035, -0.41648057103157043, -0.5672913193702698, 0.3832142949104309, 0.5601465702056885, 0.5718084573745728, 0.3102070391178131, -0.11453845351934433, -0.01596950553357601, 0.23096740245819092, -0.4063493609428406, 0.9465161561965942, -0.23030321300029755, 0.10710767656564713, -0.2284581959247589, -0.5795968770980835, -0.9090604782104492, -0.09186246246099472, 0.2749919891357422, -1.105313777923584, 0.2859083116054535, 0.2940240502357483, 0.646559476852417, 0.19317373633384705, -0.9910650253295898, -0.4935816824436188, -0.6651328802108765, 0.9685013890266418, -0.4172808825969696, 0.5153884291648865, 0.3694847822189331, 0.24167995154857635, 0.26611027121543884, -0.9780074954032898, -0.40359675884246826, -0.11928967386484146, -0.5992282629013062, 0.5348380208015442, -0.05035603791475296, 0.24735668301582336, 0.3000272810459137, 0.11352114379405975, -0.6071359515190125, 0.38090527057647705, -0.7639830708503723, -0.29958802461624146, 0.6304864883422852, 0.16423343122005463, 0.4316219687461853, -0.6239946484565735, -0.4027310609817505, -0.542212188243866, -0.037023644894361496, 0.08526749163866043, 0.34341394901275635, 0.261104553937912, -0.16465820372104645, 0.7630196809768677, 0.32361721992492676, 0.6685871481895447, -0.21770355105400085, -0.3514429032802582, 0.19642479717731476, -0.40438005328178406, -0.14896070957183838, 0.15892697870731354, 0.7525662183761597, 0.3889298439025879, 0.12241341918706894, 0.17785300314426422, -0.04104812443256378, -0.07702413946390152, 0.6514302492141724, -0.7280953526496887, -0.2954154312610626, -0.14067856967449188, -0.4398763179779053, -0.4833355247974396, 0.3135490417480469, -0.6991665959358215, -0.6118894219398499, -0.48107489943504333, 0.2008458822965622, -0.45643094182014465, 0.16116058826446533, -0.11927551031112671, -0.29067137837409973, -0.19397825002670288, 0.5749255418777466, -0.7828748226165771, 0.16263143718242645, 0.5629962086677551, 0.85929936170578, -0.18313808739185333, -0.2740713357925415, -0.34614723920822144, 0.43003520369529724, -0.16323032975196838, 0.8201473951339722, -0.5237011313438416, -0.5171300172805786, -0.23432384431362152, 0.10273972898721695, -0.5198143124580383, -0.12956978380680084, 0.8167075514793396, -0.5640126466751099, 0.7066507339477539, 0.14183685183525085, -0.6103318333625793, -0.3201864957809448, 0.12764069437980652, -1.182224988937378, 0.7855310440063477, 0.15682300925254822, -1.0815637111663818, 0.570953369140625, -0.832368016242981, -0.4500402510166168, 0.0625099465250969, -0.29185205698013306, -0.5800338983535767, -0.3316732943058014, 0.24315929412841797, 0.6092354655265808, -0.00690416106954217, -0.05609364062547684, -0.1859932243824005, -0.08689682930707932, 0.3190484642982483, -0.36909356713294983, 0.5242396593093872, 0.2551043927669525, -0.03719848394393921, 0.32695987820625305, -0.7459822297096252, -0.10328702628612518, -0.24682870507240295, -0.26600292325019836, -0.6431381106376648, 0.14678554236888885, 0.6604658365249634, 0.17388132214546204, -0.18191201984882355, -0.35925665497779846, 0.5358943939208984, -0.18932293355464935, 0.3441734313964844, 0.569202184677124, -0.10170530527830124, 0.5015848875045776, -0.0857057124376297, 0.5774059891700745, -0.07140310108661652, 0.17648209631443024, -0.17557813227176666, -0.6939575672149658, -0.34928974509239197, -0.6773595809936523, 0.5677895545959473, 0.5407968759536743, -0.7311674952507019, 0.45980140566825867, -0.6134493350982666, -0.6429030299186707, -0.044577863067388535, 0.0930611863732338, 0.09388088434934616, 0.666936993598938, 0.5796480178833008, -0.2534390985965729, -0.5568585395812988, -0.7586991190910339, 0.20111270248889923, -0.1841936856508255, -0.020833900198340416, -0.022140350192785263, 0.31080785393714905, -0.4267039895057678, 0.8013598322868347, -0.5385689735412598, -0.5405939221382141, -0.36462000012397766, 0.5652632713317871, -0.0897870734333992, 0.2866978347301483, 0.8165988922119141, -1.098139762878418, -0.45140987634658813, 0.16346651315689087, -0.7374582886695862, -0.3606938421726227, -0.14493785798549652, 0.06784321367740631, 0.11865121871232986, 0.6268635988235474, -0.7568939924240112, 0.5491207242012024, 0.689595103263855, -0.47057268023490906, 0.3692912757396698, -0.19717735052108765, 0.2193683385848999, -0.9924277663230896, 0.05715033784508705, 0.18694226443767548, -0.2758800983428955, -0.814541757106781, -0.2698991298675537, 0.23680971562862396, -0.3036646544933319, 0.05385393276810646, 0.4702867269515991, -0.35827866196632385, -0.024887068197131157, -0.31789782643318176, -0.002389277331531048, 0.33524754643440247, 0.01744646020233631, 0.14517267048358917, 0.5129438042640686, 0.242075115442276, -0.42138224840164185, 0.13442541658878326, 0.4350794851779938, -0.39976343512535095, 0.3580288887023926, -0.3199675679206848, -0.27644214034080505, -0.15513354539871216, 0.7011269330978394, -1.3697235584259033, -0.41664114594459534, 0.03018168918788433, -0.31336063146591187, 0.590438961982727, -0.040117762982845306, -0.7646967172622681, -0.32026833295822144, -0.3460261821746826, 0.3597151041030884, 0.015251590870320797, -0.23073387145996094, 0.7139596343040466, 0.17654472589492798, -0.25688692927360535, -0.5773235559463501, -0.49747028946876526, -0.35013991594314575, -0.29123029112815857, -0.7970389723777771, 0.6319951415061951, 0.19111214578151703, 0.02753068320453167, -0.21080990135669708, -0.36223676800727844, -0.08996009081602097, -0.07294842600822449, 0.4279235005378723, 0.5554492473602295, 0.1643163114786148, 0.2483459711074829, 0.1025281623005867, -0.4276267886161804, -0.21700167655944824, 0.009863891638815403, 0.39894887804985046, 0.10956025868654251, -0.40775468945503235, -0.3913053274154663, 0.12450937181711197, 0.9824411273002625, -0.1349623054265976, 0.4835719168186188, 0.8511122465133667, -0.06613032519817352, 0.22941754758358002, -0.239586740732193, -0.0013667333405464888, -0.4445948898792267, 0.3608715832233429, 0.12325771898031235, -0.5377709269523621, 0.32464027404785156, 0.2764021158218384, 0.33933383226394653, 0.6526414155960083, 0.1925317496061325, -0.4269979000091553, 1.2770029306411743, 0.7058199644088745, 0.12927843630313873, 0.4915020167827606, -0.4284290373325348, 0.14247186481952667, -0.5543451309204102, -0.23318716883659363, -0.5577780604362488, -0.4242416322231293, -0.664505660533905, -0.5142354369163513, 0.7430287003517151, 0.024381710216403008, -0.08343815803527832, 0.2534560263156891, -0.5507978200912476, 0.07237163931131363, 0.32398414611816406, -0.12866653501987457, 0.42900750041007996, 0.14012712240219116, 0.10841567069292068, -0.3648536801338196, -0.5092044472694397, -0.7402927875518799, 1.06657874584198, 0.31547388434410095, 0.9029157757759094, -0.0699838250875473, 0.3515566885471344, 0.36083298921585083, 0.5274882316589355, -0.7763546705245972, 0.24174626171588898, -0.2772977352142334, -0.4566773474216461, -0.44549641013145447, -0.3491896986961365, -1.0121667385101318, 0.42577430605888367, -0.3886552155017853, -0.3433282673358917, 0.17276667058467865, 0.09979846328496933, -0.04670834168791771, 0.10178449749946594, -1.0982764959335327, 0.9314191937446594, -0.5175145268440247, 0.055172041058540344, -0.09587545692920685, -0.6157646775245667, 0.08666597306728363, -0.11468858271837234, 0.5442773103713989, 0.1627042293548584, 0.01657036319375038, 0.8249437808990479, -0.24135169386863708, 1.0054303407669067, -0.2302345484495163, -0.16215699911117554, 0.022653479129076004, -0.0841057226061821, 0.2525804042816162, 0.1777447611093521, -0.08966511487960815, -0.09943719953298569, 0.3966678977012634, -0.3250894248485565, -0.6479755640029907, 0.5850337147712708, -1.0737557411193848, -0.24946428835391998, -0.6157753467559814, -0.6624817252159119, -0.2140084207057953, 0.4000296890735626, 0.318280965089798, 0.3847748935222626, 0.16683848202228546, 0.699610710144043, 0.2645104229450226, -0.030100993812084198, 0.2908814251422882, 0.33955150842666626, -0.24903324246406555, -0.34604230523109436, 0.6490407586097717, 0.25386855006217957, 0.15865863859653473, 0.44841840863227844, 0.09897584468126297, -0.5316668748855591, -0.3815387189388275, -0.14312484860420227, -0.04626063257455826, -0.9426254034042358, -0.4248952269554138, -0.7766081094741821, -0.32306399941444397, -0.5350527167320251, -0.084613136947155, -0.007322071585804224, -0.537531316280365, -0.5676089525222778, -0.2939613461494446, 0.5096826553344727, 0.542688250541687, 0.17344212532043457, 0.4930475056171417, -0.8187946081161499, 0.25925910472869873, 0.3097743093967438, 0.1811615228652954, -0.1318100392818451, -0.21113844215869904, -0.2634396553039551, -0.2208583503961563, -0.9235202074050903, -0.928443193435669, 0.3954973816871643, 0.08584211021661758, 0.6591625809669495, 0.5080881118774414, -0.13334636390209198, 0.5204136967658997, -0.25952133536338806, 0.5148360133171082, 0.2977685332298279, -0.817459762096405, 0.14032697677612305, -0.43235597014427185, 0.06890534609556198, 0.38855549693107605, 0.4873301386833191, -0.5583668351173401, -0.3962078392505646, -0.2914324998855591, -0.8302727937698364, 0.8889769315719604, 0.4740474820137024, -0.10771719366312027, 0.30822259187698364, 0.021030955016613007, 0.3085859417915344, 0.09625504910945892, -1.0880181789398193, 0.12135183066129684, -0.7664418816566467, -0.547337532043457, -0.24413661658763885, 0.0632946714758873, -0.13489902019500732, -0.6246104836463928, 0.32661014795303345, -0.4517780840396881, 0.09624703973531723, 0.25885874032974243, -0.3151920735836029, -0.11061356961727142, 0.3540734350681305, 0.690927267074585, 0.7565872073173523, -0.10191532224416733, 0.26717886328697205, -0.1935793161392212, -0.7451480627059937, -0.02424602210521698, 0.46018698811531067, 0.043751560151576996, -0.08689441531896591, 0.9548018574714661, 0.8155953884124756, 0.5000768303871155, -0.5410030484199524, 0.38517069816589355, -0.051366910338401794, -0.18076449632644653, -0.11609859764575958, 0.15830078721046448, -0.09115424752235413, 0.09852419048547745, 0.4754287302494049, 0.12144671380519867, 0.2020149677991867, -0.33928418159484863, 0.07101322710514069, 0.19324839115142822, -0.39118751883506775, -0.4025895297527313, 0.5753181576728821, 0.08165237307548523, 0.13244295120239258, 0.5776490569114685, 0.28654658794403076, -0.4199891686439514, 0.6732277274131775, 0.43961814045906067, 0.3787163197994232, -0.1753566414117813, 0.5637206435203552, 0.002564814407378435, 0.3054651916027069, 0.22652554512023926, -0.05341162905097008, 0.2161291390657425, -0.5897903442382812, -0.5781770348548889, -0.36599233746528625, -0.47330614924430847, 0.20541228353977203, -0.5362904071807861, 0.5402729511260986, -0.20715048909187317, -0.22414630651474, 0.5630202889442444, 0.012355009093880653, -0.6735644936561584, 0.16172784566879272, 0.11952757090330124, 0.5172383189201355, -0.8679744601249695, 0.6179493069648743, 0.9935677647590637, -0.229710191488266, -0.3314431607723236, -0.1188417375087738, 0.11924958974123001, -0.4113955497741699, 0.7846514582633972, 0.5294190645217896, 0.08769506216049194, -0.07397254556417465, -0.6199859976768494, -0.7008298635482788, 1.4339358806610107, -0.07830041646957397, -0.17000773549079895, -0.2206813246011734, 0.1723865419626236, 0.8592419624328613, -0.4145124554634094, 0.505944013595581, -0.024674972519278526, 0.8067643046379089, -0.06759908050298691, -0.9336934089660645, -0.2970590889453888, -0.2217423915863037, -0.13261033594608307, -0.02068968303501606, -0.438782662153244, 0.8904510140419006, 0.22282445430755615, -0.21785910427570343, -0.11531960219144821, 0.5883200168609619, 0.3622535765171051, 0.43329545855522156, 0.7571349143981934, 0.13497662544250488, 0.755495011806488, -0.14470355212688446, 1.0963945388793945, -0.12186390161514282, 0.40734580159187317, 0.6660168170928955, -0.42713820934295654, 0.26594117283821106, 0.35065990686416626, 0.1453176885843277, 0.7108550667762756, 0.5632523894309998, -0.22143405675888062, 0.5529313683509827, -0.2211439311504364, 0.2584301233291626, -0.1972809135913849, 0.20505282282829285, -0.34945935010910034, 0.6269074082374573, 0.5107971429824829, -0.46491020917892456, -0.3088761866092682, 0.31554627418518066, -0.21708273887634277, -0.03803698718547821, -0.015177193097770214, 0.481193870306015, -0.0546143501996994, -0.29201722145080566, 0.13656377792358398, 0.20780885219573975, 0.36025601625442505, -0.6496521830558777, 0.007083257660269737, 0.07705572247505188, 0.18829169869422913, -0.34709402918815613, -0.8659958839416504, 0.1602785289287567, -0.15082834661006927, -0.44095268845558167, -0.5519163012504578, 0.7412073612213135, -0.26883670687675476, -0.609492838382721, 0.16590675711631775, 0.15494117140769958, -0.37291938066482544, 0.23369713127613068, -0.44601866602897644, -0.024113735184073448, -0.23775695264339447, -0.12400396913290024, 0.2604929804801941, 0.3290882408618927, -0.6311367154121399, 0.6101118326187134, 0.5512409210205078, -0.35876864194869995, 0.048968639224767685, 0.1702495813369751, 0.7119284868240356, -0.5291184782981873, -0.6732975840568542, -0.3763866722583771, 0.4975418746471405, -0.3748745918273926, -0.14449486136436462, 1.0028507709503174, 0.8091565370559692, 0.6599537134170532, -0.32919594645500183, 0.7498365044593811, 0.08021668344736099, 0.3682078719139099, -0.564136266708374, 0.8722835183143616, -0.5151949524879456, 0.103223517537117, -0.7142889499664307, -0.7653721570968628, -0.5659865736961365, 0.4992866814136505, -0.48324301838874817, -0.11669043451547623, 0.73764967918396, 0.2926745116710663, -0.5032390356063843, 0.39273908734321594, -0.1396671086549759, 0.004455094691365957, 0.6835289001464844, -0.06711197644472122, 0.8965714573860168, -0.30305320024490356, 0.6314800977706909, -0.3343246579170227, -0.18701866269111633, -0.30823373794555664, -0.6956868767738342, -0.9271253347396851, -0.7560135722160339, -0.25972211360931396, 0.017543494701385498, -0.7882509827613831, 0.6914781332015991, 0.9328364133834839, -0.6813499927520752, -0.21495789289474487, 0.19326362013816833, 0.09072789549827576, -0.1878071278333664, -0.31635782122612, 0.46658462285995483, -0.2346152812242508, -0.6770543456077576, 0.3244541883468628, 0.24322836101055145, 0.34990161657333374, -0.08285350352525711, 0.11429078876972198, -0.029712237417697906, -0.19599254429340363, 0.8658708930015564, 0.08845070004463196, -0.5983410477638245, -0.21884989738464355, 0.12192316353321075, -0.20646139979362488, 0.0562518946826458, 1.1670656204223633, -0.3181608319282532, 0.6502229571342468, 0.6410697102546692, 0.2295091152191162, 0.5878487825393677, 0.2272794544696808, 0.37846484780311584, -1.022995948791504, 0.3527679741382599, 0.27397048473358154, 0.3026517629623413, 0.24685755372047424, -0.4194324016571045, 0.3797569274902344, 0.16923019289970398, -0.5012778639793396, -0.9185445308685303, -0.11461896449327469, -1.3185863494873047, -0.2489834427833557, 0.8810767531394958, 0.2535538971424103, 0.11683765053749084, -0.21481825411319733, -0.4363834261894226, 0.3737800419330597, -0.10800494253635406, 0.7303967475891113, 0.9101645350456238, -0.42973506450653076, -0.15931682288646698, -0.6900104284286499, 0.44009652733802795, 0.06019148230552673, -1.0403913259506226, -0.03996589779853821, 0.7211363315582275, 0.06275846809148788, 0.7319167852401733, 0.3723198175430298, -0.26575905084609985, 0.07394314557313919, -0.49880293011665344, 0.025665000081062317, -0.13464412093162537, -0.51258784532547, 0.1912514716386795, 0.15624673664569855, -0.20020854473114014, 0.1717386394739151 ]
http://arxiv.org/abs/2402.10943v1
http://arxiv.org/pdf/2402.10943v1
Advances and Limitations in Open Source Arabic-Script OCR: A Case Study
2024-02-08T12:51:36
2024-02-08T12:51:36
Benjamin Kiessling, Gennady Kurin, Matthew Thomas Miller, Kader Smail
cs.CL
cs.CL, cs.CV
This work presents an accuracy study of the open source OCR engine, Kraken, on the leading Arabic scholarly journal, al-Abhath. In contrast with other commercially available OCR engines, Kraken is shown to be capable of producing highly accurate Arabic-script OCR. The study also assesses the relative accuracy of typeface-specific and generalized models on the al-Abhath data and provides a microanalysis of the ``error instances'' and the contextual features that may have contributed to OCR misrecognition. Building on this analysis, the paper argues that Arabic-script OCR can be significantly improved through (1) a more systematic approach to training data production, and (2) the development of key technological components, especially multi-language models and improved line segmentation and layout analysis. Cet article pr{\'e}sente une {\'e}tude d'exactitude du moteur ROC open source, Krakan, sur la revue acad{\'e}mique arabe de premier rang, al-Abhath. Contrairement {\`a} d'autres moteurs ROC disponibles sur le march{\'e}, Kraken se r{\'e}v{\`e}le {\^e}tre capable de produire de la ROC extr{\^e}mement exacte de l'{\'e}criture arabe. L'{\'e}tude {\'e}value aussi l'exactitude relative des mod{\`e}les sp{\'e}cifiquement configur{\'e}s {\`a} des polices et celle des mod{\`e}les g{\'e}n{\'e}ralis{\'e}s sur les donn{\'e}es d'al-Abhath et fournit une microanalyse des "occurrences d'erreurs", ainsi qu'une microanalyse des {\'e}l{\'e}ments contextuels qui pourraient avoir contribu{\'e} {\`a} la m{\'e}reconnaissance ROC. S'appuyant sur cette analyse, cet article fait valoir que la ROC de l'{\'e}criture arabe peut {\^e}tre consid{\'e}rablement am{\'e}lior{\'e}e gr{\^a}ce {\`a} (1) une approche plus syst{\'e}matique d'entra{\^i}nement de la production de donn{\'e}es et (2) gr{\^a}ce au d{\'e}veloppement de composants technologiques fondamentaux, notammentl'am{\'e}lioration des mod{\`e}les multilingues, de la segmentation de ligne et de l'analyse de la mise en page.
[ -0.3746951222419739, -0.48434576392173767, 0.5496071577072144, -0.2410755753517151, -0.15755346417427063, 0.22385476529598236, -0.2908538281917572, -0.8003880381584167, 0.35130539536476135, 0.3714768886566162, -0.07361096143722534, -0.8823922276496887, -0.5090798139572144, 0.12269330769777298, -0.46006935834884644, 0.9029261469841003, -0.4802122116088867, 0.10033994168043137, 0.48327144980430603, -0.7806045413017273, -0.3139025866985321, -0.5063915252685547, -0.5033287405967712, 0.3738548755645752, 0.5984806418418884, 0.5665115118026733, 0.7488923668861389, 0.7618462443351746, 0.6888633966445923, 0.2724008858203888, 0.14056339859962463, 0.17665378749370575, -0.2057960033416748, 0.11348680406808853, -0.022140460088849068, -0.252236932516098, -0.29876554012298584, -0.08795584738254547, 0.6375142931938171, 0.4347490966320038, 0.031854383647441864, 0.1936529576778412, -0.046977829188108444, 0.8697272539138794, -0.8417173624038696, 0.09554916620254517, -0.21416330337524414, -0.22059708833694458, -0.23295144736766815, 0.22470887005329132, -0.3132234513759613, -0.6494457721710205, -0.011147824116051197, -0.5735228061676025, 0.30213651061058044, -0.03522918373346329, 1.1001465320587158, 0.1298125982284546, -0.16243961453437805, -0.8869566917419434, -0.9287517070770264, 0.9963527321815491, -0.5922331809997559, 0.34922686219215393, 0.3519967198371887, 0.72188800573349, -0.03629114851355553, -0.9483943581581116, -0.7123170495033264, -0.28261107206344604, 0.12982077896595, 0.21378597617149353, -0.12046930193901062, -0.25480222702026367, 0.11339354515075684, 0.48670557141304016, -0.3340989053249359, -0.005746164824813604, -0.4489077925682068, -0.4023539423942566, 0.4908866882324219, 0.018474938347935677, 0.298622190952301, 0.2830527722835541, -0.07142137736082077, -0.43451765179634094, -0.5280156135559082, 0.22648200392723083, 0.47610124945640564, 0.2065790295600891, -0.16547822952270508, 0.8994562029838562, -0.12257760018110275, 0.4599476456642151, -0.2785833477973938, -0.12676115334033966, 0.2956646978855133, -0.34849292039871216, 0.02338799461722374, 0.40332356095314026, 0.721491813659668, 0.46461325883865356, 0.3243418037891388, 0.26919329166412354, -0.16970592737197876, 0.16380749642848969, 0.4647546112537384, -0.9030619859695435, -0.30405357480049133, 0.37471890449523926, -0.4917130768299103, -0.2104010432958603, 0.4899064898490906, -0.8470199704170227, -0.18505172431468964, 0.05213259160518646, 0.3961992561817169, -0.5673438906669617, -0.08511792868375778, 0.11666317284107208, -0.23787158727645874, 0.27528268098831177, 0.6227177381515503, -0.5255707502365112, -0.07793956995010376, 0.31608477234840393, 1.1026989221572876, 0.24152925610542297, -0.23882807791233063, -0.32430529594421387, 0.038733433932065964, -0.5882505178451538, 0.767500102519989, -0.4835647642612457, -0.4358193278312683, 0.209329754114151, -0.021395519375801086, 0.047314271330833435, -0.2842292785644531, 0.8202276229858398, -0.6926954388618469, 0.05386200547218323, -0.14493246376514435, -0.361386239528656, -0.6082618832588196, -0.0622880719602108, -0.7880121469497681, 0.9893950819969177, 0.07544664293527603, -0.8779866695404053, 0.38626009225845337, -0.8345547318458557, -0.2548484802246094, -0.03041309118270874, -0.5696215629577637, -0.5302318930625916, -0.13504774868488312, 0.2990734875202179, -0.04143352806568146, -0.15736590325832367, -0.383444607257843, -0.28457650542259216, -0.4378219544887543, 0.4351685643196106, -0.22880251705646515, 0.8630685210227966, 0.4290634095668793, -0.49717092514038086, -0.07283170521259308, -0.9350956082344055, 0.118670754134655, 0.16088934242725372, -0.4916660189628601, -0.3760994076728821, -0.023241201415657997, 0.1276155263185501, -0.05357363075017929, 0.39124372601509094, -1.0699833631515503, 0.15805430710315704, -0.34782204031944275, 0.39674103260040283, 0.5728070139884949, 0.13716793060302734, 0.3682430684566498, -0.5926362872123718, 0.2891278862953186, -0.18488703668117523, 0.1152084544301033, -0.18028946220874786, -0.5859283804893494, -0.6485198736190796, -0.5293954610824585, 0.6062546372413635, 0.6962653994560242, -0.8124074339866638, 0.4742150604724884, -0.3231566846370697, -0.8908330798149109, -0.7918108105659485, -0.18413874506950378, 0.39556944370269775, 0.2743414044380188, 0.44083747267723083, -0.5429403781890869, -0.4416919946670532, -0.885107159614563, -0.5332188606262207, -0.07956478744745255, -0.0006334488280117512, 0.32155489921569824, 0.7026562094688416, -0.15476307272911072, 0.9870873093605042, -0.4777803421020508, -0.4391114413738251, -0.056720081716775894, 0.12396415323019028, 0.3962135910987854, 0.6768422722816467, 0.9203383922576904, -0.7042182683944702, -0.940727710723877, 0.39260172843933105, -0.6965135931968689, -0.02709978260099888, 0.3897247612476349, -0.09173870831727982, 0.5652444958686829, 0.3482193052768707, -0.34216344356536865, 1.0160328149795532, 0.32635778188705444, -0.14496895670890808, 0.6884304881095886, -0.40974855422973633, 0.5454851984977722, -0.9417411088943481, 0.27051106095314026, -0.05049113929271698, 0.07083889842033386, -0.6437632441520691, 0.3654688894748688, 0.16991227865219116, 0.050050344318151474, -0.5136654376983643, 0.4619866609573364, -0.3075757920742035, 0.1220947653055191, -0.13879719376564026, 0.011747973039746284, -0.08181314170360565, 0.37983110547065735, -0.1268170326948166, 0.8988080024719238, 0.2546708285808563, -0.35953739285469055, 0.11129703372716904, 0.3404708802700043, -0.906385600566864, 0.5467373728752136, -0.5478271245956421, 0.16889920830726624, -0.21979722380638123, 0.033924371004104614, -1.2224185466766357, -0.3721904456615448, 0.7029006481170654, -0.6399092674255371, 0.04432607814669609, -0.07657317817211151, -0.46807870268821716, -0.17997173964977264, -0.34231695532798767, 0.6800065040588379, 0.5712745785713196, -0.3595796525478363, 0.5641383528709412, 0.20230016112327576, -0.21004502475261688, -0.8046062588691711, -0.8619776964187622, -0.03696304187178612, 0.08132019639015198, -0.6087494492530823, -0.04873047024011612, -0.04660258814692497, -0.4456121623516083, 0.18352486193180084, -0.1714325249195099, -0.40822768211364746, -0.19195950031280518, 0.16358640789985657, 0.25151047110557556, -0.4019547402858734, -0.15968073904514313, 0.17159532010555267, -0.0012552080443128943, -0.21166400611400604, -0.14170396327972412, 0.46744468808174133, 0.10122320055961609, -0.7274701595306396, -0.5414309501647949, 0.43027597665786743, 0.8359231948852539, -0.31304630637168884, 0.7435170412063599, 0.8207542300224304, -0.25227704644203186, 0.0857260599732399, -0.7445735931396484, 0.1473352164030075, -0.49273690581321716, 0.261359304189682, -0.3133426308631897, -0.8285862803459167, 0.7494443655014038, 0.3019973039627075, 0.37300896644592285, 1.0448362827301025, 0.3347536623477936, -0.18923147022724152, 1.1006931066513062, 0.37470975518226624, -0.07871440052986145, 0.47865068912506104, -0.4648195803165436, 0.23896610736846924, -0.5073094367980957, -0.3400588929653168, -1.0925930738449097, -0.328203946352005, -0.5473811030387878, -0.3641595244407654, 0.5890612602233887, -0.08537174761295319, -0.3424358069896698, 0.06659451872110367, -0.5006600022315979, 0.6003087162971497, 0.6377357244491577, 0.2478560358285904, 0.260687917470932, 0.35649174451828003, -0.2913319170475006, -0.1065860316157341, -0.7140004634857178, -0.6794648766517639, 1.2311588525772095, 0.3971058130264282, 0.7141347527503967, 0.35778874158859253, 0.5315266847610474, 0.6354619860649109, 0.13604643940925598, -0.746980607509613, 0.32054102420806885, -0.1951621174812317, -0.621670663356781, -0.4972885847091675, -0.23055993020534515, -1.012912392616272, 0.06455555558204651, 0.023404821753501892, -0.814141571521759, 0.584172248840332, -0.1245938315987587, -0.43710416555404663, 0.4759315252304077, -0.5193923711776733, 0.8739824891090393, -0.015389686450362206, -0.2858183681964874, -0.3670237362384796, -0.6218317151069641, -0.007859193719923496, -0.1195949986577034, 0.5346369743347168, -0.024316566064953804, -0.12395884096622467, 0.8026582598686218, -0.8431580662727356, 0.7432470321655273, -0.33659762144088745, -0.16682778298854828, 0.861219584941864, 0.3049183785915375, 0.5824772119522095, -0.29421547055244446, -0.20386676490306854, 0.49626338481903076, 0.10898835957050323, -0.6582976579666138, -0.31434598565101624, 0.5662787556648254, -0.9947117567062378, -0.18690943717956543, -0.6638558506965637, -0.39942389726638794, 0.42476627230644226, 0.4288579523563385, 0.4096519947052002, 0.8555384874343872, -0.2858717441558838, 0.18120189011096954, 0.23104241490364075, -0.29800623655319214, 0.45588117837905884, 0.5633261799812317, -0.24338196218013763, -0.7229201793670654, 0.9831787943840027, 0.3958815336227417, 0.04463106766343117, 0.25802677869796753, -0.06706330180168152, -0.44673171639442444, -0.733086109161377, -0.9374459385871887, 0.14108939468860626, -1.0512869358062744, -0.019991295412182808, -0.5870606899261475, -0.25755253434181213, -0.27014029026031494, -0.3102646768093109, -0.26948752999305725, -0.4459317922592163, -0.16833479702472687, 0.1473185420036316, 0.5236233472824097, 1.1015198230743408, -0.12629976868629456, 0.33863565325737, -0.8647829294204712, 0.010972618125379086, 0.002848100382834673, 0.23412348330020905, 0.09160726517438889, -0.5867448449134827, -0.7917768955230713, 0.42206746339797974, -0.269241064786911, -0.8315089344978333, 0.2425452470779419, -0.04838880896568298, 0.3982123136520386, 0.28297269344329834, 0.10951952636241913, 0.36678192019462585, -0.3893466591835022, 0.9799947738647461, 0.08486904203891754, -0.91557776927948, 0.3962981104850769, -0.37564289569854736, 0.2762390673160553, 0.9136452078819275, 0.6078118085861206, -0.4702012538909912, -0.4893430173397064, -0.47231796383857727, -0.7625489234924316, 0.8770511150360107, 0.5071207284927368, -0.42292770743370056, 0.033228550106287, 0.2920534610748291, 0.3124411702156067, 0.16005851328372955, -0.20244701206684113, -0.36288347840309143, -0.2915791869163513, -0.27606409788131714, -0.2561655342578888, -0.2552943825721741, 0.016576921567320824, -0.25872310996055603, 0.7624375224113464, 0.27796217799186707, 0.26169493794441223, 0.733893871307373, -0.29795512557029724, -0.08954627811908722, 0.13352543115615845, 0.8636851906776428, 0.6580687165260315, -0.5019941329956055, 0.04229697957634926, 0.20437565445899963, -0.9365745186805725, 0.3256432116031647, -0.08127868175506592, -0.28608807921409607, 0.25399792194366455, 0.38942310214042664, 0.44960543513298035, -0.08472457528114319, -0.6122291684150696, 0.641635000705719, 0.03822524845600128, -0.40170252323150635, -0.6937165856361389, -0.16735830903053284, -0.6095626950263977, 0.3470928966999054, 0.5752814412117004, 0.39601370692253113, 0.16928330063819885, -0.40368929505348206, -0.058105986565351486, 0.22781310975551605, -0.4233786463737488, -0.06356149911880493, 0.6647434830665588, -0.014811438508331776, -0.3946766257286072, 0.5255646109580994, -0.36356595158576965, -0.4711735248565674, 0.7144916653633118, 0.28042998909950256, 0.7822635173797607, -0.5018836259841919, 0.08681124448776245, 0.6722002625465393, 0.5192744135856628, -0.01921870931982994, 0.5750306248664856, 0.04563454911112785, -0.7124345302581787, -0.5105419754981995, -0.5452299118041992, -0.6269020438194275, -0.02316736802458763, -0.6678667664527893, 0.13561823964118958, -0.5334973335266113, -0.09389960765838623, 0.04660426080226898, -0.14645947515964508, -0.6795918345451355, 0.052546434104442596, -0.23533856868743896, 1.0582276582717896, -0.6025092601776123, 0.7043247222900391, 0.9127185344696045, -0.6103070974349976, -0.54006028175354, -0.05112333595752716, -0.3445792496204376, -1.0322099924087524, 0.49069204926490784, 0.14757084846496582, -0.2878565490245819, 0.0059346044436097145, -0.45748913288116455, -1.0259038209915161, 0.9797255992889404, 0.07208729535341263, -0.6263953447341919, 0.24472607672214508, 0.2920018434524536, 0.4700044095516205, -0.23024871945381165, 0.35753050446510315, 0.43671879172325134, 0.7702069282531738, -0.01861477643251419, -1.1321934461593628, 0.2541511654853821, -0.23386380076408386, -0.1857323944568634, 0.48896023631095886, -0.6505630612373352, 0.9438453316688538, -0.08689484745264053, -0.4853071868419647, 0.3995542526245117, 0.43538543581962585, -0.3285856246948242, 0.43954920768737793, 0.34523171186447144, 0.63929283618927, 0.48883578181266785, 0.056260619312524796, 1.0342506170272827, -0.4493984878063202, 0.3060126304626465, 0.75128173828125, -0.1790308803319931, 0.9408978819847107, 0.23996207118034363, -0.3267463445663452, 0.9896625280380249, 0.31217703223228455, 0.06569135189056396, 0.5385549068450928, -0.07894682884216309, -0.5070441365242004, 0.09283367544412613, -0.036512672901153564, -0.45718708634376526, 0.5249156951904297, 0.3641846179962158, -0.45130643248558044, -0.3016495406627655, -0.070023313164711, -0.10419672727584839, 0.12108039110898972, -0.5331027507781982, 0.6105993390083313, -0.0921834409236908, -0.4112720489501953, 0.6816269159317017, 0.24185483157634735, 0.16806632280349731, -0.5833190083503723, 0.03251319378614426, 0.0558784082531929, 0.26232415437698364, -0.22745396196842194, -0.6785028576850891, 0.3599683344364166, 0.0029796597082167864, -0.0007299614953808486, 0.3083557188510895, 0.8304051160812378, -0.2921035885810852, -0.545139729976654, 0.15229107439517975, 0.5463648438453674, 0.49385711550712585, -0.18629205226898193, -0.41158998012542725, 0.39624640345573425, 0.06358353793621063, 0.026728952303528786, 0.13335543870925903, 0.23957917094230652, 0.07735683768987656, 0.13490037620067596, 0.5573068261146545, 0.09528591483831406, -0.02238689921796322, -0.2401772290468216, 0.6854065656661987, -0.68401700258255, -0.5337764620780945, -0.8999606370925903, 0.5767619609832764, -0.024333350360393524, -0.08580738306045532, 0.7913179397583008, 0.7916887998580933, 0.9037450551986694, -0.18362584710121155, 1.1130510568618774, -0.02090924046933651, 0.5992631912231445, -0.42048484086990356, 0.7080941200256348, -0.5089086890220642, -0.16843044757843018, -0.17035089433193207, -1.0772520303726196, -0.30776891112327576, 0.8239377737045288, -0.45804563164711, -0.02410515770316124, 0.8428081274032593, 0.8249852657318115, -0.14112427830696106, 0.2162616103887558, 0.11288504302501678, 0.2542799115180969, 0.22935597598552704, 0.31157493591308594, 1.0119789838790894, -0.6028976440429688, 0.7223711013793945, -0.4089437425136566, -0.3121374249458313, -0.5562394857406616, -0.7419440746307373, -0.8678921461105347, -0.5769075751304626, -0.21656188368797302, -0.6102249026298523, 0.04836972430348396, 1.0758403539657593, 0.14883887767791748, -1.094826579093933, -0.42752256989479065, -0.02076806128025055, -0.11071832478046417, -0.32968220114707947, -0.24048154056072235, 0.5434055924415588, -0.023080041632056236, -0.6511815786361694, 0.2926027476787567, 0.21630114316940308, 0.3509296476840973, -0.05610676109790802, 0.02484646439552307, -0.024863220751285553, 0.10754479467868805, 0.4627615213394165, 0.49789199233055115, -0.5860047340393066, -0.7104592323303223, -0.314168244600296, -0.2568408250808716, 0.19303710758686066, 0.7664322853088379, -0.3001147508621216, 0.43836596608161926, 0.28235289454460144, 0.6740778088569641, 0.6331908702850342, -0.2456788718700409, 0.2692011296749115, -0.4947987198829651, 0.22247357666492462, 0.25698205828666687, 0.2826463282108307, -0.06784223020076752, -0.1310967206954956, 0.5084860920906067, 0.18692608177661896, -0.9350040555000305, -0.7517902851104736, 0.3270820379257202, -0.8828718066215515, -0.2758112847805023, 0.8994148373603821, -0.2517702877521515, -0.33905157446861267, -0.47503164410591125, -0.6863322257995605, 0.3879474699497223, -0.8054488301277161, 0.8144558668136597, 0.806046187877655, 0.052980173379182816, 0.3224387466907501, -0.6404144167900085, 0.34610289335250854, 0.346657395362854, -0.25602662563323975, -0.19901441037654877, 0.5838650465011597, 0.14494772255420685, 0.5354412794113159, 0.6691792011260986, -0.07283191382884979, 0.5640658736228943, 0.3470938503742218, 0.48282888531684875, -0.035220786929130554, -0.3077857792377472, -0.4171275496482849, 0.2113715261220932, 0.296070396900177, -0.5494744777679443 ]
http://arxiv.org/abs/2402.05629v4
http://arxiv.org/pdf/2402.05629v4
Merging Facts, Crafting Fallacies: Evaluating the Contradictory Nature of Aggregated Factual Claims in Long-Form Generations
2024-02-08T12:36:29
2024-06-07T02:28:40
Cheng-Han Chiang, Hung-yi Lee
cs.CL
cs.CL
Long-form generations from large language models (LLMs) contain a mix of factual and non-factual claims, making evaluating factuality difficult. Prior works evaluate the factuality of a long paragraph by decomposing it into multiple facts, verifying those facts independently, and aggregating the results. Such methods assume that combining factual claims forms a factual paragraph. The above assumption can be violated: we show that strong open-source models like Llama-chat can generate paragraphs that contain verifiable facts, but the facts are combined into a non-factual paragraph due to entity ambiguity. We further reveal that existing factuality metrics, including FActScore and citation recall, cannot properly evaluate these non-factual paragraphs and overestimate their factuality. To address this, we introduce an enhanced metric, D-FActScore, specifically designed for content with ambiguous entities. We evaluate the D-FActScores of people biographies generated by retrieval-augmented LLMs. We show that D-FActScore can better assess the factuality of paragraphs with entity ambiguity than FActScore. We also find that four widely used open-source LLMs tend to mix information of distinct entities to form non-factual paragraphs, making their D-FActScore much lower than FActScore by over 10%.
[ -0.38766714930534363, -0.9334880113601685, 0.9103578925132751, 0.26710447669029236, -0.22032971680164337, 0.5479514598846436, -0.23720581829547882, -0.6557550430297852, 0.09928057342767715, 0.40662795305252075, -0.45046111941337585, -0.4328097105026245, -0.6630215644836426, 0.04347613826394081, -0.4331946074962616, 1.0763746500015259, 0.07485166937112808, -0.40424230694770813, -0.7287062406539917, -0.30498769879341125, -0.1929410696029663, -0.4108009934425354, -0.15572303533554077, -0.291545033454895, 0.44681596755981445, 0.4322172999382019, 0.9306966066360474, 0.5276159644126892, 0.34019577503204346, 0.34625211358070374, -0.2814588248729706, 0.6788665056228638, -0.7220994830131531, 0.08673836290836334, -0.2709237337112427, -0.5038726329803467, -0.4236551523208618, 0.18221566081047058, 0.6221716403961182, 0.7898647785186768, -0.14178933203220367, 0.40781518816947937, -0.028765980154275894, 0.6286596059799194, -0.6330920457839966, 0.09617598354816437, -0.5428609251976013, -0.07517609000205994, -0.28840741515159607, -0.18053752183914185, -0.44151797890663147, -0.7313883900642395, 0.1941395401954651, -0.13913480937480927, 0.30078065395355225, 0.20986247062683105, 0.7166199088096619, 0.2218569964170456, -0.4420322775840759, -0.4660812020301819, -0.896899938583374, 0.9734154939651489, -0.8210893869400024, 0.56473308801651, 0.02986692078411579, -0.048927146941423416, -0.30952951312065125, -0.5500020384788513, -0.8961427211761475, -0.46026378870010376, -0.21030111610889435, 0.047879014164209366, -0.4417007267475128, 0.02640848606824875, 0.48307105898857117, 0.6443071961402893, -0.536199152469635, 0.22136643528938293, -0.6118060350418091, -0.2417227178812027, 0.7355233430862427, 0.15965156257152557, 0.37288299202919006, -0.4196789860725403, -0.7932085394859314, 0.08629259467124939, -0.8956150412559509, -0.2006658911705017, 0.598276674747467, 0.05256171524524689, -0.043305013328790665, 0.9163676500320435, -0.08109991997480392, 0.4811372756958008, 0.18312403559684753, -0.6863914132118225, 0.287811815738678, -0.42557528614997864, -0.15815705060958862, 0.3589300513267517, 0.7273617386817932, 0.6330191493034363, -0.2985113859176636, -0.3614836633205414, 0.08951976895332336, 0.22650977969169617, 0.05632422864437103, -0.4612518846988678, 0.18279415369033813, 0.41465452313423157, -0.3473323583602905, -0.1806296706199646, -0.005684597417712212, -1.017121434211731, -0.4795070290565491, -0.43463072180747986, 0.10882095992565155, -0.4238845705986023, -0.07954240590333939, 0.06291726976633072, -0.4121215343475342, 0.058177247643470764, 0.4016651511192322, -0.4901682436466217, 0.18846090137958527, 0.7359894514083862, 0.8416620492935181, -0.32598578929901123, -0.38620737195014954, -0.27770036458969116, 0.1749606728553772, -0.26719480752944946, 0.9045935869216919, -0.4116324186325073, -0.51823890209198, -0.005970047786831856, -0.2488587647676468, 0.10464838892221451, -0.6483544707298279, 0.8751046061515808, -0.5149703025817871, 0.5780043005943298, -0.3361724615097046, -0.6931658387184143, -0.12465950101613998, 0.2793019413948059, -0.7207889556884766, 1.329676628112793, 0.2029767632484436, -0.8872190117835999, 0.5910659432411194, -0.23469042778015137, -0.37553179264068604, -0.0034675640054047108, -0.2641822099685669, -0.47087690234184265, 0.1925555318593979, -0.12468317896127701, 0.19298362731933594, -0.6061244606971741, 0.5818676352500916, -0.3728945553302765, -0.23176643252372742, 0.3175807297229767, -0.561180055141449, 0.7909954786300659, 0.19904878735542297, -0.3910723328590393, -0.27064478397369385, -0.9063965678215027, -0.25132763385772705, 0.026560069993138313, -0.7375222444534302, -0.3187795579433441, 0.2677019536495209, -0.3711921274662018, 0.14240820705890656, 0.3599748909473419, -0.6379554867744446, 0.0915980264544487, -0.1840817779302597, 0.17005279660224915, 0.5605393648147583, -0.010663732886314392, 0.253214567899704, -0.8095301389694214, 0.15360142290592194, 0.3464961051940918, -0.023470694199204445, 0.04991701617836952, -0.3998664319515228, -0.8647682070732117, -0.14982178807258606, 0.06947863101959229, 0.5529757142066956, -0.710559606552124, 0.726328432559967, -0.6316573619842529, -0.7093331813812256, -0.19699570536613464, 0.21418717503547668, 0.13824571669101715, 0.8718823194503784, 0.45943111181259155, -0.09964893013238907, -0.8004281520843506, -0.892897367477417, -0.38622912764549255, -0.742677628993988, 0.08762583136558533, 0.03153844550251961, 0.403838574886322, -0.010870277881622314, 1.1165742874145508, -0.6385774612426758, 0.21312600374221802, -0.06716157495975494, 0.3520212471485138, 0.13576333224773407, 0.2491866946220398, 0.5022451877593994, -0.6284986734390259, -0.17222169041633606, -0.36209237575531006, -0.7802926301956177, 0.10639658570289612, -0.2453010380268097, 0.23170746862888336, 0.2828575670719147, 0.2834039628505707, -1.027187466621399, 0.13824136555194855, 0.4845513105392456, -0.23830270767211914, 0.7409481406211853, -0.06659949570894241, 0.32806622982025146, -0.7958824634552002, -0.20467834174633026, 0.23926973342895508, -0.10511962324380875, -0.3721352219581604, 0.01912800222635269, -0.023552250117063522, 0.15841791033744812, -0.4663337469100952, 0.2773536741733551, -0.4648530185222626, 0.07138502597808838, -0.011248358525335789, 0.3556060791015625, 0.18676534295082092, 0.09221518039703369, -0.2558536231517792, 0.7457637786865234, 0.23265165090560913, -0.5856664180755615, 0.6366597414016724, 0.16951408982276917, -0.6484188437461853, 0.7815929055213928, -0.2898256480693817, 0.029533300548791885, -0.433679461479187, 0.5123739242553711, -0.8723012208938599, -0.12407105416059494, 0.021493108943104744, -0.3095540404319763, 0.21717709302902222, 0.022579701617360115, -0.5689938068389893, -0.4657372832298279, -0.505427360534668, 0.1244392916560173, 0.6387990713119507, -0.702135443687439, 0.6380628347396851, 0.308030903339386, -0.34390580654144287, -0.7650362253189087, -0.7719683647155762, 0.37846654653549194, -0.5138821601867676, -0.9005258083343506, 0.6052867770195007, -0.2548986077308655, -0.49062374234199524, 0.23444904386997223, -0.1316586136817932, 0.029527340084314346, -0.14364567399024963, 0.04616131633520126, 0.49060502648353577, -0.4097076952457428, 0.1810421198606491, -0.04587676003575325, 0.35298311710357666, 0.15849560499191284, -0.03175871819257736, 0.2438667118549347, 0.12472981959581375, -0.531686544418335, -0.07557126879692078, 0.3252967596054077, 0.655583918094635, 0.07378942519426346, 0.9239372611045837, 0.22339823842048645, -0.24683792889118195, -0.29151439666748047, -1.1060009002685547, 0.3195466697216034, -0.4134795665740967, 0.17955456674098969, 0.05978015437722206, -0.991736650466919, 0.47924333810806274, -0.22914038598537445, 0.24699068069458008, 0.7262989282608032, 0.5278727412223816, -0.03623301163315773, 0.596132755279541, 0.22443583607673645, 0.02315589413046837, 0.12222245335578918, -0.005588749423623085, 0.31110167503356934, -0.6246993541717529, -0.3871055245399475, -0.4243592321872711, -0.08029987663030624, -0.698944091796875, -0.6497227549552917, 0.21741729974746704, -0.013315033167600632, -0.0437660776078701, 0.07610426098108292, 0.06749144941568375, 0.5352146625518799, 0.4438956677913666, 0.2938632369041443, 0.632880449295044, 0.009265376254916191, 0.2223992943763733, 0.0015303484397009015, -0.5309415459632874, -0.6557142734527588, 0.9880304336547852, 0.4427725672721863, 0.7269010543823242, 0.4577695429325104, 0.6701741218566895, 0.5958926677703857, 0.13865742087364197, -0.8537194728851318, 0.5448396801948547, -0.2251555621623993, -0.6580064296722412, -0.0951535701751709, -0.6541931629180908, -0.53553307056427, 0.05666176974773407, -0.28348541259765625, -0.5899783372879028, 0.3476146459579468, 0.002555391052737832, -0.47698795795440674, 0.3712756931781769, -0.6583473682403564, 0.3058820962905884, -0.28378376364707947, -0.388757586479187, -0.2547352612018585, -0.3974551856517792, 0.7836453318595886, -0.1077297180891037, 0.4159625172615051, -0.19988380372524261, 0.12464503198862076, 0.5820490121841431, -0.3667432367801666, 0.8907181620597839, 0.14041373133659363, -0.295668363571167, 0.6283453702926636, 0.08486425131559372, 0.4471297860145569, 0.02740076556801796, -0.07238063216209412, 0.1386275738477707, -0.09647821635007858, -0.30007821321487427, -0.7444284558296204, 0.7066883444786072, -0.760373055934906, -0.963347315788269, -0.5088037848472595, -0.23322084546089172, -0.2966040372848511, 0.0038454432506114244, 0.07283913344144821, 0.4068523645401001, -0.5913906097412109, 0.26680418848991394, 0.7461184859275818, -0.06916769593954086, 0.055783774703741074, 0.46206939220428467, 0.1786852777004242, -0.38598597049713135, 0.7997521162033081, 0.24366815388202667, 0.36520805954933167, 0.13492971658706665, 0.14846983551979065, -0.49969446659088135, -0.5574237108230591, -0.44409194588661194, 0.34761369228363037, -0.9901087284088135, -0.17645318806171417, -0.5604037046432495, -0.36187466979026794, -0.364862322807312, 0.2440141886472702, -0.23281703889369965, -0.49675437808036804, -0.21412645280361176, -0.4266298711299896, 0.10199517756700516, 0.6256282329559326, -0.21281546354293823, 0.009561223909258842, -1.0179063081741333, 0.329326868057251, 0.4896469712257385, 0.28081050515174866, -0.055634159594774246, -0.44993141293525696, -0.03280229866504669, 0.047867290675640106, -0.4446788430213928, -1.0064650774002075, -0.24521252512931824, 0.0584721639752388, 0.7887510657310486, 0.2906447947025299, 0.0968046560883522, 0.7147635817527771, -0.6052896976470947, 1.0894150733947754, 0.410174697637558, -0.8567278981208801, 0.25958025455474854, -0.11472602933645248, -0.23544542491436005, 0.4470107853412628, 0.47939375042915344, -0.503817617893219, -0.4133543372154236, -0.7974296808242798, -0.7483403086662292, 0.5390063524246216, 0.11187447607517242, 0.18188422918319702, -0.3231106996536255, 0.15926723182201385, 0.20294369757175446, 0.048521894961595535, -0.5875217318534851, -0.3780502378940582, -0.059013571590185165, -0.3489963710308075, 0.04389972984790802, -0.7066167593002319, -0.54798823595047, -0.10398878902196884, 0.5680291652679443, 0.11290250718593597, -0.05943995714187622, 0.28149235248565674, -0.27422499656677246, -0.1359419822692871, 0.5822125673294067, 0.6914847493171692, 0.93448406457901, -0.21961548924446106, 0.47721946239471436, 0.28340381383895874, -0.19901569187641144, 0.1971501260995865, 0.19598528742790222, -0.19432221353054047, 0.1338147670030594, 0.5954591035842896, 0.8772995471954346, 0.1960224062204361, -0.6429327726364136, 0.5137162804603577, 0.11616131663322449, -0.21363812685012817, -0.3277908265590668, 0.1109076738357544, 0.18392205238342285, 0.2905382513999939, 0.3367246389389038, 0.06824655830860138, 0.006789452396333218, -0.9117483496665955, 0.12410925328731537, 0.2364252209663391, 0.032967183738946915, -0.2716292440891266, 0.3752577602863312, 0.282002717256546, 0.11410509049892426, 0.6595118045806885, -0.1060229018330574, -0.43920835852622986, 0.3414500951766968, 0.5690841674804688, 0.5679308772087097, -0.015064982697367668, 0.4826582372188568, 0.30695873498916626, 0.3394036889076233, -0.3499167561531067, -0.0015366789884865284, 0.022154072299599648, -0.7746118307113647, -0.6822258830070496, -0.6519200801849365, -0.47685369849205017, 0.1800859123468399, -0.3338722884654999, 0.31991538405418396, -0.28400978446006775, -0.26144444942474365, 0.011827483773231506, -0.060578152537345886, -0.503142774105072, 0.24138937890529633, 0.24489378929138184, 0.9419646859169006, -0.9920147657394409, 0.17733657360076904, 0.3955838680267334, -0.618417501449585, -0.4315823018550873, 0.0801021158695221, 0.21923492848873138, -0.65250164270401, 0.6310199499130249, -0.2125423699617386, -0.2284003645181656, -0.34194767475128174, -0.4084356129169464, -0.9115565419197083, 1.0582935810089111, 0.5916930437088013, -0.41724422574043274, -0.38526269793510437, 0.35826656222343445, 0.40237951278686523, -0.19357457756996155, 0.1319277584552765, 0.7079834938049316, 0.5627389550209045, 0.4588136076927185, -0.8072689771652222, 0.34155383706092834, 0.18239089846611023, -0.25036364793777466, 0.10906508564949036, -0.8813484907150269, 0.9352965950965881, -0.18067531287670135, -0.6070840358734131, -0.1786559671163559, 0.8744177222251892, 0.4454355239868164, 0.390229731798172, 0.7348400354385376, 0.7673521637916565, 1.0720157623291016, 0.03128598630428314, 0.825775146484375, -0.2708010971546173, 0.35868895053863525, 1.158685564994812, -0.266958087682724, 0.6000295281410217, 0.4065920412540436, -0.6113593578338623, 0.8827252388000488, 0.5725509524345398, -0.15709641575813293, -0.0054809534922242165, 0.0041544935666024685, -0.5177974700927734, -0.1865871250629425, -0.10995015501976013, -0.35521045327186584, 0.5032949447631836, 0.3679159879684448, -0.3630583882331848, -0.5039814710617065, -0.6716635227203369, 0.39955419301986694, 0.18200653791427612, 0.07076027989387512, 0.6435354351997375, 0.031184514984488487, -0.9189170002937317, 0.40446165204048157, -0.08269176632165909, 0.5272080898284912, -0.31950369477272034, -0.019502751529216766, -0.2110324203968048, -0.16493408381938934, -0.526500940322876, -0.9351614713668823, 0.38192856311798096, 0.2163505256175995, -0.2625911831855774, 0.03351356461644173, 0.6473326683044434, -0.4457434415817261, -0.5087504386901855, 0.04886356368660927, 0.6843343377113342, -0.046866416931152344, 0.3074513077735901, -0.514184296131134, 0.10011538863182068, -0.01632283814251423, -0.09082002192735672, 0.1476343274116516, 0.465228408575058, 0.13787683844566345, 0.3547351658344269, 0.7125766277313232, 0.24641770124435425, 0.07834231108427048, 0.01678977720439434, 1.001010775566101, -0.660712480545044, -0.3273088335990906, -1.1455192565917969, 0.5353681445121765, -0.4793776869773865, -0.10886102169752121, 0.8970423936843872, 0.7252230048179626, 0.8035090565681458, 0.21678845584392548, 0.9487234950065613, -0.09789688885211945, 0.6454495191574097, -0.7052016854286194, 0.35618603229522705, -0.5149816870689392, 0.25386905670166016, -0.01073834951967001, -1.1485315561294556, 0.07706663012504578, -0.09716285765171051, -0.2729102075099945, 0.018989959731698036, 0.7718290686607361, 0.5403357148170471, -0.2182544320821762, 0.19859401881694794, 0.13328899443149567, 0.34951281547546387, 0.38567888736724854, 0.18880708515644073, 1.1764897108078003, -0.11057691276073456, 0.5083723664283752, -0.03693627566099167, -0.20070916414260864, -0.16887567937374115, -1.113365650177002, -0.6230941414833069, -0.3750564157962799, -0.4184161126613617, -0.48461946845054626, -0.06458112597465515, 0.7581079006195068, 0.2898777723312378, -0.41096779704093933, -0.029024431481957436, 0.2802553176879883, 0.35007381439208984, 0.28828513622283936, -0.26478132605552673, 0.2556340992450714, -0.2733304798603058, -0.7521681785583496, 0.5642839670181274, 0.36012178659439087, 0.12138348072767258, -0.594936728477478, 0.16036701202392578, -0.11346403509378433, 0.41743847727775574, 0.6357297301292419, 0.23381130397319794, -0.7312922477722168, -0.58700031042099, -0.2007136195898056, -0.013266844674944878, 0.2808496654033661, 0.7416698932647705, -0.5482161641120911, 0.3282160460948944, 0.6293296813964844, 0.5548056364059448, 0.2604438066482544, 0.43400847911834717, 0.45290035009384155, -0.7313464283943176, -0.03646017983555794, 0.06509944051504135, 0.33510029315948486, 0.641322672367096, -0.4653265178203583, 0.24608391523361206, 0.42908960580825806, -0.47069597244262695, -0.92714923620224, 0.4019613564014435, -0.9204679131507874, -0.16644278168678284, 1.0176230669021606, -0.18482966721057892, -0.3335975110530853, -0.02169487252831459, 0.19307948648929596, 0.2079170197248459, -0.28972306847572327, 0.9834319353103638, 1.0040338039398193, -0.20841091871261597, 0.19898957014083862, -0.3493417203426361, 0.380297988653183, 0.08565045893192291, -0.715285062789917, 0.05322384834289551, 0.8638325333595276, 0.3875284492969513, 0.5270233750343323, 0.5676124691963196, -0.14067155122756958, 0.030580898746848106, 0.20167285203933716, -0.3556985855102539, -0.007667750120162964, -0.1420951634645462, 0.1590399295091629, 0.11735396832227707, 0.21368755400180817, 0.24723927676677704 ]
http://arxiv.org/abs/2402.05624v1
http://arxiv.org/pdf/2402.05624v1
Efficient Models for the Detection of Hate, Abuse and Profanity
2024-02-08T12:28:18
2024-02-08T12:28:18
Christoph Tillmann, Aashka Trivedi, Bishwaranjan Bhattacharjee
cs.CL
cs.CL, cs.AI, cs.HC
Large Language Models (LLMs) are the cornerstone for many Natural Language Processing (NLP) tasks like sentiment analysis, document classification, named entity recognition, question answering, summarization, etc. LLMs are often trained on data which originates from the web. This data is prone to having content with Hate, Abuse and Profanity (HAP). For a detailed definition of HAP, please refer to the Appendix. Due to the LLMs being exposed to HAP content during training, the models learn it and may then generate hateful or profane content. For example, when the open-source RoBERTa model (specifically, the RoBERTA base model) from the HuggingFace (HF) Transformers library is prompted to replace the mask token in `I do not know that Persian people are that MASK` it returns the word `stupid` with the highest score. This is unacceptable in civil discourse.The detection of Hate, Abuse and Profanity in text is a vital component of creating civil and unbiased LLMs, which is needed not only for English, but for all languages. In this article, we briefly describe the creation of HAP detectors and various ways of using them to make models civil and acceptable in the output they generate.
[ -0.38028258085250854, -0.7949545383453369, 0.4522484242916107, 0.10855388641357422, -0.14793387055397034, 0.015415009111166, -0.23266437649726868, -0.5678321123123169, -0.0896831825375557, 0.5439868569374084, -0.1675003468990326, -0.5975714921951294, -0.8092429637908936, -0.017168687656521797, -0.7750967144966125, 1.029741644859314, 0.11090035736560822, 0.020624656230211258, 0.11503829807043076, -0.0801209881901741, 0.05317268520593643, -1.0249221324920654, -0.7756498456001282, -0.2881777882575989, 0.4935745894908905, 0.23535092175006866, 0.691373348236084, 0.5341806411743164, 0.6795684099197388, 0.31388047337532043, -0.23674407601356506, 0.0787297710776329, -0.5116990208625793, 0.3270648121833801, -0.3464493155479431, -0.3484291732311249, -0.3355776071548462, 0.09199441969394684, 0.5440893173217773, 0.32663798332214355, -0.10548913478851318, 0.07715874910354614, -0.1593748927116394, 0.43407702445983887, -0.529472291469574, -0.17519856989383698, -0.799964427947998, 0.10973811149597168, -0.5481737852096558, -0.10014300048351288, -0.4814561903476715, -0.17460398375988007, -0.22521112859249115, -0.22579559683799744, 0.10933481156826019, 0.21856367588043213, 0.7830538153648376, 0.052011530846357346, -0.31220659613609314, -0.5909768342971802, -0.88876873254776, 0.9211964011192322, -0.8467099070549011, 0.48759737610816956, 0.3259200155735016, 0.27544426918029785, -0.48422327637672424, -0.42932456731796265, -0.8657370209693909, -0.34746071696281433, -0.009944824501872063, -0.09342047572135925, -0.4690020680427551, 0.14837107062339783, 0.32394272089004517, 0.5118720531463623, -0.5371710062026978, 0.4672163128852844, -0.19928863644599915, -0.26422011852264404, 0.819067656993866, 0.17928612232208252, 0.5609669089317322, -0.48524731397628784, -0.40518733859062195, 0.2801293730735779, -0.63714599609375, -0.41186636686325073, 0.6904137134552002, 0.21030357480049133, -0.1769259124994278, 0.5687193274497986, 0.017285335808992386, 0.6365184187889099, -0.24745722115039825, -0.6337166428565979, 0.04671064764261246, -0.0035318867303431034, -0.24427472054958344, -0.4533419907093048, 0.7626578211784363, 0.18164843320846558, 0.7667371034622192, -0.0533403716981411, -0.41299524903297424, 0.4518633782863617, 0.38487508893013, -0.7207878232002258, -0.13847406208515167, 0.05031611770391464, -0.46687644720077515, -0.600618839263916, -0.41906335949897766, -0.797884464263916, -0.6753013730049133, -0.2223254293203354, 0.2871122658252716, -0.4331270456314087, -0.2484767585992813, 0.15768173336982727, -0.19193315505981445, 0.043000444769859314, 0.3690379559993744, -0.6889833807945251, 0.41462141275405884, 0.5500952005386353, 0.6871243715286255, -0.39946848154067993, 0.10271230340003967, -0.5092918872833252, 0.1372484266757965, -0.10881384462118149, 0.6964091062545776, -0.5313959717750549, -0.14462226629257202, 0.2075750231742859, -0.20977862179279327, 0.16111116111278534, -0.6807258725166321, 0.9744208455085754, -0.6814471483230591, 0.23076438903808594, 0.3673328757286072, -0.6394477486610413, -0.41636601090431213, 0.33648473024368286, -0.5002182722091675, 0.9916262626647949, 0.2301829755306244, -0.8287138342857361, 0.07852287590503693, -0.6711459159851074, -0.4085013270378113, 0.23967118561267853, 0.022563334554433823, -0.7032241821289062, 0.07743779569864273, -0.024005021899938583, 0.6101667284965515, -0.1722133606672287, 0.14915424585342407, -0.4824610650539398, -0.20920835435390472, 0.22829627990722656, -0.22128291428089142, 0.7275276184082031, 0.4993647038936615, -0.27840110659599304, 0.320846289396286, -0.7531638741493225, -0.3761140704154968, 0.4225288927555084, -0.5460951924324036, -0.5776535868644714, 0.3654395639896393, 0.3300473988056183, 0.2647453546524048, -0.12234019488096237, -0.5831815600395203, -0.3513532876968384, -0.4100598394870758, 0.18109992146492004, 0.7878893613815308, -0.09830591827630997, 0.04689868167042732, -0.48745042085647583, 0.6736722588539124, 0.11560112982988358, 0.1680806279182434, 0.05355645716190338, -0.6041170358657837, -0.8305790424346924, -0.46977466344833374, -0.061894483864307404, 0.6044261455535889, -0.4538027048110962, 0.37650319933891296, 0.02342131733894348, -0.5292351245880127, -0.1610153317451477, 0.3719021677970886, 0.41682636737823486, 0.41372209787368774, 0.12124795466661453, -0.2635093927383423, -0.8933377265930176, -0.885050892829895, -0.42589473724365234, -0.2653890550136566, -0.056161269545555115, 0.09502606093883514, 0.6237034201622009, -0.06850854307413101, 0.5783488750457764, -0.38201430439949036, -0.3959330916404724, -0.3316669762134552, 0.05039997026324272, 0.0555935762822628, 0.25553590059280396, 0.7769387364387512, -0.9200571775436401, -0.5240257382392883, -0.17200514674186707, -0.758586585521698, -0.2930692732334137, 0.34422948956489563, -0.04650747776031494, 0.29051339626312256, 0.4977234899997711, -0.2686147093772888, 0.45907118916511536, 0.583638072013855, -0.30655229091644287, 0.8264025449752808, 0.3392148017883301, 0.14410129189491272, -1.042083978652954, -0.006227873731404543, 0.16426116228103638, -0.7079801559448242, -0.9405781626701355, 0.5970734357833862, -0.29976752400398254, -0.10799212008714676, -0.7296782732009888, 0.5320779085159302, -0.42156168818473816, 0.017888350412249565, -0.4385346472263336, 0.2465958148241043, -0.2021298110485077, 0.3702259063720703, 0.05141500011086464, 0.7210381627082825, 0.2037341594696045, -0.6655462980270386, 0.4941490888595581, 0.03186260536313057, -0.3983002305030823, 0.7360135912895203, -0.34901294112205505, 0.11076174676418304, -0.22860291600227356, -0.0371122881770134, -0.7601077556610107, -0.37612345814704895, 0.34776046872138977, -0.42674508690834045, 0.12817388772964478, -0.300162136554718, -0.7332865595817566, -0.6543272137641907, -0.31977713108062744, 0.31668415665626526, 0.6473203897476196, -0.6412976980209351, 0.5367245674133301, 0.9413000345230103, 0.0485270693898201, -0.5286396741867065, -0.4232916235923767, 0.10953996330499649, -0.6051910519599915, -0.6385078430175781, 0.1551124006509781, -0.08860746026039124, -0.5310197472572327, -0.21552789211273193, 0.24506306648254395, -0.2319173961877823, 0.41384169459342957, 0.4458286464214325, 0.24877093732357025, -0.1638137549161911, 0.2132670283317566, -0.36776214838027954, 0.20462365448474884, 0.20947688817977905, 0.04041328653693199, 0.8703787326812744, 0.02804669924080372, -0.2996332049369812, -0.30036693811416626, 0.5253638625144958, 0.571720540523529, -0.05241378769278526, 0.8029321432113647, 0.6026584506034851, -0.7978798151016235, -0.3451955318450928, -0.6546417474746704, 0.06288005411624908, -0.456289142370224, 0.3570369780063629, -0.11029936373233795, -1.169916033744812, 0.5258849859237671, 0.18566381931304932, -0.04297211393713951, 0.40112635493278503, 0.99139404296875, -0.07831989973783493, 1.0609558820724487, 0.7218862771987915, -0.2926783561706543, 0.5280879735946655, 0.4051908850669861, 0.3913463056087494, -0.6046947240829468, 0.0618211030960083, -0.7221452593803406, -0.11001694947481155, -0.4571697413921356, -0.47335514426231384, 0.4641822576522827, 0.21335908770561218, -0.2667751610279083, 0.1662868708372116, -0.49025246500968933, 0.40720847249031067, 0.2950018346309662, -0.017356690019369125, 0.5105239748954773, 0.3395721912384033, 0.027579868212342262, -0.19286412000656128, -0.2923741042613983, -0.8309572339057922, 1.1394284963607788, 0.7573257684707642, 0.868846595287323, 0.397916704416275, 0.5518057942390442, 0.5250179767608643, 0.6748434901237488, -0.9357526898384094, 0.5902011394500732, -0.2919834852218628, -0.9042559266090393, -0.023094570264220238, -0.18703411519527435, -0.7416656613349915, 0.09131337702274323, -0.3762792646884918, -0.8918001055717468, -0.1679156869649887, 0.21995887160301208, -0.20971126854419708, 0.670169472694397, -0.33129265904426575, 0.42030948400497437, 0.05771872401237488, -0.11400667577981949, -0.42320218682289124, -0.08607792854309082, 0.8193053603172302, -0.20083849132061005, 0.39318177103996277, -0.2590421140193939, 0.07149607688188553, 1.0085808038711548, -0.14947375655174255, 0.9587840437889099, -0.10783648490905762, -0.32016709446907043, 0.4019514322280884, 0.3411732316017151, 0.31039100885391235, -0.2766047418117523, -0.1868915855884552, 0.15803666412830353, -0.3858758211135864, -0.1833386868238449, -0.1905186027288437, 0.4549213647842407, -0.5768789052963257, -0.7788720726966858, -0.431556761264801, -0.6545644998550415, 0.11043184995651245, 0.20195600390434265, 0.06194218993186951, 0.10453417897224426, -0.24733175337314606, -0.07645242661237717, 0.8235825896263123, -0.3859732747077942, 0.1460944563150406, 0.687283456325531, -0.7586065530776978, -0.023481840267777443, 0.5885118842124939, -0.17909003794193268, 0.2215791791677475, 0.1689547300338745, 0.12591184675693512, -0.060642044991254807, -0.8687247633934021, -0.2670033872127533, 0.4022808074951172, -0.8435512185096741, -0.30386480689048767, -0.9286671280860901, -0.5357162952423096, -0.5045085549354553, -0.03690716251730919, -0.015299839898943901, -0.23259760439395905, -0.2431233674287796, 0.08319979161024094, 0.5177084803581238, 0.9528606534004211, -0.24645835161209106, 0.6645949482917786, -0.6740350723266602, 0.5063971877098083, 0.12458828091621399, 0.3044392764568329, -0.13043974339962006, -0.9738085269927979, -0.14186301827430725, -0.2584604024887085, -0.36141136288642883, -1.1570427417755127, 0.5713998079299927, 0.06362511217594147, 0.34776046872138977, 0.5055955052375793, -0.05726968124508858, 0.25248047709465027, -0.3786071538925171, 0.5717098712921143, -0.013255612924695015, -0.8545526266098022, 0.5363224148750305, -0.5372768640518188, -0.2588825523853302, 0.03933311626315117, 0.8023900389671326, -0.8476735949516296, -0.6561979055404663, -0.39988529682159424, -0.4703381657600403, 0.5519067645072937, 0.022330939769744873, 0.2590143382549286, -0.2564771771430969, 0.2575182616710663, -0.13624389469623566, 0.13196228444576263, -1.0715930461883545, -0.2159530371427536, 0.15749062597751617, -0.3047392964363098, 0.21976597607135773, -0.6015230417251587, -0.29699188470840454, -0.07978562265634537, 0.8063969016075134, 0.016030622646212578, 0.2290225476026535, -0.037387412041425705, -0.39104264974594116, -0.20367196202278137, 0.34814146161079407, 0.5682415962219238, 0.26439473032951355, -0.128020241856575, 0.27907654643058777, 0.09607342630624771, -0.5229185819625854, 0.20188899338245392, -0.25597938895225525, -0.11865875869989395, 0.013098431751132011, 0.3372279703617096, 0.5509099364280701, 0.02126123197376728, -0.7683547735214233, 0.76702880859375, 0.12242448329925537, 0.007011018693447113, -0.7165803909301758, 0.2715357840061188, 0.19198942184448242, 0.11109793931245804, 0.04977886751294136, -0.18005123734474182, 0.2071685791015625, -0.6255418062210083, 0.3968082070350647, 0.7131496071815491, -0.1343338042497635, -0.18967171013355255, 0.6369985342025757, 0.09107138961553574, -0.47799167037010193, 0.47166305780410767, -0.3628620505332947, -1.0583640336990356, 0.3065918982028961, 0.7837355136871338, 0.4166956841945648, -0.5411801338195801, 0.268148273229599, 0.4525308609008789, 0.34378841519355774, 0.35439085960388184, 0.32853788137435913, 0.24536283314228058, -1.1437448263168335, -0.2931171655654907, -1.1388659477233887, -0.2502690851688385, 0.5671262145042419, -0.4284667670726776, 0.36248353123664856, -0.8083342909812927, 0.004306947346776724, 0.2180091291666031, -0.24909913539886475, -0.5880722999572754, 0.2836087644100189, 0.6469516158103943, 0.9613125324249268, -1.0964577198028564, 0.7466638684272766, 0.46879202127456665, -0.24114221334457397, -0.5909209847450256, -0.3713906705379486, 0.36710530519485474, -1.1290158033370972, 0.7513884902000427, 0.08230214565992355, 0.040628839284181595, -0.10696285218000412, -0.6185567378997803, -0.7066130638122559, 0.20031040906906128, 0.08640673011541367, -0.5935084223747253, -0.08485262095928192, 0.2598133087158203, 0.686011791229248, -0.4291919469833374, 0.20498260855674744, 0.7629611492156982, 0.5696998238563538, -0.3198607265949249, -0.6492689251899719, 0.12191642075777054, -0.18125757575035095, -0.07407122850418091, 0.30187687277793884, -0.2794021666049957, 0.8941465020179749, 0.028998907655477524, -0.4630581736564636, 0.09151830524206161, 0.6040026545524597, 0.24858595430850983, 0.0714532732963562, 0.6500204801559448, 0.6653514504432678, 0.557981550693512, -0.0337260477244854, 1.0436689853668213, 0.0008001641253940761, 0.11587537825107574, 0.9844809770584106, -0.1967984139919281, 0.8104354739189148, 0.2162609100341797, -0.2217468023300171, 0.62237948179245, 0.42141515016555786, -0.23139555752277374, -0.103802889585495, 0.6581770777702332, -0.5930227637290955, -0.33000364899635315, -0.35521432757377625, 0.02188900113105774, 0.7268549203872681, 0.6214476227760315, -0.42040953040122986, -0.4015015661716461, 0.11539465934038162, 0.5760247707366943, 0.5437048673629761, -0.43447810411453247, 0.7005400061607361, 0.1972944736480713, -0.33111003041267395, 0.5358474850654602, 0.38966822624206543, 1.134413480758667, -0.4912644922733307, 0.11194078624248505, 0.08915796130895615, 0.13232524693012238, -0.40907570719718933, -0.8225827217102051, 0.5427423715591431, 0.34614819288253784, -0.35344019532203674, 0.09053324908018112, 0.9772627949714661, -0.39257773756980896, -0.3447906970977783, 0.5796182155609131, 0.4478100538253784, 0.5315878987312317, -0.1788635551929474, -0.7388193011283875, 0.11900795996189117, -0.10219869017601013, -0.280511736869812, 0.30315256118774414, 0.04804331436753273, -0.35677212476730347, 0.7021971344947815, 0.7970883846282959, 0.3412748873233795, 0.2805769443511963, 0.22899335622787476, 0.7577909827232361, -0.612322211265564, -0.2387201189994812, -0.8894308805465698, 0.17055930197238922, -0.17653772234916687, -0.061543937772512436, 0.7603746652603149, 0.3770448565483093, 0.7990741729736328, 0.05446544289588928, 0.7701318860054016, -0.001376189524307847, 0.9445098042488098, -0.39135652780532837, 0.8910334706306458, -0.5346732139587402, 0.04491230472922325, -0.3544914424419403, -0.8314476609230042, -0.5441581010818481, 0.5521121025085449, -0.16507121920585632, -0.019304601475596428, 0.5549221038818359, 0.9480488896369934, 0.02373586967587471, 0.03969651833176613, 0.6530930995941162, 0.3248763084411621, 0.5652889013290405, 0.38274648785591125, 0.79469233751297, -0.2842058539390564, 0.3606984615325928, -0.1655578464269638, -0.33083081245422363, -0.193817600607872, -0.9481512904167175, -1.0686322450637817, -0.42505618929862976, -0.2051832377910614, -0.45787370204925537, 0.08829009532928467, 0.6856285929679871, 0.7545870542526245, -0.9531148076057434, -0.2908006012439728, 0.24670250713825226, 0.3497048616409302, 0.24798992276191711, -0.29813840985298157, -0.05814749374985695, -0.3823105990886688, -0.8708387613296509, 0.3829318583011627, 0.3753598630428314, 0.1842164844274521, -0.3658304512500763, 0.012247227132320404, -0.47265341877937317, 0.2625129222869873, 0.8775514960289001, 0.2589586675167084, -0.6089861989021301, -0.5353714823722839, -0.4626538157463074, -0.23980163037776947, -0.020731836557388306, 0.6503886580467224, -0.5628986358642578, -0.0006753886700607836, 0.5022326111793518, 0.5444121360778809, 0.13007941842079163, -0.2330079823732376, 0.5658416152000427, -0.6277835369110107, 0.24625886976718903, 0.2718009948730469, 0.48012107610702515, 0.6114030480384827, -0.5037206411361694, 0.5847446322441101, 0.5041040182113647, -0.6189037561416626, -1.1182138919830322, 0.6416206359863281, -0.6736539602279663, -0.24006301164627075, 1.0802184343338013, -0.19508962333202362, -0.3829363286495209, -0.36770135164260864, -0.02883950062096119, 0.35906365513801575, -0.14394211769104004, 0.7227906584739685, 0.8047335743904114, 0.09537206590175629, -0.1342187076807022, -0.590221107006073, 0.7845057249069214, 0.4288424849510193, -0.9118474721908569, 0.030322177335619926, 0.5006443858146667, 0.4879775941371918, 0.28993043303489685, 0.5889053344726562, -0.3839648365974426, 0.2181679904460907, -0.28183192014694214, 0.4204402565956116, 0.18809835612773895, -0.33326637744903564, -0.30575066804885864, 0.22769808769226074, 0.12914696335792542, 0.18380311131477356 ]
http://arxiv.org/abs/2402.05617v1
http://arxiv.org/pdf/2402.05617v1
Deep Learning-based Computational Job Market Analysis: A Survey on Skill Extraction and Classification from Job Postings
2024-02-08T12:20:28
2024-02-08T12:20:28
Elena Senger, Mike Zhang, Rob van der Goot, Barbara Plank
cs.CL
cs.CL
Recent years have brought significant advances to Natural Language Processing (NLP), which enabled fast progress in the field of computational job market analysis. Core tasks in this application domain are skill extraction and classification from job postings. Because of its quick growth and its interdisciplinary nature, there is no exhaustive assessment of this emerging field. This survey aims to fill this gap by providing a comprehensive overview of deep learning methodologies, datasets, and terminologies specific to NLP-driven skill extraction and classification. Our comprehensive cataloging of publicly available datasets addresses the lack of consolidated information on dataset creation and characteristics. Finally, the focus on terminology addresses the current lack of consistent definitions for important concepts, such as hard and soft skills, and terms relating to skill extraction and classification.
[ -0.31040701270103455, -0.7935560941696167, 0.08610603213310242, 0.039544664323329926, 0.09394609928131104, 0.42536360025405884, -0.3393354117870331, -0.7982538342475891, 0.20619581639766693, 0.606002926826477, -0.7043936252593994, -0.5634973645210266, -0.6499642729759216, -0.02789159305393696, -0.46990150213241577, 0.9419451951980591, 0.48513704538345337, -0.0496554933488369, -0.40572404861450195, 0.1845906525850296, -0.4527127742767334, -0.5341659188270569, -0.8729819655418396, -0.04052429646253586, 0.4705662131309509, 0.586355447769165, 0.3906100392341614, 0.6076530814170837, 0.6531316637992859, 0.29373952746391296, 0.1398959457874298, -0.03199010714888573, -0.2221798598766327, 0.4179735481739044, -0.18322157859802246, -0.15264661610126495, -0.42328184843063354, 0.39381223917007446, 0.49768391251564026, 1.2987372875213623, -0.24321796000003815, 0.43662017583847046, 0.018980640918016434, 0.673058807849884, -0.7335758209228516, 0.38628897070884705, -0.822695255279541, 0.2703973650932312, -0.2736205756664276, -0.07458583265542984, -0.03751784563064575, -0.35867759585380554, 0.4549122154712677, -0.394648015499115, 0.6543900966644287, -0.44770365953445435, 0.6075122952461243, 0.1606469303369522, -0.40770071744918823, -0.4946868121623993, -0.8597536683082581, 0.9264432787895203, -0.5256352424621582, 0.46523308753967285, 0.3138677179813385, 0.7300751209259033, 0.227897047996521, -0.9266634583473206, -0.12532007694244385, 0.02384628914296627, 0.18753962218761444, 0.10827828198671341, 0.17110629379749298, 0.08172309398651123, 0.14517101645469666, 0.6112400889396667, -0.5685813426971436, 0.6983734965324402, -0.7010424137115479, -0.013918536715209484, 0.9944555163383484, 0.40686362981796265, -0.0339963436126709, 0.1313769370317459, -0.04773326590657234, -0.2925400137901306, -0.4706936776638031, 0.252733439207077, 0.34687477350234985, 0.39414742588996887, 0.09693960100412369, 0.5227041244506836, -0.5550952553749084, 0.7698509097099304, -0.1823841780424118, -0.2275228351354599, 0.3026520013809204, -0.1341206431388855, -0.44614607095718384, -0.06776311248540878, 0.8190543055534363, 0.22023983299732208, -0.1515718251466751, -0.2699998915195465, -0.18396346271038055, -0.2148936539888382, 0.5986371636390686, -0.5581353306770325, -0.04057728871703148, -0.06673772633075714, -0.5990145802497864, -0.6517850160598755, 0.1661141812801361, -0.9709710478782654, -0.9458013772964478, -0.2730785012245178, -0.38313934206962585, 0.24056677520275116, -0.4715348482131958, 0.006319623440504074, -0.26531511545181274, 0.42431315779685974, 0.062392204999923706, -0.9190441966056824, 0.4840480387210846, 1.03200364112854, 0.518308162689209, -0.4524662494659424, -0.05356156826019287, -0.06216937676072121, -0.34901800751686096, -0.2550286650657654, 0.6705420613288879, -0.6544861793518066, -0.08977009356021881, 0.26418307423591614, 0.11977483332157135, -0.10289639234542847, -0.7224342823028564, 0.5126160979270935, -0.9618778824806213, 0.14093248546123505, 0.08149515092372894, -0.4690207242965698, -0.5444211363792419, 0.5906617045402527, -0.8689636588096619, 0.9846941828727722, 0.46217048168182373, -0.4873172342777252, 0.6416118741035461, -0.6606775522232056, -0.28960689902305603, 0.25826629996299744, -0.40464261174201965, -0.3060207664966583, 0.009241807274520397, 0.03910395875573158, 0.8492688536643982, -0.4517236649990082, 0.2862775921821594, -0.3997574746608734, -0.35202836990356445, 0.5141310095787048, -0.48976248502731323, 0.9176220297813416, 0.5092973113059998, -0.22634154558181763, -0.25208261609077454, -0.6878405213356018, 0.0015850290656089783, -0.049747318029403687, -0.25748348236083984, -0.01893662102520466, -0.06443451344966888, -0.027657736092805862, 0.42826083302497864, 0.2731535732746124, -0.3996928632259369, 0.3767002522945404, -0.8665910363197327, 0.23329293727874756, 0.49948304891586304, -0.06837115436792374, 0.5857089757919312, 0.22546079754829407, 0.8933347463607788, -0.18175435066223145, 0.09595256298780441, 0.43880876898765564, -0.42337098717689514, -0.2557104527950287, -0.07963193953037262, 0.4902380406856537, 0.7981975674629211, -0.7031345963478088, 0.5938867926597595, -0.21290995180606842, -0.9336835145950317, -0.459848016500473, 0.17894189059734344, 0.1289239078760147, 0.4480957090854645, 0.14839670062065125, -0.4162854850292206, -0.8660852313041687, -0.9325876832008362, -0.31940388679504395, 0.3316033184528351, 0.07778269052505493, 0.22167886793613434, 0.07168502360582352, -0.33060741424560547, 0.9463710784912109, -0.8394221663475037, -0.37928110361099243, -0.3235461711883545, 0.24897430837154388, 0.7280679941177368, 0.25153830647468567, 0.37678050994873047, -0.9008587002754211, -0.3732355833053589, 0.1423000693321228, -0.8873575925827026, 0.217066690325737, -0.07393122464418411, 0.2271285504102707, -0.045249879360198975, 0.5981147885322571, -0.6891793608665466, 0.4171196520328522, 0.2512529790401459, -0.041883256286382675, 0.5914368033409119, 0.15328699350357056, -0.09798736870288849, -0.7409788370132446, 0.396807998418808, 0.1609540730714798, 0.16636915504932404, -0.7134336829185486, 0.14082418382167816, -0.4752771258354187, -0.2968941032886505, -0.4798262417316437, 0.5577493906021118, -0.4670332670211792, -0.5475948452949524, -0.6013904213905334, -0.1784367859363556, -0.3099277913570404, 0.37440672516822815, 0.16170111298561096, 0.6284043788909912, 0.831597089767456, -0.7381404638290405, 0.7265868782997131, 0.23025298118591309, -0.4205147624015808, 0.1902977079153061, -0.35307204723358154, 0.26097261905670166, -0.025729700922966003, 0.0941743552684784, -0.705980122089386, -0.37811970710754395, 0.33251118659973145, -0.4319482445716858, 0.2563256025314331, -0.2318059653043747, -0.2501533031463623, -0.679105281829834, -0.17597830295562744, 0.37746551632881165, 0.4711662828922272, -0.01377257239073515, 0.09585073590278625, 0.597871720790863, -0.5641539692878723, -1.253289818763733, -0.7775906920433044, -0.05312572047114372, -0.09026685357093811, -0.11259514093399048, 0.33740630745887756, 0.33058804273605347, -0.2060273140668869, -0.25748971104621887, -0.047439511865377426, -0.9426092505455017, 0.5036131143569946, 0.1300722360610962, 0.20122061669826508, -0.19191913306713104, 0.10282418131828308, 0.0184944998472929, -0.22199243307113647, 0.38013049960136414, -0.0862986147403717, 0.33192047476768494, 0.1319132149219513, -0.13430319726467133, -0.22809261083602905, 0.0975756123661995, 0.37540575861930847, -0.09016843140125275, 0.6359120011329651, 1.0117989778518677, -0.29739558696746826, -0.21701909601688385, -0.547278881072998, -0.14827316999435425, -0.5054511427879333, 0.35150113701820374, 0.1217975914478302, -1.0067287683486938, 0.30428972840309143, -0.3023906648159027, 0.02296743541955948, 0.9427505135536194, 0.2994374632835388, -0.2461792677640915, 0.8568611145019531, 0.8921524882316589, -0.11178631335496902, 0.3064756691455841, -0.6399623155593872, 0.19575311243534088, -0.42247405648231506, -0.31362777948379517, -0.5293084383010864, -0.5742653012275696, -0.6680924892425537, -0.06542101502418518, 0.000642491620965302, -0.1466951072216034, -0.14240165054798126, 0.08991757035255432, -1.061229944229126, 0.34046146273612976, 0.6784888505935669, -0.07015031576156616, -0.12347486615180969, 0.09505902975797653, 0.39211493730545044, -0.13976064324378967, -0.37871888279914856, -0.1935756355524063, 1.3117375373840332, 0.26054975390434265, 0.3510442078113556, -0.3201887309551239, 0.5158310532569885, 0.5280098915100098, 0.08815924823284149, -0.8614532351493835, 0.5104591846466064, -0.5263989567756653, -0.500464916229248, -0.43315407633781433, -0.4504355192184448, -1.1247607469558716, -0.11732277274131775, -0.4962182939052582, -0.3400798738002777, 0.3611690104007721, -0.16672490537166595, -0.43722668290138245, 0.27821874618530273, -0.3467456102371216, 0.965768575668335, -0.3682926595211029, 0.13968658447265625, -0.28692787885665894, -0.6185232996940613, 0.3595917820930481, -0.31950441002845764, 0.2599501609802246, -0.21900644898414612, 0.00875159166753292, 0.9368532299995422, -0.07130897045135498, 1.0248039960861206, -0.5523638725280762, 0.15056350827217102, 0.33893442153930664, -0.13394583761692047, 0.18532349169254303, -0.09585510939359665, -0.465090811252594, 0.25798434019088745, 0.12191029638051987, -0.2333066314458847, -0.4745098948478699, 0.4279576539993286, -0.6860101819038391, -0.0029662123415619135, -0.44070711731910706, -0.4193764925003052, -0.2683509886264801, 0.33752647042274475, 0.14923962950706482, 0.022856580093503, -0.37306174635887146, 0.4146973788738251, 0.5259919762611389, -0.18795649707317352, 0.26969724893569946, 0.16688400506973267, 0.01256501767784357, -0.28336015343666077, 1.2384089231491089, 0.3352975845336914, -0.4956566393375397, 0.3484415113925934, -0.13705801963806152, -0.2675726115703583, -0.7994551062583923, 0.18526345491409302, -0.03049848973751068, -0.41785329580307007, -0.26751887798309326, -0.4726487398147583, -0.5908351540565491, -0.7876098155975342, -0.21340565383434296, -0.21963931620121002, -0.42541301250457764, -0.40351051092147827, -0.29730793833732605, 0.18581432104110718, 0.8850902915000916, -0.04235672205686569, 0.3538002371788025, -0.7956287264823914, 0.29539579153060913, 0.49678921699523926, 0.6338379383087158, -0.02916385605931282, 0.02167203091084957, -0.6086453795433044, 0.21000976860523224, -0.3305063545703888, -0.7281920909881592, 0.7007279992103577, 0.18767398595809937, 0.9176188111305237, 0.45503726601600647, -0.17761051654815674, 0.30761271715164185, 0.17989909648895264, 1.0235458612442017, 0.25641101598739624, -0.4333289563655853, 0.44638100266456604, -0.2854624092578888, 0.0012824772857129574, 0.8701968789100647, 0.7011187672615051, -0.6509923934936523, 0.03293696790933609, -0.8542329668998718, -0.9792675971984863, 0.6935954093933105, 0.028435444459319115, 0.13858886063098907, -0.046518418937921524, 0.5893086194992065, 0.5159768462181091, 0.5546504259109497, -0.3021915853023529, -0.07065752148628235, 0.07935703545808792, -0.24064157903194427, -0.1079723909497261, -0.3216472566127777, 0.07919317483901978, -0.6174535155296326, 0.46525856852531433, -0.1915121078491211, 0.34667518734931946, -0.2548724412918091, -0.3243134915828705, 0.27996790409088135, 0.08857157081365585, 0.38680726289749146, 0.8660974502563477, -0.19467875361442566, 0.028468409553170204, 0.2771754860877991, -0.6580031514167786, -0.15593133866786957, 0.22416310012340546, 0.145512655377388, -0.1979552060365677, 0.27136659622192383, 0.2820229232311249, -0.05769416689872742, -0.9193993806838989, 0.8154484629631042, 0.12790022790431976, -0.5583849549293518, -0.7163378596305847, 0.16928182542324066, -0.25292912125587463, 0.3536093831062317, 0.6611616611480713, 0.014090836979448795, 0.5936470031738281, -0.3209068477153778, 0.3017815947532654, 0.4542659521102905, -0.6748347878456116, -0.19833455979824066, 0.27730101346969604, 0.16638065874576569, -0.08272245526313782, 1.287865400314331, -0.2050308883190155, -0.09008599072694778, 0.9260746836662292, 0.07933028787374496, 1.2258810997009277, -0.08675641566514969, 0.2979620099067688, 0.2136925905942917, -0.04979724809527397, -0.006436552852392197, 0.3198828101158142, -0.02396753802895546, -0.7826523184776306, -0.5424394011497498, -0.4947376549243927, -0.5230531096458435, 0.38832366466522217, -0.7595928907394409, 0.05045541003346443, -0.7080590724945068, -0.19907262921333313, 0.16659386456012726, 0.17241407930850983, -1.0771946907043457, 0.7473580241203308, 0.3226216733455658, 0.7640877366065979, -0.8297263979911804, 0.6415834426879883, 0.789040744304657, -0.34473204612731934, -0.24244673550128937, -0.6194632053375244, -0.09665434062480927, -0.6757479310035706, 0.8306974768638611, 0.30189403891563416, 0.09549540281295776, -0.14330455660820007, -0.860249400138855, -0.7133971452713013, 1.1161235570907593, 0.2337178885936737, -0.12962199747562408, -0.3892175555229187, 0.4482702314853668, 0.540509045124054, -0.45906952023506165, 0.21521905064582825, 0.5066584944725037, 0.3565063178539276, -0.19915612041950226, -0.7909594178199768, -0.3602684438228607, -0.30582547187805176, -0.08742539584636688, -0.11300256848335266, -0.14458520710468292, 0.6373708248138428, 0.41743966937065125, -0.22923903167247772, -0.2595512568950653, 0.663936197757721, -0.09314993023872375, 0.5676867365837097, 0.5201936364173889, 0.3942231237888336, 0.813666045665741, 0.0323231965303421, 0.566486656665802, -0.1815917044878006, 0.43346384167671204, 0.9668021202087402, -0.11365486681461334, 0.676948070526123, 0.021363236010074615, -0.18844246864318848, 0.6753954887390137, 0.8788675665855408, -0.4695579707622528, 0.3936867415904999, 0.14636501669883728, 0.06074786186218262, -0.2574162483215332, -0.017688991501927376, -0.4253421127796173, 0.8778475522994995, 0.5245141983032227, -0.5194430947303772, -0.23435568809509277, 0.11562303453683853, -0.5054852962493896, -0.1362084597349167, -0.5327762365341187, 1.014214038848877, 0.11482468247413635, -0.3629211187362671, 0.21192993223667145, -0.06143670156598091, 0.7937203645706177, -0.5042513608932495, -0.3972885310649872, 0.14258968830108643, -0.026184290647506714, -0.3837677240371704, -1.138649344444275, 0.8511120080947876, -0.2875698506832123, -0.2801545262336731, -0.5911456942558289, 1.1654870510101318, -0.21223080158233643, -0.40737172961235046, 0.07283531874418259, 0.6752164959907532, 0.46115297079086304, -0.21910597383975983, -1.075379490852356, -0.38349851965904236, -0.2901343107223511, -0.03372613713145256, 0.33145540952682495, 0.17646297812461853, 0.10991030186414719, 0.6218805909156799, 0.6927175521850586, 0.023372819647192955, 0.05500474572181702, -0.16354534029960632, 0.6354570984840393, -1.0745265483856201, -0.4354316294193268, -0.46416452527046204, 0.3573266863822937, -0.5242434740066528, -0.4898669421672821, 0.46947771310806274, 0.698861300945282, 0.7954030632972717, -0.2742776870727539, 0.7380550503730774, 0.040122658014297485, 0.766176164150238, -0.18454428017139435, 0.7919080257415771, -0.35884881019592285, 0.060278501361608505, -0.0851871445775032, -0.8613513112068176, -0.22843196988105774, 0.21121059358119965, -0.4639264643192291, 0.05205236002802849, 0.27385011315345764, 0.623064398765564, -0.16414500772953033, -0.12984493374824524, 0.23159261047840118, -0.062478307634592056, -0.14219364523887634, 0.049167241901159286, 0.783713161945343, -0.14431597292423248, 0.34752121567726135, -0.5118669271469116, 0.09969186782836914, -0.5559853911399841, -0.62541264295578, -0.4191506803035736, -0.48908814787864685, -0.5007588267326355, -0.09465380012989044, -0.21587754786014557, 0.6212713718414307, 0.7660683393478394, -0.7500128746032715, -0.5867146253585815, -0.07666175067424774, 0.26706135272979736, -1.062696933746338, -0.3448854982852936, 0.4045489430427551, -0.35470306873321533, -0.3414730429649353, 0.7747362852096558, -0.059056878089904785, -0.31998705863952637, -0.39266157150268555, 0.25836801528930664, -0.0792989507317543, -0.29382336139678955, 0.6815356016159058, 0.7211464643478394, -0.31446775794029236, 0.1610097438097, 0.07147616147994995, -0.2652338147163391, -0.1682545691728592, 0.9095872640609741, -0.8323453068733215, 0.3149358928203583, 0.6370773315429688, 0.9750415086746216, 0.41564515233039856, -0.2638078033924103, 0.5630987286567688, -1.0525223016738892, 0.01059269905090332, 0.5079999566078186, -0.15616807341575623, 0.11312560737133026, -0.6790199279785156, 0.8598372340202332, 0.39087343215942383, -0.42466360330581665, -0.7503390908241272, 0.078494593501091, -1.140364646911621, -0.651088297367096, 0.8118074536323547, 0.4178061783313751, -0.11270838975906372, -0.37240010499954224, 0.17841920256614685, 0.3393811881542206, -0.03840778023004532, 0.7429657578468323, 0.4060174226760864, -0.19503352046012878, -0.26324716210365295, -0.8063904047012329, 0.5008051991462708, -0.14313627779483795, -0.6794224381446838, 0.041371822357177734, 0.4341290295124054, 0.04980731010437012, 0.14610283076763153, 0.6700934767723083, 0.15324530005455017, 0.4329216778278351, -0.20980551838874817, 0.38557004928588867, -0.09511344134807587, -0.26930859684944153, -0.502538800239563, 0.6747115254402161, 0.18009378015995026, -0.013590758666396141 ]
http://arxiv.org/abs/2402.05616v1
http://arxiv.org/pdf/2402.05616v1
Pretrained Generative Language Models as General Learning Frameworks for Sequence-Based Tasks
2024-02-08T12:19:32
2024-02-08T12:19:32
Ben Fauber
cs.CL
cs.CL, cs.AI, cs.LG
We propose that small pretrained foundational generative language models with millions of parameters can be utilized as a general learning framework for sequence-based tasks. Our proposal overcomes the computational resource, skill set, and timeline challenges associated with training neural networks and language models from scratch. Further, our approach focuses on creating small and highly specialized models that can accurately execute a challenging task of which the base model is incapable of performing. We demonstrate that 125M, 350M, and 1.3B parameter pretrained foundational language models can be instruction fine-tuned with 10,000-to-1,000,000 instruction examples to achieve near state-of-the-art results on challenging cheminformatics tasks. We also demonstrate the role of successive language model fine-tuning epochs on improved outcomes, as well as the importance of both data formatting and pretrained foundational language model selection for instruction fine-tuning success.
[ -0.043399080634117126, -0.730327844619751, 0.5108808875083923, 0.059070270508527756, -0.2211703509092331, -0.13561081886291504, -0.32158318161964417, -0.07585249096155167, -0.0913868099451065, 0.4459598958492279, -0.5789415836334229, -0.44750773906707764, -0.43576204776763916, 0.05561257153749466, -0.4613543152809143, 0.9986820220947266, 0.12709380686283112, 0.21605974435806274, 0.11092187464237213, 0.3574860095977783, -0.2640809118747711, -0.4233566224575043, -0.5730769634246826, -0.2820483148097992, 0.48809632658958435, 0.46627557277679443, 0.7082719802856445, 0.8392701745033264, 0.21800215542316437, 0.29484203457832336, 0.07215551286935806, -0.052895352244377136, -0.541755735874176, -0.19291505217552185, -0.24001891911029816, -0.4355829060077667, -0.340304434299469, -0.0010836656438186765, 0.7149519324302673, 1.3373205661773682, -0.24637646973133087, -0.05454378202557564, 0.003002825425937772, 0.7432934641838074, -0.4908658564090729, 0.14232249557971954, -0.48980632424354553, 0.16234970092773438, -0.13798175752162933, 0.036084484308958054, -0.4107893109321594, -0.3221430778503418, 0.2233365923166275, -0.7583569288253784, 0.5694332718849182, -0.13836607336997986, 0.5747222304344177, 0.12196213752031326, -0.15548263490200043, -0.2557339370250702, -0.8136026263237, 0.7373003363609314, -0.7133726477622986, 0.30531173944473267, 0.3073931038379669, 0.23191674053668976, -0.08641059696674347, -0.9943886399269104, -0.3795703649520874, -0.3006335496902466, -0.05182772874832153, -0.21959730982780457, 0.2153172641992569, 0.4010223150253296, 0.4629703462123871, 0.71803879737854, -0.7666376829147339, 0.29422229528427124, -0.36102548241615295, -0.06950083374977112, 0.39517244696617126, 0.3479171097278595, 0.26787784695625305, 0.03404167294502258, 0.0001814302959246561, -0.18502074480056763, -0.9254461526870728, -0.19749599695205688, 0.2442939579486847, 0.5902997255325317, -0.12051985412836075, 0.28828510642051697, -0.6276370286941528, 0.9538800120353699, 0.15856269001960754, 0.34843870997428894, 0.05427657440304756, -0.22122018039226532, -0.6396003365516663, -0.22160424292087555, 0.7930063605308533, -0.31209269165992737, 0.3119388520717621, -0.3885357081890106, -0.06050417199730873, 0.0675259381532669, 0.3953230679035187, -0.9960561394691467, -0.5271247029304504, 0.11651274561882019, -0.15470242500305176, -0.34587737917900085, -0.06154240295290947, -0.7569078803062439, -0.11965680867433548, -0.7159101963043213, 0.5238563418388367, -0.4064881503582001, 0.029591675847768784, 0.39022380113601685, 0.23971812427043915, 0.1517711728811264, 0.37425675988197327, -1.4034615755081177, 0.19935981929302216, 0.5835442543029785, 0.7019647359848022, 0.04583102464675903, -0.2606850564479828, -0.48043107986450195, -0.08207283169031143, -0.42059507966041565, 0.37243109941482544, -0.6516671776771545, -0.6020522117614746, -0.04636190086603165, 0.15113238990306854, -0.2172567993402481, -0.5394325256347656, 0.01042600441724062, -0.5479662418365479, 0.1483723670244217, -0.23650169372558594, -0.5546605587005615, 0.10315271466970444, 0.06314343959093094, -0.7517868280410767, 0.6020604968070984, 0.41732674837112427, -0.2488335818052292, -0.012755428440868855, -0.4470587968826294, -0.7166556119918823, 0.2193702757358551, -0.24993407726287842, -0.1918977051973343, 0.18907268345355988, -0.063055619597435, 0.6629427671432495, -0.5691387057304382, 0.24261853098869324, -0.08657639473676682, -0.42586925625801086, -0.34270399808883667, -0.215245321393013, 0.715506911277771, 0.39569002389907837, -0.4820614755153656, 0.32346075773239136, -0.816021203994751, 0.40993621945381165, -0.08432018011808395, -0.5882097482681274, 0.195980504155159, -0.1340457648038864, -0.0748927965760231, 0.23405082523822784, 0.13425740599632263, -0.12050113826990128, 0.15856023132801056, -0.6710698008537292, 0.6052442193031311, 0.5364630222320557, -0.2638322710990906, 0.7048306465148926, -0.2017374187707901, 0.619698166847229, -0.019928278401494026, -0.08820991218090057, -0.4442994296550751, -0.26232948899269104, -0.8671233654022217, -0.014151022769510746, 0.47905686497688293, 0.6607174277305603, -0.7559181451797485, 0.4527677595615387, -0.29505908489227295, -0.5597754120826721, -0.3186310827732086, 0.4446938931941986, 0.6819071173667908, 0.4466284513473511, 0.4698753356933594, -0.4235686957836151, -0.5682441592216492, -0.694105863571167, -0.023015283048152924, 0.15297497808933258, -0.22831790149211884, 0.0072586932219564915, 0.4353320598602295, -0.3201025128364563, 0.6722052693367004, -0.3774217963218689, 0.01343759335577488, -0.17314717173576355, 0.5218849778175354, 0.029345005750656128, 0.8904081583023071, 0.33401092886924744, -0.8072516918182373, -0.42433130741119385, 0.11326730996370316, -0.6636030673980713, 0.21349340677261353, 0.06598850339651108, -0.06478091329336166, -0.020582590252161026, 0.8385136723518372, -0.5170937180519104, 0.12894423305988312, 0.4032949209213257, -0.028867870569229126, 0.6256460547447205, -0.25855085253715515, 0.09206951409578323, -1.0757704973220825, 0.17580989003181458, -0.16434481739997864, -0.1156545877456665, -0.9403135776519775, 0.17836256325244904, 0.09578083455562592, -0.43830931186676025, -0.6545214056968689, 0.4084564447402954, -0.3401000499725342, 0.10968964546918869, -0.2926924228668213, -0.5016169548034668, -0.1673409342765808, 0.5370981097221375, 0.2977142632007599, 0.6024439930915833, 0.594325065612793, -0.7720047235488892, 0.25929248332977295, -0.0070472764782607555, -0.6474068760871887, 0.09251005947589874, -0.8316952586174011, 0.2451174110174179, -0.10086072236299515, -0.05395543575286865, -0.5301752686500549, -0.49032166600227356, 0.0587904192507267, -0.013634227216243744, 0.5174046158790588, -0.07580488175153732, -0.3013549745082855, -0.1747513711452484, 0.2665582299232483, 0.5318107008934021, 0.6923618316650391, -0.33251163363456726, 0.4968201518058777, -0.1942911595106125, -0.26036548614501953, -0.4967198371887207, -0.4008511006832123, -0.361142635345459, 0.014571329578757286, -0.3001062273979187, 0.5211784839630127, -0.2177254557609558, 0.15039318799972534, -0.16639822721481323, 0.04734217748045921, -0.0006776400259695947, 0.20790740847587585, 0.3163786828517914, 0.02681274339556694, -0.42131248116493225, 0.01595354452729225, -0.04538417607545853, -0.1403956562280655, -0.09964572638273239, -0.6321994066238403, 0.7167221307754517, -0.36779165267944336, -0.3172825276851654, -0.21965762972831726, 0.3539530038833618, 0.33245784044265747, -0.22325894236564636, 0.7170805931091309, 0.3467613160610199, -0.4999506175518036, -0.3041861057281494, -0.167369082570076, -0.14307571947574615, -0.5132668614387512, 0.568581223487854, -0.2935282588005066, -1.1229839324951172, 0.3111597001552582, -0.26580968499183655, -0.16492028534412384, 0.4667957127094269, 0.5251954197883606, -0.048716966062784195, 0.7885550856590271, 0.7634499669075012, -0.23730947077274323, 0.5635305643081665, -0.3293536305427551, 0.04712309315800667, -0.3424411118030548, -0.14593440294265747, -0.543307363986969, -0.10280845314264297, -0.2188010811805725, -0.541230320930481, 0.03619774058461189, 0.5117865204811096, -0.6258547306060791, 0.21790197491645813, -0.2844811975955963, 0.7114601731300354, 0.5972176194190979, 0.201127827167511, -0.10753872245550156, 0.05774715915322304, -0.2725471258163452, 0.30347782373428345, -0.7542012333869934, -0.49914485216140747, 1.1002899408340454, -0.03139757737517357, 0.7814387679100037, -0.1331096887588501, 0.5495085716247559, 0.28473642468452454, 0.3277343809604645, -0.6013087034225464, 0.41561827063560486, -0.4124925434589386, -0.6272459626197815, -0.5115135908126831, -0.46441125869750977, -0.8257750272750854, -0.10706079006195068, -0.047036681324243546, -0.6645656824111938, 0.17690956592559814, 0.49695122241973877, -0.6570757031440735, 0.17493095993995667, -0.8371813893318176, 1.3694021701812744, -0.31164196133613586, -0.13088905811309814, -0.1103224977850914, -0.8861335515975952, 0.2690577805042267, -0.11629349738359451, 0.09223584830760956, 0.11907753348350525, 0.36682939529418945, 0.4464111924171448, -0.6130802631378174, 1.138237476348877, -0.09107514470815659, -0.06263551861047745, 0.17449334263801575, -0.0048309494741261005, 0.43724220991134644, -0.21446208655834198, -0.07684280723333359, -0.17138612270355225, -0.11905141919851303, -0.6233482956886292, -0.6105981469154358, 0.5755543112754822, -0.7447617053985596, -0.6508792042732239, -0.04416864365339279, -0.40356820821762085, -0.30447325110435486, 0.3296997845172882, 0.5430058240890503, 0.41096967458724976, -0.5907273292541504, 0.24642612040042877, 0.9218106269836426, -0.08595865219831467, 0.36517763137817383, 0.36350035667419434, 0.13132649660110474, -0.23950812220573425, 1.0430505275726318, -0.25110766291618347, 0.5981572270393372, 0.7259257435798645, -0.12661419808864594, 0.05684840306639671, -0.5821788311004639, -0.5216347575187683, -0.08626405894756317, -0.7638235092163086, -0.04998640716075897, -0.4761536717414856, -0.28321292996406555, -0.41189640760421753, -0.3215119242668152, -0.4762624204158783, -0.24751737713813782, -0.6736231446266174, -0.02499591000378132, 0.04748411476612091, 0.6941904425621033, -0.006826442666351795, 0.6054373383522034, -0.8208020925521851, 0.3709118664264679, 0.7022250890731812, 0.39069220423698425, 0.03337648883461952, -0.48542532324790955, -0.6112097501754761, 0.2672004997730255, -0.09843558073043823, -0.7175290584564209, 0.2656196355819702, 0.5493402481079102, 0.3960590064525604, 0.4474617838859558, -0.2645460367202759, 0.6171062588691711, -0.9156634211540222, 0.6439574360847473, 0.12700767815113068, -1.0664329528808594, 0.8102495670318604, -0.4403240978717804, 0.4088076949119568, 0.4709635078907013, 0.6923641562461853, -0.30117952823638916, 0.256943017244339, -0.4650183320045471, -0.677385687828064, 0.8232805728912354, -0.031142987310886383, 0.0708077996969223, -0.08272046595811844, 0.652417778968811, 0.0002792159793898463, 0.3162936866283417, -0.4199869930744171, -0.20110832154750824, -0.48355844616889954, -0.47258976101875305, -0.6052724719047546, -0.142240509390831, -0.1135251522064209, -0.3503339886665344, 0.5479467511177063, -0.3517007827758789, 0.14867043495178223, -0.22206711769104004, -0.4719264805316925, -0.1209392100572586, 0.44132187962532043, 0.790195643901825, 0.4752851128578186, -0.14521653950214386, -0.010810204781591892, 0.13331660628318787, -0.5719252228736877, 0.3956073522567749, 0.34219008684158325, -0.07749997824430466, -0.36219775676727295, 0.17237357795238495, 0.9322221875190735, 0.6137548089027405, -0.7438669204711914, 0.16805292665958405, 0.26739180088043213, -0.168465256690979, -0.09001681953668594, 0.37033161520957947, 0.24673178791999817, 0.0490114763379097, 0.192930206656456, -0.01934877038002014, -0.05190061405301094, -0.47927525639533997, 0.26553821563720703, 0.39544034004211426, -0.3619142174720764, -0.5228272676467896, 0.8141658902168274, 0.15794777870178223, -0.18001575767993927, 0.7641277313232422, -0.29126521944999695, -0.34608370065689087, 0.796234130859375, 0.6066328287124634, 0.6980598568916321, -0.46899983286857605, 0.25925323367118835, 0.3454473316669464, 0.2543019950389862, -0.5177475810050964, 0.30595093965530396, -0.06699447333812714, -0.7534322738647461, -0.37273353338241577, -0.9574722051620483, -0.36657968163490295, 0.3613276779651642, -0.725151777267456, 0.07391384243965149, -0.8712412714958191, 0.20814746618270874, 0.14122091233730316, -0.1391850858926773, -0.9097956418991089, 0.7674715518951416, 0.10652545839548111, 0.6690688133239746, -0.8569164276123047, 1.0620486736297607, 0.8322979211807251, -0.4153699278831482, -0.8315240144729614, -0.5240927338600159, 0.0029185055755078793, -0.5235331058502197, 0.8275175094604492, 0.14340263605117798, -0.09199394285678864, 0.4260053336620331, -0.5647103190422058, -0.820508599281311, 1.0461705923080444, 0.5740190744400024, -0.7874242663383484, -0.4996522068977356, 0.3795381486415863, 0.5210177898406982, -0.5374466180801392, -0.12298919260501862, 0.6555872559547424, -0.08844474703073502, 0.09261657297611237, -0.8108242750167847, 0.006282507907599211, -0.4601678252220154, 0.25009235739707947, 0.06776764988899231, -0.36719900369644165, 1.1108818054199219, -0.2734485864639282, -0.28232356905937195, 0.5303615927696228, 0.7746821045875549, 0.1727636307477951, -0.08180561661720276, 0.36123526096343994, 0.7814167737960815, 0.6499844789505005, -0.17780496180057526, 1.0531138181686401, -0.16687750816345215, 0.12047233432531357, 1.1460059881210327, -0.15999560058116913, 0.7397271990776062, 0.015027343295514584, -0.2321750968694687, 0.5745575428009033, 0.6915462613105774, 0.09736426919698715, 0.6851846575737, 0.3645063042640686, -0.3973974585533142, -0.5171331167221069, 0.3037712872028351, -0.5266750454902649, 0.06941372156143188, 0.6405854225158691, -0.4874444007873535, -0.10412726551294327, 0.1336720734834671, -0.29514384269714355, -0.03266299515962601, -0.4800330400466919, 0.46022120118141174, 0.111592136323452, -0.5347681641578674, 0.586681067943573, 0.06307078152894974, 0.5170196294784546, -0.6648240089416504, -0.027447646483778954, -0.03958112746477127, 0.10992372035980225, -0.021870281547307968, -0.12307190895080566, 0.014947840012609959, -0.10083670169115067, -0.5045939087867737, -0.2625570595264435, 0.5516991019248962, -0.5027958154678345, -0.393671452999115, -0.1900235116481781, 0.3460645079612732, 0.023842521011829376, -0.1956593096256256, -0.5027667284011841, -0.20093494653701782, -0.08755119144916534, -0.09825178980827332, 0.4002341032028198, 0.37085872888565063, 0.041438065469264984, 0.5194026231765747, 0.5287723541259766, -0.09670079499483109, 0.20693743228912354, 0.13434311747550964, 0.7833878397941589, -0.8987407684326172, -0.5893672108650208, -0.6080101132392883, 0.5455785989761353, 0.37136608362197876, -0.30327752232551575, 0.3335131108760834, 0.43143144249916077, 1.2209402322769165, -0.5878163576126099, 0.8518239855766296, -0.12257124483585358, 0.2743460237979889, -0.8108614683151245, 0.595536470413208, -0.3537920415401459, 0.13959254324436188, -0.1563831865787506, -0.7506793141365051, -0.20932893455028534, 0.5859193801879883, -0.22319187223911285, 0.5087133646011353, 0.5783547163009644, 0.7811186909675598, -0.06390902400016785, 0.18498380482196808, 0.4116620123386383, -0.024853739887475967, 0.11291872709989548, 0.8177535533905029, 0.758317232131958, -0.2896821200847626, 0.16177751123905182, -0.2848402261734009, 0.021581606939435005, -0.20539164543151855, -0.8165062069892883, -0.9714118838310242, -0.6033033132553101, -0.31103187799453735, -0.012808416970074177, 0.20914243161678314, 0.883610188961029, 0.9661283493041992, -1.1555792093276978, -0.20848801732063293, -0.5417017340660095, -0.19082826375961304, -0.13880395889282227, -0.14731554687023163, 0.2263762503862381, -0.6966841220855713, -0.7444785237312317, 0.5673675537109375, 0.04256740212440491, 0.42317259311676025, -0.12183836847543716, -0.25540879368782043, -0.03666353225708008, -0.2574360966682434, 0.6146495342254639, 0.9142027497291565, -0.6753281354904175, -0.15510427951812744, 0.10645624250173569, -0.26725906133651733, -0.20455200970172882, 1.0633877515792847, -0.7709342837333679, 0.4197419285774231, 0.2536110281944275, 0.8524026274681091, 0.42924195528030396, -0.04294038563966751, 0.9260266423225403, -0.987465500831604, 0.28098052740097046, 0.23558121919631958, 0.18890804052352905, 0.36895400285720825, -0.25787970423698425, 0.36006611585617065, 0.21092064678668976, -0.3539893627166748, -0.5449712872505188, 0.4275664985179901, -0.7677327990531921, -0.3096177279949188, 0.8203381299972534, -0.21179772913455963, 0.044363003224134445, 0.060296181589365005, 0.2306300550699234, 0.4215850532054901, 0.1938626766204834, 0.541752815246582, 0.512970507144928, 0.07546088844537735, -0.16768676042556763, -0.34252288937568665, 0.9946535229682922, 0.6690846085548401, -0.8990572094917297, -0.12820832431316376, 0.5538092851638794, 0.2452390044927597, 0.09229779988527298, 0.5069242119789124, -0.01047389954328537, 0.4918607473373413, -0.05951594561338425, 0.058835718780756, -0.1108517125248909, -0.6558710932731628, -0.5591761469841003, 0.17954806983470917, 0.11640100181102753, 0.00848548486828804 ]
http://arxiv.org/abs/2402.05602v2
http://arxiv.org/pdf/2402.05602v2
AttnLRP: Attention-Aware Layer-Wise Relevance Propagation for Transformers
2024-02-08T12:01:24
2024-06-10T09:58:55
Reduan Achtibat, Sayed Mohammad Vakilzadeh Hatefi, Maximilian Dreyer, Aakriti Jain, Thomas Wiegand, Sebastian Lapuschkin, Wojciech Samek
cs.CL
cs.CL, cs.AI, cs.CV, cs.LG
Large Language Models are prone to biased predictions and hallucinations, underlining the paramount importance of understanding their model-internal reasoning process. However, achieving faithful attributions for the entirety of a black-box transformer model and maintaining computational efficiency is an unsolved challenge. By extending the Layer-wise Relevance Propagation attribution method to handle attention layers, we address these challenges effectively. While partial solutions exist, our method is the first to faithfully and holistically attribute not only input but also latent representations of transformer models with the computational efficiency similar to a single backward pass. Through extensive evaluations against existing methods on LLaMa 2, Mixtral 8x7b, Flan-T5 and vision transformer architectures, we demonstrate that our proposed approach surpasses alternative methods in terms of faithfulness and enables the understanding of latent representations, opening up the door for concept-based explanations. We provide an LRP library at https://github.com/rachtibat/LRP-eXplains-Transformers.
[ -0.01283245999366045, -0.5327941179275513, 0.7842437624931335, 0.29150548577308655, -0.2222203016281128, -0.08762160688638687, -0.24410855770111084, -0.4456261098384857, -0.1785539984703064, 0.6695235967636108, -0.39520007371902466, 0.04956870153546333, -0.41790395975112915, -0.3963980972766876, -0.6000807285308838, 0.7447411417961121, 0.019037466496229172, -0.3420087993144989, -0.1956949532032013, 0.09188591688871384, -0.0958317294716835, -0.38576769828796387, -0.5187218189239502, -0.8373847603797913, 0.8685362935066223, 0.2902319133281708, 0.7835019826889038, 0.4498201608657837, 0.7115976810455322, 0.2321517914533615, -0.4465900957584381, 0.025242457166314125, -0.5086284279823303, 0.2194531410932541, -0.44956067204475403, -0.38996702432632446, -0.297751784324646, -0.25034597516059875, 0.7220757007598877, 0.3956212103366852, -0.3051132559776306, 0.387002557516098, 0.10262361913919449, 0.4829886853694916, -0.6966365575790405, -0.020777536556124687, -0.9834488034248352, 0.22097842395305634, -0.05354949086904526, -0.5249959230422974, -0.7751885056495667, -0.1659543663263321, 0.05546046793460846, -0.43858158588409424, 0.3614136874675751, -0.03261185064911842, 0.6046530604362488, 0.6287980079650879, -0.21147169172763824, 0.293779581785202, -1.0966675281524658, 0.9695762395858765, -0.39223456382751465, 0.655013382434845, 0.300597608089447, 0.7003852128982544, 0.05691935867071152, -0.9658094644546509, -0.5530619025230408, -0.04053010791540146, -0.25239211320877075, 0.25776711106300354, -0.11532167345285416, -0.08874346315860748, 0.140522301197052, 0.5768885016441345, -0.20754575729370117, -0.23990866541862488, -0.3473883271217346, -0.35720863938331604, 0.2052331268787384, -0.23377715051174164, -0.36322563886642456, -0.10348967462778091, -0.33978375792503357, -0.3089296817779541, -0.5649957060813904, -0.15063941478729248, 0.06751561909914017, 0.17218376696109772, -0.03379026800394058, 0.7306017279624939, 0.29924553632736206, 0.5926744937896729, 0.3059772849082947, -0.03987528756260872, 0.16033312678337097, -0.4146342873573303, -0.10516383498907089, 0.21705478429794312, 0.545874297618866, -0.033552296459674835, 0.03629104048013687, -0.5991992950439453, -0.2678561210632324, 0.014425208792090416, 0.8576313853263855, -0.516805112361908, -0.0011821695370599627, 0.22947396337985992, -0.562004804611206, -0.4336159825325012, -0.25620588660240173, -0.756125807762146, -0.2621780037879944, -0.05012322589755058, 0.5727173089981079, -0.06315566599369049, -0.2691993713378906, 0.07636617869138718, 0.05693051591515541, 0.5260642170906067, 0.3265269696712494, -0.5580708980560303, -0.051509588956832886, 0.8213298320770264, 0.6287749409675598, -0.02900734171271324, 0.003919814247637987, -0.46518445014953613, 0.47242018580436707, 0.039756957441568375, 0.7453437447547913, -0.6070669889450073, -0.00011603852908592671, -0.16888485848903656, -0.2588876187801361, 0.024529309943318367, -0.46822524070739746, 0.9941022992134094, -0.7803710699081421, 0.28075647354125977, 0.035617999732494354, -0.22327332198619843, -0.04092970862984657, 0.17817091941833496, -0.5592631101608276, 1.0416498184204102, 0.32633763551712036, -0.8274544477462769, 0.002246999414637685, -0.7255983352661133, -0.4811304807662964, -0.22593706846237183, 0.026796087622642517, -0.6202032566070557, 0.4759446680545807, 0.3384023606777191, 0.5036627650260925, -0.26374223828315735, 0.3279174864292145, -0.001759759383276105, -0.35410282015800476, 0.2621508538722992, -0.7444368004798889, 0.5156440734863281, 0.19840121269226074, -0.3438689112663269, 0.2862752079963684, -0.6271935105323792, 0.01904934272170067, 0.40473732352256775, 0.03527936711907387, -0.06866800040006638, -0.037844542413949966, 0.03759649023413658, 0.16978894174098969, 0.07758451253175735, -0.4366375207901001, -0.0040329922921955585, -0.38025832176208496, 0.5000380277633667, 0.7270346879959106, -0.1143595278263092, 0.6127935647964478, -0.12449062615633011, 0.36169230937957764, 0.012685573659837246, 0.3781351149082184, -0.16152817010879517, -0.5747753977775574, -0.7445282936096191, 0.10445310920476913, -0.13098359107971191, 0.4685545563697815, -0.7543461322784424, 0.33330702781677246, -0.4570469856262207, -0.5420535206794739, -0.6029511094093323, -0.1448005735874176, 0.3997308909893036, 0.9027548432350159, 0.7095156908035278, -0.0321313813328743, -0.35580143332481384, -1.0105184316635132, -0.19270695745944977, -0.23121897876262665, -0.2247045636177063, 0.44790682196617126, 0.2059209793806076, -0.2510097026824951, 0.7525554299354553, -0.34962671995162964, -0.5309795141220093, -0.4079521596431732, -0.16717609763145447, 0.3556919991970062, 0.33965131640434265, 0.38778525590896606, -0.937330961227417, -0.28970834612846375, 0.17126215994358063, -0.4602449834346771, 0.06369677186012268, -0.028169957920908928, -0.22594930231571198, -0.18876798450946808, 0.35298705101013184, -0.578982412815094, 0.2799675762653351, 0.5265309810638428, -0.16451232135295868, 0.2615925371646881, -0.004674297757446766, -0.018286019563674927, -0.869657576084137, 0.21611224114894867, -0.11466579139232635, -0.4247383177280426, -0.6881760358810425, 0.2622334063053131, 0.17867878079414368, -0.07467404752969742, -0.525401771068573, 0.594740629196167, -0.09961724281311035, -0.14820478856563568, -0.06509780883789062, 0.06549612432718277, 0.20362241566181183, 0.49825364351272583, -0.02205190435051918, 0.8645576238632202, 0.39639705419540405, -0.45228320360183716, 0.3249955475330353, 0.23402097821235657, -0.2561688721179962, 0.2694311738014221, -0.9007568359375, 0.4187796115875244, -0.2894536852836609, 0.3429996967315674, -0.7472329139709473, -0.11869174242019653, 0.5287230610847473, -0.26753291487693787, 0.36997389793395996, -0.09886385500431061, -0.5401967167854309, -0.42849352955818176, -0.11056722700595856, 0.7367562055587769, 0.5846062898635864, -0.7776839137077332, 1.1067161560058594, 0.09981955587863922, 0.35073167085647583, -0.7720310091972351, -0.8704826235771179, -0.0992279201745987, -0.41704848408699036, -0.4696641266345978, 0.7922105193138123, 0.09357079118490219, -0.11254017800092697, -0.0295475535094738, -0.3511470854282379, -0.1222039982676506, -0.08977865427732468, -0.12401676923036575, -0.10493119806051254, -0.317758172750473, -0.043570276349782944, -0.23499928414821625, -0.2602933645248413, 0.18337872624397278, -0.3450567424297333, 0.4080452024936676, -0.04800496622920036, -0.5192650556564331, -0.31457453966140747, 0.13392159342765808, 0.39624759554862976, -0.3356660008430481, 0.7371999621391296, 0.7614260315895081, -0.27858850359916687, -0.24219092726707458, -0.7857973575592041, -0.4502337574958801, -0.5200455188751221, 0.2805488109588623, -0.3106076419353485, -0.7954332232475281, 0.7819547057151794, 0.300603985786438, -0.06119602546095848, 0.5872620344161987, 0.49848076701164246, 0.07169356942176819, 0.7025291323661804, 0.7603106498718262, -0.07363447546958923, 0.5698439478874207, -0.05707350745797157, 0.4833359122276306, -0.941382646560669, -0.4222835898399353, -0.4470399022102356, -0.21325989067554474, -0.17560407519340515, -0.8920202255249023, 0.3344469666481018, -0.0831616222858429, -0.07158531248569489, 0.34746700525283813, -0.7993878722190857, 0.6016878485679626, 0.34345871210098267, 0.41487690806388855, 0.36854007840156555, 0.2759638726711273, 0.23207004368305206, -0.08816150575876236, -0.7350703477859497, -0.21800662577152252, 0.836349606513977, 0.666753888130188, 0.895896315574646, 0.13470521569252014, 0.3541180491447449, 0.15024319291114807, 0.35753872990608215, -0.7616391777992249, 0.35221293568611145, -0.10257977247238159, -0.4438058137893677, -0.15025463700294495, -0.48544400930404663, -0.58842533826828, 0.20844170451164246, 0.3090699315071106, -0.8702113628387451, 0.26762187480926514, 0.5252460837364197, -0.1949438601732254, 0.4155251383781433, -0.426667720079422, 0.809449315071106, -0.19258011877536774, -0.6290358304977417, -0.41118794679641724, -0.7794941663742065, 0.3330334424972534, -0.14137515425682068, -0.07475868612527847, 0.26084843277931213, -0.0091747110709548, 0.4517457187175751, -0.09718724340200424, 0.6061499714851379, -0.05247551202774048, -0.5473410487174988, 0.3568243682384491, -0.11578847467899323, 0.7196676135063171, 0.08010486513376236, -0.32266074419021606, 0.10894611477851868, -0.7397446036338806, -0.14269104599952698, -0.8921211957931519, 0.5735862255096436, -0.5736978054046631, -0.556885838508606, -0.042741887271404266, -0.46754777431488037, -0.11712950468063354, 0.0940079391002655, 0.31648555397987366, 0.28338634967803955, 0.2944606840610504, 0.46053823828697205, 0.960578203201294, -0.07818275690078735, 0.15571583807468414, -0.01761670969426632, -0.18199826776981354, -0.06781093031167984, 0.9118621945381165, -0.33484992384910583, 0.37343108654022217, 0.7240346670150757, 0.4059312641620636, -0.443603515625, -0.338552325963974, -0.18674664199352264, 0.23024363815784454, -1.106950044631958, -0.33570170402526855, -0.7432631850242615, -0.48261579871177673, -0.11367194354534149, -0.16040420532226562, -0.709585428237915, -0.36773577332496643, -0.35368531942367554, 0.19505250453948975, 0.25870269536972046, 0.45837339758872986, 0.22035528719425201, 0.4587256610393524, -0.5071975588798523, 0.6598896980285645, 0.3331988453865051, 0.657047688961029, 0.37546220421791077, -1.0625330209732056, -0.12742385268211365, -0.004325537476688623, -0.4505694508552551, -0.6443230509757996, 0.0552060529589653, 0.40446287393569946, 0.7561237215995789, 0.3588024079799652, 0.06160325929522514, 0.68494713306427, -0.5113963484764099, 0.614086925983429, -0.02034468576312065, -0.9867252707481384, 0.7085585594177246, -0.12133421003818512, 0.3540307581424713, 0.2892191708087921, 0.09992264211177826, -0.273619145154953, -0.5386958718299866, -0.6887915730476379, -0.9612876772880554, 0.6977173089981079, 0.5269796848297119, 0.20386873185634613, 0.3237411677837372, 0.6017698645591736, -0.11965253949165344, 0.12397247552871704, -1.037104845046997, -0.4236544668674469, -0.6065419316291809, -0.12528353929519653, -0.14547908306121826, -0.4148560166358948, -0.0374092273414135, -0.2703031003475189, 0.6543837189674377, -0.24522416293621063, 0.7815129160881042, 0.2927841246128082, -0.22961458563804626, -0.2874615788459778, 0.4142555296421051, 0.6947236657142639, 0.6905303597450256, -0.22907871007919312, 0.44785866141319275, -0.005678392015397549, -0.3499200642108917, 0.04831293225288391, -0.0644528716802597, -0.07273745536804199, -0.04135677218437195, 0.4444977939128876, 0.735778272151947, 0.21646684408187866, -0.2577805519104004, 0.5809533596038818, -0.0038284403271973133, 0.040455810725688934, -0.30536216497421265, 0.023770291358232498, -0.10254844278097153, 0.480959951877594, 0.667363166809082, 0.19375774264335632, 0.21094658970832825, -0.3363933861255646, 0.2665674388408661, 0.3113705515861511, -0.663968026638031, -0.32764962315559387, 0.847456693649292, -0.12499023228883743, -0.10576990246772766, 0.571712076663971, 0.19815132021903992, -0.8521832227706909, 0.4654220640659332, 0.7029815316200256, 0.9754055142402649, -0.34880971908569336, -0.0075516668148338795, 0.2816714644432068, 0.43982985615730286, -0.17746596038341522, -0.09466131776571274, -0.279921293258667, -0.8000203967094421, -0.8132968544960022, -0.5263510346412659, -0.44150084257125854, 0.19489668309688568, -0.5654282569885254, 0.14781585335731506, -0.12244168668985367, -0.028497887775301933, 0.10141724348068237, -0.6149458289146423, -0.5522817373275757, 0.007635309360921383, 0.25449761748313904, 0.674163818359375, -0.5967865586280823, 0.8554596900939941, 0.6193188428878784, -0.11151069402694702, -0.7037514448165894, 0.24293260276317596, -0.4842635989189148, -0.9274013042449951, 0.6460347771644592, 0.217275470495224, -0.38254407048225403, 0.06112714484333992, -0.4640880227088928, -0.9466356635093689, 0.8303831219673157, 0.581488847732544, -0.2450636625289917, 0.005068134516477585, 0.20960669219493866, 0.602804958820343, -0.19566844403743744, 0.4798405170440674, 0.18225304782390594, 0.6020868420600891, 0.3947635293006897, -0.8616753220558167, -0.0053927055560052395, -0.04364221170544624, 0.04870910197496414, 0.023325007408857346, -0.5109127759933472, 0.3463670015335083, -0.39961525797843933, -0.08549279719591141, -0.2962746024131775, 0.8769087195396423, 0.052493903785943985, 0.04428980126976967, 0.5865378975868225, 0.3484255075454712, 0.2863847315311432, -0.2273695319890976, 1.1124317646026611, -0.15307238698005676, 0.4593693017959595, 1.1181812286376953, -0.022631723433732986, 0.7280182242393494, 0.8160534501075745, -0.1253671795129776, 0.32982635498046875, 0.24015949666500092, 0.10603488981723785, 0.8341177701950073, -0.0015657299663871527, 0.011119522154331207, -0.34814509749412537, -0.46746698021888733, -0.4141044616699219, 0.43094074726104736, 0.23464509844779968, -0.6787568926811218, -0.138985276222229, 0.010639437474310398, -0.36654627323150635, -0.07511270046234131, -0.3489500880241394, 0.664505660533905, 0.1488531082868576, -0.5328922271728516, 0.5235546231269836, -0.21649740636348724, 0.6102750301361084, -0.562928318977356, -0.15478672087192535, -0.04534232243895531, 0.5820775628089905, -0.2620641887187958, -1.0081156492233276, 0.6513612270355225, -0.2737312614917755, -0.36275798082351685, -0.7022338509559631, 0.9904174208641052, -0.4444139003753662, -0.6457433700561523, 0.34903019666671753, 0.16701450943946838, -0.08926073461771011, -0.283962607383728, -0.5080389976501465, 0.13773325085639954, 0.0452706553041935, -0.48637956380844116, -0.047802750021219254, 0.38037586212158203, -0.03744000568985939, 0.9158875942230225, 0.25325092673301697, -0.07573872059583664, 0.08514383435249329, 0.3174823522567749, 0.9697983860969543, -0.38339200615882874, -0.2917386293411255, -0.6980822086334229, 0.7348859906196594, 0.03202581778168678, 0.07295101881027222, 0.5291396975517273, 0.373965859413147, 0.6451235413551331, -0.09897156059741974, 0.3795084059238434, 0.19868969917297363, 0.3754614591598511, -0.29509690403938293, 0.565203845500946, -0.8266042470932007, 0.38068509101867676, -0.3994808793067932, -1.5054740905761719, -0.4564220905303955, 0.9190091490745544, -0.04462316632270813, 0.1534854620695114, 0.5345211029052734, 0.5181357264518738, -0.6699891090393066, -0.11212051659822464, 0.21713601052761078, 0.26650679111480713, 0.37724047899246216, 0.4916982650756836, 0.898743212223053, -0.6649981737136841, 0.7057664394378662, -0.626331090927124, 0.10763884335756302, -0.2501053214073181, -1.1523584127426147, -0.7121629118919373, -0.39972126483917236, -0.30640554428100586, -0.2372269332408905, 0.05202659219503403, 0.532293438911438, 0.5479157567024231, -0.7288833260536194, 0.2152300328016281, -0.13682767748832703, 0.20546162128448486, -0.3119163513183594, -0.25063690543174744, 0.45154181122779846, -0.09726250171661377, -0.31421709060668945, 0.31369081139564514, 0.1692182719707489, -0.031840935349464417, -0.59483802318573, 0.07664820551872253, 0.22563022375106812, -0.15009096264839172, 0.7276816368103027, -0.1269705891609192, -1.0998109579086304, -0.562507152557373, 0.055649787187576294, 0.00974853616207838, 0.2714695334434509, 0.9747586250305176, -0.9461113810539246, 0.24306242167949677, 0.35997137427330017, 0.7573558688163757, 0.5987544655799866, 0.0033224804792553186, 0.5778294801712036, -1.0121198892593384, 0.34031617641448975, 0.5106531381607056, 0.21858207881450653, 0.5228070020675659, -0.6395228505134583, 0.521475613117218, -0.05971033126115799, -0.5179085731506348, -0.8712481260299683, 0.29760661721229553, -1.156233549118042, 0.11108572781085968, 1.0634320974349976, -0.013413338921964169, -0.22401992976665497, -0.04730565473437309, 0.03890588879585266, 0.3813387453556061, -0.4466889798641205, 0.8046945929527283, 0.20035292208194733, 0.1408429890871048, -0.762252926826477, -0.4036584496498108, 0.2917766869068146, 0.5901928544044495, -0.5333225727081299, 0.384590208530426, 0.019908910617232323, -0.2779527008533478, 0.5374825596809387, 0.2928633689880371, -0.09888126701116562, 0.026456620544195175, -0.31659284234046936, -0.16346633434295654, -0.09092504531145096, -0.5205524563789368, -0.2149730622768402, 0.15627150237560272, -0.030510516837239265, 0.33397433161735535 ]
http://arxiv.org/abs/2402.05591v1
http://arxiv.org/pdf/2402.05591v1
SoftEDA: Rethinking Rule-Based Data Augmentation with Soft Labels
2024-02-08T11:44:25
2024-02-08T11:44:25
Juhwan Choi, Kyohoon Jin, Junho Lee, Sangmin Song, Youngbin Kim
cs.CL
cs.CL, cs.AI
Rule-based text data augmentation is widely used for NLP tasks due to its simplicity. However, this method can potentially damage the original meaning of the text, ultimately hurting the performance of the model. To overcome this limitation, we propose a straightforward technique for applying soft labels to augmented data. We conducted experiments across seven different classification tasks and empirically demonstrated the effectiveness of our proposed approach. We have publicly opened our source code for reproducibility.
[ -0.05432150140404701, -0.9579771757125854, 0.3092828392982483, -0.03680334612727165, -0.4219553470611572, -0.2974872887134552, -0.18973472714424133, -0.7194162011146545, 0.37378400564193726, 0.991155743598938, -0.7751973867416382, -0.5357350707054138, -0.4423385560512543, 0.06945130228996277, -0.3362340033054352, 1.5045559406280518, -0.018832793459296227, -0.3771721422672272, -0.1499401479959488, -0.4011145532131195, -0.6907059550285339, -0.6252190470695496, -0.1622961461544037, -0.22250425815582275, 0.7272337675094604, 0.6695660352706909, 1.1652791500091553, 0.7294659614562988, 0.7043581604957581, 0.37808653712272644, -0.32888174057006836, 0.6134191155433655, -0.34732410311698914, 0.37001708149909973, -0.11847174912691116, -0.5859807133674622, -1.0211799144744873, -0.1270747184753418, 0.5871878862380981, 1.1766325235366821, -0.05140769109129906, 0.04139062389731407, 0.12901297211647034, 0.6514161825180054, -0.5015468597412109, 0.07523822784423828, -0.4779736399650574, 0.20001338422298431, -0.36217933893203735, -0.21435046195983887, -0.28341466188430786, -0.4947354197502136, 0.14008557796478271, -0.8745743036270142, 0.42077770829200745, -0.03248889371752739, 0.6213480234146118, 0.48151206970214844, -0.4458538591861725, -0.197798490524292, -0.9296231269836426, 0.7444170117378235, -0.7809599041938782, 0.21962293982505798, 0.16421976685523987, -0.022231241688132286, -0.16193948686122894, -1.0647717714309692, -0.6281549334526062, 0.022314097732305527, -0.16174185276031494, -0.21316419541835785, 0.19682422280311584, 0.23510022461414337, 0.42402905225753784, 0.5781076550483704, -0.18154387176036835, 0.11143117398023605, -0.3489380478858948, -0.005261238198727369, 0.7476745843887329, 0.25964292883872986, 0.3472693860530853, -0.15355367958545685, -0.31952348351478577, -0.16948054730892181, -0.6368032097816467, -0.22870668768882751, 0.27608418464660645, 0.7013946175575256, 0.2165641486644745, 0.8226037621498108, -0.13559111952781677, 0.5419852137565613, 0.20557935535907745, -0.11270737648010254, 0.9718142747879028, -0.30559536814689636, -0.22923098504543304, 0.18730662763118744, 0.4746279716491699, 0.37469062209129333, -0.06189532205462456, -0.40928009152412415, -0.28605881333351135, 0.004933748859912157, 0.3713923990726471, -0.7618173956871033, 0.18987955152988434, 0.1864463835954666, -0.44291919469833374, -0.4433619976043701, -0.1209462359547615, -0.904750406742096, -0.5892274975776672, -0.4106017053127289, 0.7565280199050903, -0.2362031191587448, -0.2597351670265198, 0.20470605790615082, -0.10321782529354095, -0.05718577653169632, 0.29486313462257385, -0.9411330819129944, 0.5030354857444763, 1.1274508237838745, 0.6645792722702026, 0.05656926706433296, -0.3312568664550781, -0.3302482068538666, 0.12293370068073273, -0.3906274735927582, 0.9569635391235352, -0.4100182056427002, -0.45810988545417786, -0.07508634030818939, 0.20882272720336914, 0.13917727768421173, -0.46827536821365356, 1.1156326532363892, -0.25703033804893494, 0.20485559105873108, -0.10954580456018448, -0.7300487756729126, -0.38651734590530396, -0.12338767200708389, -1.00052011013031, 0.8726617097854614, 0.008404872380197048, -0.5325316786766052, 0.6955439448356628, -0.6686944961547852, -0.7486850023269653, 0.2782134711742401, 0.11738400161266327, -0.6355534195899963, 0.0855313315987587, 0.021621892228722572, 0.5206766724586487, 0.004614589270204306, 0.48085686564445496, -0.3580965995788574, -0.4927087128162384, 0.3027685582637787, -0.5742724537849426, 0.6115031242370605, 0.07501775771379471, -0.4189792275428772, 0.1659965068101883, -0.799281895160675, 0.053689926862716675, -0.09338020533323288, -0.3431243598461151, -0.6869997382164001, 0.15758171677589417, 0.2284391224384308, -0.11424817889928818, 0.19715987145900726, -0.5197330117225647, 0.6308803558349609, -0.8247039914131165, -0.0932852029800415, 0.9157875180244446, -0.3164106011390686, 0.6847389340400696, -0.47457078099250793, 0.30965307354927063, -0.2847372591495514, 0.2935638129711151, -0.11397738009691238, -0.6355109214782715, -0.5121020078659058, -0.20713910460472107, 0.7228664755821228, 0.5631793737411499, -0.9544309973716736, 0.33918437361717224, -0.28936830163002014, -0.6323997378349304, -0.8576933741569519, 0.6555386781692505, 0.18358953297138214, 0.7674241662025452, 0.564703106880188, -0.3027760684490204, -0.7113010287284851, -0.9265708923339844, -0.2573311924934387, 0.1541374772787094, -0.02373211644589901, 0.395149290561676, 0.362172931432724, -0.7236619591712952, 0.7324978709220886, -0.717258095741272, -0.4852128028869629, -0.2060815542936325, 0.2514987289905548, 0.5753130316734314, 0.6051884889602661, 0.4654364287853241, -1.0475252866744995, 0.07219823449850082, -0.17146047949790955, -0.6543532609939575, -0.37401217222213745, -0.0701347142457962, 0.13167640566825867, 0.1159871444106102, 0.3781207501888275, -0.4262163043022156, 0.5507901906967163, 0.360912948846817, -0.5385144948959351, 0.5844440460205078, -0.364033967256546, 0.2620241045951843, -0.8400996923446655, -0.10762572288513184, 0.1851673573255539, -0.13302871584892273, -0.921223521232605, 0.26842740178108215, 0.001920874579809606, -0.009404731914401054, -0.5629841685295105, 0.4576490819454193, -0.181947723031044, 0.15660716593265533, -0.6190201640129089, -0.290953665971756, 0.15474915504455566, 0.4933679401874542, 0.16745199263095856, 0.5599986910820007, 0.3469548225402832, -0.7418872714042664, 0.3726860582828522, 0.33693352341651917, -0.36472824215888977, 0.48026901483535767, -0.9209089875221252, 0.15258359909057617, -0.35161468386650085, 0.40034419298171997, -0.8747280240058899, -0.1477614790201187, 0.29520365595817566, -0.1562431901693344, 0.31404465436935425, -0.25655636191368103, -0.6128858327865601, 0.019269375130534172, -0.5361713767051697, 0.6840208172798157, 0.5055747628211975, -0.7200620770454407, 0.7099898457527161, 0.6139340400695801, -0.14450371265411377, -0.40756136178970337, -0.7481579780578613, 0.2342081069946289, -0.5179188251495361, -0.762148380279541, 0.776479184627533, -0.0911710113286972, -0.25518614053726196, 0.04189728572964668, 0.1424858123064041, -0.2729417383670807, 0.11603840440511703, 0.5871878266334534, 0.22055085003376007, -0.18302439153194427, 0.1654006391763687, 0.27353110909461975, -0.178459033370018, -0.24919696152210236, 0.15606345236301422, 0.17569348216056824, -0.07177025824785233, -0.0034202146343886852, -0.44366106390953064, 0.4761626720428467, 0.3610222339630127, 0.1762193888425827, 0.8565308451652527, 0.4985182583332062, -0.49901267886161804, -0.3311249315738678, -0.31655213236808777, -0.08137945830821991, -0.6355558037757874, 0.018033910542726517, -0.2699204981327057, -0.45275235176086426, 0.24033595621585846, -0.2635643482208252, 0.3409578502178192, 0.5845339894294739, 0.3070838451385498, -0.3125283122062683, 1.1930463314056396, 0.8155024647712708, 0.3316831886768341, 0.5418912172317505, -0.19555775821208954, -0.14335279166698456, -0.8201355338096619, -0.4121449291706085, -0.5030131340026855, -0.4739452004432678, -0.7082441449165344, -0.3824264407157898, 0.267706960439682, -0.26257917284965515, 0.2320304661989212, 0.2973479926586151, -0.6697449088096619, 0.189210906624794, 0.4185037612915039, 0.5239148736000061, 0.21709711849689484, -0.10838724672794342, 0.4043290317058563, -0.2540901005268097, -0.7228650450706482, -0.3819597363471985, 1.1773322820663452, 0.40662261843681335, 1.0160163640975952, 0.15331120789051056, 0.4532310366630554, 0.7306418418884277, 0.38316622376441956, -0.7293936014175415, 0.5868415832519531, -0.6414681077003479, -0.6874316334724426, 0.014402491971850395, -0.5264541506767273, -1.2480249404907227, 0.08787157386541367, -0.4951806366443634, -0.268890917301178, 0.5207028388977051, 0.3142157196998596, -0.20461294054985046, 0.1351792812347412, -1.0515391826629639, 0.6607839465141296, -0.31061893701553345, -0.4230658710002899, 0.07723241299390793, -0.35759320855140686, 0.3244433104991913, -0.17088930308818817, 0.5051793456077576, 0.09849957376718521, -0.36283984780311584, 1.4307256937026978, -0.9776517748832703, 1.1440861225128174, -0.2878919243812561, -0.3649424612522125, 0.33869603276252747, -0.29762253165245056, 0.32649436593055725, -0.19864937663078308, -0.11817646026611328, 0.03696515038609505, -0.07617642730474472, -0.3724703788757324, -0.7976453900337219, 0.7387123107910156, -0.44306373596191406, -0.3702262341976166, -0.37249556183815, -0.5893541574478149, -0.24733272194862366, 0.06208791956305504, -0.20296089351177216, 0.6890839338302612, 0.19720064103603363, 0.33386510610580444, 0.6666245460510254, -0.17324844002723694, -0.04624498263001442, 0.5268864631652832, -0.14718487858772278, -0.4768856167793274, 1.0601459741592407, 0.39749303460121155, -0.023763908073306084, -0.0682692676782608, 0.2686474621295929, -0.4253362715244293, -0.5508977174758911, -0.37347570061683655, 0.006360719911754131, -0.432041734457016, -0.2206728756427765, -0.39692026376724243, 0.13732679188251495, -0.5886302590370178, -0.17941144108772278, -0.2591756284236908, -0.8445228934288025, -0.4104776680469513, -0.22475075721740723, 0.7849321961402893, 0.6946212649345398, -0.21547862887382507, 0.5263797640800476, -0.6772147417068481, 0.7276462316513062, 0.2418595850467682, 0.6824535727500916, -0.4674457013607025, -0.5604695081710815, -0.08861025422811508, 0.34385448694229126, 0.06473163515329361, -1.0787395238876343, 0.3172169029712677, 0.40251603722572327, 0.5383061170578003, 0.284362256526947, -0.06867529451847076, 0.6486627459526062, -0.683746874332428, 0.4628974497318268, -0.06329981237649918, -0.840328574180603, 0.7581554651260376, -0.22068341076374054, -0.05298912525177002, 0.7199960350990295, 0.07706748694181442, -0.3653862476348877, 0.013544849120080471, -0.8835952877998352, -1.3361045122146606, 0.4214019775390625, 0.02995634451508522, 0.4049758017063141, 0.29623350501060486, 0.8088906407356262, 0.546202540397644, 0.2515872120857239, -0.3196026384830475, -0.46442633867263794, -0.17285117506980896, -0.5141502022743225, -0.1217559203505516, -0.3706674873828888, 0.19669070839881897, -0.3300477862358093, 0.678417980670929, -0.13964514434337616, -0.03092341683804989, 0.18621836602687836, -0.16604098677635193, 0.002942010760307312, 0.11828295141458511, 0.2361769825220108, 0.2964949309825897, -0.33182159066200256, 0.022049201652407646, 0.3168228268623352, -0.6007927060127258, -0.05240544676780701, 0.3473901152610779, -0.5865413546562195, 0.17179660499095917, 0.30339816212654114, 0.7097569704055786, 0.52484530210495, -0.7618729472160339, 0.16499173641204834, -0.017672887071967125, -0.3480234146118164, 0.14812149107456207, 0.3345617949962616, -0.5056908130645752, -0.07735602557659149, 0.4094190001487732, 0.07880939543247223, 0.5443963408470154, -0.8384711146354675, 0.641886293888092, 0.24488294124603271, -0.4019347131252289, -0.22347934544086456, 0.6025291085243225, 0.4302520155906677, -0.595225989818573, 0.08617617189884186, 0.1276734322309494, -0.6257639527320862, 0.54002445936203, 0.5834562182426453, 0.5346524715423584, -0.23594823479652405, 0.2384476512670517, -0.02540324069559574, 0.3206215798854828, -0.054229140281677246, 0.3252822756767273, 0.09611749649047852, -0.6704357266426086, -0.7855415940284729, -0.33504411578178406, -0.7417101860046387, 0.07398199290037155, -0.567631721496582, 0.21898625791072845, -0.575192391872406, -0.3279399871826172, 0.29946786165237427, 0.19015619158744812, -0.5097798705101013, 0.5815167427062988, 0.17645111680030823, 0.8049383163452148, -0.9543014764785767, 0.43769407272338867, 0.7091606259346008, -0.2614041268825531, -0.5307258367538452, -0.34437593817710876, -0.00570203410461545, -0.47660160064697266, 0.1337578296661377, 0.0520687997341156, 0.049652714282274246, -0.3845394551753998, -0.8187904953956604, -0.5102559328079224, 0.7290390729904175, 0.0897512435913086, -0.29360437393188477, 0.13758574426174164, 0.12600724399089813, 0.7936475872993469, -0.034436773508787155, 0.04915463179349899, 0.5336888432502747, 0.6365789175033569, -0.050815947353839874, -0.7499189376831055, 0.1366010308265686, -0.5722401738166809, -0.473635196685791, 0.19516946375370026, -0.37413856387138367, 0.5650638937950134, -0.16735903918743134, -0.1918734461069107, 0.010152935981750488, 0.9596706628799438, -0.044958412647247314, 0.7090741991996765, 0.7604156732559204, 0.4390048682689667, 0.9637536406517029, -0.07637417316436768, 1.0360515117645264, 0.23292472958564758, 0.2097005844116211, 1.110088586807251, -0.31962957978248596, 0.587824285030365, 0.33203986287117004, -0.05832064896821976, 0.6702041625976562, 0.30750975012779236, -0.08271326124668121, 0.42474013566970825, -0.18791405856609344, -0.19343625009059906, 0.14622041583061218, -0.5730446577072144, -0.3652132451534271, 0.31405404210090637, 0.69180828332901, -0.11271161586046219, 0.030645092949271202, 0.16573868691921234, 0.13660243153572083, 0.14490856230258942, -0.613174557685852, 0.9336465001106262, -0.1542264223098755, -0.33100005984306335, 0.42294391989707947, 0.10578791052103043, 1.1487079858779907, -0.3330417573451996, -0.310567170381546, -0.008740246295928955, 0.3274991810321808, -0.5258343815803528, -1.1268634796142578, 0.5805880427360535, 0.2317366898059845, -0.025971686467528343, -0.40667158365249634, 1.2053710222244263, -0.3738395869731903, -0.7933116555213928, -0.05491279438138008, 0.3897974491119385, 0.06967917084693909, 0.2049926519393921, -0.7945305705070496, -0.0669238492846489, -0.06767264008522034, -0.22399036586284637, 0.1811964362859726, 0.43943384289741516, 0.08503658324480057, 0.7894659638404846, 0.8796361684799194, 0.021018920466303825, -0.0018569955136626959, 0.08427845686674118, 0.9172182679176331, -0.6064077019691467, -0.28239911794662476, -0.6117473244667053, 0.447037935256958, -0.016184357926249504, -0.3180268406867981, 0.8282269239425659, 0.4805673062801361, 0.24561570584774017, 0.20395947992801666, 0.6438130140304565, -0.0960765853524208, 0.6957993507385254, -0.5466564893722534, 0.5096415281295776, -0.705834686756134, 0.3907542824745178, -0.605216383934021, -0.7037310600280762, -0.5174751877784729, 0.2689721882343292, -0.24668358266353607, -0.06502104550600052, 0.3088245689868927, 0.7860768437385559, -0.10756965726613998, 0.14495234191417694, -0.06157925724983215, 0.29663094878196716, 0.17963071167469025, 0.334012895822525, 0.5611671805381775, -0.5382076501846313, 0.6620460748672485, -0.6031972169876099, -0.31368231773376465, -0.2889130711555481, -0.7977160811424255, -0.5032488107681274, -0.6078692078590393, -0.5875008702278137, -0.5540959239006042, 0.1284404844045639, 0.710279107093811, 0.6406792402267456, -0.6427474021911621, 0.3609313368797302, 0.13848921656608582, 0.5320264101028442, -0.3863253593444824, -0.2718886435031891, 0.47512584924697876, -0.056638751178979874, -0.7695499062538147, 0.6242474317550659, -0.2089802473783493, 0.1451355218887329, 0.027146579697728157, 0.040115755051374435, -0.07106882333755493, 0.009661389514803886, 0.5507481694221497, 0.41721296310424805, -0.015896666795015335, -0.16782009601593018, -0.280622273683548, 0.12071231752634048, -0.03607308864593506, 0.7940502166748047, -1.1164605617523193, 0.15480460226535797, 0.5534486174583435, 0.589276134967804, 0.207046777009964, 0.23933853209018707, 0.568486213684082, -0.8342850804328918, 0.22887440025806427, 0.28897812962532043, 0.3061765730381012, 0.387580543756485, -0.5469211935997009, 0.5156638622283936, 0.2800394594669342, -0.4376484453678131, -1.1719754934310913, -0.10950660705566406, -1.1984649896621704, -0.4507889449596405, 1.3028916120529175, 0.19006505608558655, -0.601645290851593, -0.2439972311258316, -0.5490300059318542, -0.02546175755560398, -0.320769339799881, 0.7402357459068298, 0.014246499165892601, 0.13323840498924255, 0.1443382054567337, -0.4438994824886322, 0.5740848183631897, 0.4730607569217682, -0.98241126537323, -0.10783316195011139, 0.5509814620018005, 0.31033235788345337, 0.3127308189868927, 0.4859570562839508, 0.14103558659553528, 0.3654693067073822, -0.06697467714548111, -0.11194078624248505, -0.19178344309329987, -0.4323194622993469, -0.2627440094947815, 0.30102476477622986, -0.1506621092557907, -0.05309683829545975 ]
http://arxiv.org/abs/2402.05584v1
http://arxiv.org/pdf/2402.05584v1
AutoAugment Is What You Need: Enhancing Rule-based Augmentation Methods in Low-resource Regimes
2024-02-08T11:36:23
2024-02-08T11:36:23
Juhwan Choi, Kyohoon Jin, Junho Lee, Sangmin Song, Youngbin Kim
cs.CL
cs.CL, cs.AI
Text data augmentation is a complex problem due to the discrete nature of sentences. Although rule-based augmentation methods are widely adopted in real-world applications because of their simplicity, they suffer from potential semantic damage. Previous researchers have suggested easy data augmentation with soft labels (softEDA), employing label smoothing to mitigate this problem. However, finding the best factor for each model and dataset is challenging; therefore, using softEDA in real-world applications is still difficult. In this paper, we propose adapting AutoAugment to solve this problem. The experimental results suggest that the proposed method can boost existing augmentation methods and that rule-based methods can enhance cutting-edge pre-trained language models. We offer the source code.
[ -0.21945388615131378, -0.8855666518211365, 0.3922863006591797, 0.17002010345458984, -0.4340314269065857, 0.0019067805260419846, -0.20753787457942963, -0.5478960871696472, 0.07968176156282425, 0.6473063230514526, -0.6560829877853394, -0.2592795491218567, -0.5411615371704102, 0.21128958463668823, -0.38331493735313416, 1.0389906167984009, -0.07449416816234589, -0.4466397166252136, -0.21946744620800018, -0.26685357093811035, -0.5496746301651001, -0.6082267165184021, -0.30083411931991577, -0.1611986607313156, 0.26980826258659363, 0.6839953064918518, 0.8755673766136169, 1.1053082942962646, 0.5462095141410828, 0.4914993643760681, 0.21129478514194489, 0.6631731390953064, -0.4226893484592438, 0.18069662153720856, -0.19074809551239014, -0.2924190163612366, -0.838190495967865, -0.053226571530103683, 0.5501201152801514, 0.6805078983306885, -0.09469197690486908, -0.01213108655065298, 0.16480818390846252, 0.62754225730896, -0.6038543581962585, 0.2350034862756729, -0.42460569739341736, -0.17115814983844757, -0.13219881057739258, -0.316699355840683, -0.14076797664165497, -0.45587432384490967, 0.2248842418193817, -0.9603643417358398, -0.0029666584450751543, 0.2500273883342743, 1.0077621936798096, 0.7069176435470581, -0.18266279995441437, -0.3056749403476715, -0.8139119148254395, 0.6868173480033875, -0.8400136232376099, 0.21818001568317413, 0.47209852933883667, -0.035580262541770935, -0.22477954626083374, -0.7092309594154358, -0.6595332622528076, -0.08719278872013092, -0.4847423732280731, -0.1989731639623642, -0.18438635766506195, 0.20048177242279053, 0.2488759160041809, 0.49679988622665405, -0.4385925233364105, 0.2779156267642975, -0.16430747509002686, -0.21738910675048828, 0.7256587147712708, 0.01180208195000887, 0.46328866481781006, -0.21382902562618256, -0.1377096176147461, -0.33066901564598083, -0.23180513083934784, -0.17292064428329468, 0.37186944484710693, 0.3528050184249878, -0.11012955009937286, 0.3669775426387787, -0.4649953246116638, 0.9057492613792419, 0.3695530891418457, 0.017193343490362167, 0.6692543625831604, -0.7231558561325073, -0.44517120718955994, -0.0013668839819729328, 0.7010467648506165, 0.1797952502965927, 0.3140140771865845, -0.12627065181732178, -0.24673159420490265, -0.21547117829322815, 0.14443795382976532, -0.9955465793609619, -0.3228057026863098, -0.10602542012929916, -0.42797017097473145, -0.27194932103157043, -0.09997540712356567, -0.8748024702072144, -0.3192814588546753, -0.4395568370819092, 0.5257832407951355, -0.43138620257377625, -0.02708798088133335, 0.11472884565591812, 0.22950676083564758, 0.009984211064875126, 0.33628472685813904, -0.9435147643089294, 0.2704741656780243, 0.478219598531723, 0.8354016542434692, 0.00014865297998767346, -0.10064160078763962, -0.5511780381202698, 0.11814424395561218, -0.1128855049610138, 1.051951289176941, -0.6397220492362976, -0.39951977133750916, -0.1742415577173233, 0.14273278415203094, -0.008739876560866833, -0.4012933373451233, 0.7047852873802185, -0.2556578814983368, 0.4361014664173126, 0.15167579054832458, -0.5463626384735107, -0.20163792371749878, -0.061427414417266846, -0.7246032357215881, 1.1823421716690063, 0.2423117458820343, -0.3101777136325836, 0.5822654366493225, -1.0005911588668823, -0.8748887777328491, 0.2349156141281128, 0.1317238211631775, -0.5802811980247498, -0.08592897653579712, 0.6387832760810852, 0.3922008275985718, 0.07716963440179825, 0.22200781106948853, -0.17966966331005096, -0.2298431396484375, 0.19332820177078247, -0.4894382655620575, 0.6967209577560425, 0.18192821741104126, -0.3274213969707489, 0.21273544430732727, -0.9119431376457214, 0.010322141461074352, -0.16556596755981445, -0.3477540612220764, -0.7678412795066833, 0.23021955788135529, 0.011366314254701138, 0.16403913497924805, 0.37866851687431335, -0.34796062111854553, 0.3851045072078705, -0.8059872388839722, 0.2536301612854004, 0.8786099553108215, 0.00021433680376503617, 0.8572183847427368, -0.20290465652942657, 0.3120952844619751, -0.0075918324291706085, 0.36591261625289917, -0.2388872355222702, -0.13796354830265045, -1.0090886354446411, -0.4939165711402893, 0.7121649980545044, 0.6817449331283569, -1.0900545120239258, 0.7213337421417236, -0.303842157125473, -0.3616962134838104, -0.9518495798110962, 0.7475582361221313, 0.10932575166225433, 0.5192318558692932, 0.6071551442146301, -0.5067554712295532, -0.6047444343566895, -1.020326018333435, -0.24014776945114136, -0.12284895777702332, -0.021522967144846916, 0.3580927550792694, 0.13933879137039185, -0.5298594832420349, 1.162277102470398, -0.6541915535926819, -0.6262760162353516, -0.001467783353291452, 0.35348716378211975, 0.1608327031135559, 0.6252637505531311, 0.6386100053787231, -0.8301540613174438, -0.2932504713535309, -0.02840978279709816, -0.6033682227134705, -0.5450618267059326, -0.22160553932189941, -0.11888577789068222, 0.1385555863380432, 0.6607043147087097, -0.1251913160085678, 0.3491630256175995, 0.505821168422699, -0.44040215015411377, -0.004719572141766548, -0.6406718492507935, 0.15404580533504486, -0.8382570147514343, -0.08028499037027359, 0.20612168312072754, -0.6290610432624817, -0.7333129644393921, -0.15230949223041534, 0.07724626362323761, 0.07867754995822906, -0.17578507959842682, 0.5375416278839111, -0.4713866114616394, 0.203249990940094, -0.624190092086792, 0.11034118384122849, 0.06530371308326721, 0.3773522973060608, -0.12543591856956482, 0.7863603234291077, 0.44976064562797546, -0.8388816118240356, 0.40212348103523254, 0.25627759099006653, -0.40382394194602966, 0.5468838214874268, -0.524290919303894, -0.07454056292772293, -0.44702696800231934, 0.3381841480731964, -0.9289059042930603, -0.2867621183395386, 0.38211336731910706, -0.0712456926703453, 0.2592463195323944, -0.028300154954195023, -0.6135834455490112, -0.19153694808483124, -0.20987018942832947, 0.4066520631313324, 0.6168596148490906, -0.6777777075767517, 0.7884249687194824, 0.5117965936660767, -0.5342007875442505, -0.2589558959007263, -0.5317667126655579, 0.29201194643974304, -0.2631538510322571, -0.35667818784713745, 0.5247349143028259, -0.30300071835517883, -0.13246466219425201, 0.011642826721072197, 0.2804142236709595, -0.23518827557563782, 0.1732676923274994, 0.23876111209392548, 0.4046775698661804, -0.06684238463640213, 0.21377676725387573, 0.2525859773159027, -0.25450581312179565, -0.40435218811035156, -0.2655108869075775, 0.1840478926897049, 0.03355379030108452, 0.09506404399871826, -0.4613817036151886, 0.14684055745601654, 0.46350401639938354, -0.21517330408096313, 0.4406871795654297, 0.6695271134376526, -0.3164282441139221, -0.3432508111000061, -0.5474250316619873, -0.2678923010826111, -0.6577969193458557, 0.32927805185317993, -0.10224293172359467, -0.8073928356170654, 0.06100332364439964, -0.24009133875370026, 0.12548287212848663, 0.46745944023132324, 0.5595735907554626, -0.17820361256599426, 0.9210353493690491, 1.0131075382232666, -0.15313875675201416, 0.8065885305404663, 0.1143423542380333, 0.24379566311836243, -0.513312041759491, -0.04766181483864784, -0.48609986901283264, -0.2631172239780426, -0.7799777984619141, -0.40113067626953125, 0.15289495885372162, -0.1524120718240738, 0.26228293776512146, 0.5078694224357605, -0.7491248846054077, 0.36366233229637146, 0.35372278094291687, 0.2673504054546356, 0.3350526690483093, 0.13787317276000977, 0.24582608044147491, -0.07222262024879456, -0.9039422869682312, -0.356690376996994, 0.6866515874862671, 0.45200100541114807, 0.916219174861908, 0.0040924446657299995, 0.5193435549736023, 0.6868025064468384, 0.5176311135292053, -0.7805349826812744, 0.5435674786567688, -0.5528410077095032, -0.4519069492816925, -0.431703120470047, -0.6290338039398193, -0.8693568706512451, 0.12946976721286774, -0.4839763641357422, -0.4373417794704437, 0.7214288115501404, 0.35145288705825806, -0.5809129476547241, -0.1987522840499878, -0.8946341276168823, 0.5940343737602234, -0.3486657738685608, -0.34582844376564026, 0.10630815476179123, -0.2832697629928589, 0.17777171730995178, -0.4405754506587982, 0.7397316694259644, -0.16754938662052155, -0.10074565559625626, 1.0117287635803223, -0.9114978313446045, 0.9589443206787109, -0.2454778403043747, -0.36391451954841614, 0.312834233045578, -0.3037777841091156, 0.5821323394775391, -0.2700340151786804, 0.026382967829704285, -0.3279508948326111, -0.1490618735551834, -0.3779550790786743, -0.7502338290214539, 0.7110751867294312, -0.5703421235084534, -0.35309287905693054, -0.3297649919986725, -0.6900336146354675, -0.2994847297668457, 0.22965481877326965, -0.04589397832751274, 0.42312318086624146, -0.04390580579638481, 0.011727515608072281, 0.4952484667301178, -0.07233598828315735, 0.8205607533454895, 0.7414470911026001, -0.05318261682987213, -0.4060060381889343, 1.1378690004348755, 0.23271536827087402, -0.0230962373316288, 0.031060006469488144, 0.11810941994190216, -0.44962412118911743, -0.5395166277885437, -0.7189671397209167, 0.09173800051212311, -0.4786142110824585, -0.3627827763557434, -0.5961712598800659, 0.0782053992152214, -0.44361671805381775, -0.17783555388450623, -0.14057891070842743, -0.760148286819458, -0.493548721075058, -0.06459236890077591, 0.8638708591461182, 0.4984057545661926, -0.29007968306541443, 0.7452250123023987, -0.6429290175437927, 0.6918827891349792, 0.4648788273334503, 0.515659511089325, -0.30977529287338257, -0.8066402673721313, -0.4127333164215088, -0.0015085185877978802, 0.09484519809484482, -0.6604704260826111, 0.43372347950935364, 0.7123735547065735, 0.37053391337394714, 0.2286384254693985, 0.13689970970153809, 0.9639302492141724, -0.5917302370071411, 0.28891122341156006, -0.04643919691443443, -0.971968412399292, 0.583169162273407, -0.1441410332918167, 0.2604908347129822, 0.9155489802360535, 0.09726303070783615, -0.21471953392028809, -0.39381399750709534, -0.5685561299324036, -1.18653404712677, 0.6464147567749023, 0.24619725346565247, 0.38658249378204346, 0.354331910610199, 0.6987932920455933, 0.04774564132094383, -0.0016835401766002178, -0.6399378180503845, -0.2829074263572693, -0.3392922580242157, -0.6788751482963562, -0.128892719745636, -0.05964566394686699, 0.34706148505210876, -0.3468371033668518, 1.0329372882843018, -0.288745641708374, -0.16254685819149017, 0.25611233711242676, -0.5044392943382263, -0.12535259127616882, 0.3143009841442108, 0.2933654487133026, 0.3467816710472107, -0.11729691177606583, -0.14536483585834503, 0.2958310544490814, -0.5242031216621399, 0.31250396370887756, 0.6528136134147644, -0.5787573456764221, 0.01647035963833332, 0.23192699253559113, 0.8120402097702026, 0.4206242859363556, -0.5073078274726868, 0.3288896679878235, -0.04828895255923271, -0.12538579106330872, 0.20420005917549133, 0.40019017457962036, -0.5208431482315063, -0.028021907433867455, 0.5602462887763977, -0.10466524213552475, 0.3436250388622284, -0.6443910598754883, 0.5898164510726929, 0.19194425642490387, -0.37420225143432617, 0.08917985111474991, 0.48094436526298523, 0.4953068196773529, -0.3576686680316925, 0.24647605419158936, -0.18715697526931763, -0.5190658569335938, 0.28546443581581116, 0.4121173024177551, 0.6260590553283691, -0.5391608476638794, 0.1803651750087738, 0.25544556975364685, 0.536709725856781, 0.020980168133974075, 0.1410926729440689, -0.0014418839709833264, -0.538688063621521, -0.8768479228019714, -0.769812285900116, -0.2902246117591858, 0.0808342695236206, -0.435658723115921, 0.07752631604671478, -0.50251704454422, -0.27545034885406494, 0.1494670957326889, 0.03916534036397934, -0.5640761852264404, 0.5467172265052795, 0.1014210656285286, 0.7179440855979919, -0.7689501643180847, 0.9043700098991394, 0.6399144530296326, -0.18652832508087158, -0.40784403681755066, -0.13752679526805878, -0.29156768321990967, -0.5853608846664429, 0.3004189133644104, -0.11431100219488144, -0.1712154597043991, 0.19168828427791595, -0.5633141994476318, -0.6883072853088379, 0.8109305500984192, 0.013895281590521336, -0.6101115942001343, -0.07194020599126816, 0.13446593284606934, 0.5867034792900085, -0.4173237383365631, 0.06996279209852219, 0.7041459083557129, 0.8407977223396301, -0.19938308000564575, -0.9191082119941711, 0.09321054071187973, -0.33814510703086853, -0.03274143859744072, 0.15665198862552643, -0.4595729410648346, 0.3646407425403595, 0.1592341512441635, -0.2600111961364746, -0.04089907556772232, 0.9451149106025696, -0.37911173701286316, 0.12052570283412933, 0.8679553270339966, 0.3496451675891876, 0.8157324194908142, -0.05160447210073471, 0.8518591523170471, -0.17123185098171234, 0.27815502882003784, 1.1967945098876953, -0.25892019271850586, 0.47576704621315, 0.1849743276834488, 0.14516307413578033, 0.9297522902488708, 0.5342790484428406, -0.22838176786899567, 0.6015077829360962, -0.06067084148526192, -0.18646062910556793, -0.20580831170082092, -0.4111112058162689, -0.0194228645414114, 0.5960845947265625, 0.6444239020347595, -0.18888187408447266, -0.11232853680849075, 0.2990177869796753, 0.08040018379688263, 0.21902905404567719, -0.44196924567222595, 1.1026650667190552, -0.11760874837636948, -0.4938438832759857, 0.49092164635658264, 0.3073272407054901, 0.8999059200286865, -0.424873024225235, -0.06873712688684464, -0.13071031868457794, 0.13329043984413147, -0.32778358459472656, -0.50981205701828, 0.15357524156570435, 0.14639389514923096, -0.12181778252124786, -0.40921905636787415, 1.1911286115646362, -0.7078259587287903, -0.7404369115829468, 0.18176288902759552, 0.6387045383453369, -0.2200632095336914, 0.2747795581817627, -0.847761869430542, -0.09456391632556915, -0.06423240154981613, 0.036147598177194595, 0.16520345211029053, 0.45601871609687805, 0.06584416329860687, 0.5891015529632568, 0.7666764855384827, -0.0266046691685915, -0.04158792644739151, -0.07202524691820145, 0.999512255191803, -0.5607051849365234, -0.6711630821228027, -0.9381176233291626, 0.31588658690452576, -0.2903798818588257, 0.03276423364877701, 0.8044082522392273, 0.4595090448856354, 0.48033323884010315, 0.1986956000328064, 0.9284934997558594, -0.011826220899820328, 0.5366919040679932, -0.5363816618919373, 0.8127994537353516, -0.5500508546829224, 0.10231515765190125, -0.44034290313720703, -0.9166571497917175, -0.39906859397888184, 0.7499088644981384, -0.43465787172317505, 0.014963766559958458, 0.3617960810661316, 0.8393248915672302, -0.3236808478832245, -0.304386705160141, 0.15334050357341766, 0.40314292907714844, 0.01792730763554573, 0.2999909818172455, 0.44600874185562134, -0.4548218846321106, 0.6326329708099365, -0.3022554814815521, -0.6306793093681335, -0.35831519961357117, -1.083707332611084, -0.7481188178062439, -0.5399762988090515, -0.7030510902404785, -0.2142670750617981, 0.20959340035915375, 0.7645260095596313, 0.9324538707733154, -0.7449470162391663, 0.06990910321474075, 0.12297295778989792, 0.07070301473140717, -0.002449066611006856, -0.2875649631023407, 0.4490448832511902, -0.4137130379676819, -0.8025404214859009, 0.7114680409431458, 0.28787022829055786, 0.37890106439590454, -0.043494511395692825, 0.010281200520694256, -0.2741750478744507, 0.37457406520843506, 0.6839162111282349, 0.483239084482193, -0.14816026389598846, -0.20314113795757294, -0.3665830194950104, -0.07034280151128769, 0.15625643730163574, 0.8283855319023132, -1.1066279411315918, 0.46697327494621277, 0.3081572651863098, 0.604371190071106, 0.27977821230888367, 0.4806637167930603, 0.6206004619598389, -0.8561123609542847, 0.2905447781085968, -0.016925986856222153, 0.19979864358901978, 0.551106870174408, -0.3993750512599945, 0.39804941415786743, 0.10221999883651733, -0.43225720524787903, -0.779094934463501, 0.0825423151254654, -0.7721327543258667, -0.2865663766860962, 0.9135048985481262, 0.03159521520137787, -0.390248566865921, -0.43334218859672546, -0.3129504323005676, 0.20184390246868134, -0.4458349347114563, 0.7636243104934692, 0.5494711399078369, 0.06141391769051552, -0.20836147665977478, -0.503729522228241, 0.8008702397346497, 0.47765660285949707, -1.308529257774353, 0.17450174689292908, 0.7206613421440125, 0.0933476909995079, 0.1405443698167801, 0.6416417360305786, 0.029775533825159073, 0.1686541587114334, -0.4284520447254181, -0.18188336491584778, -0.238552525639534, -0.17417988181114197, -0.4374474585056305, -0.09454872459173203, -0.02105395495891571, -0.00957487616688013 ]
http://arxiv.org/abs/2402.05581v1
http://arxiv.org/pdf/2402.05581v1
Establishing degrees of closeness between audio recordings along different dimensions using large-scale cross-lingual models
2024-02-08T11:31:23
2024-02-08T11:31:23
Maxime Fily, Guillaume Wisniewski, Severine Guillaume, Gilles Adda, Alexis Michaud
cs.CL
cs.CL, cs.SD, eess.AS
In the highly constrained context of low-resource language studies, we explore vector representations of speech from a pretrained model to determine their level of abstraction with regard to the audio signal. We propose a new unsupervised method using ABX tests on audio recordings with carefully curated metadata to shed light on the type of information present in the representations. ABX tests determine whether the representations computed by a multilingual speech model encode a given characteristic. Three experiments are devised: one on room acoustics aspects, one on linguistic genre, and one on phonetic aspects. The results confirm that the representations extracted from recordings with different linguistic/extra-linguistic characteristics differ along the same lines. Embedding more audio signal in one vector better discriminates extra-linguistic characteristics, whereas shorter snippets are better to distinguish segmental information. The method is fully unsupervised, potentially opening new research avenues for comparative work on under-documented languages.
[ -0.8453618288040161, -0.45267754793167114, 0.30873894691467285, 0.1360543668270111, -0.14408090710639954, 0.004892369266599417, -0.6063034534454346, -0.501794695854187, 0.46577188372612, 0.3371337950229645, -0.32585224509239197, -0.6666004061698914, -0.5721223950386047, 0.07966417819261551, -0.5702337622642517, 0.3863212764263153, 0.11695975810289383, 0.24878308176994324, -0.4025481045246124, -0.5617700219154358, -0.16897909343242645, -0.8610036373138428, -0.2409321665763855, -0.44015833735466003, 0.23440133035182953, 0.03761105611920357, 0.5438039898872375, 0.5923786759376526, 0.35413244366645813, 0.2444373220205307, -0.30374807119369507, -0.20022176206111908, -0.05199522152543068, -0.17825676500797272, -0.1482347846031189, -0.599834680557251, -0.09407013654708862, 0.12188321352005005, 0.9216398596763611, 1.1945518255233765, 0.017316242679953575, 0.4055623710155487, 0.14534088969230652, 0.11677169799804688, -0.49182236194610596, 0.06506628543138504, -0.3833296000957489, 0.27649256587028503, -0.19337886571884155, -0.29738298058509827, -0.4142034649848938, 0.119804747402668, -0.0533236600458622, -0.3406853973865509, 0.3159337639808655, -0.062000177800655365, 0.7629952430725098, 0.24241231381893158, -0.4470413327217102, -0.06290660798549652, -1.0843702554702759, 1.0036360025405884, -0.642459511756897, 1.0355960130691528, 0.5134405493736267, 0.18049956858158112, 0.2710227370262146, -0.32442307472229004, -0.421305388212204, -0.08171764761209488, -0.31287842988967896, -0.18224211037158966, -0.3102862536907196, -0.06571080535650253, 0.41657060384750366, 0.37250036001205444, -0.42396309971809387, 0.19415129721164703, -0.33831048011779785, -0.44749146699905396, 0.6017426252365112, -0.31852567195892334, 0.3833272159099579, -0.17509473860263824, -0.15021511912345886, -0.38214075565338135, -0.6776886582374573, 0.12213359028100967, 0.4509793817996979, 0.40435922145843506, -0.3044527471065521, 0.777115523815155, -0.07518233358860016, 0.25249871611595154, -0.11158876121044159, -0.23872394859790802, 0.7086223363876343, -0.3676435947418213, 0.16487161815166473, 0.5394548773765564, 0.8125927448272705, 0.06954827159643173, 0.07815461605787277, -0.058229394257068634, -0.3633716106414795, 0.05480430647730827, -0.3047330677509308, -0.49920541048049927, -0.03804395720362663, 0.06730741262435913, -0.7404761910438538, 0.34274056553840637, 0.006048101000487804, -0.4030294418334961, -0.20118416845798492, -0.7880915403366089, 0.4090227484703064, -0.3829544186592102, -0.5306428670883179, -0.11526942253112793, -0.1711721271276474, 0.14789217710494995, -0.24993686378002167, -0.7651565074920654, 0.2878991663455963, 0.5764498710632324, 0.86207515001297, -0.14278464019298553, -0.30467689037323, -0.6384623050689697, 0.08812598139047623, -0.3755486309528351, 0.6565551161766052, -0.8431403636932373, -0.6306270360946655, 0.06330510973930359, -0.1589837670326233, 0.4488527178764343, -0.6503360867500305, 0.341347336769104, -0.192116379737854, 0.050261422991752625, -0.3056546747684479, -0.491128146648407, -0.1876540333032608, -0.11276984214782715, -0.7825115323066711, 1.0311282873153687, 0.2755619287490845, -0.8329682946205139, 0.37588557600975037, -0.34221282601356506, -0.21272461116313934, -0.3770667314529419, -0.6148053407669067, -0.22818523645401, 0.31992682814598083, 0.3129865229129791, 0.4568925201892853, -0.044479694217443466, -0.03567788004875183, -0.22530119121074677, -0.3596135973930359, 0.3761855661869049, -0.5028191208839417, 0.7202469706535339, -0.027339670807123184, -0.038536135107278824, -0.009403497911989689, -1.0007573366165161, -0.18861648440361023, -0.15052196383476257, -0.40625712275505066, -0.8839598298072815, -0.3255946636199951, 0.010847989469766617, 0.02251044660806656, 0.2517251670360565, -0.9496346116065979, -0.04034305363893509, -0.4264107048511505, 0.2040948122739792, 0.2564888596534729, 0.05016886815428734, 0.5116480588912964, -0.22571809589862823, 0.6053289771080017, 0.15559779107570648, -0.17021338641643524, -0.2888506352901459, -0.0806901603937149, -0.541935920715332, -0.34967535734176636, 0.6995462775230408, 0.26198479533195496, -0.3888780176639557, 0.4353795349597931, -0.31284549832344055, -0.2909115254878998, -0.8924046754837036, 0.1304444819688797, 0.5170180797576904, 0.037872832268476486, 0.4581092596054077, -0.6243973970413208, -0.5284861922264099, -0.9682424068450928, -0.004328596405684948, -0.06335506588220596, -0.5565926432609558, 0.42271730303764343, 0.28251224756240845, -0.4385213553905487, 0.8258181810379028, -0.2355189025402069, -0.3095889985561371, -0.1204138919711113, 0.41707471013069153, 0.24801105260849, 0.2847159206867218, 0.8810101747512817, -0.5008189082145691, -0.2033722847700119, 0.10386141389608383, -0.528418242931366, -0.21330347657203674, 0.22955942153930664, 0.1943475753068924, 0.05790746584534645, 0.8022383451461792, -0.3164632022380829, 0.3326166272163391, 0.5389455556869507, -0.14475813508033752, 0.3748937249183655, -0.280425101518631, 0.07714782655239105, -0.6464232206344604, -0.02375892736017704, -0.17113882303237915, -0.12842734158039093, -0.47102075815200806, -0.24930068850517273, -0.16420947015285492, -0.10574555397033691, -0.5482441186904907, 0.4519203305244446, -0.6526427268981934, -0.6003323793411255, -0.09163197875022888, 0.2492113709449768, -0.11916681379079819, 0.6013087034225464, 0.36462751030921936, 0.5916746854782104, 0.7090779542922974, -0.4659792482852936, 0.3860771656036377, 0.37072721123695374, -0.5273948311805725, 0.4664560556411743, -0.5896998643875122, 0.31230008602142334, -0.27079179883003235, -0.02695029228925705, -1.0142091512680054, -0.04745304957032204, -0.4934326112270355, -0.69969642162323, 0.30349764227867126, -0.16582979261875153, -0.4271388351917267, 0.09602904319763184, -0.10936427116394043, 0.9829078316688538, 0.5437223315238953, -0.5105240941047668, 0.7027133703231812, 0.7047370076179504, -0.3784309923648834, -0.47783946990966797, -0.649601399898529, -0.31296050548553467, -0.46081098914146423, -0.2974646985530853, 0.133762389421463, 0.22786661982536316, -0.5812172293663025, -0.09966029226779938, -0.0495222769677639, -0.15386149287223816, -0.2812517583370209, 0.3608280122280121, -0.0329144261777401, -0.5868952870368958, 0.1315581202507019, -0.035340480506420135, 0.14362376928329468, 0.3389393985271454, -0.1295429766178131, 0.5922327637672424, 0.1741645783185959, -0.4966595470905304, -0.21512764692306519, 0.860448956489563, 0.4421391785144806, -0.5505189299583435, 0.25507327914237976, 0.7249716520309448, -0.21792194247245789, -0.3994501233100891, -0.3356485962867737, -0.27187809348106384, -0.38917067646980286, 0.2092079520225525, -0.3323553204536438, -0.7478787899017334, 0.8416788578033447, -0.10712163895368576, -0.06549061089754105, 0.1395682543516159, 0.33430397510528564, 0.05642097815871239, 0.9642238616943359, 0.7645523548126221, -0.16353252530097961, 0.28398197889328003, -0.4704892933368683, 0.09415331482887268, -0.9529597759246826, -0.3627687394618988, -0.7752722501754761, -0.2156408578157425, -0.41937699913978577, -0.5308051109313965, 0.4876846373081207, -0.15065166354179382, -0.08874646574258804, 0.2624189853668213, -0.18538834154605865, 0.5334615111351013, 0.6643496751785278, -0.1496705412864685, 0.26804542541503906, 0.08829709142446518, -0.4617353677749634, -0.1652454286813736, -0.5413904190063477, -0.16092687845230103, 1.1274938583374023, 0.5120911002159119, 0.5239470601081848, 0.252024382352829, 0.7070780396461487, 0.23437395691871643, -0.104049451649189, -0.9500385522842407, 0.31168848276138306, -0.14137931168079376, -0.3725165128707886, -0.6190379858016968, -0.339402437210083, -0.9121592044830322, 0.4150497317314148, -0.31965845823287964, -0.6580959558486938, 0.45015522837638855, -0.12421706318855286, -0.4440421462059021, 0.13704665005207062, -0.4742988049983978, 0.4409465789794922, -0.0998157486319542, -0.1525278091430664, -0.08755513280630112, -0.3714807629585266, 0.020907247439026833, -0.3059125244617462, 0.5600001215934753, -0.06028283014893532, 0.22015848755836487, 0.9480029940605164, -0.2554967999458313, 0.6448307633399963, -0.13208848237991333, -0.4275951385498047, 0.2676060199737549, 0.32070446014404297, -0.03942570835351944, -0.022543588653206825, 0.0877869725227356, 0.6214034557342529, 0.2666463851928711, -0.2259221225976944, -0.6263408064842224, 0.5805102586746216, -0.9917010068893433, -0.4028415083885193, -0.07348093390464783, -0.4720199406147003, -0.5026843547821045, 0.3081819415092468, 0.3587561249732971, 0.8427978157997131, -0.29082977771759033, 0.41110169887542725, 0.6734614968299866, -0.44609981775283813, 0.5512740612030029, 0.5093084573745728, -0.37334710359573364, 0.06877226382493973, 0.7565577030181885, 0.12341102957725525, 0.0960192084312439, 0.6896511912345886, 0.2745046317577362, -0.6732521057128906, -0.5848202109336853, -0.025822145864367485, 0.4595045745372772, -0.8528993129730225, 0.19824694097042084, -0.35023921728134155, -0.147438183426857, -0.5536189675331116, 0.2025214433670044, -0.7279441356658936, -0.40697264671325684, -0.16198746860027313, -0.20544640719890594, 0.13806597888469696, 0.6659724116325378, -0.5216801166534424, 0.2083151936531067, -0.7788691520690918, 0.46774059534072876, 0.2273678481578827, 0.2464548498392105, -0.023951487615704536, -0.6703153252601624, -0.2738206684589386, 0.08350104093551636, 0.31022319197654724, -0.6946346759796143, 0.4350989758968353, 0.28058162331581116, 0.6268631219863892, 0.6865269541740417, 0.2586926519870758, 0.3456103801727295, -0.52423495054245, 0.7319146394729614, 0.21893729269504547, -1.1083871126174927, 0.46631693840026855, -0.4512658417224884, 0.30884626507759094, 0.3736400306224823, 0.49845147132873535, -0.3438199460506439, -0.4829550087451935, -0.5562291741371155, -0.7832403779029846, 0.33090832829475403, 0.03162232041358948, 0.10364243388175964, 0.2699286639690399, -0.005739813670516014, 0.1725527048110962, 0.0297707412391901, -0.41199442744255066, -0.2747657597064972, -0.33582818508148193, 0.22290877997875214, -0.3637532591819763, -0.08833765238523483, -0.28408366441726685, -0.37444302439689636, 0.2130851000547409, 0.16365976631641388, 0.4029184877872467, 0.18572650849819183, 0.012571243569254875, 0.14352844655513763, 0.33630865812301636, 0.29311734437942505, 0.6878156065940857, -0.25779300928115845, 0.6435433626174927, 0.1742195039987564, -0.4618091583251953, 0.3407467007637024, -0.10889478027820587, 0.24602660536766052, 0.49999821186065674, 0.948615550994873, 0.6942253708839417, 0.15788418054580688, -0.5563809871673584, 0.7232847809791565, -0.04591638967394829, -0.11238756030797958, -0.5949161648750305, -0.08386096358299255, -0.044998202472925186, 0.08384876698255539, 0.027876779437065125, -0.3436649441719055, 0.28761401772499084, -0.730346143245697, 0.3900260329246521, 0.2842911183834076, -0.5572237372398376, -0.3900584578514099, 0.6064997315406799, 0.1684679239988327, -0.18084637820720673, 0.5545529723167419, -0.12218715250492096, -0.19100430607795715, 0.42083868384361267, 0.27166253328323364, 0.5774416327476501, -0.4821956753730774, -0.025518424808979034, 0.4151420295238495, 0.12203644216060638, 0.04936618730425835, 0.18394865095615387, -0.40967682003974915, -0.7725881934165955, -0.5770220756530762, -0.8011744022369385, -0.3192649781703949, 0.3858450651168823, -1.0021203756332397, 0.23364073038101196, -0.0761425644159317, -0.1389283537864685, 0.29920047521591187, -0.30535057187080383, -0.6851712465286255, -0.07888709008693695, 0.39761102199554443, 0.7421742677688599, -1.1837700605392456, 0.8222354650497437, 0.5605453848838806, -0.14276911318302155, -0.9615129828453064, -0.06103084236383438, 0.005363181699067354, -0.5190743207931519, 0.7103930711746216, -0.06033208221197128, -0.3886524438858032, -0.34395596385002136, -0.27420899271965027, -0.935265839099884, 0.5972549319267273, 0.5051352977752686, -0.738427460193634, 0.059146005660295486, 0.5154425501823425, 0.5357216000556946, -0.31267115473747253, 0.27028387784957886, 0.7512282133102417, 0.3411480188369751, 0.0619327686727047, -1.326277732849121, -0.18272742629051208, -0.19135573506355286, -0.12994810938835144, 0.13288679718971252, -0.2784918546676636, 0.8933665156364441, -0.07724279910326004, -0.2764246463775635, -0.33156928420066833, 0.6663673520088196, -0.004925146233290434, 0.203574076294899, 0.6146595478057861, 0.34878265857696533, 0.7264313101768494, 0.03346947208046913, 0.8112689852714539, -0.2678443491458893, 0.13481175899505615, 1.0384496450424194, -0.04263625666499138, 0.8596020936965942, 0.5245460271835327, -0.15266598761081696, 0.2086118757724762, 0.42848700284957886, -0.07084100693464279, 0.4641612768173218, 0.3882320821285248, -0.4526529908180237, -0.33029940724372864, -0.5922426581382751, -0.4991787075996399, 0.9425757527351379, 0.29715463519096375, -0.33481812477111816, 0.03953232243657112, 0.37513312697410583, -0.02691704034805298, 0.26447397470474243, -0.4518703818321228, 0.7003248929977417, 0.22215954959392548, -0.4567369520664215, 0.7759846448898315, -0.15175406634807587, 0.5494831800460815, -0.4736626446247101, -0.1561860293149948, -0.2276604026556015, 0.009258798323571682, -0.2433731108903885, -0.6126331686973572, 0.39378035068511963, -0.17507106065750122, -0.06758833676576614, -0.08162706345319748, 0.3782725930213928, -0.656174898147583, -0.26853135228157043, 0.6478071808815002, 0.44290098547935486, 0.5067009925842285, 0.04395408555865288, 0.05715440958738327, 0.2289850413799286, -0.0394752100110054, 0.06520277261734009, 0.12465805560350418, 0.7231651544570923, -0.0747004821896553, 0.27378222346305847, 0.5351833701133728, 0.47676733136177063, 0.11577942967414856, 0.37978845834732056, 0.5788645148277283, -0.5966716408729553, -0.7005489468574524, -0.517942488193512, 0.017135031521320343, 0.13413701951503754, -0.04813217744231224, 0.7895559668540955, 0.72164386510849, 1.3269304037094116, -0.06873033940792084, 0.9311352968215942, 0.41288018226623535, 0.7585999965667725, -0.6591544151306152, 0.519159197807312, -0.4937540292739868, 0.3431691825389862, -0.20103013515472412, -0.9150463938713074, -0.12651409208774567, 0.665229082107544, -0.02732560783624649, -0.20521776378154755, 0.6920979619026184, 0.6530436873435974, -0.4987650215625763, -0.1661292314529419, 0.43378180265426636, 0.18774093687534332, 0.035966262221336365, 0.3775748014450073, 0.9864956736564636, 0.11837557703256607, 0.4456010162830353, -0.469774454832077, -0.20434920489788055, 0.08563707768917084, -0.5274888873100281, -1.2959975004196167, -0.9057639837265015, -0.3500879406929016, -0.10008469969034195, -0.4815276861190796, 0.8440295457839966, 0.7544029355049133, -0.7172226309776306, -0.35453203320503235, 0.7304143309593201, -0.04235684126615524, -0.19968649744987488, -0.11563793569803238, 0.6344841718673706, 0.3568325340747833, -0.7180311679840088, 0.5389925837516785, -0.04031245410442352, 0.21151374280452728, -0.633759081363678, 0.06134958192706108, 0.15844863653182983, 0.3393353223800659, 0.5912644863128662, 0.3337344527244568, -0.41668012738227844, -0.43209078907966614, -0.182948499917984, 0.3312652111053467, 0.2682526111602783, 0.9007229208946228, -0.550399661064148, 0.38523781299591064, 0.715543806552887, 0.363648921251297, 0.369467556476593, -0.09456174820661545, 0.47645580768585205, -1.3256912231445312, 0.5528058409690857, 0.26568683981895447, 0.5996723175048828, 0.5369449257850647, -0.06406058371067047, 0.16366149485111237, -0.07827839255332947, -0.14901135861873627, -1.0145939588546753, 0.35574108362197876, -1.1223773956298828, -0.31691887974739075, 1.4907300472259521, -0.21340297162532806, -0.19897152483463287, -0.30559593439102173, -0.09189070016145706, 0.3788018524646759, -0.34066903591156006, 0.6285575032234192, 0.7690022587776184, -0.2826560437679291, -0.13424068689346313, -0.4531330466270447, 0.5215175151824951, 0.11384619772434235, -0.20559453964233398, 0.06624025851488113, 0.2974230945110321, 0.2297617644071579, 0.6809662580490112, 0.46811410784721375, -0.4006972908973694, 0.039036039263010025, 0.14623801410198212, 0.09621679037809372, -0.13522495329380035, -0.476421982049942, -0.5352116227149963, 0.25832682847976685, 0.14346010982990265, -0.3369789123535156 ]
http://arxiv.org/abs/2402.05571v1
http://arxiv.org/pdf/2402.05571v1
Traditional Machine Learning Models and Bidirectional Encoder Representations From Transformer (BERT)-Based Automatic Classification of Tweets About Eating Disorders: Algorithm Development and Validation Study
2024-02-08T11:16:13
2024-02-08T11:16:13
José Alberto Benítez-Andrades, José-Manuel Alija-Pérez, Maria-Esther Vidal, Rafael Pastor-Vargas, María Teresa García-Ordás
cs.CL
cs.CL, cs.LG
Background: Eating disorders are increasingly prevalent, and social networks offer valuable information. Objective: Our goal was to identify efficient machine learning models for categorizing tweets related to eating disorders. Methods: Over three months, we collected tweets about eating disorders. A 2,000-tweet subset was labeled for: (1) being written by individuals with eating disorders, (2) promoting eating disorders, (3) informativeness, and (4) scientific content. Both traditional machine learning and deep learning models were employed for classification, assessing accuracy, F1 score, and computational time. Results: From 1,058,957 collected tweets, transformer-based bidirectional encoder representations achieved the highest F1 scores (71.1%-86.4%) across all four categories. Conclusions: Transformer-based models outperform traditional techniques in classifying eating disorder-related tweets, though they require more computational resources.
[ 0.05322922021150589, -0.761545717716217, 0.26200246810913086, 0.1630607396364212, -0.10773205012083054, 0.38254430890083313, 0.008921219035983086, -0.6446903944015503, 0.5714535117149353, 0.40380367636680603, -0.27375397086143494, -0.4488566219806671, -1.0533400774002075, 0.24710066616535187, -0.6494867205619812, 0.7424083948135376, -0.3320404887199402, 0.4189414381980896, 0.09156015515327454, -0.08674212545156479, -0.16591663658618927, -0.30418112874031067, -0.605137050151825, -0.2535269856452942, 0.47415053844451904, 0.31614771485328674, 0.6471726298332214, 0.366646409034729, 0.7746585607528687, 0.22905290126800537, 0.15098516643047333, 0.10309117287397385, -0.5595872402191162, 0.017386799678206444, -0.05072809010744095, -0.044733066111803055, -0.19045713543891907, -0.008904967457056046, 0.17111477255821228, 0.7411524653434753, -0.267194926738739, 0.3403496742248535, 0.20593443512916565, 0.6443926095962524, -0.0869312435388565, 0.05423842743039131, -0.21968790888786316, 0.40008002519607544, -0.045258596539497375, -0.04407107084989548, -0.3341366648674011, -0.7636727690696716, 0.12254250794649124, -0.31275978684425354, 0.11839170753955841, 0.0663648173213005, 0.9651427865028381, 0.12891903519630432, -0.7741195559501648, -0.4848927855491638, -0.578657865524292, 0.4762018322944641, -0.5895881652832031, 0.46548929810523987, 0.44018420577049255, 0.5267983078956604, 0.1800527572631836, -0.661204993724823, -0.4194060266017914, 0.06258831918239594, -0.2035529911518097, -0.20609164237976074, -0.20350155234336853, -0.05338390916585922, 0.04333930090069771, 0.01372428797185421, -0.767909586429596, 0.26930850744247437, -0.50059974193573, 0.14410610496997833, 0.8750097751617432, 0.08839704096317291, 0.43234890699386597, -0.43185457587242126, -0.05175609514117241, 0.07701442390680313, -0.1561214178800583, -0.05825713649392128, -0.2551525831222534, -0.008654176257550716, -0.029795944690704346, 0.811672568321228, 0.10761583596467972, 0.28489232063293457, 0.3233076333999634, 0.07598099857568741, 0.4376591145992279, 0.09381172806024551, -0.422294944524765, 0.12992486357688904, 0.8507694602012634, 0.7940293550491333, 0.2248566746711731, -0.29168474674224854, -0.334757536649704, -0.09165860712528229, 0.5080129504203796, -0.9535669088363647, -0.3188280761241913, 0.18351463973522186, -0.7504122257232666, -0.3719397485256195, 0.13502027094364166, -0.6470077633857727, -0.7776986956596375, -0.04248970001935959, 0.37202170491218567, -0.58372563123703, -0.1835913062095642, -0.11273016035556793, -0.29216277599334717, 0.3897133469581604, 0.4527393877506256, -0.7029228210449219, 0.376191645860672, 0.5967403650283813, 0.7555464506149292, -0.17230671644210815, 0.3622623085975647, -0.018626943230628967, 0.2716553509235382, -0.445663720369339, 0.6390480399131775, -0.6947540640830994, -0.04384540393948555, 0.08349147439002991, 0.33964774012565613, -0.46723267436027527, -0.4638684093952179, 0.7852253317832947, -0.6497939229011536, -0.0980982631444931, -0.3608068823814392, -0.8594201803207397, -0.6958400011062622, 0.17306137084960938, -0.8571608662605286, 0.6702820062637329, 0.1725524365901947, -0.5682777166366577, 0.37276455760002136, -0.6771108508110046, -0.852391242980957, 0.2544881999492645, 0.09870697557926178, -0.39163216948509216, 0.1523270606994629, 0.4569198489189148, 0.9811306595802307, -0.32093629240989685, 0.5823848247528076, -0.29922300577163696, -0.24025972187519073, 0.350749135017395, -0.25972780585289, 0.5625537037849426, 0.3775005638599396, -0.24490365386009216, 0.16684973239898682, -0.3021903932094574, -0.18884147703647614, 0.5438400506973267, -0.13944202661514282, -0.2175135612487793, 0.14770688116550446, 0.34293365478515625, -0.04432596638798714, -0.03707578778266907, -0.6851125955581665, 0.14152413606643677, -0.1888400912284851, 0.707132875919342, 0.5684936046600342, 0.08386164903640747, 0.2436230331659317, -0.7470171451568604, 0.2567911744117737, 0.09699122607707977, 0.009187847375869751, -0.002347766188904643, -0.7481350302696228, -0.38020622730255127, 0.005314968526363373, 0.24114571511745453, 0.618532121181488, -0.7342618107795715, 0.7167270183563232, -0.5034044981002808, -0.481912225484848, -0.6778239607810974, -0.2448805421590805, -0.07332630455493927, 0.621344804763794, 0.44064053893089294, 0.13845081627368927, -0.5703753232955933, -0.6207430958747864, -0.11033588647842407, 0.31038838624954224, -0.09992747008800507, 0.3153909146785736, 0.5272340178489685, -0.40720415115356445, 0.44613927602767944, -0.3219633996486664, 0.0023659183643758297, -0.3999408185482025, 0.3115592896938324, -0.10629252344369888, 0.3734889030456543, 0.7752270698547363, -1.1052743196487427, -1.0032662153244019, 0.20301496982574463, -0.7227829694747925, 0.05239012464880943, 0.3179539740085602, 0.23203088343143463, 0.32356902956962585, 0.10991615802049637, -0.27693361043930054, 0.5827881097793579, 0.5166584849357605, -0.2599022686481476, 0.43325144052505493, 0.5041434168815613, 0.3356829285621643, -1.029573917388916, -0.14986705780029297, 0.39661890268325806, -0.39030981063842773, -0.5424741506576538, -0.4270267188549042, 0.23909521102905273, -0.15589219331741333, -0.03668738901615143, 0.20536428689956665, 0.010242109186947346, 0.3112322986125946, 0.02902320958673954, -0.45463550090789795, -0.11523442715406418, 0.23173320293426514, -0.025437066331505775, 0.23231832683086395, 0.647833526134491, -0.34128671884536743, 0.47689735889434814, -0.2661339342594147, -0.33785560727119446, 0.2645212411880493, -0.6695773601531982, 0.010907099582254887, -0.36842080950737, 0.15220552682876587, -1.48650324344635, -0.45573121309280396, 0.4409306049346924, -0.588614821434021, 0.3471740484237671, 0.13449116051197052, -0.5980991721153259, -0.877392053604126, -0.44418904185295105, 0.19576989114284515, 0.5037796497344971, -0.5754712820053101, 0.5852779746055603, 0.37791743874549866, 0.12549011409282684, 0.03619995340704918, -0.7732429504394531, -0.05717775970697403, -0.15597806870937347, -0.6145998239517212, 0.25661322474479675, 0.12390612065792084, 0.1258242130279541, 0.41604259610176086, -0.11501200497150421, -0.189917653799057, -0.05749845132231712, 0.14565718173980713, -0.1604955494403839, -0.026545163244009018, 0.11703591048717499, 0.10889413952827454, 0.30292168259620667, -0.06025347858667374, 0.016429107636213303, 0.5850746631622314, 0.037359852343797684, -0.15710294246673584, -0.7458109259605408, 0.6198664903640747, 0.6109669208526611, -0.016032280400395393, 0.8088029026985168, 0.8014849424362183, -0.6430697441101074, -0.21429958939552307, -0.5201107859611511, -0.19351838529109955, -0.4607659876346588, 0.2727947235107422, -0.11192939430475235, -0.6873602867126465, 0.5123510956764221, 0.1180371344089508, -0.12368272244930267, 0.3821444511413574, 0.2690964639186859, -0.588992714881897, 1.1115190982818604, 0.426837682723999, -0.09872156381607056, 0.46805113554000854, -0.41498351097106934, 0.15914830565452576, -0.5125989317893982, -0.30957841873168945, -0.37343335151672363, -0.6108312010765076, -0.6786938309669495, -0.44091787934303284, 0.2751888036727905, -0.6384936571121216, -0.4397549629211426, 0.26617076992988586, -0.6936770081520081, 0.23075902462005615, 0.21234539151191711, 0.38582921028137207, -0.2155933678150177, 0.0027433380018919706, -0.1682536005973816, -0.19180996716022491, -0.3974989950656891, -0.49304407835006714, 1.1885374784469604, 0.626142680644989, 0.871877908706665, 0.09531805664300919, 0.774590790271759, 0.7315158247947693, 0.8392137289047241, -0.9236717820167542, 0.2798399329185486, -0.48231205344200134, -0.5936152935028076, -0.170507550239563, -0.6966961622238159, -0.8106721639633179, -0.051975641399621964, 0.18778595328330994, -0.8057038187980652, 0.054445281624794006, -0.3688371479511261, -0.15060128271579742, 0.5955469012260437, -1.0509116649627686, 0.7608041167259216, -0.5233506560325623, -0.036553189158439636, 0.02225794456899166, -0.7460290789604187, 0.14716780185699463, -0.0976840928196907, 0.10952198505401611, -0.1677553653717041, 0.11682229489088058, 1.454877495765686, -0.24917832016944885, 0.9926716685295105, -0.2715234160423279, 0.09951318800449371, -0.05105416104197502, 0.18242931365966797, 0.18751747906208038, -0.13233764469623566, -0.2829571068286896, 0.10025151073932648, 0.02248206175863743, -0.19500873982906342, -0.46431100368499756, 0.48695939779281616, -0.8022980093955994, -0.20423796772956848, -0.5099501609802246, -0.1064891442656517, -0.28619545698165894, 0.40436169505119324, -0.05690164491534233, 0.13181930780410767, -0.14305658638477325, 0.33923694491386414, 0.5916414856910706, 0.07680421322584152, 0.5275878310203552, 0.3596067428588867, -0.08341578394174576, -0.5136186480522156, 0.7886924743652344, 0.308703750371933, -0.3290310800075531, 0.7090399861335754, 0.23196858167648315, -0.07902459055185318, -0.393388032913208, -0.14731082320213318, 0.40457290410995483, -0.3583739399909973, -0.4870540201663971, -0.5500427484512329, -0.4697934687137604, -0.7685186862945557, -0.43253016471862793, -0.3296217620372772, -0.18235604465007782, -0.6934388875961304, -0.4322938919067383, 0.01975482888519764, 1.0941932201385498, 0.10866566747426987, 0.23239479959011078, -0.7867093086242676, 0.44634148478507996, 0.08273326605558395, 0.5242738127708435, 0.5372540354728699, -0.27099940180778503, -0.16794030368328094, 0.12994930148124695, -0.7285019755363464, -1.3931900262832642, 0.6735965013504028, 0.22993013262748718, 0.4608299136161804, 0.9353432655334473, 0.14302530884742737, 0.5129896402359009, -0.1475989818572998, 0.6396527290344238, 0.3394363820552826, -0.5927971601486206, 0.4897969663143158, -0.020604340359568596, 0.03562267869710922, 0.21863780915737152, 1.1843641996383667, -0.8897581100463867, -0.05065838247537613, -0.21307428181171417, -0.4945119619369507, 0.7662084102630615, -0.007054660003632307, 0.11419384926557541, -0.12551458179950714, 0.1903604418039322, 0.3601219356060028, 0.22821906208992004, -0.8249222040176392, -0.2974506616592407, -0.44999951124191284, -0.6049639582633972, -0.07997749745845795, -0.47832590341567993, 0.1155010238289833, -0.7903063297271729, 0.45440053939819336, 0.06257441639900208, 0.4267135560512543, 0.12099914252758026, -0.14598841965198517, -0.46956026554107666, -0.03687363117933273, 0.1848701536655426, 0.4839431941509247, -0.5681021213531494, -0.04121106117963791, -0.30611759424209595, -0.6007137298583984, -0.0005951586063019931, 0.44705256819725037, -0.17454446852207184, 0.03309589624404907, 0.501864492893219, 0.7177823781967163, 0.0961027517914772, -0.5403214693069458, 0.48448646068573, -0.19884353876113892, -0.45995795726776123, -0.11868866533041, -0.11637194454669952, 0.14739611744880676, 0.026854965835809708, 0.6529048681259155, 0.01208050362765789, 0.3351682126522064, -0.3673610985279083, 0.2846430242061615, 0.16001878678798676, -0.5108281373977661, -0.587683379650116, 0.5040737986564636, 0.2555748224258423, -0.2787225544452667, 0.8884840607643127, -0.4013572037220001, -0.6746060252189636, 0.6766558289527893, 0.4693318009376526, 1.0921789407730103, -0.6855278611183167, 0.48534518480300903, 0.35343173146247864, 0.3887670636177063, 0.18274396657943726, 0.27206069231033325, -0.19047746062278748, -0.9573707580566406, -0.053314968943595886, -0.8322345018386841, -0.11785721033811569, 0.05795837566256523, -0.7717664241790771, 0.17888331413269043, -0.2468680590391159, -0.3348158895969391, 0.4691171646118164, -0.14322572946548462, -0.781851053237915, 0.10778576880693436, 0.3894391655921936, 0.7270435094833374, -1.0434858798980713, 0.6970853209495544, 1.1916579008102417, -0.2139042317867279, -0.6196735501289368, 0.3775360882282257, -0.0845252275466919, -0.7690825462341309, 0.3920038640499115, 0.539897620677948, 0.41829022765159607, -0.11562154442071915, -0.7170135974884033, -0.826719343662262, 0.8148350119590759, -0.06648090481758118, -0.5373688340187073, -0.2885204553604126, 0.3858041763305664, 0.5843457579612732, -0.31071025133132935, 0.14064009487628937, 0.5090492963790894, 0.5701832175254822, 0.5924230217933655, -1.1735919713974, -0.006725660525262356, -0.22287213802337646, 0.1035940870642662, 0.04449324309825897, -0.3648155629634857, 0.4788604974746704, -0.3740086853504181, -0.4439186453819275, -0.375051349401474, 0.4582712948322296, -0.3256160318851471, 0.5964092016220093, 0.17950071394443512, 0.6699304580688477, 0.8231096267700195, -0.10547074675559998, 0.8439358472824097, 0.09328988939523697, 0.4036604166030884, 0.6580053567886353, -0.2915616035461426, 0.5159637331962585, 0.15068791806697845, -0.23549090325832367, 0.3694777488708496, 0.8611137270927429, -0.150519460439682, 0.7580665946006775, -0.05416131392121315, 0.2682116627693176, 0.033691227436065674, -0.0027007218450307846, -0.036008842289447784, 0.23686544597148895, 0.6793805360794067, -0.7271815538406372, -0.36569949984550476, 0.7049711346626282, 0.18547561764717102, -0.16804036498069763, -0.2809547781944275, 1.0308992862701416, -0.03109222836792469, -0.14538784325122833, 0.6274452209472656, 0.22859281301498413, 0.7001884579658508, -0.17725561559200287, -0.010389109142124653, 0.0573146678507328, 0.05310367792844772, -0.2173854410648346, -1.026469111442566, 0.6303883790969849, -0.16348755359649658, 0.022633548825979233, -0.39834263920783997, 0.8260847926139832, -0.2898060381412506, -0.9222123622894287, 0.24313600361347198, 0.224278524518013, -0.03863823786377907, 0.04583394154906273, -0.8109345436096191, 0.20468802750110626, -0.05770634859800339, -0.38096708059310913, -0.1918698102235794, 0.47469642758369446, -0.03476197272539139, 0.7518554925918579, 0.21522295475006104, -0.16178318858146667, 0.12302365154027939, -0.0120993135496974, 0.88053959608078, -0.7154538035392761, -0.5225133299827576, -0.7206781506538391, 0.11941220611333847, 0.00047898790217004716, 0.31969279050827026, 0.7493091225624084, 0.4612565338611603, 0.5708385705947876, -0.12610405683517456, 0.7484042644500732, -0.4780481457710266, 0.8083801865577698, -0.004157171584665775, 0.9610419869422913, -0.8224688768386841, 0.030534792691469193, -0.08869165927171707, -0.16465723514556885, -0.4732896089553833, 0.6205497980117798, -0.6432506442070007, 0.35592344403266907, 0.7599208950996399, 0.4389723539352417, -0.08291617035865784, 0.37782198190689087, 0.022733349353075027, 0.42770862579345703, 0.4999895691871643, 0.47901079058647156, 0.38484641909599304, -0.42320162057876587, -0.061951275914907455, -0.5271322131156921, -0.31271010637283325, -0.8000007271766663, -0.39546099305152893, -0.8296326994895935, -0.8806130886077881, -0.2535821795463562, -0.09239666163921356, 0.27784115076065063, 0.876853883266449, 0.891340970993042, -1.0501240491867065, -0.16086438298225403, 0.2561134696006775, 0.40466389060020447, -0.5139704346656799, -0.3382507562637329, 0.48966091871261597, -0.05659705027937889, -0.422830730676651, -0.09405140578746796, -0.2899380326271057, 0.10999681055545807, 0.1080758199095726, 0.03117877058684826, -0.2763599455356598, 0.10664547979831696, 0.6569316387176514, -0.07690427452325821, -0.3341359794139862, -0.07941167056560516, -0.09880387037992477, -0.19496731460094452, 0.257730096578598, 0.41524410247802734, -0.39286062121391296, 0.39375773072242737, 0.2675395905971527, 0.4840598702430725, 0.4553185999393463, 0.3003801703453064, 0.24924328923225403, -0.4637307822704315, -0.5261208415031433, 0.732748806476593, 0.37124067544937134, 0.44080352783203125, -0.4683215320110321, 0.21368558704853058, 0.30094006657600403, -0.5383219718933105, -0.8416220545768738, -0.3623920977115631, -1.0999420881271362, -0.41119736433029175, 1.1926968097686768, 0.25486063957214355, -0.6777298450469971, -0.0015077326679602265, -0.10462435334920883, 0.3109058141708374, -0.6229304075241089, 0.8411034345626831, 0.39099976420402527, -0.37040627002716064, -0.17095020413398743, -0.3855746388435364, 0.45925334095954895, -0.13227035105228424, -0.5465003848075867, -0.22753818333148956, 0.2973237633705139, 0.5880799889564514, -0.14706909656524658, 0.33511507511138916, -0.00388221419416368, 0.114909827709198, -0.4067207872867584, 0.06723733991384506, 0.00947427749633789, -0.2782154679298401, 0.061163585633039474, 0.35721373558044434, -0.5774419903755188, -0.32021284103393555 ]
http://arxiv.org/abs/2402.05547v2
http://arxiv.org/pdf/2402.05547v2
Benchmarking Large Language Models on Communicative Medical Coaching: a Novel System and Dataset
2024-02-08T10:32:06
2024-06-08T16:36:56
Hengguan Huang, Songtao Wang, Hongfu Liu, Hao Wang, Ye Wang
cs.CL
cs.CL, cs.AI
Traditional applications of natural language processing (NLP) in healthcare have predominantly focused on patient-centered services, enhancing patient interactions and care delivery, such as through medical dialogue systems. However, the potential of NLP to benefit inexperienced doctors, particularly in areas such as communicative medical coaching, remains largely unexplored. We introduce "ChatCoach", a human-AI cooperative framework designed to assist medical learners in practicing their communication skills during patient consultations. ChatCoach (Our data and code are available online: https://github.com/zerowst/Chatcoach)differentiates itself from conventional dialogue systems by offering a simulated environment where medical learners can practice dialogues with a patient agent, while a coach agent provides immediate, structured feedback. This is facilitated by our proposed Generalized Chain-of-Thought (GCoT) approach, which fosters the generation of structured feedback and enhances the utilization of external knowledge sources. Additionally, we have developed a dataset specifically for evaluating Large Language Models (LLMs) within the ChatCoach framework on communicative medical coaching tasks. Our empirical results validate the effectiveness of ChatCoach.
[ -0.154176265001297, -0.6922698616981506, 0.30672717094421387, 0.15617211163043976, -0.0988522619009018, 0.4070437550544739, -0.49064815044403076, -0.7055966854095459, 0.3328191637992859, 0.35073813796043396, -0.45427072048187256, -0.5764826536178589, -0.6228967905044556, 0.08559894561767578, -0.2620115876197815, 0.6312292218208313, 0.20311766862869263, 0.763721227645874, -0.3974405527114868, -0.28946593403816223, -0.5032774209976196, -0.7523228526115417, -1.2196934223175049, -0.6006565093994141, 0.3046613335609436, 0.508162260055542, 0.5842254757881165, 0.22156603634357452, 0.6430310606956482, 0.3600000739097595, 0.06778687983751297, 0.402192622423172, -0.2782134413719177, 0.5381022691726685, -0.10576479882001877, -0.5948562622070312, -0.46756842732429504, -0.014715958386659622, 0.42703619599342346, 1.1882638931274414, -0.6753852963447571, -0.21498331427574158, 0.0331190750002861, 0.38581234216690063, -0.352649450302124, 0.40455448627471924, -0.7023130655288696, 0.20129041373729706, 0.336324006319046, -0.25153106451034546, -0.47306933999061584, -0.45847100019454956, 0.26330509781837463, -0.5511711239814758, 0.14696526527404785, 0.2114519625902176, 0.5905981659889221, 0.26389941573143005, -0.23349754512310028, -0.5158995985984802, -0.5632351636886597, 0.7009298205375671, -0.8057926893234253, 0.28481724858283997, 0.44692814350128174, 0.6207565069198608, -0.3981073796749115, -0.6366553902626038, -0.3964782953262329, -0.45279157161712646, 0.10653113573789597, 0.3978210985660553, -0.23423276841640472, 0.29528898000717163, 0.16536688804626465, 0.24573758244514465, -0.4110180139541626, 0.484876424074173, -0.06134979799389839, 0.060692280530929565, 0.6189286708831787, 0.2945846915245056, 0.5967101454734802, 0.2748264968395233, -0.015251973643898964, -0.0819711685180664, -0.5086678862571716, -0.024716349318623543, -0.28423523902893066, 0.15565930306911469, -0.43122783303260803, 0.48054930567741394, -0.20894111692905426, 0.5596625804901123, -0.2588248550891876, -0.09919335693120956, 0.15438207983970642, -0.18155215680599213, -0.3334076702594757, -0.043706364929676056, 1.0539219379425049, 0.5889821648597717, 0.5704383254051208, -0.46950119733810425, 0.18471744656562805, 0.2202536016702652, 0.37484434247016907, -0.8104308247566223, -0.24483239650726318, 0.21489931643009186, -0.350384384393692, -0.4353262782096863, -0.32303446531295776, -0.7720354795455933, -0.4465404152870178, -0.14814338088035583, -0.19580285251140594, -0.2738872170448303, -0.06551233679056168, 0.19427098333835602, 0.07711635529994965, 0.2491941750049591, 0.4047626554965973, -0.9499372243881226, 0.8903980851173401, 0.7212551832199097, 0.8840742111206055, -0.3037935197353363, -0.05038530007004738, -0.7103931307792664, -0.08659476786851883, -0.5179855823516846, 0.8631874918937683, -0.6007813811302185, -0.6168940663337708, 0.26163792610168457, -0.07924407720565796, -0.12549792230129242, -1.1015688180923462, 0.6100649237632751, -0.024123450741171837, 0.20645006000995636, 0.21559889614582062, -0.8035236597061157, 0.3314897418022156, 0.3296002447605133, -0.5365638136863708, 0.6283850073814392, 0.030831068754196167, -0.480102002620697, 0.2461746484041214, -0.5680474638938904, -0.5229278802871704, 0.2749943733215332, -0.6762275099754333, -0.5307386517524719, 0.13817402720451355, 0.29310154914855957, 0.3906960189342499, -0.7250561714172363, 0.4424982964992523, -0.4006507694721222, -0.316218763589859, 0.2992453873157501, -0.24495287239551544, 0.7618719935417175, 0.0033344777766615152, -0.23913545906543732, 0.11793637275695801, -0.6092283725738525, 0.295914888381958, -0.09258047491312027, -0.22663035988807678, -0.21008886396884918, 0.0978441834449768, -0.19756990671157837, 0.23927292227745056, -0.5091077089309692, -0.39673173427581787, 0.4550108313560486, -0.5051246285438538, 0.3941150903701782, 0.1626434326171875, 0.18281376361846924, 0.11009535938501358, -0.460980623960495, 0.752187192440033, -0.04390614107251167, 0.29146823287010193, -0.05121392756700516, -0.7089226841926575, -0.4943055808544159, -0.40697363018989563, 0.22741812467575073, 0.41104087233543396, -0.9877164959907532, 0.33746451139450073, -0.2252936214208603, -0.5104397535324097, -0.8499926924705505, -0.09599975496530533, 0.3819974362850189, 0.6922647356987, 0.3770039677619934, -0.754039466381073, -0.44244587421417236, -0.672273576259613, -0.12218930572271347, -0.22716332972049713, -0.22092244029045105, 0.6009413599967957, 0.40567559003829956, -0.19342388212680817, 0.5426515936851501, -0.3947778344154358, -0.47189024090766907, -0.2502005398273468, 0.10661593824625015, 0.10624127089977264, 0.5042650103569031, 0.3398725688457489, -0.4698023200035095, -0.5179737210273743, 0.10247448831796646, -0.7899864315986633, -0.1659543365240097, -0.021098962053656578, 0.03268950432538986, 0.08845843374729156, 0.5300408005714417, -0.5047751665115356, 0.288554847240448, 0.8859162330627441, -0.191428080201149, 0.6648003458976746, -0.566088855266571, 0.2334383875131607, -1.173202633857727, 0.3416379392147064, -0.16304782032966614, -0.33450937271118164, -0.6175409555435181, -0.19558455049991608, -0.2641650438308716, -0.19118647277355194, -0.1499248892068863, 0.4834049940109253, -0.3092290461063385, 0.034034281969070435, -0.384174108505249, 0.16779519617557526, -0.2951943874359131, 0.44858407974243164, 0.17962807416915894, 0.6484100818634033, 0.5739572048187256, -0.3735045790672302, 0.4326700270175934, 0.3936373293399811, -0.670091450214386, 0.9894437193870544, -0.9559885263442993, 0.17277121543884277, 0.33867642283439636, 0.5008975863456726, -0.7258460521697998, -0.262039452791214, 0.1722358763217926, -0.5553484559059143, 0.11418949067592621, -0.25015291571617126, -0.47778451442718506, -0.37337663769721985, 0.07387816905975342, 0.22409500181674957, 0.40125906467437744, -0.23773221671581268, 0.3629860579967499, 0.721865713596344, -0.4927217364311218, -0.31042611598968506, -0.5140873789787292, 0.3659401834011078, 0.25124087929725647, -0.31869980692863464, 0.31607693433761597, -0.14371907711029053, -0.17894625663757324, -0.11549206078052521, 0.01648729294538498, -0.5145322680473328, 0.2750300168991089, 0.4222683310508728, 0.44798824191093445, 0.04333599656820297, 0.32696646451950073, 0.028204768896102905, -0.023791179060935974, 0.17897437512874603, -0.2665834426879883, 0.6929776668548584, 0.10440202802419662, -0.3892335593700409, -0.5316372513771057, 0.5797885060310364, 0.40142884850502014, -0.261489599943161, 0.7505785226821899, 0.1612132042646408, -0.27041521668434143, -0.22237181663513184, -0.41854918003082275, -0.2748631536960602, -0.3583391308784485, 0.43666505813598633, 0.13125814497470856, -0.824461042881012, 0.3215898871421814, -0.25665485858917236, -0.01875549927353859, 0.04386245831847191, 0.7733071446418762, -0.19744619727134705, 1.101844072341919, 0.377699077129364, -0.1449122577905655, 0.22295863926410675, -0.3092169761657715, -0.04459035396575928, -0.6491098999977112, -0.2571968138217926, -0.7088106870651245, -0.2022460550069809, -0.749640703201294, -0.6721097826957703, 0.41842979192733765, -0.29367199540138245, 0.06225552037358284, -0.10716123878955841, -0.3653474748134613, 0.3996140956878662, 0.5628451108932495, 0.06686237454414368, 0.3516479432582855, -0.24358414113521576, -0.5410391688346863, 0.05238177999854088, -0.8779513239860535, -0.18257611989974976, 0.9760287404060364, 0.1230984702706337, 0.7848585844039917, -0.06093459576368332, 0.65464186668396, 0.04333244636654854, 0.5752199292182922, -0.9226639866828918, 0.4818759858608246, -0.06241178512573242, -0.40841954946517944, -0.06274903565645218, -0.7271584272384644, -1.2154771089553833, 0.2691025137901306, -0.49439677596092224, -0.5818542838096619, -0.257699579000473, 0.025066619738936424, -0.3697834610939026, 0.1310325413942337, -0.7713699340820312, 0.650483250617981, -0.04676614701747894, -0.35608282685279846, -0.34515172243118286, -0.6631847023963928, -0.08874144405126572, 0.02130287140607834, 0.17143705487251282, -0.014502502046525478, 0.11957914382219315, 0.39241719245910645, -0.4208770990371704, 0.9176625609397888, -0.19669675827026367, -0.042046647518873215, 0.06511333584785461, -0.19958972930908203, 0.23661021888256073, 0.014135167002677917, 0.007836036384105682, 0.03763426095247269, 0.08990033715963364, -0.48615437746047974, -0.8268849849700928, 0.6204946041107178, -0.636208176612854, -0.32613345980644226, -0.3741825222969055, -0.5989403128623962, -0.8667954802513123, 0.04311927407979965, -0.048865485936403275, 0.4427638053894043, -0.5161476731300354, 0.41296136379241943, 0.21181067824363708, -0.4268784523010254, 0.17112994194030762, 0.6646581292152405, -0.19144438207149506, -0.37744441628456116, 0.5402035713195801, 0.06688753515481949, 0.350821316242218, 0.1737941950559616, 0.1442505121231079, -0.09223336726427078, -0.5517348647117615, -0.018896857276558876, 0.2687240540981293, -0.4805443584918976, -0.0806574821472168, -0.5329712629318237, -0.3352758288383484, -0.23842622339725494, 0.02664230763912201, -0.24501582980155945, -0.18780893087387085, 0.304768830537796, 0.14488114416599274, -0.1897927224636078, 0.6789785027503967, 0.21444259583950043, 0.20665064454078674, -0.6513306498527527, 0.15528367459774017, 0.2758578956127167, 0.5741351842880249, 0.10581148415803909, -0.09689296782016754, -0.47205987572669983, 0.0773538202047348, -0.27353179454803467, -0.5718323588371277, 0.4462411105632782, 0.1315367966890335, 0.6954575181007385, 0.18803170323371887, -0.005273228976875544, 0.4562283754348755, -0.7058517932891846, 0.653924822807312, 0.40509510040283203, -0.5686376690864563, 0.2401927411556244, -0.09758099168539047, 0.44047099351882935, 0.7214189767837524, 0.41623857617378235, -0.9341676831245422, -0.7859338521957397, -0.6561354398727417, -0.7656590938568115, 0.3794250190258026, 0.14611145853996277, -0.025785136967897415, -0.32078999280929565, -0.023169133812189102, -0.009673621505498886, 0.39466118812561035, -0.12987631559371948, 0.010102837346494198, 0.38938429951667786, -0.3863246738910675, -0.186691552400589, 0.14328595995903015, -0.34669873118400574, -0.270626038312912, 0.5014684796333313, -0.308671236038208, 0.5015456080436707, 0.33821702003479004, 0.012251515872776508, 0.05153428018093109, 0.24564050137996674, 0.6126112937927246, 0.4049675762653351, -0.061506785452365875, 0.06706485152244568, 0.15625984966754913, -0.6408883333206177, 0.06497497856616974, 0.048354774713516235, 0.2872714102268219, 0.2200060933828354, 0.6006171107292175, 0.5082792043685913, 0.627659022808075, -0.9162577986717224, 0.5269007086753845, -0.3922483026981354, -0.2877352833747864, -0.09204807132482529, 0.23865140974521637, 0.24464814364910126, 0.17091979086399078, -0.01412681769579649, 0.0648677796125412, 0.08906575292348862, -0.551592230796814, 0.3645825982093811, 0.4882529675960541, -0.6307008862495422, -0.2069236934185028, 0.5897394418716431, 0.5456702709197998, -0.5702797770500183, 0.5080525875091553, 0.2566247284412384, -0.22407767176628113, 0.5216396450996399, 0.37265539169311523, 0.7475336194038391, -0.20825712382793427, 0.3529125154018402, 0.19430853426456451, -0.1790224313735962, -0.07466783374547958, 0.07385487109422684, -0.13057471811771393, -0.6207289695739746, -0.5367617011070251, -0.03962871804833412, -1.1424660682678223, -0.08896468579769135, -0.7713707685470581, 0.0761493369936943, -0.2884787619113922, -0.274213582277298, 0.4786317050457001, 0.265103816986084, -0.8755412101745605, 0.24911552667617798, 0.039857517927885056, 0.9017137885093689, -0.41689446568489075, 1.2237472534179688, 0.49604809284210205, -0.29729968309402466, -0.9027479290962219, 0.1014380007982254, 0.0028076814487576485, -1.0130717754364014, 0.4307618737220764, 0.0877811536192894, -0.26346972584724426, 0.008357083424925804, -0.5679459571838379, 0.06506072729825974, 0.91365647315979, 0.35790014266967773, -0.7800869345664978, -0.2643503248691559, 0.2172495573759079, 0.9506567716598511, -0.6143567562103271, 0.6089797616004944, 0.3046315610408783, -0.15066440403461456, 0.146217480301857, -1.111742615699768, -0.2977023422718048, -0.3753122389316559, -0.2841913402080536, -0.08719107508659363, -0.5466840267181396, 0.22275328636169434, -0.19007103145122528, 0.07081783562898636, 0.2363082319498062, 0.07071197032928467, 0.11539661139249802, 0.1328071653842926, 0.4791497588157654, 0.4110937714576721, 1.2054486274719238, -0.0587858110666275, 1.3089513778686523, -0.39626622200012207, 0.35773852467536926, 1.5164132118225098, -0.5818820595741272, 0.867908239364624, 0.48249465227127075, -0.07584662735462189, 0.4730657935142517, 0.05976712703704834, 0.032832298427820206, 0.2713877260684967, 0.3937588930130005, -0.34890368580818176, -0.0841580182313919, -0.48697859048843384, -0.22544245421886444, 0.5810118317604065, 0.1956818550825119, -0.43791401386260986, 0.02432158775627613, -0.10874343663454056, 0.19996501505374908, 0.15704390406608582, -0.1451234519481659, 1.0237776041030884, 0.3380851745605469, -0.9987399578094482, 0.7532635927200317, -0.4186944365501404, 0.3794116973876953, -0.6073800921440125, -0.14841310679912567, -0.24724505841732025, 0.34860000014305115, 0.04455745220184326, -0.6167188882827759, 0.07259828597307205, 0.026259474456310272, 0.24458812177181244, -0.05258335918188095, 0.43086302280426025, -0.6613069176673889, -0.330269455909729, 0.4441865384578705, 0.5766843557357788, 0.03437008336186409, 0.15202750265598297, -0.7218248844146729, -0.06855488568544388, -0.34125298261642456, 0.1627284735441208, 0.23638057708740234, 0.3564225733280182, 0.19025114178657532, 0.9165776371955872, 0.5730427503585815, 0.45527568459510803, -0.2840658724308014, 0.5695904493331909, 0.8213079571723938, -0.61802077293396, -0.4367046654224396, -0.6630986928939819, 0.2330787479877472, -0.5112962126731873, -0.30219557881355286, 0.4834553301334381, 0.6141358613967896, 0.6439432501792908, 0.1323372721672058, 0.7242545485496521, 0.25595974922180176, 0.6783009767532349, -0.3516589105129242, 0.8416304588317871, -0.3173237144947052, -0.002589044626802206, -0.2946423888206482, -0.3101356327533722, -0.6242110133171082, 0.6413261890411377, -0.3120405673980713, -0.08536607027053833, 0.7461829781532288, 0.5416980385780334, 0.1690288931131363, 0.17978207767009735, 0.6588678359985352, 0.24307775497436523, 0.690853476524353, 0.7183863520622253, 0.6943899989128113, -0.060002487152814865, 0.24884089827537537, 0.0069884867407381535, -0.2957207262516022, -0.34819942712783813, -0.5333364605903625, -1.0786837339401245, -0.37251022458076477, -0.27056124806404114, -0.28731396794319153, 0.33402305841445923, 1.370701551437378, 0.9891831278800964, -0.7222639918327332, -0.48994478583335876, -0.08271339535713196, -0.2616134285926819, -0.436320036649704, -0.10882289707660675, 0.17793820798397064, -0.5472596883773804, -0.7695093154907227, 0.36214810609817505, 0.34867140650749207, -0.025386100634932518, -0.06005605310201645, -0.16212216019630432, -0.20400868356227875, 0.15198016166687012, 0.44754669070243835, 0.17945672571659088, -0.33314043283462524, -0.13986633718013763, 0.09488940984010696, -0.4397818446159363, 0.37225258350372314, 0.9285669326782227, -0.6760463118553162, 0.7008008360862732, -0.12293075025081635, 0.8631892800331116, 0.29830795526504517, -0.16189253330230713, 0.8698500990867615, -0.5104982256889343, 0.2062486708164215, 0.5804648995399475, 0.24410298466682434, 0.29916277527809143, 0.1638716608285904, 0.6988222599029541, 0.17070920765399933, -0.7231939435005188, -0.7784041166305542, -0.0037540097255259752, -0.9661787748336792, -0.06277868151664734, 0.8992961645126343, -0.38168901205062866, -0.03871580585837364, -0.26389068365097046, -0.5582855939865112, 0.3184768557548523, -0.2930335998535156, 1.019723892211914, 0.741579532623291, -0.0892474502325058, 0.0007575543131679296, -0.8492005467414856, 0.5280066132545471, 0.6495232582092285, -1.2223684787750244, -0.08726111054420471, 0.15697962045669556, 0.18281510472297668, -0.22256042063236237, 0.9022952318191528, -0.0008035458740778267, 0.30721724033355713, -0.12159016728401184, 0.13712134957313538, 0.19788812100887299, -0.1362178921699524, -0.12740908563137054, -0.08905251324176788, 0.02297348901629448, -0.2292378693819046 ]
http://arxiv.org/abs/2402.05545v1
http://arxiv.org/pdf/2402.05545v1
Named Entity Recognition for Address Extraction in Speech-to-Text Transcriptions Using Synthetic Data
2024-02-08T10:29:11
2024-02-08T10:29:11
Bibiána Lajčinová, Patrik Valábek, Michal Spišiak
cs.CL
cs.CL, I.2.7
This paper introduces an approach for building a Named Entity Recognition (NER) model built upon a Bidirectional Encoder Representations from Transformers (BERT) architecture, specifically utilizing the SlovakBERT model. This NER model extracts address parts from data acquired from speech-to-text transcriptions. Due to scarcity of real data, a synthetic dataset using GPT API was generated. The importance of mimicking spoken language variability in this artificial data is emphasized. The performance of our NER model, trained solely on synthetic data, is evaluated using small real test dataset.
[ -0.37008506059646606, -0.7761241793632507, 0.6368624567985535, -0.14666259288787842, -0.0564982034265995, 0.0472525954246521, -0.25410813093185425, -0.8152804374694824, 0.3959856331348419, 0.7636358737945557, -0.5223509669303894, -0.3810078203678131, -0.5073295831680298, 0.48890748620033264, -0.67554771900177, 1.0881117582321167, 0.0958249419927597, 0.14770403504371643, 0.20316089689731598, 0.17123781144618988, -0.3698935806751251, -0.7799766659736633, -0.6015785336494446, -0.0657980814576149, 0.297372043132782, 0.31011584401130676, 0.3951588571071625, 0.45771732926368713, 0.44719448685646057, 0.2960361838340759, 0.01209061685949564, 0.036677733063697815, -0.07133637368679047, 0.19348646700382233, -0.12475372850894928, -0.28226733207702637, -0.3151318430900574, -0.17778070271015167, 0.9507935047149658, 0.3624303340911865, 0.0106188440695405, 0.1675054281949997, -0.3821064233779907, 0.33139750361442566, -0.10940143465995789, 0.16853643953800201, -0.849851131439209, -0.07503952831029892, -0.3281397819519043, 0.057083651423454285, -0.5936840176582336, -0.45805180072784424, 0.6701836585998535, -0.3065050542354584, 0.5270617008209229, 0.012955265119671822, 1.063015341758728, 0.04418144002556801, -0.2799361050128937, -0.5327911376953125, -1.2119712829589844, 0.41787007451057434, -0.554780900478363, 0.6773862838745117, -0.026211371645331383, 0.5601240992546082, -0.25537383556365967, -0.8614912629127502, -0.8140330910682678, -0.15756957232952118, -0.09659375995397568, 0.013149134814739227, -0.180746391415596, -0.028209205716848373, 0.3786543309688568, 0.19816520810127258, -0.38163959980010986, -0.24485670030117035, -0.5900399684906006, -0.18337425589561462, 0.4537373483181, -0.1410631239414215, 0.5223333835601807, -0.29167410731315613, -0.5255250334739685, -0.01467955019325018, -0.6309912204742432, -0.133785679936409, 0.6256427764892578, 0.6757932305335999, 0.07423516362905502, 0.6672860383987427, -0.05251385271549225, 0.4638099670410156, 0.44493383169174194, 0.0701083242893219, 0.3393336534500122, 0.1976533830165863, -0.3417752683162689, 0.7543525695800781, 0.6063305735588074, -0.35548514127731323, 0.35028108954429626, -0.6301828026771545, -0.4945894181728363, -0.20360922813415527, 0.40322068333625793, -0.6296998262405396, -0.5572642683982849, 0.15956494212150574, -0.2910439670085907, -0.0742991641163826, 0.4118284285068512, -0.9106274843215942, 0.044709865003824234, -0.6358367204666138, 0.39870530366897583, -0.525894820690155, -0.24658069014549255, -0.31373533606529236, -0.2308323085308075, 0.3986600637435913, 0.2925276458263397, -0.8572250008583069, 0.5673911571502686, 0.6073890328407288, 0.5308265686035156, -0.2653522789478302, 0.10935820639133453, -0.3843812048435211, 0.2790559232234955, 0.06934480369091034, 0.814950704574585, -0.5739352107048035, -0.33434855937957764, -0.2082541286945343, 0.15135160088539124, -0.05881710350513458, -0.7596126198768616, 0.32398414611816406, -0.7978906035423279, 0.1541822850704193, 0.05760829523205757, -0.5724558234214783, -0.044083405286073685, 0.13053037226200104, -1.0566256046295166, 1.033128023147583, 0.26712897419929504, -0.731776237487793, 0.1181652843952179, -0.817314088344574, -0.34829145669937134, 0.21326744556427002, -0.13290633261203766, -0.38771069049835205, 0.1281101256608963, 0.18378141522407532, 0.02613440528512001, -0.3094061315059662, 0.3955354392528534, 0.17928673326969147, -0.059432175010442734, 0.4115210175514221, -0.6447646021842957, 0.674798846244812, 0.11956050992012024, -0.2946292757987976, -0.24494203925132751, -1.1806069612503052, 0.004679323174059391, 0.1741376519203186, -0.47721728682518005, -0.4659322202205658, 0.14607848227024078, 0.3636361360549927, 0.11815590411424637, 0.2839556634426117, -0.8225988149642944, 0.15703195333480835, -0.5575127005577087, 0.28003841638565063, 0.5713281631469727, 0.13508543372154236, 0.49236270785331726, 0.10282894968986511, 0.34975793957710266, 0.06939981132745743, -0.2827381491661072, 0.2788454294204712, -0.39194977283477783, -0.8754167556762695, -0.3906802237033844, 0.941798746585846, 0.730790913105011, -0.698710560798645, 0.2229028344154358, -0.6381918787956238, -0.4706886410713196, -0.6628944277763367, -0.34969428181648254, 0.1732950061559677, 0.5719811916351318, 0.4990704357624054, -0.10402150452136993, -0.9983139634132385, -1.1348598003387451, -0.0603879950940609, -0.1014290526509285, -0.17502617835998535, 0.4380652904510498, 0.4638684093952179, -0.4337095618247986, 1.229508876800537, -0.3396911323070526, 0.1157391369342804, -0.3903311491012573, 0.2505144774913788, 0.2751942276954651, 0.5183104872703552, 0.21252819895744324, -0.954940676689148, -0.4843381345272064, -0.09477471560239792, -0.38391074538230896, -0.03918684646487236, -0.029313163831830025, -0.19948939979076385, -0.017554787918925285, 0.14675502479076385, -0.8761404752731323, 0.38082629442214966, 0.34012606739997864, 0.005286989267915487, 0.7428399920463562, -0.15411825478076935, -0.20463016629219055, -1.209821343421936, -0.028762657195329666, -0.007247042376548052, -0.38566628098487854, -0.9670242071151733, -0.37290772795677185, 0.10978905856609344, -0.33974310755729675, -0.4874558746814728, 0.40934914350509644, -0.6910299062728882, -0.33604055643081665, -0.02224775031208992, 0.015616991557180882, -0.40529972314834595, 0.30596381425857544, 0.5103773474693298, 1.0443912744522095, 0.29020074009895325, -0.5844851136207581, 0.6232253313064575, 0.4512782394886017, -0.20105741918087006, 0.4524194896221161, -0.661231279373169, 0.519281268119812, -0.24337540566921234, 0.07203959673643112, -0.8521328568458557, -0.28580665588378906, 0.29789072275161743, -0.6126021146774292, 0.5400938391685486, -0.40700557827949524, -0.6665316224098206, -0.327123761177063, 0.46753910183906555, 0.3216495215892792, 0.667479932308197, -0.8193002939224243, 0.8871944546699524, 0.706335723400116, -0.43415942788124084, -0.12637920677661896, -0.6116949915885925, 0.21658927202224731, -0.2204284965991974, -0.24692407250404358, 0.7308397889137268, 0.3256544768810272, -0.06256324797868729, -0.12387211620807648, 0.011498427018523216, -0.5745350122451782, -0.3212226331233978, 0.22322168946266174, 0.5832667946815491, -0.2653779685497284, 0.2704470455646515, -0.15814442932605743, -0.22803355753421783, 0.3549453616142273, -0.3210349678993225, 0.5378323793411255, 0.09906607866287231, -0.007265195250511169, -0.5589596629142761, 0.4091551899909973, 0.4979589879512787, -0.19686095416545868, 0.521108865737915, 0.17849907279014587, -0.7349928021430969, -0.11379870027303696, -0.5404438376426697, -0.07404939830303192, -0.44182246923446655, 0.17005077004432678, -0.5308710932731628, -0.3071722984313965, 0.48644062876701355, -0.25248757004737854, -0.2847553789615631, 0.543777585029602, 0.40199747681617737, -0.027216855436563492, 0.7084081172943115, 0.5995888113975525, -0.17000168561935425, 0.4198547303676605, -0.08363159745931625, 0.5380611419677734, -0.8952191472053528, -0.2989760637283325, -0.7166407108306885, -0.19602523744106293, -0.8787814974784851, -0.11088254302740097, 0.06481906771659851, -0.48445039987564087, -0.0676906630396843, 1.112525224685669, -0.6574612855911255, 0.2984462082386017, 0.7308545708656311, 0.1568211168050766, -0.05953962728381157, 0.02944895438849926, -0.2584940195083618, -0.202745258808136, -0.25506824254989624, -0.7308624386787415, 0.8271217942237854, 0.29205748438835144, 0.5784262418746948, 0.18739362061023712, 1.023216962814331, 0.23187169432640076, 0.3202744126319885, -0.5620805025100708, 0.5168724656105042, 0.03695018216967583, -0.7342936992645264, -0.276992529630661, -0.28828904032707214, -0.7897368669509888, -0.1789105087518692, -0.02995235286653042, -0.9448139667510986, 0.5131396055221558, -0.09837506711483002, -0.23664961755275726, 0.3240326941013336, -0.616737961769104, 0.5104764699935913, -0.24097417294979095, 0.12690532207489014, 0.41397824883461, -0.660663902759552, 0.024986565113067627, -0.1600220948457718, -0.0838259905576706, 0.15334796905517578, 0.39138665795326233, 0.8151588439941406, -0.2430976778268814, 0.6178653240203857, -0.29409682750701904, -0.07883400470018387, 0.3515724539756775, -0.15384189784526825, 0.8739284873008728, 0.04834815859794617, -0.18774789571762085, 0.3797863721847534, -0.10739370435476303, 0.04918155446648598, -0.4403092563152313, 0.5467458963394165, -0.7155027985572815, -0.30853167176246643, -0.3695908486843109, -0.4333113133907318, -0.1856507807970047, 0.1364646703004837, 0.2869987487792969, 0.44768592715263367, -0.34797659516334534, 0.0006201197393238544, 0.7003132700920105, -0.2133437991142273, 0.3241792619228363, 0.38904398679733276, 0.2341606318950653, -0.6145222187042236, 0.7481550574302673, 0.19729146361351013, 0.0870363712310791, 0.6174299716949463, -0.3823981285095215, -0.48146629333496094, -0.3183320462703705, -0.5567773580551147, 0.06954916566610336, -0.3858382999897003, -0.3211403787136078, -0.7964503765106201, -0.7927021980285645, -0.4715074300765991, 0.2426256388425827, -0.5571376085281372, -0.45786911249160767, -0.46053948998451233, 0.029804974794387817, 0.238378643989563, 0.6449010372161865, 0.08763241022825241, 0.2888587713241577, -0.8052985668182373, 0.5121622085571289, 0.14948473870754242, 0.16750304400920868, -0.21702921390533447, -0.43049362301826477, -0.04875288903713226, 0.2955693006515503, -0.04666512832045555, -1.3760943412780762, 0.8090441823005676, 0.10931166261434555, 0.615021288394928, 0.1620548963546753, 0.029050426557660103, 0.7436821460723877, -1.0242483615875244, 0.55361407995224, 0.004196093883365393, -0.8629236817359924, 0.7606967091560364, -0.06995357573032379, -0.14846359193325043, 0.42061692476272583, 0.267191082239151, -0.23325347900390625, -0.1482657641172409, -0.8892672657966614, -0.8657723069190979, 0.6921589970588684, 0.28407377004623413, 0.24647723138332367, -0.28968891501426697, 0.4843442738056183, 0.15815088152885437, 0.1799776703119278, -0.7431004643440247, -0.3107091188430786, 0.10828831791877747, -0.46650978922843933, 0.219140887260437, -0.44844070076942444, 0.29283174872398376, -0.1710195541381836, 0.6302484273910522, 0.3962055742740631, 0.9479629397392273, 0.4615824222564697, -0.3011690378189087, 0.21366924047470093, 0.4894844591617584, 0.2831222712993622, 0.08860056102275848, -0.37442371249198914, 0.12445677071809769, 0.32140883803367615, -0.6038289666175842, 0.14985530078411102, 0.5114082098007202, -0.5491107702255249, 0.5959196090698242, -0.14391760528087616, 0.6695314645767212, 0.1729935109615326, -0.5764553546905518, 0.32062315940856934, 0.08425744622945786, -0.06894678622484207, -0.8233100771903992, -0.011457054875791073, -0.13817670941352844, 0.3020922839641571, 0.3607209026813507, -0.05486192926764488, 0.3667100965976715, -0.443945050239563, 0.32834067940711975, 0.3845721483230591, -0.4987744987010956, -0.4949338138103485, 0.6980137228965759, -0.05093110725283623, -0.7935894131660461, 1.0009829998016357, 0.0753602683544159, -0.7154887318611145, 0.8487728238105774, 0.9169832468032837, 1.1560406684875488, -0.3196764588356018, 0.03862910717725754, 0.4625888466835022, 0.148362934589386, -0.007481807377189398, 0.16515471041202545, -0.1103658452630043, -0.5879586935043335, -0.04236710071563721, -0.5748085975646973, -0.47776922583580017, 0.16368412971496582, -0.822493314743042, 0.4299149811267853, -0.3337319493293762, -0.23849067091941833, 0.3296346068382263, -0.2876545786857605, -0.9251938462257385, 0.3217082619667053, 0.31052201986312866, 0.7621806263923645, -0.5174878835678101, 1.067397117614746, 0.6604904532432556, -0.3931393623352051, -0.7805585265159607, 0.15383222699165344, -0.34342142939567566, -0.5369151830673218, 1.2628486156463623, 0.1523783951997757, 0.08518967777490616, 0.2198818027973175, -0.5435488820075989, -1.12295663356781, 0.8886145949363708, 0.20019060373306274, -0.7322303056716919, -0.36151933670043945, 0.36098596453666687, 0.56663978099823, -0.4828258454799652, 0.15603762865066528, 0.5036590695381165, 0.33131957054138184, 0.04378262534737587, -0.8642915487289429, -0.16049404442310333, -0.18782062828540802, 0.08481863886117935, 0.39240792393684387, -0.15035894513130188, 0.89208984375, -0.17655052244663239, -0.4542239010334015, 0.1402687132358551, 0.7359857559204102, 0.04976928234100342, 0.018890168517827988, 0.21007248759269714, 0.47130945324897766, 0.6782283186912537, -0.28137969970703125, 0.6643197536468506, -0.2753748893737793, 0.38392165303230286, 1.3159024715423584, -0.4279571771621704, 1.0881017446517944, 0.6188368797302246, -0.2181205004453659, 0.5988796949386597, 0.3504079282283783, -0.2838835120201111, 0.9195346832275391, 0.34662774205207825, -0.39271828532218933, 0.2307884246110916, 0.2720414400100708, -0.20728141069412231, 0.5482820868492126, 0.3716054856777191, -0.6364204287528992, -0.20860210061073303, -0.028617197647690773, -0.2845720052719116, -0.325997531414032, 0.10085708647966385, 1.0827529430389404, -0.2511829733848572, -0.39746102690696716, 0.2673691511154175, 0.1327223777770996, 0.3843132555484772, -0.2968577444553375, -0.34803420305252075, 0.24718241393566132, 0.010307456366717815, 0.2209426611661911, -0.3831697404384613, 0.32481279969215393, 0.2805529236793518, -0.524976909160614, -0.08741229772567749, 0.8750476241111755, -0.6775774359703064, -0.5844558477401733, 0.058231599628925323, 0.2052086740732193, 0.36617547273635864, -0.039020951837301254, -0.3135460615158081, -0.40989670157432556, -0.11115938425064087, -0.01988094300031662, 0.14532652497291565, 0.6305506825447083, 0.2552962899208069, 0.35090556740760803, 0.8617395162582397, 0.43589815497398376, 0.17173519730567932, -0.05928405001759529, 0.6849703788757324, -0.8730539679527283, -0.4940401613712311, -0.7955583930015564, 0.2982941269874573, -0.2353995442390442, -0.06974422186613083, 0.4750223159790039, 0.7890591621398926, 0.6914288401603699, -0.34807726740837097, 0.8706631660461426, -0.04464186728000641, 0.8700724840164185, -0.3504302501678467, 0.430258572101593, 0.051100604236125946, 0.2440265417098999, -0.2838827073574066, -1.033808708190918, 0.00020414982282090932, 0.6839804649353027, -0.4613235592842102, -0.218715101480484, 0.34942933917045593, 0.7171764373779297, -0.22148944437503815, 0.012056001462042332, 0.11672154068946838, 0.09563224762678146, 0.25046104192733765, 0.5752382874488831, 0.7570832967758179, -0.8448566794395447, 0.2755049467086792, -0.22084374725818634, 0.23886685073375702, -0.25960925221443176, -0.6427084803581238, -0.589690625667572, -0.60381680727005, -0.2205049991607666, -0.37749412655830383, 0.22619809210300446, 0.9901204109191895, 0.600561261177063, -1.1065922975540161, 0.20357009768486023, -0.2734715938568115, -0.14142008125782013, 0.1845615953207016, -0.28186196088790894, 0.5632494688034058, -0.05469081178307533, -1.0204726457595825, 0.34881165623664856, 0.22403143346309662, 0.6106091737747192, 0.05534050613641739, 0.06742793321609497, -0.14308953285217285, 0.17254221439361572, 0.28924664855003357, 0.43695753812789917, -0.8066827654838562, -0.4174530506134033, 0.05955164134502411, -0.2813514173030853, 0.2513536512851715, 0.5429590344429016, -0.8792781829833984, 0.3717881739139557, 0.3853830099105835, 0.7949822545051575, 0.2974625825881958, 0.25319865345954895, 0.5132516622543335, -0.6718661189079285, 0.003452182747423649, 0.27818867564201355, 0.3989187777042389, 0.28176334500312805, -0.7209392189979553, 0.2085602879524231, 0.13265889883041382, -0.3978748321533203, -0.7428601384162903, -0.004908582661300898, -1.0105664730072021, 0.31103748083114624, 1.1658328771591187, 0.08272893726825714, -0.3265042006969452, -0.24368508160114288, -0.40438345074653625, 0.45673128962516785, -0.4516191780567169, 0.7476920485496521, 0.6786612868309021, -0.1259024441242218, -0.22329670190811157, -0.7778587341308594, 0.2887796461582184, -0.16752630472183228, -0.8394786715507507, -0.007015669718384743, 0.4444727301597595, 0.5173797607421875, 0.23656553030014038, 0.3783210515975952, -0.29874780774116516, 0.1145499050617218, 0.06542910635471344, 0.30633851885795593, 0.22476652264595032, -0.5275917053222656, 0.045883189886808395, 0.09113707393407822, -0.2779781222343445, -0.35569512844085693 ]
http://arxiv.org/abs/2402.05536v1
http://arxiv.org/pdf/2402.05536v1
Empowering machine learning models with contextual knowledge for enhancing the detection of eating disorders in social media posts
2024-02-08T10:15:41
2024-02-08T10:15:41
José Alberto Benítez-Andrades, María Teresa García-Ordás, Mayra Russo, Ahmad Sakor, Luis Daniel Fernandes Rotger, Maria-Esther Vidal
cs.LG
cs.LG, cs.CL
Social networks are vital for information sharing, especially in the health sector for discussing diseases and treatments. These platforms, however, often feature posts as brief texts, posing challenges for Artificial Intelligence (AI) in understanding context. We introduce a novel hybrid approach combining community-maintained knowledge graphs (like Wikidata) with deep learning to enhance the categorization of social media posts. This method uses advanced entity recognizers and linkers (like Falcon 2.0) to connect short post entities to knowledge graphs. Knowledge graph embeddings (KGEs) and contextualized word embeddings (like BERT) are then employed to create rich, context-based representations of these posts. Our focus is on the health domain, particularly in identifying posts related to eating disorders (e.g., anorexia, bulimia) to aid healthcare providers in early diagnosis. We tested our approach on a dataset of 2,000 tweets about eating disorders, finding that merging word embeddings with knowledge graph information enhances the predictive models' reliability. This methodology aims to assist health experts in spotting patterns indicative of mental disorders, thereby improving early detection and accurate diagnosis for personalized medicine.
[ -0.08882979303598404, -1.0821565389633179, 0.5374075770378113, -0.09581656008958817, -0.3711192011833191, 0.3861207664012909, -0.05698613077402115, -0.598463773727417, 0.8954283595085144, 0.44893649220466614, -0.18409866094589233, -0.621253252029419, -0.8454324007034302, -0.16505677998065948, -0.45442789793014526, 0.7119260430335999, -0.22323989868164062, 0.2858799993991852, -0.43670639395713806, -0.3166545629501343, -0.30852022767066956, -0.35823869705200195, -0.9194088578224182, -0.303233802318573, 0.6966250538825989, 0.1429387331008911, 0.5189148187637329, 0.4600794315338135, 0.26894497871398926, 0.20692574977874756, 0.1913842260837555, 0.7296640276908875, -0.39965441823005676, 0.04990563914179802, -0.2080906182527542, -0.0433017872273922, -0.3001796007156372, -0.35455402731895447, 0.1895427107810974, 0.9721696972846985, 0.050601087510585785, 0.1105874702334404, 0.25523999333381653, 0.5088592767715454, -0.3416581153869629, 0.12445187568664551, -0.25370723009109497, 0.33851850032806396, -0.10712847113609314, -0.24356995522975922, 0.01642136462032795, -0.14610931277275085, 0.0800054743885994, -0.7343084812164307, -0.0987311452627182, -0.041739072650671005, 0.660186231136322, 0.38874176144599915, -0.8789209127426147, -0.3536998927593231, -0.6817566156387329, 0.2822619676589966, -0.51701420545578, 0.442135751247406, 0.4378150701522827, 0.3332672119140625, -0.08523139357566833, -0.7720757722854614, -0.5597062110900879, 0.22645440697669983, -0.36519381403923035, -0.3087770938873291, -0.2412819117307663, -0.10419716686010361, 0.0558883361518383, 0.15553037822246552, -0.8027348518371582, 0.16490302979946136, -0.4558151364326477, -0.21710506081581116, 0.6513779759407043, 0.12662801146507263, 0.6640163064002991, -0.2818759083747864, 0.023211808875203133, 0.20384114980697632, -0.30772292613983154, 0.09837032854557037, -0.19746266305446625, 0.14109651744365692, -0.07186306267976761, 0.6159129738807678, -0.20686273276805878, 0.5632601976394653, 0.2636047303676605, 0.03641096502542496, 0.3774077594280243, -0.2274378389120102, -0.1562502533197403, 0.10531380027532578, 0.6166889667510986, 0.782433032989502, 0.020684653893113136, -0.19003112614154816, -0.05993304401636124, 0.1883654147386551, 0.3921499252319336, -0.724226713180542, -0.5194056034088135, 0.205224871635437, -0.639580488204956, -0.20241720974445343, -0.10268742591142654, -0.5541611313819885, -1.0594056844711304, -0.28193455934524536, 0.3084127902984619, -0.6011039018630981, -0.3597638010978699, -0.14613021910190582, -0.15638135373592377, -0.0452456958591938, 0.26119863986968994, -0.6538028717041016, 0.35163620114326477, 0.6300896406173706, 0.6052663922309875, 0.01292763464152813, 0.12210458517074585, -0.356520414352417, 0.6313410401344299, -0.26876476407051086, 0.7000852823257446, -0.6023023128509521, -0.11743868142366409, -0.001306336373090744, 0.21554093062877655, -0.19813181459903717, -0.6593816876411438, 0.46156564354896545, -0.5206472873687744, -0.23896458745002747, -0.5096812844276428, -0.9892281889915466, -0.4277045428752899, 0.27034372091293335, -0.7031229734420776, 0.8029623031616211, 0.3059524595737457, -0.7056522369384766, 0.6862224340438843, -0.4386492073535919, -0.9490677118301392, 0.3906834125518799, -0.21982967853546143, -0.3575611710548401, 0.07301308214664459, 0.5642780065536499, 0.8598352670669556, 0.09900445491075516, 0.47099271416664124, -0.8268862366676331, -0.17030011117458344, 0.007728222757577896, 0.18241505324840546, 0.3490358889102936, 0.24165455996990204, -0.015168065205216408, 0.3412443995475769, -0.3989439308643341, -0.029438385739922523, 0.31360799074172974, 0.004064440261572599, -0.8439569473266602, 0.3106125295162201, -0.04027266800403595, -0.05621659755706787, 0.0654793456196785, -0.20727494359016418, 0.002188672311604023, -0.2340622842311859, 0.7064760327339172, 0.4311008155345917, 0.3150138556957245, 0.28051429986953735, -0.46243467926979065, 0.16160841286182404, 0.293826162815094, 0.04048674553632736, 0.007320526987314224, -0.6119959354400635, -0.22663311660289764, -0.19888640940189362, 0.20912779867649078, 0.5747551321983337, -1.0530829429626465, 0.8906764984130859, -0.26858240365982056, -0.33662763237953186, -0.5061784982681274, 0.308733731508255, -0.030252546072006226, 0.7358114719390869, 0.5625675916671753, -0.06275472044944763, -0.7127180695533752, -0.5823636651039124, -0.25608327984809875, 0.42053931951522827, -0.17755749821662903, 0.4302688241004944, 0.5448454022407532, -0.6552984714508057, 0.6111799478530884, -0.3057084083557129, -0.2394053041934967, -0.3935306966304779, -0.047975778579711914, -0.20051120221614838, 0.4323275685310364, 0.7310889959335327, -1.1288108825683594, -0.7172128558158875, 0.31515786051750183, -1.0098100900650024, 0.2524664103984833, 0.4843776226043701, 0.15631872415542603, -0.09519284218549728, 0.3238789141178131, -0.3201287090778351, 0.40855756402015686, 0.3022022247314453, -0.4878648817539215, 0.020887579768896103, 0.1771484762430191, 0.18759068846702576, -1.34473717212677, -0.042721543461084366, 0.3370428681373596, -0.4422532916069031, -0.5469138026237488, -0.2788064777851105, 0.05575738102197647, -0.2952459752559662, -0.06947774440050125, 0.5613609552383423, 0.0378122515976429, 0.05354030057787895, -0.13525095582008362, -0.29681941866874695, 0.06620685756206512, 0.0536680705845356, -0.06391050666570663, 0.11638125032186508, 0.5606390833854675, -0.5942175388336182, 0.3910408616065979, -0.18974712491035461, -0.3898276090621948, 0.4853072166442871, -0.4660610556602478, -0.08694243431091309, -0.29578477144241333, 0.4239046275615692, -0.9558871984481812, -0.6019256711006165, 0.5479226112365723, -0.6223481893539429, 0.16900096833705902, 0.2606494426727295, -0.655920684337616, -0.6811944842338562, -0.11289753764867783, 0.5116190910339355, 0.1870819330215454, -0.5353158116340637, 0.5485121607780457, 0.6352434158325195, 0.06285859644412994, -0.06367027759552002, -0.6700266003608704, -0.07209553569555283, -0.1823214590549469, -0.6339158415794373, 0.3802907168865204, 0.24698792397975922, -0.010189849883317947, 0.7674286961555481, -0.05305046960711479, -0.21997101604938507, 0.25744569301605225, -0.0503741055727005, -0.09232088923454285, -0.1605871170759201, 0.3066822588443756, 0.5788002014160156, 0.2999919056892395, -0.13457918167114258, -0.4429715871810913, 0.652820885181427, 0.10958775877952576, -0.05476303771138191, -0.6447661519050598, 0.650576651096344, 0.41641876101493835, -0.2558927536010742, 0.8121458292007446, 0.7723262310028076, -1.0345255136489868, -0.28889763355255127, -0.3196685314178467, -0.3992226719856262, -0.42383068799972534, 0.2263832688331604, 0.054712098091840744, -1.0170460939407349, 0.536220908164978, -0.1186029314994812, -0.4151872992515564, 0.27888941764831543, 0.21188075840473175, -0.4492391347885132, 1.123857021331787, 0.6081862449645996, -0.23042358458042145, 0.42229393124580383, -0.22964271903038025, 0.33648303151130676, -0.643320620059967, -0.30264922976493835, 0.1452152580022812, -0.575458824634552, -0.40889275074005127, -0.5082989931106567, 0.44823142886161804, -0.14005634188652039, -0.18637283146381378, 0.02402883768081665, -0.5454429388046265, 0.3283870220184326, 0.19816215336322784, 0.6869962811470032, -0.0071782805025577545, -0.016743188723921776, -0.25122103095054626, -0.09099460393190384, -0.7374597787857056, -0.39220431447029114, 1.1226372718811035, 0.2328910082578659, 0.4566907584667206, -0.18209432065486908, 0.8000239133834839, 0.7702061533927917, 0.5594995617866516, -0.8027893900871277, 0.1213981881737709, -0.34805411100387573, -0.4838712811470032, -0.04136629402637482, -0.6883942484855652, -0.8321508169174194, -0.040265291929244995, -0.3322388827800751, -0.7672370672225952, 0.05863930284976959, 0.21779528260231018, -0.5930451154708862, 0.5255329608917236, -0.7680859565734863, 1.0503016710281372, -0.4259965121746063, -0.09420706331729889, -0.19122548401355743, -0.5449279546737671, 0.39570295810699463, 0.03679310902953148, 0.30033478140830994, -0.0027039246633648872, 0.016908759251236916, 0.9911946654319763, -0.2303907424211502, 0.915195643901825, -0.15120328962802887, 0.29073566198349, 0.016855796799063683, -0.15226969122886658, 0.052456557750701904, 0.06301742792129517, 0.14556409418582916, -0.06570973992347717, -0.02218296006321907, -0.423953652381897, -0.6764319539070129, 0.672515869140625, -0.7324352264404297, -0.07742267847061157, -0.15260255336761475, -0.31469616293907166, -0.42284443974494934, 0.4598141312599182, -0.08040963113307953, 0.2372056245803833, -0.002561305882409215, 0.26828479766845703, 0.728774905204773, -0.1912548542022705, -0.031067868694663048, 0.25385820865631104, -0.19944807887077332, -0.546083390712738, 1.0636307001113892, 0.24537834525108337, -0.3750721514225006, 0.3919406533241272, 0.2562781870365143, -0.09021647274494171, -0.3509710133075714, -0.006602452602237463, 0.2788766920566559, -0.6085329055786133, -0.09334845095872879, -0.751351535320282, -0.27781161665916443, -0.8799139857292175, -0.30954328179359436, -0.22351497411727905, 0.05645904317498207, -0.5488355755805969, -0.4629426896572113, 0.18519912660121918, 0.8734558820724487, -0.07001511007547379, 0.1642744392156601, -0.7593207955360413, 0.501615583896637, 0.18943685293197632, 0.3558231294155121, 0.563298761844635, 0.04896389693021774, -0.26226407289505005, 0.11443471163511276, -0.28843095898628235, -1.0272305011749268, 0.43988266587257385, 0.10741101205348969, 0.5939509272575378, 0.8537004590034485, 0.20193754136562347, 0.5144088268280029, -0.10155376046895981, 0.39973020553588867, 0.22433996200561523, -0.5242357850074768, 0.7277914881706238, -0.23591916263103485, -0.05615212395787239, 0.5192180871963501, 1.1263039112091064, -0.7985912561416626, -0.1704607754945755, -0.3620024025440216, -0.7530927658081055, 0.18856064975261688, -0.14822061359882355, 0.04946413263678551, -0.14184434711933136, 0.4935891926288605, 0.06050289049744606, 0.24055472016334534, -0.4887560307979584, -0.2755108177661896, -0.3612392544746399, -0.46938106417655945, -0.0831136628985405, -0.11887555569410324, -0.250883013010025, -0.8653886318206787, 0.41114017367362976, -0.17453575134277344, 0.13156524300575256, 0.14494989812374115, -0.24415479600429535, -0.16962099075317383, -0.22593006491661072, 0.1777525246143341, 0.7017639875411987, -0.0964994728565216, 0.1957882195711136, -0.15298447012901306, -0.11777493357658386, -0.20937418937683105, 0.39668968319892883, -0.15782248973846436, -0.08843126893043518, 0.5243334174156189, 0.6453441977500916, 0.41658318042755127, -0.609626829624176, 0.464584082365036, -0.09407659620046616, -0.18334998190402985, -0.1792314201593399, -0.061963628977537155, 0.23568204045295715, 0.3298248052597046, 0.42713144421577454, -0.0794706642627716, 0.3464822769165039, -0.6112721562385559, 0.49797046184539795, 0.3200984299182892, -0.3768664002418518, -0.4141763746738434, 0.5900023579597473, 0.37605994939804077, -0.20791208744049072, 0.5451852679252625, -0.3991398811340332, -0.5680822730064392, 0.6349778771400452, 0.27293068170547485, 0.42597270011901855, -0.31859326362609863, 0.34491434693336487, 0.2073892205953598, 0.2088094800710678, 0.2228982299566269, 0.28128647804260254, -0.22944872081279755, -0.9253987669944763, -0.1581229418516159, -0.6476942300796509, -0.09593109786510468, 0.34919947385787964, -0.6725068688392639, 0.12001756578683853, -0.49825724959373474, -0.16708633303642273, 0.44246819615364075, 0.05669241398572922, -0.7533423900604248, 0.2203768938779831, 0.5269017815589905, 0.6067593097686768, -1.1877249479293823, 0.8584518432617188, 0.8894072771072388, -0.27669963240623474, -0.6719781160354614, 0.20437602698802948, -0.0022844457998871803, -0.7166375517845154, 0.05228593200445175, 0.5254088640213013, 0.5370060205459595, -0.13283994793891907, -0.5567488670349121, -0.7696138620376587, 0.9846712946891785, 0.04052785038948059, -0.2849445939064026, -0.17235195636749268, 0.1225733682513237, 0.6495188474655151, -0.4446839988231659, -0.22017185389995575, 0.4222322702407837, 0.600994884967804, 0.2563381493091583, -0.6926575303077698, 0.1987208127975464, -0.13992840051651, -0.020719734951853752, -0.016162261366844177, -0.3244600296020508, 0.4794340133666992, -0.3128891885280609, -0.34285321831703186, -0.20460280776023865, 0.6826794147491455, 0.07830286026000977, 0.8003939390182495, 0.40863656997680664, 0.8946607708930969, 1.2562636137008667, 0.17995211482048035, 0.9703006744384766, -0.25405412912368774, 0.24426090717315674, 0.9265949726104736, -0.45496416091918945, 0.5534321069717407, 0.18330958485603333, 0.043317556381225586, 0.5370523929595947, 1.1478052139282227, 0.01266488153487444, 0.6450561881065369, -0.024849088862538338, -0.17253009974956512, -0.2610166072845459, -0.36596521735191345, -0.3519895076751709, 0.08420141786336899, 0.8394354581832886, -0.6938877105712891, -0.2554553151130676, 0.5074349045753479, 0.14831554889678955, 0.151589035987854, -0.4628816843032837, 0.8906037211418152, 0.10441938787698746, -0.13307441771030426, 0.2691279351711273, -0.03507815673947334, 0.5968839526176453, -0.26824119687080383, -0.019015831872820854, 0.03958038613200188, 0.005340174771845341, -0.3353441655635834, -0.6923277974128723, 0.6996369957923889, -0.4520412087440491, -0.28312191367149353, -0.1333276480436325, 1.0805662870407104, -0.43744149804115295, -0.8493950963020325, 0.6133232116699219, 0.491445392370224, -0.15325845777988434, -0.035838112235069275, -0.7235243916511536, -0.03327680379152298, -0.3839026689529419, 0.048737358301877975, 0.15868039429187775, 0.5252271294593811, -0.1275489181280136, 0.4895336627960205, 0.5318289399147034, -0.10638152062892914, -0.15480861067771912, -0.2466834932565689, 1.1128188371658325, -0.3712426722049713, -0.5103967785835266, -0.7669357657432556, 0.15101377665996552, -0.25806358456611633, 0.10361025482416153, 0.5362067222595215, 0.4325126111507416, 0.8537136316299438, 0.1071481928229332, 0.8794958591461182, -0.4628496766090393, 0.5629647970199585, -0.13158313930034637, 1.0758541822433472, -1.079842448234558, -0.19689856469631195, -0.03653338924050331, -0.10444962233304977, -0.30348068475723267, 0.4166126549243927, -0.5691460371017456, 0.12792189419269562, 0.5986559987068176, 0.5279709696769714, -0.19398117065429688, -0.1040370762348175, 0.16317903995513916, 0.317181259393692, 0.13511809706687927, 0.5981936454772949, 0.5042940378189087, -0.030951276421546936, 0.0013066494138911366, -0.4470716416835785, -0.2627340853214264, -0.449929803609848, -0.33833152055740356, -0.9313780665397644, -0.6815129518508911, -0.2056533545255661, -0.18122489750385284, 0.30676132440567017, 0.7594118118286133, 0.9956222176551819, -0.7723466157913208, 0.19494953751564026, 0.21033993363380432, 0.6242936253547668, -0.4940279424190521, -0.30174848437309265, 0.3027494251728058, 0.07780247926712036, -0.24658168852329254, 0.3739103078842163, -0.05106350779533386, -0.15620629489421844, -0.12200602144002914, 0.03437409549951553, -0.3103483319282532, -0.22292329370975494, 0.612392008304596, 0.15573273599147797, -0.46358054876327515, -0.0829448401927948, -0.33951130509376526, -0.060157425701618195, -0.0366407074034214, 0.5811894536018372, -0.5757529139518738, 0.33123937249183655, 0.22562313079833984, 0.9141536355018616, 0.2588357925415039, 0.06846461445093155, 0.3243587613105774, -0.5390660166740417, -0.1410064846277237, 0.5094893574714661, 0.44624295830726624, 0.41495248675346375, -0.8115602135658264, 0.17308863997459412, 0.6242606043815613, -0.1371966451406479, -0.6235268115997314, -0.1666022390127182, -0.9402593374252319, -0.579836905002594, 1.0248172283172607, -0.038007549941539764, -0.6008504629135132, -0.03340299054980278, 0.19756361842155457, 0.3737185597419739, -0.3955504596233368, 0.8452371954917908, 0.4086446166038513, -0.3139902949333191, -0.07522083073854446, -0.488730251789093, 0.38107094168663025, 0.10955695807933807, -0.7418645620346069, -0.4645407199859619, 0.23413711786270142, 0.5738437175750732, -0.15119193494319916, 0.5692567229270935, 0.29372069239616394, 0.2571375370025635, -0.39448416233062744, -0.17489095032215118, -0.062367070466279984, -0.16948887705802917, 0.0732530727982521, 0.1235741600394249, -0.5782107710838318, -0.10488498955965042 ]
http://arxiv.org/abs/2402.05515v2
http://arxiv.org/pdf/2402.05515v2
NoisyICL: A Little Noise in Model Parameters Calibrates In-context Learning
2024-02-08T09:48:02
2024-02-15T15:25:47
Yufeng Zhao, Yoshihiro Sakai, Naoya Inoue
cs.CL
cs.CL, cs.AI
In-Context Learning (ICL) is suffering from unsatisfactory performance and under-calibration due to high prior bias and unfaithful confidence. Some previous works fine-tuned language models for better ICL performance with enormous datasets and computing costs. In this paper, we propose NoisyICL, simply perturbing the model parameters by random noises to strive for better performance and calibration. Our experiments on two models and 12 downstream datasets show that NoisyICL can help ICL produce more accurate predictions. Our further analysis indicates that NoisyICL enables the model to provide more fair predictions, and also with more faithful confidence. Therefore, we believe that NoisyICL is an effective calibration of ICL. Our experimental code is uploaded to Github.
[ -0.3411612808704376, -0.6835036277770996, 0.4357600510120392, 0.006542439106851816, -0.2794748842716217, 0.028879784047603607, -0.4033031463623047, -0.7866107821464539, -0.4702233374118805, 0.17273592948913574, -0.5268222689628601, -0.5553880929946899, -0.21237586438655853, -0.19263583421707153, -0.3755200505256653, 1.2654392719268799, 0.3622457683086395, 0.5235664248466492, 0.05012216046452522, 0.021617770195007324, -0.2211904227733612, -0.21224592626094818, -0.8204665780067444, -0.5856474041938782, 0.5905854105949402, 0.5090984106063843, 0.7612144351005554, 0.37061479687690735, 0.21216422319412231, 0.1320837438106537, -0.1968977302312851, 0.201110377907753, -0.7078723311424255, 0.1926628053188324, 0.11605256795883179, -0.3856031000614166, -0.13338975608348846, -0.09557782113552094, 0.7473952770233154, 0.9819917678833008, -0.25837451219558716, 0.34956037998199463, 0.5388339757919312, 0.6256441473960876, -0.8024081587791443, 0.19446377456188202, -0.7204275727272034, -0.03977212682366371, -0.1642364114522934, 0.07602334022521973, -0.5859942436218262, -0.2836533486843109, 0.13891741633415222, -0.6232584118843079, -0.0848698690533638, 0.2594539225101471, 0.8024836182594299, 0.7299818992614746, -0.058491144329309464, -0.24273420870304108, -1.0640876293182373, 1.0083673000335693, -1.0501190423965454, 0.5728264451026917, 0.5078456401824951, 0.22925524413585663, -0.10649127513170242, -0.8536980748176575, -0.18865114450454712, -0.33698323369026184, 0.15953092277050018, -0.029269061982631683, 0.1643708497285843, 0.10051683336496353, 0.4075911343097687, 0.06291577219963074, -0.12852756679058075, 0.1171083003282547, -0.30302664637565613, -0.16827788949012756, 0.4941176474094391, 0.05515434220433235, 0.09681988507509232, 0.6407778859138489, -0.21016331017017365, 0.0007056649192236364, -0.9431211352348328, 0.3459436893463135, 0.7705278396606445, 0.5895833373069763, -0.26148122549057007, -0.12258581817150116, -0.1092110276222229, 0.8436894416809082, 0.3812869191169739, -0.24860744178295135, 0.15146806836128235, 0.13308189809322357, -0.10418159514665604, 0.4542127847671509, 0.39021655917167664, -0.017912479117512703, 0.27943119406700134, -0.23630857467651367, -0.4966914653778076, -0.301471471786499, 0.029779164120554924, -1.0606521368026733, -0.7151374816894531, 0.19945697486400604, -0.42291200160980225, -0.4666559100151062, 0.061971571296453476, -0.3444855809211731, -0.19162824749946594, -0.6462258696556091, 0.4487795829772949, -0.3539966940879822, -0.09811583906412125, -0.004491438157856464, 0.29765069484710693, -0.18042288720607758, 0.6269965767860413, -0.8660744428634644, 0.4415532648563385, 0.45791706442832947, 0.3937227427959442, -0.0840708315372467, -0.2944687306880951, -0.6748008728027344, -0.0075992862693965435, -0.6231581568717957, 0.6707881093025208, -0.4557003974914551, -0.10888102650642395, -0.17477969825267792, -0.5889214873313904, 0.014859667047858238, -0.7282969951629639, 0.34892308712005615, -0.508799135684967, -0.146407350897789, -0.2696801424026489, -0.4824095368385315, -0.07792776823043823, 0.020200146362185478, -0.6022380590438843, 1.1331779956817627, 0.10257814079523087, -0.6336249113082886, 0.8619604706764221, -0.6218417882919312, -0.2485826164484024, 0.23003697395324707, -0.35943344235420227, -0.3979572653770447, -0.0038336014840751886, 0.05849963799118996, 0.1143660917878151, -0.144327312707901, 0.2395181506872177, -0.4904443621635437, -0.9257808327674866, 0.478674054145813, -0.8133770823478699, 0.9346542954444885, 0.5926111936569214, -0.34368443489074707, 0.03171202540397644, -0.7790510058403015, 0.27992525696754456, -0.43159210681915283, -0.4653187692165375, -0.3777807354927063, 0.25731122493743896, 0.3242148458957672, 0.09375054389238358, 0.13156090676784515, -0.4976056218147278, -0.14986680448055267, -0.7743443846702576, 0.16825583577156067, 0.6150652766227722, -0.13415738940238953, 0.417184054851532, -0.47559449076652527, 0.21665431559085846, 0.03763508051633835, 0.22773663699626923, 0.1948644071817398, -0.40805554389953613, -0.31632763147354126, -0.3751579225063324, 0.4118092954158783, 0.01215048786252737, -0.2396419495344162, -0.17279934883117676, 0.09122801572084427, -0.4013691842556, -0.6765691041946411, 0.5139205455780029, 0.492647260427475, 0.7655419707298279, 0.2883490025997162, -0.11584663391113281, -0.5270929932594299, -0.48104244470596313, -0.3562232553958893, -0.3779456615447998, -0.063316211104393, 0.45157068967819214, 0.12679219245910645, 0.1218336746096611, 0.8080300092697144, -0.048241447657346725, -0.2729850113391876, -0.028841868042945862, 0.1815309375524521, 0.10729917883872986, 0.36420994997024536, 0.7061964273452759, -0.9372568726539612, -0.9416593909263611, -0.2423287034034729, -0.3399340808391571, -0.19943749904632568, 0.26654142141342163, 0.2291869968175888, 0.14725537598133087, 0.7674005031585693, -0.028676314279437065, 0.41465288400650024, 0.4971975088119507, -0.012374465353786945, 0.4510728120803833, -0.13307954370975494, -0.21437516808509827, -0.6891395449638367, -0.02361231856048107, -0.2569393813610077, -0.255403608083725, -0.3954026699066162, 0.18505437672138214, 0.04839787259697914, 0.055022068321704865, -0.7416006326675415, 0.5027188658714294, -0.344570517539978, 0.22958776354789734, -0.30076169967651367, -0.040646862238645554, -0.3128606379032135, 0.2420656532049179, -0.17404216527938843, 0.9542504549026489, 0.740578293800354, -0.6439706683158875, -0.21698176860809326, -0.1725853830575943, -0.43664297461509705, 0.24019156396389008, -0.3034367859363556, 0.08569663017988205, -0.11452464014291763, 0.2884770929813385, -1.0502455234527588, -0.2999686300754547, 0.23407357931137085, -0.11208339035511017, 0.4146697223186493, -0.2723972201347351, -0.38594505190849304, 0.16475529968738556, -0.14514902234077454, 0.8625110387802124, 0.42956823110580444, -0.8335809111595154, 0.3495822250843048, 0.5121523141860962, 0.39199137687683105, -0.5300303101539612, -0.7896900177001953, -0.20813080668449402, -0.09282366186380386, -0.162704735994339, 0.3972524404525757, -0.7375929951667786, -0.5454070568084717, -0.1140265092253685, -0.000799807719886303, -0.2874644100666046, 0.12630526721477509, 0.5247247219085693, 0.07581096142530441, -0.4580807685852051, 0.16262264549732208, -0.2203982174396515, -0.06684276461601257, 0.07644297182559967, -0.3396260738372803, 0.4277968406677246, -0.3191526532173157, -0.3127596080303192, -0.6055390238761902, -0.09682878106832504, 0.56446373462677, 0.19780795276165009, 0.4164746403694153, 0.5049023628234863, -0.5127001404762268, -0.6425177454948425, -0.33785101771354675, -0.46998149156570435, -0.5152730345726013, 0.22692760825157166, -0.2252340316772461, -0.5661336183547974, 0.5570756196975708, -0.12517431378364563, 0.07913214713335037, 0.12665750086307526, 0.5069200396537781, -0.20449958741664886, 1.411129355430603, 0.6711148619651794, -0.33032146096229553, 0.5635378360748291, 0.028689933940768242, 0.38490334153175354, -0.6110305190086365, -0.03900536894798279, -0.5931711792945862, -0.5211575627326965, -0.5659893155097961, 0.02942153625190258, 0.22755438089370728, 0.027090609073638916, -0.6136317253112793, -0.13907510042190552, -0.47060132026672363, 0.7647729516029358, 0.5479958653450012, 0.23544788360595703, 0.2815367579460144, 0.07323059439659119, -0.23988115787506104, -0.36801230907440186, -0.6760701537132263, -0.4564354121685028, 0.9241858124732971, 0.15658019483089447, 1.338876724243164, -0.047571081668138504, 0.6522216796875, -0.0016565817641094327, 0.5688551068305969, -0.5186700820922852, 0.21003733575344086, -0.28989121317863464, -0.7380964159965515, -0.33325478434562683, -0.16015103459358215, -0.5908783674240112, -0.22793647646903992, -0.10527177155017853, -1.2702473402023315, 0.17812249064445496, 0.46827492117881775, -0.7949132323265076, 0.44315242767333984, -0.38242217898368835, 0.48772358894348145, -0.09724728763103485, -0.43120482563972473, -0.1865527629852295, -0.638619065284729, 0.28685975074768066, -0.15492531657218933, 0.2179459184408188, -0.090278260409832, 0.13869349658489227, 0.4588282108306885, -0.3882114887237549, 1.1127288341522217, -0.13417644798755646, 0.02803609147667885, 0.4807862341403961, 0.27410534024238586, 0.5263631343841553, 0.26130956411361694, -0.4116598665714264, 0.19590836763381958, 0.11418435722589493, -0.06079570949077606, -0.45055755972862244, 1.0550496578216553, -0.8948405981063843, -0.10713474452495575, -0.21162356436252594, -0.8615814447402954, -0.15972797572612762, 0.04974561184644699, 0.40794384479522705, 0.4431038200855255, 0.07880423218011856, 0.4398888647556305, 0.8253167867660522, 0.12162108719348907, 0.6153963804244995, 0.6787198781967163, -0.3430376350879669, -0.01969420351088047, 0.8496148586273193, 0.30298227071762085, 0.20809362828731537, 0.25446265935897827, 0.176491841673851, -0.048542894423007965, -0.5735334157943726, -0.3602728545665741, -0.3156896233558655, -0.644959032535553, -0.20652800798416138, -0.40721818804740906, -0.5675467848777771, -0.05540526658296585, -0.14593155682086945, -0.6830951571464539, -0.22840149700641632, -0.44682249426841736, 0.10985206812620163, -0.040980249643325806, 0.7594752907752991, 0.022904658690094948, 0.35418829321861267, -0.2156078964471817, 0.015642177313566208, 0.02996722422540188, 0.5069672465324402, 0.1348576694726944, -0.6341201066970825, -0.43352237343788147, 0.2594829499721527, -0.20249386131763458, -0.44473183155059814, 0.3285168409347534, 0.4839620888233185, 0.4029209017753601, 0.5960299372673035, 0.24609637260437012, 1.0008736848831177, -0.3812965452671051, 0.7091064453125, -0.15155336260795593, -0.8103621602058411, 0.2742622494697571, -0.030617568641901016, 0.4943103492259979, 0.9115310311317444, 0.0016823316691443324, 0.00911450944840908, -0.8387975692749023, -0.7779737114906311, -0.8091741800308228, 0.6081230044364929, -0.17222855985164642, 0.2416907548904419, 0.3016932010650635, 0.5299160480499268, 0.13252197206020355, 0.1261483132839203, -0.7496371269226074, -0.35980162024497986, 0.16410258412361145, -0.4492357075214386, 0.1469312608242035, -0.27069830894470215, 0.019362272694706917, -0.4199107885360718, 0.8469917178153992, -0.1650872826576233, -0.17805027961730957, 0.026809822767972946, -0.14420591294765472, -0.8730958104133606, -0.18754640221595764, 0.45962628722190857, 0.7777073979377747, -0.5111879706382751, 0.09194917976856232, 0.3937107026576996, -0.6801583766937256, -0.1820051074028015, -0.056576285511255264, -0.7296394109725952, -0.08079361170530319, 0.10809464007616043, 0.4724160134792328, 0.6452487707138062, -0.7747020721435547, 0.5536447763442993, -0.33128049969673157, -0.06728675961494446, -0.6060206294059753, 0.4519285261631012, -0.20416590571403503, 0.3699101507663727, 0.5907956957817078, 0.6510701179504395, 0.3062168061733246, -0.23033525049686432, 0.44420281052589417, 0.5096498131752014, -0.9323743581771851, -0.3930685818195343, 1.1016608476638794, -0.13042336702346802, -0.33404672145843506, 0.6131628751754761, -0.08869471400976181, -0.19195117056369781, 0.5266521573066711, 0.7820936441421509, 0.6735586524009705, -0.12595996260643005, -0.0957893654704094, 0.3645668923854828, 0.2011236846446991, -0.0407654345035553, 0.3405199348926544, -0.12296967208385468, -0.782351553440094, -0.5705006122589111, -0.7030428051948547, -0.6118990182876587, 0.28442907333374023, -0.5503838062286377, 0.4136221706867218, -0.7220577597618103, 0.019992854446172714, -0.08431413024663925, 0.2558495104312897, -0.6941397786140442, 0.37227198481559753, 0.2020663470029831, 0.8471980094909668, -0.6531096696853638, 1.252362847328186, 0.6989977955818176, -0.39559975266456604, -1.2737572193145752, 0.2770669162273407, 0.24791771173477173, -0.46887877583503723, 0.8685292601585388, 0.10151100158691406, -0.3578692674636841, 0.27469128370285034, -1.0848373174667358, -0.9763587117195129, 0.9038830399513245, 0.863972544670105, -0.672843873500824, 0.27471402287483215, 0.09869508445262909, 0.537233293056488, -0.6106470823287964, 0.31089702248573303, 0.08269956707954407, 0.3931715190410614, -0.03926996886730194, -0.672539234161377, -0.12321218103170395, 0.0027001393027603626, -0.27734842896461487, -0.052274011075496674, -0.6310840249061584, 1.0289146900177002, -0.3738369643688202, -0.0956251323223114, 0.22658516466617584, 0.5769050121307373, 0.17600145936012268, 0.49905848503112793, 0.5565361380577087, 0.2162283957004547, 0.958402693271637, 0.05021040141582489, 0.8801459074020386, -0.8729269504547119, 0.3328497111797333, 1.4971238374710083, -0.3366290330886841, 0.885199785232544, 0.640906810760498, 0.03845914825797081, 0.35348770022392273, 0.7759743928909302, 0.1740475744009018, 0.668788492679596, 0.07334724068641663, -0.42022767663002014, -0.39664849638938904, -0.15401312708854675, -0.08978431671857834, 0.18508780002593994, 0.33403053879737854, -0.1441250592470169, -0.3988855481147766, 0.013441983610391617, -0.12706099450588226, 0.08605321496725082, -0.21544836461544037, 0.6132078766822815, 0.1663956493139267, -0.4098339080810547, 0.33018729090690613, -0.21923252940177917, 0.41099122166633606, -0.4706781208515167, -0.21597081422805786, -0.06411247700452805, 0.5291027426719666, -0.14572972059249878, -0.38444703817367554, 0.1281534880399704, -0.38735824823379517, -0.219845712184906, -0.11364887654781342, 0.8356820344924927, -0.6563748121261597, -0.31411677598953247, 0.37716999650001526, 0.2160528004169464, 0.2677225172519684, -0.15369513630867004, -0.7917852401733398, 0.022296728566288948, 0.061498064547777176, -0.11810048669576645, 0.5190377831459045, 0.3664126694202423, 0.048791948705911636, 0.8145983815193176, 0.830931544303894, 0.23709627985954285, 0.022987497970461845, 0.3212141990661621, 0.731670081615448, -0.1255127191543579, -0.40391185879707336, -0.7654609084129333, 0.5091795921325684, 0.20717588067054749, -0.6212630271911621, 0.6128299832344055, 0.6837427020072937, 1.2185758352279663, 0.11701640486717224, 0.48566773533821106, 0.15830302238464355, 0.4290652275085449, -0.37625929713249207, 1.0312007665634155, -0.5796418190002441, 0.7304526567459106, -0.2527807652950287, -0.786115288734436, -0.6900396943092346, 0.7053753137588501, -0.11280597746372223, 0.16383813321590424, 0.48517030477523804, 1.1179536581039429, -0.3962637484073639, 0.06994760781526566, 0.7167383432388306, 0.44890689849853516, 0.041084110736846924, 0.24558643996715546, 0.7746506929397583, -0.581505298614502, 0.4356355369091034, -0.7498846054077148, 0.012159766629338264, -0.33995822072029114, -0.8590741753578186, -0.6821343898773193, -0.5235772728919983, -0.5254515409469604, -0.42577412724494934, 0.40562522411346436, 1.1298080682754517, 1.07362961769104, -1.121577262878418, -0.46867141127586365, -0.06694298982620239, 0.0204785093665123, -0.4895120859146118, -0.22389818727970123, 0.17699044942855835, -0.6961427927017212, -0.9177643060684204, 0.4999561905860901, 0.16480982303619385, -0.0991768166422844, -0.15189814567565918, -0.48845046758651733, -0.016474274918437004, 0.04678662121295929, 0.17749640345573425, 0.24101391434669495, -0.5907205939292908, -0.25352224707603455, -0.4694904685020447, -0.3475375175476074, 0.14332596957683563, 0.5806556940078735, -0.7943156957626343, 0.4628921151161194, 0.09265509992837906, 0.260569304227829, 0.5815912485122681, -0.07400783896446228, 0.4929811358451843, -0.7489607930183411, 0.47734108567237854, 0.35199370980262756, 0.21778693795204163, 0.13909900188446045, -0.6065569519996643, 0.43572667241096497, -0.21922804415225983, -0.7271415591239929, -0.9443827271461487, -0.02250068634748459, -0.5677098631858826, -0.36616042256355286, 0.9494260549545288, 0.12229632586240768, -0.26984816789627075, -0.23203659057617188, -0.28440916538238525, 0.13465799391269684, -0.6454745531082153, 0.9003483653068542, 0.6221761107444763, -0.043782010674476624, -0.02578117325901985, -0.8977102637290955, 0.9164451956748962, 0.4395146667957306, -0.10185230523347855, -0.11401388794183731, 0.3413713872432709, 0.4217919111251831, -0.10035909712314606, 0.33144327998161316, -0.12782022356987, 0.30526313185691833, -0.05687320604920387, -0.1586332470178604, 0.1667548269033432, -0.44007810950279236, -0.23899641633033752, 0.17724403738975525, 0.6365363001823425, 0.16545610129833221 ]
http://arxiv.org/abs/2402.05512v1
http://arxiv.org/pdf/2402.05512v1
GPTs Are Multilingual Annotators for Sequence Generation Tasks
2024-02-08T09:44:02
2024-02-08T09:44:02
Juhwan Choi, Eunju Lee, Kyohoon Jin, YoungBin Kim
cs.CL
cs.CL, cs.AI
Data annotation is an essential step for constructing new datasets. However, the conventional approach of data annotation through crowdsourcing is both time-consuming and expensive. In addition, the complexity of this process increases when dealing with low-resource languages owing to the difference in the language pool of crowdworkers. To address these issues, this study proposes an autonomous annotation method by utilizing large language models, which have been recently demonstrated to exhibit remarkable performance. Through our experiments, we demonstrate that the proposed method is not just cost-efficient but also applicable for low-resource language annotation. Additionally, we constructed an image captioning dataset using our approach and are committed to open this dataset for future study. We have opened our source code for further study and reproducibility.
[ -0.3797612190246582, -0.4230705499649048, 0.46198272705078125, 0.158655047416687, -0.6090511679649353, 0.0980825126171112, -0.36407777667045593, -0.4677562415599823, 0.05823942646384239, 0.5044996738433838, -0.5175656080245972, -0.2842565178871155, -0.6142706871032715, 0.39754965901374817, -0.30817556381225586, 0.9726102352142334, -0.17331591248512268, -0.19294758141040802, 0.25295108556747437, -0.2562687397003174, -0.2081986516714096, -0.47051483392715454, -0.6956045627593994, 0.12096735090017319, 0.40172991156578064, 0.2912985682487488, 0.910740315914154, 1.078285813331604, 0.384037047624588, 0.4023730158805847, 0.3801819682121277, 0.3865777552127838, -0.053948983550071716, 0.09301798790693283, -0.025893719866871834, 0.05348069593310356, -0.05587293207645416, 0.13335654139518738, 0.7428910136222839, 0.44006791710853577, 0.16695204377174377, 0.2916083037853241, -0.20052358508110046, 0.5967634320259094, -0.22451923787593842, 0.6114270687103271, -0.7613744735717773, 0.03330761194229126, -0.4159008860588074, -0.06122247129678726, -0.3330369293689728, -0.5426024794578552, 0.0016831548418849707, -0.7282609343528748, 0.4148463010787964, -0.13561907410621643, 0.6880285143852234, 0.33473554253578186, 0.009084654971957207, -0.2254536896944046, -0.5665144324302673, 0.5344981551170349, -0.6704457998275757, 0.0557633601129055, 0.2960060238838196, 0.4350948929786682, 0.11597415059804916, -0.6034055948257446, -0.8683608174324036, -0.31917300820350647, -0.4594479501247406, -0.2392844557762146, 0.3570070266723633, -0.2391267865896225, 0.4260216951370239, 0.43367961049079895, -0.628960132598877, 0.06715042889118195, -0.35570964217185974, -0.19290418922901154, 0.9773347973823547, 0.043419040739536285, 0.3711989223957062, -0.4961407780647278, -0.20669683814048767, -0.04422875866293907, -0.6543734669685364, -0.3557187020778656, 0.4125058650970459, 0.8435494303703308, -0.29037004709243774, 0.7641633749008179, -0.3281295597553253, 0.7136122584342957, -0.13379737734794617, 0.026119021698832512, 0.33121171593666077, -0.20059597492218018, -0.2730373442173004, -0.24834947288036346, 1.2151095867156982, -0.056912586092948914, 0.6817987561225891, -0.3508059084415436, -0.19021852314472198, -0.26881441473960876, -0.1979205161333084, -0.8113380670547485, -0.5470174551010132, 0.10530740767717361, -0.14049096405506134, -0.1961837112903595, 0.23061875998973846, -0.809573769569397, -0.563259482383728, -0.4063284397125244, 0.2191469818353653, -0.30803531408309937, -0.27783963084220886, -0.3120959401130676, 0.2548883259296417, 0.06492525339126587, 0.43512219190597534, -0.8987457752227783, -0.06996037811040878, 0.3860069811344147, 1.3014421463012695, 0.12092261761426926, -0.4220997989177704, -0.7596834301948547, 0.21552883088588715, -0.21057651937007904, 0.706642210483551, -0.5436978936195374, -0.429958313703537, -0.07186812162399292, 0.26722800731658936, -0.04478927329182625, -0.1384371519088745, 0.047144073992967606, -0.5882770419120789, 0.16498948633670807, -0.22964918613433838, -0.457069993019104, -0.14244799315929413, -0.2197464108467102, -1.0584803819656372, 0.8909806609153748, 0.09723098576068878, -0.6696146130561829, 0.49388206005096436, -1.005785346031189, -0.5493906140327454, 0.8157151341438293, -0.5497626662254333, -0.4344261586666107, -0.19934192299842834, 0.6433616280555725, 0.8408071398735046, -0.10062864422798157, 0.4023117423057556, 0.05606803670525551, -0.15910322964191437, 0.22894831001758575, -0.30363282561302185, 0.4824088513851166, 0.23888614773750305, -0.6530539989471436, 0.11681564152240753, -0.4693761467933655, 0.06646351516246796, 0.33850014209747314, -0.3189869225025177, -0.02588159590959549, 0.025672253221273422, 0.26362448930740356, 0.33127087354660034, -0.048591550439596176, -0.4310756325721741, 0.7005211710929871, -0.11153577268123627, 0.666627049446106, 0.8186004757881165, 0.0624210387468338, 0.2932521402835846, 0.030556432902812958, 0.4942988157272339, -0.2168809473514557, -0.0206037238240242, -0.48552340269088745, -0.734590470790863, -0.30885905027389526, -0.6565689444541931, 0.3989768326282501, 0.543308675289154, -1.2509263753890991, 0.2987561821937561, -0.4367690980434418, -0.4950288236141205, -0.7173217535018921, 0.3173818290233612, 0.4453154504299164, 0.30868133902549744, 0.3343054950237274, -0.36931440234184265, -0.448679119348526, -0.8487581610679626, 0.18995732069015503, -0.13874082267284393, 0.022314919158816338, 0.18959985673427582, 0.4968428611755371, 0.04553717374801636, 0.9248053431510925, -0.3827875554561615, -0.17109601199626923, -0.07452662289142609, 0.4821193218231201, 0.050673436373472214, 0.6728160977363586, 0.4567379653453827, -0.7605105042457581, -0.5307576060295105, 0.19143818318843842, -0.6750618815422058, -0.03488015756011009, -0.3351043164730072, -0.08742615580558777, 0.5517427921295166, 0.42646822333335876, -0.5861356854438782, 0.3099420666694641, 0.657058596611023, -0.10096165537834167, 0.40387266874313354, -0.06653161346912384, 0.3774024248123169, -0.9714730381965637, 0.2580713927745819, 0.15977630019187927, -0.37162020802497864, -0.310258150100708, -0.0733838751912117, -0.041355594992637634, -0.34738078713417053, -0.4125065207481384, 0.6278064250946045, -0.7997738122940063, -0.1362268477678299, -0.23647889494895935, 0.1629227250814438, -0.31031909584999084, 0.38339805603027344, 0.4838109314441681, 1.0779513120651245, 0.5782455801963806, -0.21611689031124115, 0.6202977895736694, 0.2693832218647003, -0.4745806157588959, 0.1312488168478012, -0.5695493221282959, 0.34891277551651, -0.05877136066555977, 0.20136307179927826, -1.1160926818847656, -0.6117045283317566, 0.35298845171928406, -0.35278722643852234, 0.1524081975221634, -0.5839090943336487, -0.9788346290588379, -0.6495031118392944, 0.061357419937849045, 0.3882809281349182, 0.43125832080841064, -0.7334913611412048, 0.1373554766178131, 0.35060080885887146, -0.5241528749465942, -0.2697583734989166, -0.8406426906585693, 0.22863535583019257, -0.2292112112045288, -0.5031481385231018, -0.2048923224210739, 0.22733169794082642, -0.0069056665524840355, -0.22430863976478577, 0.5844019055366516, -0.1014331504702568, -0.23860016465187073, 0.3412906527519226, 0.2531808018684387, -0.11664845794439316, 0.4550388753414154, -0.2646501362323761, -0.31467297673225403, -0.38009706139564514, -0.5009605288505554, 0.48031169176101685, -0.19458608329296112, -0.5077453851699829, -0.5276288390159607, 0.6505504250526428, 0.3970167338848114, -0.6916312575340271, 0.5472783446311951, 0.678941547870636, -0.4293340742588043, -0.0188694279640913, -0.75033038854599, 0.04161102697253227, -0.5031259655952454, 0.4332720935344696, -0.2886768877506256, -1.0173428058624268, 0.545412003993988, 0.2066003531217575, -0.03914942219853401, 0.45789939165115356, 0.7236071825027466, 0.3814549744129181, 0.7613686323165894, 0.3111022710800171, -0.49181708693504333, 0.30973395705223083, -0.03960184380412102, 0.153108611702919, -0.34832119941711426, 0.27615323662757874, -0.3707701563835144, -0.10016743093729019, -0.7994056940078735, -0.8160508871078491, 0.2138950526714325, -0.10032209008932114, -0.2867063879966736, 0.3535322844982147, -0.8795833587646484, 0.598599910736084, 0.7114118933677673, -0.10835825651884079, 0.37980949878692627, 0.14536815881729126, 0.2821725606918335, -0.03381749242544174, -0.46625927090644836, -0.8288097977638245, 1.0864437818527222, 0.09296228736639023, 0.5138396620750427, 0.09952301532030106, 0.6648245453834534, 0.3001176118850708, 0.6993428468704224, -0.4378381371498108, 0.5866310596466064, -0.1314568966627121, -0.5448576211929321, -0.8382381796836853, -0.3976156413555145, -0.8072755336761475, 0.06929091364145279, -0.04843362048268318, -0.8801804780960083, -0.133586123585701, 0.21340501308441162, -0.5295988917350769, 0.5051540732383728, -0.9289456605911255, 0.8399096131324768, -0.203802689909935, -0.3806442320346832, 0.35942912101745605, -0.7000592350959778, 0.22069264948368073, -0.2142116129398346, 0.3381953239440918, -0.14678411185741425, 0.11696166545152664, 0.6864219307899475, -0.5833735466003418, 0.8983378410339355, -0.63957279920578, -0.09475544840097427, 0.7560229301452637, -0.02274993807077408, 0.8666857481002808, 0.25208553671836853, 0.05007784441113472, 0.041837725788354874, -0.4775543510913849, -0.3556322455406189, -0.19867092370986938, 0.6946977376937866, -0.47275522351264954, -0.43745157122612, -0.21239963173866272, -0.7226433753967285, -0.046116411685943604, 0.13246014714241028, -0.02556324563920498, 0.3056865632534027, 0.28394815325737, -0.3625425398349762, 0.11163872480392456, -0.19346588850021362, 0.9829617738723755, 0.31959056854248047, -0.11547241359949112, -0.6482514142990112, 0.8244733214378357, 0.26654747128486633, 0.13217824697494507, 0.05479453131556511, 0.023681042715907097, -0.3309776484966278, -0.5649750232696533, -1.1842116117477417, 0.2575574219226837, -0.44746705889701843, -0.31711435317993164, -0.5011174082756042, 0.13519340753555298, -0.48431745171546936, -0.23384027183055878, -0.3449925184249878, -0.46277883648872375, 0.14854486286640167, -0.3247583210468292, 0.9278478622436523, 0.8304418325424194, -0.1393306404352188, 0.361488938331604, -0.8904933929443359, 0.26398202776908875, 0.5826839804649353, 0.473903626203537, 0.04840583726763725, -0.03011823631823063, -0.32827630639076233, -0.09585133194923401, 0.019516725093126297, -0.9036553502082825, 0.4800339937210083, 0.13192729651927948, 0.3582201898097992, 0.20059752464294434, -0.19200170040130615, 0.8005749583244324, -0.6200776696205139, 0.9417588114738464, -0.0018256974872201681, -1.1552761793136597, 0.5943624973297119, -0.7347590923309326, 0.20378819108009338, 0.5004580020904541, 0.21855098009109497, -0.4629191756248474, -0.4236913025379181, -0.4918341338634491, -1.037029504776001, 0.585153341293335, 0.2734428644180298, 0.16310833394527435, -0.3007030487060547, 0.47581717371940613, 0.3689778447151184, 0.28329575061798096, -0.9162389636039734, -0.04888413846492767, -0.161420539021492, -0.11584170162677765, -0.2962225079536438, 0.027659427374601364, -0.026807917281985283, -0.17794178426265717, 0.6841234564781189, -0.507845401763916, 0.21354344487190247, 0.3094484806060791, -0.04688042774796486, -0.3356974124908447, 0.10745768994092941, 0.48386234045028687, 0.43703803420066833, 0.17249339818954468, -0.1407652646303177, -0.06118178367614746, -0.4657173454761505, 0.15900197625160217, 0.6662397384643555, -0.20185378193855286, 0.20188485085964203, 0.3668007552623749, 0.7335715889930725, -0.3093701899051666, -0.6313136219978333, 0.5558610558509827, 0.35524681210517883, 0.035685960203409195, -0.2973773777484894, -0.46033307909965515, 0.14996090531349182, 0.3475674092769623, 0.6090953946113586, -0.37063804268836975, -0.08765748888254166, -0.19040724635124207, 0.33752673864364624, 0.3714829683303833, -0.0441921204328537, -0.16737394034862518, 0.6818270087242126, 0.3434748649597168, -0.060024600476026535, 0.7499346733093262, -0.5820786952972412, -0.35756173729896545, 0.5243449211120605, 0.12090329080820084, 0.9721887707710266, -0.3645537495613098, 0.351578950881958, 0.426487535238266, 0.4695792496204376, -0.2525573670864105, 0.17419584095478058, -0.019993236288428307, -0.31786414980888367, -1.0201934576034546, -0.46110832691192627, -0.2611429691314697, 0.1391248255968094, -0.4489558935165405, 0.11051812022924423, -0.18948067724704742, 0.07478661090135574, 0.02078779973089695, -0.11389317363500595, -0.8956295251846313, 0.4534997344017029, 0.4694661796092987, 0.48469024896621704, -1.0738005638122559, 0.9496777653694153, 0.7880693078041077, -0.6456117033958435, -0.9532138705253601, -0.17652365565299988, -0.11372405290603638, -0.9136013388633728, 0.7182952761650085, 0.26951977610588074, 0.1699157953262329, -0.05265951529145241, -0.5947174429893494, -0.8527337908744812, 1.148299217224121, 0.25954267382621765, -0.7657096982002258, 0.014137315563857555, 0.41842591762542725, 0.4962945282459259, -0.43194466829299927, 0.09469040483236313, 0.25090324878692627, 0.7482907772064209, 0.048909928649663925, -1.1859105825424194, 0.3176719546318054, -0.34346193075180054, 0.01979047805070877, 0.27066323161125183, -0.5959389805793762, 0.8846386671066284, -0.4059785008430481, -0.30435848236083984, 0.24591335654258728, 0.7007218599319458, 0.16934868693351746, -0.018806157633662224, 0.4800172746181488, 0.3524324893951416, 0.7550852298736572, -0.25050580501556396, 1.0734390020370483, -0.17066210508346558, 0.5314554572105408, 1.2634392976760864, -0.2860172390937805, 0.6746033430099487, 0.5298020839691162, -0.3676433563232422, 0.24354837834835052, 0.5135378241539001, -0.3585854768753052, 0.4803812801837921, 0.6750996112823486, -0.28126364946365356, -0.2385767698287964, 0.16989083588123322, -0.2514401972293854, 0.24457529187202454, 0.13783639669418335, -0.6592744588851929, -0.19233912229537964, 0.1444479525089264, 0.17738530039787292, 0.11883751302957535, -0.41261300444602966, 0.759992241859436, -0.2424091100692749, -0.583641529083252, 0.3676612079143524, -0.13615408539772034, 0.6149521470069885, -0.3819405436515808, -0.011175550520420074, -0.043356217443943024, -0.12336471676826477, -0.169268399477005, -0.7679150104522705, 0.3099590837955475, 0.3035350739955902, 0.003329690545797348, -0.05056997016072273, 0.35939863324165344, -0.4860941469669342, -0.7566774487495422, -0.09466671943664551, 0.7225262522697449, 0.2087128758430481, -0.29220059514045715, -0.48022615909576416, -0.1486518383026123, -0.015679024159908295, -0.3679223656654358, -0.0505635030567646, 0.6572473645210266, -0.3352747857570648, 0.5128706097602844, 0.5956133604049683, 0.13118582963943481, 0.245873361825943, 0.17911779880523682, 0.7777037024497986, -0.6544234752655029, -0.5122778415679932, -0.9812874794006348, 0.8209534287452698, -0.12062156945466995, -0.21684645116329193, 0.6422904133796692, 0.5736753344535828, 0.9265615344047546, -0.4561254680156708, 1.4837117195129395, -0.3497691750526428, 0.4873112142086029, -0.48493486642837524, 0.7595378160476685, -0.04009630158543587, -0.09335678070783615, -0.5502767562866211, -0.6514953970909119, -0.5063360333442688, 0.5680103898048401, -0.554040789604187, 0.2052503526210785, 0.3514881432056427, 0.740664005279541, 0.18735437095165253, 0.11203671991825104, -0.01095628272742033, -0.005264298524707556, 0.43963655829429626, 0.5653417706489563, 0.5806179046630859, -0.2822525203227997, 0.3902703523635864, -0.48908063769340515, -0.16090281307697296, 0.2910926043987274, -1.0945994853973389, -0.946242094039917, -0.8088686466217041, -0.6779652237892151, -0.0892949178814888, 0.12691889703273773, 1.0447990894317627, 0.8861415386199951, -0.906409740447998, -0.04884810373187065, -0.11597343534231186, -0.37391918897628784, -0.05768483132123947, -0.2237265557050705, 0.7248775362968445, -0.2706572115421295, -0.90976881980896, 0.09198139607906342, 0.12950994074344635, 0.32928743958473206, -0.41856443881988525, 0.1083708107471466, -0.19044119119644165, -0.28700512647628784, 0.3916551470756531, 0.40347445011138916, -0.6867013573646545, -0.6150286793708801, -0.5111191272735596, -0.05414702370762825, 0.014176098629832268, 0.7797552347183228, -0.7396160364151001, 0.4654730260372162, 0.14022338390350342, 0.560767412185669, 0.34832486510276794, 0.29778414964675903, 0.4681076109409332, -1.021018624305725, 0.4603956937789917, 0.12141817063093185, 0.34784185886383057, 0.8155418038368225, -0.411834180355072, 0.7107865214347839, 0.1905594915151596, -0.6341539621353149, -0.6790462732315063, 0.1385466605424881, -0.8663787245750427, 0.22751949727535248, 1.1865601539611816, -0.35805532336235046, -0.013031063601374626, 0.015817176550626755, -0.3243570625782013, 0.28684118390083313, -0.518477201461792, 0.8500480651855469, 0.5913536548614502, 0.0722266361117363, -0.27118125557899475, -0.6065354347229004, 0.5706509947776794, -0.0843951404094696, -0.9165146946907043, 0.34824812412261963, 0.6097589731216431, 0.08254554122686386, 0.31753283739089966, 0.7232208251953125, -0.274059534072876, 0.04395085945725441, -0.23073381185531616, 0.4776264429092407, -0.32258811593055725, 0.10978043079376221, -0.16726456582546234, 0.23333029448986053, 0.11338011920452118, -0.4157567322254181 ]
http://arxiv.org/abs/2402.05467v1
http://arxiv.org/pdf/2402.05467v1
Rapid Optimization for Jailbreaking LLMs via Subconscious Exploitation and Echopraxia
2024-02-08T07:56:49
2024-02-08T07:56:49
Guangyu Shen, Siyuan Cheng, Kaiyuan Zhang, Guanhong Tao, Shengwei An, Lu Yan, Zhuo Zhang, Shiqing Ma, Xiangyu Zhang
cs.AI
cs.AI, cs.CL, cs.CR
Large Language Models (LLMs) have become prevalent across diverse sectors, transforming human life with their extraordinary reasoning and comprehension abilities. As they find increased use in sensitive tasks, safety concerns have gained widespread attention. Extensive efforts have been dedicated to aligning LLMs with human moral principles to ensure their safe deployment. Despite their potential, recent research indicates aligned LLMs are prone to specialized jailbreaking prompts that bypass safety measures to elicit violent and harmful content. The intrinsic discrete nature and substantial scale of contemporary LLMs pose significant challenges in automatically generating diverse, efficient, and potent jailbreaking prompts, representing a continuous obstacle. In this paper, we introduce RIPPLE (Rapid Optimization via Subconscious Exploitation and Echopraxia), a novel optimization-based method inspired by two psychological concepts: subconsciousness and echopraxia, which describe the processes of the mind that occur without conscious awareness and the involuntary mimicry of actions, respectively. Evaluations across 6 open-source LLMs and 4 commercial LLM APIs show RIPPLE achieves an average Attack Success Rate of 91.5\%, outperforming five current methods by up to 47.0\% with an 8x reduction in overhead. Furthermore, it displays significant transferability and stealth, successfully evading established detection mechanisms. The code of our work is available at \url{https://github.com/SolidShen/RIPPLE_official/tree/official}
[ -0.6693761944770813, -1.0429788827896118, 0.6580960750579834, 0.5096040964126587, -0.3618110418319702, 0.25531983375549316, -0.2724882960319519, -0.44450607895851135, 0.1186630055308342, 0.6636596918106079, -0.79278963804245, -0.34153684973716736, -0.6290286183357239, 0.03641931340098381, -0.2795202434062958, 0.6977447867393494, -0.09881643950939178, -0.16694222390651703, 0.2980591654777527, -0.06022009998559952, -0.6128925681114197, -0.48172643780708313, -0.41672125458717346, -0.05291454493999481, 0.32817453145980835, 0.413686066865921, 0.4439195394515991, 0.5862613320350647, 0.5141493678092957, 0.27160096168518066, -0.010839920490980148, 0.2743329703807831, -0.7969747185707092, 0.150829017162323, -0.06050732359290123, -0.20065683126449585, 0.07749667763710022, -0.14184848964214325, 0.4400743246078491, 0.4326191544532776, -0.26087966561317444, -0.017240026965737343, 0.1587209701538086, 0.6746245622634888, -0.859767496585846, -0.19148530066013336, -0.7935221791267395, 0.20209527015686035, -0.12300892174243927, -0.1082831546664238, -0.3279114365577698, -0.49577897787094116, -0.26147159934043884, -0.4459662437438965, -0.19253548979759216, 0.3333672285079956, 0.5574883222579956, 0.26241031289100647, -0.060789596289396286, -0.4107932150363922, -0.5962598323822021, 0.8399379253387451, -0.33976835012435913, 0.3995630741119385, 0.2065868079662323, 0.0757492259144783, -0.38347721099853516, -0.47282934188842773, -0.5475015044212341, -0.41502875089645386, 0.24864651262760162, -0.16533711552619934, -0.42498812079429626, 0.2728368043899536, 0.28607818484306335, 0.13248027861118317, -0.3279823958873749, 0.343919962644577, -0.004770137369632721, -0.3152853548526764, 0.42818138003349304, 0.40849459171295166, 0.27029234170913696, -0.1005188375711441, -0.5504173636436462, -0.19009460508823395, -0.4298766553401947, 0.2521046996116638, 0.43266862630844116, 0.445452481508255, -0.3003978729248047, 0.632495641708374, 0.12163623422384262, 0.5947054028511047, 0.17205725610256195, -0.2501598596572876, 0.09958197176456451, 0.032933685928583145, 0.06029736250638962, 0.015919560566544533, 0.9076130986213684, 0.3836266100406647, 0.16772501170635223, -0.12794430553913116, -0.6091822981834412, 0.009529147297143936, 0.4703706204891205, -0.6759922504425049, 0.49016043543815613, 0.540303647518158, -0.5433447957038879, -0.5582676529884338, -0.11395449191331863, -0.821079432964325, -0.7983543872833252, -0.11618703603744507, 0.27968618273735046, -0.6166293621063232, -0.13428820669651031, 0.18154427409172058, -0.09724867343902588, 0.329875648021698, -0.07761800289154053, -0.9237858653068542, 0.33654069900512695, 1.0357717275619507, 1.057818055152893, -0.05784224718809128, -0.22254769504070282, -0.5239277482032776, -0.11080820113420486, -0.38229888677597046, 0.6268176436424255, -0.3473763167858124, -0.9314696192741394, -0.009644263423979282, -0.48691046237945557, 0.06376636773347855, -0.4922555387020111, 0.732234001159668, -0.41697928309440613, -0.4146782457828522, -0.08365777134895325, -0.46222037076950073, 0.10596632212400436, 0.3508530855178833, -0.4816039204597473, 0.5886370539665222, 0.06434223800897598, -0.6024448275566101, 0.06283234059810638, -0.5192736387252808, -0.45020973682403564, -0.11447054147720337, -0.00826108269393444, -0.41183754801750183, 0.3226604163646698, 0.21744942665100098, 0.13213707506656647, -0.28762292861938477, 0.2854364812374115, -0.46546652913093567, -0.48992136120796204, 0.46703630685806274, -0.29321813583374023, 0.7369976043701172, 0.5909114480018616, -0.46144163608551025, 0.039236776530742645, -0.5277836322784424, -0.04908566549420357, 0.0776195153594017, -0.11500734090805054, -0.4012591242790222, 0.003497628029435873, 0.037635840475559235, -0.027414565905928612, 0.3363010585308075, -0.6369059085845947, 0.2673017978668213, -0.3739272952079773, 0.2544536590576172, 1.1829400062561035, 0.2793368697166443, 0.3177938163280487, -0.1650380641222, 0.518609881401062, -0.39335235953330994, 0.6726484298706055, -0.02728138491511345, -0.17904402315616608, -0.43917879462242126, -0.6351374983787537, -0.28801989555358887, 0.8146777153015137, -0.24609717726707458, 0.684404730796814, 0.140961155295372, -0.5291166305541992, -0.36691972613334656, 0.4223526120185852, 0.6217471361160278, 0.645117461681366, 0.21686412394046783, -0.3050224483013153, -0.9005205035209656, -0.8949166536331177, -0.7122615575790405, -0.07811108976602554, -0.013180403038859367, 0.4237572252750397, 0.12085189670324326, -0.6626454591751099, 0.9148790240287781, -0.5353806614875793, -0.41354408860206604, -0.39670950174331665, 0.055794887244701385, 0.5871554613113403, 0.4990578293800354, 0.27654731273651123, -0.4701502025127411, -0.21754519641399384, -0.20353178679943085, -0.91342693567276, -0.32074689865112305, -0.47679048776626587, -0.2655351161956787, -0.08347538113594055, 0.5299190282821655, -0.7873815894126892, 0.13409538567066193, 0.2905326187610626, -0.18481194972991943, 0.8285264372825623, -0.037124138325452805, -0.2062261551618576, -0.7869108319282532, -0.007848446257412434, 0.087696872651577, 0.09096674621105194, -0.5929964184761047, 0.328844279050827, 0.1401759386062622, -0.31606659293174744, -0.5373057126998901, 0.6585655808448792, -0.5078047513961792, 0.17913419008255005, -0.3464590609073639, 0.14690199494361877, -0.5160227417945862, 0.5406134128570557, -0.22611534595489502, 0.6343035697937012, 0.6075924634933472, -0.3492843210697174, 0.12422864884138107, 0.1741379201412201, -0.35434862971305847, 0.2668501138687134, -0.5187109708786011, 0.29566311836242676, 0.003417889354750514, 0.12754443287849426, -0.4744252562522888, -0.051993321627378464, 0.2940663695335388, -0.23947133123874664, 0.06527376919984818, -0.017786363139748573, -0.32473793625831604, -0.46123743057250977, -0.6654022336006165, 0.24249093234539032, 0.84860759973526, -0.5774232149124146, 0.7489476203918457, 0.5241751074790955, -0.006702851969748735, -0.8597866892814636, -0.3731517195701599, 0.3546627163887024, -0.3461495637893677, -0.44504961371421814, 0.06004159152507782, 0.0016182997496798635, -0.7087830901145935, -0.4253716468811035, -0.25322726368904114, 0.2711276412010193, 0.15010087192058563, 0.4870624542236328, 0.48502790927886963, 0.2582133710384369, -0.35443320870399475, 0.04463396966457367, -0.2156650274991989, 0.15980835258960724, -0.374550461769104, 0.6456068754196167, -0.33998164534568787, -0.25071656703948975, -0.49483680725097656, 0.36969518661499023, 0.5271109342575073, -0.01450109202414751, 0.5952287316322327, 0.43944627046585083, -0.12724430859088898, -0.43412721157073975, -0.8152374625205994, -0.33011072874069214, -0.628331184387207, 0.2607574760913849, -0.38485702872276306, -1.0184104442596436, 0.5623331069946289, -0.2247805893421173, 0.04604417085647583, -0.38060739636421204, 0.6426271796226501, -0.031899888068437576, 1.0058835744857788, 0.7493780851364136, -0.4648846983909607, 0.6779667735099792, -0.19123475253582, 0.5610772967338562, -0.8699041604995728, -0.18427082896232605, -0.424216628074646, -0.196640282869339, -0.5718250274658203, -0.5301215052604675, 0.478202223777771, 0.2709697186946869, -0.4342253804206848, 0.1803027242422104, -0.5140334963798523, 0.5131622552871704, 0.36109814047813416, 0.10923399031162262, 0.08598117530345917, 0.0005713598220609128, -0.3621216416358948, 0.15002964437007904, -0.26869645714759827, -0.43023863434791565, 1.1443136930465698, 0.3982847034931183, 1.1274104118347168, -0.07218052446842194, 1.0275084972381592, 0.39587682485580444, 0.4415794312953949, -0.7782750725746155, 0.7607279419898987, 0.03976362571120262, -0.2954537868499756, -0.1560843586921692, -0.31604787707328796, -1.0695189237594604, 0.34754011034965515, -0.22838401794433594, -1.095184326171875, 0.18984103202819824, 0.14303329586982727, -0.24836532771587372, 0.3684502840042114, -0.6709817051887512, 0.36646437644958496, -0.4986772835254669, -0.548732340335846, -0.31381547451019287, -0.6727440357208252, 0.7018890380859375, -0.37009790539741516, 0.6873157620429993, -0.2664352357387543, -0.3084886074066162, 0.45563745498657227, -0.7619901895523071, 0.9510800242424011, -0.466503769159317, -0.1142902597784996, 0.4393850862979889, 0.29276055097579956, 0.818629264831543, 0.2181663066148758, 0.07491700351238251, 0.25519436597824097, -0.6719359755516052, -0.32624223828315735, -0.5061705708503723, 0.6885238289833069, -0.8875056505203247, -0.7922785878181458, -0.13487564027309418, -0.5344780683517456, -0.44218483567237854, 0.42516836524009705, 0.2687360942363739, 0.08744502812623978, -0.1691608726978302, -0.26473501324653625, 0.7237571477890015, -0.2385551780462265, 0.5299007892608643, 0.5147373676300049, -0.26452016830444336, -0.545161247253418, 0.8853946328163147, -0.38155218958854675, -0.09948655217885971, 0.18620768189430237, 0.32202214002609253, -0.3774714469909668, -0.7648230195045471, 0.03869946300983429, 0.3408638536930084, -0.4969974458217621, -0.15287677943706512, -0.6365113854408264, -0.03265919163823128, -0.32207831740379333, -0.6052537560462952, -0.49998992681503296, -0.1843111515045166, 0.012084893882274628, -0.22507762908935547, 0.16442683339118958, 0.2805958390235901, -0.5342935919761658, 0.05447069928050041, -0.9122326970100403, 0.7350045442581177, 0.26226118206977844, 0.43507638573646545, 0.02745835855603218, -0.26164916157722473, -0.12013338506221771, -0.15735873579978943, -0.32901763916015625, -0.7345255613327026, 0.4466240704059601, -0.07120261341333389, 0.6456782221794128, 0.6945802569389343, 0.2681138813495636, 0.8094287514686584, -0.37327027320861816, 0.47257131338119507, 0.5350012183189392, -1.1558218002319336, 0.7176007032394409, -0.3956928849220276, -0.06017933040857315, 0.6718661189079285, 0.16223788261413574, -0.6888546347618103, -0.7575017213821411, -0.3068956434726715, -1.1284799575805664, 0.29264742136001587, 0.15707992017269135, 0.3990069031715393, -0.1568755805492401, 0.3549339473247528, 0.15115457773208618, 0.062153033912181854, -0.6341769099235535, -0.09377704560756683, -0.04713920131325722, -0.029871640726923943, 0.0596071258187294, -0.20456410944461823, -0.4049575626850128, -0.01541284378618002, 0.4534187316894531, 0.004225738346576691, 0.2738998234272003, 0.12967897951602936, -0.2735968232154846, -0.04088667035102844, 0.06520098447799683, 0.585260272026062, 0.23594734072685242, -0.22272244095802307, -0.0666310265660286, 0.11393970996141434, -0.8114096522331238, 0.43820032477378845, -0.11199542880058289, -0.09257278591394424, -0.309020459651947, 0.4827488660812378, 0.7486498951911926, 0.11677996069192886, -1.2519652843475342, 0.40753254294395447, -0.09709244966506958, -0.03785661980509758, -0.5186748504638672, 0.2028558850288391, -0.40263429284095764, 0.33561134338378906, 0.5740278363227844, 0.21039219200611115, 0.05658796429634094, -0.3274257481098175, 0.1288215070962906, 0.5695824027061462, -0.2725383937358856, 0.005794262047857046, 0.6372360587120056, 0.2558732032775879, -0.5882599353790283, 0.8492765426635742, -0.0062009370885789394, -0.3687134385108948, 0.4598827362060547, 0.5388792753219604, 1.3369823694229126, -0.0011028724256902933, -0.17303220927715302, 0.2961937189102173, 0.4744119942188263, -0.13586971163749695, 0.23518779873847961, -0.2574578523635864, -1.058896541595459, -0.18970589339733124, -0.6229881048202515, -0.5231431722640991, -0.09479593485593796, -0.727226734161377, 0.34560883045196533, -0.8339779376983643, -0.29595810174942017, -0.5901729464530945, -0.2472468465566635, -0.2691676914691925, -0.13552212715148926, 0.4027642607688904, 1.202260136604309, -0.45810654759407043, 0.6638668179512024, 0.15906688570976257, 0.003449768526479602, -0.8833436965942383, -0.05921163409948349, 0.2646002173423767, -1.237501859664917, 0.27579832077026367, 0.2676808536052704, -0.3605388104915619, -0.1491195410490036, -0.6276074051856995, -0.7319778800010681, 0.715146541595459, 0.3846278786659241, -0.9553602337837219, 0.08811210095882416, 0.06332981586456299, 0.3117011487483978, -0.22129195928573608, -0.0635494589805603, 0.9210995435714722, 0.6831660866737366, -0.20100292563438416, -0.6025254130363464, 0.156962051987648, -0.38336271047592163, 0.08779294788837433, 0.2292758673429489, -0.7189099192619324, 0.5173801779747009, -0.7252988815307617, -0.05514264106750488, 0.16466882824897766, 0.28574037551879883, 0.9061335921287537, 0.1742829531431198, 0.7006422877311707, 0.8059359192848206, 0.6994453072547913, 0.10747097432613373, 1.3471930027008057, -0.6526602506637573, 0.2926873564720154, 0.804720938205719, -0.3868429362773895, 0.6430330276489258, 0.9279849529266357, 0.037150997668504715, 0.4417371451854706, 0.5807633399963379, -0.053400155156850815, 0.6568869352340698, 0.38375458121299744, -0.395052433013916, -0.11338800191879272, 0.04898250848054886, -0.173722043633461, 0.36576956510543823, 0.4002896845340729, -0.1880529671907425, 0.09446442872285843, 0.4627615213394165, 0.37779974937438965, -0.030279064550995827, -0.3937460482120514, 0.7439882159233093, 0.2484261393547058, -0.6218735575675964, 0.9331533908843994, -0.0028605125844478607, 0.8376135230064392, -0.7444453835487366, 0.3930996060371399, -0.5789000391960144, 0.248881995677948, -0.061160918325185776, -0.5274470448493958, 0.10664751380681992, 0.3982483148574829, 0.3061208426952362, -0.5774499177932739, 0.7500205636024475, 0.27777573466300964, -0.44476377964019775, 0.5670459866523743, 0.22743530571460724, -0.09278877824544907, 0.022811904549598694, -0.7293872833251953, 0.6273642778396606, 0.048922259360551834, -0.5473192930221558, 0.3865228593349457, 0.06487549096345901, 0.028359051793813705, 1.0759145021438599, 0.8545334935188293, 0.223134383559227, -0.02448701299726963, 0.04393351823091507, 1.1093418598175049, -0.8986360430717468, -0.7144763469696045, -1.083374261856079, 0.364292174577713, -0.0766226053237915, -0.23564434051513672, 0.8236254453659058, 0.6109338998794556, 0.444051057100296, -0.013086685910820961, 0.8823801875114441, 0.01745302602648735, 0.19398058950901031, -0.5067207217216492, 0.48984473943710327, -0.18807877600193024, 0.6798136234283447, -0.41574379801750183, -0.9765559434890747, -0.27372899651527405, 0.5345907211303711, -0.24145282804965973, -0.32306405901908875, 0.5081650614738464, 1.0276525020599365, 0.37408098578453064, -0.08473213762044907, 0.15441912412643433, 0.3657234013080597, 0.3715327978134155, 0.661076009273529, 1.0193979740142822, 0.14548379182815552, 0.4916326105594635, -0.41928526759147644, -0.5428979396820068, -0.29446902871131897, -0.7168681621551514, -0.6195029616355896, -0.16354656219482422, 0.0702061802148819, -0.4499860405921936, 0.1307733952999115, 1.0662373304367065, 0.6436559557914734, -0.5405505299568176, -0.593059241771698, -0.3802844285964966, 0.30213281512260437, -0.3343675136566162, -0.23551583290100098, -0.011720660142600536, -0.6237170100212097, -0.4717889428138733, 0.6260051131248474, 0.5166836977005005, 0.040571022778749466, -0.19646991789340973, -0.24151958525180817, 0.34078261256217957, 0.5030862092971802, 0.4938197135925293, 0.5490350127220154, -0.6556719541549683, -0.19071818888187408, -0.07594835013151169, -0.11566194146871567, -0.10741603374481201, 1.2459542751312256, -0.7156923413276672, 0.43630021810531616, 0.15180377662181854, 0.49236100912094116, 0.4879210591316223, 0.0789501965045929, 0.4491311013698578, -0.6003025770187378, 0.6013250350952148, 0.5460922718048096, 0.35715174674987793, -0.03660469874739647, -0.4920463562011719, 0.26760926842689514, 0.09582238644361496, -0.29364946484565735, -1.175573468208313, 0.2804107069969177, -1.0709835290908813, -0.5265370607376099, 0.9143568873405457, 0.06965137273073196, -0.4018283784389496, -0.0738501325249672, -0.3267149329185486, -0.05164714902639389, -0.49877119064331055, 1.1760714054107666, 0.24192024767398834, -0.47342512011528015, -0.13246731460094452, -0.0588252954185009, 0.268373042345047, 0.24230210483074188, -0.4932042062282562, 0.16144698858261108, 0.29832834005355835, 0.12437474727630615, 0.03895476087927818, 0.7083207368850708, -0.1777898520231247, 0.21823790669441223, 0.2862309515476227, 0.21651646494865417, -0.1951066553592682, 0.09819769114255905, -0.42364737391471863, 0.43634697794914246, 0.11197324842214584, -0.07607127726078033 ]
http://arxiv.org/abs/2402.05457v1
http://arxiv.org/pdf/2402.05457v1
It's Never Too Late: Fusing Acoustic Information into Large Language Models for Automatic Speech Recognition
2024-02-08T07:21:45
2024-02-08T07:21:45
Chen Chen, Ruizhe Li, Yuchen Hu, Sabato Marco Siniscalchi, Pin-Yu Chen, Ensiong Chng, Chao-Han Huck Yang
cs.CL
cs.CL, cs.AI, cs.MM, cs.SD, eess.AS
Recent studies have successfully shown that large language models (LLMs) can be successfully used for generative error correction (GER) on top of the automatic speech recognition (ASR) output. Specifically, an LLM is utilized to carry out a direct mapping from the N-best hypotheses list generated by an ASR system to the predicted output transcription. However, despite its effectiveness, GER introduces extra data uncertainty since the LLM is trained without taking into account acoustic information available in the speech signal. In this work, we aim to overcome such a limitation by infusing acoustic information before generating the predicted transcription through a novel late fusion solution termed Uncertainty-Aware Dynamic Fusion (UADF). UADF is a multimodal fusion approach implemented into an auto-regressive decoding process and works in two stages: (i) It first analyzes and calibrates the token-level LLM decision, and (ii) it then dynamically assimilates the information from the acoustic modality. Experimental evidence collected from various ASR tasks shows that UADF surpasses existing fusion mechanisms in several ways. It yields significant improvements in word error rate (WER) while mitigating data uncertainty issues in LLM and addressing the poor generalization relied with sole modality during fusion. We also demonstrate that UADF seamlessly adapts to audio-visual speech recognition.
[ -0.28146591782569885, -0.7712569832801819, 0.44558092951774597, 0.12938034534454346, -0.18488387763500214, 0.3291865885257721, -0.1449308842420578, -0.5380025506019592, -0.19146722555160522, 0.2370210438966751, -0.3704855740070343, -0.2633790671825409, -0.39171740412712097, -0.02443649247288704, -0.4923953413963318, 0.5252346396446228, -0.03424476459622383, 0.09451699256896973, -0.19592739641666412, -0.0644344612956047, -0.19602568447589874, -0.3265206217765808, -0.6964643597602844, -0.48260512948036194, 0.386481374502182, 0.1666254997253418, 0.6425275206565857, 0.8732808828353882, 0.38731810450553894, 0.374865859746933, -0.05033739656209946, 0.14911043643951416, -0.2760835587978363, 0.08030359447002411, 0.16578109562397003, -0.4060010313987732, -0.5688324570655823, -0.25881296396255493, 1.0680551528930664, 0.8744372129440308, -0.4283970296382904, -0.13914501667022705, 0.0665721446275711, 0.3537769019603729, -0.5399622917175293, 0.19352813065052032, -0.6098507046699524, 0.12589262425899506, -0.3765069842338562, -0.2427738606929779, -0.24522821605205536, -0.18407396972179413, -0.024448364973068237, -0.4928302764892578, 0.12156559526920319, -0.12802079319953918, 0.5519523620605469, 0.7021692395210266, -0.38010162115097046, -0.10350547730922699, -1.3305189609527588, 0.8710384368896484, -0.7556992173194885, 0.7888334393501282, 0.37753915786743164, 0.49615293741226196, -0.5089845061302185, -0.4743865132331848, -0.9362171292304993, 0.18516193330287933, 0.26309719681739807, 0.116469606757164, -0.4309728145599365, 0.2703937292098999, 0.15267202258110046, 0.3823128342628479, -0.493757039308548, 0.2339203953742981, -0.12807752192020416, -0.5731377601623535, 0.5806535482406616, -0.05308545380830765, 0.22897833585739136, 0.02589293196797371, -0.1636420488357544, -0.417695015668869, -0.4647026062011719, -0.06096113845705986, 0.292094349861145, 0.2587767541408539, -0.3606870174407959, 0.5106303691864014, -0.021703854203224182, 0.9346708059310913, 0.2981903553009033, -0.4434024393558502, 0.2953833043575287, -0.39113059639930725, -0.18449804186820984, 0.5158377289772034, 0.9026077389717102, 0.061518751084804535, -0.2990659773349762, 0.007463831454515457, -0.44355201721191406, 0.330676794052124, -0.18975915014743805, -0.30835554003715515, -0.1383775919675827, 0.43002644181251526, -0.14342135190963745, -0.11554985493421555, -0.10030033439397812, -0.7153562307357788, -0.3358517587184906, -0.12962965667247772, 0.6647998690605164, -0.27484336495399475, -0.2740330994129181, 0.18660923838615417, 0.09783869981765747, 0.18819661438465118, 0.32495397329330444, -0.6387647986412048, -0.047540392726659775, 0.31978240609169006, 0.6778759956359863, 0.07651287317276001, -0.2393231838941574, -0.9590751528739929, 0.5149025321006775, -0.3768180012702942, 0.8428863883018494, -0.4212348461151123, -0.5534934401512146, -0.1819094568490982, -0.36519211530685425, -0.013165600597858429, -0.3865746855735779, 0.5244140028953552, -0.42480337619781494, 0.10338390618562698, 0.06869134306907654, -0.5168458223342896, -0.019658152014017105, -0.15599878132343292, -0.852724552154541, 0.663360595703125, 0.09058215469121933, -0.5176349878311157, 0.3671517074108124, -0.4416898787021637, -0.5259841084480286, -0.01792795956134796, -0.39747151732444763, -0.6114909052848816, 0.005067178513854742, 0.30690914392471313, 0.34364259243011475, -0.10156775265932083, 0.23945635557174683, -0.3297475576400757, -0.33794859051704407, 0.25830402970314026, -0.7386972308158875, 0.4492952525615692, 0.25566336512565613, -0.31094956398010254, -0.05448126792907715, -0.9834271669387817, -0.0012608296237885952, -0.10633444786071777, -0.6748617887496948, -0.01991662196815014, -0.15159332752227783, -0.04030551388859749, 0.14586801826953888, 0.1695386916399002, -0.5356498956680298, -0.018002374097704887, -0.5613831877708435, 0.3979107737541199, 0.6617659330368042, -0.21300160884857178, 0.6367542147636414, -0.38928118348121643, 0.4767937958240509, -0.2456943839788437, 0.026761041954159737, -0.12806282937526703, -0.23383565247058868, -0.7938436269760132, -0.1841815710067749, 0.3282356858253479, 0.610529363155365, -0.9361622333526611, 0.6997663378715515, -0.14885076880455017, -0.7377718687057495, -0.6342783570289612, 0.17260044813156128, 0.436021089553833, 0.5609831809997559, 0.20898744463920593, -0.31155380606651306, -0.6839010119438171, -0.4847900867462158, -0.039911601692438126, -0.5234141945838928, 0.038451340049505234, 0.32518652081489563, -0.17421892285346985, -0.4630005359649658, 0.8860316276550293, -0.25869089365005493, -0.6817218661308289, -0.34576255083084106, 0.39823582768440247, 0.27740344405174255, 0.5858187675476074, 0.19426333904266357, -0.8241310715675354, -0.19651632010936737, 0.0674760565161705, -0.68785160779953, -0.15004271268844604, -0.33049726486206055, 0.19834204018115997, 0.27878043055534363, 0.4945620596408844, -0.5541830062866211, 0.1855831891298294, 0.9283804893493652, -0.07913293689489365, 0.22037388384342194, -0.4013335108757019, 0.08125914633274078, -0.8755127787590027, -0.11147111654281616, -0.240465447306633, -0.08855217695236206, -0.5191596746444702, -0.48573774099349976, -0.08040962368249893, -0.16409949958324432, -0.4340539872646332, 0.5017322897911072, -0.593997597694397, -0.22653242945671082, -0.3675934076309204, -0.11060430854558945, -0.10417262464761734, 0.11977336555719376, -0.0933111235499382, 0.7443683743476868, 0.621567964553833, -0.5651484131813049, 0.6975797414779663, 0.1935356855392456, -0.2567265033721924, 0.30809471011161804, -0.5262061953544617, 0.20192642509937286, -0.16245973110198975, 0.5568700432777405, -1.0164039134979248, -0.5477088093757629, 0.07805491983890533, -0.5440704226493835, 0.6475396156311035, -0.04895209148526192, -0.3816453218460083, -0.48235777020454407, 0.11856882274150848, 0.7767367959022522, 0.42313721776008606, -0.41891634464263916, 1.2271167039871216, 0.5876826047897339, -0.3560256063938141, -0.4651434123516083, -0.8012343645095825, 0.09835512936115265, -0.12001433968544006, -0.7101155519485474, 0.4557724893093109, -0.2183731496334076, -0.17021740972995758, -0.05608325079083443, -0.10325577855110168, -0.0807231143116951, -0.1585787534713745, 0.17813868820667267, 0.16492465138435364, -0.04993182420730591, 0.142729714512825, 0.05267278850078583, -0.3131360411643982, -0.26017245650291443, -0.16424231231212616, 0.733042299747467, -0.14232023060321808, -0.6332977414131165, -0.5512503981590271, 0.301832914352417, 0.6841121315956116, -0.2942938506603241, 0.34246373176574707, 0.9714192748069763, -0.6098985075950623, -0.044931650161743164, -0.8529514670372009, -0.11939398944377899, -0.49074509739875793, 0.2096012830734253, -0.05662977695465088, -0.6660260558128357, 0.4936698079109192, 0.12538516521453857, -0.07280929386615753, 0.46277859807014465, 0.469409704208374, -0.3473154604434967, 1.0636824369430542, 0.7407351136207581, -0.17325137555599213, 0.5960783362388611, -0.3103102743625641, 0.19497723877429962, -0.5389591455459595, -0.29703930020332336, -0.3057233393192291, -0.13024437427520752, -0.34220799803733826, -0.6607098579406738, 0.6974990963935852, -0.26839518547058105, 0.21742212772369385, 0.03175784647464752, -0.10008790343999863, 0.27619993686676025, 0.49804767966270447, 0.011043282225728035, 0.1639997661113739, 0.0267412718385458, 0.018212243914604187, 0.0361141711473465, -0.9201738238334656, -0.0552617684006691, 0.9878497123718262, 0.2740863561630249, 1.1302422285079956, -0.07179329544305801, 0.7249999642372131, 0.33240246772766113, -0.3010319769382477, -0.6254042387008667, 0.37169426679611206, -0.15297360718250275, -0.12155703455209732, -0.6708154082298279, -0.5557019114494324, -0.7931930422782898, -0.015475969761610031, -0.4595721364021301, -0.1455916315317154, 0.3183091878890991, 0.5551953315734863, -0.9345608949661255, 0.35945677757263184, -0.586815357208252, 0.41076236963272095, -0.47783222794532776, -0.20767024159431458, -0.1320195496082306, -0.7615077495574951, 0.10079435259103775, -0.5432620048522949, 0.50938481092453, -0.0018329746089875698, 0.019212985411286354, 0.9394318461418152, -0.21415996551513672, 0.7063324451446533, -0.1840560883283615, -0.3527851700782776, 0.21114163100719452, -0.13547897338867188, 0.6806341409683228, -0.25175052881240845, -0.08995365351438522, 0.11521132290363312, -0.2681989371776581, -0.05406813696026802, -0.540034830570221, 0.7534782290458679, -0.6407615542411804, -0.397775262594223, -0.6215293407440186, -0.7515051960945129, -0.3221866488456726, 0.20574212074279785, 0.30174940824508667, 0.6335753798484802, 0.0002690788824111223, 0.12553933262825012, 0.8106503486633301, -0.10983098298311234, 0.5919817686080933, 0.4164917469024658, 0.15056055784225464, -0.5485864877700806, 1.060063362121582, 0.21752771735191345, 0.2739846110343933, 0.3995960056781769, 0.3057206869125366, -0.47255077958106995, -0.7120817303657532, -0.4700617492198944, 0.39388537406921387, -0.5491924285888672, -0.2283550500869751, -0.8431733846664429, -0.25614458322525024, -0.4699125289916992, -0.15330074727535248, -0.592113196849823, -0.239543154835701, -0.5266594886779785, 0.10508143156766891, 0.3137598931789398, 0.47078534960746765, -0.5889967679977417, 0.410262793302536, -1.1190537214279175, 0.42665767669677734, 0.4077868163585663, 0.267932653427124, -0.24901536107063293, -0.42577773332595825, -0.1950228363275528, 0.2308570146560669, 0.033445388078689575, -0.5846561789512634, 0.3145920932292938, 0.6452524065971375, 0.6894893646240234, 0.40434572100639343, 0.17452697455883026, 0.7657533884048462, -0.36992964148521423, 0.6518919467926025, 0.3642718195915222, -0.9447760581970215, 0.6315879821777344, -0.4031783640384674, 0.5505943894386292, 0.1814020276069641, -0.002843509428203106, -0.44716745615005493, -0.5109836459159851, -0.5612040162086487, -0.9822933077812195, 0.45018306374549866, 0.03876176476478577, -0.04414089024066925, 0.46076181530952454, -0.07453644275665283, -0.05079016834497452, 0.09730847179889679, -0.24394731223583221, -0.04917532950639725, -0.06754177808761597, -0.287777304649353, -0.359273761510849, -0.2367594689130783, -0.15505445003509521, -0.2103189080953598, 0.5972871780395508, -0.13499264419078827, 0.3801972270011902, -0.0046570864506065845, -0.04984656348824501, -0.6508543491363525, 0.2994270920753479, 0.5200482606887817, 0.47896715998649597, -0.15224172174930573, 0.09636387974023819, 0.24412792921066284, -0.41464415192604065, 0.39052000641822815, 0.531213104724884, 0.17657646536827087, 0.043200183659791946, 0.6035590767860413, 0.7281610369682312, 0.3872658610343933, -0.779024600982666, 0.5002164244651794, -0.11933424323797226, 0.12845489382743835, -0.5526216626167297, 0.06608828902244568, -0.059030681848526, 0.48132234811782837, 0.5493897795677185, 0.22870148718357086, 0.07840918004512787, -0.41480791568756104, 0.48673900961875916, 0.39973655343055725, -0.2921278476715088, -0.220182865858078, 0.7612016797065735, 0.18446099758148193, -0.09481833130121231, 0.3961588740348816, 0.11575324833393097, -0.464498907327652, 0.236885666847229, 0.46398645639419556, 0.7179449796676636, -0.851813793182373, -0.14059089124202728, -0.011875631287693977, -0.049078576266765594, 0.004922336433082819, 0.3505678176879883, -0.09671002626419067, -0.6854435801506042, -0.6211032867431641, -0.7580154538154602, -0.29284730553627014, 0.05872226506471634, -0.5188062191009521, 0.2810916006565094, -0.33886194229125977, -0.25749218463897705, -0.05791764333844185, -0.32677987217903137, -0.591323733329773, 0.45247790217399597, 0.2676394581794739, 0.45204633474349976, -0.9138618111610413, 0.8091983795166016, 0.45036229491233826, -0.16668379306793213, -0.9169519543647766, 0.03899889066815376, 0.1907867193222046, -0.7386631965637207, 0.27908650040626526, -0.2827823758125305, -0.4187151789665222, 0.10708429664373398, -0.24882903695106506, -1.1022721529006958, 1.114764928817749, 0.5886951088905334, -0.8566238284111023, -0.26911622285842896, 0.11885558813810349, 0.30584341287612915, -0.07219715416431427, -0.1949557065963745, 0.5869912505149841, 0.44128572940826416, 0.7124848365783691, -1.2680658102035522, -0.41466930508613586, -0.12802176177501678, -0.243621826171875, 0.28588923811912537, -0.39177432656288147, 0.8791738748550415, -0.5315876603126526, -0.33237290382385254, -0.11692386120557785, 0.8050259947776794, 0.1591690480709076, 0.23618610203266144, 0.8268436193466187, 0.5444096922874451, 0.8712899088859558, -0.1385205090045929, 0.8843538165092468, -0.08870730549097061, -0.030849827453494072, 1.000684142112732, -0.13691812753677368, 0.8613340258598328, 0.527079164981842, -0.1158159002661705, -0.012193425558507442, 0.5797825455665588, 0.010368569754064083, 0.6008704304695129, -0.08007484674453735, -0.4756593108177185, -0.4369232654571533, -0.35372206568717957, -0.6200598478317261, 0.879687488079071, 0.44610700011253357, -0.14505477249622345, -0.18656094372272491, 0.3639489412307739, -0.13379491865634918, -0.020022260025143623, -0.25282707810401917, 0.9453996419906616, 0.1311056762933731, -0.15276150405406952, 0.7200400233268738, -0.2750486433506012, 0.7155318260192871, -0.6556471586227417, -0.18200233578681946, 0.030486468225717545, 0.3440622091293335, -0.22951434552669525, -0.6687933802604675, 0.26043158769607544, -0.1783980280160904, -0.1883149892091751, -0.17003193497657776, 0.7013315558433533, -0.9339390993118286, -0.7136755585670471, 0.23682677745819092, 0.3522995412349701, -0.010670991614460945, 0.06459686160087585, -0.3367214798927307, 0.6731095314025879, -0.004394582938402891, 0.2856419086456299, 0.0864172950387001, 0.12035063654184341, 0.22808992862701416, 0.8374142646789551, 0.8258944153785706, 0.5457579493522644, 0.04541151598095894, 0.0342128649353981, 0.9278703927993774, -0.3625742495059967, -0.662269651889801, -0.6145818829536438, 0.45838239789009094, 0.29982224106788635, 0.1296982616186142, 0.5476698875427246, 0.4109764099121094, 0.8034763336181641, 0.16145853698253632, 0.9594011902809143, 0.2831156551837921, 0.5180627107620239, -0.7384814023971558, 0.9537760019302368, -0.7043191194534302, 0.2522914409637451, -0.5049315094947815, -0.8331172466278076, -0.5319564938545227, 0.6286836266517639, -0.047783106565475464, 0.09055352210998535, 0.2900438606739044, 0.7623589634895325, 0.05153142288327217, -0.1424126923084259, 0.5228859186172485, 0.2684480845928192, 0.5280938148498535, 0.6120437383651733, 0.6865971088409424, -0.4573710560798645, 0.798565685749054, -0.2880237400531769, -0.2664724290370941, -0.3092536926269531, -0.8596389889717102, -0.3089336156845093, -0.7652766704559326, -0.33118078112602234, -0.39094460010528564, 0.029949987307190895, 0.9100733399391174, 0.5898474454879761, -0.6447542309761047, -0.2187599390745163, 0.24522510170936584, -0.06571388989686966, -0.1422746628522873, -0.07796990126371384, 0.412663072347641, 0.09297040849924088, -0.730751097202301, 0.8486118316650391, 0.29188257455825806, 0.7263766527175903, -0.2821010947227478, -0.24518907070159912, 0.023530125617980957, 0.006558945868164301, 0.33423805236816406, 0.4174664616584778, -0.7438486814498901, -0.24707038700580597, -0.18970538675785065, 0.04053931310772896, -0.06113073602318764, 0.5857827663421631, -0.7837980389595032, 0.9454731345176697, 0.35672253370285034, 0.7343273162841797, 0.26502594351768494, -0.2811945974826813, 1.0786216259002686, -0.4870927631855011, 0.1774277687072754, 0.47427669167518616, 0.4729117453098297, 0.7231041789054871, -0.39680829644203186, 0.10325151681900024, 0.2882750630378723, -0.4370097517967224, -1.0020095109939575, 0.16464023292064667, -1.1090925931930542, 0.22323337197303772, 1.1464470624923706, 0.1392248123884201, -0.24305644631385803, -0.2324516922235489, -0.17895859479904175, 0.6251888275146484, -0.5175706744194031, 0.7478047013282776, 0.5088191032409668, -0.09057600796222687, -0.2597601115703583, 0.07090358436107635, 0.6432469487190247, 0.12383189052343369, -0.614989161491394, 0.011911504901945591, 0.6423501372337341, -0.1783280074596405, 0.30874672532081604, 0.5591727495193481, 0.019404903054237366, 0.6224117279052734, 0.08124420791864395, -0.1062515527009964, -0.17109191417694092, -0.4544007182121277, -0.5755125284194946, 0.022200942039489746, 0.1836734414100647, -0.20344379544258118 ]
http://arxiv.org/abs/2402.05455v1
http://arxiv.org/pdf/2402.05455v1
Large Language Models for Psycholinguistic Plausibility Pretesting
2024-02-08T07:20:02
2024-02-08T07:20:02
Samuel Joseph Amouyal, Aya Meltzer-Asscher, Jonathan Berant
cs.CL
cs.CL
In psycholinguistics, the creation of controlled materials is crucial to ensure that research outcomes are solely attributed to the intended manipulations and not influenced by extraneous factors. To achieve this, psycholinguists typically pretest linguistic materials, where a common pretest is to solicit plausibility judgments from human evaluators on specific sentences. In this work, we investigate whether Language Models (LMs) can be used to generate these plausibility judgements. We investigate a wide range of LMs across multiple linguistic structures and evaluate whether their plausibility judgements correlate with human judgements. We find that GPT-4 plausibility judgements highly correlate with human judgements across the structures we examine, whereas other LMs correlate well with humans on commonly used syntactic structures. We then test whether this correlation implies that LMs can be used instead of humans for pretesting. We find that when coarse-grained plausibility judgements are needed, this works well, but when fine-grained judgements are necessary, even GPT-4 does not provide satisfactory discriminative power.
[ -0.2370169460773468, -0.9228540062904358, 0.8766565322875977, 0.4006091356277466, -0.1388021856546402, -0.17313624918460846, -0.5292447209358215, -0.6033927798271179, -0.1034928411245346, 0.3079231083393097, -0.17660072445869446, -0.2697140574455261, -0.3039773404598236, 0.24046453833580017, -0.46069180965423584, 1.1586838960647583, -0.1325831562280655, 0.02617439068853855, -0.0946846529841423, 0.14945071935653687, -0.2866502106189728, -0.9876989126205444, -0.2272752970457077, -0.47973713278770447, 0.6113397479057312, -0.10016237944364548, 0.9230632185935974, 0.05019180476665497, 0.5703682899475098, 0.31141161918640137, 0.11664075404405594, -0.4499235153198242, -0.29085683822631836, -0.08705190569162369, -0.37516626715660095, -0.5555777549743652, -0.8947531580924988, 0.25022798776626587, 0.4389720857143402, 0.9239219427108765, -0.29931122064590454, -0.0005201190942898393, 0.29544708132743835, 0.02086448110640049, -0.4722353518009186, 0.18267153203487396, -0.48067235946655273, 0.06149525195360184, -0.29775315523147583, -0.2037769854068756, -0.5557001233100891, -0.5289918184280396, 0.3230140209197998, -0.47979381680488586, 0.3531908392906189, 0.1096167042851448, 0.9009655117988586, -0.04538384824991226, -0.33574673533439636, -0.5022934079170227, -0.8559471964836121, 0.5991603136062622, -0.966624915599823, 0.536137044429779, 0.8970209360122681, 0.21578457951545715, -0.1303817629814148, -0.8509694337844849, -0.685033917427063, -0.9367795586585999, -0.2912684381008148, 0.007410481106489897, 0.036819297820329666, 0.2563718855381012, 0.3332424461841583, 0.419027179479599, -0.6967209577560425, 0.14461345970630646, -0.2532069981098175, -0.45838239789009094, 0.5332015156745911, 0.05235568434000015, 0.2831723690032959, -0.057901669293642044, -0.20613929629325867, -0.15203867852687836, -0.6226376295089722, -0.06680469214916229, 0.6858291029930115, 0.31867730617523193, -0.08369031548500061, 0.5627822279930115, 0.25689616799354553, 0.6146401166915894, -0.10747413337230682, -0.3106051981449127, 0.29382428526878357, -0.6637691855430603, -0.1906973421573639, -0.18152816593647003, 0.8681615591049194, 0.26230719685554504, 0.5506872534751892, -0.2169943004846573, -0.30661532282829285, 0.22182774543762207, 0.21519918739795685, -0.7927908897399902, -0.5064170956611633, 0.060905735939741135, -0.4453659653663635, -0.14793457090854645, -0.10916876792907715, -0.607673168182373, -0.3150375783443451, -0.27644848823547363, 0.6018872857093811, -0.48266714811325073, -0.5406388640403748, 0.3122289180755615, 0.0766211599111557, 0.18014782667160034, 0.011564685963094234, -0.6669623255729675, 0.486819326877594, 0.4092712700366974, 0.6611254215240479, -0.05086062476038933, -0.6067475080490112, -0.23622001707553864, -0.18880003690719604, -0.433225154876709, 0.7772180438041687, -0.5519506335258484, -0.2845429480075836, -0.23934267461299896, 0.08515136688947678, -0.040403712540864944, -0.5413029193878174, 0.8055083751678467, -0.3407306373119354, 0.45146018266677856, -0.1674511581659317, -0.649303138256073, -0.0788230448961258, 0.11714689433574677, -0.6380194425582886, 0.5972306728363037, 0.1962256133556366, -0.5678802132606506, 0.3468452990055084, -0.6244982481002808, -0.5750555992126465, 0.204653799533844, -0.2814180254936218, -0.4837822914123535, 0.2045869678258896, -0.3378157615661621, 0.4224350154399872, -0.3502119183540344, 0.7293777465820312, -0.5446252226829529, -0.3143836259841919, 0.4920004606246948, -0.5528342127799988, 0.594957172870636, 0.13349676132202148, -0.4309173822402954, 0.11813534796237946, -0.43519601225852966, 0.042593736201524734, 0.23790434002876282, -0.4262608289718628, -0.32081738114356995, 0.13516132533550262, 0.199855774641037, 0.29745298624038696, 0.15157689154148102, -0.28039422631263733, -0.15164202451705933, -0.39536112546920776, 0.27869102358818054, 0.6246026754379272, -0.26149171590805054, 0.21007460355758667, -0.37162989377975464, 0.724720299243927, -0.1914253681898117, -0.06408392637968063, 0.05065691098570824, -0.36262327432632446, -0.2928648591041565, -0.3890981376171112, 0.2463316172361374, 0.34584102034568787, -0.47374406456947327, 0.5435009598731995, 0.017404597252607346, -0.42204004526138306, -0.07543099671602249, 0.1511247307062149, 0.5639732480049133, 0.31359028816223145, -0.03647489473223686, -0.3586805760860443, -0.6093603372573853, -1.0022772550582886, -0.5572876930236816, -0.22763721644878387, -0.3052595555782318, 0.12319264560937881, 0.5905844569206238, 0.061627596616744995, 0.9515347480773926, -0.4651075005531311, -0.15151554346084595, -0.3010776937007904, 0.16504864394664764, 0.15841442346572876, 0.10582764446735382, 0.8486621379852295, -0.7875849008560181, -0.10633955150842667, -0.3469181954860687, -0.7203345894813538, -0.31765061616897583, 0.1336301863193512, 0.3134852349758148, 0.1268955022096634, 0.3475685119628906, -0.5559146404266357, 0.3867202401161194, 0.6584530472755432, -0.592390775680542, 1.0659942626953125, -0.4152522087097168, -0.03921065106987953, -0.7420922517776489, 0.1426299810409546, 0.03266030550003052, -0.2877209782600403, -0.6168733239173889, 0.16678959131240845, -0.03771333396434784, -0.05666748806834221, -0.25861436128616333, 0.5532766580581665, -0.36409714818000793, -0.18041177093982697, -0.05610640347003937, 0.13765272498130798, -0.007138045504689217, 0.29945701360702515, 0.17735953629016876, 0.5713642239570618, 0.3415077328681946, -0.5839479565620422, 0.03936879336833954, -0.030477019026875496, -0.715744137763977, 0.369547575712204, -0.7483476996421814, 0.1499389111995697, -0.008162040263414383, 0.48508545756340027, -0.906395435333252, -0.3921453356742859, -0.10107400268316269, -0.09971285611391068, -0.07711456716060638, 0.23411902785301208, -0.6981448531150818, -0.37793678045272827, -0.07524361461400986, 0.45925575494766235, 0.473520964384079, -0.061719637364149094, 0.4519179165363312, 0.2452773004770279, -0.6031807065010071, -0.04450532793998718, -0.5420072078704834, 0.01529985386878252, -0.474185973405838, -0.328046977519989, -0.026058176532387733, -0.548444390296936, -0.5361944437026978, -0.2777235805988312, 0.18947744369506836, -0.14792084693908691, 0.2933524250984192, 0.28901034593582153, 0.3375377058982849, -0.4374062716960907, 0.09557520598173141, -0.4276984930038452, 0.026885991916060448, 0.15482299029827118, 0.08502169698476791, 0.7559969425201416, -0.3374679684638977, -0.592318594455719, -0.29738649725914, 0.27007871866226196, 0.5225842595100403, -0.3123565912246704, 0.44539037346839905, 0.4157538115978241, -0.4134120047092438, 0.06283571571111679, -0.5788469910621643, -0.40798574686050415, -0.4393802583217621, 0.6256105899810791, -0.6632202863693237, -0.694829523563385, 0.49027571082115173, 0.02617521770298481, -0.19155950844287872, 0.14372190833091736, 0.9069457054138184, 0.017185769975185394, 0.9168493747711182, 0.4056870639324188, 0.2308979332447052, 0.43899211287498474, 0.15473441779613495, 0.6658930778503418, -0.3145369291305542, 0.19655324518680573, -0.4680066704750061, -0.12076092511415482, -0.5559566020965576, -0.28266462683677673, 0.1809428483247757, 0.16599440574645996, -0.1474069207906723, 0.177525594830513, -0.04873286187648773, 0.618828535079956, 0.2375946342945099, 0.08177175372838974, 0.3790648579597473, -0.1315852403640747, -0.17478856444358826, -0.09562794864177704, -0.26955974102020264, -0.7381293177604675, 1.0424960851669312, 0.4269449710845947, 0.5918033719062805, 0.24579907953739166, 0.26265013217926025, 0.001959142740815878, 0.6294807195663452, -0.6601805686950684, 0.5640586018562317, -0.2119050920009613, -0.8823506832122803, -0.318312406539917, -0.3218816816806793, -0.9532471299171448, 0.1426108181476593, -0.15467841923236847, -0.8371981382369995, 0.02107950486242771, 0.16212314367294312, -0.49155959486961365, 0.12157490849494934, -1.0512152910232544, 0.8018652200698853, -0.4092918932437897, -0.16334837675094604, -0.12651488184928894, -0.4688742756843567, 0.5372133851051331, -0.5801644921302795, 0.3991639316082001, -0.13347341120243073, 0.3587639033794403, 0.8070445656776428, -0.23194098472595215, 0.8905491232872009, -0.08192644268274307, -0.4295380413532257, 0.10979236662387848, 0.3109803795814514, 0.2456091195344925, -0.264242947101593, -0.2972927987575531, 0.03078223392367363, 0.22886250913143158, -0.3119041621685028, -0.5040884613990784, 0.5077307820320129, -0.6608737707138062, -0.6510799527168274, -0.266781210899353, -0.7435979247093201, -0.2680959105491638, 0.3558264970779419, 0.1942485272884369, 0.4087001085281372, -0.3825795352458954, 0.22499969601631165, 0.08497440069913864, -0.29337117075920105, 0.2149537205696106, 0.7897400259971619, -0.46019822359085083, 0.05098995566368103, 0.8351250290870667, 0.10035175830125809, 0.4021514058113098, -0.10377223789691925, 0.6320734620094299, -0.41151461005210876, -0.7421937584877014, 0.24292832612991333, 0.26145368814468384, -0.4879577159881592, 0.14115433394908905, -0.1990232616662979, -0.17720362544059753, -0.4953041970729828, -0.02392791025340557, -0.15940029919147491, -0.003715463448315859, 0.2436034381389618, -0.27568715810775757, 0.021962827071547508, 0.9051573872566223, 0.03387884795665741, 0.24759896099567413, -0.503532350063324, 0.4814918041229248, 0.15118753910064697, 0.42090296745300293, -0.03575742244720459, -0.4932962656021118, 0.0487556979060173, 0.12555308640003204, -0.30358028411865234, -0.8713176250457764, 0.35869988799095154, 0.22742749750614166, 0.5001742839813232, 0.36390256881713867, 0.06843950599431992, 0.5588465929031372, -0.5966412425041199, 0.7145560383796692, 0.22675515711307526, -0.956531822681427, 0.30803367495536804, -0.5867905020713806, -0.1060670018196106, 0.3844221830368042, 0.4664468765258789, -0.06575334817171097, -0.5837011337280273, -0.5806165933609009, -0.8087491989135742, 0.43681707978248596, 0.1681656688451767, 0.04082660749554634, 0.05378653109073639, 0.2681625485420227, 0.3270655870437622, 0.09363185614347458, -0.7952014207839966, 0.2399328202009201, -0.10869718343019485, -0.2868924140930176, -0.6818663477897644, -0.20210109651088715, -0.11442528665065765, -0.17030848562717438, 0.09353179484605789, -0.03636898100376129, -0.08073881268501282, 0.16086047887802124, -0.19954094290733337, 0.05822059139609337, 0.5176101326942444, 0.7873659133911133, 1.0254039764404297, -0.5024304986000061, 0.2741933763027191, 0.09503140300512314, -0.5931950807571411, 0.2591068744659424, 0.18144072592258453, 0.14763596653938293, -0.21778590977191925, 0.5496312379837036, 0.7859327793121338, 0.3121073246002197, -0.6776219010353088, 0.6894392967224121, -0.2778041958808899, -0.2794870436191559, -0.47717466950416565, -0.14328087866306305, 0.21294090151786804, 0.22597558796405792, 0.1844681352376938, -0.1570301502943039, 0.04884111136198044, -0.9375149011611938, 0.2721335291862488, 0.26865366101264954, 0.2619768977165222, -0.8353985548019409, 0.5216057300567627, 0.07717633247375488, -0.646446943283081, 0.42823296785354614, -0.31683504581451416, -0.5631133317947388, 0.310202956199646, 0.8048151731491089, 0.6496089100837708, -0.49762773513793945, 0.11382665485143661, 0.02522449381649494, 0.09989836812019348, -0.3036540746688843, 0.17744888365268707, 0.14125598967075348, -0.9357175230979919, -0.5681151747703552, -0.8130292296409607, -0.4845304489135742, 0.4520017206668854, -0.6374500393867493, 0.21756047010421753, -0.30628448724746704, -0.31268689036369324, 0.1339230239391327, -0.0334656797349453, -0.8914040327072144, 0.17027992010116577, 0.26639822125434875, 0.6343809366226196, -1.2305073738098145, 0.8171095848083496, 0.594836413860321, -0.43016889691352844, -1.0610655546188354, 0.1624482125043869, -0.15169604122638702, -0.5812397599220276, 0.6892725825309753, -0.07206042855978012, 0.0158237274736166, -0.13362687826156616, -0.386892169713974, -0.5415021181106567, 0.959462583065033, 0.8912389874458313, -0.5666061043739319, -0.4741637110710144, 0.1224963366985321, 0.7247485518455505, -0.1357908546924591, 0.5011301040649414, 0.7610809206962585, 0.6096826791763306, -0.09621787816286087, -1.4983314275741577, 0.18968063592910767, -0.0890132263302803, -0.30368873476982117, -0.081433966755867, -0.2656468451023102, 1.0869529247283936, -0.18861037492752075, -0.06237768009305, 0.0919450893998146, 0.301165908575058, 0.6723095774650574, 0.3040265142917633, 0.7939354181289673, 0.3369300365447998, 0.9305073618888855, 0.13266882300376892, 1.375913381576538, -0.2386411726474762, 0.340347021818161, 1.4539053440093994, -0.7254056334495544, 1.0154231786727905, 0.43343183398246765, -0.38814833760261536, 0.5657550096511841, 0.586065411567688, 0.23076371848583221, 0.320182204246521, 0.3965279459953308, -0.06778736412525177, -0.3146306872367859, -0.06410089135169983, -0.25847819447517395, 0.6880869269371033, 0.32793518900871277, -0.331754207611084, -0.35497888922691345, 0.05257268622517586, 0.03775503486394882, -0.0362282395362854, 0.056913550943136215, 0.4723641276359558, 0.34449484944343567, -0.7176791429519653, 0.5640389323234558, -0.23527447879314423, 0.596164882183075, -0.842404842376709, 0.1847045123577118, -0.07626151293516159, 0.5026057362556458, -0.2494928389787674, -0.7552881836891174, 0.3803800940513611, 0.07772265374660492, 0.05690477043390274, -0.2249346673488617, 0.7374337315559387, -0.3747110068798065, -0.4235861003398895, 0.5186834931373596, 0.7270203232765198, 0.5389508008956909, -0.24534153938293457, -0.3308342397212982, -0.11558651179075241, -0.2777545154094696, -0.5661640167236328, 0.6592690944671631, 0.3219996988773346, -0.29028505086898804, 0.4570878744125366, 0.8026736974716187, 0.3782687783241272, -0.15782763063907623, 0.36208149790763855, 0.6320310831069946, -0.6279672980308533, -0.573979377746582, -0.9831008911132812, 0.19145824015140533, 0.22423113882541656, -0.1282496303319931, 0.8645209670066833, 0.41945138573646545, 0.6006914377212524, -0.09557776898145676, 0.7966656684875488, 0.10457606613636017, 0.29335856437683105, -0.4905886948108673, 0.8693692684173584, -0.24887916445732117, 0.07115035504102707, -0.428923636674881, -0.9418100714683533, -0.20847363770008087, 0.7489352822303772, -0.6441295146942139, 0.312458872795105, 0.9941489696502686, 0.7858399152755737, -0.1418953537940979, 0.05339963734149933, 0.6685239672660828, 0.6441972851753235, 0.3323170244693756, 0.6386401653289795, 0.9225974678993225, 0.04790604114532471, 0.40684637427330017, 0.14757139980793, -0.20640602707862854, -0.017366742715239525, -0.9956148266792297, -0.9575616717338562, -0.6237629652023315, -0.15509819984436035, -0.28286442160606384, -0.09780887514352798, 0.7709522247314453, 0.6281154155731201, -0.7093405723571777, -0.30933481454849243, 0.004782806150615215, -0.18438050150871277, 0.13117237389087677, -0.27379199862480164, 0.39342451095581055, 0.008124888874590397, -0.44850873947143555, 0.37965190410614014, -0.04984090477228165, 0.25605013966560364, -0.34069713950157166, -0.1702275276184082, 0.0045751770958304405, 0.12202457338571548, 0.5888628959655762, 0.025834757834672928, -0.960536777973175, -0.5044699907302856, -0.12316516786813736, 0.06114424392580986, -0.1465563327074051, 0.9932222962379456, -0.7412121295928955, 0.06232055276632309, 0.5138426423072815, 0.24355760216712952, 0.1600557118654251, -0.028333010151982307, 0.9349545240402222, -0.7066119313240051, 0.3024846911430359, 0.3518809974193573, 0.5906836986541748, 0.2935452461242676, 0.004172641318291426, 0.33910807967185974, 0.059739090502262115, -0.6311025619506836, -1.1086002588272095, 0.3361874520778656, -0.7803142070770264, -0.21766452491283417, 1.092934250831604, -0.5002782940864563, -0.028166357427835464, -0.30772197246551514, -0.19804364442825317, 0.062057241797447205, 0.0693167895078659, 0.585601806640625, 1.0402308702468872, -0.12063777446746826, -0.09330251812934875, -0.716269850730896, 0.5222139954566956, 0.5624648928642273, -0.8484578728675842, 0.14361689984798431, 0.21347589790821075, 0.6559557914733887, 0.40111055970191956, 0.9149980545043945, -0.03157823532819748, 0.09043955057859421, -0.08094329386949539, -0.005785678047686815, 0.18298636376857758, -0.05072476342320442, -0.30967992544174194, 0.2574608623981476, 0.37541455030441284, 0.28449124097824097 ]
http://arxiv.org/abs/2402.05445v2
http://arxiv.org/pdf/2402.05445v2
Accurate LoRA-Finetuning Quantization of LLMs via Information Retention
2024-02-08T06:53:31
2024-05-27T09:20:35
Haotong Qin, Xudong Ma, Xingyu Zheng, Xiaoyang Li, Yang Zhang, Shouda Liu, Jie Luo, Xianglong Liu, Michele Magno
cs.LG
cs.LG, cs.CL
The LoRA-finetuning quantization of LLMs has been extensively studied to obtain accurate yet compact LLMs for deployment on resource-constrained hardware. However, existing methods cause the quantized LLM to severely degrade and even fail to benefit from the finetuning of LoRA. This paper proposes a novel IR-QLoRA for pushing quantized LLMs with LoRA to be highly accurate through information retention. The proposed IR-QLoRA mainly relies on two technologies derived from the perspective of unified information: (1) statistics-based Information Calibration Quantization allows the quantized parameters of LLM to retain original information accurately; (2) finetuning-based Information Elastic Connection makes LoRA utilizes elastic representation transformation with diverse information. Comprehensive experiments show that IR-QLoRA can significantly improve accuracy across LLaMA and LLaMA2 families under 2-4 bit-widths, e.g., 4- bit LLaMA-7B achieves 1.4% improvement on MMLU compared with the state-of-the-art methods. The significant performance gain requires only a tiny 0.31% additional time consumption, revealing the satisfactory efficiency of our IR-QLoRA. We highlight that IR-QLoRA enjoys excellent versatility, compatible with various frameworks (e.g., NormalFloat and Integer quantization) and brings general accuracy gains. The code is available at https://github.com/htqin/ir-qlora.
[ -0.3887983560562134, -0.6248986721038818, 0.3881504237651825, 0.06921403855085373, -0.5673502087593079, 0.20722275972366333, -0.19100764393806458, -0.38383805751800537, 0.1750856637954712, 0.11865458637475967, -0.2100716233253479, -0.5533648729324341, -0.0575653612613678, -0.11707678437232971, -0.16846953332424164, 0.7784264087677002, -0.08025453984737396, -0.00899504218250513, 0.2417650818824768, -0.6835566759109497, -0.4325111210346222, -0.26984816789627075, -0.1306886523962021, -0.5110654234886169, 0.8581786751747131, 0.554473876953125, 0.7651153802871704, 0.6528754830360413, 0.6614347100257874, 0.19388121366500854, -0.11364096403121948, 0.40019360184669495, -0.5403681993484497, -0.004071736708283424, 0.12553325295448303, -0.7308562994003296, -0.5412657260894775, -0.3232472836971283, 0.8866088390350342, 0.24766279757022858, -0.44997793436050415, 0.5807505249977112, 0.04787478223443031, 1.2571640014648438, -0.8699815273284912, -0.11694319546222687, -0.6783570647239685, 0.10944179445505142, -0.40605172514915466, -0.5958881378173828, -0.33086851239204407, -0.5897427797317505, -0.1365097612142563, -0.7931855916976929, -0.15976177155971527, 0.09313085675239563, 0.860072135925293, 0.4569942355155945, -0.6022414565086365, 0.16253061592578888, -1.0584274530410767, 0.709713339805603, -0.6168321967124939, 0.5205667614936829, 0.2357291877269745, 0.5105672478675842, 0.06820599734783173, -0.6150828003883362, -0.24938960373401642, 0.07427965849637985, 0.3203268051147461, 0.1966325044631958, -0.17172527313232422, 0.1936282068490982, 0.047755222767591476, 0.34168586134910583, -0.4320726692676544, 0.26872992515563965, -0.4280427098274231, 0.05588236078619957, 0.1807580143213272, -0.053157988935709, -0.30124932527542114, 0.21121177077293396, -0.7986018657684326, -0.17387279868125916, -1.1272399425506592, -0.07016950845718384, 0.38780495524406433, 0.10659915208816528, -0.10472895950078964, 0.4758859872817993, -0.11081492900848389, 0.408869206905365, 0.13980159163475037, -0.31256967782974243, 0.12404967099428177, 0.02060610055923462, -0.22985707223415375, 0.174931600689888, 0.553756594657898, 0.3535657525062561, -0.05194472521543503, 0.1364767700433731, -0.2958059310913086, -0.01377398706972599, -0.16390538215637207, -0.9456548690795898, 0.022676613181829453, 0.2962898910045624, -0.4002741873264313, -0.03652075305581093, 0.16441325843334198, -0.6169843077659607, -0.14587169885635376, -0.2722119390964508, 0.5973857641220093, -0.39315035939216614, 0.031628698110580444, 0.11678467690944672, 0.17405462265014648, 0.19373546540737152, 0.4517784118652344, -0.7163596153259277, -0.020145738497376442, 0.6100205183029175, 0.7480976581573486, 0.026965700089931488, 0.23886454105377197, -0.46827346086502075, 0.30707404017448425, -0.2287510335445404, 0.8020387291908264, 0.13834863901138306, 0.23830623924732208, -0.13315536081790924, -0.4615080654621124, 0.4105452001094818, -0.6492773294448853, 0.24119026958942413, -0.9078100919723511, -0.13508884608745575, 0.0762903168797493, -0.33224862813949585, -0.206821471452713, 0.21992698311805725, -0.8067260384559631, 0.7684202194213867, 0.25559109449386597, -0.4733019173145294, 0.0921994298696518, -0.28250157833099365, 0.28407570719718933, 0.03128940239548683, -0.30147430300712585, -0.5926927924156189, 0.09037625789642334, -0.13216808438301086, -0.066970095038414, -0.6343467831611633, 0.33080580830574036, -0.3214966654777527, -0.8472023606300354, 0.520044207572937, -0.8841644525527954, 0.46246933937072754, 0.5323123335838318, -0.3083703815937042, -0.17558202147483826, -0.8810017704963684, 0.42743194103240967, -0.21238678693771362, -0.6409294605255127, -0.304413378238678, -0.3796410858631134, -0.03873752802610397, -0.18968465924263, 0.5176463723182678, -0.5351871848106384, 0.20670872926712036, -0.16056686639785767, 0.384660929441452, 0.8571395874023438, -0.2021487057209015, 0.4145464599132538, -0.5179442167282104, 0.5078698396682739, -0.13904139399528503, 0.3585933744907379, 0.014234479516744614, -0.10165179520845413, -0.6417779922485352, -0.3009999692440033, 0.6759283542633057, 0.6028637290000916, -0.6889095902442932, 0.43847042322158813, -0.41571104526519775, -0.5454273819923401, -0.324651300907135, 0.19220541417598724, 0.35833030939102173, 0.2589539885520935, 0.26827937364578247, -0.1662193089723587, -0.4418160915374756, -0.5550926923751831, 0.0013727121986448765, -0.1865932196378708, -0.107744500041008, -0.07886876165866852, 0.03382651135325432, -0.42185401916503906, 1.020626187324524, -0.29565727710723877, -0.8065273761749268, 0.19925028085708618, 0.16036900877952576, 0.41870442032814026, 0.7039339542388916, 0.39101091027259827, -0.7636895179748535, -0.2690112590789795, 0.2240782231092453, -0.6719963550567627, -0.05466520041227341, -0.04214223846793175, -0.24462106823921204, 0.17058134078979492, -0.030496500432491302, -0.36038023233413696, 0.5525688529014587, 0.7021083235740662, -0.32930988073349, 0.3310374915599823, -0.3480726480484009, 0.21569088101387024, -0.8985691070556641, 0.09864423424005508, 0.1629568636417389, -0.3622850179672241, -0.42824020981788635, 0.12131959944963455, 0.3249450623989105, 0.2300937920808792, -0.6989144682884216, 0.35715344548225403, -0.41841328144073486, -0.08317705988883972, -0.09788742661476135, 0.09783869981765747, 0.17723287642002106, 0.5635190606117249, -0.5567147135734558, 0.8669623136520386, -0.17109252512454987, -0.4436948001384735, 0.3118024170398712, -0.028403904289007187, -0.13343559205532074, 0.8109299540519714, -0.48755520582199097, 0.0722467228770256, -0.1863599419593811, 0.1610482782125473, -0.5767821669578552, 0.10528549551963806, 0.02103988267481327, -0.12080242484807968, 0.1116369217634201, -0.32433342933654785, -0.5744798183441162, -0.01997646503150463, -0.6508272886276245, 0.8017497658729553, 0.8398381471633911, -0.6104891896247864, 0.6367301344871521, 0.10589120537042618, 0.1773270070552826, -0.5017216205596924, -0.9297698140144348, -0.2619856595993042, -0.5174674391746521, -0.4854850471019745, 0.4542759656906128, -0.26798421144485474, -0.2968820631504059, -0.17499218881130219, -0.3403821885585785, -0.3279327154159546, -0.01235252059996128, 0.06826604902744293, 0.3562573492527008, -0.42193934321403503, 0.41797617077827454, -0.08479215949773788, -0.19211281836032867, -0.3259110152721405, -0.3000793159008026, 0.48563510179519653, -0.46023625135421753, -0.3620799779891968, -0.8544362783432007, 0.11031113564968109, 0.44863951206207275, 0.052574072033166885, 0.5448387265205383, 0.7523261308670044, -0.32959216833114624, -0.0560653917491436, -0.8480685353279114, -0.18604564666748047, -0.5532532930374146, 0.21644289791584015, -0.3236973285675049, -0.8384104371070862, 0.715366542339325, -0.1541343480348587, -0.07935512065887451, 0.339008629322052, -0.10030825436115265, -0.5393550395965576, 0.827974259853363, 0.5088074803352356, -0.05292142182588577, 0.7869182229042053, -0.5863279104232788, -0.060385994613170624, -0.7832493185997009, 0.10312588512897491, -0.346540242433548, -0.4084131717681885, -0.47444963455200195, -0.30384358763694763, 0.7995201945304871, 0.3432570993900299, -0.7032049894332886, -0.02961602620780468, -0.5202784538269043, 0.3995409309864044, 0.6143262386322021, 0.37902870774269104, 0.5900554656982422, 0.5030407905578613, 0.42447587847709656, -0.1126207485795021, -0.7661718726158142, -0.571998119354248, 0.9682448506355286, 0.3715292811393738, 1.3782730102539062, 0.22663836181163788, 0.6606460213661194, 0.474357545375824, 0.13671976327896118, -0.4303610324859619, 0.29570314288139343, -0.22740022838115692, -0.04210016131401062, -0.3143868148326874, -0.6912608742713928, -0.8261476159095764, 0.18849729001522064, -0.020426791161298752, -0.523817777633667, 0.3288225829601288, 0.5373584628105164, -0.605472981929779, 0.6382052302360535, -0.5688858032226562, 0.2306981086730957, -0.26405033469200134, -0.38172024488449097, -0.22832216322422028, -0.542063295841217, 0.21372483670711517, -0.1778292953968048, 0.039938777685165405, -0.3247969448566437, -0.1719944328069687, 0.7756707668304443, -0.7269557118415833, 0.5653071403503418, -0.17653247714042664, -0.6369553804397583, 0.52916419506073, -0.0004041101783514023, 0.6225154399871826, 0.05961441248655319, -0.21319857239723206, 0.12921154499053955, 0.16257181763648987, -0.3918941915035248, -0.8792376518249512, 0.6389353275299072, -0.6063094139099121, -0.27418529987335205, -0.2754158675670624, -0.4721430540084839, 0.08163562417030334, 0.13321757316589355, 0.08212290704250336, 0.5747822523117065, 0.09733935445547104, 0.41835927963256836, 0.8248694539070129, 0.19716298580169678, 0.07650378346443176, 0.5681271553039551, 0.08287495374679565, -0.8613221049308777, 1.2606927156448364, 0.3177771270275116, 0.41436222195625305, 0.47233888506889343, 0.2761368751525879, -0.17401745915412903, -0.5095080137252808, -0.46047836542129517, 0.3608073592185974, -0.592197060585022, -0.8390836715698242, 0.006820776034146547, -0.07143256813287735, 0.050232209265232086, -0.19202372431755066, -0.6578595638275146, -0.5636482834815979, -0.5679129958152771, 0.2137805074453354, 0.7719250917434692, 0.5289742946624756, -0.28340384364128113, 0.7113946080207825, -0.8720923066139221, 0.3387404680252075, 0.2782037556171417, 0.4745016098022461, -0.12988246977329254, -0.5112860202789307, -0.267473429441452, 0.488511860370636, -0.2949807643890381, -0.5594554543495178, 0.226737841963768, 0.37873831391334534, -0.08105418086051941, 0.5545111298561096, 0.31352901458740234, 0.9805787205696106, -0.011873438954353333, 0.3137584328651428, 0.3172644078731537, -0.7633435726165771, 0.6244060397148132, -0.2865920066833496, 0.5163440108299255, 0.8014358878135681, -0.07481265068054199, -0.30809488892555237, -0.3048422932624817, -0.3233712315559387, -0.8494647741317749, 0.4666135907173157, -0.043604929000139236, -0.21825388073921204, 0.524720311164856, 0.4117427170276642, 0.062495771795511246, 0.17310182750225067, -0.7239459156990051, -0.5516411662101746, 0.13856911659240723, -0.5216954350471497, 0.4270859360694885, -0.4733019173145294, -0.22414787113666534, 0.14925949275493622, 0.6792759895324707, -0.5406937599182129, 0.550530195236206, 0.2541552484035492, -0.10218455642461777, -0.16145743429660797, 0.32108479738235474, 0.5332561731338501, 0.6603996753692627, -0.5192917585372925, 0.3611968159675598, 0.2265550047159195, -0.5544633865356445, 0.7107172608375549, 0.07690872997045517, -0.4342743158340454, -0.17688074707984924, -0.10812482982873917, 0.5414851903915405, 0.1629793792963028, -0.5923985242843628, 0.3656848967075348, -0.04854873567819595, 0.021615108475089073, -0.5867897272109985, 0.01998514123260975, -0.3169417083263397, 0.5783258676528931, 0.8079996109008789, 0.09621868282556534, -0.04748086631298065, -0.45697057247161865, 0.04009958356618881, 0.3015700578689575, -0.30082643032073975, -0.2472684234380722, 0.6111339926719666, 0.06252321600914001, 0.025180598720908165, 0.2762760818004608, -0.16261978447437286, -0.1291310340166092, 0.6025460362434387, 0.48408856987953186, 0.5335178971290588, -0.03761330619454384, 0.050108253955841064, 0.14687223732471466, 0.009509121999144554, -0.21995489299297333, 0.5656938552856445, -0.24854756891727448, -0.5083549618721008, -0.17767181992530823, -0.3331697881221771, -0.4132486581802368, -0.292583167552948, -0.8006861209869385, -0.0020775680895894766, -0.5135993361473083, -0.45111143589019775, -0.7155415415763855, 0.08975017815828323, -0.49718019366264343, 0.036118678748607635, 0.02029077336192131, 0.7945308089256287, -0.22285260260105133, 0.7787442803382874, 0.18378430604934692, -0.19369925558567047, -0.7567123174667358, -0.4229291081428528, -0.14619868993759155, -0.6768242716789246, 0.6008186936378479, 0.02588723413646221, -0.3349350094795227, 0.1879241168498993, -0.4739091098308563, -1.1783950328826904, 1.8514775037765503, 0.7013642191886902, -0.9286715984344482, 0.13144831359386444, 0.19922514259815216, 0.3534451127052307, 0.030052877962589264, 0.28020691871643066, 0.502166748046875, 0.4862426519393921, 0.06490125507116318, -0.7370235919952393, -0.053830474615097046, -0.031223520636558533, 0.09438753873109818, 0.206516295671463, -1.071234107017517, 0.583324134349823, -0.33835071325302124, -0.5058399438858032, 0.576470136642456, 0.9809295535087585, 0.6486690640449524, 0.26458561420440674, 0.4814918637275696, 0.500874400138855, 1.0007766485214233, -0.23342029750347137, 0.5639864802360535, -0.2593899369239807, 0.5103868842124939, 0.8553338646888733, -0.2215423583984375, 0.7942733764648438, 0.6688463687896729, -0.1536051332950592, 0.40600237250328064, 0.3066549599170685, 0.17569367587566376, 0.47188177704811096, 0.26388445496559143, -0.6005792617797852, 0.19583235681056976, -0.3164558410644531, -0.45803365111351013, 0.1981874257326126, 0.24645079672336578, -0.049653444439172745, -0.019217250868678093, 0.2418542355298996, -0.08245284110307693, -0.23727591335773468, -0.41088059544563293, 0.422104150056839, 0.024835197255015373, -0.4635879099369049, 1.034759759902954, -0.17891323566436768, 1.0266376733779907, -0.5963144302368164, -0.2442382425069809, -0.37212881445884705, 0.2460375726222992, -0.32486391067504883, -0.4817485511302948, -0.20426541566848755, -0.09826131910085678, -0.003353383392095566, -0.0736992135643959, 0.6403798460960388, -0.6203071475028992, -0.2757653594017029, 0.030830850824713707, 0.3214739263057709, -0.024882016703486443, 0.12976858019828796, -0.17724883556365967, 0.38717055320739746, 0.13321872055530548, -0.12695056200027466, 0.37242892384529114, 0.4525626599788666, 0.06067871302366257, 0.867367148399353, 0.4418044090270996, 0.28537285327911377, 0.27903348207473755, 0.16042940318584442, 0.71866774559021, -0.8023245334625244, -0.38244158029556274, -0.48950082063674927, 0.23283526301383972, 0.3780779242515564, -0.2719555199146271, 0.37095072865486145, 0.3762022852897644, 0.5084598064422607, 0.15933088958263397, 0.29571467638015747, 0.1576225608587265, 0.13548709452152252, -0.9216794967651367, 0.5219082236289978, -0.4445335566997528, 0.4619201421737671, 0.07917468249797821, -1.0814458131790161, -0.4073612689971924, 0.6006707549095154, 0.2903284728527069, 0.07519517838954926, 0.559733510017395, 0.7841672301292419, 0.07216985523700714, -0.17357048392295837, 0.4144129157066345, 0.14987118542194366, 0.39556482434272766, 0.7393490672111511, 0.7632263898849487, -0.8645805716514587, 0.6429392695426941, -0.41502901911735535, -0.20103608071804047, -0.3721190094947815, -0.7103474736213684, -0.13761764764785767, -0.31971636414527893, -0.5387217998504639, -0.08307044953107834, 0.2490750551223755, 0.8799948692321777, 0.8177921175956726, -0.4754285514354706, -0.1926587074995041, 0.014692757278680801, 0.10193638503551483, -0.015995772555470467, -0.2801746129989624, 0.32680949568748474, -0.07721711695194244, -0.43276676535606384, 0.2163018137216568, 0.23421069979667664, 0.6189015507698059, -0.41794317960739136, -0.2503541111946106, 0.04154869541525841, -0.1786753237247467, 0.4213053286075592, 0.583076000213623, -0.5973163843154907, -0.3294576406478882, -0.22370530664920807, -0.3102383613586426, 0.4042304754257202, 0.4614257216453552, -1.0290015935897827, 0.1409388929605484, 0.3015545606613159, 0.4729005694389343, 0.39586156606674194, 0.2036302387714386, 0.40276962518692017, -0.6355735659599304, 0.22802984714508057, 0.18824122846126556, 0.3046010136604309, 0.12642143666744232, -0.45565181970596313, 0.7264047861099243, -0.07916408032178879, -0.7973988652229309, -0.8653931021690369, -0.0849715992808342, -1.1732542514801025, 0.33768630027770996, 1.032933235168457, -0.13965828716754913, -0.5025349259376526, 0.296682208776474, -0.3428652584552765, 0.19924180209636688, -0.61655592918396, 0.6601262092590332, -0.23294208943843842, 0.025304581969976425, -0.10863009095191956, -0.21886123716831207, 0.1811666339635849, 0.5267098546028137, -0.5803425312042236, -0.1471889466047287, 0.38373419642448425, -0.004663941450417042, 0.26716774702072144, 0.5632387399673462, -0.012145654298365116, 0.6297699213027954, -0.4094903767108917, 0.31638166308403015, -0.07101850211620331, -0.22525982558727264, -0.6193907856941223, 0.24876905977725983, 0.3412010371685028, -0.2915247678756714 ]
http://arxiv.org/abs/2402.05440v1
http://arxiv.org/pdf/2402.05440v1
Improving Agent Interactions in Virtual Environments with Language Models
2024-02-08T06:34:11
2024-02-08T06:34:11
Jack Zhang
cs.CL
cs.CL
Enhancing AI systems with efficient communication skills for effective human assistance necessitates proactive initiatives from the system side to discern specific circumstances and interact aptly. This research focuses on a collective building assignment in the Minecraft dataset, employing language modeling to enhance task understanding through state-of-the-art methods. These models focus on grounding multi-modal understanding and task-oriented dialogue comprehension tasks, providing insights into their interpretative and responsive capabilities. Our experimental results showcase a substantial improvement over existing methods, indicating a promising direction for future research in this domain.
[ -0.39427465200424194, -1.1847295761108398, 0.5441972017288208, 0.06316940486431122, 0.2078590989112854, 0.3469190299510956, -0.22589942812919617, -0.6443055868148804, -0.2549145817756653, 0.3306097984313965, -0.5996435880661011, -0.2889694571495056, -0.4674127697944641, 0.004439937882125378, -0.019431499764323235, 0.5926279425621033, 0.039477281272411346, -0.1562747061252594, -0.6778038144111633, -0.15287576615810394, -0.8103721737861633, -0.6093923449516296, -0.7163485884666443, -0.454518586397171, 0.2662583291530609, 0.27405813336372375, 1.077235460281372, 0.8265330195426941, 0.3750259280204773, 0.581064760684967, 0.06402165442705154, 0.2530985176563263, -0.5348227024078369, 0.2350282520055771, -0.36868026852607727, -0.3599582016468048, -0.5850294828414917, -0.16721592843532562, 0.19451436400413513, 0.6404635310173035, -0.12363924086093903, 0.13306204974651337, -0.079645536839962, 0.10100244730710983, -0.2955819070339203, 0.8461293578147888, -0.55731201171875, -0.2585190534591675, 0.2512935996055603, 0.0553152933716774, -0.3442818522453308, 0.317333847284317, 0.2843915820121765, -0.9079340696334839, 0.23906053602695465, 0.1401139348745346, 0.552798867225647, 0.3127371072769165, -0.2414025366306305, -0.15551777184009552, -0.49574124813079834, 0.7561485767364502, -0.6967597603797913, 0.36632558703422546, 0.5791633129119873, 0.16237705945968628, -0.32878610491752625, -0.39601805806159973, -0.6583740711212158, -0.4083271622657776, -0.015444248914718628, 0.10755616426467896, -0.23600032925605774, 0.399585485458374, 0.17367102205753326, -0.06597700715065002, -0.3164236843585968, 0.02288961410522461, -0.3940373659133911, -0.2277945876121521, 0.6604409217834473, 0.4110369384288788, 0.7327066659927368, -0.2154025286436081, -0.02250373549759388, 0.012474685907363892, -0.09454198181629181, 0.27422046661376953, 0.1270279884338379, 0.6491405367851257, -0.21107451617717743, 0.618115246295929, -0.1692357063293457, 0.9538564682006836, -0.0878712460398674, -0.04479494318366051, 0.06005854159593582, -0.6979373693466187, -0.44640976190567017, -0.286931574344635, 0.09719307720661163, 0.4989769458770752, 0.207815483212471, -0.40282154083251953, -0.028913138434290886, 0.44882524013519287, 0.7422157526016235, -0.3681398034095764, -0.06709577888250351, 0.4428776502609253, -0.5782690048217773, -0.4757404923439026, -0.0719856470823288, -0.31778958439826965, -0.6195410490036011, -0.7938850522041321, 0.3936511278152466, -0.2243090569972992, -0.8997752070426941, 0.08087269216775894, -0.48664391040802, 0.03873780369758606, 0.5673498511314392, -0.5548257231712341, 0.6296005845069885, 0.747645378112793, 0.7701494693756104, 0.04798141494393349, -0.45041128993034363, -0.541873574256897, 0.28780463337898254, -0.08639183640480042, 0.6722114682197571, -0.817725658416748, -0.5520870685577393, -0.19779419898986816, 0.0012679630890488625, -0.06732938438653946, -0.5644082427024841, 0.11534925550222397, -0.18031398952007294, 0.2740482687950134, -0.040879037231206894, -0.15974411368370056, -0.2337295562028885, 0.4865177869796753, -0.6399065852165222, 0.7903082966804504, 0.4414212107658386, -0.3432641923427582, -0.13721926510334015, -0.9534669518470764, -0.14822274446487427, 0.11434933543205261, -0.007470343261957169, 0.06568154692649841, 0.39921414852142334, 0.18374814093112946, 0.33965930342674255, -0.2131195217370987, 0.13633690774440765, -0.1522037833929062, -0.3694058656692505, 0.2229570746421814, -0.0943853110074997, 0.620206892490387, 0.24346816539764404, -0.34092220664024353, 0.5202847719192505, -0.47441792488098145, 0.11760859936475754, 0.03968599811196327, 0.008467824198305607, -0.46980902552604675, 0.13069652020931244, 0.1191936656832695, 0.32071736454963684, 0.13518105447292328, -0.1887560784816742, 0.48621782660484314, -0.43658530712127686, 0.117100790143013, 0.8709208369255066, -0.2538328766822815, 0.5720918774604797, -0.4044100046157837, 0.7610623836517334, -0.006128751207143068, 0.058929186314344406, -0.08987689018249512, -0.33934521675109863, -0.40237778425216675, -0.33003824949264526, -0.08220048993825912, 0.7243751883506775, -1.097512125968933, -0.05751952901482582, -0.27224934101104736, -0.31598904728889465, -0.6356395483016968, 0.24183157086372375, 0.6836003065109253, 0.4483989179134369, 0.25279515981674194, -0.4615881145000458, -0.59511399269104, -0.5385155081748962, -0.04721531271934509, -0.5438632965087891, 0.02479846589267254, 0.5872454047203064, 0.036923471838235855, -0.3054768741130829, 1.0076119899749756, -0.08339861035346985, 0.02982897125184536, -0.6262261271476746, 0.16938400268554688, 0.0868983119726181, 0.33022746443748474, 0.40713536739349365, -0.95113205909729, -0.49207058548927307, 0.2791156470775604, -0.9052980542182922, -0.1977841556072235, -0.22817696630954742, -0.1855664700269699, -0.026252731680870056, 0.4997382164001465, -0.6220102310180664, 0.40081334114074707, 0.5665794014930725, -0.6448130011558533, 0.42284122109413147, -0.21474646031856537, 0.26677337288856506, -1.1181570291519165, -0.37364745140075684, 0.11020329594612122, -0.37827932834625244, -0.996059238910675, 0.255029559135437, -0.266810804605484, -0.12854668498039246, -0.5340447425842285, 0.7268311381340027, -0.8907288908958435, 0.07968420535326004, -0.6428819298744202, 0.3554011881351471, -0.19238846004009247, 0.5707078576087952, 0.14998283982276917, 0.8853995203971863, 0.7755232453346252, -0.44614097476005554, 0.6681263446807861, 0.25290781259536743, -0.1373329758644104, 0.7636892199516296, -0.8489006757736206, 0.2746049761772156, -0.39971357583999634, 0.031810399144887924, -0.9174003005027771, -0.22936585545539856, 0.26338991522789, -0.506302535533905, -0.140797957777977, -0.27626579999923706, -0.4635303318500519, -0.4053809940814972, -0.03290659561753273, 0.273354709148407, 0.22668717801570892, -0.16698089241981506, 0.9317548871040344, 0.5452201962471008, -0.19535785913467407, -0.4972672462463379, -0.3832240104675293, 0.057579535990953445, -0.0989990159869194, -0.6974703669548035, 0.17463594675064087, -0.07130331546068192, -0.9732301831245422, 0.13783374428749084, -0.0742289125919342, -0.4086058437824249, 0.350686252117157, 0.7128533124923706, 0.27874666452407837, -0.16332386434078217, 0.3657757639884949, -0.29092004895210266, -0.027613913640379906, 0.09984014183282852, -0.09422603994607925, 0.4742305278778076, -0.15046413242816925, -0.29949235916137695, -0.5721086859703064, 0.4930359721183777, 0.7231171131134033, -0.4418830871582031, 1.1034399271011353, 0.4234023690223694, -0.43863117694854736, -0.21123479306697845, -0.5314863920211792, -0.13577839732170105, -0.5263576507568359, 0.5314276814460754, -0.7666260600090027, -0.7189288139343262, 0.638399064540863, -0.2290690690279007, 0.0731385201215744, 0.13256360590457916, 0.5596297383308411, -0.1329333633184433, 1.1261165142059326, 0.8087314963340759, -0.29145169258117676, 0.6758723258972168, -0.14002206921577454, 0.1717837005853653, -0.6570478081703186, -0.23850931227207184, -0.3376618027687073, -0.15766999125480652, -0.2126912623643875, -0.7548084259033203, 0.1878580003976822, -0.06305794417858124, 0.14432746171951294, 0.5119292736053467, -0.4455665051937103, 0.40984636545181274, 0.2610219419002533, 0.2605510652065277, 0.14100410044193268, -0.04008982330560684, 0.2167772352695465, 0.2936297059059143, -0.5485854148864746, -0.5245860815048218, 0.7271530032157898, 0.1917385309934616, 0.5201322436332703, 0.44261521100997925, 0.3120430111885071, 0.5424947738647461, 0.40821516513824463, -0.5585185289382935, 0.4434165060520172, 0.5796200633049011, -0.6524945497512817, -0.6231899857521057, -0.2763177752494812, -1.1968625783920288, 0.6720338463783264, -0.28952792286872864, -0.843772292137146, -0.0818450003862381, 0.07369347661733627, -0.23218120634555817, -0.03476868197321892, -1.0479135513305664, 1.1038460731506348, -0.03983819857239723, -0.42911815643310547, -0.6400389671325684, -0.4620080888271332, -0.0582234226167202, 0.38417547941207886, 0.6150174140930176, -0.23260271549224854, 0.12421886622905731, -0.08646233379840851, -0.3179343044757843, 1.0124303102493286, -0.40542837977409363, -0.0440659336745739, 0.48067906498908997, 0.16755668818950653, 0.728936493396759, 0.0026478799991309643, -0.455873042345047, -0.29218244552612305, 0.008414460346102715, -0.7370126843452454, -0.8367097973823547, 0.61641526222229, -0.9814355373382568, -0.802236020565033, 0.014379063621163368, -1.0792744159698486, -0.23009951412677765, -0.12395741045475006, -0.530613362789154, 0.6938042044639587, -0.4338802993297577, 0.008129608817398548, 0.4103938043117523, -0.021276842802762985, 0.4172954857349396, 0.5270400047302246, -0.010513792745769024, 0.09701517969369888, 0.930110514163971, -0.1143820658326149, 0.4192025661468506, -0.043693531304597855, -0.1609020084142685, -0.16977110505104065, -0.41096943616867065, -0.40692073106765747, -0.04838177561759949, -0.5173391699790955, 0.030396729707717896, -0.8511465191841125, 0.04907403886318207, -0.727384626865387, -0.3078029453754425, -0.0749998688697815, -0.29326972365379333, -0.2128801792860031, -0.4299466013908386, 0.17372195422649384, 0.9873698353767395, 0.040219586342573166, 0.45757901668548584, -0.8622761368751526, 0.5034162998199463, 0.3127995431423187, 0.0986444503068924, 0.1668449491262436, -0.21796496212482452, -0.5067453384399414, 0.12473978847265244, -0.08713571727275848, -1.0888299942016602, 0.3390447795391083, -0.09139639139175415, 1.2282601594924927, -0.07503383606672287, -0.029943374916911125, 0.7576894164085388, -0.3054746687412262, 0.882437527179718, -0.14910566806793213, -1.1621545553207397, 0.6134753227233887, -0.608919620513916, 0.609306275844574, 0.39186036586761475, -0.05329194292426109, -0.666307806968689, -0.5442469120025635, -0.7753435373306274, -0.6494567394256592, 0.7510926127433777, 0.30294570326805115, 0.3971901834011078, 0.14750421047210693, 0.2948828339576721, -0.14210282266139984, 0.3512709140777588, -0.6157187819480896, -0.16202202439308167, -0.12403411418199539, -0.34524446725845337, -0.005753527861088514, 0.006466669496148825, -0.22623656690120697, -0.3193416893482208, 0.458051860332489, -0.17376509308815002, 0.3426459729671478, 0.014264766126871109, -0.4989040195941925, -0.10033030807971954, 0.19778764247894287, 0.5609586834907532, 1.0945831537246704, 0.27736297249794006, 0.23147426545619965, 0.48199349641799927, -0.17236937582492828, 0.18614645302295685, 0.05974150821566582, 0.4276321828365326, -0.3055194914340973, 0.5161750912666321, 0.7712611556053162, -0.29511594772338867, -0.8794152140617371, 0.40515872836112976, -0.13792961835861206, 0.12064139544963837, -0.03702208772301674, 0.3923526406288147, 0.12385755032300949, 0.5702782273292542, 0.16161951422691345, -0.033121977001428604, 0.1187114417552948, -0.8338099122047424, 0.08646803349256516, 0.43721550703048706, -0.4282931685447693, -0.44653695821762085, 0.40340501070022583, 0.5067164301872253, -0.6102498173713684, 0.7929003238677979, -0.091917023062706, -0.4457955062389374, 0.992571234703064, 0.6150153279304504, 0.6448531746864319, -0.3379517197608948, 0.4449005722999573, 0.03687024861574173, 0.38739776611328125, 0.07753434032201767, 0.4498768448829651, -0.22922305762767792, -0.9051313400268555, -0.5676800012588501, -0.12940587103366852, -0.5181758403778076, -0.26338374614715576, -0.3484211266040802, -0.1428273320198059, -0.24909737706184387, -0.2091701626777649, -0.2076423168182373, 0.0027867162134498358, -0.9843897819519043, 0.1626909077167511, 0.277351975440979, 0.4383352994918823, -0.882379949092865, 0.8998122215270996, 1.0526846647262573, -0.34195804595947266, -0.7431978583335876, -0.196898952126503, 0.28517529368400574, -0.4762604832649231, 0.5422793030738831, 0.04254046455025673, -0.2988952696323395, -0.008664130233228207, -0.7317616939544678, -0.7320870161056519, 0.898337185382843, 0.1751909852027893, -0.13139933347702026, -0.019210083410143852, -0.021486900746822357, 0.9037124514579773, -0.36206045746803284, 0.54649418592453, 0.2734474837779999, 0.6595446467399597, -0.4700709283351898, -1.3669887781143188, 0.07482655346393585, -0.7001556754112244, 0.13776443898677826, -0.05024731159210205, -0.6696978807449341, 0.40545353293418884, -0.10973062366247177, -0.08854887634515762, -0.060641128569841385, 0.9110865592956543, 0.13502103090286255, 0.4076744019985199, 0.8589619994163513, 0.12482486665248871, 0.7819254398345947, 0.03822125121951103, 1.23884117603302, -0.19583261013031006, 0.038061052560806274, 1.1837759017944336, -0.042613692581653595, 0.48392781615257263, 0.5050441026687622, -0.015448168851435184, 0.5363593697547913, 0.46439260244369507, 0.3338034451007843, 0.3772212862968445, 0.49315735697746277, -0.4767903685569763, -0.4224795997142792, -0.7335267066955566, -0.17570844292640686, 0.4937865436077118, 0.49141475558280945, 0.056054554879665375, 0.09492755681276321, 0.44737130403518677, -0.1384618878364563, 0.3430611193180084, -0.2329430878162384, 0.9925602674484253, -0.22117239236831665, -0.6447821855545044, 0.11295913904905319, -0.11906281858682632, 0.4106770157814026, -0.23876307904720306, -0.2767706513404846, 0.037066563963890076, 0.004197454545646906, -0.1452103555202484, -0.42173945903778076, 0.35135576128959656, -0.15460403263568878, -0.41142794489860535, -0.511644184589386, 0.7046836614608765, -0.5649732947349548, -0.3447732925415039, 0.2871844470500946, 0.8891584277153015, 0.07517807930707932, -0.2631577253341675, -0.7086226344108582, 0.3400569260120392, -0.1700480729341507, -0.1793144941329956, 0.06108963489532471, 0.5284912586212158, -0.25691157579421997, 0.7502803802490234, 0.6528244614601135, -0.0852341502904892, 0.08747991919517517, 0.15191464126110077, 1.0241252183914185, -0.42811980843544006, -0.30952614545822144, -0.6278682351112366, 0.9113085865974426, -0.3320770859718323, 0.06863026320934296, 0.7916561961174011, 0.2476215362548828, 0.9077684879302979, -0.14737586677074432, 0.922128438949585, -0.2643614113330841, 0.30752047896385193, -0.16280953586101532, 0.3049241900444031, -0.4791610538959503, 0.022211773321032524, -0.2061721682548523, -0.853306233882904, -0.09850466251373291, 0.7099177837371826, -0.07759224623441696, -0.15737417340278625, 0.31931617856025696, 0.8685758709907532, -0.14861975610256195, -0.21897205710411072, 0.503109335899353, 0.19507725536823273, 0.566619336605072, 0.25067803263664246, 1.0462466478347778, -0.06911338865756989, 0.35234278440475464, -0.13132071495056152, -0.15742580592632294, 0.07136182487010956, -0.520108699798584, -1.154201626777649, -0.6307769417762756, -0.25371479988098145, -0.2196909785270691, 0.38281339406967163, 1.266893982887268, 1.0228915214538574, -0.6674568057060242, -0.49832087755203247, 0.015205263160169125, 0.2266274392604828, -0.7061404585838318, -0.21571311354637146, -0.14153166115283966, -0.4705126881599426, -1.038500428199768, 0.8941636085510254, 0.140201598405838, -0.07177703082561493, -0.26447632908821106, -0.24575531482696533, -0.14541061222553253, 0.20242153108119965, 0.6882701516151428, 0.08705238252878189, -0.9664986729621887, -0.44014355540275574, 0.17234137654304504, -0.2560085952281952, -0.11102461069822311, 0.8616080284118652, -0.8765994310379028, 0.8722986578941345, 0.7432230710983276, 0.7678039073944092, 0.18942199647426605, 0.5594848990440369, 1.0069329738616943, -0.7077867388725281, 0.39827457070350647, -0.07457195967435837, 0.037548162043094635, 0.22428491711616516, -0.6811496019363403, 0.6670383214950562, 0.1907157152891159, -0.42231258749961853, -0.6718204617500305, -0.10540797561407089, -0.9065840244293213, -0.437823623418808, 0.9454542994499207, -0.05734783038496971, -0.18241773545742035, -0.5745382308959961, -0.7626780271530151, 0.3988488018512726, -0.3139168918132782, 0.8258382678031921, 0.9982039928436279, -0.1699947714805603, -0.6381549835205078, -0.7734321355819702, 0.2895672023296356, 0.5750710368156433, -1.1858859062194824, 0.11955636739730835, 0.9792916774749756, -0.15518738329410553, 0.11498088389635086, 0.7692103981971741, 0.4198865592479706, 0.23152172565460205, -0.041637420654296875, 0.16774879395961761, -0.4452036917209625, -0.3933403789997101, -0.10343064367771149, 0.1589275449514389, 0.08784027397632599, -0.22337615489959717 ]
http://arxiv.org/abs/2402.05435v1
http://arxiv.org/pdf/2402.05435v1
GPT-4 Generated Narratives of Life Events using a Structured Narrative Prompt: A Validation Study
2024-02-08T06:20:01
2024-02-08T06:20:01
Christopher J. Lynch, Erik Jensen, Madison H. Munro, Virginia Zamponi, Joseph Martinez, Kevin O'Brien, Brandon Feldhaus, Katherine Smith, Ann Marie Reinhold, Ross Gore
cs.CL
cs.CL, cs.AI, cs.LG, I.2.7; I.6.4
Large Language Models (LLMs) play a pivotal role in generating vast arrays of narratives, facilitating a systematic exploration of their effectiveness for communicating life events in narrative form. In this study, we employ a zero-shot structured narrative prompt to generate 24,000 narratives using OpenAI's GPT-4. From this dataset, we manually classify 2,880 narratives and evaluate their validity in conveying birth, death, hiring, and firing events. Remarkably, 87.43% of the narratives sufficiently convey the intention of the structured prompt. To automate the identification of valid and invalid narratives, we train and validate nine Machine Learning models on the classified datasets. Leveraging these models, we extend our analysis to predict the classifications of the remaining 21,120 narratives. All the ML models excelled at classifying valid narratives as valid, but experienced challenges at simultaneously classifying invalid narratives as invalid. Our findings not only advance the study of LLM capabilities, limitations, and validity but also offer practical insights for narrative generation and natural language processing applications.
[ 0.14248274266719818, -0.7523725032806396, 1.1599111557006836, 0.16927453875541687, -0.1681096851825714, -0.08978866785764694, 0.13180068135261536, -0.35504674911499023, -0.2129477709531784, 0.2944329082965851, -0.6787349581718445, -0.6697281002998352, -0.2760865390300751, 0.39329060912132263, -0.28312844038009644, 1.2055996656417847, -0.31490325927734375, -0.21811412274837494, -0.15336592495441437, -0.022579733282327652, -0.5930055975914001, -0.526664674282074, -0.42749714851379395, -0.24013222754001617, 0.6794542670249939, 0.12253467738628387, 0.5213614106178284, 0.6254431009292603, 0.1663581132888794, 0.17329369485378265, 0.18957124650478363, 0.2851300537586212, -0.40988877415657043, 0.3820698857307434, 0.19889186322689056, -0.3367379903793335, -0.33727070689201355, 0.35670381784439087, 0.5468440055847168, 0.6182140111923218, -0.0974157378077507, 0.25549110770225525, 0.0492837019264698, 0.2613229751586914, -0.38632556796073914, 0.1064341738820076, -0.3512919545173645, 0.35393255949020386, -0.1232287660241127, -0.22177819907665253, -0.5434684157371521, -0.8174741268157959, 0.014941807836294174, -0.43891242146492004, 0.32017722725868225, -0.07801762223243713, 0.9102789759635925, 0.07078284025192261, -0.41896918416023254, -0.4890804886817932, -0.909835934638977, 0.5785043835639954, -0.7483597993850708, -0.05360090360045433, 0.18293385207653046, 0.3161529302597046, -0.23118339478969574, -0.7973857522010803, -0.6070861220359802, -0.3048573434352875, -0.04432243853807449, 0.1257825791835785, -0.08922230452299118, 0.11739318072795868, 0.3658045828342438, 0.4238290786743164, -1.0540051460266113, 0.2760746479034424, -0.34961262345314026, -0.2629067599773407, 0.425871878862381, 0.6384338140487671, 0.5436896085739136, -0.44917166233062744, -0.26967906951904297, 0.2072843462228775, -0.8265154957771301, 0.029697194695472717, 0.7228355407714844, 0.12881803512573242, -0.1761762797832489, 0.7306283712387085, -0.20896680653095245, 0.6539173126220703, -0.11952013522386551, -0.5817484259605408, 0.22489190101623535, -0.42008814215660095, -0.1858990341424942, 0.18516606092453003, 0.9099193811416626, 0.6388283967971802, 0.4823436737060547, -0.13593976199626923, -0.14696557819843292, 0.1612248718738556, 0.2605961561203003, -0.8693190813064575, 0.18731942772865295, 0.4137862026691437, -0.4851541817188263, -0.5335184335708618, -0.24306192994117737, -0.5241097211837769, -0.5186491012573242, -0.029233193024992943, 0.13085924088954926, -0.37541425228118896, 0.2228448987007141, 0.18556426465511322, -0.22703517973423004, 0.38474103808403015, 0.5491472482681274, -0.7336974143981934, -0.19392231106758118, 0.5471473932266235, 0.8245391845703125, -0.2587970197200775, -0.12861043214797974, -0.5510104298591614, 0.2049034982919693, -0.38551396131515503, 0.7163057327270508, -0.3836997449398041, -0.2085840404033661, 0.14321880042552948, -0.11509960889816284, -0.0568990595638752, -0.39624103903770447, 0.9868044853210449, -0.405758261680603, 0.464334636926651, 0.0020964103750884533, -0.5650307536125183, -0.07763247936964035, 0.5941886305809021, -0.4562588334083557, 0.6506763100624084, 0.08408500254154205, -0.4275500178337097, 0.5582391023635864, -0.4633609652519226, -0.3282875716686249, 0.3380647301673889, -0.5243963599205017, -0.45005667209625244, 0.07687466591596603, 0.18417072296142578, 0.5739907026290894, -0.136903315782547, 0.8756953477859497, -0.09412983059883118, -0.33996203541755676, 0.03866826370358467, -0.6335507035255432, 0.5737752914428711, 0.30201855301856995, -0.29119670391082764, 0.07444066554307938, -0.7994046807289124, -0.23198288679122925, 0.4173216223716736, -0.5555208921432495, 0.22548091411590576, -0.162863090634346, -0.1494714319705963, 0.06300799548625946, -0.07739201933145523, -0.8093066811561584, 0.4914260804653168, -0.41244804859161377, 0.40598851442337036, 0.4153708815574646, 0.4539669454097748, 0.17846882343292236, -0.48029834032058716, 0.9376789331436157, -0.0016523031517863274, 0.09030831605195999, -0.949636697769165, -0.8641217350959778, -0.2037372887134552, 0.16243672370910645, 0.010720345191657543, 0.6786748170852661, -0.8475589156150818, 0.27789077162742615, -0.15107430517673492, -0.3769325315952301, -0.10273793339729309, -0.24764013290405273, 0.07938989996910095, 0.9508554339408875, 0.19739815592765808, 0.11294388025999069, -0.6636313796043396, -0.6796103715896606, -0.2887205481529236, -0.3897203207015991, -0.2727009952068329, 0.06080503761768341, 0.3384064733982086, -0.2579135298728943, 1.1212713718414307, -0.3880772590637207, 0.014747535809874535, -0.4498610198497772, 0.39070457220077515, 0.41623198986053467, 0.28236421942710876, 0.6706682443618774, -0.7036213874816895, -0.23230698704719543, -0.25899186730384827, -1.1658447980880737, -0.13385114073753357, -0.5465115308761597, 0.3460826277732849, 0.3222457766532898, 0.047940708696842194, -0.6389639973640442, 0.7734615206718445, 0.4177546799182892, -0.42085087299346924, 0.9648212194442749, -0.26391613483428955, 0.1883171796798706, -0.7902987599372864, -0.05867557227611542, -0.015696456655859947, -0.32138749957084656, -0.590785562992096, -0.32254257798194885, 0.03193151578307152, -0.29902151226997375, -0.4117458164691925, 0.7223177552223206, -0.28369060158729553, 0.06214093789458275, -0.09156733006238937, 0.21263326704502106, 0.026020534336566925, 0.42647889256477356, -0.012797065079212189, 0.5421419739723206, 0.11603283882141113, -0.43458065390586853, 0.5457989573478699, 0.5491215586662292, -0.46997687220573425, 0.4230169653892517, -0.538482666015625, 0.0028631524182856083, -0.21844761073589325, 0.6967850923538208, -1.0202083587646484, -0.6256775259971619, 0.3702296018600464, -0.4429098665714264, -0.010379231534898281, -0.08945470303297043, -0.7193952798843384, -0.3578545153141022, -0.23134568333625793, 0.23437586426734924, 0.5628448724746704, -0.3194868564605713, 0.7054004073143005, 0.00024187513918150216, -0.36665600538253784, -0.1799764484167099, -0.7253363132476807, 0.3970390260219574, -0.41220343112945557, -0.6464577913284302, 0.12640169262886047, -0.269845575094223, -0.05800431966781616, -0.15970478951931, 0.07082699239253998, 0.005575594026595354, -0.1035703644156456, 0.5106936097145081, 0.44255366921424866, -0.3352116048336029, -0.14272408187389374, 0.02056110091507435, -0.28707432746887207, -0.03673052415251732, -0.2620975971221924, 0.38227418065071106, 0.23293019831180573, -0.4825062155723572, -0.36345985531806946, 0.24310337007045746, 0.4329073429107666, 0.19162368774414062, 0.7967249155044556, 0.549194872379303, -0.4796876013278961, 0.10955572128295898, -0.5069637298583984, 0.30149856209754944, -0.39301952719688416, -0.11983855068683624, -0.12847168743610382, -1.0320186614990234, 0.5037866830825806, 0.12210705876350403, 0.24587084352970123, 0.44776836037635803, 0.6425842642784119, 0.11900594830513, 0.9826209545135498, 0.2579021453857422, 0.10835397243499756, 0.1362791657447815, 0.23556001484394073, 0.326164186000824, -0.48199740052223206, -0.1267930120229721, -0.3059932589530945, -0.045062366873025894, -0.4052483141422272, -0.09438084810972214, 0.6128047108650208, 0.04420967027544975, -0.3614426851272583, -0.04350725933909416, -0.3061935305595398, 0.6274625062942505, 0.3610835373401642, -0.17528215050697327, 0.6426372528076172, -0.18141356110572815, -0.30538272857666016, -0.020989440381526947, -0.506554901599884, -1.094122052192688, 0.9559088945388794, 0.4518127143383026, 0.452474445104599, 0.010075271129608154, 0.7011983394622803, 0.28702521324157715, 0.43796002864837646, -0.3269488215446472, 0.37471526861190796, 0.11842280626296997, -0.6011233329772949, -0.28956112265586853, -0.38951489329338074, -0.9933968186378479, -0.15745264291763306, 0.047541543841362, -0.8489685654640198, -0.03243034705519676, -0.06450068205595016, -1.0343408584594727, 0.09260229766368866, -0.7080489993095398, 0.9120728969573975, -0.43257391452789307, 0.03277932479977608, 0.4057657718658447, -0.7258891463279724, 0.5358514189720154, -0.3378142714500427, 0.16350595653057098, -0.09102912992238998, 0.07587603479623795, 0.45661017298698425, -0.3964785039424896, 0.9811683893203735, -0.13886648416519165, -0.142968088388443, 0.5618471503257751, 0.12318796664476395, 0.6064361333847046, 0.0950322300195694, -0.2452102154493332, 0.007532949559390545, -0.09989411383867264, -0.160074383020401, -0.35005494952201843, 0.4316475987434387, -0.5178663730621338, -0.3978287875652313, -0.2857707738876343, -0.4772758185863495, -0.23473772406578064, 0.13083508610725403, 0.31287217140197754, 0.6875864863395691, -0.34382814168930054, -0.004034485202282667, 0.3285621106624603, -0.7616561055183411, 0.6564112305641174, 0.4323410093784332, -0.4018751084804535, -0.3817850947380066, 0.5812380313873291, 0.20082987844944, 0.19993804395198822, 0.08297964185476303, 0.18156075477600098, -0.19868838787078857, -0.8808009624481201, -0.8088765144348145, 0.22194883227348328, -0.7023423910140991, -0.3474019169807434, -0.8165909051895142, -0.2950117290019989, -0.4269799292087555, -0.26202186942100525, 0.09988528490066528, -0.13771405816078186, -0.383428692817688, -0.7411985993385315, 0.04284365475177765, 0.9660930037498474, 0.00860813818871975, 0.13646146655082703, -1.187526822090149, 0.4636499881744385, 0.09320623427629471, 0.19127874076366425, -0.2829913794994354, -0.44931885600090027, 0.0886235162615776, -0.09249573945999146, -0.4923046827316284, -0.9850603938102722, 0.5540401935577393, 0.08696918189525604, 0.5272216200828552, 0.39482906460762024, 0.1829630434513092, 0.4712356626987457, -0.8648965954780579, 1.2963378429412842, 0.05314113199710846, -0.6292824745178223, 0.7796971797943115, -1.0339535474777222, 0.4194675087928772, 0.2790212631225586, 0.6354395747184753, -0.45370063185691833, -0.3784337639808655, -0.7609861493110657, -0.7377988696098328, 0.6710990071296692, 0.4516320526599884, 0.25591447949409485, -0.15885044634342194, 0.7222496271133423, 0.31893545389175415, 0.13118767738342285, -0.8886144161224365, -0.23701360821723938, 0.00859219953417778, -0.4126676619052887, -0.005808462854474783, -0.49694395065307617, 0.15771497786045074, 0.09081549942493439, 0.36522695422172546, -0.17494237422943115, 0.08774194866418839, 0.16113437712192535, 0.014395149424672127, -0.27211079001426697, 0.1617240458726883, 0.7741089463233948, 0.6272147297859192, -0.11961815506219864, -0.06588668376207352, 0.16732653975486755, -0.3928910493850708, 0.2537021040916443, 0.07051355391740799, -0.34005632996559143, 0.028994670137763023, 0.629154622554779, 0.911331057548523, 0.10209935903549194, -0.839361846446991, 0.662961483001709, -0.38540416955947876, -0.31595978140830994, -0.3389976918697357, 0.2041959911584854, 0.04995908588171005, 0.2717466652393341, 0.39867159724235535, -0.25430285930633545, -0.02412114106118679, -0.6404176354408264, 0.04266923666000366, -0.0007633257191628218, -0.0988016277551651, -0.46166184544563293, 0.702383279800415, 0.07775116711854935, -0.2409769594669342, 0.7848241329193115, -0.37212643027305603, -0.3408161401748657, 0.5306938886642456, 0.4749755263328552, 0.8959027528762817, -0.1338292509317398, 0.47886964678764343, 0.4582286477088928, 0.30482906103134155, -0.008462163619697094, -0.05372173339128494, 0.10806870460510254, -0.9298112988471985, -0.6607036590576172, -1.0734423398971558, -0.6030506491661072, 0.5582747459411621, -0.37929490208625793, 0.20293360948562622, -0.14530542492866516, 0.1521892249584198, -0.17778195440769196, -0.28996142745018005, -0.5999664068222046, 0.21491116285324097, 0.6475765109062195, 0.7355513572692871, -1.0223877429962158, 0.5311689376831055, 0.39429065585136414, -0.7085226774215698, -0.9425978064537048, 0.046087998896837234, 0.15800665318965912, -0.5792076587677002, 0.5130887627601624, 0.40258297324180603, 0.29062262177467346, 0.02180422656238079, -0.5966008901596069, -0.49313828349113464, 1.2205183506011963, 0.48341813683509827, -0.4487796723842621, -0.42243286967277527, 0.4588022530078888, 0.7236409783363342, -0.5658909678459167, 0.3175451159477234, 0.38263389468193054, 0.5748471021652222, 0.3780769109725952, -0.9285764098167419, -0.05877765268087387, 0.02556280605494976, -0.056610941886901855, -0.13228075206279755, -0.1686360090970993, 0.6211565732955933, -0.29959172010421753, -0.5482266545295715, 0.28054073452949524, 0.644765317440033, 0.6741933822631836, 0.6645300388336182, 0.28278952836990356, 0.3635213077068329, 0.8390375971794128, -0.15307463705539703, 1.3543100357055664, 0.061283815652132034, 0.14369921386241913, 0.9609135985374451, -0.5724655985832214, 0.3129408061504364, -0.10773906111717224, -0.03331632539629936, 0.7003588080406189, 0.8450620174407959, 0.11573205143213272, 0.1293760985136032, 0.02996593713760376, -0.34406551718711853, -0.2391555905342102, 0.013625090010464191, -0.07625782489776611, 0.2974061667919159, 0.16198675334453583, -0.35507985949516296, -0.45044299960136414, 0.3666941523551941, -0.01807418279349804, -0.1493428349494934, -0.22343258559703827, 0.7781862020492554, 0.09718286246061325, -0.8094048500061035, 0.22629313170909882, -0.046046044677495956, 0.31943637132644653, -0.5366743803024292, -0.24534760415554047, -0.20131555199623108, -0.11287547647953033, -0.15478140115737915, -0.8113969564437866, 0.36338239908218384, 0.46755340695381165, -0.20132651925086975, -0.6311023831367493, 0.9221768379211426, -0.21448419988155365, -0.3160701096057892, -0.26218274235725403, 0.5881277322769165, 0.3373846411705017, -0.2765602469444275, -0.31210052967071533, 0.1444515883922577, 0.1157887727022171, -0.4379621148109436, 0.23856765031814575, 0.7473611831665039, -0.1724112629890442, 0.38710731267929077, 0.6227632164955139, -0.016581375151872635, 0.02716437540948391, 0.11068657040596008, 0.6225890517234802, -0.9750964641571045, -0.6543911695480347, -1.0594114065170288, 0.7919928431510925, 0.17204207181930542, -0.29343748092651367, 0.6904886364936829, 0.5883747339248657, 0.4019283354282379, -0.031925998628139496, 0.9656217694282532, 0.25892162322998047, 0.7109321355819702, -0.6020409464836121, 0.4260249137878418, -0.01238646823912859, 0.1857023388147354, -0.10277920961380005, -0.7047685980796814, -0.4320868253707886, 0.3468707501888275, -0.5179945230484009, 0.2875935435295105, 0.6518586874008179, 0.42086061835289, 0.3434431254863739, 0.2172982394695282, 0.4384241998195648, 0.12106480449438095, 0.521107017993927, 0.4703996181488037, 1.177330493927002, -0.31248241662979126, 0.5278053283691406, 0.4105994403362274, -0.13503463566303253, -0.13621971011161804, -1.2358769178390503, -0.7497652769088745, -0.43016743659973145, -0.3246943950653076, -0.1204894483089447, -0.01468383427709341, 0.5673912167549133, 0.3688686192035675, -0.5122045278549194, 0.2794116735458374, -0.09700512886047363, -0.16472695767879486, 0.4544928967952728, -0.28870517015457153, -0.008000238798558712, -0.3785320818424225, -0.4487430453300476, 0.674595296382904, 0.6424899697303772, 0.12267911434173584, -0.2300281822681427, -0.17832085490226746, 0.07423433661460876, 0.08510078489780426, 0.5195181965827942, 0.11127734184265137, -0.6611942648887634, -0.48316681385040283, -0.25149717926979065, -0.21055646240711212, 0.11645954847335815, 0.9000046849250793, -1.0898593664169312, 0.08045651763677597, 0.3223254382610321, 0.630933403968811, 0.38182175159454346, 0.21191012859344482, 0.7642174959182739, -0.9112783074378967, -0.27269601821899414, 0.3361082971096039, 0.4414767622947693, 0.29016217589378357, -0.6367006897926331, 0.6338372826576233, 0.31055164337158203, -0.842359721660614, -0.9134349822998047, 0.28630387783050537, -0.9218531847000122, -0.135384663939476, 1.375404715538025, -0.26097777485847473, -0.13473495841026306, -0.265572726726532, -0.331167072057724, 0.16034431755542755, -0.1541663557291031, 0.4052133858203888, 0.8381744027137756, -0.4588252305984497, -0.22186674177646637, -0.8741470575332642, 0.36200210452079773, -0.098318912088871, -1.0703068971633911, -0.060943569988012314, 0.8766528367996216, 0.20620444416999817, 0.11025004088878632, 0.7860859036445618, -0.06281878054141998, 0.19478870928287506, -0.2028520405292511, -0.0703706368803978, -0.32855069637298584, -0.2556382119655609, -0.4215400516986847, 0.4443182349205017, -0.11487311869859695, 0.2017154097557068 ]
http://arxiv.org/abs/2402.05406v2
http://arxiv.org/pdf/2402.05406v2
Everybody Prune Now: Structured Pruning of LLMs with only Forward Passes
2024-02-08T04:48:26
2024-02-09T19:53:56
Lucio Dery, Steven Kolawole, Jean-François Kagy, Virginia Smith, Graham Neubig, Ameet Talwalkar
cs.LG
cs.LG, cs.CL
Given the generational gap in available hardware between lay practitioners and the most endowed institutions, LLMs are becoming increasingly inaccessible as they grow in size. Whilst many approaches have been proposed to compress LLMs to make their resource consumption manageable, these methods themselves tend to be resource intensive, putting them out of the reach of the very user groups they target. In this work, we explore the problem of structured pruning of LLMs using only forward passes. We seek to empower practitioners to prune models so large that their available hardware has just enough memory to run inference. We develop Bonsai, a gradient-free, perturbative pruning method capable of delivering small, fast, and accurate pruned models. We observe that Bonsai outputs pruned models that (i) outperform those generated by more expensive gradient-based structured pruning methods, and (ii) are twice as fast (with comparable accuracy) as those generated by semi-structured pruning methods requiring comparable resources as Bonsai. We also leverage Bonsai to produce a new sub-2B model using a single A6000 that yields state-of-the-art performance on 4/6 tasks on the Huggingface Open LLM leaderboard.
[ -0.263010710477829, -0.7791709899902344, 0.5549641847610474, 0.6224454045295715, -0.5736700296401978, -0.19859515130519867, -0.16777512431144714, -0.47910425066947937, 0.19811983406543732, 0.5727798342704773, -0.9847854375839233, -0.4427884519100189, -0.172268807888031, -0.08108720928430557, -0.47072094678878784, 0.8667057156562805, 0.14041875302791595, -0.030352234840393066, -0.3298870027065277, -0.09411938488483429, -0.3563968241214752, -0.5462026596069336, -0.4659270644187927, -0.48651206493377686, 0.6192825436592102, 0.3979208767414093, 0.539025604724884, 0.5550082325935364, 0.3107450008392334, 0.22470436990261078, -0.37517249584198, 0.16228139400482178, -0.5459958910942078, 0.09832186251878738, -0.05244332179427147, -0.6375983357429504, -0.7134910821914673, -0.04607801511883736, 0.6867628693580627, 0.7112276554107666, -0.3272969424724579, 0.3174309730529785, 0.13173092901706696, 0.6623628735542297, -0.5474464893341064, -0.20734219253063202, -0.7498819828033447, 0.1379850059747696, -0.3721737861633301, -0.3931303024291992, -0.43487903475761414, -0.45919352769851685, -0.4304989278316498, -0.6828787326812744, 0.3656056225299835, -0.09597906470298767, 0.7803028225898743, 0.4401785433292389, -0.1413113921880722, 0.38210535049438477, -0.7821071147918701, 0.7719889879226685, -0.37129977345466614, 0.2303001433610916, 0.003705751383677125, 0.3013150990009308, -0.2006002813577652, -0.754618227481842, 0.021863216534256935, -0.10336785763502121, 0.03902730718255043, 0.04175452142953873, 0.06967499107122421, 0.28691795468330383, 0.13696643710136414, 0.30025526881217957, -0.19965560734272003, 0.28947243094444275, -0.46579769253730774, -0.09254546463489532, 0.842536211013794, 0.09465044736862183, -0.14036978781223297, 0.01607244461774826, -0.7852126955986023, -0.010124586522579193, -1.0675221681594849, -0.16993200778961182, 0.23157629370689392, -0.1769208163022995, 0.3680499494075775, 0.47485461831092834, 0.21497127413749695, 0.8247727155685425, -0.29965052008628845, -0.2843283712863922, -0.40412798523902893, -0.17357346415519714, -0.6223470568656921, -0.17557069659233093, 0.49445998668670654, 0.42029890418052673, 0.49948588013648987, -0.06290998309850693, -0.21652227640151978, 0.023508768528699875, 0.1026492789387703, -1.00992751121521, -0.7925760746002197, 0.26840102672576904, -0.43907204270362854, -0.2177937924861908, -0.2104681134223938, -0.6620739698410034, -0.19897310435771942, -0.10945360362529755, 0.05153905227780342, -0.04807077348232269, -0.29228121042251587, -0.06235000118613243, -0.09745814651250839, 0.1382054090499878, 0.8794127106666565, -0.5348141193389893, 0.574666440486908, 0.8890417218208313, 1.0655044317245483, 0.10821209102869034, -0.017840653657913208, -0.3273570239543915, 0.26523473858833313, -0.44235527515411377, 0.582923412322998, -0.4014075696468353, -0.9715895652770996, -0.556189775466919, -0.011561640538275242, 0.033780548721551895, -0.7166318893432617, 0.47158339619636536, -0.44367551803588867, -0.2975500226020813, -0.10924244672060013, -0.3913218677043915, -0.2763706147670746, 0.2419416606426239, -0.5307424664497375, 0.6477113366127014, -0.04159102588891983, -0.4975842535495758, 0.043256670236587524, -0.4015839695930481, -0.44835537672042847, 0.14092625677585602, -0.3420459032058716, -0.6549286842346191, 0.3251674771308899, -0.0024930578656494617, 0.5189804434776306, -0.29611340165138245, 0.5524685382843018, -0.5252841711044312, -0.6066119074821472, -0.17906273901462555, -0.5401538014411926, 0.9392272233963013, 0.09231672435998917, 0.11610198020935059, 0.2434372752904892, -0.41195252537727356, 0.12872038781642914, 0.27920472621917725, -0.3776205778121948, -0.13678383827209473, -0.14005494117736816, 0.04598201438784599, 0.16383029520511627, 0.21583998203277588, -0.5931957960128784, 0.4393422603607178, -0.22542494535446167, 0.6331939101219177, 1.1290216445922852, 0.22094830870628357, 0.37063559889793396, -0.5564584732055664, 0.6376954913139343, -0.030470050871372223, 0.3953486680984497, -0.15617914497852325, -0.6493920087814331, -0.5400835871696472, -0.43659839034080505, 0.39547640085220337, 0.37627100944519043, -0.07425455003976822, 0.30308037996292114, -0.16280630230903625, -0.5935268402099609, -0.40871885418891907, 0.26207950711250305, 0.31940677762031555, 0.46315428614616394, 0.24791912734508514, -0.5413033366203308, -0.40587764978408813, -1.0587512254714966, -0.2478569746017456, -0.08836761862039566, -0.3889841139316559, 0.5367096066474915, 0.39631909132003784, 0.24287356436252594, 0.7877464890480042, -0.5848096013069153, -0.483434796333313, 0.09409617632627487, -0.11889305710792542, 0.11930114775896072, 0.8116467595100403, 0.16424928605556488, -0.8717431426048279, 0.018119992688298225, -0.21385714411735535, -0.562418520450592, 0.17796993255615234, -0.32324111461639404, -0.09592660516500473, -0.0021289370488375425, 0.3675056993961334, -0.813547670841217, 0.5885645151138306, 0.47822293639183044, -0.15634356439113617, 0.6395390033721924, -0.42012208700180054, -0.48506081104278564, -0.5786548852920532, 0.24091358482837677, 0.16440674662590027, -0.4132787883281708, -0.14350096881389618, 0.10111851990222931, 0.0931968241930008, -0.19813457131385803, -0.5181514620780945, 0.5664429664611816, -0.7446589469909668, -0.5486194491386414, 0.05429206043481827, -0.008800318464636803, 0.2678791880607605, 0.6875403523445129, 0.0974244549870491, 0.5129596590995789, 0.3309093117713928, -0.8285571336746216, 0.1721276193857193, 0.155794158577919, -0.3125353455543518, 0.42457717657089233, -0.8330495953559875, 0.07930553704500198, -0.18599499762058258, 0.8037256002426147, -0.5976434350013733, -0.1251322627067566, 0.3908088505268097, -0.10090529173612595, 0.550971269607544, -0.23210200667381287, -0.2108938843011856, -0.2414761781692505, -0.22750551998615265, 0.22687530517578125, 0.6657269597053528, -0.4410325288772583, 0.5787188410758972, 0.18569444119930267, -0.12765026092529297, -0.2884417772293091, -0.8597012758255005, 0.06339889019727707, -0.24149926006793976, -0.7073254585266113, 0.624237596988678, -0.21758756041526794, -0.28729957342147827, 0.02282649464905262, -0.5926922559738159, -0.0193472933024168, 0.672315776348114, 0.37637069821357727, 0.2474863976240158, 0.00593167869374156, -0.09121258556842804, -0.04557628184556961, -0.04621921479701996, 0.050988759845495224, -0.5635862350463867, 0.1990310102701187, 0.06298637390136719, -0.5941433310508728, -0.6135331392288208, 0.332173228263855, 0.45509782433509827, -0.34358975291252136, 0.4765869379043579, 0.25138330459594727, -0.24177122116088867, -0.4421355426311493, -0.3444039821624756, -0.4508807361125946, -0.4391043782234192, 0.4008282423019409, -0.538108229637146, -0.7199828028678894, 0.04409336298704147, -0.4883153736591339, 0.7924589514732361, 0.1069900169968605, 0.29593679308891296, -0.1013021394610405, 0.7488112449645996, 0.5770533084869385, 0.19297489523887634, 0.3042060136795044, -0.48608046770095825, 0.09386738389730453, -0.9016813635826111, -0.5173414349555969, -0.4701448380947113, -0.7230650186538696, -0.28861671686172485, -0.6768516898155212, 0.40368473529815674, 0.4870600998401642, -0.1782987266778946, -0.03649530187249184, -0.7635502219200134, 0.5720125436782837, 0.5467396974563599, 0.44213834404945374, 0.4743955731391907, -0.01283644512295723, 0.3455432653427124, 0.20089757442474365, -1.027354121208191, -0.44724106788635254, 0.7842954993247986, 0.4627429246902466, 0.6465732455253601, -0.20562106370925903, 0.7215695977210999, 0.056649211794137955, 0.9508414268493652, -0.7799493670463562, 0.8888220191001892, -0.009063750505447388, -0.7708706855773926, -0.19858993589878082, -0.47794535756111145, -0.7568271160125732, 0.49060577154159546, 0.31862983107566833, -0.5865203738212585, 0.31686362624168396, 0.39029547572135925, -0.4824109673500061, 0.6815850734710693, -0.4352981448173523, 0.48728135228157043, -0.3030960261821747, -0.5629836916923523, -0.2979735732078552, -0.7476373910903931, 0.859826385974884, -0.09720578789710999, 0.1726430356502533, -0.40181413292884827, -0.39458832144737244, 0.8175792098045349, -0.6825506687164307, 0.9457117915153503, -0.4917099177837372, 0.006676726974546909, 0.30159714818000793, 0.3890027105808258, 0.5437756180763245, 0.04421794414520264, -0.006710901856422424, 0.2776351273059845, -0.15244075655937195, -0.7034806609153748, -0.5961770415306091, 0.6965295672416687, -0.48098865151405334, -1.0071378946304321, -0.16635949909687042, -0.3687460422515869, -0.056961022317409515, -0.09750622510910034, 0.06502643972635269, 0.3285001218318939, -0.14078104496002197, 0.22379998862743378, 0.5946977734565735, 0.167771115899086, 0.4513634145259857, 0.3851129710674286, -0.08020401000976562, -0.18735341727733612, 0.8570920825004578, 0.30108606815338135, 0.010242911987006664, 0.12508369982242584, 0.11428544670343399, -0.10016616433858871, -0.6452994346618652, -0.4548121988773346, 0.2741885781288147, -0.5179262161254883, -0.3616127073764801, -0.5748454332351685, -0.1519431322813034, 0.0846693366765976, -0.2832101881504059, -0.2927005887031555, -0.7218204736709595, -0.37541303038597107, -0.05459229275584221, 0.34806057810783386, 0.716738224029541, -0.1633157730102539, 0.40293973684310913, -0.8140530586242676, 0.07154079526662827, 0.0647638663649559, 0.13081763684749603, 0.23103080689907074, -0.2719082236289978, 0.09744679182767868, -0.1121848076581955, -0.5306708216667175, -0.7370393872261047, 0.4196464419364929, 0.4498881995677948, 0.26592373847961426, 0.4137938916683197, 0.07215278595685959, 0.7783991694450378, -0.4541338384151459, 0.5166143774986267, 0.2831217348575592, -0.5460878014564514, 0.40868067741394043, -0.06877043098211288, -0.0016465535154566169, 0.4125024676322937, 0.46296462416648865, -0.19054126739501953, -0.005780964158475399, -0.9359449148178101, -0.8968731164932251, 0.5265065431594849, 0.024781079962849617, -0.26956361532211304, 0.3778049051761627, 0.46590954065322876, -0.03762086108326912, 0.3829858601093292, -0.5121574401855469, 0.013755930587649345, -0.029053837060928345, 0.11660157144069672, -0.18706205487251282, -0.13596193492412567, -0.374194473028183, -0.2555914521217346, 0.7449450492858887, 0.0020613009110093117, 0.1362295001745224, 0.4033958911895752, 0.14184172451496124, -0.12258891761302948, 0.11197985708713531, 0.15542201697826385, 0.7241858839988708, -0.19679783284664154, -0.11581150442361832, -0.04947071522474289, -0.09119649976491928, 0.44208717346191406, 0.017819272354245186, -0.4685477912425995, -0.009352038614451885, 0.17484021186828613, 0.5545895099639893, 0.5564021468162537, -0.4437691569328308, 0.3900071680545807, -0.048372846096754074, -0.4263792932033539, -0.1691061556339264, 0.1948614865541458, 0.2451624572277069, 0.23353388905525208, 0.035902634263038635, 0.5288059711456299, -0.17394046485424042, -0.3022111654281616, 0.20592424273490906, 0.4393640458583832, -0.15704837441444397, -0.3446308970451355, 0.7601695656776428, 0.5235474109649658, -0.5651252269744873, 0.8552480340003967, 0.24786774814128876, -0.3584604263305664, 0.6297824382781982, 0.3843788206577301, 0.7595253586769104, -0.08633647114038467, 0.08090421557426453, 0.13764631748199463, 0.2809128165245056, -0.2578315734863281, 0.17867138981819153, -0.8014073967933655, -0.1809225231409073, -0.6172842383384705, -0.9040054678916931, -0.6540006399154663, -0.14405174553394318, -0.6130515933036804, -0.008824635297060013, -0.9733778834342957, 0.017687330022454262, -0.3328264355659485, 0.28736379742622375, -0.48226818442344666, 0.28198692202568054, -0.17660900950431824, 1.4313993453979492, -0.7739483714103699, 1.0035340785980225, 0.6068106293678284, 0.010237405076622963, -0.6913344860076904, -0.2364775687456131, -0.03301188349723816, -0.6671430468559265, 0.33994045853614807, 0.29952967166900635, -0.007376692723482847, 0.25048205256462097, -0.7023810148239136, -0.4860502779483795, 1.2105077505111694, 0.47138068079948425, -1.0820105075836182, -0.5491800308227539, -0.5651578903198242, 0.01277076918631792, 0.15573132038116455, 0.09310515224933624, 0.5821874737739563, 0.699273943901062, 0.40429338812828064, -0.34154102206230164, -0.04609861224889755, -0.16202309727668762, 0.0063377870246768, 0.38935473561286926, -0.9996225237846375, 0.9033734798431396, -0.21512392163276672, -0.31499096751213074, 0.2981770634651184, 0.7760963439941406, 0.7831586599349976, 0.29895684123039246, 0.6302908658981323, 0.5443586707115173, 1.118753433227539, -0.08578509837388992, 1.082033395767212, -0.27734020352363586, 0.04047806188464165, 1.0194429159164429, -0.3538999557495117, 0.5689732432365417, 0.5365463495254517, -0.21502768993377686, 0.2855733633041382, 0.9839826226234436, 0.18996639549732208, 0.13907894492149353, 0.4875250458717346, -0.3852616250514984, -0.5233175754547119, -0.20044948160648346, -0.22793157398700714, 0.12260738760232925, 0.4432200789451599, 0.008730767294764519, -0.2565193474292755, -0.14625264704227448, 0.18710625171661377, -0.02428325079381466, -0.528461217880249, 0.5478282570838928, 0.616856575012207, -0.8366551995277405, 0.5116319060325623, 0.15407207608222961, 0.7775274515151978, -0.8245972990989685, 0.05821419507265091, -0.304034560918808, 0.25341325998306274, -0.4788881838321686, -0.5540684461593628, 0.4131816029548645, -0.1276106834411621, 0.21941855549812317, -0.7388095855712891, 0.9155769348144531, -0.24223151803016663, -0.455645889043808, 0.2798996567726135, 0.3883911967277527, 0.4999035596847534, -0.20202836394309998, -0.5897841453552246, 0.11826875805854797, 0.0899665504693985, -0.5109274387359619, 0.44973087310791016, 0.2934171259403229, -0.2876138687133789, 0.7780489921569824, 0.5833988785743713, 0.4781897962093353, -0.13124892115592957, -0.21325822174549103, 1.0674965381622314, -0.6123346090316772, -0.4081796109676361, -0.8085047602653503, 0.34001973271369934, -0.05486041679978371, -0.3351532816886902, 0.7479218244552612, 0.3582231104373932, 0.7910326719284058, 0.3404572606086731, 0.34484514594078064, 0.24723011255264282, 0.10654577612876892, -0.4073258340358734, 0.46198898553848267, -0.7817862629890442, 0.33692488074302673, 0.18816590309143066, -0.9051856398582458, -0.18998980522155762, 0.49569228291511536, -0.16469627618789673, 0.06370502710342407, 0.10726144909858704, 0.6834193468093872, -0.08995142579078674, 0.29405149817466736, 0.3620372712612152, 0.23266775906085968, 0.32132017612457275, 0.7183820605278015, 0.6643387079238892, 0.0426769033074379, 0.390717089176178, -0.44861865043640137, -0.3637387156486511, -0.32429683208465576, -0.8954798579216003, -0.43106532096862793, -0.09537319839000702, -0.28420135378837585, -0.15517224371433258, 0.18137282133102417, 0.5759377479553223, 1.0391632318496704, -0.31130045652389526, -0.27220892906188965, -0.5114615559577942, 0.23304212093353271, -0.1945950835943222, -0.16686275601387024, 0.28424033522605896, 0.17789049446582794, -0.36651164293289185, 0.682038426399231, 0.3091331124305725, -0.029305409640073776, -0.6940841674804688, -0.029706638306379318, -0.15947499871253967, -0.05245643109083176, 0.26733505725860596, 0.38565099239349365, -0.5013018250465393, 0.27578943967819214, -0.3107483386993408, 0.2532733976840973, 0.12903977930545807, 1.0251034498214722, -1.0360842943191528, 0.027967194095253944, 0.19050651788711548, 0.5404155850410461, 0.8254818320274353, 0.4338941276073456, 0.5784134268760681, -0.9122242331504822, 0.37568601965904236, 0.7472792863845825, 0.25792810320854187, 0.36688604950904846, -0.24050886929035187, 0.4864066541194916, 0.36972740292549133, -0.6564254760742188, -0.911852240562439, 0.4135342836380005, -0.5149025321006775, -0.6499629616737366, 0.6271520853042603, -0.47226855158805847, -0.8409843444824219, 0.16649383306503296, -0.08923710882663727, 0.15551351010799408, -0.19865843653678894, 0.2972269058227539, 0.1379166841506958, -0.146686390042305, -0.16823633015155792, -0.29739344120025635, 0.34735095500946045, 0.6478691101074219, -0.6418081521987915, 0.17629948258399963, 0.5554591417312622, 0.17334599792957306, -0.1760355830192566, 0.8851436376571655, -0.06777654588222504, 0.16002753376960754, -0.08972618728876114, -0.09118542820215225, -0.4311720132827759, -0.9596710205078125, -0.4950198531150818, 0.5490190982818604, 0.13407418131828308, -0.16977643966674805 ]
http://arxiv.org/abs/2402.05403v2
http://arxiv.org/pdf/2402.05403v2
In-Context Principle Learning from Mistakes
2024-02-08T04:42:29
2024-02-09T19:09:52
Tianjun Zhang, Aman Madaan, Luyu Gao, Steven Zheng, Swaroop Mishra, Yiming Yang, Niket Tandon, Uri Alon
cs.CL
cs.CL, cs.AI
In-context learning (ICL, also known as few-shot prompting) has been the standard method of adapting LLMs to downstream tasks, by learning from a few input-output examples. Nonetheless, all ICL-based approaches only learn from correct input-output pairs. In this paper, we revisit this paradigm, by learning more from the few given input-output examples. We introduce Learning Principles (LEAP): First, we intentionally induce the model to make mistakes on these few examples; then we reflect on these mistakes, and learn explicit task-specific "principles" from them, which help solve similar problems and avoid common mistakes; finally, we prompt the model to answer unseen test questions using the original few-shot examples and these learned general principles. We evaluate LEAP on a wide range of benchmarks, including multi-hop question answering (Hotpot QA), textual QA (DROP), Big-Bench Hard reasoning, and math problems (GSM8K and MATH); in all these benchmarks, LEAP improves the strongest available LLMs such as GPT-3.5-turbo, GPT-4, GPT-4 turbo and Claude-2.1. For example, LEAP improves over the standard few-shot prompting using GPT-4 by 7.5% in DROP, and by 3.3% in HotpotQA. Importantly, LEAP does not require any more input or examples than the standard few-shot prompting settings.
[ -0.29932525753974915, -0.6419742703437805, 0.6503176689147949, 0.04206257686018944, -0.11164117604494095, -0.03744438663125038, 0.010485371574759483, -0.18089988827705383, -0.5714031457901001, 0.282392293214798, -0.6829144954681396, -0.34995707869529724, -0.46668869256973267, 0.02868715487420559, -0.141180157661438, 1.2391104698181152, -0.0972406342625618, 0.2302376627922058, -0.09597300738096237, 0.061631713062524796, -0.5775477886199951, -0.3001728355884552, -0.6625375747680664, -0.36665526032447815, 0.3938215970993042, 0.9415958523750305, 0.014308680780231953, 0.2453439086675644, 0.5244629383087158, 0.0746840089559555, -0.15518362820148468, 0.39302754402160645, -0.7178241014480591, -0.41985106468200684, 0.06262967735528946, -0.6569202542304993, 0.05677536502480507, 0.015895197167992592, 0.5821626782417297, 0.589677631855011, -0.12945246696472168, -0.0324367955327034, 0.6952937245368958, 0.7697938084602356, -0.7665174007415771, 0.20403459668159485, -0.6638892889022827, 0.18944674730300903, -0.014358943328261375, -0.3157222867012024, -0.6800163388252258, -0.3317069709300995, -0.05340295284986496, -0.6635302305221558, 0.12370093911886215, -0.25327208638191223, 0.6971212029457092, 0.2703649401664734, -0.48518916964530945, -0.3466980755329132, -0.7474368810653687, 0.8737258911132812, -0.7629057765007019, 0.4334656596183777, 0.3788500428199768, 0.35880252718925476, -0.2787895202636719, -0.6546115875244141, -0.34746477007865906, -0.007589009124785662, 0.027803286910057068, 0.22352443635463715, 0.15280434489250183, 0.014603612013161182, 0.4348790645599365, -0.13228698074817657, -0.08909162878990173, -0.09155973047018051, -0.4439968466758728, 0.039997488260269165, 0.5078417062759399, 0.20047178864479065, -0.10600516200065613, 0.07718494534492493, -0.5779910683631897, -0.29148316383361816, -1.3194644451141357, 0.6011884212493896, -0.12447444349527359, 0.6060555577278137, -0.17541788518428802, 0.08292345702648163, 0.009052395820617676, 0.6996450424194336, 0.41421085596084595, -0.4243911802768707, 0.04862112179398537, -0.370745450258255, -0.2862893044948578, -0.14485566318035126, 0.16681061685085297, 0.15378990769386292, 0.08543701469898224, 0.08338942378759384, -0.08578222244977951, -0.4962666630744934, 0.22933386266231537, -0.5785241723060608, -0.20126985013484955, -0.13265275955200195, -0.21835525333881378, 0.05297073349356651, 0.10597535967826843, -0.47320297360420227, -0.30446675419807434, -0.2156476378440857, 0.6064478754997253, -0.7658950686454773, 0.1461782604455948, 0.023741690441966057, -0.05915010720491409, 0.7291358113288879, 0.7361454963684082, -0.8100491762161255, 0.5018966197967529, 0.8843449354171753, 0.8197803497314453, -0.18426720798015594, -0.5373858213424683, -0.8604415655136108, 0.04364866018295288, -0.6412588357925415, 0.726681113243103, -0.13410042226314545, -0.5701059103012085, 0.001342790317721665, -0.36568012833595276, -0.3498842418193817, -0.628212571144104, 0.3828074336051941, -0.46571454405784607, 0.038285866379737854, -0.5099640488624573, -0.822096049785614, -0.40767228603363037, 0.41053715348243713, -0.20059162378311157, 0.7887197136878967, -0.08237829804420471, -0.5432783365249634, 0.8097378611564636, -0.9530957341194153, -0.27848851680755615, -0.18169870972633362, -0.18360430002212524, -0.13219545781612396, 0.12890295684337616, 0.09443853795528412, 0.44461706280708313, -0.0912541076540947, -0.20376372337341309, -0.17465464770793915, -0.515853762626648, -0.012527095153927803, -0.35482004284858704, 0.8176202774047852, 0.06452681869268417, -0.35687732696533203, -0.23613645136356354, -0.7202242016792297, 0.1907060742378235, -0.006875539664179087, -0.6661437749862671, -0.337306410074234, 0.08128627389669418, -0.2622702121734619, 0.3861226737499237, -0.39199399948120117, -0.26988232135772705, 0.15621265769004822, -0.4755021929740906, 0.24469336867332458, 0.7596478462219238, 0.40554335713386536, 0.4356360137462616, -0.4238899350166321, 0.2865641415119171, 0.43651309609413147, 0.17332874238491058, -0.4539206027984619, -0.3760511875152588, -0.7138553857803345, -0.1693645417690277, -0.10795367509126663, 0.6547842025756836, -0.6075353622436523, -0.03676743060350418, 0.1678164005279541, -0.284765362739563, -0.10479488223791122, 0.6724165678024292, 0.5584291219711304, 0.8925557732582092, 0.47785788774490356, -0.12350235879421234, -0.241186261177063, -0.4505862593650818, -0.46982625126838684, -0.5125694870948792, 0.14601780474185944, 0.24301110208034515, 0.41046828031539917, 0.1277526617050171, 0.9324564337730408, -0.41218551993370056, -0.19545422494411469, -0.22995488345623016, 0.13399814069271088, 0.2344953566789627, 0.3933219015598297, 0.3630932867527008, -0.8082085251808167, -0.5546337962150574, -0.15525992214679718, -0.7002467513084412, 0.2691746652126312, -0.07106894254684448, 0.08650368452072144, 0.06488765776157379, 0.4960293769836426, -0.5272290110588074, 0.46273690462112427, 0.17656762897968292, -0.18160399794578552, 0.344301700592041, -0.035188134759664536, -0.008802033960819244, -1.161104440689087, -0.5727792978286743, 0.15260030329227448, -0.02846659906208515, -0.6997921466827393, 0.23899511992931366, 0.39705124497413635, 0.20554675161838531, -1.0532219409942627, 0.6065784692764282, -0.27060166001319885, 0.04562703147530556, -0.14761045575141907, -0.23506638407707214, 0.053256068378686905, 0.4471396207809448, -0.11955191195011139, 0.720641016960144, 0.4526122212409973, -1.0046367645263672, -0.05974283814430237, 0.21246445178985596, -0.2013726383447647, 0.402272492647171, -0.4790724515914917, 0.42917150259017944, -0.08738554269075394, 0.1675371378660202, -1.2336007356643677, -0.01935104839503765, 0.20985624194145203, -0.25361019372940063, 0.5191482305526733, -0.28404632210731506, -0.33557453751564026, -0.12807859480381012, -0.3918589651584625, 0.22123806178569794, 0.6269740462303162, -0.912355363368988, 0.294043630361557, -0.21186597645282745, 0.10065411031246185, -0.7995418906211853, -0.6773862242698669, -0.1725752055644989, -0.24414920806884766, -0.2653108537197113, 0.08913660794496536, -0.28280267119407654, -0.3641645312309265, -0.18292471766471863, -0.0942273810505867, -0.15853171050548553, 0.24056977033615112, 0.1706366389989853, 0.1377343386411667, -0.2870821952819824, 0.21612931787967682, -0.18749259412288666, 0.04584838077425957, -0.11436078697443008, -0.2676042318344116, 0.13169600069522858, -0.3168448805809021, -0.5252187252044678, -0.3066273629665375, 0.06707991659641266, 0.37611114978790283, 0.22772671282291412, 0.24602638185024261, 0.2071731984615326, -0.4365224540233612, -0.3142065703868866, -0.27048471570014954, -0.5828374624252319, -0.4363258481025696, 0.3227105736732483, -0.48583748936653137, -0.6892873644828796, 0.11600175499916077, -0.27914154529571533, 0.526608943939209, 0.18122833967208862, 0.17581437528133392, -0.6634914875030518, 0.7264125943183899, 1.0460638999938965, -0.18777014315128326, 0.3463931381702423, -0.49648213386535645, 0.21634985506534576, -0.8554089665412903, 0.0846155509352684, -0.21038073301315308, -0.3132173418998718, -0.4182516038417816, -0.49330368638038635, 0.6078964471817017, 0.5125044584274292, -0.47583165764808655, 0.17357327044010162, 0.004470003303140402, 0.5041364431381226, 0.7545281052589417, 0.2257097214460373, 0.25902071595191956, -0.03497876226902008, -0.40063825249671936, -0.23793455958366394, -0.923102080821991, -0.4691272974014282, 1.2029519081115723, 0.21056461334228516, 0.9402536749839783, 0.16070351004600525, 1.187779188156128, 0.04159987345337868, 0.36703193187713623, -0.9080033302307129, 0.46237245202064514, 0.10861790180206299, -0.5981160402297974, -0.27856606245040894, -0.1239737719297409, -0.6931817531585693, 0.19132213294506073, -0.052280228585004807, -0.7113247513771057, 0.29333531856536865, 0.5429514050483704, -0.6972078680992126, 0.4172329008579254, -0.7111583352088928, 0.5189277529716492, -0.2284235805273056, -0.48782113194465637, -0.16809220612049103, -0.698453962802887, 0.6865935921669006, -0.13458561897277832, 0.04846590757369995, 0.1846202164888382, -0.11500539630651474, 0.4041450619697571, -0.2879347801208496, 1.2594796419143677, -0.2765922546386719, 0.08617083728313446, 0.5521970987319946, 0.1504066437482834, 0.6526229977607727, 0.013299282640218735, 0.09237873554229736, -0.008163472637534142, -0.1969936192035675, -0.3690668046474457, -0.7799810171127319, 0.4363669753074646, -0.7871306538581848, -0.5535447001457214, -0.40555790066719055, -0.47918540239334106, -0.5094013214111328, 0.0221402570605278, 0.4685724377632141, 0.3745695650577545, -0.2351120561361313, 0.24426519870758057, 0.7250587940216064, 0.07948195189237595, 0.8394747972488403, 0.5395804047584534, 0.005473055876791477, -0.30135297775268555, 0.49256107211112976, 0.061608824878931046, 0.4297665059566498, 0.502093493938446, 0.33263862133026123, -0.35611727833747864, -0.49889713525772095, -0.47093290090560913, 0.091108538210392, -1.0590516328811646, -0.3390960097312927, -0.5413650274276733, -0.2214263528585434, -0.265063613653183, -0.348041832447052, -0.3290490508079529, -0.11378226429224014, -0.32591208815574646, -0.1305190473794937, 0.24547839164733887, 0.6986858248710632, -0.2187473028898239, 0.29121822118759155, -0.9420114159584045, 0.21614257991313934, 0.7379366159439087, -0.1393614560365677, -0.151458740234375, -0.7744664549827576, -0.22612252831459045, -0.00248835701495409, -0.7227426171302795, -0.71946781873703, 0.18061761558055878, 0.3903401494026184, 0.5846124291419983, 0.6600082516670227, -0.022547902539372444, 0.8960438966751099, -0.6627439260482788, 0.8619107007980347, 0.2852317988872528, -0.8226007223129272, 0.6075341105461121, -0.021173402667045593, 0.29311591386795044, 0.6704908013343811, 0.5092751383781433, -0.46210238337516785, -0.08166215568780899, -0.746908962726593, -0.4753454327583313, 0.6727659106254578, -0.05866654962301254, 0.17466723918914795, 0.15498501062393188, 0.529201328754425, 0.17086027562618256, 0.15565988421440125, -0.7277505993843079, -0.16934651136398315, -0.027951359748840332, -0.10389204323291779, -0.19567881524562836, -0.004077470395714045, -0.3057180941104889, -0.2640002369880676, 0.6530122756958008, -0.540437638759613, 0.20891809463500977, 0.15843357145786285, -0.3075809180736542, -0.104261614382267, 0.2758524715900421, 0.8009691834449768, 0.9786231517791748, -0.05925927311182022, 0.22402457892894745, 0.5213149189949036, -0.2857404947280884, 0.4290003180503845, -0.19544892013072968, -0.5377194881439209, -0.25035980343818665, 0.431780070066452, 0.7106903791427612, 0.47273901104927063, -0.41764771938323975, 0.3778156042098999, 0.1698649525642395, -0.19752821326255798, 0.0030119596049189568, 0.38980090618133545, -0.012993646785616875, 0.3694990575313568, 0.6442760825157166, 0.224959596991539, 0.12674956023693085, -0.6298908591270447, 0.5209214091300964, 0.30312806367874146, -0.5006089210510254, -0.3422638773918152, 0.42768290638923645, -0.035813670605421066, -0.29417121410369873, 0.4733463227748871, -0.14641359448432922, -0.2517280578613281, 0.6109781265258789, 0.884214460849762, 0.8681787848472595, -0.08434587717056274, 0.3043808043003082, 0.43710485100746155, 0.33604687452316284, -0.21887145936489105, 0.2292247861623764, -0.21053588390350342, -0.9374026656150818, -0.3613201379776001, -0.1730043590068817, -0.7637119889259338, 0.13797543942928314, -0.5666641592979431, 0.4779800474643707, -0.8507270216941833, 0.26567432284355164, -0.2880800664424896, 0.04810202866792679, -0.6886023879051208, 0.2990354299545288, 0.057383760809898376, 0.9657785296440125, -0.8495194911956787, 0.7446848154067993, 0.8239661455154419, -0.4185532033443451, -1.0501621961593628, 0.39008456468582153, 0.44125139713287354, -1.0965162515640259, 0.9272482395172119, -0.09357471764087677, -0.03771892935037613, 0.06582364439964294, -0.8762010931968689, -0.8535818457603455, 0.9546623826026917, 0.23663853108882904, -0.49755313992500305, 0.04244692251086235, -0.18949636816978455, 0.12562096118927002, -0.4985421597957611, 0.18947789072990417, 0.33014604449272156, 0.19003784656524658, 0.23207950592041016, -0.6621930599212646, -0.2411165088415146, 0.041959162801504135, -0.1751394271850586, 0.06199139356613159, -0.8062243461608887, 0.899039626121521, -0.7589179277420044, 0.04218714311718941, -0.18400448560714722, 0.4755997657775879, 0.7960483431816101, 0.7148503065109253, 0.5309853553771973, 0.3816280663013458, 0.752102792263031, 0.02635580115020275, 0.9389546513557434, -0.015722842887043953, 0.35046079754829407, 1.3137954473495483, -0.4542748034000397, 1.1187291145324707, 0.706662118434906, -0.23726199567317963, 0.4176725447177887, 0.8626013994216919, 0.4128812849521637, 0.7850823998451233, -0.031405963003635406, -0.13068675994873047, -0.09569764137268066, 0.4149044454097748, -0.12450644373893738, 0.422706663608551, 0.42079246044158936, -0.049174241721630096, -0.508742094039917, 0.1329357922077179, -0.009402298368513584, -0.05199529230594635, -0.4002598226070404, 0.9874371886253357, 0.37606528401374817, -0.5649684071540833, 0.7111530303955078, -0.32259249687194824, 0.5974763631820679, -0.5811590552330017, -0.43686556816101074, -0.46845543384552, 0.32850584387779236, 0.007277869153767824, -0.6643276214599609, 0.01672707498073578, -0.03653639182448387, -0.274140864610672, -0.16627931594848633, 0.8254186511039734, -0.13475781679153442, -0.4720848500728607, 0.061554014682769775, 0.6371569633483887, 0.26580503582954407, 0.1539677381515503, -0.7775576114654541, -0.3928276002407074, -0.08105740696191788, -0.08393563330173492, 0.33591020107269287, 0.32967209815979004, 0.023465415462851524, 0.6490991115570068, 0.44342777132987976, 0.10086161643266678, 0.27922600507736206, -0.24533137679100037, 0.6839868426322937, -0.9251835346221924, -0.5555298924446106, -0.7883329391479492, 0.5687373876571655, 0.09894584119319916, -0.5189895033836365, 0.741051197052002, 0.2899208068847656, 1.1730045080184937, -0.01302157063037157, 0.9011104106903076, 0.21249112486839294, 0.4848982095718384, -0.7913014888763428, 0.26376771926879883, -0.5494688153266907, 0.18980973958969116, -0.3618262708187103, -0.8372367024421692, -0.38150766491889954, 0.5436204075813293, -0.18393495678901672, 0.055759280920028687, 0.8419163823127747, 0.6630375385284424, -0.13852818310260773, -0.1876750886440277, 0.678699254989624, 0.021002551540732384, 0.3549276888370514, 0.8654065132141113, 1.0082836151123047, -0.713215172290802, 0.4691501557826996, -0.3538738489151001, -0.03985624387860298, -0.4326266050338745, -0.9589955806732178, -0.6228262782096863, -0.5178238153457642, -0.4174428880214691, -0.4116123616695404, 0.14386025071144104, 1.1470763683319092, 0.9411343336105347, -0.7386516332626343, -0.28370577096939087, -0.3197494447231293, 0.3975411057472229, -0.666274905204773, -0.20417983829975128, 0.137663334608078, -0.775137722492218, -0.5750504732131958, 0.6702086329460144, 0.39729517698287964, 0.21788853406906128, 0.1146610900759697, -0.5352293252944946, -0.15522031486034393, 0.058002766221761703, 0.7197086811065674, 0.6488208174705505, -0.6819612383842468, -0.34552693367004395, 0.15356270968914032, -0.048525046557188034, 0.4042759835720062, 1.013149619102478, -0.6728003621101379, 0.2854517996311188, 0.42125070095062256, 0.9129409790039062, 0.38912278413772583, -0.06537829339504242, 0.33439546823501587, -0.7332026958465576, 0.08728676289319992, 0.2818049192428589, 0.3012513816356659, 0.2271508276462555, -0.3736041486263275, 0.524929404258728, 0.30503034591674805, -0.3361191153526306, -0.6502613425254822, 0.24271073937416077, -0.5396538376808167, -0.13700902462005615, 1.307803988456726, -0.28926903009414673, -0.213067889213562, -0.13688527047634125, -0.1256874054670334, -0.003448073985055089, -0.24257105588912964, 0.761600136756897, 0.6803909540176392, -0.6568672060966492, -0.4740995466709137, -0.4809883236885071, 0.6403731107711792, 0.6079985499382019, -0.812399685382843, -0.20883046090602875, 0.4448885917663574, 0.4343605041503906, -0.031957339495420456, 0.744411826133728, -0.06367176026105881, 0.5659341812133789, -0.2335970401763916, -0.053970545530319214, 0.23907630145549774, -0.6141913533210754, -0.6201995611190796, 0.12462153285741806, 0.42912381887435913, -0.5308731198310852 ]
http://arxiv.org/abs/2402.10941v1
http://arxiv.org/pdf/2402.10941v1
Text2Data: Low-Resource Data Generation with Textual Control
2024-02-08T03:41:39
2024-02-08T03:41:39
Shiyu Wang, Yihao Feng, Tian Lan, Ning Yu, Yu Bai, Ran Xu, Huan Wang, Caiming Xiong, Silvio Savarese
cs.CL
cs.CL, cs.AI, cs.LG
Natural language serves as a common and straightforward control signal for humans to interact seamlessly with machines. Recognizing the importance of this interface, the machine learning community is investing considerable effort in generating data that is semantically coherent with textual instructions. While strides have been made in text-to-data generation spanning image editing, audio synthesis, video creation, and beyond, low-resource areas characterized by expensive annotations or complex data structures, such as molecules, motion dynamics, and time series, often lack textual labels. This deficiency impedes supervised learning, thereby constraining the application of advanced generative models for text-to-data tasks. In response to these challenges in the low-resource scenario, we propose Text2Data, a novel approach that utilizes unlabeled data to understand the underlying data distribution through an unsupervised diffusion model. Subsequently, it undergoes controllable finetuning via a novel constraint optimization-based learning objective that ensures controllability and effectively counteracts catastrophic forgetting. Comprehensive experiments demonstrate that Text2Data is able to achieve enhanced performance regarding controllability across various modalities, including molecules, motions and time series, when compared to existing baselines.
[ -0.005905746482312679, -1.025346279144287, 0.4816378951072693, 0.11540381610393524, -0.1190742701292038, 0.14580757915973663, -0.3889504075050354, -0.1693238466978073, -0.0783822312951088, 0.6188209652900696, -0.6122558116912842, -0.5571320652961731, -0.5938118100166321, -0.11889690160751343, -0.3753996193408966, 1.3400006294250488, -0.35808372497558594, -0.25182032585144043, -0.44159919023513794, -0.11147738248109818, -0.39975717663764954, -0.26674073934555054, -0.5692199468612671, -0.5150626301765442, 0.310896098613739, 0.6185020804405212, 0.6932083368301392, 0.7361119389533997, 0.3068307936191559, 0.17314405739307404, 0.014898133464157581, 0.5136111974716187, -0.6928697824478149, 0.08816921710968018, -0.27443307638168335, -0.4038515090942383, -0.06187182292342186, 0.021321909502148628, 0.37940743565559387, 0.7515790462493896, -0.10423853248357773, 0.1238933876156807, 0.4252980947494507, 0.9070240259170532, -0.5357012748718262, 0.13714320957660675, -0.5195692181587219, 0.19678425788879395, -0.28277215361595154, -0.2391640841960907, -0.3801146447658539, -0.25452080368995667, 0.07854225486516953, -0.9348554611206055, 0.3010932505130768, -0.19575655460357666, 0.5780796408653259, 0.7865224480628967, -0.4415307343006134, -0.6873244643211365, -0.8942511677742004, 0.8116655349731445, -0.06852077692747116, 0.08024132251739502, 0.7858645915985107, 0.05535198375582695, -0.12744712829589844, -0.817022442817688, -0.4955919682979584, 0.3242294490337372, -0.15188360214233398, 0.21760191023349762, -0.3181357681751251, -0.2312832921743393, 0.008636623620986938, -0.15633225440979004, -0.5408395528793335, 0.2385532557964325, -0.3461989164352417, -0.1870933473110199, 0.427805095911026, 0.18060468137264252, 0.19233235716819763, -0.36005017161369324, -0.39747416973114014, -0.018531907349824905, -0.25053611397743225, -0.12984305620193481, 0.3193308413028717, 0.3149673640727997, -0.3900599777698517, 0.8191116452217102, -0.13539506494998932, 0.29623401165008545, -0.07598976790904999, 0.08750101178884506, 0.055553995072841644, -0.4439598023891449, -0.21154500544071198, 0.16765956580638885, 0.9620836973190308, 0.46174225211143494, 0.09961079061031342, -0.33043113350868225, -0.07970784604549408, 0.11295809596776962, 0.20792537927627563, -0.9753210544586182, -0.5295686721801758, 0.19607624411582947, -0.4684615135192871, -0.40972933173179626, -0.20443688333034515, -1.1879750490188599, -0.5142250061035156, -0.5218583345413208, 0.23897716403007507, -0.5119557976722717, -0.03938866779208183, -0.02769865095615387, -0.09235081076622009, -0.26639366149902344, 0.2621336877346039, -1.1588728427886963, 0.41527053713798523, 0.4088585376739502, 1.075265884399414, -0.503568172454834, 0.22860638797283173, -0.28562742471694946, 0.48438239097595215, -0.49129945039749146, 0.5846217274665833, -0.4428124725818634, -0.5640096664428711, -0.22554205358028412, -0.2410093992948532, 0.1618245393037796, -0.5922371745109558, 0.322702556848526, -0.2701827883720398, 0.30468615889549255, 0.05297650396823883, -0.5364883542060852, 0.021378040313720703, -0.2079719752073288, -0.7569075226783752, 1.2294559478759766, 0.265413373708725, -0.821638286113739, 0.31108129024505615, -0.7439123392105103, -0.549492597579956, -0.09754933416843414, -0.33268123865127563, -0.8014242053031921, -0.13946308195590973, -0.09997030347585678, 0.3781103193759918, -0.46560510993003845, 0.4719443917274475, 0.09035637229681015, -0.08745414763689041, 0.20001152157783508, -0.8152165412902832, 0.4162479043006897, 0.2827651798725128, -0.32786500453948975, -0.27150025963783264, -0.9251896739006042, 0.10171257704496384, 0.15053385496139526, -0.6589707136154175, -0.4825575649738312, 0.28286248445510864, 0.583836555480957, -0.06493669748306274, 0.25283342599868774, -0.34861862659454346, 0.19194403290748596, -0.20516173541545868, 0.4724540710449219, 0.5741780400276184, 0.19793882966041565, 0.7766071557998657, -0.08971505612134933, 0.2898697257041931, -0.02105693332850933, -0.24337129294872284, -0.034370437264442444, -0.3282143175601959, -0.6023027300834656, -0.005581969395279884, 0.2951367199420929, 0.7301349639892578, -1.0621049404144287, 0.23010362684726715, -0.08233978599309921, -0.2930411398410797, -0.46020275354385376, 0.531578540802002, 0.40272998809814453, 0.6577574610710144, 0.7250184416770935, 0.08740026503801346, -0.5398342609405518, -0.7549230456352234, 0.16445370018482208, 0.1618659794330597, -0.40059301257133484, 0.2954968512058258, 0.4572206139564514, -0.6308249235153198, 1.142291784286499, -0.7100452184677124, -0.48258501291275024, -0.12832581996917725, 0.5890714526176453, -0.2879841923713684, 0.7818422317504883, 0.48424282670021057, -0.9006146788597107, -0.14325262606143951, 0.09002836048603058, -0.8411739468574524, -0.22345654666423798, -0.43300601840019226, -0.42524972558021545, 0.5534048676490784, 0.5433766841888428, -0.406636118888855, 0.3219008147716522, 0.5818061828613281, -0.43536248803138733, -0.0625830590724945, -0.46492627263069153, -0.2537725269794464, -1.2426483631134033, 0.25734519958496094, 0.06103041395545006, -0.05335277318954468, -0.4349242150783539, -0.6530358791351318, 0.046155039221048355, -0.08769644796848297, -0.1704401969909668, 0.45859092473983765, -0.23483899235725403, 0.15582317113876343, -0.14829596877098083, -0.06527655571699142, -0.06998249143362045, 0.4810536205768585, 0.19575177133083344, 0.7145810723304749, 0.17467916011810303, -0.6857221722602844, 0.16682420670986176, 0.5085225105285645, -0.2989041805267334, 0.5006258487701416, -0.5032796263694763, 0.013034830801188946, -0.43893831968307495, -0.058162469416856766, -0.830953061580658, -0.5450383424758911, 0.1786673367023468, -0.4682912826538086, 0.33252426981925964, 0.01920992136001587, -0.572014570236206, -0.05722518265247345, -0.10548287630081177, 0.38354986906051636, 0.6928529143333435, -0.4499278962612152, 0.27954602241516113, 0.5154668688774109, -0.19605757296085358, -0.08014222234487534, -1.061608076095581, 0.0053820800967514515, -0.05703219398856163, -0.021854061633348465, 0.330535888671875, -0.09540043026208878, -0.14267215132713318, 0.18099191784858704, 0.0800195261836052, -0.4673907160758972, 0.0526810884475708, 0.3942636251449585, 0.16040293872356415, 0.3079831302165985, 0.4319203495979309, 0.6937605142593384, -0.35833197832107544, -0.0015573007985949516, -0.4759279489517212, 0.34259316325187683, 0.6507851481437683, 0.0980900228023529, -0.713138222694397, 0.44465357065200806, 0.18196910619735718, 0.06884082406759262, 0.4957708418369293, 0.5271567106246948, -0.44567763805389404, -0.5363380908966064, 0.28436478972435, 0.040848616510629654, -0.48926013708114624, 0.4280395209789276, -0.018105557188391685, -0.6641885042190552, -0.05327599123120308, -0.3159012496471405, 0.005274365656077862, 0.43887847661972046, 0.6301805377006531, -0.5860524773597717, 0.6850414872169495, 0.6749972701072693, 0.23829996585845947, 0.3258739709854126, -0.47079697251319885, -0.2616889476776123, -0.4148727059364319, -0.6102275848388672, -0.4390750527381897, -0.5789558291435242, -0.711677074432373, -0.6585915684700012, 0.21335600316524506, 0.3202749788761139, -0.33804017305374146, 0.09836947172880173, -0.7112674713134766, 0.4294789135456085, 0.4760533273220062, 0.20534859597682953, 0.23985795676708221, 0.1893007755279541, -0.018012940883636475, -0.3318183720111847, -0.5934520363807678, -0.7250791192054749, 1.2374732494354248, 0.1205441951751709, 0.9414859414100647, 0.17214156687259674, 0.44619765877723694, 0.6076018214225769, 0.00011643950711004436, -0.7022620439529419, 0.245467871427536, -0.4754747152328491, -0.18764346837997437, -0.28492113947868347, -0.6576139330863953, -1.003091812133789, -0.2226993441581726, -0.40790995955467224, -0.49539947509765625, -0.04040488228201866, 0.32539090514183044, -0.17389245331287384, 0.20439322292804718, -0.9370347857475281, 0.683136522769928, -0.12060105055570602, -0.5531182885169983, 0.09713978320360184, -0.5506907105445862, 0.17703405022621155, -0.4176294207572937, 0.17389822006225586, -0.0625053346157074, -0.3580028712749481, 1.082571029663086, -0.486197292804718, 1.021193265914917, -0.21104080975055695, -0.16649110615253448, 0.5308627486228943, 0.20094788074493408, 0.5535109043121338, 0.16344387829303741, 0.07817091792821884, -0.044851887971162796, -0.28658583760261536, -0.40166595578193665, -0.3251783847808838, 0.6324244737625122, -0.7192898392677307, 0.2946235239505768, -0.024679936468601227, -0.5909191966056824, -0.1826174557209015, 0.21723876893520355, 0.6012805700302124, 0.3549838662147522, -0.17302779853343964, 0.26157116889953613, 0.8634072542190552, -0.32778841257095337, 0.7378123998641968, 0.21961237490177155, 0.16209851205348969, -0.4448307454586029, 1.1127197742462158, 0.2992795705795288, 0.26031455397605896, 0.6625030040740967, -0.08530094474554062, -0.3328688442707062, -0.4531581699848175, -0.6151229739189148, -0.11388417333364487, -0.2317427396774292, -0.3541886508464813, -0.7450335621833801, 0.020878804847598076, -0.016180813312530518, -0.2684023380279541, -0.5106821060180664, -0.5489397644996643, -0.8416445255279541, -0.30802181363105774, 0.6404180526733398, 0.7358359098434448, -0.05044841393828392, 0.47829917073249817, -0.540799617767334, 0.6321191787719727, 0.16345064342021942, 0.43480372428894043, -0.20382381975650787, -0.08166193962097168, -0.3030165433883667, 0.14623785018920898, -0.4651930034160614, -0.6056888103485107, 0.2403961420059204, 0.2187359482049942, -0.05725235491991043, 0.23516997694969177, 0.24947603046894073, 0.18885789811611176, -0.6019731760025024, 0.5755853652954102, 0.31394559144973755, -0.8181933760643005, 0.7961519360542297, -0.32648158073425293, 0.2917332947254181, 0.4868088364601135, 0.38232871890068054, -0.2967657744884491, -0.31716686487197876, -0.29868948459625244, -0.9615941643714905, 0.7055704593658447, 0.49890559911727905, 0.23632577061653137, 0.23023702204227448, 0.36171749234199524, 0.2715167999267578, 0.2228168249130249, -0.38292789459228516, -0.15944519639015198, -0.3991585969924927, -0.7750319838523865, -0.06992901861667633, -0.3157593309879303, -0.08859333395957947, 0.06812961399555206, 0.3181130588054657, -0.26381680369377136, 0.2270505726337433, 0.11317885667085648, 0.02838079445064068, -0.12641513347625732, 0.1610613763332367, 0.45254865288734436, 0.09127167612314224, 0.06998694688081741, 0.2821601629257202, -0.10873773694038391, -0.7785983085632324, 0.2712435722351074, 0.15273141860961914, -0.6448555588722229, 0.03696243837475777, 0.34115999937057495, 0.8916747570037842, 0.15562470257282257, -0.7737372517585754, 0.20612071454524994, 0.13536155223846436, -0.5384491682052612, -0.010638083331286907, 0.06707558035850525, 0.0017198094865307212, 0.05690770223736763, 0.26796579360961914, 0.24304887652397156, 0.04945690929889679, -0.15336158871650696, 0.4740225672721863, 0.12220794707536697, -0.4917092025279999, -0.31586140394210815, 1.2261085510253906, 0.33775395154953003, 0.11203503608703613, 0.496745228767395, -0.25285235047340393, 0.04780564084649086, 0.5910810232162476, 0.4560607671737671, 0.48413679003715515, 0.018120285123586655, 0.5302814841270447, 0.2565764784812927, 0.3016527593135834, -0.05532669648528099, 0.3520606756210327, -0.1736724078655243, -0.560285210609436, -0.10185731947422028, -0.6478487849235535, -0.16614864766597748, 0.009139173664152622, -0.6623638272285461, 0.07810261100530624, -0.6649105548858643, -0.1812674105167389, 0.118672676384449, -0.029630612581968307, -0.42546743154525757, 0.3326287269592285, -0.1703227460384369, 0.7065951824188232, -0.7390324473381042, 0.8620081543922424, 0.3143884539604187, -0.3331047296524048, -0.45157545804977417, -0.004214727785438299, 0.19666312634944916, -0.4512435495853424, 0.582892656326294, 0.11206554621458054, 0.03718170151114464, 0.18671002984046936, -0.5962091088294983, -0.47148847579956055, 1.211394190788269, 0.2578134536743164, -0.5600751638412476, -0.0592028945684433, 0.3065910041332245, 0.49788326025009155, 0.10761058330535889, -0.29475051164627075, 0.7041971683502197, 0.5966659188270569, 0.2215396612882614, -0.45178771018981934, -0.15541547536849976, -0.13895373046398163, 0.11387746781110764, 0.4815017879009247, -0.47225090861320496, 0.6560717821121216, -0.357766717672348, -0.42669999599456787, 0.057579509913921356, 0.6135334968566895, -0.10372647643089294, 0.47706058621406555, 0.014527394436299801, 0.6484953761100769, 0.9265739321708679, -0.2951555550098419, 0.8715104460716248, 0.10458803921937943, 0.4416407346725464, 1.260852336883545, -0.09683524817228317, 0.7703956961631775, 0.5115543603897095, -0.13118354976177216, 0.20892155170440674, 0.5284199714660645, -0.08379936963319778, 0.8532462120056152, 0.0302754957228899, -0.2606365382671356, 0.14396266639232635, -0.35959556698799133, 0.0341225191950798, 0.42563506960868835, 0.4119407832622528, -0.2715700566768646, -0.21439513564109802, 0.3404552936553955, 0.2494114190340042, 0.5493014454841614, -0.29237183928489685, 0.9951344132423401, -0.26998019218444824, -0.19847868382930756, 0.4783911108970642, 0.1711420863866806, 0.7972891926765442, -0.48195257782936096, -0.09921861439943314, -0.2392735481262207, 0.1876952201128006, -0.2849808931350708, -0.9593293070793152, 0.5225293636322021, 0.45139819383621216, -0.580797553062439, -0.5012627243995667, 0.3491681218147278, -0.7976344227790833, -0.5146981477737427, 0.23423610627651215, 0.17422159016132355, -0.03145359456539154, 0.36624643206596375, -0.41390323638916016, -0.07864934951066971, 0.14998169243335724, -0.19597236812114716, 0.12033406645059586, 0.6477481126785278, -0.18481189012527466, 0.5992543697357178, 0.5296330451965332, 0.06761978566646576, -0.16110891103744507, -0.2695237994194031, 0.7013983726501465, -0.6124029755592346, -0.42964422702789307, -0.6021650433540344, 0.3314550518989563, 0.005360827781260014, -0.31199485063552856, 0.2762150764465332, 0.9107363820075989, 0.7798177599906921, 0.12876610457897186, 1.1820743083953857, -0.1994374543428421, 0.5875207781791687, -1.0323598384857178, 1.0378928184509277, -0.4363268315792084, 0.0050128442235291, 0.04474104568362236, -0.4883482754230499, -0.13386724889278412, 0.2159622460603714, 0.06851688772439957, -0.21569615602493286, 0.5359630584716797, 0.6568612456321716, 0.06304890662431717, -0.160771444439888, 0.007612267974764109, 0.14866222441196442, 0.2966312766075134, 0.8360223770141602, 0.3021352291107178, -0.3660266399383545, 0.7061655521392822, -0.10664793103933334, -0.18319283425807953, 0.08700168877840042, -0.6102358102798462, -0.8198615908622742, -0.7546194791793823, -0.17939038574695587, -0.2576240003108978, -0.17997439205646515, 0.7733579277992249, 0.4682732820510864, -0.7178543210029602, 0.06751030683517456, -0.6382786631584167, -0.009731698781251907, 0.21559065580368042, -0.2319190800189972, 0.5458133220672607, -0.1963285654783249, -0.9356200695037842, 0.2627919018268585, 0.21060442924499512, 0.8043044209480286, -0.0154263935983181, -0.2798486351966858, 0.07785561680793762, 0.03455528989434242, 0.5602378249168396, 0.30619949102401733, -0.22681964933872223, 0.16926296055316925, -0.3417021632194519, -0.5312291383743286, -0.17703679203987122, 0.9131938219070435, -0.9116767644882202, 0.4260402023792267, 0.21052901446819305, 0.9940098524093628, 0.4762216806411743, 0.11175370216369629, 0.43793919682502747, -1.0134657621383667, 0.44978201389312744, 0.12717728316783905, -0.2828359007835388, 0.2913509011268616, -0.46560728549957275, 0.5677866339683533, 0.2944343090057373, -0.28944292664527893, -0.5404298901557922, 0.01554089318960905, -1.017272710800171, -0.5656806826591492, 1.0556879043579102, 0.3553082048892975, -0.020565468817949295, -0.02601395547389984, -0.45591971278190613, 0.3979382812976837, -0.5848572850227356, 0.7068449854850769, 0.3374384045600891, -0.16091769933700562, -0.05737191066145897, -0.8325484395027161, 0.9833629727363586, 0.1985187828540802, -1.1838446855545044, 0.3614443838596344, 0.7631635069847107, 0.02262272872030735, -0.15946094691753387, 0.6808074712753296, 0.0851183608174324, -0.047221843153238297, -0.0916614755988121, -0.08420168608427048, -0.09430129081010818, -0.4395000636577606, -0.06933698058128357, 0.2189401537179947, -0.5559552907943726, -0.35274291038513184 ]
http://arxiv.org/abs/2402.05376v1
http://arxiv.org/pdf/2402.05376v1
Zero-Shot Chain-of-Thought Reasoning Guided by Evolutionary Algorithms in Large Language Models
2024-02-08T03:17:38
2024-02-08T03:17:38
Feihu Jin, Yifan Liu, Ying Tan
cs.CL
cs.CL
Large Language Models (LLMs) have demonstrated remarkable performance across diverse tasks and exhibited impressive reasoning abilities by applying zero-shot Chain-of-Thought (CoT) prompting. However, due to the evolving nature of sentence prefixes during the pre-training phase, existing zero-shot CoT prompting methods that employ identical CoT prompting across all task instances may not be optimal. In this paper, we introduce a novel zero-shot prompting method that leverages evolutionary algorithms to generate diverse promptings for LLMs dynamically. Our approach involves initializing two CoT promptings, performing evolutionary operations based on LLMs to create a varied set, and utilizing the LLMs to select a suitable CoT prompting for a given problem. Additionally, a rewriting operation, guided by the selected CoT prompting, enhances the understanding of the LLMs about the problem. Extensive experiments conducted across ten reasoning datasets demonstrate the superior performance of our proposed method compared to current zero-shot CoT prompting methods on GPT-3.5-turbo and GPT-4. Moreover, in-depth analytical experiments underscore the adaptability and effectiveness of our method in various reasoning tasks.
[ -0.3750676214694977, -1.1918367147445679, 0.9875664114952087, 0.05287079140543938, -0.6201058030128479, 0.3155021071434021, -0.41332051157951355, -0.21251314878463745, 0.3581905961036682, 0.2761191129684448, -1.134079933166504, -0.522584855556488, -0.2927416265010834, 0.4376715123653412, -0.17067955434322357, 0.8095862865447998, -0.21877720952033997, -0.2765443027019501, 0.08035185188055038, 0.1064351350069046, -0.747406542301178, -0.14936254918575287, -0.5143873691558838, -0.2998046278953552, 0.9667212963104248, 0.5075327754020691, 0.42206209897994995, 0.40848472714424133, -0.10672632604837418, 0.19467060267925262, -0.17913828790187836, 0.41457438468933105, -0.4562709629535675, 0.575975775718689, -0.3637940585613251, -0.5405163764953613, -0.07877419888973236, -0.2784667909145355, 0.4611322581768036, 0.4783012568950653, -0.01900462992489338, 0.11095035076141357, -0.3158198595046997, 0.32581910490989685, -1.0361799001693726, -0.3034264147281647, -1.2307820320129395, 0.258223295211792, 0.07029886543750763, -0.7200790047645569, -0.5327997207641602, -0.2769664525985718, -0.007046943064779043, -0.5505799055099487, 0.09465836733579636, -0.12912678718566895, 0.5111835598945618, 0.14132028818130493, -0.18157243728637695, -0.4005533754825592, -0.6579557061195374, 0.7330401539802551, -0.575936496257782, 0.2719540596008301, -0.09957428276538849, 0.11034532636404037, -0.3613206148147583, -0.41091790795326233, -0.8589982986450195, -0.2661486864089966, 0.3983418941497803, 0.07697536796331406, -0.16540341079235077, -0.11654139310121536, 0.10753371566534042, -0.012832505628466606, -0.5512970685958862, 0.17641757428646088, -0.2748371958732605, 0.2039632648229599, 0.3739026188850403, 0.018775347620248795, 0.12228874117136002, 0.19665955007076263, -0.4056502878665924, 0.015433141961693764, -0.9869264364242554, -0.1310756504535675, 0.1781613975763321, 0.4018278121948242, 0.07263988256454468, 0.38790348172187805, -0.379719078540802, 0.871605396270752, 0.19918853044509888, 0.20286498963832855, 0.17762090265750885, -0.05415920540690422, -0.3167339563369751, 0.32692140340805054, 0.802871823310852, 0.18519733846187592, 0.5277012586593628, -0.19025534391403198, -0.07598037272691727, 0.05475284531712532, 0.2692801058292389, -0.43487250804901123, -0.004515663720667362, 0.2228488177061081, 0.06060497462749481, -0.6261135935783386, -0.33317697048187256, -0.9717678427696228, -0.211131289601326, -0.18891975283622742, 0.6151068806648254, -0.4854374825954437, 0.005032581277191639, 0.3373526930809021, -0.1259155124425888, 0.3987674117088318, 0.3785175681114197, -1.0200490951538086, -0.22799281775951385, 0.49186083674430847, 0.9148749113082886, 0.16460363566875458, -0.49740564823150635, -0.6743541359901428, 0.27107688784599304, -0.4810245931148529, 1.0684672594070435, -0.7524780631065369, -0.35635268688201904, -0.024898851290345192, -0.3317851126194, -0.06420919299125671, -0.142518550157547, 0.27078649401664734, -0.42107582092285156, 0.19315125048160553, -0.30824795365333557, -0.33488136529922485, -0.09933166205883026, 0.6113271117210388, -0.1118941605091095, 0.8348698019981384, -0.08870624005794525, -0.3816578984260559, 0.5540087223052979, -0.6711375713348389, -0.3770729899406433, 0.32199692726135254, -0.5107274055480957, -0.1973579078912735, 0.3055020570755005, 0.7067915797233582, 0.2700161337852478, -0.24356286227703094, 0.2114095240831375, -0.41705894470214844, -0.43557754158973694, 0.025266757234930992, -0.5160801410675049, 0.7605473399162292, 0.12773080170154572, -0.5714928507804871, 0.20365847647190094, -0.39049288630485535, 0.33919790387153625, 0.41978955268859863, 0.12905536592006683, -0.11308453977108002, -0.08257775008678436, -0.9295012950897217, 0.1469198763370514, 0.07381892949342728, -0.5193412899971008, 0.6631788015365601, -0.32316523790359497, 0.5575857162475586, 0.8669223189353943, 0.37529778480529785, 0.10997092723846436, -0.2598753571510315, 0.6871035695075989, -0.11620752513408661, 0.19313709437847137, -0.48255449533462524, -0.6222254037857056, -0.7016613483428955, -0.03861381113529205, -0.038497280329465866, 0.5654926896095276, -1.016079306602478, 0.5737022161483765, -0.15763753652572632, -0.4743862748146057, -0.3105747401714325, 0.060925763100385666, 0.28137660026550293, 0.37930727005004883, 0.4293515086174011, -0.04408363997936249, -0.3634975254535675, -0.39291682839393616, -0.28021690249443054, -0.20051392912864685, 0.08231215178966522, 0.23094910383224487, 0.42556220293045044, -0.06421846151351929, 0.9031841158866882, -0.7051196098327637, 0.4212888479232788, -0.42374303936958313, 0.4276242256164551, 0.22317154705524445, 0.13189098238945007, 0.564236044883728, -0.12365584075450897, -0.16776315867900848, -0.11703406274318695, -0.7356074452400208, -0.4124806523323059, -0.6578550934791565, -0.4585159122943878, -0.12504936754703522, 0.5006938576698303, -0.6988744735717773, 0.31210440397262573, 0.24865400791168213, -0.19075754284858704, 0.8583325147628784, -0.23477301001548767, 0.009423292241990566, -0.8122113943099976, -0.07857955247163773, -0.3045426309108734, -0.003448251634836197, -0.6300349235534668, 0.2422768473625183, -0.0992106944322586, 0.031540919095277786, -0.5023107528686523, 0.5607153177261353, -0.6169355511665344, 0.17360448837280273, -0.25594913959503174, 0.29420095682144165, -0.0552779845893383, 0.5690581202507019, 0.024124138057231903, 0.7205150723457336, 0.8184456825256348, -0.6947050094604492, 0.55101478099823, 0.3554396629333496, -0.0857475996017456, 0.41769957542419434, -0.4431392550468445, 0.5018816590309143, -0.3186754882335663, 0.48395851254463196, -0.6441424489021301, 0.09959578514099121, 0.280667781829834, -0.2870813310146332, 0.006564044393599033, -0.021440817043185234, -0.24082575738430023, -0.6439038515090942, -0.5686926245689392, 0.5729718208312988, 0.4940161108970642, -0.733846127986908, 0.4007273316383362, -0.44110897183418274, -0.2520730495452881, -0.40970948338508606, -0.47963130474090576, 0.3934626579284668, -0.10278890281915665, -0.3505679666996002, 0.18256783485412598, -0.13586489856243134, 0.1414884477853775, -0.18813231587409973, -0.24341991543769836, 0.19416910409927368, -0.1078629195690155, -0.14041444659233093, 0.5018478035926819, -0.23732075095176697, 0.09302805364131927, 0.30381619930267334, 0.03313303738832474, -0.062097206711769104, -0.6362453103065491, 0.9010376930236816, 0.08377359062433243, -0.3245287835597992, -0.3708365857601166, 0.13751542568206787, 0.5472869277000427, -0.33984655141830444, 0.577595591545105, 0.1850278675556183, 0.00464749475941062, -0.6888813972473145, -0.5536593198776245, -0.3177501857280731, -0.5096507668495178, -0.11525377631187439, -0.4282967150211334, -0.8928202390670776, 0.31153982877731323, -0.23040394484996796, 0.10814465582370758, 0.027294546365737915, 0.9161481857299805, 0.10426752269268036, 0.7684975862503052, 0.10766593366861343, 0.16812372207641602, 0.5897749066352844, -0.2473125159740448, 0.55875164270401, -0.8693341612815857, -0.2557719349861145, -0.25038227438926697, -0.35562461614608765, -0.33907949924468994, -0.42663753032684326, 0.30328643321990967, 0.23826903104782104, -0.49471521377563477, 0.24527116119861603, -0.7903160452842712, 0.8891454935073853, 0.47913411259651184, 0.16999027132987976, 0.1777510792016983, 0.058416761457920074, -0.5661454796791077, 0.6503040790557861, -0.7202399373054504, -0.33809736371040344, 0.9743475914001465, -0.052894555032253265, 0.6285430192947388, -0.07509616017341614, 1.0363597869873047, 0.024120289832353592, -0.0023283762857317924, -0.8226000070571899, 0.7805401086807251, 0.1917080283164978, -0.39876627922058105, -0.30125534534454346, -0.4074660837650299, -1.1336655616760254, 0.18378688395023346, -0.36601200699806213, -1.0859203338623047, 0.20109471678733826, 0.181134432554245, -0.8564613461494446, 0.443752646446228, -0.504096269607544, 0.4512798488140106, -0.46988794207572937, -0.2584919035434723, -0.08807720988988876, -0.5645681619644165, 0.39993607997894287, -0.15442535281181335, -0.1248946338891983, -0.17351719737052917, -0.06336948275566101, 0.20965959131717682, -0.4544581174850464, 0.5970059633255005, -0.08324513584375381, -0.10986851155757904, 0.5716772675514221, 0.38876500725746155, 0.6413725018501282, -0.10522094368934631, -0.17906740307807922, -0.05042264237999916, -0.19072438776493073, -0.3716503977775574, -0.7763047218322754, 0.7057847380638123, -0.5296416878700256, -0.7637446522712708, -0.3789084851741791, -0.5317379236221313, -0.49268779158592224, 0.27258217334747314, 0.38151460886001587, 0.2445056289434433, 0.11867177486419678, -0.0716201514005661, 0.4237353205680847, -0.37856200337409973, 0.5364462733268738, 0.3931315839290619, -0.14955808222293854, -0.28887519240379333, 0.6746196150779724, -0.10725659132003784, 0.5093784332275391, 0.19986338913440704, 0.36704757809638977, -0.25074303150177, -0.6759094595909119, -0.6954907178878784, 0.17928104102611542, -0.5389386415481567, -0.3317703306674957, -0.5253936648368835, -0.10270664095878601, -0.2080482840538025, -0.7618488669395447, 0.041145361959934235, -0.22388972342014313, -0.12368191033601761, -0.1815478354692459, 0.5307099223136902, 0.6573204398155212, 0.21420015394687653, 0.21616321802139282, -0.7389784455299377, 0.38988223671913147, 0.5429962873458862, 0.4387229084968567, 0.3115169107913971, -0.2739405930042267, 0.34373292326927185, 0.2419956922531128, -0.5525582432746887, -1.0491453409194946, 0.14759935438632965, 0.0785595029592514, 0.5139614343643188, 0.4207022786140442, 0.15169735252857208, 0.8762476444244385, -0.7060983777046204, 1.0315871238708496, 0.47322046756744385, -1.0470335483551025, 0.8876414895057678, -0.5779616832733154, 0.643153965473175, 0.617039144039154, 0.13498495519161224, -0.47493791580200195, -0.5773603916168213, -0.5635756850242615, -0.8652820587158203, 0.5553529858589172, 0.27495092153549194, 0.24724212288856506, -0.417912095785141, 0.6013370752334595, 0.13116419315338135, 0.1786423623561859, -0.5132193565368652, 0.06977055966854095, -0.14123044908046722, -0.012966093607246876, 0.31334543228149414, 0.05603243038058281, 0.04912601038813591, -0.2804507315158844, 0.5559998750686646, -0.3296753168106079, 0.3445770740509033, 0.29589906334877014, -0.06017008796334267, -0.28063762187957764, 0.5829373598098755, 0.8083463907241821, 0.6161179542541504, -0.09384804964065552, 0.13403332233428955, 0.7348340153694153, -0.15001171827316284, 0.3571542501449585, -0.44590461254119873, -0.34240153431892395, -0.06294983625411987, 0.3922559320926666, 1.050397276878357, 0.09210304915904999, -0.589640736579895, 0.3146118223667145, 0.10288212448358536, -0.4781787395477295, -0.0025789893697947264, 0.38052573800086975, -0.05405725538730621, 0.14430435001850128, 0.2779031991958618, -0.25303027033805847, -0.33016517758369446, -0.8063120245933533, 0.009948131628334522, 0.477553129196167, -0.09024480730295181, -0.14259344339370728, 0.46078234910964966, 0.21278905868530273, -0.42244645953178406, 0.5980660915374756, -0.4584939777851105, -0.5601020455360413, 0.4046139717102051, 0.7091560959815979, 1.1458048820495605, -0.20794129371643066, 0.4319480359554291, 0.19409865140914917, 0.12777820229530334, -0.08851119130849838, 0.4814040958881378, -0.32096579670906067, -0.8171348571777344, -0.6556635499000549, -0.5623576045036316, -0.5528273582458496, 0.14679422974586487, -0.3471145033836365, 0.4914309084415436, -0.7495430707931519, 0.10171522200107574, 0.12106253951787949, -0.44303464889526367, -0.45453107357025146, 0.1410568505525589, 0.5293062925338745, 0.9854731559753418, -0.5460165143013, 0.730927586555481, 0.47496625781059265, -0.4043761193752289, -0.8718706965446472, 0.29524195194244385, 0.16503535211086273, -1.180749535560608, 0.33806002140045166, 0.04878372326493263, -0.5508133769035339, 0.10731880366802216, -0.7560074925422668, -0.5211906433105469, 1.1689099073410034, 0.3540925979614258, -0.8731577396392822, -0.07667426764965057, 0.07764752209186554, 0.3895926773548126, -0.5737455487251282, 0.41627803444862366, 0.5755596160888672, 0.3367097079753876, 0.6582564115524292, -0.7240957021713257, 0.17450584471225739, -0.08207356184720993, -0.00105824985075742, 0.49083831906318665, -0.4523297846317291, 0.7755841016769409, -0.48842334747314453, -0.07587815821170807, 0.08442699164152145, 0.258147269487381, 0.7551692128181458, 0.1501394361257553, 0.6438248753547668, 0.41482487320899963, 0.832588791847229, 0.05823160335421562, 0.8044261932373047, -0.3278656005859375, 0.284486323595047, 1.1494126319885254, -0.6845786571502686, 0.847251832485199, 0.4835565984249115, 0.10106991976499557, 0.9591394066810608, 0.42273491621017456, -0.2116779088973999, 0.4209854304790497, 0.4190387427806854, -0.6227939128875732, -0.3796752095222473, 0.00003812797513091937, -0.251896470785141, 0.39755257964134216, 0.12655486166477203, -0.18219278752803802, -0.5211004614830017, -0.13047435879707336, 0.11938461661338806, -0.23444601893424988, -0.40649840235710144, 0.8801321983337402, -0.08125688135623932, -0.9623324275016785, 0.9630651473999023, -0.3172718584537506, 0.7029795050621033, -0.6095209121704102, 0.046780917793512344, -0.1054588034749031, -0.11105777323246002, -0.05637899041175842, -0.9723358750343323, 0.04592207819223404, 0.3647797107696533, 0.09181094169616699, -0.31569191813468933, 0.44074714183807373, -0.3942541480064392, -0.5068219304084778, 0.2514723241329193, 0.5997875332832336, 0.08037019520998001, -0.0057905325666069984, -0.5855856537818909, 0.09861116111278534, 0.09820128232240677, -0.1443442851305008, 0.046788234263658524, 0.638816237449646, -0.22091680765151978, 0.6780829429626465, 0.9197376370429993, 0.2739073634147644, 0.04560605436563492, 0.3455349802970886, 1.0519521236419678, -0.8685122728347778, -0.5589123368263245, -1.1409934759140015, 0.35336071252822876, -0.05964551120996475, -0.4112134277820587, 0.32833394408226013, 0.1338912695646286, 0.5901402831077576, -0.01948440819978714, 0.8182700872421265, 0.06604119390249252, 0.03434352949261665, -0.5725700855255127, 0.3847769498825073, -0.3380657136440277, 0.23929303884506226, -0.2291548103094101, -1.0393694639205933, -0.43435779213905334, 0.6766082048416138, -0.5750635266304016, 0.10470649600028992, 0.940608024597168, 0.8024542927742004, 0.10528958588838577, 0.40956634283065796, 0.26120278239250183, 0.21322666108608246, 0.42762163281440735, 0.8504235148429871, 0.9246684908866882, 0.15344952046871185, 0.5231236219406128, 0.22643230855464935, -0.310409814119339, -0.10653208941221237, -1.2352079153060913, -0.9419546127319336, -0.08131803572177887, -0.26225122809410095, -0.03917095810174942, 0.39135751128196716, 1.2755966186523438, 0.480060338973999, -0.7503023147583008, 0.09930714219808578, -0.6733266115188599, -0.034323401749134064, -0.18532933294773102, -0.16845375299453735, 0.06883656233549118, -0.6528537273406982, -0.28355738520622253, 0.6039129495620728, 0.5633835792541504, -0.06047225371003151, -0.17621223628520966, -0.004365929402410984, -0.4726661145687103, 0.5681193470954895, 0.6351500749588013, 0.3443651497364044, -0.8413305282592773, -0.5228229761123657, -0.021545005962252617, 0.4218321144580841, -0.028143683448433876, 0.9359137415885925, -1.0910629034042358, 0.6505744457244873, 0.5251370072364807, 0.3551400601863861, 0.5071752071380615, -0.18276937305927277, 0.7036371231079102, -0.7877704501152039, 0.16224563121795654, 0.43151330947875977, 0.3186035454273224, 0.03423935920000076, -0.3746201992034912, 0.24469786882400513, 0.13151036202907562, -0.46975216269493103, -0.7912269830703735, 0.4759913980960846, -0.9043017029762268, -0.5200824737548828, 1.2438182830810547, 0.006034597754478455, -0.18454064428806305, 0.04083896428346634, -0.3457198143005371, 0.1875937134027481, -0.38842320442199707, 0.9056249856948853, 0.704542875289917, -0.37558886408805847, -0.5166285634040833, -0.22934800386428833, 0.14730973541736603, 0.5593939423561096, -0.8424597978591919, 0.14707578718662262, 0.23619882762432098, 0.2522297203540802, 0.04434080794453621, 0.4102593958377838, 0.14533869922161102, 0.38762083649635315, -0.04723385348916054, -0.047776855528354645, -0.19449268281459808, -0.3456338047981262, -0.3523162305355072, -0.027188969776034355, -0.007046466693282127, -0.09295004606246948 ]
http://arxiv.org/abs/2402.05374v2
http://arxiv.org/pdf/2402.05374v2
CIC: A framework for Culturally-aware Image Captioning
2024-02-08T03:12:25
2024-05-02T02:41:50
Youngsik Yun, Jihie Kim
cs.CV
cs.CV, cs.AI, cs.CL
Image Captioning generates descriptive sentences from images using Vision-Language Pre-trained models (VLPs) such as BLIP, which has improved greatly. However, current methods lack the generation of detailed descriptive captions for the cultural elements depicted in the images, such as the traditional clothing worn by people from Asian cultural groups. In this paper, we propose a new framework, \textbf{Culturally-aware Image Captioning (CIC)}, that generates captions and describes cultural elements extracted from cultural visual elements in images representing cultures. Inspired by methods combining visual modality and Large Language Models (LLMs) through appropriate prompts, our framework (1) generates questions based on cultural categories from images, (2) extracts cultural visual elements from Visual Question Answering (VQA) using generated questions, and (3) generates culturally-aware captions using LLMs with the prompts. Our human evaluation conducted on 45 participants from 4 different cultural groups with a high understanding of the corresponding culture shows that our proposed framework generates more culturally descriptive captions when compared to the image captioning baseline based on VLPs. Our code and dataset will be made publicly available upon acceptance.
[ -0.5313779711723328, -0.28680741786956787, 0.11378378421068192, 0.4400895833969116, -0.4776962995529175, 0.24542340636253357, -0.2985255718231201, -0.6494722962379456, 0.3152349293231964, 0.6350433826446533, -0.5413312911987305, -0.6486815214157104, -0.07432432472705841, 0.4516828656196594, -0.16088956594467163, 0.6118952035903931, -0.12399947643280029, 0.15454813838005066, -0.37437382340431213, -0.19821764528751373, -0.241705521941185, -0.3070368468761444, -0.2663218080997467, 0.3472958505153656, 0.33370786905288696, 0.807426393032074, 0.5109391808509827, 0.6885120868682861, 0.7319638729095459, 0.26678481698036194, 0.15672002732753754, 0.4005427360534668, -0.19990268349647522, -0.08566323667764664, -0.25017762184143066, -0.5492217540740967, -0.09469198435544968, -0.08819799870252609, 0.2005080282688141, 0.40193748474121094, 0.12802281975746155, 0.4522048532962799, -0.20895947515964508, 0.4908943176269531, -0.8275013566017151, 0.18014417588710785, -0.5076871514320374, 0.27120542526245117, -0.03633730858564377, -0.5123119354248047, -0.32219013571739197, -0.1539638191461563, 0.09206581860780716, -0.6923249363899231, 0.29370445013046265, 0.3318295180797577, 0.7650118470191956, 0.1251021772623062, -0.4987486004829407, -0.38423803448677063, -0.5727902054786682, 0.5074121356010437, -0.31758618354797363, 0.15024279057979584, 0.43112561106681824, 0.5184449553489685, 0.33646079897880554, -0.7251020073890686, -0.7654065489768982, -0.01884480193257332, -0.1204712763428688, 0.4567941725254059, 0.21992380917072296, -0.3538469076156616, 0.1942507028579712, 0.49413052201271057, -0.616590142250061, 0.07897522300481796, -0.5933521389961243, -0.30847659707069397, 0.5961765646934509, 0.22545349597930908, 0.7208203077316284, -0.3455975651741028, -0.7545146346092224, 0.12041179835796356, -0.8196741938591003, 0.13539355993270874, -0.13645970821380615, 0.07815346866846085, -0.5139138102531433, 0.491684228181839, -0.6186611652374268, 0.37156373262405396, -0.022298188880085945, -0.1745467483997345, 0.08351241052150726, -0.2898227274417877, 0.08566410094499588, 0.13715963065624237, 0.5330969095230103, 1.168355107307434, 0.6773858070373535, 0.0038119626697152853, 0.06267398595809937, 0.11371664702892303, -0.204341322183609, -0.7832504510879517, -0.11243103444576263, -0.004368353635072708, -0.7628353834152222, -0.3600049614906311, 0.36596471071243286, -0.6604897379875183, -0.6348041296005249, -0.4264012575149536, -0.35980936884880066, -0.10366454720497131, -0.250953733921051, -0.15731696784496307, -0.05977654457092285, 0.8488950729370117, 0.2744079530239105, -0.7171535491943359, -0.026030613109469414, 0.12095005065202713, 0.6731311082839966, -0.27081748843193054, -0.006118982098996639, -0.2863222658634186, 0.3550472557544708, -0.3146940767765045, 0.6071954965591431, -0.3626388907432556, -0.3690866231918335, 0.24677342176437378, 0.269583135843277, 0.4993000030517578, -0.33143284916877747, 0.36898764967918396, -0.5884788036346436, 0.14508368074893951, -0.6710143685340881, -0.05112743750214577, -0.18319667875766754, 0.3234994411468506, -0.7403722405433655, 0.33135268092155457, -0.09219961613416672, -0.8958167433738708, 0.5084834694862366, -0.6413038372993469, -0.5550580024719238, 0.7044504284858704, -0.3222389817237854, -0.16049614548683167, -0.14552639424800873, 0.762117326259613, 0.46700894832611084, -0.3618328869342804, -0.008370024152100086, -0.252697616815567, -0.6743879914283752, 0.45609647035598755, -0.0894375666975975, 0.8788396716117859, 0.7101643085479736, -0.5597410798072815, -0.04011416435241699, -0.512117326259613, 0.04197699949145317, 0.21275992691516876, -0.074832484126091, -0.27674540877342224, -0.04939188063144684, 0.07726887613534927, 0.12602807581424713, 0.4011629521846771, -0.4043698310852051, -0.1588941216468811, 0.04296654090285301, 0.46287763118743896, 0.6874502301216125, 0.12026648223400116, 0.5885710716247559, -0.2200973927974701, 0.7342023253440857, -0.007023693528026342, 0.23956789076328278, -0.6971418261528015, -0.042432740330696106, -0.680321991443634, -0.5657541751861572, -0.07501199841499329, 0.6950933337211609, -1.3662949800491333, 0.3143855631351471, -0.37432581186294556, -0.5471147298812866, -0.26176947355270386, 0.0074591245502233505, 0.3635527491569519, 0.4493037462234497, 0.019888462498784065, -0.5529071688652039, -0.5917810797691345, -0.9257428646087646, 0.3138628602027893, -0.29477953910827637, -0.14078389108181, 0.33577245473861694, 0.3865956962108612, 0.0029591526836156845, 0.6934068202972412, -0.3892867863178253, -0.32806435227394104, -0.15198668837547302, 0.06901595741510391, -0.19597013294696808, 0.36594319343566895, 0.5925537347793579, -1.0618852376937866, -0.5682719945907593, 0.0981571152806282, -0.9239925742149353, -0.15199753642082214, -0.24334044754505157, -0.35268640518188477, 0.4388633370399475, 0.7313297390937805, -0.10951279103755951, 0.41828685998916626, 0.3718019127845764, -0.14435982704162598, 0.7430722713470459, 0.11367584019899368, 0.5287930369377136, -1.1120997667312622, 0.24164967238903046, -0.04842611774802208, -0.11300947517156601, -0.013806475326418877, 0.4054886996746063, 0.08069364726543427, -0.3070813715457916, -0.6401359438896179, 0.4902495741844177, -0.6190224885940552, 0.03850949928164482, -0.040112774819135666, -0.10780512541532516, -0.00022474065190181136, 0.6323310732841492, 0.6980828046798706, 0.5478832125663757, 0.7843354940414429, -0.40920162200927734, 0.4335867464542389, 0.26615530252456665, -0.6885916590690613, 1.156554937362671, -0.46382227540016174, 0.0817699059844017, -0.4640677273273468, 0.2515814006328583, -0.8858365416526794, -0.425689160823822, 0.30682072043418884, -0.3945300579071045, -0.026885252445936203, -0.09330626577138901, -0.5890191197395325, -0.588556706905365, -0.16495059430599213, 0.5717005133628845, 0.46352171897888184, -0.6082105040550232, 0.43193989992141724, -0.017464283853769302, -0.2000122368335724, -0.46402934193611145, -0.8198824524879456, 0.054594069719314575, -0.4989692270755768, -0.657743513584137, -0.06742076575756073, -0.27549800276756287, 0.030643770471215248, -0.2593434154987335, 0.0652509331703186, -0.1012357547879219, 0.06995261460542679, 0.19694791734218597, 0.3199872076511383, -0.213342547416687, 0.04209375008940697, -0.21833033859729767, 0.3017566204071045, 0.06549742072820663, -0.3110087215900421, 0.4264911413192749, -0.3568897843360901, -0.28208890557289124, -0.6122997999191284, 0.7656568884849548, 0.5911414623260498, -0.9687245488166809, 0.29946333169937134, 0.7649790048599243, -0.2725581228733063, 0.1925347000360489, -0.34590020775794983, -0.06328512728214264, -0.4487343430519104, 0.29573532938957214, -0.32143867015838623, -0.8508267998695374, 0.649976909160614, 0.025790704414248466, -0.10766175389289856, 0.05496680736541748, 0.5737297534942627, -0.4896809756755829, 0.926550030708313, 0.5885907411575317, 0.07786133885383606, 0.4518035650253296, -0.15543413162231445, 0.08044518530368805, -0.3583190441131592, -0.13425369560718536, -0.3707221448421478, -0.31244736909866333, -0.8342054486274719, -0.44213348627090454, 0.45962706208229065, -0.11322825402021408, -0.5229606628417969, -0.02689436450600624, -0.49069297313690186, 0.6998839378356934, 0.5985493063926697, 0.1414274275302887, 0.2744061350822449, 0.3600923717021942, 0.015085301361978054, -0.10044753551483154, -0.4988449513912201, -0.6337621212005615, 0.8231610655784607, 0.16513152420520782, 0.7682942152023315, 0.14495941996574402, 0.4395241439342499, 0.4102989435195923, 0.5293630361557007, -0.537373423576355, 0.6064131855964661, -0.2984367609024048, -0.622917115688324, 0.11833737045526505, -0.24214130640029907, -0.4509441554546356, -0.15399089455604553, -0.3579340875148773, -0.5567704439163208, 0.20497100055217743, 0.31567439436912537, -0.2773914635181427, 0.15508036315441132, -0.4614056944847107, 0.44486895203590393, -0.5217062830924988, -0.20432806015014648, 0.2567121088504791, -1.0143111944198608, 0.48769810795783997, 0.2693251371383667, 0.2619361877441406, 0.05293403938412666, 0.11930469423532486, 0.39411187171936035, 0.0017650129739195108, 1.0243741273880005, -0.20061764121055603, 0.15302768349647522, 0.6321307420730591, 0.22331856191158295, -0.025608092546463013, 0.001685290946625173, 0.2756909430027008, 0.10844907909631729, 0.1241154819726944, -0.5104219913482666, -0.4202110171318054, 0.40221595764160156, -0.50742107629776, -0.4103570580482483, -0.07977405935525894, -0.4311518371105194, 0.05141935124993324, 0.11604173481464386, 0.4379296898841858, 0.37387120723724365, -0.030129047110676765, 0.40076833963394165, 0.5008831024169922, -0.4806702435016632, 0.3472977578639984, 0.42587047815322876, -0.18430636823177338, -0.597511887550354, 0.7052468657493591, -0.1680026352405548, 0.12974968552589417, 0.4740664064884186, -0.05111687257885933, -0.10501179099082947, -0.29686781764030457, -0.5192999839782715, 0.14634345471858978, -0.8538435697555542, -0.3335965871810913, -0.10129180550575256, -0.040067292749881744, -0.31299200654029846, -0.5318788886070251, 0.1679684966802597, -0.10280164331197739, -0.13396868109703064, -0.08985906839370728, 0.13845917582511902, 0.15857142210006714, 0.05111600458621979, 0.5669782757759094, -0.6140125393867493, 0.2998509109020233, 0.33942046761512756, 0.31400826573371887, -0.06656599044799805, -0.04043875262141228, -0.18305246531963348, 0.1433623731136322, -0.14624516665935516, -0.6666533350944519, 0.2659282982349396, 0.0863456055521965, 0.2898232638835907, 0.732613205909729, 0.40538495779037476, 0.599483072757721, -0.22553692758083344, 1.0068637132644653, 0.5009922385215759, -0.6815091967582703, 0.5348221063613892, -0.2570025622844696, 0.6502727270126343, 0.34197860956192017, 0.42536652088165283, -0.7188444137573242, -0.4578224718570709, -0.2067025899887085, -0.8094989657402039, 0.14625181257724762, -0.0567246675491333, 0.3476548194885254, -0.31997668743133545, 0.17038987576961517, -0.02707878313958645, 0.0940757468342781, -0.9222238659858704, 0.17068041861057281, -0.4522952437400818, -0.279472291469574, 0.17990413308143616, -0.23459792137145996, -0.15490420162677765, -0.10499754548072815, 0.37821468710899353, -0.5376150012016296, 0.11747584491968155, 0.5053017735481262, -0.3479137718677521, -0.12452314794063568, 0.07274235785007477, 0.43680256605148315, 0.6088915467262268, 0.06142847239971161, 0.036845091730356216, -0.019909771159291267, -0.09040116518735886, -0.21474416553974152, -0.18596938252449036, -0.393991619348526, -0.42220163345336914, 0.4618823230266571, 0.5429020524024963, -0.41848769783973694, -0.8820724487304688, 0.42022591829299927, -0.27841946482658386, -0.14482207596302032, -0.7399497628211975, -0.2912973165512085, 0.005070073064416647, 0.15425164997577667, 0.32780036330223083, -0.07412440329790115, 0.21096734702587128, -0.5591151118278503, 0.14198468625545502, 0.2920883595943451, -0.4382842779159546, -0.028353162109851837, 0.7356160283088684, 0.5619804859161377, 0.09123853594064713, 0.7499789595603943, -0.07765614241361618, -0.656003475189209, 0.6136691570281982, 0.36145883798599243, 0.3757827877998352, -0.02256295643746853, 0.5999318361282349, 0.5196875929832458, 0.3826790452003479, 0.3248419761657715, 0.5418086647987366, -0.3086716830730438, -0.6771251559257507, -0.507573127746582, -0.5221023559570312, -0.11457667499780655, -0.2546089291572571, -0.6725723147392273, 0.34341928362846375, -0.5106526017189026, 0.18928727507591248, -0.3767973482608795, -0.16621637344360352, -0.8691221475601196, 0.47246143221855164, 0.630364179611206, 0.9104948043823242, -0.9570985436439514, 0.29550671577453613, 0.8423749804496765, -0.6361612677574158, -0.7414067387580872, -0.16032597422599792, -0.05592203140258789, -0.6281806826591492, 0.5257583260536194, 0.34679296612739563, -0.06450646370649338, -0.32505083084106445, -1.2150174379348755, -0.6677646040916443, 1.1824581623077393, 0.10917668789625168, -0.33703869581222534, 0.1509729027748108, 0.2969985902309418, 0.5802605748176575, -0.9053061008453369, -0.0321001335978508, 0.17081761360168457, 0.37574419379234314, 0.5391725301742554, -0.5520957708358765, 0.03180212154984474, -0.4526837170124054, 0.16721247136592865, -0.4921448528766632, -0.52848219871521, 0.38123729825019836, -0.4450609087944031, -0.3406772017478943, 0.675824761390686, 0.9690777063369751, 0.4223879873752594, 0.44560128450393677, 0.6628309488296509, 0.015029150992631912, 0.5914615988731384, -0.22252365946769714, 1.1138123273849487, -0.08717645704746246, -0.13594883680343628, 1.1811021566390991, -0.2624715566635132, 0.4745303690433502, 0.39086952805519104, 0.3066571354866028, 0.543601393699646, 0.7664117217063904, -0.17699187994003296, 0.4718138873577118, 0.5133150815963745, -0.20088976621627808, -0.3717361092567444, -0.6666828393936157, -0.12212716042995453, 0.8810647130012512, 0.028426427394151688, -0.5988407731056213, 0.1913171112537384, 0.039496537297964096, -0.01201911922544241, 0.5815396904945374, -0.5074333548545837, 0.8241130113601685, -0.07800634205341339, -0.6313974857330322, 0.5155238509178162, -0.21660193800926208, 0.5582262277603149, -0.44599154591560364, -0.1000891849398613, -0.37031829357147217, -0.3718903362751007, -0.22265984117984772, -0.6142394542694092, 0.01579100266098976, 0.14178672432899475, -0.3096804618835449, -0.01580687426030636, 0.4023086726665497, -0.694490909576416, -0.6445395350456238, -0.2732032537460327, 0.2886805534362793, 0.24081040918827057, 0.12743733823299408, -0.25641146302223206, -0.1399320363998413, 0.14777134358882904, 0.3896821439266205, -0.3563525080680847, 0.3648289442062378, -0.7420174479484558, 0.4912690222263336, 0.609692394733429, 0.00028743481379933655, -0.046671561896800995, 0.22792449593544006, 0.33165690302848816, -0.4532749652862549, -0.7830747961997986, -0.2852126359939575, 0.7407289147377014, -0.34858810901641846, 0.08947228640317917, 0.1356208622455597, 0.31121721863746643, 0.9600576758384705, -0.46006932854652405, 0.975494384765625, -0.4673295021057129, 0.07220925390720367, -0.47477295994758606, 0.8047360181808472, -0.6143863797187805, 0.0341995544731617, -0.1041983887553215, -0.878298819065094, -0.3520965874195099, 0.4069145619869232, 0.019015545025467873, -0.144148588180542, 0.5526407957077026, 0.9596916437149048, 0.1868019998073578, 0.2027769535779953, 0.14690271019935608, -0.024296307936310768, 0.256242573261261, 0.2997283339500427, 1.0387312173843384, 0.12540315091609955, 0.6240206956863403, -0.5164358615875244, -0.33995112776756287, 0.21715140342712402, -1.0859706401824951, -0.6657143831253052, -0.8752581477165222, -0.46927782893180847, 0.10743614286184311, -0.2005859762430191, 0.8318780660629272, 0.7311327457427979, -0.7076044082641602, -0.21449609100818634, 0.4486236572265625, -0.10710475593805313, -0.2808209955692291, -0.23556631803512573, 0.40045931935310364, 0.06868307292461395, -0.7083551287651062, -0.3170515298843384, 0.07224234193563461, 0.09837821125984192, -0.3259167969226837, -0.10699845850467682, 0.04492214322090149, -0.15983830392360687, 0.6250952482223511, 0.19947104156017303, -0.6281713247299194, -0.45831191539764404, 0.12778770923614502, -0.010537867434322834, -0.1823311150074005, 0.8464884161949158, -0.3651025891304016, 0.6551555395126343, 0.36278384923934937, 0.33588624000549316, 0.12117315083742142, 0.07679977267980576, 0.6601251363754272, -0.7400410175323486, 0.11514213681221008, 0.10315891355276108, 0.5175122022628784, 0.7455981373786926, -0.3748725652694702, 0.5246156454086304, 0.13093510270118713, -0.20381705462932587, -0.2593728005886078, 0.43751344084739685, -1.2690850496292114, -0.14363248646259308, 1.0024667978286743, -0.411372572183609, -0.3726224899291992, 0.2620219886302948, -0.561488687992096, 0.11638820916414261, 0.01088884100317955, 0.7172150015830994, 0.4823385179042816, 0.5011350512504578, -0.45827516913414, 0.03126772120594978, 0.07237343490123749, 0.2250775694847107, -0.7254760265350342, 0.04455555975437164, 0.7503097057342529, 0.3474388122558594, 0.11180885881185532, 0.44696635007858276, -0.45642372965812683, 0.6670551896095276, -0.6422083377838135, 0.6181443929672241, -0.08924519270658493, -0.20309676229953766, 0.15851706266403198, 0.11787869036197662, -0.06923086941242218, -0.25959041714668274 ]
http://arxiv.org/abs/2402.05369v2
http://arxiv.org/pdf/2402.05369v2
Noise Contrastive Alignment of Language Models with Explicit Rewards
2024-02-08T02:58:47
2024-07-03T13:53:06
Huayu Chen, Guande He, Lifan Yuan, Ganqu Cui, Hang Su, Jun Zhu
cs.LG
cs.LG, cs.CL
User intentions are typically formalized as evaluation rewards to be maximized when fine-tuning language models (LMs). Existing alignment methods, such as Direct Preference Optimization (DPO), are mainly tailored for pairwise preference data where rewards are implicitly defined rather than explicitly given. In this paper, we introduce a general framework for LM alignment, leveraging Noise Contrastive Estimation (NCE) to bridge the gap in handling reward datasets explicitly annotated with scalar evaluations. Our framework comprises two parallel algorithms, NCA and InfoNCA, both enabling the direct extraction of an LM policy from reward data as well as preference data. Notably, we show that the DPO loss is a special case of our proposed InfoNCA objective under pairwise preference settings, thereby integrating and extending current alignment theories. By comparing NCA and InfoNCA, we demonstrate that the well-observed decreasing-likelihood trend of DPO/InfoNCA is caused by their focus on adjusting relative likelihood across different responses. In contrast, NCA optimizes the absolute likelihood for each response, thereby effectively preventing the chosen likelihood from decreasing. We evaluate our methods in both reward and preference settings with Mistral-8*7B and 7B models. Experiments suggest that InfoNCA/NCA surpasses various preference baselines when reward datasets are available. We also find NCA significantly outperforms DPO in complex reasoning tasks like math and coding.
[ -0.3151395320892334, -0.32871463894844055, 0.6173821091651917, 0.09368688613176346, -0.13307484984397888, -0.1802457869052887, -0.4559789299964905, -0.17607727646827698, 0.20099543035030365, 0.3944982588291168, -0.6708421111106873, -0.40619096159935, -0.5707524418830872, -0.0674055740237236, -0.06416606903076172, 0.9845393300056458, -0.022404678165912628, -0.06953932344913483, -0.2762734889984131, -0.11918295919895172, -0.576435923576355, -0.2313045859336853, -0.6805221438407898, -0.1379413902759552, 0.8699020743370056, 0.47178664803504944, 0.7624342441558838, 0.9728299975395203, 0.6734656691551208, 0.228705495595932, -0.1277373880147934, 0.2545223534107208, -0.6764675974845886, 0.004022907931357622, -0.14779822528362274, -0.26957112550735474, -0.12291756272315979, -0.11385513097047806, 0.40349113941192627, 0.4688589572906494, -0.13275586068630219, -0.11479147523641586, 0.24969515204429626, 0.8929741382598877, -0.9749374985694885, 0.09799934178590775, -0.4878287613391876, -0.09833669662475586, -0.20668944716453552, -0.3281134068965912, -0.1939336359500885, -0.5562970042228699, 0.18549591302871704, -0.7713038921356201, -0.30636268854141235, -0.06267689168453217, 1.115410566329956, 0.5762578845024109, -0.12783204019069672, -0.34924501180648804, -0.6420244574546814, 1.11247980594635, -0.5641018748283386, 0.3844136595726013, 0.3313010632991791, 0.17892512679100037, -0.14292193949222565, -0.1342773288488388, -0.5348296761512756, -0.053938914090394974, -0.18939360976219177, 0.2226620614528656, -0.3035479485988617, 0.19370156526565552, 0.08848203718662262, 0.5417836308479309, -0.5076130628585815, 0.503355860710144, -0.20467573404312134, -0.11460845172405243, 0.3400254547595978, 0.2061518132686615, 0.04904268682003021, 0.2804338037967682, -0.32392418384552, -0.27594393491744995, -0.626246452331543, 0.2861374616622925, 0.6180440187454224, 0.5270392894744873, -0.3882018029689789, 0.4574914872646332, -0.19351986050605774, 1.0039896965026855, 0.505948543548584, -0.029650632292032242, 0.1812460720539093, -0.4671109616756439, -0.01360464096069336, 0.20515641570091248, 0.8326184153556824, 0.47328802943229675, 0.07532928884029388, -0.2545947730541229, -0.12917032837867737, 0.16747860610485077, 0.07826437056064606, -0.6805394291877747, -0.0944877490401268, 0.35325539112091064, -0.3292393684387207, -0.617193877696991, -0.019382426515221596, -0.6545643210411072, -0.6341949105262756, -0.8808339238166809, 0.23482654988765717, -0.04786740988492966, -0.29778429865837097, 0.29571783542633057, 0.1663273423910141, 0.35393089056015015, 0.11063920706510544, -1.225370168685913, 0.33710262179374695, 0.9394325613975525, 0.6292091012001038, -0.41483065485954285, -0.1432279348373413, -0.7265725135803223, -0.11391471326351166, -0.3180590569972992, 0.69706791639328, -0.6559165716171265, 0.1536884903907776, 0.09500078856945038, -0.26217830181121826, -0.07444753497838974, -0.5375902652740479, 0.8195614814758301, -0.4967508316040039, 0.4109741747379303, -0.5410056114196777, -0.6207701563835144, 0.005384205840528011, 0.18720677495002747, -0.7900616526603699, 0.8464230298995972, 0.06469791382551193, -1.1013233661651611, 0.539068341255188, -0.5398041009902954, -0.06208096072077751, -0.418405681848526, -0.28918495774269104, -0.40239450335502625, 0.07395471632480621, 0.24980394542217255, 0.25607550144195557, -0.4570763409137726, 0.49223044514656067, -0.4468887150287628, -0.6196683049201965, 0.15506082773208618, -0.13337941467761993, 0.6781283020973206, 0.2671652138233185, -0.41427165269851685, 0.43916282057762146, -0.533718466758728, -0.262309730052948, -0.0012494779657572508, -0.20635023713111877, -0.5538360476493835, 0.07250924408435822, -0.25258076190948486, 0.30543053150177, 0.4781317710876465, -0.4643872380256653, 0.1708245724439621, -0.44934916496276855, 0.033293142914772034, 1.1379817724227905, -0.4338505268096924, 0.5424378514289856, -0.3115943372249603, 0.3829095661640167, 0.15580019354820251, 0.25104668736457825, 0.3309103548526764, -0.034803226590156555, -0.6825319528579712, -0.42012298107147217, 0.47042661905288696, 0.3430790305137634, -0.1237003430724144, 0.6555092930793762, -0.4153723418712616, 0.026770280674099922, -0.9070100784301758, 0.14060541987419128, 0.478886216878891, 0.6918919086456299, 0.3005366623401642, -0.037663787603378296, -0.5515105128288269, -1.1392426490783691, -0.19544418156147003, -0.035879045724868774, 0.0976380854845047, 0.29162895679473877, -0.3950546979904175, 0.1024467870593071, 0.8331514596939087, -0.43054378032684326, -0.20781709253787994, 0.0825994685292244, 0.039612140506505966, 0.5494139790534973, 0.4354666471481323, 0.3560453951358795, -0.8378018736839294, -0.47409889101982117, 0.12900567054748535, -0.5273709297180176, -0.3534501791000366, -0.07531505823135376, -0.3610813617706299, -0.0019444759236648679, 0.20583271980285645, -0.03236367553472519, 0.21421319246292114, 0.833646297454834, -0.19406719505786896, 0.4188849627971649, 0.15445208549499512, 0.26838839054107666, -0.9775795936584473, 0.08560049533843994, 0.033846355974674225, -0.012209256179630756, -0.5777025818824768, -0.29602837562561035, -0.06381547451019287, 0.21399812400341034, -0.04373255744576454, 0.7058894038200378, -0.33646297454833984, -0.07616361230611801, -0.43689024448394775, 0.118626669049263, -0.10064772516489029, 0.6666371822357178, 0.4042619466781616, 0.6185494661331177, 0.5842263698577881, -0.7464367747306824, -0.11364209651947021, 0.0978289470076561, -0.3236962556838989, 0.732345461845398, -0.472057044506073, 0.16281268000602722, -0.13518816232681274, -0.3257412016391754, -0.8523193597793579, 0.004017753526568413, 0.41629835963249207, -0.03280342370271683, 0.3764638602733612, 0.020574234426021576, -0.09865593910217285, 0.02457638829946518, -0.3567604720592499, 0.5753180384635925, 0.3125687539577484, -0.8859966397285461, 0.13740551471710205, 0.3949088454246521, -0.17751716077327728, -1.0389610528945923, -0.3306959569454193, -0.16983027756214142, -0.4586481750011444, -0.41704148054122925, 0.5429516434669495, -0.15700198709964752, -0.46635153889656067, 0.0033119579311460257, -0.2866688668727875, -0.11744983494281769, -0.026401259005069733, 0.20328837633132935, 0.3996357321739197, -0.22464369237422943, 0.18439128994941711, 0.14099015295505524, -0.231776624917984, -0.2550991177558899, -0.10703011602163315, 0.4916749596595764, -0.1640627533197403, -0.21394038200378418, -0.41328153014183044, 0.1573759913444519, 0.06623423099517822, -0.0665750503540039, 0.4739038348197937, 0.47326406836509705, -0.02797192707657814, 0.23217181861400604, -0.7746281027793884, -0.32722076773643494, -0.4806631803512573, 0.195675790309906, -0.3991051912307739, -0.9387015104293823, 0.22957201302051544, 0.08321670442819595, 0.3249160945415497, 0.2738080322742462, 0.4219192862510681, -0.030248399823904037, 0.9779273271560669, 0.6307815313339233, -0.30873435735702515, 0.7571296095848083, 0.21852818131446838, 0.1297542005777359, -0.7618697285652161, -0.017068156972527504, -0.5388497710227966, -0.5066174268722534, -0.545394778251648, -0.1493939608335495, 0.07144203037023544, 0.2830021381378174, -0.33649805188179016, 0.24321170151233673, -0.682827889919281, 0.5179882645606995, 0.6323767304420471, 0.10933384299278259, 0.2621191740036011, 0.24492686986923218, -0.03167076036334038, -0.30853399634361267, -0.6587737202644348, -0.2632553279399872, 0.9963143467903137, 0.08340995013713837, 0.6341221928596497, -0.012790742330253124, 0.81923508644104, 0.034458160400390625, 0.116141676902771, -0.6966837048530579, 0.18005035817623138, -0.26210230588912964, -0.06912881880998611, -0.34083250164985657, -0.5715912580490112, -1.108860969543457, 0.06733117997646332, -0.23630379140377045, -0.779562771320343, 0.6750250458717346, 0.3902745544910431, -0.25448107719421387, 0.02306891418993473, -0.32412809133529663, 0.9395875930786133, -0.29424527287483215, -0.534936249256134, -0.17288130521774292, -0.582671046257019, 0.4677271246910095, 0.02749309130012989, 0.20998653769493103, -0.23428429663181305, 0.04907349497079849, 0.5830326676368713, -0.2975787818431854, 0.5465404987335205, -0.05537085980176926, -0.18730632960796356, -0.13576118648052216, 0.004895381163805723, 0.675094485282898, -0.39433765411376953, -0.3308727443218231, 0.08196327090263367, -0.20947611331939697, -0.385981023311615, -0.7128605842590332, 1.0148444175720215, -0.6705063581466675, -0.432345449924469, -0.29716727137565613, -0.7714042663574219, -0.3115629255771637, 0.030032111331820488, 0.08430006355047226, 0.2227592021226883, -0.1749429553747177, -0.08097835630178452, 0.5609882473945618, -0.04012602940201759, 0.17880158126354218, 0.5257152915000916, -0.03974165767431259, -0.33744552731513977, 1.0879238843917847, -0.3451128900051117, 0.3061836361885071, 0.673406183719635, 0.6020104885101318, -0.5495778918266296, -0.5957818627357483, -0.17142511904239655, 0.3226461112499237, -0.5294167399406433, 0.00018954509869217873, -0.38353753089904785, 0.25208330154418945, -0.3191784918308258, -0.30331525206565857, -0.2809426784515381, -0.39806684851646423, -0.05559476464986801, -0.09848935902118683, 0.3298151195049286, 0.4271467924118042, -0.30084046721458435, 0.1676560491323471, -0.255648136138916, 0.24842600524425507, 0.3036729097366333, 0.35961994528770447, -0.4700057804584503, -0.5716379284858704, -0.16572260856628418, 0.11420167237520218, 0.022224215790629387, -0.5020524263381958, 0.05681483447551727, -0.14581318199634552, 0.43561676144599915, 0.5890957117080688, 0.17612409591674805, 0.9385721683502197, 0.019750375300645828, 0.2891269028186798, 0.432136207818985, -0.6844308376312256, 0.32525748014450073, -0.22531303763389587, 0.4016924798488617, 1.0113950967788696, 0.283515602350235, -0.5146844983100891, -0.19533579051494598, -0.305122971534729, -0.6582430005073547, 0.8192277550697327, 0.18368160724639893, -0.227115198969841, 0.11469674855470657, 0.2801704406738281, 0.10381761193275452, 0.16325858235359192, -0.7625451683998108, -0.21691355109214783, 0.00683753564953804, -0.5985034108161926, 0.046334654092788696, -0.2340010404586792, -0.39736562967300415, 0.033857591450214386, 0.7397143244743347, -0.1346772313117981, -0.08742130547761917, -0.11624420434236526, 0.07295367866754532, -0.06272962689399719, 0.29934361577033997, 0.631658673286438, 0.5473676323890686, -0.3479589521884918, 0.005196092650294304, -0.33691656589508057, -0.06268945336341858, 0.12386555969715118, 0.16782890260219574, -0.31537631154060364, -0.21456576883792877, -0.08486390113830566, 1.0981438159942627, 0.4838859736919403, -0.574555516242981, 0.6755599975585938, -0.13337041437625885, -0.09959039092063904, 0.08032933622598648, -0.11496306955814362, 0.08942198753356934, -0.03822837769985199, -0.3364972174167633, -0.08798350393772125, 0.3202252686023712, -0.18799152970314026, 0.033558957278728485, 0.5141685605049133, -0.8931087255477905, -0.2275124043226242, 0.4320463538169861, -0.018145974725484848, 0.0014145661843940616, 0.4374661147594452, -0.0034722972195595503, 0.07100839912891388, 0.45636671781539917, 0.3717719614505768, 0.9523296356201172, -0.2983483374118805, 0.1505717784166336, 0.5536033511161804, 0.10690779983997345, -0.08429116755723953, 0.2451571673154831, -0.21902349591255188, -0.8840734362602234, -0.3761332333087921, -0.670860230922699, -0.3002452254295349, 0.24086500704288483, -0.825461208820343, 0.4912368357181549, -0.20645594596862793, 0.21931327879428864, 0.20136526226997375, -0.2573491930961609, -0.7183639407157898, 0.05505581572651863, 0.03253556042909622, 0.27432015538215637, -0.6717771887779236, 0.7309417128562927, 0.45585358142852783, -0.35477718710899353, -0.8282088041305542, -0.08289937674999237, 0.20755700767040253, -0.8447710871696472, 0.6033583879470825, 0.03848441690206528, -0.3370475769042969, -0.14071911573410034, -0.23993583023548126, -0.9241072535514832, 0.7736852765083313, 0.6749867796897888, -0.9324273467063904, 0.10821220278739929, 0.10754547268152237, 0.2564353942871094, -0.4786154329776764, 0.17675934731960297, 0.6136759519577026, 0.7124583125114441, 0.17225289344787598, -0.8172852993011475, 0.14290617406368256, -0.08834619075059891, -0.24304097890853882, 0.4494514465332031, -0.44566261768341064, 0.5039005279541016, -0.0479758121073246, -0.20126068592071533, -0.05375565588474274, 0.36966562271118164, 0.43103668093681335, 0.11023744195699692, 0.7873128056526184, 0.5810338854789734, 0.8130276799201965, -0.10466234385967255, 1.0179214477539062, -0.31918787956237793, 0.032712336629629135, 1.381843090057373, -0.1961231231689453, 0.47742414474487305, 0.8026788830757141, -0.14346952736377716, 0.41688913106918335, 0.7050309181213379, 0.2506557106971741, 0.7369798421859741, 0.36351531744003296, -0.21680760383605957, -0.253301739692688, -0.39207592606544495, -0.2804954946041107, 0.31914022564888, 0.09839142113924026, -0.3419283628463745, -0.07189887017011642, -0.3901800811290741, -0.023218804970383644, 0.31800687313079834, -0.3055582642555237, 1.0574471950531006, -0.10619492083787918, -0.9947633147239685, 0.676548182964325, -0.28210338950157166, 0.7193211913108826, -0.6082502007484436, -0.014666489325463772, -0.2853366732597351, 0.22276616096496582, -0.24794001877307892, -0.4798741042613983, 0.19933255016803741, -0.17952096462249756, -0.31467145681381226, 0.06813699752092361, 0.49026256799697876, -0.7817357778549194, -0.20967143774032593, 0.3108488619327545, 0.025354785844683647, 0.19970247149467468, -0.12008179724216461, -0.8893493413925171, 0.2614426016807556, 0.07809284329414368, -0.014648114331066608, 0.6542234420776367, 0.02689286693930626, -0.07961970567703247, 0.2378511279821396, 0.5932193994522095, 0.08717595040798187, -0.1702681928873062, 0.22904732823371887, 0.8150507211685181, -0.5201522707939148, -0.5035681128501892, -0.8385414481163025, 0.3765493631362915, -0.27820122241973877, -0.24467937648296356, 0.5237380862236023, 0.7904656529426575, 0.6534730195999146, 0.16215035319328308, 0.6445592045783997, 0.21872033178806305, 0.49086230993270874, -0.6877411603927612, -0.0022353020031005144, -0.5437883734703064, 0.3907800614833832, -0.3743171989917755, -1.0293965339660645, -0.23480841517448425, 0.4884352684020996, -0.36966392397880554, -0.3127956688404083, 0.5580750703811646, 1.0461955070495605, -0.2857615053653717, -0.10873721539974213, 0.269983172416687, -0.08812808245420456, 0.02625248208642006, 0.5634405016899109, 0.7141683101654053, -0.10048658400774002, 0.4829968810081482, -0.5597817897796631, -0.3286057412624359, -0.07541260123252869, -1.0319366455078125, -0.5808281302452087, -0.4607385993003845, -0.5970173478126526, -0.34524333477020264, 0.20869207382202148, 0.8606868386268616, 0.6305450797080994, -0.9695308208465576, -0.595012366771698, -0.3101877272129059, 0.3284825384616852, -0.6550809144973755, -0.22996337711811066, 0.6103970408439636, -0.5437678694725037, -0.9894654750823975, 0.4482652544975281, 0.4845040738582611, -0.15172673761844635, 0.051311492919921875, -0.44131141901016235, -0.165220245718956, 0.0798056572675705, 0.0656915232539177, 0.5911992788314819, -0.8380445241928101, -0.12439705431461334, -0.020216647535562515, -0.19685624539852142, 0.31080833077430725, 0.8683261871337891, -0.4386860728263855, 0.723463237285614, 0.509274959564209, 0.6984028220176697, 0.49689918756484985, 0.18522953987121582, 0.8693134188652039, -0.5731680989265442, 0.20290140807628632, 0.14897845685482025, 0.28358617424964905, 0.2653649151325226, -0.3620067536830902, 0.5651581883430481, -0.20198506116867065, -0.5819296836853027, -0.850396990776062, 0.2241169959306717, -1.1640491485595703, -0.12636323273181915, 1.0891480445861816, -0.048045285046100616, -0.14436446130275726, -0.09261409938335419, -0.25287625193595886, 0.0351107083261013, -0.4716337025165558, 0.9293888807296753, 0.632220983505249, -0.10728024691343307, -0.09566716849803925, 0.04783598706126213, 0.9436060190200806, 0.7267206311225891, -0.8066219091415405, 0.21780544519424438, 0.61800217628479, 0.04218670725822449, 0.09397570788860321, 0.7680229544639587, -0.22078347206115723, 0.40897002816200256, -0.3273533880710602, 0.2975056767463684, -0.10181118547916412, -0.06979662925004959, -0.7719324827194214, -0.02323683351278305, 0.15805478394031525, -0.3421831429004669 ]
http://arxiv.org/abs/2402.05359v6
http://arxiv.org/pdf/2402.05359v6
An Examination on the Effectiveness of Divide-and-Conquer Prompting in Large Language Models
2024-02-08T02:37:30
2024-07-02T18:18:18
Yizhou Zhang, Lun Du, Defu Cao, Qiang Fu, Yan Liu
cs.AI
cs.AI, cs.CL, cs.LG
Foundation models, such as Large language Models (LLMs), have attracted significant amount of interest due to their large number of applications. However, when handling tasks involving repetitive sub-tasks and/or deceptive contents, such as arithmetic calculation and article-level fake news detection, simple instructional prompts suffer from inaccurate responses. Existing works show that more complicated prompting strategies, such as Chain-of-Thoughts and Least-to-Most, can unlock LLM's powerful capacity in diverse areas. Recent researches reveal that simple divide-and-conquer prompting strategy, i.e. simply dividing the input sequence to multiple sub-inputs, can also substantially improve LLM's performance in some specific tasks such as misinformation detection. In this paper, we aim at examining the utility of divide-and-conquer prompting strategy and answer on which kind of tasks this strategy gets advantages. Specifically, we provide a theoretic analysis to divide-and-conquer prompting strategy and help us identify the specific tasks where DaC prompting can bring performance boost with theoretic guarantee. We then present two cases (large integer arithmetic and fact verification) where experimental results aligns with our theoretic analysis.
[ -0.7972680926322937, -1.2403392791748047, 0.627547562122345, 0.4774135649204254, -0.048015959560871124, -0.037783343344926834, -0.2125171720981598, -0.25220927596092224, -0.07069574296474457, -0.08324617892503738, -0.7097945213317871, -0.05927872657775879, -0.7878986597061157, 0.32689720392227173, -0.5002899169921875, 0.7022486925125122, -0.018301967531442642, 0.1180930808186531, -0.38933226466178894, 0.15116313099861145, -0.7369094491004944, -0.5007308721542358, -0.8122239112854004, -0.32256221771240234, 0.6056217551231384, 0.5916424989700317, 0.44551846385002136, 0.6671685576438904, 0.28699836134910583, 0.30256888270378113, -0.341100811958313, 0.33614861965179443, -0.29118841886520386, 0.18490268290042877, -0.012404241599142551, -0.583682656288147, -0.20740242302417755, 0.039782147854566574, 0.633886992931366, 0.6980337500572205, -0.3830241560935974, -0.19009070098400116, 0.015331000089645386, 0.808772623538971, -0.7138951420783997, -0.10792094469070435, -0.4087240695953369, -0.18870799243450165, -0.12688958644866943, -0.2380441576242447, -0.6147329807281494, -0.36080077290534973, 0.09096077084541321, -0.3979332149028778, 0.04620812088251114, -0.00182608631439507, 0.4530453383922577, 0.15939010679721832, -0.6205422282218933, -0.7760870456695557, -0.4809724688529968, 0.7210115194320679, -0.44801801443099976, 0.32594799995422363, 0.5133559107780457, 0.1801745891571045, -0.20733265578746796, -0.4035710096359253, -0.7211950421333313, -0.20733366906642914, 0.06541422754526138, -0.026170548051595688, -0.44081082940101624, 0.11073441058397293, 0.5253487229347229, 0.503576397895813, -0.36701712012290955, 0.4130687713623047, -0.2850811779499054, -0.159150168299675, 0.29875385761260986, 0.18228133022785187, 0.5556070804595947, -0.009267820045351982, -0.3605847656726837, -0.2861161231994629, -0.9204687476158142, 0.2644132971763611, 0.367948442697525, 0.1085408478975296, -0.11612239480018616, 0.5394994616508484, -0.2451154738664627, 0.9323068857192993, 0.5230587720870972, -0.43618783354759216, -0.20135943591594696, -0.3654922842979431, -0.23023417592048645, 0.06636285036802292, 0.43941453099250793, 0.12749826908111572, 0.2537429928779602, 0.09662165492773056, -0.18245822191238403, 0.16691036522388458, 0.18860875070095062, -0.9607706665992737, 0.08770393580198288, 0.26238152384757996, -0.14439831674098969, -0.3923640251159668, -0.1935736984014511, -0.691674530506134, -0.3618161082267761, -0.3719383478164673, 0.35966727137565613, -0.6697314381599426, -0.061132341623306274, 0.3212396502494812, 0.0856209248304367, -0.05655629187822342, 0.5419619083404541, -1.0233205556869507, 0.17235204577445984, 0.872708261013031, 0.6998242735862732, -0.4749479591846466, -0.2634117007255554, -0.9015465974807739, -0.379008412361145, -0.45421624183654785, 0.6085606813430786, -0.32225823402404785, -0.3635352551937103, 0.043502651154994965, -0.3965103328227997, -0.2844432294368744, -0.626583993434906, 0.6062120795249939, -0.799835741519928, 0.29791930317878723, -0.9108558893203735, -0.6713961362838745, -0.22196951508522034, 0.5669543147087097, -0.9462774395942688, 0.7713159918785095, -0.26875540614128113, -0.9091054201126099, 0.21989932656288147, -0.6292603611946106, -0.6994977593421936, -0.06765511631965637, -0.17968252301216125, 0.04464433714747429, 0.049806129187345505, 0.5926567912101746, 0.2963980436325073, -0.33281105756759644, 0.2993755638599396, 0.04271037504076958, -0.15052451193332672, 0.5684348344802856, -0.8741720914840698, 0.8137289881706238, 0.06595401465892792, -0.44816553592681885, -0.17103931307792664, -0.2693043053150177, -0.16606056690216064, 0.011671784333884716, -0.6020490527153015, -0.36128976941108704, -0.25708475708961487, -0.6755797863006592, 0.10651424527168274, 0.060418225824832916, -0.4111030697822571, 0.3720705807209015, -0.43551164865493774, 0.07317497581243515, 0.7892169952392578, 0.1560695916414261, 0.3899894058704376, -0.47180643677711487, 0.7817749977111816, 0.15279033780097961, 0.0120050348341465, -0.32800257205963135, -0.40042319893836975, -0.7410343289375305, -0.5994299650192261, 0.4779050946235657, 0.45025068521499634, -0.9329907298088074, 0.08708084374666214, 0.061802640557289124, -0.07159046083688736, -0.3315439224243164, -0.025408057495951653, 0.38993245363235474, 0.4427841007709503, 0.16596736013889313, 0.054608944803476334, -0.39406025409698486, -0.6222548484802246, -0.06271933764219284, -0.09068664908409119, 0.20355622470378876, 0.15151317417621613, 0.36850377917289734, 0.14377303421497345, 0.870121419429779, -0.09953314065933228, 0.21571896970272064, -0.3467298150062561, 0.15964359045028687, 0.11370594054460526, 0.030000055208802223, 0.4206547141075134, -1.1726878881454468, -0.6145540475845337, -0.35621029138565063, -0.39282023906707764, -0.2394672930240631, 0.0007221146370284259, 0.11996904760599136, 0.3212898075580597, 0.15478557348251343, -0.8562608957290649, 0.44717761874198914, 0.7113885283470154, -0.2938151955604553, 0.8868131637573242, 0.012777232564985752, 0.5312614440917969, -0.6760231852531433, -0.09373559057712555, -0.05282649025321007, -0.11232822388410568, -0.7695353031158447, 0.11715499311685562, -0.06479693949222565, 0.346352219581604, -0.31870731711387634, 0.27664801478385925, -0.4410340487957001, 0.19339919090270996, -0.5489919781684875, 0.12487038969993591, -0.1827160269021988, 0.185640349984169, -0.11917423456907272, 1.059983491897583, 0.5593215823173523, -0.9611438512802124, 0.4538336396217346, -0.0035196186508983374, -0.3675772547721863, 0.8253557085990906, -0.5675032734870911, 0.04550165683031082, -0.11699996888637543, 0.3348930776119232, -1.0753724575042725, -0.16245603561401367, -0.02238726057112217, -0.3590715229511261, 0.1891438364982605, 0.0507182702422142, -0.6574020385742188, -0.4142037630081177, -0.22863174974918365, 0.5196422338485718, 0.5207000374794006, -1.1259737014770508, 0.4804583787918091, -0.1365668624639511, -0.20768722891807556, -0.7730175852775574, -0.3566100597381592, -0.050239238888025284, -0.3069938123226166, -0.7062058448791504, 0.30360329151153564, -0.355491578578949, -0.49715882539749146, -0.27192121744155884, -0.2939915657043457, 0.32885584235191345, 0.11500849574804306, 0.3958113193511963, 0.36724981665611267, -0.11854700744152069, -0.07771007716655731, 0.09138055145740509, 0.009645628742873669, 0.19885268807411194, -0.222434401512146, 0.6910320520401001, -0.05887873098254204, -0.6483196020126343, -0.4119115471839905, 0.17334192991256714, 0.5752108693122864, -0.1101689413189888, 0.6332996487617493, 0.05509194731712341, -0.15822777152061462, -0.28648635745048523, -0.869796633720398, -0.30524271726608276, -0.48606929183006287, -0.026624483987689018, -0.42939600348472595, -1.0093166828155518, 0.18841767311096191, -0.2458416223526001, 0.026501059532165527, 0.3830904960632324, 0.838476300239563, 0.14480921626091003, 1.1049394607543945, 0.3679077625274658, -0.20792452991008759, 0.17247864603996277, -0.17144599556922913, 0.1652115434408188, -0.5101878046989441, -0.3118334114551544, -0.5960350632667542, -0.24203194677829742, -0.09068983793258667, -0.5342568159103394, 0.38504981994628906, 0.32194414734840393, 0.08399199694395065, 0.013284873217344284, -0.2824547290802002, 0.6886560916900635, 0.499362975358963, -0.21384064853191376, 0.529175341129303, 0.38014158606529236, -0.38405269384384155, -0.004871251527220011, -0.8923369646072388, -0.10109419375658035, 0.6859090328216553, 0.3052641451358795, 0.572862982749939, 0.12836740911006927, 0.6230184435844421, 0.5121357440948486, 0.15029458701610565, -0.9590316414833069, 0.4759039282798767, 0.07341039180755615, -0.5828316807746887, -0.3492429256439209, -0.4872312545776367, -0.8014031648635864, 0.28300440311431885, 0.049585212022066116, -0.5754685997962952, 0.5110469460487366, 0.07026991248130798, -0.4330708384513855, 0.3805186152458191, -0.475003719329834, 0.4772721230983734, -0.28227272629737854, 0.04850292205810547, -0.41734784841537476, -0.2162529081106186, 0.4416162669658661, -0.1464409977197647, 0.3084515631198883, 0.4230803847312927, 0.041785914450883865, 0.6829893589019775, -0.3741970658302307, 0.8475269079208374, -0.10916907340288162, -0.2741489112377167, 0.3466140925884247, 0.33314910531044006, 0.8170517086982727, -0.21498703956604004, 0.02362925559282303, -0.2392389178276062, -0.1939469277858734, -0.21578864753246307, -0.6165847182273865, 0.6456397175788879, -0.4619366526603699, -0.7185836434364319, -0.4118456244468689, -0.6316314339637756, -0.2657621502876282, 0.03621399402618408, 0.5393816828727722, 0.4213445484638214, -0.21861828863620758, 0.3689928650856018, 1.0517665147781372, 0.12522956728935242, 0.6195198893547058, 0.5396163463592529, -0.1554020494222641, -0.390726774930954, 0.608637273311615, 0.029584160074591637, 0.4912094175815582, 0.2980845868587494, 0.21042713522911072, -0.38235366344451904, -0.5323200225830078, -0.6604946255683899, 0.20514217019081116, -0.6913275122642517, -0.2324383556842804, -0.5199108123779297, -0.05869920924305916, -0.19367867708206177, -0.07676856964826584, -0.00899525173008442, -0.3506912291049957, -0.045257147401571274, -0.34292906522750854, 0.23061029613018036, 0.8387258052825928, -0.14143581688404083, 0.3200412094593048, -0.3847469985485077, 0.23777781426906586, 0.7407754063606262, -0.2392764687538147, 0.44721150398254395, -0.5695024132728577, -0.20597991347312927, 0.2142854779958725, -0.25860390067100525, -0.9309600591659546, 0.15723606944084167, -0.2724059522151947, 0.547861635684967, 0.5246845483779907, 0.04745684191584587, 0.45227745175361633, -0.29178744554519653, 0.6608334183692932, 0.32744520902633667, -0.8522340059280396, 0.05150367692112923, -0.15619058907032013, 0.2179272174835205, 0.29235389828681946, 0.6377166509628296, -0.5919698476791382, -0.10774680972099304, -0.7087869644165039, -0.42925766110420227, 0.7275391221046448, 0.14069107174873352, -0.13027510046958923, 0.04343728721141815, 0.23793713748455048, 0.03782888129353523, 0.31525370478630066, -0.47618889808654785, -0.32856985926628113, 0.19076521694660187, 0.008619057014584541, 0.37714916467666626, -0.6914698481559753, -0.39506253600120544, 0.1543116271495819, 0.7553304433822632, 0.029594741761684418, -0.06407766044139862, 0.1093878522515297, -0.10495266318321228, -0.2213226854801178, 0.5670823454856873, 0.6894193291664124, 0.7425870895385742, 0.3706302046775818, 0.24237625300884247, 0.31452739238739014, -0.3798598051071167, 0.3775063157081604, 0.07016237080097198, -0.3900100588798523, -0.17291070520877838, 0.5009552836418152, 0.823250949382782, -0.32538846135139465, -0.44846829771995544, 0.589634120464325, 0.1728696972131729, -0.34776660799980164, 0.23969608545303345, 0.13563065230846405, 0.19302590191364288, 0.22844475507736206, 0.7236974835395813, -0.16915325820446014, 0.10621457546949387, -0.48446622490882874, -0.05927148088812828, 0.365033358335495, -0.008962178602814674, -0.1284770518541336, 0.13828128576278687, -0.000676078605465591, -0.39703038334846497, 0.5720806121826172, -0.43499040603637695, -1.0139085054397583, 0.751400351524353, 0.6441529393196106, 0.46718063950538635, -0.48084715008735657, 0.4109676778316498, 0.1677650511264801, 0.2965150475502014, -0.34137147665023804, -0.02532433718442917, -0.237049862742424, -0.685727059841156, -0.9958856105804443, -0.5056712627410889, -0.29138103127479553, 0.13930761814117432, -0.5511894822120667, 0.01922212541103363, -0.26247838139533997, -0.05898129940032959, 0.18730470538139343, 0.02092880755662918, -0.3862611651420593, 0.3994665741920471, 0.288027822971344, 1.1565766334533691, -0.6771407127380371, 0.6416299343109131, 0.4884212613105774, -0.061572201550006866, -1.1996155977249146, -0.002507500583305955, 0.2408234179019928, -0.757536768913269, 0.885623574256897, 0.1225874274969101, -0.1830930858850479, -0.23413068056106567, -0.5997719764709473, -0.5456401705741882, 0.798833966255188, 0.2473662793636322, -0.686277449131012, -0.24035979807376862, 0.25424838066101074, 0.37547287344932556, -0.4949534833431244, 0.11020167171955109, 0.6876293420791626, 0.5852170586585999, 0.5824222564697266, -0.9032077193260193, 0.28599557280540466, -0.045732710510492325, -0.08814803510904312, 0.13865287601947784, -0.3708832859992981, 0.9441744685173035, -0.4036218225955963, -0.14317461848258972, -0.06859124451875687, 0.5720403790473938, 0.6171294450759888, 0.3721657693386078, 0.9856007099151611, 0.4654836654663086, 0.8568775057792664, -0.10857459902763367, 1.0066230297088623, -0.1276896744966507, 0.12460023164749146, 0.6370583772659302, -0.06623385101556778, 0.49268752336502075, 0.3928563594818115, -0.2624935209751129, 0.7161351442337036, 0.5772797465324402, 0.1580919325351715, 0.386667937040329, 0.07471910119056702, -0.3828599154949188, -0.4373747706413269, -0.1803789585828781, -0.38430002331733704, 0.11870654672384262, 0.42398878931999207, -0.05303536728024483, -0.12804719805717468, 0.13425016403198242, 0.16191673278808594, -0.09576835483312607, -0.19535516202449799, 0.7038467526435852, 0.1382158100605011, -1.0740535259246826, 0.6550329923629761, 0.12374362349510193, 0.6931301951408386, -0.5553186535835266, -0.008943282999098301, -0.33883851766586304, -0.10470331460237503, -0.1625043898820877, -0.5681676268577576, -0.08043897151947021, 0.02844216115772724, -0.4633138179779053, -0.1359543353319168, 0.6788092851638794, -0.5544106960296631, -0.06902821362018585, 0.09351139515638351, 0.29898983240127563, -0.19090043008327484, -0.34933093190193176, -0.575742244720459, 0.11289019882678986, 0.25705838203430176, -0.21710313856601715, 0.32986006140708923, 0.616155207157135, -0.14515338838100433, 0.7451354265213013, 0.8731878995895386, 0.1803625524044037, 0.021365659311413765, 0.0559258833527565, 0.7530733942985535, -0.2102542370557785, -0.6863387823104858, -1.1146008968353271, 0.31477272510528564, -0.07124501466751099, 0.2898361086845398, 1.0344535112380981, 0.5320608615875244, 0.5504463315010071, 0.13278424739837646, 0.6681684255599976, -0.16566209495067596, 0.4081098139286041, -0.6507527232170105, 0.21126388013362885, -0.4506909251213074, 0.3005012273788452, 0.03648701682686806, -0.6994249224662781, 0.1123511791229248, 0.27880504727363586, -0.4257795512676239, 0.12160103023052216, 0.8565918207168579, 0.6140738129615784, 0.03839579224586487, 0.3720821142196655, 0.2438199371099472, 0.19061142206192017, 0.21211400628089905, 0.5352582335472107, 1.0042479038238525, 0.04106564447283745, 0.5005460977554321, -0.16461504995822906, -0.3289947211742401, -0.4009658098220825, -0.6951904296875, -0.9953396916389465, -0.33703646063804626, -0.20315031707286835, -0.7043446898460388, 0.06359465420246124, 0.8658738732337952, 0.7240096926689148, -0.817179799079895, -0.1889144480228424, -0.1448361873626709, 0.3632309138774872, -0.25247442722320557, -0.12484625726938248, 0.3548373281955719, -0.0635937824845314, -0.8197047114372253, 0.6384892463684082, 0.2066524624824524, 0.1814478635787964, -0.3318479061126709, -0.21482490003108978, -0.20408011972904205, 0.32119789719581604, 0.5362877249717712, 0.35318246483802795, -0.6543163061141968, 0.27765214443206787, 0.3117561638355255, -0.17346979677677155, -0.11137590557336807, 1.0643342733383179, -0.5540658831596375, 0.4052504897117615, 0.6310529112815857, 0.7082201242446899, 0.48424896597862244, 0.43274927139282227, 0.5176780819892883, -0.6258331537246704, -0.047032780945301056, 0.03827659785747528, 0.1574929654598236, 0.4565275013446808, -0.4440220296382904, 0.21343468129634857, 0.30919089913368225, -0.42701730132102966, -0.7327009439468384, 0.15525847673416138, -0.6908538341522217, -0.22559699416160583, 1.280794620513916, -0.00814062636345625, -0.26967474818229675, 0.23497693240642548, -0.33528798818588257, -0.08940258622169495, -0.4150007963180542, 0.6793531179428101, 1.0233368873596191, 0.011942557990550995, -0.005599696654826403, -0.23916830122470856, 0.5080934762954712, 0.7070295214653015, -0.6798816323280334, 0.08559507876634598, 0.6430555582046509, 0.2551453411579132, 0.40295538306236267, 0.568362832069397, 0.09336978197097778, 0.530319094657898, -0.24543002247810364, -0.41232526302337646, -0.3212096095085144, -0.669148862361908, -0.4910316467285156, 0.1585695743560791, 0.13808810710906982, -0.0011220882879570127 ]
http://arxiv.org/abs/2402.14590v1
http://arxiv.org/pdf/2402.14590v1
Scaling Up LLM Reviews for Google Ads Content Moderation
2024-02-07T23:47:02
2024-02-07T23:47:02
Wei Qiao, Tushar Dogra, Otilia Stretcu, Yu-Han Lyu, Tiantian Fang, Dongjin Kwon, Chun-Ta Lu, Enming Luo, Yuan Wang, Chih-Chun Chia, Ariel Fuxman, Fangzhou Wang, Ranjay Krishna, Mehmet Tek
cs.IR
cs.IR, cs.CL, cs.LG
Large language models (LLMs) are powerful tools for content moderation, but their inference costs and latency make them prohibitive for casual use on large datasets, such as the Google Ads repository. This study proposes a method for scaling up LLM reviews for content moderation in Google Ads. First, we use heuristics to select candidates via filtering and duplicate removal, and create clusters of ads for which we select one representative ad per cluster. We then use LLMs to review only the representative ads. Finally, we propagate the LLM decisions for the representative ads back to their clusters. This method reduces the number of reviews by more than 3 orders of magnitude while achieving a 2x recall compared to a baseline non-LLM model. The success of this approach is a strong function of the representations used in clustering and label propagation; we found that cross-modal similarity representations yield better results than uni-modal representations.
[ -0.5191907286643982, -0.5721420645713806, 0.5794287919998169, 0.3206849694252014, -0.529017984867096, 0.03662608191370964, -0.5612388253211975, -0.29362133145332336, 0.4659876823425293, 0.6787360310554504, -0.23943382501602173, -0.6870215535163879, -0.7651196718215942, 0.12811821699142456, -0.5309420824050903, 1.287153959274292, 0.09247870743274689, 0.11455735564231873, -0.29406359791755676, -0.17067763209342957, -0.12360550463199615, -0.091524139046669, -0.9164854884147644, -0.24413372576236725, 0.5353168845176697, 0.22284413874149323, 0.6972259283065796, 0.6198703050613403, 0.4277075231075287, 0.25208309292793274, -0.5083546042442322, 0.24693600833415985, -0.9185422658920288, -0.08533934503793716, -0.17980700731277466, -0.3881911635398865, -0.7713451385498047, 0.2493387907743454, 0.7671840190887451, 0.7152323126792908, -0.26459330320358276, 0.08813722431659698, 0.03989304602146149, 0.7179263830184937, -0.34646981954574585, 0.024954887107014656, -0.8234202265739441, -0.24457356333732605, 0.3671100437641144, -0.11469417065382004, -0.4252592921257019, -0.48557794094085693, 0.23952557146549225, -0.6687809824943542, 0.2841731905937195, 0.07909969240427017, 0.5469697117805481, -0.09163733571767807, -0.7902622222900391, -0.4695514440536499, -0.9104830622673035, 0.9355297088623047, -0.6430925726890564, 0.16379860043525696, 0.3030814230442047, 0.2067752182483673, 0.035927340388298035, -0.5605699419975281, -0.2727092206478119, -0.44406959414482117, -0.07137971371412277, -0.03080311231315136, -0.18038395047187805, -0.2342379242181778, 0.08155368268489838, 0.6843613386154175, -0.2453104853630066, 0.054810963571071625, -0.5429735779762268, -0.21288973093032837, 0.825192391872406, 0.1889491230249405, 0.03959093987941742, -0.03796950727701187, -0.6374715566635132, -0.1589655578136444, -0.9426819086074829, -0.002527485601603985, 0.4498496353626251, 0.13861429691314697, 0.20018434524536133, 0.4610576033592224, -0.2883058190345764, 0.4324692487716675, 0.3157348036766052, -0.1143450066447258, 0.002467384794726968, -0.6927953958511353, -0.20269425213336945, -0.02692185901105404, 0.6229148507118225, 0.8405133485794067, -0.07867065817117691, 0.09564810246229172, -0.48359864950180054, 0.1311427503824234, 0.7744594216346741, -0.8416404724121094, -0.0669112503528595, -0.05509796366095543, -0.7086169719696045, -0.21601200103759766, 0.062073130160570145, -0.6599633693695068, -0.5564887523651123, -0.23060369491577148, 0.5032731294631958, 0.03495822474360466, 0.0571688674390316, 0.21147626638412476, 0.3480580449104309, -0.23464883863925934, 0.47712814807891846, -0.6685645580291748, 0.4173421263694763, 0.6225534081459045, 0.6219683885574341, -0.35403677821159363, 0.1761319488286972, -0.4719191789627075, 0.1349279284477234, -0.3656517267227173, 0.9277571439743042, -0.5504939556121826, -0.6713331937789917, -0.009467949159443378, 0.08774646371603012, 0.07393325865268707, -0.6742634177207947, 0.5780341625213623, -1.1068556308746338, 0.2568785846233368, -0.35360196232795715, -0.7014999389648438, -0.5245900750160217, 0.38521677255630493, -0.9763447642326355, 0.5284246206283569, 0.28333014249801636, -0.25546887516975403, 0.5640705227851868, -0.27900436520576477, -0.6001077890396118, 0.019070139154791832, 0.10239075124263763, -0.6769253611564636, 0.14033782482147217, 0.7138111591339111, 0.37640681862831116, -0.2818557620048523, 0.23356810212135315, -0.24690818786621094, -0.3348662257194519, -0.04970502853393555, -0.3172217905521393, 0.3373054265975952, 0.34961801767349243, -0.15580624341964722, 0.5186787843704224, -0.45567888021469116, -0.24796245992183685, -0.02539975196123123, -0.6444693207740784, -0.2917743921279907, 0.06580956280231476, 0.042554158717393875, -0.10273968428373337, 0.09708047658205032, -0.3788699805736542, 0.3452967405319214, -0.08508961647748947, 0.3792014718055725, 0.7843562364578247, 0.2406405657529831, 0.8935505151748657, -0.4286525845527649, 0.5642482042312622, -0.12401837855577469, 0.19313782453536987, -0.05057018622756004, -0.4363837242126465, -0.6519538164138794, -0.217062309384346, 0.22744488716125488, -0.06244204193353653, -0.5056539177894592, 0.5525461435317993, -0.47506746649742126, -0.4343419373035431, -0.5805925130844116, 0.6884173154830933, 0.2953812777996063, 0.14985431730747223, 0.15080377459526062, -0.5764970183372498, -0.06723015010356903, -0.6481245756149292, -0.011908759362995625, -0.08213289082050323, -0.3478911519050598, 0.4833402633666992, 0.30176928639411926, -0.518129825592041, 0.5553678274154663, -0.447984516620636, -0.6868129968643188, -0.2579905688762665, 0.07812856137752533, 0.09652765840291977, -0.02084692008793354, 0.3648683428764343, -0.8298770189285278, -0.5803669095039368, -0.13953733444213867, -0.03425680100917816, -0.18411801755428314, -0.16645537316799164, 0.31488731503486633, 0.21666847169399261, 0.3488626480102539, -0.22214452922344208, 0.14696921408176422, 0.9173333048820496, -0.33321285247802734, 0.21954676508903503, -0.17818626761436462, 0.4316153824329376, -1.022430181503296, -0.2086416780948639, 0.27672427892684937, -0.46221452951431274, -0.13325217366218567, -0.020385567098855972, 0.08478577435016632, 0.12505847215652466, -0.26324713230133057, 0.3820306956768036, -0.3989682197570801, -0.013371587730944157, -0.41405007243156433, 0.4495658874511719, 0.26071497797966003, 0.16207902133464813, -0.21247194707393646, 0.8666421175003052, 0.3085734248161316, -0.7660017609596252, 0.6084737181663513, -0.07662037014961243, -0.6909379959106445, 0.6182602643966675, -0.7735499739646912, 0.0048657068982720375, -0.1406891644001007, 0.7566799521446228, -1.5450178384780884, -0.03483295068144798, -0.08845718950033188, -0.15425637364387512, -0.0058898767456412315, -0.04606302082538605, -0.5208337903022766, -0.2570771276950836, -0.6191409826278687, 0.23901650309562683, 0.3331436812877655, -0.7684678435325623, 0.3871144950389862, 0.6171681880950928, -0.29219192266464233, 0.03220666944980621, -0.05716455727815628, 0.03591621667146683, -0.18589960038661957, -0.5236354470252991, 0.392442911863327, -0.196199432015419, -0.1336604207754135, 0.29269635677337646, -0.19919517636299133, 0.2952269911766052, -0.18204869329929352, -0.04815840721130371, 0.09676534682512283, -0.11043394356966019, 0.11547306180000305, -0.09147949516773224, -0.028600018471479416, -0.0884019210934639, -0.20617403090000153, 0.4221622049808502, -0.15258020162582397, -0.2434086799621582, -0.17810267210006714, 0.31557461619377136, 0.6904433369636536, -0.008341625332832336, 0.25389936566352844, 0.7813730239868164, 0.04138028621673584, -0.36415326595306396, -0.6008277535438538, -0.3333463668823242, -0.40472903847694397, 0.3567824363708496, 0.12833936512470245, -1.3157368898391724, 0.4995420575141907, -0.08953441679477692, 0.19618581235408783, 0.41723835468292236, 0.8342821598052979, 0.07251247763633728, 1.4891514778137207, 0.604743480682373, -0.4350145757198334, 0.53626948595047, -0.3430020213127136, 0.2479032576084137, -0.9329622983932495, -0.11624013632535934, -0.12641537189483643, -0.5711495876312256, -0.46532437205314636, -0.6611229777336121, 0.6383665800094604, -0.11981404572725296, 0.2055879533290863, 0.2992561459541321, -0.2861778140068054, 0.5468065738677979, 0.4643024802207947, 0.24764059484004974, 0.5304567217826843, 0.45773598551750183, 0.2502524256706238, 0.11561387032270432, -0.4956686198711395, -0.5374936461448669, 1.1418062448501587, 0.39045003056526184, 1.2243107557296753, 0.2579389214515686, 0.051440849900245667, 0.3884199857711792, 0.7615218758583069, -0.8558202981948853, 0.6525573134422302, -0.5022639632225037, -0.6699352860450745, -0.35826990008354187, -0.5832076668739319, -0.861565351486206, 0.30810901522636414, -0.1951299011707306, -0.2274935096502304, -0.31584060192108154, -0.04349460452795029, -0.5158498287200928, 0.5995965600013733, -0.46210524439811707, 0.11148201674222946, -0.0516030453145504, -0.2325955480337143, -0.7779339551925659, -0.26939013600349426, 0.29341962933540344, -0.16863271594047546, 0.23385614156723022, 0.1076979786157608, -0.11401486396789551, 0.7017675638198853, -0.32750341296195984, 0.8635330200195312, 0.20348230004310608, -0.5764505863189697, 0.5891497731208801, 0.228978231549263, 0.626498281955719, 0.41070663928985596, 0.16310185194015503, -0.1028597429394722, -0.3905983567237854, -0.22437690198421478, -0.6147333979606628, 1.169020652770996, -0.6592610478401184, -0.7469565868377686, 0.05017326399683952, -0.6005310416221619, -0.07185148447751999, 0.06705078482627869, -0.05528222769498825, 0.1747542917728424, -0.05874904617667198, 0.7310479283332825, 0.6724398732185364, 0.10672014206647873, 0.23966261744499207, 0.5035966634750366, -0.3159297704696655, -0.799436628818512, 0.6347134113311768, 0.04978465288877487, 0.5446771383285522, 0.03180066496133804, 0.30195167660713196, -0.6457918882369995, -0.4679800868034363, -0.49464142322540283, 0.3154198229312897, -0.573146402835846, -0.03667837008833885, -0.6763728857040405, 0.050104279071092606, -0.6455578207969666, -0.17926058173179626, -0.401677668094635, -0.24766014516353607, -0.29689517617225647, -0.03814836964011192, 0.27775371074676514, 0.9105569124221802, 0.0883442685008049, 0.6648911237716675, -0.5911592245101929, 0.4447892904281616, 0.7340922951698303, 0.6801669001579285, 0.02326052263379097, -0.7895034551620483, -0.34650805592536926, -0.10570564866065979, -0.30533918738365173, -0.4687601923942566, 0.28914502263069153, -0.12296075373888016, 0.3440476953983307, 0.7608095407485962, -0.1548905074596405, 0.5113659501075745, -0.25949543714523315, 0.9621959328651428, 0.15207599103450775, -0.5543728470802307, 0.19760267436504364, -0.41244643926620483, 0.2933266758918762, 0.4906664490699768, 0.4872679114341736, -0.46658289432525635, -0.20551060140132904, -0.2950488328933716, -0.8791269063949585, 0.35175058245658875, 0.035193946212530136, 0.5406179428100586, 0.05166681855916977, 0.22080133855342865, 0.048846740275621414, 0.27489882707595825, -0.6901346445083618, -0.01011740043759346, 0.3129907250404358, 0.38835054636001587, -0.47121894359588623, -0.7131997346878052, -0.4017745852470398, -0.1978856921195984, 0.7911512851715088, -0.11725611984729767, -0.1363033652305603, 0.032948002219200134, -0.011270595714449883, -0.4846034646034241, 0.3257409930229187, 0.47840023040771484, 0.727954626083374, -0.2503376603126526, 0.13909025490283966, 0.10733196139335632, -0.45332080125808716, 0.143568217754364, -0.29969486594200134, -0.3387294411659241, -0.12879720330238342, 0.09619215130805969, 0.7049379348754883, 0.20295722782611847, -0.5410493016242981, 0.5342620015144348, -0.19686545431613922, -0.18034403026103973, 0.07516259700059891, -0.12740769982337952, 0.04450986534357071, 0.21359381079673767, 0.11084107309579849, -0.22756245732307434, 0.13696052134037018, -0.5780741572380066, 0.3227054476737976, 0.4972780644893646, -0.5198740363121033, -0.26905161142349243, 0.7883812785148621, 0.4706021845340729, -0.06102018058300018, 0.5611616969108582, -0.0735219269990921, -0.49581339955329895, 0.516329288482666, 0.6551021933555603, 0.9099119901657104, -0.1944659799337387, 0.3180423378944397, 0.3827686905860901, 0.3978472054004669, -0.21361200511455536, -0.0840361937880516, -0.056894998997449875, -0.5946601033210754, -0.6232426166534424, -0.4854018986225128, -0.6915131211280823, 0.34211069345474243, -0.5518903732299805, 0.2299063801765442, -0.5677799582481384, -0.3198029398918152, -0.13902658224105835, 0.36595863103866577, -0.2892393171787262, 0.36855000257492065, 0.29634028673171997, 0.6724042296409607, -0.9648624062538147, 0.5261185169219971, 0.7768843770027161, -0.1213769018650055, -0.603413999080658, -0.08092232793569565, 0.19980376958847046, -0.5278579592704773, 0.14014019072055817, 0.15339094400405884, -0.33017751574516296, -0.1589304506778717, -0.6468337178230286, -0.7622462511062622, 1.0259759426116943, -0.049402181059122086, -0.6194438338279724, 0.2549097537994385, -0.29748672246932983, 0.7708389759063721, -0.7557088136672974, -0.013030723668634892, 0.31950441002845764, 0.24375751614570618, 0.21491344273090363, -0.7189216613769531, 0.14379270374774933, 0.09564086049795151, 0.15990377962589264, -0.060908325016498566, -0.5802266001701355, 0.931145429611206, -0.416950523853302, -0.30475789308547974, -0.06515711545944214, 0.5430803298950195, 0.33008912205696106, 0.26996245980262756, 0.9211040735244751, 0.5819153189659119, 0.41526710987091064, 0.37084153294563293, 1.2253929376602173, -0.12100426107645035, 0.5880648493766785, 1.018222689628601, -0.3066094219684601, 0.6413363218307495, 0.5687097907066345, -0.18770329654216766, 0.46370989084243774, 0.6347326040267944, -0.18243609368801117, 0.3954499065876007, 0.27572065591812134, -0.48119720816612244, -0.3618859648704529, -0.446416437625885, -0.13844427466392517, -0.0014759302139282227, 0.22849597036838531, -0.6959066987037659, -0.4709206819534302, -0.04609241709113121, 0.24187342822551727, 0.29923462867736816, -0.5307324528694153, 0.8669731616973877, 0.0322871170938015, -0.6297029256820679, 0.3848769962787628, 0.1640816628932953, 0.610141932964325, -0.48278507590293884, 0.033245999366045, -0.26282772421836853, 0.1592772901058197, -0.05577653646469116, -0.9647248387336731, 0.14916425943374634, -0.10405072569847107, -0.39843231439590454, -0.6607502698898315, 0.6100710034370422, -0.6833505034446716, -0.6568731069564819, 0.5028308629989624, 0.21729479730129242, -0.06763145327568054, -0.23513539135456085, -0.3461763560771942, 0.16588886082172394, -0.03266581520438194, -0.4934692978858948, 0.26936420798301697, 0.03952038288116455, -0.44860124588012695, 0.578134298324585, 0.8436663150787354, 0.3981308341026306, -0.017514629289507866, 0.37924209237098694, 1.0797098875045776, -0.34508025646209717, -0.6159783601760864, -0.6198429465293884, 0.014731649309396744, -0.09313567727804184, 0.07255066931247711, 0.8059268593788147, 0.5041685104370117, 1.1614859104156494, -0.050723012536764145, 0.5408517122268677, 0.20277540385723114, 0.31992843747138977, -0.3843684494495392, 0.7660397291183472, -0.6710586547851562, 0.6281642317771912, -0.06950320303440094, -1.159913182258606, -0.5374239683151245, 0.34368279576301575, -0.4216007888317108, 0.014004494063556194, 0.49687132239341736, 1.0098861455917358, 0.026877082884311676, -0.1876637190580368, 0.38021355867385864, 0.23324444890022278, 0.5261275172233582, 0.48651930689811707, 0.7081543803215027, -0.3453044891357422, 0.8262760639190674, -0.25697988271713257, -0.1350499540567398, -0.4001942276954651, -0.7710192203521729, -0.9617241621017456, -0.32058587670326233, -0.3237013518810272, -0.6538903713226318, -0.31913599371910095, 0.763849139213562, 0.9108167290687561, -0.8000636696815491, -0.3694334626197815, 0.3839394450187683, 0.3380923569202423, -0.41982924938201904, -0.17468522489070892, 0.33912068605422974, -0.16669249534606934, -1.0238134860992432, 0.39670756459236145, 0.33393576741218567, -0.28666743636131287, -0.6202064156532288, 0.00380596867762506, 0.06031092628836632, 0.18432150781154633, 0.9186577200889587, -0.20745712518692017, -0.6402231454849243, -0.3217436969280243, -0.08422594517469406, -0.33404892683029175, 0.03451400250196457, 1.056876540184021, -0.42455801367759705, 0.8914940357208252, 0.670085608959198, 0.4613075852394104, 0.3696805536746979, 0.3152708411216736, 0.39641422033309937, -0.5500172972679138, -0.27964285016059875, 0.06225890293717384, 0.11124169826507568, 0.2651035487651825, -0.3019285202026367, 0.334539532661438, 0.12020838260650635, -0.6739906668663025, -0.4470558166503906, 0.28813597559928894, -1.065049409866333, -0.09832800179719925, 1.5008383989334106, -0.03391754999756813, -0.1534198522567749, 0.3262792229652405, -0.35562223196029663, -0.12868259847164154, -0.46241146326065063, 1.2158074378967285, 0.6102780103683472, 0.1425803303718567, -0.032437510788440704, -0.2924816906452179, 0.31849759817123413, 0.3623175024986267, -0.48672130703926086, -0.03577681630849838, 0.6457458138465881, 0.5641908645629883, 0.12745946645736694, 0.6160573959350586, -0.4720023572444916, 0.02547762170433998, -0.3663730323314667, -0.27999642491340637, 0.1291322112083435, -0.5032581686973572, -0.6851345896720886, 0.3000890612602234, -0.13481608033180237, 0.035372134298086166 ]
http://arxiv.org/abs/2402.05318v1
http://arxiv.org/pdf/2402.05318v1
Navigating the Knowledge Sea: Planet-scale answer retrieval using LLMs
2024-02-07T23:39:40
2024-02-07T23:39:40
Dipankar Sarkar
cs.IR
cs.IR, cs.CL, cs.LG
Information retrieval is a rapidly evolving field of information retrieval, which is characterized by a continuous refinement of techniques and technologies, from basic hyperlink-based navigation to sophisticated algorithm-driven search engines. This paper aims to provide a comprehensive overview of the evolution of Information Retrieval Technology, with a particular focus on the role of Large Language Models (LLMs) in bridging the gap between traditional search methods and the emerging paradigm of answer retrieval. The integration of LLMs in the realms of response retrieval and indexing signifies a paradigm shift in how users interact with information systems. This paradigm shift is driven by the integration of large language models (LLMs) like GPT-4, which are capable of understanding and generating human-like text, thus enabling them to provide more direct and contextually relevant answers to user queries. Through this exploration, we seek to illuminate the technological milestones that have shaped this journey and the potential future directions in this rapidly changing field.
[ -0.6049960851669312, -0.800057053565979, 1.1410233974456787, -0.2138793021440506, -0.09340915828943253, 0.4433978497982025, 0.046975553035736084, -0.4480184018611908, 0.07962113618850708, 0.5860400199890137, -0.5478784441947937, -0.29405322670936584, -0.41017866134643555, 0.04040573164820671, -0.38441216945648193, 0.8384880423545837, 0.18162819743156433, -0.10006509721279144, -0.3385773301124573, 0.07904183119535446, -0.2092110514640808, -0.6625472903251648, -0.39323094487190247, -0.3979476988315582, 0.6280781626701355, 0.29877033829689026, 0.8434351086616516, 0.7212541699409485, 0.9091058969497681, 0.25893744826316833, -0.28640976548194885, 0.11074203252792358, -0.440462201833725, 0.3518603444099426, -0.35388514399528503, -0.7675320506095886, -0.349240243434906, -0.012002596631646156, 0.5719213485717773, 0.8513202667236328, -0.19316285848617554, 0.239034041762352, 0.07068498432636261, 0.7944301962852478, -0.3932725191116333, 0.11017617583274841, -0.6026628613471985, -0.027563851326704025, -0.33427250385284424, -0.7107492089271545, -0.17636635899543762, -0.48200365900993347, 0.29068100452423096, -0.8415749073028564, 0.04549942910671234, 0.4256044328212738, 0.4592381417751312, 0.1680079698562622, -0.6735391616821289, -0.7021447420120239, -0.8640837073326111, 0.7753347754478455, -0.45003193616867065, 0.5491690635681152, 0.035595446825027466, 0.6071256399154663, -0.3985610604286194, -1.0423295497894287, -0.5331886410713196, -0.028355374932289124, 0.27972298860549927, 0.07676443457603455, 0.026878735050559044, -0.05677170678973198, 0.04375821352005005, 0.43328651785850525, -0.5798456072807312, 0.039816491305828094, -0.57132887840271, 0.05491609498858452, 0.36190348863601685, 0.2388899028301239, 0.2079743891954422, -0.2650117874145508, -0.4249010980129242, 0.11084730178117752, -1.0447824001312256, -0.20533768832683563, 0.054593537002801895, 0.4592982828617096, 0.2397644966840744, 0.6653810143470764, -0.1553771048784256, 0.8776698112487793, -0.16957682371139526, -0.34139975905418396, 0.012473559007048607, -0.3391505181789398, -0.08201562613248825, -0.06883540749549866, 0.47109586000442505, 0.32232576608657837, -0.02873152866959572, -0.12813740968704224, -0.15489159524440765, -0.36859625577926636, 0.3092513680458069, -0.6914737224578857, 0.07306654006242752, -0.03766442835330963, -0.5504177808761597, -0.3192378282546997, 0.005227911286056042, -1.0077764987945557, -0.80422043800354, -0.3747694194316864, 0.5037167072296143, -0.0808369442820549, -0.3419060707092285, 0.18172258138656616, -0.09398039430379868, 0.47242701053619385, 0.3920717239379883, -0.6756781935691833, 0.3140333592891693, 0.8968597054481506, 0.9249879121780396, -0.10133687406778336, 0.27075526118278503, -0.20075583457946777, 0.2650691866874695, -0.30567824840545654, 0.7568854093551636, -0.5692830085754395, -0.7247934341430664, 0.18162661790847778, -0.1568923145532608, 0.33287331461906433, -0.6369723081588745, 0.4469844698905945, -1.3539830446243286, 0.22638918459415436, -0.6620759963989258, -0.5933805704116821, -0.44028958678245544, 0.6102110743522644, -0.6028891801834106, 1.0035344362258911, 0.02240877039730549, -0.7013269662857056, 0.020815683528780937, -0.9192203283309937, -0.0044215526431798935, 0.521794855594635, -0.2196483612060547, 0.18652211129665375, -0.09152345359325409, 0.013163313269615173, 0.2039157897233963, -0.9962943196296692, 0.03486419469118118, -0.2616293430328369, -0.4790528416633606, 0.07285962253808975, -0.026891034096479416, 0.3876417875289917, 0.35454031825065613, -0.12650683522224426, -0.13864094018936157, -0.4909399449825287, 0.09905118495225906, 0.127268448472023, -0.621667742729187, -0.5035061836242676, 0.11767537891864777, -0.17545470595359802, 0.5128597617149353, 0.7724328637123108, -0.4448493421077728, 0.4323258697986603, -0.011244330555200577, 0.717880368232727, 0.6304672956466675, 0.2594732344150543, 0.5169261693954468, -0.2448604851961136, 0.6498157978057861, 0.04774940758943558, 0.25020352005958557, -0.2743290662765503, -0.6157260537147522, -0.4032015800476074, 0.34593096375465393, 0.1344475895166397, 0.5942614674568176, -0.9618076086044312, 0.07261960208415985, -0.7180400490760803, -0.6455498337745667, -0.7097062468528748, 0.1891196221113205, -0.05541987717151642, 0.5512377023696899, 0.47031041979789734, 0.022454572841525078, -0.3216221034526825, -0.7463069558143616, -0.2126370370388031, -0.3631688058376312, -0.237277090549469, 0.4992804229259491, 0.2408173680305481, -0.27730828523635864, 0.80424565076828, -0.5802334547042847, -0.05562959983944893, -0.1962101310491562, -0.15504240989685059, 0.43849411606788635, 0.10827827453613281, 0.07695131748914719, -1.395546555519104, -0.161210298538208, 0.20391754806041718, -0.9257878065109253, -0.08504393696784973, 0.21080882847309113, -0.04140746220946312, -0.25748804211616516, 0.9370166659355164, -0.4975627362728119, 0.04473008215427399, 0.32726410031318665, -0.12896870076656342, 0.43852317333221436, -0.18400657176971436, 0.3865622878074646, -1.0941967964172363, 0.21968214213848114, -0.03659074008464813, -0.05949299409985542, -0.5204821228981018, 0.31622496247291565, 0.1667030304670334, 0.0805724486708641, -0.07362686842679977, 0.4560546875, -0.6725048422813416, -0.5632299780845642, -0.28533366322517395, 0.6929315328598022, -0.13453541696071625, 0.006311941426247358, -0.22519901394844055, 1.0538781881332397, 0.202828511595726, -0.8806148171424866, 0.5505943894386292, 0.2724449336528778, -0.23293088376522064, 0.6824485659599304, -0.3675629496574402, 0.3130016624927521, -0.2132079154253006, 0.1089337095618248, -1.0914857387542725, -0.08172950893640518, -0.2317807674407959, -0.24319282174110413, 0.039163704961538315, -0.16833490133285522, -0.8175022006034851, -0.6475223302841187, -0.2753104567527771, 0.4463502764701843, 0.4322214424610138, -0.6082406640052795, 0.5816828012466431, 0.573691725730896, -0.6627063155174255, -0.4358919560909271, -0.4492990970611572, 0.39918532967567444, -0.3659259080886841, -0.6083425283432007, 0.3450872004032135, -0.3994186520576477, -0.4317606985569, -0.2518826127052307, -0.16079501807689667, 0.06295330077409744, 0.02249975875020027, -0.06758445501327515, 0.6231367588043213, -0.3556487262248993, 0.34706225991249084, -0.16544866561889648, 0.1647133231163025, 0.10776161402463913, -0.5467063188552856, 0.686268150806427, -0.2337249368429184, -0.2335297018289566, 0.0010066890390589833, 0.1555464267730713, 0.7840147018432617, -0.26837125420570374, 0.5644229054450989, 0.2703542709350586, -0.11735132336616516, 0.3102215826511383, -0.8237689137458801, -0.23288145661354065, -0.5573593974113464, 0.4430578947067261, -0.44002917408943176, -1.2186723947525024, 0.531918466091156, -0.5891268253326416, -0.098446786403656, 0.298710435628891, 0.24851128458976746, -0.08887308835983276, 0.831343412399292, 0.901263415813446, -0.11212795227766037, 0.366079181432724, 0.1341329962015152, 0.3208516240119934, -1.1491211652755737, -0.4773661196231842, -0.5115669369697571, -0.2534531354904175, -1.087337851524353, -0.5064259171485901, 0.8998170495033264, -0.08994120359420776, -0.502700686454773, -0.0950414165854454, -0.4210970997810364, 0.35432547330856323, 0.42681753635406494, 0.08473746478557587, 0.5959634780883789, -0.12268392741680145, -0.12379813939332962, -0.11273305118083954, -0.6808010339736938, -0.5379135608673096, 1.2982577085494995, 0.2868078649044037, 0.8591142296791077, 0.36099132895469666, 0.48118463158607483, 0.2878870964050293, 0.23129130899906158, -0.6538049578666687, 0.8660553693771362, 0.11360760033130646, -0.6299225091934204, -0.3515816926956177, -0.4771810472011566, -0.7680619359016418, 0.3400436341762543, 0.030271966010332108, -0.526419997215271, -0.022112399339675903, -0.35034146904945374, -0.22901490330696106, 0.4569227993488312, -0.3016298711299896, 0.3550805449485779, -0.237524151802063, -0.46621018648147583, -0.20718199014663696, -0.9411576390266418, 0.2093081921339035, -0.17908412218093872, 0.4988091289997101, 0.25916242599487305, -0.4860887825489044, 0.7148709297180176, 0.12831248342990875, 0.3975144624710083, -0.14157560467720032, -0.3087827265262604, 0.21270477771759033, 0.259359747171402, 0.3092198669910431, -0.25473058223724365, -0.2305915355682373, -0.2685428261756897, -0.0105091892182827, -0.33972427248954773, -0.5009075999259949, 0.9476520419120789, -0.5938735604286194, -0.8353245854377747, -0.24975843727588654, -0.5303941369056702, -0.3401542603969574, 0.4775640666484833, -0.03121737390756607, 0.18738655745983124, -0.05672423914074898, 0.2031179964542389, 1.2387384176254272, -0.2513733208179474, 0.32326948642730713, 0.6739826798439026, -0.6347989439964294, -0.13124476373195648, 0.6726091504096985, 0.19808520376682281, 0.19620168209075928, 0.6199788451194763, 0.006679742597043514, -0.5458085536956787, -0.5570389032363892, -0.1747926026582718, 0.4875958263874054, -0.9339303970336914, -0.2664410471916199, -0.40592172741889954, -0.1875341683626175, -0.2178592085838318, -0.015800893306732178, 0.015364068560302258, -0.24379754066467285, -0.10071167349815369, -0.20440562069416046, 0.20691664516925812, 1.3101580142974854, 0.14232678711414337, 0.23297961056232452, -0.7537246346473694, 0.14628516137599945, 0.34176892042160034, 0.25680866837501526, -0.1516668200492859, -0.5873419046401978, -0.1284732073545456, -0.16066104173660278, -0.40901345014572144, -0.9669654369354248, 0.2071763277053833, -0.09301884472370148, 0.42973726987838745, 0.150271937251091, -0.17045623064041138, 0.5319061875343323, -0.4615320563316345, 0.9725499153137207, -0.0008261905750259757, -0.5108820199966431, 0.5285249352455139, -0.6653379201889038, 0.521978497505188, 0.3322606682777405, 0.6076884865760803, -0.9990818500518799, 0.0963648334145546, -0.28060099482536316, -1.0754623413085938, 0.38453876972198486, -0.3689080476760864, -0.015041742473840714, 0.142332062125206, 0.8069797158241272, 0.007129464764147997, 0.5792325139045715, -0.5816115736961365, -0.13524924218654633, 0.2195121943950653, -0.007660996168851852, -0.046714916825294495, -0.23364712297916412, 0.018933065235614777, 0.0718298926949501, 0.8399341702461243, -0.23414094746112823, 0.3685019910335541, 0.1993265450000763, -0.056034527719020844, -0.10632820427417755, 0.4782925546169281, 0.30318352580070496, 0.73689204454422, -0.13642051815986633, 0.1673518568277359, -0.05626548454165459, -0.5455654859542847, 0.05688432976603508, 0.17617452144622803, -0.18504415452480316, -0.25213730335235596, -0.025043144822120667, 0.47450295090675354, 0.17916758358478546, -0.5708248615264893, 0.3539290428161621, 0.1075616106390953, -0.035321470350027084, -0.3907875418663025, -0.05186302587389946, 0.35166069865226746, 0.45364663004875183, 1.0824211835861206, -0.3685799837112427, 0.38210493326187134, -0.6284613013267517, -0.027258068323135376, 0.44589564204216003, -0.3903062343597412, -0.1783936470746994, 0.7098886966705322, 0.042034585028886795, -0.16198840737342834, 0.6510812640190125, 0.07442857325077057, -0.3566928803920746, 0.23125982284545898, 0.389670193195343, 0.5087312459945679, -0.42271140217781067, 0.06272939592599869, 0.16334490478038788, 0.4401569664478302, -0.042680371552705765, 0.34091633558273315, -0.162733256816864, -0.4567725360393524, -0.18532532453536987, -0.6708390712738037, -0.47887155413627625, 0.22020410001277924, -0.683445394039154, -0.011438923887908459, -0.3861200511455536, -0.25878751277923584, -0.008012610487639904, 0.08085290342569351, -0.7082337737083435, 0.21478959918022156, 0.30406272411346436, 1.2316938638687134, -0.44392359256744385, 0.5179218649864197, 1.0400934219360352, -0.3792383074760437, -0.3415769338607788, 0.15897241234779358, 0.2450142204761505, -0.7681215405464172, 0.8944502472877502, 0.042616989463567734, -0.24648258090019226, 0.3222901523113251, -0.7668213248252869, -1.154786467552185, 1.571876049041748, 0.01767902448773384, -0.43064311146736145, -0.4659591317176819, 0.33968400955200195, 0.5710123181343079, -0.3416760265827179, 0.2996021807193756, 0.6941766738891602, 0.4572007656097412, 0.017664577811956406, -1.0226211547851562, 0.07671879976987839, -0.05973203480243683, 0.40284353494644165, 0.3100685477256775, -0.6432990431785583, 0.7361988425254822, -0.07264961302280426, 0.0009171851561404765, 0.21370315551757812, 0.6296067833900452, 0.26598644256591797, 0.08818185329437256, 0.2723037302494049, 0.20948094129562378, 0.8609411120414734, -0.1907597780227661, 0.9367000460624695, -0.2825026512145996, 0.13493850827217102, 0.5221819877624512, -0.3917425870895386, 1.0204977989196777, 0.7542684078216553, -0.37796998023986816, 0.6956090331077576, 0.5976225137710571, 0.33443892002105713, 0.40881335735321045, 0.21941833198070526, -0.6366598010063171, -0.23529189825057983, -0.14776773750782013, -0.2769930362701416, 0.23778913915157318, 0.7913705110549927, -0.3000856637954712, -0.4196268618106842, -0.001651622587814927, -0.03236275911331177, 0.07044927775859833, -0.6667858362197876, 0.8878268599510193, 0.09431734681129456, -0.7529817819595337, 0.3242085874080658, -0.07604347914457321, 0.715700089931488, -0.7530469298362732, -0.022206760942935944, -0.1784815639257431, 0.004886563867330551, -0.07460661977529526, -1.1248819828033447, -0.24691654741764069, -0.23969726264476776, -0.22424307465553284, -0.08372298628091812, 0.76551753282547, -0.2138155996799469, -0.03723224624991417, 0.4598817825317383, 0.7418544888496399, 0.1549340933561325, -0.06952623277902603, -0.6971021890640259, 0.01707678847014904, 0.008754367008805275, -0.41537025570869446, 0.49471622705459595, 0.5653496980667114, -0.11234967410564423, 1.095409870147705, 0.5978643298149109, -0.15622104704380035, 0.28753647208213806, -0.30447301268577576, 0.9935906529426575, -0.9518715143203735, -0.5710033774375916, -0.6083492636680603, 0.0759294331073761, -0.04375789687037468, 0.0825427994132042, 0.7123659253120422, 0.6309356689453125, 0.4112163186073303, 0.11739925295114517, 1.0877926349639893, -0.058345720171928406, 0.7841091156005859, -0.37989112734794617, 0.5083303451538086, -0.5142297744750977, 0.5551736950874329, -0.17877602577209473, -1.0424869060516357, -0.07921964675188065, 0.11757586151361465, -0.575097918510437, 0.25838345289230347, 0.4268481135368347, 0.7878064513206482, -0.023836784064769745, 0.15306179225444794, 0.2561505138874054, 0.2910321056842804, 0.4670853912830353, 0.3176879584789276, 0.8185303807258606, -0.31744837760925293, 0.7390950918197632, 0.33969131112098694, -0.3700126111507416, -0.39160779118537903, -0.7519586086273193, -0.2304396629333496, -0.7403774261474609, 0.054191604256629944, -0.1700071394443512, 0.24688993394374847, 0.6747251749038696, 0.37660476565361023, -0.3896816372871399, -0.5195174217224121, -0.0446496419608593, -0.16370181739330292, 0.18817630410194397, -0.2473568618297577, 0.08673354238271713, -0.3849116861820221, -0.46920046210289, 0.5268740057945251, 0.5122783780097961, 0.04637443646788597, -0.49298229813575745, 0.04416825994849205, -0.3814658522605896, 0.10306661576032639, 0.6027950644493103, 0.4149801731109619, -0.45383578538894653, 0.005228414665907621, 0.3919217586517334, -0.21624507009983063, 0.12222372740507126, 0.6492332220077515, -0.9126092195510864, 0.45310357213020325, 0.2472725510597229, 0.793161928653717, 0.6096605658531189, 0.04209170490503311, 0.6322136521339417, -0.4027898609638214, -0.27072790265083313, 0.18261544406414032, 0.13324277102947235, 0.7602254748344421, -0.34099602699279785, 0.6608899831771851, 0.19727031886577606, -1.0000191926956177, -0.6942575573921204, 0.2590641975402832, -0.8366695642471313, -0.24260163307189941, 1.137657880783081, 0.2013367861509323, -0.25214576721191406, -0.2063351720571518, -0.20023739337921143, -0.06164637580513954, -0.17929287254810333, 0.7719869017601013, 0.7842780947685242, -0.19614598155021667, -0.19041591882705688, -1.0792547464370728, 0.4114736020565033, 0.1536865383386612, -0.8730043768882751, -0.0371207557618618, 0.48417338728904724, 0.42954686284065247, 0.5753945112228394, 0.5184138417243958, -0.35960787534713745, 0.10932218283414841, -0.45187410712242126, -0.0748111680150032, 0.33561190962791443, -0.15602581202983856, -0.18643294274806976, 0.3472481966018677, 0.41217881441116333, 0.09776125103235245 ]
http://arxiv.org/abs/2402.05294v1
http://arxiv.org/pdf/2402.05294v1
Examining Modality Incongruity in Multimodal Federated Learning for Medical Vision and Language-based Disease Detection
2024-02-07T22:16:53
2024-02-07T22:16:53
Pramit Saha, Divyanshu Mishra, Felix Wagner, Konstantinos Kamnitsas, J. Alison Noble
cs.LG
cs.LG, cs.AI, cs.CL, cs.CV
Multimodal Federated Learning (MMFL) utilizes multiple modalities in each client to build a more powerful Federated Learning (FL) model than its unimodal counterpart. However, the impact of missing modality in different clients, also called modality incongruity, has been greatly overlooked. This paper, for the first time, analyses the impact of modality incongruity and reveals its connection with data heterogeneity across participating clients. We particularly inspect whether incongruent MMFL with unimodal and multimodal clients is more beneficial than unimodal FL. Furthermore, we examine three potential routes of addressing this issue. Firstly, we study the effectiveness of various self-attention mechanisms towards incongruity-agnostic information fusion in MMFL. Secondly, we introduce a modality imputation network (MIN) pre-trained in a multimodal client for modality translation in unimodal clients and investigate its potential towards mitigating the missing modality problem. Thirdly, we assess the capability of client-level and server-level regularization techniques towards mitigating modality incongruity effects. Experiments are conducted under several MMFL settings on two publicly available real-world datasets, MIMIC-CXR and Open-I, with Chest X-Ray and radiology reports.
[ -0.09676448255777359, -0.7579456567764282, 0.2432023286819458, 0.12080961465835571, -0.1167149543762207, -0.19668865203857422, 0.011356833390891552, -0.7381781935691833, 0.32819461822509766, 0.14353790879249573, -0.6467731595039368, -0.11074841767549515, -0.3561198115348816, 0.28157904744148254, 0.1802935004234314, 0.9414446353912354, 0.09942968189716339, 0.41426268219947815, -0.4143904447555542, -0.5403050780296326, -0.4149937927722931, -0.4683833718299866, -0.36634835600852966, -0.39610570669174194, 0.5141002535820007, 0.4592772126197815, 1.0367019176483154, 0.7475996613502502, 0.7289422750473022, 0.22620563209056854, 0.41325366497039795, 0.22551186382770538, -0.37708890438079834, 0.06910385936498642, 0.05360780283808708, -0.4227310121059418, -0.5073432326316833, 0.18679781258106232, 0.6469401717185974, 1.0086891651153564, 0.08920285850763321, -0.006233586464077234, -0.23902584612369537, 0.5438066720962524, -0.5047001242637634, 0.2381448596715927, -0.2063240110874176, 0.6585866808891296, -0.3899606764316559, -0.4559784531593323, -0.21700961887836456, 0.2967401444911957, 0.28265824913978577, -0.481993705034256, 0.2841527760028839, 0.04480420798063278, 0.5871822237968445, 0.37389957904815674, -0.7273440361022949, -0.3113786578178406, -0.4305712878704071, 0.4360324740409851, -0.5113864541053772, 0.7004232406616211, 0.5243754982948303, 0.22833994030952454, -0.12038290500640869, -0.5911663174629211, -0.3629608154296875, -0.3759406805038452, -0.40436190366744995, 0.331205815076828, -0.04697399213910103, 0.22467586398124695, 0.12016589194536209, 0.5059329271316528, -0.7777373790740967, 0.12633225321769714, -0.2589136064052582, -0.5325098037719727, 0.4191107451915741, 0.19070257246494293, 0.32264280319213867, -0.3168012797832489, -0.7087825536727905, 0.0847720354795456, -0.47386860847473145, 0.09576936066150665, 0.29636332392692566, 0.2347736805677414, -0.41226816177368164, 0.38844650983810425, -0.1694256067276001, 0.5622255206108093, 0.1274348944425583, -0.6744452714920044, 0.5285791158676147, -0.7088510990142822, -0.4823016822338104, -0.1147676333785057, 0.687475860118866, -0.11892068386077881, -0.49429261684417725, -0.2451954483985901, -0.1771940439939499, -0.2346639335155487, -0.08206166326999664, -0.4508056640625, -0.31143292784690857, 0.17435120046138763, -0.9293337464332581, -0.31037023663520813, -0.06410974264144897, -0.38331741094589233, -0.2118244618177414, -0.2470986396074295, 0.5765483975410461, -0.6189220547676086, -0.5283346772193909, -0.11514807492494583, 0.06003561615943909, -0.12889452278614044, 0.4229731857776642, -0.6852911710739136, -0.08740272372961044, 0.34016406536102295, 0.6339176297187805, 0.026709115132689476, -0.4951862692832947, -0.7503842115402222, 0.0978020504117012, 0.08327092230319977, 0.5101331472396851, -0.6174652576446533, -0.19067953526973724, -0.29187434911727905, 0.0973878800868988, -0.5835828185081482, -0.48462894558906555, 0.2894788682460785, -0.12298411130905151, 0.4866184592247009, -0.13770079612731934, -0.3615664839744568, -0.2913497984409332, 0.3747270405292511, -0.8013172149658203, 0.4961666166782379, 0.24854275584220886, -0.5072160959243774, 0.4596455991268158, -0.507915198802948, -0.5452410578727722, 0.11878687888383865, -0.5013452768325806, -0.5177266597747803, 0.19275082647800446, -0.1658915877342224, 0.573550820350647, -0.21354304254055023, 0.1789247840642929, -0.46260935068130493, -0.29256612062454224, 0.47558143734931946, -0.7693597078323364, 0.7418801784515381, 0.2398761659860611, -0.3692249357700348, -0.04878449812531471, -0.8519684076309204, -0.17191018164157867, 0.010216845199465752, -0.41137057542800903, -0.2561509907245636, -0.16321136057376862, 0.2933671772480011, 0.45074209570884705, -0.038847342133522034, -0.35307732224464417, -0.022961167618632317, -0.3738234341144562, 0.2883255183696747, 0.5953277945518494, -0.1437263935804367, 0.01605374552309513, -0.7478553056716919, 0.514125645160675, 0.43378156423568726, 0.7108286619186401, -0.37149778008461, -0.3062064051628113, -0.2976144850254059, -0.8397102355957031, -0.11270193755626678, 0.08984755724668503, -1.0383262634277344, -0.21757517755031586, -0.08361944556236267, -0.03832291439175606, -0.5959775447845459, 0.0211106538772583, 0.7958396077156067, 0.6115074157714844, 0.32005491852760315, -0.5176225304603577, -0.2167908400297165, -0.9403359889984131, 0.02705409564077854, -0.06013414263725281, 0.3335111141204834, 0.4217110276222229, 0.2003827840089798, -0.5575805902481079, 0.5023805499076843, 0.046556733548641205, -0.8224180340766907, 0.09776590019464493, 0.1049528643488884, -0.0886593833565712, 0.4238619804382324, 0.7156568169593811, -1.0229573249816895, -0.3529050350189209, 0.16460813581943512, -0.7538855671882629, 0.0629916563630104, -0.25084006786346436, 0.4374226927757263, 0.41475704312324524, 0.2576548457145691, -0.11916036903858185, 0.38214293122291565, 0.7249166965484619, -0.5472615957260132, 0.6001744270324707, -0.3038075268268585, 0.40151646733283997, -0.7012795805931091, 0.15775726735591888, -0.08093101531267166, -0.3642841577529907, -0.7271806001663208, 0.17492541670799255, 0.052939195185899734, -0.16505388915538788, -0.19390222430229187, 0.23898068070411682, -0.5928139686584473, -0.15404388308525085, -0.009455647319555283, -0.3343085050582886, 0.14866900444030762, 0.5073270201683044, -0.3891339600086212, 0.7073808312416077, 0.4587320387363434, -0.21934890747070312, 0.06972034275531769, 0.04254700616002083, 0.10463322699069977, 0.7384911775588989, -0.25451523065567017, -0.14135096967220306, -0.27616623044013977, 0.10371042788028717, -1.0997462272644043, -0.4620715081691742, 0.47664526104927063, -0.3097250759601593, 0.47806206345558167, 0.001038925489410758, -0.6157274842262268, -0.1418951004743576, -0.32851442694664, 0.8057745099067688, -0.235060453414917, -0.3474482297897339, 0.599314272403717, 0.22845089435577393, 0.3890219032764435, -0.45107340812683105, -0.8736299276351929, -0.16387271881103516, 0.06888609379529953, -0.7810035347938538, -0.035402536392211914, -0.5015215277671814, 0.009969357401132584, -0.018674880266189575, -0.21626289188861847, -0.22145284712314606, 0.27086588740348816, 0.47171080112457275, 0.16644622385501862, -0.39491552114486694, 0.5886816382408142, -0.0821790024638176, 0.07629114389419556, -0.16896721720695496, 0.04760327190160751, 0.3847723603248596, -0.2390325665473938, -0.9762058854103088, -0.5210171341896057, 0.6195384860038757, 0.8137646317481995, -0.2640218436717987, 0.38688868284225464, 0.8022051453590393, -0.182092547416687, 0.13345415890216827, -0.690132200717926, -0.15142309665679932, -0.40628308057785034, 0.2103421688079834, -0.5586189031600952, -1.0189205408096313, 0.39067986607551575, 0.2714182734489441, -0.29834848642349243, 0.18056359887123108, 0.5137858390808105, 0.023453740403056145, 0.8558580279350281, 0.8700292706489563, 0.14888827502727509, 0.5545536875724792, 0.007321322802454233, 0.1030498817563057, -0.5718088150024414, -0.39346176385879517, 0.06756335496902466, -0.3529939353466034, -0.397759348154068, -0.46404731273651123, 0.7613410949707031, -0.27737829089164734, 0.27188605070114136, -0.2742466330528259, -0.3224364221096039, 0.19476330280303955, 0.24790535867214203, 0.5364996194839478, 0.6889181733131409, 0.055205438286066055, -0.2928658425807953, -0.16523240506649017, -0.8561640977859497, 0.3033454716205597, 1.1458032131195068, 0.32465457916259766, 0.5305171012878418, 0.3332618474960327, 0.3490055203437805, 0.5681944489479065, 0.4811016917228699, -0.8082868456840515, 0.07033686339855194, -0.15393830835819244, -0.5592711567878723, -0.11171168833971024, -0.6237903833389282, -0.8499078750610352, 0.523516058921814, -0.4114866554737091, -0.23158475756645203, 0.6800034046173096, 0.2350306212902069, -0.2514672577381134, 0.06110510230064392, -0.7224529385566711, 0.8773261904716492, -0.2269054502248764, -0.311122864484787, -0.23696035146713257, -0.9185205698013306, 0.5577518343925476, -0.15645189583301544, 0.359573632478714, -0.16503380239009857, 0.04844990745186806, 0.0688730925321579, -0.3652874827384949, 0.9342420697212219, 0.062444306910037994, -0.011425028555095196, -0.40835151076316833, 0.012611780315637589, 0.10048671066761017, 0.24288152158260345, 0.15556250512599945, 0.28775888681411743, 0.002468036487698555, -0.4638952910900116, -0.1626356989145279, 0.7129757404327393, -0.7071491479873657, -0.3479931950569153, -0.5148285627365112, -0.9497028589248657, -0.3163415193557739, 0.20802536606788635, 0.2902625501155853, 1.0292123556137085, 0.07121088355779648, 0.06975387036800385, 0.8182685375213623, 0.10600932687520981, 0.4952557682991028, 0.7958117127418518, 0.11419346928596497, -0.4593537747859955, 0.9033198952674866, 0.29872366786003113, 0.574526846408844, 0.43674853444099426, 0.17108558118343353, 0.21619205176830292, -0.4338668882846832, -0.433296263217926, 0.5244528651237488, -0.688994288444519, -0.25084996223449707, -0.791617751121521, -0.01913500390946865, -0.45353880524635315, 0.018322408199310303, -0.2144838273525238, -0.14541609585285187, -0.4275408089160919, 0.3976214528083801, 0.04718999192118645, 0.2783859372138977, -0.36344754695892334, 0.0016487283864989877, -0.6664587259292603, -0.01678469404578209, 0.23530149459838867, 0.3854356110095978, -0.002977194031700492, -0.20093771815299988, -0.38828468322753906, 0.16559506952762604, 0.005969244986772537, -0.6779971718788147, 0.025603096932172775, 0.5295560956001282, 0.6485505700111389, 0.821134626865387, -0.18121139705181122, 0.755569577217102, -0.08704118430614471, 0.24934187531471252, 0.6084427833557129, -0.621763288974762, 0.23525267839431763, -0.32463738322257996, 0.28571799397468567, 0.4580843448638916, 0.3218079209327698, -0.5399147868156433, -0.33049634099006653, -0.5708674788475037, -0.3725361227989197, 0.600487232208252, -0.04826376214623451, -0.14754511415958405, -0.11381678283214569, 0.13609610497951508, 0.5345069169998169, 0.19474169611930847, -0.8101754188537598, -0.536796510219574, -0.32292595505714417, -0.0736304521560669, 0.027472885325551033, -0.2029111683368683, -0.5084145069122314, -0.21567288041114807, 0.25644877552986145, -0.44519099593162537, 0.4048885703086853, 0.6530309915542603, -0.3471812605857849, -0.48320335149765015, -0.006320342421531677, 0.8074133396148682, 0.6428407430648804, 0.04073326662182808, 0.16756831109523773, -0.4041469991207123, -0.6367673277854919, -0.05632065609097481, 0.32473647594451904, 0.01960637792944908, 0.11481978744268417, 0.6313099265098572, 0.6814961433410645, 0.3623833954334259, -0.8077474236488342, 0.8698555827140808, 0.015844812616705894, -0.2187613695859909, -0.031384631991386414, -0.08006492257118225, -0.4169723391532898, 0.5736908912658691, 0.42785587906837463, 0.4027416706085205, 0.39765021204948425, -0.8830372095108032, 0.37286150455474854, 0.731311023235321, -0.6688613891601562, -0.4672183692455292, 0.6410129070281982, -0.03147545084357262, 0.1658753603696823, 0.15688446164131165, 0.10465948283672333, -0.09681224077939987, 0.48458927869796753, 0.5714670419692993, 0.40866345167160034, -0.2492067664861679, 0.4527354836463928, -0.25087741017341614, 0.45802977681159973, 0.19933761656284332, 0.1322094053030014, -0.3450011909008026, -0.592913031578064, -0.3016728162765503, -0.19543591141700745, -0.24468953907489777, 0.03863817825913429, -0.46257084608078003, -0.029842181131243706, -0.4516765773296356, -0.10422986000776291, 0.12222081422805786, -0.03480762988328934, -0.6791814565658569, 0.17395353317260742, 0.13823947310447693, 0.5050961375236511, -0.9375422596931458, 0.8528562784194946, 0.8389405012130737, -0.7913070321083069, -0.8120825886726379, 0.20056919753551483, 0.3294515907764435, -0.901296854019165, 0.5189210176467896, 0.2691970467567444, 0.03248197212815285, -0.10981494188308716, -0.2605908513069153, -0.9539800882339478, 1.3069504499435425, 0.293781042098999, -0.10774759203195572, 0.16218094527721405, 0.33932772278785706, 0.48490405082702637, -0.37055668234825134, 0.2000669240951538, 0.13071247935295105, 0.29807963967323303, 0.11240074783563614, -1.207604169845581, 0.23012299835681915, -0.2360803186893463, -0.14478255808353424, 0.24917660653591156, -0.9350271821022034, 1.1130834817886353, -0.12067212164402008, -0.34267473220825195, -0.2844846844673157, 0.16835440695285797, -0.27369868755340576, 0.6334537863731384, 0.3096904456615448, 0.5538060069084167, 0.7295474410057068, 0.13746941089630127, 0.8279651403427124, -0.016422241926193237, 0.29045742750167847, 0.8419327139854431, -0.07568302750587463, 0.13925772905349731, 0.5539332628250122, 0.052771564573049545, 0.259628564119339, 0.2957262098789215, 0.14711588621139526, 0.44304782152175903, -0.37702038884162903, -0.3082770109176636, -0.14102715253829956, -0.2177654504776001, -0.6666478514671326, 0.6159704923629761, 0.25937825441360474, -0.40215781331062317, -0.4398477375507355, 0.8430491089820862, 0.10151182115077972, -0.2642529010772705, -0.15347492694854736, 0.6805307269096375, -0.19006918370723724, -0.1358579695224762, 0.6295684576034546, -0.22710265219211578, 0.6532346606254578, -0.679888904094696, 0.03410479798913002, -0.6224700808525085, 0.14875800907611847, -0.37604936957359314, -0.09208201617002487, 0.20536509156227112, -0.8386437892913818, -0.5326040387153625, 0.015054361894726753, 0.6744405627250671, -0.6041986346244812, -0.19399388134479523, 0.24069780111312866, 0.7391918897628784, -0.029129136353731155, 0.11335020512342453, -0.586239218711853, 0.18404603004455566, -0.07195114344358444, 0.03307003527879715, 0.729580283164978, 0.7084780335426331, -0.00025723312865011394, 0.6928818821907043, 0.786994457244873, -0.09650928527116776, -0.030661961063742638, -0.1487267166376114, 0.9186122417449951, -0.2074822187423706, -0.28102484345436096, -0.56239253282547, 0.24274058640003204, 0.14941249787807465, -0.35883191227912903, 0.7381565570831299, 0.38336101174354553, 0.8922789096832275, -0.012402079999446869, 0.3321099579334259, -0.0666201114654541, 0.0020509776659309864, -0.40191641449928284, 0.7476736307144165, -1.0835925340652466, 0.23137326538562775, -0.02345130406320095, -0.22016002237796783, -0.5820691585540771, 0.30560240149497986, -0.006766423583030701, -0.4030693769454956, 0.8615507483482361, 0.7498100996017456, -0.3240974545478821, -0.0012910255463793874, 0.7537218332290649, 0.1882404088973999, 0.09899166226387024, 0.4897679090499878, 0.2839297354221344, -0.3120390474796295, 0.4300670921802521, -0.4518427550792694, -0.48787543177604675, -0.6745443940162659, -0.5169367790222168, -0.8131310939788818, -0.6060265302658081, -0.34950995445251465, -0.13139422237873077, -0.04414772614836693, 1.0188837051391602, 0.6797997951507568, -0.4939398467540741, 0.013702042400836945, 0.2529285252094269, 0.09114935249090195, -0.42837029695510864, -0.25313422083854675, 0.264514297246933, -0.38458186388015747, -0.2809772491455078, 0.5491359233856201, 0.7703071236610413, 0.14278100430965424, -0.45690134167671204, 0.22028343379497528, -0.37699782848358154, -0.254586398601532, 0.6807841658592224, 0.292388916015625, -0.6260673999786377, -0.3146398663520813, -0.12379789352416992, -0.3750654458999634, 0.33664843440055847, 0.894994854927063, -0.7166571617126465, 0.9340439438819885, 0.18615710735321045, 0.5733358263969421, -0.09336497634649277, -0.3405984044075012, 0.2762810289859772, -0.7959511876106262, 0.385021448135376, 0.34280332922935486, 0.4575977325439453, 0.17306794226169586, -0.6981640458106995, 0.5252264142036438, 0.8783149719238281, -0.38021981716156006, -0.8423157930374146, 0.4278849959373474, -0.9759044647216797, -0.37207338213920593, 0.8083570599555969, -0.10320721566677094, 0.04924864321947098, -0.3875306248664856, 0.04111037030816078, 0.02777249924838543, -0.10977868735790253, 0.8169255256652832, 0.4266209304332733, -0.3903701603412628, -0.20657674968242645, -0.47254398465156555, 0.4256002604961395, 0.5455232858657837, -0.5962197780609131, -0.36195018887519836, 0.916480541229248, 0.4264848232269287, 0.11711534857749939, 0.9349308609962463, -0.18191906809806824, 0.5547943115234375, -0.15283721685409546, -0.20322740077972412, -0.5580439567565918, -0.3014639914035797, -0.37739264965057373, 0.427693247795105, -0.3646874725818634, -0.005891686305403709 ]
http://arxiv.org/abs/2402.05282v1
http://arxiv.org/pdf/2402.05282v1
TreeForm: End-to-end Annotation and Evaluation for Form Document Parsing
2024-02-07T21:54:53
2024-02-07T21:54:53
Ran Zmigrod, Zhiqiang Ma, Armineh Nourbakhsh, Sameena Shah
cs.CL
cs.CL
Visually Rich Form Understanding (VRFU) poses a complex research problem due to the documents' highly structured nature and yet highly variable style and content. Current annotation schemes decompose form understanding and omit key hierarchical structure, making development and evaluation of end-to-end models difficult. In this paper, we propose a novel F1 metric to evaluate form parsers and describe a new content-agnostic, tree-based annotation scheme for VRFU: TreeForm. We provide methods to convert previous annotation schemes into TreeForm structures and evaluate TreeForm predictions using a modified version of the normalized tree-edit distance. We present initial baselines for our end-to-end performance metric and the TreeForm edit distance, averaged over the FUNSD and XFUND datasets, of 61.5 and 26.4 respectively. We hope that TreeForm encourages deeper research in annotating, modeling, and evaluating the complexities of form-like documents.
[ -0.1468229442834854, -0.9730672240257263, 0.27893441915512085, 0.22570838034152985, -0.3285287022590637, 0.3048120439052582, -0.16859406232833862, -0.6464082598686218, -0.0012420739512890577, -0.06404091417789459, -0.5985919237136841, -0.5450573563575745, -0.48807740211486816, 0.14030836522579193, -0.32491612434387207, 0.6458766460418701, -0.28796905279159546, -0.16259002685546875, -0.8212569355964661, -0.06743932515382767, -0.10108480602502823, -0.49344152212142944, -0.473417729139328, 0.1490686982870102, 0.43991416692733765, 0.19025357067584991, 0.8645022511482239, 0.7087327837944031, 0.6078084111213684, 0.2395271360874176, -0.5383502840995789, 0.050945546478033066, -0.4925837218761444, 0.3098810315132141, 0.09580275416374207, -0.45753633975982666, -0.5433828234672546, -0.039705485105514526, 0.8204923868179321, 0.6968004703521729, 0.14245975017547607, 0.3247022032737732, -0.23217429220676422, 0.4819066524505615, -0.7053393721580505, 0.5191442966461182, -0.338296115398407, 0.34441688656806946, -0.40826162695884705, -0.24364937841892242, -0.4746028184890747, -0.09694332629442215, -0.002170831896364689, -1.2011547088623047, 0.3386058807373047, 0.0827287957072258, 1.0821490287780762, 0.14586207270622253, 0.12347014993429184, 0.23039740324020386, -0.49903255701065063, 0.1562058925628662, -0.3460922837257385, 0.8097953200340271, 0.4782848656177521, 0.8320407867431641, -0.011170264333486557, -0.7200774550437927, -0.595462441444397, -0.16753804683685303, -0.21538469195365906, 0.18976545333862305, -0.43336957693099976, 0.395244300365448, 0.26883092522621155, 0.6216411590576172, -0.5291731357574463, 0.07026175409555435, -0.31832411885261536, -0.28772351145744324, 0.5410584807395935, -0.10293229669332504, 0.3221455514431, -0.4713008999824524, -0.2039729505777359, -0.32584890723228455, -0.4181050658226013, 0.7405866384506226, 0.27405086159706116, 0.0723690390586853, -0.1973632425069809, 0.5118812918663025, -0.35236606001853943, 0.7318930625915527, -0.24531497061252594, -0.014403983019292355, 0.3055640459060669, -0.2143072932958603, -0.8765865564346313, 0.025724783539772034, 0.6039102673530579, 0.303254097700119, 0.16383333504199982, -0.3352251350879669, -0.19506528973579407, -0.11193374544382095, -0.06312669813632965, -0.8574894666671753, -0.049464572221040726, -0.20800352096557617, -0.5346519947052002, -0.5529871582984924, 0.21936644613742828, -0.4133082926273346, -0.34532323479652405, -0.2726500928401947, 0.3031080663204193, -0.4603978395462036, -0.24805636703968048, 0.028096185997128487, -0.27590081095695496, 0.2687278985977173, 1.0586012601852417, -0.5436040759086609, 0.4919632375240326, 0.786853551864624, 1.0015404224395752, 0.06153182312846184, -0.20335817337036133, -0.8929780125617981, 0.005627835169434547, -0.24769854545593262, 1.0817844867706299, -0.8195582032203674, -0.4526306688785553, -0.3879935145378113, 0.06898777186870575, 0.010815833695232868, -0.3227446973323822, 0.8066161870956421, -0.12172780185937881, 0.4423757791519165, -0.0019976391922682524, -0.24996238946914673, -0.6081534624099731, 0.18104670941829681, -0.8284581899642944, 1.267790675163269, 0.9081447720527649, -0.6062076687812805, 0.7543222308158875, -0.5994628667831421, -0.4414021074771881, 0.41427740454673767, -0.3106061518192291, -0.5199341773986816, 0.38310158252716064, 0.08624107390642166, 0.4244881570339203, -0.2451542764902115, 0.2989323139190674, -0.5314911603927612, -0.3123800456523895, -0.11274807900190353, -0.6297383904457092, 0.5436240434646606, 0.09046260267496109, -0.31484371423721313, 0.6729740500450134, -0.9532483816146851, -0.06300538033246994, -0.07383961975574493, -0.14902913570404053, -0.33541080355644226, -0.3133810758590698, 0.403359979391098, 0.21486349403858185, -0.14615346491336823, -0.5992115139961243, 0.2898661196231842, -0.2889036238193512, 0.5729005932807922, 0.60679030418396, -0.20330743491649628, 0.07389018684625626, -0.1879284381866455, 0.836585283279419, -0.15819759666919708, 0.37317848205566406, -0.40824511647224426, -0.476055383682251, -0.36916518211364746, -0.4380439519882202, 0.1681416779756546, 0.13013362884521484, -0.045153819024562836, 0.1667708158493042, -0.38972151279449463, -0.5840890407562256, -0.5365642309188843, -0.007781003601849079, 0.2599990665912628, 0.6567211151123047, 0.1915472447872162, -0.3257826268672943, -0.47812846302986145, -0.8005965352058411, 0.08220931887626648, -0.46074914932250977, 0.29352831840515137, 0.23462536931037903, 0.19388610124588013, -0.2210373729467392, 1.0226136445999146, -0.21432141959667206, -0.3207244575023651, 0.051674213260412216, 0.04021775349974632, -0.2736891806125641, 0.23512326180934906, 0.7627943158149719, -0.6962810754776001, -0.2392803281545639, 0.2228083312511444, -0.3330397307872772, -0.13348866999149323, -0.15218216180801392, -0.19095000624656677, 0.032734181731939316, 0.38165703415870667, -0.7273886799812317, 0.7738131880760193, 0.25888851284980774, -0.8489178419113159, 0.5019739866256714, -0.035178668797016144, 0.26665833592414856, -0.44586697220802307, 0.30062729120254517, 0.05284562334418297, -0.5161288380622864, -0.05289240553975105, -0.062164463102817535, 0.105071522295475, -0.040287215262651443, -0.3458070158958435, 0.4818963408470154, -0.46151646971702576, -0.2755194306373596, 0.23578493297100067, -0.06837841868400574, 0.4646850824356079, 0.20546388626098633, 0.08258814364671707, 0.7226232886314392, 0.44072431325912476, 0.16951780021190643, 0.13054589927196503, 0.22686520218849182, -0.17422078549861908, 0.5528733730316162, -0.5218103528022766, -0.22625970840454102, -0.45354536175727844, 0.31600233912467957, -1.372196078300476, -0.14076381921768188, 0.0435270220041275, -0.5839329957962036, 0.20274528861045837, 0.1215231716632843, -0.4586055278778076, -0.12147436290979385, -0.6873906254768372, 0.4249417781829834, 0.16007184982299805, -0.33130690455436707, 0.5550938844680786, -0.046188145875930786, -0.0896521657705307, -0.14583562314510345, -0.4211689531803131, 0.07787556946277618, -0.07200194150209427, -1.0112093687057495, 0.6434555649757385, 0.014078902080655098, -0.1300649493932724, 0.10556167364120483, -0.398110955953598, -0.1692960262298584, 0.4818583130836487, 0.7303986549377441, -0.15679116547107697, -0.6499739289283752, 0.009242196567356586, 0.4315468370914459, 0.007992769591510296, 0.11996021866798401, 0.17745277285575867, 0.024663880467414856, -0.26178988814353943, -0.2568945586681366, -0.36868804693222046, 0.17684748768806458, 0.8305176496505737, -0.6106114387512207, 0.28055381774902344, 0.48632004857063293, -0.8170311450958252, -0.10781697183847427, -0.33128058910369873, 0.37863224744796753, -0.3352462351322174, 0.24675409495830536, -0.7332226634025574, -1.0394822359085083, 0.26250937581062317, -0.008732428774237633, 0.24534834921360016, 0.8672952651977539, 0.16772262752056122, 0.007540943566709757, 0.676520824432373, 0.8163978457450867, 0.5211834907531738, 0.4583970904350281, -0.3317910432815552, -0.09138043969869614, -0.5765335559844971, -0.7618095874786377, -0.5629865527153015, -0.21853314340114594, 0.088063083589077, -0.6306270956993103, -0.003592451335862279, 0.878649890422821, -0.009499273262917995, 0.24242891371250153, -0.48661932349205017, 0.1993444859981537, 0.3250889182090759, -0.272553414106369, 0.5067554116249084, 0.20304042100906372, -0.13919515907764435, -0.006042968947440386, -0.39969825744628906, -0.5342966914176941, 0.7214718461036682, 0.6994402408599854, 0.34555232524871826, 0.1288699209690094, 0.44396737217903137, 0.4093000888824463, 0.7343348264694214, -0.8288082480430603, 0.09022200852632523, -0.022674163803458214, -0.03984125331044197, -0.5947270393371582, -0.07517796009778976, -0.5973166227340698, 0.28778940439224243, -0.22969673573970795, -0.6938018202781677, 0.09485597163438797, -0.05798228457570076, -0.49583879113197327, 0.050169214606285095, -0.8503735065460205, 1.2925747632980347, -0.2888617217540741, -0.2390829175710678, 0.12283280491828918, -0.3916684091091156, 0.2845692038536072, 0.10322055220603943, 0.3493700921535492, -0.20045413076877594, 0.014970684424042702, 0.872353196144104, -0.5876088738441467, 0.4921393394470215, -0.26267650723457336, -0.041840896010398865, 0.256185382604599, 0.18795186281204224, -0.0268536563962698, 0.38374146819114685, -0.10496014356613159, -0.014343969523906708, 0.2980835735797882, -0.024802932515740395, -0.8964976072311401, 0.3251969814300537, -0.6900899410247803, -0.3553067445755005, -0.4032539129257202, -0.20836418867111206, -0.0756574347615242, 0.2672809362411499, -0.04483296349644661, 0.2765018939971924, -0.4321196675300598, 0.41775885224342346, 0.2534432113170624, 0.06641845405101776, 0.4029829502105713, 0.27475258708000183, -0.4052571654319763, -0.6185793876647949, 0.48680874705314636, -0.07559160888195038, -0.04554510489106178, 0.7084423303604126, 0.354240357875824, -0.6085251569747925, -0.4456987679004669, -0.821820855140686, -0.11322665214538574, -0.6195337176322937, -0.5127412676811218, -0.8011953234672546, -0.23488976061344147, -0.4874625504016876, -0.2545958459377289, -0.04020579531788826, -0.7625558376312256, -0.2637680172920227, -0.5829315781593323, 0.6756529808044434, 0.706028938293457, 0.04180344194173813, 0.4535983204841614, -0.4253038465976715, 0.3960876762866974, -0.11371170729398727, 0.8741162419319153, 0.0107313496991992, -0.3418164551258087, 0.09468214958906174, -0.2732062041759491, -0.3105100393295288, -0.8228310942649841, -0.15822844207286835, 0.5628406405448914, 0.7851573824882507, 0.4274778962135315, -0.3803919553756714, 1.0389556884765625, -0.255941778421402, 0.6271910667419434, 0.3298531174659729, -0.9511641263961792, 0.7226830124855042, -0.04400372877717018, -0.035322677344083786, 0.739850640296936, 0.09999015182256699, -0.5522637367248535, -0.09152520447969437, -0.761239230632782, -0.6327203512191772, 0.5831477046012878, 0.26643556356430054, -0.2659062147140503, 0.32133662700653076, 0.33773526549339294, 0.505429744720459, 0.005318706389516592, -0.6393768191337585, 0.07412932068109512, -0.49967798590660095, -0.1401681751012802, -0.009163912385702133, -0.13251543045043945, 0.24957674741744995, -0.7200036644935608, 0.3035815954208374, -0.09316331893205643, -0.07949226349592209, 0.4212080240249634, -0.2510747015476227, -0.5675119161605835, 0.16550420224666595, 0.6174290180206299, 0.702555775642395, -0.3478756248950958, 0.1591450572013855, -0.2327095866203308, -0.6066110134124756, 0.15833668410778046, 0.5871766209602356, -0.2994057536125183, 0.27079394459724426, 0.7054626941680908, 0.9623953104019165, 0.17164430022239685, -0.6535494923591614, 0.786257803440094, -0.2519459128379822, -0.3492744266986847, -0.07916576415300369, 0.11718636751174927, -0.13317428529262543, -0.2351856678724289, 0.16101126372814178, 0.05764148756861687, 0.218040332198143, -0.40412092208862305, 0.36280837655067444, 0.2863675355911255, -0.7882164120674133, -0.43243318796157837, 0.8312325477600098, 0.32793840765953064, -0.3890500068664551, 0.10656102746725082, -0.17721150815486908, -0.2740701138973236, 0.5082656145095825, 0.3571779429912567, 1.170257806777954, -0.1685778796672821, 0.5535359978675842, 0.2207503318786621, 0.3057895600795746, 0.4176677465438843, 0.28735533356666565, -0.7023602724075317, 0.10835075378417969, -0.56670743227005, -1.166619062423706, -0.14517302811145782, 0.31200453639030457, -0.3475162386894226, 0.5002288222312927, -0.6956631541252136, 0.1956130564212799, 0.3039746582508087, 0.055381957441568375, -0.6610721349716187, 0.6369847655296326, 0.19943194091320038, 1.2706830501556396, -0.6963268518447876, 0.38305607438087463, 0.9947286248207092, -0.5865727066993713, -0.7601879835128784, -0.27590084075927734, -0.017694780603051186, -0.5677705407142639, 0.7250059843063354, 0.5951145887374878, -0.13062012195587158, -0.32287880778312683, 0.023725833743810654, -0.6357361078262329, 1.1817641258239746, 0.4440833628177643, -0.5762888193130493, -0.43085217475891113, 0.2680731415748596, 0.5292818546295166, -0.29837915301322937, 0.8122894167900085, 0.37267494201660156, 0.5293440222740173, 0.011816613376140594, -0.9181683659553528, 0.1892649382352829, -0.6684151291847229, 0.08486825972795486, 0.08985934406518936, -0.4627738296985626, 0.4730243384838104, -0.008586754091084003, -0.43728458881378174, -0.14293663203716278, 0.8350138068199158, 0.05759834870696068, 0.4025137722492218, 0.7084018588066101, 0.7464790940284729, 0.6411342024803162, -0.03737376630306244, 0.7467272877693176, -0.096359483897686, 0.2845621705055237, 0.8318583369255066, 0.0745762437582016, 0.6475940346717834, 0.3833731412887573, -0.17860761284828186, 0.3821530342102051, 0.7409506440162659, 0.20342719554901123, 0.16032855212688446, 0.6105806231498718, 0.00021643498621415347, -0.21928644180297852, -0.15568767488002777, -0.44378790259361267, 0.5039549469947815, 0.29300734400749207, -0.4196318984031677, -0.7075065970420837, -0.05754268914461136, 0.13925579190254211, 0.3649795949459076, -0.03976023569703102, 0.6926125884056091, -0.05350745469331741, -0.40364667773246765, 0.4683750867843628, 0.25392547249794006, 0.38540521264076233, -0.5484912991523743, -0.393428772687912, -0.08698396384716034, -0.3299528658390045, -0.49452751874923706, -0.9866068363189697, 0.3356580436229706, 0.15391817688941956, -0.25009217858314514, -0.39918845891952515, 0.5881777405738831, -0.07625450193881989, -0.6004499197006226, 0.2886327803134918, 0.3762684762477875, -0.0805157870054245, -0.4153170585632324, -0.560909628868103, 0.36923548579216003, -0.20966969430446625, -0.32564109563827515, -0.17972852289676666, 0.8360329270362854, -0.5459303855895996, 0.2705603539943695, 0.7636077404022217, -0.039195332676172256, -0.00003693768667289987, 0.3987531363964081, 0.7580358982086182, -0.6033046841621399, -0.7879323363304138, -0.8022673726081848, 0.5821256041526794, -0.07990405708551407, -0.771727979183197, 0.35053491592407227, 1.0461089611053467, 1.035376787185669, 0.28720736503601074, 0.8089385032653809, -0.1574709564447403, 0.09228985011577606, -0.23089586198329926, 0.8026015758514404, -0.7386742234230042, -0.2202776074409485, -0.662452220916748, -1.1049935817718506, -0.47617578506469727, 0.5818881988525391, -0.1605851948261261, -0.15338106453418732, 0.46085336804389954, 0.33389386534690857, -0.31833770871162415, 0.24350053071975708, 0.332882285118103, -0.006876219995319843, 0.709909975528717, 0.5326427817344666, 0.661708414554596, -0.14988774061203003, 0.4206995964050293, -0.5139153003692627, -0.5732635259628296, -0.16532835364341736, -0.9451878666877747, -0.708601176738739, -0.6974749565124512, -0.32745635509490967, -0.016789142042398453, 0.029248790815472603, 0.4821280837059021, 0.7627618312835693, -0.4427013695240021, 0.007596309762448072, -0.33269593119621277, -0.14575710892677307, -0.14247319102287292, -0.3073100447654724, 0.645875871181488, -0.03791043907403946, -0.08452687412500381, -0.010044287890195847, 0.7074300050735474, 0.1823713332414627, -0.31560784578323364, -0.10042495280504227, 0.1899644285440445, -0.44089293479919434, 0.930490255355835, 0.13182826340198517, -1.013890266418457, -0.27400678396224976, 0.11820077896118164, 0.022312453016638756, 0.36843156814575195, 0.6111029982566833, -0.9554073810577393, 0.6064770817756653, 0.578303337097168, 0.8214970827102661, 0.42017224431037903, 0.2972935736179352, 0.364665687084198, -0.3955487906932831, -0.013764816336333752, 0.2515936493873596, 0.3555346727371216, 0.48123183846473694, -0.6570634841918945, 0.46087655425071716, 0.5267547965049744, 0.17427121102809906, -0.9042250514030457, -0.09959354996681213, -1.3865065574645996, -0.015446913428604603, 0.7626748085021973, -0.21745583415031433, -0.476589173078537, 0.442202627658844, -0.7251178622245789, 0.31552696228027344, -0.3568517863750458, 0.35239166021347046, 0.6351675987243652, -0.3506036698818207, -0.5342399477958679, -0.43279579281806946, 0.7392022609710693, 0.3583759069442749, -1.2168545722961426, 0.31096479296684265, 0.6469407081604004, 0.01369036827236414, 0.13976486027240753, 0.7442200183868408, -0.19795849919319153, 0.6706965565681458, -0.11776648461818695, -0.21018560230731964, -0.6656025052070618, -0.5173524022102356, -0.19072167575359344, 0.3027482330799103, 0.17147313058376312, 0.05150291696190834 ]
http://arxiv.org/abs/2402.07938v2
http://arxiv.org/pdf/2402.07938v2
Large Language User Interfaces: Voice Interactive User Interfaces powered by LLMs
2024-02-07T21:08:49
2024-04-16T07:39:05
Syed Mekael Wasti, Ken Q. Pu, Ali Neshati
cs.HC
cs.HC, cs.AI, cs.CL, cs.LG, I.2.7; I.2.1
The evolution of Large Language Models (LLMs) has showcased remarkable capacities for logical reasoning and natural language comprehension. These capabilities can be leveraged in solutions that semantically and textually model complex problems. In this paper, we present our efforts toward constructing a framework that can serve as an intermediary between a user and their user interface (UI), enabling dynamic and real-time interactions. We employ a system that stands upon textual semantic mappings of UI components, in the form of annotations. These mappings are stored, parsed, and scaled in a custom data structure, supplementary to an agent-based prompting backend engine. Employing textual semantic mappings allows each component to not only explain its role to the engine but also provide expectations. By comprehending the needs of both the user and the components, our LLM engine can classify the most appropriate application, extract relevant parameters, and subsequently execute precise predictions of the user's expected actions. Such an integration evolves static user interfaces into highly dynamic and adaptable solutions, introducing a new frontier of intelligent and responsive user experiences.
[ -0.5375582575798035, -0.9968313574790955, 0.9334620237350464, 0.4384540021419525, 0.1754085272550583, 0.42590469121932983, -0.4274694621562958, -0.6294434070587158, 0.3981848657131195, 0.5683100819587708, -0.8275468349456787, -0.3914376199245453, -0.08123643696308136, -0.03245745971798897, -0.41309475898742676, 0.4257596731185913, 0.08324010670185089, -0.298662394285202, -0.36240169405937195, -0.04449428245425224, -0.36532455682754517, -0.5724650025367737, -0.5927769541740417, -0.5201064348220825, 0.7786620259284973, 0.519589364528656, 1.0270811319351196, 0.3576727509498596, -0.0049340673722326756, 0.4314327836036682, 0.11052893102169037, 0.20295748114585876, -0.29303163290023804, 0.6715660095214844, -0.27911582589149475, -0.5023444890975952, -0.478059858083725, -0.13320204615592957, 0.5392195582389832, 0.5239400863647461, -0.16220851242542267, 0.07365796715021133, -0.15692436695098877, 0.17189019918441772, -0.22430790960788727, 0.17275188863277435, -0.5551732182502747, -0.008440823294222355, -0.003892237553372979, -0.4765344262123108, -0.36039841175079346, -0.05578360706567764, 0.0750940591096878, -0.9747875928878784, -0.4884454011917114, 0.10830312967300415, 0.726063072681427, 0.4585191011428833, -0.333016574382782, -0.3394165337085724, -0.812249481678009, 0.7297114729881287, -0.7537472248077393, 0.3420584499835968, 0.04534195363521576, 0.5543113946914673, -0.4953053295612335, -0.8629191517829895, -1.0160707235336304, -0.5597975254058838, 0.027107251808047295, -0.01820528879761696, 0.03491862863302231, 0.12632301449775696, 0.33168092370033264, 0.014183631166815758, -0.24334262311458588, 0.6262168288230896, 0.2775719463825226, -0.09742026776075363, 0.5873282551765442, 0.48022541403770447, 0.82459557056427, 0.1277584731578827, -0.2737448513507843, 0.13475629687309265, -0.7855305671691895, -0.16076187789440155, 0.4293668270111084, 0.4951161742210388, -0.35518354177474976, 0.6574780941009521, -0.2873382568359375, 0.7860371470451355, -0.054559651762247086, -0.15936201810836792, 0.0734788253903389, -0.05636896938085556, -0.17799954116344452, 0.12277048826217651, 0.8350221514701843, 0.08002687245607376, 0.5176563858985901, -0.10935547202825546, -0.16617892682552338, -0.22445981204509735, 0.12817271053791046, -0.7375760078430176, 0.21106694638729095, 0.4095863401889801, -0.31990402936935425, -0.25611990690231323, -0.13055405020713806, -0.6144059896469116, -0.6744307279586792, -0.8117390275001526, 0.31433331966400146, -0.11466182768344879, -0.4371423125267029, 0.009730854071676731, 0.17490024864673615, 0.20651957392692566, 0.6917208433151245, -1.0092864036560059, 0.3008277714252472, 0.7431909441947937, 0.6554059386253357, -0.10855812579393387, -0.22089353203773499, -0.7470827102661133, 0.3983513116836548, 0.0762147530913353, 0.6138601303100586, -0.7709597945213318, -0.42810890078544617, 0.18501238524913788, 0.009649476036429405, 0.06361877918243408, -0.5577179193496704, 0.26748308539390564, -0.5709364414215088, 0.21382883191108704, -0.10075025260448456, -0.5091103315353394, -0.17424677312374115, 0.12248467653989792, -0.5573591589927673, 0.9072604775428772, 0.04509979486465454, -0.4435510039329529, -0.09361178427934647, -0.9201931357383728, -0.4150438606739044, 0.4182527959346771, -0.32168588042259216, 0.04871131852269173, -0.018962183967232704, 0.038597095757722855, 0.6059737205505371, -0.3925721347332001, 0.3029116690158844, -0.42100855708122253, -0.36342453956604004, 0.5170410871505737, -0.3531840443611145, 0.6594003438949585, 0.29649773240089417, -0.3731106221675873, 0.4184091091156006, -0.8885398507118225, 0.18025796115398407, -0.003026107093319297, -0.5048829913139343, -0.13841819763183594, 0.4023902416229248, 0.38011354207992554, 0.3349374532699585, 0.48363906145095825, -0.4557499885559082, 0.237308531999588, -0.2996033728122711, 0.59959477186203, 0.43403640389442444, -0.1329251527786255, 0.27701669931411743, 0.03641709312796593, 0.5543771982192993, -0.17379307746887207, -0.13770954310894012, -0.38436150550842285, -0.3143514096736908, -0.6998483538627625, -0.34615209698677063, 0.09770126640796661, 0.822184145450592, -0.8093221783638, 0.545159637928009, -0.4315595328807831, -0.34863635897636414, -0.345258504152298, 0.1138613373041153, 0.03378669172525406, 0.4424913227558136, 0.15075743198394775, 0.17677120864391327, -0.24107661843299866, -0.7977241277694702, -0.15212228894233704, -0.5819921493530273, -0.5265839099884033, 0.4112660586833954, 0.030193503946065903, -0.5825536251068115, 1.2433176040649414, -0.1706361621618271, -0.10265634953975677, -0.32244616746902466, 0.20726002752780914, 0.003788629313930869, 0.2945958077907562, 0.4219702482223511, -0.883741021156311, -0.4051627516746521, 0.3989788293838501, -0.9239807724952698, -0.7484055757522583, -0.3853198289871216, -0.07478494942188263, 0.13511450588703156, 0.6762153506278992, -0.6016333699226379, 0.16848473250865936, 0.5281331539154053, -0.26779696345329285, 0.36574408411979675, -0.15884432196617126, 0.05523558333516121, -1.0838974714279175, 0.05227893590927124, -0.09437538683414459, -0.41436877846717834, -0.6174608469009399, -0.04679535701870918, -0.16344334185123444, -0.29079562425613403, -0.48895928263664246, 0.9464929103851318, -0.3975103199481964, -0.21612098813056946, -0.3510095775127411, 0.4877721965312958, 0.014612795785069466, 0.3931019902229309, 0.06606739014387131, 0.9248091578483582, 0.17323437333106995, -0.35567134618759155, 0.7800394892692566, 0.18528388440608978, -0.20042096078395844, 0.7525736093521118, -0.7789992690086365, -0.03360350802540779, 0.15396708250045776, 0.10601186007261276, -0.8845464587211609, -0.5544241070747375, 0.010750367306172848, -0.31430327892303467, 0.14580188691616058, 0.08228784054517746, -0.870334804058075, -0.11240158975124359, -0.004752051085233688, -0.03528548777103424, 0.2502935230731964, -0.5992411971092224, 1.1548081636428833, 0.4167459011077881, -0.613787829875946, -0.09965874254703522, -0.6274989247322083, 0.5410832762718201, -0.15840573608875275, -0.8265992403030396, 0.12221074849367142, -0.02908896654844284, -0.45312756299972534, -0.006122534163296223, 0.451374351978302, -0.06373273581266403, 0.26240381598472595, 0.5217474699020386, 0.20934772491455078, -0.24312472343444824, 0.335875540971756, 0.3205731511116028, -0.17451579868793488, 0.032851532101631165, -0.16830047965049744, 0.38378068804740906, -0.05064483731985092, -0.5945196747779846, -0.7484381794929504, 0.6171950101852417, 1.030491590499878, -0.30167585611343384, 0.5231010913848877, 0.5692718625068665, -0.3479023575782776, -0.029932893812656403, -0.7017382979393005, 0.08772949129343033, -0.5235725045204163, 0.3941652476787567, -0.6075423955917358, -1.119984745979309, 0.7588744759559631, -0.3979496955871582, 0.2543303370475769, 0.11486286669969559, 0.9372668266296387, -0.1578947752714157, 1.0704015493392944, 0.5136124491691589, 0.03607174754142761, 0.590788722038269, 0.35639989376068115, 0.18855400383472443, -0.7095596194267273, -0.3235703110694885, -0.45605742931365967, -0.3721263110637665, -0.46168920397758484, -0.1713283658027649, 0.4554421007633209, -0.2872021496295929, -0.30070996284484863, 0.0026300428435206413, -0.18643490970134735, 0.09474366158246994, 0.4690605401992798, -0.25404006242752075, 0.1653679609298706, -0.03462619334459305, -0.08615785092115402, -0.13509881496429443, -0.4183553457260132, -0.766913890838623, 0.3054126799106598, 0.5992722511291504, 1.2075510025024414, 0.383280873298645, 0.22439830005168915, 0.25908926129341125, 0.3052217662334442, -0.9438059329986572, 0.838218629360199, 0.17093251645565033, -0.403430700302124, -0.48269468545913696, -0.27990955114364624, -0.7600932121276855, 0.31790587306022644, -0.5957010984420776, -1.001585841178894, 0.0594446063041687, 0.07385263592004776, -0.3896045982837677, 0.09900013357400894, -1.0033818483352661, 0.5537670850753784, -0.5066680312156677, -0.6686988472938538, -0.1606956273317337, -0.6255738735198975, 0.009321622550487518, -0.04906410723924637, 0.13781364262104034, -0.30555403232574463, -0.2907244861125946, 0.374733567237854, -0.43144574761390686, 0.9837448000907898, -0.3654627799987793, -0.32808902859687805, 0.22102589905261993, 0.09083102643489838, 0.42684710025787354, 0.07517356425523758, -0.32043445110321045, -0.13239994645118713, 0.0622553825378418, -0.08933088928461075, -0.9617221355438232, 0.9775570631027222, -0.5815420150756836, -0.6356895565986633, -0.12951819598674774, -0.5538093447685242, -0.45816853642463684, 0.2645880877971649, -0.5130723714828491, 0.6120951771736145, -0.16159529983997345, 0.20749767124652863, 0.7207547426223755, -0.5693352222442627, 0.42345622181892395, 0.7233195304870605, -0.5473214387893677, -0.04370300471782684, 0.7729493379592896, 0.05092078074812889, 0.2251688688993454, 0.6066818833351135, 0.171239972114563, -0.4851640462875366, -0.2301706075668335, -0.6460342407226562, 0.2252006083726883, -0.47674015164375305, 0.08634518086910248, -0.6166359186172485, -0.16756846010684967, -0.08606637269258499, -0.33352214097976685, -0.073356032371521, -0.2669864892959595, -0.5586109757423401, 0.06875673681497574, 0.33245477080345154, 0.782281756401062, 0.34883713722229004, 0.5397236347198486, -0.8243708610534668, 0.24382135272026062, 0.46186399459838867, 0.30264025926589966, 0.051384199410676956, -0.15372700989246368, -0.2899964451789856, -0.11834054440259933, -0.009958603419363499, -0.6357280015945435, 0.19712083041667938, 0.1298811137676239, 0.7282474040985107, 0.3404969573020935, 0.018754174932837486, 0.5193615555763245, -0.6879099011421204, 0.9429384469985962, 0.10538285970687866, -0.9172034859657288, 0.33824530243873596, -0.5268848538398743, 0.5927241444587708, 0.4136226177215576, 0.0873851403594017, -0.7159467935562134, -0.3509649932384491, -0.23947031795978546, -0.8280476927757263, 0.5086745619773865, -0.19043906033039093, 0.27716344594955444, 0.2346646934747696, 0.500153660774231, -0.06612681597471237, 0.18953560292720795, -0.3672717213630676, 0.046776849776506424, 0.03791259601712227, -0.6515260338783264, 0.19048292934894562, -0.2833849787712097, 0.004287002142518759, -0.0681493952870369, 0.5704962611198425, -0.46074509620666504, 0.11658870428800583, -0.03967364504933357, -0.1250486671924591, -0.008024833165109158, 0.38054323196411133, 0.6515692472457886, 0.7653071284294128, 0.1638239026069641, 0.11829040199518204, 0.04843025654554367, -0.3151096701622009, 0.1449127495288849, 0.2082221508026123, 0.05133362114429474, -0.15399067103862762, 0.388456255197525, 0.935746967792511, 0.478290319442749, -1.1549652814865112, 0.3509483337402344, -0.28259170055389404, 0.08408689498901367, -0.5227461457252502, 0.2651757299900055, 0.5081568360328674, 0.41338565945625305, 0.3753022253513336, -0.6108495593070984, 0.0028943659272044897, -0.5248004198074341, -0.0421065054833889, 0.4102979004383087, -0.3552319407463074, -0.28865012526512146, 0.8855938911437988, 0.6090654730796814, -0.6445459127426147, 0.2875225245952606, 0.3156459331512451, -0.3994106650352478, 0.20203323662281036, 0.3490498661994934, 0.8644048571586609, -0.32020312547683716, -0.032770127058029175, -0.15508729219436646, 0.08206811547279358, 0.3149077594280243, 0.23496347665786743, -0.1943405419588089, -0.39084765315055847, -0.6292658448219299, -0.5503326654434204, -0.5660365223884583, 0.040034420788288116, -0.28737911581993103, 0.2885989248752594, -0.3864673972129822, -0.15117283165454865, 0.12377926707267761, -0.06243731454014778, -0.4346558153629303, 0.2684723734855652, 0.1932641863822937, 1.068732500076294, -0.5483026504516602, 0.7866531610488892, 0.8011658787727356, -0.1843748539686203, -0.6748028993606567, -0.043085768818855286, 0.1140829399228096, -0.7285178899765015, 0.7449840903282166, -0.10880468040704727, -0.5121093392372131, 0.010131347924470901, -0.4477388858795166, -0.5079863667488098, 0.9183803200721741, 0.5941232442855835, -0.7074522376060486, 0.07835491746664047, 0.23857757449150085, 0.6482075452804565, -0.4483146667480469, 0.35971954464912415, 0.32391759753227234, 0.5996960997581482, 0.07675047963857651, -0.8688479065895081, 0.05596942827105522, -0.2825329005718231, 0.20074690878391266, 0.05944477394223213, -0.5446760058403015, 0.37342020869255066, 0.16960185766220093, -0.17007260024547577, 0.16398338973522186, 0.7657119631767273, -0.033239468932151794, 0.20401932299137115, 0.7049581408500671, 0.2537856698036194, 0.6369865536689758, -0.09594040364027023, 0.8539440631866455, -0.19548583030700684, -0.1479973942041397, 1.1516704559326172, -0.6895496845245361, 1.0438004732131958, 0.6586354374885559, -0.09476061910390854, 0.7358559966087341, 0.5233519077301025, 0.531502902507782, 0.1285499483346939, 0.3757457435131073, -0.745776355266571, -0.31927716732025146, -0.311736136674881, -0.1762765347957611, 0.33483463525772095, 0.8078321218490601, 0.02623441442847252, -0.1018257662653923, 0.16845908761024475, 0.061964187771081924, 0.38787177205085754, 0.01130063459277153, 0.9430832862854004, 0.07992643862962723, -0.4819609522819519, 0.20737677812576294, -0.08486958593130112, 0.5092957019805908, -0.7509915828704834, -0.16772648692131042, 0.17945431172847748, -0.15090931951999664, -0.3066967725753784, -0.9692578911781311, 0.09699348360300064, -0.09551020711660385, -0.22766989469528198, -0.41369855403900146, 0.800658643245697, -0.5046889185905457, -0.28669291734695435, 0.41028890013694763, 0.48869600892066956, 0.07363923639059067, 0.17931583523750305, -0.5883365273475647, 0.592688798904419, -0.24215379357337952, -0.5266469120979309, 0.2447885125875473, 0.7082092761993408, -0.1972888857126236, 1.004734992980957, 0.5949311852455139, 0.007571945898234844, 0.07941410690546036, 0.28598248958587646, 0.8357632756233215, -0.493228554725647, -0.7054964303970337, -0.5813456177711487, 0.5926313996315002, -0.27718955278396606, 0.07850100845098495, 0.48893606662750244, 0.41091427206993103, 0.2744836211204529, 0.24477575719356537, 0.9976620674133301, -0.0014574750093743205, 0.7067158818244934, -0.49664539098739624, 0.781633198261261, -0.6773491501808167, 0.3952450752258301, 0.009887983091175556, -0.7512612342834473, -0.26905813813209534, 0.4220747947692871, -0.11311881989240646, 0.00047244661254808307, 0.19420742988586426, 0.6906366944313049, -0.14586471021175385, -0.013462258502840996, 0.40431249141693115, 0.31545573472976685, 0.732305645942688, 0.22052988409996033, 0.9287763833999634, 0.31180697679519653, 0.10907454043626785, 0.3842330574989319, -0.4268302321434021, -0.4957953989505768, -0.98701012134552, -0.7809051871299744, -0.6923593878746033, -0.05176832899451256, -0.1721436083316803, 0.009876685217022896, 1.1024377346038818, 0.7502084970474243, -0.46384021639823914, -0.38916435837745667, 0.224970281124115, 0.08778141438961029, 0.26536548137664795, -0.24621805548667908, -0.11464707553386688, -0.40520456433296204, -0.9759253263473511, 0.5639839172363281, 0.6323188543319702, 0.10325052589178085, -0.8066672086715698, -0.16229498386383057, -0.06626839190721512, 0.25088047981262207, 0.8791655898094177, 0.5596598982810974, -0.9601302146911621, -0.5145375728607178, -0.16441284120082855, -0.15994364023208618, -0.290650874376297, 0.7681536078453064, -0.9859641194343567, 0.5975276231765747, 0.42213791608810425, 1.1404657363891602, 0.3507576286792755, -0.11703866720199585, 0.7455505728721619, -0.4958479702472687, 0.3223901391029358, 0.020614488050341606, 0.09487079828977585, 0.42016640305519104, -0.46667376160621643, 0.25666379928588867, -0.1356275975704193, -0.4116106331348419, -0.6981112957000732, 0.42135679721832275, -1.227832555770874, -0.13493956625461578, 1.1517213582992554, -0.10557355731725693, -0.25434890389442444, -0.31368449330329895, -0.4983764886856079, 0.029720861464738846, -0.4023666977882385, 0.4213600158691406, 0.7382200956344604, -0.2903335690498352, -0.09541554003953934, -0.752588152885437, 0.16071999073028564, 0.2397102564573288, -1.1899148225784302, 0.1869601160287857, 0.6118173003196716, 0.040974102914333344, 0.1315324753522873, 0.6090852618217468, 0.01852787844836712, -0.049790963530540466, -0.35285961627960205, -0.018492277711629868, -0.15165391564369202, -0.1485758125782013, -0.16491641104221344, 0.046079475432634354, 0.1590876430273056, -0.009600909426808357 ]
http://arxiv.org/abs/2402.10940v1
http://arxiv.org/pdf/2402.10940v1
Neural machine translation of clinical procedure codes for medical diagnosis and uncertainty quantification
2024-02-07T20:11:56
2024-02-07T20:11:56
Pei-Hung Chung, Shuhan He, Norawit Kijpaisalratana, Abdel-badih el Ariss, Byung-Jun Yoon
cs.CL
cs.CL, cs.AI, cs.LG
A Clinical Decision Support System (CDSS) is designed to enhance clinician decision-making by combining system-generated recommendations with medical expertise. Given the high costs, intensive labor, and time-sensitive nature of medical treatments, there is a pressing need for efficient decision support, especially in complex emergency scenarios. In these scenarios, where information can be limited, an advanced CDSS framework that leverages AI (artificial intelligence) models to effectively reduce diagnostic uncertainty has utility. Such an AI-enabled CDSS framework with quantified uncertainty promises to be practical and beneficial in the demanding context of real-world medical care. In this study, we introduce the concept of Medical Entropy, quantifying uncertainties in patient outcomes predicted by neural machine translation based on the ICD-9 code of procedures. Our experimental results not only show strong correlations between procedure and diagnosis sequences based on the simple ICD-9 code but also demonstrate the promising capacity to model trends of uncertainties during hospitalizations through a data-driven approach.
[ 0.07213611155748367, -0.45541295409202576, 0.9516767263412476, 0.5317089557647705, -0.5073047876358032, -0.06393780559301376, -0.1422504037618637, -0.1743585765361786, 0.10001584142446518, -0.06123717129230499, -0.35623282194137573, -0.5936693549156189, -0.9527921080589294, 0.14805273711681366, -0.32660067081451416, 0.8610401153564453, -0.1555890589952469, 0.7436597943305969, -0.1791151612997055, 0.2312905639410019, -0.4344271123409271, -0.3108861446380615, -0.770554780960083, -0.21267388761043549, 0.43994784355163574, -0.0852719396352768, 1.1001719236373901, 0.605742335319519, 1.066361427307129, 0.2658471167087555, 0.06526658684015274, 0.03359014540910721, 0.4665326774120331, 0.3107573091983795, 0.35572436451911926, -0.6641483306884766, -0.3914209306240082, -0.523762047290802, 0.2963864803314209, 0.6340398192405701, -0.5177631378173828, -0.08542466908693314, -0.14923745393753052, 0.57054203748703, -0.5928305983543396, 0.09892100840806961, -0.1996132731437683, 0.6174941062927246, 0.19816535711288452, -0.4226902723312378, -0.25269272923469543, -0.43907299637794495, 0.1522480696439743, -0.7632491588592529, -0.06696216017007828, -0.13160602748394012, 0.36367467045783997, 1.0237122774124146, -0.17268790304660797, -0.3915064036846161, -0.8093383312225342, 0.4756956100463867, -0.7279284596443176, 0.4015907347202301, 0.6378538608551025, 0.4456540644168854, -0.03208918124437332, -0.8055506348609924, -0.33171117305755615, 0.13760389387607574, -0.056647129356861115, 0.08097159117460251, -0.1770193725824356, 0.21667005121707916, -0.16198289394378662, 0.13601498305797577, -0.6267685294151306, 0.18796393275260925, -0.4521523416042328, -0.3481607437133789, 0.7067264318466187, 0.6372337937355042, 0.40994226932525635, -0.019445952028036118, -0.35250961780548096, 0.001522246515378356, -0.18765830993652344, -0.19326230883598328, -0.2742156386375427, -0.1244397908449173, -0.46992698311805725, 0.2548627257347107, -0.14282140135765076, 0.7058027982711792, 0.07548364251852036, -0.39364951848983765, 0.46237480640411377, 0.05527567118406296, -0.5886528491973877, 0.3147282898426056, 0.8867412209510803, 0.4110872447490692, -0.29658058285713196, -0.3219306170940399, -0.1873553842306137, 0.026416340842843056, 0.5064467787742615, -0.534134030342102, -0.09425672143697739, 0.6321893930435181, -0.869817852973938, -0.7267381548881531, -0.1639099270105362, -0.6049924492835999, -0.7069120407104492, -0.38583528995513916, -0.012987826019525528, -0.8022174835205078, -0.11977649480104446, 0.5455632209777832, -0.06458953768014908, -0.2196887582540512, 0.5842708945274353, -0.33050477504730225, 0.1503383219242096, 0.42132967710494995, 0.8135883808135986, -0.20958556234836578, 0.13797098398208618, 0.12256026268005371, -0.15059877932071686, -0.7592436671257019, 0.3679540753364563, -0.4090102016925812, -0.2768293619155884, -0.10488428175449371, -0.3908574879169464, -0.07138893753290176, -0.6351867318153381, 0.5885696411132812, -0.5298627614974976, -0.28844061493873596, 0.1522609293460846, -0.3587001860141754, -0.004058397375047207, 0.15029826760292053, -0.3682619035243988, 0.48551395535469055, 0.22062428295612335, -0.36679255962371826, 0.5199129581451416, -0.31121471524238586, -0.464252769947052, 0.17425210773944855, -0.3279528319835663, -0.4226490259170532, 0.3634200096130371, -0.007961959578096867, 0.43056944012641907, -0.6961633563041687, 0.7306379675865173, -0.30775684118270874, -0.009830918163061142, 0.4661652743816376, -0.6394901275634766, 0.711341917514801, 0.8702463507652283, -0.09108326584100723, -0.00047282432205975056, -0.9829275608062744, 0.2677592635154724, -0.188192680478096, -0.491971492767334, -0.3308875262737274, 0.11103810369968414, -0.1085791066288948, 0.30634793639183044, 0.20560231804847717, -0.1176791861653328, 0.08908695727586746, -0.1505509912967682, 0.4499358832836151, 0.5086097121238708, 0.1491193324327469, 0.4882448613643646, -0.30125781893730164, 0.7390825152397156, 0.5483675599098206, 0.3977152705192566, 0.11354027688503265, -0.7127196192741394, -0.3538394272327423, -0.07037271559238434, 0.4835716187953949, 0.9866421222686768, -0.8062738180160522, 0.6254226565361023, -0.038828980177640915, -0.5005903244018555, -0.9481184482574463, -0.27958908677101135, 0.31636181473731995, 0.39150264859199524, 0.32646694779396057, -0.12365805357694626, -0.5468378663063049, -0.7347346544265747, 0.24207371473312378, -0.393512487411499, -0.34296751022338867, 0.0335744246840477, 0.14961408078670502, -0.38562580943107605, 0.4179021716117859, -0.49994057416915894, -0.30063292384147644, 0.37649205327033997, 0.1716688573360443, 0.19053122401237488, 0.8707234263420105, 0.22444117069244385, -0.7744634747505188, -0.20343266427516937, 0.30183541774749756, -1.1913282871246338, 0.10558407753705978, -0.5701329112052917, -0.047482941299676895, 0.165340393781662, 0.5885460376739502, -0.6613259315490723, 0.9580819010734558, 0.258635550737381, -0.26604586839675903, 0.2855883538722992, -0.7352491021156311, 0.21254120767116547, -0.99025958776474, -0.07970847189426422, -0.17489969730377197, 0.1552271991968155, -0.5208150148391724, 0.11510120332241058, 0.30210602283477783, 0.044374532997608185, -0.21478116512298584, 0.06208275631070137, -0.1299303025007248, 0.14179721474647522, 0.06754094362258911, -0.4810456931591034, 0.003833046881482005, 0.08625379204750061, 0.03831932321190834, 0.5115653872489929, 0.9465803503990173, -0.6841184496879578, 0.3466496467590332, 0.03973012417554855, -0.4477343261241913, 0.6215070486068726, -0.6422850489616394, -0.15034419298171997, -0.13227343559265137, 0.12006614357233047, -0.43952566385269165, -0.17877133190631866, 0.1933368444442749, -0.603058934211731, 0.4012361764907837, 0.1699291467666626, -0.48510897159576416, -0.39693203568458557, 0.3194132149219513, 0.6347377896308899, 0.4430236518383026, 0.12543849647045135, 0.4214738607406616, 0.14118878543376923, -0.2499651163816452, -0.5779517292976379, -1.0363346338272095, 0.26718851923942566, -0.26878708600997925, -0.5469929575920105, 0.5279542207717896, -0.15072105824947357, -0.5755255818367004, -0.18617038428783417, 0.03917181119322777, -0.3172563910484314, 0.3823418915271759, 0.2619644105434418, 0.20653264224529266, -0.41354572772979736, 0.47066938877105713, 0.5830819010734558, -0.13945594429969788, 0.3311491012573242, -0.5858442783355713, 0.4484572410583496, 0.02545856311917305, -0.4628460109233856, -0.7631623148918152, 0.45351898670196533, 0.6974477171897888, 0.003351971274241805, 0.7497363686561584, 0.6129536628723145, -0.9061993956565857, 0.13562077283859253, -0.2546708881855011, -0.027830304577946663, -0.3589392900466919, 0.2603245973587036, -0.18350669741630554, -0.28799131512641907, 0.8975989818572998, 0.12206244468688965, -0.6531496644020081, 0.3996976912021637, 0.723939061164856, -0.2739584147930145, 1.456864833831787, 0.16794675588607788, 0.044389382004737854, -0.17357759177684784, -0.010108047164976597, 0.2293945848941803, -0.44202062487602234, -0.3749817907810211, -0.5424435138702393, -0.3425472378730774, -0.4663005769252777, -0.5777168869972229, 0.919150710105896, 0.2543283998966217, -0.2389814704656601, -0.27187052369117737, -0.8643475770950317, 0.0751519501209259, 0.5039932727813721, 0.6902068257331848, 0.04863932728767395, -0.27971476316452026, -0.22322645783424377, 0.1464739888906479, -0.7011614441871643, -0.18558421730995178, 1.0686184167861938, 0.16132009029388428, 0.814521849155426, 0.04051899164915085, 0.731310248374939, 0.5286937355995178, -0.19233225286006927, -0.6552067399024963, -0.024694878607988358, 0.10421747714281082, -0.2984628677368164, -0.314683198928833, -0.3672889471054077, -0.8940832018852234, -0.19842900335788727, -0.20026297867298126, -0.3787153363227844, 0.7382975816726685, -0.08567103743553162, -1.082393765449524, 0.15978801250457764, -0.6732109785079956, 0.5306970477104187, -0.29401421546936035, 0.1903580278158188, -0.25437554717063904, -1.171839714050293, 0.04194463789463043, -0.3626563251018524, 0.2274816483259201, 0.25998231768608093, -0.30594462156295776, 0.37920814752578735, -0.6276972889900208, 0.812890350818634, 0.06800051778554916, -0.26158639788627625, 0.11831453442573547, 0.348966509103775, 0.311159610748291, 0.34089359641075134, -0.26834750175476074, 0.3471300005912781, 0.06518888473510742, -0.3216674029827118, -0.7422928214073181, 0.3396919071674347, -0.7629750967025757, -0.3109389841556549, -0.4200582504272461, -0.7969961762428284, -0.10190556198358536, 0.23467132449150085, 0.6589789390563965, 0.3362005352973938, 0.20141848921775818, -0.08643188327550888, 0.6370229721069336, -0.5769386887550354, 0.27981385588645935, 0.18160074949264526, 0.40934476256370544, -0.4291898310184479, 0.7870506644248962, 0.17496246099472046, 0.011453391052782536, 0.5391839742660522, 0.13637812435626984, 0.13215762376785278, -1.0180025100708008, -0.4977200925350189, -0.3397431969642639, -0.5739123821258545, -0.8208081126213074, -0.4709285497665405, -0.1778671145439148, -0.5106976628303528, -0.49456650018692017, -0.04404702037572861, -0.5296170115470886, -0.6390455365180969, -0.18489648401737213, 0.25161269307136536, 0.5646472573280334, -0.36369723081588745, 0.24989330768585205, -0.8743372559547424, 0.16474899649620056, -0.12421726435422897, 0.34589293599128723, -0.15523391962051392, -0.1737702637910843, -0.470317542552948, 0.15996311604976654, -0.27291107177734375, -0.9206780791282654, 0.7239592671394348, -0.004570026881992817, 0.28642189502716064, 0.8158565759658813, 0.46334582567214966, 0.7091158628463745, -0.43113550543785095, 0.6955509781837463, 0.43033626675605774, -0.7571128010749817, 0.6792492270469666, -0.20025207102298737, 0.016460787504911423, 0.3376668095588684, 0.27897909283638, -0.3676762282848358, -0.37128880620002747, -0.8707513213157654, -0.7847115993499756, 0.5102387070655823, 0.16908705234527588, -0.30953359603881836, -0.17374804615974426, 0.4551871716976166, -0.06091388314962387, 0.28968673944473267, 0.0999685674905777, -0.42593085765838623, 0.1008489727973938, -0.6870373487472534, 0.05071140080690384, 0.1828038990497589, -0.2200443148612976, -0.29933616518974304, 0.3485967516899109, 0.007161844987422228, 0.6331613659858704, 0.5308899283409119, 0.14874503016471863, -0.46163487434387207, 0.053810663521289825, 0.927183210849762, 0.38634830713272095, -0.17584508657455444, 0.09045343101024628, 0.005090893711894751, -0.6301288604736328, 0.1856474131345749, 0.16370077431201935, -0.15739519894123077, -0.06088140234351158, 0.20060136914253235, 0.674353837966919, -0.43204545974731445, -0.5352140069007874, 0.27335846424102783, -0.1771049201488495, -0.04399479180574417, -0.4986361861228943, -0.09535028040409088, -0.11453694850206375, 0.3265324831008911, 0.25778812170028687, 0.9360482692718506, 0.5124608874320984, 0.006696077063679695, 0.4542137682437897, 0.12011018395423889, -0.5196406841278076, -0.2356020212173462, 0.7155448794364929, 0.07591139525175095, -0.4877443015575409, 0.7390397787094116, -0.17159931361675262, -0.10365281999111176, 1.2307066917419434, 0.4645831882953644, 0.7947154641151428, -0.3869684338569641, 0.2103053629398346, 0.16753068566322327, 0.3057570457458496, -0.08405180275440216, 0.4041655361652374, 0.019663801416754723, -0.6164305806159973, -0.22837084531784058, -0.36031877994537354, -0.09337961673736572, -0.15336455404758453, -1.2446420192718506, 0.2274133563041687, -0.6748279333114624, -0.4253046214580536, -0.1488855928182602, -0.5401591658592224, -0.635921061038971, 0.610453724861145, 0.38638487458229065, 0.9197447299957275, -0.38119250535964966, 0.7238108515739441, 0.5893657207489014, -0.3552204966545105, -0.6870805621147156, -0.2022998332977295, 0.196249857544899, -1.1244759559631348, 0.5053136944770813, -0.4166891872882843, 0.41531190276145935, -0.331485778093338, -0.46016132831573486, -0.8957797288894653, 1.0408730506896973, 0.43613049387931824, -0.3265671133995056, -0.2954338788986206, 0.21933305263519287, 0.7838784456253052, -0.38624611496925354, 0.1688670963048935, 0.5414072275161743, 0.3865979313850403, -0.1922864466905594, -0.9826633334159851, 0.1590341031551361, -0.3749709725379944, -0.08869733661413193, 0.30490925908088684, -0.28494516015052795, 0.7776305079460144, -0.632190465927124, 0.11006918549537659, 0.15676936507225037, 0.28038668632507324, 0.07539395987987518, 0.6836259365081787, 0.11616808921098709, 0.8313302397727966, 0.9727404713630676, -0.11379271000623703, 1.2932522296905518, -0.7028419971466064, 0.09976190328598022, 0.7043900489807129, -0.12587817013263702, 0.4912774860858917, 0.5044140219688416, -0.44296184182167053, 0.40870460867881775, 0.8979395031929016, 0.35962095856666565, 0.5925824046134949, 0.33108481764793396, -0.44002780318260193, -0.49018168449401855, -0.10190017521381378, -0.745861828327179, 0.13055582344532013, 1.0028280019760132, -0.9348611831665039, 0.14656658470630646, 0.23884478211402893, -0.11199642717838287, -0.3637801706790924, -0.2188783884048462, 0.9688701629638672, 0.2368655800819397, -0.7608497142791748, 0.7482516765594482, -0.0006439562421292067, 0.1641705334186554, -0.44381242990493774, -0.07705813646316528, -0.026588955894112587, 0.17397595942020416, -0.3634020686149597, -0.4661596715450287, 0.3421493172645569, -0.41987064480781555, -0.4283084571361542, -0.14817611873149872, 0.2960510551929474, -0.08031745254993439, -0.798161506652832, -0.08910572528839111, 0.31322425603866577, 0.1377105861902237, 0.01931724324822426, -0.8803389668464661, 0.11331935226917267, 0.03761942684650421, 0.1717512011528015, 0.40302255749702454, 0.9852157235145569, 0.01832587830722332, 0.8611530065536499, 0.2768443524837494, 0.4361202120780945, 0.0788094624876976, -0.10425381362438202, 0.664375901222229, -0.24967186152935028, -0.5084919929504395, -0.6514800190925598, 0.45909786224365234, 0.3524317741394043, -0.5769505500793457, -0.03098650835454464, 0.2097664177417755, 0.483966201543808, -0.08487926423549652, 0.9154866933822632, -0.09038497507572174, 0.10036887228488922, -0.6033725738525391, 0.8892437815666199, -0.5050546526908875, 0.48676809668540955, -0.0681430995464325, -0.029713839292526245, -0.795255184173584, 0.6855579018592834, 0.10126608610153198, -0.18288670480251312, 0.7483880519866943, 0.5777280926704407, 0.3737560212612152, 0.025346029549837112, 0.37865227460861206, 0.26956918835639954, -0.10076917707920074, 0.5649809837341309, 0.3993065655231476, -0.5571884512901306, 0.34615185856819153, -0.5303366184234619, -0.08802735060453415, -0.04453851655125618, -0.532667338848114, -0.04273596033453941, -0.646208643913269, -0.5605559349060059, -0.643369734287262, 0.0725073516368866, 0.9901315569877625, 0.840802013874054, -0.9151590466499329, 0.08641043305397034, -0.28948119282722473, 0.21885816752910614, -0.7111423015594482, -0.12012100219726562, 0.725570797920227, -0.5645990967750549, -0.3114664852619171, 0.189642071723938, 0.31475961208343506, 0.25381332635879517, 0.11390749365091324, -0.3366917669773102, 0.30758777260780334, -0.13028478622436523, 0.2907840311527252, -0.20148420333862305, -0.7308377623558044, 0.15166087448596954, 0.05308753624558449, -0.17378345131874084, 0.10930629819631577, 0.7550216317176819, -0.7344194650650024, 0.5771721601486206, 0.39531153440475464, 0.7833006381988525, -0.1517661213874817, -0.24516193568706512, 0.856554388999939, -0.4211430251598358, 0.10194569081068039, 0.593732476234436, 0.48333895206451416, -0.031147394329309464, -0.8787740468978882, 0.4930076003074646, 0.22242823243141174, -0.5534713268280029, -0.8499691486358643, -0.06749702990055084, -0.6458801627159119, -0.2912972569465637, 0.9425539374351501, -0.2167031615972519, 0.1049051508307457, -0.4593069851398468, 0.09041819721460342, 0.22030797600746155, -0.4083516001701355, 0.959098756313324, 0.4132014214992523, -0.24591463804244995, 0.041520241647958755, -0.41358011960983276, 0.6576087474822998, 0.42587655782699585, -0.5557123422622681, -0.4328068494796753, 0.1803095042705536, -0.24824108183383942, 0.48046231269836426, 0.4634348154067993, -0.16818226873874664, 0.5042561888694763, -0.016747083514928818, 0.13359011709690094, 0.29340115189552307, -0.19153259694576263, -0.5324646830558777, 0.11638770252466202, -0.17279700934886932, -0.28781750798225403 ]
http://arxiv.org/abs/2402.05224v2
http://arxiv.org/pdf/2402.05224v2
VerAs: Verify then Assess STEM Lab Reports
2024-02-07T20:02:09
2024-04-25T16:16:36
Berk Atil, Mahsa Sheikhi Karizaki, Rebecca J. Passonneau
cs.CL
cs.CL, cs.AI, cs.LG
With an increasing focus in STEM education on critical thinking skills, science writing plays an ever more important role in curricula that stress inquiry skills. A recently published dataset of two sets of college level lab reports from an inquiry-based physics curriculum relies on analytic assessment rubrics that utilize multiple dimensions, specifying subject matter knowledge and general components of good explanations. Each analytic dimension is assessed on a 6-point scale, to provide detailed feedback to students that can help them improve their science writing skills. Manual assessment can be slow, and difficult to calibrate for consistency across all students in large classes. While much work exists on automated assessment of open-ended questions in STEM subjects, there has been far less work on long-form writing such as lab reports. We present an end-to-end neural architecture that has separate verifier and assessment modules, inspired by approaches to Open Domain Question Answering (OpenQA). VerAs first verifies whether a report contains any content relevant to a given rubric dimension, and if so, assesses the relevant sentences. On the lab reports, VerAs outperforms multiple baselines based on OpenQA systems or Automated Essay Scoring (AES). VerAs also performs well on an analytic rubric for middle school physics essays.
[ 0.023932358250021935, -0.8913301825523376, 0.7621502876281738, 0.21039603650569916, 0.2550899088382721, 0.5404069423675537, 0.0020030252635478973, -0.3664382994174957, 0.16757841408252716, 0.25420400500297546, -0.5134568810462952, -0.5852099061012268, -0.1587527096271515, 0.2157174050807953, -0.5844734907150269, 1.0396857261657715, -0.3201216459274292, 0.17822924256324768, -0.6721661686897278, 0.14998166263103485, -0.3546258211135864, 0.028673838824033737, -0.5173563957214355, -0.27876612544059753, 0.5199795961380005, 0.5282947421073914, 0.22814801335334778, 0.2977032959461212, 0.7559081315994263, 0.3922695815563202, 0.00846857763826847, 0.527769923210144, -0.42261719703674316, 0.2549901008605957, -0.31981995701789856, -0.32792091369628906, -0.31122925877571106, -0.09793289750814438, 0.8931505680084229, 0.6130799055099487, 0.1429709792137146, 0.5269995331764221, -0.24599087238311768, 0.7249879240989685, -0.8669588565826416, -0.15447810292243958, -0.3693513870239258, 0.011927410028874874, -0.011769609525799751, -0.23635762929916382, -0.8343674540519714, -0.6948866844177246, 0.3215378224849701, -0.5808721780776978, 0.2608112394809723, 0.17684198915958405, 1.025428056716919, 0.08542092144489288, -0.38874784111976624, -0.03951704874634743, -0.8841376900672913, 0.6770641207695007, 0.13135495781898499, 0.2038218379020691, 0.31584957242012024, 0.43430957198143005, -0.10242382436990738, -0.8017724752426147, -0.5316575169563293, -0.4003083407878876, 0.11248043179512024, 0.4467359781265259, -0.07848517596721649, -0.07662706822156906, -0.026031820103526115, 0.27306514978408813, -0.5219266414642334, 0.031142255291342735, -0.9243266582489014, -0.5140759348869324, 0.5572215914726257, 0.29148727655410767, 0.008585294708609581, 0.020441383123397827, -0.49421781301498413, -0.1416381597518921, -0.7003924250602722, 0.34410491585731506, 0.35550954937934875, 0.16964749991893768, 0.26986345648765564, 0.8100645542144775, -0.40482819080352783, 0.579809844493866, -0.008834299631416798, 0.14683105051517487, 0.2148180902004242, -0.44890135526657104, -0.17161184549331665, 0.11096780747175217, 0.8001624345779419, 0.374143123626709, -0.1129593774676323, 0.016284994781017303, 0.0437060222029686, 0.057343289256095886, 0.5475401282310486, -0.6791906356811523, -0.06525004655122757, 0.48772549629211426, 0.05587930232286453, -0.1784885823726654, -0.13008487224578857, -0.7729021310806274, -0.4596218764781952, -0.44661134481430054, 0.8844448924064636, -0.5696055889129639, 0.22358137369155884, 0.17439498007297516, -0.11954520642757416, 0.21544253826141357, 0.7683820724487305, -0.5514715313911438, 0.6698659062385559, 0.424402117729187, 0.9087000489234924, -0.05619783326983452, -0.6233524084091187, -0.7095184922218323, -0.06275983154773712, -0.6386762857437134, 1.0936028957366943, -0.2795161306858063, -0.26373401284217834, -0.10166846215724945, -0.2229870706796646, 0.06716370582580566, -0.12358952313661575, 0.48720744252204895, -0.5064697861671448, 0.2974441945552826, -0.33970850706100464, -0.4411099851131439, 0.01052540261298418, 0.22220931947231293, -0.20185476541519165, 1.327153205871582, 0.4524976313114166, -0.5706188082695007, 0.3934561312198639, -0.7281439900398254, -0.29627493023872375, 0.08767280727624893, -0.0937768891453743, -0.3019046187400818, 0.029254233464598656, -0.12442336231470108, 0.3936387896537781, -0.3685321807861328, -0.06948352605104446, 0.20872701704502106, -0.08728526532649994, 0.5398217439651489, -0.1482350379228592, 0.3931269645690918, -0.15399636328220367, 0.003222273662686348, 0.632245659828186, -0.9825571179389954, 0.3823194205760956, -0.2743791937828064, -0.0943513959646225, -0.03815566748380661, -0.008607481606304646, -0.32289525866508484, -0.29024550318717957, 0.13034556806087494, -1.1612977981567383, -0.24802957475185394, -0.20661689341068268, 0.04132229462265968, 0.7236910462379456, -0.04822290316224098, 0.33361220359802246, -0.5205450654029846, 0.37220054864883423, -0.17287702858448029, 0.13155966997146606, -0.10531365871429443, -0.36983925104141235, -0.6814606785774231, -0.442371129989624, 0.11386725306510925, 0.6894401907920837, -0.5090482831001282, 0.6417446136474609, -0.1344970315694809, -1.1869345903396606, -0.7008582949638367, -0.11332425475120544, 0.5488635897636414, 0.9792038798332214, 0.7697935700416565, -0.34377187490463257, -0.12885142862796783, -0.7796126008033752, 0.032674938440322876, -0.22211754322052002, -0.14624054729938507, -0.06446569412946701, 0.6957963705062866, 0.3650658428668976, 1.176493763923645, -0.7675090432167053, -0.24568431079387665, -0.002845244947820902, 0.37150657176971436, -0.008614310063421726, 0.47304415702819824, 0.2895297706127167, -0.39923030138015747, -0.486857533454895, 0.15334703028202057, -0.44646018743515015, -0.08792092651128769, -0.08194496482610703, -0.3322887718677521, 0.0040344479493796825, 0.2907489240169525, -0.6549316048622131, 0.665418267250061, 0.09859918802976608, -0.6806214451789856, 0.9768275618553162, -0.5328842401504517, 0.4377351403236389, -0.49072694778442383, 0.03718309849500656, 0.04174096882343292, -0.1496817022562027, -0.4653509259223938, -0.23309315741062164, 0.2378879338502884, 0.23309004306793213, -0.5305776000022888, 0.34285518527030945, -0.4106315076351166, -0.04752397909760475, -0.13725298643112183, 0.16088561713695526, 0.4230618178844452, -0.11453243345022202, -0.09285971522331238, 0.48901858925819397, 0.8670888543128967, -0.5670806765556335, 0.6802173852920532, 0.09488129615783691, -0.49415385723114014, 0.828129768371582, -0.7573320269584656, 0.04675140231847763, -0.3945354223251343, 0.3231259286403656, -0.9716029763221741, -0.22699452936649323, -0.27404528856277466, -0.7889557480812073, 0.33789581060409546, 0.25512611865997314, -0.4451819062232971, -0.5380394458770752, -0.6565768718719482, -0.14360372722148895, 0.42147138714790344, -0.34474170207977295, 0.9894896745681763, -0.0642169937491417, 0.002583554480224848, -0.9327681660652161, -0.49826619029045105, -0.30077436566352844, 0.12878496944904327, -0.6279845237731934, 0.12619510293006897, -0.21950583159923553, -0.2480446994304657, 0.08252955973148346, -0.08950182795524597, -0.2971600294113159, 0.18764829635620117, 0.32829737663269043, 0.7361640930175781, -0.30746057629585266, 0.26543349027633667, 0.5289886593818665, -0.0653439313173294, 0.3138328194618225, -0.029697610065340996, 0.22529925405979156, -0.46254998445510864, -0.44253969192504883, -0.3653465509414673, 0.3402387201786041, 0.9690514802932739, -0.31428849697113037, 0.696464478969574, 0.40882009267807007, -0.4118013083934784, -0.39460518956184387, -0.55198073387146, -0.2087365835905075, -0.47615212202072144, 0.5050279498100281, -0.36002790927886963, -0.7750832438468933, 0.5362309217453003, 0.16096587479114532, 0.2516036629676819, 0.7436950206756592, 0.6491513252258301, -0.15884354710578918, 0.3131557106971741, 0.5809579491615295, 0.47313201427459717, -0.13675743341445923, -0.16265074908733368, 0.3207036256790161, -0.747883677482605, -0.7249502539634705, -0.9160659909248352, 0.015021226368844509, 0.11006643623113632, -0.5158915519714355, 0.37995651364326477, -0.2438112199306488, -0.3045269548892975, 0.01500912569463253, -0.8765387535095215, 0.9796521663665771, 0.3935329020023346, 0.08717787265777588, 0.22131934762001038, -0.09363695979118347, -0.13767065107822418, 0.00433135824277997, -0.18853659927845, -0.47434914112091064, 0.9292238354682922, 0.42893218994140625, 0.5842152833938599, 0.09529571235179901, 0.44504842162132263, 0.13227514922618866, 0.587908148765564, -0.9789679050445557, 0.6947491765022278, 0.14285123348236084, -0.7078216671943665, -0.6273268461227417, -0.2843596935272217, -0.6641024351119995, 0.3141442537307739, -0.3554285764694214, -0.9218312501907349, -0.0959673523902893, -0.19351287186145782, -0.8096510767936707, 0.14355529844760895, -0.8492763042449951, 0.5401061177253723, -0.033966731280088425, -0.8080965280532837, -0.3131508231163025, -0.7343025207519531, 0.13755974173545837, -0.22668547928333282, 0.004818939138203859, -0.13606341183185577, 0.06158393621444702, 0.9196703433990479, -0.37119123339653015, 0.7675755023956299, 0.10762549936771393, 0.20721065998077393, 0.784547746181488, 0.28127390146255493, -0.20983071625232697, 0.14934363961219788, -0.0344676747918129, -0.26692062616348267, 0.38541504740715027, -0.1810828596353531, -0.4839789569377899, 0.6263600587844849, -1.009710431098938, -0.48353615403175354, -0.8053489327430725, -0.6416876316070557, -0.17725838720798492, 0.21615494787693024, 0.16989219188690186, 0.4865286648273468, -0.2260141372680664, 0.11843619495630264, 0.9615455865859985, 0.11420681327581406, 0.18889255821704865, 0.7619436383247375, -0.2961651384830475, -0.34871670603752136, 0.9057860970497131, 0.2173699140548706, 0.43920764327049255, 0.42628178000450134, 0.4643881320953369, -0.2729507088661194, -0.5724162459373474, -0.5383006930351257, 0.2092423141002655, -0.9398218989372253, -0.5025820732116699, -0.6481425762176514, -0.4993099570274353, -0.5238050222396851, -0.5329416394233704, -0.6080701351165771, -0.42321258783340454, -0.31419694423675537, -0.4471050500869751, 0.629331648349762, 0.9614205360412598, -0.24898448586463928, 0.09308554232120514, -0.8256933689117432, 0.19290374219417572, 0.13129767775535583, 0.11135885864496231, -0.20333896577358246, -0.5571003556251526, -0.1882391721010208, -0.27655988931655884, -0.47168365120887756, -0.7876371741294861, 0.04814429581165314, 0.0314314104616642, 0.3325779438018799, 0.07644308358430862, -0.17386947572231293, 0.2874234914779663, -0.560525119304657, 0.9463050365447998, 0.39069104194641113, -1.1958034038543701, 0.7093141078948975, -0.12343334406614304, -0.008666862733662128, 0.754926860332489, 0.6390807032585144, -0.08050327003002167, -0.44242480397224426, -0.31083646416664124, -0.5890805721282959, 0.4725196361541748, 0.07876628637313843, 0.033310241997241974, 0.11008882522583008, 0.43406814336776733, 0.2510908246040344, -0.11611428111791611, -0.4393749237060547, -0.08130736649036407, -0.21214795112609863, -0.36343589425086975, 0.23511125147342682, -0.035327281802892685, -0.3635929226875305, -0.454961359500885, 0.5314472913742065, -0.2985095977783203, -0.018429145216941833, 0.7133123278617859, 0.40705129504203796, -0.23766885697841644, 0.36887168884277344, 0.49307066202163696, 0.8311446309089661, -0.23077793419361115, 0.18108269572257996, 0.24156980216503143, -0.7962273955345154, 0.1789766550064087, -0.0665213093161583, -0.20549416542053223, -0.061018094420433044, 0.2784266173839569, 0.1817718744277954, -0.41986697912216187, -0.6697185635566711, 0.5431445240974426, -0.2733195722103119, -0.46289974451065063, -0.19204457104206085, 0.23613464832305908, -0.1534583419561386, -0.1148810014128685, 0.35733562707901, 0.2525451183319092, 0.12527066469192505, -0.5677090883255005, -0.015947250649333, 0.07921735942363739, -0.4445365071296692, -0.27767425775527954, 0.24143534898757935, 0.0505429208278656, -0.13248935341835022, 0.4207454323768616, 0.04722531884908676, -0.416573703289032, 0.7726764678955078, 0.42012807726860046, 0.8013147115707397, -0.5289553999900818, 0.537331223487854, 0.6322420835494995, 0.5421021580696106, 0.01869897171854973, 0.7804596424102783, -0.0789324939250946, -0.4450250267982483, -0.5296775102615356, -0.6067387461662292, -0.9773122668266296, -0.4406350255012512, -0.5776570439338684, 0.3913017511367798, -0.900371253490448, -0.07611754536628723, 0.12443891912698746, 0.02729232981801033, -0.397887647151947, 0.5575045347213745, -0.30620700120925903, 0.9397234320640564, -1.0546153783798218, 0.3820514678955078, 0.6819561123847961, -0.311343252658844, -0.6175643801689148, -0.7021598219871521, 0.07890312373638153, -0.3981929123401642, 0.8342461585998535, 0.20848488807678223, -0.6792076230049133, -0.28952014446258545, -0.6392660140991211, -1.1803085803985596, 1.1127678155899048, -0.2101910561323166, -0.06971576809883118, 0.37152954936027527, -0.12956489622592926, 0.8673953413963318, -0.32255977392196655, 0.5417824983596802, 0.34842944145202637, 0.3018747866153717, 0.23333092033863068, -0.8327524065971375, 0.1424303948879242, -0.15191523730754852, -0.6982880234718323, 0.1265304982662201, -0.5689060091972351, 0.7736992835998535, -0.5021527409553528, 0.014064747840166092, 0.07624323666095734, 1.1167958974838257, 0.20403943955898285, 0.6720239520072937, 0.10607558488845825, 0.27907803654670715, 1.1963090896606445, -0.2092238962650299, 0.8155661821365356, 0.15134365856647491, -0.011913648806512356, 1.1849571466445923, -0.6242406964302063, 1.044981837272644, 0.4786262810230255, -0.23970267176628113, 0.8090462684631348, 0.3609590530395508, -0.11203918606042862, 0.30860087275505066, 0.8003110885620117, -0.36441799998283386, 0.02809809148311615, -0.47982507944107056, -0.20548713207244873, 0.4640413224697113, 0.6697474718093872, 0.10858242213726044, -0.02557910978794098, -0.19320760667324066, -0.09093786031007767, 0.3434816002845764, -0.2608790099620819, 0.21961748600006104, -0.3027767539024353, -0.8746587038040161, -0.12592123448848724, -0.10729867964982986, 0.04762643575668335, -0.8407586216926575, 0.0572655089199543, 0.10369172692298889, 0.24578841030597687, -0.46668171882629395, -1.2998265027999878, 0.4492276906967163, 0.13644000887870789, -0.1763327419757843, -0.14298568665981293, 0.719235360622406, -0.09910380840301514, -0.47111886739730835, 0.04682721570134163, 0.528490424156189, 0.040365349501371384, 0.5705111622810364, -0.0034639250952750444, 0.002376703079789877, -0.3850908577442169, -0.2775333821773529, 0.0006554183783009648, 0.46641647815704346, 0.15559011697769165, 0.811510443687439, 0.6518048048019409, 0.13783380389213562, 0.07792700082063675, 0.07991382479667664, 0.8495191931724548, -0.3359602093696594, -0.33850955963134766, -0.5206938982009888, 0.8305084705352783, -0.3877561390399933, -0.6345996260643005, 0.6846098899841309, 0.7004474997520447, 0.45964688062667847, 0.0869378000497818, 0.6266505122184753, 0.15001778304576874, 0.8203745484352112, -0.6741991639137268, 0.6801812648773193, -0.1734611690044403, -0.05885957553982735, -0.05018399655818939, -0.6553016901016235, -0.5331443548202515, 0.5338442325592041, -0.29665011167526245, -0.10328695178031921, 1.4393678903579712, 0.5164391994476318, 0.39288684725761414, 0.2891353368759155, 0.16436298191547394, 0.2945890426635742, 0.5431349277496338, 0.4938451647758484, 1.1708532571792603, -0.2840760052204132, 0.2135738730430603, -0.40182656049728394, -0.6135722398757935, 0.19161120057106018, -0.7095133662223816, -1.1931514739990234, -0.5180265307426453, -0.7529363036155701, -0.7076328992843628, -0.2672915458679199, 0.47676047682762146, 0.25996512174606323, -0.39094412326812744, -0.08673978596925735, 0.15742191672325134, 0.17304596304893494, 0.0292288176715374, -0.25948983430862427, 0.5709752440452576, -0.260544091463089, -0.18435169756412506, 0.586443305015564, 0.6249136328697205, 0.15275774896144867, -0.40146926045417786, 0.3951093256473541, -0.02622189000248909, 0.45408403873443604, 0.5244289040565491, 0.24163994193077087, -0.4351199269294739, -0.5019574761390686, 0.4655285179615021, -0.2504517734050751, -0.016152217984199524, 0.5136739015579224, -0.8897692561149597, 0.5367220640182495, 0.7431288361549377, 0.5302338004112244, 0.42425665259361267, -0.38323864340782166, 0.21312259137630463, -0.3511362373828888, -0.45353466272354126, 0.5325167775154114, 0.30219319462776184, 0.530175507068634, -0.4828076958656311, 0.3647007346153259, 0.05553680658340454, -0.7462892532348633, -0.8108136057853699, -0.09916554391384125, -1.34971284866333, -0.10119672864675522, 0.642530083656311, -0.3051353991031647, -0.553829550743103, -0.167150616645813, -0.36209744215011597, -0.014762036502361298, -0.21800154447555542, 0.7753409743309021, 0.8418117165565491, -0.21451576054096222, 0.3608204424381256, -0.22178009152412415, 0.1010080873966217, 0.5277324318885803, -1.125850796699524, 0.09565388411283493, 0.6544604897499084, 0.10813388228416443, 0.7454721927642822, 0.6764711141586304, -0.10233519226312637, 0.6694950461387634, 0.15301339328289032, -0.054711904376745224, -0.12710538506507874, -0.9089781641960144, 0.06194526329636574, 0.46837562322616577, -0.20669449865818024, -0.22339574992656708 ]
http://arxiv.org/abs/2402.05201v2
http://arxiv.org/pdf/2402.05201v2
The Effect of Sampling Temperature on Problem Solving in Large Language Models
2024-02-07T19:11:23
2024-06-14T18:41:51
Matthew Renze, Erhan Guven
cs.CL
cs.CL, cs.AI
In this research study, we empirically investigate the effect of sampling temperature on the performance of Large Language Models (LLMs) on various problem-solving tasks. We created a multiple-choice question-and-answer (MCQA) exam by randomly sampling problems from standard LLM benchmarks. Then, we used nine popular LLMs with five prompt-engineering techniques to solve the MCQA problems while increasing the sampling temperature from 0.0 to 1.6. Despite anecdotal reports to the contrary, our empirical results indicate that changes in temperature from 0.0 to 1.0 do not have a statistically significant impact on LLM performance for problem-solving tasks. In addition, these results appear to generalize across LLMs, prompt-engineering techniques, and problem domains. All code, data, and supplemental materials are available on GitHub at: https://github.com/matthewrenze/jhu-llm-temperature
[ -0.4911494553089142, -0.9114169478416443, 0.8112966418266296, 0.2694292962551117, -0.09898563474416733, -0.024026794359087944, -0.3957619071006775, -0.3648957908153534, 0.1872103363275528, 0.38315603137016296, -0.2791227400302887, -0.351340115070343, -0.3304806053638458, 0.091297447681427, -0.31293386220932007, 0.48676490783691406, -0.12377241998910904, 0.021945949643850327, -0.44484463334083557, 0.29245060682296753, -0.24873319268226624, -0.8059943318367004, -0.7958798408508301, -0.20709915459156036, 0.703290581703186, 0.6799513101577759, 0.3667970299720764, 0.3926456570625305, 0.4166466295719147, 0.3071597218513489, -0.2519969940185547, -0.22784872353076935, -0.4332675039768219, 0.5600129961967468, 0.08799464255571365, -0.5275801420211792, -0.014692173339426517, 0.06865285336971283, 0.6897942423820496, 0.6441283822059631, -0.3665515184402466, 0.315525084733963, -0.025484692305326462, 0.6903306245803833, -0.6908632516860962, 0.24403773248195648, -0.7780476808547974, -0.3429606556892395, -0.39872822165489197, -0.29772651195526123, -0.45868468284606934, -0.08609788119792938, -0.039920296519994736, -0.48655256628990173, 0.39039793610572815, 0.29403939843177795, 0.34801995754241943, 0.25125765800476074, -0.4061262309551239, -0.23365917801856995, -0.7276624441146851, 1.0676223039627075, -0.8318278193473816, 0.17813824117183685, 0.1332152783870697, 0.16820010542869568, -0.3694913685321808, -0.25507912039756775, -0.7968313097953796, -0.2358558028936386, 0.5340194702148438, 0.1058533564209938, 0.052575960755348206, -0.1454688310623169, 0.5831689834594727, 0.18755139410495758, -0.5268086194992065, 0.2215372771024704, -0.5865145325660706, -0.02747575007379055, 0.672421395778656, 0.43109115958213806, 0.2828240394592285, -0.060635942965745926, -0.10415157675743103, -0.2811664342880249, -0.45710501074790955, 0.3307549059391022, 0.35036978125572205, 0.5043761134147644, 0.11526277661323547, 0.3768155872821808, -0.209245502948761, 0.689996063709259, -0.3769133985042572, 0.05493289604783058, 0.29813459515571594, -0.05226815491914749, -0.25773775577545166, -0.19617825746536255, 0.5440032482147217, 0.17049625515937805, 0.3469308912754059, -0.009670468978583813, -0.09558725357055664, -0.4997043311595917, 0.03501603379845619, -0.7656498551368713, -0.4566226303577423, 0.408875972032547, 0.018226968124508858, -0.12571386992931366, -0.029735352843999863, -0.701205313205719, -0.47419682145118713, -0.3864539861679077, 0.17921249568462372, 0.12516328692436218, -0.5026898384094238, 0.10736646503210068, -0.44082948565483093, 0.287894070148468, 0.25546690821647644, -0.6322329044342041, 0.21591782569885254, 0.4845160245895386, 0.5727299451828003, -0.22334106266498566, -0.3215486705303192, -0.08536694198846817, -0.08540073782205582, -0.4357640743255615, 0.8988078236579895, -0.688247561454773, -0.6591068506240845, -0.15425880253314972, -0.09492256492376328, -0.2591027021408081, -0.8152958750724792, 0.26095637679100037, -0.8140456676483154, -0.03890872001647949, -0.7601558566093445, -0.3048502802848816, 0.23859423398971558, 0.3490191400051117, -0.900036633014679, 1.2506980895996094, -0.34652596712112427, -0.6016271710395813, 0.10749822854995728, -0.45467254519462585, -0.09012200683355331, -0.2323356419801712, 0.051016852259635925, -0.20755313336849213, 0.15819436311721802, 0.16298529505729675, 0.4027065932750702, -0.4410873353481293, -0.11867780983448029, -0.522580087184906, -0.34302306175231934, 0.7777096629142761, -0.27846792340278625, 0.6841804385185242, 0.273954838514328, -0.019288310781121254, -0.08717060834169388, -0.6264950633049011, 0.22582755982875824, 0.4123114049434662, -0.36519503593444824, -0.37794119119644165, -0.20063087344169617, -0.16665218770503998, 0.13166461884975433, 0.12882694602012634, -0.6359198689460754, 0.39838075637817383, -0.2015112191438675, 0.07711740583181381, 0.7252923250198364, 0.3344101309776306, 0.45591792464256287, -0.4942079484462738, 0.7697324156761169, 0.14151214063167572, -0.3532191216945648, -0.011323485523462296, -0.7274201512336731, -0.5922837257385254, -0.14287585020065308, 0.23983876407146454, 0.7670372724533081, -0.8523333072662354, -0.42704156041145325, 0.24682554602622986, -0.7025818228721619, -0.10736968368291855, 0.34190890192985535, 0.16964688897132874, 0.3727230727672577, 0.28873082995414734, 0.15483112633228302, -0.3688746392726898, -0.7500658631324768, -0.2789628207683563, 0.010041608475148678, -0.1881265938282013, 0.3601493239402771, 0.5081543326377869, 0.40145742893218994, 1.0268667936325073, -0.7271115779876709, 0.28072643280029297, -0.13986895978450775, 0.2050466686487198, 0.5040175318717957, 0.5514382719993591, 0.5933067798614502, -0.5777738094329834, -0.37228599190711975, -0.43467554450035095, -0.5605484247207642, -0.37806496024131775, 0.1920442283153534, -0.0814630314707756, 0.4412132501602173, 0.7710843086242676, -0.8677909970283508, 0.1300773322582245, 0.6434251666069031, 0.004177544265985489, 0.9342740774154663, -0.05618293955922127, 0.348849356174469, -1.0127698183059692, 0.1329326182603836, 0.35925763845443726, 0.2697056829929352, -0.7507032155990601, 0.3640349209308624, 0.10640612244606018, -0.2342454195022583, -0.7731261253356934, 0.9002092480659485, -0.5713614225387573, 0.2283426970243454, -0.3708565831184387, -0.012559090740978718, -0.06290532648563385, 0.2243957817554474, -0.1450178325176239, 0.9565646648406982, 0.47088608145713806, -0.8578886985778809, 0.5670011043548584, -0.2862679064273834, -0.3548072278499603, 0.08579221367835999, -0.6524530053138733, 0.44005081057548523, -0.23087158799171448, 0.29036614298820496, -1.0888296365737915, -0.19703300297260284, 0.06539439409971237, -0.5076625943183899, 0.2689143717288971, 0.09128442406654358, -0.8615162372589111, -0.36148035526275635, -0.2021719515323639, 0.684686005115509, 0.39448001980781555, -0.26441341638565063, 0.2851928770542145, 0.04112420231103897, -0.5191634893417358, -0.30988752841949463, -0.5495993494987488, -0.2322833091020584, -0.3161203861236572, -0.4139828681945801, 0.05885240435600281, -0.48444342613220215, -0.7336471080780029, -0.31135156750679016, -0.137187659740448, -0.26260432600975037, 0.22623440623283386, -0.046951618045568466, 0.09459877759218216, -0.03869469836354256, 0.3698582649230957, -0.15109345316886902, 0.01332408469170332, 0.5691941380500793, 0.07242348045110703, 0.7447587847709656, 0.12690338492393494, -0.40743526816368103, -0.11332165449857712, 0.5694612264633179, 0.37700942158699036, -0.05233624204993248, 0.8664990663528442, 0.1343487650156021, -0.3483411967754364, -0.26337921619415283, -0.7153185606002808, -0.3199261724948883, -0.530607283115387, 0.26123934984207153, -0.6382449269294739, -0.7572706937789917, 0.848172128200531, 0.2244047224521637, 0.1734529584646225, 0.39351725578308105, 0.6576700806617737, -0.4727221727371216, 0.8511577248573303, 0.3391915559768677, 0.024995090439915657, 0.4630464017391205, 0.03881927207112312, -0.036717489361763, -0.7807040810585022, -0.20407943427562714, -1.0453983545303345, -0.3896252512931824, -0.5144429206848145, -0.5544750094413757, 0.570902407169342, 0.027134371921420097, -0.3288109600543976, -0.14745892584323883, -0.10558729618787766, 0.724530041217804, 0.8594785332679749, 0.1411263793706894, 0.10205934196710587, -0.16045600175857544, -0.05330001562833786, -0.1014060229063034, -0.6961507797241211, -0.09936966747045517, 1.134940505027771, 0.2512637674808502, 0.7513332962989807, 0.15960364043712616, 0.8693124055862427, -0.21787939965724945, 0.19099941849708557, -0.5131213068962097, 0.6925758719444275, 0.21338148415088654, -0.9702979326248169, -0.5743498802185059, -0.654599130153656, -1.0206576585769653, 0.16332073509693146, 0.1362839937210083, -0.7910687327384949, -0.18342547118663788, 0.05991699919104576, -0.21694284677505493, 0.3588970899581909, -0.7462791800498962, 0.6104172468185425, -0.038465406745672226, -0.2041148990392685, -0.16070497035980225, -0.1765834093093872, 0.3798520565032959, -0.11908148229122162, 0.5423750877380371, -0.2610662877559662, 0.1451418697834015, 0.9561889171600342, -0.04309171438217163, 0.9087899923324585, -0.3350726366043091, -0.29615044593811035, 0.37815138697624207, 0.186111181974411, 0.4505867660045624, 0.054207272827625275, -0.5570394992828369, -0.06664028763771057, 0.37123343348503113, -0.9993308782577515, -0.6840904355049133, 0.7734114527702332, -0.7038198709487915, -1.120489478111267, -0.6888718008995056, -1.0105684995651245, -0.457119345664978, -0.08124296367168427, 0.007247183471918106, 0.3529842793941498, 0.056431595236063004, 0.21444348990917206, 0.9577795267105103, -0.49679243564605713, 0.5084949731826782, 0.6517858505249023, -0.41984525322914124, 0.08493998646736145, 0.7481455206871033, 0.43803486227989197, 0.587026834487915, 0.12278106063604355, 0.2603864371776581, 0.04653773829340935, -0.5493389368057251, -0.4081844687461853, 0.2003365159034729, -0.8139858841896057, -0.07793030887842178, -0.3741337060928345, -0.3381689488887787, -0.606514036655426, 0.02122674137353897, -0.11308275908231735, -0.22476045787334442, -0.4780215322971344, 0.14476734399795532, 0.4829421639442444, 0.2810181975364685, 0.08034408092498779, 0.1475917249917984, -0.8634691834449768, 0.07437121868133545, 0.29510951042175293, 0.11764851212501526, 0.0870218575000763, -0.6721728444099426, -0.19713979959487915, 0.06877855211496353, -0.0549025796353817, -0.8993924856185913, 0.2725520133972168, -0.12026126682758331, 0.8115875720977783, 0.04006524011492729, 0.3302621841430664, 0.543677806854248, -0.1581472009420395, 0.9638206958770752, -0.010509790852665901, -0.7443705201148987, 0.2929304540157318, -0.40464848279953003, 1.1627111434936523, 0.40025264024734497, 0.48686841130256653, -0.4485397934913635, -0.6745166778564453, -0.46872836351394653, -0.8443690538406372, 0.22055087983608246, -0.10052605718374252, 0.5158041715621948, 0.011430440470576286, 0.5163071155548096, -0.10914500802755356, 0.043387364596128464, -0.48550844192504883, -0.353335440158844, 0.3904876112937927, 0.19683337211608887, -0.25505974888801575, -0.46496617794036865, -0.014814243651926517, -0.47202616930007935, 0.6723964810371399, 0.015838446095585823, 0.30269983410835266, 0.0579880028963089, 0.1313675194978714, -0.1083802655339241, 0.5769729018211365, 0.7962238192558289, 0.6885718703269958, -0.4723619520664215, 0.08470068871974945, 0.47809478640556335, -0.34101006388664246, -0.14725816249847412, 0.11846468597650528, -0.05814092606306076, -0.08282174915075302, 0.2383212000131607, 0.15241777896881104, 0.05894506350159645, -0.6128533482551575, -0.062097273766994476, -0.0900292694568634, -0.4090367257595062, -0.3251824676990509, 0.3273121118545532, 0.17301461100578308, 0.2005382925271988, 0.716225802898407, -0.08585721254348755, 0.046182624995708466, -0.7486976385116577, -0.08361591398715973, 0.48292577266693115, 0.07780211418867111, -0.04400373995304108, 0.27795302867889404, 0.05750882998108864, -0.18218682706356049, 0.8446353673934937, -0.15662522614002228, -0.5597034692764282, 1.0983948707580566, 0.8423177003860474, 0.18647438287734985, -0.30745968222618103, -0.05656765401363373, 0.43215858936309814, 0.34883755445480347, 0.09796509891748428, 0.7076907753944397, 0.14186012744903564, -0.7964547872543335, -0.48320385813713074, -0.5306884050369263, -0.888015627861023, 0.16230104863643646, -0.6276653409004211, -0.0753772109746933, -0.49425697326660156, -0.08816341310739517, -0.2636517584323883, 0.08170343935489655, -0.8895861506462097, 0.36444520950317383, 0.22180861234664917, 1.0851013660430908, -0.7707188129425049, 0.7468507885932922, 0.66172856092453, -0.15020844340324402, -1.1166942119598389, 0.11730863153934479, 0.19382469356060028, -0.6441106796264648, 0.501926600933075, -0.05538828670978546, -0.01987561769783497, 0.11497543752193451, -0.7263485193252563, -1.223407506942749, 0.9741473197937012, 0.3150785267353058, -0.6441600918769836, 0.03741305693984032, 0.2226857841014862, 0.5575903058052063, 0.07483545690774918, 0.3054463863372803, 0.6786516904830933, 0.47710373997688293, 0.3024325668811798, -1.2044932842254639, 0.008028803393244743, -0.48699212074279785, -0.1354043185710907, 0.2135521024465561, -0.6586000919342041, 0.8497527241706848, -0.2682269811630249, -0.1135391965508461, -0.031025473028421402, 0.6633564233779907, 0.7308624982833862, 0.661525547504425, 0.3721342086791992, 0.6077419519424438, 0.8830258846282959, -0.07087625563144684, 1.14518141746521, -0.26688870787620544, 0.16849660873413086, 0.8702538013458252, -0.5046013593673706, 1.0351061820983887, 0.7886355519294739, -0.20083069801330566, 0.1586632877588272, 0.6591663956642151, 0.2521286904811859, 0.2963932156562805, 0.7729684114456177, -0.3646301031112671, -0.20819643139839172, -0.08315795660018921, -0.7369982600212097, 0.23420992493629456, 0.3039951026439667, -0.030590225011110306, -0.08090336620807648, 0.1713506132364273, 0.16430777311325073, -0.09016718715429306, -0.39062872529029846, 0.3909924328327179, 0.3271041214466095, -0.5322753190994263, 0.4806095063686371, 0.03568308427929878, 0.4942246973514557, -0.21550032496452332, 0.2587859034538269, -0.24407203495502472, -0.17135822772979736, -0.04193468764424324, -1.0009920597076416, 0.3993751108646393, 0.04540101811289787, -0.31155261397361755, -0.3863513469696045, 0.4894186854362488, -0.1387968212366104, -0.6682158708572388, -0.09830818325281143, 0.7292535901069641, 0.28470057249069214, -0.2932206392288208, -0.3612555265426636, 0.31317567825317383, -0.3692984879016876, -0.7421993613243103, 0.47846895456314087, 0.4202766716480255, 0.16624924540519714, 0.7280638813972473, 0.817984402179718, -0.02849172241985798, 0.1488674283027649, 0.13764730095863342, 0.9344388246536255, -0.8305376768112183, -0.2503345310688019, -0.7369301319122314, 0.2740228772163391, 0.041936807334423065, -0.3119179308414459, 0.6723496913909912, 0.6212254166603088, 0.845683753490448, -0.13260683417320251, 0.7270405888557434, 0.10088760405778885, 0.6925241351127625, -1.0113290548324585, 0.44789016246795654, -0.4429949223995209, 0.4108732342720032, -0.3268505334854126, -1.19089674949646, -0.25610899925231934, -0.059561651200056076, -0.7712219953536987, 0.26219674944877625, 0.8211219906806946, 0.8962330222129822, 0.27285531163215637, -0.1627345085144043, 0.31675398349761963, 0.2236771136522293, 0.460298627614975, 0.3916676938533783, 0.9150559306144714, -0.049996644258499146, 0.49585166573524475, -0.4037385880947113, -0.15187625586986542, 0.015150877647101879, -0.8053710460662842, -0.8079028129577637, -0.6409624814987183, -0.30385473370552063, -0.4721374213695526, -0.027900787070393562, 1.0399521589279175, 0.37386441230773926, -0.7809320688247681, -0.24366901814937592, 0.39487066864967346, -0.03599051758646965, -0.12425035983324051, -0.2717812955379486, 0.06989482045173645, -0.35740023851394653, -0.772948145866394, 0.35911861062049866, -0.19902658462524414, -0.16555753350257874, -0.251508891582489, 0.2679345905780792, -0.05687597766518593, 0.4771024286746979, 0.3171907663345337, 0.32661402225494385, -0.5593892931938171, -0.16011154651641846, 0.2869008779525757, -0.33361420035362244, 0.044491447508335114, 0.85895836353302, -0.6369941830635071, 0.19295015931129456, 0.6419180631637573, 0.6311962008476257, 0.6084931492805481, -0.00918508879840374, 0.36641544103622437, -0.827801525592804, 0.02809801883995533, 0.15497225522994995, 0.33599114418029785, 0.02540496364235878, -0.3205588459968567, -0.04712254926562309, 0.11977677792310715, -0.7130452990531921, -0.7620046138763428, 0.30058056116104126, -1.0294976234436035, -0.5265502333641052, 1.4583773612976074, 0.2762167453765869, -0.3595322072505951, 0.04527841508388519, -0.1710789054632187, 0.06202159821987152, -0.544996440410614, 1.1516854763031006, 1.128310203552246, -0.09979850798845291, -0.6507079601287842, -1.0870699882507324, 0.02558712102472782, 0.6029565334320068, -0.7464207410812378, -0.04821942374110222, 0.3807883560657501, 0.5610944032669067, -0.12889482080936432, 0.7079098224639893, 0.3695424497127533, 0.2865367829799652, -0.05382834002375603, 0.04966576397418976, -0.23072507977485657, -0.17576007544994354, -0.20100459456443787, 0.29069843888282776, 0.26910531520843506, 0.20822609961032867 ]
http://arxiv.org/abs/2402.05200v1
http://arxiv.org/pdf/2402.05200v1
Are LLMs Ready for Real-World Materials Discovery?
2024-02-07T19:10:36
2024-02-07T19:10:36
Santiago Miret, N M Anoop Krishnan
cond-mat.mtrl-sci
cond-mat.mtrl-sci, cs.AI, cs.CL, cs.LG
Large Language Models (LLMs) create exciting possibilities for powerful language processing tools to accelerate research in materials science. While LLMs have great potential to accelerate materials understanding and discovery, they currently fall short in being practical materials science tools. In this position paper, we show relevant failure cases of LLMs in materials science that reveal current limitations of LLMs related to comprehending and reasoning over complex, interconnected materials science knowledge. Given those shortcomings, we outline a framework for developing Materials Science LLMs (MatSci-LLMs) that are grounded in materials science knowledge and hypothesis generation followed by hypothesis testing. The path to attaining performant MatSci-LLMs rests in large part on building high-quality, multi-modal datasets sourced from scientific literature where various information extraction challenges persist. As such, we describe key materials science information extraction challenges which need to be overcome in order to build large-scale, multi-modal datasets that capture valuable materials science knowledge. Finally, we outline a roadmap for applying future MatSci-LLMs for real-world materials discovery via: 1. Automated Knowledge Base Generation; 2. Automated In-Silico Material Design; and 3. MatSci-LLM Integrated Self-Driving Materials Laboratories.
[ -0.17628450691699982, -0.6291369795799255, 1.127256989479065, -0.051685649901628494, 0.08108089119195938, 0.5020349025726318, -0.06845037639141083, -0.3717482089996338, -0.15995614230632782, 0.17809008061885834, -0.6854092478752136, -0.3610299825668335, -0.34746336936950684, 0.19659055769443512, -0.21052700281143188, 0.4730405807495117, -0.4103412926197052, 0.10890115797519684, -0.6069538593292236, 0.40390029549598694, -0.2244349867105484, -0.40047428011894226, -0.29463061690330505, -0.36598485708236694, 0.3244897425174713, 0.6559481024742126, 0.3261900246143341, 0.6503396034240723, 0.4915207326412201, 0.2009061723947525, -0.08406100422143936, 0.6377173066139221, -0.034229885786771774, 0.24784639477729797, -0.16258209943771362, -0.6664522290229797, -0.4172554612159729, 0.2972699701786041, 0.6547625064849854, 0.869580864906311, -0.03553135693073273, 0.1109243854880333, -0.11523701250553131, 0.3360899090766907, -0.24867065250873566, 0.0684954971075058, -0.49869504570961, 0.4977375268936157, -0.3182859718799591, -0.5301136374473572, -0.439835786819458, 0.03999249264597893, 0.08823101967573166, -0.695720911026001, 0.42423832416534424, 0.4358966648578644, 0.7551713585853577, 0.004600731655955315, -0.45073243975639343, -0.4581901431083679, -0.7855933308601379, 0.9465939998626709, -0.6178697347640991, 0.6340281963348389, 0.3451175093650818, 0.41689619421958923, -0.4922151267528534, -0.7131327986717224, -0.49913811683654785, -0.42171627283096313, 0.1755717545747757, 0.07286930829286575, 0.8247391581535339, -0.1691715568304062, 0.20912235975265503, 0.39078381657600403, -0.34977737069129944, 0.10759980231523514, -0.42780250310897827, -0.37382838129997253, 0.2351127564907074, 0.4619413912296295, 0.19687211513519287, 0.07684227079153061, -0.41044116020202637, -0.0442764014005661, -1.028124213218689, -0.432619571685791, 0.27257952094078064, 0.38223445415496826, -0.04550992324948311, 0.7319030165672302, 0.03047151304781437, 0.20972371101379395, -0.4829099178314209, -0.29896682500839233, 0.19297514855861664, -0.6823587417602539, 0.057463388890028, -0.08579088747501373, 0.4847404658794403, -0.09286729991436005, 0.1720898151397705, -0.33903566002845764, -0.3050912022590637, -0.1857224553823471, -0.03895683214068413, -0.9118915796279907, -0.00047539957449771464, 0.3667026460170746, -0.33442872762680054, -0.20365197956562042, 0.08938474953174591, -0.5486530661582947, -0.7279783487319946, -0.49618983268737793, 0.1912466585636139, -0.08650589734315872, -0.5890375971794128, 0.19704219698905945, -0.42350488901138306, 0.06725604087114334, 0.5688998699188232, -0.7782272100448608, 0.3301486670970917, 0.601306140422821, 1.049359917640686, -0.2650928497314453, -0.43898966908454895, -0.22918029129505157, 0.24488742649555206, -0.4275161921977997, 0.9476405382156372, -0.24951988458633423, -0.5771207213401794, -0.3032151758670807, 0.11500906944274902, 0.2744283676147461, -0.7106527090072632, 0.3895054757595062, -0.11452668905258179, 0.056043174117803574, -0.5625230669975281, -0.31249791383743286, 0.25233790278434753, 0.3178557753562927, -0.48558586835861206, 0.7602320313453674, -0.003885906655341387, -0.6734699010848999, 0.3123335540294647, -0.4372270107269287, -0.4177783727645874, -0.1070561632514, -0.38950011134147644, -0.38105934858322144, 0.1534275859594345, -0.39670032262802124, 0.6792083382606506, -0.8651909828186035, 0.5518205165863037, -0.48385557532310486, -0.22253353893756866, 0.5944044589996338, -0.49656587839126587, 0.1596563756465912, 0.3166162371635437, -0.2237236201763153, -0.32050877809524536, -0.8308846950531006, -0.33238685131073, 0.2951374053955078, -0.3804223835468292, 0.10013257712125778, 0.4782333970069885, 0.09254100173711777, 0.3562248647212982, 0.31566816568374634, -0.8070017099380493, 0.03480615094304085, -0.0864732563495636, 0.5231699347496033, 1.0697489976882935, -0.21366062760353088, 0.4821262061595917, -0.2593317925930023, 0.40405628085136414, 0.09478987753391266, -0.1449330598115921, -0.3004295229911804, -0.031911447644233704, -0.8156222701072693, 0.08756791055202484, 0.24234884977340698, 0.3772159814834595, -0.4660537540912628, 0.07634047418832779, -0.17250850796699524, -0.6953256726264954, -0.04329104349017143, 0.09593722224235535, 0.11491786688566208, 0.5917127728462219, 0.07365860790014267, -0.07963109761476517, -0.6112766861915588, -0.7213247418403625, -0.12385009229183197, 0.10907416045665741, 0.06682676076889038, 0.3191261887550354, 0.3844636082649231, -0.0957706943154335, 1.1035399436950684, -0.6572848558425903, -0.32158467173576355, -0.09968505799770355, 0.022571232169866562, 0.2997201383113861, 0.36820438504219055, -0.13846208155155182, -0.9501392245292664, -0.082676462829113, 0.07506169378757477, -1.1435017585754395, 0.1587323248386383, 0.053212568163871765, 0.2705451250076294, -0.07101079821586609, 0.8586492538452148, -0.4886229932308197, -0.052672117948532104, 0.1301921308040619, -0.14542506635189056, 0.6187083721160889, -0.23863260447978973, -0.06931662559509277, -0.9753695130348206, 0.043641623109579086, 0.19750605523586273, -0.03330013155937195, -0.5565958023071289, -0.29979750514030457, -0.03524613752961159, -0.389279842376709, -0.6151025295257568, 0.7819342613220215, -0.7654447555541992, -0.46529150009155273, -0.09461851418018341, 0.04598445072770119, 0.15407797694206238, 0.16060900688171387, 0.16577933728694916, 0.860313355922699, 0.4534417688846588, -0.7897710800170898, 0.3240736424922943, -0.1107056736946106, -0.5128632187843323, 0.44899386167526245, -0.4424644410610199, -0.21647217869758606, -0.06500153243541718, 0.3185681700706482, -0.6140127778053284, -0.3869243562221527, 0.045538146048784256, -0.07073019444942474, 0.35051846504211426, 0.17193299531936646, -0.7831043601036072, -0.3361450731754303, -0.21830475330352783, 0.2111806869506836, 0.06651733815670013, -0.6145122051239014, 0.8075250387191772, 0.3568071126937866, -0.34521156549453735, -0.40247514843940735, -0.7189205884933472, 0.06800413131713867, -0.14974181354045868, -0.5882487893104553, 0.24416199326515198, -0.6821408867835999, -0.37376803159713745, -0.25515010952949524, -0.43939727544784546, 0.15605340898036957, 0.5766544938087463, 0.2403039187192917, 0.15461915731430054, -0.16398796439170837, 0.4079339802265167, -0.20684374868869781, -0.2446213960647583, 0.14441844820976257, -0.02855549193918705, 0.6763371825218201, -0.19279949367046356, -0.5377092957496643, -0.10412392765283585, 0.06826581805944443, 0.5036991834640503, -0.03531668335199356, 0.13742700219154358, 0.3531859517097473, -0.6145636439323425, -0.44023311138153076, -0.4826117157936096, -0.353224515914917, -0.5405915975570679, 0.5186974406242371, -0.6722822785377502, -0.6718118190765381, 0.4940999448299408, -0.5388215184211731, 0.10317441821098328, 0.2135811150074005, 0.3345969021320343, -0.23139391839504242, 0.8597069978713989, 0.5970810055732727, 0.4536197781562805, 0.19526055455207825, -0.13913887739181519, 0.4373047649860382, -0.7837055921554565, -0.5477668642997742, -0.3237345516681671, 0.1348128765821457, -0.1576927900314331, -0.3320799469947815, 0.5015838146209717, -0.3124033212661743, -0.10470904409885406, 0.05815940350294113, -0.4504737854003906, 0.46682658791542053, 0.1264200061559677, 0.02559293620288372, 0.49579310417175293, 0.1434735506772995, 0.0007877959287725389, -0.019809186458587646, -0.6213104724884033, -0.5860810279846191, 0.9424524903297424, 0.536302924156189, 0.9906632304191589, -0.21929168701171875, 0.25697556138038635, 0.47921451926231384, 0.021496284753084183, -0.6709786057472229, 0.7280893325805664, 0.18098697066307068, -0.6447960138320923, -0.0407060831785202, -0.45857468247413635, -0.5945909023284912, 0.22119300067424774, -0.15072233974933624, -0.014780107885599136, 0.29478883743286133, -0.08785339444875717, -0.25099751353263855, 0.37549281120300293, -0.6264893412590027, 0.6110922694206238, -0.6693778038024902, -0.3070578873157501, -0.0412542000412941, -0.4984315037727356, 0.20305195450782776, -0.2692488133907318, 0.8021278381347656, -0.6189385652542114, -0.11254272609949112, 0.7486603856086731, -0.25773534178733826, 0.8336898684501648, -0.08739977329969406, -0.5163981318473816, 0.38887280225753784, 0.27726393938064575, 0.2679111957550049, 0.11579032242298126, -0.34677577018737793, -0.10094190388917923, -0.07512414455413818, -0.19880202412605286, -0.20733192563056946, 0.7700074911117554, -0.32559114694595337, -0.5224953889846802, -0.6185946464538574, -0.5522587299346924, -0.22038133442401886, 0.14592605829238892, 0.149640753865242, 0.5113376975059509, -0.27396294474601746, -0.056815702468156815, 0.8181459903717041, 0.04073859378695488, 0.322248637676239, 0.5271397233009338, 0.18306966125965118, -0.010075102560222149, 1.7033690214157104, 0.4256632626056671, 0.18097741901874542, 0.09859886765480042, 0.20866550505161285, -0.022986864671111107, -0.7072328925132751, -0.329630583524704, 0.2705753445625305, -0.7531220316886902, -0.2648879587650299, -0.5005273818969727, -0.3099122643470764, -0.31897324323654175, -0.3352757692337036, -0.44420334696769714, -0.3020956218242645, -0.5564820766448975, -0.23231598734855652, 0.04740360379219055, 0.9335790276527405, -0.16675980389118195, 0.03782961145043373, -0.7035943865776062, 0.37113234400749207, 0.0443371944129467, 0.4534711539745331, -0.12198511511087418, -0.29126545786857605, -0.4943028688430786, -0.03816022351384163, -0.04695632681250572, -0.4562491178512573, 0.2375556379556656, -0.04190485179424286, 0.6358302235603333, 0.11604537814855576, -0.2160625457763672, 0.27978286147117615, -0.5205560922622681, 0.6304804086685181, -0.02172807790338993, -0.5116197466850281, 0.4383504092693329, -0.4187910854816437, -0.1984899789094925, 0.25540438294410706, 0.48837804794311523, -0.31974121928215027, 0.14812138676643372, -0.6058602929115295, -0.7081052660942078, 0.7365403175354004, -0.23043310642242432, -0.1949589103460312, 0.08392175287008286, 0.1972409337759018, 0.282936155796051, 0.15072478353977203, -0.7981677055358887, -0.0562710165977478, 0.06886475533246994, -0.22704505920410156, 0.052234962582588196, -0.2022998183965683, -0.28314515948295593, 0.3037613332271576, 0.8303443789482117, -0.36200129985809326, 0.15598900616168976, 0.30152878165245056, -0.21369382739067078, -0.07656003534793854, 0.2524755597114563, 0.523483157157898, 0.643738865852356, -0.5122912526130676, 0.3316315710544586, 0.15396539866924286, -0.26940229535102844, 0.2815156579017639, -0.04439021646976471, 0.05363564193248749, -0.3074604868888855, 0.04070068523287773, 0.5321781039237976, 0.012178515084087849, -1.0740249156951904, 0.30557888746261597, 0.04073471203446388, -0.15840855240821838, -0.6230316758155823, -0.10495833307504654, 0.06122598424553871, 0.22754326462745667, 0.5384209752082825, -0.10415582358837128, 0.009496137499809265, -0.854001522064209, 0.07483911514282227, 0.5081599950790405, -0.14601415395736694, -0.2416294813156128, 0.3844369649887085, 0.20474277436733246, -0.05589159578084946, 0.3030598759651184, -0.26704785227775574, -0.4122345447540283, 0.9150649905204773, 0.6381564736366272, 0.2995937764644623, 0.0752575621008873, 0.07960323244333267, 0.19388988614082336, 0.2553705871105194, -0.3884417712688446, 0.051545750349760056, -0.15784375369548798, -0.6852174997329712, -0.07608605921268463, -0.4534803628921509, -0.8749087452888489, -0.12620966136455536, 0.01149370614439249, 0.4945806562900543, -0.7007383704185486, 0.266428679227829, -0.25389933586120605, 0.24990302324295044, -0.1521710306406021, 0.5755758881568909, 0.14732946455478668, 0.8262889385223389, -0.9549042582511902, 0.3835242688655853, 0.19356083869934082, -0.2720268666744232, -0.32119590044021606, -0.5090424418449402, 0.1714119017124176, -0.668110191822052, 0.7027156352996826, 0.14281964302062988, -0.15142056345939636, -0.17000629007816315, -0.8096155524253845, -1.1495158672332764, 1.4060122966766357, 0.27148252725601196, -0.1882430911064148, -0.2759879231452942, 0.17818042635917664, 0.11606340855360031, -0.2664346396923065, 0.2513199746608734, 0.3409321904182434, 0.5890501737594604, -0.005048420280218124, -0.48850440979003906, 0.1327640414237976, -0.1471947431564331, -0.5047089457511902, 0.14938940107822418, -0.7386347651481628, 0.9247719645500183, -0.15162761509418488, -0.41226163506507874, 0.09243204444646835, 0.8576390743255615, 0.502098798751831, 0.4487433433532715, 0.39287295937538147, 0.48989179730415344, 0.7131363749504089, -0.17720632255077362, 0.877423107624054, 0.08501755446195602, 0.08360222727060318, 0.8298677206039429, -0.5811657309532166, 0.526313841342926, 0.4005368947982788, -0.16444534063339233, 0.3491649329662323, 0.9386414289474487, -0.20281976461410522, 0.14419861137866974, 0.3325660526752472, -0.34015682339668274, -0.5258758664131165, -0.44566041231155396, -0.4514423608779907, -0.0159282349050045, 0.881238579750061, 0.06284590810537338, -0.16751307249069214, 0.09132804721593857, -0.07744225859642029, -0.08853212743997574, -0.004887769930064678, 0.24451352655887604, 0.24729083478450775, -0.36943864822387695, 0.1544654816389084, 0.07342635840177536, 0.7637970447540283, -0.5738949775695801, -0.17665131390094757, -0.1643727719783783, -0.044253867119550705, -0.26551198959350586, -0.8966089487075806, 0.025929711759090424, -0.3072426915168762, -0.2684182822704315, -0.43526920676231384, 0.9439823031425476, -0.14848855137825012, -0.2640751898288727, 0.03385492414236069, 0.6743980646133423, 0.2665594816207886, 0.17376957833766937, -0.2005295753479004, 0.07012535631656647, -0.09956160932779312, -0.3146804869174957, 0.5532100796699524, 0.39824622869491577, -0.038124460726976395, 0.9726200699806213, 0.888923704624176, 0.08826535195112228, -0.0013304621679708362, -0.1570984274148941, 0.7661553621292114, -0.7747470140457153, 0.07411904633045197, -0.5324050784111023, 0.25541210174560547, -0.12155356258153915, 0.00835504662245512, 0.6182644963264465, 0.8433759808540344, 0.5819966197013855, 0.002388610737398267, 0.8774113059043884, 0.06097521632909775, 0.7604836225509644, -0.5739525556564331, 0.41984593868255615, -0.6097038984298706, 0.4598631262779236, 0.13152872025966644, -0.810702919960022, -0.2654362618923187, 0.38947758078575134, 0.20010064542293549, 0.0012140980688855052, 0.7808853983879089, 0.7324618697166443, -0.2637503743171692, -0.12906621396541595, 0.16415368020534515, 0.35855263471603394, 0.603049635887146, 0.12703056633472443, 0.963347852230072, -0.2943844199180603, 0.57069331407547, -0.20607499778270721, 0.05867942422628403, -0.03343115374445915, -1.047610878944397, -0.5481271147727966, -0.6301615238189697, -0.07725352048873901, -0.39273926615715027, -0.2635571360588074, 0.6869374513626099, 0.6504622101783752, -0.3633972704410553, -0.41934558749198914, -0.5150785446166992, 0.267485111951828, 0.5325085520744324, -0.22335392236709595, 0.26037994027137756, -0.5015112161636353, -0.728956937789917, 0.9191508889198303, 0.3597883880138397, 0.31252530217170715, -0.3651033639907837, -0.13191314041614532, -0.14671960473060608, 0.17244982719421387, 0.44420573115348816, 0.5727573037147522, -0.29601651430130005, -0.0025384346954524517, 0.34470757842063904, -0.20869341492652893, 0.13178876042366028, 0.8137246370315552, -0.713488757610321, 0.18796664476394653, 0.5631032586097717, 0.6812118887901306, 0.5499395132064819, -0.4653604030609131, 0.6139683723449707, -0.5118926167488098, 0.0705307126045227, 0.22667761147022247, 0.624321460723877, 0.5926384925842285, -0.21077820658683777, 0.794424295425415, 0.5150145888328552, -0.5723166465759277, -1.0348846912384033, 0.4830847978591919, -1.0950831174850464, -0.49446597695350647, 1.1831557750701904, 0.258793443441391, -0.2630741000175476, -0.1525697261095047, -0.2682332694530487, 0.1620660126209259, -0.0192561037838459, 0.3410611152648926, 0.6601981520652771, 0.04791102930903435, 0.06212683022022247, -0.6634931564331055, 0.3691038489341736, 0.5871332883834839, -1.055298924446106, 0.280656635761261, 0.2868439555168152, 0.34455618262290955, 0.36957862973213196, 0.5728088617324829, -0.24360747635364532, 0.10625067353248596, -0.0019289228366687894, 0.07662619650363922, -0.21387851238250732, -0.6576933860778809, 0.09630968421697617, 0.07664164900779724, 0.31533515453338623, 0.4545998275279999 ]
http://arxiv.org/abs/2402.05195v2
http://arxiv.org/pdf/2402.05195v2
$λ$-ECLIPSE: Multi-Concept Personalized Text-to-Image Diffusion Models by Leveraging CLIP Latent Space
2024-02-07T19:07:10
2024-04-09T22:14:37
Maitreya Patel, Sangmin Jung, Chitta Baral, Yezhou Yang
cs.CV
cs.CV, cs.CL
Despite the recent advances in personalized text-to-image (P-T2I) generative models, it remains challenging to perform finetuning-free multi-subject-driven T2I in a resource-efficient manner. Predominantly, contemporary approaches, involving the training of Hypernetworks and Multimodal Large Language Models (MLLMs), require heavy computing resources that range from 600 to 12300 GPU hours of training. These subject-driven T2I methods hinge on Latent Diffusion Models (LDMs), which facilitate T2I mapping through cross-attention layers. While LDMs offer distinct advantages, P-T2I methods' reliance on the latent space of these diffusion models significantly escalates resource demands, leading to inconsistent results and necessitating numerous iterations for a single desired image. In this paper, we present $\lambda$-ECLIPSE, an alternative prior-training strategy that works in the latent space of a pre-trained CLIP model without relying on the diffusion UNet models. $\lambda$-ECLIPSE leverages the image-text interleaved pre-training for fast and effective multi-subject-driven P-T2I. Through extensive experiments, we establish that $\lambda$-ECLIPSE surpasses existing baselines in composition alignment while preserving concept alignment performance, even with significantly lower resource utilization. $\lambda$-ECLIPSE performs multi-subject driven P-T2I with just 34M parameters and is trained on a mere 74 GPU hours. Additionally, $\lambda$-ECLIPSE demonstrates the unique ability to perform multi-concept interpolations.
[ -0.49086809158325195, -0.5561054348945618, 0.749250590801239, 0.4271926283836365, -0.5148711204528809, 0.2371644675731659, -0.11762704700231552, -0.1599140167236328, 0.3699837028980255, 0.5077716708183289, -0.42411553859710693, -0.5512393116950989, -0.5501567125320435, -0.2069573700428009, -0.3049249053001404, 0.8294649124145508, -0.06647312641143799, -0.01823124848306179, 0.01646306924521923, -0.06933654844760895, 0.07751354575157166, -0.1558598428964615, -0.6455940008163452, 0.2675049901008606, 0.5797753930091858, 0.3637852966785431, 0.3166332244873047, 0.3345879912376404, 0.29114195704460144, 0.12038920074701309, -0.2542435824871063, 0.1688033491373062, -0.2271205186843872, -0.09233778715133667, -0.147580087184906, -0.287479966878891, -0.3717202842235565, 0.02853117138147354, 0.43149492144584656, 0.5745877623558044, 0.1762562394142151, 0.07083070278167725, 0.21527090668678284, 0.487958163022995, -1.0924930572509766, -0.3491508364677429, -0.37601155042648315, 0.23654136061668396, -0.3447096645832062, -0.1934058666229248, -0.27247709035873413, -0.22948209941387177, 0.424502432346344, -1.156241536140442, 0.3721463084220886, -0.10224390774965286, 0.6028637290000916, 0.32124966382980347, -0.46538791060447693, -0.022737227380275726, -0.7951460480690002, 0.8041414022445679, -0.4351884126663208, 0.26165831089019775, 0.11115605384111404, 0.1545754373073578, 0.3427881896495819, -0.7404134273529053, -0.5557844638824463, 0.2605499029159546, 0.3270294666290283, 0.6085157990455627, 0.30876344442367554, 0.044792983680963516, -0.05231071263551712, 0.28383997082710266, -0.38118618726730347, 0.15614794194698334, -0.2805301249027252, 0.03877245634794235, 0.18724550306797028, 0.0244447011500597, -0.010474097914993763, -0.14237123727798462, -0.5318481922149658, 0.08533341437578201, -0.7214754223823547, -0.11195037513971329, 0.19441598653793335, -0.22552819550037384, -0.19458016753196716, 0.6358861327171326, 0.27291545271873474, 0.2554806172847748, 0.22117462754249573, -0.10390111058950424, 0.025196271017193794, -0.5842583179473877, -0.06881609559059143, -0.159705251455307, 0.7937426567077637, 0.4264174997806549, -0.1881297528743744, -0.34998905658721924, 0.13698649406433105, -0.05414605513215065, 0.10137462615966797, -1.2052459716796875, -0.3341743052005768, 0.29734283685684204, -0.3276810050010681, -0.07518382370471954, -0.1244010478258133, -0.9164408445358276, -0.355451762676239, -0.05424615740776062, 0.18955057859420776, -0.5809479355812073, -0.39039871096611023, -0.11812538653612137, -0.38722488284111023, -0.029682185500860214, 0.6349430680274963, -0.7068169713020325, 0.18527327477931976, 0.5304210186004639, 1.3397722244262695, -0.3399665653705597, -0.20993570983409882, -0.30088716745376587, 0.5118997097015381, -0.5514681935310364, 0.6655247807502747, -0.5320537686347961, -0.6610821485519409, -0.15666693449020386, -0.007397125940769911, 0.07322761416435242, -0.39113521575927734, 0.5078150629997253, -0.5573215484619141, 0.49449440836906433, -0.2021218091249466, -0.8577306866645813, -0.06664934009313583, -0.10616014897823334, -0.5410233736038208, 0.8610740303993225, 0.08711051195859909, -0.9530773162841797, 0.4256601929664612, -0.8634154796600342, -0.07390613108873367, 0.0030454308725893497, -0.119493268430233, -0.6296659708023071, 0.04218846932053566, 0.27404850721359253, 0.6725330948829651, -0.32698068022727966, 0.052463795989751816, -0.7533870935440063, -0.3032347857952118, -0.04642554372549057, -0.23009096086025238, 0.4808524549007416, 0.055326756089925766, -0.4157499372959137, 0.2411007434129715, -0.7346972227096558, -0.285658597946167, -0.05563430115580559, -0.019961446523666382, -0.8757045865058899, -0.2176189124584198, 0.3761872351169586, 0.4225577712059021, 0.14286790788173676, -0.6608886122703552, 0.145757257938385, -0.5594838857650757, 0.23692432045936584, 0.807399570941925, 0.12878233194351196, 0.9207607507705688, -0.09971961379051208, 0.5746504664421082, 0.4088824987411499, -0.15540003776550293, -0.6064849495887756, -0.4749234616756439, -0.5904664993286133, -0.5601242184638977, 0.15383461117744446, 0.42903560400009155, -0.9141698479652405, 0.44097578525543213, -0.14624130725860596, -0.47513604164123535, -0.47154703736305237, -0.005824762862175703, 0.4206653833389282, 0.7308931946754456, 0.42497459053993225, -0.5494937896728516, -0.20032000541687012, -0.8292931318283081, 0.26498642563819885, 0.45517873764038086, -0.23187057673931122, 0.6060918569564819, 0.5160220265388489, -0.1871090829372406, 0.9527570009231567, -0.6452149748802185, -0.40631383657455444, 0.2597298324108124, 0.2148529440164566, -0.26271381974220276, 0.4902190864086151, 0.851532518863678, -0.7336956858634949, -0.5969573259353638, -0.23741388320922852, -0.5548564195632935, 0.11007164418697357, -0.2380412071943283, -0.2946333885192871, 0.13230539858341217, 0.44562628865242004, -0.33484458923339844, 0.4669715166091919, 0.7232569456100464, -0.4234124720096588, 0.4927363991737366, -0.4688994586467743, 0.17819844186306, -1.5220673084259033, 0.22140614688396454, 0.46601617336273193, -0.18467453122138977, -0.23076356947422028, -0.1300293207168579, 0.3002755641937256, -0.11889954656362534, -0.7010895609855652, 0.8234032392501831, -0.5427361726760864, -0.2935377359390259, -0.4243640899658203, 0.15452758967876434, 0.15562859177589417, 0.5589130520820618, 0.4004635810852051, 1.148391604423523, 0.8125932216644287, -1.0450838804244995, -0.08487594872713089, 0.17534703016281128, -0.31382399797439575, 0.6689208149909973, -0.6449670791625977, 0.2737142741680145, -0.13400313258171082, 0.44309717416763306, -0.9618383049964905, 0.06113608181476593, 0.3025886118412018, 0.13483045995235443, 0.0008467333391308784, 0.15078718960285187, -0.32144662737846375, -0.19871363043785095, -0.7697587609291077, 0.7531903982162476, 0.32858043909072876, -0.6742872595787048, 0.634839653968811, 0.2511102259159088, -0.07101412117481232, -0.5859100818634033, -0.5075197815895081, 0.016536595299839973, -0.46915823221206665, -0.61043781042099, 1.066225528717041, -0.12676846981048584, 0.27649736404418945, 0.3727695047855377, 0.11054389178752899, -0.27828729152679443, 0.1536404937505722, 0.2952081263065338, 0.11356902122497559, -0.2636471092700958, 0.12347929179668427, 0.3653807044029236, -0.15153902769088745, -0.4466670751571655, -0.7023656368255615, 0.3490443229675293, 0.44693872332572937, -0.22086815536022186, -0.6688397526741028, 0.357333779335022, 0.4639945924282074, -0.2845962345600128, 0.8850436806678772, 0.7698075175285339, -0.2370430827140808, 0.0330200120806694, -0.3564212918281555, -0.08738087117671967, -0.4039806127548218, 0.5870068669319153, -0.48687005043029785, -0.824118971824646, 0.29352664947509766, -0.6053465604782104, 0.35578060150146484, 0.2447444200515747, 0.49988052248954773, -0.3538438677787781, 0.5497278571128845, 0.8416503071784973, 0.15952442586421967, 0.875396192073822, -0.6045602560043335, -0.24391309916973114, -1.6281245946884155, -0.0201212577521801, -0.13648739457130432, -0.1726597249507904, -0.12168381363153458, -0.9271464943885803, 0.512829065322876, 0.061489999294281006, -0.3349873125553131, 0.1479073017835617, -0.5516765117645264, 0.4338296055793762, 0.4798569083213806, 0.22511211037635803, 0.11359166353940964, -0.10310205072164536, -0.08820848166942596, -0.3364615738391876, -0.38494953513145447, -0.5158687829971313, 1.5698860883712769, 0.1704695075750351, 0.6776188611984253, 0.3466588854789734, 0.5227864980697632, 0.016216708347201347, 0.41098344326019287, -0.5847946405410767, 0.4188990592956543, -0.5340331196784973, -0.32101988792419434, -0.33015674352645874, -0.036593977361917496, -0.9768540859222412, 0.4744481146335602, -0.14556476473808289, -0.474250853061676, 0.1660001277923584, 0.19392795860767365, -0.532549262046814, 0.38244307041168213, -0.8623659014701843, 0.8072608113288879, -0.19069842994213104, -0.616025984287262, -0.38022005558013916, -0.3126470148563385, 0.5395380854606628, -0.3768065869808197, 0.0015894131502136588, -0.10674214363098145, -0.7262077927589417, 0.7726649045944214, -0.4582713842391968, 0.7208223342895508, -0.26987817883491516, -0.18559537827968597, 0.035766325891017914, -0.14204683899879456, 0.2598554193973541, 0.2503357231616974, 0.08325506746768951, -0.12435515969991684, -0.3139133155345917, -0.4291168749332428, -0.6213648915290833, 0.6396033763885498, -0.8161812424659729, -0.45524659752845764, -0.23801448941230774, 0.12607358396053314, -0.06870687007904053, 0.017928525805473328, 0.7447460889816284, 0.20520831644535065, -0.46281716227531433, 0.04195826128125191, 0.7304099798202515, -0.48294752836227417, 0.6588608026504517, 0.36585739254951477, -0.1273360550403595, -0.5900262594223022, 0.8394732475280762, -0.1470974087715149, 0.16218100488185883, 0.5175778269767761, 0.016096893697977066, -0.4405643045902252, -0.35196271538734436, -0.5464319586753845, 0.35805001854896545, -0.3094579875469208, 0.1372845619916916, -0.8609251976013184, 0.1864854395389557, -0.26287129521369934, -0.28569725155830383, -0.7593234181404114, -0.4765898585319519, -0.8604109883308411, 0.30813729763031006, 0.01667146384716034, 0.2124660164117813, 0.35295575857162476, 0.4666244685649872, -0.6692702174186707, 0.39581751823425293, 0.2109009325504303, 0.3533630073070526, 0.08850657939910889, -0.47280943393707275, -0.259898841381073, -0.35624241828918457, -0.6764785647392273, -1.0266497135162354, 0.19578951597213745, 0.3601078987121582, 0.05993257835507393, 0.42915579676628113, -0.2179664522409439, 0.700968325138092, -0.6147690415382385, 0.7897132635116577, 0.5778398513793945, -1.0142698287963867, 0.47084784507751465, -0.0030791950412094593, 0.3105804920196533, 0.1592683643102646, 0.38765859603881836, -0.5137740969657898, -0.5261201858520508, -0.5949128866195679, -1.1152342557907104, 0.7921425700187683, 0.15181498229503632, 0.11263421922922134, 0.4363500475883484, 0.5118584036827087, 0.1653365045785904, 0.24555464088916779, -0.520693302154541, -0.2758837640285492, -0.4605569541454315, -0.21465401351451874, -0.2821919322013855, -0.2926839590072632, 0.061994362622499466, -0.14720411598682404, 0.7053108811378479, -0.24672649800777435, 0.2009185552597046, 0.35115566849708557, -0.056565552949905396, 0.23051072657108307, 0.1693979650735855, 0.6364127993583679, 0.2577614486217499, 0.03401746228337288, -0.01948806457221508, -0.17098815739154816, -0.3998688757419586, 0.43665796518325806, 0.26971396803855896, -0.2909904420375824, 0.08731851726770401, 0.05345931649208069, 1.0756802558898926, 0.2881564199924469, -0.3076859712600708, 0.7638341188430786, -0.17751747369766235, -0.17898209393024445, -0.4597679376602173, -0.049593109637498856, 0.26091268658638, 0.1812209188938141, 0.22610847651958466, 0.28608816862106323, 0.21548376977443695, -0.05927756428718567, 0.14422757923603058, 0.2326604723930359, -0.0342838317155838, -0.5586932301521301, 1.0957814455032349, 0.5417407155036926, 0.0515298917889595, 0.11696940660476685, -0.2715669274330139, -0.12938734889030457, 0.6104886531829834, 0.23416678607463837, 1.1148401498794556, -0.15871532261371613, 0.4137014150619507, 0.2841288149356842, -0.11133672297000885, -0.04902059957385063, -0.10685894638299942, -0.29826605319976807, -0.6832311153411865, -0.4958273470401764, -0.2221449911594391, -0.537632405757904, 0.2855241596698761, -0.08689062297344208, 0.3208019435405731, -0.7375900745391846, -0.1925337165594101, 0.3794473111629486, -0.24461115896701813, -0.5248791575431824, 0.16789530217647552, 0.06306149810552597, 0.7496041059494019, -0.6016045808792114, 0.9468713402748108, 0.8125343322753906, -0.29541972279548645, -0.6343510746955872, 0.42480915784835815, -0.1285281777381897, -0.06372886151075363, 0.5921317338943481, 0.12949061393737793, -0.043937329202890396, -0.0748261958360672, -0.19050300121307373, -0.7644893527030945, 1.1518769264221191, 0.44476810097694397, -0.6751644611358643, -0.21975481510162354, -0.4421728551387787, 0.4478209316730499, -0.4519217908382416, 0.47905030846595764, 0.2179129719734192, 0.08994008600711823, 0.27982035279273987, -0.5617397427558899, -0.2048768848180771, -0.014665143564343452, 0.416632741689682, 0.053585346788167953, -0.8959409594535828, 0.9762516021728516, -0.22535525262355804, -0.29629576206207275, 0.27629658579826355, 0.8231284618377686, 0.2806813716888428, 0.40897664427757263, 0.5348241329193115, 0.5787438154220581, 0.8121063709259033, 0.09719230234622955, 0.9675337076187134, -0.47557392716407776, 0.3136734366416931, 0.9315708875656128, -0.39832207560539246, 0.578424870967865, 0.3536359965801239, 0.014537766575813293, 0.33955520391464233, 0.8792392611503601, 0.1448511928319931, 0.9200976490974426, -0.15623371303081512, -0.4710223376750946, 0.07407674193382263, 0.03892681002616882, -0.2827146351337433, 0.0010409975657239556, 0.32381051778793335, -0.3231586217880249, -0.11488401144742966, 0.4688703417778015, -0.21214932203292847, -0.049820706248283386, -0.07767985761165619, 0.7546950578689575, 0.014273835346102715, -0.6024678349494934, 0.2157326489686966, 0.2640899419784546, 1.3359838724136353, -0.35110193490982056, 0.24366027116775513, -0.19897931814193726, 0.20082350075244904, -0.07619450986385345, -0.7470402121543884, 0.33598753809928894, 0.042603641748428345, -0.05875164270401001, -0.19788557291030884, 0.339019238948822, -0.5137528777122498, -0.28273507952690125, 0.23758594691753387, 0.3515680432319641, 0.017585856840014458, -0.1539059430360794, -0.7627403140068054, -0.3406660854816437, -0.2152610570192337, -0.35529595613479614, 0.1418832689523697, 0.5592849254608154, 0.04209534823894501, 0.41077739000320435, 0.28695833683013916, 0.10181921720504761, -0.011398693546652794, -0.02127886563539505, 0.7208852171897888, -0.6920347213745117, -0.8293357491493225, -0.7556481957435608, 0.3196955621242523, -0.047603052109479904, -0.6941151022911072, 0.5439359545707703, 0.9451698064804077, 0.574454665184021, -0.21737024188041687, 0.7887440323829651, 0.2521582841873169, 0.5959765911102295, -0.7739915251731873, 0.3014799654483795, -0.9745616912841797, 0.19516080617904663, -0.6425146460533142, -0.9625609517097473, 0.05477305129170418, 0.326109379529953, -0.18334037065505981, -0.02597941644489765, 0.7837322950363159, 0.5077908635139465, -0.2616448998451233, -0.14113666117191315, 0.11518730968236923, -0.17888066172599792, 0.6619055867195129, 0.7556201219558716, 0.7146072387695312, -0.22271506488323212, 0.31007200479507446, -0.348647803068161, -0.32620319724082947, -0.15387850999832153, -0.6989272832870483, -0.7814616560935974, -0.8865497708320618, -0.670958399772644, -0.14370222389698029, -0.30109813809394836, 0.6317554116249084, 1.093592643737793, -0.4284203052520752, 0.12729047238826752, -0.35960739850997925, -0.041222523897886276, 0.020739812403917313, -0.17021332681179047, 0.7798066139221191, -0.05302775278687477, -1.0966484546661377, 0.057965945452451706, 0.6817996501922607, 0.4595468044281006, -0.44089069962501526, -0.12211494892835617, 0.13060486316680908, 0.042028896510601044, 0.5787122845649719, 0.18600040674209595, -0.7011938691139221, 0.12425357848405838, 0.017045993357896805, -0.3698453903198242, 0.23261190950870514, 0.9779151082038879, -0.7714055180549622, 0.342172771692276, 0.038641806691884995, 0.9142565727233887, 0.9853641390800476, -0.014324399642646313, 0.3293694853782654, -0.9498243927955627, 0.773830771446228, 0.24491074681282043, 0.26269403100013733, 0.3268634080886841, -0.3376304507255554, 0.43068909645080566, 0.4194418489933014, -0.22738060355186462, -0.35975295305252075, 0.16560667753219604, -0.9110986590385437, -0.6174113154411316, 0.9738172888755798, -0.3085384964942932, -0.17966488003730774, 0.028924783691763878, -0.4593694806098938, 0.1094280257821083, -0.5728912949562073, 0.7778376936912537, 0.6981461644172668, -0.0807376354932785, -0.4772324860095978, -0.11199147999286652, 0.6038128733634949, 0.6744146943092346, -1.017289638519287, -0.3729861080646515, 0.364450603723526, 0.22199298441410065, 0.2710476815700531, 1.0673776865005493, 0.0770331546664238, 0.2830285131931305, -0.30678436160087585, -0.0017029624432325363, 0.16933473944664001, -0.34734582901000977, -0.18776515126228333, 0.3463455140590668, -0.15947583317756653, -0.5823125839233398 ]
http://arxiv.org/abs/2402.05188v1
http://arxiv.org/pdf/2402.05188v1
InCoRo: In-Context Learning for Robotics Control with Feedback Loops
2024-02-07T19:01:11
2024-02-07T19:01:11
Jiaqiang Ye Zhu, Carla Gomez Cano, David Vazquez Bermudez, Michal Drozdzal
cs.RO
cs.RO, cs.AI, cs.CL
One of the challenges in robotics is to enable robotic units with the reasoning capability that would be robust enough to execute complex tasks in dynamic environments. Recent advances in LLMs have positioned them as go-to tools for simple reasoning tasks, motivating the pioneering work of Liang et al. [35] that uses an LLM to translate natural language commands into low-level static execution plans for robotic units. Using LLMs inside robotics systems brings their generalization to a new level, enabling zero-shot generalization to new tasks. This paper extends this prior work to dynamic environments. We propose InCoRo, a system that uses a classical robotic feedback loop composed of an LLM controller, a scene understanding unit, and a robot. Our system continuously analyzes the state of the environment and provides adapted execution commands, enabling the robot to adjust to changing environmental conditions and correcting for controller errors. Our system does not require any iterative optimization to learn to accomplish a task as it leverages in-context learning with an off-the-shelf LLM model. Through an extensive validation process involving two standardized industrial robotic units -- SCARA and DELTA types -- we contribute knowledge about these robots, not popular in the community, thereby enriching it. We highlight the generalization capabilities of our system and show that (1) in-context learning in combination with the current state-of-the-art LLMs is an effective way to implement a robotic controller; (2) in static environments, InCoRo surpasses the prior art in terms of the success rate; (3) in dynamic environments, we establish new state-of-the-art for the SCARA and DELTA units, respectively. This research paves the way towards building reliable, efficient, intelligent autonomous systems that adapt to dynamic environments.
[ -0.054875630885362625, -0.7427980303764343, 0.6842942833900452, -0.089981310069561, -0.2023354321718216, 0.15659505128860474, -0.12823434174060822, -0.46868783235549927, 0.01921107806265354, 0.3321644067764282, -0.678466796875, -0.5316331386566162, -0.2651042342185974, 0.17466071248054504, -0.05367307737469673, 0.9097752571105957, -0.2785114347934723, -0.12108699232339859, 0.04887105152010918, -0.35304325819015503, -0.4343540370464325, -0.4295758008956909, -0.5114786624908447, -0.5950897932052612, 0.4429185092449188, 0.5794818997383118, 0.30635085701942444, 0.530389666557312, 0.3474264144897461, 0.27717384696006775, -0.0725526288151741, 0.3769007623195648, -0.49248263239860535, 0.26305070519447327, -0.3196539878845215, -0.43144291639328003, -0.20210839807987213, -0.39883413910865784, 0.48101606965065, 0.5233254432678223, -0.24331849813461304, -0.09371843189001083, 0.09129873663187027, 0.41017094254493713, -0.7183327674865723, 0.05215876176953316, -0.578870415687561, 0.5064521431922913, 0.3637969195842743, -0.4599616229534149, -0.19920384883880615, -0.286704421043396, 0.028093159198760986, -0.860080897808075, -0.2727607190608978, -0.21734412014484406, 0.7405948042869568, 0.5059237480163574, -0.5774092078208923, -0.6764169931411743, -0.9888381361961365, 0.7198056578636169, -0.4929894804954529, 0.2066078931093216, -0.23123544454574585, 0.42165642976760864, -0.47258877754211426, -0.6040509939193726, -0.5073115825653076, -0.43194565176963806, 0.06872611492872238, 0.4674229621887207, -0.0019006980583071709, 0.19693294167518616, 0.20283102989196777, 0.06753495335578918, -0.22854891419410706, 0.26677587628364563, -0.27181532979011536, 0.11183471977710724, 0.34456413984298706, 0.26709410548210144, 0.1457246094942093, -0.08697013556957245, -0.9322410225868225, -0.16155803203582764, -0.7647866606712341, 0.4507945775985718, 0.2618730366230011, 0.3261882960796356, -0.2574441730976105, 0.2513859272003174, -0.4536357820034027, 0.7290586829185486, 0.1521606296300888, -0.5385505557060242, 0.042401671409606934, -0.2128291130065918, -0.517352283000946, -0.04275226220488548, 0.4985598027706146, 0.08839885145425797, 0.01986880600452423, -0.05409620702266693, -0.2932707965373993, -0.17386119067668915, 0.42551523447036743, -0.21935027837753296, -0.06385627388954163, 0.08411634713411331, -0.2486724853515625, -0.08776070177555084, 0.15089747309684753, -0.7170143723487854, -0.32608506083488464, -0.5678794980049133, 0.4941774904727936, -0.32543283700942993, 0.1689315140247345, -0.19818101823329926, -0.061644699424505234, 0.3226296901702881, 0.8015837669372559, -0.5913470387458801, 0.048312678933143616, 0.3537600040435791, 0.885917603969574, -0.06559135019779205, -0.28852081298828125, -0.6806883215904236, 0.5927304625511169, -0.6442193388938904, 0.7595010995864868, -0.41948407888412476, -0.3313503563404083, 0.21305875480175018, -0.020082887262105942, 0.09210193157196045, -0.8599827885627747, 0.03167406842112541, -0.4780031740665436, -0.020718099549412727, 0.24246202409267426, -0.23925070464611053, -0.5339760184288025, 0.36200135946273804, -0.050938863307237625, 0.8230031728744507, 0.351492315530777, 0.10426812618970871, 0.455885112285614, -0.7127767205238342, -0.5229861736297607, 0.04039373993873596, -0.12451694160699844, -0.07987741380929947, -0.12800957262516022, -0.21630489826202393, 0.3286292552947998, 0.14694200456142426, 0.19162243604660034, -0.5756043791770935, -0.6019091010093689, 0.1751151978969574, -0.03859548643231392, 0.5021609663963318, 0.3169519305229187, -0.45214393734931946, 0.6104260683059692, -0.5607330203056335, -0.027315163984894753, -0.3159927725791931, -0.48610398173332214, -0.041921112686395645, -0.0252662505954504, -0.5293461680412292, 0.20036356151103973, 0.29178473353385925, -0.20722781121730804, 0.27120962738990784, -0.24265652894973755, 0.4383256733417511, 0.8463179469108582, 0.02154264785349369, 0.6250082850456238, -0.16605867445468903, 0.8371787667274475, -0.38588204979896545, 0.14867787063121796, -0.4968476891517639, -0.12610788643360138, -0.8662396669387817, -0.35849690437316895, -0.19426004588603973, 0.7519002556800842, -0.9122248888015747, 0.5084763169288635, 0.29062581062316895, -0.22693666815757751, 0.16471657156944275, 0.5100401043891907, 0.43053528666496277, 0.6370114088058472, 0.3874562978744507, -0.17420694231987, -0.4491141438484192, -0.5215144753456116, 0.19363915920257568, -0.0017090169712901115, -0.57622230052948, 0.48396846652030945, 0.41784706711769104, -0.29832038283348083, 0.6733168363571167, -0.12142470479011536, -0.524033784866333, -0.23700915277004242, -0.1998121738433838, 0.42889049649238586, 0.3686182200908661, 0.3658207952976227, -0.4647480249404907, -0.21752451360225677, 0.3284022808074951, -1.2037798166275024, 0.07093004137277603, -0.2737467586994171, -0.1914234608411789, 0.16004730761051178, 0.6305539608001709, -0.2138460874557495, 0.3600216507911682, 0.40024274587631226, 0.02698187157511711, 0.169224813580513, -0.5597749948501587, -0.20992065966129303, -0.4644384980201721, 0.05478743836283684, 0.07903718948364258, -0.22747454047203064, -0.37249499559402466, 0.5234335064888, -0.1137005016207695, 0.016645656898617744, -0.5426450967788696, 0.33375248312950134, -0.20825091004371643, -0.14968790113925934, -0.3848027288913727, 0.2083439826965332, -0.18380102515220642, 0.8228123784065247, 0.042037367820739746, 0.41091349720954895, 0.36174827814102173, -1.204866647720337, 0.7214577198028564, -0.08434070646762848, -0.4483058750629425, 0.6145151853561401, -0.580168604850769, 0.32099297642707825, 0.11217019706964493, 0.5994212627410889, -0.7176343202590942, -0.5273615717887878, 0.7364393472671509, -0.16880665719509125, 0.17327873408794403, 0.023356713354587555, -0.488105446100235, -0.17355819046497345, -0.25229763984680176, -0.05904587730765343, 0.3956640958786011, -0.7703939080238342, 0.5449047088623047, 0.34350964426994324, 0.3158724009990692, -0.4242318272590637, -0.5979578495025635, -0.2097158133983612, -0.3944474160671234, -0.1417974829673767, 0.04297530651092529, -0.18095020949840546, -0.28914958238601685, -0.16686299443244934, -0.1956072598695755, -0.18445871770381927, 0.37117940187454224, 0.11120012402534485, 0.19579696655273438, 0.0502157099545002, 0.29383447766304016, 0.35619089007377625, -0.0852753296494484, -0.08079929649829865, -0.23658563196659088, 0.4242613911628723, -0.10214193910360336, -0.16300490498542786, -0.6428573727607727, -0.10400864481925964, 0.3269414007663727, 0.3942253887653351, 0.27897173166275024, 0.1314769834280014, -0.3241784870624542, -0.6621132493019104, 0.15334375202655792, -0.20220796763896942, -0.5364845395088196, 0.18264995515346527, -0.41187745332717896, -0.8389215469360352, 0.390225350856781, -0.4870745539665222, -0.06221602112054825, 0.12340190261602402, 0.4943329989910126, -0.5699616074562073, 0.4139115512371063, 0.9230104088783264, 0.18962016701698303, 0.5915274620056152, -0.43115314841270447, 0.11036742478609085, -0.90151047706604, -0.5271655917167664, -0.0879109799861908, -0.722602903842926, -0.40537285804748535, -0.45306357741355896, 0.7937547564506531, 0.3257328271865845, -0.7182933688163757, 0.3322441577911377, -0.7038482427597046, 0.2321576625108719, 0.6895807981491089, 0.3284653127193451, 0.30418866872787476, -0.12038514018058777, -0.13793005049228668, 0.46871939301490784, -0.971893846988678, -0.6661998629570007, 0.7361255288124084, 0.13065527379512787, 0.7883009910583496, 0.07105927914381027, 0.34307119250297546, 0.3469463288784027, 0.3427201211452484, -0.8551524877548218, 0.42350271344184875, 0.03226076439023018, -0.32575854659080505, -0.29556623101234436, -0.31741252541542053, -0.9603743553161621, 0.2420482486486435, 0.1275307834148407, -0.7667698860168457, 0.2976762652397156, 0.31003254652023315, -0.6637440919876099, 0.41188034415245056, -0.5566746592521667, 0.52217036485672, -0.3898349106311798, -0.27811741828918457, -0.3532206416130066, -0.8203189969062805, 0.4235360324382782, 0.08840526640415192, 0.14592286944389343, -0.20499268174171448, -0.4067457616329193, 0.06979319453239441, -0.2967163324356079, 0.9506301879882812, -0.1865987330675125, -0.4394852817058563, 0.626090943813324, 0.14273659884929657, 0.293769508600235, 0.3324936628341675, -0.13101844489574432, 0.15649348497390747, -0.3128518760204315, 0.00479571707546711, -0.7333781123161316, 0.6736910939216614, -0.6551739573478699, -0.36013472080230713, -0.48060142993927, -0.6748144626617432, 0.10842184722423553, -0.06661342084407806, 0.11102249473333359, 0.24568164348602295, 0.20462483167648315, 0.37722039222717285, 0.5947792530059814, -0.4203287363052368, 0.4717850387096405, 0.6798114776611328, -0.1547808051109314, -0.31539884209632874, 0.6118320822715759, 0.1574142724275589, 0.24249595403671265, 0.7754075527191162, 0.03177442401647568, 0.06015073508024216, -0.14291322231292725, -0.6624232530593872, -0.2801496386528015, -0.7806904315948486, -0.576433539390564, -0.18196499347686768, -0.0007141715614125133, 0.006875414401292801, -0.7831434011459351, -0.11374292522668839, 0.012695711106061935, -0.42448413372039795, -0.015972720459103584, 0.3166581690311432, 1.0526446104049683, -0.2986489236354828, 0.3093424141407013, -0.46687087416648865, 0.23041656613349915, 0.425449937582016, 0.27128976583480835, -0.04667486250400543, -0.5462992191314697, -0.13044266402721405, 0.08899891376495361, -0.6464375257492065, -0.626589298248291, 0.32210230827331543, 0.1448247730731964, 0.5795862078666687, 0.5971584320068359, 0.11942099779844284, 0.5638363361358643, -0.21838964521884918, 0.6635964512825012, -0.05951284244656563, -1.1199294328689575, 0.8526932597160339, -0.48309847712516785, 0.36996716260910034, 0.3090195059776306, 0.31105461716651917, -0.46211546659469604, -0.3698270320892334, -0.3691663146018982, -0.765807569026947, 0.7225544452667236, -0.31855034828186035, 0.30498263239860535, 0.24594445526599884, 0.7976409792900085, 0.3681304156780243, 0.260025292634964, -0.6473851203918457, -0.06042461469769478, 0.023008722811937332, 0.04008909687399864, 0.10920077562332153, 0.047581952065229416, -0.29773855209350586, -0.24317844212055206, 0.3909790515899658, -0.5874521136283875, 0.34978625178337097, 0.29358750581741333, -0.03887353837490082, -0.3864148259162903, -0.05273551866412163, 0.7330238223075867, 0.8186622858047485, -0.18431687355041504, 0.06611894071102142, 0.7279222011566162, 0.17398568987846375, 0.34501519799232483, -0.521228015422821, -0.35482650995254517, -0.2324373722076416, 0.37838175892829895, 0.6159172654151917, 0.6141230463981628, -0.8716030716896057, 0.035502173006534576, 0.5191383957862854, 0.05508358031511307, -0.5219716429710388, 0.6448062062263489, -0.29932016134262085, 0.41210681200027466, 0.33392778038978577, 0.22429117560386658, 0.05729445442557335, -0.8500450253486633, 0.1989319622516632, 0.31532371044158936, -0.5059881806373596, -0.490918904542923, 0.4823929965496063, 0.22061382234096527, -0.3119862973690033, 0.3011302053928375, -0.2718851566314697, -0.39941132068634033, 1.0989189147949219, 0.4413824677467346, 0.5967711210250854, -0.12935827672481537, 0.2331145703792572, 0.512610673904419, 0.39775943756103516, 0.15024331212043762, 0.17560988664627075, -0.48038312792778015, -0.8189613223075867, -0.17113418877124786, -0.32922330498695374, -1.0526047945022583, 0.05320482701063156, -0.39675402641296387, 0.26327237486839294, -1.1832170486450195, 0.32656019926071167, -0.8181425333023071, -0.1459914892911911, -0.50656658411026, 0.3347257971763611, 0.21756543219089508, 0.549750030040741, -0.30323708057403564, 0.9528815150260925, 0.8665720224380493, -0.24016734957695007, -0.567654013633728, 0.11874788999557495, 0.07033367455005646, -0.6977375745773315, 0.7810512185096741, 0.15100859105587006, -0.695956289768219, -0.42969658970832825, -0.871142566204071, -1.1050617694854736, 1.2567938566207886, 0.5503940582275391, -0.38769057393074036, 0.382159948348999, -0.5037518739700317, 0.785733699798584, -0.5869886875152588, 0.170035719871521, 0.21289017796516418, 0.43463748693466187, -0.0012671960284933448, -0.7486883997917175, -0.16750827431678772, -0.08487316220998764, 0.07270577549934387, -0.09869594871997833, -1.1406900882720947, 0.7601943016052246, -0.31796157360076904, -0.3187352418899536, 0.25245264172554016, 0.7855458855628967, 0.5801355242729187, 0.5850062370300293, 0.3680577278137207, 0.32283058762550354, 0.8236175775527954, 0.004883245564997196, 1.2668317556381226, -0.16641733050346375, 0.24991288781166077, 1.1840131282806396, -0.49839702248573303, 0.75491863489151, 0.14039792120456696, -0.17080499231815338, 1.1353940963745117, 0.6221441030502319, 0.1419694721698761, 0.7278334498405457, 0.3059704601764679, -0.32908543944358826, -0.08851130306720734, -0.08643326908349991, -0.17888674139976501, 0.5561082363128662, 0.5479732155799866, 0.04638567566871643, -0.12558823823928833, 0.25586435198783875, -0.06932901591062546, 0.27219322323799133, -0.3157721161842346, 0.7340777516365051, 0.04867693781852722, -0.46348464488983154, 0.36681535840034485, -0.05648316815495491, 0.8975892066955566, -0.9066448211669922, -0.1408042311668396, -0.32461366057395935, 0.5598518252372742, -0.14515507221221924, -0.7229466438293457, 0.4132953882217407, -0.0211341455578804, 0.12949395179748535, -0.36513325572013855, 0.6656901836395264, -0.29960012435913086, -0.08510340750217438, 0.6969347596168518, 0.06676523387432098, 0.14722540974617004, 0.4003131687641144, -0.3534216582775116, 0.040036391466856, -0.07040427625179291, -0.1157597005367279, 0.3006441593170166, 0.562979519367218, 0.16065828502178192, 1.1061443090438843, 0.33409538865089417, -0.34389322996139526, -0.05887645483016968, -0.5032976269721985, 0.699597179889679, -0.6092764139175415, -0.2567048966884613, -0.4676319360733032, 0.28493645787239075, 0.28013068437576294, -0.6505883932113647, 0.8446276187896729, 0.257137268781662, 1.2661309242248535, -0.019051339477300644, 0.7560648322105408, 0.0037183461245149374, 0.35068002343177795, -0.6658989191055298, 0.374018132686615, -0.7785663604736328, 0.1520465463399887, 0.0755382627248764, -0.7337459325790405, -0.41608309745788574, 0.8907423615455627, -0.055812202394008636, 0.15675349533557892, 0.5335098505020142, 0.4430478513240814, 0.09776628762483597, -0.35699760913848877, 0.4597983658313751, 0.20362767577171326, 0.19021321833133698, 0.7800300121307373, 0.9876930713653564, -0.2052348107099533, 0.5220911502838135, -0.4520467221736908, -0.2620767056941986, -0.2600799798965454, -0.8677181601524353, -0.3734072744846344, -0.09843797981739044, -0.2074335217475891, -0.03154708445072174, 0.17117314040660858, 1.0573276281356812, 0.7499977350234985, -0.8302889466285706, -0.7325636148452759, -0.27603384852409363, 0.5583890080451965, -0.4287956655025482, -0.23235972225666046, -0.12955652177333832, -0.7782164216041565, -0.8835102319717407, 1.1417579650878906, 0.6544883847236633, -0.4052712321281433, -0.3494590222835541, -0.35298678278923035, -0.14985151588916779, -0.040647100657224655, 0.6762790083885193, 0.6087667346000671, -0.6878225207328796, -0.5145132541656494, -0.12784819304943085, -0.04086099565029144, 0.28720223903656006, 0.720881998538971, -1.2404431104660034, 0.5941357016563416, 0.39772137999534607, 0.23053862154483795, 0.30935174226760864, -0.2514728307723999, 0.693849503993988, -0.6193326115608215, 0.365705281496048, 0.06052398681640625, 0.34485605359077454, 0.2109554260969162, -0.5132235884666443, 0.8408157229423523, 0.2771728038787842, -0.5221378207206726, -0.5910114645957947, 0.25799548625946045, -0.8839372396469116, -0.37419843673706055, 0.9184951186180115, -0.3583119511604309, -0.03634338080883026, -0.027776846662163734, -0.1058136522769928, 0.3358490765094757, -0.5636008977890015, 0.953534722328186, 0.32156363129615784, -0.5207406282424927, -0.10255709290504456, -0.44486719369888306, 0.14369340240955353, 0.23585228621959686, -1.0775967836380005, -0.4737418293952942, 0.35931524634361267, 0.16740097105503082, 0.21250171959400177, 0.306658536195755, 0.2436557561159134, 0.3364395797252655, -0.2093978226184845, 0.2262965589761734, 0.15381205081939697, -0.6656464338302612, -0.6606789827346802, 0.4203537702560425, -0.43091437220573425, -0.24743275344371796 ]
http://arxiv.org/abs/2402.05111v1
http://arxiv.org/pdf/2402.05111v1
Edu-ConvoKit: An Open-Source Library for Education Conversation Data
2024-02-07T18:59:31
2024-02-07T18:59:31
Rose E. Wang, Dorottya Demszky
cs.CL
cs.CL, cs.AI
We introduce Edu-ConvoKit, an open-source library designed to handle pre-processing, annotation and analysis of conversation data in education. Resources for analyzing education conversation data are scarce, making the research challenging to perform and therefore hard to access. We address these challenges with Edu-ConvoKit. Edu-ConvoKit is open-source (https://github.com/stanfordnlp/edu-convokit ), pip-installable (https://pypi.org/project/edu-convokit/ ), with comprehensive documentation (https://edu-convokit.readthedocs.io/en/latest/ ). Our demo video is available at: https://youtu.be/zdcI839vAko?si=h9qlnl76ucSuXb8- . We include additional resources, such as Colab applications of Edu-ConvoKit to three diverse education datasets and a repository of Edu-ConvoKit related papers, that can be found in our GitHub repository.
[ -0.5046951174736023, -0.985958456993103, 0.11481376737356186, 0.04188132286071777, 0.0036448438186198473, 0.3833840787410736, -0.3373463451862335, -0.3226902484893799, 0.19086728990077972, 0.3283792734146118, -0.6413038372993469, -0.5893783569335938, -0.5248076319694519, -0.44818028807640076, -0.41690751910209656, 0.8073185682296753, 0.19515106081962585, 0.1813741773366928, -0.7886696457862854, 0.06902258098125458, -0.4698902368545532, -0.5152909755706787, -0.6746575236320496, -0.39728376269340515, 0.1689291000366211, 1.0887811183929443, 0.4982808232307434, 0.061036862432956696, 0.5775356888771057, 0.23459599912166595, 0.09363414347171783, -0.1283576339483261, -0.744223415851593, 0.3938811123371124, -0.12267782539129257, -0.13684003055095673, -0.44206932187080383, 0.2218259572982788, 0.6039299964904785, 0.8374048471450806, -0.5025585293769836, 0.25362643599510193, 0.5026271939277649, 0.867287278175354, -0.7812098264694214, 0.3012341260910034, -0.4101785719394684, -0.18666960299015045, -0.33117324113845825, -0.06923389434814453, -0.4955275356769562, -0.5555102229118347, 0.47264355421066284, -0.8269543051719666, 0.12331989407539368, -0.3617313802242279, 0.5511666536331177, 0.28412237763404846, -0.04387171193957329, -0.4152247905731201, -0.6439802050590515, 0.5525320768356323, -0.18857799470424652, 0.5755565166473389, 0.5969808101654053, 0.6125349402427673, -0.4668508768081665, -1.0829168558120728, -0.40843304991722107, 0.33653998374938965, -0.005004243925213814, 0.29694005846977234, -0.2479778230190277, 0.32299453020095825, 0.12695036828517914, 0.3319579064846039, -0.6096153855323792, -0.015070117078721523, -0.6759118437767029, -0.006984560750424862, 0.24103714525699615, 0.08957697451114655, 0.21535342931747437, 0.1139039471745491, -0.08793216943740845, -0.18133895099163055, -0.38489654660224915, 0.36609014868736267, 0.6047267913818359, 0.21986472606658936, -0.29778027534484863, 0.5090042948722839, -0.23347239196300507, 0.5511760115623474, -0.39914923906326294, 0.22441032528877258, 0.2503374218940735, -0.30031657218933105, -0.28915509581565857, 0.3741500675678253, 1.0159912109375, 0.2174200415611267, 0.08606945723295212, 0.326185017824173, 0.4888838529586792, 0.19496409595012665, 0.12343338876962662, -1.1149725914001465, -0.8356234431266785, 0.4294048547744751, -0.2393784373998642, -0.1497998982667923, -0.05928223580121994, -1.1418848037719727, -0.3675173223018646, -0.12255138903856277, 0.08975770324468613, -0.39325979351997375, -0.4230692684650421, 0.023489896208047867, -0.10700631886720657, 0.01510363258421421, 0.45383572578430176, -0.6733807325363159, 0.30117908120155334, 0.870508074760437, 0.9200356602668762, -0.1407129019498825, -0.034091487526893616, -0.31953901052474976, -0.34955543279647827, -0.02255113422870636, 0.6008603572845459, -0.9897915720939636, -0.786532998085022, 0.3402554988861084, -0.061267782002687454, 0.03880564123392105, -0.5030788779258728, 0.7332809567451477, 0.029247570782899857, 0.516044020652771, 0.1347332000732422, -0.6839035153388977, 0.11062934249639511, 0.2130075991153717, -0.6333890557289124, 1.1574527025222778, -0.0038304293993860483, -0.6640461683273315, 0.0729784220457077, -1.1366617679595947, -0.20675314962863922, 0.5238277316093445, -0.37964919209480286, -0.28820177912712097, -0.4999850392341614, 0.28951147198677063, 0.32986924052238464, -0.4453756511211395, 0.9130186438560486, -0.3358132243156433, -0.39088279008865356, 0.1932070553302765, -0.6516914367675781, 1.280290961265564, 0.34756147861480713, 0.11175400018692017, 0.06458056718111038, -0.8932570219039917, -0.09376797080039978, -0.09931917488574982, -0.278230756521225, -0.5266258120536804, 0.05250249803066254, -0.09928184002637863, -0.2702944576740265, 0.270905464887619, -0.7079669237136841, 0.42093461751937866, -0.16379539668560028, 0.35415998101234436, 0.6174896359443665, -0.40125495195388794, 0.565941572189331, 0.11771394312381744, 0.4685346186161041, 0.020259428769350052, 0.581317126750946, -0.4508204460144043, -0.7260209918022156, -0.47485587000846863, -0.17720864713191986, 0.05009901523590088, 0.35298335552215576, -1.0026562213897705, 0.10457253456115723, -0.2716832756996155, -0.8058540225028992, -1.026591420173645, -0.2308940440416336, -0.01681464910507202, 0.7022505402565002, 0.32745057344436646, -0.20648126304149628, -0.6801295280456543, -0.5535595417022705, 0.18733300268650055, -0.5850419402122498, -0.038475941866636276, 0.351794570684433, 0.3360575735569, -0.11879190057516098, 1.2722132205963135, -0.6265002489089966, -0.2670421600341797, 0.04948025196790695, 0.1567106395959854, 0.16037039458751678, 0.6736570596694946, 0.5181272029876709, -0.75600266456604, -0.44821637868881226, -0.2645423114299774, -0.6406499147415161, -0.2137201428413391, 0.1736748218536377, -0.27130207419395447, -0.15320664644241333, 0.34073907136917114, -0.42259088158607483, 0.45260342955589294, 0.7728486061096191, -0.38558468222618103, 0.38851356506347656, 0.22015146911144257, 0.1995438039302826, -1.1338822841644287, 0.07129150629043579, -0.20371587574481964, 0.013941973447799683, -0.5616006255149841, -0.3477589190006256, -0.01966899447143078, -0.4615628123283386, -0.71895831823349, 0.41356250643730164, -0.03306726738810539, 0.3141529858112335, 0.15596573054790497, 0.34203025698661804, -0.00845000147819519, 0.27676454186439514, -0.05009007826447487, 1.018930435180664, 0.8641942143440247, -0.38127315044403076, 0.7718643546104431, 0.7092477083206177, -0.5369493961334229, 0.8418366312980652, -0.5948127508163452, 0.1208140105009079, 0.2913701832294464, 0.40105146169662476, -0.724700391292572, -0.40008413791656494, 0.8298016786575317, -0.5852737426757812, 0.08965959399938583, -0.4421059489250183, -0.19453877210617065, -0.4159708023071289, -0.5541294813156128, 0.35172632336616516, 0.19573403894901276, -0.9422177672386169, 0.3339962065219879, 0.8359066247940063, -0.26258549094200134, -0.8757514357566833, -0.24348536133766174, 0.088565893471241, 0.31491270661354065, -0.4782581031322479, -0.029185159131884575, -0.5696957111358643, -0.11940084397792816, 0.4260213077068329, 0.1552252471446991, -0.4622657001018524, 0.1111210510134697, 0.7437093257904053, 0.578098714351654, -0.11044931411743164, 0.09750941395759583, 0.09914982318878174, 0.14416296780109406, 0.24350474774837494, -0.09965715557336807, 0.43383318185806274, 0.04475818946957588, -0.35516229271888733, -0.3923223614692688, 0.4113459587097168, 0.5942038297653198, -0.0005371578736230731, 0.5335334539413452, 0.19790831208229065, -0.4269058406352997, -0.2784779667854309, -0.2867833375930786, -0.2569337487220764, -0.5221781730651855, 0.1155567392706871, -0.11354625225067139, -0.8466711640357971, 0.16562867164611816, -0.26182466745376587, 0.25308191776275635, -0.12570564448833466, 0.1928032636642456, -0.4575836956501007, 0.4664801359176636, 0.6259356141090393, -0.030194120481610298, 0.9279881715774536, -0.6122117638587952, 0.0467476025223732, -0.6986885666847229, -0.5678531527519226, -0.713289737701416, -0.4477905035018921, -0.3491990566253662, 0.05554891377687454, -0.06531063467264175, -0.17651839554309845, -0.04444640129804611, 0.14480067789554596, -0.8895043134689331, 0.6906051635742188, 0.8263354301452637, -0.25160908699035645, 0.10912898182868958, -0.0967671200633049, 0.3614252805709839, 0.06023060157895088, -0.7957819700241089, -0.34166690707206726, 1.0011554956436157, 0.32857033610343933, 0.9313456416130066, -0.09139963239431381, 0.6149494051933289, 0.06421364098787308, 0.39839163422584534, -1.0278339385986328, 0.8861391544342041, -0.04229627549648285, -0.6372341513633728, -0.2469170242547989, -0.3719967305660248, -1.2370206117630005, 0.13658589124679565, -0.32494449615478516, -0.7504651546478271, 0.35330986976623535, 0.06935277581214905, -0.08660411834716797, 0.4826638400554657, -0.8240054845809937, 1.207289695739746, 0.12548071146011353, -0.21046282351016998, -0.07399773597717285, -0.4771108329296112, 0.1923975646495819, 0.03142162784934044, 0.2000674307346344, -0.06910468637943268, 0.6569658517837524, 1.1667836904525757, -0.3617669343948364, 0.9748877286911011, -0.2313467115163803, 0.12824974954128265, 0.9184199571609497, -0.21320590376853943, 0.20913004875183105, -0.07651104032993317, 0.028553258627653122, 0.5468087196350098, 0.10003827512264252, -0.1234813779592514, -0.540591835975647, 0.8592048287391663, -1.071359634399414, -0.47455519437789917, -0.5624215006828308, -0.3966854512691498, 0.12624827027320862, -0.06357406079769135, 0.11852377653121948, 0.4939988851547241, -0.5110602974891663, 0.7189928293228149, 0.39940887689590454, -0.15642030537128448, 0.4224441349506378, 0.5087015628814697, -0.2706991136074066, -0.28997284173965454, 1.0021615028381348, 0.5436236262321472, -0.03594528138637543, -0.1396581530570984, 0.10102517902851105, 0.02561412937939167, -0.3774960935115814, -0.2491636574268341, 0.041510164737701416, -0.8604263663291931, -0.15512537956237793, -0.6884691715240479, -0.3512248396873474, -0.6833488345146179, -0.2127975970506668, -0.5498424768447876, -0.435693621635437, -0.6169873476028442, -0.27105778455734253, 0.3259126543998718, 0.6309345364570618, -0.06715386360883713, 0.6646429300308228, -0.6357738971710205, -0.06454987823963165, 0.2964661717414856, 0.4810142517089844, -0.4900944232940674, -0.2841397523880005, -0.32567358016967773, 0.10501728951931, -0.6816527843475342, -0.7464739084243774, 0.14626376330852509, 0.36558786034584045, 0.2976047992706299, 0.332324743270874, 0.6302887797355652, 0.4815911650657654, -0.252164751291275, 1.233593463897705, 0.2208198606967926, -0.6294469833374023, 0.7872106432914734, 0.17458520829677582, 0.02436678484082222, 0.6105884909629822, 0.45681828260421753, -0.49782493710517883, -0.6293615102767944, -0.8902114033699036, -1.1182399988174438, 0.9695144295692444, 0.21787971258163452, 0.18758103251457214, 0.11472748219966888, -0.1467428356409073, 0.28313544392585754, 0.225198894739151, -0.06541388481855392, -0.6987382173538208, -0.5187188386917114, -0.36645302176475525, 0.01961260661482811, -0.4093801975250244, -0.34398943185806274, -0.22906434535980225, 0.7987874150276184, 0.18166343867778778, -0.15780650079250336, 0.0005907060112804174, 0.16776494681835175, -0.21626614034175873, 0.5744107365608215, 0.06455981731414795, 0.6338781118392944, -0.5624195337295532, 0.03920229896903038, -0.16219893097877502, -1.2467849254608154, -0.12128802388906479, 0.30742067098617554, -0.14025408029556274, 0.3826391100883484, -0.011287924833595753, 0.6767736077308655, 0.36750921607017517, -0.6075465679168701, 0.6556172370910645, -0.5431580543518066, -0.044471122324466705, -0.5684639811515808, 0.129229336977005, -0.06722041219472885, 0.2778094410896301, 0.370756596326828, -0.3242793679237366, 0.15740646421909332, -0.4883340001106262, 0.2262578010559082, 0.17632421851158142, -0.41966477036476135, -0.26735809445381165, 0.6656333208084106, 0.8155003190040588, -0.6462870836257935, 0.9420902729034424, 0.1660931259393692, -0.1616887003183365, 0.5275483131408691, 0.5269200801849365, 0.8773102164268494, -0.31855887174606323, 0.6976656317710876, 0.5518567562103271, 0.010012931190431118, -0.014051155187189579, 0.16156859695911407, -0.18898802995681763, -0.7131056785583496, -0.16690488159656525, -0.25652286410331726, -1.1852813959121704, 0.3168620765209198, -0.7374846935272217, 0.3881273865699768, -0.19608372449874878, -0.20920884609222412, 0.19553174078464508, -0.12240395694971085, -0.721707820892334, 0.12396763265132904, -0.08172357827425003, 0.9037407636642456, -0.7561593055725098, 1.1553372144699097, 0.8308100700378418, -0.021067548543214798, -0.7178220152854919, -0.60440993309021, 0.10309618711471558, -0.21557734906673431, 0.5651161074638367, 0.10848724842071533, -0.06984464824199677, 0.24519142508506775, -1.004452109336853, -0.2357904613018036, 1.0209553241729736, 0.58095383644104, -0.9172271490097046, 0.06651072204113007, 0.03875316306948662, 0.24668973684310913, -0.18394367396831512, 0.36357536911964417, 0.6261363625526428, 0.28211626410484314, 0.18555666506290436, -0.7427057027816772, -0.6390167474746704, -0.4633729159832001, -0.8426142930984497, 0.1514970064163208, -0.20348882675170898, 0.6108960509300232, 0.043673325330019, -0.46545282006263733, -0.3757436275482178, 0.7028592228889465, -0.0812181681394577, 0.9898990392684937, 0.07226236164569855, 0.5486066341400146, 0.9621613621711731, -0.5333185195922852, 0.6914486289024353, -0.3160678744316101, 0.5459774732589722, 1.6530951261520386, 0.2435341775417328, 0.7619152069091797, 0.4819472134113312, -0.3084682524204254, 0.33375388383865356, 0.6266183257102966, 0.07901953905820847, 0.3174102306365967, -0.2800857424736023, -0.5460581183433533, 0.07392541319131851, -0.33211517333984375, -0.46311652660369873, 0.2117895632982254, 0.6617814898490906, 0.24568471312522888, 0.011509078554809093, 0.2078634798526764, 0.033874254673719406, -0.07816492766141891, -0.2858421206474304, 0.7171387672424316, 0.06780871748924255, -0.4357973337173462, 0.3486952483654022, -0.9130024313926697, 0.6361033916473389, -0.5339651107788086, -0.42526954412460327, -0.11436875909566879, -0.09810248762369156, -0.3069882094860077, -1.4138798713684082, 0.16279657185077667, -0.0023082816042006016, 0.23358461260795593, 0.004214455373585224, 0.7817912101745605, -0.8449697494506836, 0.04624996706843376, 0.4992188513278961, 0.3263653516769409, 0.447884738445282, 0.10431208461523056, -0.6818658113479614, 0.3324599862098694, -0.2739364206790924, -0.23720689117908478, 0.12168806791305542, 0.37675371766090393, 0.2504466474056244, 0.7570012211799622, 0.8328426480293274, 0.09519945085048676, -0.10528798401355743, 0.2013002187013626, 0.9324227571487427, -0.001966167474165559, -0.43487268686294556, -0.6587497591972351, 0.721137285232544, -0.17524228990077972, -0.3259662091732025, 0.5127378106117249, 0.6667298674583435, 1.4722378253936768, 0.0913102775812149, 1.0182604789733887, -0.2212507724761963, 0.19368664920330048, 0.16426558792591095, 0.843731701374054, -0.2887435257434845, 0.14010241627693176, -0.2400680035352707, -0.9450411200523376, -0.15071608126163483, 0.4380389451980591, -0.20284228026866913, -0.5856436491012573, 0.4902748465538025, 0.6330310702323914, -0.09207937121391296, 0.44155749678611755, 0.3458263874053955, 0.2089482545852661, 0.8166172504425049, 0.3406408727169037, 0.867455005645752, -0.42114588618278503, 0.9968921542167664, -0.3839639127254486, -0.3355461657047272, -0.3855622112751007, -0.5026395916938782, -0.8884751796722412, -0.8487570881843567, -0.649959921836853, -0.3739573359489441, 0.1476217657327652, 1.1484827995300293, 0.5147758722305298, -0.8981392979621887, -0.21248558163642883, 0.21782657504081726, 0.3571256697177887, 0.07942834496498108, -0.25883060693740845, 0.31343820691108704, -0.170024111866951, -1.125917911529541, 0.5845714211463928, -0.107512928545475, 0.011158507317304611, -0.1326037049293518, 0.02717900648713112, -0.14140668511390686, 0.014464326202869415, 0.45670220255851746, 0.535542368888855, -0.2016293704509735, -0.42825639247894287, -0.3216119110584259, -0.1552181839942932, 0.1610088050365448, 0.9258814454078674, -0.7385839223861694, 1.1643316745758057, 0.5562146902084351, 0.7708199620246887, 0.13383713364601135, -0.15147550404071808, 0.24756522476673126, -0.8548771142959595, 0.29301440715789795, 0.2439204454421997, 0.30546483397483826, 0.38441136479377747, -0.2001211941242218, 0.8728904128074646, 0.24139484763145447, -0.8339805603027344, -1.131809115409851, 0.003210883354768157, -1.1401355266571045, -0.10665353387594223, 0.7055292129516602, -0.31218570470809937, -0.08576033264398575, -0.34212639927864075, -0.6640214920043945, 0.44557809829711914, -0.8554452061653137, 0.5758731961250305, 0.6896738409996033, 0.26856598258018494, -0.26677951216697693, -0.6666130423545837, 0.4299548864364624, -0.25910890102386475, -0.7944603562355042, 0.21326439082622528, 0.4792134761810303, -0.030651753768324852, 0.3152482211589813, 0.7183741331100464, 0.07481297850608826, 0.03876543790102005, -0.058903828263282776, 0.3447813391685486, -0.3486801087856293, -0.6519709229469299, -0.0935337021946907, 0.35914236307144165, -0.4602970480918884, -0.835115909576416 ]
http://arxiv.org/abs/2402.05106v1
http://arxiv.org/pdf/2402.05106v1
Image captioning for Brazilian Portuguese using GRIT model
2024-02-07T18:57:37
2024-02-07T18:57:37
Rafael Silva de Alencar, William Alberto Cruz Castañeda, Marcellus Amadeus
cs.CV
cs.CV, cs.AI, cs.CL
This work presents the early development of a model of image captioning for the Brazilian Portuguese language. We used the GRIT (Grid - and Region-based Image captioning Transformer) model to accomplish this work. GRIT is a Transformer-only neural architecture that effectively utilizes two visual features to generate better captions. The GRIT method emerged as a proposal to be a more efficient way to generate image captioning. In this work, we adapt the GRIT model to be trained in a Brazilian Portuguese dataset to have an image captioning method for the Brazilian Portuguese Language.
[ -0.37215763330459595, -0.612540602684021, 0.3523503839969635, 0.4023415148258209, -0.7646162509918213, 0.14251115918159485, -0.029928680509328842, -0.35538622736930847, 0.2769576907157898, 0.5961294174194336, -0.2669941484928131, -0.264352411031723, -0.6670493483543396, -0.14998430013656616, -0.3404383659362793, 1.3763391971588135, -0.1654575616121292, 0.6237872838973999, -0.38196760416030884, -0.10173549503087997, -0.5862627625465393, 0.15404872596263885, -0.9096930027008057, -0.4195502698421478, 0.3210812509059906, 0.2616899013519287, 0.9933469295501709, 0.9664755463600159, 0.9703894257545471, 0.399825781583786, 0.16385748982429504, -0.08821519464254379, -0.5381778478622437, -0.2880806624889374, -0.19445574283599854, -0.675621747970581, -0.12478342652320862, -0.10365889221429825, 0.5552330613136292, 0.3315865695476532, 0.09471870213747025, -0.04788510128855705, -0.13124796748161316, 0.3846991956233978, -0.3374156355857849, 0.6482081413269043, -0.6302841901779175, 0.06761223822832108, -0.0038827285170555115, -0.5318758487701416, -0.11198633164167404, -0.31929656863212585, -0.003891743952408433, -0.4224189817905426, 0.7328140735626221, 0.03349796310067177, 1.4798712730407715, 0.1822732836008072, -0.006264776457101107, -0.16937142610549927, -0.9024375081062317, 0.5937085151672363, -0.08161504566669464, 0.14084434509277344, 0.06528973579406738, 0.959130048751831, 0.4429970383644104, -0.9078047871589661, -0.27042439579963684, -0.1273389756679535, -0.22039882838726044, 0.09704059362411499, -0.027512652799487114, -0.010280932299792767, -0.12416000664234161, 0.65825355052948, -0.3348011374473572, 0.07310222834348679, -0.8423591256141663, -0.4397764801979065, 0.7777144312858582, 0.11250051856040955, -0.031214948743581772, 0.04177047684788704, -1.0418912172317505, -0.34360262751579285, -0.8413242101669312, -0.03988706320524216, 0.20715272426605225, 0.33238908648490906, -0.21816471219062805, 0.2645263075828552, -0.013381808996200562, 0.6079767942428589, -0.4525933563709259, -0.5394777059555054, 0.0972830206155777, 0.11102414131164551, -0.1855318248271942, -0.012478516437113285, 0.6605322957038879, 0.6209853887557983, 0.470702201128006, -0.4604122042655945, -1.0091583728790283, 0.06060457229614258, 0.5814093947410583, -0.6653870344161987, -0.3093043267726898, -0.0064768074080348015, -0.29395341873168945, -0.4942761957645416, 0.1716514527797699, -1.043420672416687, -0.645443320274353, -0.17768777906894684, 0.5244547724723816, -0.32167848944664, 0.25463762879371643, -0.14593054354190826, -0.31470030546188354, 0.5748336911201477, 0.3399992287158966, -0.5259581804275513, 0.6429587006568909, 0.3718000650405884, 1.005894422531128, -0.16962307691574097, -0.5470532774925232, -0.43036726117134094, -0.011601446196436882, -0.2226416915655136, 1.3306676149368286, -0.2682816982269287, -0.357593297958374, 0.26548272371292114, 0.30378109216690063, 0.23812709748744965, -0.26288682222366333, 0.4518575668334961, -0.6956660747528076, -0.09817297011613846, -0.19082430005073547, -0.01559843122959137, -0.48834195733070374, 0.11795453727245331, -0.796044111251831, 0.8425774574279785, 0.5178585052490234, -0.4777580499649048, 0.25938019156455994, -0.77748042345047, -0.49781933426856995, 0.5647879838943481, -0.31732669472694397, -0.5268882513046265, 0.10978469997644424, 0.26984313130378723, 0.266920804977417, -0.540955662727356, 0.4317385256290436, 0.06594974547624588, -0.6365381479263306, 0.21415038406848907, -0.46877211332321167, 0.4012150764465332, 0.33583083748817444, -0.34186750650405884, 0.15164612233638763, -0.293655663728714, -0.3523416519165039, 0.6924304962158203, -0.1140323355793953, 0.1797894686460495, -0.1546398252248764, 0.6128745675086975, 0.2972811758518219, 0.4766477942466736, -0.627740204334259, 0.05182214081287384, 0.024877971038222313, 0.47998490929603577, 0.47141507267951965, -0.06009894981980324, 0.6545588970184326, -0.5833643078804016, 0.7115420699119568, 0.14855095744132996, 0.20829267799854279, -0.5788907408714294, -0.5771810412406921, -1.0505377054214478, -0.18282270431518555, 0.5188679695129395, 0.7674441337585449, -1.1647411584854126, -0.24606144428253174, -0.8358911275863647, -0.5772392153739929, -0.8535298109054565, 0.03624042123556137, 0.794495701789856, 0.46860557794570923, 0.43843337893486023, -0.5820632576942444, -0.24537374079227448, -1.2501662969589233, 0.29082798957824707, 0.293995201587677, 0.12297964096069336, 0.5369601845741272, 0.49787774682044983, 0.2568330764770508, 0.7438603043556213, -0.6599807739257812, -0.6143926382064819, -0.15042129158973694, 0.15706177055835724, 0.06780939549207687, 0.459092915058136, 0.7451494336128235, -0.9533476233482361, -0.3668454885482788, 0.049441155046224594, -0.515537440776825, 0.08682027459144592, -0.2832415997982025, 0.011592047289013863, 0.26411172747612, 0.5534954071044922, -0.19470998644828796, 0.6003054976463318, 0.30986377596855164, 0.02380739338696003, 0.35798782110214233, -0.39888688921928406, 0.23271562159061432, -0.7295647859573364, -0.03505948558449745, 0.16546575725078583, -0.4926573634147644, -0.2823041081428528, 0.45179253816604614, 0.013673517853021622, -0.19408276677131653, -0.7656841278076172, 0.5808818936347961, -0.510429859161377, -0.38095879554748535, -0.5404964685440063, -0.08815676718950272, 0.17374935746192932, 0.7581333518028259, 0.507817268371582, 0.9584850668907166, 0.8498746156692505, -0.27775633335113525, 0.3664286732673645, 0.0690402016043663, -0.32150551676750183, 0.7356666922569275, -0.9411411285400391, 0.08891100436449051, -0.46442949771881104, -0.13121385872364044, -1.2184221744537354, -0.10317064076662064, -0.13057975471019745, -0.27675533294677734, 0.6209263801574707, -0.5818011164665222, -0.19374461472034454, -0.7301236987113953, -0.28898823261260986, -0.05355045571923256, 0.5139858722686768, -0.5425595641136169, 0.4606647491455078, 0.4410901963710785, -0.35408467054367065, -0.3242051899433136, -0.8279180526733398, 0.1823185384273529, -0.3333524465560913, -0.5011227130889893, 0.6370590329170227, 0.37902817130088806, -0.07143422961235046, -0.25762519240379333, 0.30445176362991333, -0.5276311039924622, -0.14184899628162384, 0.2806696891784668, 0.3969070017337799, -0.3303830921649933, 0.1074344739317894, 0.1716369390487671, -0.1940738409757614, -0.08152550458908081, 0.049033503979444504, 0.8904776573181152, -0.7060976624488831, 0.1798071563243866, -0.13697749376296997, 0.42883872985839844, 0.45082056522369385, -0.4869375228881836, 0.5273453593254089, 0.7471780180931091, -0.13649755716323853, 0.05290800333023071, -0.47756054997444153, -0.3665103614330292, -0.4866805672645569, 0.3965384364128113, -0.4172666370868683, -0.5496721863746643, 0.8461126685142517, -0.030796868726611137, -0.07599295675754547, 0.2835710644721985, 0.4477519094944, -0.2817476987838745, 0.4105793535709381, 0.7303805351257324, 0.02314421348273754, 0.4941205084323883, -0.5317026376724243, -0.0921659916639328, -0.5914973616600037, -0.17913572490215302, -0.5997389554977417, -0.44639766216278076, -0.6557819843292236, -0.41905292868614197, 0.2908186614513397, -0.14654916524887085, -0.20063792169094086, 0.39494869112968445, -0.5336790084838867, 0.7401763796806335, 0.7855162620544434, 0.45725762844085693, -0.00960625521838665, 0.22721675038337708, 0.14880387485027313, 0.03540550917387009, -0.7692758440971375, -0.7227126955986023, 0.8125900626182556, 0.4290573298931122, 0.7439450025558472, -0.19434645771980286, 0.5959656238555908, 0.4788021147251129, 0.3740827739238739, -0.9415072798728943, 0.34498849511146545, -0.11059728264808655, -0.33170756697654724, -0.18207016587257385, 0.151317298412323, -1.3244619369506836, 0.09864717721939087, -0.33743593096733093, -0.34097060561180115, -0.03733021020889282, -0.023726936429739, -0.25360018014907837, 0.20422524213790894, -0.5601668357849121, 0.7723947167396545, -0.22248482704162598, -0.2856728434562683, 0.2661530077457428, -0.8341964483261108, -0.0016940002096816897, 0.24321329593658447, 0.37272655963897705, 0.2374209761619568, -0.06915661692619324, 0.7862839102745056, -0.21656064689159393, 0.6016296744346619, -0.3097294569015503, 0.09757313877344131, 0.739578366279602, 0.3121432363986969, 0.44762441515922546, 0.08079466223716736, 0.36072206497192383, 0.5011692643165588, -0.31250065565109253, -0.5884647965431213, -0.40429940819740295, 0.5648987293243408, -0.7716370820999146, -0.45712101459503174, -0.3254961669445038, -0.8428509831428528, 0.11917829513549805, 0.3211669921875, 0.32687482237815857, 0.40908095240592957, -0.1384125053882599, -0.04053523391485214, 0.46572768688201904, 0.11122412234544754, 1.0730907917022705, 0.5323697924613953, -0.2601785659790039, -0.698575496673584, 0.9990491271018982, 0.009694920852780342, -0.02195587567985058, 0.36783167719841003, 0.11945073306560516, -0.17700834572315216, -0.8353971838951111, -0.7157202363014221, 0.3183397352695465, -0.700066864490509, -0.5819060206413269, -0.24140460789203644, -0.21503877639770508, -0.3239377439022064, -0.5695989727973938, -0.505855917930603, -0.14862284064292908, -0.02118843048810959, 0.10359611362218857, 0.4629947543144226, 0.7445006966590881, 0.46798697113990784, 0.9749873280525208, -1.0019075870513916, 0.02436101622879505, 0.40170085430145264, 0.5413112044334412, -0.35163187980651855, -0.49713239073753357, -0.2736184298992157, 0.07822541147470474, -0.5567814707756042, -0.9794943928718567, 0.7524308562278748, 0.12542244791984558, 0.41703879833221436, 0.4725033938884735, -0.4060107469558716, 0.4364227056503296, -0.6599636673927307, 0.8567318916320801, -0.05961066111922264, -0.7025851607322693, 0.5413963794708252, -0.5971153378486633, 0.22847232222557068, 0.5754075646400452, 0.47922664880752563, -0.09931796789169312, -0.11226799339056015, -0.7974187731742859, -0.5550998449325562, 0.5008490085601807, 0.1970847249031067, 0.3702646493911743, 0.08615466952323914, 0.2560000419616699, 0.28733012080192566, 0.25926390290260315, -0.8996755480766296, -0.10214029997587204, -0.37781214714050293, 0.11602254211902618, -0.11945323646068573, -0.07361682504415512, -0.38022464513778687, -0.12861420214176178, 0.5129913091659546, -0.4758567214012146, 0.7877684235572815, 0.0549212321639061, -0.29272547364234924, -0.09045518189668655, -0.022485937923192978, 0.7769847512245178, 0.4069357216358185, -0.027460167184472084, 0.011128823272883892, 0.06971388310194016, -0.5469114780426025, -0.18446411192417145, 0.11395733058452606, -0.2928715646266937, 0.21915625035762787, 0.2862216532230377, 1.1253548860549927, 0.2860429286956787, -0.4082920551300049, 0.7340115308761597, 0.1980283260345459, -0.06624457240104675, -0.17221887409687042, -0.01636986806988716, 0.0035485734697431326, 0.10859080404043198, 0.1698329895734787, 0.08559751510620117, 0.21281731128692627, -0.22268740832805634, 0.013080297969281673, 0.3487125635147095, -0.9070785045623779, 0.05209914967417717, 0.39910709857940674, 0.23105302453041077, -0.5523383617401123, 0.6850466728210449, -0.23434194922447205, -0.5187979936599731, 0.923629879951477, 0.7263725996017456, 0.6275476813316345, -0.26756107807159424, 0.4934755861759186, 0.18784378468990326, 0.5039412975311279, 0.018242355436086655, 0.7162091135978699, 0.06964634358882904, -0.5696614384651184, -0.16289500892162323, -0.7484366297721863, -0.3072783648967743, -0.02995980717241764, -0.8860512971878052, 0.6889541149139404, -0.26531416177749634, 0.033179376274347305, -0.02816627360880375, -0.1869349330663681, -0.9033983945846558, 0.5197409391403198, 0.25822898745536804, 0.8020710349082947, -1.2204927206039429, 0.8390554785728455, 1.085392951965332, -0.6103784441947937, -0.33023741841316223, -0.7817546129226685, -0.5099982619285583, -1.2068547010421753, 0.14085577428340912, 0.29228970408439636, 0.1644657701253891, -0.09292197227478027, -0.9653123617172241, -0.8365219235420227, 1.3810408115386963, 0.3199290335178375, -0.3012622594833374, 0.3977954387664795, 0.4105030298233032, 0.6354354619979858, -0.7434276938438416, 0.26896634697914124, 0.5274787545204163, 0.4007558822631836, 0.5515714287757874, -0.8682118654251099, -0.2933778762817383, -0.20618991553783417, 0.3897916376590729, 0.3435853123664856, -0.7512259483337402, 1.0072784423828125, -0.3849988281726837, 0.048556383699178696, 0.012369104661047459, 0.9344460368156433, -0.050572387874126434, 0.28241872787475586, 0.23846198618412018, 0.458945631980896, 0.4964979887008667, -0.4905577003955841, 1.4168647527694702, -0.29562535881996155, 0.5611346364021301, 1.239504098892212, 0.14565695822238922, 0.5386560559272766, 0.4997425377368927, -0.3069368600845337, 0.6689833402633667, 0.5557791590690613, -0.4419021010398865, 0.5461101531982422, 0.08429524302482605, 0.0028906927909702063, -0.09563836455345154, -0.38853171467781067, -0.11322415620088577, 1.0040702819824219, 0.2416934370994568, -0.8188295960426331, -0.546186089515686, 0.11163721978664398, 0.36688464879989624, 0.12314528226852417, -0.6999410390853882, 0.7815860509872437, -0.3048152029514313, -0.7424277663230896, 0.49909767508506775, 0.1858777552843094, 0.5380723476409912, -0.3660483658313751, -0.1932230293750763, -0.28508174419403076, -0.2687726616859436, 0.09801334887742996, -1.1589125394821167, 0.4241238534450531, -0.11659713089466095, -0.13044041395187378, -0.22755569219589233, 0.6969747543334961, -0.4452512562274933, -0.699020504951477, -0.25454819202423096, 0.4139259457588196, 0.6266882419586182, -0.11604012548923492, -0.6725367903709412, -0.04229966178536415, -0.1738927811384201, 0.16733352839946747, 0.2075471729040146, -0.00046619304339401424, -0.42688503861427307, 0.5307597517967224, 0.2822764217853546, -0.01785624399781227, -0.031342487782239914, 0.034348830580711365, 0.9142093658447266, -0.5396257042884827, -0.627638578414917, -0.5890862345695496, 0.402864545583725, -0.08036360144615173, -0.3013421297073364, 0.41379794478416443, 0.7029081583023071, 0.4769820272922516, -0.5915970802307129, 0.6688098907470703, -0.1067693755030632, -0.2790026068687439, -0.3779863119125366, 0.9358447790145874, -0.1149284839630127, -0.31606778502464294, -0.035362277179956436, -1.143695592880249, -0.3091921806335449, 0.6518945693969727, -0.27146199345588684, 0.18713395297527313, 0.7659661173820496, 1.005892038345337, 0.16863679885864258, 0.1416010707616806, 0.31131404638290405, 0.021458394825458527, 0.08712644875049591, 0.5207138061523438, 0.2060704231262207, -0.705242931842804, 0.5030446648597717, -0.7917518019676208, -0.21003496646881104, 0.09595334529876709, -1.2281494140625, -0.7614099383354187, -0.6038283109664917, -0.40299561619758606, -0.6019477844238281, -0.04163118451833725, 0.447156697511673, 0.5528399348258972, -0.8935878872871399, -0.28705576062202454, -0.06743760406970978, 0.13189002871513367, -0.24734215438365936, -0.28796809911727905, 0.4541222155094147, -0.3726194202899933, -0.926264762878418, -0.0925450250506401, 0.25706106424331665, 0.33924373984336853, -0.5477357506752014, -0.0033605899661779404, -0.046335820108652115, 0.12715551257133484, 0.3196621537208557, 0.1408594399690628, -0.35286417603492737, -0.12621384859085083, -0.2102934718132019, -0.1565457433462143, 0.5403925776481628, 0.736946702003479, -1.0017465353012085, 0.4795031249523163, 0.3121050000190735, 0.21205899119377136, 0.6181463003158569, -0.24758005142211914, 0.29541149735450745, -0.5625288486480713, 0.38162222504615784, 0.2863374650478363, 0.6052685976028442, 0.6860190033912659, -0.3214804530143738, 0.527404248714447, 0.21837639808654785, -0.30932551622390747, -0.373161256313324, -0.18132184445858002, -1.329237699508667, 0.12199245393276215, 1.2541075944900513, -0.40661925077438354, -0.726096510887146, 0.010226129554212093, -0.5500863194465637, 0.0997856855392456, -0.4137192368507385, 0.9881781935691833, 0.5491796135902405, 0.3220779001712799, -0.29098281264305115, -0.138353630900383, 0.1521972268819809, -0.19983306527137756, -0.8244351148605347, -0.5180299282073975, 0.33260998129844666, 0.18776442110538483, 0.4265236556529999, 0.16368240118026733, -0.4982914328575134, 0.6764687895774841, 0.38007858395576477, 0.562531590461731, -0.40746596455574036, -0.7140311598777771, -0.4903953969478607, 0.3446040153503418, -0.2528131604194641, -0.24170447885990143 ]
http://arxiv.org/abs/2402.05162v3
http://arxiv.org/pdf/2402.05162v3
Assessing the Brittleness of Safety Alignment via Pruning and Low-Rank Modifications
2024-02-07T18:34:38
2024-07-01T07:11:17
Boyi Wei, Kaixuan Huang, Yangsibo Huang, Tinghao Xie, Xiangyu Qi, Mengzhou Xia, Prateek Mittal, Mengdi Wang, Peter Henderson
cs.LG
cs.LG, cs.AI, cs.CL
Large language models (LLMs) show inherent brittleness in their safety mechanisms, as evidenced by their susceptibility to jailbreaking and even non-malicious fine-tuning. This study explores this brittleness of safety alignment by leveraging pruning and low-rank modifications. We develop methods to identify critical regions that are vital for safety guardrails, and that are disentangled from utility-relevant regions at both the neuron and rank levels. Surprisingly, the isolated regions we find are sparse, comprising about $3\%$ at the parameter level and $2.5\%$ at the rank level. Removing these regions compromises safety without significantly impacting utility, corroborating the inherent brittleness of the model's safety mechanisms. Moreover, we show that LLMs remain vulnerable to low-cost fine-tuning attacks even when modifications to the safety-critical regions are restricted. These findings underscore the urgent need for more robust safety strategies in LLMs.
[ -0.18536172807216644, -0.8509532809257507, 0.5852282047271729, -0.10572628676891327, -0.3417527973651886, 0.20782262086868286, -0.22538885474205017, -0.23863385617733002, -0.03305662050843239, 0.30153128504753113, -0.47738930583000183, -0.39600110054016113, -0.8765220046043396, -0.17099629342556, -0.28555989265441895, 1.1151937246322632, -0.133119136095047, -0.20751939713954926, 0.22479772567749023, -0.1138504147529602, -0.4127109944820404, -0.6021141409873962, -0.5893654823303223, -0.23185405135154724, 0.7517304420471191, 0.4328286945819855, 1.0283169746398926, 0.9230816960334778, 0.7500047087669373, 0.3156833350658417, -0.664883553981781, -0.34095126390457153, -0.5119754076004028, -0.005744539201259613, -0.1923317015171051, -0.4844789206981659, -0.9063193202018738, -0.18127846717834473, 0.5326673984527588, 0.7945606112480164, -0.1871955692768097, -0.22581638395786285, 0.43399572372436523, 0.5949632525444031, -0.6378005146980286, -0.18100175261497498, -1.0364407300949097, -0.15381862223148346, -0.5366787910461426, -0.10521116107702255, -0.3668482303619385, -0.3855777382850647, 0.002428960520774126, -0.17103032767772675, 0.07993748784065247, 0.12715832889080048, 1.1998276710510254, 0.3758246898651123, -0.5502228140830994, 0.1305880844593048, -0.655653178691864, 0.9065794944763184, -0.6162663102149963, 0.11144638061523438, 0.4358111619949341, 0.10338800400495529, -0.5846955180168152, -0.23287349939346313, -0.22550901770591736, -0.16321949660778046, -0.03505551069974899, -0.23536619544029236, -0.05589768663048744, 0.4941282868385315, 0.21313899755477905, 0.19866779446601868, -0.5386031866073608, 0.5544695258140564, -0.31212520599365234, -0.3230822682380676, 0.57534259557724, 0.2630541920661926, 0.5282325148582458, -0.2807380259037018, -0.33397048711776733, -0.35612815618515015, -1.207289695739746, 0.10620184242725372, 0.6882594227790833, 0.41875216364860535, -0.07987184077501297, 0.517325222492218, 0.23128381371498108, 0.6436444520950317, -0.15466636419296265, -0.3616364002227783, -0.05909567326307297, -0.2599843144416809, -0.19450530409812927, 0.21444308757781982, 0.8734595775604248, 0.5552043914794922, 0.1829589605331421, -0.2294464409351349, -0.2565544545650482, 0.07200160622596741, 0.2524608373641968, -0.37114623188972473, -0.2962104082107544, 0.3898467719554901, -0.4580903649330139, -0.5407602190971375, -0.33840858936309814, -0.5503944754600525, -0.6354269981384277, -0.09115955233573914, 0.2640766203403473, -0.62273770570755, -0.28711390495300293, 0.12746481597423553, 0.06842681765556335, 0.2438226342201233, 0.10016743093729019, -1.2005141973495483, 0.0899973064661026, 0.906157910823822, 0.9361240267753601, -0.06398003548383713, -0.5222801566123962, -0.37809252738952637, 0.21217986941337585, -0.39252611994743347, 0.5767231583595276, -0.20736347138881683, -0.1913534551858902, -0.20610593259334564, 0.27305853366851807, -0.11602891981601715, -0.45900827646255493, 0.9199318289756775, -0.3419645428657532, -0.5515033602714539, -0.07529877871274948, 0.06547433137893677, 0.046803224831819534, 0.2666941285133362, -0.709455668926239, 0.6010110378265381, -0.12518204748630524, -0.7972220778465271, 0.5107309222221375, -0.10104691237211227, -0.6331729292869568, -0.4547661542892456, -0.05031319707632065, -0.6908484697341919, 0.26555976271629333, 0.02315119281411171, 0.2346167117357254, -0.08595513552427292, 0.44917142391204834, -0.6715079545974731, -0.2189386636018753, 0.37265750765800476, -0.6730765104293823, 0.5785079002380371, 0.0861419141292572, -0.33340004086494446, 0.24666236340999603, -0.6581844091415405, -0.017202699556946754, 0.04386444017291069, -0.48789703845977783, -0.577882707118988, 0.40036576986312866, 0.041673146188259125, 0.2831851840019226, 0.44896069169044495, -0.34076783061027527, 0.17074282467365265, -0.69842129945755, 0.6542903780937195, 1.2426574230194092, 0.01245012879371643, 0.5893332958221436, -0.29449522495269775, 0.21171028912067413, 0.25317278504371643, 0.48093825578689575, 0.5221479535102844, -0.0749155730009079, -0.7789616584777832, -0.10588423162698746, 0.4864979088306427, 0.4248357117176056, -0.4191349744796753, 0.5719345808029175, -0.417577862739563, -0.5520203709602356, -0.5136794447898865, 0.21913939714431763, 0.556130588054657, 0.14100198447704315, 0.23695720732212067, -0.3492518663406372, -0.30237865447998047, -1.0964241027832031, -0.2805546820163727, -0.3242228329181671, 0.041308071464300156, -0.2265438288450241, 0.5170148015022278, -0.03872448951005936, 0.8239606022834778, -0.2926223874092102, -0.05786916986107826, -0.2405278980731964, -0.07984244078397751, 0.1613256335258484, 0.8642997145652771, 0.49313411116600037, -0.5652689337730408, -0.13689865171909332, 0.054095812141895294, -0.6142566204071045, 0.19233794510364532, -0.09456011652946472, -0.14007781445980072, 0.03434052690863609, 0.6060192584991455, -0.5332117080688477, 0.39280417561531067, 0.4858158826828003, -0.2341226488351822, 0.3703587055206299, -0.14172491431236267, -0.12873844802379608, -0.8553692698478699, -0.009391916915774345, 0.021288972347974777, 0.037941016256809235, -0.7107060551643372, 0.02081131748855114, 0.13883386552333832, 0.02286972850561142, -0.42855340242385864, 0.010304898023605347, -0.5993887186050415, 0.023545250296592712, -0.18995697796344757, 0.1919860690832138, -0.1780114620923996, 0.3786373436450958, -0.2276647686958313, 0.5609486699104309, 0.5983074903488159, -0.4849599003791809, -0.30755487084388733, 0.1114463210105896, -0.4500073790550232, 0.22620496153831482, -0.7462334036827087, 0.09360767900943756, -0.23265360295772552, -0.10516258329153061, -0.6574012637138367, -0.44619062542915344, -0.0885959267616272, 0.05013725534081459, 0.4209766089916229, -0.7910372614860535, -0.47110703587532043, 0.1697145402431488, -0.4283851385116577, 0.22702324390411377, 0.5591564774513245, -0.20745649933815002, 0.2719254195690155, 0.7896382808685303, -0.5864789485931396, -0.6950008273124695, -0.5491763949394226, 0.09542122483253479, -0.6688570976257324, -0.8066584467887878, 0.4322052001953125, 0.11394273489713669, -0.4792301654815674, -0.319191575050354, -0.4074663817882538, 0.04339374601840973, 0.8196824193000793, 0.5060939192771912, 0.3434162437915802, -0.01332788448780775, -0.12265190482139587, 0.30930808186531067, -0.220582976937294, 0.03795582801103592, 0.2698615789413452, 0.49398499727249146, -0.22309094667434692, -0.5289267301559448, -0.25622883439064026, 0.19237877428531647, 0.9276061654090881, -0.18995532393455505, 0.8649017810821533, -0.005056359805166721, -0.44898512959480286, -0.15218082070350647, -0.1430893838405609, -0.2796846032142639, -0.5691295862197876, 0.4439457654953003, -0.2113739252090454, -1.0691046714782715, 0.45160144567489624, -0.3056052625179291, 0.34536242485046387, 0.17127107083797455, 0.24632367491722107, -0.10276690870523453, 1.2762171030044556, 0.7353242039680481, -0.18426749110221863, 0.43684065341949463, 0.2929340600967407, 0.5674291849136353, -0.870413064956665, -0.036369942128658295, -0.6985413432121277, -0.5260577201843262, -0.6169177293777466, -0.044070690870285034, 0.5880047082901001, 0.5816332697868347, -0.25452426075935364, 0.6040832996368408, -0.5150081515312195, 0.570835292339325, 0.06612260639667511, 0.0847119614481926, 0.1290256679058075, -0.025453299283981323, -0.12008350342512131, -0.287826269865036, -0.5355061888694763, -0.8067612648010254, 0.7830786108970642, 0.7593030333518982, 1.0483814477920532, 0.5343886613845825, 0.6368492841720581, -0.16269509494304657, 0.12384814023971558, -0.7111499905586243, 0.6967770457267761, -0.2941361963748932, -0.46254992485046387, -0.29898783564567566, -0.37562426924705505, -1.0377148389816284, 0.32052963972091675, -0.40751025080680847, -0.9626055359840393, 0.2670290470123291, 0.24121811985969543, -0.5390585064888, 0.2622835636138916, -0.9401171207427979, 0.9443688988685608, -0.642015278339386, -0.4056051969528198, -0.17687483131885529, -0.6863580942153931, 0.5273078083992004, 0.005474244710057974, 0.23745889961719513, -0.2517925202846527, 0.26141053438186646, 0.7471401691436768, -0.48172664642333984, 0.9850368499755859, 0.08589450269937515, -0.15913020074367523, -0.14917533099651337, 0.35020703077316284, 0.7248683571815491, -0.12017905712127686, -0.016881966963410378, -0.03803909197449684, -0.056781407445669174, -0.2939496338367462, -0.30189600586891174, 0.9270584583282471, -0.7099010348320007, -0.7536271810531616, -0.6075445413589478, -0.44313985109329224, -0.387525349855423, 0.16591495275497437, 0.04322584345936775, 0.24844640493392944, -0.1075025275349617, 0.32955360412597656, 0.8285562992095947, -0.1702558994293213, 0.6593766212463379, 0.4095320999622345, 0.32741430401802063, -0.25648218393325806, 0.7655779719352722, 0.2991272211074829, 0.35319066047668457, -0.04370258376002312, -0.08600299805402756, -0.12883931398391724, -1.2450498342514038, -0.09916070848703384, 0.13471218943595886, -0.7224067449569702, -0.032765697687864304, -0.3281385004520416, -0.37063702940940857, -0.22336171567440033, -0.36524203419685364, -0.4169272482395172, -0.42801418900489807, -0.12305206805467606, -0.4377945065498352, 0.33053213357925415, 0.510575532913208, 0.0008803514065220952, 0.527378261089325, -0.9226258397102356, -0.11271559447050095, 0.1556726098060608, 0.3667577803134918, -0.05740102753043175, -0.4543592631816864, -0.1257569044828415, -0.3207738995552063, -0.2627491056919098, -0.7515577673912048, 0.3053734004497528, -0.0861319750547409, 0.4349013864994049, 0.37399670481681824, 0.20984475314617157, 0.838505744934082, -0.691074013710022, 0.5925528407096863, 0.35529324412345886, -0.7977257370948792, 0.5270129442214966, -0.4179779291152954, -0.1396600902080536, 0.8312344551086426, 0.18620122969150543, -0.18381217122077942, -0.4349381923675537, -0.48814067244529724, -1.3475561141967773, 0.6005295515060425, 0.11678361892700195, -0.12519995868206024, -0.004433834925293922, 0.19938315451145172, -0.17179857194423676, -0.06531055271625519, -0.9221658706665039, 0.010125567205250263, 0.2500787079334259, -0.22482851147651672, 0.1486845761537552, -0.3612527847290039, -0.6626956462860107, 0.06487252563238144, 0.5210349559783936, -0.04157828539609909, -0.24404606223106384, -0.14337973296642303, -0.21068671345710754, -0.10249703377485275, 0.80373615026474, 0.6749088168144226, 0.4765123724937439, -0.3459266424179077, 0.4821699261665344, 0.273328959941864, -0.5264172554016113, 0.2908923923969269, -0.17855650186538696, -0.1801692545413971, -0.3173281252384186, 0.31636250019073486, 0.7813184857368469, 0.3054348826408386, -0.5126675367355347, 0.3641383945941925, -0.10803806781768799, -0.020098799839615822, -0.1374455988407135, 0.32613232731819153, -0.040893711149692535, -0.06523559987545013, 0.042651496827602386, 0.33684515953063965, -0.30281707644462585, -0.5013235211372375, 0.07781341671943665, 0.587023913860321, -0.5241913795471191, -0.4528856873512268, 0.5262489318847656, 0.19062012434005737, -0.25422409176826477, 0.29878556728363037, 0.22933293879032135, -0.37157726287841797, 0.5884559750556946, 0.23729802668094635, 0.9043194651603699, 0.018392471596598625, -0.05599305033683777, 0.290062814950943, 1.0608434677124023, -0.3144478499889374, -0.1153760626912117, 0.4332405626773834, -0.4397183954715729, -0.42637595534324646, -0.7964800000190735, -0.2917804419994354, 0.2090614140033722, -0.5286754965782166, 0.2427128702402115, -0.8278682827949524, -0.4708552062511444, -0.16520364582538605, -0.5038949847221375, 0.07364734262228012, 0.12650823593139648, -0.23314230144023895, 0.6862258315086365, -1.1527149677276611, 0.7621321082115173, 0.5063760876655579, -0.24075934290885925, -0.950948178768158, 0.3998831808567047, 0.12021307647228241, -0.27855464816093445, 0.2709910273551941, -0.06350391358137131, -0.11032125353813171, -0.28584641218185425, -0.5837125182151794, -0.9368100166320801, 1.0615540742874146, 0.6371811628341675, -0.8201196193695068, -0.25857171416282654, 0.07212361693382263, 0.39947429299354553, 0.45951393246650696, -0.05944672226905823, 0.8319066762924194, 0.41501861810684204, -0.3972286581993103, -1.1841362714767456, 0.324379563331604, -0.013591569848358631, -0.07270558923482895, 0.6108212471008301, -0.8551039695739746, 1.00357186794281, 0.09943852573633194, -0.43893206119537354, -0.06681733578443527, 0.2703545093536377, 0.5511199831962585, -0.009624568745493889, 0.6570910811424255, 0.7126878499984741, 0.5827005505561829, -0.41795989871025085, 0.6570455431938171, -0.2617935836315155, 0.2196226865053177, 0.8997892737388611, -0.43087461590766907, 0.9923458695411682, 0.9370275139808655, -0.03616796061396599, 0.3531284034252167, 0.4876404404640198, 0.3781302273273468, 0.7675995230674744, 0.06266938149929047, -0.2841135561466217, -0.44396618008613586, 0.08528391271829605, -0.16565442085266113, 0.25608590245246887, 0.46578267216682434, -0.18090181052684784, -0.32749852538108826, -0.27198246121406555, 0.45481961965560913, -0.15343737602233887, -0.1968754231929779, 0.8151745200157166, 0.3426230549812317, -0.8873722553253174, 0.7546507120132446, 0.18959079682826996, 0.6190655827522278, -0.7441356778144836, 0.11834508925676346, -0.1413438618183136, 0.37693560123443604, -0.29127201437950134, -0.9349355697631836, 0.5000566244125366, 0.16802681982517242, 0.009891558438539505, -0.27552539110183716, 0.6817294955253601, -0.07787231355905533, 0.06201321631669998, 0.42215144634246826, 0.03600507602095604, -0.1622776836156845, 0.3184424340724945, -0.6024947166442871, 0.3026408851146698, -0.10145477950572968, -0.22872324287891388, 1.0972446203231812, 0.2773570120334625, -0.33941546082496643, 0.6773538589477539, 0.6753968000411987, 0.1360594928264618, -0.0015823377761989832, -0.19806143641471863, 0.9687183499336243, -0.6243446469306946, -0.3401341736316681, -1.073693871498108, 0.8914657235145569, -0.08631408214569092, -0.3823263645172119, 0.7626073956489563, 0.18634742498397827, 0.5029224157333374, 0.04339899495244026, 0.7506332993507385, -0.2698516547679901, 0.01867613010108471, -0.8353813290596008, 1.2006261348724365, -0.5273156762123108, 0.5641610026359558, -0.31480181217193604, -0.5874484181404114, -0.2776567339897156, 0.47826793789863586, -0.5101575255393982, -0.3441111147403717, 0.7710519433021545, 1.1986206769943237, -0.18724031746387482, -0.5065977573394775, 0.337155282497406, 0.37952643632888794, 0.2456468939781189, 0.6706823110580444, 0.8514595627784729, -0.37757062911987305, 0.8123006224632263, -0.2027846872806549, -0.19037048518657684, -0.1314130425453186, -0.9791536927223206, -0.8916276693344116, -0.38904184103012085, -0.3898123502731323, -0.6137131452560425, 0.09541227668523788, 0.6084514856338501, 0.5716003775596619, -0.7309683561325073, -0.053809162229299545, -0.23030246794223785, 0.3482550382614136, -0.08022486418485641, -0.18197159469127655, 0.4595376253128052, 0.0553537979722023, -0.4677189588546753, 0.8096117973327637, 0.4852502644062042, 0.23249144852161407, -0.06469441950321198, 0.10747362673282623, -0.053616609424352646, -0.0050544049590826035, 0.1675722748041153, 0.48006293177604675, -0.5797325372695923, -0.6835395097732544, -0.19845354557037354, -0.3414672613143921, -0.09509536623954773, 0.39183980226516724, 0.0415368378162384, -0.022122956812381744, 0.600785493850708, 0.43170106410980225, -0.05460701510310173, 0.07208945602178574, 0.5905542373657227, -0.9674909114837646, 0.3659283518791199, 0.19914428889751434, 0.69514000415802, 0.37303754687309265, -0.07080245018005371, 0.20087887346744537, -0.03012605383992195, -0.8244724273681641, -1.292920708656311, 0.4790315330028534, -1.1411467790603638, -0.12485429644584656, 1.019721508026123, -0.10649619251489639, -0.7016150951385498, -0.39276862144470215, -0.1012532040476799, 0.023852813988924026, -0.02791222743690014, 0.92410808801651, 0.7886892557144165, 0.24116232991218567, -0.13409563899040222, -0.390485942363739, 0.7687377333641052, 0.7343106269836426, -0.6678226590156555, 0.20258988440036774, 0.41524606943130493, 0.5884339809417725, 0.32645151019096375, 0.3350656032562256, -0.4334854781627655, 0.23037177324295044, -0.09283442795276642, -0.09270777553319931, 0.4437374174594879, -0.39645063877105713, -0.6659113764762878, 0.39494258165359497, 0.7762083411216736, 0.03876621276140213 ]
http://arxiv.org/abs/2402.05070v1
http://arxiv.org/pdf/2402.05070v1
A Roadmap to Pluralistic Alignment
2024-02-07T18:21:17
2024-02-07T18:21:17
Taylor Sorensen, Jared Moore, Jillian Fisher, Mitchell Gordon, Niloofar Mireshghallah, Christopher Michael Rytting, Andre Ye, Liwei Jiang, Ximing Lu, Nouha Dziri, Tim Althoff, Yejin Choi
cs.AI
cs.AI, cs.CL, cs.IR
With increased power and prevalence of AI systems, it is ever more critical that AI systems are designed to serve all, i.e., people with diverse values and perspectives. However, aligning models to serve pluralistic human values remains an open research question. In this piece, we propose a roadmap to pluralistic alignment, specifically using language models as a test bed. We identify and formalize three possible ways to define and operationalize pluralism in AI systems: 1) Overton pluralistic models that present a spectrum of reasonable responses; 2) Steerably pluralistic models that can steer to reflect certain perspectives; and 3) Distributionally pluralistic models that are well-calibrated to a given population in distribution. We also propose and formalize three possible classes of pluralistic benchmarks: 1) Multi-objective benchmarks, 2) Trade-off steerable benchmarks, which incentivize models to steer to arbitrary trade-offs, and 3) Jury-pluralistic benchmarks which explicitly model diverse human ratings. We use this framework to argue that current alignment techniques may be fundamentally limited for pluralistic AI; indeed, we highlight empirical evidence, both from our own experiments and from other work, that standard alignment procedures might reduce distributional pluralism in models, motivating the need for further research on pluralistic alignment.
[ -0.5762485265731812, -0.0994143933057785, 0.4879135191440582, 0.12590323388576508, -0.04394214227795601, 0.027893127873539925, -0.06103048473596573, -0.4678066074848175, -0.008521300740540028, 0.5938248634338379, -0.4955316483974457, -0.3022236227989197, -0.6918550729751587, -0.1604260951280594, -0.4371499717235565, 1.1994187831878662, 0.08472751080989838, 0.0032163457944989204, -0.2609582841396332, -0.6302905678749084, -0.7052138447761536, -0.4061562418937683, 0.12489557266235352, -0.1646377593278885, 0.6532922983169556, 0.41725558042526245, 1.252057671546936, 0.7575404047966003, 0.7475063800811768, 0.2785007655620575, 0.2997351884841919, -0.22075200080871582, -0.29465752840042114, -0.037707772105932236, -0.32277911901474, -0.2057410627603531, -0.36470046639442444, 0.3712298572063446, 0.7055312395095825, 0.9226118326187134, -0.1894514262676239, 0.1843523532152176, -0.2845548093318939, 0.5141183733940125, -0.8311941623687744, -0.302136093378067, -0.5220535397529602, -0.12073016911745071, -0.17335839569568634, 0.5468363761901855, -0.14047467708587646, -0.6877822875976562, 0.29654744267463684, -0.44742169976234436, -0.17459800839424133, -0.0320967473089695, 0.7244372963905334, 0.413041889667511, -0.6937326788902283, -0.11479213833808899, -0.7950944900512695, 1.1237282752990723, -0.858401894569397, 0.34166648983955383, -0.004188049118965864, 0.5480068325996399, 0.3121248185634613, -0.18597511947155, -0.6535298824310303, -0.0957389622926712, 0.03398112952709198, 0.3036954998970032, 0.025751356035470963, 0.052610792219638824, -0.0913960188627243, 0.0871182531118393, -0.502985417842865, 0.327205091714859, -0.5223839282989502, 0.21778225898742676, 1.025740385055542, 0.2081027626991272, 0.4260525405406952, 0.26467016339302063, -0.639735996723175, 0.06232867017388344, -0.33588939905166626, -0.1297074407339096, 0.6202031373977661, 0.5875121355056763, 0.03864560276269913, 0.7601690292358398, 0.13068829476833344, 0.7122263312339783, -0.08454645425081253, 0.09005636721849442, 0.1376594603061676, -0.572597086429596, 0.0836515799164772, 0.031284283846616745, 0.4937547743320465, 0.5071768164634705, 0.3364979922771454, -0.2402750849723816, -0.3273232877254486, 0.40568241477012634, 0.8007852435112, -0.39302781224250793, 0.24417191743850708, 0.2294541448354721, -0.35217684507369995, -0.2564065754413605, 0.10705656558275223, -0.46857622265815735, -0.5376529097557068, -0.6862941980361938, 0.3090102970600128, -0.21858525276184082, -0.40634697675704956, 0.0997786670923233, -0.4112698435783386, 0.33256083726882935, 0.3709808886051178, -1.2441482543945312, 0.524359405040741, 1.0996291637420654, 0.755791187286377, -0.37100934982299805, -0.4813150465488434, 0.12035854905843735, 0.29771775007247925, -0.4194495677947998, 0.830779492855072, -0.6511534452438354, -0.33048656582832336, 0.051404766738414764, -0.5734472870826721, -0.15422531962394714, -0.6043346524238586, 0.3411554992198944, -0.19587498903274536, 0.39405420422554016, -0.44603490829467773, -0.6760196685791016, -0.23103483021259308, 0.5033122897148132, -0.6525890827178955, 0.4588247835636139, 0.010118101723492146, -0.45292729139328003, 0.4774360656738281, -0.8675050735473633, -0.2981453537940979, 0.06292475014925003, -0.4304533898830414, -0.2453043907880783, 0.017707642167806625, -0.14553840458393097, 0.04528301954269409, -0.3274684250354767, 0.6211112141609192, -0.4905996024608612, -0.2772907614707947, -0.029543373733758926, -0.3292311131954193, 0.9575420618057251, 0.12132648378610611, -0.4598100185394287, 0.39304280281066895, -0.2719495892524719, -0.031177500262856483, -0.2727798819541931, -0.2218165397644043, -0.17349527776241302, 0.2661845088005066, 0.1492443084716797, 0.1748935431241989, 0.2837305963039398, -0.23296909034252167, 0.6717725396156311, -0.49172112345695496, 0.2626032829284668, 1.0743250846862793, -0.589206337928772, 0.8011828064918518, -0.6264113783836365, 0.5792871713638306, 0.10418887436389923, 0.35257598757743835, 0.5252671241760254, -0.6278020143508911, -0.39248427748680115, -0.30262237787246704, 0.18110837042331696, 0.5898904204368591, 0.229906365275383, 0.7800760865211487, -0.37496811151504517, -0.48288869857788086, -0.9330130815505981, 0.04957075044512749, 0.10222823917865753, 0.25585949420928955, 0.391448974609375, -0.35159990191459656, -0.5498313903808594, -1.1622161865234375, -0.4317721128463745, -0.5926657915115356, 0.1875229775905609, 0.25196734070777893, 0.4224907457828522, -0.4807187616825104, 1.162158727645874, -0.1458652913570404, -0.15125545859336853, -0.17992715537548065, 0.16919833421707153, -0.002047816291451454, 0.4729364216327667, 0.3393484055995941, -1.0925105810165405, -0.07989678531885147, 0.12965843081474304, -0.6361913084983826, -0.009512389078736305, 0.0827827975153923, -0.26042160391807556, -0.2419625222682953, 0.13942550122737885, -0.5171698331832886, 0.2719118297100067, 0.5649969577789307, -0.23609042167663574, 0.48745402693748474, 0.32650744915008545, 0.046351201832294464, -1.1431118249893188, 0.2079361081123352, -0.04065530374646187, 0.105187326669693, -0.5924606323242188, 0.14810264110565186, -0.18531906604766846, 0.002439433243125677, -0.15731677412986755, 0.7743694186210632, -0.18579010665416718, -0.28559410572052, -0.0945332869887352, 0.25967860221862793, -0.07943636178970337, -0.01993054710328579, -0.16849084198474884, 0.6223045587539673, 0.21699051558971405, -0.23961561918258667, 0.36251014471054077, 0.3400716483592987, 0.001628583762794733, 0.7706639766693115, -0.6327179074287415, -0.30581337213516235, -0.3404880464076996, 0.27285706996917725, -0.9765275716781616, 0.06844932585954666, 0.20349867641925812, -0.23143848776817322, -0.32722529768943787, -0.075348399579525, 0.005852790083736181, -0.15168218314647675, -0.1418173909187317, 0.886668860912323, 0.4329879879951477, -0.42760956287384033, 0.8099458813667297, 0.6442350149154663, -0.16485218703746796, -0.7248790264129639, -0.2974311113357544, 0.07134731113910675, -0.4766432046890259, -0.8770864009857178, 0.6416863203048706, -0.2392892986536026, -0.7378212809562683, -0.14524905383586884, 0.21979691088199615, 0.04438624903559685, 0.15125787258148193, 0.2970976233482361, 0.36562779545783997, -0.3987908363342285, 0.27590882778167725, -0.2586539685726166, -0.1458858847618103, -0.2885373532772064, -0.5387932062149048, 0.23586437106132507, -0.4888993799686432, -0.6771178245544434, -0.14332319796085358, 0.6960033774375916, 0.7051738500595093, -0.28675588965415955, 0.5700231790542603, 0.45054465532302856, -0.4223906397819519, 0.2377941757440567, -0.6633970141410828, 0.016750726848840714, -0.3993743658065796, 0.15961343050003052, -0.003113607643172145, -0.6244053840637207, 0.4305451214313507, -0.06437753140926361, 0.6930537819862366, 0.49097633361816406, 0.6094192862510681, -0.10126083344221115, 1.484447956085205, 0.7231143116950989, -0.2979068160057068, 0.2817745804786682, 0.028052259236574173, 0.4467732608318329, -0.6496506333351135, -0.10039710253477097, -0.5512490272521973, -0.7688865065574646, -0.4037390351295471, -0.14549867808818817, 0.18724828958511353, 0.06273670494556427, -0.40711143612861633, 0.1586529016494751, -0.6358833312988281, 0.386597216129303, 0.6849955916404724, -0.6851381659507751, -0.02406647428870201, -0.5223386287689209, 0.1375616192817688, -0.06567951291799545, -0.44321179389953613, -0.7662796974182129, 0.9507047533988953, 0.19880448281764984, 0.7145233750343323, 0.5090707540512085, 0.7511680722236633, 0.34135037660598755, 0.6221235990524292, -0.6290599703788757, 0.37818995118141174, -0.2711291015148163, -0.9059918522834778, -0.5273208618164062, -0.009490828029811382, -0.8893836140632629, 0.437107652425766, -0.05913815274834633, -0.5683744549751282, 0.32448869943618774, -0.01874103769659996, -0.41569602489471436, 0.16239936649799347, -0.7400850653648376, 1.2683298587799072, -0.45151281356811523, 0.17112384736537933, -0.03134160861372948, -0.8062878847122192, 0.5117480754852295, 0.29712286591529846, 0.28329673409461975, -0.49704885482788086, -0.1287141889333725, 0.6236128211021423, -0.24705365300178528, 0.9208924174308777, -0.18341733515262604, -0.123073510825634, -0.12118203938007355, -0.43558770418167114, 0.2587292790412903, -0.1728256642818451, -0.1928197592496872, 0.23929062485694885, 0.06807581335306168, -0.6898341178894043, -0.35701316595077515, 0.5291976928710938, -1.2849537134170532, -0.6268104314804077, -0.338877409696579, -0.7129799723625183, -0.10128165781497955, 0.2330976277589798, 0.036225322633981705, -0.045028626918792725, -0.5889676809310913, -0.20766505599021912, 0.37603774666786194, 0.42289820313453674, 0.22960956394672394, 0.23120950162410736, -0.09348181635141373, -0.2622966170310974, 0.8764751553535461, 0.2667047381401062, 0.2795982360839844, 0.09349194169044495, 0.178315669298172, -0.5625442266464233, -0.5078737139701843, -0.6137716174125671, 0.012503273785114288, -0.6133165955543518, 0.03503977507352829, -0.45475077629089355, -0.1824772208929062, -0.9055253267288208, -0.5991633534431458, -0.49703338742256165, -0.3956362009048462, -0.3062574565410614, -0.017210809513926506, -0.16482201218605042, 0.8015061020851135, 0.06385490298271179, 0.14106936752796173, -0.502176821231842, 0.3088536560535431, 0.4601473808288574, 0.18912841379642487, -0.24470509588718414, -0.36581650376319885, -0.005937911570072174, 0.1846250593662262, -0.3197523057460785, -0.7307789921760559, 0.049562711268663406, -0.00033021479612216353, 0.8011234402656555, 0.6515735983848572, 0.06044725328683853, 0.8452596068382263, -0.4327482581138611, 0.7380032539367676, 0.3749532699584961, -0.9468644857406616, 0.5078721046447754, -0.26694032549858093, 0.21155701577663422, 0.8039611577987671, 0.4194357991218567, -0.9841455221176147, -0.41516393423080444, -0.6042234897613525, -0.8308852314949036, 0.2416885644197464, -0.13991518318653107, 0.23162905871868134, 0.060227856040000916, -0.041345398873090744, 0.3596988022327423, 0.3167796730995178, -0.7919563055038452, 0.14928732812404633, -0.2978029251098633, -0.7167394757270813, -0.1261993795633316, 0.3441675901412964, -0.6820539832115173, -0.022789670154452324, 0.5757228136062622, -0.32260215282440186, -0.16755157709121704, -0.30973106622695923, -0.029458973556756973, -0.0017895803321152925, 0.31851235032081604, 0.749563992023468, 0.8995347023010254, 0.105363629758358, 0.1601555049419403, -0.31503868103027344, -0.01623290590941906, 0.42034950852394104, 0.3650115132331848, -0.4254310429096222, -0.3416707217693329, 0.19800826907157898, 0.5397508144378662, -0.06661220639944077, -0.7769625782966614, 0.699803352355957, 0.006777675822377205, -0.05108916759490967, -0.28742659091949463, 0.16686834394931793, 0.09131905436515808, 0.4741174876689911, 0.13249821960926056, 0.3635100722312927, 0.09120459109544754, -0.4837556481361389, -0.014527502469718456, 0.896722137928009, -0.5043190717697144, -0.32678768038749695, 0.5628470182418823, 0.2858324944972992, -0.5921667814254761, 0.7130014896392822, -0.008319302462041378, -0.2914707660675049, 0.5486719608306885, 0.4018121063709259, 0.9180229902267456, -0.24188275635242462, 0.32181331515312195, -0.03847656771540642, 0.4041769802570343, -0.2581235468387604, 0.05029669031500816, 0.15806040167808533, -1.166106939315796, 0.008710477501153946, -0.3897381126880646, -0.4343959093093872, -0.49934959411621094, -0.6911244988441467, 0.1989414393901825, -0.4084288477897644, -0.20979368686676025, 0.4317823350429535, -0.18801014125347137, -0.3907969295978546, 0.1586492657661438, 0.3924035131931305, 0.40364474058151245, -1.1743662357330322, 0.3931971788406372, 0.6626266837120056, -0.6077383160591125, -0.511198103427887, -0.028088631108403206, 0.2146652340888977, -0.9292824864387512, 0.2166224718093872, 0.18489716947078705, 0.009662285447120667, -0.09105446189641953, -0.5605452060699463, -0.9198065996170044, 0.9000753164291382, 0.3104994595050812, -0.3776715099811554, -0.14766421914100647, 0.13597936928272247, 0.3294111490249634, -0.6706883907318115, 0.20265555381774902, 0.46923181414604187, 0.8737953901290894, -0.1334313452243805, -0.7143567204475403, -0.06543294340372086, -0.39033541083335876, 0.11836230754852295, 0.41903379559516907, -0.6194918751716614, 0.8086771965026855, -0.3305244445800781, -0.22433598339557648, 0.0744309276342392, 0.5310983061790466, 0.37186887860298157, 0.26283037662506104, 0.5891268849372864, 0.7452141046524048, 0.7114925384521484, 0.04122556000947952, 0.5969278812408447, -0.020306788384914398, -0.06956848502159119, 0.802483856678009, -0.6420165300369263, 0.7200295329093933, 0.7132479548454285, -0.23843073844909668, 0.5799346566200256, 0.5686790943145752, -0.20314958691596985, 0.3517351448535919, 0.18839189410209656, -0.3249126970767975, -0.24553710222244263, -0.3564576208591461, -0.5314306616783142, 0.3127352297306061, 0.12397316098213196, -0.03732376918196678, -0.11987954378128052, -0.0776609554886818, -0.5261526107788086, 0.1559329330921173, 0.018342792987823486, 0.9413434863090515, -0.2719400227069855, -1.0839227437973022, 0.4058643877506256, 0.12339992821216583, 0.6195099353790283, -0.37622183561325073, 0.07735943049192429, -0.10826973617076874, 0.13261881470680237, -0.04245591163635254, -0.6351037621498108, 0.24602651596069336, -0.35657191276550293, -0.5645447969436646, -0.3407474160194397, 0.2953847646713257, -0.45011141896247864, -0.5964845418930054, 0.22546865046024323, 0.4347991645336151, 0.11704878509044647, 0.16610141098499298, -0.8562575578689575, -0.04545237496495247, -0.1425844132900238, 0.20334342122077942, 0.24922610819339752, 0.036793120205402374, -0.3309333324432373, 0.5477520227432251, 0.5177572965621948, 0.039706673473119736, 0.17952248454093933, 0.42202866077423096, 0.5843401551246643, -0.7007232308387756, -0.5770230293273926, -0.8272097110748291, 0.793712854385376, -0.09986717998981476, -0.736025333404541, 0.4526159167289734, 0.5390443205833435, 0.7891032695770264, 0.37868326902389526, 1.0918391942977905, 0.04084988310933113, 0.10696867108345032, 0.002542374422773719, 0.2504372298717499, -0.5710553526878357, 0.1046372801065445, -0.09460852295160294, -0.8180721402168274, -0.3526213467121124, 0.44367629289627075, -0.4037322998046875, 0.23073890805244446, -0.05824848636984825, 0.6239338517189026, -0.10017755627632141, 0.1586110144853592, 0.2523166537284851, -0.0664782002568245, 0.43278196454048157, 0.13776984810829163, 1.1675513982772827, -0.25048384070396423, 0.4016854166984558, 0.17805199325084686, -0.22266998887062073, -0.36471495032310486, -0.5099312663078308, -0.33407625555992126, -0.5110493302345276, -0.30890822410583496, 0.042614392936229706, 0.2773143947124481, 0.749716579914093, 0.9964286684989929, -0.7596010565757751, -0.48634472489356995, -0.2054312825202942, 0.3724566698074341, -0.4490239918231964, -0.20147623121738434, -0.19055946171283722, -0.29744982719421387, -0.6106909513473511, 0.0901772752404213, 0.5895969271659851, 0.15878194570541382, -0.599784791469574, -0.20794489979743958, -0.41659411787986755, 0.30402207374572754, 0.06600608676671982, 0.35890403389930725, -1.1260178089141846, -0.3847239315509796, -0.0712520107626915, -0.3669675886631012, 0.19430749118328094, 0.7354093790054321, -0.3035966455936432, 0.28484025597572327, 0.2807672619819641, 0.5889790654182434, -0.0795111432671547, 0.5366064310073853, 0.8395135402679443, -0.5411165356636047, -0.062222667038440704, 0.9121902585029602, 0.08953779190778732, 0.21566101908683777, -0.13040463626384735, 0.244613379240036, 0.0007348852814175189, -0.6701861023902893, -0.7986366152763367, 0.6308937668800354, -0.7620291113853455, -0.31665173172950745, 0.6994249224662781, 0.15411347150802612, 0.09796363860368729, -0.17941898107528687, -0.06288547068834305, -0.011864181607961655, -0.1139722615480423, 1.001171588897705, 0.7235614657402039, -0.15818949043750763, 0.20107832551002502, -0.12756074965000153, 0.15970322489738464, 0.676304817199707, -0.9183420538902283, 0.06646829098463058, 0.5796122550964355, -0.020687608048319817, 0.4463594853878021, 0.7270470857620239, -0.046011462807655334, 0.18529997766017914, -0.11395196616649628, 0.22635191679000854, 0.7938634753227234, -0.39206206798553467, -0.26975879073143005, 0.05485730618238449, 0.05231548100709915, -0.09042961150407791 ]
http://arxiv.org/abs/2402.05044v4
http://arxiv.org/pdf/2402.05044v4
SALAD-Bench: A Hierarchical and Comprehensive Safety Benchmark for Large Language Models
2024-02-07T17:33:54
2024-06-07T12:05:46
Lijun Li, Bowen Dong, Ruohui Wang, Xuhao Hu, Wangmeng Zuo, Dahua Lin, Yu Qiao, Jing Shao
cs.CL
cs.CL, cs.AI, cs.CR, cs.LG
In the rapidly evolving landscape of Large Language Models (LLMs), ensuring robust safety measures is paramount. To meet this crucial need, we propose \emph{SALAD-Bench}, a safety benchmark specifically designed for evaluating LLMs, attack, and defense methods. Distinguished by its breadth, SALAD-Bench transcends conventional benchmarks through its large scale, rich diversity, intricate taxonomy spanning three levels, and versatile functionalities.SALAD-Bench is crafted with a meticulous array of questions, from standard queries to complex ones enriched with attack, defense modifications and multiple-choice. To effectively manage the inherent complexity, we introduce an innovative evaluators: the LLM-based MD-Judge for QA pairs with a particular focus on attack-enhanced queries, ensuring a seamless, and reliable evaluation. Above components extend SALAD-Bench from standard LLM safety evaluation to both LLM attack and defense methods evaluation, ensuring the joint-purpose utility. Our extensive experiments shed light on the resilience of LLMs against emerging threats and the efficacy of contemporary defense tactics. Data and evaluator are released under https://github.com/OpenSafetyLab/SALAD-BENCH.
[ -0.33574220538139343, -0.8563668727874756, 0.5245764255523682, 0.16995692253112793, 0.04416550695896149, 0.4879578649997711, -0.1536276936531067, -0.28541111946105957, 0.12945730984210968, 0.1488572210073471, -0.3282538652420044, -0.5792465806007385, -0.5131486654281616, 0.035707585513591766, -0.7471073269844055, 1.012155294418335, -0.010113159194588661, 0.25952795147895813, -0.27601370215415955, -0.18584799766540527, -0.3340093493461609, -0.4140208065509796, -0.6067900061607361, 0.03326329588890076, 0.6213464736938477, 0.11132287234067917, 0.7429649233818054, 0.6029222011566162, 0.740121603012085, 0.3172042965888977, -0.15086720883846283, -0.0644821748137474, -0.5155683159828186, 0.541269838809967, -0.5769040584564209, -0.4467260241508484, -0.6045457124710083, -0.008750411681830883, 0.6538498401641846, 0.7609721422195435, -0.4566604495048523, -0.037948865443468094, 0.036106742918491364, 0.8403460383415222, -1.204451322555542, -0.23683342337608337, -0.7450066208839417, 0.023225748911499977, -0.4324542284011841, 0.09736622124910355, -0.2134358137845993, -0.60390305519104, -0.1649899184703827, -0.2624654769897461, -0.336161732673645, -0.0785728171467781, 0.6630236506462097, 0.20345140993595123, -0.6852812170982361, 0.2784622013568878, -0.4121144711971283, 0.6814441680908203, -0.3362753093242645, 0.4400440752506256, 0.37338319420814514, 0.8529952168464661, -0.49573180079460144, -0.7714901566505432, -0.4075542092323303, -0.2602629065513611, 0.4515056312084198, 0.1990451216697693, -0.12362842261791229, 0.1114632785320282, -0.028152918443083763, 0.6987611055374146, -0.5079709887504578, 0.13011126220226288, 0.23168295621871948, 0.1701865792274475, 0.6827353835105896, 0.3673775792121887, 0.4357343316078186, -0.04020320996642113, -0.5622504949569702, -0.34177353978157043, -0.7852961421012878, -0.026035338640213013, -0.12298130244016647, -0.06232641637325287, -0.356469064950943, 0.35154929757118225, -0.5212929844856262, 0.3505637049674988, -0.15275971591472626, -0.16090284287929535, 0.23156379163265228, -0.29270482063293457, -0.21819858253002167, -0.3947456181049347, 1.0935341119766235, 0.6439295411109924, 0.12422056496143341, -0.3658430576324463, -0.43986427783966064, 0.22159090638160706, 0.5683794021606445, -0.7051694393157959, -0.2954447865486145, 0.18707019090652466, -0.31825536489486694, -0.615983784198761, -0.1737828403711319, -1.1264045238494873, -0.9613277912139893, 0.20016412436962128, 0.28578948974609375, -0.2691182792186737, -0.32194310426712036, -0.13095834851264954, -0.15771368145942688, 0.29220807552337646, 0.005899996496737003, -0.7218696475028992, 0.7023084759712219, 0.9638785123825073, 0.6996449828147888, -0.4242863059043884, -0.19890210032463074, -0.7762641310691833, 0.2555358409881592, -0.7134658694267273, 0.7559504508972168, -0.3769383728504181, -0.4360457956790924, 0.1439635306596756, -0.07594234496355057, 0.02489343285560608, -0.6088610291481018, 0.8126950263977051, -0.4995206892490387, -0.269904226064682, -0.47770047187805176, -0.302888423204422, -0.035289496183395386, 0.6647932529449463, -0.7477335333824158, 0.8288403749465942, 0.21879543364048004, -0.7937694787979126, 0.34616196155548096, -0.3279336988925934, -0.7094610929489136, 0.17264604568481445, -0.5768422484397888, -0.29570212960243225, 0.02959292382001877, 0.06890099495649338, 0.2698410451412201, -0.9359399080276489, 0.2666286826133728, -0.7206394076347351, -0.07452534884214401, 0.4404385983943939, -0.4652041792869568, 0.5698447227478027, 0.12907740473747253, -0.18239590525627136, 0.39938613772392273, -0.87981778383255, 0.2963012456893921, 0.2699192762374878, -0.6716360449790955, -0.2890494465827942, 0.15789513289928436, 0.04785890877246857, -0.028686966747045517, 0.31036806106567383, -0.36055487394332886, -0.2412540316581726, -0.39127272367477417, 0.4158966541290283, 0.8839794397354126, -0.08323027938604355, 0.3677249848842621, -0.5312547087669373, 0.6330867409706116, -0.24865107238292694, 0.2583760917186737, 0.131156325340271, -0.0024327218998223543, -0.4847196638584137, -0.6829782128334045, 0.6404786705970764, 0.6577825546264648, -0.6758471131324768, 0.5680288672447205, -0.2694180905818939, -0.726088285446167, -0.24149689078330994, -0.08845676481723785, 0.6044435501098633, 0.16489340364933014, 0.21246939897537231, -0.5477975606918335, -0.45634087920188904, -0.9367808103561401, -0.6209884881973267, 0.017717963084578514, 0.03572574630379677, 0.04867546632885933, 0.3264991044998169, -0.36005717515945435, 0.7598851323127747, -0.21071399748325348, 0.23047851026058197, -0.15694473683834076, -0.3081018030643463, 0.30411556363105774, 0.5069741010665894, 0.7132493257522583, -0.592384397983551, -0.6105157732963562, -0.02796550653874874, -0.8031132817268372, -0.02313026413321495, 0.18630394339561462, -0.32179850339889526, 0.1884213238954544, 0.3646408021450043, -0.9129541516304016, 0.09995809942483902, 0.5527616143226624, -0.21748127043247223, 0.6637656688690186, 0.25616276264190674, 0.2735327482223511, -1.1304670572280884, 0.17085213959217072, -0.03252512961626053, -0.2956271171569824, -0.6509358882904053, 0.6919887065887451, 0.2832847833633423, 0.2112928181886673, -0.18754275143146515, 0.3654179871082306, 0.007206907961517572, -0.09151200950145721, -0.04120047762989998, -0.12177915871143341, -0.10177122801542282, 0.005981439724564552, -0.5018079876899719, 0.6658125519752502, 0.729952335357666, -0.45138636231422424, 0.3953953981399536, -0.002695856848731637, -0.612663984298706, 0.860245406627655, -0.6711118221282959, 0.068984754383564, 0.20294739305973053, 0.3717505633831024, -1.1487113237380981, -0.3398461639881134, 0.32610300183296204, -0.029547495767474174, 0.4164777398109436, -0.06273848563432693, -0.5488954782485962, -0.17520268261432648, -0.7221648693084717, 0.4065297544002533, 0.4227784276008606, -0.6900462508201599, 0.7554610967636108, 0.7509430646896362, -0.22022745013237, -0.797493040561676, -0.4409620761871338, 0.30024561285972595, -0.404769629240036, -0.5523653030395508, 0.33325642347335815, -0.31999459862709045, -0.5704430341720581, -0.29834261536598206, -0.5809981226921082, -0.26409420371055603, 0.6320957541465759, 0.3224093019962311, 0.20345710217952728, 0.025580815970897675, -0.12742029130458832, 0.08420006185770035, -0.003394294297322631, 0.4317668676376343, 0.19509781897068024, 0.6563385128974915, -0.0717904269695282, -0.22151197493076324, -0.22320018708705902, 0.32658034563064575, 0.7723496556282043, -0.33919596672058105, 0.6330799460411072, 0.21606115996837616, -0.21731337904930115, -0.23271998763084412, -0.5473738312721252, 0.07491642236709595, -0.5102782249450684, 0.4967842400074005, -0.5748896598815918, -0.4880974590778351, 0.23580463230609894, -0.23362818360328674, 0.20090308785438538, 0.31155914068222046, 0.42010703682899475, -0.18609993159770966, 0.8266460299491882, 0.06887032836675644, -0.36078640818595886, 0.32177335023880005, 0.10911699384450912, -0.05983998626470566, -0.6428651213645935, -0.14120297133922577, -0.5650730133056641, -0.16865652799606323, -0.5691439509391785, -0.29617300629615784, 0.550638735294342, 0.12491700053215027, -0.5949709415435791, 0.13857388496398926, -0.059026606380939484, 0.5211665630340576, 0.40702295303344727, -0.03838568553328514, 0.0777604803442955, -0.24890606105327606, -0.3109101355075836, 0.22461651265621185, -0.3804977238178253, -0.2648567855358124, 1.2661854028701782, 0.6133636832237244, 0.9338663816452026, 0.3842296600341797, 0.8237789273262024, 0.21522586047649384, 0.0751059502363205, -0.7427012920379639, 0.8348680734634399, -0.17539143562316895, -0.5438766479492188, -0.08424260467290878, -0.6921873092651367, -0.8399767875671387, 0.6255912184715271, -0.3272406756877899, -0.5601598024368286, -0.19445179402828217, -0.0976453647017479, -0.3842381238937378, 0.05433721840381622, -0.49872153997421265, 0.9379333853721619, -0.4849238097667694, -0.5418160557746887, -0.38619470596313477, -0.5098928809165955, 0.4947023093700409, -0.16557544469833374, 0.48233914375305176, -0.12479323148727417, -0.13322369754314423, 0.5848854780197144, -0.2978005111217499, 0.5564731359481812, 0.08110447973012924, -0.2561204433441162, -0.16636911034584045, 0.5542008280754089, 0.5384653806686401, 0.051091112196445465, -0.007751032244414091, 0.13894283771514893, 0.19677862524986267, -0.1070152074098587, -0.2703777849674225, 0.9987258911132812, -0.5443188548088074, -0.7910796999931335, -0.6207720041275024, -0.6260016560554504, -0.5251286625862122, 0.4502379596233368, -0.2789151966571808, 0.024227464571595192, -0.5352548956871033, 0.4811493158340454, 0.6967730522155762, -0.17558838427066803, 0.4448310136795044, 0.5531725287437439, -0.22799326479434967, -0.6988301873207092, 0.6289522051811218, -0.07335922867059708, 0.25071513652801514, 0.4447527527809143, 0.11749786138534546, -0.20909979939460754, -0.7011086940765381, -0.249108225107193, -0.20945730805397034, -0.8193299174308777, -0.4789625406265259, -0.5112333297729492, -0.21584877371788025, -0.18288959562778473, 0.08613892644643784, -0.522087812423706, -0.49485236406326294, 0.2842995822429657, -0.06294500082731247, 0.14900219440460205, 0.537594735622406, -0.08585673570632935, -0.0324794203042984, -0.57437664270401, 0.6528313755989075, 0.42909061908721924, 0.5697464346885681, -0.13304640352725983, -0.12129168212413788, -0.030627239495515823, -0.1802709996700287, -0.512773871421814, -0.8399832248687744, 0.055398982018232346, 0.06164293736219406, 0.5900463461875916, 0.4389467239379883, 0.20042988657951355, 0.18211252987384796, -0.7402052879333496, 0.5916910171508789, 0.42087849974632263, -0.8034565448760986, 0.2692275047302246, -0.44785764813423157, 0.17443028092384338, 0.6348230242729187, 0.32287833094596863, -0.3144969642162323, -0.18762269616127014, -0.09197758883237839, -0.9862690567970276, 0.31190788745880127, -0.13457989692687988, -0.223361998796463, -0.2808883488178253, -0.1330033391714096, 0.026561811566352844, 0.17145495116710663, -0.5302470326423645, -0.14967721700668335, 0.027038123458623886, -0.2815083861351013, 0.07588561624288559, -0.36816054582595825, -0.645026683807373, -0.15074974298477173, 0.49519285559654236, 0.022378647699952126, -0.2943000793457031, -0.4167470932006836, 0.14991168677806854, -0.24506869912147522, 0.586729884147644, 0.03177974373102188, 0.5894089341163635, -0.12498503178358078, 0.21007075905799866, 0.4169449806213379, -0.347440242767334, 0.12269917875528336, 0.3640504479408264, 0.10947365313768387, -0.3736729621887207, 0.2220708578824997, 0.13146495819091797, 0.4949641525745392, -0.9348762631416321, 0.5404526591300964, -0.23604682087898254, -0.038669995963573456, -0.21647444367408752, 0.37628716230392456, 0.19456395506858826, 0.262023001909256, 0.20729908347129822, -0.0011549112387001514, 0.3675016164779663, -0.6229987740516663, 0.09353991597890854, 0.8062129616737366, -0.047274038195610046, 0.1602410525083542, 0.506640613079071, 0.27077311277389526, -0.015174176543951035, 0.1707323044538498, 0.13483721017837524, -0.3861202001571655, 0.45856577157974243, 0.2950091063976288, 0.8731628656387329, -0.4748464822769165, -0.005283174104988575, 0.15408790111541748, 0.2856076657772064, -0.04914578050374985, 0.4975426495075226, 0.002024463377892971, -0.42469629645347595, 0.06727610528469086, -0.7754349112510681, -0.25704091787338257, 0.2892431914806366, -0.6001700758934021, -0.11200127750635147, -0.8536031246185303, -0.20562025904655457, 0.08932619541883469, -0.11892212927341461, -0.3257058262825012, 0.1482279896736145, 0.045275162905454636, 1.2993946075439453, -0.46412378549575806, 0.5737774968147278, 0.7072284817695618, -0.2326972931623459, -0.23378346860408783, 0.1487695425748825, 0.2200714647769928, -0.5338659882545471, 0.2709271013736725, 0.059473272413015366, -0.27069762349128723, -0.6162785291671753, -0.31124308705329895, -0.8865408301353455, 1.0260003805160522, 0.42654648423194885, -1.0308756828308105, 0.11101318150758743, 0.22237084805965424, 0.38367775082588196, 0.026096569374203682, 0.06931370496749878, 0.9365928769111633, 0.371783047914505, -0.11892088502645493, -1.122204303741455, 0.31430572271347046, -0.23664464056491852, 0.24985858798027039, 0.30000025033950806, -0.6853204369544983, 0.9605693221092224, 0.1412704586982727, -0.3148502707481384, 0.5878133773803711, 0.3879444897174835, 0.43869975209236145, 0.15369975566864014, 0.6047744750976562, 0.9050886034965515, 0.6292819380760193, -0.17203103005886078, 1.4572480916976929, -0.32422417402267456, -0.04566870257258415, 1.2167127132415771, -0.44627246260643005, 1.0735539197921753, 0.4455051124095917, -0.35335201025009155, 0.38656219840049744, 0.5053229331970215, 0.1862088143825531, 0.885715901851654, 0.5070511698722839, -0.3436371982097626, -0.30214646458625793, -0.095070481300354, -0.5240153074264526, 0.43298113346099854, 0.28917601704597473, -0.3631773293018341, -0.1683870106935501, -0.4122166037559509, 0.11557987332344055, 0.2263345569372177, -0.3206155300140381, 0.8357215523719788, 0.235207661986351, -0.5889669060707092, 0.7961249947547913, 0.06453564763069153, 0.44322267174720764, -0.5653334259986877, 0.038992688059806824, -0.16327333450317383, 0.45008936524391174, -0.10231474041938782, -0.9120991230010986, -0.19237546622753143, -0.061098646372556686, -0.06231526657938957, 0.23520128428936005, 0.43218904733657837, -0.20676183700561523, -0.06532694399356842, 0.40983128547668457, 0.3001663088798523, -0.194949671626091, 0.02116619423031807, -0.6539014577865601, 0.4689857065677643, -0.5629962682723999, -0.08324728161096573, 0.607375979423523, 0.20977771282196045, 0.07555222511291504, 0.6840314865112305, 0.43176084756851196, -0.20680661499500275, -0.1002141535282135, 0.19021378457546234, 1.1363075971603394, -0.5492733716964722, -0.6090980172157288, -0.8953359127044678, 0.4291527271270752, -0.2191445529460907, -0.18359790742397308, 0.7060667276382446, 0.5811432003974915, 0.7332441210746765, -0.05780017375946045, 0.835382342338562, -0.1610211282968521, 0.6118826270103455, -0.4902932345867157, 1.1894558668136597, -0.5011520981788635, 0.21324701607227325, -0.304380863904953, -0.8266128897666931, 0.0004217498644720763, 0.4168614447116852, -0.15720325708389282, 0.2019704133272171, 0.759730339050293, 0.6745090484619141, -0.003494019852951169, 0.0713680312037468, 0.2052823156118393, 0.3647541403770447, 0.33276551961898804, 0.683533251285553, 1.1056318283081055, -0.33236053586006165, 0.4331868290901184, -0.1924787014722824, -0.533221423625946, -0.08632955700159073, -0.6869152784347534, -1.1857496500015259, -0.31527388095855713, -0.2252589911222458, -0.4340330958366394, 0.5008009672164917, 0.9047950506210327, 0.6623080372810364, -0.8754515051841736, -0.38721349835395813, -0.1990550011396408, 0.03743757680058479, -0.36155837774276733, -0.18561817705631256, 0.16895683109760284, -0.5111467242240906, -0.47755807638168335, 0.9832631349563599, 0.11197412014007568, -0.2717364728450775, -0.15294358134269714, -0.0743454173207283, -0.2424810379743576, 0.10398732870817184, 0.5536897778511047, 0.2559818923473358, -0.5575053691864014, -0.09063851833343506, -0.6092954874038696, -0.22985611855983734, -0.2275739163160324, 0.31801363825798035, -0.4526589512825012, 0.3430313169956207, 0.4601064920425415, 1.186020851135254, 0.019972093403339386, -0.2791661322116852, 0.8123592138290405, -0.575496256351471, -0.35435327887535095, 0.12605509161949158, 0.5944849848747253, 0.29096919298171997, -0.15382005274295807, 0.7710584402084351, -0.06154220923781395, -0.40007084608078003, -1.1091010570526123, 0.3215998113155365, -0.9349961876869202, -0.35928860306739807, 1.180146336555481, -0.19335487484931946, -0.2644014060497284, 0.213375061750412, 0.06683766096830368, 0.03336918354034424, -0.36837172508239746, 1.0797741413116455, 0.46151936054229736, 0.48421791195869446, -0.11946993321180344, -0.38128793239593506, 0.7017024159431458, 0.5670737624168396, -1.2297101020812988, 0.16294775903224945, 0.46229374408721924, 0.44358593225479126, 0.02989637665450573, 0.23435094952583313, -0.3016793429851532, 0.6952388882637024, -0.039742954075336456, -0.2834849953651428, 0.2974188029766083, -0.6356458067893982, -0.28287604451179504, 0.4047190845012665, 0.13173852860927582, -0.40264442563056946 ]
http://arxiv.org/abs/2402.05034v1
http://arxiv.org/pdf/2402.05034v1
How BERT Speaks Shakespearean English? Evaluating Historical Bias in Contextual Language Models
2024-02-07T17:07:53
2024-02-07T17:07:53
Miriam Cuscito, Alfio Ferrara, Martin Ruskov
cs.CL
cs.CL, cs.CY, I.2.7; J.5
In this paper, we explore the idea of analysing the historical bias of contextual language models based on BERT by measuring their adequacy with respect to Early Modern (EME) and Modern (ME) English. In our preliminary experiments, we perform fill-in-the-blank tests with 60 masked sentences (20 EME-specific, 20 ME-specific and 20 generic) and three different models (i.e., BERT Base, MacBERTh, English HLM). We then rate the model predictions according to a 5-point bipolar scale between the two language varieties and derive a weighted score to measure the adequacy of each model to EME and ME varieties of English.
[ -0.6115960478782654, -0.9375202059745789, 0.4152766168117523, 0.1973385065793991, 0.09456345438957214, -0.4104365110397339, -0.37832751870155334, -0.4977218508720398, 0.45752379298210144, 0.32896915078163147, -0.4246343672275543, -0.18680566549301147, -0.3037763833999634, 0.01095503568649292, -0.20114578306674957, 0.7067817449569702, -0.006159660872071981, 0.6713023781776428, 0.04630411043763161, -0.17368988692760468, -0.6018738746643066, -0.4871059060096741, -0.4454769790172577, -0.37864890694618225, 0.44677314162254333, 0.11409907788038254, 0.8210521340370178, 0.25220078229904175, -0.032833829522132874, 0.26704835891723633, -0.3535505533218384, -0.3024541139602661, -0.35999107360839844, 0.47087952494621277, -0.23272550106048584, -0.478333979845047, -0.16591860353946686, 0.09074510633945465, 0.36246293783187866, 0.8742600083351135, 0.13539229333400726, 0.05871344357728958, 0.07433031499385834, 0.4381466805934906, -0.5567452907562256, -0.11764206737279892, -0.7639115452766418, 0.03167267516255379, -0.07932659238576889, -0.04019754379987717, -0.6781209111213684, -0.26652243733406067, 0.47834163904190063, -0.25046294927597046, 0.15165092051029205, 0.02131647616624832, 0.799035370349884, -0.35477080941200256, -0.6591787338256836, -0.21350306272506714, -0.5835340619087219, 1.1657572984695435, -1.0931365489959717, 0.35741207003593445, 0.40581071376800537, 0.29476165771484375, -0.0675830990076065, -0.4979339838027954, -0.5541409254074097, -0.6537154316902161, -0.12205501645803452, 0.15914294123649597, -0.16278381645679474, -0.09788565337657928, 0.060521744191646576, 0.17357225716114044, -0.5308473110198975, 0.05109420046210289, -0.34557247161865234, -0.15506751835346222, 0.49242499470710754, -0.25234347581863403, 0.20623384416103363, -0.33434954285621643, -0.45525845885276794, -0.05813358724117279, -0.4752906858921051, 0.3025057017803192, 0.5659130811691284, 0.27064523100852966, 0.174833744764328, 0.3967897295951843, 0.1589757353067398, 0.9141676425933838, 0.251278817653656, -0.0264121163636446, -0.0366225391626358, -0.042584940791130066, -0.1860870122909546, -0.05704681575298309, 0.36325955390930176, 0.2932296097278595, 0.627532958984375, -0.13969430327415466, 0.012848090380430222, -0.3120611906051636, 0.20546483993530273, -0.3998931646347046, 0.048094913363456726, 0.047282423824071884, -0.5428282618522644, -0.06700052320957184, -0.04571395367383957, -0.376472532749176, -0.14205768704414368, -0.14657506346702576, 0.7209547162055969, -0.5451808571815491, -0.0017672678222879767, -0.2326267957687378, -0.24867519736289978, 0.2579359710216522, 0.3054591119289398, -0.9815886616706848, 0.1625620424747467, 0.490843266248703, 0.38061168789863586, 0.030641669407486916, -0.35320016741752625, 0.03261912986636162, 0.14434364438056946, -0.3810502588748932, 0.5740667581558228, -0.5565776228904724, -0.1722577065229416, 0.2754409909248352, 0.11486763507127762, -0.011406389996409416, -0.20741337537765503, 0.6542404890060425, -0.30918294191360474, 0.6744135022163391, -0.3178376853466034, -0.6295650005340576, -0.47655510902404785, 0.2624380886554718, -0.6360801458358765, 0.7699024081230164, 0.0011889704037457705, -0.698015570640564, 0.565901517868042, -0.2710875868797302, -0.49222850799560547, -0.18436861038208008, -0.346796452999115, 0.009676966816186905, 0.23704476654529572, 0.2886771559715271, 0.410518616437912, 0.04037078469991684, 0.5418326258659363, -0.23061925172805786, -0.30472511053085327, 0.24992793798446655, -0.5698453187942505, 1.1629196405410767, 0.13254372775554657, -0.656714141368866, -0.39674869179725647, -0.5288114547729492, -0.03150635212659836, -0.2078031301498413, -0.28654032945632935, -0.7199220657348633, 0.245650514960289, 0.1827717125415802, 0.15994440019130707, 0.2521527409553528, -0.7565762996673584, 0.02415287122130394, -0.5227199196815491, 0.2796044647693634, 0.6809412240982056, -0.1800844669342041, 0.16897739470005035, -0.6310426592826843, 0.1958073228597641, -0.11003147065639496, 0.11345262080430984, -0.2802235782146454, -0.7298360466957092, -0.7248695492744446, -0.1030636802315712, 0.426397442817688, 0.2962638735771179, -0.23568831384181976, 0.59035724401474, -0.11843722313642502, -0.3625135123729706, -0.49421462416648865, -0.2164648026227951, 0.10165594518184662, 0.4815683662891388, 0.2065790593624115, -0.3821561634540558, -0.45509594678878784, -1.371870994567871, -0.4082917273044586, -0.28678005933761597, -0.34950894117355347, 0.6688553094863892, 0.42677509784698486, -0.01483133528381586, 1.155516505241394, 0.0767122134566307, 0.053022660315036774, -0.03348337858915329, 0.2700726091861725, 0.20998293161392212, 0.5542618632316589, 0.993842363357544, -0.4187646508216858, -0.569304347038269, -0.046801161020994186, -0.24826407432556152, -0.33070212602615356, 0.03706345707178116, 0.07107070833444595, 0.3983476459980011, 0.24716822803020477, -0.06339460611343384, 0.32853952050209045, 0.8620188236236572, -0.5381814241409302, 0.3543860614299774, -0.07325533777475357, 0.44015049934387207, -1.1474153995513916, 0.009369587525725365, -0.1824304163455963, -0.21174588799476624, -0.6871930360794067, -0.3561982810497284, -0.025671452283859253, -0.05686996877193451, -0.5312784314155579, 0.6224002242088318, -0.5709183812141418, -0.0011165820760652423, 0.08855853974819183, 0.38498520851135254, 0.1381400227546692, 0.42527830600738525, -0.03420663997530937, 0.2841242253780365, 0.37036827206611633, -0.44408103823661804, 0.08214797079563141, 0.03601290285587311, -0.26841968297958374, 0.49200496077537537, -0.5027596354484558, 0.0005163091118447483, -0.2064337432384491, 0.20935969054698944, -1.42219078540802, 0.027665691450238228, -0.4646674692630768, -0.582811176776886, 0.3584845960140228, 0.02591308020055294, -0.02002631314098835, -0.1299321949481964, -0.3642301559448242, 0.3258970081806183, 0.46331262588500977, -0.43890896439552307, 0.6311140656471252, 0.2496451884508133, -0.36654019355773926, -0.7938510179519653, -0.9770295023918152, 0.03259279578924179, 0.0750679224729538, -1.0061311721801758, 0.2561004161834717, 0.0314590260386467, -0.7233380675315857, -0.08533426374197006, -0.1037023663520813, -0.3565226197242737, 0.02493613213300705, -0.07161279767751694, 0.0032238734420388937, -0.3882790207862854, 0.0241299606859684, 0.3206552565097809, 0.44925716519355774, -0.15037855505943298, -0.07952461391687393, 0.5030514001846313, 0.24490094184875488, -0.3558734059333801, -0.09490014612674713, 0.42431360483169556, 0.6864977478981018, 0.3532533049583435, 0.7631863355636597, 0.3092334270477295, -0.3587770164012909, -0.03297661617398262, -0.9713480472564697, -0.45418959856033325, -0.34964972734451294, 0.27443426847457886, -0.23706269264221191, -0.9344854950904846, 0.8557263016700745, 0.44440409541130066, 0.3219758868217468, 0.7996140718460083, 0.7470881342887878, -0.12145105749368668, 0.9986516833305359, 0.30269575119018555, -0.10686571151018143, 0.6567230820655823, 0.16434027254581451, 0.0616367943584919, -0.5796910524368286, 0.06889553368091583, -0.5148293972015381, -0.617927610874176, -0.8453191518783569, 0.02701551280915737, 0.4800800383090973, -0.06172043830156326, -0.29672524333000183, 0.3416539132595062, 0.043932560831308365, 0.33167004585266113, 0.6751485466957092, 0.11365910619497299, 0.053385958075523376, -0.17302657663822174, -0.45733386278152466, -0.29315921664237976, -0.4843296408653259, -0.8319818377494812, 1.179044246673584, 0.5173467397689819, 0.5482208132743835, 0.39630454778671265, 0.37111222743988037, 0.45238053798675537, 0.31062617897987366, -0.5885133147239685, 0.3309095501899719, -0.16572941839694977, -1.3414069414138794, -0.4014776647090912, 0.06396081298589706, -1.0215914249420166, 0.4890110492706299, -0.16116119921207428, -0.7064931392669678, 0.487165629863739, 0.19215571880340576, -0.16384589672088623, 0.1314893513917923, -0.7921082377433777, 0.7549299597740173, -0.26015597581863403, -0.4400310814380646, -0.3242173492908478, -0.7025719881057739, 0.5181671977043152, 0.17557723820209503, 0.3841519355773926, 0.03806661069393158, 0.0749829038977623, 0.806898832321167, -0.2833453118801117, 0.8907032608985901, -0.1037655845284462, -0.1436002105474472, 0.13304482400417328, 0.2044970542192459, 0.29687243700027466, -0.08825894445180893, -0.2380017638206482, 0.14319787919521332, 0.2251351773738861, -0.7926928997039795, -0.33358585834503174, 0.6865389347076416, -0.6562045216560364, -0.48208898305892944, -0.49188125133514404, -0.5061700940132141, -0.337002694606781, 0.08502931892871857, 0.14135295152664185, 0.6199497580528259, -0.7361263036727905, 0.35140830278396606, 0.3078126609325409, -0.3491019904613495, 0.7530788779258728, 0.9188973903656006, -0.13942541182041168, -0.23237614333629608, 0.03807241469621658, 0.21449178457260132, 0.46634146571159363, 0.35226166248321533, 0.2963567078113556, -0.06461116671562195, -0.22271817922592163, -0.24597132205963135, 0.01933150365948677, -0.5359497666358948, 0.23589886724948883, -0.3394385576248169, 0.0010590835008770227, -0.6010258793830872, -0.40767619013786316, -0.1379888504743576, -0.4803968667984009, 0.030867664143443108, 0.07746869325637817, 0.026905454695224762, 0.9194101095199585, -0.10210428386926651, 0.35617613792419434, -0.38960662484169006, -0.2619061768054962, 0.5616846680641174, 0.0023637886624783278, 0.06327725201845169, -0.6471779942512512, -0.22706985473632812, 0.28848013281822205, -0.4989902079105377, -1.2521668672561646, 0.3616162836551666, 0.12117376178503036, 0.8110082745552063, 0.5010127425193787, -0.2522720992565155, 0.2835821509361267, -0.7617996335029602, 1.3247666358947754, 0.013906341046094894, -1.1044962406158447, 0.47921523451805115, -0.3299615681171417, 0.06283074617385864, 0.3178568482398987, 0.27867522835731506, -0.6001631617546082, -0.7411907911300659, -0.7925766110420227, -0.8439193367958069, 0.502038300037384, 0.13503947854042053, 0.2625647783279419, -0.18849995732307434, 0.17317229509353638, 0.4050089716911316, 0.13966822624206543, -1.0425786972045898, -0.47951942682266235, -0.058277152478694916, -0.12406137585639954, -0.16096286475658417, -0.5844605565071106, -0.07732673734426498, -0.2864261269569397, 0.6048691272735596, 0.2549246549606323, 0.16294236481189728, 0.3387306034564972, -0.44779032468795776, -0.10266265273094177, 0.7041988968849182, 0.9088205695152283, 1.124765396118164, -0.6147280931472778, 0.27596452832221985, 0.37484505772590637, -0.6538885235786438, -0.0962788537144661, -0.012172400020062923, -0.33156585693359375, 0.5793998837471008, 0.727617621421814, 0.7405781745910645, 0.362608402967453, -0.5448060631752014, 0.6170297265052795, 0.16523265838623047, -0.09191906452178955, -0.3620067834854126, -0.3759048283100128, -0.19396263360977173, 0.22628825902938843, 0.5982192158699036, -0.04306397587060928, 0.0464324988424778, -0.8454581499099731, 0.2725012004375458, 0.5704954862594604, -0.5312472581863403, -0.31135424971580505, 0.49456942081451416, 0.3683667480945587, -0.06371547281742096, 0.010417190380394459, 0.20692242681980133, -0.7184948325157166, 0.45753273367881775, 0.6218698620796204, 0.9336062073707581, -0.5156749486923218, -0.04298187419772148, 0.36413389444351196, 0.6725596785545349, 0.29209914803504944, 0.2733757793903351, 0.022554412484169006, -0.7552872896194458, -0.5447705984115601, -0.5082063674926758, -0.509435772895813, 0.27350348234176636, -0.7377124428749084, 0.08055166155099869, 0.11812132596969604, -0.27893438935279846, 0.10351252555847168, -0.03505268320441246, -0.4850761890411377, 0.26619595289230347, 0.1709068864583969, 0.8963562250137329, -1.1497703790664673, 0.7305052876472473, 0.6195521354675293, -0.22520361840724945, -0.46950653195381165, 0.14053356647491455, -0.09888626635074615, -0.9115509986877441, 0.9522351026535034, -0.13444878160953522, 0.08579680323600769, -0.09409573674201965, -0.4800648093223572, -0.7876211404800415, 0.8416264057159424, 0.2848820090293884, -0.5818465948104858, 0.2116265743970871, -0.4831175208091736, 0.5637040138244629, -0.46061328053474426, 0.7302199602127075, 0.5194841027259827, 0.6839397549629211, -0.30294424295425415, -1.2253612279891968, -0.38339918851852417, 0.05756404995918274, 0.04411577433347702, -0.038334887474775314, -0.27985525131225586, 1.1627216339111328, 0.11974412947893143, -0.05939631536602974, -0.05550963059067726, 0.46552401781082153, -0.26422396302223206, 0.14118362963199615, 0.48672106862068176, 0.3121512234210968, 0.5222252011299133, -0.2245895117521286, 0.8840823769569397, -0.4761418402194977, 0.4515549838542938, 0.7581545114517212, -0.186837837100029, 1.0469111204147339, 0.5480659604072571, -0.27731940150260925, 0.704548716545105, 0.5856967568397522, 0.21116076409816742, 0.4026144742965698, 0.2914646863937378, -0.3334599435329437, 0.10052420198917389, -0.01985679380595684, -0.353499174118042, 0.29851293563842773, -0.024780232459306717, -0.6617056131362915, -0.1571376621723175, 0.10507562756538391, 0.3636226952075958, 0.17553822696208954, -0.4157428741455078, 0.6046134829521179, -0.21393407881259918, -0.8580150008201599, 0.5790777802467346, -0.00730495061725378, 0.7597382664680481, -0.572087287902832, 0.35231122374534607, -0.3645113706588745, 0.07267140597105026, 0.09846611320972443, -0.6090720891952515, 0.2575400173664093, -0.010091946460306644, -0.29805445671081543, -0.13290680944919586, 0.2614656090736389, -0.7654784917831421, -0.29284602403640747, 0.1615552306175232, 0.5428088307380676, 0.27824917435646057, 0.3724556565284729, -0.3843427300453186, -0.1290692239999771, 0.15745003521442413, -0.36619099974632263, 0.0056234984658658504, 0.2883787751197815, 0.05739739164710045, 0.31425338983535767, 0.13860338926315308, 0.2735385000705719, 0.30041590332984924, 0.23003993928432465, 0.30329519510269165, -0.8436034917831421, -0.3918462097644806, -0.9333427548408508, 0.5250603556632996, 0.03446044400334358, -0.35461726784706116, 0.8726522922515869, 0.5934645533561707, 0.7150242924690247, -0.25683486461639404, 0.8369584083557129, -0.20720291137695312, 0.7744783759117126, -0.3764132261276245, 0.697792112827301, -0.49338284134864807, -0.13253343105316162, -0.2964218556880951, -0.8920206427574158, 0.05298558995127678, 0.8256078362464905, -0.4191408157348633, 0.2643459141254425, 0.9985254406929016, 0.45171234011650085, 0.10368156433105469, -0.029565954580903053, 0.5507823824882507, 0.6243175864219666, 0.13812558352947235, 0.33256688714027405, 0.7950741648674011, -0.43407532572746277, 0.08075384795665741, 0.016108019277453423, -0.4385952949523926, -0.2913619577884674, -0.9986857771873474, -0.928200364112854, -0.6705707311630249, 0.031502705067396164, -0.42733511328697205, 0.024715345352888107, 0.8380544185638428, 0.538459062576294, -1.202776312828064, -0.5381937026977539, 0.38606294989585876, 0.08193013072013855, -0.25906795263290405, -0.218903049826622, 0.3682551383972168, -0.40919193625450134, -1.0420782566070557, 0.32911545038223267, 0.05141505226492882, 0.19633643329143524, -0.5439390540122986, 0.12854596972465515, -0.4441511929035187, 0.5801362991333008, 0.6652428507804871, 0.04085959494113922, -1.2234677076339722, -0.5896248817443848, 0.03285541012883186, -0.18462251126766205, -0.1271311640739441, 0.7551354765892029, -0.3836507797241211, 0.7870880365371704, 0.6349874138832092, 0.10462668538093567, 0.3607809543609619, 0.042172495275735855, 0.9760832190513611, -0.8488868474960327, 0.26232022047042847, 0.2978787422180176, 0.6594984531402588, 0.3288789689540863, 0.09376795589923859, 0.12776443362236023, 0.0848655104637146, -0.5436244010925293, -0.6835346221923828, 0.2602463364601135, -1.0395249128341675, -0.4164606034755707, 1.0236315727233887, -0.08386987447738647, -0.03193778917193413, -0.2504531443119049, -0.3678867518901825, 0.11138218641281128, -0.12499259412288666, 0.7323789000511169, 1.2066316604614258, -0.01609610579907894, 0.1813821792602539, -0.741655707359314, 0.3136759102344513, 0.612818717956543, -0.07501707226037979, -0.30460694432258606, 0.5987054109573364, 0.25521954894065857, 0.26977741718292236, 0.20084048807621002, 0.10987206548452377, 0.04848219454288483, -0.13973765075206757, 0.35822877287864685, 0.29524633288383484, 0.1048867255449295, -0.24612019956111908, 0.09394190460443497, 0.060632869601249695, -0.1991751790046692 ]
http://arxiv.org/abs/2402.05000v1
http://arxiv.org/pdf/2402.05000v1
Pedagogical Alignment of Large Language Models
2024-02-07T16:15:59
2024-02-07T16:15:59
Shashank Sonkar, Kangqi Ni, Sapana Chaudhary, Richard G. Baraniuk
cs.CL
cs.CL
In this paper, we introduce the novel concept of pedagogically aligned Large Language Models (LLMs) that signifies a transformative shift in the application of LLMs within educational contexts. Rather than providing direct responses to user queries, pedagogically-aligned LLMs function as scaffolding tools, breaking complex problems into manageable subproblems and guiding students towards the final answer through constructive feedback and hints. The objective is to equip learners with problem-solving strategies that deepen their understanding and internalization of the subject matter. Previous research in this field has primarily applied the supervised finetuning approach without framing the objective as an alignment problem, hence not employing reinforcement learning through human feedback (RLHF) methods. This study reinterprets the narrative by viewing the task through the lens of alignment and demonstrates how RLHF methods emerge naturally as a superior alternative for aligning LLM behaviour. Building on this perspective, we propose a novel approach for constructing a reward dataset specifically designed for the pedagogical alignment of LLMs. We apply three state-of-the-art RLHF algorithms and find that they outperform SFT significantly. Our qualitative analyses across model differences and hyperparameter sensitivity further validate the superiority of RLHF over SFT. Also, our study sheds light on the potential of online feedback for enhancing the performance of pedagogically-aligned LLMs, thus providing valuable insights for the advancement of these models in educational settings.
[ -0.09741247445344925, -0.8883290886878967, 0.5085441470146179, -0.11295060813426971, -0.06534671038389206, 0.38606733083724976, -0.5661043524742126, -0.1832500845193863, 0.1472349613904953, 0.26894688606262207, -0.7960020899772644, -0.38102760910987854, -0.42061787843704224, -0.11270761489868164, -0.23655574023723602, 1.0514816045761108, -0.24004986882209778, 0.2175302356481552, -0.3035484254360199, 0.025711171329021454, -0.5429199934005737, -0.5097938776016235, -0.2853705585002899, -0.6413707733154297, 0.7164185643196106, 0.41150352358818054, 0.6038331389427185, 0.9806070923805237, 0.6787043213844299, 0.2430545836687088, 0.11989530175924301, 0.17617042362689972, -0.6093719005584717, 0.13708215951919556, -0.39762943983078003, -0.3420916199684143, -0.202861949801445, -0.012119315564632416, 0.5579906105995178, 0.891693115234375, -0.5871248841285706, 0.16757972538471222, 0.47591137886047363, 0.7583902478218079, -0.5155501365661621, 0.11328455060720444, -0.1612522155046463, 0.1146138459444046, -0.27751174569129944, -0.12802904844284058, -0.47290077805519104, -0.523998498916626, 0.04296821355819702, -0.6288304924964905, -0.2992754578590393, -0.23284921050071716, 0.7358391284942627, 0.3430198132991791, -0.18748411536216736, -0.15952053666114807, -0.5461289286613464, 0.9198495149612427, -0.6122923493385315, 0.3722398579120636, 0.04602116346359253, 0.3228248059749603, -0.17712949216365814, -0.30767908692359924, -0.3468855917453766, 0.019007384777069092, 0.02814083732664585, -0.03456154465675354, 0.4335036873817444, -0.0993141308426857, -0.028036728501319885, 0.24822694063186646, -0.5071080327033997, 0.5840640664100647, -0.15804295241832733, -0.16005006432533264, 0.6321510076522827, 0.33287400007247925, -0.033106036484241486, 0.0433642715215683, -0.6862462759017944, -0.2131182849407196, -0.8125427961349487, 0.36596521735191345, 0.5545049905776978, 0.5908746719360352, -0.16427810490131378, 0.5675035119056702, 0.07317265123128891, 0.9263105392456055, 0.4000098705291748, -0.5232460498809814, 0.1082475334405899, -0.1527853161096573, 0.05603206902742386, 0.2969830632209778, 0.6820542216300964, 0.3456874191761017, 0.4493524134159088, -0.028569446876645088, -0.34303709864616394, 0.09078516811132431, 0.2729192078113556, -0.5473206639289856, -0.09400586783885956, 0.008319856598973274, -0.25423556566238403, -0.550000786781311, 0.04780521243810654, -0.5932258367538452, -0.39770081639289856, -0.6840213537216187, 0.516212522983551, -0.1772850900888443, -0.20604003965854645, 0.06521064788103104, 0.5118288397789001, 0.4806266129016876, 0.4404170513153076, -1.1382554769515991, 0.2316194772720337, 1.1727734804153442, 0.556186318397522, -0.5483934879302979, -0.47090959548950195, -0.46367159485816956, 0.3363272249698639, -0.30129095911979675, 0.4560971260070801, -0.6006025075912476, -0.044979240745306015, 0.21709072589874268, 0.10488235950469971, 0.03274461627006531, -0.4779568910598755, 0.3503280580043793, -0.2980153262615204, 0.3932250738143921, -0.05546162649989128, -0.7805806994438171, -0.11851976811885834, 0.4796125292778015, -0.4090673625469208, 1.0694506168365479, -0.06472250819206238, -0.530029833316803, 0.021134423092007637, -0.26659300923347473, -0.20700068771839142, -0.0008398682111874223, -0.39437979459762573, -0.38289323449134827, -0.11143087595701218, 0.1338028907775879, 0.49368923902511597, -0.16803789138793945, 0.8858639001846313, -0.10614520311355591, -0.5855018496513367, 0.42179083824157715, -0.41676953434944153, 0.5883911848068237, 0.01593889109790325, -0.5001245737075806, 0.376944363117218, -0.35329142212867737, 0.035096101462841034, 0.26101288199424744, -0.5569171905517578, -0.1457897424697876, 0.026364104822278023, -0.07980156689882278, 0.16477860510349274, 0.4160487651824951, -0.3786082863807678, 0.38114070892333984, -0.47946882247924805, 0.47872212529182434, 0.991511344909668, -0.33504539728164673, 0.4765503406524658, -0.43993625044822693, 0.5739505290985107, -0.32729336619377136, 0.1215985044836998, -0.11297475546598434, -0.05540702864527702, -0.28488612174987793, -0.08050920069217682, 0.4837992787361145, 0.4483243227005005, -0.31487536430358887, 0.3136657774448395, -0.28009530901908875, -0.323722779750824, -0.7513743042945862, 0.35637953877449036, 0.5227513313293457, 0.5581275820732117, 0.06142781302332878, -0.16179078817367554, -0.3951522409915924, -0.8568423390388489, -0.35918810963630676, 0.02753950096666813, 0.11401891708374023, -0.003771580057218671, 0.2072206437587738, 0.04482671990990639, 0.7521169185638428, -0.34949150681495667, -0.13880522549152374, -0.04216291755437851, -0.16514459252357483, 0.25980934500694275, 0.5893261432647705, 0.008240161463618279, -0.6553333401679993, -0.47057947516441345, -0.01514963898807764, -0.6762918829917908, -0.1681688278913498, -0.003522728104144335, -0.06818034499883652, 0.25353220105171204, 0.4263710677623749, -0.39699938893318176, -0.11360850930213928, 0.5516465306282043, -0.15490813553333282, 0.401960164308548, 0.10227086395025253, 0.01042855717241764, -0.764083981513977, -0.06125529855489731, -0.07188501954078674, -0.36963599920272827, -0.2687793970108032, 0.19623900949954987, 0.22607597708702087, 0.03296421840786934, -0.4910232424736023, 0.5567184090614319, -0.34603986144065857, -0.06242683529853821, -0.32486093044281006, 0.404306560754776, -0.05469035357236862, 0.7095820903778076, 0.21559451520442963, 0.481850802898407, 0.22952614724636078, -0.2052716612815857, 0.5055853128433228, 0.09791827201843262, -0.3750011920928955, 0.8707076907157898, -0.4279792606830597, 0.04380744695663452, -0.00861856434494257, 0.260832816362381, -0.8791738748550415, -0.1984744668006897, 0.27117490768432617, -0.26111847162246704, 0.5448423624038696, -0.03727997839450836, -0.2843143045902252, -0.07187896966934204, -0.30744218826293945, 0.4654887020587921, 0.37955811619758606, -0.7013049721717834, 0.38415059447288513, 0.4266500771045685, -0.20404335856437683, -0.7657214999198914, -0.40838661789894104, -0.16614845395088196, -0.4110148549079895, -0.38302889466285706, 0.48817285895347595, 0.011750318109989166, -0.26525577902793884, -0.03313656523823738, -0.23453933000564575, 0.21143598854541779, 0.1917051523923874, 0.2726564109325409, 0.6271242499351501, -0.2132854163646698, 0.20929114520549774, -0.2124282717704773, -0.1253383308649063, 0.033275868743658066, -0.2387496381998062, 0.48367857933044434, -0.03116450645029545, -0.5302980542182922, -0.4496763348579407, 0.2401227205991745, 0.3163910210132599, -0.3009249269962311, 0.633632481098175, 0.412306010723114, -0.31155070662498474, -0.03082042559981346, -0.53909832239151, -0.29991328716278076, -0.46028587222099304, 0.31406065821647644, -0.07450578361749649, -1.0769481658935547, 0.203322172164917, -0.1180332601070404, 0.1553017497062683, 0.12048047035932541, 0.6552491188049316, -0.2782200872898102, 1.022496223449707, 0.5798946619033813, 0.15550556778907776, 0.5087839365005493, 0.0425611287355423, 0.2792043685913086, -0.8741468191146851, -0.6499833464622498, -0.21836790442466736, -0.5452202558517456, -0.4260888695716858, -0.19411563873291016, 0.023843606933951378, 0.33818644285202026, -0.6290726065635681, 0.12085855007171631, -0.6562705039978027, 0.4426532983779907, 0.25902169942855835, 0.06939783692359924, 0.13962145149707794, -0.07533984631299973, -0.1472085416316986, -0.20109058916568756, -0.7081974744796753, -0.6165949106216431, 1.0361292362213135, 0.4423303008079529, 0.9261508584022522, 0.24383750557899475, 0.8782137036323547, -0.02312668412923813, 0.4344569146633148, -0.7916553616523743, 0.43400493264198303, 0.136359304189682, -0.3224309980869293, -0.5680340528488159, -0.14866842329502106, -0.9146754741668701, 0.18529826402664185, -0.219204843044281, -0.7575643062591553, -0.14057020843029022, -0.05016268417239189, -0.3573383688926697, 0.1488589197397232, -0.6046603322029114, 0.9777006506919861, -0.5968090891838074, -0.982681930065155, -0.03059452399611473, -0.635603129863739, 0.18714751303195953, -0.14709973335266113, 0.49509912729263306, -0.03864847123622894, -0.009478767402470112, 0.8997867107391357, -0.4425240159034729, 1.0214107036590576, -0.1427682489156723, -0.5177008509635925, 0.20834767818450928, 0.09658297151327133, 0.7358961701393127, -0.33265137672424316, 0.17045551538467407, -0.17307747900485992, 0.08664362132549286, -0.39795494079589844, -0.47285565733909607, 1.124197244644165, -0.6821779608726501, -0.9025285243988037, -0.44666603207588196, -0.8480375409126282, -0.2977989614009857, 0.056933339685201645, -0.26575008034706116, 0.18402718007564545, -0.04719630628824234, 0.03620348870754242, 0.7303498387336731, -0.08147554099559784, 0.35760268568992615, 0.5678808689117432, -0.40835466980934143, -0.23461146652698517, 0.998169481754303, 0.1101985052227974, 0.3761104345321655, 0.6468914151191711, 0.23858988285064697, -0.5602996349334717, -0.2635282576084137, -0.3717888593673706, 0.3143845200538635, -0.6890285015106201, -0.25531408190727234, -0.1835010051727295, 0.009482437744736671, -0.3545154631137848, -0.4970490634441376, -0.30307888984680176, -0.28532055020332336, -0.12358109652996063, -0.1994088590145111, 0.04342075064778328, 0.8474742770195007, 0.05194317176938057, 0.28425323963165283, -0.5890967845916748, -0.150538831949234, 0.35290876030921936, 0.389921635389328, 0.06189535930752754, -0.47566840052604675, -0.26988375186920166, 0.06494620442390442, -0.5095991492271423, -0.8254796266555786, 0.2101253867149353, -0.10474812239408493, 0.5900431871414185, 0.21914981305599213, -0.11899859458208084, 0.6653267741203308, -0.3914678990840912, 0.6658200621604919, 0.3535856008529663, -0.8422625064849854, 0.36760854721069336, -0.44268715381622314, 0.24213479459285736, 0.33695003390312195, 0.2975728511810303, -0.5053063035011292, -0.012996603734791279, -0.4070558249950409, -0.8159240484237671, 0.6567836999893188, -0.41220059990882874, -0.03590603545308113, 0.21505732834339142, 0.4139215052127838, 0.29086732864379883, 0.25701385736465454, -0.7873413562774658, -0.050098858773708344, -0.05513472482562065, -0.6321702599525452, -0.11820464581251144, -0.14506855607032776, -0.35992342233657837, -0.15450049936771393, 0.7219468355178833, -0.2464512139558792, -0.10315568745136261, -0.21610437333583832, -0.15765060484409332, -0.3410950303077698, 0.3826269507408142, 0.4972459673881531, 0.7781524658203125, -0.0413433276116848, 0.13319514691829681, -0.20777028799057007, -0.08473613113164902, 0.4175231456756592, -0.051602356135845184, -0.026012180373072624, -0.5274559855461121, 0.4223008453845978, 0.56280517578125, 0.6929737329483032, -0.8881115317344666, 0.614752471446991, 0.2789515256881714, -0.13431411981582642, -0.20739294588565826, 0.11444493383169174, 0.40240538120269775, 0.49371257424354553, 0.2592029571533203, -0.5455726385116577, -0.3113260269165039, -0.573314905166626, 0.038337428122758865, 0.5337245464324951, -0.4513595998287201, -0.05449768900871277, 0.540267825126648, 0.1233845129609108, -0.7145382761955261, 0.5562215447425842, 0.29822802543640137, -0.4197928309440613, 0.5692017674446106, 0.757023274898529, 0.5134832262992859, -0.24769063293933868, 0.26291993260383606, 0.31018924713134766, 0.06703872978687286, -0.3480771481990814, 0.04831115901470184, -0.1991458237171173, -0.6321036219596863, -0.780608594417572, -0.7043542265892029, -0.4339067339897156, 0.00808172021061182, -0.8343205451965332, 0.3232171833515167, -0.3377333879470825, 0.1497890055179596, -0.09208398312330246, -0.062374792993068695, -0.2703980505466461, -0.0018676219042390585, 0.2392227053642273, 0.48163965344429016, -0.7908124923706055, 0.9021041989326477, 0.7974777817726135, -0.16932742297649384, -1.1543573141098022, -0.08487308025360107, 0.2198052704334259, -0.8745521306991577, 0.7184898257255554, 0.08655586838722229, 0.10559523105621338, 0.06250574439764023, -0.47748321294784546, -0.9510736465454102, 1.1230928897857666, 0.552261233329773, -0.9994466304779053, -0.14172959327697754, 0.03979814797639847, 0.3845013678073883, -0.42435646057128906, -0.09859520196914673, 0.4397512674331665, 0.5628025531768799, -0.05959315970540047, -0.9459964036941528, 0.02115965262055397, 0.04426922649145126, -0.1744314283132553, 0.5992146730422974, -0.5996753573417664, 0.6176230311393738, -0.21358317136764526, -0.05417374521493912, -0.06277907639741898, 0.37532997131347656, 0.43242040276527405, 0.10768014192581177, 0.23156201839447021, 0.718086838722229, 0.6460718512535095, -0.3307479918003082, 0.7494611740112305, -0.0890202522277832, 0.49210989475250244, 1.1588916778564453, -0.28866705298423767, 0.7785887718200684, 1.0259606838226318, -0.3371667265892029, 0.4814120829105377, 0.7811881899833679, 0.040410302579402924, 0.5174475908279419, 0.4621029794216156, 0.061092574149370193, -0.4166659414768219, -0.25233250856399536, -0.31570371985435486, 0.343374639749527, 0.20006144046783447, -0.08330439776182175, -0.25158265233039856, 0.042212773114442825, -0.22774627804756165, 0.6637200713157654, -0.5769942402839661, 0.6633781790733337, -0.06940270960330963, -0.946624755859375, 0.624588131904602, -0.02370617352426052, 0.8282524943351746, -0.519787073135376, -0.15788264572620392, -0.0065484545193612576, 0.31702497601509094, -0.47730401158332825, -1.0254175662994385, 0.10504966974258423, -0.1690824180841446, -0.14188385009765625, -0.4572059214115143, 0.28347834944725037, -0.8205490708351135, -0.23475410044193268, 0.1889558732509613, 0.30571073293685913, -0.07786735892295837, 0.4513213336467743, -0.6364023089408875, 0.30628278851509094, 0.03295287489891052, -0.053144894540309906, 0.7527657747268677, 0.22448723018169403, -0.20794087648391724, 0.5770148634910583, 0.4568383991718292, -0.025147315114736557, -0.13483448326587677, -0.02729494497179985, 0.4777224361896515, -0.532333254814148, -0.4703197777271271, -0.8674098253250122, 0.39545193314552307, 0.292989045381546, -0.1721733957529068, 0.6260938048362732, 0.4158865809440613, 1.1891443729400635, 0.070204958319664, 0.3830035924911499, 0.25445523858070374, 0.529784619808197, -0.5788305401802063, 0.14953400194644928, -0.3042576313018799, 0.48223623633384705, -0.20308369398117065, -0.9097961187362671, -0.17674915492534637, 0.6954708695411682, -0.4861258268356323, -0.039822597056627274, 0.43349725008010864, 0.5788636803627014, 0.17796555161476135, -0.058296531438827515, 0.18111290037631989, -0.018065443262457848, 0.07667981833219528, 0.7072585821151733, 1.093405842781067, -0.15476469695568085, 0.2853178381919861, -0.3828801214694977, -0.12402913719415665, -0.2842850983142853, -0.878065824508667, -0.657175600528717, -0.485971599817276, -0.423204630613327, -0.207437664270401, 0.29904064536094666, 1.1834222078323364, 0.3367014229297638, -0.5979517102241516, -0.48224255442619324, -0.05904877558350563, 0.29323169589042664, -0.44355225563049316, -0.2845727503299713, 0.5242577195167542, -0.21876148879528046, -0.7266970276832581, 0.25071650743484497, 0.24692456424236298, -0.042730677872896194, -0.5123388171195984, -0.38024231791496277, -0.3958439826965332, -0.14385096728801727, 0.2217952013015747, 0.23262667655944824, -0.9377883076667786, -0.39077135920524597, 0.10667401552200317, -0.2996843159198761, 0.018198644742369652, 0.7623315453529358, -0.8044646382331848, 0.19126302003860474, 0.2882334589958191, 0.9540678858757019, 0.2937057912349701, 0.08661635220050812, 0.4605395495891571, -0.49070075154304504, -0.012670634314417839, 0.21663586795330048, 0.23266318440437317, 0.4454924166202545, -0.3887538015842438, 0.40897461771965027, 0.004869379103183746, -0.6251489520072937, -1.0380256175994873, 0.18818432092666626, -0.7207261919975281, -0.35214224457740784, 0.8692425489425659, -0.14552347362041473, -0.2035617083311081, 0.29368263483047485, -0.2061864286661148, 0.2687046527862549, -0.19023603200912476, 0.9455000758171082, 0.8821874260902405, -0.1875084936618805, -0.18390633165836334, -0.1949949562549591, 0.24122057855129242, 0.7513517737388611, -0.5729379653930664, 0.15565285086631775, 0.4304986596107483, 0.4006558656692505, -0.03811538591980934, 0.28289833664894104, -0.30676764249801636, 0.18412868678569794, -0.5434826016426086, 0.07009447365999222, -0.2335653007030487, -0.2942923903465271, -0.6749611496925354, 0.38146281242370605, 0.21489636600017548, -0.06487070769071579 ]
http://arxiv.org/abs/2402.04978v2
http://arxiv.org/pdf/2402.04978v2
An Enhanced Prompt-Based LLM Reasoning Scheme via Knowledge Graph-Integrated Collaboration
2024-02-07T15:56:17
2024-06-12T16:03:31
Yihao Li, Ru Zhang, Jianyi Liu
cs.CL
cs.CL, cs.AI
While Large Language Models (LLMs) demonstrate exceptional performance in a multitude of Natural Language Processing (NLP) tasks, they encounter challenges in practical applications, including issues with hallucinations, inadequate knowledge updating, and limited transparency in the reasoning process. To overcome these limitations, this study innovatively proposes a collaborative training-free reasoning scheme involving tight cooperation between Knowledge Graph (KG) and LLMs. This scheme first involves using LLMs to iteratively explore KG, selectively retrieving a task-relevant knowledge subgraph to support reasoning. The LLMs are then guided to further combine inherent implicit knowledge to reason on the subgraph while explicitly elucidating the reasoning process. Through such a cooperative approach, our scheme achieves more reliable knowledge-based reasoning and facilitates the tracing of the reasoning results. Experimental results show that our scheme significantly progressed across multiple datasets, notably achieving over a 10% improvement on the QALD10 dataset compared to the best baseline and the fine-tuned state-of-the-art (SOTA) work. Building on this success, this study hopes to offer a valuable reference for future research in the fusion of KG and LLMs, thereby enhancing LLMs' proficiency in solving complex issues.
[ -0.35555145144462585, -0.6244151592254639, 0.9024276733398438, 0.22553713619709015, -0.214875265955925, 0.3907794952392578, -0.3424217998981476, -0.3813847601413727, 0.2187855839729309, 0.5015023350715637, -0.7470880746841431, -0.7185789942741394, -0.539419949054718, 0.35814177989959717, 0.0918969064950943, 0.4001253843307495, -0.2224086970090866, 0.09551034867763519, -0.6351988315582275, -0.26298436522483826, -0.6527621746063232, -0.39412739872932434, -0.6560518145561218, -0.6198545098304749, 0.6538623571395874, 0.5864585638046265, 0.5923348665237427, 0.24586986005306244, 0.3480582535266876, 0.28328225016593933, -0.19514323770999908, 0.898093581199646, -0.31688883900642395, 0.5518062710762024, -0.3329241871833801, -0.4315713346004486, -0.4335211217403412, -0.0977000892162323, 0.28836590051651, 0.847980797290802, -0.02998066321015358, -0.2071588933467865, 0.30735665559768677, 0.6860963702201843, -0.3840692937374115, 0.3755551874637604, -0.6007462739944458, -0.07698528468608856, 0.06669836491346359, -0.22508341073989868, -0.5355191230773926, -0.37995272874832153, -0.032608792185783386, -0.8975708484649658, -0.19006206095218658, 0.3890291154384613, 0.4114859998226166, 0.391583114862442, -0.14172688126564026, -0.39330142736434937, -0.2307833433151245, 0.6243546605110168, -0.4905291795730591, 0.36260348558425903, 0.26123329997062683, 0.42327767610549927, -0.5181016325950623, -0.7551195025444031, -0.7177186012268066, -0.2477957308292389, -0.17474813759326935, 0.13038165867328644, -0.06454262882471085, 0.22277231514453888, 0.31570979952812195, 0.12183663994073868, -0.5460155606269836, 0.15501263737678528, 0.16519679129123688, -0.4288633465766907, 0.5045486092567444, 0.21768027544021606, 0.2532444894313812, -0.1276063770055771, -0.37361884117126465, 0.17794977128505707, -0.5257585644721985, -0.06255584210157394, 0.007488316390663385, 0.4701555669307709, -0.14970754086971283, 0.6989033818244934, -0.5226666927337646, 0.631129264831543, -0.16959761083126068, -0.06085563823580742, 0.11077060550451279, -0.3861115574836731, -0.2051469385623932, 0.0782097578048706, 0.8954647183418274, 0.444112628698349, 0.2986215353012085, -0.4359584450721741, -0.02147342637181282, 0.19420507550239563, -0.39688628911972046, -0.3689347505569458, -0.14773547649383545, 0.2727457880973816, -0.02833356149494648, 0.018479814752936363, -0.3694325387477875, -0.33552756905555725, -0.5174081921577454, -0.4650552570819855, 0.36575886607170105, -0.5894570350646973, -0.11541572213172913, 0.2621977925300598, -0.18839693069458008, 0.02822793647646904, 0.6938562989234924, -0.6476821899414062, 0.13710017502307892, 0.8170657753944397, 0.704645574092865, -0.1436329036951065, -0.2321799099445343, -0.6603026986122131, 0.45498836040496826, -0.1370544135570526, 0.9632312059402466, -0.4696325659751892, -0.19391097128391266, -0.24681919813156128, -0.22283527255058289, -0.13676555454730988, -0.5791648030281067, 0.4650588631629944, -0.6238268613815308, 0.2037239968776703, -0.44029372930526733, -0.7622512578964233, -0.11457862704992294, 0.7448152303695679, -0.4958082437515259, 0.9981192350387573, 0.0836733877658844, -0.9075446128845215, 0.20602908730506897, -0.5135411620140076, -0.0645526573061943, 0.48207828402519226, -0.5088786482810974, -0.02606196515262127, -0.6278602480888367, 0.5312256813049316, 0.43394315242767334, -0.4284045994281769, 0.5195127129554749, -0.5074595212936401, -0.32778456807136536, 0.03871965408325195, -0.07773986458778381, 0.9136948585510254, -0.018719779327511787, -0.14872819185256958, 0.33680981397628784, -0.6029670238494873, 0.19948935508728027, 0.14365719258785248, -0.16472092270851135, -0.2633090913295746, -0.5368494987487793, -0.6992799639701843, -0.0034883792977780104, 0.4982859194278717, -0.3574831187725067, 0.5020889043807983, -0.22772450745105743, 0.1469634473323822, 0.6525620818138123, 0.14868202805519104, 0.5181699991226196, -0.35193490982055664, 0.38306868076324463, -0.2303166687488556, 0.22274470329284668, -0.07218527793884277, -0.6854894161224365, -0.7204828262329102, -0.35982081294059753, 0.08222014456987381, 0.6065767407417297, -1.1845452785491943, 0.5046119689941406, -0.06514468044042587, -0.13043202459812164, -0.3450537621974945, 0.16457469761371613, 0.32432419061660767, 0.8102723956108093, 0.536750316619873, -0.024213992059230804, -0.5755966901779175, -0.6327173113822937, -0.1880304366350174, -0.16449393332004547, -0.06485548615455627, 0.43773627281188965, 0.25348296761512756, -0.18558648228645325, 1.1266798973083496, -0.3747345209121704, -0.24627821147441864, -0.657695472240448, 0.06332240998744965, 0.26378515362739563, 0.36791953444480896, 0.1273173987865448, -0.39196377992630005, -0.6024462580680847, -0.1750251054763794, -1.0697095394134521, -0.3592272698879242, 0.09877185523509979, -0.549566388130188, -0.004467719700187445, 0.5504154562950134, -0.6730427742004395, 0.019560934975743294, 0.4370865821838379, -0.42487573623657227, 0.5469236373901367, -0.19019508361816406, 0.041189294308423996, -1.054175853729248, -0.2111557424068451, -0.298897922039032, -0.28753358125686646, -0.20257237553596497, 0.03067256696522236, -0.23207738995552063, 0.054949041455984116, -0.06654620915651321, 0.5604488849639893, -0.3151701092720032, -0.007497061509639025, -0.10972132533788681, 0.5857515335083008, 0.16506440937519073, 0.5744079947471619, -0.01485522836446762, 0.7386804223060608, 0.6499943137168884, -0.4939342737197876, 0.6981277465820312, 0.43847718834877014, -0.10886282473802567, 0.618467390537262, -0.3470630645751953, 0.37098297476768494, -0.02979877032339573, 0.4355418086051941, -0.869143009185791, -0.2456621378660202, 0.5969976782798767, -0.5286560654640198, 0.09739866107702255, 0.034245897084474564, -0.8552531003952026, -0.3247790038585663, -0.06892022490501404, 0.06264344602823257, 0.2312551885843277, -0.6843013763427734, 0.782538890838623, 0.0936368852853775, -0.08578607439994812, -0.5825092792510986, -0.36177632212638855, 0.24074265360832214, 0.04252462461590767, -1.1183068752288818, 0.3842310905456543, -0.048114530742168427, -0.41646629571914673, 0.15635168552398682, 0.021163171157240868, 0.038061100989580154, 0.05628550052642822, 0.07533162087202072, 0.1817050278186798, 0.07431226223707199, 0.21893687546253204, 0.21176202595233917, -0.4381333887577057, -0.06508147716522217, -0.33438149094581604, 0.5670068860054016, -0.08921802043914795, -0.5115553736686707, -0.45819059014320374, 0.3662542998790741, 0.2907453775405884, -0.0900118350982666, 0.8635101914405823, 0.39178356528282166, -0.25881150364875793, -0.39049455523490906, -0.5268076062202454, -0.33945244550704956, -0.4788020849227905, -0.11504627764225006, -0.24458648264408112, -1.244510531425476, 0.47194498777389526, -0.6312842965126038, -0.1984025239944458, 0.10111888498067856, 0.4007824957370758, -0.1889665424823761, 0.7948600053787231, 0.4740861654281616, 0.09490733593702316, 0.0805964469909668, -0.20920388400554657, 0.09371250867843628, -0.8519058227539062, -0.759526252746582, -0.37083759903907776, -0.11192285269498825, -0.020869940519332886, -0.595710277557373, 0.5996628999710083, 0.4722610414028168, -0.20150060951709747, 0.0025880022440105677, -0.44823282957077026, 0.5245883464813232, 0.6404367685317993, 0.29620540142059326, 0.638796865940094, -0.10070184618234634, -0.8158344030380249, 0.002213850384578109, -0.9043375849723816, -0.41036316752433777, 0.6436214447021484, -0.06745930016040802, 0.44308310747146606, -0.009419924579560757, 0.8070207238197327, 0.23008014261722565, 0.19532206654548645, -0.6779500246047974, 0.9891600012779236, 0.21566785871982574, -0.03433598205447197, -0.4636645019054413, -0.5124559998512268, -0.7418556213378906, 0.21253430843353271, -0.2891194522380829, -0.7578228116035461, -0.38863757252693176, 0.11885014921426773, -0.17753979563713074, 0.2069094330072403, -0.570735514163971, 0.5779206156730652, -0.0940871462225914, -0.5094531774520874, -0.31524670124053955, -0.7083733677864075, 0.32064321637153625, 0.2503420412540436, 0.2853289544582367, -0.3245117962360382, 0.16198354959487915, 0.6131079196929932, -0.5481696128845215, 0.7946484088897705, -0.3388257920742035, -0.09033479541540146, 0.4688337743282318, 0.1217159554362297, 0.8745779395103455, 0.08360665291547775, -0.12673546373844147, -0.028862357139587402, -0.588297963142395, -0.24604278802871704, -0.8908715844154358, 0.5115132331848145, -0.48015743494033813, -0.7524735927581787, -0.07894349843263626, -1.0211488008499146, -0.6350660920143127, 0.22247788310050964, -0.012197595089673996, 0.24300509691238403, 0.31742554903030396, 0.15748904645442963, 0.6408768892288208, -0.11749622225761414, 0.2560342848300934, 0.4626893103122711, -0.2501119077205658, -0.6247838139533997, 0.5092863440513611, -0.010008400306105614, 0.226856991648674, 0.4100968837738037, 0.3808732032775879, -0.4271741211414337, -0.5831302404403687, -0.4942500591278076, 0.3580760955810547, -0.9669907689094543, -0.18655383586883545, -0.7268562316894531, -0.058485113084316254, -0.4337252974510193, -0.2578832805156708, -0.05744588375091553, -0.40133315324783325, -0.06004074588418007, -0.022272499278187752, 0.6159133315086365, 0.34189918637275696, 0.022594790905714035, 0.08949961513280869, -0.9328346252441406, 0.20645762979984283, 0.5069482922554016, 0.2572037875652313, 0.053815945982933044, -0.3702566623687744, -0.0994764044880867, -0.2355145514011383, -0.05052889138460159, -0.7251396775245667, 0.090975321829319, -0.31890663504600525, 0.9056285619735718, -0.016757631674408913, 0.38742783665657043, 0.4570356607437134, -0.09136523306369781, 0.7424376606941223, 0.26237952709198, -0.9119029641151428, 0.4830326735973358, -0.5184054970741272, 0.23576731979846954, 0.6205300688743591, 0.3243330717086792, -0.4793340861797333, -0.5460318326950073, -0.4906305968761444, -0.7970088720321655, 0.5303559303283691, 0.3056989014148712, -0.3795422911643982, 0.16745468974113464, 0.38173046708106995, 0.04004262015223503, 0.10860836505889893, -0.5843251347541809, -0.1602727323770523, 0.20958073437213898, -0.38048937916755676, 0.4788326025009155, -0.004573911428451538, -0.3328397274017334, -0.37918519973754883, 0.7096984386444092, -0.5049416422843933, 0.008855505846440792, 0.16237977147102356, -0.042304616421461105, 0.06376942247152328, 0.26988640427589417, 0.1562976986169815, 0.33829665184020996, 0.056724146008491516, 0.23888978362083435, 0.41876423358917236, -0.05211761221289635, 0.05593271926045418, 0.10450117290019989, -0.0475873239338398, -0.15832802653312683, 0.5574159622192383, 0.6444457769393921, 0.08872633427381516, -0.7079801559448242, 0.6027830243110657, -0.15317709743976593, -0.32230648398399353, 0.030022531747817993, 0.20705530047416687, 0.5791808366775513, 0.8034613728523254, 0.2379276305437088, -0.04325930401682854, -0.15210255980491638, -0.1044931635260582, 0.19407640397548676, 0.5548677444458008, -0.2031487226486206, 0.07619080692529678, 0.46481332182884216, 0.2932565212249756, -0.26065778732299805, 0.6278786659240723, -0.6404597759246826, -0.5302023887634277, 0.5216981172561646, 0.5328819751739502, 0.5996378660202026, 0.10218886286020279, 0.31281641125679016, 0.2786482274532318, 0.1481906622648239, -0.2041439563035965, 0.37848150730133057, -0.4145897626876831, -1.0007028579711914, -0.6557156443595886, -0.24063719809055328, -0.8838066458702087, -0.01989823579788208, -0.3091568052768707, 0.27722224593162537, -0.354718953371048, 0.24157686531543732, -0.504381000995636, -0.02356371469795704, -0.24657335877418518, -0.0033217987511307, 0.2602633237838745, 0.9813086986541748, -0.6516717672348022, 0.7906039953231812, 0.5146542191505432, -0.2743915915489197, -1.2265753746032715, -0.06933896988630295, -0.1763216257095337, -0.9915918111801147, 0.6045423150062561, 0.40992042422294617, -0.3125922679901123, 0.14299309253692627, -0.7385401129722595, -0.6482443809509277, 1.4715852737426758, 0.6885143518447876, -0.765424907207489, -0.052447084337472916, 0.11582082509994507, 0.3035593032836914, -0.2626611292362213, 0.0879572257399559, 0.33827799558639526, 0.4532512128353119, 0.647317111492157, -0.8709761500358582, 0.35623899102211, 0.006470125634223223, -0.4437326490879059, -0.009535557590425014, -0.7878309488296509, 0.6373926401138306, -0.416780948638916, -0.1640293449163437, -0.0844479501247406, 0.6678710579872131, 0.8870500326156616, 0.5917547941207886, 0.6423273086547852, 0.6902996897697449, 1.3645488023757935, 0.10291597992181778, 0.721727728843689, -0.43627724051475525, 0.18249501287937164, 1.1389001607894897, -0.4971892535686493, 0.418088436126709, 0.483571320772171, -0.05747884139418602, 0.7187541127204895, 0.3307041823863983, 0.19681453704833984, 0.4153114855289459, 0.06747107952833176, -0.6699455976486206, -0.7042691707611084, -0.5926998257637024, -0.31768953800201416, 0.0780751034617424, 0.4122420847415924, -0.19464683532714844, -0.4950093626976013, -0.02017153427004814, 0.07915380597114563, 0.24039915204048157, -0.388642817735672, 0.7354999780654907, 0.28870415687561035, -0.7166895866394043, 0.3774406909942627, -0.20888976752758026, 0.6255497336387634, -0.5977016687393188, -0.14344185590744019, -0.17377065122127533, -0.10364890843629837, -0.2726650536060333, -0.8966436386108398, 0.1212640330195427, -0.04180710390210152, 0.0319070965051651, -0.38916921615600586, 1.00338876247406, -0.401748389005661, 0.026496125385165215, 0.5557553172111511, 0.8940291404724121, 0.0007645083242096007, -0.08047982305288315, -0.5270544290542603, -0.0016821183962747455, -0.043226372450590134, 0.039868831634521484, 0.28962457180023193, 0.7012010216712952, -0.0364886149764061, 0.8231120109558105, 0.6114970445632935, -0.02264244481921196, -0.236374631524086, 0.48019590973854065, 1.1650207042694092, -0.48365527391433716, -0.5867132544517517, -0.8631770610809326, 0.3128068745136261, -0.25345346331596375, 0.21037067472934723, 0.71138995885849, 0.39093634486198425, 0.6413435935974121, 0.2871242165565491, 0.9078092575073242, 0.20588424801826477, 0.5648807287216187, -0.8047730922698975, 0.4525652527809143, -0.13580751419067383, 0.41072937846183777, -0.02988157607614994, -0.6534768342971802, -0.535567045211792, 0.554393470287323, -0.23287689685821533, -0.22784408926963806, 0.7719424962997437, 0.7145144939422607, 0.32286033034324646, 0.18932262063026428, 0.1617533564567566, 0.015379942953586578, 0.3622118830680847, 0.7464035153388977, 0.9675344228744507, 0.1927650272846222, 0.7079014778137207, -0.19832921028137207, -0.2797583043575287, 0.015288402326405048, -1.0738284587860107, -0.9274863004684448, -0.18300719559192657, -0.2002497911453247, -0.4502706229686737, 0.06502556055784225, 1.2100987434387207, 0.28732991218566895, -0.38660916686058044, 0.2145165652036667, -0.5405014753341675, 0.38583171367645264, -0.1309768557548523, -0.23251773416996002, 0.2766958177089691, -0.48518627882003784, -0.4377732276916504, 0.6372686624526978, 0.43899649381637573, -0.06303100287914276, -0.281689316034317, -0.40286052227020264, -0.00436009606346488, -0.0743744969367981, 0.47274401783943176, -0.07732100039720535, -0.5400750637054443, -0.2995733618736267, 0.13565869629383087, -0.11184141039848328, 0.03600158914923668, 0.7883695363998413, -1.0667163133621216, 0.48139652609825134, 0.6247739791870117, 0.7392512559890747, 0.3023239076137543, -0.12875550985336304, 0.41419363021850586, -0.8442067503929138, 0.09435124695301056, 0.30574727058410645, 0.4007887542247772, 0.4868909418582916, -0.4988665282726288, 0.4617103338241577, 0.6654243469238281, -0.4814176857471466, -0.724599301815033, 0.3364509642124176, -1.1004831790924072, -0.2384764701128006, 1.2402384281158447, -0.32255473732948303, -0.02727491781115532, -0.39002561569213867, -0.3657709062099457, 0.5659308433532715, -0.5457568764686584, 0.6059485673904419, 0.7400210499763489, -0.6348809003829956, -0.24151840806007385, 0.010720385238528252, 0.2557578682899475, 0.3880508244037628, -1.005996584892273, 0.1298890858888626, 0.41916507482528687, 0.028367841616272926, 0.10751131176948547, 0.9346650838851929, 0.1385832130908966, -0.06851750612258911, 0.06692291051149368, -0.14483918249607086, -0.5603349804878235, -0.4106014370918274, -0.005179747473448515, 0.44966810941696167, 0.1662590205669403, 0.02546808309853077 ]
http://arxiv.org/abs/2402.04967v1
http://arxiv.org/pdf/2402.04967v1
Text or Image? What is More Important in Cross-Domain Generalization Capabilities of Hate Meme Detection Models?
2024-02-07T15:44:55
2024-02-07T15:44:55
Piush Aggarwal, Jawar Mehrabanian, Weigang Huang, Özge Alacam, Torsten Zesch
cs.CL
cs.CL, cs.AI, cs.CV
This paper delves into the formidable challenge of cross-domain generalization in multimodal hate meme detection, presenting compelling findings. We provide enough pieces of evidence supporting the hypothesis that only the textual component of hateful memes enables the existing multimodal classifier to generalize across different domains, while the image component proves highly sensitive to a specific training dataset. The evidence includes demonstrations showing that hate-text classifiers perform similarly to hate-meme classifiers in a zero-shot setting. Simultaneously, the introduction of captions generated from images of memes to the hate-meme classifier worsens performance by an average F1 of 0.02. Through blackbox explanations, we identify a substantial contribution of the text modality (average of 83%), which diminishes with the introduction of meme's image captions (52%). Additionally, our evaluation on a newly created confounder dataset reveals higher performance on text confounders as compared to image confounders with an average $\Delta$F1 of 0.18.
[ -0.6548507809638977, -0.6895419955253601, 0.2998511791229248, -0.12142905592918396, -0.35720109939575195, 0.11123687028884888, -0.09291347861289978, -0.6625005602836609, 0.04421622306108475, 0.17873987555503845, -0.6325353384017944, -0.25862640142440796, -1.1189370155334473, 0.1583123654127121, -0.3838519752025604, 1.0436725616455078, 0.1551545262336731, -0.192996546626091, -0.23756815493106842, -0.3389706611633301, -0.38321956992149353, -0.6756905317306519, -0.6793680191040039, -0.2035185545682907, 0.9549266695976257, 0.2335597723722458, 0.8267526626586914, 0.2730048894882202, 0.4519784450531006, 0.22091609239578247, 0.5215842127799988, -0.10633534938097, -0.3368833661079407, 0.19103766977787018, -0.2703109383583069, -0.4776492714881897, -0.13478855788707733, 0.24756436049938202, 0.09356940537691116, 0.08176407963037491, 0.455179363489151, -0.13187193870544434, -0.23431698977947235, 0.4179632365703583, -0.7076764702796936, -0.26820629835128784, -0.9776646494865417, 0.1659957468509674, -0.21840010583400726, -0.38499754667282104, -0.49880605936050415, 0.115664042532444, 0.33061593770980835, -0.5324403643608093, 0.6145858764648438, 0.21855616569519043, 0.7787134647369385, 0.1162916049361229, -0.7285880446434021, -0.5262231826782227, -0.763595461845398, 1.266225814819336, -0.26780807971954346, 0.47804561257362366, 0.007074063178151846, 0.2413199096918106, 0.21822510659694672, -0.337186336517334, -0.8482314348220825, 0.1243765652179718, 0.027526194229722023, -0.01986994780600071, -0.76295405626297, -0.08182091265916824, 0.24207887053489685, 0.5020760297775269, -0.8235552906990051, 0.1690613329410553, -0.38585948944091797, -0.4163101613521576, 0.4604399800300598, -0.0232777651399374, 0.6922249794006348, -0.03482883796095848, -0.5870270729064941, -0.20494963228702545, -0.5952433347702026, -0.16609624028205872, 0.43484750390052795, 0.0001314408436883241, -0.07023981958627701, 0.5841615796089172, 0.16330285370349884, 0.5165078639984131, 0.023817408829927444, -0.07857827097177505, 0.20059292018413544, -0.2160363346338272, -0.14303821325302124, -0.28039026260375977, 0.8479163646697998, 0.7816209197044373, 0.6407132744789124, -0.24310292303562164, -0.015885131433606148, 0.6655170917510986, 0.48089298605918884, -0.9732450246810913, -0.11786524206399918, -0.056696124374866486, -0.5171321034431458, -0.2930392622947693, -0.43745192885398865, -0.886047899723053, -0.4283524453639984, -0.13207271695137024, 0.22298578917980194, -0.4249498248100281, -0.13827072083950043, -0.19615468382835388, -0.5948117971420288, 0.0855991393327713, 0.4851142466068268, -0.8500517010688782, 0.15810997784137726, 0.2800804376602173, 0.5388807654380798, -0.3837144076824188, -0.16535231471061707, -0.31313544511795044, 0.023170622065663338, -0.2110968828201294, 1.0730175971984863, -0.90792316198349, -0.040197622030973434, -0.05418912321329117, 0.11811719834804535, -0.30504676699638367, -0.6213248372077942, 0.4647636413574219, -0.5502032041549683, 0.2566234767436981, 0.05079392343759537, -0.4742850363254547, -0.3250185549259186, 0.2906041741371155, -0.6018238067626953, 0.37825697660446167, 0.14700233936309814, -0.7590728998184204, 0.7101178169250488, -0.559545636177063, -0.4074738025665283, -0.17754362523555756, -0.20647400617599487, -0.7331193685531616, 0.14057523012161255, -0.0692090168595314, 0.7050138711929321, -0.20553742349147797, -0.02619466930627823, -0.667657196521759, -0.093881756067276, 0.38848939538002014, -0.4446384608745575, 0.36913082003593445, 0.23327359557151794, -0.6245027780532837, -0.27133166790008545, -0.6619526147842407, -0.35749003291130066, 0.40434128046035767, -0.12443166971206665, -1.0488169193267822, -0.04023582488298416, 0.1805419623851776, 0.3725529909133911, -0.18278133869171143, -0.8249159455299377, -0.12709864974021912, 0.21996332705020905, 0.07995495200157166, 0.7570834159851074, -0.2003205567598343, 0.44729942083358765, -0.4561103284358978, 0.571961522102356, 0.3895440995693207, 0.1710900217294693, -0.08740328252315521, -0.733709990978241, -0.2951582074165344, -0.3495343029499054, 0.022230632603168488, 0.4007602035999298, -0.8260321617126465, -0.21851663291454315, 0.09743073582649231, -0.23950020968914032, -0.12963557243347168, 0.08673476427793503, 0.5652408599853516, 0.2686208188533783, 0.5791635513305664, -0.2436230182647705, -0.6468562483787537, -1.260206937789917, -0.5026766657829285, 0.06901467591524124, 0.05816435068845749, 0.43169090151786804, 0.6820489168167114, -0.5171419382095337, 0.40956854820251465, -0.4498547911643982, -0.39396601915359497, 0.09222361445426941, 0.2575130760669708, -0.27211177349090576, 0.3977257013320923, 1.1654859781265259, -1.2401418685913086, -0.6141571402549744, -0.16529567539691925, -0.7137112021446228, -0.1332290917634964, -0.09737726300954819, 0.14947432279586792, 0.267677903175354, 0.3135361075401306, -0.18077605962753296, 0.5174158811569214, 0.7906486988067627, -0.554165780544281, 0.561954915523529, 0.40277236700057983, 0.736404299736023, -0.8042070269584656, -0.3056432902812958, 0.44703057408332825, -0.09320643544197083, -0.7663269639015198, -0.0971904993057251, 0.04305974394083023, 0.03178775683045387, -0.45449379086494446, 0.2827819287776947, -0.3300264775753021, 0.3607436716556549, -0.2682608664035797, -0.07643172144889832, 0.020265482366085052, 0.4886322617530823, -0.14701727032661438, 0.744272768497467, 0.33711791038513184, -0.5405575633049011, 0.3251614570617676, 0.17076973617076874, -0.12623737752437592, 1.02486252784729, -0.4199756383895874, -0.02825327403843403, -0.2734465003013611, 0.1414094716310501, -1.2192327976226807, 0.06985501199960709, 0.6107196807861328, -0.5759907960891724, 0.3467954099178314, -0.14903821051120758, -0.22611896693706512, -0.2571769952774048, -0.4436511695384979, 0.873720645904541, 0.2301022857427597, -0.4866447150707245, 0.5855001211166382, 0.28570571541786194, 0.09659186750650406, -0.7493091225624084, -0.7782332897186279, 0.15898869931697845, -0.31959378719329834, -0.49908679723739624, 0.4838215112686157, -0.35074037313461304, -0.19555334746837616, 0.021911630406975746, -0.14144903421401978, -0.3167579174041748, 0.08077867329120636, 0.4587443172931671, -0.0686265081167221, -0.16826273500919342, 0.28703752160072327, 0.21359434723854065, -0.06168923154473305, 0.046515002846717834, -0.12273742258548737, 0.36053937673568726, 0.18298183381557465, -0.1299603432416916, -0.2144116312265396, 0.578929603099823, 0.6108888387680054, 0.2264329046010971, 0.6335048079490662, 0.48113423585891724, -0.36625078320503235, -0.4077471196651459, -0.5396908521652222, 0.10343516618013382, -0.4070437550544739, 0.29905956983566284, -0.4267311990261078, -1.0204529762268066, 0.38937363028526306, 0.21778951585292816, -0.07690691947937012, 0.6336513757705688, 0.37369436025619507, -0.09028496593236923, 0.8444599509239197, 0.6798673868179321, -0.06691793352365494, 0.46912503242492676, -0.11351031810045242, 0.2789151072502136, -0.4635871946811676, -0.2741212248802185, -0.6407029032707214, -0.3769746422767639, -0.4340476095676422, -0.504878580570221, 0.05893595516681671, -0.5926865339279175, 0.11545433849096298, 0.3563939034938812, -0.6058463454246521, 0.3339051306247711, 0.32753223180770874, 0.14834381639957428, 0.1867353916168213, 0.5252034664154053, 0.05608031153678894, -0.4815714657306671, -0.4681127369403839, -0.29427021741867065, 1.3899873495101929, 0.35752543807029724, 0.8927841782569885, 0.23626188933849335, 0.19429947435855865, 0.8947176933288574, 0.4413808286190033, -0.6810489892959595, 0.3113963305950165, -0.6224014759063721, -0.852732241153717, 0.04443223401904106, -0.29739072918891907, -0.9446119070053101, 0.30052775144577026, -0.36120739579200745, -0.1668429672718048, 0.05872463807463646, 0.30607283115386963, 0.29498741030693054, 0.6464582681655884, -0.791010320186615, 0.9925989508628845, -0.03807446360588074, -0.17748218774795532, -0.5921047329902649, -0.2689751088619232, 0.3132246136665344, -0.19693569839000702, 0.48857173323631287, -0.18739216029644012, -0.16480033099651337, 0.8115281462669373, 0.042808398604393005, 1.0261293649673462, -0.28999271988868713, -0.11735173314809799, 0.1302303522825241, 0.16113196313381195, -0.13810765743255615, -0.5937770009040833, 0.24788318574428558, 0.24588148295879364, -0.29991206526756287, -0.6047682762145996, -0.5925819873809814, 0.5898644328117371, -0.6484801173210144, -0.36809200048446655, -0.2863771319389343, -0.6305627822875977, -0.04481065273284912, -0.01456135418266058, 0.3100719153881073, 0.5874654054641724, -0.31892937421798706, 0.15259528160095215, 0.9040707349777222, -0.5802173614501953, 0.26368460059165955, 0.38755732774734497, -0.00580790126696229, -0.41169172525405884, 1.1224806308746338, 0.15416520833969116, 0.4756790101528168, 0.5817103981971741, 0.006211447529494762, -0.1659122258424759, -0.5997859239578247, -0.6536476612091064, 0.10760387778282166, -0.7454249858856201, -0.2324381023645401, -0.9743646383285522, 0.12149587273597717, -0.2505549490451813, -0.2717374563217163, 0.001326894387602806, -0.46533262729644775, -0.22146378457546234, 0.24915312230587006, 0.1762978732585907, 0.7247953414916992, 0.08605258911848068, 0.4370313882827759, -0.45140132308006287, 0.5159082412719727, 0.5628591179847717, 0.42867064476013184, 0.12169567495584488, -0.691609263420105, -0.24974815547466278, 0.03125490993261337, -0.6639024615287781, -0.89081871509552, 0.09715621173381805, 0.10385111719369888, 0.44471773505210876, 0.5709264874458313, -0.068098284304142, 0.4326653480529785, -0.3828888237476349, 0.6208130717277527, 0.42693543434143066, -0.6744640469551086, 0.32255473732948303, -0.2606576383113861, -0.013797163031995296, 0.09724170714616776, 0.9688440561294556, -0.47806522250175476, -0.8859349489212036, -0.6290692090988159, -0.2107507437467575, 0.40770983695983887, 0.24303966760635376, 0.36536818742752075, -0.10080496966838837, 0.1266472041606903, 0.4201366901397705, 0.21473103761672974, -1.067490577697754, -0.7078794240951538, -0.3454694449901581, -0.1086379736661911, -0.0852852612733841, -0.6255788803100586, 0.01572312042117119, -0.1840507984161377, 0.7003658413887024, -0.1525244563817978, 0.41924604773521423, 0.14873769879341125, -0.3902396857738495, -0.15711626410484314, 0.27870917320251465, 0.8061684966087341, 0.42132654786109924, -0.04280659928917885, 0.4520230293273926, -0.20190417766571045, -0.4330749809741974, 0.3473789691925049, -0.12236249446868896, -0.14294718205928802, 0.25195518136024475, 0.4078066051006317, 0.5914385914802551, 0.11805657297372818, -0.5005390048027039, 0.9095019102096558, -0.15799641609191895, -0.5571480989456177, -0.0606166273355484, -0.12790153920650482, -0.3779169023036957, 0.2521391808986664, 0.6416857838630676, 0.4226241707801819, 0.3168986439704895, -0.4040076434612274, 0.4617825746536255, 0.7326191663742065, -0.38704952597618103, -0.6118054986000061, 0.8346924781799316, 0.08037165552377701, 0.09689687937498093, -0.17174966633319855, 0.004656890872865915, -0.8614180684089661, 0.8044664859771729, 0.6478717923164368, 0.737191379070282, -0.3073892295360565, 0.49093979597091675, 0.19535212218761444, 0.5297674536705017, 0.6741858124732971, -0.10656025260686874, -0.005552803166210651, -0.950154721736908, -0.037331558763980865, -0.40560609102249146, -0.44491899013519287, 0.3372247517108917, -0.05400913581252098, 0.11442717909812927, -0.5076570510864258, 0.037501197308301926, 0.7756809592247009, -0.27553045749664307, -0.5908808708190918, 0.6044250130653381, 0.4091087877750397, 0.6203898787498474, -1.0634394884109497, 0.2550150752067566, 0.8524625897407532, -0.3935448229312897, -0.1983892023563385, -0.06721809506416321, 0.11319158971309662, -0.8446683883666992, 0.596200168132782, 0.27794474363327026, -0.07936437427997589, -0.34740447998046875, -0.9092472195625305, -0.27632850408554077, 0.4472021758556366, 0.09221775084733963, -0.3139181435108185, 0.29658615589141846, 0.19816900789737701, 0.5435382723808289, -0.7409655451774597, 0.24206699430942535, 0.13925623893737793, 0.2831985056400299, -0.11289025098085403, -0.4792639911174774, 0.2677410840988159, -0.22217021882534027, -0.0738375261425972, 0.2640449106693268, -0.5234159827232361, 0.9690050482749939, -0.037333693355321884, -0.22495757043361664, -0.4417808949947357, 0.32743847370147705, -0.36785033345222473, 0.8132275342941284, 0.7305361032485962, 0.6024222373962402, 0.07087041437625885, 0.12459733337163925, 0.9798417687416077, 0.23978400230407715, 0.149833545088768, 0.6897403001785278, 0.24125857651233673, 0.23902671039104462, 0.4584227204322815, -0.1986975520849228, 0.8074947595596313, 0.41473549604415894, -0.3695940375328064, 0.44492048025131226, 0.12846113741397858, -0.5408809781074524, -0.3117247223854065, -0.23296679556369781, -0.27152690291404724, 0.21559903025627136, 0.24999120831489563, -0.6729971766471863, -0.5028172731399536, 0.42349380254745483, 0.2433805614709854, 0.3821357190608978, -0.17484335601329803, 0.5812628865242004, -0.06148465350270271, -0.2886720895767212, 0.7496016025543213, 0.05013924837112427, 1.0302928686141968, -0.4046470522880554, 0.05265568196773529, 0.14704696834087372, 0.23624755442142487, -0.39738979935646057, -0.5988956689834595, 0.5210607051849365, 0.05256282538175583, -0.8582751154899597, -0.12090399116277695, 0.8896727561950684, -0.4862087070941925, -0.005889809224754572, 0.678888738155365, 0.37789082527160645, 0.21609556674957275, -0.4359280467033386, -0.8887981176376343, 0.12192066013813019, 0.16417454183101654, 0.00637787813320756, 0.5705921053886414, 0.5338231325149536, -0.20165422558784485, 0.5461621880531311, 0.5805826783180237, -0.4628562033176422, 0.36504805088043213, 0.07079589366912842, 0.8711137175559998, -0.6133831143379211, 0.08842824399471283, -1.0057122707366943, 0.31578007340431213, -0.05717052146792412, -0.21476010978221893, 0.625092089176178, 0.7144036293029785, 1.0340824127197266, -0.4585476517677307, 1.1892600059509277, -0.32906126976013184, 0.5728275179862976, -0.0826338678598404, 0.4538988471031189, -1.0336039066314697, -0.22703474760055542, -0.5642211437225342, -0.5221478939056396, -0.4950793981552124, 0.1823757439851761, -0.3594776690006256, -0.04024341702461243, 0.7921756505966187, 0.7437883019447327, -0.32607778906822205, -0.031023910269141197, 0.6906430125236511, 0.12554903328418732, 0.48429054021835327, 0.6219338774681091, 0.9252137541770935, -0.8530150055885315, 0.8583246469497681, -0.38986849784851074, -0.4401130676269531, -0.11682505905628204, -0.6614300012588501, -1.211319923400879, -0.5951929092407227, -0.6481006741523743, -0.44099995493888855, -0.12911973893642426, 0.49283865094184875, 0.4085294008255005, -0.9975826740264893, 0.07030311971902847, 0.3568444550037384, 0.47443464398384094, 0.09782273322343826, -0.27275487780570984, -0.17623473703861237, -0.36080726981163025, -0.8023468255996704, -0.05409134179353714, 0.3844146430492401, 0.27202093601226807, 0.18088330328464508, -0.04338585585355759, -0.4547385275363922, 0.20607654750347137, 0.905035674571991, 0.16730733215808868, -0.6185911893844604, -0.5228481292724609, -0.16922590136528015, -0.23054717481136322, 0.14388839900493622, 0.9572698473930359, -0.43596968054771423, 0.3871675729751587, 0.04576302319765091, 0.6970294713973999, 0.2533106207847595, -0.047672804445028305, 0.37772586941719055, -0.6254903674125671, 0.19251616299152374, -0.06045294180512428, 0.17400409281253815, 0.3140316307544708, -0.2814117968082428, 0.46957775950431824, 0.9482535719871521, -0.39582523703575134, -0.6517208218574524, 0.26034024357795715, -0.8800866007804871, -0.4057174026966095, 0.8550128936767578, 0.03893328085541725, -0.21904951333999634, -0.3622468411922455, -0.20816627144813538, -0.01197726372629404, -0.5658515095710754, 0.6670007705688477, 0.702904224395752, 0.21584802865982056, -0.2891894280910492, -0.3350614309310913, 0.39689046144485474, 0.5503248572349548, -0.5675787925720215, -0.15822511911392212, 0.8200252652168274, 0.5284788012504578, 0.35658156871795654, 0.486762672662735, -0.03801076486706734, 0.557025671005249, 0.011071212589740753, 0.4230954349040985, 0.1627117246389389, -0.30758148431777954, -0.16562490165233612, 0.33496996760368347, -0.45648491382598877, -0.3777919113636017 ]
http://arxiv.org/abs/2402.04957v2
http://arxiv.org/pdf/2402.04957v2
Reconfidencing LLMs from the Grouping Loss Perspective
2024-02-07T15:40:22
2024-06-18T20:31:56
Lihu Chen, Alexandre Perez-Lebel, Fabian M. Suchanek, Gaël Varoquaux
cs.CL
cs.CL
Large Language Models (LLMs), including ChatGPT and LLaMA, are susceptible to generating hallucinated answers in a confident tone. While efforts to elicit and calibrate confidence scores have proven useful, recent findings show that controlling uncertainty must go beyond calibration: predicted scores may deviate significantly from the actual posterior probabilities due to the impact of grouping loss. In this work, we construct a new evaluation dataset derived from a knowledge base to assess confidence scores given to answers of Mistral and LLaMA. Experiments show that they tend to be overconfident. Further, we show that they are more overconfident on some answers than others, \emph{eg} depending on the nationality of the person in the query. In uncertainty-quantification theory, this is grouping loss. To address this, we propose a solution to reconfidence LLMs, canceling not only calibration but also grouping loss. The LLMs, after the reconfidencing process, indicate improved confidence alignment with the accuracy of their responses.
[ -0.3129887282848358, -0.6469546556472778, 0.6232452988624573, 0.17864501476287842, -0.18015331029891968, 0.3929428160190582, -0.2615852653980255, -0.07225363701581955, 0.22343972325325012, 0.43411898612976074, -0.5115888118743896, -0.5755491256713867, -0.7726705074310303, -0.05406772345304489, -0.5978972911834717, 0.9727879166603088, -0.22623063623905182, -0.1399291753768921, -0.15283383429050446, -0.13005313277244568, -0.5199897885322571, -0.7120429277420044, -0.7036020755767822, -0.5247161388397217, 0.6432097554206848, 0.43089553713798523, 0.7533667683601379, 0.35722845792770386, 0.3543494641780853, 0.23376213014125824, -0.09332746267318726, 0.1549428105354309, -0.9621273875236511, 0.19117392599582672, -0.14667661488056183, -1.0539748668670654, -0.18254493176937103, 0.14256252348423004, 0.5886848568916321, 0.8195272088050842, -0.9642376899719238, 0.09103841334581375, 0.049962662160396576, 0.6708912253379822, -0.6692206859588623, 0.08446066081523895, -0.9210282564163208, 0.0951700508594513, 0.1814429759979248, -0.4001682996749878, -0.5224801898002625, -0.7439482808113098, 0.12311027944087982, -0.5406182408332825, 0.29073166847229004, 0.15270638465881348, 0.6771376132965088, 0.6484287977218628, -0.3577060401439667, -0.22695930302143097, -0.7270625233650208, 0.8873873949050903, -0.5269580483436584, 0.1693437248468399, 0.5847556591033936, 0.12852218747138977, -0.4725673496723175, -0.3457227051258087, -0.3895718455314636, 0.09209104627370834, 0.07053008675575256, 0.28890010714530945, -0.13657912611961365, -0.050795622169971466, -0.258958101272583, 0.629523754119873, -0.5535677075386047, 0.08952644467353821, -0.2179834097623825, -0.3561374247074127, 0.780070424079895, 0.2588137090206146, -0.29685845971107483, 0.30506211519241333, -0.26190152764320374, -0.07316609472036362, -0.8373915553092957, -0.17926804721355438, 0.1502840518951416, 0.11725297570228577, 0.26422762870788574, 0.6738734245300293, -0.1036759689450264, 0.3357389271259308, 0.39342132210731506, -0.3488781452178955, 0.11426316201686859, 0.087931327521801, -0.335114985704422, 0.26565128564834595, 0.5017427206039429, 0.8119163513183594, 0.5094461441040039, -0.1408696323633194, -0.11478836834430695, 0.07804863899946213, 0.1484033316373825, -0.569341778755188, -0.1849217265844345, 0.31861385703086853, -0.4650529623031616, -0.27096813917160034, -0.09219475090503693, -0.4599956274032593, -0.6372353434562683, -0.19876056909561157, 0.5155245661735535, -0.2416667342185974, -0.2059730887413025, 0.35909146070480347, -0.15595270693302155, 0.4594743549823761, 0.6169318556785583, -0.6107673645019531, 0.47292158007621765, 0.6847923398017883, 0.7949357628822327, -0.30874988436698914, -0.1424654871225357, -0.17939017713069916, -0.0010681637795642018, -0.6723966002464294, 0.6007022261619568, -0.30360081791877747, -0.9319062829017639, -0.0725325420498848, -0.03786860778927803, -0.14511317014694214, -0.6554611921310425, 0.2178722769021988, -0.6477628946304321, 0.5196394324302673, -0.31467634439468384, -0.803799569606781, -0.583544135093689, 0.5654059648513794, -0.4913875460624695, 0.9799604415893555, 0.18502944707870483, -0.6027038097381592, 0.24722346663475037, 0.21571949124336243, -0.14973963797092438, -0.24651683866977692, -0.2595261037349701, -0.14783185720443726, 0.2850019633769989, 0.15839825570583344, 0.45349499583244324, -0.3838750422000885, 0.09965576231479645, -0.21855869889259338, -0.6014807820320129, 0.5216282606124878, -0.4652828276157379, 0.4037680923938751, -0.01855427213013172, -0.07401484251022339, -0.16095271706581116, -0.5586153268814087, 0.2803100049495697, -0.12211631238460541, -0.447100967168808, -0.3568932116031647, 0.06887916475534439, -0.45431211590766907, -0.034687358886003494, 0.10689321905374527, -0.4259825050830841, 0.2888735234737396, -0.18481330573558807, 0.24792668223381042, 1.0757622718811035, 0.369364857673645, 0.32107529044151306, -0.6394844651222229, 0.6726692914962769, -0.13707393407821655, 0.15451665222644806, 0.28501659631729126, -0.6558976769447327, -0.9590432047843933, 0.017675574868917465, 0.01514962688088417, 0.7517169117927551, -0.6682195663452148, 0.34330931305885315, -0.26586002111434937, -0.6905015110969543, -0.5838338732719421, -0.03907551243901253, 0.25445887446403503, 0.5473828315734863, 0.175123929977417, -0.4772297441959381, -0.4638940989971161, -0.804889440536499, -0.05416274443268776, -0.47224950790405273, -0.16802097856998444, 0.059966955333948135, 0.2816139757633209, -0.28014349937438965, 0.8086702823638916, -0.7021998763084412, -0.2398170828819275, -0.028843916952610016, 0.11095589399337769, 0.2895134687423706, 0.36209195852279663, 0.036471668630838394, -0.7739066481590271, -0.13383112847805023, 0.006637154147028923, -0.420133113861084, 0.11471834033727646, -0.0865076333284378, 0.019740309566259384, 0.38618004322052, 0.4611392319202423, -0.6184927821159363, 0.53305983543396, 0.7705406546592712, 0.022518442943692207, 0.6519477367401123, 0.24709714949131012, 0.3958527743816376, -1.1250979900360107, -0.27326416969299316, -0.20686212182044983, -0.21297305822372437, -0.24717293679714203, -0.22211095690727234, -0.38027146458625793, 0.45808351039886475, -0.14330871403217316, 0.0652833804488182, -0.1998964548110962, 0.026688208803534508, -0.11832435429096222, 0.3131231963634491, 0.22667402029037476, 0.4794461131095886, 0.026324614882469177, 0.7538970708847046, 0.417498379945755, -0.5708078742027283, 0.4366430938243866, 0.20589324831962585, -0.44186922907829285, 0.5569242835044861, -0.7167444825172424, 0.045254699885845184, -0.38708770275115967, 0.4507948160171509, -1.361036777496338, -0.33609768748283386, 0.28887939453125, -0.69676673412323, 0.3011902868747711, -0.04127901792526245, -0.0633067712187767, -0.0714353621006012, -0.5137864947319031, 0.49490922689437866, 0.440496563911438, -0.29259011149406433, 0.35929250717163086, 0.369110107421875, -0.1702897846698761, -0.9749363660812378, -1.1629788875579834, 0.019687511026859283, -0.5114748477935791, -0.41990774869918823, 0.4850863218307495, -0.11210224777460098, -0.4280988276004791, -0.02206319198012352, -0.28608283400535583, -0.1880258321762085, -0.09501022100448608, 0.3532201051712036, 0.1824665516614914, -0.12711703777313232, 0.6787718534469604, -0.27824944257736206, -0.07473060488700867, 0.13241764903068542, -0.033882591873407364, 0.7425543069839478, -0.29195916652679443, -0.5248903632164001, -0.23973901569843292, 0.39761048555374146, 0.29960986971855164, -0.18031945824623108, 1.0445289611816406, 0.4080692529678345, -0.29569706320762634, -0.016601894050836563, -0.919930100440979, -0.05885292962193489, -0.45439842343330383, 0.4945879280567169, -0.2136588990688324, -1.3907791376113892, 1.0073703527450562, -0.031757526099681854, -0.09942006319761276, 0.5302822589874268, 0.8424467444419861, -0.02850605547428131, 0.7299981713294983, 0.7592909932136536, -0.3416205048561096, 0.17052723467350006, -0.17283478379249573, 0.16144824028015137, -0.7612109184265137, -0.4199604392051697, -0.37004682421684265, -0.21643386781215668, -0.8220380544662476, -0.508105456829071, 0.24213191866874695, 0.012580000795423985, -0.36820903420448303, -0.05459127202630043, -0.5875531435012817, 0.5932713747024536, 0.4676700234413147, 0.22919870913028717, 0.363552063703537, -0.20268473029136658, 0.38869351148605347, 0.0345408134162426, -0.6593161821365356, -0.48893922567367554, 1.160512924194336, 0.357491135597229, 1.4209703207015991, 0.2781280279159546, 0.9754233360290527, 0.12463671714067459, 0.5603640079498291, -1.2067583799362183, 0.3184967041015625, 0.33553794026374817, -0.5294424891471863, -0.47849684953689575, -0.7153285145759583, -0.8438855409622192, 0.3072223663330078, 0.06597905606031418, -0.9303846955299377, 0.3828200697898865, -0.014458907768130302, -0.6106593012809753, 0.15463577210903168, -0.522996723651886, 0.4322839081287384, 0.14499545097351074, 0.06596458703279495, -0.09610674530267715, -0.7451685070991516, 0.8108099699020386, -0.31303468346595764, 0.04277116060256958, -0.14406871795654297, -0.233088418841362, 0.6717274188995361, -0.37853914499282837, 0.9195414185523987, 0.20073924958705902, -0.6256898641586304, 0.5156417489051819, 0.23337000608444214, 0.31252554059028625, 0.14483925700187683, -0.407869815826416, 0.016571396961808205, 0.10068970173597336, -0.0755615308880806, -0.8364591598510742, 0.7610170841217041, -0.6904319524765015, -0.8336195349693298, -0.286760538816452, -0.39470237493515015, -0.06351546198129654, -0.15461884438991547, 0.6618394255638123, 0.05473288521170616, -0.23834243416786194, 0.034659869968891144, 0.8890394568443298, -0.24101223051548004, 0.12993226945400238, 0.27095356583595276, -0.2933363616466522, -0.540749728679657, 0.43507203459739685, 0.17305085062980652, 0.5699805617332458, 0.20608019828796387, 0.047541894018650055, -0.4267789125442505, -0.33807143568992615, 0.07058853656053543, 0.21559244394302368, -0.8267384767532349, -0.4104470908641815, 0.04496714100241661, -0.2320147156715393, -0.44931137561798096, -0.10798753052949905, -0.3670436441898346, -0.559205949306488, -0.1680363416671753, -0.2814105153083801, 0.3753136694431305, 0.6408929824829102, -0.01924099214375019, 0.6949690580368042, -0.7139260172843933, -0.013423087075352669, 0.3260531425476074, 0.3231833875179291, -0.05460122227668762, -0.8802231550216675, -0.04739886149764061, 0.03740597143769264, -0.08925066143274307, -1.1242270469665527, 0.2998957633972168, 0.3946070075035095, 0.610356867313385, 0.5015027523040771, 0.20622943341732025, 0.9007239937782288, -0.2685287892818451, 0.6583474278450012, -0.016888368874788284, -0.8897644281387329, 0.39591315388679504, 0.014322619885206223, 0.14806212484836578, 0.6444540619850159, 0.43437570333480835, -0.95868319272995, -0.3885151445865631, -0.5223820209503174, -0.6894232034683228, 0.3139219582080841, 0.060947589576244354, 0.05141491815447807, -0.07039052248001099, 0.679296612739563, -0.15178902447223663, 0.36676111817359924, -0.7437928318977356, -0.3368355631828308, -0.009618249721825123, -0.09701584279537201, -0.2609347105026245, -0.43415799736976624, -0.49891212582588196, -0.08851758390665054, 0.7399867177009583, 0.1023571789264679, 0.20443183183670044, 0.43192270398139954, 0.1344987452030182, -0.3375518321990967, 0.24697662889957428, 0.4993683099746704, 0.473623126745224, -0.24456600844860077, 0.16762807965278625, 0.34329143166542053, -0.4031681418418884, 0.5691707134246826, -0.20548754930496216, 0.17366835474967957, -0.131890207529068, 0.6572959423065186, 0.3562527596950531, -0.10379193723201752, -0.47852569818496704, 0.6486390829086304, -0.18911267817020416, -0.2331874668598175, -0.5183334946632385, -0.00850888155400753, 0.046825751662254333, 0.12238464504480362, 0.428646057844162, 0.11047085374593735, 0.11708641797304153, -0.5689219832420349, 0.33999109268188477, 0.24994710087776184, -0.41337448358535767, 0.10819549858570099, 0.21707698702812195, -0.14362545311450958, -0.10888750106096268, 0.7651719450950623, -0.20790335536003113, -0.8178277611732483, 0.5625320076942444, 0.4713635742664337, 0.7031586766242981, -0.8152560591697693, 0.2526038885116577, 0.24730588495731354, 0.7250332236289978, -0.3506132960319519, 0.12380091100931168, 0.26860958337783813, -1.0957404375076294, -0.8040173053741455, -0.43647634983062744, -0.42370784282684326, -0.09112965315580368, -1.040200114250183, -0.1868181824684143, -0.4303325414657593, -0.3686559498310089, -0.5739325881004333, -0.11963266134262085, -0.21521484851837158, 0.3333692252635956, 0.04517418518662453, 0.6583252549171448, -0.771388828754425, 0.6352025270462036, 0.38998937606811523, -0.17289166152477264, -0.9390569925308228, 0.05183528736233711, 0.2602899372577667, -1.1071230173110962, 0.39212819933891296, 0.2829577922821045, -0.39588287472724915, -0.10676076263189316, -0.6537904143333435, -1.0845539569854736, 1.1289502382278442, 0.27576401829719543, -0.4808087944984436, 0.13294927775859833, 0.19836248457431793, 0.5052459836006165, -0.21453605592250824, -0.02478761598467827, 0.7869715094566345, 0.3311615288257599, 0.4670356214046478, -0.9170126914978027, 0.11707639694213867, 0.18308505415916443, -0.1299780309200287, 0.2455407828092575, -0.7767879962921143, 1.1334601640701294, -0.26814666390419006, -0.4214493930339813, 0.14216051995754242, 0.5596145987510681, 0.31365346908569336, 0.06491102278232574, 0.5140991806983948, 0.6655627489089966, 1.0716131925582886, -0.20889931917190552, 0.8856529593467712, 0.0974002256989479, 0.4118991792201996, 1.3665342330932617, -0.18812821805477142, 1.0511690378189087, 0.6393139362335205, -0.3583410084247589, 0.44753217697143555, 0.9984410405158997, 0.24977737665176392, 0.4550173282623291, 0.6523224115371704, -0.43313834071159363, -0.5385063886642456, -0.047565534710884094, -0.3842678666114807, 0.6401268243789673, 0.7692260146141052, -0.27281060814857483, -0.11116975545883179, -0.24651767313480377, 0.17493700981140137, 0.041626427322626114, -0.44987842440605164, 0.45521286129951477, 0.31381353735923767, -0.615478515625, 0.8535333871841431, -0.05552617833018303, 0.5670475363731384, -0.4094575345516205, 0.06609612703323364, -0.5526826977729797, 0.2429559975862503, -0.3609401285648346, -0.8468424677848816, 0.3758074939250946, -0.4060247838497162, -0.059863392263650894, 0.27258068323135376, 0.3864228129386902, -0.708396852016449, -0.5055605173110962, 0.043883297592401505, 0.5271248817443848, 0.37191420793533325, -0.37114202976226807, -0.44595837593078613, -0.014267046935856342, 0.23199711740016937, -0.36093389987945557, -0.12240101397037506, 0.5396203994750977, -0.1155596673488617, 1.1596907377243042, 0.2365560233592987, -0.1085471510887146, 0.08473408967256546, 0.07203054428100586, 0.9197207093238831, -0.5221876502037048, 0.09324169903993607, -0.9978029131889343, 0.1510484665632248, 0.10680682212114334, -0.4030264914035797, 0.9009567499160767, 0.4022985100746155, 0.6976109743118286, 0.2174631804227829, 0.5825597643852234, 0.14172358810901642, 0.5347495079040527, -0.5008158683776855, 0.6949995160102844, -0.46337810158729553, 0.414817214012146, -0.36958208680152893, -0.9205787181854248, -0.6011936664581299, 0.7124407291412354, -0.08237496763467789, -0.005657278932631016, 0.5138888955116272, 1.115842580795288, 0.4686123728752136, -0.15157507359981537, 0.3214126527309418, 0.19136826694011688, 0.3137085437774658, 0.806264340877533, 1.1515291929244995, -0.5056544542312622, 0.6590271592140198, -0.14569582045078278, -0.3571309447288513, -0.11904638260602951, -0.812340497970581, -0.6511964201927185, -0.396842360496521, -0.3494172692298889, -0.20653460919857025, 0.00045708174002356827, 0.60931396484375, 0.40171918272972107, -0.7253949046134949, -0.23567646741867065, 0.11796160787343979, 0.16590404510498047, -0.10525625944137573, -0.21106231212615967, 0.4758032560348511, -0.15764620900154114, -0.4156472384929657, 0.21917998790740967, 0.0253615640103817, 0.317542165517807, -0.37328803539276123, -0.10215368866920471, 0.030149048194289207, 0.1284114569425583, 0.5666717886924744, -0.006476891227066517, -0.9212011098861694, -0.6024129390716553, -0.0910361036658287, -0.09167326986789703, -0.07500222325325012, 0.4276505410671234, -0.7102895975112915, 0.11697637289762497, 0.13581524789333344, 0.5425131320953369, 0.25457048416137695, 0.3936328887939453, 0.8485667109489441, -0.9758929014205933, 0.07834941893815994, 0.2895737588405609, 0.3017332851886749, 0.3774610757827759, -0.35144031047821045, 0.6753681898117065, 0.04187995195388794, -0.8552147746086121, -0.6011366248130798, 0.18346863985061646, -1.0351978540420532, -0.07089489698410034, 1.0196003913879395, -0.3110346794128418, -0.08168228715658188, 0.0265948586165905, -0.44670370221138, 0.2710639536380768, -0.3594391345977783, 1.0343679189682007, 1.0456857681274414, -0.16701334714889526, -0.2351350635290146, -0.12138049304485321, 0.5173220634460449, 0.5807803273200989, -0.6562033295631409, 0.2534444332122803, 0.5970176458358765, 0.08012289553880692, 0.23666304349899292, 0.6829137206077576, 0.004646082874387503, 0.04147765412926674, 0.0006911850650794804, 0.26570162177085876, 0.4602985084056854, -0.05131850764155388, -0.4400262236595154, 0.04539318010210991, 0.2945624887943268, -0.434343546628952 ]
http://arxiv.org/abs/2402.04918v1
http://arxiv.org/pdf/2402.04918v1
Prompting Implicit Discourse Relation Annotation
2024-02-07T14:44:42
2024-02-07T14:44:42
Frances Yung, Mansoor Ahmad, Merel Scholman, Vera Demberg
cs.CL
cs.CL, cs.AI
Pre-trained large language models, such as ChatGPT, archive outstanding performance in various reasoning tasks without supervised training and were found to have outperformed crowdsourcing workers. Nonetheless, ChatGPT's performance in the task of implicit discourse relation classification, prompted by a standard multiple-choice question, is still far from satisfactory and considerably inferior to state-of-the-art supervised approaches. This work investigates several proven prompting techniques to improve ChatGPT's recognition of discourse relations. In particular, we experimented with breaking down the classification task that involves numerous abstract labels into smaller subtasks. Nonetheless, experiment results show that the inference accuracy hardly changes even with sophisticated prompt engineering, suggesting that implicit discourse relation classification is not yet resolvable under zero-shot or few-shot settings.
[ -0.5972315073013306, -0.7720051407814026, 0.8195900917053223, 0.23965907096862793, -0.12155764549970627, -0.05843985825777054, -0.11641115695238113, -0.45052120089530945, -0.21240776777267456, 0.11072015017271042, -0.7609702944755554, -0.2417626678943634, -0.5485425591468811, 0.21711429953575134, -0.13883034884929657, 1.157746434211731, 0.11454147100448608, 0.13837915658950806, -0.2527458071708679, -0.023574968799948692, -0.42838385701179504, -0.5897116661071777, -1.1061382293701172, -0.28885480761528015, 0.8058096766471863, 0.3413318693637848, 0.4902845621109009, 0.16814059019088745, -0.03559745103120804, 0.2893131673336029, -0.36317530274391174, 0.4326777458190918, -0.3625235855579376, 0.2699558138847351, -0.020858867093920708, -0.36746126413345337, -0.11518487334251404, 0.3349267542362213, 0.47062161564826965, 0.7095507979393005, 0.334457129240036, 0.1841578185558319, 0.19517602026462555, 0.39727047085762024, -0.6695502996444702, 0.6053193807601929, -0.5152338743209839, -0.05496630817651749, -0.14667579531669617, -0.16309203207492828, -0.8559257984161377, -0.48644301295280457, 0.41537779569625854, -0.651051938533783, 0.21741360425949097, 0.2904049754142761, 0.8774498105049133, 0.32714393734931946, -0.49517905712127686, -0.25944316387176514, -0.5408031344413757, 0.40498843789100647, -0.3329518139362335, 0.22015361487865448, 0.6343932747840881, 0.17892564833164215, -0.20754596590995789, -0.6767225861549377, -0.48123952746391296, -0.5032221078872681, -0.5209681391716003, 0.22632844746112823, -0.10824566334486008, 0.46166425943374634, 0.7615995407104492, -0.10302752256393433, -0.41311323642730713, 0.06974129378795624, -0.3604893684387207, -0.14220504462718964, 0.28447791934013367, -0.096260204911232, 0.1116928830742836, -0.3963225185871124, -0.23172099888324738, 0.12543641030788422, -0.7784448862075806, 0.10200877487659454, 0.20328854024410248, 0.24101634323596954, 0.20640131831169128, 0.4339146614074707, -0.07181459665298462, 0.5652111768722534, 0.22359497845172882, 0.16159047186374664, 0.04097943380475044, -0.1161997839808464, -0.04157145321369171, 0.07250731438398361, 0.7707505226135254, 0.024189118295907974, 0.5801288485527039, 0.3087710738182068, 0.21703554689884186, 0.04352870211005211, -0.016478316858410835, -0.6557469964027405, -0.47878149151802063, 0.17325884103775024, -0.08746203780174255, 0.1225586012005806, -0.1472335010766983, -0.41294610500335693, -0.37421566247940063, -0.4081067144870758, 0.16558651626110077, -0.5798115134239197, -0.07786881178617477, -0.2787843644618988, -0.22850297391414642, 0.3559035360813141, 0.728117048740387, -0.8457027077674866, 0.17141574621200562, 0.6686529517173767, 0.8432784080505371, 0.09638277441263199, -0.2181691825389862, -0.6656013131141663, 0.018314115703105927, -0.28118082880973816, 1.2426589727401733, -0.6195284128189087, -0.4661187529563904, 0.037051718682050705, -0.05875171348452568, -0.2838450074195862, -0.16031426191329956, 0.4713174104690552, -0.4284559190273285, 0.5569276213645935, -0.483933687210083, -0.5230352878570557, -0.15233179926872253, 0.37771087884902954, -0.39801663160324097, 0.9988712668418884, -0.09760598838329315, -1.0228807926177979, 0.3645147383213043, -0.7459387183189392, -0.2504478394985199, 0.09445229172706604, -0.2774347960948944, -0.22680193185806274, -0.11361773312091827, 0.7016491293907166, 0.5532913208007812, 0.09033598005771637, 0.14205928146839142, -0.21133917570114136, -0.3883160948753357, 0.18577370047569275, -0.42492127418518066, 0.7940554022789001, -0.04618899151682854, -0.07181881368160248, 0.039385709911584854, -0.5365673303604126, -0.08284702897071838, -0.15901322662830353, -0.04254401475191116, -0.38904231786727905, -0.20051103830337524, -0.3999083340167999, 0.27335238456726074, -0.12776002287864685, -0.4481169879436493, 0.3909543454647064, -0.4559544324874878, 0.2743532359600067, 0.8594744801521301, 0.2687815725803375, 0.3771555423736572, -0.14157810807228088, 0.5249063968658447, -0.04352819547057152, -0.13871771097183228, -0.5069405436515808, -0.8235620856285095, -1.0638056993484497, -0.15714038908481598, 0.646068811416626, 0.5884343385696411, -1.0486526489257812, -0.2050965130329132, -0.2365397810935974, -0.36135798692703247, -0.43529319763183594, -0.3349781036376953, 0.5510852336883545, 0.709458589553833, 0.40451085567474365, 0.04206380248069763, -0.4685046970844269, -0.8454702496528625, -0.09447789192199707, -0.6116666793823242, -0.04855967313051224, 0.48959532380104065, 0.45838335156440735, 0.27027544379234314, 0.8900769948959351, -0.7036488056182861, -0.07106269150972366, 0.09984029829502106, 0.8248751163482666, -0.11242716759443283, 0.390191912651062, 0.44467440247535706, -0.461360365152359, -0.5561431050300598, -0.06317735463380814, -0.4442880153656006, -0.24527481198310852, 0.018292034044861794, -0.06680233776569366, 0.21214711666107178, 0.6391454339027405, -0.7985113263130188, 0.3806694447994232, 0.2837284207344055, 0.005394378677010536, 0.7586642503738403, 0.09417746961116791, 0.21490919589996338, -0.653060793876648, -0.12743401527404785, -0.04609883204102516, -0.26926350593566895, -0.6129777431488037, -0.43639490008354187, -0.08034820109605789, -0.1587521731853485, -0.6675702929496765, 0.5413429141044617, -0.7408611178398132, 0.07663869857788086, -0.17312321066856384, 0.11336564272642136, -0.12600627541542053, 0.7736665606498718, 0.44212988018989563, 0.899779736995697, 0.5597357749938965, -0.7420401573181152, 0.1813151240348816, 0.501798152923584, 0.06608618050813675, 0.6782933473587036, -0.6475408673286438, 0.5456767678260803, -0.45140209794044495, 0.5428085327148438, -1.3834989070892334, -0.33644261956214905, 0.5566093325614929, -0.5619417428970337, 0.33882391452789307, -0.7869663238525391, -0.4051634967327118, -0.193623885512352, -0.22773988544940948, 0.39433524012565613, 0.544446587562561, -0.6388655304908752, 0.3639731705188751, 0.014541026204824448, -0.48106521368026733, -0.6246360540390015, -0.5176382660865784, -0.0818944126367569, -0.025455452501773834, -0.4043809175491333, -0.005810950882732868, 0.19807161390781403, -0.16077762842178345, -0.08884097635746002, 0.004390188492834568, -0.2950301170349121, -0.36293935775756836, 0.4673282504081726, 0.28316935896873474, -0.13454125821590424, 0.5119076371192932, 0.2940407991409302, -0.33196842670440674, 0.15534646809101105, -0.029893599450588226, 0.2412382811307907, -0.046627603471279144, -0.35236719250679016, -0.5041350722312927, 0.32524192333221436, 0.2228584736585617, -0.13019733130931854, 0.668366014957428, 0.3606034517288208, -0.12079279869794846, 0.00242676236666739, -0.6927422285079956, -0.3173513412475586, -0.4547804594039917, -0.06988626718521118, -0.4301418364048004, -1.2320683002471924, 0.16375544667243958, -0.3819103240966797, 0.24245820939540863, 0.21887381374835968, 0.06646066904067993, -0.13898180425167084, 1.1691991090774536, 0.11404746770858765, 0.11092065274715424, 0.31259575486183167, 0.1542668491601944, 0.05678777024149895, -0.709536612033844, -0.0532371886074543, -0.7934688925743103, 0.030903955921530724, -0.6745626926422119, -0.2611337900161743, 0.427642285823822, -0.42969268560409546, -0.11175043135881424, 0.11396684497594833, -0.5714579820632935, 0.459011048078537, 0.3165830075740814, 0.0210273340344429, 0.3808344006538391, -0.14088362455368042, -0.00602090684697032, -0.2322591096162796, -0.713679313659668, -0.42919921875, 0.456258624792099, 0.15192700922489166, 0.4627176821231842, -0.22757621109485626, 0.6269439458847046, -0.08627954125404358, 0.6227446794509888, -0.8669579029083252, 0.6847425103187561, 0.21717026829719543, -0.5633864402770996, -0.33236822485923767, -0.4245397448539734, -1.1874611377716064, 0.3953184485435486, -0.09843951463699341, -0.7878457903862, 0.20616257190704346, 0.39312320947647095, -0.5167545080184937, -0.22041146457195282, -0.9534829258918762, 0.5067746043205261, 0.15352384746074677, -0.1550818830728531, 0.24054893851280212, -0.5833989381790161, 0.553469181060791, 0.22606869041919708, 0.2167748063802719, -0.2356748729944229, -0.005183867644518614, 0.5765382051467896, -0.4358431398868561, 0.9364585876464844, -0.29009872674942017, -0.04224380478262901, 0.37166765332221985, 0.08260467648506165, 0.5661348104476929, 0.1414240151643753, 0.10467659682035446, -0.23980043828487396, -0.2010602504014969, -0.3142423629760742, -0.8848166465759277, 0.47391319274902344, -0.3814418911933899, -0.8456586599349976, -0.4694068431854248, -0.3489404320716858, -0.6223511099815369, 0.05443105101585388, 0.42360374331474304, 0.21358099579811096, -0.12797661125659943, -0.151333749294281, 0.6957679986953735, -0.005644191987812519, 0.4261898398399353, 0.25049880146980286, -0.24080757796764374, -0.03637019544839859, 0.5676788687705994, 0.3767699897289276, 0.17019329965114594, 0.08411788195371628, 0.03947833180427551, -0.5080752968788147, -0.351484090089798, -0.3470495045185089, 0.2786400020122528, -0.5989524126052856, -0.13762015104293823, -0.8308982849121094, -0.2517232298851013, -0.462952584028244, 0.009475854225456715, -0.2586328983306885, -0.5917672514915466, -0.2501783072948456, -0.34953632950782776, 0.4927699565887451, 0.6299494504928589, 0.1308339238166809, 0.35439953207969666, -0.6599913835525513, 0.15324319899082184, 0.6816422939300537, 0.04090672731399536, -0.029012449085712433, -0.3659193515777588, 0.29181554913520813, -0.12710461020469666, -0.11308493465185165, -1.023099660873413, -0.008032465353608131, 0.1763773262500763, 0.2441193014383316, 0.3649511933326721, 0.16795608401298523, 0.9305649399757385, -0.706717312335968, 0.8838738203048706, 0.0287022665143013, -0.887971818447113, 0.8942207098007202, -0.38800525665283203, 0.4810652732849121, 0.4637766182422638, 0.7786703109741211, -0.3624178469181061, -0.5075685977935791, -0.7452676296234131, -0.7681360840797424, 0.9013590812683105, 0.41475239396095276, 0.31173476576805115, -0.14336273074150085, 0.2948552668094635, 0.06307364255189896, 0.0929885134100914, -0.8148717284202576, -0.34417054057121277, -0.15769153833389282, 0.2782948911190033, 0.2834632694721222, -0.37223997712135315, 0.10998343676328659, -0.4020671248435974, 0.8323197364807129, -0.1862143874168396, 0.27200353145599365, 0.294656902551651, -0.02210402302443981, 0.2476627677679062, 0.48077383637428284, 0.49106383323669434, 0.6617972254753113, 0.16240088641643524, 0.2609252631664276, 0.4576585590839386, -0.21429170668125153, 0.4251755475997925, 0.36784517765045166, -0.30796560645103455, 0.34510669112205505, 0.22390469908714294, 0.7735588550567627, 0.38230231404304504, -0.2655971646308899, 0.4630313515663147, -0.22511960566043854, -0.40171438455581665, -0.17356649041175842, 0.1005198284983635, 0.25529763102531433, -0.04061237350106239, 0.29665765166282654, -0.19934190809726715, 0.18445317447185516, -0.289005309343338, 0.013064654543995857, 0.3331749141216278, -0.5549405813217163, -0.05968722328543663, 0.32359543442726135, 0.20257672667503357, -0.16715367138385773, 0.7608359456062317, -0.4800111651420593, -0.46495673060417175, 0.13105225563049316, 0.14824886620044708, 0.6409797668457031, -0.4310150444507599, 0.5109303593635559, 0.513401985168457, 0.28955671191215515, -0.2572094798088074, -0.02386368066072464, -0.2995254695415497, -0.6254001259803772, -0.9066862463951111, -0.008744649589061737, -0.7091760635375977, 0.21802884340286255, -0.5012592673301697, 0.2531832754611969, -0.5436973571777344, -0.2578468322753906, 0.22416575253009796, -0.3341713845729828, -0.4622056186199188, 0.09236221760511398, 0.10331035405397415, 0.6238579750061035, -0.6696035861968994, 0.473018079996109, 0.7244013547897339, -0.39750903844833374, -1.0542964935302734, -0.053319428116083145, 0.09754662960767746, -0.40407875180244446, 0.7412075400352478, 0.3502940833568573, -0.16431055963039398, 0.13082191348075867, -0.8696407079696655, -0.512637197971344, 0.46407148241996765, 0.5539718866348267, -0.3250061869621277, -0.09845495969057083, -0.04928332194685936, 0.5060089230537415, -0.003222591010853648, 0.5712785124778748, 0.41617313027381897, 0.7111992239952087, 0.33764252066612244, -1.0275436639785767, 0.17725388705730438, -0.16999702155590057, -0.06687746942043304, 0.19073624908924103, -0.5121089816093445, 0.5858107209205627, 0.0019119539065286517, -0.41091445088386536, -0.10045920312404633, 0.8476997017860413, 0.3498941957950592, 0.4176875650882721, 0.6216304898262024, 0.12009517848491669, 0.8395677804946899, -0.4614282250404358, 0.7870601415634155, 0.28118324279785156, 0.1324034035205841, 1.277668833732605, -0.31358474493026733, 0.5803980231285095, 0.3339308202266693, -0.17452123761177063, 0.5714859962463379, 0.7297894954681396, -0.0010540992952883244, 0.13421206176280975, 0.038998398929834366, -0.38080716133117676, -0.30504128336906433, -0.3849049210548401, -0.4141709506511688, 0.4335618019104004, 0.5590661764144897, -0.12083700299263, -0.25339049100875854, 0.0016840872121974826, 0.2762698829174042, -0.1834678202867508, -0.3564353287220001, 0.9212347269058228, 0.3246484398841858, -1.2030563354492188, 0.5417708158493042, -0.5533846616744995, 0.5039637088775635, -0.34401872754096985, -0.2501017153263092, -0.07593984156847, -0.6019078493118286, -0.31243813037872314, -0.7006853818893433, 0.10134489834308624, -0.08704127371311188, 0.19910362362861633, -0.32612648606300354, 1.0357187986373901, -0.3410802185535431, -0.17737790942192078, -0.055426280945539474, 0.746803343296051, 0.31897029280662537, -0.19950538873672485, -0.5438864827156067, -0.3597569465637207, -0.19509056210517883, -0.4419339597225189, 0.20401917397975922, 0.7043610215187073, -0.04014382138848305, 0.5066880583763123, 0.7542333006858826, -0.283818781375885, -0.11401571333408356, 0.13899175822734833, 0.8511554002761841, -0.4313425123691559, -0.4731220304965973, -0.8274290561676025, 0.5179502964019775, -0.2822053134441376, -0.2539270222187042, 0.8577949404716492, 0.16505160927772522, 0.5738037824630737, -0.12659695744514465, 0.8186522126197815, 0.14528684318065643, 0.6003177165985107, -0.6098532676696777, 0.24464914202690125, 0.04307987540960312, 0.05207676440477371, -0.4712408483028412, -0.7981829047203064, -0.21817688643932343, 0.523508608341217, -0.6152413487434387, 0.2503010034561157, 0.9270742535591125, 0.6596373319625854, 0.07820312678813934, 0.312898725271225, 0.29095447063446045, 0.12038778513669968, 0.15231716632843018, 0.43632176518440247, 1.3608119487762451, 0.06392889469861984, 0.8080540895462036, -0.0495997853577137, -0.13644033670425415, 0.05794057622551918, -0.9944420456886292, -1.1215810775756836, -0.5399035811424255, -0.546088695526123, -0.25314751267433167, 0.20360194146633148, 0.9569456577301025, 0.8377920985221863, -0.5484552979469299, 0.29138389229774475, -0.15435633063316345, 0.1647285372018814, -0.10443223267793655, -0.24840039014816284, 0.3536553978919983, -0.4727937877178192, -0.895730197429657, 0.1800316423177719, 0.2586425542831421, 0.21248379349708557, -0.12443205714225769, 0.26754048466682434, -0.2939067780971527, -0.047231525182724, 0.7214530110359192, 0.4281165599822998, -0.5832777619361877, -0.5132583975791931, -0.2528750002384186, 0.1853589415550232, 0.16452743113040924, 0.9549077749252319, -0.8750097155570984, 0.09114748984575272, 0.4973302483558655, 0.4656754434108734, 0.6785498857498169, 0.2248537391424179, 0.47944149374961853, -1.1516945362091064, 0.21362833678722382, 0.3596244156360626, 0.23079748451709747, 0.2640960216522217, -0.49936532974243164, 0.6102506518363953, 0.014987340196967125, -0.6687160134315491, -0.5749518275260925, 0.38364624977111816, -0.8095828890800476, -0.2217588573694229, 1.1865921020507812, -0.3965320289134979, -0.14245647192001343, -0.6646932363510132, -0.8367627859115601, 0.14151661098003387, -0.6887041330337524, 0.5276446342468262, 0.9689671993255615, -0.6531703472137451, -0.5781341791152954, -0.5805931091308594, 0.824114978313446, 0.5138509273529053, -0.7914811372756958, 0.12435843050479889, 0.7217585444450378, -0.08620345592498779, 0.3438428044319153, 0.9226199388504028, 0.13380642235279083, 0.47999078035354614, -0.07311058789491653, -0.37009209394454956, -0.12044721096754074, -0.16693545877933502, -0.004090442787855864, 0.3984811007976532, 0.2707388699054718, -0.08185994625091553 ]
http://arxiv.org/abs/2402.04914v1
http://arxiv.org/pdf/2402.04914v1
Personalized Text Generation with Fine-Grained Linguistic Control
2024-02-07T14:41:08
2024-02-07T14:41:08
Bashar Alhafni, Vivek Kulkarni, Dhruv Kumar, Vipul Raheja
cs.CL
cs.CL
As the text generation capabilities of large language models become increasingly prominent, recent studies have focused on controlling particular aspects of the generated text to make it more personalized. However, most research on controllable text generation focuses on controlling the content or modeling specific high-level/coarse-grained attributes that reflect authors' writing styles, such as formality, domain, or sentiment. In this paper, we focus on controlling fine-grained attributes spanning multiple linguistic dimensions, such as lexical and syntactic attributes. We introduce a novel benchmark to train generative models and evaluate their ability to generate personalized text based on multiple fine-grained linguistic attributes. We systematically investigate the performance of various large language models on our benchmark and draw insights from the factors that impact their performance. We make our code, data, and pretrained models publicly available.
[ -0.469232439994812, -0.92207270860672, 0.44269102811813354, 0.3579666316509247, 0.1326238363981247, 0.04948046803474426, -0.46010956168174744, -0.32335135340690613, -0.07985617965459824, 0.5765182375907898, -0.5365471243858337, -0.6597078442573547, -0.4826294779777527, 0.16868124902248383, -0.3132209777832031, 1.3003047704696655, 0.04654603824019432, -0.22313492000102997, -0.25679439306259155, -0.09424102306365967, -0.27913886308670044, -0.7407229542732239, -0.5353719592094421, -0.4235020875930786, 0.735002875328064, 0.17689496278762817, 0.8704192638397217, 0.47799986600875854, 0.590271532535553, 0.30474981665611267, -0.2248796671628952, 0.0702022984623909, -0.36308133602142334, 0.1473747342824936, -0.4095573425292969, -0.28577035665512085, -0.48368117213249207, -0.07987449318170547, 0.6417610049247742, 0.5509030222892761, -0.1443762332201004, 0.2836495339870453, 0.17934492230415344, 0.38951489329338074, -0.7008668780326843, 0.02577320858836174, -0.6925264596939087, 0.06609596312046051, -0.43509605526924133, -0.1788969188928604, -0.5506991744041443, -0.6338399648666382, -0.040452681481838226, -0.49308228492736816, 0.42331916093826294, -0.03441186994314194, 0.9202134013175964, -0.03442179784178734, -0.23037631809711456, -0.2905184328556061, -1.0796902179718018, 0.8588321208953857, -0.8206141591072083, 0.1322336345911026, 0.5873690843582153, 0.26796141266822815, 0.07879878580570221, -0.7980807423591614, -0.5024109482765198, -0.3718970715999603, -0.13087932765483856, 0.008747700601816177, -0.05706218630075455, -0.013293726369738579, 0.16557811200618744, 0.43688929080963135, -0.3053121864795685, 0.34677010774612427, 0.039055995643138885, -0.1797744631767273, 0.6021425724029541, 0.39916378259658813, 0.24821868538856506, -0.174075186252594, -0.2368893176317215, -0.25884002447128296, -0.3185299336910248, 0.14803194999694824, 0.6181498169898987, 0.3911740183830261, -0.13820523023605347, 0.6508812308311462, -0.611863911151886, 0.5520967245101929, 0.06232121214270592, -0.18665584921836853, 0.23215752840042114, -0.503755509853363, -0.05885482206940651, -0.022336173802614212, 1.0986789464950562, 0.1999499350786209, 0.397681325674057, -0.34389644861221313, -0.36952289938926697, -0.11330021917819977, 0.3302507698535919, -0.959294319152832, -0.23279979825019836, 0.1393624097108841, -0.5165839791297913, -0.6875482201576233, -0.16063354909420013, -0.6547128558158875, -0.46013009548187256, -0.2779969274997711, 0.19769956171512604, -0.6427371501922607, 0.03546096384525299, -0.04048710688948631, 0.065936379134655, -0.026981227099895477, 0.08656704425811768, -1.342848777770996, 0.29793599247932434, 0.5298764705657959, 0.7640915513038635, -0.22113560140132904, -0.3958463966846466, -0.49485793709754944, 0.24051569402217865, -0.3008236885070801, 0.6721352934837341, -0.8312034010887146, -0.1180487796664238, 0.2809502184391022, -0.5010825991630554, 0.21356728672981262, -0.380405455827713, 0.2739141583442688, -0.45462316274642944, 0.10525912791490555, -0.0931522399187088, -0.4700961112976074, 0.2623883783817291, 0.171889990568161, -0.5038763880729675, 0.8908494114875793, 0.13308286666870117, -0.6909092664718628, 0.5927169322967529, -0.2419593334197998, -0.5075991749763489, 0.14297746121883392, -0.412149578332901, -0.7796806693077087, 0.39209693670272827, 0.022510001435875893, 0.8299776315689087, -0.39320147037506104, 0.520146369934082, -0.334256649017334, 0.275432288646698, 0.48073312640190125, -0.33549103140830994, 0.09526530653238297, 0.27701494097709656, -0.2697528302669525, 0.2649713456630707, -1.1548999547958374, 0.40201544761657715, 0.14417500793933868, -0.5046907067298889, -0.42803439497947693, 0.01742495223879814, 0.4679168462753296, 0.15538273751735687, 0.47089681029319763, -0.4848378896713257, 0.06331601738929749, -0.24337004125118256, 0.32683810591697693, 0.6782428026199341, -0.02967921644449234, 0.5118729472160339, -0.2959604561328888, 0.47034770250320435, -0.004243981558829546, -0.16670919954776764, -0.24072995781898499, -0.15955394506454468, -0.5589725375175476, -0.0057037826627492905, 0.36247262358665466, 0.20341607928276062, -0.5349695086479187, 0.5866262912750244, -0.013116138055920601, -0.5840461254119873, -0.3102436661720276, 0.3620920479297638, 0.8598664402961731, 0.028888048604130745, 0.29142919182777405, -0.3860219717025757, 0.04546599090099335, -1.0138142108917236, -0.519697904586792, 0.21697767078876495, -0.2189822942018509, 0.5082908272743225, 0.2941873371601105, -0.06599985063076019, 0.8929786682128906, -0.8160702586174011, -0.27263039350509644, -0.43062594532966614, 0.5971640944480896, -0.4174620807170868, 0.6246741414070129, 0.6733503937721252, -0.6924166679382324, -0.5184526443481445, 0.2955567240715027, -0.489493727684021, -0.4006485939025879, -0.4250335693359375, -0.1929446905851364, -0.00785732176154852, 0.43865448236465454, -0.41664159297943115, 0.2995862662792206, 0.6912817358970642, -0.580966591835022, 0.6295377612113953, -0.41819798946380615, -0.08103341609239578, -1.2534223794937134, 0.2930190861225128, 0.2973751127719879, -0.30987051129341125, -0.6557339429855347, 0.26742029190063477, 0.10430403798818588, -0.11063399165868759, -0.2679082453250885, 0.44468703866004944, -0.21187761425971985, 0.09196769446134567, -0.14891012012958527, -0.13858410716056824, 0.033494967967271805, 0.5744302868843079, 0.04972267150878906, 0.7066695690155029, 0.245466947555542, -0.5909612774848938, 0.08848308026790619, 0.3372243642807007, -0.44195085763931274, 0.5720361471176147, -0.7279834151268005, 0.09870750457048416, -0.10351826250553131, -0.05612409859895706, -0.6522606015205383, -0.5524085164070129, -0.3575390875339508, -0.15928944945335388, 0.2654029130935669, 0.475455105304718, -0.668427586555481, 0.048700083047151566, -0.05642079934477806, 0.1225074976682663, 0.3353658616542816, -0.2765622138977051, 0.6038039326667786, 0.09783170372247696, -0.41232380270957947, 0.09065241366624832, -0.6605489253997803, -0.038341421633958817, -0.06421622633934021, -0.2809121012687683, 0.5489639639854431, -0.16842080652713776, -0.10230804234743118, -0.15600332617759705, 0.24484916031360626, -0.11438155919313431, 0.14475153386592865, 0.18264944851398468, -0.27155762910842896, -0.11957579106092453, 0.11566409468650818, 0.39087533950805664, -0.1061679944396019, -0.048413489013910294, 0.04199298471212387, 0.906287431716919, 0.02198869176208973, 0.01840253360569477, -0.6424168944358826, 0.3604380786418915, 0.2811015844345093, -0.7570884227752686, 0.934868335723877, 0.7491163015365601, -0.1129198670387268, -0.49241286516189575, -0.5179173946380615, -0.04254213720560074, -0.4958670139312744, 0.5108881592750549, -0.5610054135322571, -0.8509463667869568, 0.5795131325721741, -0.00880936998873949, 0.014510329812765121, 0.34983357787132263, 0.8203670978546143, 0.23643818497657776, 1.2135934829711914, 0.8995208740234375, -0.05189574509859085, 0.5535484552383423, 0.00607516011223197, -0.060514673590660095, -0.6437470316886902, -0.28038451075553894, -0.7097129225730896, -0.385569304227829, -0.9168808460235596, -0.05245194211602211, -0.06810823827981949, 0.09371695667505264, -0.4469853639602661, 0.24524642527103424, -0.5779944062232971, 0.4067050516605377, 0.7938492298126221, 0.07691363990306854, 0.26427072286605835, -0.11295600980520248, -0.24857386946678162, 0.034197475761175156, -0.4115575850009918, -0.7225227952003479, 0.7909148335456848, 0.29726019501686096, 1.09525465965271, 0.06590976566076279, 0.6754698157310486, 0.1625651866197586, 0.08115110546350479, -0.3815546929836273, 0.4205375909805298, -0.707210123538971, -0.49534282088279724, -0.1408376693725586, -0.6025694012641907, -0.6229867339134216, 0.014124064706265926, -0.46337518095970154, -0.875389039516449, -0.04947445169091225, 0.42148858308792114, -0.5021508932113647, 0.21069589257240295, -0.8181683421134949, 0.9249736070632935, -0.21814145147800446, -0.48785263299942017, -0.10013565421104431, -0.4495600759983063, 0.2292884737253189, -0.38160425424575806, -0.22373710572719574, -0.2745947539806366, 0.03085765428841114, 0.45061883330345154, -0.2555783987045288, 0.9380077719688416, 0.12442896515130997, -0.034806862473487854, -0.06448112428188324, 0.3130037486553192, 0.49781638383865356, 0.11678453534841537, -0.015095463022589684, 0.15197652578353882, -0.11688589304685593, -0.2414630800485611, -0.2624891996383667, 1.0252524614334106, -0.7650824189186096, -0.2926521599292755, -0.07394975423812866, -0.5107994675636292, -0.3625623285770416, 0.49943438172340393, 0.5951138138771057, 0.6521931290626526, -0.41995373368263245, 0.40801045298576355, 0.5399304032325745, -0.6228779554367065, 0.49889180064201355, 0.17729298770427704, -0.20112642645835876, -0.44049879908561707, 0.9863157868385315, -0.06088387221097946, 0.5542014837265015, 0.6702276468276978, 0.5357954502105713, 0.014864934608340263, -0.5800899863243103, -0.3281705379486084, -0.14764133095741272, -0.399771511554718, -0.32210665941238403, -0.7816226482391357, -0.263594388961792, -0.45112287998199463, -0.33714020252227783, -0.43573346734046936, -0.17073440551757812, -0.463674396276474, 0.24656715989112854, 0.2528155446052551, 0.9523910880088806, 0.6587954163551331, 0.7646883726119995, -0.7602296471595764, 0.4755944609642029, 0.19238434731960297, 0.6314876079559326, 0.025079965591430664, -0.1288088858127594, -0.18373747169971466, -0.16268442571163177, -0.7338334918022156, -0.569979190826416, 0.38915756344795227, 0.44138064980506897, 0.2694947421550751, 0.4018745422363281, -0.1135072410106659, 0.24044166505336761, -0.8068519234657288, 0.8625320792198181, 0.28971564769744873, -1.0629736185073853, 0.6981544494628906, -0.3805449903011322, 0.8554911613464355, 0.5296388268470764, 0.1907120943069458, -0.2943653464317322, -0.9197313785552979, -0.5315881967544556, -0.6603217720985413, 0.7059563994407654, 0.5248263478279114, 0.5163860321044922, 0.09419719129800797, 0.3856525123119354, 0.28777390718460083, 0.4257122278213501, -0.7691106796264648, 0.0024310436565428972, -0.13189326226711273, -0.43196746706962585, -0.34319937229156494, -0.4560402035713196, 0.09000475704669952, 0.05485386401414871, 0.4018001854419708, -0.19574634730815887, -0.16337473690509796, -0.10165031999349594, 0.25412753224372864, 0.021901536732912064, 0.4073789119720459, 0.700403094291687, 0.4707266092300415, 0.009276852011680603, 0.17807182669639587, -0.06524629890918732, -0.4373667240142822, -0.10828123986721039, 0.12103765457868576, -0.4181363880634308, -0.13774341344833374, 0.34911784529685974, 1.1178722381591797, 0.13618893921375275, -0.35806745290756226, 0.41069453954696655, -0.032319240272045135, -0.19482025504112244, -0.03511166200041771, 0.34208622574806213, -0.011003081686794758, 0.11558588594198227, -0.14935556054115295, 0.24749723076820374, -0.04797939583659172, -0.3128189146518707, -0.07228577136993408, 0.36593538522720337, -0.20151925086975098, -0.6337233781814575, 1.1324621438980103, 0.3290446698665619, -0.23964610695838928, 0.24358469247817993, -0.1964680552482605, -0.22167502343654633, 0.31555497646331787, 0.7006822824478149, 1.0769046545028687, -0.21682588756084442, 0.3599783778190613, 0.31067827343940735, 0.07371122390031815, 0.07059167325496674, 0.11070892959833145, -0.13212208449840546, -0.8232754468917847, -0.20093883574008942, -1.0824849605560303, -0.19268429279327393, 0.37720319628715515, -0.6666688919067383, 0.12871922552585602, -0.7021926045417786, -0.4684072434902191, 0.5631139278411865, -0.08078846335411072, -0.7987788319587708, 0.41299471259117126, 0.13757824897766113, 0.784903883934021, -0.7984781265258789, 0.7770869731903076, 0.7042655944824219, -0.4073086678981781, -0.644820511341095, 0.08603363484144211, -0.17754028737545013, -0.37051692605018616, 0.6225008964538574, 0.16153784096240997, -0.1286109834909439, 0.04773222655057907, -0.4780418276786804, -0.6182979941368103, 0.7837198376655579, 0.1620604246854782, -0.6132347583770752, -0.11965897679328918, 0.3795740306377411, 0.7543759346008301, -0.3234228491783142, -0.03269815817475319, 0.759840190410614, 0.22966256737709045, -0.06453707069158554, -0.9086009860038757, -0.15133734047412872, -0.20942650735378265, 0.6462606191635132, 0.35775017738342285, -0.6839157342910767, 0.8286296129226685, -0.015733009204268456, 0.04104521870613098, 0.311475932598114, 0.7921254634857178, 0.0808166116476059, 0.170652374625206, 0.19028091430664062, 0.5564348101615906, 0.6106581091880798, -0.07733040302991867, 1.3265951871871948, -0.5590183734893799, 0.24264195561408997, 1.3081802129745483, -0.278339684009552, 0.8482168316841125, 0.19068340957164764, 0.06274136155843735, 0.43467557430267334, 0.21470032632350922, -0.017642883583903313, 0.5835029482841492, 0.1513098180294037, -0.3868568241596222, -0.16087889671325684, -0.2796812355518341, -0.20668186247348785, 0.6602624654769897, 0.09349492192268372, -0.7508363127708435, -0.034462131559848785, 0.20900623500347137, 0.07225080579519272, 0.5956701636314392, -0.2307603508234024, 1.0631295442581177, -0.2084866613149643, -0.6001068949699402, 0.1639905571937561, 0.32015976309776306, 0.7329281568527222, -0.8386602997779846, 0.3098269999027252, -0.22774077951908112, 0.45511266589164734, -0.14990191161632538, -0.8721712827682495, 0.05571086332201958, 0.31401827931404114, -0.28225305676460266, -0.5514086484909058, 0.681854248046875, -0.569831371307373, -0.6114484071731567, -0.10013032704591751, 0.13149794936180115, -0.29459723830223083, -0.004415699280798435, -0.36827656626701355, 0.10924162715673447, -0.08980284631252289, -0.5333050489425659, 0.39197441935539246, 0.5664718747138977, -0.09294608980417252, 0.6261324286460876, 0.5881757736206055, 0.49136218428611755, 0.11468663066625595, 0.34400445222854614, 0.8465136289596558, -0.7431399822235107, -0.6277946829795837, -0.7661641836166382, 0.24802400171756744, -0.15290310978889465, -1.0197780132293701, 0.7469826340675354, 0.6982805728912354, 1.0609945058822632, -0.31530916690826416, 0.819301187992096, -0.22797805070877075, 0.3341164290904999, -0.6833056807518005, 0.9643059372901917, -0.3947310745716095, -0.1484164148569107, -0.33097466826438904, -0.890681266784668, -0.3243575394153595, 0.34604060649871826, -0.25328096747398376, 0.33237582445144653, 0.46475541591644287, 0.6578404903411865, 0.015584249049425125, -0.17940598726272583, 0.4357220232486725, 0.12919968366622925, 0.5492523908615112, 0.29518428444862366, 0.7438053488731384, 0.0019710289780050516, 0.11230836063623428, -0.697242259979248, -0.12254488468170166, 0.05345945805311203, -1.0155094861984253, -1.0238592624664307, -0.69448322057724, -0.3074114918708801, -0.24931779503822327, -0.25006335973739624, 0.6887168884277344, 0.6430414915084839, -0.8808131814002991, -0.11249911785125732, -0.44104239344596863, -0.32909709215164185, -0.053711555898189545, -0.2543725371360779, 0.22567704319953918, -0.6904850602149963, -0.8427245616912842, -0.14313527941703796, 0.18257346749305725, 0.10294847190380096, -0.5096398591995239, 0.10857971012592316, 0.09328329563140869, 0.18225321173667908, 0.7338090538978577, 0.0019205897115170956, -0.5985138416290283, -0.19181640446186066, -0.24748584628105164, -0.5677009224891663, -0.0917995423078537, 1.1585376262664795, -0.42568767070770264, 0.5691704750061035, 0.6437527537345886, 0.48583176732063293, 0.2803022563457489, 0.20289666950702667, 0.6616090536117554, -1.2311594486236572, 0.08040396869182587, 0.15637244284152985, -0.020207982510328293, 0.3507407307624817, -0.47573041915893555, -0.0061682118102908134, -0.1489984095096588, -0.7686442136764526, -0.4693944752216339, 0.1668059527873993, -0.8699288964271545, -0.22458156943321228, 1.265817642211914, -0.02837146818637848, 0.01609092392027378, 0.45754197239875793, -0.19166311621665955, 0.06437567621469498, -0.31806614995002747, 0.7588483095169067, 0.5789640545845032, -0.015434181317687035, 0.026321083307266235, -0.5528998970985413, 0.779941976070404, 0.3248581886291504, -1.074556589126587, 0.31092599034309387, 0.4996011257171631, 0.09488189220428467, 0.14775235950946808, 0.5450960397720337, 0.02854984439909458, -0.024041736498475075, -0.05112401396036148, 0.325041264295578, -0.024789970368146896, -0.4494694769382477, -0.28511330485343933, 0.30933278799057007, 0.15716904401779175, 0.149909108877182 ]
http://arxiv.org/abs/2402.04902v3
http://arxiv.org/pdf/2402.04902v3
L4Q: Parameter Efficient Quantization-Aware Fine-Tuning on Large Language Models
2024-02-07T14:35:05
2024-05-22T20:23:54
Hyesung Jeon, Yulhwa Kim, Jae-joon Kim
cs.LG
cs.LG, cs.CL
Due to the high memory and computational costs associated with Large Language Models, model compression via quantization and parameter-efficient fine-tuning (PEFT) methods, such as low-rank adaptation (LoRA), are gaining popularity. This has led to active research on quantization-aware PEFT techniques, which aim to create models with high accuracy and low memory overhead. Among quantization methods, post-training quantization (PTQ) is more commonly used in previous works than quantization-aware training (QAT), despite QAT's potential for higher accuracy. This preference is due to PTQ's low training overhead. However, PTQ-based PEFT methods often utilize high-precision parameters, making it difficult to fully exploit the efficiency of quantization. Additionally, they have limited adaptation ability due to a reduced and constrained LoRA parameter structure. To overcome these challenges, we propose L4Q, which leverages joint quantization and fine-tuning to reduce QAT's memory overhead and produce models that consist entirely of quantized weights while achieving effective adaptation to downstream tasks. By design, L4Q allows quantization parameters to reflect weight updates, while weight updates reduce quantization errors. Our experiments demonstrate that this coupled quantization and fine-tuning approach yields superior accuracy compared to decoupled fine-tuning schemes in sub-4-bit quantization. Using the LLaMA model families and instructional datasets, we showcase L4Q's capabilities in language tasks and few-shot in-context learning.
[ -0.20168136060237885, -0.6438500881195068, 0.5861654877662659, -0.05643116682767868, -0.40102723240852356, 0.16942256689071655, -0.2976132035255432, -0.20166638493537903, -0.30715349316596985, 0.4919881522655487, -0.20515823364257812, -0.4663974940776825, -0.3139585852622986, 0.05780933052301407, -0.22044944763183594, 0.998873233795166, -0.08982980251312256, -0.17478956282138824, 0.036994822323322296, -0.31392982602119446, -0.22323276102542877, -0.6645126938819885, -0.8822463154792786, -0.12207301706075668, 0.5510942935943604, 0.3499922454357147, 0.7164903879165649, 0.5688400268554688, 0.28948327898979187, 0.21951721608638763, 0.01984926499426365, 0.11508537828922272, -0.6923354268074036, -0.08028474450111389, 0.07250632345676422, -0.7142441868782043, -0.7548916935920715, -0.16755682229995728, 0.9517600536346436, 0.5941997170448303, -0.07310310006141663, 0.31890684366226196, 0.1138606145977974, 0.8623772263526917, -0.9055044651031494, 0.09587052464485168, -0.7266486287117004, -0.06787282228469849, -0.25783923268318176, -0.2738058567047119, -0.07077834010124207, -0.39333826303482056, -0.2579043209552765, -0.8867921829223633, -0.017338771373033524, -0.04004502668976784, 0.7748668789863586, 0.49849212169647217, -0.5240098834037781, 0.2729073762893677, -0.6456404328346252, 0.9278734922409058, -0.8924170136451721, 0.6555476784706116, 0.686241090297699, 0.10102082043886185, 0.06342247873544693, -0.7121937274932861, -0.35913029313087463, 0.17188753187656403, 0.34660056233406067, 0.025017932057380676, -0.1332409381866455, 0.3334769606590271, 0.3732721209526062, 0.36675140261650085, -0.39549943804740906, 0.16769932210445404, -0.23820926249027252, -0.14025402069091797, 0.3410665690898895, -0.058958496898412704, -0.1207403913140297, 0.2603902220726013, -0.06915576010942459, 0.00005478082675836049, -0.9646987915039062, 0.2370406985282898, 0.41647568345069885, 0.23692190647125244, -0.03981446102261543, 0.18128740787506104, -0.6354976296424866, 0.8644765019416809, 0.33354222774505615, -0.3122839331626892, 0.07450743764638901, -0.5389829277992249, -0.17818067967891693, -0.03614652901887894, 0.621949315071106, 0.18196214735507965, 0.01232756394892931, -0.035117946565151215, -0.30763787031173706, -0.2180940955877304, -0.04674168676137924, -1.0498954057693481, -0.40525299310684204, 0.1816857010126114, -0.36561715602874756, -0.1624985784292221, -0.5452452301979065, -0.4086092710494995, -0.12827813625335693, -0.25019222497940063, 0.9182505011558533, -0.492631196975708, 0.06898258626461029, 0.20466849207878113, 0.20954762399196625, 0.41623085737228394, 0.4128882884979248, -1.0536563396453857, 0.4695837199687958, 0.6838685870170593, 0.5910833477973938, 0.0799555778503418, -0.18523205816745758, -1.0171961784362793, 0.3131415545940399, -0.3298148810863495, 0.6024786233901978, -0.36769938468933105, 0.0917649194598198, -0.33180129528045654, -0.20539964735507965, 0.1303289383649826, -0.4324468970298767, 0.5751689672470093, -0.5981968641281128, 0.05948031693696976, -0.25691458582878113, -0.42337337136268616, -0.25393256545066833, 0.23263245820999146, -0.7047638297080994, 1.1249150037765503, 0.3370591402053833, -0.6240606904029846, 0.3121681213378906, -0.4143800139427185, -0.1217488944530487, 0.09091035276651382, -0.02016090787947178, -0.6089535355567932, 0.21377286314964294, 0.4108600616455078, 0.4575842022895813, -0.4270133972167969, 0.0717230886220932, -0.30454882979393005, -0.7289795279502869, 0.04497063159942627, -0.32808148860931396, 0.3723992705345154, 0.07470027357339859, -0.17052651941776276, 0.27327221632003784, -0.7227707505226135, 0.1987345963716507, 0.03561266511678696, -0.6610153317451477, -0.4729480445384979, -0.08339088410139084, -0.3794177174568176, -0.10396301001310349, 0.4478236734867096, -0.07710113376379013, 0.2665019929409027, -0.6166387796401978, 0.6227834820747375, 0.5960926413536072, -0.05824996531009674, 0.6456468105316162, -0.19972029328346252, 0.5069507956504822, -0.1728074997663498, 0.2542487680912018, -0.0533599816262722, -0.19028028845787048, -0.7289766669273376, -0.32988256216049194, 0.7671008706092834, 0.3076293170452118, -0.9067402482032776, 0.20468366146087646, -0.27709415555000305, -0.24532312154769897, -0.44892004132270813, 0.30126523971557617, 0.3979605734348297, 0.3040659427642822, 0.27143606543540955, -0.17078867554664612, -0.3828495740890503, -0.7364003658294678, -0.3691747188568115, -0.04706951230764389, -0.017372028902173042, -0.030511412769556046, 0.26122114062309265, 0.18044166266918182, 0.5747204422950745, -0.2573404610157013, -0.08078272640705109, -0.133989155292511, -0.007033020723611116, 0.3502306044101715, 0.4519040882587433, 0.570741593837738, -0.5328067541122437, -0.4729554057121277, -0.015969788655638695, -0.2589567303657532, -0.039730507880449295, -0.0450214184820652, -0.3465999364852905, 0.14112409949302673, 0.36171016097068787, -0.4184055030345917, 0.09936929494142532, 0.769006609916687, -0.23042291402816772, 0.23873430490493774, -0.27944567799568176, 0.1657649576663971, -0.9728551506996155, -0.017508547753095627, -0.21962979435920715, -0.6393568515777588, -0.5736955404281616, 0.1729109287261963, 0.3627387583255768, -0.11175324022769928, -0.36155837774276733, 0.37157511711120605, -0.46050798892974854, -0.27683600783348083, -0.21527199447155, -0.11593453586101532, 0.26247185468673706, 0.7223176956176758, -0.1524030715227127, 0.7848324179649353, 0.5574986338615417, -0.5333452224731445, 0.12390062212944031, -0.048264142125844955, -0.17079247534275055, 0.4461936950683594, -0.6247555017471313, 0.18505115807056427, 0.2145889699459076, 0.1550002247095108, -0.5686025023460388, -0.10959220677614212, 0.2635567784309387, -0.11614467948675156, 0.12224499881267548, -0.36262446641921997, -0.7016018629074097, 0.081158347427845, -0.5640745759010315, 0.8091514110565186, 0.6871007680892944, -0.48250845074653625, 0.6160141825675964, 0.1509690135717392, -0.09422235935926437, -0.42599061131477356, -0.3088200092315674, -0.20937737822532654, -0.5014111995697021, -0.13775962591171265, 0.5937219858169556, -0.22171498835086823, 0.11799100041389465, -0.20930957794189453, -0.3374495506286621, -0.29560768604278564, 0.2503269612789154, -0.10557183623313904, -0.21901629865169525, -0.1592331975698471, 0.13784295320510864, 0.4228880703449249, 0.021958811208605766, -0.2317439168691635, -0.2589658200740814, 0.4030204713344574, -0.314433753490448, -0.03655929118394852, -0.5812422037124634, 0.19247108697891235, 0.40041103959083557, -0.4992440640926361, 0.6795343160629272, 0.7686008214950562, -0.4788902997970581, -0.1695307046175003, -0.31965094804763794, -0.2478654533624649, -0.4938463568687439, 0.3966299891471863, -0.6848575472831726, -1.146208643913269, 0.3528035283088684, -0.3339252173900604, 0.00012918960419483483, 0.12047164142131805, 0.5500347018241882, -0.08000920712947845, 1.065627932548523, 0.5787149667739868, 0.0625949427485466, 0.6268649697303772, -0.14449191093444824, 0.21701522171497345, -0.7945080995559692, 0.3110598623752594, -0.400984525680542, -0.46192824840545654, -0.44401806592941284, -0.6485950946807861, 0.5433881878852844, 0.6713191866874695, -0.5622892379760742, 0.2493179738521576, -0.3871827721595764, 0.5754191875457764, 0.7444396018981934, 0.23473916947841644, 0.42757636308670044, -0.05105733498930931, 0.2701762616634369, 0.013029646128416061, -0.8030537366867065, -0.0802280604839325, 1.1010375022888184, 0.3081205189228058, 0.6721300482749939, 0.25908195972442627, 0.7472082376480103, 0.028223274275660515, -0.23487725853919983, -0.9306470155715942, 0.4466279447078705, -0.1723029613494873, -0.07167713344097137, -0.4648759067058563, -0.5113462805747986, -0.8983550071716309, 0.23761822283267975, -0.32671481370925903, -0.48083066940307617, 0.12798398733139038, 0.4501420259475708, -0.8295774459838867, 0.1466551274061203, -0.5583677291870117, 0.8800540566444397, -0.3860422670841217, -0.4981180727481842, -0.3841046988964081, -0.43466487526893616, 0.40914347767829895, -0.5838204622268677, 0.2126236855983734, -0.2919301688671112, -0.37105122208595276, 0.7786458730697632, -0.3357402980327606, 0.8319846987724304, -0.11858395487070084, -0.36949819326400757, 0.00918988324701786, 0.13764667510986328, 0.6473160982131958, 0.11934991180896759, -0.1362897902727127, 0.20704106986522675, 0.542913019657135, -0.5833437442779541, -0.7567279934883118, 0.7623441815376282, -0.8759334683418274, -0.4824143350124359, -0.09883730113506317, -0.6425769925117493, -0.4318273365497589, 0.20999158918857574, -0.05909009277820587, 0.36679649353027344, 0.2681466042995453, 0.27989286184310913, 0.6075344681739807, -0.3830793499946594, 0.30323782563209534, 0.39937448501586914, -0.1250021606683731, -0.5123305320739746, 0.9065936803817749, 0.012645714916288853, 0.2791845500469208, 0.6041454076766968, 0.323246568441391, -0.16365638375282288, -0.83673095703125, -0.2689746618270874, 0.32519909739494324, -0.4975009858608246, -0.6141453981399536, -0.2275533527135849, -0.018394015729427338, -0.20292510092258453, -0.018688661977648735, -0.6429013013839722, -0.6003197431564331, -0.3111370801925659, 0.24796296656131744, 0.6215636134147644, 0.15466614067554474, 0.13707692921161652, 0.6274685263633728, -0.9217247366905212, 0.5587610006332397, 0.5194021463394165, 0.4165419638156891, -0.3049599826335907, -0.7786776423454285, -0.635974109172821, -0.011584938503801823, -0.30439144372940063, -0.6013839244842529, 0.2947918772697449, 0.6797406673431396, 0.26084426045417786, 0.22880049049854279, 0.2849370837211609, 0.8951912522315979, -0.48657408356666565, 0.5969929099082947, -0.014499354176223278, -1.3207041025161743, 0.46963709592819214, -0.4008825421333313, 0.49383991956710815, 0.5226551294326782, 0.34649503231048584, -0.07851751148700714, -0.052944477647542953, -0.2819264829158783, -0.7953958511352539, 0.6370812058448792, 0.15474966168403625, 0.046253081411123276, 0.47081249952316284, 0.7583639621734619, 0.1007467657327652, 0.2057413011789322, -0.8850157856941223, 0.2607494592666626, -0.11936505883932114, -0.3288635313510895, 0.15763293206691742, -0.26498010754585266, -0.1236763671040535, -0.4436427652835846, 0.5605385303497314, -0.5801796317100525, 0.20719914138317108, -0.25967004895210266, 0.01312556117773056, -0.2177174985408783, 0.2321072518825531, 0.378787100315094, 0.5425295233726501, -0.16284771263599396, 0.18150843679904938, 0.4587239921092987, -0.09356473386287689, 0.022863732650876045, 0.07155796885490417, -0.0017995003145188093, -0.39745548367500305, 0.13941246271133423, 1.0732303857803345, 0.6477235555648804, -0.7210586667060852, 0.5137135982513428, -0.10374357551336288, -0.4377557933330536, -0.20260323584079742, 0.2147914320230484, 0.09121188521385193, 0.5641832947731018, 0.20267397165298462, -0.20761877298355103, 0.24387119710445404, -0.42099931836128235, -0.09408485144376755, 0.4306122064590454, 0.06849287450313568, -0.5898328423500061, 0.7642569541931152, 0.2234201282262802, -0.08018428087234497, 0.21710878610610962, -0.11348471790552139, -0.28999751806259155, 0.1475624442100525, 0.39345377683639526, 0.44598516821861267, -0.22569310665130615, -0.0953531265258789, 0.4562457799911499, -0.005705981981009245, -0.27073919773101807, 0.47175705432891846, -0.3506472408771515, -0.6553150415420532, -0.8144282698631287, -0.9005308151245117, -0.40811848640441895, 0.21717894077301025, -0.6214930415153503, 0.33548542857170105, -0.5723363161087036, -0.16728393733501434, -0.26789742708206177, 0.06767144054174423, -0.45701542496681213, 0.041723910719156265, 0.12696288526058197, 0.4914815127849579, -0.5670652389526367, 1.2376946210861206, 0.5744972825050354, -0.1306115835905075, -0.9357446432113647, 0.06708966940641403, -0.43072327971458435, -0.6358048319816589, 0.5083522200584412, -0.12672513723373413, 0.04140019044280052, 0.5560989379882812, -0.4630759358406067, -1.2298526763916016, 1.18242347240448, 0.7265326380729675, -0.7965440154075623, -0.16777582466602325, 0.059840258210897446, 0.34435391426086426, 0.1584443897008896, -0.017571518197655678, 0.7169822454452515, 0.2973272204399109, -0.09631288796663284, -1.0514004230499268, 0.13343539834022522, 0.13951700925827026, 0.0778224989771843, 0.5186048746109009, -0.8392990231513977, 0.8595758676528931, 0.1020960807800293, 0.059057097882032394, 0.2679237127304077, 0.6101146936416626, 0.48999783396720886, 0.011104714125394821, 0.5242295861244202, 0.513906717300415, 0.673336923122406, -0.007168507669121027, 0.7692970633506775, -0.4503540098667145, 0.3515695631504059, 1.0918834209442139, -0.24757976830005646, 1.0748960971832275, 0.5213519930839539, -0.32623714208602905, 0.304625540971756, 0.6382908225059509, 0.2905431389808655, 0.6328237056732178, 0.1561867892742157, -0.39882296323776245, -0.4753299951553345, 0.09096679836511612, -0.17502140998840332, 0.6125277280807495, 0.45997077226638794, -0.045634105801582336, -0.08395450562238693, 0.002875375095754862, -0.13879336416721344, -0.12371588498353958, -0.5869844555854797, 0.6745105385780334, 0.17129990458488464, -0.4397604167461395, 1.1830137968063354, 0.1265813708305359, 0.6190928220748901, -0.5851709842681885, -0.08034425228834152, -0.23293137550354004, 0.13088521361351013, -0.055635303258895874, -0.3736785054206848, 0.12764890491962433, -0.01643882319331169, -0.011811813339591026, -0.2805458903312683, 0.5250652432441711, -0.43800923228263855, -0.3482484221458435, -0.07757753878831863, 0.5130199790000916, 0.11546092480421066, -0.3310772180557251, -0.7631976008415222, 0.36566227674484253, -0.05736815184354782, -0.24014748632907867, 0.6730343103408813, 0.5366166830062866, -0.19949708878993988, 0.4846632182598114, 0.5597102046012878, 0.15094773471355438, -0.057569388300180435, 0.12607955932617188, 0.8182154893875122, -0.7525741457939148, -0.3995673656463623, -0.6485698223114014, 0.24949140846729279, 0.31782180070877075, -0.109859898686409, 0.515070378780365, 0.35810387134552, 0.8206474184989929, 0.0938347652554512, 0.5682416558265686, 0.2797600328922272, 0.517966091632843, -0.8645021915435791, 0.45708221197128296, -0.7810204029083252, 0.24445770680904388, -0.09697473049163818, -0.9568549990653992, -0.4965539574623108, 0.6342813968658447, -0.25348466634750366, 0.1495889574289322, 0.6024854183197021, 0.5860625505447388, -0.11233051121234894, -0.4772917330265045, 0.6558154225349426, 0.2244250476360321, 0.05691947042942047, 0.9465580582618713, 0.6645272374153137, -0.6419166922569275, 0.6226930022239685, -0.3022984266281128, -0.10288981348276138, -0.214246928691864, -0.8618892431259155, -0.8745589852333069, -0.5216363668441772, -0.4572345018386841, 0.05604787915945053, 0.20156536996364594, 0.7236208319664001, 0.9105268716812134, -0.6478821635246277, -0.05349388346076012, -0.13766074180603027, -0.1648111492395401, -0.27756398916244507, -0.17382608354091644, 0.511063814163208, -0.12468772381544113, -0.946351945400238, 0.4223048985004425, 0.22931212186813354, 0.023509768769145012, -0.03316875547170639, -0.25560763478279114, 0.10430430620908737, -0.06903155893087387, 0.7512485384941101, 0.3176441490650177, -0.7263227105140686, -0.34525108337402344, -0.24567276239395142, 0.185404971241951, 0.10557717829942703, 0.600028395652771, -1.0350425243377686, 0.16832731664180756, 0.37341469526290894, 0.7877000570297241, 0.5931366682052612, 0.1413664072751999, 0.6535797715187073, -0.7873433232307434, 0.2102697342634201, 0.22330428659915924, 0.22862574458122253, 0.24814152717590332, -0.3621695637702942, 0.43563124537467957, 0.021453533321619034, -0.770409882068634, -0.8939775228500366, 0.21209801733493805, -1.1067198514938354, -0.2518072724342346, 0.9363152384757996, -0.05286100134253502, -0.26157712936401367, 0.14702673256397247, -0.2850663959980011, 0.4181455075740814, -0.42059773206710815, 0.5336282849311829, 0.2564956247806549, -0.31797245144844055, -0.8068106174468994, -0.6174108386039734, 0.6760291457176208, 0.5815113186836243, -0.8852061629295349, -0.06668829917907715, 0.3513694107532501, 0.30404937267303467, -0.45673903822898865, 0.6403632760047913, 0.19380782544612885, 0.3108958303928375, -0.3125928044319153, 0.14541073143482208, 0.020762493833899498, 0.056826308369636536, -0.40573421120643616, 0.08756589144468307, 0.6744665503501892, -0.08673317730426788 ]
http://arxiv.org/abs/2402.04889v2
http://arxiv.org/pdf/2402.04889v2
Detecting Generated Native Ads in Conversational Search
2024-02-07T14:22:51
2024-04-30T09:15:42
Sebastian Schmidt, Ines Zelch, Janek Bevendorff, Benno Stein, Matthias Hagen, Martin Potthast
cs.IR
cs.IR, cs.CL
Conversational search engines such as YouChat and Microsoft Copilot use large language models (LLMs) to generate responses to queries. It is only a small step to also let the same technology insert ads within the generated responses - instead of separately placing ads next to a response. Inserted ads would be reminiscent of native advertising and product placement, both of which are very effective forms of subtle and manipulative advertising. Considering the high computational costs associated with LLMs, for which providers need to develop sustainable business models, users of conversational search engines may very well be confronted with generated native ads in the near future. In this paper, we thus take a first step to investigate whether LLMs can also be used as a countermeasure, i.e., to block generated native ads. We compile the Webis Generated Native Ads 2024 dataset of queries and generated responses with automatically inserted ads, and evaluate whether LLMs or fine-tuned sentence transformers can detect the ads. In our experiments, the investigated LLMs struggle with the task but sentence transformers achieve precision and recall values above 0.9.
[ -0.3653784692287445, -1.0192725658416748, 0.41988658905029297, 0.13256607949733734, -0.2806955873966217, 0.3301907181739807, -0.1253998726606369, -0.715156078338623, 0.6308966875076294, 0.7698580026626587, -0.5540985465049744, -0.42820608615875244, -0.10998817533254623, -0.003381196642294526, -0.5190208554267883, 0.7272197008132935, 0.4958212077617645, -0.304941326379776, -0.48114636540412903, 0.17444850504398346, -0.6446790099143982, -0.6941614747047424, -0.5865080952644348, -0.08892475068569183, 0.14341013133525848, 0.29764682054519653, 0.6487674117088318, 0.2554672360420227, 0.30563244223594666, 0.35289132595062256, -0.05751114711165428, 0.3428707718849182, -0.42384830117225647, 0.2915412187576294, 0.034510985016822815, -0.5644257068634033, -0.43407365679740906, -0.08309322595596313, 0.3653331995010376, 0.4091164767742157, -0.267519474029541, -0.2815099060535431, -0.025174638256430626, 0.31125879287719727, -0.4933350682258606, -0.13936741650104523, -1.2664637565612793, -0.010018423199653625, -0.2844774127006531, -0.24860602617263794, -0.5185666084289551, -0.4350050687789917, 0.2566356062889099, -0.4392310082912445, 0.47232580184936523, -0.03035673126578331, 1.0587538480758667, 0.04032755270600319, -0.5942562222480774, -0.56141597032547, -0.7990075945854187, 0.7380677461624146, -1.015541434288025, 0.23307129740715027, 0.2793038487434387, 0.28732478618621826, -0.5226051807403564, -0.8168531656265259, -0.5109260082244873, -0.16287872195243835, -0.2632952034473419, 0.0368446446955204, -0.6358057260513306, 0.02125861495733261, 0.2234296351671219, 0.3213938772678375, -0.8573890924453735, 0.3966030776500702, -0.5400322675704956, -0.4314669072628021, 0.8011033535003662, 0.15830758213996887, 0.4005120098590851, -0.22063258290290833, -0.5551971793174744, 0.2267748862504959, -0.8193972110748291, 0.026701947674155235, 0.4516768753528595, 0.44349801540374756, 0.12359990924596786, 0.5694741606712341, -0.3235442638397217, 0.7597864270210266, 0.051624707877635956, -0.02671140991151333, -0.15209244191646576, -0.3845643103122711, -0.01964504085481167, 0.37419289350509644, 1.0025352239608765, 0.4107376039028168, 0.699897825717926, 0.0789208859205246, -0.4233395457267761, 0.5317440032958984, 0.45767560601234436, -0.5993375778198242, -0.040758151561021805, -0.0022793698590248823, -0.14738035202026367, -0.3167833387851715, -0.1640612930059433, -0.49019870162010193, -0.318187952041626, 0.07435095310211182, 0.15047065913677216, 0.015569901093840599, -0.049760255962610245, 0.3153808116912842, 0.2998788356781006, 0.12991605699062347, -0.3598780930042267, -0.8226454854011536, 0.667908251285553, 0.5748890042304993, 0.6476487517356873, -0.20942573249340057, 0.20285114645957947, -0.7459277510643005, -0.04099174588918686, -0.25590163469314575, 1.0408846139907837, -0.4066047966480255, -0.8277272582054138, 0.21480105817317963, -0.013350372202694416, -0.21646329760551453, -0.8374084830284119, 0.43514999747276306, -0.8425413370132446, 0.3677375316619873, 0.056759726256132126, -0.4844382405281067, -0.16631700098514557, 0.3574065566062927, -0.6302354335784912, 0.9518154263496399, -0.3026224672794342, -0.2200392484664917, 0.20160768926143646, -0.7278476357460022, -0.8598647117614746, 0.25322604179382324, -0.05364754796028137, -0.6066774725914001, 0.040534090250730515, 0.5602647066116333, 0.3613004684448242, -0.07183126360177994, 0.373892605304718, -0.19606709480285645, -0.33747628331184387, 0.5999706387519836, -0.6413457989692688, 0.6002410650253296, 0.4068606197834015, -0.31514567136764526, -0.01705114170908928, -0.4144391119480133, -0.32105553150177, 0.4732682406902313, -0.3598773777484894, -0.3872666656970978, 0.3238592743873596, -0.11231198161840439, 0.06425903737545013, 0.48062628507614136, -0.7231819033622742, 0.10675255954265594, -0.5469174385070801, 0.4002940058708191, 0.6517197489738464, 0.15754997730255127, 0.12058959901332855, -0.04232826456427574, 0.8498219847679138, -0.1444019377231598, -0.043987613171339035, -0.3479629456996918, -0.7472469210624695, -0.555704653263092, -0.04172668233513832, 0.06549008190631866, 0.23671378195285797, -0.4702146649360657, 0.3110803961753845, -0.3323576748371124, -0.3876681327819824, -0.3306800127029419, 0.3556559383869171, 0.23530542850494385, 0.5472332835197449, 0.013783300295472145, -0.3080923557281494, -0.5267209410667419, -0.9417528510093689, -0.3249293863773346, 0.0453844778239727, -0.1533413678407669, 0.4996379613876343, 0.09689118713140488, -0.062081754207611084, 1.1564401388168335, -0.7161036133766174, -0.352705717086792, -0.15116222202777863, 0.13069087266921997, 0.09013315290212631, 0.140492245554924, 0.6664823293685913, -0.9843074083328247, -0.5283114910125732, -0.2635709345340729, -0.39337828755378723, -0.4244947135448456, -0.37595486640930176, 0.32402360439300537, 0.42625492811203003, 0.712364673614502, -0.7276734709739685, 0.3059934675693512, 0.7318716645240784, -0.30424898862838745, 0.4865954518318176, -0.1557714343070984, -0.22897055745124817, -1.1498775482177734, -0.0075411684811115265, 0.254470556974411, -0.5392467379570007, -0.4310033321380615, -0.21413935720920563, -0.1237938180565834, -0.3786870539188385, -0.5136668682098389, 0.3942815959453583, -0.3052501976490021, -0.28347623348236084, -0.3287188708782196, 0.545825719833374, 0.2795596718788147, 0.3871960937976837, 0.13757272064685822, 1.158958911895752, 0.20405124127864838, -0.8675663471221924, 0.119112528860569, 0.24825197458267212, -0.5476104617118835, 0.5435822606086731, -1.058135747909546, 0.2903863191604614, 0.22927799820899963, 0.44964906573295593, -1.3430659770965576, -0.047906406223773956, -0.1532038152217865, -0.5644336938858032, -0.15687918663024902, -0.015735231339931488, -0.6272267699241638, -0.5763588547706604, -0.23902584612369537, 0.17531143128871918, 0.32807934284210205, -0.5815780162811279, 0.48227572441101074, 0.3811980187892914, -0.3662319779396057, -0.16727428138256073, -0.5627517700195312, 0.3057959973812103, -0.2791319191455841, -0.6598456501960754, 0.4894348382949829, -0.06696754693984985, -0.10306656360626221, -0.05667982995510101, 0.21877625584602356, 0.2508319020271301, 0.32103419303894043, -0.01954587548971176, 0.2807043194770813, -0.348664253950119, -0.115758515894413, 0.006365760695189238, 0.02356407605111599, 0.12533970177173615, -0.13229569792747498, 0.7631901502609253, 0.04712817072868347, -0.5414681434631348, -0.48842862248420715, 0.14691545069217682, 0.9193774461746216, -0.6294735074043274, 0.29656487703323364, 0.42769524455070496, -0.3415798544883728, 0.20860858261585236, -0.6095277667045593, -0.25055304169654846, -0.6328415870666504, 0.21975034475326538, -0.07580035924911499, -0.7253755331039429, 0.5126225352287292, 0.06631116569042206, 0.055204663425683975, 0.3062610924243927, 0.5311285257339478, 0.009400848299264908, 1.7694400548934937, 0.2986935079097748, -0.07089755684137344, 0.46153995394706726, -0.14799992740154266, 0.4540054500102997, -0.7597501277923584, -0.2952345907688141, -0.44168391823768616, -0.5815593004226685, -0.9940803647041321, 0.15116864442825317, 0.4736992120742798, -0.17904475331306458, 0.1686505377292633, 0.5144596099853516, -0.43692395091056824, 0.33731380105018616, 0.8636001348495483, -0.01190460566431284, 0.22747497260570526, 0.2041243612766266, -0.1146046370267868, -0.18102186918258667, -0.4580845832824707, -0.42708978056907654, 0.9215865135192871, 0.049315307289361954, 0.7206762433052063, 0.16834993660449982, 0.3971884250640869, 0.43720269203186035, 0.03353932499885559, -0.9998008608818054, 0.7432156205177307, -0.2837981581687927, -0.7423654794692993, 0.23864293098449707, -0.08473776280879974, -1.4088189601898193, 0.08488008379936218, -0.22823527455329895, -0.952382504940033, -0.04144445061683655, 0.06308601051568985, -0.5750429630279541, 0.384669691324234, -0.7500616312026978, 0.5418015122413635, -0.5122426748275757, -0.3358714282512665, -0.29462143778800964, -0.20743106305599213, 0.2369348704814911, 0.0459277480840683, 0.10047335922718048, 0.07437646389007568, 0.16645339131355286, 0.6423408389091492, -0.12347175925970078, 1.056624412536621, 0.018990589305758476, -0.21952508389949799, 0.6329731941223145, 0.370178759098053, 0.7048382759094238, -0.2089260220527649, 0.3220304846763611, -0.16901354491710663, -0.23807914555072784, -0.5769941806793213, -0.395138680934906, 0.9235174059867859, -0.20548242330551147, -0.7981582880020142, -0.1608913093805313, -0.6701406836509705, -0.11478086560964584, 0.33021461963653564, 0.3064405918121338, 0.3915214538574219, -0.39700692892074585, 0.30662888288497925, 0.6341961622238159, -0.40725040435791016, 0.4930241107940674, 0.7973792552947998, -0.1937607228755951, -0.2787984609603882, 1.0488280057907104, -0.17025332152843475, 0.23698991537094116, 0.1052568256855011, 0.41848114132881165, -0.6346683502197266, -0.48663294315338135, -0.20749124884605408, 0.2666226029396057, -0.1944107562303543, -0.2566060423851013, -0.5944504737854004, -0.14877355098724365, -0.6233015656471252, -0.18815593421459198, -0.38002899289131165, -0.19405029714107513, -0.2739379405975342, 0.03008432872593403, 0.2810135781764984, 0.9463363289833069, 0.1266554892063141, 0.550267219543457, -0.7972286939620972, 0.31896311044692993, 0.5173389911651611, 0.19390995800495148, -0.0211806520819664, -0.14404232800006866, -0.17877323925495148, 0.35749343037605286, -0.7076382040977478, -0.4771098494529724, 0.5387930870056152, 0.1108286902308464, 0.381740003824234, 0.8126177191734314, 0.07608616352081299, 0.3661348223686218, -0.2428019940853119, 1.0746707916259766, -0.034381937235593796, -0.47856786847114563, 0.5777137875556946, -0.5165050029754639, 0.35081860423088074, 0.05259554833173752, 0.28641200065612793, -0.6121800541877747, -0.24922318756580353, -0.5081014037132263, -0.7546015381813049, 0.46806788444519043, 0.1509682685136795, 0.6407232880592346, -0.2634340226650238, -0.03456570953130722, -0.2204059362411499, 0.15679293870925903, -0.5970839262008667, 0.017772939056158066, 0.2509104907512665, 0.028471773490309715, -0.03713120520114899, -0.3465498983860016, 0.3408549726009369, 0.16546115279197693, 0.43744614720344543, 0.02083258330821991, -0.05293743684887886, -0.06078289821743965, -0.19902357459068298, 0.03204057738184929, 0.13399992883205414, 0.8361510038375854, 0.09080293774604797, -0.2706533372402191, -0.06920137256383896, -0.28123781085014343, -0.33969786763191223, -0.21776874363422394, 0.09189179539680481, -0.28061458468437195, 0.018027929589152336, -0.06283356249332428, 0.4150826930999756, 0.20572064816951752, -0.9741547107696533, 0.5456576943397522, -0.19027705490589142, -0.03812407702207565, -0.33273303508758545, -0.17350657284259796, 0.21516671776771545, -0.06531737744808197, 0.31382107734680176, -0.07524871081113815, 0.23581698536872864, -0.4700019657611847, 0.1837683916091919, 0.9282389283180237, -0.41572389006614685, -0.5041691660881042, 0.8613541722297668, 0.48769211769104004, -0.782043993473053, 0.7717660665512085, -0.0445253811776638, -0.9955371022224426, 0.6086942553520203, 0.9177629351615906, 0.9360135793685913, -0.2661897540092468, 0.0016211001202464104, 0.1440643072128296, 0.20948582887649536, 0.26404744386672974, 0.06887143105268478, -0.1126789078116417, -0.866899847984314, -0.4732188582420349, -0.2195081263780594, -0.34977057576179504, 0.5389386415481567, -0.6240434646606445, 0.4162045121192932, -0.21408963203430176, -0.10936617106199265, 0.14121966063976288, -0.09539595991373062, -0.6434556841850281, 0.037986524403095245, 0.5720682740211487, 0.4786814749240875, -0.7550298571586609, 0.5089662075042725, 0.5971674919128418, -0.19763816893100739, -0.23066887259483337, -0.0957322046160698, 0.20992021262645721, -0.830161988735199, 0.2437283843755722, 0.3404026925563812, -0.5704587697982788, -0.002783483825623989, -0.7057806849479675, -0.5681917071342468, 0.7519071698188782, 0.16600657999515533, -0.5053392052650452, 0.04572771489620209, 0.33749642968177795, 0.5697323679924011, -0.26203593611717224, -0.10159888863563538, 0.49034440517425537, 0.013111595064401627, -0.10278871655464172, -0.9572000503540039, -0.025112805888056755, -0.16626764833927155, -0.0646415427327156, 0.06310120224952698, -0.4739915132522583, 0.6304466128349304, -0.022758906707167625, -0.41652095317840576, 0.2405928075313568, 0.21087414026260376, 0.23985148966312408, 0.43574437499046326, 0.47662287950515747, 0.4789770245552063, 0.3908122479915619, 0.19656050205230713, 1.1411664485931396, -0.22378255426883698, 0.019795497879385948, 0.8902419209480286, -0.46508070826530457, 0.8279604911804199, 0.33821114897727966, -0.14496108889579773, 0.7310514450073242, 0.5697104334831238, 0.030534978955984116, 0.2981184720993042, 0.14852018654346466, -0.29058733582496643, -0.32809606194496155, -0.6771872639656067, 0.08765735477209091, 0.8012816905975342, 0.7564644813537598, -0.29436618089675903, -0.27143242955207825, -0.06448201090097427, 0.1541569083929062, 0.6650189161300659, 0.09922866523265839, 0.8924247026443481, -0.06425341963768005, -0.8165755867958069, 0.7669152021408081, -0.08616963028907776, 1.051543951034546, -0.6748469471931458, 0.03009883128106594, -0.4995841085910797, 0.17272000014781952, -0.04974164441227913, -0.5042672753334045, 0.2359517514705658, 0.07273759692907333, 0.1439570188522339, -0.03412403538823128, 0.8651710748672485, -0.3096259534358978, -0.5267508625984192, 0.17094027996063232, 0.3521939814090729, 0.1148030236363411, -0.23859843611717224, -0.6755709648132324, -0.18108895421028137, 0.09512407332658768, -0.2412206083536148, 0.21346832811832428, -0.07662706077098846, -0.26084649562835693, 0.7574725151062012, 0.9805240035057068, 0.08713560551404953, 0.06500992178916931, -0.028115950524806976, 0.6653157472610474, -0.4345370829105377, -0.6748509407043457, -0.7305826544761658, 0.14967942237854004, -0.11500462889671326, 0.03340836241841316, 0.6451148390769958, 0.75729900598526, 0.9113368988037109, 0.21490134298801422, 0.7243555784225464, 0.3075489401817322, 0.3549683392047882, -0.4400706887245178, 0.6546871066093445, -0.6733862161636353, 0.6029242277145386, -0.20596706867218018, -0.8534826636314392, -0.15916837751865387, 0.1488124132156372, -0.396891325712204, -0.11275140941143036, 0.2271871119737625, 1.0469744205474854, -0.4007682204246521, -0.16053076088428497, 0.32594579458236694, -0.10527072846889496, 0.7391740679740906, 0.4728563725948334, 0.8566300868988037, -0.3318362236022949, 1.097602128982544, -0.252383291721344, 0.2687099277973175, -0.39166510105133057, -0.6381271481513977, -0.8207846879959106, -0.3013889491558075, -0.25640878081321716, -0.26751944422721863, -0.37633752822875977, 0.6697840094566345, 0.5732524991035461, -0.8950375914573669, -0.4469356834888458, -0.1649406999349594, 0.13761232793331146, -0.1787130981683731, -0.3331964313983917, 0.24820683896541595, -0.12102769315242767, -1.0855337381362915, 0.7550911903381348, 0.017055824398994446, 0.3707423210144043, -0.4705810546875, 0.14124752581119537, -0.5818795561790466, 0.3194372057914734, 0.5833960175514221, 0.3332621157169342, -0.7460952401161194, -0.09351672977209091, 0.5195644497871399, -0.16520558297634125, 0.09792345017194748, 1.0286961793899536, -1.075659990310669, 0.8874889612197876, 0.2967067062854767, 0.5017562508583069, 0.5267690420150757, 0.16275137662887573, 0.8339301943778992, -0.9271137714385986, 0.14987534284591675, 0.28743335604667664, 0.31038716435432434, 0.596000611782074, -0.409776896238327, 0.24165382981300354, 0.1207289844751358, -0.32310938835144043, -0.7910173535346985, 0.44089171290397644, -0.6416128277778625, -0.19939661026000977, 0.9311632513999939, 0.1290246844291687, 0.06132117658853531, -0.12038514763116837, -0.2593006491661072, -0.09455841779708862, -0.43655475974082947, 0.8804457783699036, 0.30205267667770386, -0.061243873089551926, 0.36528390645980835, -0.4478510022163391, 0.18637029826641083, 0.5917726755142212, -0.4024173319339752, -0.12665536999702454, 0.3683379888534546, 0.25845959782600403, 0.40898823738098145, 0.39903944730758667, -0.10604654997587204, 0.28676462173461914, -0.20719201862812042, -0.0932844951748848, -0.024839747697114944, 0.07992641627788544, -0.22749994695186615, -0.2844865024089813, 0.17052315175533295, -0.6043176054954529 ]
http://arxiv.org/abs/2402.04875v3
http://arxiv.org/pdf/2402.04875v3
On Provable Length and Compositional Generalization
2024-02-07T14:16:28
2024-06-07T20:25:05
Kartik Ahuja, Amin Mansouri
cs.LG
cs.LG, cs.CL, stat.ML
Out-of-distribution generalization capabilities of sequence-to-sequence models can be studied from the lens of two crucial forms of generalization: length generalization -- the ability to generalize to longer sequences than ones seen during training, and compositional generalization: the ability to generalize to token combinations not seen during training. In this work, we provide first provable guarantees on length and compositional generalization for common sequence-to-sequence models -- deep sets, transformers, state space models, and recurrent neural nets -- trained to minimize the prediction error. Taking a first principles perspective, we study the realizable case, i.e., the labeling function is realizable on the architecture. We show that limited capacity versions of these different architectures achieve both length and compositional generalization. Across different architectures, we also find that a linear relationship between the learned representation and the representation in the labeling function is necessary for length and compositional generalization.
[ -0.3492197096347809, -0.3965277075767517, 0.7345144152641296, 0.1391477882862091, -0.36810025572776794, -0.10213863849639893, -0.2699068486690521, -0.47144752740859985, 0.22466494143009186, 0.5500690340995789, -0.5824753642082214, -0.0867728665471077, -0.5671230554580688, -0.17889997363090515, -0.5761398077011108, 0.9584699869155884, 0.13244549930095673, -0.08033950626850128, -0.35184240341186523, -0.380422443151474, -0.45575830340385437, -0.6039128303527832, -0.06571231782436371, -0.28690025210380554, 0.657314658164978, 0.09798511117696762, 1.0228132009506226, 0.7129948735237122, 0.6595151424407959, 0.2297949492931366, -0.0070321098901331425, 0.08527347445487976, -0.32285574078559875, 0.027149125933647156, -0.03224959596991539, -0.7001224756240845, -0.273531049489975, -0.1567120999097824, 0.9662140011787415, 0.9107257127761841, 0.013839958235621452, 0.12747952342033386, -0.15185250341892242, 0.8805795311927795, -0.586412787437439, -0.09652973711490631, -0.1821908950805664, 0.4656573235988617, 0.1376049965620041, 0.15081390738487244, -0.5418815612792969, -0.27929985523223877, 0.516666829586029, -0.8556198477745056, 0.2131490409374237, -0.13928455114364624, 0.5092287063598633, 0.2256079465150833, -0.3171636760234833, -0.10214078426361084, -1.136096715927124, 0.9211684465408325, -0.5085022449493408, 0.5419853329658508, 0.13876748085021973, 0.6211946606636047, 0.03197925165295601, -0.9500750303268433, -0.4189824163913727, -0.4475342333316803, -0.513817310333252, 0.030309176072478294, -0.051930882036685944, 0.31532207131385803, 0.2202579528093338, 0.6185587048530579, -0.7251553535461426, 0.13929256796836853, -0.3830665647983551, -0.13411590456962585, 0.5528563857078552, 0.08623149245977402, 0.12305361032485962, 0.3282855749130249, -0.31554916501045227, -0.15199428796768188, -0.7480824589729309, -0.1350824385881424, 0.37415099143981934, -0.21386027336120605, -0.09650087356567383, 0.6600646376609802, 0.03125327080488205, 0.7365685701370239, -0.09307961910963058, 0.2821282148361206, -0.08642646670341492, -0.3267534375190735, -0.3582363724708557, -0.17282544076442719, 0.4605221748352051, -0.27044567465782166, 0.26514390110969543, -0.5613656640052795, -0.1269097924232483, -0.04436090216040611, 0.3739241063594818, -0.6668698191642761, 0.012847259640693665, 0.14858797192573547, -0.6813219785690308, 0.044611960649490356, 0.45497840642929077, -0.20949622988700867, -0.15624526143074036, -0.5563278794288635, 0.5832067728042603, -0.2934231162071228, -0.145005002617836, 0.31585994362831116, -0.15778113901615143, 0.002625685650855303, -0.3944481313228607, -1.171759009361267, 0.45191630721092224, 0.9095563292503357, 0.8853700757026672, 0.10661393404006958, -0.11130957305431366, -0.14253933727741241, 0.13015048205852509, -0.4158555567264557, 0.24492575228214264, -0.3644425868988037, -0.3517034351825714, 0.0010917304316535592, -0.22164961695671082, 0.005546881817281246, -0.5385047793388367, 0.0761961117386818, -0.7391436696052551, -0.2004123032093048, -0.21523019671440125, -0.9720808863639832, -0.1754123866558075, -0.10402858257293701, -0.7875344157218933, 0.20461313426494598, 0.33396995067596436, -0.6596012711524963, 0.3685830533504486, -0.5286117792129517, -0.7088043093681335, -0.1811830997467041, -0.11695125699043274, -0.5664105415344238, 0.5409682989120483, -0.3240995705127716, 0.40004247426986694, 0.0253695547580719, 0.4898219704627991, -0.2799780070781708, -0.4712769091129303, 0.49791595339775085, -0.41426554322242737, 0.28303858637809753, 0.46767282485961914, -0.021854231134057045, 0.11944220960140228, -0.9680353999137878, -0.0658404752612114, 0.03065667673945427, -0.761263370513916, 0.03513471037149429, 0.29820626974105835, -0.3853519856929779, -0.20012523233890533, 0.3579239249229431, -0.44997638463974, 0.23452404141426086, -0.7431398630142212, 0.6087580919265747, 0.4989885687828064, 0.02849559299647808, 1.0003753900527954, -0.3081938922405243, 0.4902660846710205, 0.15234772861003876, 0.34968066215515137, -0.37288522720336914, -0.31146499514579773, -0.7110058069229126, -0.23489594459533691, 0.4890173375606537, 0.6106240749359131, -0.5169435143470764, 0.570976734161377, -0.3905348777770996, -0.4940958321094513, 0.04189853370189667, -0.12102769315242767, 0.6036772727966309, 0.29937461018562317, 0.36121320724487305, -0.2575051486492157, -0.7441326379776001, -1.1434813737869263, -0.16987740993499756, -0.04129031300544739, -0.273821622133255, -0.06481751799583435, 0.29402199387550354, -0.22975915670394897, 1.2989920377731323, -0.7466933727264404, -0.010325722396373749, -0.3356572389602661, -0.1350880116224289, 0.49270889163017273, 0.5886256098747253, 0.4529712200164795, -0.6462838649749756, -0.20668913424015045, -0.07632520794868469, -0.6786431074142456, 0.4261472225189209, -0.12221240997314453, -0.04786151647567749, -0.15189778804779053, 0.17051661014556885, -0.46805185079574585, 0.5701373815536499, 0.4781782031059265, -0.06027297303080559, 0.22705130279064178, -0.6329740285873413, -0.47430628538131714, -0.962872326374054, -0.19252872467041016, 0.1564818173646927, -0.1646728217601776, -0.9653832912445068, -0.07193414121866226, -0.15403373539447784, -0.10015276819467545, -0.3733609616756439, 0.41038599610328674, -0.13659892976284027, -0.5762219429016113, 0.018798133358359337, -0.44535204768180847, 0.10564505308866501, 0.35068345069885254, 0.27363428473472595, 0.5696389079093933, 0.5856024026870728, -0.9496372938156128, 0.12463013082742691, 0.2564278244972229, -0.5294627547264099, 0.17353889346122742, -0.8712789416313171, -0.22804059088230133, -0.26135751605033875, 0.4334084987640381, -0.7769571542739868, -0.1648886650800705, 0.2919269800186157, -0.23557591438293457, 0.35653671622276306, -0.1137770563364029, -0.21992194652557373, -0.32585132122039795, 0.130562886595726, 0.6791136264801025, 0.62933349609375, -0.4175061285495758, 0.5516611933708191, -0.014344431459903717, 0.4220961034297943, -0.7816880345344543, -0.9576801657676697, -0.46613577008247375, -0.12102761119604111, -0.7631406784057617, 0.5626450777053833, -0.21038766205310822, -0.13561506569385529, -0.3333069086074829, -0.048072148114442825, -0.23194323480129242, 0.029180480167269707, 0.201601043343544, 0.015755511820316315, -0.2742083966732025, 0.3596333861351013, 0.013422138057649136, -0.12897804379463196, -0.1368723213672638, -0.6618481278419495, 0.5006635189056396, -0.05076199769973755, -0.458232581615448, -0.1952679604291916, 0.4249843657016754, 0.18094933032989502, -0.16491760313510895, 0.79497230052948, 0.4837512969970703, -0.28654152154922485, -0.17604273557662964, -0.14181673526763916, -0.40705472230911255, -0.46323779225349426, 0.4515446126461029, -0.25034499168395996, -0.8852407336235046, 0.7709301710128784, 0.22036822140216827, 0.013747217133641243, 0.24379070103168488, 0.02723586931824684, -0.09318907558917999, 0.7706091403961182, 0.4399074614048004, -0.09746682643890381, 0.5399987101554871, -0.7722783088684082, 0.45839834213256836, -0.6223427653312683, -0.18419280648231506, -0.03044460155069828, -0.6869295239448547, -0.5546886920928955, -0.2614571452140808, 0.3557044267654419, 0.014730642549693584, -0.36742648482322693, 0.4677169620990753, -0.5635476112365723, 0.7337721586227417, 0.8405175805091858, 0.315868616104126, -0.18943358957767487, 0.07841382920742035, 0.03681895136833191, 0.059616800397634506, -0.6460387706756592, -0.10480429977178574, 1.122352123260498, 0.5269619226455688, 0.4218284785747528, 0.22723235189914703, 0.8805148005485535, 0.44365376234054565, 0.05155272036790848, -0.9037796854972839, 0.5475821495056152, -0.6498737931251526, -0.6375587582588196, -0.39292004704475403, -0.19871653616428375, -0.9404664635658264, 0.08834198862314224, -0.09876818209886551, -0.35634011030197144, 0.6190524697303772, 0.3431529998779297, -0.42618685960769653, 0.28428179025650024, -0.49194496870040894, 0.5666320323944092, -0.15342815220355988, 0.10847078263759613, -0.25222569704055786, -0.8704133629798889, 0.42925140261650085, 0.19592830538749695, -0.031214695423841476, 0.20808115601539612, 0.13398286700248718, 0.539421796798706, -0.6414594054222107, 0.9056866765022278, -0.10421498864889145, 0.07759328186511993, 0.6100135445594788, 0.18485279381275177, 0.29645875096321106, 0.15145163238048553, 0.3112483024597168, 0.16087915003299713, -0.13927176594734192, -0.39356857538223267, -0.52165687084198, 0.25921282172203064, -0.8037891983985901, -0.4822280704975128, 0.018128249794244766, -0.26216354966163635, -0.19382110238075256, -0.04586618393659592, 0.7344636917114258, 0.626168429851532, -0.29725512862205505, 0.22999364137649536, 0.9647002220153809, -0.11132829636335373, 0.6507207155227661, -0.019155628979206085, 0.005160295404493809, -0.5580540895462036, 0.9311823844909668, 0.29495322704315186, 0.46105435490608215, 0.7390696406364441, 0.3707544803619385, -0.5718885064125061, -0.49656325578689575, -0.027046682313084602, 0.05831378698348999, -0.9914106726646423, -0.0635465681552887, -0.32916775345802307, -0.46457675099372864, -0.19054099917411804, -0.2349914163351059, -0.3643657863140106, -0.7741391658782959, -0.6621844172477722, -0.35592910647392273, -0.06923273205757141, 0.92955482006073, -0.3395865857601166, 0.580797553062439, -0.8274277448654175, 0.3384956419467926, 0.6351807117462158, 0.3062586784362793, 0.029153181239962578, -0.6904057264328003, -0.46374809741973877, -0.0019251771736890078, -0.38285723328590393, -0.7711832523345947, 0.07504815608263016, 0.4735790193080902, 0.4300861358642578, 0.6509570479393005, -0.250245600938797, 0.30686154961586, -0.3853857219219208, 0.708457350730896, 0.4776328206062317, -0.8207672834396362, 0.38178277015686035, -0.20911072194576263, 0.02386450581252575, 0.19429543614387512, 0.3303348124027252, -0.471370667219162, 0.10640764236450195, -0.5602476596832275, -0.6928985714912415, 0.29995059967041016, 0.07481075078248978, 0.44724759459495544, -0.19304373860359192, 0.5493492484092712, 0.1446927934885025, 0.20262330770492554, -0.6052896976470947, -0.3201599717140198, -0.48661088943481445, -0.23688647150993347, -0.23612825572490692, -0.4815400540828705, -0.04540957510471344, -0.053210534155368805, 0.4141622483730316, -0.02600305713713169, 0.4127781093120575, 0.23525185883045197, -0.09288670867681503, 0.33745503425598145, 0.44462910294532776, 1.0529512166976929, 1.0070643424987793, -0.14757956564426422, 0.06831216812133789, -0.16073912382125854, -0.27874094247817993, 0.5691535472869873, -0.15111708641052246, -0.15027238428592682, -0.04127030447125435, 0.558525025844574, 1.0013880729675293, 0.268197625875473, -0.4096958339214325, 0.4885820746421814, 0.4037357270717621, -0.2763702869415283, -0.3760506212711334, 0.15213674306869507, 0.18994000554084778, 0.30473792552948, 0.10781612992286682, 0.097349613904953, 0.33141669631004333, -0.34643465280532837, 0.23427407443523407, 0.18975624442100525, -0.27037313580513, -0.5952019691467285, 0.5274069905281067, -0.12263268232345581, -0.14262084662914276, 0.6309678554534912, -0.10785342752933502, -0.25182652473449707, 0.9057918190956116, 0.5443926453590393, 0.8922234177589417, 0.07377935945987701, 0.4613340497016907, 0.3498700261116028, -0.12648282945156097, -0.3396690785884857, 0.02266557700932026, -0.22686757147312164, -0.8662453889846802, -0.24749869108200073, -0.5770856142044067, -0.2848595082759857, -0.10475736856460571, -0.6564254760742188, -0.07335229218006134, -0.8067132234573364, -0.43350017070770264, -0.10236137360334396, -0.40014755725860596, -0.5404029488563538, 0.31570732593536377, 0.12635943293571472, 0.7000253200531006, -0.6893891096115112, 0.565445601940155, 0.40370973944664, -0.39353424310684204, -0.7113456130027771, -0.42170003056526184, -0.5178965330123901, -0.6805817484855652, 0.9436355233192444, 0.1286754608154297, 0.3561784327030182, -0.09270903468132019, -0.3897815942764282, -0.8130873441696167, 1.261681079864502, 0.4604467749595642, -0.926737368106842, -0.04089624062180519, 0.6448835134506226, 0.513327956199646, -0.546929657459259, -0.1270870715379715, 0.7716929316520691, 0.4347304105758667, 0.32765498757362366, -0.49726659059524536, -0.3729901611804962, 0.3937860131263733, 0.3966047167778015, 0.14837142825126648, -0.5426982045173645, 0.8115448355674744, -0.30680087208747864, -0.17331621050834656, 0.24146780371665955, 0.7742953896522522, 0.28922224044799805, 0.3807477355003357, 0.23375988006591797, 0.9585400223731995, 0.45499518513679504, -0.15767697989940643, 1.1516083478927612, -0.083278127014637, 0.1585150957107544, 1.123975396156311, 0.06176454573869705, 0.649334192276001, 0.2905273139476776, -0.49092522263526917, 0.3126627802848816, 0.6813899278640747, -0.07101849466562271, 0.8322868943214417, 0.6592051386833191, -0.4843953549861908, -0.14204543828964233, 0.13715559244155884, -0.33763179183006287, 0.15041503310203552, 0.1876872479915619, -0.848061203956604, 0.26518842577934265, 0.030648570507764816, -0.21161018311977386, 0.07389964908361435, -0.3254926800727844, 0.8534119725227356, 0.14107312262058258, -0.7332434058189392, 0.47004929184913635, -0.0804678201675415, 0.5382980108261108, -0.6132005453109741, 0.19294540584087372, -0.28331246972084045, 0.2482972890138626, -0.020353971049189568, -0.7644715905189514, 0.3905496299266815, -0.7574186325073242, -0.6540261507034302, 0.19542934000492096, 0.6824841499328613, -0.2878498136997223, -0.382933646440506, 0.034589167684316635, -0.034344758838415146, -0.2710965871810913, -0.03448266163468361, -0.20606905221939087, -0.25515520572662354, -0.2757287621498108, -0.2372361272573471, 0.3924977779388428, -0.1609693318605423, -0.032769858837127686, 0.6688079833984375, 0.40816664695739746, -0.010845514014363289, 0.6848523020744324, 0.018076464533805847, 0.729562520980835, -0.321146696805954, -0.5768133997917175, -0.9257487654685974, 0.6123453974723816, 0.1782417595386505, -0.038871001452207565, -0.24600376188755035, 0.48299640417099, 0.7926939725875854, -0.7453952431678772, 0.8421483039855957, 0.15284784138202667, 0.04961499944329262, -0.5386589169502258, 0.32572826743125916, -0.3290978670120239, 0.09752088785171509, 0.4981786012649536, -1.2366949319839478, -0.41229403018951416, 0.46267610788345337, -0.18136343359947205, -0.08059661090373993, 0.46150392293930054, 0.5284036993980408, -0.09355557709932327, -0.17023244500160217, 0.5397728681564331, -0.26204416155815125, 0.3432098925113678, 0.6765913963317871, 0.6997671127319336, -0.38568395376205444, 0.34199920296669006, -0.2069823294878006, 0.10776681452989578, -0.1050892248749733, -0.7434068322181702, -0.6747736930847168, -0.70872563123703, -0.08070803433656693, -0.1471279412508011, -0.04526786878705025, 0.3364861309528351, 1.031304955482483, -0.7126878499984741, 0.016573432832956314, -0.47247546911239624, 0.06202247738838196, -0.12605397403240204, -0.17279943823814392, 0.15464428067207336, -0.2399348020553589, -0.2800815999507904, 0.3355225622653961, 0.3230286240577698, 0.4858607053756714, -0.3571593165397644, -0.4324657917022705, 0.232334166765213, 0.4568345844745636, 0.5350272059440613, 0.6306447982788086, -0.6775778532028198, -0.3428973853588104, -0.1422228068113327, 0.36562421917915344, 0.1464885175228119, 1.083875060081482, -0.5039212703704834, 0.30181074142456055, 0.7660298347473145, 0.6949613094329834, 0.2580849826335907, -0.10439654439687729, 0.5353139042854309, -1.1757540702819824, 0.20040085911750793, 0.15888534486293793, 0.5410813093185425, 0.05116013437509537, -0.4090152978897095, 0.6514805555343628, 0.17497383058071136, -0.5880375504493713, -0.38193169236183167, 0.9615399241447449, -0.8134249448776245, -0.29395392537117004, 0.7713207602500916, -0.5237970352172852, 0.05956708639860153, 0.4109906852245331, 0.17509105801582336, 0.42875581979751587, 0.1008368581533432, 0.3766854703426361, 0.7095351815223694, -0.03720449283719063, -0.02252526953816414, -0.025619329884648323, 0.43145328760147095, 0.23884962499141693, -0.6117006540298462, -0.1526242345571518, 0.41710010170936584, 0.27986112236976624, 0.35065221786499023, 0.4233231842517853, 0.18475477397441864, 0.22161069512367249, -0.2543371915817261, -0.4154980480670929, -0.21980024874210358, -0.5968545079231262, -0.3087216019630432, 0.06739398092031479, 0.016172906383872032, -0.3562129735946655 ]
http://arxiv.org/abs/2402.04858v2
http://arxiv.org/pdf/2402.04858v2
CodeIt: Self-Improving Language Models with Prioritized Hindsight Replay
2024-02-07T13:55:27
2024-07-01T10:03:33
Natasha Butt, Blazej Manczak, Auke Wiggers, Corrado Rainone, David W. Zhang, Michaël Defferrard, Taco Cohen
cs.AI
cs.AI, cs.CL, cs.LG
Large language models are increasingly solving tasks that are commonly believed to require human-level reasoning ability. However, these models still perform very poorly on benchmarks of general intelligence such as the Abstraction and Reasoning Corpus (ARC). In this paper, we approach ARC as a programming-by-examples problem, and introduce a novel and scalable method for language model self-improvement called Code Iteration (CodeIt). Our method iterates between 1) program sampling and hindsight relabeling, and 2) learning from prioritized experience replay. By relabeling the goal of an episode (i.e., the target program output given input) to the realized output produced by the sampled program, our method effectively deals with the extreme sparsity of rewards in program synthesis. Applying CodeIt to the ARC dataset, we demonstrate that prioritized hindsight replay, along with pre-training and data-augmentation, leads to successful inter-task generalization. CodeIt is the first neuro-symbolic approach that scales to the full ARC evaluation dataset. Our method solves 15% of ARC evaluation tasks, achieving state-of-the-art performance and outperforming existing neural and symbolic baselines. Our code is available at https://github.com/Qualcomm-AI-research/codeit .
[ -0.21161895990371704, -0.5849460959434509, 0.48887068033218384, 0.4213739335536957, 0.10809407383203506, 0.3936980664730072, -0.4302218556404114, -0.03357284143567085, 0.28210002183914185, 0.45365485548973083, -0.43478429317474365, -0.5228860378265381, -0.5066819787025452, -0.09956581890583038, -0.46072259545326233, 0.9649898409843445, -0.03213565796613693, -0.13628828525543213, -0.12456327676773071, -0.2064456194639206, -0.8364577293395996, -0.7551624774932861, -0.5595575571060181, -0.3137040138244629, 0.37424808740615845, 0.8022535443305969, 0.4459836184978485, 0.4105435907840729, 0.49644553661346436, 0.29622015357017517, 0.5185970664024353, -0.1464555263519287, -0.6038247346878052, 0.07179905474185944, -0.10659840703010559, -0.4270591139793396, -0.3702561855316162, -0.018500516191124916, 0.5515866875648499, 0.5990405082702637, -0.16756117343902588, 0.10632657259702682, -0.07934961467981339, 0.5900512933731079, -0.6689461469650269, 0.13310129940509796, -0.44594210386276245, -0.1678759604692459, 0.2832019627094269, -0.23741833865642548, -0.4143884479999542, -0.4648604393005371, -0.0970524400472641, -0.5551897287368774, 0.05962791666388512, 0.11674206703901291, 0.6144831776618958, 0.41145074367523193, 0.1455991417169571, -0.01933349296450615, -0.7916218042373657, 0.8574141263961792, -0.7717084884643555, 0.1649349182844162, 0.3880787789821625, 0.2675318717956543, 0.022247251123189926, -0.9452179670333862, -0.42765310406684875, -0.3734770715236664, 0.03761691600084305, -0.05528876557946205, -0.5131394863128662, 0.08635009080171585, 0.2820318937301636, 0.40475499629974365, -0.59303879737854, -0.10481344163417816, -0.43604061007499695, -0.2936232089996338, 0.5736463665962219, 0.11621331423521042, 0.307653546333313, 0.29324576258659363, -0.016308069229125977, -0.350020170211792, -0.6221557855606079, -0.10068516433238983, 0.16553683578968048, -0.01632598042488098, 0.22871075570583344, 0.4000259041786194, -0.4544520080089569, 0.43814101815223694, 0.10492778569459915, 0.4523073434829712, 0.5851020216941833, -0.3889901340007782, -0.12279980629682541, -0.06897591054439545, 0.4544733762741089, 0.18852920830249786, 0.3916984498500824, -0.41290220618247986, -0.2955765128135681, 0.39128661155700684, 0.6375049352645874, -0.6582717895507812, -0.574895977973938, 0.3219325542449951, -0.29019680619239807, -0.1905904859304428, -0.4214637279510498, -0.5752438902854919, -0.05350437015295029, -0.44414275884628296, 0.48507562279701233, -0.5699098110198975, -0.453800767660141, 0.16344961524009705, 0.10306718945503235, 0.03858000412583351, 0.17432814836502075, -0.7601765394210815, 0.3287099301815033, 0.8184049725532532, 0.5883472561836243, -0.23489849269390106, -0.7509790062904358, -0.5728069543838501, -0.2309773564338684, -0.6447434425354004, 0.8508743643760681, -0.6547877788543701, -0.13512086868286133, -0.31589630246162415, -0.38755863904953003, -0.06146134436130524, -0.6864588856697083, 0.2514595091342926, -0.25331422686576843, -0.1162760928273201, 0.1328069567680359, -0.5051807165145874, -0.149727001786232, 0.26218411326408386, -0.371478796005249, 1.1617971658706665, 0.03076072409749031, -0.4841940104961395, 0.334251344203949, -0.7545404434204102, -0.3743123412132263, -0.11889807879924774, -0.3144983649253845, -0.328299880027771, 0.39340806007385254, 0.3853484094142914, 0.4090036451816559, -0.11732832342386246, 0.7369459271430969, -0.13789793848991394, -0.60183185338974, -0.19719932973384857, -0.33887824416160583, -0.015486136078834534, 0.15340527892112732, -0.664164125919342, 0.5574910640716553, -0.7536225318908691, 0.41826868057250977, 0.042789217084646225, -0.11916731297969818, -0.3741006553173065, -0.005361273419111967, -0.21752159297466278, 0.1927194595336914, 0.04068252444267273, -0.2577700614929199, 0.31580936908721924, -0.763529896736145, 0.5632445216178894, 0.7604904770851135, -0.022891094908118248, 0.6536493301391602, -0.33774417638778687, 0.5775467157363892, -0.11597488820552826, 0.08960945159196854, -0.34914568066596985, -0.35284921526908875, -0.9257691502571106, 0.01969539374113083, 0.2467154562473297, 0.4146827459335327, -0.6881677508354187, 0.19936048984527588, -0.3895339369773865, -0.4584779143333435, -0.4159986674785614, -0.06413356214761734, 0.6693775057792664, 0.2913443446159363, 0.5878462791442871, -0.462971031665802, -0.4556376039981842, -0.9848286509513855, -0.28666481375694275, -0.31763070821762085, -0.08497393876314163, 0.2551710605621338, 0.4201635420322418, -0.30274146795272827, 0.9938305020332336, -0.41426318883895874, 0.009540009312331676, -0.3651817739009857, 0.5965786576271057, 0.38891926407814026, 0.7573281526565552, 0.17357729375362396, -0.5406462550163269, 0.04349572956562042, -0.23066821694374084, -0.6618495583534241, -0.040621496737003326, -0.3291696310043335, -0.12667691707611084, -0.06035280227661133, 0.6460540890693665, 0.00867462158203125, 0.5305873155593872, 0.4594448208808899, -0.39153987169265747, 0.6692456007003784, -0.39815253019332886, 0.3704383969306946, -0.6382041573524475, 0.1739972084760666, -0.374882310628891, -0.026803992688655853, -0.4917784035205841, 0.19502697885036469, 0.04188773036003113, -0.1839102804660797, -0.2154487520456314, 0.5914283394813538, -0.4068705141544342, -0.20460058748722076, -0.43564146757125854, -0.21933646500110626, -0.31073084473609924, 1.0577731132507324, 0.16573764383792877, 0.9023332595825195, 0.5851183533668518, -0.5965027213096619, 0.07764700800180435, -0.17773117125034332, -0.27419447898864746, 0.14142167568206787, -0.7348122000694275, 0.34802737832069397, 0.025978336110711098, -0.13738960027694702, -1.1191562414169312, 0.2219383865594864, 0.1612333357334137, -0.4795266091823578, 0.16957056522369385, 0.05779805779457092, -0.11181674152612686, -0.3678409457206726, -0.009549149312078953, 0.7563181519508362, 0.5659645795822144, -0.46400025486946106, 0.825307309627533, 0.22732245922088623, -0.19674959778785706, -0.7991628050804138, -0.4682832956314087, 0.27993300557136536, -0.09175948798656464, -0.3377658724784851, 0.15213705599308014, -0.29353204369544983, -0.17446619272232056, -0.08895988017320633, -0.3671341836452484, -0.11591309309005737, -0.021348947659134865, 0.4119170606136322, -0.014099988155066967, -0.2252228558063507, 0.2846290171146393, 0.13646425306797028, -0.3738507032394409, 0.14758439362049103, -0.43881794810295105, 0.6302844882011414, -0.5161952376365662, -0.3065689206123352, -0.22259163856506348, 0.33987361192703247, 0.25190243124961853, -0.32489603757858276, 0.049282338470220566, 0.2666492760181427, -0.2667112648487091, -0.30276671051979065, -0.7991555333137512, -0.46351078152656555, -0.43482473492622375, 0.5825992822647095, -0.5799180269241333, -0.9090558886528015, 0.2254638373851776, -0.4076181650161743, 0.2146914005279541, 0.19611673057079315, 0.4089031219482422, 0.08252089470624924, 0.859778642654419, 0.7842685580253601, -0.4766177833080292, 0.42396509647369385, -0.5775858759880066, 0.1812586933374405, -0.4573792815208435, 0.12860530614852905, -0.34331950545310974, -0.3585875928401947, 0.010650146752595901, -0.5580523014068604, 0.02336418256163597, 0.2432340681552887, -0.48152458667755127, 0.4386189877986908, -0.7000293731689453, 0.5579341053962708, 0.8702147006988525, 0.09252273291349411, 0.41115885972976685, -0.05541598051786423, -0.22501018643379211, -0.06399219483137131, -0.9685498476028442, -0.34927135705947876, 1.1958928108215332, 0.17909325659275055, 0.7745932340621948, -0.3836531937122345, 1.0672610998153687, 0.5199365019798279, 0.616182267665863, -0.44063863158226013, 0.5737398862838745, 0.16074122488498688, -0.22509370744228363, -0.4615251421928406, -0.37924909591674805, -0.7635161876678467, 0.024277832359075546, 0.04817579686641693, -0.6220645904541016, 0.3275477886199951, 0.4394869804382324, -0.33257415890693665, -0.0115578044205904, -0.8748509883880615, 1.146482229232788, -0.17833441495895386, -0.2992694079875946, -0.8247580528259277, -0.5000084638595581, 0.2038183957338333, 0.00945128221064806, 0.19377492368221283, -0.09395834058523178, 0.16971276700496674, 0.5539358854293823, -0.3863282799720764, 0.8123782873153687, -0.020637271925807, 0.25695833563804626, 0.2710613012313843, 0.3218819499015808, 0.3782312273979187, 0.14277969300746918, 0.16867460310459137, 0.4180190861225128, -0.24390862882137299, -0.42712369561195374, -0.8421831130981445, 0.6516152024269104, -0.6387434005737305, -0.7877110838890076, -0.3679225444793701, -0.5092078447341919, -0.20487654209136963, 0.10021647810935974, 0.03842570260167122, 0.6465174555778503, -0.2498437613248825, -0.043254267424345016, 0.35651934146881104, -0.39923033118247986, 0.5253705978393555, 0.1441705971956253, -0.2613305449485779, -0.41360846161842346, 1.081662893295288, -0.23743750154972076, 0.24271443486213684, 0.2741324007511139, 0.06824333220720291, -0.08376915752887726, -0.5866867899894714, -0.29714280366897583, 0.13879644870758057, -0.697730302810669, -0.24599438905715942, -0.5924903154373169, -0.09588431566953659, -0.22652019560337067, -0.31845980882644653, -0.6382806301116943, -0.39928171038627625, 0.20933690667152405, -0.06117315962910652, 0.1852559596300125, 0.6028019785881042, -0.21736019849777222, 0.13921110332012177, -0.35566049814224243, 0.3221687376499176, 0.26646438241004944, 0.46625247597694397, 0.1223653256893158, -0.28868046402931213, -0.2638641893863678, -0.01550049614161253, -0.071120485663414, -0.4663790762424469, 0.35819023847579956, 0.10471555590629578, 0.5585957765579224, -0.11987760663032532, 0.05436260998249054, 0.7489655017852783, -0.6029516458511353, 0.4137687683105469, 0.20769670605659485, -1.0710229873657227, 0.6970566511154175, -0.0339379757642746, 0.4472743570804596, 0.7768872976303101, -0.001533114118501544, -0.5214694142341614, -0.6997271776199341, -0.6571491360664368, -0.9990354776382446, 0.5461548566818237, 0.3032531440258026, 0.13504023849964142, -0.12729452550411224, 0.35841935873031616, -0.15333925187587738, 0.13895393908023834, -0.5660228729248047, -0.15915869176387787, -0.43606802821159363, -0.17844589054584503, -0.22121046483516693, -0.10987953841686249, 0.026714200153946877, -0.3347403407096863, 0.546627402305603, -0.38948768377304077, 0.5352777242660522, 0.3325348496437073, -0.2646726369857788, 0.32843586802482605, 0.239400714635849, 0.5650759339332581, 0.9153514504432678, 0.09465140849351883, -0.08253896236419678, 0.14697977900505066, -0.41936829686164856, 0.2572821378707886, -0.14802756905555725, 0.1251055747270584, -0.1540064960718155, 0.30066055059432983, 0.6242260932922363, 0.6369967460632324, -0.9527037143707275, 0.5552576780319214, -0.2618921995162964, -0.09674666821956635, -0.3707786202430725, 0.18373961746692657, -0.03958461806178093, 0.4308755695819855, 0.44115912914276123, 0.2516680359840393, 0.2935584485530853, -0.45201465487480164, 0.5845891833305359, -0.013192400336265564, -0.18072864413261414, -0.08729787915945053, 0.8241758346557617, 0.025234071537852287, -0.350967675447464, 0.7391467094421387, -0.12391906976699829, -0.32365408539772034, 0.8331626653671265, 0.4128192365169525, 1.0135877132415771, -0.16487182676792145, 0.20957282185554504, 0.675454318523407, 0.1539180725812912, -0.24317258596420288, 0.38451263308525085, -0.21916989982128143, -0.7640829086303711, -0.6919888854026794, -0.3816708028316498, -0.30066409707069397, -0.2281596064567566, -0.3927024304866791, 0.08045750111341476, -0.5043126344680786, 0.025462517514824867, -0.22340454161167145, -0.2656448781490326, -0.5407224893569946, 0.29959747195243835, -0.19235345721244812, 0.8253231644630432, -0.5728617906570435, 1.1453717947006226, 0.3814350366592407, -0.6329730153083801, -1.0917432308197021, 0.02602580189704895, -0.5211751461029053, -0.9517350792884827, 0.724317193031311, 0.07201048731803894, -0.0896243304014206, 0.2694840431213379, -0.488905668258667, -0.9592251181602478, 0.7297543287277222, 0.3691211938858032, -0.7350841760635376, -0.2312438189983368, -0.17624245584011078, 0.6141352653503418, -0.5123152732849121, 0.5073643326759338, 0.6137191653251648, 0.3969520628452301, -0.0248386412858963, -0.7333757281303406, -0.07481155544519424, -0.5069210529327393, 0.05556464195251465, 0.22475489974021912, -0.3387945592403412, 0.4551226794719696, -0.44446879625320435, -0.03907203674316406, 0.17866359651088715, 0.7570462822914124, 0.2544509470462799, 0.38930612802505493, 0.4465568959712982, 0.5713601112365723, 0.40657708048820496, -0.21399664878845215, 1.0581496953964233, -0.46542999148368835, 0.2634828984737396, 1.4532549381256104, 0.030359312891960144, 0.7876918315887451, 0.40466728806495667, 0.06192495673894882, 0.500863254070282, 0.3727431893348694, 0.014375858008861542, 0.5034816265106201, 0.4345403015613556, 0.17455999553203583, -0.3622884452342987, 0.3652116358280182, -0.39677974581718445, 0.42860305309295654, 0.15491169691085815, -0.26715371012687683, -0.15931642055511475, 0.24694140255451202, -0.11519617587327957, 0.3487856090068817, -0.3600117266178131, 0.7534780502319336, -0.16727709770202637, -0.8532538414001465, 0.845552384853363, -0.21485142409801483, 0.7212893962860107, -0.5404101014137268, -0.41961079835891724, -0.527776300907135, 0.39391082525253296, 0.06272942572832108, -0.4960453510284424, 0.5207569003105164, -0.21504011750221252, -0.0757049024105072, -0.26003140211105347, 0.45874229073524475, -0.3330099582672119, -0.4570777416229248, 0.4044722020626068, 0.4203217625617981, 0.26513198018074036, -0.26008230447769165, -0.6489461064338684, 0.05690247192978859, -0.07430101186037064, -0.21703119575977325, 0.1941041499376297, 0.0793842300772667, -0.2300112396478653, 0.8963702321052551, 0.43695005774497986, -0.00555039569735527, 0.17088629305362701, 0.17851822078227997, 0.9639242887496948, -0.8228748440742493, -0.5756791830062866, -0.6445761919021606, 0.4359419643878937, -0.09875635802745819, -0.5610868334770203, 0.516030490398407, 0.7183530926704407, 1.041904330253601, -0.0645645260810852, 0.6670483946800232, 0.014376906678080559, 0.3971084654331207, -0.3070649802684784, 0.5172474384307861, -0.40557852387428284, 0.2290184199810028, -0.5297707915306091, -0.7757246494293213, -0.3722986578941345, 0.6711446046829224, -0.5202829837799072, 0.003508723573759198, 0.7577655911445618, 0.8914167881011963, 0.07892325520515442, -0.04678405076265335, 0.48889416456222534, 0.23041002452373505, 0.13305944204330444, 0.9770293235778809, 0.840278148651123, -0.38778552412986755, 0.5654439926147461, -0.27505743503570557, -0.3304081857204437, 0.12933114171028137, -0.6818295121192932, -0.6262266039848328, -0.6331835985183716, -0.42904427647590637, -0.16812482476234436, 0.43848878145217896, 0.8125094771385193, 0.8743599653244019, -0.9477468132972717, -0.4082668721675873, -0.4722793400287628, 0.16419774293899536, -0.7043408155441284, -0.19445215165615082, 0.297863245010376, -0.691643476486206, -0.6821938753128052, 0.5105352401733398, 0.48725274205207825, -0.5503782033920288, -0.02516166679561138, -0.2732234001159668, -0.09744282811880112, -0.13356924057006836, 0.3728327453136444, 0.6000952124595642, -0.7241236567497253, -0.4131568372249603, -0.009562429040670395, 0.15511652827262878, 0.34155017137527466, 1.2488725185394287, -1.2518965005874634, 0.46349772810935974, 0.2127724140882492, 1.0093436241149902, 0.583981990814209, -0.06301114708185196, 0.9235736131668091, -0.5337614417076111, 0.04858598858118057, 0.5226820707321167, 0.3056429624557495, -0.13284409046173096, -0.2664819359779358, 0.8190947771072388, 0.15379053354263306, -0.6517670750617981, -0.6467432379722595, 0.15757852792739868, -0.5500519871711731, -0.40118247270584106, 0.8552438020706177, -0.17372813820838928, 0.03689848631620407, -0.13487063348293304, -0.26531943678855896, -0.03890388831496239, -0.46954983472824097, 0.8455030918121338, 0.5095006227493286, -0.17279812693595886, -0.3713374733924866, -0.2670826315879822, 0.36440783739089966, 0.735113263130188, -0.7288808226585388, 0.1933746486902237, 0.6769222617149353, 0.327745646238327, 0.06824170053005219, 0.9883036613464355, 0.008864893577992916, 0.5343112945556641, 0.06235872954130173, 0.40838757157325745, -0.08597784489393234, -0.7470132112503052, -0.47016820311546326, 0.14953143894672394, 0.12428044527769089, -0.10421312600374222 ]
http://arxiv.org/abs/2402.04854v4
http://arxiv.org/pdf/2402.04854v4
Hierarchical Tree-structured Knowledge Graph For Academic Insight Survey
2024-02-07T13:54:06
2024-07-03T01:34:52
Jinghong Li, Huy Phan, Wen Gu, Koichi Ota, Shinobu Hasegawa
cs.DL
cs.DL, cs.CL, cs.LG
Research surveys have always posed a challenge for beginner researchers who lack of research training. These researchers struggle to understand the directions within their research topic, and the discovery of new research findings within a short time. One way to provide intuitive assistance to beginner researchers is by offering relevant knowledge graphs(KG) and recommending related academic papers. However, existing navigation knowledge graphs primarily rely on keywords in the research field and often fail to present the logical hierarchy among multiple related papers clearly. Moreover, most recommendation systems for academic papers simply rely on high text similarity, which can leave researchers confused as to why a particular article is being recommended. They may lack of grasp important information about the insight connection between "Issue resolved" and "Issue finding" that they hope to obtain. To address these issues, this study aims to support research insight surveys for beginner researchers by establishing a hierarchical tree-structured knowledge graph that reflects the inheritance insight of research topics and the relevance insight among the academic papers.
[ -0.3202967345714569, -0.5504339933395386, 0.7021387815475464, 0.0672089084982872, -0.1647777408361435, 0.5148801803588867, 0.36338576674461365, -0.36562198400497437, 0.4294562041759491, -0.0495784617960453, -0.6413097977638245, -0.727235734462738, -0.5250267386436462, -0.04466157779097557, -0.1296200305223465, 1.3568915128707886, 0.023467926308512688, -0.2865443527698517, -0.7185548543930054, -0.13441699743270874, -0.08307740837335587, -0.19084976613521576, -0.9740869998931885, -0.4039423167705536, 0.9337045550346375, 0.519548773765564, 0.4968281388282776, 0.5042204260826111, 0.5778076648712158, 0.20496714115142822, -0.40104952454566956, 0.18116234242916107, -0.7614525556564331, 0.13723528385162354, -0.058692000806331635, -0.3744812309741974, -0.5874074101448059, -0.15991348028182983, 0.4325117766857147, 1.1909114122390747, 0.22309017181396484, 0.28884559869766235, 0.4593360424041748, 0.9048181772232056, -0.616774320602417, 0.5147367119789124, -0.44386714696884155, 0.20996224880218506, -0.33998072147369385, -0.6870146989822388, -0.21032863855361938, -0.5088208317756653, 0.3817673325538635, -1.1486698389053345, 0.27172812819480896, 0.21664275228977203, 0.6604056358337402, -0.14167676866054535, -0.6135714054107666, -0.2292207032442093, -0.5599501729011536, 0.3640236258506775, -0.38643398880958557, 0.05830923095345497, 0.4291495680809021, 0.31314244866371155, 0.012481685727834702, -0.7717427611351013, 0.018696129322052002, 0.11830569803714752, -0.5480093359947205, 0.270413875579834, -0.20477882027626038, 0.05831817537546158, 0.024085044860839844, 0.12622880935668945, -0.5281617641448975, -0.2966638207435608, -0.29530662298202515, 0.06335469335317612, 0.3232053816318512, 0.47797465324401855, 0.004316563718020916, -0.4197036623954773, -0.09958240389823914, 0.014708475209772587, -0.48112207651138306, 0.38935980200767517, 0.35733044147491455, 0.3822920322418213, 0.06672779470682144, 0.20479947328567505, -0.4660126566886902, 0.5789989829063416, 0.2789302170276642, -0.3731476366519928, 0.4232065677642822, -0.5093587636947632, 0.055303722620010376, 0.11629647016525269, 0.5325469374656677, 0.36528483033180237, 0.07187355309724808, -0.36509889364242554, 0.21529747545719147, -0.3745831251144409, 0.2939874827861786, -0.8076671361923218, -0.5358173847198486, -0.13929052650928497, -0.7338964343070984, -0.5194805860519409, -0.08815865963697433, -0.6981247067451477, -0.45352044701576233, -0.062439169734716415, 0.0916757807135582, -0.535409688949585, -0.5009778738021851, -0.4795503616333008, -0.25527992844581604, 0.03424009680747986, 0.42739996314048767, -0.6461554765701294, 0.39155250787734985, 0.5210005640983582, 0.8714609146118164, -0.15495455265045166, 0.014231800101697445, 0.22396637499332428, 0.3329780697822571, -0.11381343752145767, 0.8200315833091736, -0.7303123474121094, -0.8077379465103149, -0.05121266096830368, -0.022127533331513405, -0.0853472650051117, -0.20162872970104218, 0.8356515765190125, -0.5895110368728638, 0.33418309688568115, -0.39435625076293945, -0.3771299421787262, -0.3552723228931427, 0.7016698718070984, -0.30615919828414917, 0.8800287842750549, 0.417388379573822, -1.4545971155166626, 0.517989993095398, -0.8511238694190979, -0.370798259973526, 0.44149425625801086, -0.37984904646873474, -0.35040491819381714, -0.3469862937927246, 0.25888755917549133, 0.17315006256103516, -0.10534577071666718, 0.09687040746212006, -0.3317250907421112, 0.08867301046848297, -0.42466577887535095, 0.13699476420879364, 0.899587094783783, 0.1555107831954956, -0.1203971728682518, 0.07945811748504639, -0.6940704584121704, 0.11439748853445053, 0.124727264046669, -0.24620182812213898, -1.1180202960968018, 0.21421299874782562, -0.13372448086738586, -0.406200647354126, 0.3451405167579651, -0.4512210786342621, 0.3570877015590668, -0.16857419908046722, 0.10590857267379761, 0.4298282563686371, 0.3684689402580261, 0.3364386260509491, -0.3281518816947937, 0.8318649530410767, 0.22696101665496826, -0.05785546079277992, 0.015803232789039612, -0.6053540706634521, -0.47053247690200806, 0.3694280683994293, 0.4118821620941162, 0.4061545729637146, -0.5544929504394531, 0.2712477147579193, -0.45312145352363586, -0.43288734555244446, -0.21544738113880157, -0.11953893303871155, 0.34928062558174133, 1.067868709564209, 0.22300869226455688, -0.11063846200704575, -0.6872084736824036, -0.925701379776001, -0.02134934812784195, -0.3727925419807434, 0.05210911110043526, 0.6081148982048035, 0.588129460811615, -0.0289152804762125, 1.2210477590560913, -0.8289669156074524, -0.4927818179130554, -0.005637323018163443, 0.5245295166969299, 0.1302887350320816, 0.3662242293357849, 0.6897305846214294, -0.811327338218689, -0.6361338496208191, 0.22422084212303162, -0.5114075541496277, 0.030426044017076492, 0.29693493247032166, -0.2602657079696655, -0.4760490953922272, 0.32441332936286926, -0.3151330053806305, 0.13761058449745178, 0.19275817275047302, -0.566026508808136, 0.3729804754257202, 0.08133958280086517, 0.245498925447464, -1.2652015686035156, 0.3830212354660034, 0.10166856646537781, 0.03619632124900818, -0.35538381338119507, -0.1875240057706833, -0.13073013722896576, 0.0631604865193367, 0.2844295799732208, 0.18753652274608612, -0.35987502336502075, 0.2919515371322632, -0.018744198605418205, 0.16426432132720947, -0.04449962452054024, 0.24680238962173462, -0.14307206869125366, 0.5684979557991028, 0.4832197427749634, -0.3141659200191498, -0.33283814787864685, 0.4247494637966156, -0.34172821044921875, 0.7469611167907715, -0.6311240196228027, 0.05117721110582352, -0.33719193935394287, 0.20361846685409546, -1.0063008069992065, -0.09183600544929504, 0.19190998375415802, -0.7558018565177917, 0.161054328083992, -0.3804530203342438, -0.12232095003128052, -0.2729920446872711, -0.3486975431442261, 0.6593102812767029, 0.271484911441803, -0.16742746531963348, 0.4370822310447693, 0.43351271748542786, -0.5255674123764038, -0.740749180316925, -0.10918223112821579, -0.04437066987156868, -0.3844861388206482, -0.7163299322128296, 0.7022965550422668, 0.17918074131011963, -0.22707219421863556, 0.5446208119392395, -0.15763349831104279, -0.19057691097259521, 0.129287987947464, 0.44388237595558167, 0.020037941634655, -0.40647679567337036, -0.031447384506464005, 0.010345708578824997, 0.03180708736181259, 0.4785083532333374, -0.20998673141002655, 0.05649328604340553, -0.09548241645097733, -0.1186615452170372, 0.00416886992752552, 0.1938321590423584, 0.6362833380699158, -0.058500129729509354, 0.39015883207321167, 0.32141855359077454, -0.3230777978897095, -0.052404358983039856, -0.10324645042419434, -0.014880356378853321, -0.39998364448547363, 0.26448914408683777, -0.4906274080276489, -0.9266330599784851, 0.49540287256240845, -0.37883615493774414, 0.22677969932556152, 0.5433616638183594, 0.05223023146390915, -0.3518121540546417, 1.2394617795944214, 0.6026890873908997, -0.234541118144989, 0.34047210216522217, -0.46057212352752686, 0.2974138855934143, -0.9045597910881042, -0.7795329093933105, -1.0998189449310303, -0.5252485275268555, -0.34433653950691223, -0.0039046676829457283, 0.6861345767974854, -0.000902232073713094, -0.19002744555473328, -0.06922642141580582, -0.6141762733459473, 0.41827765107154846, 0.6454926133155823, 0.11798646301031113, 0.42459988594055176, 0.23526696860790253, -0.4090472459793091, -0.0726168304681778, -0.8865580558776855, -0.3031075894832611, 0.8930802941322327, 0.15260815620422363, 0.6935015320777893, -0.12585274875164032, 0.7268273234367371, 0.12069243937730789, 0.20411446690559387, -0.8021337985992432, 0.29440397024154663, 0.1301737278699875, -0.5308551788330078, -0.37484705448150635, -0.577195942401886, -1.452080488204956, 0.1517510712146759, -0.1707831621170044, -0.629932701587677, 0.36101454496383667, 0.07028532773256302, -0.32065349817276, 0.27004173398017883, -0.168893501162529, 0.7348737716674805, -0.003611515508964658, -0.18752403557300568, -0.013723618350923061, -0.5394021272659302, 0.4527616798877716, 0.19727526605129242, 0.41653427481651306, 0.13446350395679474, 0.2671654224395752, 1.2003114223480225, -0.3709813058376312, 0.7143216133117676, -0.48865801095962524, 0.2881951332092285, 0.2054533213376999, 0.19968843460083008, 0.3746938109397888, -0.0012796946102753282, 0.10926203429698944, -0.4919738471508026, 0.18606342375278473, -0.21676549315452576, -0.6442904472351074, 0.519546627998352, -0.9203013777732849, -0.7256726622581482, -0.3095947802066803, -0.6511158347129822, -0.5262247323989868, 0.2921723425388336, 0.03660277649760246, 0.1878783106803894, -0.21709465980529785, 0.6195285320281982, 0.6233171820640564, 0.37404191493988037, -0.03609228506684303, 0.36037299036979675, -0.2113684117794037, -0.2563633322715759, 0.5447421073913574, 0.21742451190948486, -0.39668944478034973, 0.45149728655815125, 0.5190263390541077, -0.3016173243522644, -1.056944727897644, -0.14623112976551056, -0.11363165825605392, -0.5138416290283203, -0.2816898822784424, -0.7292445302009583, -0.29284030199050903, -0.4424184262752533, -0.14081716537475586, 0.23517632484436035, -0.5592140555381775, -0.21341626346111298, -0.23261351883411407, 0.6180562376976013, 0.7961729764938354, 0.09569572657346725, 0.3134208619594574, -0.44605714082717896, 0.24915729463100433, 0.3807927966117859, 0.28907838463783264, 0.4376752972602844, -0.4563400447368622, -0.44255146384239197, -0.21369104087352753, -0.4826299846172333, -0.7930265665054321, 0.09449180960655212, 0.05076700821518898, 0.6758420467376709, 0.8177979588508606, 0.19785889983177185, 0.8196399211883545, -0.2536799907684326, 0.4436628222465515, 0.18636973202228546, -0.29837697744369507, 0.820493757724762, -0.781406044960022, 0.3030187487602234, 1.087199330329895, 0.9614870548248291, -0.17178484797477722, -0.333261102437973, -0.7282793521881104, -0.9060277342796326, 0.49852892756462097, 0.1773422658443451, -0.32847025990486145, 0.3680950105190277, 0.2508206069469452, -0.01784062758088112, 0.12257615476846695, -0.7019568681716919, -0.3141902983188629, -0.0929267406463623, -0.1455986648797989, 0.2718832492828369, -0.1882852464914322, -0.45354944467544556, -0.6396498084068298, 0.5378983616828918, -0.11515969038009644, -0.20811909437179565, 0.26025086641311646, 0.43123918771743774, -0.4065624475479126, 0.20589879155158997, -0.19664210081100464, 0.8838514685630798, -0.5165290832519531, 0.3838613033294678, -0.18835893273353577, -0.5319687128067017, 0.04812074825167656, 0.048873987048864365, -0.6570441126823425, -0.036584898829460144, 0.346803218126297, 0.44192129373550415, 0.2579563856124878, 0.04449038580060005, 0.2377922236919403, 0.10860566049814224, -0.6062533259391785, -0.0745578408241272, -0.06504330039024353, 0.5039301514625549, -0.058775998651981354, 0.5261104106903076, 0.12120532244443893, 0.4219505190849304, -0.6855565309524536, -0.018498361110687256, 0.6371700167655945, -0.340465784072876, 0.05164699628949165, 0.5061560869216919, 0.3855009377002716, -0.34564417600631714, 0.6812134385108948, -0.0763980895280838, -0.46736976504325867, 0.6528761982917786, 0.42087382078170776, 0.7153229117393494, 0.1046387329697609, 0.2942100167274475, 0.4807964563369751, 0.23493029177188873, 0.3529872000217438, 0.15725895762443542, -0.2717283070087433, -0.5279219150543213, -0.0906439945101738, -0.6867110133171082, -0.5123801231384277, 0.20418401062488556, -0.739966869354248, -0.1205088272690773, -0.3621387481689453, -0.20617231726646423, 0.17075103521347046, 0.16952700912952423, -0.4410483241081238, 0.19500283896923065, -0.33285585045814514, 0.9833481907844543, -0.6692835092544556, 0.7297912836074829, 0.9527775645256042, -0.1374928504228592, -0.8684380650520325, -0.10580514371395111, -0.03038667142391205, -0.5057059526443481, 0.706903874874115, -0.1090279147028923, -0.4493890404701233, 0.05047931522130966, -0.3402051031589508, -0.8925759792327881, 1.2293105125427246, -0.14645080268383026, -0.3293885588645935, -0.3816205561161041, -0.017375944182276726, 0.5595405697822571, -0.5623912215232849, 0.21134454011917114, 0.3910156786441803, 0.6606091856956482, 0.29570433497428894, -0.4737178683280945, -0.02824561484158039, -0.5547767281532288, -0.23186416923999786, 0.257546067237854, -0.2308562844991684, 0.7027486562728882, -0.07622266560792923, -0.16280683875083923, -0.29808270931243896, 0.47367456555366516, 0.42543673515319824, 0.8180139660835266, 0.7675348520278931, 0.6777219772338867, 0.7790833115577698, 0.05446333810687065, 0.7053468823432922, -0.48086294531822205, 0.22426797449588776, 1.122093677520752, 0.0884084552526474, 0.5606745481491089, 0.4881021976470947, -0.3944963216781616, 0.9890703558921814, 0.974350094795227, 0.06379617750644684, 0.5921305418014526, 0.11393953114748001, -0.15069100260734558, 0.04053546488285065, -0.296762615442276, -0.814750611782074, 0.0016319354763254523, 0.6497849225997925, -0.4286636412143707, -0.40519052743911743, -0.5102363228797913, 0.016128238290548325, -0.03497174754738808, -0.49883517622947693, 0.6754334568977356, -0.06543302536010742, -0.6230083107948303, 0.23631872236728668, -0.22158467769622803, 0.5490662455558777, -0.8335958123207092, -0.024601217359304428, -0.2827192544937134, -0.3567989766597748, -0.6835509538650513, -0.9094979166984558, 0.19955255091190338, -0.1059304028749466, -0.28862735629081726, -0.306711882352829, 0.7497971057891846, 0.0033130820374935865, -0.5268172025680542, 0.22881782054901123, 0.8546561598777771, 0.13203756511211395, 0.17395436763763428, -0.6310065388679504, -0.4438125789165497, -0.046762753278017044, -0.24813354015350342, 0.293398916721344, 0.5919808745384216, 0.09991499036550522, 0.5592144131660461, 0.35654065012931824, 0.12237874418497086, -0.08258290588855743, -0.009007900021970272, 0.8569747805595398, -0.39670872688293457, -0.651381254196167, -0.4961388111114502, 0.35686132311820984, -0.276567667722702, -0.45017826557159424, 0.9066222906112671, 0.7833558320999146, 0.682176947593689, 0.05161045864224434, 0.984644889831543, -0.34204572439193726, 0.6212788224220276, -0.08705271780490875, 0.7160969376564026, -0.7256242036819458, -0.12262072414159775, -0.475224107503891, -0.7527366280555725, -0.22160300612449646, 0.5265520215034485, -0.4255863130092621, 0.07963145524263382, 0.8395146131515503, 0.4969109296798706, -0.28488922119140625, 0.09515047073364258, -0.11104940623044968, 0.103509820997715, -0.09382488578557968, 0.5275307297706604, 0.8813928365707397, 0.22908346354961395, 0.8596700429916382, -0.32088956236839294, -0.35463225841522217, -0.21106718480587006, -0.7464067935943604, -0.8085466623306274, -0.6030364036560059, -0.4606967270374298, -0.2247539460659027, 0.1737734079360962, 0.3027433454990387, 0.8685680031776428, -0.7572614550590515, -0.26085415482521057, -0.3822042942047119, 0.37719202041625977, -0.11917463690042496, -0.33818644285202026, 0.6882728934288025, -0.29382357001304626, -0.28120550513267517, 0.3696059584617615, 0.13733911514282227, -0.09794515371322632, -0.28317761421203613, 0.017913663759827614, -0.1453167051076889, -0.29375696182250977, 0.43785110116004944, 0.33749476075172424, -0.31492191553115845, -0.1531180590391159, -0.12994635105133057, 0.07161328196525574, 0.36269456148147583, 1.2854795455932617, -0.9832130670547485, 0.2278991937637329, 0.7245873212814331, 0.7382446527481079, 0.6685348749160767, 0.2640358805656433, 0.21932587027549744, -0.727857768535614, -0.19187088310718536, 0.46990084648132324, 0.28746047616004944, 0.06466822326183319, -0.45931684970855713, 0.7800962328910828, 0.34731870889663696, -0.68636155128479, -0.5823981165885925, -0.007151032332330942, -1.1071828603744507, -0.31014952063560486, 0.6084926128387451, -0.2341393232345581, -0.07352709025144577, -0.4177161157131195, -0.29726818203926086, 0.09159140288829803, -0.4410322904586792, 1.040027141571045, 0.6187344789505005, -0.5958403944969177, -0.18164901435375214, -0.3158239424228668, 0.5630725622177124, 0.45452794432640076, -0.9451237916946411, -0.10494488477706909, 0.3650418221950531, 0.10130272060632706, 0.4270881414413452, 0.702699601650238, -0.060220979154109955, -0.04331943392753601, 0.20526762306690216, -0.3505105972290039, -0.0005690953112207353, -0.37923020124435425, 0.25132519006729126, 0.9810020327568054, 0.5018802285194397, -0.08204733580350876 ]
http://arxiv.org/abs/2403.15391v1
http://arxiv.org/pdf/2403.15391v1
CapsF: Capsule Fusion for Extracting psychiatric stressors for suicide from twitter
2024-02-07T13:41:22
2024-02-07T13:41:22
Mohammad Ali Dadgostarnia, Ramin Mousa, Saba Hesaraki
cs.CL
cs.CL, cs.SI
Along with factors such as cancer, blood pressure, street accidents and stroke, suicide has been one of Iran main causes of death. One of the main reasons for suicide is psychological stressors. Identifying psychological stressors in an at risk population can help in the early prevention of suicidal and suicidal behaviours. In recent years, the widespread popularity and flow of real time information sharing of social media have allowed for potential early intervention in large scale and even small scale populations. However, some automated approaches to extract psychiatric stressors from Twitter have been presented, but most of this research has been for non Persian languages. This study aims to investigate the techniques of detecting psychological stress related to suicide from Persian tweets using learning based methods. The proposed capsule based approach achieved a binary classification accuracy of 0.83.
[ -0.21975268423557281, -0.9907023310661316, 0.6597828269004822, 0.4086008071899414, -0.11573994904756546, 0.4975031614303589, -0.3917527198791504, -0.29446303844451904, 0.32327044010162354, 0.04712245240807533, -0.9734517931938171, -0.7230514287948608, -0.717411994934082, 0.4144282042980194, -0.14702175557613373, 0.7214298844337463, -0.1744336634874344, 0.07153087109327316, 0.11068445444107056, 0.23977410793304443, -0.3486473858356476, -0.2669391334056854, -1.1150157451629639, 0.24120371043682098, 0.6251081228256226, 0.6969277858734131, 0.36954692006111145, -0.23047304153442383, 0.7145480513572693, 0.34252187609672546, 0.225388303399086, 0.2741960287094116, -0.27693650126457214, 0.08385682851076126, -0.11304701119661331, -0.016122350469231606, 0.10118429362773895, -0.15231075882911682, 0.3549014925956726, 0.22046178579330444, -0.2074057161808014, 0.32851579785346985, 0.0588066503405571, 0.4250965416431427, -0.6570116281509399, 0.03265927731990814, -0.19583532214164734, 0.47125357389450073, -0.3616674244403839, 0.11060542613267899, -0.13484801352024078, -0.7402257323265076, -0.3194156587123871, -0.7003439664840698, 0.07955632358789444, 0.25322800874710083, 0.7405275106430054, 0.23384606838226318, -0.30896854400634766, -0.22300368547439575, -0.8739508390426636, 1.0619580745697021, -0.3390553891658783, 0.04034193232655525, 0.11505841463804245, 0.6408750414848328, -0.06981402635574341, -0.15129828453063965, -0.8107210993766785, 0.20963940024375916, -0.22254040837287903, 0.00424146419391036, -0.12543171644210815, 0.06809134781360626, 0.263813853263855, 0.4911079704761505, -0.5844606161117554, -0.11828120052814484, -0.634064257144928, -0.3505879342556, 0.5026763081550598, 0.14797955751419067, 1.0460004806518555, -0.4735150635242462, -0.23891039192676544, 0.022307323291897774, 0.1238519474864006, -0.015511647798120975, -0.011105147190392017, 0.28164586424827576, -0.3314031660556793, 0.5039587020874023, 0.0017933174967765808, 0.2401961237192154, 0.2781871557235718, -0.2209414690732956, 0.34232714772224426, 0.03206750005483627, -0.1661342829465866, -0.07380612939596176, 1.2801834344863892, 0.23777025938034058, 0.2868552803993225, -0.10829091817140579, 0.24855461716651917, -0.16300849616527557, 0.3713948428630829, -0.5607333779335022, -0.08586977422237396, 0.4919085204601288, -0.6974523663520813, -0.4212942123413086, -0.14920423924922943, -0.8816172480583191, -0.4024369716644287, 0.26838213205337524, 0.31383419036865234, -0.9307042956352234, -0.3824250102043152, -0.054595716297626495, -0.4486289918422699, 0.31108319759368896, 0.284023642539978, -0.4902457594871521, 0.38190343976020813, 0.5135855078697205, 1.1284816265106201, -0.6117256879806519, 0.1346786469221115, -0.18379555642604828, -0.13894151151180267, -0.3096732497215271, 1.002954125404358, -0.3196823000907898, -0.27260246872901917, 0.2661905586719513, -0.02829866297543049, -0.16418367624282837, -0.23970897495746613, 0.9305437207221985, -0.1910412311553955, 0.358929306268692, -0.8427523970603943, -0.42029356956481934, -0.10191620886325836, 0.22863373160362244, -0.6433129906654358, 1.0908957719802856, 0.3437453806400299, -1.0060560703277588, 0.5316022634506226, -0.7812706828117371, -0.5752545595169067, 0.30396196246147156, 0.04862997680902481, -0.5825836658477783, -0.14705908298492432, 0.46407678723335266, 0.7305455803871155, -0.33403831720352173, 0.19884741306304932, -0.3291279375553131, -0.21764667332172394, 0.32947736978530884, 0.14650005102157593, 0.9143853187561035, 0.5498799085617065, 0.004702286329120398, 0.11663269996643066, -0.49802082777023315, -0.046742092818021774, 0.022547343745827675, 0.020079491659998894, -0.3232976198196411, 0.08012546598911285, 0.4456663727760315, 0.4784716069698334, -0.11372529715299606, -1.069421410560608, 0.048250164836645126, -0.03370280563831329, 0.12145569175481796, 0.45112958550453186, 0.9981980919837952, -0.04600333794951439, -0.35468989610671997, 0.7630486488342285, 0.23948852717876434, 0.5303298830986023, 0.6103082299232483, -0.5239518284797668, -0.23152673244476318, -0.8057345747947693, -0.3800329566001892, 0.8303923606872559, -0.7283186316490173, 0.5184512138366699, 0.17637713253498077, -0.8173062801361084, -0.21427775919437408, 0.05944066122174263, 0.5221472978591919, 0.5652236938476562, 0.47841617465019226, 0.042998071759939194, -0.8618297576904297, -0.9673898220062256, -0.5055294036865234, 0.024959303438663483, 0.03039288893342018, 0.22085686028003693, 0.35691753029823303, 0.027882490307092667, 0.6537016034126282, -0.8970863819122314, -0.4693298041820526, -0.5898228883743286, 0.30636560916900635, 0.18378795683383942, 0.4909898042678833, 0.44977906346321106, -0.7889923453330994, -0.7076560258865356, -0.2815781235694885, -0.9931088089942932, -0.23073036968708038, -0.41489914059638977, -0.31689539551734924, -0.10466434806585312, 0.4150483310222626, -0.7252081036567688, 0.4050019681453705, -0.14509683847427368, -0.015094541944563389, 0.6180444359779358, 0.2314041554927826, 0.3913646936416626, -1.3960040807724, 0.24011346697807312, 0.24544380605220795, -0.2162313461303711, -0.769669771194458, -0.41555118560791016, 0.06668179482221603, -0.394045889377594, -0.6232291460037231, 0.18994204699993134, -0.4515282213687897, 0.3239403963088989, -0.1314103901386261, -0.0667790099978447, -0.2823414206504822, 0.33169957995414734, -0.03855249285697937, 0.7053075432777405, 0.4055044651031494, -0.23223380744457245, 0.1934536248445511, 0.5583987236022949, -0.28202682733535767, 0.6088715195655823, -0.3091427981853485, -0.25975459814071655, -0.293433278799057, 0.24359583854675293, -1.213854432106018, -0.36207476258277893, 0.5909761190414429, -0.5418376326560974, 0.18510392308235168, 0.29170143604278564, -0.5437057018280029, -0.8360875248908997, -0.46444034576416016, 0.3415612578392029, 0.5231022834777832, 0.12487943470478058, 0.47718918323516846, 0.5157870650291443, -0.12532570958137512, -0.4082127809524536, -0.5647105574607849, 0.04365672543644905, -0.4152487516403198, -0.12640133500099182, 0.20212791860103607, 0.03451668471097946, -0.3072957694530487, -0.052745308727025986, 0.1267811506986618, -0.10411721467971802, 0.041573915630578995, 0.6962237358093262, 0.17686684429645538, 0.07754547894001007, 0.33713847398757935, 0.3589768707752228, 0.069803386926651, -0.0002716753806453198, -0.07690475136041641, 0.5445437431335449, 0.09106942266225815, -0.011299709789454937, -0.8813627362251282, 0.7447977066040039, 0.37323153018951416, 0.014146632514894009, 1.3616067171096802, 0.9640783071517944, -0.7450148463249207, -0.2057151347398758, -0.8675654530525208, 0.06416014581918716, -0.4564265012741089, -0.13496698439121246, 0.094706691801548, -0.7038329243659973, 0.6011859774589539, -0.17765797674655914, -0.45278292894363403, 0.5548393130302429, 0.5373682975769043, -0.0932285487651825, 0.7032454013824463, 0.6751368641853333, -0.46366262435913086, 0.5132132768630981, 0.04228910803794861, 0.4697161614894867, -0.5346906185150146, -0.22999298572540283, -0.2921731173992157, -0.3228183686733246, -0.4402676224708557, -0.33361881971359253, 0.7324856519699097, -0.14906015992164612, -0.3130530118942261, 0.34344276785850525, -0.6587960720062256, 0.4352627694606781, 0.4206083416938782, 0.3541880249977112, -0.20565950870513916, 0.017543749883770943, -0.1732170581817627, -0.031112592667341232, -0.14270862936973572, -0.20574544370174408, 0.6451846361160278, -0.06337638944387436, 0.37212812900543213, -0.09178074449300766, 0.7466272711753845, 0.6365106701850891, 0.2776561975479126, -0.5338698625564575, 0.4948762357234955, 0.09991808235645294, -0.7295551300048828, -0.3091924488544464, -0.3147987127304077, -0.4302290976047516, -0.4641155004501343, -0.269368052482605, -1.105963945388794, 0.2043810933828354, -0.2654559016227722, -0.8840840458869934, 0.3621124029159546, -0.4544316232204437, 0.6109381318092346, -0.010891525074839592, -0.05813442915678024, -0.1657504141330719, -0.7557752132415771, 0.5980890393257141, -0.14913368225097656, 0.3145131766796112, -0.31325915455818176, 0.10129351168870926, 1.110372543334961, -0.6456913352012634, 0.8316916823387146, -0.26734891533851624, 0.3142282962799072, 0.3791211247444153, 0.09162752330303192, 0.035648755729198456, -0.10312933474779129, -0.004157384857535362, 0.06537149846553802, 0.014568745158612728, -0.5110329985618591, -0.3772960305213928, 0.5427013635635376, -1.0676395893096924, -0.3845139741897583, -0.5259436964988708, -0.5188408493995667, -0.3500455319881439, 0.23995055258274078, 0.3256858289241791, -0.15214349329471588, -0.11160452663898468, -0.36275210976600647, 0.3857167959213257, -0.678238034248352, 0.6194623708724976, 0.10667213797569275, 0.03477119654417038, -0.6920705437660217, 0.6213837265968323, -0.08899887651205063, -0.09583061933517456, 0.5437254309654236, 0.2649769186973572, 0.15469561517238617, -0.042002830654382706, 0.04160549119114876, 0.5296643972396851, -0.33497515320777893, -0.5270949602127075, -0.7153611779212952, -0.27208200097084045, -0.7429323196411133, -0.25634410977363586, -0.25904378294944763, -0.37078985571861267, -0.5383079051971436, -0.5367260575294495, 0.6054693460464478, 0.5586403608322144, -0.5606905817985535, 0.34414124488830566, -0.9363119006156921, 0.5085380673408508, -0.07393063604831696, -0.03693176433444023, -0.05663464590907097, 0.1692541539669037, -0.2532879114151001, -0.34201115369796753, -0.5079265236854553, -1.3676475286483765, 0.5228248834609985, 0.4496004283428192, 0.168733149766922, 0.9894810914993286, 0.3611251711845398, 0.789276123046875, -0.12933756411075592, 0.8629160523414612, 0.1396748125553131, -0.8820922374725342, 0.8077734708786011, -0.5813133716583252, -0.07272595167160034, 0.7370796799659729, 1.2032263278961182, -1.1678466796875, -0.35961097478866577, -0.49776285886764526, -0.36686912178993225, 0.8280335068702698, 0.45451661944389343, -0.23950575292110443, -0.36071205139160156, 0.7456319332122803, 0.09195766597986221, 0.06411166489124298, -0.26523223519325256, -0.3312956690788269, 0.2214251011610031, -0.3992694914340973, 0.0806734710931778, -0.39094850420951843, 0.22134654223918915, -0.3422204852104187, 0.6378517150878906, 0.3335186243057251, 0.5830944180488586, 0.4264388382434845, -0.007789821829646826, -0.692836582660675, -0.05428140237927437, 0.34597131609916687, 0.16872909665107727, -0.5089899897575378, -0.15636208653450012, 0.1712283492088318, -0.512394368648529, 0.10539127886295319, -0.058877911418676376, -0.19185946881771088, -0.18148112297058105, 0.286345899105072, 0.29626181721687317, 0.019961431622505188, -0.7053269743919373, 0.6484588384628296, -0.17126548290252686, -0.07257628440856934, -0.8464527726173401, -0.038123719394207, -0.09761372953653336, 0.2599165141582489, 0.5512813925743103, -0.051433976739645004, 0.32977625727653503, -0.49377211928367615, 0.36066970229148865, 0.4123809337615967, -0.3690119683742523, -0.5422863364219666, 0.3566415309906006, -0.1361061930656433, -0.3312861919403076, 0.6146958470344543, -0.34237340092658997, -0.9876807928085327, 0.2732892334461212, 0.33172377943992615, 0.9708528518676758, -0.6172342896461487, 0.6962081789970398, 0.6643502116203308, 0.10336921364068985, 0.06372636556625366, 0.724900484085083, -0.30763328075408936, -0.6463524103164673, -0.13295415043830872, -0.7299957871437073, -0.42157137393951416, 0.13234500586986542, -0.7761014699935913, 0.35646119713783264, -0.7000485062599182, -0.2522478699684143, -0.17526154220104218, 0.32628658413887024, -0.4282732903957367, 0.39533311128616333, 0.6068332195281982, 0.7786977291107178, -1.3894169330596924, 0.3202371597290039, 0.403580904006958, -0.7251386642456055, -0.7848801016807556, 0.2300661951303482, 0.21798831224441528, -0.641667366027832, 0.5015702843666077, 0.2729319930076599, 0.28247880935668945, -0.35400089621543884, -0.617913007736206, -0.9570956230163574, 0.8502615094184875, 0.01366369891911745, -0.15370620787143707, -0.17177967727184296, 0.5586475133895874, 0.6365208029747009, -0.13694095611572266, 0.3419612944126129, 0.2667332589626312, 0.43139544129371643, 0.06402981281280518, -0.6655157208442688, 0.4604125916957855, -0.3276721239089966, -0.08683483302593231, 0.3280947804450989, -0.7955449223518372, 0.7711310982704163, -0.0076412176713347435, -0.6315602660179138, -0.20735983550548553, 0.5629284977912903, -0.02916603907942772, 0.19729936122894287, 0.4040466547012329, 0.7029677033424377, 0.714895486831665, 0.4293632209300995, 0.9157624244689941, -0.12468357384204865, 0.41863659024238586, 0.5024315118789673, -0.18328431248664856, 0.8570554256439209, 0.48243001103401184, -0.14812792837619781, 0.7446531057357788, 0.6737998723983765, -0.0017617656849324703, 0.5190144181251526, 0.1860276311635971, -0.35836607217788696, -0.4172433018684387, -0.07702493667602539, 0.1179875060915947, 0.06996621191501617, 0.8190917372703552, -0.3099994659423828, -0.3618234694004059, 0.8235153555870056, 0.3719943165779114, -0.0801481232047081, -0.002061030361801386, 0.8145216703414917, 0.13580866158008575, -0.6164350509643555, 0.35451892018318176, -0.15181484818458557, 0.3470163643360138, -0.14013022184371948, 0.16834546625614166, 0.1420624703168869, 0.24871835112571716, -0.18317881226539612, -0.5264935493469238, 0.8469734191894531, 0.086405910551548, 0.034832663834095, -0.2528138756752014, 1.2537404298782349, 0.011850952170789242, -0.9785959720611572, 0.23334908485412598, 0.6859822869300842, 0.1278264820575714, -0.5257596969604492, -0.6522955894470215, -0.2197953760623932, -0.28383809328079224, -0.20647791028022766, -0.035621896386146545, 0.32993581891059875, 0.0640772357583046, 0.6520469188690186, 0.511283814907074, 0.20171144604682922, -0.2227381318807602, -0.4033661186695099, 0.7696319222450256, -0.7446704506874084, -0.13197903335094452, -0.9191519618034363, 0.2584838271141052, -0.3491224944591522, -0.293273389339447, 0.803838849067688, 0.47594913840293884, 0.1460147202014923, -0.3662026524543762, 0.8140026926994324, -0.4055412709712982, 1.0516866445541382, -0.042886752635240555, 1.187661051750183, -0.4254501760005951, -0.254160612821579, -0.40147489309310913, -0.38941508531570435, -0.591363251209259, 0.3318067789077759, -0.6908735036849976, -0.2074044644832611, 1.0067850351333618, 0.6700157523155212, -0.0053058648481965065, -0.05108882486820221, 0.14211039245128632, 0.2796384394168854, 0.26226258277893066, 0.644183874130249, 0.5929385423660278, -0.5886632204055786, 0.3513285219669342, -0.4863908886909485, -0.26660168170928955, -0.1676758974790573, -0.5351182818412781, -1.3004047870635986, -0.9194338321685791, -0.5186907649040222, -0.2570194602012634, 0.15763910114765167, 1.1754331588745117, 0.31331953406333923, -1.0593241453170776, 0.09713421761989594, -0.1375424712896347, 0.14181523025035858, -0.30832529067993164, -0.26571863889694214, 0.5810151696205139, -0.404590368270874, -0.1506391167640686, -0.05150660127401352, 0.17531463503837585, -0.3231710195541382, 0.15733957290649414, 0.5672417879104614, -0.5058010220527649, 0.3073371350765228, 0.15363261103630066, 0.4119326174259186, -0.3826470971107483, -0.3270445466041565, -0.12071956694126129, -0.0875542014837265, -0.01624690368771553, 0.7368301153182983, -0.8533636331558228, -0.2555180490016937, 0.5480015873908997, 0.2174084186553955, 0.14769089221954346, 0.11927124112844467, 0.3321848511695862, -0.839668333530426, -0.17825649678707123, 0.13955403864383698, 0.23631548881530762, 0.34844711422920227, -0.8707067370414734, -0.024985743686556816, 0.4442192018032074, -0.4276169240474701, -0.6588518619537354, -0.18076448142528534, -1.171437382698059, -0.10183554887771606, 1.027000069618225, -0.15917366743087769, -0.8012883067131042, -0.14616039395332336, -0.35191360116004944, 0.8254520297050476, -0.5442305207252502, 1.171645998954773, 0.5250718593597412, -0.07524798810482025, -0.14262014627456665, -0.1419615000486374, 0.8195635080337524, 0.028783153742551804, -0.9291725158691406, -0.2141079604625702, 0.027229471132159233, 0.3019251525402069, 0.26437607407569885, 0.5767835378646851, 0.06323078274726868, 0.3482670485973358, -0.2313222438097, 0.09036441147327423, 0.16908642649650574, 0.09388173371553421, 0.15130923688411713, 0.2813265323638916, -0.6077632308006287, -0.23194454610347748 ]
http://arxiv.org/abs/2402.04838v4
http://arxiv.org/pdf/2402.04838v4
PaDeLLM-NER: Parallel Decoding in Large Language Models for Named Entity Recognition
2024-02-07T13:39:38
2024-02-15T01:52:16
Jinghui Lu, Ziwei Yang, Yanjie Wang, Xuejing Liu, Brian Mac Namee, Can Huang
cs.CL
cs.CL, cs.AI
In this study, we aim to reduce generation latency for Named Entity Recognition (NER) with Large Language Models (LLMs). The main cause of high latency in LLMs is the sequential decoding process, which autoregressively generates all labels and mentions for NER, significantly increase the sequence length. To this end, we introduce Parallel Decoding in LLM for NE} (PaDeLLM-NER), a approach that integrates seamlessly into existing generative model frameworks without necessitating additional modules or architectural modifications. PaDeLLM-NER allows for the simultaneous decoding of all mentions, thereby reducing generation latency. Experiments reveal that PaDeLLM-NER significantly increases inference speed that is 1.76 to 10.22 times faster than the autoregressive approach for both English and Chinese. Simultaneously it maintains the quality of predictions as evidenced by the performance that is on par with the state-of-the-art across various datasets.
[ -0.547965407371521, -0.8087837100028992, 0.36135679483413696, 0.5839754939079285, -0.30559664964675903, 0.19347403943538666, -0.31173110008239746, -0.520038902759552, 0.3685312271118164, 0.8109614253044128, -0.1399085372686386, -0.688361406326294, -0.6626914739608765, 0.41409382224082947, -0.3769338130950928, 0.8569879531860352, -0.16331516206264496, 0.12469371408224106, -0.14344695210456848, -0.06467743963003159, -0.17798025906085968, -0.687976062297821, -1.0322275161743164, -0.3600182831287384, 0.7857503890991211, 0.4250759184360504, 0.41347965598106384, 0.9078906774520874, 0.7579876780509949, 0.24716944992542267, -0.10438492149114609, 0.2632504403591156, -0.40185311436653137, 0.4227592945098877, 0.09000568091869354, -0.5136143565177917, -0.9088559746742249, -0.3412051200866699, 0.9378024935722351, 0.9035705924034119, -0.04675843194127083, -0.07015983015298843, 0.01279421430081129, 0.7352326512336731, -0.6069461107254028, 0.26877033710479736, -0.3952062726020813, 0.049080949276685715, -0.2853506803512573, -0.3417067229747772, -0.5432103872299194, -0.3441013991832733, -0.10457049310207367, -0.43725910782814026, 0.48140949010849, 0.3701242506504059, 0.646673858165741, 0.02230587601661682, -0.3036683201789856, -0.13261771202087402, -0.7013586163520813, 0.6715731620788574, -0.5935153961181641, 0.28508326411247253, 0.398722767829895, 0.1829691380262375, -0.3971504271030426, -0.7215238809585571, -0.769372284412384, -0.16205653548240662, -0.0879119336605072, 0.03388913720846176, -0.13871505856513977, 0.3582071363925934, 0.4381117522716522, 0.5426028370857239, -0.7359628677368164, 0.4844810664653778, 0.04622204974293709, -0.15399444103240967, 0.6753571629524231, 0.40640056133270264, 0.2860819399356842, -0.10406821966171265, -0.5263755321502686, -0.0930156260728836, -0.9740509986877441, -0.2109687179327011, 0.394122451543808, 0.16818146407604218, -0.12287837266921997, 0.37124156951904297, -0.23068766295909882, 0.684851348400116, 0.04755519703030586, -0.09383195638656616, 0.22190822660923004, -0.028079358860850334, -0.183983713388443, 0.3087918758392334, 0.7971032857894897, 0.29564815759658813, 0.004857110325247049, -0.31398895382881165, -0.28497758507728577, 0.11824645847082138, -0.35999563336372375, -1.210990309715271, -0.4114079177379608, 0.19570621848106384, -0.8221719861030579, -0.05393647029995918, 0.06406356394290924, -0.9550132751464844, -0.27318817377090454, -0.27104806900024414, 0.16137690842151642, -0.2099079042673111, -0.342965692281723, 0.23058784008026123, 0.08513259887695312, 0.3053722679615021, 0.38485708832740784, -0.7794981002807617, 0.6928372383117676, 0.8124225735664368, 0.81337571144104, -0.34232795238494873, -0.4362017512321472, -1.0507420301437378, 0.16633790731430054, -0.39890021085739136, 0.9465131163597107, -0.5744373202323914, -0.49156561493873596, -0.3172456622123718, 0.1738586723804474, -0.18048736453056335, -0.8197952508926392, 0.3350439965724945, -0.817176103591919, -0.14639422297477722, -0.17557963728904724, -0.8975883722305298, -0.1395556628704071, -0.001794545678421855, -0.777959406375885, 0.6645249128341675, -0.41850921511650085, -0.842017412185669, 0.19529445469379425, -0.4178854525089264, -0.6242756843566895, 0.18768110871315002, -0.21426895260810852, -0.4297678470611572, 0.20678925514221191, 0.47477781772613525, 0.7406578660011292, -0.6342943906784058, 0.33452552556991577, -0.3172576129436493, -0.39019301533699036, 0.1888156533241272, -0.38827377557754517, 0.5753152966499329, 0.1467682421207428, -0.24429135024547577, -0.052249908447265625, -0.8948227167129517, -0.1889081746339798, 0.015374092385172844, -0.37753719091415405, -0.32980769872665405, -0.06743621081113815, 0.2448253184556961, -0.08894073963165283, 0.006473778281360865, -0.5141630172729492, 0.10150014609098434, -0.31982916593551636, 0.2291221171617508, 0.483081191778183, 0.026242321357131004, 0.5750067234039307, -0.23958539962768555, 0.5833359956741333, 0.16130338609218597, -0.40560972690582275, -0.5395660400390625, -0.4028071165084839, -1.0222280025482178, -0.41826358437538147, 0.6222724318504333, 0.5481147170066833, -0.6456936597824097, 0.39492177963256836, -0.3468151390552521, -0.30195796489715576, -0.34714236855506897, -0.06156448647379875, 0.5431722402572632, 0.4884145259857178, 0.403057336807251, -0.38746485114097595, -0.6621071100234985, -0.7241950631141663, -0.10267636924982071, -0.011964716017246246, -0.05114932730793953, 0.4309227466583252, 0.487209290266037, -0.2931790053844452, 0.5846874117851257, -0.3020385205745697, -0.040529847145080566, -0.36038586497306824, 0.4490581750869751, 0.3030000329017639, 0.5981441736221313, 0.24176056683063507, -0.7137778997421265, -0.6563108563423157, -0.014700236730277538, -0.8093600273132324, -0.2633051574230194, -0.006343401037156582, 0.010668830014765263, 0.2427414506673813, 0.7314329147338867, -0.6902886629104614, 0.36891812086105347, 0.5737228989601135, -0.0860484391450882, 0.46637293696403503, -0.43536633253097534, 0.08106990158557892, -1.170759916305542, -0.042424436658620834, -0.1792691946029663, -0.15763799846172333, -0.4794974625110626, -0.03781746327877045, 0.1381104737520218, -0.14401617646217346, -0.06693778932094574, 0.8126384615898132, -1.1347142457962036, -0.35380861163139343, -0.5358997583389282, 0.13635526597499847, 0.09970671683549881, 0.06670962274074554, 0.20178955793380737, 1.0306476354599, 0.6540017127990723, -0.8389213681221008, 0.4014759361743927, 0.17629501223564148, -0.383439838886261, 0.511343777179718, -0.7064483165740967, 0.13285812735557556, -0.25558891892433167, 0.49363383650779724, -0.4911244213581085, -0.2641303539276123, 0.010808560065925121, -0.3177966773509979, 0.6842030882835388, -0.10616564005613327, -0.6569735407829285, -0.33472558856010437, 0.0039260596968233585, 0.791618287563324, 0.5557968020439148, -0.9660434722900391, 0.5611255764961243, 0.5140060782432556, -0.3731216490268707, -0.5705241560935974, -0.7790695428848267, 0.4129907190799713, -0.2611615061759949, -0.5724959969520569, 0.7621713876724243, 0.0921468436717987, -0.14119794964790344, 0.05620046332478523, 0.09235825389623642, -0.08421476185321808, -0.21540839970111847, 0.1567898690700531, 0.1707940399646759, -0.4769591987133026, 0.17590507864952087, -0.059977754950523376, -0.6462696194648743, -0.0789489895105362, -0.2791023254394531, 0.6331756711006165, -0.07697920501232147, -0.07315534353256226, -0.6514561772346497, 0.5919934511184692, 0.36525022983551025, -0.4017453193664551, 0.9354833364486694, 0.44722825288772583, -0.3794931173324585, -0.4302676320075989, -0.7237647771835327, -0.27194058895111084, -0.420773983001709, 0.2704698443412781, -0.5553935766220093, -0.99952632188797, 0.8595549464225769, -0.2644750475883484, -0.6897339820861816, 0.23382800817489624, 0.4978996515274048, -0.01730310544371605, 0.6995589733123779, 0.5605999827384949, -0.21606943011283875, 0.253971129655838, -0.30905357003211975, 0.3956722021102905, -0.9553223848342896, -0.32165294885635376, -0.5260979533195496, -0.21633921563625336, -0.7209708094596863, -0.7633079886436462, -0.06281699985265732, 0.3953254520893097, -0.14277975261211395, 0.3894258439540863, -0.2950490415096283, 0.5366125702857971, 0.4662754535675049, -0.0565292090177536, 0.4586372673511505, 0.19631138443946838, -0.19687128067016602, -0.05550796538591385, -0.768302857875824, -0.4739535450935364, 1.034094214439392, 0.19742214679718018, 0.9121837615966797, -0.07183310389518738, 0.9681356549263, 0.09940928965806961, 0.24801763892173767, -0.5756921768188477, 0.7296318411827087, -0.3590508997440338, -0.20626835525035858, -0.015435758978128433, -0.6200759410858154, -1.2302374839782715, 0.16136857867240906, -0.0241592638194561, -0.6373768448829651, 0.3230566382408142, 0.10297761112451553, -0.21989546716213226, 0.5639672875404358, -0.2538051903247833, 0.6493515372276306, -0.0663098692893982, -0.17669805884361267, -0.2476663738489151, -0.44261178374290466, 0.30928167700767517, 0.10841316729784012, -0.043523963540792465, -0.3266330361366272, -0.14670917391777039, 0.7418414950370789, -0.5069136619567871, 0.4551912248134613, -0.1675097495317459, 0.11185365915298462, 0.12050695717334747, -0.13054560124874115, 0.7944568991661072, 0.2625240087509155, -0.10447009652853012, 0.47755053639411926, -0.4833326041698456, -0.45714831352233887, -0.4697425067424774, 0.999223530292511, -0.6160640120506287, -0.48268672823905945, -0.36374902725219727, -0.5166877508163452, 0.0996471643447876, 0.09828630834817886, 0.43550267815589905, 0.47365930676460266, -0.18102668225765228, 0.23699018359184265, 0.9269087314605713, -0.450328528881073, 0.6314681768417358, 0.4991554915904999, -0.3438374102115631, -0.7036396861076355, 0.8057149648666382, 0.16672579944133759, -0.04551514983177185, 0.8076685667037964, -0.35201603174209595, -0.23533396422863007, -0.9544305801391602, -0.16435763239860535, 0.46191516518592834, -0.4266206920146942, -0.40172138810157776, -1.0745761394500732, -0.3114486336708069, -0.13991938531398773, 0.04965834319591522, -0.32279157638549805, -0.3148585557937622, -0.3863682746887207, -0.08762062340974808, 0.42045193910598755, 0.5860010981559753, -0.16347730159759521, 0.41996005177497864, -0.9071069359779358, 0.5413385629653931, 0.11107791215181351, 0.3111101984977722, 0.061010368168354034, -0.28303685784339905, -0.13612262904644012, -0.35535895824432373, 0.2798144519329071, -0.7957925796508789, 0.5167532563209534, 0.06582988053560257, 0.5229493379592896, 0.29760468006134033, 0.14550979435443878, 0.696327269077301, -0.6606563329696655, 0.32199805974960327, 0.19556374847888947, -0.7917692065238953, 0.30185842514038086, -0.2752447724342346, 0.015744628384709358, 0.23239634931087494, 0.18245559930801392, -0.5089638829231262, -0.017396923154592514, -0.35015425086021423, -1.0387520790100098, 0.608845055103302, 0.11055883020162582, 0.06657137721776962, -0.35900241136550903, 0.2793887257575989, 0.2949850559234619, 0.18011848628520966, -0.3870280385017395, -0.33364662528038025, 0.33314335346221924, 0.094089575111866, -0.22075268626213074, -0.7594253420829773, 0.21647657454013824, -0.10263831168413162, 0.5671901106834412, 0.11811355501413345, 0.5728437900543213, 0.178347647190094, -0.25454428791999817, 0.14652252197265625, 0.21591490507125854, 0.28814804553985596, 0.29246288537979126, -0.09104280918836594, 0.16217045485973358, 0.14939796924591064, -0.3210075795650482, 0.18354474008083344, 0.5485188961029053, -0.14516723155975342, 0.2569246292114258, 0.34082430601119995, 1.1041920185089111, 0.26022017002105713, -0.3208928406238556, 0.43658018112182617, -0.1452929973602295, -0.04848441481590271, -0.36013808846473694, -0.1040990948677063, 0.1512303501367569, 0.3336644172668457, 0.32615402340888977, -0.05119221284985542, 0.10945949703454971, 0.003147076815366745, 0.15049630403518677, 0.17098955810070038, 0.21849359571933746, -0.22918446362018585, 0.7741314172744751, 0.3021607995033264, -0.39450234174728394, 0.7993567585945129, -0.2862248420715332, -0.1971360296010971, 0.9908196926116943, 0.6434909105300903, 1.1128548383712769, -0.28407174348831177, 0.12305746227502823, 0.44839948415756226, 0.03420726954936981, -0.3019973039627075, 0.35499104857444763, -0.13996654748916626, -0.7906996011734009, -0.5475987792015076, -0.9158247709274292, -0.41626834869384766, 0.2955688238143921, -0.8044589161872864, 0.11017449200153351, -0.43041783571243286, -0.18296460807323456, -0.05187992379069328, -0.18413226306438446, -0.6692087650299072, -0.0337296798825264, 0.13012151420116425, 0.8736026287078857, -0.3529926836490631, 0.9375251531600952, 0.5901023149490356, -0.28794464468955994, -0.7786321640014648, 0.24406684935092926, -0.3638603389263153, -0.5587282180786133, 0.9698584675788879, 0.4813219904899597, -0.17168323695659637, 0.299458384513855, 0.002277070889249444, -0.9635631442070007, 1.072746992111206, 0.46389833092689514, -0.8871076703071594, -0.08226040005683899, 0.06637021154165268, 0.3798203468322754, -0.6422321200370789, 0.11748700588941574, 0.34877991676330566, 0.3490389287471771, -0.24904997646808624, -0.8883209228515625, -0.04860139265656471, -0.22558541595935822, 0.510576605796814, 0.3609265089035034, -0.5470229387283325, 1.1065430641174316, -0.34953153133392334, -0.3898109495639801, 0.4468531012535095, 0.693103015422821, 0.42389991879463196, 0.5494312047958374, 0.03793703764677048, 0.7950982451438904, 0.8434076905250549, -0.12299998849630356, 1.0109341144561768, -0.6742891073226929, 0.42073917388916016, 1.2323949337005615, -0.34249386191368103, 1.0809966325759888, 0.3961430788040161, -0.29849499464035034, 0.45551177859306335, 0.5709455609321594, -0.08011770993471146, 0.4313942790031433, 0.2673729658126831, -0.6039660573005676, -0.21578273177146912, 0.032875798642635345, -0.7189440727233887, 0.36774951219558716, 0.502906858921051, -0.42609870433807373, -0.21004074811935425, 0.2059706598520279, 0.0901850163936615, 0.21133539080619812, -0.446511834859848, 0.5791658759117126, 0.34049174189567566, -0.4333588480949402, 0.5896320343017578, 0.1325232833623886, 0.8633857369422913, -0.18558913469314575, -0.08347680419683456, -0.4331308901309967, 0.3722788691520691, -0.12973777949810028, -0.3638560473918915, 0.04621939733624458, -0.08605783432722092, -0.555896520614624, -0.22800089418888092, 0.7585675120353699, -0.6198508143424988, -0.5141863226890564, 0.8058182001113892, 0.613551676273346, 0.34771206974983215, -0.06290066242218018, -0.46777451038360596, 0.09665592014789581, -0.45336782932281494, -0.25351977348327637, 0.38242602348327637, 0.3501836955547333, 0.026761947199702263, 0.6122077107429504, 0.68510901927948, 0.13763554394245148, 0.20105330646038055, 0.14629919826984406, 0.6849644780158997, -0.8781352639198303, -0.4611450135707855, -0.7543455958366394, 0.12054961174726486, -0.052007611840963364, 0.11434069275856018, 0.7749196887016296, 0.7149205207824707, 0.9456123113632202, -0.1809622347354889, 0.6978986263275146, 0.22154656052589417, 0.5535145998001099, -0.7179038524627686, 0.7781664729118347, -0.23865516483783722, 0.5082152485847473, -0.06637756526470184, -1.150968313217163, -0.4614264667034149, 0.48876458406448364, -0.3930606245994568, 0.059544339776039124, 0.7270199060440063, 1.0212599039077759, 0.0455293208360672, -0.05365920066833496, 0.3750307261943817, 0.3760867714881897, 0.027540190145373344, 0.5537854433059692, 0.7774966359138489, -0.47009769082069397, 0.3143366277217865, -0.25927701592445374, -0.06932802498340607, -0.32515934109687805, -0.914907693862915, -0.9569254517555237, -0.20935161411762238, -0.3867763876914978, -0.18731269240379333, 0.3425571024417877, 0.6284879446029663, 0.583000123500824, -1.0969957113265991, -0.3991624414920807, -0.569683849811554, -0.008322671055793762, 0.02585216611623764, -0.24350374937057495, 0.541607141494751, -0.447028249502182, -0.8956010937690735, 0.4966201186180115, 0.5365387201309204, -0.03959517553448677, 0.09831226617097855, -0.4023166298866272, 0.04439997300505638, -0.21767957508563995, 0.47410112619400024, 0.36460909247398376, -0.834601104259491, 0.2169613093137741, -0.11008457094430923, -0.1825421005487442, 0.17476382851600647, 0.998596727848053, -0.8160141110420227, 0.4740926921367645, 0.5781979560852051, 0.877647340297699, 0.794581949710846, -0.13379313051700592, 0.5955049395561218, -0.17182333767414093, 0.3468623757362366, 0.3112606704235077, 0.5422638058662415, 0.4216506779193878, -0.2775491774082184, 0.2219025194644928, 0.3851271867752075, -0.6540020704269409, -0.8074807524681091, 0.18161970376968384, -0.8404777646064758, -0.029917564243078232, 0.9503728151321411, -0.44053635001182556, -0.1191374659538269, -0.06983581930398941, 0.038553014397621155, 0.21366272866725922, -0.3909285068511963, 0.45773154497146606, 0.46434956789016724, -0.28887104988098145, -0.4609225392341614, -0.41267716884613037, 0.3487392067909241, 0.39348840713500977, -0.7428253293037415, 0.05596598982810974, 0.44081026315689087, 0.2237139493227005, -0.1456935703754425, 0.7933592796325684, -0.02549983561038971, 0.3384528160095215, 0.3296818733215332, 0.12184776365756989, -0.12359654158353806, -0.46062788367271423, -0.4213774800300598, 0.31222519278526306, 0.059228528290987015, -0.30852407217025757 ]
http://arxiv.org/abs/2402.10938v1
http://arxiv.org/pdf/2402.10938v1
News Source Credibility Assessment: A Reddit Case Study
2024-02-07T13:39:24
2024-02-07T13:39:24
Arash Amini, Yigit Ege Bayiz, Ashwin Ram, Radu Marculescu, Ufuk Topcu
cs.CL
cs.CL, cs.SI
In the era of social media platforms, identifying the credibility of online content is crucial to combat misinformation. We present the CREDiBERT (CREDibility assessment using Bi-directional Encoder Representations from Transformers), a source credibility assessment model fine-tuned for Reddit submissions focusing on political discourse as the main contribution. We adopt a semi-supervised training approach for CREDiBERT, leveraging Reddit's community-based structure. By encoding submission content using CREDiBERT and integrating it into a Siamese neural network, we significantly improve the binary classification of submission credibility, achieving a 9% increase in F1 score compared to existing methods. Additionally, we introduce a new version of the post-to-post network in Reddit that efficiently encodes user interactions to enhance the binary classification task by nearly 8% in F1 score. Finally, we employ CREDiBERT to evaluate the susceptibility of subreddits with respect to different topics.
[ -0.28844109177589417, -0.8200900554656982, 0.4305662214756012, 0.4441792070865631, -0.480848103761673, 0.3728465437889099, -0.5389161705970764, -0.34221237897872925, 0.2077195644378662, 0.08154870569705963, -0.15423083305358887, -0.6316797733306885, -0.9260087609291077, 0.2493557333946228, -0.7500640153884888, 0.8371872901916504, 0.16786226630210876, 0.15194614231586456, -0.47395768761634827, -0.16297408938407898, -0.2748260200023651, -0.538746178150177, -0.3963034451007843, -0.11395163834095001, 0.7149194478988647, 0.31568989157676697, 0.7229872345924377, 0.31506451964378357, 0.8672214150428772, 0.25876671075820923, -0.06485870480537415, 0.08045478165149689, -0.4663718342781067, -0.1552484631538391, -0.7234522700309753, -0.3098905682563782, -0.06017788499593735, 0.11500892788171768, 0.26937511563301086, 0.23723284900188446, -0.3276982605457306, 0.664260983467102, 0.13096708059310913, 0.5177624225616455, -0.5769908428192139, 0.18192380666732788, -0.7632725238800049, -0.13173502683639526, -0.18786200881004333, -0.5189682841300964, -0.5405139923095703, -0.7747017741203308, 0.09583546966314316, -0.35783496499061584, 0.28371259570121765, -0.2891351878643036, 1.0594172477722168, 0.1622747927904129, -0.47268882393836975, -0.35543790459632874, -0.8480498790740967, 0.5987111330032349, -0.40804773569107056, 0.674340009689331, 0.10052929818630219, 0.4518963098526001, 0.12666453421115875, -1.101767659187317, -0.622496485710144, 0.10858263075351715, -0.16961908340454102, 0.19837456941604614, -0.04661816358566284, -0.21104373037815094, -0.15590354800224304, 0.10766614973545074, -0.42987900972366333, -0.45672062039375305, -0.6964991688728333, -0.48951202630996704, 0.6602170467376709, -0.4696985185146332, 0.1303071826696396, -0.47584518790245056, -0.42423921823501587, -0.2953072190284729, -0.34396207332611084, -0.092497318983078, 0.5158780217170715, 0.37938904762268066, -0.04957633838057518, 0.6706966757774353, -0.033772580325603485, 0.5436869859695435, 0.2644575238227844, -0.2889031171798706, 0.13259485363960266, -0.5496036410331726, 0.12104145437479019, 0.25663483142852783, 0.7274594306945801, 0.8359397649765015, 0.2760431170463562, 0.2515089511871338, 0.03937549144029617, 0.4209313988685608, 0.4644860625267029, -0.6439158320426941, -0.20363061130046844, 0.043599046766757965, -0.5780988931655884, -0.5621767044067383, 0.5712855458259583, -1.0535335540771484, -0.32761478424072266, -0.2145182341337204, 0.2414708435535431, -0.11687128990888596, -0.17933058738708496, 0.0012376904487609863, -0.2779307961463928, -0.03569579869508743, 0.4774046540260315, -0.09738627821207047, 0.007392795290797949, 0.6535361409187317, 0.8446919918060303, -0.20401757955551147, -0.07413982599973679, -0.31583455204963684, -0.2494029849767685, -0.09467727690935135, 1.1237061023712158, -0.7730394005775452, 0.1959969699382782, 0.316318154335022, 0.08762583136558533, 0.09986700117588043, -0.2654820680618286, 0.9248570203781128, -1.0281473398208618, 0.33165836334228516, 0.10477910935878754, -0.4487451910972595, -0.32036420702934265, 0.5654571056365967, -0.7460616230964661, 0.8732871413230896, 0.33906760811805725, -1.0044163465499878, 0.30373847484588623, -0.4571409225463867, -0.5691725611686707, -0.13088227808475494, -0.05308070778846741, -0.25278592109680176, -0.06175566092133522, 0.15793468058109283, 0.12269770354032516, 0.13998019695281982, 0.3436652719974518, -0.18418122828006744, -0.1688757985830307, 0.565724790096283, -0.612589955329895, 0.7766594886779785, 0.009565983898937702, -0.012930932454764843, -0.25629547238349915, -0.8066318035125732, 0.13525940477848053, -0.1815914362668991, -0.7258490324020386, -0.2861112952232361, -0.23039110004901886, -0.020540572702884674, 0.25260189175605774, 0.33635956048965454, -0.779278039932251, -0.27087023854255676, -0.050669364631175995, 0.8812464475631714, 0.3638831377029419, 0.4574710428714752, 0.27584198117256165, -0.1796487718820572, 0.2585631310939789, 0.07401827722787857, 0.2667781710624695, 0.1872572898864746, -0.4234378933906555, -0.6579500436782837, 0.17530004680156708, 1.0344451665878296, 0.6306475400924683, -0.7637212872505188, 0.3733450472354889, -0.40532058477401733, -0.696952760219574, -0.419408917427063, 0.07265505939722061, -0.10085204988718033, 0.4505886137485504, 0.45126742124557495, -0.25919023156166077, -0.6594616174697876, -0.9538437128067017, -0.8528708815574646, -0.4736935794353485, -0.14356690645217896, -0.0738152489066124, 0.41255897283554077, -0.20780113339424133, 0.8701867461204529, -0.03306978940963745, -0.15373685956001282, -0.05826742574572563, 0.4268909692764282, 0.005734574981033802, 0.17970989644527435, 0.36282798647880554, -1.0015069246292114, -0.5713533759117126, -0.21141575276851654, -0.6444986462593079, 0.08569324016571045, -0.16704386472702026, 0.006199991330504417, 0.02072695828974247, 0.22506417334079742, -0.6957651972770691, 0.44596999883651733, 0.814606249332428, -0.34130993485450745, 0.3089902698993683, 0.13891737163066864, 0.8242140412330627, -0.6250425577163696, -0.31177952885627747, 0.3792203962802887, -0.6155361533164978, -0.3657723665237427, -0.052509013563394547, 0.3408523201942444, -0.10445503145456314, -0.7568133473396301, -0.01665462553501129, -0.15050989389419556, 0.04620976746082306, -0.1198156476020813, 0.5584083795547485, 0.3862472176551819, 0.3160182535648346, 0.01914074271917343, 0.5223003625869751, 0.19544418156147003, -0.5129953026771545, 0.38158559799194336, 0.18035924434661865, -0.45567020773887634, 0.7237755060195923, -0.6937181949615479, 0.25361233949661255, -0.03295955806970596, 0.2736140787601471, -0.8584708571434021, -0.29161983728408813, 0.09491404891014099, -1.0532950162887573, 0.1755698323249817, -0.16630379855632782, -0.617106020450592, -0.3462005853652954, -0.10553207248449326, 0.38531845808029175, 0.2630085051059723, -0.520825982093811, 0.5576351284980774, 0.27219513058662415, -0.19403308629989624, -0.304074227809906, -0.7868900299072266, 0.25984659790992737, 0.08575204759836197, -0.6310049295425415, 0.30698513984680176, 0.1431514024734497, -0.36930641531944275, 0.19902527332305908, 0.02722165174782276, -0.40064582228660583, -0.17136137187480927, 0.07409156858921051, -0.019614730030298233, -0.19766491651535034, 0.0069812992587685585, -0.01693759672343731, 0.01368674822151661, 0.14886119961738586, 0.2267082929611206, 0.25262317061424255, -0.07801573723554611, -0.537246823310852, -0.8044842481613159, 0.03651027753949165, 0.7507765293121338, -0.2623555064201355, 0.7455182671546936, 0.24061927199363708, -0.3431675434112549, -0.10233771800994873, -0.5199894905090332, -0.47969895601272583, -0.40050071477890015, 0.30135658383369446, 0.525865375995636, -0.7559506893157959, 0.17444658279418945, -0.05787455663084984, 0.16166667640209198, 0.5243698358535767, 0.5839776396751404, -0.12607818841934204, 0.7385688424110413, 0.4112291634082794, 0.21819211542606354, 0.2535753548145294, 0.3786305785179138, 0.49225303530693054, 0.019407877698540688, -0.36652958393096924, -0.6497840285301208, -0.3435865044593811, -0.3535814583301544, -0.6587331891059875, 0.05500602349638939, -0.06988394260406494, -0.011072129011154175, 0.6927858591079712, -0.7027519345283508, 0.5350257158279419, 0.6603807806968689, 0.3142806589603424, 0.7524502277374268, 0.27610498666763306, 0.3618965446949005, -0.31852999329566956, -0.618080198764801, -0.6529330015182495, 0.8624997138977051, 0.7414776682853699, 0.8231777548789978, -0.05836339294910431, 0.20768454670906067, 1.0547374486923218, 0.5476486682891846, -0.48487886786460876, 0.5112316608428955, 0.2665848135948181, -0.7124332785606384, 0.029665686190128326, -0.3641715943813324, -0.29752853512763977, -0.08291171491146088, -0.4015807509422302, -0.1711336076259613, 0.3347049057483673, -0.1370917707681656, -0.37238672375679016, 0.23684509098529816, -0.5762438774108887, 0.38010019063949585, -0.3107149302959442, -0.4216371178627014, -0.403917521238327, -0.4904322624206543, 0.2470407783985138, 0.04368910938501358, 0.2943266034126282, 0.21538443863391876, 0.04263679310679436, 0.8215909600257874, 0.058138083666563034, 0.9293168783187866, -0.08706570416688919, 0.23917223513126373, 0.6768965721130371, 0.007473745383322239, 0.35135388374328613, 0.46545934677124023, -0.12239089608192444, 0.9100539684295654, 0.06860154867172241, -0.18899287283420563, -0.7160769701004028, 0.6168892979621887, -0.6909213066101074, -0.37370210886001587, -0.5321115255355835, -0.03413551300764084, -0.05236018821597099, 0.21446670591831207, 0.27357155084609985, 0.3872638940811157, -0.34189286828041077, 0.7470993995666504, 0.5222145318984985, -0.0016203323611989617, 0.15693308413028717, 0.444680780172348, 0.12831386923789978, -0.8438557982444763, 0.44591376185417175, 0.12060598284006119, -0.00563005218282342, 0.2914077043533325, 0.026866568252444267, -0.4631633460521698, -0.3444686830043793, -0.34346866607666016, 0.07868071645498276, -0.8844934105873108, -0.6541197896003723, -0.38020220398902893, -0.6840389370918274, -0.3035794794559479, -0.047407105565071106, -0.793335497379303, -0.6626606583595276, -0.1693490892648697, -0.373102068901062, 0.1790948063135147, 0.6231171488761902, 0.11158283054828644, 0.06723041832447052, -0.957500159740448, 0.04998435080051422, 0.20081186294555664, 0.42331811785697937, -0.4469418227672577, -0.6656795144081116, -0.14185437560081482, 0.4234626293182373, -0.41196128726005554, -0.9726499319076538, -0.10256737470626831, -0.011926836334168911, 0.5060983896255493, 0.5292840003967285, 0.5028767585754395, 0.4605652689933777, -0.29938769340515137, 0.8923256397247314, 0.21034111082553864, -0.618377149105072, 0.607062578201294, -0.1672535240650177, -0.3972134590148926, 0.853571355342865, 0.4903733432292938, -0.24645069241523743, -0.6214884519577026, -0.8150567412376404, -0.3359750509262085, -0.14170949161052704, 0.5403591990470886, 0.16505588591098785, -0.29378604888916016, 0.4042401611804962, -0.06316401809453964, 0.33345726132392883, -0.8845107555389404, -0.03447200357913971, -0.7755450010299683, -0.2608054280281067, 0.2456548810005188, -0.47878792881965637, -0.4077901244163513, -0.31396859884262085, 0.5475519895553589, 0.17843082547187805, 0.3377213478088379, 0.733244776725769, -0.25547680258750916, -0.2020571529865265, 0.33984535932540894, 0.7779796123504639, 1.0612503290176392, 0.03292691707611084, 0.3195068836212158, -0.08369598537683487, -0.2495453953742981, -0.018398882821202278, -0.1172061637043953, -0.3023265600204468, 0.43379920721054077, 0.7375379800796509, 0.01151479221880436, 0.30056118965148926, -0.5120640993118286, 0.8650947213172913, -0.5106375813484192, -0.536067545413971, -0.4476419985294342, -0.10733356326818466, 0.2228977084159851, 0.40155574679374695, 0.30788499116897583, 0.5074774622917175, -0.2577901780605316, -0.49400779604911804, 0.5309212803840637, 0.022635875269770622, -0.6010006070137024, -0.42985114455223083, 0.509307324886322, 0.6223147511482239, -0.6788153648376465, 0.5093461275100708, 0.13738460838794708, -0.8282709121704102, 0.38759085536003113, 0.20934522151947021, 0.3489993214607239, -0.1102389395236969, 0.37675610184669495, 0.889459490776062, 0.6169939041137695, -0.22069723904132843, -0.215236634016037, 0.18498456478118896, -0.7697353363037109, -0.16875174641609192, -0.6040425896644592, -0.41319671273231506, 0.011471489444375038, -0.6072580218315125, 0.25849154591560364, -0.6132690906524658, -0.5154198408126831, -0.3051012456417084, 0.13580282032489777, -0.3888762295246124, -0.06679388880729675, -0.14003854990005493, 1.3320372104644775, -0.9495126605033875, 0.37460464239120483, 0.6297252774238586, -0.14913536608219147, -0.48440900444984436, 0.18020892143249512, -0.013329457491636276, -0.36712369322776794, 0.4183265268802643, -0.011138473637402058, 0.003863121848553419, -0.21095408499240875, -0.6889110207557678, -0.5294991731643677, 0.9938828349113464, 0.4486081302165985, -0.5994641780853271, 0.2608800530433655, 0.240164116024971, 0.5009655356407166, -0.31124281883239746, 0.13366219401359558, 0.25150761008262634, 0.7095698714256287, -0.09932738542556763, -0.7450188994407654, -0.03363872691988945, -0.19103026390075684, -0.15403200685977936, -0.24339288473129272, -0.7359225153923035, 0.610163152217865, 0.06478904187679291, -0.5573847889900208, -0.34790268540382385, 0.9721503853797913, 0.1997484415769577, 0.36596259474754333, 0.6262302398681641, 0.333724707365036, 0.663916826248169, -0.1287030428647995, 0.6437969207763672, -0.6096388101577759, 0.6978963017463684, 0.9832868576049805, -0.07294092327356339, 1.0742437839508057, 0.48808521032333374, 0.019510960206389427, 1.0879164934158325, 0.7443068623542786, -0.18904535472393036, 0.5274912714958191, -0.22839225828647614, 0.021229315549135208, -0.4181636571884155, -0.16118812561035156, -0.284490704536438, 0.4580646753311157, 0.2579067349433899, -0.6888337135314941, -0.6078431010246277, 0.13594132661819458, -0.05833618342876434, 0.6721664667129517, -0.1761825978755951, 0.4376547932624817, -0.03442081809043884, -0.8301727175712585, 0.11055515706539154, 0.0002783575328066945, 0.37449365854263306, -0.261980801820755, -0.37146124243736267, -0.05732947587966919, 0.3315911889076233, -0.35682180523872375, -1.1018048524856567, 0.43899819254875183, 0.027011800557374954, -0.02528093196451664, -0.10960989445447922, 1.2688099145889282, -0.4865328073501587, -0.7596620321273804, 0.38141003251075745, 0.43177762627601624, -0.23781095445156097, -0.12211049348115921, -0.7009217739105225, 0.20402073860168457, -0.14644044637680054, -0.42953890562057495, 0.09744914621114731, 0.49337470531463623, 0.2164568454027176, 0.573078453540802, 0.7853142619132996, -0.05168890208005905, -0.24016337096691132, -0.04819019138813019, 0.9462944269180298, -0.44846364855766296, -0.4508095979690552, -0.7289308309555054, 0.28738588094711304, -0.47995254397392273, -0.006554265972226858, 1.0693609714508057, 0.5208300352096558, 0.8619882464408875, 0.1820114105939865, 0.7418375611305237, -0.14738917350769043, 0.8508622646331787, -0.19480513036251068, 0.9087722897529602, -0.31241023540496826, 0.2033616155385971, 0.001594472792930901, -0.7335002422332764, -0.46596357226371765, 0.7586164474487305, -0.08470295369625092, -0.004595562815666199, 0.842667818069458, 0.9465216994285583, -0.2082609385251999, 0.28214743733406067, 0.14343789219856262, 0.21080420911312103, 0.018360447138547897, 0.13058093190193176, 1.0330334901809692, -0.3464806079864502, 0.8510192632675171, -0.6201798915863037, -0.17112433910369873, -0.29741179943084717, -0.9535735249519348, -1.2159432172775269, -0.3000310957431793, -0.6726216673851013, -0.8729680180549622, 0.18031013011932373, 0.5249465703964233, 0.6841504573822021, -0.6512662172317505, 0.2910841703414917, 0.054411087185144424, 0.25246143341064453, -0.2633122503757477, -0.36269432306289673, 0.12525305151939392, 0.2561090886592865, -0.3994207978248596, 0.037014905363321304, 0.2563389539718628, -0.38986271619796753, -0.44936373829841614, 0.1743139922618866, -0.36786648631095886, 0.1967591494321823, 0.6311767101287842, 0.1699538677930832, -0.46285751461982727, -0.9048729538917542, 0.06020815670490265, -0.18456128239631653, 0.23675473034381866, 0.80483078956604, -0.5507336854934692, -0.008375338278710842, 0.6391693353652954, 0.5457473397254944, 0.15900760889053345, 0.836575448513031, 0.3327711224555969, -0.6730116605758667, -0.11051754653453827, 0.3863752484321594, 0.10420611500740051, 0.5527279376983643, -0.5688077211380005, 0.25916844606399536, 0.43604305386543274, -0.6351295113563538, -0.61985182762146, -0.08235238492488861, -1.0094623565673828, -0.19378836452960968, 1.2466063499450684, -0.10964768379926682, -0.5729941725730896, -0.3382398188114166, 0.15252119302749634, 0.19371289014816284, -0.5299597978591919, 0.8789600729942322, 0.7911533117294312, 0.2742324769496918, -0.39908644556999207, -0.7109898328781128, 0.1413791924715042, -0.2728418707847595, -0.5381923317909241, 0.051569342613220215, 0.2402305006980896, 0.6188429594039917, 0.5615559220314026, 0.45407918095588684, -0.3228522837162018, 0.4004407525062561, -0.030893316492438316, -0.09483201801776886, 0.09368860721588135, -0.5469399094581604, 0.13513296842575073, 0.6095084547996521, -0.17627142369747162, -0.1216978058218956 ]
http://arxiv.org/abs/2403.06988v1
http://arxiv.org/pdf/2403.06988v1
Guiding LLMs The Right Way: Fast, Non-Invasive Constrained Generation
2024-02-07T13:36:02
2024-02-07T13:36:02
Luca Beurer-Kellner, Marc Fischer, Martin Vechev
cs.LG
cs.LG, cs.CL
To ensure that text generated by large language models (LLMs) is in an expected format, constrained decoding proposes to enforce strict formal language constraints during generation. However, as we show in this work, not only do such methods incur performance overhead during generation, but many of them also significantly impair task accuracy, if they do not correctly align the underlying LLM sub-word vocabularies with external constraints. To address this, we present a novel decoding algorithm, DOMINO, that can enforce constraints in a fully subword-aligned fashion, while leveraging pre-computation and speculative decoding to achieve virtually no overhead and in some cases even almost 2$\times$ speedup over unconstrained decoding -- thereby outperforming existing approaches by a wide margin.
[ 0.01686410792171955, -0.5553382039070129, 0.5661276578903198, 0.28697502613067627, -0.5983565449714661, 0.15362828969955444, -0.10165756940841675, -0.09319188445806503, 0.1983606517314911, 1.0242518186569214, -0.9813970327377319, -0.8679456114768982, -0.5576250553131104, 0.27866214513778687, -0.23609915375709534, 0.9830144047737122, -0.08540152758359909, -0.0902201309800148, -0.3674711585044861, 0.11561121791601181, -0.1916739046573639, -0.22086212038993835, -0.16256539523601532, -0.2742135226726532, 0.26777374744415283, 0.4998147189617157, 0.8559955358505249, 1.3689148426055908, 0.3020423352718353, 0.28068143129348755, -0.08149951696395874, 0.7648828625679016, -0.5630416870117188, 0.01321864128112793, -0.13741567730903625, -0.5417224168777466, -0.32371118664741516, -0.3545234501361847, 0.6182140707969666, 0.5189110636711121, -0.3016793727874756, 0.08866704255342484, 0.06901825964450836, 0.7203220725059509, -0.8123641014099121, 0.01438956893980503, -0.7550204992294312, 0.11393564939498901, -0.5767053961753845, -0.621665894985199, -0.6598016619682312, -0.5482573509216309, -0.2965022623538971, -0.9622495770454407, 0.21815161406993866, 0.13956433534622192, 0.8283616900444031, 0.5317274332046509, -0.601012647151947, -0.5945302844047546, -0.629805862903595, 0.7320454716682434, -0.5161604881286621, 0.45594462752342224, 0.3366147577762604, -0.15577948093414307, -0.5233559012413025, -0.4953184127807617, -0.5495755076408386, 0.061585620045661926, 0.12894481420516968, 0.08638142049312592, -0.004971632268279791, 0.2966637909412384, 0.33616647124290466, 0.1872820109128952, -0.5318461656570435, 0.2491883486509323, -0.16001376509666443, -0.43510398268699646, 0.48480120301246643, 0.4646812081336975, 0.1904047578573227, -0.4321141242980957, -0.18667036294937134, 0.1264215111732483, -1.0091800689697266, -0.12551124393939972, 0.41725268959999084, 0.3178345561027527, -0.11132294684648514, 0.7020326852798462, -0.027530144900083542, 0.6705361604690552, 0.1539793610572815, -0.15291675925254822, -0.19372226297855377, -0.48544734716415405, -0.2538881003856659, 0.13140825927257538, 0.7506555914878845, 0.45094263553619385, 0.09973075240850449, -0.12514187395572662, -0.1023978516459465, 0.4022431969642639, 0.1572110652923584, -0.5379063487052917, -0.3407151699066162, 0.07207374274730682, -0.04290736839175224, -0.16029076278209686, -0.2962716519832611, -0.7582000494003296, -0.5483960509300232, -0.048263952136039734, -0.10452628135681152, -0.4979335367679596, -0.01258748210966587, 0.09464449435472488, -0.0005875099450349808, 0.3818508982658386, 0.07559563219547272, -1.06696355342865, 0.16173017024993896, 0.8502553105354309, 0.6831462383270264, 0.4224236011505127, 0.10558167845010757, -0.8003976941108704, 0.6815453171730042, -0.9301276803016663, 0.5826123952865601, -0.47987815737724304, -0.667670488357544, 0.29561787843704224, -0.27717307209968567, 0.21949483454227448, -0.5615915656089783, 0.6956666707992554, -0.5672749876976013, -0.01635732129216194, -0.3429214358329773, -0.7099485993385315, 0.27453145384788513, 0.318576455116272, -0.5006988644599915, 0.9622611403465271, 0.0815674290060997, -0.5722094178199768, 0.571392297744751, -0.2809083163738251, -0.728904664516449, 0.24863477051258087, -0.44223082065582275, -0.5667568445205688, 0.3069429397583008, 0.7487136125564575, 0.3324534296989441, -0.34395068883895874, 0.2836388051509857, -0.03032752312719822, -0.24375542998313904, 0.002690129680559039, -0.20742040872573853, 0.6991515159606934, 0.17117464542388916, -0.3285078704357147, 0.16421553492546082, -0.855951189994812, 0.18186324834823608, 0.019058557227253914, -0.47375163435935974, -0.06494122743606567, 0.22296586632728577, -0.387131005525589, -0.18048468232154846, 0.5097144246101379, -0.565218448638916, 0.5538970232009888, -0.4130142629146576, 0.4289535880088806, 0.9233660101890564, -0.016791287809610367, 0.5783365368843079, -0.1813940852880478, 0.6092106103897095, -0.07885801047086716, 0.25545454025268555, -0.005656224209815264, -0.1391782909631729, -0.8508158326148987, -0.20476511120796204, 0.32920926809310913, 0.6506263613700867, -1.1967289447784424, 0.48999491333961487, -0.4763789176940918, -0.3900315761566162, -0.6826877593994141, 0.6462723016738892, 0.7919433116912842, 0.35416072607040405, 0.323244571685791, -0.14089971780776978, -0.7091735005378723, -1.004884123802185, -0.2349427044391632, -0.007906409911811352, 0.12991610169410706, 0.31506428122520447, 0.01466301828622818, -0.3413068354129791, 0.5557308793067932, -0.46139252185821533, -0.15297028422355652, -0.4267723858356476, 0.09126536548137665, 0.2803124785423279, 0.609825074672699, 0.005788939539343119, -0.6355703473091125, -0.645813524723053, 0.03489416837692261, -0.6505632996559143, -0.3003811240196228, -0.31797078251838684, -0.23772209882736206, 0.4784639775753021, 0.7627573609352112, -0.7874607443809509, 0.34231171011924744, 0.6587580442428589, -0.09684628248214722, 0.22001489996910095, -0.4625633656978607, -0.41483914852142334, -1.017235517501831, -0.29631292819976807, -0.20799897611141205, -0.3582005500793457, -0.5438471436500549, 0.08196668326854706, 0.44658738374710083, -0.015268640592694283, -0.2036917805671692, 0.04444420710206032, -1.0544943809509277, 0.14291773736476898, -0.17644673585891724, 0.2031625211238861, 0.1883813887834549, 0.2495303452014923, 0.0978165864944458, 0.727325439453125, 0.44784262776374817, -0.7864096760749817, 0.2657431364059448, 0.14997419714927673, -0.6276236176490784, 0.34815138578414917, -0.2111915647983551, 0.2944398522377014, -0.3215990662574768, 0.37797486782073975, -0.582368791103363, 0.02064313180744648, 0.34883832931518555, -0.1682758778333664, 0.4460203945636749, -0.19055277109146118, -0.6797615885734558, -0.258091539144516, -0.08745303004980087, 0.49665960669517517, 0.6561940908432007, -0.596172571182251, 0.7539775967597961, 0.21806204319000244, 0.4378949999809265, -0.7392728328704834, -0.6279428601264954, 0.2275812327861786, 0.0430351123213768, -0.5364164113998413, 0.4951569736003876, -0.028279617428779602, 0.011920885182917118, 0.12163717299699783, -0.15944595634937286, 0.11384701728820801, -0.2221859097480774, 0.12491174787282944, 0.145469069480896, -0.07123322784900665, -0.33652523159980774, 0.23717978596687317, -0.17209313809871674, -0.14482371509075165, -0.5214437246322632, 0.47886601090431213, 0.5038138031959534, -0.21727542579174042, -0.6751082539558411, 0.33020418882369995, 0.6100600957870483, -0.2116224318742752, 0.5783677101135254, 0.3894162178039551, -0.13438160717487335, -0.7385099530220032, -0.3796353340148926, 0.17474769055843353, -0.6048175692558289, 0.3622240722179413, -0.6242713332176208, -0.6020897626876831, 0.293251633644104, -0.16643542051315308, 0.15216118097305298, 0.1179865375161171, 0.40252548456192017, 0.14302003383636475, 1.0401015281677246, 0.922325074672699, 0.08458951860666275, 0.374066561460495, -0.04845743626356125, 0.3200109601020813, -0.9204393625259399, -0.35019999742507935, -0.406993567943573, -0.03366245701909065, -0.6197163462638855, -0.6541547179222107, 0.17429739236831665, 0.3329950273036957, 0.3027062714099884, 0.4324414134025574, -0.6839942336082458, 0.6993858814239502, 0.5817157626152039, 0.05234934762120247, -0.004766120109707117, -0.3318696916103363, -0.44342276453971863, -0.1768774539232254, -1.0035369396209717, -0.44147470593452454, 1.156639814376831, 0.06845524162054062, 0.7733862400054932, 0.36281976103782654, 0.9043980240821838, 0.09221461415290833, 0.4657524526119232, -0.4352647662162781, 0.8776293396949768, -0.4311155378818512, -0.704517662525177, -0.13232643902301788, -0.5810800790786743, -0.9441821575164795, -0.087581105530262, -0.24172650277614594, -0.5877042412757874, -0.0453973188996315, 0.36851072311401367, -0.4215255081653595, 0.35030099749565125, -0.40266939997673035, 0.44521987438201904, -0.2683168947696686, -0.5985672473907471, 0.06849879026412964, -0.41602861881256104, 0.4261441230773926, 0.13350793719291687, 0.3054109811782837, -0.12963122129440308, -0.23885399103164673, 0.4473194181919098, -0.6254565715789795, 0.8678545355796814, -0.31988853216171265, -0.37699007987976074, 0.37398841977119446, 0.43997952342033386, 0.8581888675689697, 0.030417514964938164, -0.09913194924592972, -0.20739300549030304, 0.013527334667742252, -0.5832896828651428, -0.7260832190513611, 0.6462636590003967, -0.6427258253097534, -0.9267135858535767, -0.3315173387527466, -0.7641836404800415, -0.22051557898521423, 0.30452027916908264, 0.7818006277084351, 0.5326166749000549, -0.19678746163845062, -0.04211790859699249, 0.9179832339286804, -0.14516401290893555, 0.1628163754940033, 0.46313121914863586, -0.08710973709821701, -0.6106717586517334, 1.0421748161315918, 0.29043418169021606, 0.1091713234782219, 0.9613205790519714, 0.13148105144500732, -0.6416068077087402, -0.9799282550811768, -0.8529887795448303, 0.1780634969472885, -0.608590304851532, -0.18388064205646515, -0.08038464188575745, 0.01530651655048132, -0.8140544891357422, -0.4261482357978821, -0.38012343645095825, -0.15407763421535492, -0.4333381950855255, -0.09097656607627869, -0.11838027834892273, 0.8890191316604614, -0.19204218685626984, 0.29487961530685425, -1.0858845710754395, 0.2368176132440567, -0.041468895971775055, 0.2134411782026291, -0.4970797896385193, -0.18801312148571014, -0.2987539768218994, -0.298727810382843, -0.24740010499954224, -0.9577626585960388, 0.24546556174755096, -0.01391327753663063, 0.4265320599079132, 0.6059420108795166, 0.41756147146224976, 0.827431857585907, -0.7004989981651306, 0.7288799285888672, 0.13105261325836182, -1.3172314167022705, 0.3705057203769684, -0.4810967743396759, 0.45879924297332764, 0.4818398058414459, 0.11103388667106628, -0.35032081604003906, -0.28949490189552307, -0.3488527238368988, -0.8785204887390137, 0.42750459909439087, 0.2392408400774002, 0.07081159949302673, -0.08197533339262009, 0.7046730518341064, -0.09892237931489944, 0.14346955716609955, -0.8303844332695007, 0.0017448060680180788, -0.13589489459991455, -0.5426793694496155, -0.2973799705505371, -0.48044076561927795, -0.4545000195503235, 0.13935965299606323, 0.7508755922317505, -0.11458349972963333, 0.13122890889644623, 0.351961225271225, -0.15369558334350586, -0.15814197063446045, 0.3076416552066803, 0.9323513507843018, 0.4089803695678711, 0.0501750186085701, 0.18195794522762299, 0.13040876388549805, -0.26910853385925293, 0.15492823719978333, -0.13339532911777496, -0.4636424779891968, -0.10260538756847382, 0.5307826995849609, 0.6584616303443909, 0.07211897522211075, -0.5731253027915955, 0.34781014919281006, -0.054820895195007324, -0.46398308873176575, -0.3126620352268219, 0.13382713496685028, -0.062419988214969635, 0.15858477354049683, -0.006023420952260494, -0.3202015459537506, -0.3492116928100586, -0.24044789373874664, 0.11420369893312454, 0.6852374076843262, -0.2392939180135727, -0.18128694593906403, 0.554906964302063, 0.46775728464126587, -0.47658097743988037, 0.8162358403205872, -0.38097870349884033, -0.5606788396835327, 0.43991145491600037, 0.770483136177063, 0.7923955321311951, -0.009800519794225693, 0.034133221954107285, 0.12411406636238098, 0.8036336898803711, 0.15881764888763428, 0.5283401012420654, -0.3648056387901306, -0.8634293675422668, -0.5101831555366516, -0.5581856966018677, -0.40990597009658813, -0.02868609130382538, -0.6404449939727783, 0.011045395396649837, -1.1277493238449097, -0.07141980528831482, -0.417814701795578, 0.07761567831039429, -0.4094981849193573, 0.2833070158958435, 0.11359661817550659, 0.9875438809394836, -0.36418628692626953, 1.1120433807373047, 0.4338792860507965, 0.15516211092472076, -0.9316763877868652, 0.04879416897892952, 0.23493953049182892, -0.9015982747077942, 0.37223026156425476, 0.10568148642778397, -0.4457704424858093, 0.1138971820473671, -0.3517255187034607, -0.7661848664283752, 0.9596118927001953, 0.3880406618118286, -0.9441121220588684, -0.09498251974582672, 0.4818181097507477, 0.23855482041835785, -0.1398160606622696, -0.150705024600029, 0.30371883511543274, 0.49657389521598816, 0.02422681264579296, -0.6761731505393982, 0.28564947843551636, -0.3295985758304596, -0.03845648840069771, 0.8152139782905579, -0.6643790602684021, 0.6104907393455505, -0.13125744462013245, -0.724249005317688, 0.39985987544059753, 0.6895356178283691, 0.07988841086626053, 0.21136239171028137, 0.40255337953567505, 0.8840171694755554, 0.9472422003746033, -0.08525119721889496, 1.0265203714370728, -0.5992625951766968, -0.03868318349123001, 0.849931001663208, -0.2148962765932083, 0.5709968209266663, 0.5920288562774658, 0.10055088996887207, 0.671302855014801, 0.6557644009590149, 0.16866262257099152, 0.5796111822128296, 0.42795756459236145, -0.3268366754055023, -0.46937525272369385, -0.28020432591438293, -0.1898239403963089, 0.2731826901435852, 0.6254400610923767, -0.23846571147441864, 0.015887731686234474, -0.44161128997802734, 0.13412299752235413, 0.5361200571060181, -0.3899349272251129, 0.623119056224823, -0.04880569130182266, -0.978753924369812, 0.6921238303184509, 0.22748848795890808, 0.6560307145118713, -0.8220036625862122, 0.2627826929092407, -0.10623303055763245, 0.3691492974758148, -0.26423123478889465, -0.44445011019706726, 0.22136373817920685, -0.17386402189731598, -0.12262965738773346, -0.2890947461128235, 0.40246570110321045, -0.4206584692001343, -0.5580704808235168, 0.2237447053194046, 0.23306310176849365, -0.16133882105350494, 0.45242923498153687, -0.5657602548599243, 0.3019345700740814, 0.28514179587364197, 0.002628754358738661, -0.005250527523458004, 0.6674829721450806, 0.1532261222600937, 0.6754791140556335, 0.7677402496337891, 0.1873614639043808, 0.42721593379974365, -0.1700848937034607, 0.7930393815040588, -0.8172392249107361, -0.742662250995636, -0.9648026823997498, 0.288685142993927, 0.11129801720380783, -0.4220518469810486, 0.9781956076622009, 0.6211263537406921, 0.7065783143043518, 0.3567269444465637, 0.5701477527618408, 0.3147570788860321, 0.23180174827575684, -1.1033318042755127, 0.20315222442150116, -0.560343325138092, 0.3597266376018524, -0.17511148750782013, -0.7801774144172668, -0.5073661208152771, 0.35695868730545044, -0.37571316957473755, -0.3815918266773224, 0.5462321043014526, 1.07619309425354, 0.19443649053573608, -0.06591492146253586, 0.2866736948490143, 0.0032732144463807344, 0.5266688466072083, 1.012413740158081, 0.8218160271644592, -0.10154475271701813, 0.8136005401611328, -0.3854018747806549, -0.2680986523628235, 0.12683500349521637, -1.03861403465271, -0.944860577583313, -0.24819062650203705, -0.2192975878715515, -0.5120564699172974, 0.14336635172367096, 0.6544208526611328, 0.9217648506164551, -0.3527545928955078, -0.34218937158584595, -0.5861374735832214, 0.2765917479991913, -0.11774773895740509, -0.10647480934858322, 0.2558217942714691, -0.11335215717554092, -0.9766119718551636, 0.6794995069503784, 0.34728145599365234, 0.12160889804363251, -0.37361279129981995, -0.3604971766471863, -0.010331076569855213, 0.4579414129257202, 0.20940306782722473, 0.42635494470596313, -0.6245555877685547, -0.07375902682542801, -0.04380718618631363, -0.24592134356498718, 0.015339621342718601, 1.200752854347229, -0.49979060888290405, 0.3033026456832886, 0.35877934098243713, 0.7499495148658752, 0.48111605644226074, 0.1147252544760704, 0.7705433964729309, -0.9172163605690002, 0.10120096057653427, 0.38632503151893616, 0.19136092066764832, 0.3219951391220093, -0.6804752349853516, 0.05410318821668625, 0.23472175002098083, -0.5086439847946167, -0.9115452170372009, 0.8037128448486328, -0.6987925171852112, -0.4081811308860779, 1.0034468173980713, 0.06589166074991226, -0.5232083797454834, -0.18883004784584045, 0.07996566593647003, 0.3017421364784241, -0.32733413577079773, 0.5202640891075134, 0.528274655342102, -0.3407761752605438, -0.3634738326072693, 0.04462531954050064, 0.726565420627594, 0.8118444681167603, -0.4508607089519501, 0.2021750807762146, 0.5321936011314392, 0.14078940451145172, 0.26170945167541504, 0.7867307066917419, 0.0057788570411503315, 0.0024710199795663357, 0.24578739702701569, -0.2408490628004074, -0.2991686761379242, -0.5463370084762573, -0.08546651899814606, 0.31676816940307617, 0.07632896304130554, -0.23643091320991516 ]
http://arxiv.org/abs/2402.04833v2
http://arxiv.org/pdf/2402.04833v2
Long Is More for Alignment: A Simple but Tough-to-Beat Baseline for Instruction Fine-Tuning
2024-02-07T13:32:11
2024-06-04T17:20:01
Hao Zhao, Maksym Andriushchenko, Francesco Croce, Nicolas Flammarion
cs.CL
cs.CL
There is a consensus that instruction fine-tuning of LLMs requires high-quality data, but what are they? LIMA (NeurIPS 2023) and AlpaGasus (ICLR 2024) are state-of-the-art methods for selecting such high-quality examples, either via manual curation or using GPT-3.5-Turbo as a quality scorer. We show that the extremely simple baseline of selecting the 1,000 instructions with longest responses -- that intuitively contain more learnable information and are harder to overfit -- from standard datasets can consistently outperform these sophisticated methods according to GPT-4 and PaLM-2 as judges, while remaining competitive on the Open LLM benchmarks that test factual knowledge. We demonstrate this for several LLMs (Llama-2-7B, Llama-2-13B, Mistral-7B-v0.1) and datasets (Alpaca-52k, Evol-Instruct-70k). In addition, a lightweight refinement of such long instructions can further improve the abilities of the fine-tuned LLMs, and allows us to obtain competitive results on MT-Bench and the 2nd highest-ranked Llama-2-7B-based model on AlpacaEval 2.0, while training on only 1,000 examples and no extra preference data. We also conduct a thorough analysis of our models to ensure that their enhanced performance is not simply due to GPT-4's preference for longer responses. Overall, our findings suggest that fine-tuning on the longest responses should be the default baseline for any work on instruction fine-tuning. We provide our code at https://github.com/tml-epfl/long-is-more-for-alignment.
[ -0.5543283820152283, -0.6286752820014954, 0.5584991574287415, -0.10166307538747787, -0.4167930483818054, 0.04905272647738457, -0.4564684331417084, -0.7228586077690125, -0.0619700625538826, 0.40058648586273193, -0.5832017064094543, -0.7550325989723206, -0.7603365182876587, 0.04862677678465843, -0.46581414341926575, 1.294873833656311, -0.22402244806289673, -0.1863565891981125, -0.22998203337192535, -0.4203067719936371, -0.5420237183570862, -0.22450938820838928, -0.4905816614627838, -0.3808036148548126, 0.6247528195381165, 0.7544026374816895, 0.861202597618103, 1.122187852859497, 0.6828739643096924, 0.21124857664108276, -0.22631755471229553, 0.4123435914516449, -0.5502519011497498, -0.1647130250930786, 0.07667597383260727, -0.5629608035087585, -0.7516114115715027, 0.21038514375686646, 0.4738788902759552, 0.6827206611633301, -0.15177850425243378, 0.4898083508014679, 0.18151462078094482, 1.0312687158584595, -0.48290687799453735, 0.05993172526359558, -0.19624078273773193, 0.042491067200899124, -0.31614869832992554, -0.3201329708099365, -0.332243949174881, -0.7423613667488098, 0.1396508365869522, -0.7978578805923462, -0.1250452995300293, 0.13488593697547913, 1.020402431488037, 0.5664427280426025, -0.44357597827911377, -0.5953739881515503, -0.6560592651367188, 0.9665988683700562, -0.588708758354187, 0.5360333919525146, 0.3965763747692108, 0.40059733390808105, -0.26768630743026733, -0.5857672095298767, -0.33447083830833435, -0.3662704527378082, 0.13067024946212769, 0.21571603417396545, 0.1280728578567505, 0.048745546489953995, 0.4540422856807709, 0.30757227540016174, -0.43538084626197815, 0.7146007418632507, -0.46634986996650696, 0.08742748200893402, 0.4254608452320099, 0.20352165400981903, -0.21516674757003784, 0.2592037320137024, -0.5420850515365601, -0.018513891845941544, -1.2032475471496582, 0.2504723370075226, 0.5036206841468811, 0.010056834667921066, -0.21296542882919312, 0.6372237205505371, -0.3356070816516876, 0.990478515625, 0.29171302914619446, -0.4299980103969574, 0.07994451373815536, -0.08498041331768036, -0.1803233027458191, 0.11921139061450958, 0.47426918148994446, 0.6469576954841614, 0.12744936347007751, 0.02847358211874962, -0.2972678542137146, -0.15387733280658722, 0.014448549598455429, -0.8319664001464844, 0.018546326085925102, -0.038027096539735794, -0.37943562865257263, 0.15933263301849365, 0.0163209680467844, -0.6248418688774109, -0.1453738957643509, -1.0371127128601074, 0.33509379625320435, -0.38097718358039856, 0.594348669052124, 0.26940497756004333, 0.13532422482967377, 0.82330322265625, 0.40436622500419617, -0.8066215515136719, 0.451701819896698, 1.170360803604126, 0.668558657169342, -0.40061500668525696, -0.37771064043045044, -0.6363590955734253, 0.07354376465082169, -0.5875721573829651, 0.701169490814209, -0.5457866191864014, -0.20137743651866913, -0.17232297360897064, -0.007868972606956959, 0.2985475957393646, -0.4908568263053894, 0.6827003955841064, -0.6206495761871338, 0.5338096022605896, -0.6561005115509033, -0.8782294988632202, 0.027898695319890976, 0.09501617401838303, -0.4688062369823456, 1.0333852767944336, 0.046715572476387024, -0.26205044984817505, 0.6202897429466248, -0.48613524436950684, -0.42832350730895996, -0.18599103391170502, -0.1226537823677063, -0.5211843252182007, -0.0032975245267152786, 0.23837211728096008, 0.37600985169410706, -0.5817785263061523, 0.056985240429639816, -0.25028935074806213, -0.7541760802268982, -0.003164241323247552, -0.4367089867591858, 0.49317091703414917, 0.1652286946773529, -0.5514071583747864, -0.019829588010907173, -0.7687224745750427, 0.16479583084583282, -0.2405022829771042, -0.6640614867210388, 0.12478014081716537, -0.001511504058726132, -0.6779142022132874, 0.04230301454663277, 0.41287028789520264, -0.44145241379737854, 0.23127776384353638, -0.2591530680656433, 0.3275356590747833, 1.039199709892273, -0.31011107563972473, 0.3490712344646454, -0.5264852046966553, 0.38084515929222107, -0.2827834188938141, 0.4518257975578308, 0.10497675091028214, -0.4378710091114044, -1.0540827512741089, -0.07444121688604355, 0.22699159383773804, 0.48992419242858887, -0.2510329782962799, 0.7829382419586182, -0.4880504608154297, -0.46181192994117737, -0.6267812252044678, 0.5266634225845337, 0.634044885635376, 0.6216577291488647, 0.5936535596847534, -0.3607633709907532, -0.41180458664894104, -0.7800194025039673, 0.14679113030433655, 0.1641637086868286, 0.08520826697349548, 0.1085188165307045, 0.41666755080223083, 0.04770459979772568, 0.6215296983718872, -0.5235151052474976, -0.08885295689105988, 0.1551191210746765, -0.04183070734143257, 0.4028550684452057, 0.2870594263076782, 0.45591190457344055, -0.26039764285087585, -0.47281500697135925, 0.05683404952287674, -0.661517858505249, 0.023759936913847923, 0.04717729613184929, -0.409992516040802, 0.12844499945640564, 0.47729605436325073, -0.6487701535224915, 0.23480410873889923, 0.40361326932907104, 0.0750683844089508, 0.39216113090515137, -0.15711326897144318, 0.08430231362581253, -0.780813455581665, -0.09213552623987198, -0.08849325776100159, -0.14326047897338867, -0.24539417028427124, 0.24763630330562592, 0.192048117518425, 0.2073647528886795, -0.29332345724105835, 0.29518869519233704, -0.6055651903152466, -0.20168529450893402, -0.4270981252193451, -0.01810307428240776, 0.16748741269111633, 0.43601930141448975, -0.1255270391702652, 0.9332577586174011, 0.20423904061317444, -0.6230738162994385, 0.6519092321395874, 0.15911704301834106, -0.7188094854354858, 0.6136850118637085, -0.7474367618560791, 0.39309361577033997, -0.09953048825263977, 0.3457023501396179, -0.7024829983711243, -0.3085981011390686, -0.041945990175008774, -0.16850657761096954, 0.5542002320289612, -0.1721622794866562, -0.3308406174182892, -0.48139628767967224, -0.5059266686439514, 0.17469005286693573, 0.8583235144615173, -0.8676403164863586, -0.028116049244999886, 0.01042763702571392, -0.05066391080617905, -0.9307796955108643, -0.4612872302532196, -0.10291889309883118, -0.3369959592819214, -0.277557373046875, 0.23739370703697205, -0.19382379949092865, 0.12750326097011566, -0.4193401038646698, -0.482087641954422, 0.10649673640727997, 0.14834532141685486, 0.2733876407146454, 0.2547430694103241, -0.5159980058670044, 0.013579492457211018, 0.1380915641784668, -0.2819901704788208, -0.011410227976739407, -0.23435832560062408, 0.4666142165660858, -0.12361015379428864, -0.7038223743438721, -0.7765318155288696, 0.13211087882518768, 0.5815095901489258, -0.19503597915172577, 0.508533775806427, 0.5269239544868469, -0.09357292950153351, 0.08052413910627365, -0.6329900622367859, 0.03477419912815094, -0.4782167077064514, 0.13526582717895508, -0.13405218720436096, -0.7796164155006409, 0.2627427279949188, -0.09560462832450867, 0.34659889340400696, 0.2754427194595337, 0.36602962017059326, -0.34539660811424255, 0.9008455872535706, 0.5793100595474243, -0.268024206161499, 0.4701382517814636, -0.3239523768424988, -0.10577995330095291, -0.9013772010803223, -0.33521655201911926, -0.4855106472969055, -0.6588374972343445, -0.5736913084983826, -0.40226349234580994, 0.2584887444972992, 0.0909859910607338, -0.6235416531562805, 0.2735327482223511, -0.7151483297348022, 0.9375240802764893, 0.6628300547599792, 0.24388130009174347, 0.15992988646030426, -0.07993178814649582, 0.14788059890270233, -0.01992236077785492, -0.29047533869743347, -0.7002685070037842, 1.1728477478027344, 0.37329426407814026, 1.0078983306884766, 0.1731012761592865, 0.8959301114082336, -0.1400224268436432, 0.18149827420711517, -0.8485703468322754, 0.4423322379589081, -0.272612988948822, -0.2773439288139343, -0.3078996539115906, -0.18284118175506592, -0.9885732531547546, -0.40565016865730286, 0.12998425960540771, -0.3052324950695038, 0.0366021990776062, 0.16872340440750122, -0.7779161334037781, 0.03910205140709877, -0.6899620890617371, 0.45366233587265015, -0.5825296640396118, -0.4046088457107544, -0.02053605020046234, -0.8498293161392212, 0.16505418717861176, 0.10846617817878723, -0.09288375824689865, -0.3119698464870453, -0.40147849917411804, 0.8166598677635193, -0.3825162649154663, 0.7493196129798889, -0.06198818236589432, -0.21603836119174957, 0.28355202078819275, -0.2362096905708313, 0.5706234574317932, -0.03412861377000809, -0.18996743857860565, -0.15045560896396637, -0.18831448256969452, -0.5705642700195312, -0.6013808250427246, 0.8658081293106079, -1.0198919773101807, -0.7359880208969116, -0.13307352364063263, -0.1963997483253479, -0.12921293079853058, 0.12575829029083252, 0.4120534658432007, 0.3587814271450043, 0.1257590651512146, 0.4380975067615509, 0.8586370944976807, -0.12820574641227722, 0.22885383665561676, 0.3071209192276001, 0.2392745018005371, -0.3432994782924652, 0.8727725148200989, 0.2870504558086395, 0.372162789106369, 0.5662703514099121, 0.18548466265201569, -0.26730263233184814, -0.7367316484451294, -0.601296067237854, 0.017870023846626282, -0.7769889235496521, -0.5398692488670349, -0.20208923518657684, -0.16068027913570404, -0.12598255276679993, -0.22203031182289124, -0.3360605239868164, -0.46376925706863403, -0.48413559794425964, -0.3317265212535858, 0.36087000370025635, 0.7510899901390076, 0.20457695424556732, 0.552168607711792, -0.5893778800964355, 0.37841561436653137, 0.49731600284576416, 0.46849432587623596, -0.21147514879703522, -0.7313685417175293, -0.2419474720954895, 0.07720331102609634, -0.5550104379653931, -0.5878639221191406, -0.023652492091059685, 0.3810475170612335, 0.42851439118385315, 0.4139972925186157, -0.2859036922454834, 1.2228522300720215, -0.4691166579723358, 0.6354005932807922, 0.02613467536866665, -0.6849076747894287, 0.43757307529449463, -0.04916367679834366, 0.24872297048568726, 0.6643925309181213, 0.5724710822105408, -0.21040721237659454, -0.14724133908748627, -0.2533086836338043, -0.7752774953842163, 0.5065966248512268, -0.14424224197864532, 0.11028804630041122, 0.034707702696323395, 0.6705753803253174, 0.5920315384864807, 0.19395381212234497, -0.4914204478263855, -0.10033515095710754, -0.056546326726675034, -0.28498584032058716, -0.04201268032193184, -0.2632019519805908, -0.3555510342121124, -0.4316561222076416, 0.5153349041938782, -0.19537757337093353, 0.2400677651166916, -0.17875507473945618, -0.13092833757400513, -0.17549560964107513, 0.30234605073928833, 0.7736977934837341, 0.8846437335014343, -0.10924485325813293, -0.07158566266298294, 0.45151251554489136, -0.22619330883026123, 0.10130463540554047, 0.056370168924331665, -0.08334960788488388, -0.33645766973495483, 0.6096081733703613, 0.8972974419593811, 0.13772627711296082, -0.26016613841056824, 0.4542633295059204, 0.24018485844135284, -0.03169090300798416, -0.20211419463157654, 0.28624191880226135, 0.0070179058238863945, 0.17199763655662537, 0.08379454910755157, -0.17425641417503357, 0.0045817517675459385, -0.47921669483184814, 0.13578705489635468, 0.32945138216018677, -0.26319754123687744, -0.2450312077999115, 0.3639366924762726, 0.10466356575489044, -0.07059597223997116, 0.605571985244751, -0.1424751877784729, -0.21048258244991302, 0.7468714714050293, 0.38777247071266174, 0.19083015620708466, -0.01986623741686344, -0.05526056885719299, 0.363949179649353, 0.15051785111427307, -0.3318827152252197, 0.313487708568573, -0.18852069973945618, -0.18746335804462433, -0.5638195276260376, -0.6795440912246704, -0.5415858626365662, 0.1140274628996849, -0.9266239404678345, 0.5285788774490356, -0.8986846804618835, -0.15257962048053741, -0.07490018010139465, 0.2365735024213791, -0.7559165954589844, 0.17475925385951996, 0.17470736801624298, 0.8191124200820923, -0.5547994375228882, 0.6795629858970642, 0.45458680391311646, -0.06732966750860214, -0.8042333722114563, -0.31743741035461426, 0.05913505703210831, -1.2018303871154785, 0.49155867099761963, 0.36008045077323914, -0.0039017032831907272, -0.22150403261184692, -0.749204695224762, -1.0216283798217773, 1.3925286531448364, 0.5764212608337402, -0.9130159020423889, -0.32352790236473083, 0.1416717767715454, 0.6914005875587463, -0.10414468497037888, 0.3680638372898102, 0.8342614769935608, 0.3703727722167969, 0.1956586092710495, -0.9187687039375305, -0.1419195532798767, 0.18318913877010345, -0.30637386441230774, 0.5257165431976318, -1.0064265727996826, 0.7782406806945801, -0.34686148166656494, 0.024376001209020615, 0.4616285562515259, 0.7914347052574158, 0.29740533232688904, 0.29825863242149353, 0.05260360613465309, 0.8358489871025085, 0.871480405330658, -0.20694759488105774, 0.8525874614715576, -0.31647971272468567, 0.13049328327178955, 1.4594786167144775, -0.20874790847301483, 0.8099911212921143, 0.4808511734008789, -0.16613246500492096, 0.49890077114105225, 0.7766201496124268, -0.07661829888820648, 0.35503074526786804, 0.3046814799308777, 0.10092578828334808, -0.23173904418945312, 0.06886990368366241, -0.5041456818580627, 0.49796876311302185, 0.3559383451938629, -0.21105526387691498, -0.2003510296344757, -0.2319243848323822, 0.07545725256204605, 0.010020437650382519, -0.16817767918109894, 0.8336540460586548, 0.16592739522457123, -0.8421960473060608, 0.8854430317878723, -0.07301826775074005, 0.6940807104110718, -0.33141249418258667, -0.14666679501533508, -0.3887723684310913, 0.032780274748802185, -0.29851582646369934, -1.0216588973999023, -0.06114207208156586, 0.20477034151554108, 0.029613357037305832, -0.1412181705236435, 0.1301056295633316, -0.10088524967432022, -0.19302307069301605, 0.11477795243263245, 0.30774548649787903, 0.13346682488918304, 0.4791564643383026, -0.6857711672782898, -0.04394049942493439, -0.13929319381713867, -0.24892421066761017, 0.3759464919567108, 0.38311129808425903, -0.18504470586776733, 0.703253984451294, 0.6480070352554321, 0.03916037082672119, 0.28923866152763367, -0.038578301668167114, 0.7734852433204651, -0.6461794972419739, -0.04934738203883171, -0.9259785413742065, 0.09806650876998901, -0.09597481042146683, -0.6535181999206543, 0.44700515270233154, 0.7319962382316589, 0.9503604769706726, 0.299248605966568, 0.14287546277046204, 0.2981678545475006, 0.42243751883506775, -0.8819959163665771, 0.2423195242881775, -0.41566094756126404, 0.3679271340370178, 0.207020103931427, -1.0375388860702515, -0.08930563926696777, 0.4302287995815277, -0.3075927793979645, 0.05812700092792511, 0.5418476462364197, 0.5875291228294373, -0.19456733763217926, 0.03356705978512764, 0.1915522962808609, -0.07707704603672028, 0.3744509816169739, 1.0219188928604126, 1.0361850261688232, -0.3004153370857239, 0.5500961542129517, -0.4161231219768524, -0.12502384185791016, -0.23913292586803436, -0.7837483882904053, -0.7911403179168701, -0.1527664214372635, -0.11744063347578049, -0.07585228979587555, 0.28238558769226074, 1.1915115118026733, 0.6015347242355347, -0.6514198184013367, -0.3242463767528534, 0.23435737192630768, 0.12358290702104568, -0.10852067917585373, -0.07910113036632538, 0.49236735701560974, -0.30361849069595337, -0.6550662517547607, 0.3848651647567749, 0.19297564029693604, 0.36341747641563416, 0.283332496881485, -0.2778069078922272, 0.20075340569019318, -0.13267828524112701, 0.6076878905296326, 0.43221142888069153, -0.6755698919296265, -0.49205660820007324, 0.13258662819862366, -0.36822786927223206, 0.44008123874664307, 0.4134282171726227, -0.5098230242729187, 0.1050952821969986, 0.2525599002838135, 0.6818714141845703, 0.36670249700546265, 0.0609501488506794, 0.35038071870803833, -0.640608549118042, -0.021460046991705894, 0.27597957849502563, 0.36135077476501465, 0.24955089390277863, -0.37164127826690674, 0.4739895761013031, -0.26096290349960327, -0.8119866847991943, -0.7730374336242676, 0.22439806163311005, -1.0453323125839233, 0.1281767636537552, 1.1002098321914673, -0.25716501474380493, -0.3293962776660919, 0.23205606639385223, -0.2200193852186203, 0.409245103597641, -0.41621676087379456, 0.8728093504905701, 0.7705291509628296, -0.40047046542167664, 0.08601973205804825, -0.6085731387138367, 0.5242230296134949, 0.6442459225654602, -0.9309983849525452, -0.09280258417129517, 0.4979341924190521, 0.3035404682159424, -0.014447253197431564, 0.19565553963184357, -0.15783259272575378, 0.6354740858078003, -0.5542438626289368, -0.377314954996109, -0.20733143389225006, -0.5745964050292969, -0.24789707362651825, -0.0615977942943573, 0.4122908413410187, -0.1096210852265358 ]