doi
stringlengths
10
10
chunk-id
int64
0
916
chunk
stringlengths
384
2.02k
id
stringlengths
12
14
title
stringlengths
8
139
summary
stringlengths
236
1.92k
source
stringlengths
31
31
authors
stringclasses
998 values
categories
stringclasses
269 values
comment
stringclasses
577 values
journal_ref
stringclasses
36 values
primary_category
stringclasses
31 values
published
stringclasses
748 values
updated
stringclasses
752 values
references
listlengths
0
269
metadata
dict
embeddings
listlengths
1.54k
1.54k
2311.01343
43
3.4.2 Masked Prompting with Multinomial Head. To achieve this purpose, we first design a masked prompting strategy to gen- erate recommendation-oriented prompts. For each user, we ran- domly mask the interacted items r𝑖 by 100 × 𝑝𝑚%, where the re- maining items are denoted as r𝑚𝑎𝑠𝑘𝑒𝑑 , and use it to generate a 𝑖 𝑟𝑒𝑐,𝑝 recommendation-oriented prompt x . All the hold-out items, 𝑖 which we denote with a multi-hot vector rℎ𝑜𝑙𝑑 , are treated as the 𝑟𝑒𝑐,𝑝 target. The prompt x 𝑖 (c) Recommendation Prompts & Target (prompt) <user_𝑖> has interacted with <item_𝑗 ′> <item_𝑘 ′> the user will interact with: (target) rℎ𝑜𝑙𝑑
2311.01343#43
Collaborative Large Language Model for Recommender Systems
Recently, there is a growing interest in developing next-generation recommender systems (RSs) based on pretrained large language models (LLMs), fully utilizing their encoded knowledge and reasoning ability. However, the semantic gap between natural language and recommendation tasks is still not well addressed, leading to multiple issues such as spuriously-correlated user/item descriptors, ineffective language modeling on user/item contents, and inefficient recommendations via auto-regression, etc. In this paper, we propose CLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and ID paradigm of RS, aiming to address the above challenges simultaneously. We first extend the vocabulary of pretrained LLMs with user/item ID tokens to faithfully model the user/item collaborative and content semantics. Accordingly, in the pretraining stage, a novel soft+hard prompting strategy is proposed to effectively learn user/item collaborative/content token embeddings via language modeling on RS-specific corpora established from user-item interactions and user/item features, where each document is split into a prompt consisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and a main text consisting of homogeneous item tokens or vocab tokens that facilitates stable and effective language modeling. In addition, a novel mutual regularization strategy is introduced to encourage the CLLM4Rec to capture recommendation-oriented information from user/item contents. Finally, we propose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where an item prediction head with multinomial likelihood is added to the pretrained CLLM4Rec backbone to predict hold-out items based on the soft+hard prompts established from masked user-item interaction history, where recommendations of multiple items can be generated efficiently.
http://arxiv.org/pdf/2311.01343
Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li
cs.IR
null
null
cs.IR
20231102
20231108
[ { "id": "2302.13971" }, { "id": "2206.07682" }, { "id": "2308.10053" }, { "id": "2307.02046" }, { "id": "2306.05817" }, { "id": "2205.08084" }, { "id": "2303.14524" }, { "id": "2305.07001" }, { "id": "2303.13835" }, { "id": "2303.18223" }, { "id": "2302.03735" }, { "id": "2305.00447" }, { "id": "2305.08845" }, { "id": "2104.08691" }, { "id": "2308.10837" }, { "id": "2305.06569" } ]
{ "authors": "Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li", "chunk_id": 43, "doc_id": "2311.01343", "primary_category": "cs.IR", "published": 20231102, "source": "http://arxiv.org/pdf/2311.01343", "summary": "Recently, there is a growing interest in developing next-generation\nrecommender systems (RSs) based on pretrained large language models (LLMs),\nfully utilizing their encoded knowledge and reasoning ability. However, the\nsemantic gap between natural language and recommendation tasks is still not\nwell addressed, leading to multiple issues such as spuriously-correlated\nuser/item descriptors, ineffective language modeling on user/item contents, and\ninefficient recommendations via auto-regression, etc. In this paper, we propose\nCLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and\nID paradigm of RS, aiming to address the above challenges simultaneously. We\nfirst extend the vocabulary of pretrained LLMs with user/item ID tokens to\nfaithfully model the user/item collaborative and content semantics.\nAccordingly, in the pretraining stage, a novel soft+hard prompting strategy is\nproposed to effectively learn user/item collaborative/content token embeddings\nvia language modeling on RS-specific corpora established from user-item\ninteractions and user/item features, where each document is split into a prompt\nconsisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and\na main text consisting of homogeneous item tokens or vocab tokens that\nfacilitates stable and effective language modeling. In addition, a novel mutual\nregularization strategy is introduced to encourage the CLLM4Rec to capture\nrecommendation-oriented information from user/item contents. Finally, we\npropose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where\nan item prediction head with multinomial likelihood is added to the pretrained\nCLLM4Rec backbone to predict hold-out items based on the soft+hard prompts\nestablished from masked user-item interaction history, where recommendations of\nmultiple items can be generated efficiently.", "text": "3.4.2 Masked Prompting with Multinomial Head. To achieve this purpose, we first design a masked prompting strategy to gen- erate recommendation-oriented prompts. For each user, we ran- domly mask the interacted items r𝑖 by 100 × 𝑝𝑚%, where the re- maining items are denoted as r𝑚𝑎𝑠𝑘𝑒𝑑 , and use it to generate a 𝑖 𝑟𝑒𝑐,𝑝 recommendation-oriented prompt x . All the hold-out items, 𝑖 which we denote with a multi-hot vector rℎ𝑜𝑙𝑑 , are treated as the 𝑟𝑒𝑐,𝑝 target. The prompt x 𝑖\n(c) Recommendation Prompts & Target (prompt) <user_𝑖> has interacted with <item_𝑗 ′> <item_𝑘 ′> the user will interact with: (target) rℎ𝑜𝑙𝑑", "title": "Collaborative Large Language Model for Recommender Systems", "year": 2023 }
[ 0.022250218, 0.0066584037, 0.005943859, 0.023903605, 0.0011615357, -0.005908612, 0.05142159, 0.061521344, 0.033426598, 0.022903884, 0.0074786884, -0.021006975, 0.0055016745, -0.020417396, -0.0078183375, -0.03147842, 0.029658414, -0.014098641, -0.043013673, 0.009728063, -0.0104714455, 0.036066886, -0.007421012, -0.005889387, 0.018110346, 0.0068698833, 0.0067737564, 0.040040143, 0.028043479, -0.010714968, -0.004684594, -0.022955151, 0.006552664, -0.01737978, -0.006594319, 0.008004183, 0.0061937897, 0.0214043, 0.007799112, 0.04193705, -0.0014090631, -0.035836183, 0.011964619, -0.055779353, 0.016136536, 0.054805264, 0.00936278, -0.060701057, -0.0010525917, 0.044679876, -0.05767626, 0.08131071, -0.03311899, -0.018341051, -0.0050819195, -0.013816669, 0.015880197, -0.010317642, 0.0003542684, 0.021327399, 0.008023408, -0.037194777, -0.04021958, 0.061726414, 0.016636396, -0.0043705786, -0.017392596, 0.005607414, 0.010727785, 0.028427988, 0.00012706801, 0.002409586, 0.031452786, -0.0027300096, -0.014149909, 0.023378111, 0.012240184, -0.031170813, -0.011733915, 0.016854284, 0.032170534, -0.009689611, -0.020827537, -0.04029648, -0.045730866, -0.033170257, -0.049370877, 0.003332406, -0.033913642, -0.06736587, -0.075312376, -0.005443998, 0.0040565636, 0.036220692, 0.022724446, 0.013201455, -0.019366406, -0.024365015, 0.034657024, 0.044551708, 0.038220134, -0.036451396, -0.002084356, -0.021558104, 0.014124275, -0.0061713597, -0.00977933, 0.025121216, -0.02396769, 0.01884091, 0.012560608, -0.010676516, -0.019968802, 0.04186015, 0.024544453, 0.006619953, -0.029145736, -0.057522457, -0.0071454477, -0.0059791054, -0.019738099, -0.023788253, -0.018084712, -0.042065218, -0.028966298, -0.040552817, 0.017174708, -0.089923695, 0.020058522, -0.025531357, 0.0015051902, -0.008388692, -0.008651439, -0.019199787, -0.032580677, 0.024185577, 0.008766792, 0.045346357, -0.033734202, 0.008004183, -0.03963, -0.036374494, -0.05403625, 0.02522375, -0.06910898, -0.036425762, -0.02824855, 0.044500437, -0.07254392, 0.013957655, -0.038297035, -0.019302322, -0.017328512, -0.017648935, -0.014842024, -0.034016177, -0.007055729, -0.009292286, -0.031119546, -0.03991197, -0.020032888, -0.046397347, 0.0057676258, -0.031965464, -0.011817224, 0.026056852, -0.030991377, 0.03404181, -0.047268897, -0.017828373, -0.014495967, -0.012669552, -0.016085267, -0.03634886, -0.0051395954, 0.031298984, -0.030504333, -0.03201673, -0.029248271, 0.017341329, 0.017495133, 0.02304487, 0.03319589, -0.028863763, 0.0063572056, -0.0056843157, -0.021417119, -0.03127335, 0.01124687, -0.014047373, 0.038681544, 0.037630554, 0.031888563, 0.0076389, -0.03701534, -0.08756538, 0.07603013, -0.0066904463, 0.026838686, -0.012291452, -0.017572034, 0.032093633, -0.003399695, -0.023493463, -0.002789288, -0.019084433, -0.03378547, 0.032042366, -0.0563433, 0.018969081, 0.025749246, -0.010086937, 0.024480367, 0.03278575, -0.023390928, 0.0055849846, -0.04247536, -0.019251054, -0.040065777, 0.029145736, 0.013060468, 0.05221624, 0.039681267, -0.03681027, -0.010817503, 0.044064663, 0.038297035, -0.05229314, -0.021468386, -0.035272237, 0.052267507, 0.020558381, -0.00016652017, -0.018635841, -0.0067224884, 0.011253279, 0.018866545, 0.0071710814, -0.016110903, -0.051780466, 0.016046816, 0.012874623, 0.05193427, -0.03165786, 0.018341051, 0.01540597, -0.016508227, 0.0013698111, -0.018289782, 0.023249941, 0.059573166, -0.02077627, 0.0106957415, -0.016444143, -0.017918091, -0.001842436, -0.018328233, 0.045602694, -0.022506557, 0.00093483605, -0.0228398, 0.007055729, 0.0034701882, 0.08305381, -0.00522611, -0.016700482, -0.04232156, -0.0010173451, -0.009458907, -0.0024079839, -0.027761506, -0.030529967, 0.013957655, 0.050806377, -0.03378547, -0.022865433, 0.03786126, -0.0066904463, -0.034144346, 0.01188131, -0.051831733, -0.011657013, 0.053831175, -0.02110951, -0.0016565904, 0.019443307, 0.011477576, 0.033298425, -0.015918648, 0.0038130416, 0.002734816, -0.086283684, 0.0036720552, -0.03022236, -0.007119814, -0.008241297, -0.033836737, -0.029478977, -0.0080874935, 0.009337146, 0.050216798, 0.018917814, -0.0011439124, 0.0040661762, 0.0028373515, -0.016726116, 0.007824746, -0.0350159, 0.021737542, -0.02988912, -0.0013561932, 0.0074530547, -0.01948176, 0.017213158, -0.0072800256, -0.05536921, 0.07351801, -0.00772221, 0.010791869, -0.02544164, -0.018943448, 0.013368076, 0.02917137, -0.0021340216, 0.026915587, -0.01704654, 0.003031208, -0.012432438, -0.00039091686, -0.057266116, -0.017174708, 0.017687386, 0.020750636, 0.0214043, 0.012586242, -0.010990532, 0.032965187, 0.0075748153, -0.0066584037, 0.018264148, -0.02455727, -0.013444977, -0.021506837, -0.015059913, -0.014854841, -0.012605467, 0.0049793837, 0.0214043, 0.045013115, 0.041193668, 0.026941221, 0.01649541, 0.054959066, -0.04109113, -0.011663421, 0.011086659, 0.027402632, -0.02850489, -0.028043479, 0.03832267, 0.0009893081, -0.008952637, 0.014995827, -0.038809713, 0.020494297, 0.016610762, 0.004873644, -0.0148932915, -0.022775713, 0.006309142, -0.017264428, -0.020558381, -0.04042465, 0.001163939, -0.029684048, -0.0074658715, -0.038245767, 0.018417953, 0.039194223, 0.025569808, 0.01356033, -0.07669661, -0.0097665135, 0.024941778, 0.012663143, 0.02010979, 0.04634608, -0.0136500485, -0.064187266, -0.043295644, 0.025377555, -0.043475084, 0.004716636, 0.010157431, 0.0025073153, 0.055625547, -0.029812219, 0.054138783, 0.049345244, 0.05470273, -0.013483427, 0.0035470899, 0.000099231205, 0.032478143, -0.022852616, 0.008433551, -0.056753438, 0.019238237, 0.016277522, -0.009074398, 0.05083201, -0.006225832, 0.012848989, 0.022826983, 0.04142437, 0.03568238, 0.016559495, 0.023531914, 0.027069392, 0.011227645, -0.005578576, -0.027505167, 0.0020138628, -0.0045083608, -0.025890233, 0.009875458, 0.0061425217, 0.011182786, 0.048242986, -0.05926556, -0.018776827, 0.070903346, 0.024531636, -0.0021580535, 0.018981898, -0.023326842, 0.038476475, 0.043141842, 0.029478977, -0.03409308, 0.015034278, -0.0034381459, -0.047832843, 0.036707737, 0.012368353, 0.0014082621, -0.029094469, 0.015008644, 0.009048765, -0.0116698295, -0.08120818, -0.022993602, 0.016046816, 0.052908357, -0.017431047, -0.061008666, 0.05439512, -0.011342998, -0.010490671, 0.03601562, 0.019302322, -0.0014579276, 0.02812038, -0.021506837, 0.023826703, 0.022929518, -0.036784638, 0.014278078, 0.017854007, -0.013919204, 0.014316529, -0.024083043, 0.020161057, 0.017854007, -0.009728063, -0.0050947363, 0.012675961, 0.004915299, 0.019494576, 0.007927282, 0.059419364, 0.026582347, 0.004687798, 0.035836183, 0.017789923, 0.071467295, 0.043628886, -0.014111458, -0.009638344, 0.023621632, 0.044961847, 0.0025313469, 0.030529967, -0.013675682, 0.023108955, -0.033811104, 0.04529509, -0.010131796, -0.0024208007, 0.009599893, -0.022429656, -0.010458629, -0.024083043, 0.040040143, 0.0050787153, 0.05465146, 0.029222637, 0.016738933, 0.000035822366, 0.030914474, -0.0841817, -0.036784638, -0.055779353, 0.005975901, -0.046576783, 0.041296203, -0.018712742, 0.006850658, -0.007164673, 0.035708014, -0.032068, 0.031991098, -0.050037358, -0.00094444875, -0.016879918, -0.02555699, -0.015380336, -0.048832566, -0.01645696, -0.032580677, -0.0071774903, -0.022109233, 0.003601562, 0.020212324, -0.030504333, -0.01570076, -0.015149631, 0.031068278, -0.0043545575, 0.03693844, -0.008593762, -0.0094524985, -0.033349697, -0.017969359, -0.0057227667, -0.0071134055, 0.022724446, 0.017405413, 0.0039380067, -0.015136814, 0.007927282, -0.004537199, -0.017905274, -0.012868214, -0.002073141, -0.03193983, -0.027684605, -0.013047651, 0.024198394, -0.002667527, 0.001204793, -0.010465037, -0.0028902215, 0.021391483, -0.017982176, -0.008247705, 0.030837573, 0.0395531, -0.01675175, 0.04103986, -0.004165508, 0.0070108697, 0.034221247, -0.009516583, 0.0456796, -0.03273448, 0.0024896918, -0.034426317, -0.046499882, 0.013380893, -0.0113109555, -0.0051780464, 0.0102920085, 0.0060367817, -0.004851214, 0.0031946239, 0.0049281158, 0.0012248195, -0.028530523, 0.009901091, 0.0066904463, -0.021840077, 0.028889397, 0.011849267, -0.028427988, -0.0008731545, 0.007568407, -0.0020651305, 0.017149074, 0.009760105, 0.027710238, 0.011509618, -0.035041533, -0.02791531, 0.0052773776, 0.0304787, -0.009356371, 0.027171927, 0.019045983, 0.017559217, 0.0021772787, 0.015354702, -0.023711352, -0.0057355836, -0.023108955, -0.016239071, 0.027171927, -0.012099197, 0.006728897, 0.0042552263, -0.015764844, 0.036682103, 0.0031161201, 0.027248828, 0.0074402373, 0.010112571, 0.017264428, -0.037835628, 0.03619506, -0.011182786, -0.0395531, -0.011842859, -0.002667527, 0.0112660965, -0.03627196, 0.03232434, 0.0059791054, 0.035246603, 0.0029446934, -0.044192832, 0.019597111, 0.002938285, -0.024031775, -0.032273073, 0.0030007677, 0.0031850112, -0.027633337, -0.0067609395, -0.04134747, -0.0045692413, -0.05006299, -0.038937885, 0.015880197, -0.04483368, 0.027633337, -0.01058039, -0.0012736841, 0.031196447, -0.014726671, -0.0043545575, -0.010599615, -0.026607981, -0.022070782, -0.035579845, -0.019366406, 0.032683212, -0.018289782, 0.021314582, -0.0038675137, 0.023685718, -0.028786862, -0.0089270035, 0.015264983, 0.038091965, -0.017905274, 0.0060207606, 0.0024736708, 0.009311512, -0.018110346, -0.01787964, -0.013316807, 0.023403745, -0.011112292, -0.005536921, -0.0016133331, -0.017392596, 0.026351642, -0.017789923, -0.010157431, 0.0058701616, -0.014367797, -0.026736151, 0.035938717, -0.0059534716, 0.008786017, -0.0023102546, -0.02219895, 0.028991934, -0.0029607147, -0.03529787, -0.04562833, 0.015918648, 0.007843971, 0.02060965, 0.008882144, -0.034477588, -0.032580677, 0.048781298, 0.03627196, 0.019955985, 0.024236847, -0.013842302, 0.0031914196, 0.010330459, 0.004649347, 0.020840354, -0.010420177, -0.011823633, 0.010714968, -0.019353589, -0.0072800256, 0.02446755, -0.018148797, 0.010522713, -0.008093902, -0.017777106, -0.016944004, -0.0062034023, -0.018687109, 0.003197828, 0.009196159, 0.0138294855, 0.001218411, -0.011567295, -0.023621632, 0.0016341606, 0.00044178413, -0.0141883595, 0.030401798, -0.029094469, 0.049729753, -0.02451882, -0.035272237, -0.0014859647, 0.039937604, 0.033144623, 0.01040736, 0.023980508, -0.0214043, -0.029222637, -0.048499327, 0.01040736, -0.010958489, -0.005133187, 0.00487044, -0.00411424, 0.012387579, -0.005460019, -0.034810826, 0.03627196, 0.015854564, 0.007869605, -0.019417673, 0.0020394966, -0.0074530547, -0.041526906, 0.001042178, 0.00077782845, -0.0036528297, 0.010945672, 0.017918091, -0.026300374, 0.03081194, -0.047345802, 0.05229314, -0.024787975, 0.0070621376, 0.00040934124, -0.018738376, 0.019763732, -0.00024191987, 0.0275308, -0.031324618, -0.03627196, 0.0012760872, -0.018341051, -0.03299082, 0.0024752729, -0.02451882, -0.027658971, -0.026351642, -0.009728063, -0.02732573, -0.027428266, -0.0047871294, -0.0012704799, 0.022596277, -0.11555759, -0.007350519, 0.01704654, -0.04483368, -0.01242603, 0.040911693, -0.004200754, 0.00058076787, -0.008683481, -0.004835193, 0.006959602, 0.012611875, -0.008190029, -0.03319589, -0.014572868, -0.043141842, 0.01036891, -0.024288114, 0.009644752, -0.043295644, -0.0140089225, -0.025249384, -0.036528297, 0.04096296, -0.029812219, -0.037579287, -0.017918091, 0.011061025, 0.02472389, 0.008478411, -0.018020626, -0.0090167215, 0.0000014894694, 0.01389357, -0.010118979, -0.009580667, -0.022263037, -0.014521601, -0.047884114, -0.0031657857, 0.011605745, 0.0073056594, 0.029478977, -0.017610485, -0.013957655, -0.030991377, -0.012733636, 0.0017671365, -0.025351921, 0.0039508236, -0.016905552, 0.0056682946, 0.012342719, -0.0381945, -0.01632879, 0.018353868, -0.005671499, 0.018353868, -0.014367797, 0.004649347, 0.009125666, 0.0016165373, 0.026300374, -0.029684048, 0.011362223, -0.034810826, -0.009382005, 0.029914754, -0.0025954316, 0.017097807, -0.016867101, 0.015611041, -0.01573921, 0.043757055, 0.009715245, -0.034349415, 0.002653108, 0.018405136, -0.005841323, 0.023531914, 0.054805264, -0.0068442496, 0.015226533, 0.005754809, -0.005033856, 0.005389526, -0.007760661, -0.0073056594, 0.013316807, -0.016354423, -0.016405692, -0.058496542, -0.0121056065, -0.006229036, 0.007369744, -0.023852337, -0.021904161, 0.017725836, -0.0070044613, 0.017687386, 0.026659248, 0.02018669, -0.04998609, -0.034400683, -0.0041398737, 0.0039540282, -0.013573146, 0.004668573, 0.046961293, 0.016879918, 0.009132074, -0.0011935781, -0.036835905, 0.010349684, -0.007690168, 0.017892458, 0.011592928, -0.002747633, 0.042449728, -0.015136814, 0.008125944, 0.009702428, -0.029427709, -0.004902482, -0.017290061, -0.010772644, 0.013278357, 0.04239846, 0.007920873, -0.0033772655, 0.003684872, 0.03850211, 0.0032042367, -0.011817224, -0.0028245347, 0.028299818, -0.006812207, -0.018482037, -0.06541769, 0.002260589, 0.0067417137, 0.022070782, 0.04478241, -0.020673735, -0.015380336, -0.011028983, 0.021006975, 0.00167902, -0.0305556, 0.017930908, 0.019827817, -0.015354702, 0.02241684, 0.0043962128, 0.00096687843, 0.008074677, -0.012041521, -0.022609094, 0.00040173117, 0.043218743, 0.009330737, 0.034528855, 0.013316807, -0.009176934, 0.013675682, -0.014085825, 0.011067433, -0.009433272, -0.014393431, 0.02548009, 0.0026082487, 0.00080226077, 0.01800781, -0.011913352, 0.004739066, 0.034938995, 0.041783247, -0.03673337, 0.0064373114, 0.017290061, -0.026607981, 0.028633058, -0.0104265865, -0.019045983, 0.028402353, -0.019251054, -0.021301765, -0.021032609, 0.00095085724, -0.008965454, 0.032093633, -0.009593485, 0.037553653, 0.05372864, 0.014867658, 0.018315416, 0.024570087, -0.020507114, 0.010304825, -0.0047422703, -0.06177768, -0.012451664, -0.038681544, -0.005065898, -0.03911732, 0.03904042, 0.011176378, 0.00092041696, -0.024864877, 0.03601562, -0.030735038, 0.0504475, -0.01918697, 0.006158543, 0.0050466727, -0.017097807, -0.006552664, 0.0059246337, -0.04655115, -0.0065238257, -0.026684882, -0.0055016745, -0.0130348345, 0.034067445, -0.030401798, 0.018200064, 0.00010063306, 0.0049793837, 0.01977655, 0.023724169, 0.00013477821, 0.0015083944, 0.0050979406, -0.00031121148, -0.012861806, 0.027966578, -0.019635562, 0.00021167989, 0.02321149, -0.0031657857, 0.04186015, 0.00893982, -0.0023599202, -0.01570076, -0.008645031, -0.026633615, 0.008830876, -0.0052132932, -0.043808322, -0.030504333, -0.021224864, -0.0020106584, 0.04931961, -0.018674292, 0.013406526, -0.003492618, -0.010657291, 0.04957595, 0.0275308, -0.006728897, 0.01557259, -0.032939553, 0.0048095593, -0.054292586, -0.019033166, -0.03068377, 0.000048989776, 0.010817503, -0.022032332, -0.044808045, -0.03068377, 0.032862652, -0.015752027, 0.023634449, -0.004620509, 0.004264839, -0.01675175, -0.02485206, -0.007914465, -0.0036976892, 0.0020603242, 0.02476234, -0.04588467, 0.02686432, 0.037092242, 0.0067096716, 0.024441916, -0.0073312935, 0.029325174, 0.0056811115, 0.057778794, -0.0033804697, -0.013842302, -0.020455847, -0.019238237, -0.0011415093, -0.015790477, -0.0018872954, 0.036835905, -0.009702428, -0.002017067, 0.010400952, 0.008548903, -0.013880753, 0.031991098, 0.0563433, 0.046141006, 0.010862363, 0.033170257, -0.0076645343, -0.007901647, -0.0037681824, 0.024198394, 0.017033722, -0.0029062426, -0.03581055, 0.0019145313, -0.0006796987, -0.013150187, -0.023826703, -0.008279747, 0.0025089174, -0.00017132652, 0.013118145, -0.01570076, 0.009881866, -0.018366685, -0.0038643093, -0.029222637, 0.010170247, -0.031632226, 0.030529967, -0.008029817, -0.010894405, -0.015611041, -0.025121216, -0.025659528, 0.044295367, 0.008119536, -0.032478143, -0.019468943, 0.00772221, 0.02107106, 0.010855954, 0.00072215486, 0.015585407, 0.013983289, -0.010484262, 0.022032332, -0.03455449, 0.07064701, -0.006837841, -0.014880475, 0.004517974, 0.0049120947, 0.03963, -0.0140089225, 0.012253001, -0.0038579009, -0.03201673, -0.0008763587, 0.0038546966, -0.007831154, 0.009042356, 0.004348149, 0.013611597, 0.00089478306, 0.0019113271, 0.014521601, 0.01918697, 0.03404181, 0.026966855, 0.019699646, 0.011932577, 0.0030536375, 0.032170534, 0.010151022, -0.010503488, 0.032221805, 0.025467273, -0.007350519, -0.03891225, -0.011548069, -0.008606579, -0.061316274, -0.0005363091, -0.00013648045, 0.033324063, 0.034195613, -0.018328233, 0.009305103, -0.004617305, 0.036323227, 0.012605467, 0.0033676527, 0.020827537, 0.011112292, 0.018341051, 0.0015652695, -0.011137927, 0.0022798143, -0.0066519952, 0.0006813008, -0.007895239, -0.0055689635, -0.03245251, -0.010945672, 0.03160659, 0.026684882, 0.0114903925, -0.038220134, 0.029581513, -0.018712742, -0.026736151, 0.010356093, -0.019955985, -0.025236567, 0.00014939753, -0.028017845, 0.030658137, 0.011765957, -0.015252166, 0.016649213, -0.008542495, 0.015367519, 0.015585407, 0.030632501, 0.006921151, 0.020263592, 0.023672901, 0.0518061, 0.012432438, -0.02577488, -0.022634728, 0.0057612173, 0.00409181, 0.035631113, 0.023108955, -0.036707737, 0.027812773, 0.0049473415, 0.027992211, 0.056804705, 0.0040020915, -0.010106162, 0.020263592, 0.033324063, 0.016136536, 0.0056394567, -0.005809281, -0.030324895, -0.014175543, 0.014765123, 0.0094973575, -0.06326445, 0.012272227, -0.06992926, 0.021186413, 0.04393649, 0.010439403, 0.0214043, -0.012881031, 0.005049877, 0.0040950147, -0.014047373, -0.018315416, -0.03732295, 0.026069669, -0.010022853, -0.030171093, 0.01645696, 0.0065206215, 0.006594319, 0.0035791323, -0.035118435, 0.023711352, 0.019084433, -0.010208698, -0.013278357, 0.0051780464, -0.03311899, 0.03752802, 0.0066968547, 0.012079972, 0.00021648624, 0.008843693, -0.016597945, -0.059932042, 0.005357484, -0.012201733, -0.0008507248, 0.03745112, -0.03693844, -0.014585685, -0.0074146036, 0.008638622, -0.009542217, -0.0040437467, 0.016482593, -0.00568752, -0.008600171, 0.016405692, 0.0012913074, 0.014611319, 0.0013890365, 0.0053126244, -0.037092242, 0.004915299, 0.016636396, -0.012054338, 0.015021461, -0.024749523, 0.007786295, -0.050088625, 0.0810031, -0.0040373383, -0.015123997, 0.00044178413, -0.009356371, -0.01607245, -0.010086937, 0.008696298, -0.01708499, -0.019635562, 0.017674569, -0.010638066, -0.0018872954, 0.042706065, -0.01955866, 0.0116249705, -0.0014683414, -0.013714133, 0.000369088, -0.0008731545, 0.0013465805, -0.0035022306, 0.016303156, 0.010945672, 0.013419343, 0.028146015, -0.0059694927, -0.05767626, 0.011804407, 0.016918369, 0.008574537, 0.004646143, -0.0074146036, -0.014829207, 0.042039584, 0.0055625546, 0.018776827, -0.013752583, -0.025659528, 0.025108399, 0.03273448, -0.011650604, 0.003627196, -0.0051812506, 0.022186134, 0.00872834, 0.019327955, -0.030017288, 0.010093345, 0.05516414, 0.031888563, 0.020763453, 0.021135146, 0.029427709, -0.041603807, 0.004046951, -0.013714133, -0.012772087, 0.02446755, -0.0046589603, -0.017943725, -0.010887996, 0.0057323794, -0.013803852, -0.016034, 0.0028181262, 0.049012005, -0.028351085, 0.011150744, -0.030273627, -0.0054119555, 0.009510174, 0.0018728763, -0.007106997, 0.0064533325, 0.005825302, -0.022109233, 0.02350628, -0.026992489, -0.0026370867, -0.029350808, 0.08156705, 0.026966855, 0.017405413, -0.03232434, 0.02824855, 0.05880415, 0.0016758158, -0.015021461, -0.03850211, 0.010631657, -0.018776827, -0.0065430515, -0.007799112, -0.013150187, 0.03857901, -0.037630554, -0.015969915, 0.0018600593, 0.013637231, -0.011516026, 0.019289505, -0.019968802, -0.016572312, 0.009112849, -0.017469497, 0.016174987, -0.002845362, -0.0079080565, -0.027274461, -0.015649492, 0.011996662, 0.014342163, 0.008247705, 0.0002577408, -0.013585963, -0.005133187, 0.016610762, -0.006264283, 0.010638066, -0.02010979, 0.02153247, -0.032170534, -0.011778774, 0.027402632, -0.03522097, 0.00530942, 0.017648935, 0.021699091, 0.02018669, -0.0152778, -0.009446089, -0.007869605, -0.05326723, -0.0060175564, 0.0191357, -0.028094746, 0.018917814, 0.016046816, -0.035861816, 0.019622745, -0.00030700592, -0.023890788, 0.032119267, -0.016136536, -0.012342719, 0.0027796752, -0.00595988, -0.00044178413, -0.011016166, 0.03463139, 0.0122850435, 0.021096693, 0.018405136, -0.042372826, 0.03219617, -0.002763654, 0.010522713, 0.015598224, 0.018904997, 0.016008366, -0.011644196, 0.000024207007, 0.013150187, 0.012393988, -0.010497079, 0.04634608, 0.023339659, 0.011381448, 0.00793369, -0.017956542, -0.0110418, -0.0036592383, 0.013778217, 0.014906109, -0.011868493, -0.013406526, 0.016521044, 0.011945394, 0.010676516, 0.022673178, 0.042347193, -0.00031021016, -0.027428266, -0.012650326, -0.006645587, 0.0027860838, 0.051883, -0.0023326844, -0.0038258585, 0.008119536, -0.002721999, 0.01809753, -0.0017382983, -0.0037137102, 0.006174564, -0.030965744, -0.037809994, 0.018879361, 0.0031049054, 0.044372268, 0.056599636, -0.031965464, 0.017097807, 0.011253279, -0.0089718625, -0.0053670965, 0.04521819, 0.026454179, -0.025685161, -0.01620062, -0.00822848, -0.029197004, -0.042116486, -0.014829207, -0.036297593, -0.0039187814, -0.005319033, -0.011471167, -0.004011704, 0.021276131, -0.007215941, -0.025069948, -0.01809753, -0.024249664 ]
2311.01343
44
which triggers the reasoning ability of the pretrained LLM by using relational phrase "has interacted with" to describe the historical interactions, and using the phrase "the user will interact with" to guide the prediction of the target items rℎ𝑜𝑙𝑑 We name CLLM4Rec in the finetuning stage as RecLLM, which inherits the CLLM4Rec base model lim, from the collaborative LLM in the pretraining stage and introduces a new item prediction head with multinomial likelihood, ie., frec, whose weights are also tied with the item token embeddings Z!”. The generation of the hold hold-out items r/°"“ via the RecLLM can be formulated as follows: rhold ~ multi (free (nie? ,) , Npold) , where he = limy (x/*°?) 5 rhold ~ multi (free (nie? ,) , Npold) , where he = limy (x/*°?) 5 (9)
2311.01343#44
Collaborative Large Language Model for Recommender Systems
Recently, there is a growing interest in developing next-generation recommender systems (RSs) based on pretrained large language models (LLMs), fully utilizing their encoded knowledge and reasoning ability. However, the semantic gap between natural language and recommendation tasks is still not well addressed, leading to multiple issues such as spuriously-correlated user/item descriptors, ineffective language modeling on user/item contents, and inefficient recommendations via auto-regression, etc. In this paper, we propose CLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and ID paradigm of RS, aiming to address the above challenges simultaneously. We first extend the vocabulary of pretrained LLMs with user/item ID tokens to faithfully model the user/item collaborative and content semantics. Accordingly, in the pretraining stage, a novel soft+hard prompting strategy is proposed to effectively learn user/item collaborative/content token embeddings via language modeling on RS-specific corpora established from user-item interactions and user/item features, where each document is split into a prompt consisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and a main text consisting of homogeneous item tokens or vocab tokens that facilitates stable and effective language modeling. In addition, a novel mutual regularization strategy is introduced to encourage the CLLM4Rec to capture recommendation-oriented information from user/item contents. Finally, we propose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where an item prediction head with multinomial likelihood is added to the pretrained CLLM4Rec backbone to predict hold-out items based on the soft+hard prompts established from masked user-item interaction history, where recommendations of multiple items can be generated efficiently.
http://arxiv.org/pdf/2311.01343
Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li
cs.IR
null
null
cs.IR
20231102
20231108
[ { "id": "2302.13971" }, { "id": "2206.07682" }, { "id": "2308.10053" }, { "id": "2307.02046" }, { "id": "2306.05817" }, { "id": "2205.08084" }, { "id": "2303.14524" }, { "id": "2305.07001" }, { "id": "2303.13835" }, { "id": "2303.18223" }, { "id": "2302.03735" }, { "id": "2305.00447" }, { "id": "2305.08845" }, { "id": "2104.08691" }, { "id": "2308.10837" }, { "id": "2305.06569" } ]
{ "authors": "Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li", "chunk_id": 44, "doc_id": "2311.01343", "primary_category": "cs.IR", "published": 20231102, "source": "http://arxiv.org/pdf/2311.01343", "summary": "Recently, there is a growing interest in developing next-generation\nrecommender systems (RSs) based on pretrained large language models (LLMs),\nfully utilizing their encoded knowledge and reasoning ability. However, the\nsemantic gap between natural language and recommendation tasks is still not\nwell addressed, leading to multiple issues such as spuriously-correlated\nuser/item descriptors, ineffective language modeling on user/item contents, and\ninefficient recommendations via auto-regression, etc. In this paper, we propose\nCLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and\nID paradigm of RS, aiming to address the above challenges simultaneously. We\nfirst extend the vocabulary of pretrained LLMs with user/item ID tokens to\nfaithfully model the user/item collaborative and content semantics.\nAccordingly, in the pretraining stage, a novel soft+hard prompting strategy is\nproposed to effectively learn user/item collaborative/content token embeddings\nvia language modeling on RS-specific corpora established from user-item\ninteractions and user/item features, where each document is split into a prompt\nconsisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and\na main text consisting of homogeneous item tokens or vocab tokens that\nfacilitates stable and effective language modeling. In addition, a novel mutual\nregularization strategy is introduced to encourage the CLLM4Rec to capture\nrecommendation-oriented information from user/item contents. Finally, we\npropose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where\nan item prediction head with multinomial likelihood is added to the pretrained\nCLLM4Rec backbone to predict hold-out items based on the soft+hard prompts\nestablished from masked user-item interaction history, where recommendations of\nmultiple items can be generated efficiently.", "text": "which triggers the reasoning ability of the pretrained LLM by using relational phrase \"has interacted with\" to describe the historical interactions, and using the phrase \"the user will interact with\" to guide the prediction of the target items rℎ𝑜𝑙𝑑\nWe name CLLM4Rec in the finetuning stage as RecLLM, which inherits the CLLM4Rec base model lim, from the collaborative LLM in the pretraining stage and introduces a new item prediction head with multinomial likelihood, ie., frec, whose weights are also tied with the item token embeddings Z!”. The generation of the hold hold-out items r/°\"“ via the RecLLM can be formulated as follows: rhold ~ multi (free (nie? ,) , Npold) , where he = limy (x/*°?) 5\nrhold ~ multi (free (nie? ,) , Npold) , where he = limy (x/*°?) 5 (9)", "title": "Collaborative Large Language Model for Recommender Systems", "year": 2023 }
[ 0.04040988, 0.020401377, 0.051241975, -0.0006239503, 0.008138102, 0.0007945172, 0.05848208, 0.064487435, -0.048351545, 0.018928101, -0.011484545, -0.0677988, -0.013708491, 0.0065385434, -0.039539948, -0.024217866, 0.019573538, -0.005623007, -0.04467537, 0.06297207, 0.009653472, 0.018549258, 0.054693654, -0.037575576, 0.022997152, -0.01189145, 0.001383828, 0.012859603, -0.0068472303, -0.016991794, 0.03726689, -0.031065097, -0.012136996, -0.0053529064, -0.02670139, 0.010621625, 0.0009663995, 0.034039713, -0.014873082, 0.0603342, -0.048295423, -0.044927932, -0.039427698, 0.004686424, 0.017651262, 0.048688296, -0.0010312939, -0.0044934945, 0.005391492, 0.07009992, -0.044759557, 0.027487138, -0.002730824, 0.026098048, -0.004767103, -0.035302524, 0.041616566, 0.005851014, -0.000772155, 0.0012303616, 0.0169497, -0.047397424, 0.0031359752, -0.009941111, -0.03535865, -0.034657087, -0.045657553, 0.018282665, 0.011084655, 0.025157958, -0.014915176, -0.043721247, 0.023993367, -0.009786769, -0.028932353, 0.0033867832, 0.034600962, -0.010944343, 0.0017284696, -0.015294018, 0.04745355, -0.0030956354, 0.0072611505, -0.04874442, -0.014424083, -0.031289596, -0.0014276755, 0.0051529617, 0.0022274544, -0.07442153, -0.03353459, 0.0030973894, 0.0041076364, 0.013147243, 0.045292743, -0.018984227, -0.00031921, -0.05023173, 0.00047574568, 0.03805264, -0.024428336, -0.015069518, 0.02134147, -0.059716824, 0.008096008, 0.005444109, -0.036705643, 0.012375526, -0.043440625, 0.011709044, -0.02541052, -0.02273056, -0.061681196, 0.04616268, 0.06510481, -0.043356437, -0.02402143, 0.011947575, -0.028511416, 0.009393894, -0.005181024, -0.041700754, -0.0063631535, -0.049698543, 0.005440601, -0.013855819, 0.044001874, -0.0281887, 0.034965772, -0.01787576, 0.003069327, 0.009667503, 0.016332328, -0.025845487, -0.04015732, -0.010270845, -0.051690973, 0.015518517, -0.024161743, -0.034881584, -0.0014110134, -0.020625878, -0.035021897, 0.009541222, -0.048323486, 0.0007892555, 0.009807815, -0.018619414, -0.03704239, 0.003970832, -0.0506246, -0.04826736, -0.050652664, 0.024666866, -0.03378715, -0.02250606, -0.039287385, 0.009330754, 0.023404056, -0.026547048, -0.009260598, 0.0064157704, 0.007647009, 0.0027904566, 0.007857477, 0.013975085, -0.052953783, 0.057752457, -0.060951572, -0.043833498, -0.008243335, 0.008566054, -0.057527956, -0.0040024025, -0.05011948, -0.007717165, -0.0029412922, -0.052476723, -0.0021836068, -0.036537267, -0.023965305, 0.018647477, -0.021046814, -0.05452528, -0.04930567, 0.018254602, -0.021327438, 0.0043145968, -0.0069208937, -0.019068412, 0.00082740287, 0.012522854, 0.07554403, 0.03215953, 0.008243335, -0.01624814, 0.04546112, 0.02273056, 0.0014583688, -0.033478465, -0.005223118, 0.06067095, -0.018843913, -0.004809197, -0.0053669377, 0.02807645, 0.018942133, 0.028371105, -0.03676177, 0.009330754, 0.031570222, -0.031766657, 0.032664657, 0.039006762, -0.042177815, 0.024905397, -0.025677113, 0.021201156, -0.0059702797, 0.047734175, 0.0231094, 0.012340449, 0.0433845, -0.0011321432, -0.056293212, 0.016556827, 0.06319656, -0.04537693, -0.02124325, -0.030082913, 0.021986905, -0.0015381713, -0.007096284, -0.051270038, 0.016570859, -0.008601131, -0.028104512, -0.02020494, 0.02368468, -0.030363537, -0.0050301882, 0.035583146, 0.04467537, 0.014017178, 0.02134147, 0.008152133, 0.014522301, -0.028988479, 0.048940856, 0.029549727, 0.02795017, -0.027922107, 0.012985884, -0.009884987, -0.032355968, 0.057527956, -0.036705643, -0.010670735, -0.0213555, -0.0090781925, -0.03075641, 0.0041462225, 0.002999171, 0.035190273, -0.01996641, -0.03611633, 0.009022067, 0.0299426, 0.010095455, 0.00997619, -0.033366214, -0.044647306, -0.021369532, -0.013526086, -0.033282027, -0.02263234, 0.041392066, 0.01661295, 0.0013750585, 0.031654406, -0.012894682, -0.016023641, 0.037884265, -0.0025256176, -0.005770335, 0.022211405, 0.005037204, -0.004114652, -0.012221183, 0.013708491, 0.010825078, -0.04784642, 0.04826736, -0.010860156, -0.0019292913, 0.02215528, -0.030784473, -0.030700285, -0.0027816873, 0.034432586, 0.017721416, 0.027010078, 0.010144564, -0.019938348, 0.0060755135, 0.030728348, -0.007043667, -0.03990476, 0.029858412, 0.009828862, -0.0055212807, 0.057359584, -0.014325865, 0.025705175, -0.038950637, -0.017735448, 0.064824186, -0.035807647, 0.022758622, -0.017707385, -0.012621073, -0.0064298017, 0.03005485, -0.01334368, 0.007527744, 0.011302139, -0.005675624, -0.035134148, -0.015041457, -0.017202262, 0.024161743, 0.014220631, -0.015728986, -0.010860156, -0.009765722, -0.03272078, -0.022758622, 0.01508355, 0.034039713, 0.06998767, -0.044366684, 0.008566054, -0.033590715, 0.016514733, -0.0062438883, 0.010474297, 0.005510757, 0.017412731, 0.022071091, 0.012978869, 0.020443471, -0.02855351, 0.040662445, -0.04296356, 0.009183426, 0.0024800163, 0.01752498, -0.04826736, 0.036032144, 0.050680727, -0.029577788, -0.0015723724, 0.039848633, -0.019236788, -0.020611847, 0.012340449, -0.024975553, 0.009246567, 0.005142438, -0.016416514, 0.023740806, -0.0009944619, -0.0011628364, -0.0007997789, -0.040353756, -0.005387984, 0.024428336, 0.006899847, 0.006513989, 0.022421872, -0.011196905, -0.037098516, -0.009464051, -0.005216102, 0.009765722, -0.0016284973, -0.003900676, -0.015069518, -0.053206343, -0.013112165, 0.025129896, -0.040886942, 0.0047495645, -0.010670735, 0.005002126, 0.017903823, -0.0050828056, 0.042149752, 0.04630299, 0.047257114, -0.04026957, -0.03611633, -0.03041966, -0.009849909, -0.014494239, 0.0051389304, 0.0048512905, 0.013554148, 0.0338994, -0.025157958, 0.0598852, 0.006899847, 0.033674903, -0.02181853, 0.023221651, 0.026140142, -0.00047486872, 0.012087886, 0.049951106, 0.04116757, -0.016107827, -0.032103408, 0.006156193, -0.024807177, 0.010355032, -0.017342575, 0.01323143, -0.0070647136, -0.007436541, -0.05348697, -0.029100727, 0.06263532, 0.04526468, 0.015125643, 0.0169497, -0.017553043, 0.0169497, 0.033338152, -0.015462392, -0.084187254, 0.064711936, 0.01763723, -0.050568476, -0.031065097, -0.011919512, 0.027655514, -0.046976488, -0.034404524, 0.002322165, 0.011624857, -0.063028194, -0.012859603, 0.06650793, 0.018619414, 0.0035779583, -0.064711936, 0.042065565, -0.042654876, 0.053178284, -0.010944343, 0.015504486, 0.0079556955, 0.03238403, -0.022997152, -0.0039988947, 0.046836175, -0.0038831371, -0.008285429, 0.05432884, -0.009183426, 0.004139207, -0.024147712, 0.014346912, 0.016921638, 0.021860624, 0.018268634, 0.0065595903, -0.05491815, 0.008334538, -0.04060632, 0.05859433, 0.024975553, 0.025242146, -0.004696947, -0.012228198, 0.093840726, 0.009015052, 0.008046898, -0.03353459, 0.026154174, 0.040466007, -0.014122412, -0.008664272, -0.01718823, -0.0017486394, 0.013259493, 0.046499427, -0.0561529, 0.013413836, 0.010993453, -0.008067945, 0.0015372944, -0.028932353, 0.015743017, -0.03213147, 0.04374931, 0.0030465263, -0.018970195, 0.0050652665, 0.036284707, 0.006036928, 0.021257281, -0.04467537, -0.0053844764, -0.021902718, 0.007864493, -0.01728645, -0.008797568, 0.010228751, 0.024554616, 0.020836346, 0.039511885, -0.020555722, 0.008502913, 0.038164888, 0.012396573, -0.019335005, -0.04374931, -0.015841234, -0.040634383, 0.032412093, 0.010228751, -0.014234662, 0.0026518984, -0.053683408, -0.0062438883, 0.00016705909, -0.015588674, -0.0014531071, -0.024344148, 0.0015030933, 0.02100472, 0.022688465, -0.019433225, 0.008509928, 0.004879353, 0.01439602, -0.023853056, 0.009899018, 0.003355213, 0.021958843, -0.04989498, -0.01624814, -0.018773757, -0.0019240296, -0.028020324, -0.01072686, -0.02216931, -0.0048162127, -0.018465072, -0.007506697, 0.017665293, -0.031766657, 0.001969631, -0.031065097, -0.0069629876, 0.017819636, 0.02737489, 0.011274077, 0.021369532, 0.0016916377, -0.038922574, 0.027066203, -0.022786684, 0.010846125, -0.010095455, 0.008074961, -0.0031324674, 0.015448362, -0.0277397, -0.020527659, -0.046836175, -0.0064333095, -0.034151964, 0.0033727519, 0.0015890345, -0.012403589, 0.009071177, -0.014038225, 0.021678219, 0.012726307, -0.03286109, 0.002518602, -0.0010768953, -0.014381989, 0.0125719635, -0.004135699, 0.013561164, -0.010572516, -0.0127543695, 0.017833667, 0.039427698, -0.039511885, -0.0069945576, 0.0130209625, 0.017328544, 0.0049003996, -0.0026694376, -0.030223224, 0.0034148456, -0.026196267, -0.019363068, -0.028721886, -0.009997237, -0.038136825, -0.036733706, 0.0116318725, -0.0675743, 0.028020324, 0.006159701, -0.009232536, 0.011449466, 0.006401739, -0.010846125, 0.009274629, 0.01623411, -0.017314512, -0.0068472303, -0.014957269, -0.011933544, -0.008271398, -0.009870956, -0.004914431, -0.0072260727, 0.007127854, 0.013855819, 0.010460267, 0.03027935, 0.01125303, -0.0019591076, 0.03889451, 0.030728348, -0.027683575, -0.026154174, 0.006454356, 0.006808644, 0.0019240296, -0.0018784282, -0.0028816597, -0.017567074, -0.03690208, -0.063870065, 0.032215655, -0.024666866, 0.012782431, -0.031486034, -0.031065097, 0.041111443, 0.0064613717, 0.01074089, -0.010881202, -0.042711, -0.013070071, -0.02296909, -0.026645266, 0.024302054, 0.042177815, 0.018647477, 0.0007322537, 0.042093627, -0.046583615, -0.009520175, 0.014564395, 0.0075908843, 0.010186658, -0.010116502, -0.010376079, 0.014024193, -0.033450402, -0.0009506144, -0.0017942409, -0.010733875, -0.024793146, -0.07554403, -0.014038225, -0.002927261, 0.031822782, -0.022071091, -0.0125509165, 0.0033025958, -0.014452145, -0.023460181, 0.015911391, 0.0034569392, 0.004626791, -0.0019415686, -0.016444577, 0.056489646, -0.0018556274, 0.017917855, -0.019559506, -0.037014328, -0.025256176, -0.005805413, -0.03305753, -0.036172457, -0.020233003, 0.020331223, 0.045433056, 0.03982057, 0.0077662743, -0.016795358, 0.018591352, 0.026715422, -0.022702496, 0.046723925, 0.0015144936, 0.0173987, -0.0075838687, 0.008131086, -0.011196905, 0.023165526, -0.027922107, -0.017356606, 0.010860156, 0.004402292, -0.028371105, 0.021145033, -0.026743485, 0.0072120414, 0.01636039, 0.010888218, -0.010530422, 0.011547685, -0.01636039, -0.0014794156, -0.023754837, -0.0139400065, -0.004504018, -0.040522132, 0.013273524, -0.0299426, -0.046471365, 0.059436202, 0.015925422, 0.05256091, 0.043468688, 0.045685615, -0.01032697, 0.0013101641, -0.07116629, 0.012901696, -0.0025992815, 0.008018836, -0.0047460566, -0.0028518434, -0.015378205, -0.027024109, -0.044254433, -0.014052256, 0.028483355, 0.017510949, 0.028343042, -0.00521961, 0.013680429, -0.004928462, 0.0057387645, 0.0070191124, 0.031401847, 0.012845572, 0.0018907054, -0.028441262, 0.04445087, -0.020050598, 0.03485352, -0.01577108, 0.036537267, 0.018731665, -0.03098091, 0.005819444, -0.0054511246, -0.008559038, 0.0022134231, -0.0429355, -0.010558485, -0.018072197, -0.06308432, -0.0018994749, 0.0013215645, -0.0149713, -0.025438583, 0.018170416, 0.013883881, -0.018072197, 0.0033815214, 0.064599685, -0.043777373, -0.14626132, -0.0054055233, 0.012964837, -0.027360858, 0.01821251, 0.041981377, -0.015041457, 0.02588758, -0.019503381, -0.020569753, -0.031570222, -0.02529827, 0.01010247, -0.02066797, 0.007941664, -0.04967048, -0.014901144, 0.008481866, 0.009274629, -0.028006293, -0.021074876, 0.007696118, -0.014353927, 0.020331223, -0.04548918, -0.005801905, -0.030588036, 0.022197373, 0.001491693, 0.036537267, 0.0148590505, -0.004328628, 0.0061526853, 0.040466007, 0.016542796, -0.0044619245, -0.01648667, -0.0076750712, -0.043216124, 0.022520091, 0.037687827, -0.028623667, 0.025635019, 0.007464603, -0.007703134, -0.01880182, 0.0047600875, 0.030952847, 0.019433225, -0.017581105, -0.013547133, -0.0149713, 0.031878907, -0.02783792, 0.005051235, 0.04116757, 0.0054932185, 0.027711637, -0.0004682916, 0.004735533, -0.029661976, -0.0043145968, 0.0033306582, -0.018928101, -0.013294571, -0.024063524, -0.0075628217, 0.023530338, -0.042093627, -0.026280455, -0.0025799887, 0.0014759079, -0.020148816, 0.02402143, 0.021986905, -0.01102853, 0.011449466, 0.036593392, -0.0121019175, 0.010909265, 0.040101197, 0.013476976, -0.016865514, 0.0066823633, -0.00308862, 0.055507462, 0.028343042, -0.022884902, 0.00056738703, -0.0059036314, 0.018703602, -0.03179472, 0.0061526853, 0.007050683, -0.005265211, 0.012249245, -0.025592925, -0.007345338, 0.026027894, -0.0025133404, 0.009744675, 0.035330586, -0.022323653, -0.022842808, 0.009920065, -0.007296229, 0.011147795, -0.0024940474, 0.051270038, -0.013006931, 0.012747354, -0.012908712, -0.043131936, 0.043833498, 0.005559867, 0.037294954, -0.0051178834, 0.023263745, 0.00789957, -0.015574642, 0.014087334, 0.009751691, -0.009232536, 0.004682916, -0.011989668, -0.010446236, 0.011884434, -0.00090238213, 0.017230324, -0.004097113, 0.003285057, 0.0062017944, 0.0025449106, 0.009849909, -0.020106724, 0.016851483, 0.034544837, 0.0066543007, -0.044170246, 0.038108762, 0.020555722, 0.0277397, 0.029269103, 0.00007037528, 0.011477529, -0.00057221024, -0.00032249858, -0.024638804, -0.030026788, 0.01409435, 0.025677113, -0.025606956, -0.006692887, -0.02632255, -0.015195799, 0.02392321, 0.029044602, -0.039062887, 0.037800077, 0.031570222, -0.00435669, 0.037856203, 0.024891365, -0.03611633, 0.03378715, -0.016655045, -0.021074876, -0.013638335, -0.018310728, 0.016093796, -0.008804584, -0.036284707, 0.03923126, 0.013989115, -0.013792679, -0.0102427825, 0.010193674, 0.019208726, 0.010411157, 0.027655514, -0.015097581, 0.03493771, -0.016290234, 0.042626813, 0.012031762, 0.01984013, -0.017917855, -0.033590715, 0.043665122, 0.0129999155, -0.0045180493, 0.028006293, 0.0070191124, 0.022604277, 0.017539011, -0.020022536, -0.014508271, 0.019545475, 0.007555806, -0.046723925, -0.07178367, 0.030896723, -0.008481866, -0.013575194, -0.016023641, 0.0059001236, 0.0038199967, -0.028511416, 0.0198261, 0.03485352, -0.004472448, 0.0076750712, -0.025115864, -0.0020783728, 0.025087802, -0.02087844, -0.012515838, -0.002853597, -0.00435669, -0.01786173, -0.021229219, 0.009849909, 0.024035461, 0.023123432, -0.017216293, 0.010797015, 0.016697139, -0.011309154, 0.0013619042, 0.0137155065, 0.0019626154, 0.025284238, -0.0035797122, 0.0034113377, -0.01577108, -0.013834773, -0.006763043, -0.022604277, -0.0173987, 0.02145372, 0.048127048, -0.038361326, -0.025522768, -0.01439602, 0.011610826, -0.033394277, -0.0063666613, -0.005531804, -0.031850845, -0.015785111, -0.0025834963, -0.0012250999, 0.021608062, -0.018549258, 0.010011268, -0.008979973, 0.014704707, 0.03493771, 0.049137294, 0.00777329, -0.027599389, 0.04282325, 0.030475786, -0.039287385, -0.008706366, -0.022225436, -0.0021765914, -0.009450019, 0.0077662743, -0.045629494, -0.0109583745, 0.03154216, -0.0060755135, 0.010011268, -0.03608827, 0.014452145, 0.022337684, -0.013434883, -0.0058790767, 0.009127301, -0.028763978, -0.0029027064, -0.036817893, 0.009562269, -0.0015101089, 0.0139820995, 0.03246822, 0.005700179, 0.030896723, -0.04156044, -0.00067919825, 0.03805264, 0.007934649, -0.003991879, 0.0012487776, 0.0068752924, -0.017581105, -0.019882223, -0.0066613164, -0.046583615, -0.00073356915, 0.012677197, 0.019882223, -0.021439688, -0.009800799, 0.022337684, 0.013027978, -0.026336579, 0.0010198936, -0.026434798, -0.040634383, 0.026996046, 0.020120753, -0.033197843, -0.0007883786, -0.0051705004, 0.03956801, 0.013659382, 0.001206684, -0.04459118, -0.010369063, 0.019475318, -0.009267613, 0.015448362, 0.0146345515, -0.028637698, 0.0043426594, -0.0046583614, -0.0007098915, 0.013498023, -0.009709597, 0.011309154, -0.019475318, 0.021215187, -0.020120753, 0.008559038, -0.014985331, -0.022239467, -0.028820103, -0.008018836, 0.02402143, 0.03802458, 0.013049024, 0.025452614, -0.023375994, 0.01972788, 0.016107827, -0.012649135, 0.009990221, -0.025494708, 0.08098814, -0.012277308, -0.040185384, -0.008734427, -0.02727667, 0.034881584, -0.015153706, 0.007359369, -0.03342234, -0.013013947, -0.022660403, 0.010446236, 0.018282665, -0.0005783489, -0.0058334754, 0.0012163304, -0.023586463, 0.020934563, 0.011098687, 0.008790553, 0.021397594, -0.016402483, -0.0007497927, -0.007050683, -0.010004252, 0.010165611, 0.0016223586, 0.008467834, -0.025228115, -0.003886645, 0.020106724, -0.0065350356, -0.02518602, 0.021958843, -0.039988946, -0.0034832477, -0.005058251, 0.04748161, 0.0343484, -0.0107549215, 0.017805604, -0.015588674, -0.033113655, -0.007892556, -0.012031762, -0.0041742846, -0.008685319, 0.040213447, -0.020822315, 0.015406268, -0.0054511246, -0.0062403805, 0.013947022, 0.0055423276, -0.0068191676, -0.011582763, -0.017244356, 0.02368468, 0.009239552, 0.02239381, -0.036958206, 0.04327225, -0.028230792, -0.0055738976, -0.010972406, -0.02842723, 0.022688465, 0.011344233, -0.023853056, 0.039764445, -0.01294379, 0.019517412, -0.019587567, -0.01891407, 0.015518517, 0.019671755, 0.03005485, 0.01294379, -0.0065525747, 0.041364003, 0.005370445, 0.016079765, -0.03631277, -0.009941111, 0.026953952, 0.008678303, 0.026967984, 0.0036060207, -0.014508271, 0.05489009, -0.013855819, 0.011933544, 0.05626515, -0.0069489563, -0.015616735, 0.012747354, 0.00054064003, -0.0033499512, 0.0028781518, -0.027543264, -0.013778647, -0.027052172, -0.0144100515, -0.0003983548, -0.024077555, -0.0019187678, -0.053823717, 0.011119734, -0.0036270677, 0.0086291935, -0.02309537, -0.013308601, 0.02390918, -0.0025817426, -0.011673966, -0.0018784282, -0.018605383, 0.019194694, -0.011210936, -0.043777373, 0.004454909, -0.0021923764, 0.008453803, 0.04290744, -0.0117792, 0.024891365, -0.0049916026, 0.00014787579, 0.02298312, -0.0014934469, -0.025803393, -0.020583784, -0.005707194, -0.0028623666, 0.009365832, -0.019222757, -0.01939113, -0.03446065, 0.0081591485, 0.005977295, 0.023347933, 0.0048337514, -0.00847485, 0.029633913, 0.014943237, 0.013210383, -0.005447617, 0.006107084, -0.010460267, 0.008145117, -0.0052055786, -0.0032306858, 0.0065560825, 0.022660403, 0.033871338, 0.013329648, 0.010853141, -0.011800247, 0.019433225, 0.0013978592, 0.022492029, -0.006864769, -0.0301671, 0.01386985, 0.09294273, 0.046667803, -0.031149285, 0.0114073735, 0.010895234, -0.042037502, -0.02263234, -0.000541517, -0.012347464, -0.022407841, -0.014690676, -0.052280284, -0.013357711, 0.057752457, -0.017496917, -0.0019608615, -0.018072197, 0.0049389857, 0.014255708, 0.006738488, -0.029044602, -0.01800204, 0.010572516, -0.00397434, 0.01579914, 0.02866576, 0.007752243, -0.015714955, -0.017258387, 0.006257919, 0.0086502405, 0.030082913, 0.015322081, 0.013105149, 0.033394277, -0.014424083, 0.0052792425, -0.007997789, -0.025284238, 0.010663719, 0.017258387, 0.029718101, 0.011000468, -0.004984587, -0.016304266, -0.016879544, 0.014887113, 0.013406821, -0.010362048, 0.043440625, 0.0026273439, -0.009555253, 0.019671755, 0.019419193, -0.0347974, -0.01520983, -0.0032780413, -0.0047109784, 0.003176315, 0.0018977211, -0.00007207438, 0.028132575, 0.017300481, 0.006443833, -0.008074961, -0.0010207705, 0.02437221, -0.044254433, -0.022183342, 0.009611378, 0.013932991, 0.009162379, 0.028286917, -0.007387432, -0.044478934, 0.022337684, -0.011281092, 0.0031201902, 0.03297334, 0.02912879, -0.01409435, 0.031037034, 0.013287555, 0.019405162, -0.014929206, 0.02435818, 0.011702028, -0.008776521, 0.0052546877, -0.028932353, 0.021776436, -0.04896892, -0.01032697, 0.013512054, 0.003297334, -0.014648583, -0.00017659592, -0.006619223, -0.029690038, 0.0030202179, 0.018493135, 0.02392321, -0.037687827, -0.002995663, 0.020106724, -0.0015127397, 0.020696033, 0.033113655, 0.015518517, 0.025817424, -0.036172457, 0.015448362, -0.022028998, -0.0016512979, 0.032243717, -0.03600408, 0.015027425, 0.026434798, -0.014311833, -0.021720313, 0.01184234, 0.011344233, -0.025564862, -0.01600961, 0.027066203, 0.011912497, -0.007604915, 0.016697139, 0.025200052, -0.003672669, 0.0022414858, 0.00933777, -0.0088326465, -0.04116757, -0.018942133, 0.03850164, -0.016753264, 0.013687445, 0.0030763426, 0.023137463, -0.007717165, 0.016318297, -0.015827203, 0.021776436, -0.040437944, -0.0015162475, -0.020962626, 0.010782984, 0.0056475615, -0.009274629, 0.0025624495, -0.018535227, 0.027290702, -0.017539011, -0.018619414, 0.015322081, -0.025831455, -0.017595137, -0.010565501, 0.029100727, 0.012810494, 0.005289766, 0.0477903, 0.031149285, 0.003637591, 0.0074084783, 0.0036516222, 0.009022067, 0.0015171245, 0.0067700585, -0.021131001, 0.024035461, 0.025396489, 0.0012856096, 0.015406268, -0.011105702, -0.031626344, 0.024849271, -0.0042304094, -0.0003878314, 0.0038024576, 0.017342575, -0.044759557, -0.004774119, -0.014788894, 0.025494708, -0.0028711362, 0.01985416, -0.015869297, -0.013336664, 0.011709044, 0.019405162, 0.01786173, -0.03086866, -0.032327905, 0.0063210595, -0.009548238, 0.008180195, 0.044170246, 0.029297166, 0.018465072, 0.014802925, -0.04784642, -0.018268634, -0.0024887857, 0.0048232283, -0.0005371322, 0.03945576, 0.018184448, 0.012165058, -0.016051704, -0.00262559, -0.036032144, -0.020401377, 0.0025238637, -0.028876228, 0.0036270677, -0.01184234, -0.025270207, -0.018282665, -0.008348569, -0.020317191, -0.01380671, 0.020317191, -0.005177516 ]
2311.01343
45
rhold ~ multi (free (nie? ,) , Npold) , where he = limy (x/*°?) 5 (9) (9) where 𝑚𝑢𝑙𝑡𝑖 denotes the multinomial distribution and 𝑁 ℎ𝑜𝑙𝑑 is the number of hold-out items for user 𝑖. When finetuning the RecLLM according to Eq. (9), h𝑟𝑒𝑐 𝑙,𝑖,−1, which can be viewed as the user la- tent variable summarizing the historical interaction of user 𝑖, is encouraged to be similar to the collaborative embeddings of all the interacted items. In addition, we keep it regularized with the content LLM in a similar manner as Eq. (7), and use the stochastic 𝑟𝑒𝑐,𝑝 6. Through item reordering strategy to generate the prompt x 𝑖 the proposed finetuning strategy, CLLM4Rec can fully utilize the encoded knowledge from the pretrained LLM backbone and the 6The objective of the RecLLM is formulated in Eq. (10) in Appendix A.2.
2311.01343#45
Collaborative Large Language Model for Recommender Systems
Recently, there is a growing interest in developing next-generation recommender systems (RSs) based on pretrained large language models (LLMs), fully utilizing their encoded knowledge and reasoning ability. However, the semantic gap between natural language and recommendation tasks is still not well addressed, leading to multiple issues such as spuriously-correlated user/item descriptors, ineffective language modeling on user/item contents, and inefficient recommendations via auto-regression, etc. In this paper, we propose CLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and ID paradigm of RS, aiming to address the above challenges simultaneously. We first extend the vocabulary of pretrained LLMs with user/item ID tokens to faithfully model the user/item collaborative and content semantics. Accordingly, in the pretraining stage, a novel soft+hard prompting strategy is proposed to effectively learn user/item collaborative/content token embeddings via language modeling on RS-specific corpora established from user-item interactions and user/item features, where each document is split into a prompt consisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and a main text consisting of homogeneous item tokens or vocab tokens that facilitates stable and effective language modeling. In addition, a novel mutual regularization strategy is introduced to encourage the CLLM4Rec to capture recommendation-oriented information from user/item contents. Finally, we propose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where an item prediction head with multinomial likelihood is added to the pretrained CLLM4Rec backbone to predict hold-out items based on the soft+hard prompts established from masked user-item interaction history, where recommendations of multiple items can be generated efficiently.
http://arxiv.org/pdf/2311.01343
Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li
cs.IR
null
null
cs.IR
20231102
20231108
[ { "id": "2302.13971" }, { "id": "2206.07682" }, { "id": "2308.10053" }, { "id": "2307.02046" }, { "id": "2306.05817" }, { "id": "2205.08084" }, { "id": "2303.14524" }, { "id": "2305.07001" }, { "id": "2303.13835" }, { "id": "2303.18223" }, { "id": "2302.03735" }, { "id": "2305.00447" }, { "id": "2305.08845" }, { "id": "2104.08691" }, { "id": "2308.10837" }, { "id": "2305.06569" } ]
{ "authors": "Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li", "chunk_id": 45, "doc_id": "2311.01343", "primary_category": "cs.IR", "published": 20231102, "source": "http://arxiv.org/pdf/2311.01343", "summary": "Recently, there is a growing interest in developing next-generation\nrecommender systems (RSs) based on pretrained large language models (LLMs),\nfully utilizing their encoded knowledge and reasoning ability. However, the\nsemantic gap between natural language and recommendation tasks is still not\nwell addressed, leading to multiple issues such as spuriously-correlated\nuser/item descriptors, ineffective language modeling on user/item contents, and\ninefficient recommendations via auto-regression, etc. In this paper, we propose\nCLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and\nID paradigm of RS, aiming to address the above challenges simultaneously. We\nfirst extend the vocabulary of pretrained LLMs with user/item ID tokens to\nfaithfully model the user/item collaborative and content semantics.\nAccordingly, in the pretraining stage, a novel soft+hard prompting strategy is\nproposed to effectively learn user/item collaborative/content token embeddings\nvia language modeling on RS-specific corpora established from user-item\ninteractions and user/item features, where each document is split into a prompt\nconsisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and\na main text consisting of homogeneous item tokens or vocab tokens that\nfacilitates stable and effective language modeling. In addition, a novel mutual\nregularization strategy is introduced to encourage the CLLM4Rec to capture\nrecommendation-oriented information from user/item contents. Finally, we\npropose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where\nan item prediction head with multinomial likelihood is added to the pretrained\nCLLM4Rec backbone to predict hold-out items based on the soft+hard prompts\nestablished from masked user-item interaction history, where recommendations of\nmultiple items can be generated efficiently.", "text": "rhold ~ multi (free (nie? ,) , Npold) , where he = limy (x/*°?) 5 (9)\n(9) where 𝑚𝑢𝑙𝑡𝑖 denotes the multinomial distribution and 𝑁 ℎ𝑜𝑙𝑑 is the number of hold-out items for user 𝑖. When finetuning the RecLLM according to Eq. (9), h𝑟𝑒𝑐 𝑙,𝑖,−1, which can be viewed as the user la- tent variable summarizing the historical interaction of user 𝑖, is encouraged to be similar to the collaborative embeddings of all the interacted items. In addition, we keep it regularized with the content LLM in a similar manner as Eq. (7), and use the stochastic 𝑟𝑒𝑐,𝑝 6. Through item reordering strategy to generate the prompt x 𝑖 the proposed finetuning strategy, CLLM4Rec can fully utilize the encoded knowledge from the pretrained LLM backbone and the\n6The objective of the RecLLM is formulated in Eq. (10) in Appendix A.2.", "title": "Collaborative Large Language Model for Recommender Systems", "year": 2023 }
[ 0.027862241, 0.0036604917, 0.034706883, -0.0018577271, 0.01927346, -0.015316172, 0.027525138, 0.05238277, -0.051767193, 0.024242055, 0.025399929, -0.034355126, -0.012604696, 0.031570368, -0.01180591, -0.027715676, 0.0150816655, -0.022028904, -0.042299014, 0.06906201, 0.003763088, -0.0018238336, 0.020695152, -0.0035670558, -0.008105113, -0.0009545126, -0.0033087328, 0.018320778, 0.012355533, -0.03215663, 0.016518015, -0.025619777, 0.0055035623, -0.0031145324, -0.0398367, 0.01132957, 0.0055108904, 0.037843402, -0.013616003, 0.04297322, -0.047721967, -0.045025147, -0.02925462, -0.008742676, 0.03763821, 0.039309062, 0.009021152, 0.0036788124, 0.028639043, 0.06607206, -0.048132353, 0.044732016, 0.010303606, -0.015550678, 0.0068519716, -0.011952477, 0.028140716, 0.0136086745, 0.03854692, -0.006870292, 0.024623128, -0.0447027, 0.025531838, -0.011336898, -0.033827487, -0.017763827, -0.050887797, 0.017631918, 0.033094656, 0.027290633, -0.04660806, -0.035146583, 0.017514665, -0.04297322, 0.008002517, 0.0044226362, 0.022952272, -0.018672539, -0.0010726816, -0.012597368, 0.05551929, 0.0014482576, 0.02487229, -0.03763821, 0.0060788346, -0.033622295, -0.028375223, -0.007251364, -0.019156206, -0.06888613, -0.026528489, 0.0041258396, -0.020416677, 0.0382831, 0.06618931, -0.05463989, 0.008515499, -0.023802357, -0.0070168586, 0.04209382, -0.004734089, -0.0039353035, 0.019478653, -0.0736935, 0.014033717, 0.022556543, -0.030016765, 0.01675252, -0.05056535, 0.0016378777, -0.03450169, -0.016855117, -0.049598012, 0.0169284, 0.05768847, -0.045992482, -0.03555697, 0.017353442, -0.03816585, -0.0053460035, -0.035732847, -0.022322038, 0.0067603677, -0.044732016, -0.005979902, -0.042826653, 0.036524307, -0.0568677, 0.0103182625, -0.013300885, 0.028492475, -0.02144264, 0.021413326, -0.01801299, -0.04886518, 0.024930917, -0.03757958, 0.008757332, -0.036700185, -0.048337545, -0.012634009, -0.0033710233, -0.051737882, 0.008632751, -0.02326006, 0.027525138, -0.033446416, -0.0061484533, -0.064078756, 0.020489959, -0.03359298, -0.043266352, -0.050975736, 0.016987026, -0.033475727, -0.037315764, -0.044907894, 0.01198179, 0.004089198, -0.022996241, 0.0039059902, 0.01896567, 0.012956455, -0.006371967, 0.027290633, 0.002090401, -0.027539795, 0.019214833, -0.07158295, -0.04045228, -0.0033801838, -0.006676092, -0.063257985, -0.01657664, -0.026660398, 0.018819105, 0.007262357, -0.034882765, -0.012223624, -0.025018856, -0.006961896, 0.008596109, -0.0061850953, -0.046080425, -0.048337545, 0.022409977, -0.014429445, -0.024476562, 0.0005313026, 0.0049466104, -0.0044556134, 0.036436364, 0.09438866, 0.034237873, -0.020680496, -0.007200066, 0.062437214, 0.01575587, -0.013300885, -0.032948088, -0.04631493, 0.057190143, -0.036993317, -0.024974886, 0.0007593963, -0.01914155, -0.012582711, 0.041566186, -0.04259215, -0.016430074, 0.026982844, 0.0075115194, 0.027891554, 0.027554452, -0.025546495, 0.026880248, -0.024139458, 0.024095489, -0.017485352, 0.057219457, -0.0026143752, -0.0023230747, 0.026587116, 0.008544811, -0.035644908, 0.0053533316, 0.045933858, -0.03511727, 0.00963673, -0.03974876, 0.064958155, -0.0015884115, -0.02088569, -0.06278898, 0.012011102, -0.0029917832, -0.022087531, -0.0117546115, 0.0021325387, -0.0122456085, -0.008105113, 0.016239539, 0.03989533, -0.0076727425, -0.01458334, 0.01415097, 0.007079149, -0.0065075406, 0.022380663, 0.026631085, 0.021603864, -0.034091305, 0.0040562204, -0.04660806, -0.045435533, 0.061792325, -0.035703536, -0.012509428, -0.018584598, -0.005624479, -0.039397005, -0.007973203, 0.027202694, 0.04766334, 0.013528063, -0.028243313, -0.0008500842, 0.027935524, 0.018731164, -0.012634009, -0.048953123, -0.026279327, -0.032537702, 0.02686559, -0.035967354, -0.009841923, 0.05921276, 0.021940965, -0.0076214443, 0.008610766, -0.04440957, -0.0065515107, 0.03884005, -0.015638618, 0.013931121, 0.0007497779, 0.005335011, 0.0065698316, -0.015360141, 0.0057966947, 0.006349982, -0.07193471, 0.042768028, -0.03667087, 0.0009100847, 0.009541462, -0.007148768, -0.022893645, 0.011366212, 0.008742676, 0.016049003, 0.011424838, 0.0020244461, 0.007570146, -0.0145173855, 0.016063659, -0.010149712, -0.03476551, 0.0016525342, 0.01219431, -0.01397509, 0.049129, -0.03277221, 0.004375002, -0.05821611, -0.032654956, 0.06607206, -0.039221123, 0.017587949, -0.019947665, -0.026499175, -0.021340044, 0.03772615, -0.01706031, 0.023494568, 0.013725928, -0.025268018, -0.037520956, -0.015096322, -0.027012156, 0.027657049, -0.014722578, 0.01610763, 0.00902848, 0.028331254, -0.022087531, -0.010560097, 0.0205779, 0.05317423, 0.024359308, -0.037227824, 0.017573291, -0.021369357, 0.04423369, -0.017807797, 0.0007383274, 0.026337951, 0.04036434, 0.028272627, 0.034355126, 0.0037960655, -0.011344226, 0.026850933, -0.02626467, 0.035879415, -0.0121723255, 0.038224474, -0.049891148, -0.0084642, 0.030632343, -0.008757332, -0.0012760423, 0.025224049, -0.027847584, 0.008632751, 0.009526805, -0.023948923, 0.0005697762, 0.019933008, -0.017485352, 0.02491626, 0.023186779, -0.017602604, 0.015228231, -0.03593804, -0.0077313688, 0.02018217, 0.010274293, 0.017763827, 0.016825804, -0.0088086305, -0.061616443, -0.012443474, 0.0027114754, -0.011058423, 0.035263836, 0.007833965, 0.0059615816, -0.054933023, -0.02361182, 0.009944519, -0.019991634, 0.038810737, -0.010435516, 0.041038547, -0.014180283, 0.013725928, 0.06648245, 0.045025147, 0.03963151, -0.018174212, -0.039953955, -0.02686559, -0.007841294, -0.0082077095, 0.01284653, 0.011344226, 0.052763846, 0.04505446, 0.008434887, 0.052675903, 0.011974461, 0.038136534, -0.028565759, 0.021281417, -0.010757961, 0.019478653, -0.0054192864, 0.038224474, 0.037872713, -0.014546699, -0.014077687, -0.0131543195, -0.024901602, 0.013293558, 0.007650757, 0.019903695, -0.02066584, -0.01918552, -0.06378563, -0.008999167, 0.06478228, 0.050536036, -0.01657664, -0.0021087218, -0.021105537, 0.010098414, 0.04631493, -0.0034717876, -0.06988278, 0.037257135, 0.037784774, -0.0524414, -0.0122456085, 0.008676721, 0.037902027, -0.036143232, -0.0025795656, -0.0022223105, 0.016239539, -0.05147406, -0.027862241, 0.08536018, 0.013564705, 0.014561355, -0.053467363, 0.04171275, -0.010779946, 0.060150784, -0.028800264, 0.015550678, -0.011307585, 0.029533096, -0.033475727, 0.018262153, 0.0447027, 0.011871865, 0.008493513, 0.054405387, 0.0277743, 0.0077240407, -0.01332287, 0.00998116, 0.020240797, -0.0054889056, 0.005093177, 0.014224253, -0.03458963, 0.0065331897, -0.020636525, 0.039191812, 0.016268851, 0.017954364, -0.00789992, -0.0059102834, 0.105351806, 0.036993317, -0.014121656, -0.019551935, 0.035058644, 0.022629827, -0.0060348646, -0.0130810365, -0.0181449, -0.0010177193, -0.024417935, 0.039719447, -0.065075405, 0.0030485776, -0.0088819135, 0.004734089, 0.0201382, -0.036905378, 0.0035194217, -0.026425892, 0.035498343, -0.008009844, -0.04036434, 0.0029020114, 0.033827487, 0.0031933119, 0.04423369, -0.03637774, 0.0019328422, -0.012399503, 0.010845901, -0.0150816655, -0.027964838, -0.013271572, 0.023758387, 0.024725724, 0.023729073, -0.039221123, 0.0036623238, 0.017045652, 0.014619982, -0.009871236, -0.112504244, -0.016034346, -0.05689701, 0.016855117, -0.020035604, -0.017690545, 0.013843181, -0.042826653, -0.031365175, -0.00920436, -0.009153062, 0.00902848, -0.044175062, -0.002823232, 0.01202576, 0.015389455, -0.021603864, 0.013403482, 0.011051094, 0.022028904, -0.018218182, 0.015184262, -0.01367463, 0.0402764, -0.045113087, -0.01354272, -0.03042715, -0.0177052, -0.02261517, 0.0116813285, -0.017089622, -0.00046008057, -0.020387363, -0.009878564, 0.004825693, -0.025707718, 0.01679649, -0.03464826, -0.013835852, 0.013139663, 0.0213547, 0.00063847913, 0.019976977, -0.009585432, -0.016723208, 0.032010067, -0.008251679, 0.009753983, -0.011366212, 0.012406832, -0.009277643, 0.0069325827, -0.021677146, -0.014641967, -0.0402764, 0.0068592997, -0.029811572, -0.0036788124, 0.017192218, 0.007240372, 0.0107359765, -0.052587964, 0.010340248, 0.018511316, -0.012399503, 0.0161516, -0.0011706977, -0.052617278, 0.011600717, 0.011747284, -0.00095176446, -0.008691378, -0.024300681, 0.020768436, 0.03303603, -0.011498121, -0.019551935, 0.0022974256, 0.01878979, 0.006273035, 0.006016544, -0.017793141, -0.0036110256, -0.022116845, -0.0027664376, -0.021398671, -0.020123543, -0.021559892, -0.009387568, 0.0161516, -0.055812422, 0.02496023, 0.00018618492, -0.03945563, 0.006470899, 0.0022754408, -0.007427244, 0.027510483, 0.007035179, -0.0021453633, -0.016371448, -0.009526805, 0.0008413818, -0.027876897, -0.00963673, -0.006203416, -0.029665006, -0.004375002, 0.002656513, 0.02982623, 0.006005551, 0.01706031, -0.00902848, 0.048278917, 0.006778688, -0.022497917, -0.047634024, 0.013103021, 0.014187612, 0.006928919, -0.023069525, -0.019434683, -0.001996965, -0.024447247, -0.064254634, 0.03675881, -0.026616428, 0.006753039, -0.018511316, -0.0032317855, 0.029870199, -0.020035604, 0.0141729545, 0.0030009437, -0.03042715, -0.009614745, -0.017778484, -0.013176304, 0.011820567, 0.0030595702, 0.018804448, 0.00451424, 0.059828337, -0.004345689, 0.035087958, 0.022204785, 0.01341081, -0.010904528, -0.021017598, 0.00007305411, 0.0018146732, -0.021281417, -0.036612246, -0.0011963468, 0.0043346966, -0.030661656, -0.036348425, -0.0132276025, -0.006870292, 0.041067857, -0.015316172, -0.0052104294, -0.010215666, -0.0141729545, -0.012113699, 0.031042729, -0.014290208, -0.011095064, 0.0177052, -0.012985769, 0.035058644, -0.0018183374, -0.024930917, -0.007775339, 0.011739955, -0.020387363, -0.0072586928, -0.008786646, -0.039514255, -0.027701018, 0.03233251, 0.050536036, 0.021882338, 0.017309472, -0.017983677, 0.003574384, 0.032713585, -0.012370191, 0.030896163, 0.025810314, 0.0069325827, 0.004202787, 0.02717338, 0.001671771, 0.007643429, -0.03277221, 0.012941798, -0.01072132, 0.03884005, -0.027495826, 0.0071304473, -0.019038953, 0.0063866237, 0.024095489, 0.032068692, 0.0061521176, 0.000012924737, -0.028551102, -0.0060824985, -0.017939707, -0.015579991, -0.010801932, -0.017074967, 0.014832503, -0.052675903, -0.05065329, 0.035586283, 0.004023243, 0.024110146, 0.033006717, 0.03646568, -0.0069215903, 0.03224457, -0.08758798, 0.015242889, -0.0012146677, 0.029884854, 0.007060828, -0.0025337639, -0.023040213, -0.01388715, -0.028448505, -0.010354904, 0.033417102, 0.020753779, 0.0051554674, -0.010611395, 0.017250845, -0.019346742, -0.022058219, -0.000011650871, -0.00028992633, -0.013931121, 0.0121356845, -0.01927346, 0.036612246, -0.013359512, 0.0495687, -0.017983677, 0.014246237, 0.027891554, -0.025839627, -0.0002892393, -0.0069728885, -0.003625682, 0.0020171178, -0.068768874, -0.03315328, -0.009043137, -0.043647423, 0.00055374554, 0.005074856, -0.018511316, -0.038576234, -0.0071597607, -0.0073246476, -0.006404944, 0.0019474989, 0.061499193, -0.046783943, -0.13448918, -0.0145540275, 0.009409552, -0.02513611, 0.0056098225, 0.040598847, -0.00616311, 0.0023249069, -0.01801299, -0.008654736, -0.019170864, -0.01801299, 0.021955622, -0.028946832, -0.014576012, -0.027598422, -0.0072477004, 0.0027426207, 0.034061994, -0.03239114, -0.013000425, -0.0012320724, -0.02504817, 0.022058219, -0.03863486, -0.010054444, -0.022981586, -0.0023780372, 0.010772618, 0.026118103, 0.010567426, -0.00075893826, 0.011402853, 0.037462328, 0.007288006, -0.022278067, -0.0032281212, -0.013308214, -0.025106795, 0.024447247, 0.009893221, -0.027642392, 0.009350926, -0.02617673, 0.001245813, -0.020152858, 0.012949127, 0.012509428, 0.014898458, -0.009585432, -0.011014452, -0.0068226582, 0.0012897828, -0.019288117, 0.005093177, 0.0354104, -0.006976553, 0.03675881, 0.00072092266, 0.013725928, -0.027847584, 0.00092886353, 0.016019689, -0.021208134, -0.031453114, -0.020270111, -0.022072874, 0.044819955, -0.022190128, -0.01728016, 0.00054046296, -0.00601288, -0.038781427, 0.026235355, 0.0097906245, -0.0068739564, 0.021735772, 0.062437214, -0.003079723, 0.03042715, 0.025121452, 0.007848622, 0.004261413, 0.004019579, -0.021384014, 0.021589207, 0.017382756, -0.016327478, -0.019933008, 0.005173788, 0.0070315152, -0.0068739564, -0.0026748339, 0.002425671, 0.020416677, -0.0075408327, -0.018379405, 0.013462109, 0.03711057, -0.0042504207, 0.03456032, 0.015550678, -0.022028904, -0.025883596, 0.00006635557, -0.01176194, 0.023377314, -0.016034346, 0.05308629, -0.014158298, -0.006496548, -0.0027719338, -0.035263836, 0.03963151, 0.0072806776, 0.031013414, 0.003763088, 0.025707718, 0.005309362, -0.004818365, 0.010142383, 0.030397836, 0.025751688, -0.023802357, 0.0069912095, -0.039866015, 0.002588726, 0.017763827, 0.00794389, 0.005683106, 0.003169495, 0.020284766, 0.019683845, 0.0033581988, -0.021384014, 0.037462328, 0.03801928, 0.0051224898, -0.03376886, 0.019332087, 0.025165422, 0.015638618, 0.019947665, 0.009731998, 0.019244146, 0.016312823, 0.011373539, -0.0055841734, -0.043383606, 0.030309897, -0.0076800706, -0.017309472, 0.0017835279, 0.0023194107, -0.019258803, 0.012077058, 0.010684678, -0.038048595, 0.029958138, 0.035439715, 0.0023120823, 0.055108905, 0.026894905, -0.024227398, 0.045464847, -0.001835742, -0.020079574, -0.027657049, -0.004180802, 0.00729167, -0.00011496289, -0.073048614, 0.008684049, 0.014136313, 0.013901807, -0.022278067, 0.0072806776, 0.03376886, -0.0035450708, 0.045259655, -0.003645835, 0.03373955, -0.029195994, 0.020519273, 0.015316172, 0.028800264, -0.016987026, -0.0318635, 0.05522616, 0.020636525, -0.002894683, 0.028990801, 0.009710013, 0.01067735, 0.03412062, -0.022366008, -0.01657664, 0.008632751, 0.004393323, -0.04432163, -0.073928006, 0.036905378, -0.0088452725, -0.019376056, -0.017162906, 0.007218387, 0.009878564, -0.019947665, -0.0054705846, 0.034237873, -0.0072806776, 0.0116813285, -0.017250845, -0.013879823, 0.03602598, -0.024857633, -0.020915002, 0.014143641, -0.024212742, 0.0021032256, -0.013894479, 0.017602604, 0.012186983, 0.031980753, -0.030280584, 0.0015481059, 0.00049740914, -0.0076727425, -0.0038473636, 0.017690545, 0.0007374114, 0.025238706, -0.024095489, 0.0038400353, -0.024974886, -0.023142809, -0.00019866595, -0.03476551, -0.0008826035, 0.015301514, 0.04341292, -0.0102816215, -0.027012156, 0.011380868, 0.011344226, -0.032479078, -0.017573291, 0.0084275585, -0.028214, -0.023128152, -0.0029533096, -0.016371448, 0.022453947, -0.021164164, 0.0005926772, -0.0044812625, -0.0060824985, 0.050242905, 0.052587964, 0.021369357, -0.026806964, 0.021647833, 0.04432163, -0.038752113, 0.0046974476, -0.022937616, 0.0030522419, -0.0075115194, 0.030309897, -0.040100522, -0.015638618, 0.010816588, -0.0042724055, 0.028492475, -0.032918777, 0.017910393, 0.011168347, -0.004865999, -0.001669939, 0.030002108, -0.0221315, -0.013476765, -0.04886518, 0.010684678, 0.0057490603, 0.008251679, 0.027627734, -0.012348205, 0.040481593, -0.018438032, 0.016342135, 0.025883596, 0.005646464, 0.0121356845, -0.0028250641, -0.011659344, -0.010692007, -0.021208134, 0.005697762, -0.008522826, 0.0077313688, 0.010611395, 0.025619777, -0.030573716, 0.005573181, 0.019507965, 0.007174417, -0.011432166, -0.008237022, -0.0083542755, -0.016224882, 0.0056354715, 0.0062510497, -0.009585432, -0.0047377534, -0.011549419, 0.002563077, -0.011446822, -0.004774395, -0.0107359765, -0.0072293794, 0.009365582, -0.005375317, 0.006276699, -0.012582711, -0.009695357, 0.007361289, 0.003242778, 0.0011926828, -0.002374373, -0.016591297, 0.037345078, -0.019024298, -0.016561985, -0.04188863, 0.02356785, 0.007262357, -0.011139033, -0.034736197, 0.0029313248, 0.023010898, 0.022629827, 0.03511727, 0.01679649, -0.036084607, 0.033387788, 0.009460851, -0.020797748, 0.0078046517, -0.029855542, 0.073928006, -0.013813867, -0.0431491, 0.00082947325, -0.017485352, 0.043852616, -0.020255454, 0.012399503, -0.007929233, -0.0009920702, -0.023054868, 0.020915002, -0.03195144, -0.015858466, 0.009563447, 0.0031878157, -0.022776393, 0.027671704, 0.0044995835, 0.005657457, 0.021427983, -0.004679127, 0.018819105, 0.0031310213, -0.005126154, -0.0036036973, -0.024329994, 0.007599459, -0.010582082, 0.009805281, 0.011117049, -0.0020537593, -0.04288528, 0.0032867477, -0.07164157, -0.016781833, 0.0048293574, 0.035879415, 0.03772615, -0.023685103, 0.00499058, -0.026982844, -0.02956241, 0.0050675278, 0.008478857, -0.011688657, -0.015286858, 0.029899511, -0.008735348, 0.0155360205, 0.003645835, -0.014700593, 0.023919608, 0.0066834204, -0.011937819, -0.021721115, -0.0056940983, 0.012274922, 0.007236708, 0.0037777447, -0.02361182, 0.019610561, -0.029767603, -0.008398245, -0.005049207, -0.024667097, -0.004375002, 0.011161019, -0.024110146, 0.024447247, -0.01610763, 0.017851768, -0.027275976, -0.012956455, 0.009057793, 0.012824546, 0.024520531, 0.015521364, -0.0018201694, 0.032127317, 0.023992892, 0.017939707, -0.017368099, -0.013344856, 0.014436774, 0.012370191, 0.024461905, -0.0027719338, -0.0070205224, 0.04839617, -0.019595906, 0.02890286, 0.053115603, 0.01067735, -0.015052352, 0.0017688712, 0.008896571, -0.010560097, 0.0111536905, -0.024183428, -0.028785609, -0.013747913, 0.008134426, 0.0004202329, -0.034970704, 0.0044556134, -0.06841712, 0.0044336286, 0.019581249, 0.0059432606, -0.015257545, -0.019933008, 0.03763821, 0.004235764, -0.023904953, -0.017294815, -0.03239114, 0.024769694, -0.014429445, -0.040100522, 0.02664574, 0.006496548, 0.019698502, 0.025678404, 0.005082184, 0.0072477004, -0.008141754, -0.02035805, 0.031277236, 0.005815015, -0.012055073, -0.006320669, 0.006844643, 0.013330199, 0.003854692, -0.004184466, -0.017910393, -0.045728665, 0.018452689, -0.013791882, 0.011695986, 0.022893645, -0.01184988, 0.028551102, -0.0018888724, 0.006306012, -0.017382756, 0.004510576, -0.0031841514, 0.0025795656, -0.03992464, 0.0037557597, -0.017529322, 0.040129833, 0.035263836, 0.013967762, -0.0069399113, -0.019302772, 0.019463995, 0.0043566814, 0.031570368, -0.014348834, -0.021896996, 0.00976864, 0.08061143, 0.033329163, -0.015110979, -0.00648922, 0.0045545455, 0.006753039, 0.00025878102, 0.010354904, -0.01597572, -0.025341302, -0.037081257, -0.029474469, -0.015785184, 0.030163331, -0.005789366, -0.0009609249, -0.025649091, -0.0026766658, 0.01475922, -0.0074162516, -0.006844643, -0.022981586, 0.0064599067, 0.0011010788, 0.011117049, 0.01987438, 0.020856375, 0.010479486, 0.00902848, 0.013337527, 0.0161516, 0.015917093, 0.01810093, -0.0031933119, 0.041683435, 0.017529322, 0.016737863, -0.011842552, -0.000052815372, 0.0037264465, 0.015550678, 0.005481577, 0.007980531, 0.0064745634, -0.008801302, -0.019126894, 0.024300681, 0.010750634, 0.012787904, 0.033417102, 0.0041771377, 0.0040379, 0.018291466, 0.04259215, -0.021896996, -0.018394062, -0.008171068, 0.00006801589, 0.0016250531, -0.0101350555, -0.0022278067, 0.013777226, 0.014861817, -0.0027371245, -0.027466511, -0.0001786276, 0.030046077, -0.052500024, -0.01575587, 0.014766548, -0.011542091, -0.0076214443, 0.0068409787, -0.0016580306, -0.021896996, 0.012150341, -0.018423375, 0.0071084625, 0.023230748, 0.005415622, -0.0035578953, 0.056222808, 0.027334603, 0.020035604, -0.032537702, 0.020958971, 0.0055805095, 0.0038143862, -0.0058516567, -0.022747079, 0.019200176, -0.0559883, -0.014810518, -0.0045728665, 0.018643225, -0.0038949978, 0.005027222, 0.008662065, -0.0108092595, 0.01141751, 0.010120398, 0.036612246, -0.021017598, -0.0025447563, 0.0015948238, -0.012260266, 0.026469862, 0.02956241, 0.008588782, 0.008815959, -0.036055293, 0.011923163, -0.011395524, -0.014033717, 0.019757127, -0.034179244, 0.025883596, 0.03863486, -0.020006292, -0.007079149, 0.0026638412, 0.014597997, -0.034794822, 0.0018943686, 0.004609508, -0.010098414, -0.008544811, 0.004748746, 0.017851768, -0.0035230857, -0.009519476, -0.0073906025, -0.028800264, -0.043237038, -0.028492475, 0.03757958, -0.032801524, 0.0035065971, 0.010237652, 0.005521883, -0.008889242, -0.003717286, -0.0136819575, 0.045552786, -0.037784774, 0.0019163535, -0.01011307, 0.0077973236, -0.0077460255, 0.001340165, 0.027510483, -0.014011732, -0.0021984936, 0.0032409457, -0.027642392, 0.032801524, -0.014392804, -0.006580824, -0.0136086745, 0.026030162, 0.02664574, -0.0029771265, 0.033094656, 0.0064012804, 0.010992467, 0.015184262, 0.025033513, 0.0069655604, -0.00455821, -0.00993719, -0.032185946, 0.025370615, -0.0009499324, 0.014568684, 0.02088569, -0.019889038, -0.026704367, 0.028756294, 0.002143531, 0.0037814088, 0.0041478244, 0.009797953, -0.026191385, -0.022292724, -0.0030375852, 0.0036989653, 0.008867257, 0.027935524, -0.017719857, -0.014568684, 0.012494772, 0.033534355, 0.032127317, -0.020489959, -0.03667087, 0.024813663, -0.015154948, 0.008676721, 0.0520017, 0.0140996715, 0.0032317855, 0.007075485, -0.04660806, 0.003405833, 0.002117882, -0.0017340617, -0.008039158, 0.036055293, 0.031746246, 0.004770731, -0.025722373, 0.011454151, -0.0245645, -0.017675888, -0.0045398893, -0.017983677, -0.010648037, -0.044263, -0.02035805, -0.028712325, 0.009328941, -0.0098639075, -0.02591291, 0.024286024, -0.019156206 ]
2311.01343
47
# 3.5 Predictions with CLLM4Rec After the pretraining and finetuning of CLLM4Rec, to make recom- mendation for user 𝑖, we can convert the whole historical interac- tions of the user, i.e., r𝑖 , into the recommendation-oriented prompt 𝑟𝑒𝑐,𝑝 ˆx as described in Section 3.4.2 (with no masked items) and input 𝑖 it into the RecLLM model. Then, the multinomial probability ˆr𝑖 over all 𝐽 items can be obtained through one forward propagation via = ˆ𝑙𝑙𝑚𝑙 ˆr𝑖 = 𝑚𝑢𝑙𝑡𝑖 , where uninteracted items with top-𝑀 scores in ˆr𝑖 can be selected as recommendations. # 4 EMPIRICAL STUDY In this section, we present the experiments on four public datasets and one LinkedIn dataset to demonstrate the effectiveness of CLLM4Rec, aiming to answer the following research questions.
2311.01343#47
Collaborative Large Language Model for Recommender Systems
Recently, there is a growing interest in developing next-generation recommender systems (RSs) based on pretrained large language models (LLMs), fully utilizing their encoded knowledge and reasoning ability. However, the semantic gap between natural language and recommendation tasks is still not well addressed, leading to multiple issues such as spuriously-correlated user/item descriptors, ineffective language modeling on user/item contents, and inefficient recommendations via auto-regression, etc. In this paper, we propose CLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and ID paradigm of RS, aiming to address the above challenges simultaneously. We first extend the vocabulary of pretrained LLMs with user/item ID tokens to faithfully model the user/item collaborative and content semantics. Accordingly, in the pretraining stage, a novel soft+hard prompting strategy is proposed to effectively learn user/item collaborative/content token embeddings via language modeling on RS-specific corpora established from user-item interactions and user/item features, where each document is split into a prompt consisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and a main text consisting of homogeneous item tokens or vocab tokens that facilitates stable and effective language modeling. In addition, a novel mutual regularization strategy is introduced to encourage the CLLM4Rec to capture recommendation-oriented information from user/item contents. Finally, we propose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where an item prediction head with multinomial likelihood is added to the pretrained CLLM4Rec backbone to predict hold-out items based on the soft+hard prompts established from masked user-item interaction history, where recommendations of multiple items can be generated efficiently.
http://arxiv.org/pdf/2311.01343
Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li
cs.IR
null
null
cs.IR
20231102
20231108
[ { "id": "2302.13971" }, { "id": "2206.07682" }, { "id": "2308.10053" }, { "id": "2307.02046" }, { "id": "2306.05817" }, { "id": "2205.08084" }, { "id": "2303.14524" }, { "id": "2305.07001" }, { "id": "2303.13835" }, { "id": "2303.18223" }, { "id": "2302.03735" }, { "id": "2305.00447" }, { "id": "2305.08845" }, { "id": "2104.08691" }, { "id": "2308.10837" }, { "id": "2305.06569" } ]
{ "authors": "Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li", "chunk_id": 47, "doc_id": "2311.01343", "primary_category": "cs.IR", "published": 20231102, "source": "http://arxiv.org/pdf/2311.01343", "summary": "Recently, there is a growing interest in developing next-generation\nrecommender systems (RSs) based on pretrained large language models (LLMs),\nfully utilizing their encoded knowledge and reasoning ability. However, the\nsemantic gap between natural language and recommendation tasks is still not\nwell addressed, leading to multiple issues such as spuriously-correlated\nuser/item descriptors, ineffective language modeling on user/item contents, and\ninefficient recommendations via auto-regression, etc. In this paper, we propose\nCLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and\nID paradigm of RS, aiming to address the above challenges simultaneously. We\nfirst extend the vocabulary of pretrained LLMs with user/item ID tokens to\nfaithfully model the user/item collaborative and content semantics.\nAccordingly, in the pretraining stage, a novel soft+hard prompting strategy is\nproposed to effectively learn user/item collaborative/content token embeddings\nvia language modeling on RS-specific corpora established from user-item\ninteractions and user/item features, where each document is split into a prompt\nconsisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and\na main text consisting of homogeneous item tokens or vocab tokens that\nfacilitates stable and effective language modeling. In addition, a novel mutual\nregularization strategy is introduced to encourage the CLLM4Rec to capture\nrecommendation-oriented information from user/item contents. Finally, we\npropose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where\nan item prediction head with multinomial likelihood is added to the pretrained\nCLLM4Rec backbone to predict hold-out items based on the soft+hard prompts\nestablished from masked user-item interaction history, where recommendations of\nmultiple items can be generated efficiently.", "text": "# 3.5 Predictions with CLLM4Rec\nAfter the pretraining and finetuning of CLLM4Rec, to make recom- mendation for user 𝑖, we can convert the whole historical interac- tions of the user, i.e., r𝑖 , into the recommendation-oriented prompt 𝑟𝑒𝑐,𝑝 ˆx as described in Section 3.4.2 (with no masked items) and input 𝑖 it into the RecLLM model. Then, the multinomial probability ˆr𝑖 over all 𝐽 items can be obtained through one forward propagation via = ˆ𝑙𝑙𝑚𝑙 ˆr𝑖 = 𝑚𝑢𝑙𝑡𝑖 , where uninteracted items with top-𝑀 scores in ˆr𝑖 can be selected as recommendations.\n# 4 EMPIRICAL STUDY\nIn this section, we present the experiments on four public datasets and one LinkedIn dataset to demonstrate the effectiveness of CLLM4Rec, aiming to answer the following research questions.", "title": "Collaborative Large Language Model for Recommender Systems", "year": 2023 }
[ 0.014948648, -0.007760161, 0.049017943, 0.022575013, 0.042303823, -0.0065316716, 0.0052271616, 0.058967493, -0.03736554, 0.03568701, 0.01252816, -0.03135689, -0.02826742, 0.010648936, 0.00027500375, -0.015714934, 0.03996848, -0.016213628, -0.055951003, 0.069330595, -0.013391751, 0.0165542, 0.032621868, -0.024448156, 0.025834767, 0.002726091, -0.015471669, 0.030116236, -0.03580864, -0.07414725, -0.007991263, -0.022550687, -0.041719988, 0.0024600197, -0.0010620048, 0.012205834, -0.0078513855, 0.04561223, -0.010661099, 0.015666282, -0.03792505, -0.012710609, 0.01182269, 0.010825303, -0.011542936, -0.0102171395, -0.024667095, 0.010326609, 0.042717375, 0.053275086, -0.050209943, 0.04184162, 0.00036299735, -0.032305624, -0.0056619984, -0.040552314, 0.041719988, -0.029848645, 0.03142987, 0.009231916, 0.029191827, -0.027051095, 0.021820892, 0.010107671, -0.048044883, -0.036684398, -0.02722138, 0.0052484474, 0.04184162, -0.02729436, -0.019339586, -0.054637372, 0.06470855, -0.014997302, -0.019400403, -0.01682179, 0.03245158, -0.0283404, -0.040868558, -0.0056619984, 0.05638888, 0.022550687, 0.017028566, -0.019789627, -0.037779093, -0.031673133, -0.024229217, -0.0271484, -0.007912202, -0.045320313, -0.061886676, -0.02084783, -0.005804917, 0.017770525, 0.043958027, -0.024302198, 0.00005254909, -0.03814399, 0.01651771, 0.079401776, -0.030700073, 0.0017013362, 0.014997302, -0.06373549, 0.05113435, 0.00149152, -0.036441132, -0.023243994, -0.015301383, 0.0005834565, -0.063103005, 0.0031259584, -0.083877854, 0.0049991007, 0.028851258, -0.04064962, -0.08451034, -0.035954602, -0.05687541, 0.01196865, -0.011603752, 0.02323183, 0.0015074842, -0.047534026, 0.017211016, -0.014291832, 0.031162277, -0.05400488, 0.019716647, -0.018281382, 0.00081265793, 0.012023385, 0.03079738, -0.022684483, -0.039798193, 0.035565376, 0.0019263566, 0.0069999574, -0.04262007, -0.032913785, -0.0069695488, -0.026929462, -0.1069394, 0.006440447, -0.06840619, -0.021565463, 0.013452567, -0.014303996, -0.02379134, 0.0029480706, -0.013270118, -0.009414365, -0.04758268, 0.013209302, -0.022465544, -0.012832241, -0.005731937, 0.00965763, -0.0020312648, -0.06023247, 0.0068114265, -0.010369181, -0.032038033, -0.024825217, -0.01730832, 0.025104972, -0.04142807, 0.024788728, -0.049236882, -0.029921625, 0.036635745, -0.045150027, -0.010247548, -0.02442383, -0.05157223, 0.006963467, 0.027197054, -0.0141702, -0.01749077, -0.024825217, -0.008307508, -0.0077236714, -0.02700244, -0.060913615, -0.020482933, 0.0024919482, -0.016529873, -0.014449955, 0.018463831, -0.0021194483, 0.016286608, 0.0185733, 0.06422202, -0.002938948, -0.028851258, 0.01752726, 0.053712964, 0.025226604, -0.02897289, 0.008039916, 0.0011220609, 0.08742952, -0.015654119, -0.021322198, 0.022319585, -0.021151911, 0.00596608, -0.010150242, -0.072152466, 0.0039591417, 0.027391665, -0.022064157, 0.035443746, 0.01983828, -0.048799004, 0.0076810997, -0.06991443, 0.008149385, 0.004254101, 0.058043085, 0.015556811, 0.013184976, 0.026978115, 0.0008863977, -0.015897384, 0.020531585, 0.059454024, -0.07259034, 0.0070851, -0.042376805, 0.025810441, -0.013184976, -0.022270933, 0.0126984455, 0.011013834, -0.031186603, 0.006537753, 0.016615016, -0.008587263, -0.008854855, 0.034203093, 0.05064782, 0.030213542, 0.013221466, 0.03218399, 0.02218579, -0.0039804275, -0.02770791, 0.027537625, 0.04023607, 0.024095422, 0.00034589277, -0.0010939334, -0.0271484, -0.012625466, 0.0351275, -0.024022441, 0.0015044435, -0.015678445, 0.012303139, -0.039506275, 0.028875584, 0.011178037, 0.062616475, -0.009669793, -0.033400316, -0.017211016, -0.00227453, 0.0007484207, -0.03948195, -0.02945942, -0.034203093, 0.003922652, 0.010296201, -0.05030725, -0.022489872, 0.037973702, -0.001148668, -0.01361069, 0.007675018, -0.02673485, -0.014705383, 0.043958027, 0.014851343, 0.0005002141, 0.018001627, 0.030919012, -0.0024706626, -0.0153865265, 0.012966037, -0.018804403, -0.07696912, 0.021565463, -0.026005054, -0.0077540795, 0.015520322, 0.012832241, -0.039773867, -0.021249218, 0.02364538, 0.026540237, -0.009292732, 0.005008223, 0.02729436, 0.0039621824, 0.0502586, -0.025250932, -0.033765215, 0.015654119, 0.00017237623, -0.012017302, 0.057605207, -0.0032232644, 0.00047816822, -0.029848645, -0.047923252, 0.03661142, -0.07278496, -0.00079365284, -0.046123087, -0.0490666, -0.014814853, 0.007900039, 0.019290933, -0.0008841171, -0.005734978, -0.010965181, -0.036927663, -0.013197139, -0.048726026, 0.016992077, 0.005327509, 0.023353463, -0.0038831213, 0.012722772, -0.0013812904, -0.029337788, 0.035954602, 0.01700424, 0.04592848, -0.012722772, -0.0141702, -0.014705383, 0.034811255, -0.0020221423, 0.008587263, 0.0044365497, 0.024229217, 0.023572402, 0.032573216, 0.023073707, -0.027172728, 0.02799983, -0.03142987, 0.018257055, 0.0007586834, -0.0013812904, -0.033132724, 0.03532211, 0.02099379, -0.02404677, 0.013902608, 0.015702771, -0.03987117, 0.018865218, 0.009110283, -0.03498154, 0.007358773, 0.016578525, -0.034422033, -0.022100646, -0.0153865265, -0.036927663, -0.0074378345, -0.05016129, -0.013878281, -0.0009799028, 0.014985139, 0.03162448, 0.07570414, -0.010825303, -0.0060573043, -0.017296158, -0.024253543, -0.0073526916, 0.03293811, -0.018926036, -0.008496039, -0.027343012, 0.0049078763, -0.010764487, -0.0047892844, 0.012199751, -0.0102293035, 0.04262007, 0.011944323, -0.0077175894, 0.03867917, 0.0407226, 0.019631505, -0.03680603, -0.002897897, -0.0004508009, -0.010502976, -0.01185918, 0.02088432, -0.008435222, 0.029970277, 0.0017180607, -0.029070195, 0.02868097, -0.025080645, -0.0000756878, -0.0025710096, 0.011798364, 0.0114577925, 0.02561583, 0.034057133, 0.034884233, 0.018074607, -0.0032871214, -0.016639343, 0.0041263867, -0.022234442, 0.009724528, 0.0027504175, 0.02610236, -0.021796566, -0.01640824, -0.058967493, -0.03288946, 0.04478513, 0.066411406, -0.006920896, -0.033716563, -0.0091832625, 0.037243906, 0.019303096, 0.0036550602, -0.013720159, 0.02602938, -0.0041324683, -0.087964706, 0.016687995, -0.0032384684, -0.022891259, -0.04451754, -0.006793182, -0.022623667, 0.018050281, -0.03276783, -0.048458435, 0.032354277, 0.029070195, -0.024448156, -0.055464473, 0.03731689, -0.04403101, 0.049966678, -0.015216241, 0.019120647, -0.0022882137, 0.04359313, 0.037876397, 0.03456799, 0.02868097, -0.0227453, 0.014474281, 0.040260397, -0.016128486, 0.028729625, -0.0069087325, 0.01640824, 0.009469099, 0.0047710394, 0.036903337, 0.010691507, -0.03967656, 0.019181464, -0.04142807, 0.032305624, 0.01424318, 0.009025141, -0.0034300399, 0.011992976, 0.05745925, 0.031600155, -0.0048531415, 0.00084458647, 0.033692233, 0.049504474, 0.00066137733, 0.024569789, -0.011293588, -0.027124073, -0.00096013746, 0.058043085, -0.046171743, 0.030262195, 0.020568077, 0.0056315903, -0.011974731, -0.01882873, 0.037341215, -0.009645467, 0.031332564, 0.00017161602, -0.018354362, 0.016250119, 0.006495182, -0.005020386, 0.021115422, 0.0050234273, 0.010509058, -0.020859994, 0.020069381, -0.037900724, 0.002505632, -0.010721915, 0.019899096, 0.0058626924, 0.038873784, -0.018220566, 0.025031993, 0.008149385, -0.005324468, -0.021492483, -0.11297238, -0.005902223, -0.038168315, 0.010156323, 0.009615058, 0.0013486017, 0.011853099, -0.04247411, -0.027172728, -0.014437792, 0.006324896, -0.022429055, -0.0013820506, 0.017344812, 0.03904407, 0.011877425, -0.0041750395, 0.01801379, -0.021674933, 0.01413371, -0.007760161, -0.015423016, -0.03184342, 0.03867917, -0.05526986, 0.0044578356, -0.020239668, 0.0032354277, -0.008970406, -0.010648936, -0.013099832, 0.005646794, 0.0062519168, 0.0052910186, -0.016055506, -0.013695832, 0.044979744, -0.030602766, -0.005306223, 0.017575914, 0.016992077, -0.006324896, 0.042595744, 0.003274958, -0.0137323225, 0.017138036, 0.0014573107, 0.014936485, -0.0077358345, -0.0013448006, -0.03162448, -0.025445543, -0.007304039, -0.028072808, -0.021054607, 0.000675061, 0.009237997, -0.0059204674, -0.015070281, -0.004038203, 0.0044061416, 0.0016754894, 0.025250932, 0.055123903, -0.022027668, -0.0064343656, -0.0101259155, -0.031551503, 0.027026767, 0.0018108056, 0.0059083044, -0.021127585, -0.0135377105, 0.03422742, 0.033278685, -0.021942524, -0.05541582, 0.021869544, 0.05249664, -0.009165018, -0.009158936, -0.010028609, -0.0028386011, -0.01014416, -0.0102293035, -0.058383655, -0.03758448, -0.005336631, 0.013245792, 0.00607859, -0.058091737, 0.031527173, -0.010837466, -0.02938644, -0.0061606923, -0.0015211679, -0.012637629, 0.042984966, -0.013282282, 0.0041446313, -0.015556811, 0.00048805086, 0.0058444473, -0.0027245707, 0.0046007535, 0.00283404, -0.037681784, -0.00043635702, 0.021893872, 0.017174525, 0.01850032, -0.01850032, 0.0053335903, 0.03184342, 0.00395306, -0.0072249775, -0.01924228, -0.025396891, -0.025202278, 0.0036155295, -0.023767013, -0.026272645, -0.024788728, -0.025250932, -0.06840619, 0.041792966, 0.016529873, 0.013817465, 0.0017484688, -0.02017885, 0.044541866, -0.0057562636, 0.010405671, -0.041671336, -0.0002081058, -0.0037949376, -0.022647994, -0.024411667, 0.038849458, 0.014717546, 0.019813953, 0.00242353, 0.053372394, -0.017855668, -0.013233629, 0.023973789, 0.013403915, -0.028389053, -0.028559338, -0.00033087874, 0.0024341727, -0.017928649, -0.00045460192, -0.019728811, -0.009858323, -0.01689477, -0.061546106, -0.016736649, 0.0043544476, 0.032621868, -0.028705297, -0.00145427, 0.0058900593, -0.022733137, -0.042449784, 0.015459506, 0.00003188105, -0.009475181, -0.00045840294, -0.013403915, 0.026613217, 0.0044395905, -0.06023247, -0.004360529, 0.007559467, -0.010332691, -0.0041719987, -0.0027884278, -0.0129782, -0.030335175, -0.023183176, 0.0431066, -0.017515097, -0.0018898668, -0.028510686, 0.020604566, 0.027172728, -0.013197139, 0.01465673, 0.0065316716, 0.010387425, -0.0090920385, -0.013416078, -0.009803589, 0.022270933, -0.044444557, -0.016493384, 0.025810441, 0.037973702, -0.027099747, 0.013926934, -0.038873784, 0.006060345, 0.005880937, 0.0073891813, 0.014997302, 0.013841792, 0.0079426095, -0.0020814382, -0.032086685, -0.007936528, -0.00052644114, -0.015301383, 0.027829543, -0.035395093, -0.02868097, 0.028072808, -0.005041672, 0.01958285, 0.0053153452, 0.046731252, -0.032646194, -0.017502934, -0.04687721, 0.009681956, -0.0027975503, -0.0004964131, -0.011360486, -0.010813139, -0.011944323, -0.030919012, -0.0490666, 0.012248404, 0.038825132, 0.036197867, 0.032986768, -0.016043343, 0.0030803462, -0.01156118, 0.03541942, 0.0037341213, 0.0018716219, -0.010575956, -0.018780077, 0.010131997, 0.035735663, -0.03687901, 0.047850274, 0.009937385, 0.033497624, 0.024290035, -0.04106317, 0.015885219, 0.0057927533, 0.012880894, 0.020762688, -0.041038845, -0.014218853, -0.031600155, -0.052739903, -0.0023961626, -0.018707097, -0.017831342, -0.01850032, 0.022477707, -0.0087697115, 0.0025177952, 0.00018425442, 0.06680063, -0.029897297, -0.12416258, 0.005804917, 0.024326524, -0.0451257, 0.009469099, 0.03673305, -0.008289263, 0.009730609, -0.03546807, -0.0046494068, 0.006549916, -0.050209943, 0.03293811, -0.025713135, -0.028462032, -0.04359313, -0.010709752, -0.0063492227, 0.010484732, -0.01316065, -0.003575999, 0.0005956197, -0.033692233, 0.04094154, -0.001786479, -0.013805302, -0.02117624, 0.00592959, 0.016712321, 0.006933059, -0.004263223, 0.005239325, 0.024813054, 0.030943338, -0.011208446, -0.013562037, -0.023402115, -0.0263213, -0.08407246, -0.025299584, 0.0020753564, 0.011196283, 0.026953788, -0.020458607, 0.035735663, -0.031089297, -0.0110442415, 0.022137137, -0.004330121, 0.010880037, -0.006148529, -0.022441218, 0.012339629, -0.024800891, -0.0068844063, 0.02185738, 0.00566808, 0.0034330806, -0.0026455093, -0.030821705, -0.01770971, -0.012199751, 0.020896483, -0.013975588, -0.028948562, -0.01424318, -0.021747911, 0.04826382, -0.042766027, 0.009615058, -0.0071763243, 0.010198895, 0.024606278, 0.045587905, -0.0073709367, -0.008325753, 0.0185733, 0.045247335, -0.01781918, 0.01969232, 0.043009292, -0.025250932, 0.0009646987, -0.009535997, -0.0047375904, 0.020726198, 0.021164075, -0.029799992, -0.0055464474, 0.0021711423, 0.013975588, -0.013026853, 0.014571588, -0.020738361, -0.0008438263, -0.006890488, -0.0073101204, 0.0016998159, 0.039311662, -0.008623753, -0.00026189024, 0.0068296716, -0.015727097, 0.002482826, 0.0027458563, -0.0071945693, 0.0045399372, -0.016736649, 0.0331084, 0.010448242, -0.012990364, -0.0005321427, -0.000790612, 0.012747099, -0.017867832, 0.013525547, -0.0067445287, 0.028656645, 0.010679344, -0.0038466316, 0.0047527947, 0.004001713, -0.020130198, 0.007516896, 0.01361069, 0.007960855, 0.024508972, 0.002035826, -0.0018822647, 0.015873056, -0.0039135297, 0.035078846, -0.016067669, 0.030554114, -0.053761616, 0.0090798745, 0.013793139, 0.009304895, 0.014912159, 0.033327337, 0.020932974, 0.027951175, 0.02987297, 0.010399588, 0.0106428545, -0.0031685296, -0.0125038335, 0.004603795, -0.015216241, 0.033327337, 0.0019978157, 0.0012148058, 0.0013470813, 0.00988265, -0.025250932, 0.014437792, 0.012467343, -0.019534199, 0.01749077, 0.02967836, 0.007431753, 0.03554105, 0.009195426, -0.053226434, 0.04079558, -0.025007667, -0.021869544, -0.012406527, 0.026151013, 0.021212729, -0.00093809154, -0.017746199, 0.047217783, 0.024363013, 0.0016891729, 0.0002185586, 0.03758448, 0.024983339, 0.015118934, 0.01622579, -0.0084595485, 0.033813868, -0.022757463, 0.0042693047, 0.03325436, 0.029021543, -0.01137265, -0.025104972, 0.017089384, 0.012807915, 0.005582937, -0.004658529, 0.031381216, 0.042109214, 0.018512484, -0.038119663, -0.021528974, 0.004497366, -0.009225834, -0.032962438, -0.03867917, 0.033327337, 0.02554285, 0.006063386, -0.0023110197, -0.0099069765, 0.003594244, -0.0013774894, -0.006096835, 0.028583664, -0.013671506, 0.011281425, -0.0023414278, 0.0011365048, 0.028656645, -0.032962438, -0.033667907, 0.01662718, -0.024095422, -0.012327466, -0.017551586, 0.009511671, 0.029921625, 0.02826742, -0.025713135, 0.001971969, 0.0395306, -0.026686197, 0.0016678873, 0.015946036, -0.01409722, 0.019935586, -0.013184976, -0.0030423359, -0.02371836, -0.0263213, -0.005552529, -0.01603118, -0.010040772, 0.024886034, 0.042644396, -0.018780077, -0.03001893, -0.013416078, -0.0022197952, -0.0039074477, -0.0011327037, -0.028462032, -0.016906934, -0.018147586, -0.017612403, 0.006440447, 0.01159767, -0.014182364, 0.022514198, 0.00028849737, -0.0143648125, 0.023584565, 0.06850349, 0.010667181, -0.015605465, -0.0011646323, 0.0058109984, -0.061740715, -0.009973874, -0.013586364, 0.0054096105, 0.0022167545, 0.010460405, -0.019667994, -0.029921625, 0.028316073, -0.020859994, 0.022137137, -0.031551503, 0.0004321759, 0.018548975, -0.014291832, -0.029240482, -0.015045955, -0.032354277, 0.0060208146, -0.0073101204, 0.029581053, 0.022124974, 0.012394364, 0.009140691, 0.007912202, 0.04052799, -0.042547088, 0.0057745087, 0.013306608, -0.0025482033, -0.015337873, -0.00040708916, -0.019351749, -0.017989464, -0.016201464, 0.018439505, -0.028291747, 0.01256465, 0.015435179, 0.011615915, -0.005497794, 0.005029509, 0.021650607, -0.010861793, -0.018999014, -0.0097123645, -0.008708895, -0.034154437, 0.009542079, 0.03378954, -0.017442117, -0.0042084884, -0.026978115, 0.011476037, -0.0038010194, -0.024679258, -0.014827016, 0.0020753564, 0.0099069765, -0.013744486, 0.031721786, -0.014583751, -0.008556855, 0.009006895, -0.0014459078, -0.00920759, 0.002659193, -0.008003426, 0.010959099, -0.031040644, 0.014985139, -0.029337788, -0.0004131708, -0.007547304, -0.0064708553, -0.017673219, 0.0033327336, 0.01312416, 0.024630604, 0.017016403, 0.0018275301, 0.0068600797, 0.011190201, 0.00831359, -0.020859994, -0.008362242, -0.026442932, 0.060864963, 0.0043574884, -0.04561223, 0.009432609, 0.0073526916, 0.02088432, -0.031527173, 0.034640968, -0.008514283, -0.009742772, 0.009292732, 0.017794851, 0.031648807, -0.00011060966, 0.012224078, -0.0022866933, -0.009511671, 0.015045955, -0.0032384684, 0.0062215086, 0.016055506, 0.0077358345, 0.035395093, 0.019400403, 0.000035895875, -0.0027610604, 0.011135466, -0.0073709367, -0.006653304, 0.02144383, 0.007966937, -0.023852156, -0.01409722, -0.0010726476, -0.06748178, -0.015106771, -0.01700424, 0.045514926, 0.018330036, -0.0020723157, 0.024691422, -0.033351664, 0.016079832, -0.024302198, -0.031819094, 0.01252816, 0.010065099, 0.040260397, -0.043787744, 0.010770569, -0.020336974, -0.029727012, 0.004679815, -0.010502976, -0.010363099, -0.02259934, -0.016262282, 0.03065142, 0.015033792, 0.0017439077, -0.044055335, 0.02487387, -0.027367339, 0.018670607, 0.01469322, -0.022806115, -0.00007925125, 0.0033692236, -0.0051602637, 0.016177138, -0.00999212, 0.023973789, 0.00026017978, 0.0033357746, 0.02799983, 0.0054461006, 0.037049294, 0.014437792, 0.0031746114, 0.0034178765, 0.007863549, 0.01584873, -0.029508073, 0.006133325, 0.01823273, 0.024217054, 0.011694976, 0.00088107627, -0.016566362, 0.055026595, -0.026345626, 0.04057664, 0.06636275, 0.01364718, -0.0015416935, 0.010685425, -0.0030225706, 0.0024372137, 0.007133753, -0.029824318, -0.0028021114, -0.024703585, -0.0020905605, 0.028948562, -0.05269125, 0.01137265, -0.05303182, -0.00764461, 0.015727097, 0.017734036, -0.0003120637, -0.015873056, 0.019667994, 0.0052606105, -0.03673305, -0.018439505, -0.050988395, 0.020762688, -0.014571588, -0.02245338, 0.017855668, 0.03065142, 0.00013294065, 0.014231016, -0.026053706, 0.0067445287, -0.0010232345, -0.033692233, 0.002046469, 0.023462933, -0.029191827, -0.03254889, 0.009590732, 0.016469056, 0.01629877, 0.011719302, -0.013197139, -0.019303096, 0.008106814, 0.015118934, -0.0033813869, 0.023985952, -0.025640156, -0.0027823462, -0.017174525, 0.011269262, -0.014218853, -0.010703671, 0.013598527, 0.014632404, -0.01361069, 0.020750524, 0.011068569, 0.013270118, 0.012515997, -0.0022684482, 0.017052893, -0.018403014, 0.00039910703, -0.0108496295, 0.012321385, -0.0014238618, -0.016724484, -0.0023277442, 0.07531492, 0.027197054, -0.028583664, 0.007863549, 0.009748855, -0.03541942, -0.009542079, 0.027537625, 0.015946036, -0.005199794, -0.011549017, -0.043909375, -0.0031533255, 0.040698275, -0.016833954, -0.00049755344, 0.00052149984, -0.009590732, -0.0023839993, -0.007881793, -0.027829543, -0.011311834, 0.032792155, 0.0067688553, 0.01760024, 0.021346524, -0.024411667, 0.009456936, 0.0015462546, 0.010466487, 0.014072894, 0.031040644, 0.013926934, -0.0008058161, 0.019303096, -0.010296201, -0.012023385, -0.00052986207, -0.032013703, 0.014036404, 0.019522035, 0.030116236, 0.0016466016, -0.013002527, 0.00012524359, 0.01633526, 0.008581181, 0.0022532442, 0.01812326, 0.04738807, -0.012588976, 0.009280569, -0.024411667, 0.020653218, -0.04352015, 0.0037766928, 0.02442383, 0.0020783974, -0.022137137, -0.0062184674, 0.017162362, 0.030554114, 0.011293588, -0.015678445, -0.012217997, 0.0043422845, 0.033205703, -0.030262195, -0.019400403, -0.010423915, 0.022952074, 0.020446444, 0.0059204674, -0.013975588, -0.018743586, 0.002669836, 0.01592171, 0.0038770398, 0.025202278, 0.03449501, -0.0007130712, 0.052885864, 0.004615958, 0.04169566, -0.0072371406, 0.026369952, 0.019522035, 0.00091528543, 0.017442117, -0.014571588, 0.022720972, -0.05113435, -0.0037462846, 0.005932631, -0.022283096, 0.005859651, -0.011938241, -0.000095928226, -0.01413371, 0.0027063258, 0.006093794, 0.032621868, -0.026491584, 0.0013554435, -0.01808677, -0.014948648, 0.010502976, 0.021455994, -0.0126984455, 0.017356975, -0.06164341, 0.010727997, -0.014085057, 0.0042236927, 0.011269262, -0.043690436, -0.008562936, 0.043374192, -0.0034422032, -0.016785301, -0.011330078, -0.004187203, -0.019376077, -0.008684569, 0.022879096, 0.002774744, 0.016736649, 0.028243095, 0.033716563, 0.0038983254, 0.00019670275, -0.015532485, -0.03016489, -0.028778277, -0.0069269775, 0.011926078, -0.01148212, -0.024934687, 0.029240482, -0.005105529, 0.0062701614, 0.015654119, -0.0005051555, -0.0008286222, -0.045466274, -0.0018062444, -0.005026468, -0.02009371, -0.0035060602, 0.010484732, 0.032378603, 0.0007438595, 0.04128211, 0.010241467, -0.031454194, 0.03580864, -0.029264808, -0.019290933, -0.01047865, 0.025640156, 0.04527166, 0.013233629, 0.02225877, 0.040503662, 0.0057441005, 0.0023992034, 0.030043257, 0.0039013661, -0.008331834, -0.005455223, -0.025031993, 0.032913785, 0.024290035, 0.022051994, 0.032719173, 0.0006841835, -0.031502847, 0.059940554, 0.01958285, -0.0059083044, 0.007997344, 0.012588976, -0.011694976, 0.0052302023, -0.018342199, 0.02700244, 0.039408967, 0.028389053, -0.0019446014, -0.008867018, -0.008550773, -0.0050690393, 0.013598527, -0.035832968, -0.03554105, 0.025761789, -0.02203983, -0.00071915286, 0.035589702, 0.005698488, 0.016213628, 0.007930446, -0.040333375, -0.031867746, -0.017977301, 0.0016861322, -0.00008547542, 0.04186595, 0.013294445, 0.023365626, -0.0074682427, 0.0005469667, -0.018974688, -0.016104158, -0.023414278, -0.039190028, 0.004448713, -0.011244936, 0.0064161206, -0.011840935, -0.016542036, 0.0051298556, -0.0021863463, 0.013562037, -0.012820078 ]
2311.01343
48
In this section, we present the experiments on four public datasets and one LinkedIn dataset to demonstrate the effectiveness of CLLM4Rec, aiming to answer the following research questions. RQ1. How does CLLM4Rec, the first RS that tightly couples the ID-based paradigm with the LLM-based paradigm, perform compared to state-of-the-art ID-based and LLM-based RSs? • RQ2. How does the pretraining stage of CLLM4Rec (including the mutual regularization trick and the stochastic item reorder strategy) influence the performance of CLLM4Rec? • RQ3. How does the finetuning stage of CLLM4Rec with masked prompt and multinomial item prediction head influence the efficiency and effectiveness of recommendations. # 4.1 Experimental Setup
2311.01343#48
Collaborative Large Language Model for Recommender Systems
Recently, there is a growing interest in developing next-generation recommender systems (RSs) based on pretrained large language models (LLMs), fully utilizing their encoded knowledge and reasoning ability. However, the semantic gap between natural language and recommendation tasks is still not well addressed, leading to multiple issues such as spuriously-correlated user/item descriptors, ineffective language modeling on user/item contents, and inefficient recommendations via auto-regression, etc. In this paper, we propose CLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and ID paradigm of RS, aiming to address the above challenges simultaneously. We first extend the vocabulary of pretrained LLMs with user/item ID tokens to faithfully model the user/item collaborative and content semantics. Accordingly, in the pretraining stage, a novel soft+hard prompting strategy is proposed to effectively learn user/item collaborative/content token embeddings via language modeling on RS-specific corpora established from user-item interactions and user/item features, where each document is split into a prompt consisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and a main text consisting of homogeneous item tokens or vocab tokens that facilitates stable and effective language modeling. In addition, a novel mutual regularization strategy is introduced to encourage the CLLM4Rec to capture recommendation-oriented information from user/item contents. Finally, we propose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where an item prediction head with multinomial likelihood is added to the pretrained CLLM4Rec backbone to predict hold-out items based on the soft+hard prompts established from masked user-item interaction history, where recommendations of multiple items can be generated efficiently.
http://arxiv.org/pdf/2311.01343
Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li
cs.IR
null
null
cs.IR
20231102
20231108
[ { "id": "2302.13971" }, { "id": "2206.07682" }, { "id": "2308.10053" }, { "id": "2307.02046" }, { "id": "2306.05817" }, { "id": "2205.08084" }, { "id": "2303.14524" }, { "id": "2305.07001" }, { "id": "2303.13835" }, { "id": "2303.18223" }, { "id": "2302.03735" }, { "id": "2305.00447" }, { "id": "2305.08845" }, { "id": "2104.08691" }, { "id": "2308.10837" }, { "id": "2305.06569" } ]
{ "authors": "Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li", "chunk_id": 48, "doc_id": "2311.01343", "primary_category": "cs.IR", "published": 20231102, "source": "http://arxiv.org/pdf/2311.01343", "summary": "Recently, there is a growing interest in developing next-generation\nrecommender systems (RSs) based on pretrained large language models (LLMs),\nfully utilizing their encoded knowledge and reasoning ability. However, the\nsemantic gap between natural language and recommendation tasks is still not\nwell addressed, leading to multiple issues such as spuriously-correlated\nuser/item descriptors, ineffective language modeling on user/item contents, and\ninefficient recommendations via auto-regression, etc. In this paper, we propose\nCLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and\nID paradigm of RS, aiming to address the above challenges simultaneously. We\nfirst extend the vocabulary of pretrained LLMs with user/item ID tokens to\nfaithfully model the user/item collaborative and content semantics.\nAccordingly, in the pretraining stage, a novel soft+hard prompting strategy is\nproposed to effectively learn user/item collaborative/content token embeddings\nvia language modeling on RS-specific corpora established from user-item\ninteractions and user/item features, where each document is split into a prompt\nconsisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and\na main text consisting of homogeneous item tokens or vocab tokens that\nfacilitates stable and effective language modeling. In addition, a novel mutual\nregularization strategy is introduced to encourage the CLLM4Rec to capture\nrecommendation-oriented information from user/item contents. Finally, we\npropose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where\nan item prediction head with multinomial likelihood is added to the pretrained\nCLLM4Rec backbone to predict hold-out items based on the soft+hard prompts\nestablished from masked user-item interaction history, where recommendations of\nmultiple items can be generated efficiently.", "text": "In this section, we present the experiments on four public datasets and one LinkedIn dataset to demonstrate the effectiveness of CLLM4Rec, aiming to answer the following research questions.\nRQ1. How does CLLM4Rec, the first RS that tightly couples the ID-based paradigm with the LLM-based paradigm, perform compared to state-of-the-art ID-based and LLM-based RSs? • RQ2. How does the pretraining stage of CLLM4Rec (including the mutual regularization trick and the stochastic item reorder strategy) influence the performance of CLLM4Rec?\n• RQ3. How does the finetuning stage of CLLM4Rec with masked prompt and multinomial item prediction head influence the efficiency and effectiveness of recommendations.\n# 4.1 Experimental Setup", "title": "Collaborative Large Language Model for Recommender Systems", "year": 2023 }
[ 0.030284379, 0.010250475, 0.061207876, 0.01680144, 0.031021822, -0.006047043, 0.008923076, 0.04862216, -0.05108031, 0.043189652, 0.031169312, -0.01865734, -0.014466199, 0.028932398, 0.028711164, -0.02479042, 0.017624918, -0.004793388, -0.06897562, 0.06897562, -0.017108707, 0.010662216, 0.01998474, -0.019824961, 0.008228649, 0.0040436527, 0.0009394733, 0.020439498, -0.03296376, -0.041223135, 0.017194742, -0.0203043, -0.038838733, 0.0011699246, 0.0018390017, 0.0359627, 0.00022334576, 0.030923497, -0.007159355, 0.030235216, -0.04141979, -0.03992032, -0.008431447, -0.0031187749, 0.0034536975, -0.006981139, 0.012253866, 0.0015808962, 0.0299894, 0.03030896, -0.056242418, 0.034733627, -0.0113566425, -0.03628226, 0.022860773, -0.02412672, 0.05063784, -0.013863953, 0.040092386, -0.012671751, 0.023512183, -0.045672383, 0.0102750575, -0.019923287, -0.037240937, -0.033504553, -0.047024366, -0.009175036, 0.035028603, 0.0010470173, -0.0029589953, -0.051866915, 0.065878354, 0.0035981135, -0.005472451, 0.0037271664, 0.019321041, -0.016248357, -0.0043232674, 0.0043847207, 0.041198555, -0.012806949, 0.034930278, -0.017563464, -0.023413856, -0.035225257, -0.024618348, -0.024913326, -0.012880693, -0.01398686, -0.04911379, -0.022258528, -0.0035858229, 0.01332316, 0.043165073, -0.043877937, 0.0024443206, -0.027432928, 0.029915657, 0.08441279, -0.0011376614, 0.009224199, 0.024274208, -0.05643907, 0.029817332, -0.0028960053, -0.021373594, -0.0051467465, -0.01115999, -0.00075203954, -0.058356427, -0.01299131, -0.06042127, 0.005260436, 0.047589738, -0.04262428, -0.050687004, -0.030186053, -0.04350921, -0.0019895632, -0.029497772, -0.009297944, -0.0071163373, -0.032029662, 0.0088739125, -0.034315743, 0.064993426, -0.05973299, 0.018116549, 0.0054417243, -0.004228014, 0.0076325485, 0.028612839, -0.013200253, -0.0569307, 0.02413901, -0.03360288, -0.008959948, -0.043853354, -0.04527908, -0.019579146, -0.02129985, -0.07443271, 0.013704173, -0.049212117, -0.03146429, -0.00814876, -0.004501483, -0.027555835, 0.000040232964, -0.021262977, -0.029055305, -0.025613898, 0.0037425298, -0.047221016, -0.03817503, 0.0021078617, 0.023082007, 0.01633439, -0.06695994, 0.033873275, -0.024372533, -0.014625979, -0.021336721, -0.01498241, -0.010127569, 0.0062713493, 0.032373805, -0.047540575, -0.030603938, 0.05108031, -0.03416825, -0.03030896, -0.023549054, -0.04427124, 0.012634879, 0.013384614, -0.01898919, -0.005607649, -0.03215257, -0.004566009, -0.02396694, -0.05314515, -0.05742233, -0.04744225, -0.015068445, -0.003186374, -0.024188172, 0.0242865, -0.0038930913, 0.03379953, 0.009986225, 0.055652462, 0.002118616, -0.015572365, 0.0123276105, 0.025011653, 0.03891248, -0.043263398, 0.0042218687, 0.004857914, 0.06514091, -0.0021247615, -0.012917566, 0.023880905, -0.026621738, -0.002859133, 0.019603727, -0.066025846, -0.00025925777, 0.035888955, 0.0064710737, 0.05658656, 0.034438647, -0.05044119, -0.014244965, -0.08092222, 0.010508581, 0.018472979, 0.050981984, 0.03930578, 0.015891925, 0.016420426, 0.01998474, 0.0030634664, 0.01864505, 0.056684885, -0.05108031, 0.007429751, -0.05579995, 0.0203043, -0.0006921222, -0.013273997, 0.00574592, -0.00094331417, -0.024028393, -0.011676202, 0.0038531465, 0.0008365384, -0.0087632965, 0.01431871, 0.036724724, 0.011614747, 0.020562405, 0.06774655, 0.0071347733, 0.00824094, -0.0439271, 0.026425088, 0.004879423, 0.017354522, 0.00549396, 0.0019818814, -0.043730445, -0.021103198, 0.05447255, -0.019345623, 0.011774527, -0.006643144, 0.0028176517, -0.065632544, 0.00924878, -0.003164865, 0.020734476, -0.024397116, -0.027531253, -0.019726634, 0.0051959096, -0.0047196434, -0.03347997, -0.027088787, -0.020894255, 0.0020571623, 0.01498241, -0.037240937, -0.01414664, 0.03913371, 0.0059087723, -0.02297139, 0.018202582, -0.0088739125, -0.009125873, 0.047417667, 0.019566854, -0.011110827, -0.005143674, 0.013544394, 0.0026025637, -0.028121209, 0.017907606, -0.0023168041, -0.08338037, 0.04692604, -0.005669103, -0.018780248, -0.0010470173, 0.028022883, -0.019874124, 0.0013742582, 0.040141553, 0.02848993, 0.014453908, 0.0116086025, 0.014736595, 0.015732145, 0.058159772, -0.022700993, -0.011620893, 0.0009609821, -0.0023797941, -0.017440557, 0.052702684, 0.0033246446, 0.008283958, -0.006348166, -0.051522773, 0.014392454, -0.067648225, 0.021066325, -0.035864376, -0.027654162, -0.026547994, -0.0042618136, 0.0228239, -0.006348166, -0.028219534, -0.014232675, -0.036823053, -0.014367873, -0.03097266, 0.032496713, -0.026031783, 0.007810764, 0.007558804, 0.011024792, -0.0044646105, -0.03527442, 0.033430807, 0.0055492683, 0.042255558, -0.027875394, 0.0073560067, -0.005629158, 0.05525916, -0.02797372, 0.013544394, 0.004169633, 0.021693153, 0.029227376, 0.018448398, 0.01815342, -0.036233097, 0.019345623, -0.028711164, 0.005939499, 0.013605847, 0.0032324642, -0.02513456, 0.03716719, -0.01549862, -0.013310869, 0.03284085, 0.025048524, -0.011276753, 0.02099258, 0.020734476, -0.02647425, -0.0031495017, 0.02246747, -0.020759057, 0.0024135937, 0.0026778446, -0.0125426985, -0.0113566425, -0.041395206, 0.006643144, 0.013728755, 0.02046408, 0.03947785, 0.07443271, -0.018030513, 0.005939499, -0.03080059, -0.013384614, 0.02098029, 0.04245221, 0.0026809173, -0.009930916, -0.05127696, 0.014920956, -0.021324432, -0.008013561, 0.030677682, -0.0098448815, 0.020845093, 0.009568339, 0.0015117608, 0.050687004, 0.06533756, 0.030235216, -0.027039625, -0.0011407342, -0.0030803662, -0.0157936, -0.010533162, 0.020550115, -0.009906335, 0.03731468, -0.007472769, -0.03497944, 0.024864163, -0.025490992, 0.01398686, 0.017059544, 0.0006786792, 0.010877303, 0.012733204, 0.027703324, 0.021127779, 0.03731468, 0.020943418, -0.02048866, -0.005251218, -0.056734048, 0.0072945533, -0.000029550583, 0.009377833, -0.024901036, -0.01729307, -0.026670901, -0.03891248, 0.052702684, 0.08544521, -0.030284379, -0.04063318, 0.0058503915, 0.018509852, 0.03896164, -0.00092948705, -0.012173976, 0.038224194, 0.016457299, -0.08342953, 0.01730536, -0.0032171006, -0.014109767, -0.029399445, 0.006185314, -0.023942359, 0.008714133, -0.03792922, -0.03716719, 0.042058907, 0.012106377, 0.0051190923, -0.050219957, 0.056242418, -0.07153209, 0.045475733, -0.017723244, -0.0011468795, -0.014232675, 0.041567277, 0.049556255, 0.036577236, 0.053243477, -0.012481244, 0.020218264, 0.060814574, -0.011295188, 0.02365967, -0.0014072895, 0.008351557, 0.0077001476, -0.00086419255, 0.011049374, 0.035692304, -0.03711803, 0.01799364, -0.04198516, 0.021447338, 0.03458614, 0.03942869, 0.016014831, 0.017723244, 0.070843816, 0.01946853, 0.019738926, -0.020230556, 0.043558378, 0.03947785, 0.011504131, -0.007460478, -0.012505827, -0.027211694, -0.013765627, 0.06292858, -0.026523413, 0.043705866, -0.0119343065, 0.022614958, -0.011700783, 0.0035489507, 0.03316041, 0.0018958463, 0.02979275, -0.03146429, -0.016125448, 0.020292008, -0.012321465, 0.015117608, 0.06287941, 0.009672811, -0.0007028766, -0.00841301, 0.036257677, -0.026769228, 0.004412375, -0.009144309, 0.033184994, 0.025196014, 0.029178213, -0.01141195, 0.009599066, 0.007491205, -0.018411526, -0.027604997, -0.10697859, 0.0021370521, -0.040018644, 0.011276753, 0.0068029235, 0.010342657, 0.004676626, -0.021766897, -0.02315575, -0.005337253, -0.011885144, -0.028539093, -0.006292858, 0.019185843, 0.03812587, 0.020537823, 0.0013673446, 0.006342021, -0.019161262, 0.032398384, 0.0014172758, -0.0027254713, -0.0073006987, 0.029719004, -0.049040046, -0.0055523408, -0.016260646, 0.010225894, -0.013790208, 0.0045137736, -0.046090268, 0.004925513, -0.003505933, 0.01397457, 0.0047841696, -0.0069196858, 0.030431869, -0.032816272, 0.013040473, 0.002450466, -0.00016669313, -0.01649417, 0.034733627, -0.03465988, -0.005463233, 0.030554775, -0.020845093, 0.02613011, -0.0080811605, -0.007921381, -0.032373805, 0.02200042, -0.0004474597, -0.025884295, -0.029743586, -0.0028022884, 0.010711378, -0.033553716, 0.011706928, 0.0066369986, 0.0003209035, 0.003908455, 0.019370204, 0.041862253, -0.020132229, 0.029350283, -0.01531426, -0.028342443, 0.013433777, 0.0128684025, -0.0045629367, -0.010410255, -0.013249416, 0.019124389, 0.035397325, -0.021828352, -0.050490353, 0.0009824908, 0.03667556, -0.007011866, -0.0014556843, -0.0077185836, -0.011817545, -0.020242846, -0.013200253, -0.031906758, -0.035815213, -0.023094296, 0.019849543, 0.014625979, -0.037437588, 0.021262977, -0.010342657, -0.028662002, -0.0236228, -0.010102986, -0.015695272, 0.04095274, -0.0034659882, 0.0013827081, -0.031169312, -0.021324432, 0.01223543, -0.018976899, 0.00666158, 0.008425301, -0.049605418, 0.010459418, 0.01929646, 0.01881712, 0.034315743, 0.0031679377, 0.007995125, 0.031882174, 0.022221655, 0.005712121, -0.04144437, 0.0021938968, -0.03760966, 0.044713706, -0.039821994, -0.034709044, -0.026351342, -0.041837674, -0.07743165, 0.035299, 0.014564524, 0.021029454, -0.0019219642, -0.023561345, 0.021164652, 0.0050883656, 0.026400506, -0.025343502, -0.013101927, -0.030087726, -0.021791479, -0.010459418, 0.04783555, 0.011719218, 0.02797372, -0.0058258097, 0.016690822, -0.01929646, -0.022344561, 0.029424027, 0.0003101491, -0.0154248765, -0.0139131155, -0.0017883024, 0.0066677253, -0.02412672, 0.008646535, -0.021742316, 0.004735007, -0.019910997, -0.067451574, -0.04613943, 0.022873065, 0.06597668, -0.024052974, -0.01848527, -0.0046827714, -0.012044923, -0.03611019, 0.014367873, -0.008597371, 0.008615808, 0.020083066, -0.024765838, 0.05344013, 0.008615808, -0.07423606, -0.0062098955, 0.0010754396, 0.0036657127, -0.0035981135, -0.0025656915, -0.01098792, -0.023032844, -0.020009322, 0.055996604, 0.0022107966, -0.0016362045, -0.021693153, 0.010649925, 0.022922227, -0.015375714, 0.00595179, 0.024532313, -0.007460478, -0.022602668, -0.013187962, -0.015584656, 0.012094086, -0.026105529, -0.0043816483, 0.026720066, 0.043681283, -0.033037506, 0.006477219, -0.030186053, 0.015953379, 0.025663061, 0.015682982, -0.010373383, 0.021385884, 0.015412586, -0.00039368772, -0.025392665, 0.024249626, -0.010938757, -0.0040436527, 0.030776009, -0.028194953, -0.023573635, 0.03962534, -0.013446067, 0.0125426985, 0.014785758, 0.036724724, -0.01157173, -0.018878574, -0.045918196, 0.009236489, 0.00013519812, 0.0038808007, -0.013962278, -0.012094086, -0.006895104, -0.022897646, -0.038076706, 0.032226317, 0.01814113, 0.02863742, 0.020783639, -0.0047688065, -0.003057321, -0.008216359, 0.0071347733, -0.011989615, -0.0038500738, -0.0036841487, -0.01482263, 0.014072895, 0.03448781, -0.053341802, 0.04808137, 0.019505402, 0.03999406, 0.017403685, -0.032619618, 0.011633184, 0.012708623, 0.0119343065, 0.0049593127, -0.038248777, 0.0051928367, -0.017686373, -0.039723665, 0.0033062086, 0.0050822203, 0.0021493428, -0.037585076, 0.021410465, -0.0050791474, 0.018927736, 0.006772197, 0.068631485, -0.023082007, -0.11641787, -0.0010631488, 0.008210213, -0.042206395, 0.02644967, 0.025048524, 0.019026063, 0.022061875, -0.020255137, -0.00999237, -0.0036687853, -0.0319805, 0.026007202, -0.01929646, -0.0048517687, -0.05265352, -0.019407075, 0.0002195049, 0.012518117, -0.012892985, -0.027506672, 0.01930875, -0.01731765, 0.05157194, 0.012511971, -0.014453908, -0.017465139, -0.01214325, 0.013273997, 0.012561134, -0.0000038768635, 0.008695697, 0.0027992157, 0.020857383, -0.009181181, -0.0015962597, -0.021570245, -0.006136151, -0.058258098, -0.01648188, -0.015179061, -0.0006229868, 0.003963763, -0.010625343, 0.053341802, -0.016604787, -0.0010032315, 0.009470014, -0.0025795186, 0.012917566, 0.01914897, -0.0013489085, 0.017760117, -0.027432928, 0.008830896, 0.026720066, -0.011043228, -0.006729179, 0.009353252, -0.016604787, -0.023708833, -0.00916889, 0.01929646, -0.009064419, -0.026867554, -0.0057029026, -0.021938968, 0.036208514, -0.039354943, -0.0070548835, -0.0028852508, 0.011596312, 0.025540154, 0.013556684, -0.003936109, 0.0047780243, 0.012413645, 0.02165628, -0.035839792, 0.018386945, 0.043779608, -0.029497772, 0.008990675, -0.0023490672, -0.0013788672, 0.012382919, 0.027998302, -0.022270817, -0.016420426, 0.03114473, 0.0008726424, -0.012198558, 0.027211694, 0.00015238595, 0.00021835265, -0.00065640226, -0.010502436, 0.0074666236, 0.03741301, -0.004102034, -0.004824115, 0.002536501, 0.00028172677, -0.0015547784, 0.016272938, 0.00030131513, 0.00491015, 0.018214874, 0.047048945, 0.011676202, 0.0007055652, -0.017969059, -0.005991735, 0.016125448, -0.024888745, 0.021717735, -0.011915871, 0.015129899, 0.0041358336, 0.0010347265, 0.0011914334, 0.008419156, 0.00065640226, 0.015781308, -0.0019695908, -0.0024612204, 0.034020763, -0.0032386095, -0.0081549045, -0.005008476, 0.016752277, 0.021078616, -0.012585716, 0.023880905, -0.04975291, 0.025343502, 0.024200464, 0.013224835, -0.02380716, 0.027383765, 0.019321041, 0.011786818, 0.040731505, 0.010711378, 0.040362783, -0.000009146038, -0.011227589, -0.001216015, -0.029571516, 0.0333079, -0.00089184666, -0.009506886, 0.0071839364, -0.0004232623, -0.008566645, 0.019505402, 0.0030834388, -0.03230006, 0.023192624, 0.013937697, -0.020709895, 0.036823053, 0.0061699506, -0.017207034, 0.039059967, -0.024556896, -0.018706504, -0.018853992, 0.0016822948, 0.02231998, 0.0029236593, -0.05407925, 0.04328798, 0.039010804, -0.008173341, 0.00094100967, 0.017784698, 0.002940559, 0.044344984, 0.026031783, -0.022356853, 0.020267427, -0.0082593765, -0.0021908241, 0.02863742, 0.032078825, -0.0024811928, -0.036724724, 0.02315575, 0.014712013, -0.0018804829, -0.009113583, 0.027777068, 0.021262977, 0.025859714, -0.02381945, -0.008462173, -0.000103223, -0.024003811, -0.03950243, -0.0080811605, 0.030751428, 0.019112097, 0.013065055, -0.012094086, -0.012696332, 0.0068705226, -0.004188069, -0.016248357, 0.01780928, -0.0047288616, -0.0016146958, 0.0012943684, -0.018681923, 0.032717943, -0.02331553, -0.020218264, 0.00890464, -0.017772408, -0.020562405, -0.019345623, 0.010981775, 0.026621738, 0.05127696, -0.017575756, 0.013642719, 0.039256617, -0.0306531, -0.020586986, 0.009795718, -0.00038831052, 0.0214965, -0.018571306, -0.014355582, -0.023290949, -0.03947785, -0.02447086, 0.009470014, -0.0017744753, 0.013667301, 0.053390965, -0.034389485, -0.033725787, 0.01615003, 0.019665182, -0.0075649493, -0.009783427, -0.046065688, -0.0021339795, -0.010649925, -0.012438227, -0.007306844, 0.024532313, -0.01106781, 0.012843821, -0.009506886, 0.0030327397, 0.033184994, 0.072859496, 0.0057244115, -0.016260646, -0.0030726846, 0.020685313, -0.0529485, -0.0027101077, -0.018251747, 0.009107437, 0.0005361835, 0.0019603728, -0.012321465, -0.010711378, 0.024728965, -0.013335451, 0.025220595, -0.0306531, 0.0027008897, 0.012167831, -0.0056168674, -0.028022883, -0.009396269, -0.030677682, 0.0024120575, -0.008628098, 0.011454968, 0.024052974, -0.016236065, 0.015474039, 0.004055944, 0.03480737, -0.038396265, 0.015351132, 0.031882174, 0.0037456024, -0.015400295, -0.003641131, -0.011977324, -0.011762236, -0.01713329, 0.02713795, -0.013728755, 0.01567069, 0.00007921765, 0.01498241, 0.00074358966, -0.0009763455, 0.013028182, -0.021262977, -0.028121209, -0.009224199, -0.01682602, -0.013519812, 0.004344776, 0.013101927, -0.016752277, -0.01563382, -0.04210807, 0.00890464, 0.00025925777, -0.020955708, -0.020095358, -0.0034936424, -0.0009940135, 0.0015263561, 0.02214791, -0.004879423, -0.010391819, 0.008990675, 0.004645899, -9.3920926e-7, -0.0036749307, 0.021054035, -0.0042218687, -0.032816272, 0.02863742, -0.021140069, -0.0025549373, -0.009297944, -0.0134091955, -0.018165711, 0.009144309, 0.020709895, 0.033062086, 0.025564736, -0.0030373486, 0.017969059, 0.020328881, 0.029178213, -0.00790909, 0.009390124, -0.0064157653, 0.058848053, -0.0019019918, -0.031562615, 0.0065202364, 0.01515448, 0.015719853, -0.025712224, 0.008480609, -0.006790633, 0.015240516, 0.021521082, 0.008456028, 0.013630428, 0.013790208, -0.010723669, 0.0016377409, -0.016211484, 0.020119939, 0.01779699, 0.0067168884, 0.020586986, 0.004965458, 0.018952318, 0.0021785332, 0.012720914, -0.010115278, 0.011749946, 0.001427262, -0.009635938, 0.0027577344, 0.01629752, -0.03347997, -0.00420036, 0.0017207033, -0.068877295, -0.0068029235, -0.012782368, 0.045057844, 0.038642082, -0.00620375, 0.046090268, -0.010643779, 0.018620469, -0.029399445, -0.03279169, -0.004071307, -0.000569983, 0.017428266, -0.029743586, 0.009691247, 0.0043417034, -0.034217414, 0.0049623856, -0.0023168041, -0.010330365, -0.049408767, 0.015547784, 0.03996948, 0.0056936843, 0.0066861617, -0.04783555, 0.0124013545, -0.023266368, 0.024372533, 0.016027123, -0.028194953, -0.009955498, -0.008480609, -0.003088048, 0.00029785835, -0.017231615, 0.018767957, -0.018595887, -0.010146004, 0.014503071, 0.019517692, 0.04495952, 0.03384869, -0.0002869119, 0.0075280773, 0.010201313, 0.020771347, -0.034020763, 0.014244965, 0.010889594, 0.018694213, 0.0075649493, -0.019001482, -0.027015043, 0.057569817, -0.02679381, 0.044664543, 0.0648951, 0.011596312, -0.02713795, -0.0020663803, -0.03517609, 0.0018589741, 0.013642719, -0.049703747, 0.006179169, -0.01929646, 0.0030265942, 0.022725575, -0.0463115, -0.000041505245, -0.042206395, 0.007478914, 0.01414664, 0.0029728224, 0.004393939, -0.019874124, 0.02212333, 0.008093451, -0.02314346, -0.0018743376, -0.05511167, 0.041542694, -0.014527652, -0.022369143, 0.0071040466, 0.019173551, 0.00028019043, 0.020402625, 0.003874655, 0.007048738, -0.003730239, -0.029891076, 0.022922227, 0.0037855473, -0.036700144, -0.03898622, 0.012087941, 0.018595887, 0.023106588, -0.0036073315, -0.030505612, -0.031415127, 0.00027001215, 0.021705443, 0.005395634, 0.021189233, -0.041075647, -0.0009686638, 0.004003708, 0.028907817, -0.0128315305, -0.0055922857, 0.018079676, 0.009721974, -0.011835981, 0.009703537, 0.0051744008, 0.030849753, 0.01795677, 0.023450729, 0.028563676, -0.015842762, 0.02196355, -0.019566854, 0.0020940346, -0.0029467044, -0.007945962, 0.0037671113, 0.06897562, 0.029325701, -0.036872216, -0.00999237, -0.0007247695, -0.011559439, -0.010268912, 0.005291163, 0.02431108, 0.0030235215, -0.017268486, -0.039379526, -0.011614747, 0.04611485, -0.029669842, 0.006139224, -0.008388429, -0.009101291, -0.018411526, -0.005601504, -0.027777068, -0.0057920106, 0.018178001, -0.0028268697, 0.0057705017, 0.0012006515, -0.029817332, 0.02581055, -0.0015163699, 0.0062713493, 0.0085482085, 0.03878957, 0.018055094, 0.010158295, 0.017723244, -0.0039176727, 0.0024781202, -0.00027212463, -0.03409451, 0.019235006, 0.020033903, 0.016666241, 0.010041533, -0.008898495, 0.02964526, 0.01833778, 0.014011442, -0.0020648441, 0.011670056, 0.043533795, -0.020390335, 0.0032232462, -0.00940856, 0.029817332, -0.031759266, 0.00010667976, 0.029891076, -0.015879633, -0.0027131804, -0.006139224, 0.0025149924, 0.021951258, -0.0021938968, -0.010029242, 0.01567069, 0.021533374, 0.008210213, -0.021533374, -0.013728755, 0.00093332794, 0.024937907, 0.022848483, 0.0031495017, -0.0031003386, -0.052358545, 0.020427207, 0.029178213, 0.011362787, 0.043558378, 0.03461072, 0.0051467465, 0.06597668, 0.0014418572, 0.049728326, -0.008265521, -0.004664335, 0.023426147, -0.011387369, 0.009064419, -0.03298834, 0.030554775, -0.060077127, 0.002931341, -0.0066308533, -0.015006991, 0.028588258, -0.01100021, -0.0026471177, -0.0058473186, 0.006987285, 0.0063973293, 0.028539093, -0.01783386, 0.014331001, -0.0068520866, -0.024384825, 0.0041665602, 0.022922227, -0.009894044, 0.005392561, -0.04793388, 0.008419156, -0.015965668, 0.0055062505, 0.010213603, -0.04845009, -0.0032201733, 0.044074588, -0.0018543651, -0.0057612834, -0.0068213595, 0.00047434567, -0.014085186, -0.006747615, 0.014761177, 0.0006091597, 0.0036964396, 0.020943418, 0.016862893, 0.0036564947, -0.0019895632, -0.020943418, -0.02848993, -0.03178385, -0.024089847, 0.02930112, -0.044689123, -0.017969059, 0.031882174, -0.0008703379, 0.0045076283, 0.010785122, -0.014244965, 0.01024433, -0.036380585, -0.018042803, -0.021004872, -0.0022384508, -0.030038564, -0.005331108, 0.034536973, 0.022283109, 0.024175882, 0.025540154, -0.024077555, 0.039649922, -0.04164102, -0.012720914, -0.022344561, 0.014736595, 0.022897646, 0.025884295, 0.005647594, 0.040190715, 0.0075710947, 0.0128315305, 0.048376344, -0.009771137, 0.01449078, -0.009715828, -0.017207034, 0.03234922, 0.025761386, 0.02131214, 0.029817332, -0.0058319555, -0.017465139, 0.042648863, 0.0068459413, 0.0032324642, 0.014048314, 0.013286288, -0.007374443, 0.017723244, -0.019886414, 0.022098748, 0.01779699, 0.027383765, 0.00018916214, 0.016813729, -0.008388429, -0.001975736, 0.017034963, -0.028194953, -0.033873275, 0.009058274, -0.0004370894, 0.002782316, 0.0026194635, 0.025036234, 0.01898919, -0.0030542484, -0.010692942, -0.011534858, 0.0011192254, 0.02613011, -0.012720914, 0.029104467, 0.01281924, 0.049728326, -0.011110827, -0.016457299, -0.028268699, -0.0067660515, 0.010440982, -0.038002964, -0.0010646852, -0.004243377, 0.0061023515, -0.0016454225, -0.031710103, -0.0028698873, 0.004421593, 0.006495655, -0.009838736 ]
2311.01343
49
# 4.1 Experimental Setup 4.1.1 Datasets. The experiments are mainly based on four pub- lic datasets: Amazon (AM)-Beauty dataset, AM-Toys dataset, AM- Sports dataset [17] and the Yelp dataset [38], where we binarize the interactions by keeping only ratings > 3 and treat them as implicit feedback [39]. In addition, we filter the dataset such that they keep the original 5-core property after binarization. For each user, we randomly select 80% of interactions for training, 10% for validation, and 10% for testing, where as least one item is selected in the valida- tion and the test set. The reviews that users provide to the items are collected as the textual feature x𝑢𝑣 𝑖 𝑗 . The real-world experiments are based on a job recommendation dataset collected nearline at the Company, where user’s click on the job Ads are logged as the implicit feedback, and users’ self-provided biography x𝑢 𝑖 and the job descriptions x𝑣 𝑗 are collected as the textual features, respectively. The statistics of the dataset are summarized in Table 3 in Appendix.
2311.01343#49
Collaborative Large Language Model for Recommender Systems
Recently, there is a growing interest in developing next-generation recommender systems (RSs) based on pretrained large language models (LLMs), fully utilizing their encoded knowledge and reasoning ability. However, the semantic gap between natural language and recommendation tasks is still not well addressed, leading to multiple issues such as spuriously-correlated user/item descriptors, ineffective language modeling on user/item contents, and inefficient recommendations via auto-regression, etc. In this paper, we propose CLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and ID paradigm of RS, aiming to address the above challenges simultaneously. We first extend the vocabulary of pretrained LLMs with user/item ID tokens to faithfully model the user/item collaborative and content semantics. Accordingly, in the pretraining stage, a novel soft+hard prompting strategy is proposed to effectively learn user/item collaborative/content token embeddings via language modeling on RS-specific corpora established from user-item interactions and user/item features, where each document is split into a prompt consisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and a main text consisting of homogeneous item tokens or vocab tokens that facilitates stable and effective language modeling. In addition, a novel mutual regularization strategy is introduced to encourage the CLLM4Rec to capture recommendation-oriented information from user/item contents. Finally, we propose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where an item prediction head with multinomial likelihood is added to the pretrained CLLM4Rec backbone to predict hold-out items based on the soft+hard prompts established from masked user-item interaction history, where recommendations of multiple items can be generated efficiently.
http://arxiv.org/pdf/2311.01343
Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li
cs.IR
null
null
cs.IR
20231102
20231108
[ { "id": "2302.13971" }, { "id": "2206.07682" }, { "id": "2308.10053" }, { "id": "2307.02046" }, { "id": "2306.05817" }, { "id": "2205.08084" }, { "id": "2303.14524" }, { "id": "2305.07001" }, { "id": "2303.13835" }, { "id": "2303.18223" }, { "id": "2302.03735" }, { "id": "2305.00447" }, { "id": "2305.08845" }, { "id": "2104.08691" }, { "id": "2308.10837" }, { "id": "2305.06569" } ]
{ "authors": "Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li", "chunk_id": 49, "doc_id": "2311.01343", "primary_category": "cs.IR", "published": 20231102, "source": "http://arxiv.org/pdf/2311.01343", "summary": "Recently, there is a growing interest in developing next-generation\nrecommender systems (RSs) based on pretrained large language models (LLMs),\nfully utilizing their encoded knowledge and reasoning ability. However, the\nsemantic gap between natural language and recommendation tasks is still not\nwell addressed, leading to multiple issues such as spuriously-correlated\nuser/item descriptors, ineffective language modeling on user/item contents, and\ninefficient recommendations via auto-regression, etc. In this paper, we propose\nCLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and\nID paradigm of RS, aiming to address the above challenges simultaneously. We\nfirst extend the vocabulary of pretrained LLMs with user/item ID tokens to\nfaithfully model the user/item collaborative and content semantics.\nAccordingly, in the pretraining stage, a novel soft+hard prompting strategy is\nproposed to effectively learn user/item collaborative/content token embeddings\nvia language modeling on RS-specific corpora established from user-item\ninteractions and user/item features, where each document is split into a prompt\nconsisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and\na main text consisting of homogeneous item tokens or vocab tokens that\nfacilitates stable and effective language modeling. In addition, a novel mutual\nregularization strategy is introduced to encourage the CLLM4Rec to capture\nrecommendation-oriented information from user/item contents. Finally, we\npropose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where\nan item prediction head with multinomial likelihood is added to the pretrained\nCLLM4Rec backbone to predict hold-out items based on the soft+hard prompts\nestablished from masked user-item interaction history, where recommendations of\nmultiple items can be generated efficiently.", "text": "# 4.1 Experimental Setup\n4.1.1 Datasets. The experiments are mainly based on four pub- lic datasets: Amazon (AM)-Beauty dataset, AM-Toys dataset, AM- Sports dataset [17] and the Yelp dataset [38], where we binarize the interactions by keeping only ratings > 3 and treat them as implicit feedback [39]. In addition, we filter the dataset such that they keep the original 5-core property after binarization. For each user, we randomly select 80% of interactions for training, 10% for validation, and 10% for testing, where as least one item is selected in the valida- tion and the test set. The reviews that users provide to the items are collected as the textual feature x𝑢𝑣 𝑖 𝑗 . The real-world experiments are based on a job recommendation dataset collected nearline at the Company, where user’s click on the job Ads are logged as the implicit feedback, and users’ self-provided biography x𝑢 𝑖 and the job descriptions x𝑣 𝑗 are collected as the textual features, respectively. The statistics of the dataset are summarized in Table 3 in Appendix.", "title": "Collaborative Large Language Model for Recommender Systems", "year": 2023 }
[ -0.025796676, 0.027711011, 0.035047065, -0.007951856, 0.042891826, -0.0329587, 0.0037751233, 0.037724458, 0.0117805265, 0.015542263, 0.023159444, -0.06270453, -0.031834196, -0.008299916, 0.022101874, 0.049638856, 0.035154164, -0.00031250188, -0.042115383, 0.007416377, 0.0070348484, -0.008955877, 0.009812643, -0.013641315, 0.036305442, -0.022235744, -0.0102678, 0.008540882, -0.01828659, -0.058152962, 0.018032238, -0.018018851, -0.04674727, -0.00815266, 0.0023025575, 0.0016114556, 0.014283889, 0.016278546, 0.041178294, -0.0018407073, -0.010629248, -0.0016859205, -0.02538168, 0.007664036, -0.03194129, 0.009772482, -0.021753814, 0.0009270471, 0.04190119, 0.03625189, -0.072236046, 0.039197024, -0.012014799, -0.06195486, 0.028139394, 0.018889004, 0.011747059, 0.011010776, 0.030950656, 0.020308021, -0.020388342, -0.03745672, -0.010241026, 0.040964104, -0.057510387, -0.02419024, -0.026104577, 0.008058951, 0.0008835395, 0.007121864, 0.034083206, -0.010448524, 0.022597192, 0.011425772, 0.008815315, -0.004554914, 0.03370837, 0.01917013, -0.050281428, -0.01344051, 0.0208435, 0.014083084, -0.035903834, -0.0069612204, -0.06688126, -0.038929287, -0.026425863, -0.030870335, -0.058260057, 0.017162085, -0.044203747, 0.00316769, -0.020080443, 0.051753994, 0.049371116, -0.013012127, -0.019866252, -0.043079242, 0.022490095, 0.045810185, -0.007322668, 0.0116667375, 0.024685558, 0.010910374, 0.046854366, -0.025850223, -0.01872836, 0.005870183, -0.015475328, 0.002006371, -0.043427303, 0.006733642, -0.05057594, -0.013654701, -0.012188829, 0.011947864, -0.055422023, -0.060562618, -0.039277345, -0.030950656, -0.04701501, 0.006552918, 0.016024193, -0.031753875, 0.018353526, -0.02953164, 0.018942552, -0.08958555, -0.007637262, -0.04040185, -0.017791273, -0.016010806, 0.025087167, -0.019223677, -0.029986795, 0.028166167, -0.0063755405, 0.023587827, -0.03392256, -0.0304955, -0.03895606, -0.026586507, -0.03362805, 0.00047105373, -0.06784512, -0.0028547696, 0.020026896, 0.022690902, -0.057510387, 0.018139334, -0.014565014, 0.0083400775, 0.0054886546, -0.0012207236, -0.010682796, -0.0027292669, 0.008380238, 0.033547726, 0.021713652, -0.035368353, 0.0534943, -0.016706929, 0.013079062, -0.027443273, -0.028808743, 0.02838036, -0.050602715, 0.01207504, -0.075448915, -0.05212883, 0.012871564, -0.018045625, 0.01647935, -0.018152721, -0.0009973287, 0.0077108904, 0.010850132, -0.028808743, -0.0151406545, -0.020348182, -0.0088621685, -0.029210351, -0.026091188, -0.024002822, -0.040482175, -0.05239657, -0.020682856, -0.0018775214, 0.007891614, -0.015917098, 0.035475448, 0.04551567, 0.030950656, -0.0042001596, -0.0033233133, -0.01934416, 0.02732279, 0.019665448, -0.058849085, 0.032316126, 0.023373635, 0.029397769, -0.011947864, -0.023561053, -0.029237125, -0.031164847, -0.028192943, 0.017242407, -0.07175412, 0.0056928056, 0.0367606, 0.013052288, 0.027711011, 0.040723138, -0.050254654, 0.005625871, -0.058527797, 0.015395006, 0.0030806747, 0.03097743, 0.0045047128, 0.03801897, 0.032905154, -0.02080334, -0.005328011, 0.05301237, 0.0472292, -0.044712454, 0.0139492145, -0.08117854, 0.020441892, 0.0060576005, -0.040883783, 0.0019779236, 0.0061211884, 0.00095967785, -0.015274524, 0.026291994, -0.024069758, -0.02265074, -0.0009161702, 0.005445147, -0.0046118083, -0.0006902652, 0.01709515, 0.043828912, -0.023306701, -0.03376192, -0.013273173, -0.003945807, -0.0006818984, 0.022449935, -0.03767091, -0.04176732, -0.003691455, -0.012001411, -0.034350943, 0.04401633, 0.014565014, 0.033949334, -0.0078514535, 0.011934477, -0.008855475, 0.03247677, -0.021526234, -0.017175471, 0.008058951, -0.0032848257, -0.0021569743, -0.049558535, -0.01921029, 0.028674873, 0.025528938, 0.034083206, -0.033333536, 0.012356166, 0.0065763453, 0.01872836, 0.005003377, -0.02251687, -0.003728269, 0.032771282, 0.03943799, -0.0055924035, 0.027871655, 0.030870335, -0.0022289292, 0.0052711163, -0.009852804, 0.023962662, 0.018273203, -0.04516761, 0.041927963, -0.03242322, 0.040562496, -0.005291197, 0.048193064, -0.03124517, -0.0061847763, -0.030468727, 0.025769902, 0.008052258, -0.0052041817, 0.02603764, -0.012597132, 0.044525035, -0.0037583895, 0.0062751384, 0.020267861, -0.014337436, -0.015662747, 0.0329587, -0.008815315, 0.017523533, -0.053869136, -0.0047021704, 0.03692124, -0.04714888, 0.009953206, -0.044792775, -0.027871655, -0.03502029, -0.01846062, 0.03820639, 0.00043298455, -0.024391046, 0.008105805, -0.049371116, -0.025636032, -0.018085785, -0.019705608, -0.0065361843, 0.015314684, 0.033949334, 0.029799378, -0.032503545, -0.02155301, 0.00740299, -0.006124535, 0.049023055, -0.07496699, -0.017376278, -0.03825994, -0.016988056, 0.04093733, 0.024270562, 0.009176763, 0.078822434, 0.010013448, 0.032664187, -0.0103949765, -0.071486376, -0.017068377, -0.014618563, -0.014685498, -0.050924003, -0.020107217, -0.021044305, 0.006332033, 0.0039826212, -0.020482052, 0.024203628, 0.07941146, -0.037135433, 0.032235805, 0.0029903126, -0.007637262, -0.029424543, -0.013226318, 0.0012876585, 0.012677453, -0.0020080444, -0.0177645, -0.005819982, -0.028835516, 0.0056928056, 0.036546405, 0.02040173, -0.0025418494, 0.030950656, -0.0028514229, 0.016158063, 0.0059772786, -0.019397708, 0.015100493, 0.018219655, -0.0010190825, 0.0021586476, -0.024230402, -0.0030254535, -0.002173708, -0.045488898, 0.0043775365, -0.041847643, 0.024391046, -0.0080790315, 0.019196903, 0.042543765, 0.040428627, 0.05151303, -0.038045745, -0.032155484, 0.000018537805, -0.0039424603, -0.015823388, 0.037162207, -0.02674715, 0.010843439, 0.009223617, 0.005351438, 0.009029506, -0.041044425, 0.019143356, -0.0026606587, -0.021392366, 0.00028384544, 0.00559575, 0.060937453, 0.041178294, 0.057135556, -0.020334795, -0.016412415, -0.010669408, -0.028273264, -0.041178294, 0.0236146, -0.002372839, -0.027470047, -0.015876938, -0.014752432, -0.028621325, 0.050709814, 0.027577141, -0.03732285, -0.092691325, -0.03643931, 0.07287862, 0.029451316, -0.00572962, -0.022262517, 0.019799316, -0.009424421, -0.024725718, 0.021218335, -0.025769902, 0.007443151, -0.009129908, 0.04460536, 0.009913045, -0.019973347, -0.027818108, -0.051138196, -0.0034203688, 0.036680277, -0.02728263, -0.05057594, 0.027001502, -0.02507378, 0.010428444, -0.00009585274, 0.011124565, 0.028594552, 0.013293253, 0.04160668, 0.0385009, 0.019585125, -0.048353706, 0.01011385, 0.026278606, -0.046827592, 0.0018591144, -0.028433908, 0.021834135, -0.029317446, -0.050388526, -0.0070348484, 0.0015478674, -0.026988115, 0.03793865, -0.02203494, 0.04768436, 0.015970645, -0.02419024, 0.015783228, 0.052048508, 0.07726955, -0.00031835868, -0.012369553, -0.026171511, 0.037403174, 0.0124164075, -0.01044183, 0.029237125, -0.014899689, 0.019103196, 0.009631919, -0.015783228, -0.043828912, 0.027055051, 0.019933186, 0.020508826, 0.003661334, -0.018741747, 0.045140836, 0.011988024, 0.013587766, -0.009136601, -0.023065737, 0.001916009, 0.015100493, -0.015180815, 0.012570357, 0.028701646, -0.01572968, -0.03710866, 0.0023075775, -0.029156804, 0.02538168, -0.012510116, 0.042543765, -0.0037483494, 0.006188123, -0.03657318, -0.0054317596, -0.012664066, -0.043239888, -0.034538362, -0.13386962, -0.049210474, -0.02736295, -0.03220903, 0.032235805, 0.0103615085, -0.019397708, -0.04508729, -0.03943799, -0.0038621386, -0.005364825, 0.0020733057, 0.010307961, 0.020441892, 0.0075368597, -0.0007684953, -0.024712332, 0.018299976, -0.014779206, 0.029344222, -0.0050100707, -0.011559642, -0.034163527, 0.040616043, -0.041927963, -0.0030840214, -0.01361454, 0.011947864, -0.008005403, -0.019103196, -0.036225118, -0.0028631366, -0.0037985505, 0.011954557, -0.008072338, 0.025047006, 0.045006968, -0.02961196, -0.0051673674, 0.037992198, -0.014029536, -0.000092087656, 0.020441892, -0.0280323, 0.00084672536, 0.025970707, -0.06324001, -0.009397647, 0.016064355, -0.015421781, -0.036118023, 0.00799871, 0.02097737, -0.028139394, -0.021874296, -0.013012127, 0.025020232, -0.03700156, 0.0149933975, 0.03274451, 0.0018072398, 0.008246369, 0.013761797, 0.06859479, -0.04251699, 0.01359446, -0.017858207, 0.019625286, 0.038661547, 0.007054929, -0.000011425981, 0.010622554, -0.0124164075, 0.02678731, -0.0072356528, -0.010026835, -0.019973347, -0.014712271, 0.03793865, 0.007945162, 0.028139394, 0.04058927, 0.004380883, -0.016947893, 0.0077108904, -0.03322644, 0.011626577, -0.036626726, 0.033815466, 0.015662747, -0.002643925, 0.025729742, -0.03485965, -0.03820639, -0.017121924, -0.023520892, -0.0048126127, 0.011934477, 0.019089809, -0.00055179384, -0.022369614, 0.007737664, 0.013514138, -0.036680277, 0.032235805, 0.03895606, -0.024672171, -0.015100493, -0.004889588, 0.00059990323, 0.024257176, 0.0036178264, 0.001480096, 0.020522213, 0.04305247, 0.007911694, -0.038286712, 0.022583805, -0.01267076, -0.0069210595, -0.02432411, -0.04224925, -0.020187538, -0.0528785, -0.013259786, -0.0023912461, 0.010816665, 0.029906474, -0.000890233, -0.028942611, -0.022757836, 0.005933771, -0.019022873, -0.027068438, 0.00010218017, 0.005174061, -0.009571678, -0.030923882, 0.065328375, -0.00097139145, 0.023146058, 0.008433786, 0.04706856, -0.0118943155, 0.0002951407, -0.026064415, -0.000710764, 0.012523503, -0.032235805, -0.009658693, -0.047041785, 0.0012608845, 0.034163527, 0.010863519, -0.006824004, -0.018688198, -0.04982627, -0.010669408, -0.03485965, 0.044176973, 0.009484663, 0.018822068, -0.032717735, 0.005016764, -0.01269084, -0.0012157034, 0.0055622826, -0.01863465, -0.028192943, -0.032449994, 0.018661425, -0.013842119, -0.027416497, -0.03220903, 0.014792593, 0.015702907, -0.024565075, -0.03925057, -0.0061847763, 0.0028848904, 0.0007869024, 0.041044425, -0.020696243, -0.017911755, -0.019933186, -0.0030170865, 0.023601213, -0.00020843919, 0.0030170865, -0.005391599, 0.011593109, -0.0013069022, -0.018059012, -0.027603915, 0.026372315, -0.030200986, 0.0056292177, -0.0044076573, 0.0013562666, -0.024176853, -0.04481955, -0.050790135, -0.009658693, 0.025354907, 0.012925112, 0.026425863, 0.015381619, 0.02220897, -0.007764438, -0.018982712, 0.025087167, -0.0028179556, -0.00007890986, 0.008232982, -0.01678725, 0.024886362, 0.04524793, -0.035502225, -0.026773924, -0.0117805265, 0.031325493, -0.0054083327, -0.03777801, -0.005953851, 0.012162055, 0.001163829, 0.008714912, -0.006372194, -0.023387022, 0.0111915, -0.03097743, -0.03895606, 0.059866495, 0.014926462, 0.031057753, -0.0047891857, 0.031887744, 0.0037483494, -0.018487394, -0.010448524, 0.0032530318, 0.050870456, 0.021258496, -0.020736404, -0.029826151, 0.034431268, -0.008286529, 0.08546237, -0.004966563, 0.009056279, 0.018889004, 0.012001411, -0.010214252, 0.0040696366, 0.012289231, 0.00012738531, -0.023346862, -0.0006898469, -0.021352204, -0.0025518897, 0.013105836, -0.0021218334, -0.039625406, -0.021860909, -0.013634621, -0.008701526, -0.01763063, 0.021258496, 0.021860909, -0.027523594, -0.09574355, 0.0067135612, 0.02234284, -0.04808597, 0.019745769, 0.026974728, 0.0229988, 0.035662867, -0.018152721, -0.007623875, -0.0033785345, -0.027711011, -0.0060207862, -0.004062943, -0.02728263, -0.028674873, -0.005160674, 0.02234284, 0.020147378, -0.0045582606, -0.0043641496, -0.010569006, -0.020374956, 0.023387022, -0.011834075, -0.023333475, -0.001525277, 0.009424421, 0.031566456, -0.027550368, -0.018808682, -0.009149988, 0.004380883, 0.02670699, 0.0014248748, 0.013761797, -0.009765789, 0.024230402, -0.039491538, -0.0061914697, -0.015810002, -0.009678774, 0.009906352, -0.023641376, 0.04564954, -0.059759397, -0.00084881706, 0.02493991, -0.019317387, -0.0019026219, 0.014230341, 0.0039257267, -0.012316005, -0.012931805, -0.018955939, -0.0023611255, 0.0280323, -0.023587827, 0.0152209755, -0.02538168, -0.024056371, 0.0027543674, 0.0335745, -0.015060333, -0.004243667, -0.016907733, -0.043561175, 0.03842058, -0.026184898, -0.008728299, -0.004655316, 0.018085785, 0.034404494, 0.005970585, -0.016773863, -0.024350883, 0.017644016, 0.019973347, -0.018567717, -0.021044305, 0.044953417, -0.014926462, 0.010475297, -0.0010617535, -0.015354846, 0.007831373, -0.0041834256, 0.00064257416, 0.013922441, 0.012235683, 0.027791332, 0.0068675117, 0.006378887, -0.022771223, 0.010408363, -0.018072398, 0.0073293615, 0.026640054, 0.025328131, -0.0017737725, 0.0062717916, -0.019799316, -0.038554452, 0.04755049, 0.01863465, 0.01788498, 0.023949275, -0.011345451, 0.016024193, -0.002712533, -0.025274584, -0.010542233, -0.02326654, -0.007831373, -0.03097743, 0.031084526, -0.022222357, 0.04401633, 0.021660104, -0.00086262234, 0.0065830387, -0.0073962966, -0.024538301, 0.02190107, -0.01701483, -0.016573058, 0.015850164, -0.02230268, 0.014123245, 0.029451316, 0.037483495, 0.023949275, 0.008085725, 0.016639994, 0.002643925, 0.043641496, 0.03145936, -0.023962662, 0.0021753814, 0.023547666, -0.015662747, 0.0114391595, 0.02313267, 0.021258496, 0.01176714, 0.018996099, -0.022356227, -0.017108537, -0.02503362, 0.028674873, -0.0065161036, -0.004357456, -0.01784482, -0.00590365, -0.007945162, 0.0040964102, -0.023253154, -0.042945374, 0.015515489, 0.03965218, -0.029665507, -0.0054886546, 0.005080352, -0.022369614, 0.03207516, -0.02947809, -0.0022389693, -0.0002629283, 0.015006784, 0.019196903, -0.035154164, -0.018982712, 0.063400656, 0.032717735, 0.03427062, 0.02190107, 0.0076506487, 0.00033990334, -0.001118648, 0.016492737, -0.0034806102, 0.0055924035, -0.016332094, -0.037724458, 0.04216893, -0.00859443, -0.006753722, -0.002133547, -0.00038696686, 0.020696243, 0.0056057903, 0.022115262, 0.032851607, 0.06366839, -0.008975958, -0.007911694, -0.008072338, -0.011245048, 0.0019829439, -0.013882279, -0.0042336266, -0.021057691, 0.0044946726, 0.0183803, -0.0002474496, -0.029103255, -0.0040964102, -0.014203567, -0.004334029, 0.0341903, -0.04074991, 0.03657318, -0.013494058, -0.016238386, 0.019397708, 0.020522213, -0.0003430409, 0.02763069, -0.044792775, -0.0076707294, -0.0017637323, -0.032583866, 0.0037215755, 0.0122691505, -0.026251832, 0.02415008, 0.0042838277, -0.031271942, -0.019665448, 0.026827471, -0.00022151238, 0.048674993, -0.013989375, 0.0062416713, -0.006044213, -0.01359446, -0.025970707, -0.03582351, 0.028621325, 0.012664066, 0.04816629, -0.005843409, -0.0057463534, -0.03534158, 0.0006526144, -0.01921029, 0.037296075, -0.008621204, 0.0046620094, 0.012905031, 0.003406982, -0.0047657583, 0.045355026, 0.0024799348, 0.007289201, -0.03732285, 0.0054484936, 0.010194171, 0.032798056, 0.012316005, -0.020990757, 0.035662867, 0.004153305, -0.031138074, -0.008949184, -0.00377847, 0.017483372, 0.009036199, 0.00483604, -0.003457183, -0.05255721, 0.026720377, 0.022570418, 0.025729742, -0.0029836192, 0.014136632, -0.0058266753, -0.0034371025, -0.031914517, -0.014859528, -0.030522274, -0.019558351, -0.018353526, 0.0057764743, 0.022476709, -0.0335745, 0.01749676, -0.0012474975, 0.04455181, 0.025555711, 0.05172722, 0.039330896, 0.0236146, -0.0044076573, -0.0025267892, -0.009652, -0.014150019, 0.0029350915, 0.06366839, -0.016706929, -0.0013520832, 0.0077845184, 0.053387206, -0.008681444, 0.05437784, 0.0062349774, -0.01568952, -0.009337406, -0.018139334, 0.016158063, 0.013648008, 0.016425803, 0.005374865, 0.0033115998, -0.00738291, -0.022275904, 0.012496729, 0.00709509, -0.03242322, 0.00059111806, -0.002792855, -0.0071553313, 0.0002972324, 0.015957259, -0.0229988, 0.0012165402, 0.0007973609, -0.01643919, -0.010013448, 0.006967914, -0.020374956, 0.017269181, 0.0074900053, -0.0011914396, 0.0138019575, -0.000362703, -0.020013507, -0.0137216365, -0.016894346, -0.0049464824, 0.020522213, 0.008032178, 0.0118943155, -0.0055790166, 0.03507384, 0.021700265, 0.0040529026, 0.015769841, 0.0047523715, -0.017737724, 0.061633572, -0.0148461405, -0.02234284, 0.0033450671, 0.008935797, -0.00014924371, 0.00859443, 0.025984094, -0.009330712, 0.005843409, -0.01780466, -0.00009067575, -0.012992047, 0.021834135, 0.017028216, 0.014457919, -0.0006605629, 0.025421841, 0.018179495, -0.017777886, 0.010843439, 0.034404494, 0.03459191, 0.009183456, 0.015180815, -0.011251742, 0.015970645, -0.013353495, 0.01987964, 0.028353585, 0.009297245, -0.030093892, -0.016532898, 0.0013805304, -0.06966575, 0.02415008, -0.022182196, 0.026626667, -0.0018875616, -0.0029283979, 0.04543535, -0.023212992, 0.024404433, -0.010140624, -0.0099866735, 0.0003227513, 0.023387022, 0.026506186, -0.041981515, -0.0114994, -0.011954557, 0.023935888, -0.010321348, -0.018929165, -0.008815315, -0.022048326, 0.0031074486, 0.029879699, 0.02657312, -0.0053982926, 0.0019126622, -0.010823359, -0.033949334, 0.030923882, 0.049853045, -0.055796858, 0.0010266127, -0.00095465773, 0.00936418, -0.0026422516, 0.01903626, 0.023413796, 0.029076481, -0.006733642, 0.046854366, 0.027951976, 0.009464582, 0.0006605629, 0.045355026, 0.011305289, 0.00030413506, 0.014631949, 0.0024933217, 0.011352144, 0.00106008, -0.014203567, 0.025930546, 0.02220897, -0.018259816, 0.04018766, -0.011726979, 0.02665344, 0.08562301, 0.041874416, -0.00500003, 0.003443796, -0.0072356528, 0.028407134, 0.012496729, -0.03437772, 0.007028155, -0.0139492145, -0.00047314545, 0.018714974, -0.023735084, 0.007208879, -0.044658907, 0.009263778, 0.03820639, -0.008962571, 0.008032178, 0.0032513584, 0.010174091, 0.0114056915, -0.0140964715, 0.0077845184, -0.032021612, 0.0063822344, -0.028969387, -0.0372693, 0.0030070464, 0.0038454048, -0.030093892, -0.0018976019, -0.0041097975, -0.0012140301, 0.023453958, -0.037483495, 0.014899689, 0.03900961, -0.013641315, 0.013320027, 0.00923031, 0.025221037, -0.0021184867, 0.012429794, -0.036305442, -0.048701767, -0.01934416, -0.008935797, -0.00045850346, -0.011305289, -0.011465933, -0.015970645, 0.0075770207, -0.030629368, -0.016184837, -0.026506186, 0.011445853, -0.0028079152, 0.01771095, 0.004581688, 0.009029506, 0.015622585, 0.015287911, 0.0064759427, 0.018875616, -0.043373756, 0.019330774, 0.0025552365, 0.016840799, 0.016586445, -0.023802018, -0.02763069, 0.040883783, 0.03890251, -0.0064123548, -0.026318768, 0.00084547035, -0.003691455, -0.023681536, -0.013105836, 0.01101747, 0.019491417, 0.0065428778, -0.023520892, 0.021914456, 0.014176792, -0.011720285, -0.0005384069, 0.020147378, -0.01401615, -0.0013838772, -0.013909054, -0.009411034, -0.0032613985, 0.011077711, -0.00023469017, -0.0019595167, -0.043079242, -0.011827381, -0.02811262, 0.02370831, 0.0054585338, 0.015234363, 0.05207528, -0.006616506, -0.0066767475, 0.0053815586, 0.017028216, -0.027684238, -0.0006132902, -0.046988238, 0.00951813, 0.0064056613, 0.016653381, 0.0022490097, -0.0051573273, 0.0075301663, 0.033815466, 0.02599748, -0.0041834256, -0.015100493, 0.0130857555, 0.0048561203, 0.012918418, -0.0177645, 0.038982835, -0.022289291, 0.0063655004, 0.047604036, -0.009772482, 0.003651294, -0.008982652, 0.005599097, -0.008808621, 0.051539805, -0.013467284, 0.019933186, -0.00936418, -0.007463231, -0.0035006907, -0.00892241, -0.030200986, 0.00015457757, 0.017523533, 0.00844048, 0.0076841163, 0.011706898, -0.018889004, 0.014939849, 0.008955877, -0.009598452, 0.035448674, -0.008380238, 0.059438113, 0.022838157, 0.026198285, -0.009069667, -0.009163376, 0.004026129, 0.009919739, -0.01207504, -0.04481955, 0.02282477, -0.037697684, 0.008929104, 0.0068608182, -0.034002885, 0.01688096, -0.024123305, -0.0012341106, -0.0047490248, -0.030308083, 0.0060944143, -0.010314655, -0.040642817, 0.022543645, -0.04653308, 0.013092449, 0.00936418, 0.013815345, -0.01855433, 0.017523533, -0.016800638, 0.010970616, 0.025810063, 0.030790012, -0.004370843, -0.059384562, 0.0066566668, 0.03427062, -0.005445147, -0.0019544964, 0.002697473, 0.029317446, -0.034002885, -0.007443151, 0.014069697, 0.008025484, -0.0061513092, 0.03212871, 0.0048226533, -0.0044578584, 0.008795234, -0.018808682, 0.002792855, 0.0059136907, 0.009377567, 0.002702493, 0.014310663, -0.039330896, 0.05745684, 0.012168748, 0.023186218, 0.015609197, 0.012108508, 0.020200925, -0.01436421, 0.002779468, -0.012262457, -0.018433847, -0.0013637968, 0.0021720347, 0.026198285, -0.0034471427, 0.01780466, 0.039036382, -0.0065060635, 0.013735023, -0.038474128, 0.0042336266, -0.0118073, 0.011332063, 0.019893026, 0.00650941, -0.0034638764, 0.018822068, 0.014658723, 0.030200986, 0.037403174, 0.03670705, 0.008949184, -0.01405631, -0.008975958, 0.018889004, -0.0061312285, 0.0023694923, -0.011164727, 0.0034153487, -0.014109858, 0.010321348, 0.0054920013, 0.01912997, 0.027269242, 0.020348182, 0.026840858, 0.017737724, -0.01793853, -0.014565014, 0.0065964255, 0.027001502, -0.002843056, 0.0027560408, 0.010254413, -0.0023142712, 0.011733673, -0.024658784, -0.029103255, 0.016425803, -0.0016465964, 0.0009044566, 0.0011345451, -0.0076841163, -0.017068377, 0.011546255, 0.008801928, 0.0075904075, 0.007302588, -0.02309251, 0.009049586, 0.018072398, 0.012757774, 0.002160321, -0.019745769, 0.00046436026, -0.029986795, -0.02005367, 0.0045448737, -0.052798178, 0.05451171, -0.012637292, -0.0055924035, -0.029960021, 0.019076422, -0.023855567, -0.021030918, 0.026559733, -0.03178065 ]
2311.01343
50
Implementation Details. Due to the space limitation, we 4.1.2 only discuss CLLM4Rec with GPT-2 backbone with token embed- ding 768 and token size 50,257 in this section, where experiments with T5 backbone are discussed in Appendix B. During the train- ing stage, we first optimize the content LLM as Eq. (5) via lan- guage modeling for 10 epochs to warm up the user/item content token embeddings. Then, in the mutually-regularized pretraining stage, we alternatively train the collaborative and content LLMs as specified in Eqs. (7) and (8) for 100 epochs. Finally, we conduct the recommendation-oriented finetuning for 150 epochs, where the RecLLM is monitored with metrics Recall@20, Recall@40, and Collaborative Large Language Model for Recommender Systems NDCG@100 calculated on the validation set as with [39]. RecLLM with the best performance are logged and evaluated on the test set as the final results. 𝜆𝑐 in Eqs. (7) and (8) is an important hyper- parameter, we first fix its value to the optimal one found by grid search, and then discuss its influence in Section 4.3. # 4.2 Comparison with Baselines
2311.01343#50
Collaborative Large Language Model for Recommender Systems
Recently, there is a growing interest in developing next-generation recommender systems (RSs) based on pretrained large language models (LLMs), fully utilizing their encoded knowledge and reasoning ability. However, the semantic gap between natural language and recommendation tasks is still not well addressed, leading to multiple issues such as spuriously-correlated user/item descriptors, ineffective language modeling on user/item contents, and inefficient recommendations via auto-regression, etc. In this paper, we propose CLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and ID paradigm of RS, aiming to address the above challenges simultaneously. We first extend the vocabulary of pretrained LLMs with user/item ID tokens to faithfully model the user/item collaborative and content semantics. Accordingly, in the pretraining stage, a novel soft+hard prompting strategy is proposed to effectively learn user/item collaborative/content token embeddings via language modeling on RS-specific corpora established from user-item interactions and user/item features, where each document is split into a prompt consisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and a main text consisting of homogeneous item tokens or vocab tokens that facilitates stable and effective language modeling. In addition, a novel mutual regularization strategy is introduced to encourage the CLLM4Rec to capture recommendation-oriented information from user/item contents. Finally, we propose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where an item prediction head with multinomial likelihood is added to the pretrained CLLM4Rec backbone to predict hold-out items based on the soft+hard prompts established from masked user-item interaction history, where recommendations of multiple items can be generated efficiently.
http://arxiv.org/pdf/2311.01343
Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li
cs.IR
null
null
cs.IR
20231102
20231108
[ { "id": "2302.13971" }, { "id": "2206.07682" }, { "id": "2308.10053" }, { "id": "2307.02046" }, { "id": "2306.05817" }, { "id": "2205.08084" }, { "id": "2303.14524" }, { "id": "2305.07001" }, { "id": "2303.13835" }, { "id": "2303.18223" }, { "id": "2302.03735" }, { "id": "2305.00447" }, { "id": "2305.08845" }, { "id": "2104.08691" }, { "id": "2308.10837" }, { "id": "2305.06569" } ]
{ "authors": "Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li", "chunk_id": 50, "doc_id": "2311.01343", "primary_category": "cs.IR", "published": 20231102, "source": "http://arxiv.org/pdf/2311.01343", "summary": "Recently, there is a growing interest in developing next-generation\nrecommender systems (RSs) based on pretrained large language models (LLMs),\nfully utilizing their encoded knowledge and reasoning ability. However, the\nsemantic gap between natural language and recommendation tasks is still not\nwell addressed, leading to multiple issues such as spuriously-correlated\nuser/item descriptors, ineffective language modeling on user/item contents, and\ninefficient recommendations via auto-regression, etc. In this paper, we propose\nCLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and\nID paradigm of RS, aiming to address the above challenges simultaneously. We\nfirst extend the vocabulary of pretrained LLMs with user/item ID tokens to\nfaithfully model the user/item collaborative and content semantics.\nAccordingly, in the pretraining stage, a novel soft+hard prompting strategy is\nproposed to effectively learn user/item collaborative/content token embeddings\nvia language modeling on RS-specific corpora established from user-item\ninteractions and user/item features, where each document is split into a prompt\nconsisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and\na main text consisting of homogeneous item tokens or vocab tokens that\nfacilitates stable and effective language modeling. In addition, a novel mutual\nregularization strategy is introduced to encourage the CLLM4Rec to capture\nrecommendation-oriented information from user/item contents. Finally, we\npropose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where\nan item prediction head with multinomial likelihood is added to the pretrained\nCLLM4Rec backbone to predict hold-out items based on the soft+hard prompts\nestablished from masked user-item interaction history, where recommendations of\nmultiple items can be generated efficiently.", "text": "Implementation Details. Due to the space limitation, we 4.1.2 only discuss CLLM4Rec with GPT-2 backbone with token embed- ding 768 and token size 50,257 in this section, where experiments with T5 backbone are discussed in Appendix B. During the train- ing stage, we first optimize the content LLM as Eq. (5) via lan- guage modeling for 10 epochs to warm up the user/item content token embeddings. Then, in the mutually-regularized pretraining stage, we alternatively train the collaborative and content LLMs as specified in Eqs. (7) and (8) for 100 epochs. Finally, we conduct the recommendation-oriented finetuning for 150 epochs, where the RecLLM is monitored with metrics Recall@20, Recall@40, and\nCollaborative Large Language Model for Recommender Systems\nNDCG@100 calculated on the validation set as with [39]. RecLLM with the best performance are logged and evaluated on the test set as the final results. 𝜆𝑐 in Eqs. (7) and (8) is an important hyper- parameter, we first fix its value to the optimal one found by grid search, and then discuss its influence in Section 4.3.\n# 4.2 Comparison with Baselines", "title": "Collaborative Large Language Model for Recommender Systems", "year": 2023 }
[ 0.032635167, 0.013279944, 0.0880137, -0.019913424, 0.032531317, 0.018822988, 0.026949327, 0.038840264, -0.04307219, 0.061375927, -0.0055787447, -0.027105104, -0.03564685, 0.014279509, -0.010982241, -0.03559492, 0.049147476, -0.048264742, 0.011073111, 0.057377663, -0.012643856, 0.0005001885, 0.007899165, 0.04289045, 0.0012997598, -0.016668081, 0.024924234, 0.015824292, 0.0058091637, -0.063920274, 0.0032031536, -0.022561625, -0.022964047, -0.007912146, -0.019562928, 0.026066594, 0.035439145, 0.042163495, -0.013370813, 0.0374902, -0.050886977, -0.01617479, -0.031752437, 0.014655969, -0.006214832, 0.00007535281, -0.008528762, 0.026157465, 0.013695347, 0.022133239, -0.060804747, 0.031752437, -0.04629157, -0.04182598, 0.0018401095, -0.04956288, 0.028974421, -0.0052477196, 0.019277338, -0.023509264, -0.0017849386, -0.026040632, 0.007496742, -0.0048972224, -0.04068362, -0.05119853, -0.05628723, -0.006036338, 0.028636906, 0.005763729, -0.001568312, -0.03725654, -0.0018011653, -0.045954056, -0.022250071, 0.013993919, 0.03131107, 0.009677613, 0.0010660952, -0.018096032, 0.018381622, -0.004030716, -0.00709432, -0.035335295, -0.009768482, -0.031856287, -0.01324749, -0.043227967, -0.0027666548, -0.013208546, -0.024366034, -0.02488529, -0.031103367, 0.01627864, 0.037879642, -0.027572434, -0.0010279624, -0.020328829, 0.013143639, 0.07337071, -0.024677588, 0.023522247, -0.005062735, -0.050004244, 0.052288964, -0.0024632153, -0.04629157, 0.0016056334, -0.036763243, -0.0022847215, -0.07035904, 0.034270823, -0.029389827, -0.004371477, 0.03725654, -0.078303635, -0.07492848, 0.016499324, -0.030921627, 0.019134542, -0.015655534, 0.013799198, 0.0013963088, -0.06833394, -0.010774539, -0.027390694, 0.08432699, -0.037048835, -0.021873612, -0.008476836, 0.0047446913, -0.015305038, 0.03585455, -0.00013194348, -0.075551584, 0.024534794, -0.029701378, 0.011741651, -0.037100762, -0.038295045, -0.012410192, -0.03224573, -0.032219764, 0.0039723, -0.06381642, 0.020861065, -0.040475916, 0.01787535, -0.047537785, 0.016006032, -0.034115046, -0.04805704, -0.036633432, 0.02157504, -0.04185194, -0.048394553, -0.038762376, 0.013046279, 0.022003425, -0.053794805, 0.0010166037, 0.013903049, 0.02309386, 0.009216774, 0.0019358471, 0.024015538, -0.04408474, 0.0020510568, -0.08614438, -0.018511437, 0.0008876013, -0.040865358, -0.037671942, -0.025716098, -0.05223704, -0.010761557, -0.0098788235, -0.025105974, 0.009171339, -0.040475916, 0.008866277, -0.027728211, -0.033803493, -0.038632564, -0.06568574, 0.027208956, -0.031181255, -0.0025605755, -0.00045231968, 0.02733877, 0.0017719573, 0.025690135, 0.077420905, 0.01733013, -0.012987862, 0.011358701, 0.05415828, 0.0009987543, -0.018991748, 0.00671786, -0.005027036, 0.047252193, -0.021626966, -0.040995173, 0.0014092901, -0.050367724, -0.01919945, -0.016356528, -0.058312323, -0.032012064, 0.025858892, 0.00071924913, 0.033232313, 0.0055527817, -0.057844993, 0.020302866, -0.056598783, 0.0077433884, 0.02649498, 0.034037158, 0.025586285, 0.012371248, 0.011689725, 0.024716532, -0.020484604, 0.0107680475, 0.029961007, -0.040995173, -0.012507551, -0.039307594, 0.038684487, -0.014045845, -0.027105104, -0.0150713725, 0.013929012, -0.017174356, -0.0020526794, 0.004582424, 0.0024567246, -0.035724737, 0.016499324, 0.020458642, 0.028221503, -0.0122089805, 0.011384663, -0.0049264305, -0.010144942, -0.03009082, 0.04418859, 0.03216784, 0.0036477654, -0.01733013, -0.02289914, -0.016252678, -0.014915597, 0.038191196, -0.008301587, 0.004825825, -0.01447423, 0.0052574556, -0.039281633, 0.034141008, 0.013176092, 0.025573302, -0.021782743, 0.0055008563, -0.034192935, 0.0010596045, 0.01703156, -0.026559887, -0.01977063, -0.041124985, 0.006821711, 0.017135412, -0.02733877, -0.033284236, 0.019978331, -0.011871465, -0.0069709965, 0.0021208315, -0.017122429, -0.013591496, 0.0535871, -0.0008762426, -0.017953238, -0.01325398, 0.015785348, -0.009112923, -0.008924693, 0.00737991, 0.020406717, -0.04836859, 0.0491994, -0.02837728, -0.049848467, 0.021432245, 0.0071008103, -0.014772801, 0.004845297, -0.004287098, -0.010424041, 0.01059929, -0.014214602, -0.014019881, 0.020147089, 0.04078747, -0.00074561755, -0.013838142, 0.008678047, 0.024366034, -0.00018620155, 0.038346972, -0.023691004, 0.02640411, -0.02090001, -0.017680628, 0.04681083, -0.057481516, 0.025196843, -0.040475916, -0.0065069124, -0.080172956, 0.0009322248, -0.00035293103, 0.033725604, 0.0054099867, -0.015279074, -0.046317536, -0.016849821, -0.027312806, 0.030973554, -0.0103137, 0.0266897, 0.025560321, 0.01353957, -0.0043682316, -0.020770194, 0.010644725, 0.05109468, 0.06542611, -0.04180002, -0.0150713725, -0.009151868, 0.037775792, -0.01116398, 0.013604478, 0.00032859098, 0.022756346, 0.06386835, 0.017563796, 0.034037158, -0.052392818, 0.02726088, -0.04475977, 0.02809169, -0.0031236426, 0.02990908, -0.027001254, 0.02563821, 0.02318473, -0.026339203, 0.0143963415, 0.011001713, -0.007483761, 0.023872742, 0.046525236, -0.049329214, 0.015240131, 0.0066205, -0.035828587, 0.0119947875, 0.031285107, -0.012072676, 0.02894846, -0.064854935, 0.02204237, 0.03785368, 0.024417961, -0.011358701, 0.013318888, 0.014604043, -0.02309386, -0.010657706, 0.026417091, -0.011280812, 0.026456036, -0.00014117242, -0.0049426574, -0.049640767, 0.0077823326, -0.05524872, -0.00011673093, -0.014617025, 0.017135412, 0.055196792, 0.004994583, 0.024872309, 0.043098155, 0.05467754, 0.0798614, -0.010703141, -0.008418419, 0.0075551583, -0.023288582, 0.02676759, 0.017862368, 0.006860655, 0.02705318, 0.0030068103, -0.01363044, 0.04304623, 0.0119428625, 0.027754173, -0.029857155, 0.003689955, 0.011949353, 0.039956663, 0.04229331, 0.045486726, 0.06615307, -0.0055105924, -0.0028607699, -0.02790995, -0.05810462, -0.007204661, -0.0069904686, 0.005896788, 0.018991748, -0.047018528, -0.03133703, -0.017252244, 0.060441267, 0.05893543, -0.03614014, -0.017135412, -0.0059649404, 0.00088273326, 0.046031944, -0.012754198, -0.016784914, 0.009612706, 0.007886183, -0.056339152, -0.019004729, -0.005280173, -0.0005565763, -0.027234918, 0.008872768, 0.008106867, 0.014266527, -0.021678891, -0.008626122, 0.07196873, -0.0040079984, -0.015603609, -0.052366853, 0.057844993, -0.029285975, 0.061116297, -0.012890502, 0.05223704, -0.023535227, 0.008723482, -0.019952368, 0.009223265, 0.020406717, 0.023119824, 0.02620939, 0.030532187, -0.0005229059, 0.018589325, -0.033336163, 0.0015399152, -0.003388138, 0.007107301, 0.02676759, 0.017641684, -0.023678022, -0.009054507, -0.025041066, 0.009314135, -0.012689291, 0.028844608, 0.009099942, 0.010093017, 0.09164848, 0.017408019, -0.027234918, 0.0040079984, 0.022470756, 0.043747224, -0.01210513, 0.0042189457, -0.014240565, -0.025235787, -0.029208086, 0.017356094, -0.036555544, 0.004280607, -0.006594537, -0.0053677973, 0.01363044, 0.0026482, 0.025806967, 0.0055268193, 0.029883118, -0.011975315, -0.0014547249, 0.021406282, 0.023600133, 0.01267631, 0.031934176, -0.0054911203, 0.0056696143, -0.0003926865, 0.024859328, -0.047589708, 0.0076979534, -0.00002390905, 0.04315008, 0.019796591, 0.013903049, -0.007788823, -0.011806558, 0.010917334, -0.02044566, -0.006737332, -0.04966673, -0.012987862, -0.016499324, -0.0005151982, -0.0037061817, 0.008424911, -0.006899599, -0.07118984, -0.017278206, -0.01807007, -0.0041605295, -0.03507567, -0.019952368, 0.015720442, 0.026339203, 0.030921627, -0.017628703, 0.02837728, -0.014746838, 0.036633432, 0.0053710425, 0.0059779217, 0.01733013, 0.04844648, -0.023976594, 0.001807656, -0.012819105, -0.044629958, -0.021172617, 0.00087705394, -0.0056696143, -0.012922956, -0.008957147, 0.0042546447, 0.00073060783, -0.0017654665, 0.018290753, -0.03517952, 0.009580253, 0.024067463, 0.023976594, 0.019822555, 0.023353487, -0.034686226, -0.020043239, 0.026274297, -0.011527458, 0.013182583, -0.02432709, 0.008768917, 0.014630006, 0.01836864, 0.010956278, -0.022405848, -0.039255667, -0.0028396752, -0.014110751, -0.035517033, 0.024080444, -0.039982624, 0.0042449087, -0.022717401, 0.029545601, 0.05592375, 0.0013054392, 0.016486343, -0.013500627, -0.07217643, 0.009930749, -0.008983109, -0.0005480573, -0.0187451, -0.019562928, 0.036633432, -0.0046051415, -0.028143615, -0.015343982, -0.014552118, 0.030973554, 0.011352209, 0.019549945, -0.0072630774, -0.0068087294, 0.0069515244, -0.026923366, -0.018433549, -0.037542127, -0.039411444, 0.00008387183, -0.009573761, -0.039255667, 0.010794011, -0.004848542, -0.015577646, -0.01958889, -0.01599305, -0.025949763, 0.02715703, -0.00034218084, -0.028507093, -0.025793986, -0.015720442, 0.017485907, -0.018952804, 0.011079601, 0.020017276, -0.008924693, -0.0024323845, 0.019523984, 0.0319861, 0.0068866177, -0.017109448, -0.0036445202, 0.016694045, 0.017265225, -0.00473171, -0.03624399, 0.0070164315, -0.0048095984, 0.007607084, -0.0144482665, -0.023249637, -0.0361661, -0.015642554, -0.054262135, 0.046992566, 0.023639077, 0.0139160305, -0.0022506453, -0.00019117098, 0.03473815, -0.002578425, 0.0070229224, -0.037620015, -0.028299391, -0.017693609, 0.0050108097, -0.019134542, 0.030739889, 0.0032193803, 0.0035568958, -0.02309386, -0.0027455601, -0.0145910615, 0.007990034, 0.013370813, 0.0011009827, -0.0030636038, -0.041202873, -0.033699643, -0.025806967, -0.007808295, 0.003985281, -0.010761557, -0.0039885263, -0.051899526, -0.051821638, -0.012033732, -0.020147089, 0.028117651, -0.0005074905, 0.010995222, -0.014123732, -0.0067113694, -0.024534794, 0.013091713, -0.031388957, -0.018939821, 0.029130198, -0.00077158026, 0.05384673, 0.0038879209, -0.062310584, -0.017239261, -0.00662699, -0.009294663, -0.017901313, 0.02025094, -0.027806098, -0.026235353, -0.0050562443, 0.03678921, -0.013273452, -0.03084374, -0.01363044, 0.00069450337, 0.012507551, -0.022743363, 0.020471623, 0.018212864, 0.03717865, 0.00016216573, 0.0026125011, -0.024768457, 0.0070359036, -0.03377753, 0.0018222601, 0.002360987, 0.044733807, -0.021081747, 0.024080444, -0.041877907, 0.002370723, 0.027987838, 0.021328393, 0.00091356406, 0.015499758, -0.028896533, 0.019601872, -0.040917285, -0.0070099407, -0.012085658, 0.015019448, 0.0100216195, -0.03125914, -0.017135412, 0.017719572, 0.021795724, -0.010229321, 0.03746424, 0.016161809, 0.0055592726, -0.006821711, -0.07705742, 0.010956278, -0.009495874, -0.013182583, 0.0071981708, -0.005072471, 0.00043974398, -0.023106841, -0.04135865, 0.0066659343, 0.020276902, 0.023613116, 0.0071657174, 0.00074440055, 0.011079601, 0.001355742, -0.029285975, -0.015136279, 0.023976594, -0.01703156, -0.032531317, 0.0017086731, 0.03292076, -0.021276468, 0.063037544, -0.032635167, 0.015305038, 0.029831193, -0.02147119, 0.022289015, -0.02121156, -0.0024875554, 0.018212864, -0.04122884, -0.014642987, -0.024651624, -0.04250101, 0.006614009, 0.0062764934, -0.025664171, -0.03689306, 0.002825071, 0.028610943, -0.010936806, 0.008411929, 0.056443006, -0.026456036, -0.1277367, -0.021899574, 0.025041066, -0.021743799, 0.0040144892, 0.037542127, -0.0015366699, 0.0037451258, -0.028740758, -0.008015997, -0.009787954, -0.033751566, 0.035802625, -0.0225097, -0.019536965, -0.043305855, -0.012332303, 0.005309381, 0.04852437, -0.020082181, -0.009599725, 0.007217643, -0.013760254, 0.01258544, -0.023574172, -0.0059487135, 0.004436384, -0.016979635, -0.009723048, 0.019082617, 0.033284236, 0.00040972454, 0.0015983314, 0.029026348, -0.022600569, 0.005299645, -0.011326247, -0.044058777, -0.029441752, -0.016070938, 0.021808704, -0.02563821, 0.0046603126, -0.0042189457, 0.023833798, -0.013604478, 0.002899714, -0.0040469426, -0.0056728595, -0.009041525, 0.010144942, -0.00048517878, 0.0020867556, -0.01835566, 0.012468608, 0.0033719114, 0.001580482, -0.011624819, 0.0071527357, 0.00003121107, 0.0049329214, 0.0006628613, -0.013734291, -0.01948504, -0.038658526, -0.011066619, 0.0019975086, 0.009443948, -0.036659393, -0.020757213, 0.0010376984, -0.02121156, -0.0058221454, 0.014552118, -0.024950197, 0.030324485, 0.012890502, 0.04133269, -0.023444358, 0.037983496, 0.024080444, -0.019186467, 0.006062301, 0.01579833, -0.0037256537, 0.0028185803, 0.038217157, -0.016875783, -0.027754173, 0.011598856, 0.010573328, -0.011553421, 0.011884446, -0.009443948, -0.0032323615, -0.005981167, 0.0061239623, 0.010118979, 0.02478144, -0.023561189, 0.022159202, 0.025729079, -0.049043622, -0.0046440857, 0.019731686, -0.007217643, 0.006357627, -0.017758517, 0.04221542, 0.0017265225, 0.002054302, 0.0062472853, -0.014772801, 0.031440884, -0.03671132, 0.02622237, 0.019653797, 0.037152685, 0.02951964, -0.0021159635, 0.01352659, 0.018758083, -0.006140189, 0.004413666, -0.031103367, -0.024872309, 0.025144918, 0.04836859, -0.0074642887, 0.021990445, -0.008321059, 0.0062667574, 0.0035147064, 0.007834258, -0.041488465, 0.030999515, 0.046395425, 0.015759386, -0.047823373, 0.015486777, 0.018433549, 0.022133239, 0.041488465, -0.00648095, 0.02687144, 0.018407585, -0.0042449087, -0.0335179, -0.011851992, 0.010177395, 0.0013768368, -0.016992616, -0.006416043, 0.01154044, -0.015240131, 0.007172208, -0.00019776309, -0.05415828, 0.026040632, 0.02790995, -0.0069969594, 0.04901766, -0.01210513, -0.0017216544, 0.056339152, -0.010891371, -0.044162627, -0.014344416, -0.02061442, 0.0047933715, -0.017576778, -0.027390694, 0.037594054, 0.02395063, 0.0061207167, 0.008191246, -0.0019098843, 0.01542187, 0.019069634, 0.018316716, -0.014084788, 0.032790944, -0.035049703, 0.0122609055, 0.029441752, 0.01892684, -0.0020835102, -0.017148392, 0.036685355, 0.034790076, 0.014019881, -0.00024644323, 0.018407585, -0.0012023996, 0.044967473, -0.044526104, -0.0068541644, 0.036114175, 0.0005395383, -0.019329263, -0.044448216, 0.05005617, -0.0005861901, -0.0104305325, -0.010891371, -0.002276608, 0.011501496, -0.017369075, -0.013156621, 0.02715703, 0.020497587, 0.01731715, -0.018537398, 0.011495004, 0.0020267167, -0.030246597, -0.010800501, 0.017356094, -0.023703985, 0.0103591345, -0.017200317, 0.003754862, 0.005043263, 0.012540005, -0.012858049, 0.009223265, 0.025508396, -0.005270437, 0.0049653747, 0.009625687, -0.013072241, 0.031103367, -0.0015618213, -0.010229321, -0.012845067, -0.01817392, -0.009619197, -0.013143639, -0.014435286, 0.015733423, 0.046888717, 0.0075486675, -0.01921243, -0.0071786987, 0.0074058725, -0.02090001, -0.02119858, 0.008457364, -0.026001688, -0.019705722, 0.023158768, -0.011774104, 0.018978765, -0.01836864, 0.025962744, -0.012358266, -0.010573328, 0.052470706, 0.058987353, 0.021445226, -0.041124985, 0.04180002, 0.01617479, -0.02697529, -0.00041743222, -0.009911277, 0.007840749, -0.0063900803, 0.027572434, -0.0061012446, -0.010683669, 0.03782772, -0.02744262, 0.02705318, -0.014201621, -0.0009963203, 0.024119388, -0.036763243, -0.0055787447, -0.005422968, -0.03302461, -0.025183862, -0.043903, -0.005153605, 0.02061442, 0.015006466, 0.0038489767, 0.010677178, 0.05685841, -0.020549512, -0.0072695683, 0.036763243, 0.0014320075, 0.009112923, 0.017979199, 0.004316306, 0.0060233567, 0.0025216315, 0.016070938, -0.043669336, 0.018018143, 0.0040339613, 0.011241868, -0.038450822, 0.00851578, 0.014837708, 0.018615287, -0.015227149, -0.011501496, -0.030713925, -0.014565099, 0.018589325, 0.008191246, -0.013682366, -0.021899574, -0.022405848, 0.006763295, 0.007483761, -0.017161373, -0.009904787, 0.018251808, -0.027728211, 0.00046814073, -0.003758107, -0.0033621753, -0.010235812, 0.010865408, -0.008502798, -0.004890732, -0.00023366469, 0.020108145, 0.0029727342, -0.0039723, 0.004475328, -0.031570695, 0.0026936347, -0.014824727, -0.011767614, -0.018991748, -0.018096032, 0.052470706, 0.026897402, 0.015824292, 0.002825071, -0.030480262, 0.02176976, -0.00038335615, -0.025430508, 0.018264791, -0.015577646, 0.058883503, -0.00029005253, -0.045850206, 0.021588022, 0.0020413208, 0.05400251, -0.0113716815, 0.016408455, -0.016694045, 0.029675417, 0.010073544, 0.028740758, -0.0007042394, -0.0022165691, 0.0040923776, 0.004958884, -0.012462117, 0.018706156, 0.02819554, 0.00629272, 0.026949327, -0.009197302, 0.0049459026, 0.0028331843, -0.0028185803, 0.0050010737, 0.007074848, -0.0026595586, 0.017628703, 0.036581505, -0.014240565, -0.0034141007, -0.039852813, 0.03170051, -0.028299391, -0.01694069, -0.027935913, 0.039229706, 0.01579833, -0.0037418804, 0.024521811, -0.011241868, 0.014824727, 0.019511001, -0.0052736825, -0.009619197, -0.022301996, 0.0158892, -0.0053970055, 0.01561659, 0.02138032, -0.026469016, -0.012864539, 0.010631744, -0.0018985256, -0.01334485, -0.0005302079, -0.0047868807, 0.021873612, 0.024132371, -0.033829454, 0.013695347, -0.034816038, 0.0071137915, -0.016525287, -0.045564614, -0.012046713, 0.010047582, -0.01154693, 0.020562492, -0.015759386, 0.014266527, -0.029467715, -0.010755067, 0.010333172, 0.0023106842, 0.003368666, 0.011267831, 0.01495454, 0.016512305, 0.012598421, 0.033699643, -0.026456036, -0.0054002507, 0.0005659067, 0.012896993, 0.034893926, -0.0068476736, -0.01873212, 0.06262214, -0.035049703, 0.01758976, 0.06319332, 0.013046279, -0.008807861, -0.0072825495, -0.022353923, -0.005724785, -0.013169602, -0.0056598783, -0.0045207627, -0.008450873, -0.012345284, 0.027728211, -0.022561625, 0.012552987, -0.04192983, -0.008905221, 0.027286844, 0.021847649, -0.029935043, -0.013130657, 0.01919945, -0.00022352299, -0.0049653747, 0.00852227, -0.026546905, 0.03473815, 0.0016859557, -0.025962744, 0.014655969, -0.0071981708, 0.026923366, 0.027754173, 0.008827332, -0.01978361, 0.013202055, -0.010930315, 0.009301153, 0.019329263, -0.021055786, -0.016551249, 0.0070553757, 0.015785348, 0.035958398, 0.0004750371, -0.011482024, -0.013331869, 0.002054302, -0.0062440396, 0.013552552, 0.03455641, -0.022964047, 0.0022636268, 0.015266093, 0.015954105, -0.0077823326, -0.020004295, 0.0001655125, -0.0005999828, -0.037620015, 0.016486343, -0.0058253906, -0.0006807107, 0.039125856, -0.0018839216, 0.003453045, -0.01296839, 0.029727342, -0.015331, 0.011741651, -0.004686275, -0.016707025, 0.0058643348, 0.09388128, 0.0031431147, -0.0018855443, 0.00082269445, 0.00093952677, 0.0049556387, 0.006328419, 0.0013419493, 0.009495874, -0.017356094, -0.056079526, -0.02905231, -0.012974882, 0.032193802, -0.044733807, 0.003185304, -0.0061207167, 0.0008778653, 0.013208546, -0.021120692, -0.019523984, -0.02506703, 0.0068736365, 0.0018498455, 0.0031041706, 0.004900468, -0.021704854, 0.0028559018, -0.018978765, 0.009554289, 0.007315003, 0.020043239, 0.0068736365, -0.0012364757, 0.031388957, -0.011287303, 0.00335893, -0.017433982, 0.012436154, 0.016252678, 0.011112054, 0.028610943, -0.031726472, -0.009632178, -0.01287103, -0.02679355, 0.012494571, 0.014175658, -0.004686275, 0.038295045, -0.008035469, -0.012092148, 0.016784914, 0.0033816474, -0.017537834, -0.0071397545, 0.0028445432, -0.016875783, 0.0034433089, -0.008158792, -0.005033527, -0.0005062735, -0.017706592, -0.01258544, -0.0317784, 0.020484604, 0.00832755, -0.033907343, -0.011267831, 0.030116783, -0.017992182, -0.0020900008, -0.01617479, 0.005140623, -0.020432679, 0.006795748, -0.020718269, 0.033102497, 0.0113716815, 0.0017427491, -0.0058545987, 0.062206734, 0.012819105, 0.047563747, -0.029285975, -0.010748575, -0.0060330927, -0.0010506798, 0.0095413085, -0.03684113, 0.013208546, -0.07279953, -0.004131322, -0.0075681396, 0.0043422687, -0.0042092097, -0.015214168, 0.0042903433, -0.021834668, -0.008678047, 0.015928144, 0.024859328, -0.014149696, -0.024002556, 0.0067308415, 0.002962998, 0.033362124, 0.008827332, -0.0003143926, 0.01381218, -0.029104237, 0.017122429, -0.02034181, -0.00083161914, 0.011754632, -0.047148343, 0.020666344, 0.033440012, 0.012559477, -0.009015563, 0.0019942631, -0.0070034503, -0.005478139, 0.004718729, 0.0100346, 0.0072695683, -0.026520943, 0.011910409, 0.020276902, -0.016823858, -0.026923366, -0.005036772, -0.02204237, -0.014344416, -0.018693175, 0.0266897, -0.04475977, 0.0028494112, 0.019459076, 0.00917783, 0.009145376, 0.028013801, 0.0024194033, 0.020380754, -0.043565486, -0.010456495, -0.0357507, 0.0066107637, -0.011611837, -0.0068346923, 0.041774053, 0.0017719573, 0.0018579589, -0.0030165464, -0.025729079, 0.03284287, -0.038658526, -0.022756346, -0.0253656, 0.0058513535, 0.039125856, 0.020977898, 0.025988707, 0.035231445, 0.03626995, 0.01542187, 0.039593183, 0.017563796, -0.00007809106, 0.0046018963, -0.027806098, 0.021341376, 0.019718705, 0.020432679, 0.024534794, -0.0050562443, -0.047927223, 0.035387218, 0.015240131, 0.011748142, 0.005737766, 0.010677178, -0.02923405, 0.025482433, -0.0010068676, 0.018797027, 0.030791814, 0.033673678, 0.00852227, -0.025092991, 0.017706592, 0.0266897, 0.016577212, -0.038710453, -0.026520943, -0.010586308, -0.0020478114, -0.002706616, 0.07337071, 0.00062675687, 0.018991748, 0.01438336, -0.03112933, -0.037230574, 0.0007257398, 0.004313061, -0.0070164315, 0.058312323, 0.008360003, 0.005014055, 0.011008203, 0.0019390924, -0.027390694, -0.014500192, 0.002889978, -0.018693175, 0.014162676, 0.00021256997, -0.029363863, -0.022951065, 0.0036282935, 0.000284576, -0.004251399, 0.010151433, 0.005023791 ]
2311.01343
51
# 4.2 Comparison with Baselines 4.2.1 Baselines. To demonstrate the multifaceted superiority of the proposed CLLM4Rec, we include the following ID-based and (L)LM-based RSs as the baselines for comparisons: # ID-based Baselines. Multi-Vae [39] is an ID-based collaborative filtering baseline that recommends new items by reconstructing the ratings r𝑖 via a variational auto-encoder (VAE) with multinomial likelihood. • Md-Cvae [40] is a hybrid RS that extends the Multi-VAE by 𝑖 𝑗 to reguintroducing a dual feature VAE on textual features x𝑢𝑣 larize the reconstruction of r𝑖 in the Multi-VAE. # LM-based Baselines7. • Bert4Rec [41] uses masked language modeling (MLM) pro- posed in BERT [32] to learn user/item embeddings for recom- mendation with bidirectional self-attention mechanism. • S3Rec [38] extends BERT4Rec by augmenting the MLM with auxiliary tasks such as item attribute prediction, where content features can be fused for self-supervised learning. # LLM-based Baselines. (a) Qualitative Analysis.
2311.01343#51
Collaborative Large Language Model for Recommender Systems
Recently, there is a growing interest in developing next-generation recommender systems (RSs) based on pretrained large language models (LLMs), fully utilizing their encoded knowledge and reasoning ability. However, the semantic gap between natural language and recommendation tasks is still not well addressed, leading to multiple issues such as spuriously-correlated user/item descriptors, ineffective language modeling on user/item contents, and inefficient recommendations via auto-regression, etc. In this paper, we propose CLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and ID paradigm of RS, aiming to address the above challenges simultaneously. We first extend the vocabulary of pretrained LLMs with user/item ID tokens to faithfully model the user/item collaborative and content semantics. Accordingly, in the pretraining stage, a novel soft+hard prompting strategy is proposed to effectively learn user/item collaborative/content token embeddings via language modeling on RS-specific corpora established from user-item interactions and user/item features, where each document is split into a prompt consisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and a main text consisting of homogeneous item tokens or vocab tokens that facilitates stable and effective language modeling. In addition, a novel mutual regularization strategy is introduced to encourage the CLLM4Rec to capture recommendation-oriented information from user/item contents. Finally, we propose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where an item prediction head with multinomial likelihood is added to the pretrained CLLM4Rec backbone to predict hold-out items based on the soft+hard prompts established from masked user-item interaction history, where recommendations of multiple items can be generated efficiently.
http://arxiv.org/pdf/2311.01343
Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li
cs.IR
null
null
cs.IR
20231102
20231108
[ { "id": "2302.13971" }, { "id": "2206.07682" }, { "id": "2308.10053" }, { "id": "2307.02046" }, { "id": "2306.05817" }, { "id": "2205.08084" }, { "id": "2303.14524" }, { "id": "2305.07001" }, { "id": "2303.13835" }, { "id": "2303.18223" }, { "id": "2302.03735" }, { "id": "2305.00447" }, { "id": "2305.08845" }, { "id": "2104.08691" }, { "id": "2308.10837" }, { "id": "2305.06569" } ]
{ "authors": "Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li", "chunk_id": 51, "doc_id": "2311.01343", "primary_category": "cs.IR", "published": 20231102, "source": "http://arxiv.org/pdf/2311.01343", "summary": "Recently, there is a growing interest in developing next-generation\nrecommender systems (RSs) based on pretrained large language models (LLMs),\nfully utilizing their encoded knowledge and reasoning ability. However, the\nsemantic gap between natural language and recommendation tasks is still not\nwell addressed, leading to multiple issues such as spuriously-correlated\nuser/item descriptors, ineffective language modeling on user/item contents, and\ninefficient recommendations via auto-regression, etc. In this paper, we propose\nCLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and\nID paradigm of RS, aiming to address the above challenges simultaneously. We\nfirst extend the vocabulary of pretrained LLMs with user/item ID tokens to\nfaithfully model the user/item collaborative and content semantics.\nAccordingly, in the pretraining stage, a novel soft+hard prompting strategy is\nproposed to effectively learn user/item collaborative/content token embeddings\nvia language modeling on RS-specific corpora established from user-item\ninteractions and user/item features, where each document is split into a prompt\nconsisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and\na main text consisting of homogeneous item tokens or vocab tokens that\nfacilitates stable and effective language modeling. In addition, a novel mutual\nregularization strategy is introduced to encourage the CLLM4Rec to capture\nrecommendation-oriented information from user/item contents. Finally, we\npropose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where\nan item prediction head with multinomial likelihood is added to the pretrained\nCLLM4Rec backbone to predict hold-out items based on the soft+hard prompts\nestablished from masked user-item interaction history, where recommendations of\nmultiple items can be generated efficiently.", "text": "# 4.2 Comparison with Baselines\n4.2.1 Baselines. To demonstrate the multifaceted superiority of the proposed CLLM4Rec, we include the following ID-based and (L)LM-based RSs as the baselines for comparisons:\n# ID-based Baselines.\nMulti-Vae [39] is an ID-based collaborative filtering baseline that recommends new items by reconstructing the ratings r𝑖 via a variational auto-encoder (VAE) with multinomial likelihood. • Md-Cvae [40] is a hybrid RS that extends the Multi-VAE by 𝑖 𝑗 to reguintroducing a dual feature VAE on textual features x𝑢𝑣 larize the reconstruction of r𝑖 in the Multi-VAE.\n# LM-based Baselines7.\n• Bert4Rec [41] uses masked language modeling (MLM) pro- posed in BERT [32] to learn user/item embeddings for recom- mendation with bidirectional self-attention mechanism.\n• S3Rec [38] extends BERT4Rec by augmenting the MLM with auxiliary tasks such as item attribute prediction, where content features can be fused for self-supervised learning.\n# LLM-based Baselines. (a) Qualitative Analysis.", "title": "Collaborative Large Language Model for Recommender Systems", "year": 2023 }
[ -0.017749391, 0.0039714104, 0.053485833, -0.003430423, 0.009206167, 0.010669648, 0.014534737, 0.014522228, -0.040552165, 0.055387106, -0.011082425, -0.05573734, -0.0010960468, 0.021164179, 0.010363192, 0.00020541105, 0.018725045, -0.02794372, -0.04585572, 0.052785363, -0.02971991, 0.006063437, 0.018687518, 0.027293283, 0.01898772, -0.046255987, 0.0052222484, 0.025379503, -0.01365915, -0.044204615, 0.030970749, -0.017836949, -0.027818637, -0.000746203, -0.029194558, 0.04903285, -0.010294396, 0.008518207, 0.0037962932, 0.02709315, -0.045980804, -0.010475768, -0.0054348907, 0.011976774, 0.014146977, 0.013534067, 0.016536077, 0.012139383, -0.01829976, 0.0061760126, -0.058789384, 0.013609117, -0.01335895, -0.064193, 0.026817966, -0.012226941, 0.024253748, -0.017949525, 0.044754982, -0.007899041, -0.0053535863, -0.030445397, -0.01443467, -0.014847446, -0.06154123, -0.028619172, -0.021276753, -0.00980657, 0.035824, -0.013471525, -0.018137151, -0.025041776, 0.04515525, 0.0044873813, -0.0005120618, 0.025304452, 0.043153908, 0.0057444735, 0.005678804, -0.014021894, 0.06129106, 0.015910659, 0.026918033, -0.018099625, -0.029694892, -0.0410525, -0.019275414, -0.011676572, -0.008286801, -0.0030598624, -0.034322992, -0.02964486, -0.029594826, -0.009318743, 0.03820059, 0.0037744036, -0.002967613, -0.04938308, 0.009944161, 0.075700715, -0.007899041, -0.008993525, 0.02631763, -0.062491864, 0.060440492, -0.016948855, 0.020451201, -0.011276304, -0.030920714, 0.003721243, -0.04115257, -0.037475105, -0.053135596, 0.01428457, 0.041277654, -0.020100966, -0.0640429, 0.020050932, -0.030345328, 0.010725936, -0.005506814, 0.01559795, 0.025492078, -0.050884087, 0.007111014, -0.030095162, 0.043028828, -0.035323665, -0.006623187, -0.014171994, 0.0016839406, -0.017224038, 0.038876045, -0.002961359, -0.04733171, 0.031095833, -0.02222739, -0.028819306, -0.019175345, -0.0093937935, -0.018962704, -0.035849016, -0.05203486, 0.018024575, -0.004512398, 0.01983829, -0.030770615, -0.020851469, -0.018687518, -0.0058789384, -0.025917362, -0.055237003, -0.05148449, 0.021939699, -0.06784545, -0.053135596, -0.020463709, -0.0018121515, 0.01192674, -0.05428637, 0.02809382, -0.02200224, 0.016773738, -0.03294707, -0.004778201, -0.016085776, -0.01807461, 0.0035805237, -0.06869602, -0.035173565, 0.024153681, -0.023378162, -0.036474437, -0.05913962, -0.01622337, -0.0061040893, 0.025404518, -0.035073496, -0.00015606158, -0.030295296, -0.0007317402, -0.0082430225, -0.01945053, -0.039176244, -0.029619843, 0.016873805, -0.01053831, -0.024741575, 0.0093625225, -0.0041527823, 0.0111574745, 0.038500793, 0.052935462, 0.032997105, -0.005244138, 0.012758547, 0.017111463, 0.04377933, -0.00937503, -0.0046281004, 0.0043278993, 0.028243922, -0.0039807917, -0.049433116, -0.013296408, -0.04893278, -0.0071985726, 0.004903285, -0.065243706, -0.0043935683, 0.0058883196, 0.025992412, 0.039376378, 0.025742246, -0.05713828, -0.0057694903, -0.03760019, 0.02168953, -0.004581194, 0.027618501, 0.019125313, 0.0036117947, 0.009093592, 0.031896368, -0.042178255, 0.011676572, 0.049057864, -0.044279665, -0.039451428, -0.047281675, 0.05055887, -0.006616933, -0.023978563, -0.0016589238, -0.029019441, -0.021914681, -0.02886934, 0.013371458, 0.0016901948, -0.03242172, -0.008893458, 0.012289483, 0.05788878, 0.02385348, 0.02038866, 0.009425064, 0.014084435, -0.041878056, 0.037325006, 0.029244592, -0.013771726, 0.01622337, -0.048382413, -0.016098285, -0.021489397, 0.032571822, -0.029619843, 0.0222399, -0.0024641508, 0.00095845456, -0.08050393, 0.030370345, 0.009919145, 0.024191206, 0.0018778205, -0.019625647, -0.012139383, -0.0017292835, 0.02779362, -0.031621184, -0.04197812, 0.008618274, 0.020351134, 0.027193217, 0.0024782228, -0.040727284, 0.03767524, -0.015435341, 0.01122627, 0.015973201, 0.012620955, -0.009037305, 0.061190993, 0.023440704, 0.0062792064, -0.0029973204, 0.014096944, -0.020638827, -0.02216485, 0.012226941, -0.0019685063, -0.058789384, 0.02794372, -0.078802794, -0.03397276, 0.032671887, 0.03304714, -0.033622526, 0.0028863086, 0.044955116, 0.052134927, 0.014797413, 0.0023625202, 0.016173335, -0.0011484256, 0.058489185, -0.03482333, -0.033172224, -0.018687518, -0.0072110808, 0.0017761899, 0.032396704, -0.043153908, -0.0021248609, -0.0361242, -0.055086903, 0.028118838, -0.08275544, 0.019400496, -0.017874474, -0.013846776, -0.04593077, -0.0002173331, -0.0034491858, 0.00825553, -0.01312129, -0.030120179, -0.03249677, -0.008368106, -0.018812602, 0.0139093185, 0.008192989, 0.03752514, -0.011857944, -0.014034402, -0.0456806, -0.049433116, 0.03805049, 0.018412335, 0.033997774, -0.025967397, -0.009618944, -0.0021123525, 0.04818228, -0.014197011, -0.0065794075, -0.018649993, 0.016736211, 0.03674962, 0.033472423, 0.038725942, -0.04648114, 0.04563057, -0.039426412, 0.01651106, 0.00014501903, -0.009668977, -0.017399156, 0.0020466836, 0.007142285, -0.003458567, 0.0017699357, 0.041352704, -0.035673898, 0.01922538, 0.029444726, 0.004775074, -0.032671887, -0.009656469, -0.031971417, -0.007899041, 0.008855932, -0.029444726, 0.0025579636, -0.040477116, 0.013058748, 0.021526922, 0.019725714, -0.02037615, 0.06144116, -0.026842983, -0.0030035747, -0.029694892, -0.0012133128, 0.024253748, 0.011557743, -0.0071047596, -0.012039315, -0.048507497, 0.016886313, -0.05633774, 0.0070609804, 0.0361242, 0.010400718, 0.03412286, 0.007892787, 0.0057538548, 0.04270361, 0.0634425, 0.07054726, -0.0071985726, 0.024366323, -0.018324776, -0.0057694903, -0.007048472, 0.00013251064, -0.011845436, 0.051584557, -0.004406077, 0.0047907094, 0.048907764, -0.020113474, 0.008361852, -0.032046467, 0.018124642, 0.029194558, 0.018262234, 0.053635933, 0.055186972, 0.04570562, 0.02864419, -0.012645972, -0.022777759, -0.057938814, 0.037325006, -0.011607776, -0.0026439587, -0.02956981, -0.030920714, -0.020588793, -0.024028597, 0.049908433, 0.053786032, -0.02594238, -0.024441374, -0.004578067, -0.0073611815, 0.03822561, -0.02416619, -0.0112200165, 0.04585572, 0.027768603, -0.070046924, -0.010263125, -0.00010084881, -0.03064553, -0.024616491, 0.005109673, -0.0046718796, 0.015610457, -0.018537419, -0.023478229, 0.04307886, 0.0111574745, -0.020438692, -0.05023365, 0.06634445, -0.06744518, 0.020501234, -0.048757665, 0.014872463, 0.009312489, 0.040902402, 0.0025986158, 0.047907095, 0.011482692, 0.0011499892, 0.021064112, 0.025504585, -0.020276083, 0.014784905, -0.027293283, 0.006992184, -0.015310257, -0.008324327, 0.024366323, 0.050884087, -0.035573833, 0.020326117, 0.0031458575, 0.018187184, 0.005137817, 0.0022014747, -0.008987271, 0.003911996, 0.053135596, 0.039176244, -0.0073611815, -0.011088679, 0.016498553, 0.01682377, -0.02292786, 0.00822426, -0.012427075, -0.022827793, -0.048582546, 0.02486666, -0.002401609, 0.023728397, -0.007085997, 0.0038338182, -0.014597279, -0.013183832, 0.049433116, 0.02246505, 0.024991743, -0.018700028, 0.020651335, -0.0011304448, 0.006291715, 0.0007231407, 0.05173466, -0.004246595, -0.005159707, 0.0143596195, 0.022277424, -0.039801665, -0.014222028, -0.014334603, 0.030845664, 0.028544122, 0.013996877, 0.016773738, 0.012370788, 0.025967397, -0.026442714, 0.0070046927, -0.101167776, -0.00976279, -0.04292876, 0.020113474, 0.03042038, 0.0020998442, 0.020100966, -0.033597507, 0.0062854607, -0.022527592, -0.025642179, -0.027043117, 0.006163504, 0.004878268, 0.026642848, 0.018975211, -0.0031458575, 0.006226046, -0.01467233, 0.020964045, -0.008024125, 0.017924508, 0.02809382, 0.021414345, -0.06464331, 0.0075613153, -0.02616753, -0.030470412, 0.0042090695, 0.01297119, -0.023528263, -0.019400496, -0.00088574964, 0.017774407, -0.0051253084, 0.006022785, 0.031621184, -0.029194558, -0.002736208, 0.019112805, 0.035773966, 0.02276525, 0.017336614, -0.03349744, -0.025767261, 0.06309227, -0.005700694, -0.00956891, -0.026792949, 0.014184503, -0.0225401, 0.009143625, -0.011026137, -0.03752514, -0.037575174, -0.0022436907, 0.014897481, -0.010062992, 0.021564446, -0.023515753, 0.0037024803, 0.008505698, 0.025667194, 0.039776646, -0.006798304, -0.010256872, -0.020951536, -0.03952648, 0.017411664, 0.009944161, 0.010319414, -0.010775969, -0.02245254, 0.009950416, 0.013308916, -0.032296635, -0.030670546, 0.007079743, 0.046981473, 0.00530668, 0.008668307, -0.010813494, -0.0041746716, -0.011401388, -0.0030489175, -0.020588793, -0.04800716, -0.030545464, 0.02407863, -0.0019169091, -0.04933305, 0.008486936, -0.039351363, -0.025642179, -0.035698917, 0.003324102, -0.014059419, 0.033847675, -0.008349343, 0.0018090244, -0.0359741, -0.02245254, 0.0016839406, -0.03049543, 0.0013665404, 0.020013407, -0.028694224, 0.015485374, 0.032296635, -0.0008771501, 0.003227162, 0.01204557, 0.030670546, 0.016811263, 0.034848347, -0.010694665, -0.07364934, -0.001713648, -0.055987507, 0.029044457, -0.029319642, -0.050358735, -0.025016759, -0.044429764, -0.058539215, 0.04685639, 0.014547246, 0.026092479, -0.025742246, 0.007017201, 0.045805685, -0.002170204, -0.011970519, -0.02856914, -0.025029268, -0.005234757, -0.023465721, -0.002639268, 0.031696234, 0.020801436, 0.011826673, -0.033072155, 0.011870452, -0.008924729, -0.043153908, 0.016723704, -0.005678804, -0.0051534525, -0.019750731, -0.0019685063, 0.017824441, -0.054086234, 0.008899712, 0.0012297301, 0.00438106, -0.029469742, -0.048457462, -0.034247942, 0.013871793, 0.026417699, -0.020100966, -0.0003310812, -0.00791155, -0.03372259, 0.00069421506, 0.021977223, -0.009199914, 0.014947514, 0.014096944, -0.02192719, 0.06499354, 0.0015244588, -0.06884612, 0.012170654, -0.010607106, 0.009068576, 0.0024469518, -0.008999779, -0.03544875, -0.019500565, 0.00090920285, 0.017711865, -0.014372128, -0.0250793, -0.016073268, 0.0068671005, 0.012383296, -0.023565788, 0.008899712, 0.01876257, -0.0073299105, -0.015235206, -0.007736433, -0.044629898, 0.027368335, -0.05533707, -0.012921156, 0.0016948854, 0.046205953, -0.047681943, 0.00596337, -0.0311959, -0.0011249724, 0.0071798097, 0.009124863, -0.010507039, 0.024641508, 0.010256872, 0.004903285, -0.041027486, -0.008805899, -0.008293056, 0.0015612021, 0.00026971195, -0.031120848, -0.027993754, 0.03464821, -0.018437352, 0.004556177, 0.022590134, 0.013183832, -0.025617162, -0.0029660496, -0.05393613, 0.010188075, 0.020188525, -0.007580078, 0.004277866, 0.0009787807, 0.004965827, -0.025842313, -0.00956891, 0.0314961, 0.014372128, 0.014021894, 0.02709315, -0.018337285, 0.018875144, -0.0064480696, -0.0055943727, -0.015910659, 0.017449189, 0.0028253302, -0.035723932, 0.007974092, 0.011038645, -0.040877383, 0.049683284, 0.00976279, 0.049232982, -0.0055193226, -0.030770615, 0.02809382, 0.008799645, -0.006616933, 0.007023455, -0.030370345, 0.002145187, 0.0034710753, -0.046506155, -0.012996206, -0.006616933, -0.028844323, -0.022202374, 0.015072597, -0.011401388, -0.024679033, -0.002901944, 0.060640626, -0.0314961, -0.1156775, 0.020188525, 0.0149975475, -0.019175345, 0.045905754, 0.057788715, 0.035573833, 0.01643601, -0.031020781, -0.009537639, -0.024041105, -0.019900832, 0.02153943, -0.01061336, -0.016723704, -0.043829363, -0.014459687, -0.0055193226, 0.035648882, -0.021201704, -0.029494759, 0.01566049, -0.023740904, 0.034373026, 0.013584101, -0.008662052, -0.01404691, 0.0043779328, 0.004934556, 0.010750952, 0.021939699, -0.008555732, -0.0030192102, 0.03427296, -0.01621086, 0.014197011, -0.02262766, -0.002639268, -0.04147779, 0.00061251974, -0.008849679, -0.030245261, -0.004778201, -0.006454324, 0.026092479, -0.023966055, -0.00007505028, 0.010056737, -0.009268709, -0.005272282, 0.0020482473, -0.017499223, -0.017361632, -0.014059419, -0.0060384204, 0.004840743, -0.013871793, -0.018499894, -0.014572262, -0.019825783, -0.0033459915, -0.01961314, 0.011176237, 0.000031295378, -0.016085776, -0.02100157, -0.01404691, 0.033697575, -0.019162837, -0.014834939, 0.0014853701, 0.014897481, -0.0024266257, 0.013058748, -0.0018574944, 0.005656915, 0.009962925, 0.023340637, -0.03202145, 0.029920043, 0.033297308, -0.058839418, 0.01798705, -0.0053942385, -0.00937503, -0.0011687517, 0.03234667, -0.02470405, -0.01906277, 0.04708154, -0.0018512402, -0.024979234, 0.018337285, -0.004718786, -0.0077864663, -0.0054661618, 0.0043341536, 0.011770385, 0.011320083, -0.0012891449, 0.012189416, 0.012170654, -0.026117496, -0.007992854, 0.009431318, -0.018925179, 0.021026585, 0.00021264245, 0.06579408, 0.014397145, 0.0114764385, -0.01606076, -0.008474427, 0.019387988, -0.027268268, 0.043203942, -0.008436902, 0.015097614, 0.01073219, 0.0069546592, 0.009062321, -0.00596337, -0.004778201, 0.002633014, 0.0072110808, -0.007311148, 0.032596838, 0.00550056, -0.0037493869, 0.0042997557, -0.01107617, 0.0222399, -0.018212201, 0.024128664, -0.039101195, 0.037199922, 0.005794507, -0.009256201, -0.048407428, 0.030445397, 0.030870682, 0.011013628, 0.05133439, 0.019975882, -0.0012641281, 0.022515083, -0.020463709, -0.029369675, -0.043404076, 0.014547246, 0.007855263, -0.005528704, 0.004349789, 0.024053615, -0.012846106, 0.029094491, 0.012677243, -0.05633774, 0.029044457, 0.033222258, -0.014084435, 0.058289047, -0.001696449, -0.02654278, 0.05095914, -0.01258343, -0.02971991, -0.0359741, -0.020576285, 0.036274303, -0.014559754, -0.06809562, 0.051159274, 0.030595496, 0.0022515084, 0.010213092, 0.0017355377, -0.020576285, 0.03830066, -0.00015957956, 0.00822426, 0.005735092, -0.044179596, 0.004646863, 0.025717229, 0.011007374, -0.0014501903, -0.008405631, 0.027443385, 0.029194558, 0.00228747, -0.021564446, 0.034623194, 0.010119279, 0.0267179, -0.023090469, -0.010844765, 0.032646872, -0.015860625, -0.019425513, -0.031696234, 0.053735998, 0.01883762, 0.01837481, -0.018950196, -0.0076926537, 0.005797634, -0.001112464, 0.006754525, 0.009869112, 0.02245254, 0.016686179, -0.017148988, -0.008011617, 0.0011617157, -0.03822561, 0.003113023, -0.0010413226, -0.021039095, -0.007154793, -0.018825112, 0.013108782, 0.0067357626, 0.032146536, -0.005631898, 0.01721153, 0.018199692, -0.020338625, -0.033947743, -0.0051315627, -0.008049143, 0.03049543, -0.0104194805, -0.008399377, -0.058038883, -0.033147205, -0.035248615, -0.0056475336, -0.021677023, -0.0025235657, 0.04175297, -0.030770615, -0.025404518, 0.007999109, 0.0014283006, 0.01080724, 0.0038056746, -0.01643601, 0.0047000237, -0.015035072, -0.009600181, -0.012464601, 0.041177586, 0.00050072605, 0.006054056, -0.031846333, -0.019813273, 0.017098956, 0.06769535, 0.018349793, -0.028744256, 0.012133128, 0.029194558, -0.018212201, -0.022252407, -0.002684611, 0.014759888, 0.004093367, 0.0036930991, 0.0064418153, -0.014497212, 0.020976553, -0.0041527823, 0.0404521, -0.040251967, 0.0066044247, 0.02200224, -0.015397815, -0.013521559, -0.017324105, -0.024916692, -0.019850798, -0.017999558, -0.009969179, 0.017048921, -0.004287247, 0.0015111687, 0.012602192, 0.05233506, -0.040276982, -0.011163729, 0.042503472, -0.004343535, 0.01574805, 0.01335895, -0.012427075, -0.0041340194, -0.0270181, 0.022189865, -0.030820647, 0.005409874, 0.027518434, 0.034623194, -0.013258883, 0.016035743, 0.013609117, -0.015960691, -0.008117938, -0.023428194, -0.023528263, -0.010213092, 0.009218676, 0.021476887, -0.0038338182, -0.013521559, -0.031120848, -0.0130462395, 0.0024750957, 0.0004370115, -0.018574944, 0.01789949, -0.0035961592, 0.009593927, -0.008411885, -0.027993754, -0.008587003, 0.010594598, 0.011019883, -0.020751402, 0.03279697, 0.014859955, 0.011326338, -0.031696234, 0.014534737, -0.04147779, -0.021889664, 0.0090122875, -0.00401519, -0.0033178476, 0.010125534, 0.042578526, 0.03649945, 0.03619925, 0.01852491, 0.0122144325, 0.012933665, 0.010156805, 0.0006152559, 0.0069546592, -0.0010303778, 0.055937473, -0.008061651, -0.03234667, 0.0027424623, 0.0034398043, 0.029619843, -0.01891267, 0.0005918027, -0.01583561, 0.00033850802, 0.0041934345, 0.016285911, 0.02934466, 0.0021295517, -0.029419709, 0.0048845224, -0.008455665, 0.018262234, 0.012689752, 0.033847675, 0.031621184, -0.018249726, 0.014772397, 0.005603754, 0.007542553, -0.009481352, -0.0038119287, 0.027818637, 0.010238109, 0.001540876, 0.010550818, -0.010488276, -0.020075949, 0.019275414, -0.058289047, -0.02153943, -0.012508379, 0.033672556, 0.051984824, -0.02786867, 0.044054512, -0.0064355615, 0.0012172217, 0.0038150558, -0.014184503, -0.014272061, 0.012039315, 0.04147779, -0.0059102094, 0.0054161283, -0.014384637, -0.014797413, 0.013033732, 0.0075925863, -0.030870682, -0.031070815, -0.00382131, 0.0038994874, 0.0020670097, -0.008943492, -0.032146536, 0.045580536, -0.040402066, 0.010500785, 0.015973201, -0.024253748, 0.0053223157, 0.01846237, -0.011482692, 0.0026236326, -0.02524191, 0.012858614, -0.014146977, 0.0042090695, 0.022865318, 0.022302441, 0.002870673, 0.01574805, 0.0070046927, 0.006917134, 0.019963374, 0.035824, -0.029019441, 0.00010211919, 0.015773067, 0.008236768, 0.03072058, -0.015710525, -0.031796303, 0.037875373, -0.02361582, 0.02624258, 0.041627888, 0.021051602, -0.013546575, -0.019475548, -0.013346441, 0.0104507515, 0.011595268, -0.03527363, 0.00988162, -0.02624258, 0.014759888, 0.007010947, -0.03334734, 0.01952558, -0.022715217, -0.0009998886, 0.012427075, 0.023603313, 0.008905967, -0.022677692, 0.013696676, 0.00003249247, -0.02956981, 0.0010913562, -0.021451872, 0.025892345, -0.022364983, -0.008680816, -0.0058883196, 0.029319642, 0.0070297094, 0.01906277, -0.020338625, -0.007705162, -0.0013399601, -0.032221586, 0.018687518, 0.0014525356, -0.03812554, -0.022127323, 0.01767434, 0.031295966, 0.04260354, 0.0075362986, -0.028268939, -0.030270278, 0.018387318, 0.015647983, 0.003098951, -0.0005644406, -0.034473095, 0.009712757, -0.023553278, -0.0023203045, -0.00844941, 0.023165518, 0.00046320094, 0.0005265246, -0.017186513, 0.018149659, -0.022590134, 0.0158231, 0.02322806, 0.01010677, 0.0035398714, -0.0022999784, 0.040952437, -0.000556232, 0.0030410998, -0.0021733309, 0.0041371468, 0.01807461, 0.07515035, -0.00020169762, -0.020151, 0.0011218453, 0.013884301, -0.016648654, -0.028894357, -0.007917805, 0.03474828, 0.0111887455, -0.04455485, -0.029844994, 0.009337505, 0.02185214, -0.021126654, -0.010525801, 0.0063824006, -0.0056100083, 0.011964265, 0.0014228282, -0.034898378, -0.035949085, 0.030970749, 0.0019982136, -0.008705832, 0.006854592, -0.0056475336, 0.0048970305, 0.0018027702, 0.037875373, 0.01976324, 0.05050884, 0.019425513, -0.030745598, 0.024028597, 0.027968736, -0.010663394, -0.0023953547, -0.011113695, 0.011739114, 0.038700927, 0.021251736, -0.007748941, 0.015998218, 0.036024135, 0.022327458, 0.008912221, -0.010219346, 0.01867501, 0.024791608, -0.013559083, 0.012258212, 0.013083765, 0.023678362, -0.0016808135, 0.011182492, 0.017949525, 0.01844986, -0.006226046, -0.010281888, -0.0036430655, 0.023578295, 0.0062072836, -0.015372799, -0.009650215, 0.006391782, 0.011088679, -0.012201924, -0.027518434, 0.009218676, 0.026067464, 0.017649323, -0.0068358295, -0.0066294414, -0.032671887, 0.021889664, 0.03132098, -0.006260444, 0.028268939, 0.021977223, -0.0036086675, 0.07214833, -0.00063753646, 0.02161448, -0.015460357, 0.007548807, -0.014772397, 0.0018356047, 0.009831587, -0.05025867, 0.021977223, -0.05618764, 0.001088229, -0.00051597063, -0.0033084664, 0.022877827, 0.00074268505, 0.0144221615, 0.0046624984, -0.0036274302, 0.0075550615, 0.021939699, -0.02631763, 0.0078365, -0.018037083, -0.03319724, -0.011632793, 0.014634804, -0.010957341, 0.0019966501, -0.03342239, 0.012796072, -0.025016759, -0.012758547, -0.00006327481, -0.01961314, 0.0018606215, 0.02956981, -0.011345101, -0.001572147, 0.02616753, -0.0077551953, -0.033472423, 0.003818183, 0.037475105, 0.0063198586, -0.016423503, 0.0077301785, 0.0025767263, -0.0029003806, -0.035173565, -0.0079866005, -0.024191206, -0.0311959, -0.021089127, 0.036549486, -0.02801877, 0.0033178476, 0.024616491, 0.021026585, 0.005825778, 0.037149888, -0.009900383, 0.019387988, -0.04723164, 0.009775299, -0.01721153, -0.002801877, -0.0074174693, -0.0070359637, 0.015885642, 0.010507039, 0.011213763, 0.016110793, -0.026367664, 0.018737553, -0.028293954, -0.024103647, -0.0038275642, 0.017649323, -0.00031153683, 0.008418139, -0.004543669, 0.02994506, 0.011238779, 0.03364754, 0.029044457, 0.005644406, 0.009919145, 0.0075925863, -0.023077961, 0.027243251, 0.010888545, 0.0045061437, 0.027368335, -0.007905296, -0.005397366, 0.021714548, -0.0053786035, -0.0062979693, 0.0022890335, 0.007936567, -0.024729067, 0.006094708, -0.004737549, 0.021251736, 0.025792278, 0.019425513, -0.00949386, 0.0020967172, -0.00016212033, 0.00883717, -0.0015221135, -0.04663124, -0.002293724, 0.017411664, -0.02122672, -0.006423053, 0.0020404295, 0.015873134, 0.01789949, 0.004243468, -0.035573833, -0.0114451675, -0.0006664621, -0.00067388895, -0.004590575, 0.052234992, 0.02262766, 0.029144524, -0.011057408, 0.009037305, -0.033997774, -0.016385978, 0.007123522, -0.020038424, 0.008743357, -0.0024297528, -0.0011875143, -0.019625647, -0.014459687, 0.013634134, 0.013246374, 0.026993083, -0.009731519 ]
2311.01343
52
# LLM-based Baselines. (a) Qualitative Analysis. Both pseudo-ID-based and description-based methods discussed in Section 2.2 represent user/item with multiple tokens and formu- late direct recommendation as a token generation problem. Since the generated tokens could be irrelevant to the recommendation purpose, candidate items usually need to be explicitly provided in the prompt (e.g., P5 [20] provides 100 candidate items where one is positive, and TALLRec [36] outputs yes/no decision based on user/item descriptions in the prompts, etc.). In contrast, CLLM4Rec can generate multiple recommendations from the entire candidate pool. Therefore, these methods cannot directly work in our setting, and the comparisons are mainly based on qualitative analysis. (b) Quantitative Analysis In addition, we design the following LLM-based baselines to quantitatively demonstrate the effectiveness of CLLM4Rec. • Llm-Scratch has the same structure as CLLM4Rec, but it trains the whole model from scratch instead of loading and fixing the weights of the pretrained LLM backbone. • Llm-CF eliminates the content LLM from CLLM4Rec and the mutually-regularized pretraining step and uses only the collabo- rative LLM and RecLLM for recommendation.
2311.01343#52
Collaborative Large Language Model for Recommender Systems
Recently, there is a growing interest in developing next-generation recommender systems (RSs) based on pretrained large language models (LLMs), fully utilizing their encoded knowledge and reasoning ability. However, the semantic gap between natural language and recommendation tasks is still not well addressed, leading to multiple issues such as spuriously-correlated user/item descriptors, ineffective language modeling on user/item contents, and inefficient recommendations via auto-regression, etc. In this paper, we propose CLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and ID paradigm of RS, aiming to address the above challenges simultaneously. We first extend the vocabulary of pretrained LLMs with user/item ID tokens to faithfully model the user/item collaborative and content semantics. Accordingly, in the pretraining stage, a novel soft+hard prompting strategy is proposed to effectively learn user/item collaborative/content token embeddings via language modeling on RS-specific corpora established from user-item interactions and user/item features, where each document is split into a prompt consisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and a main text consisting of homogeneous item tokens or vocab tokens that facilitates stable and effective language modeling. In addition, a novel mutual regularization strategy is introduced to encourage the CLLM4Rec to capture recommendation-oriented information from user/item contents. Finally, we propose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where an item prediction head with multinomial likelihood is added to the pretrained CLLM4Rec backbone to predict hold-out items based on the soft+hard prompts established from masked user-item interaction history, where recommendations of multiple items can be generated efficiently.
http://arxiv.org/pdf/2311.01343
Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li
cs.IR
null
null
cs.IR
20231102
20231108
[ { "id": "2302.13971" }, { "id": "2206.07682" }, { "id": "2308.10053" }, { "id": "2307.02046" }, { "id": "2306.05817" }, { "id": "2205.08084" }, { "id": "2303.14524" }, { "id": "2305.07001" }, { "id": "2303.13835" }, { "id": "2303.18223" }, { "id": "2302.03735" }, { "id": "2305.00447" }, { "id": "2305.08845" }, { "id": "2104.08691" }, { "id": "2308.10837" }, { "id": "2305.06569" } ]
{ "authors": "Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li", "chunk_id": 52, "doc_id": "2311.01343", "primary_category": "cs.IR", "published": 20231102, "source": "http://arxiv.org/pdf/2311.01343", "summary": "Recently, there is a growing interest in developing next-generation\nrecommender systems (RSs) based on pretrained large language models (LLMs),\nfully utilizing their encoded knowledge and reasoning ability. However, the\nsemantic gap between natural language and recommendation tasks is still not\nwell addressed, leading to multiple issues such as spuriously-correlated\nuser/item descriptors, ineffective language modeling on user/item contents, and\ninefficient recommendations via auto-regression, etc. In this paper, we propose\nCLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and\nID paradigm of RS, aiming to address the above challenges simultaneously. We\nfirst extend the vocabulary of pretrained LLMs with user/item ID tokens to\nfaithfully model the user/item collaborative and content semantics.\nAccordingly, in the pretraining stage, a novel soft+hard prompting strategy is\nproposed to effectively learn user/item collaborative/content token embeddings\nvia language modeling on RS-specific corpora established from user-item\ninteractions and user/item features, where each document is split into a prompt\nconsisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and\na main text consisting of homogeneous item tokens or vocab tokens that\nfacilitates stable and effective language modeling. In addition, a novel mutual\nregularization strategy is introduced to encourage the CLLM4Rec to capture\nrecommendation-oriented information from user/item contents. Finally, we\npropose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where\nan item prediction head with multinomial likelihood is added to the pretrained\nCLLM4Rec backbone to predict hold-out items based on the soft+hard prompts\nestablished from masked user-item interaction history, where recommendations of\nmultiple items can be generated efficiently.", "text": "# LLM-based Baselines. (a) Qualitative Analysis.\nBoth pseudo-ID-based and description-based methods discussed in Section 2.2 represent user/item with multiple tokens and formu- late direct recommendation as a token generation problem. Since the generated tokens could be irrelevant to the recommendation purpose, candidate items usually need to be explicitly provided in the prompt (e.g., P5 [20] provides 100 candidate items where one is positive, and TALLRec [36] outputs yes/no decision based on user/item descriptions in the prompts, etc.). In contrast, CLLM4Rec can generate multiple recommendations from the entire candidate pool. Therefore, these methods cannot directly work in our setting, and the comparisons are mainly based on qualitative analysis. (b) Quantitative Analysis\nIn addition, we design the following LLM-based baselines to\nquantitatively demonstrate the effectiveness of CLLM4Rec. • Llm-Scratch has the same structure as CLLM4Rec, but it trains the whole model from scratch instead of loading and fixing the weights of the pretrained LLM backbone.\n• Llm-CF eliminates the content LLM from CLLM4Rec and the mutually-regularized pretraining step and uses only the collabo- rative LLM and RecLLM for recommendation.", "title": "Collaborative Large Language Model for Recommender Systems", "year": 2023 }
[ 0.00783146, 0.040236548, 0.067577474, -0.030827727, 0.026012624, -0.026386209, 0.0023625828, 0.020007582, -0.025957277, 0.0617108, -0.005835545, -0.054017704, -0.022636518, 0.013974867, 0.008876116, -0.006980515, 0.042450387, -0.053574935, -0.02345287, 0.08174606, 0.0097824065, 0.017738396, 0.00806668, 0.016299399, 0.018859152, -0.043723345, -0.0013343577, -0.002686011, -0.015621411, -0.04552209, 0.050724618, -0.014486818, -0.023231488, 0.0032498485, -0.0013620306, 0.02606797, -0.008495612, 0.032903202, 0.038908243, 0.0020875821, -0.05271707, -0.015344681, -0.010010709, -0.016603803, 0.0018904121, -0.0009166683, 0.027299419, 0.011484297, -0.0070358613, 0.0110830385, -0.06503156, 0.03481264, 0.0027102248, -0.025168598, 0.0016318425, -0.03204534, 0.004140573, -0.019869218, 0.025957277, 0.0067937225, 0.030329613, -0.016645312, -0.009602533, 0.008260392, -0.047763605, -0.057615194, -0.01962016, -0.017503176, 0.020284312, 0.014929586, -0.009318884, -0.03990447, 0.05700639, -0.005150638, -0.022885574, 0.010723289, 0.046186242, 0.016244054, 0.012272977, 0.027479293, 0.045937188, 0.017129589, 0.0125566255, -0.034203835, -0.012819519, -0.0010965428, -0.020976137, -0.006689949, -0.014417635, -0.050807636, -0.051748518, -0.0152478255, -0.009879262, 0.02128054, 0.05553972, 0.017115753, -0.005714475, -0.03243276, 0.017724559, 0.06364791, -0.022055384, 0.019232739, 0.03924032, -0.04632461, 0.0707322, -0.018402549, -0.047708258, -0.006309445, -0.044636555, 0.020007582, -0.06032715, -0.006561961, -0.0678542, 0.012162285, 0.034978677, -0.036057923, -0.06835232, 0.008218883, -0.047403857, 0.02211073, -0.0072918367, 0.018485567, 0.025625201, -0.061378725, 0.013711973, -0.03484031, 0.051112037, -0.016382419, -0.00589435, -0.027783696, -0.00011944793, -0.0017866383, 0.025127089, -0.0015963864, -0.06530829, 0.0062195077, -0.030163575, -0.015759775, -0.021626452, -0.02768684, -0.011809454, -0.039461702, -0.07848064, 0.029333385, -0.033650372, 0.013705055, -0.025735894, -0.00033726473, -0.015441536, 0.015441536, -0.012432097, -0.063426524, -0.030827727, 0.0105364965, -0.0464353, -0.040208876, -0.0025441868, -0.025127089, 0.021059155, -0.047099452, 0.021958528, 0.0023643123, 0.0005374616, -0.0025735893, 0.0026202875, 0.006226426, -0.02140507, 0.0043723346, -0.07405296, -0.009076745, 0.01795978, 0.0026220172, -0.01866544, -0.043695673, -0.022608845, -0.012930212, -0.01131134, -0.011442787, -0.010169829, -0.009900018, 0.00042590481, -0.0026341241, -0.027631495, -0.026925834, -0.014639019, 0.0031979615, -0.009512595, 0.003777365, 0.018111981, 0.011975492, 0.005237116, 0.042062968, 0.061434068, 0.021072993, -0.016230216, 0.0070669935, 0.056646638, 0.028945962, -0.00403334, 0.0053374306, -0.0027240613, 0.034757294, -0.0019941858, -0.031657916, -0.00466636, -0.014652856, -0.021059155, -0.017032733, -0.085232854, -0.02966546, 0.0069355466, 0.004766675, 0.03564283, 0.0087308325, -0.07128566, 0.03876988, -0.0209623, 0.020076765, 0.0054239086, 0.053990033, 0.010806308, 0.006952842, 0.02140507, 0.0006529099, -0.03647302, 0.011837128, 0.049949773, -0.039046608, -0.012030839, -0.049147256, 0.028586213, -0.0044242213, -0.016797513, 0.014334616, -0.009242783, -0.01194782, -0.0104534775, 0.013684301, -0.016714495, -0.058168653, 0.009713224, 0.019883053, 0.049507003, -0.018222673, 0.022788718, 0.002986955, -0.003974535, -0.031215148, 0.035144717, 0.0339271, 0.0057940353, -0.00029943054, -0.027935898, -0.026967343, -0.025099415, 0.031906974, -0.017350974, 0.014735875, -0.013705055, -0.0002557591, -0.077484414, 0.024905704, 0.0073541007, 0.04134347, -0.035698175, -0.015054114, -0.00739561, 0.013366061, 0.007997498, -0.02202771, -0.0381334, 0.0078868065, 0.007942152, 0.00510221, -0.021750981, -0.042256676, 0.028807597, -0.019979909, 0.020616388, 0.0072710817, -0.03295855, -0.0071534715, 0.07731837, 0.0107924715, -0.009049072, -0.0014597509, 0.015275498, 0.009657878, -0.0066864896, 0.035172388, 0.0016906476, -0.0471548, 0.044249132, -0.058168653, -0.03586421, 0.025777403, 0.0045902594, -0.03508937, -0.0057179346, 0.024435263, 0.006610389, 0.020256639, 0.00088034745, -0.02321765, 0.0020011042, 0.03951705, 0.0007091207, -0.02515476, -0.039018936, 0.0034124274, 0.0038742207, 0.0454114, -0.0134421615, 0.01510946, -0.035891887, -0.045909513, 0.052163612, -0.03968309, 0.014694365, -0.040679317, -0.0134836715, -0.048510775, 0.010972346, -0.013366061, -0.004292775, 0.0034106977, -0.029001309, -0.0208101, 0.0011285397, -0.03683277, 0.018291855, 0.0013352224, 0.019952236, 0.0109585095, -0.01934343, -0.022276768, -0.025293125, 0.025763568, 0.043501962, 0.06043784, -0.04881518, -0.0069874334, 0.02104532, 0.031713262, -0.01206543, 0.0023954443, 0.013179268, 0.042616427, 0.045300707, 0.018264182, 0.009249701, -0.04596486, 0.041315794, -0.0554567, 0.018250346, 0.0050572413, 0.009761652, -0.044138443, 0.04065164, 0.028420174, -0.014459144, 0.010280521, 0.029222691, -0.023079285, 0.015095624, 0.018886825, -0.005209443, -0.03472962, -0.02464281, -0.016465437, -0.019205065, -0.010072974, -0.026150988, 0.0023746896, -0.042229004, 0.017420156, 0.01657613, 0.02772835, -0.017973617, 0.050226502, -0.01744783, -0.024241552, -0.013822665, 0.0012072348, 0.043501962, 0.0419246, 0.0009088852, -0.002511325, -0.04909191, 0.013165432, -0.01257738, 0.003967617, 0.03223905, 0.015012605, 0.0034470186, 0.016161034, 0.017876761, 0.048151027, 0.054515816, 0.05066927, -0.010308194, 0.0059600733, -0.0025009478, 0.0041751643, -0.013296879, 0.012916375, 0.0141962515, 0.029527096, 0.0015367165, 0.0048081847, 0.034784965, -0.006887119, 0.018928334, -0.022871738, 0.032183703, 0.0018298774, 0.041426487, 0.058057964, 0.06414603, 0.04521769, 0.0047078696, -0.026358536, 0.00474592, -0.045632783, 0.025376145, -0.0008414323, 0.01672833, -0.027299419, -0.013539017, -0.030246593, -0.039572395, 0.046490647, 0.04983908, -0.021377396, -0.017973617, -0.03113213, -0.005237116, 0.04253341, -0.004541832, -0.02140507, 0.014417635, 0.02408935, -0.060493186, 0.0048116436, -0.03647302, -0.0041198186, -0.030495651, -0.021778654, 0.0015609304, 0.013677382, -0.034397542, -0.017724559, 0.07853599, 0.018374875, -0.0019405694, -0.04765291, 0.037413903, -0.053491917, 0.040734664, -0.021072993, 0.023203814, 0.02389564, 0.03674975, 0.005870136, 0.03722019, 0.020519532, -0.035227735, 0.02666294, 0.0537133, -0.016064178, 0.03215603, -0.053657956, 0.0056487517, -0.015593737, -0.0049742223, 0.019177392, 0.036417674, -0.032654144, 0.018997516, -0.007264164, 0.016659148, -0.024545955, 0.010501905, -0.01602267, 0.011594988, 0.081081904, 0.01946796, 0.007976743, -0.0115050515, 0.024781175, 0.024864195, -0.036805097, 0.030108228, -0.016036507, -0.03694346, -0.054709528, 0.029222691, 0.00332249, 0.026981179, 0.0012020462, -0.011761026, -0.013206941, -0.01681135, 0.070953585, 0.02021513, 0.017337138, -0.0032100684, 0.032571126, 0.010654107, 0.011318259, -0.018208837, 0.04087303, -0.016756004, -0.012093103, 0.00044925392, 0.040402588, -0.050447885, -0.018693114, -0.012653481, 0.02745162, 0.01760003, 0.024435263, -0.011726435, 0.004714788, -0.0027275204, -0.0401812, -0.0077346046, -0.08113725, 0.01250128, -0.02515476, 0.033567354, 0.013144677, -0.010979264, 0.036168616, -0.04873216, -0.003663214, -0.010750962, -0.004292775, -0.026469229, -0.010239012, 0.0021066074, 0.023660418, 0.024573628, -0.004126737, 0.020104438, -0.0065550427, 0.034314524, -0.005344349, 0.009830834, -0.0032360118, 0.034784965, -0.05553972, 0.012660399, -0.018900663, -0.0200906, 0.010059137, 0.004818562, -0.007444038, -0.021654125, -0.03591956, 0.0033553517, 0.0075685666, 0.015538392, 0.044608884, -0.0127365, -0.003137427, 0.029250365, 0.04358498, 0.009886181, 0.04181391, -0.030052882, -0.026178662, 0.037413903, -0.039655413, 0.010626433, -0.026911996, 0.010107565, -0.019315757, 0.0027084954, 0.0027396274, -0.023369852, -0.0499221, -0.009415739, 0.007278, -0.022733374, 0.013919521, -0.010176747, 0.025348471, -0.024158532, 0.02598495, 0.049340967, -0.009796243, -0.040319566, -0.018997516, -0.04566046, 0.02076859, -0.0018350661, 0.0069390056, -0.013739646, -0.029527096, 0.018928334, 0.026358536, -0.014389962, -0.024573628, 0.00423397, 0.02428306, 0.0023937149, 0.031270493, -0.005700639, 0.009886181, -0.01874846, -0.016922042, -0.01949563, -0.0360856, -0.025431491, 0.00877926, -0.0032221754, -0.03445289, 0.021834001, -0.013158513, -0.0074509564, -0.0076446673, 0.0063647907, -0.009429576, 0.033650372, -0.008972972, -0.013276123, -0.028918289, -0.033290625, -0.00076403434, -0.040319566, 0.011615744, 0.016894368, -0.00913901, 0.014514491, 0.036251634, 0.036639057, 0.008931462, -0.01625789, 0.013656627, 0.018195, 0.023010103, -0.009339639, -0.08401524, -0.022013875, -0.025486836, 0.012861028, -0.008301902, -0.032571126, -0.037635285, -0.026330864, -0.050337195, 0.054598838, 0.0019544058, 0.015317008, -0.028420174, -0.006755672, 0.044166114, -0.0020789343, -0.002523432, -0.03868686, -0.028613886, -0.0064927787, -0.015911978, -0.02792206, 0.024725828, 0.021363558, 0.0033397856, -0.032349743, 0.015455373, -0.037441574, -0.0078868065, -0.010100647, 0.004749379, -0.016672986, -0.015566065, -0.027839042, -0.030412631, -0.041979946, 0.015413864, -0.016769841, -0.013089331, -0.025044069, -0.051056694, -0.022179913, 0.0015998456, 0.04283781, -0.0009711495, 0.011491215, 0.025777403, -0.0024179288, -0.011761026, 0.013967949, -0.039655413, -0.0065688794, 0.004486486, -0.028918289, 0.06331583, 0.0034833394, -0.04651832, -0.02570822, -0.021072993, -0.003936485, -0.004880826, 0.005237116, -0.025168598, -0.010259766, 0.01681135, 0.008744669, -0.009464167, -0.02527929, -0.009740897, 0.0010239012, 0.011166058, -0.022304442, 0.037192516, 0.011172975, -0.012660399, -0.009803162, -0.010578006, -0.030357286, 0.033678047, -0.03315226, -0.0140302135, 0.017489338, 0.04588184, -0.01107612, 0.0190667, -0.0076792585, 0.0052301977, -0.017862923, 0.020353494, -0.006558502, 0.035310753, -0.004299693, 0.0026704448, -0.03414849, 0.01795978, 0.014147824, 0.0004773593, 0.013718892, -0.024006331, -0.018679278, 0.024905704, 0.0010662754, 0.006779886, 0.018693114, 0.019509468, -0.010432723, -0.015178643, -0.021225194, 0.013234614, 0.004770134, -0.017254118, 0.018416384, -0.020187456, 0.00280881, -0.015137133, -0.010287439, 0.019730851, 0.028669233, 0.014403799, 0.014556, -0.02100381, 0.005091833, -0.005866677, -0.016949715, -0.008986808, 0.016783677, -0.007637749, -0.014777384, -0.0057421485, 0.026995016, -0.016949715, 0.05432211, -0.010993101, 0.047735933, 0.011622662, -0.035310753, 0.008163536, 0.009145928, 0.0037566102, 0.025168598, -0.0154277, -0.0072572455, 0.010661025, -0.038382456, 0.0014969365, -0.007658504, -0.013013231, -0.012196876, 0.0072572455, 0.00061183283, -0.03824409, -0.009844671, 0.07643284, -0.019191228, -0.15751474, 0.008668569, 0.02413086, -0.009311966, 0.011200649, 0.03876988, 0.004244347, 0.021571107, -0.033678047, -0.038161073, -0.01938494, -0.020464186, 0.032847855, 0.0034660439, -0.015676757, -0.03140886, -0.0151648065, -0.02938873, 0.02408935, -0.014888076, -0.0012478796, 0.008910707, -0.032073013, 0.013573608, 0.0027084954, -0.011636498, -0.032903202, 0.018485567, 0.0072918367, 0.010716371, 0.008876116, -0.008502531, -0.006312904, 0.020561041, -0.023176141, 0.007907561, -0.015469209, -0.01827802, -0.06768817, -0.000010539523, 0.022871738, -0.009422658, 0.028254136, 0.0042858566, 0.018623931, -0.03345666, -0.014279271, 0.025500674, 0.0012703638, -0.024933377, 0.0020426137, -0.031076783, 0.02741011, -0.024117023, -0.0030388418, 0.013345306, -0.006177998, -0.0128126005, -0.009125173, 0.006779886, -0.00075538654, -0.012314487, -0.0010066056, -0.01898368, -0.03876988, -0.019606324, -0.022415133, 0.023397526, -0.042782463, 0.026164826, 0.003076892, -0.012349078, 0.006427055, 0.04790197, -0.0078868065, 0.017945943, 0.020035256, 0.03564283, -0.039849125, 0.017267955, 0.037081826, -0.037192516, 0.01755852, 0.0066311434, -0.006371709, 0.026524574, 0.03793969, -0.024296898, -0.029305711, 0.022069221, -0.0013023608, -0.027257908, 0.008135864, 0.008675487, -0.0059081865, -0.0079698255, -0.00024084162, 0.016188707, 0.024587464, -0.016423928, 0.010626433, 0.007409447, -0.037386227, -0.027631495, 0.023106959, -0.0070704524, -0.0005439475, -0.016465437, 0.049783733, 0.007243409, 0.014417635, -0.009464167, -0.01214153, 0.025376145, -0.036805097, 0.033567354, -0.0036735912, 0.019398775, 0.035615157, 0.0045625865, 0.017309465, 0.030634016, -0.026330864, -0.0027206023, -0.022332115, 0.0009080205, 0.024034005, 0.023411362, -0.026953505, 0.028447848, -0.02223526, 0.025099415, -0.024864195, 0.022055384, -0.02559753, 0.03326295, 0.022553498, 0.0020011042, -0.041122083, 0.04765291, 0.015469209, 0.028862944, 0.06397998, 0.013117004, -0.0060500107, -0.00794907, -0.016230216, -0.017738396, -0.028503194, 0.0048254803, 0.013497508, -0.0047286246, 0.009526432, 0.007983661, -0.031657916, 0.015953487, 0.030744707, -0.05933092, 0.032571126, 0.031436533, -0.032183703, 0.049396314, 0.007637749, -0.0034349116, 0.048759833, -0.028558541, -0.018803807, -0.026745958, -0.013967949, 0.029499423, -0.013954112, -0.03824409, 0.053104494, 0.032626472, 0.0035283081, 0.025486836, 0.020187456, 0.006427055, 0.03370572, -0.000058913232, -0.014376125, 0.025044069, -0.05047556, 0.016119525, 0.031879302, 0.021017646, -0.010619516, 0.008786179, 0.034563582, 0.034286853, 0.024269225, -0.016783677, 0.030274266, -0.012100021, 0.030910745, -0.017793741, -0.0021429283, 0.0360856, -0.013186187, -0.020256639, -0.03140886, 0.040790007, 0.012037757, 0.017309465, -0.013808829, 0.0033017353, 0.005150638, 0.013027066, -0.0012323135, 0.03749692, 0.0033812951, 0.018776134, -0.029803826, 0.008260392, 0.028115772, -0.041232776, 0.002658338, 0.022816392, -0.020588715, -0.0018713869, -0.03492333, 0.0005253547, -0.017074244, 0.0336227, -0.017350974, -0.0018004748, 0.03586421, 0.002040884, -0.01483273, 0.001404405, -0.010384295, 0.020934628, -0.0044553536, -0.0027915144, -0.04236737, -0.011089956, -0.014583673, -0.022124566, -0.0017053488, 0.02440759, 0.03893592, -0.02234595, -0.013836502, -0.0023746896, 0.0059600733, -0.01020442, -0.0036528364, -0.010771717, -0.01902519, -0.01851324, -0.0017330219, 0.0029419863, 0.03879755, -0.03243276, 0.0014718579, -0.023508217, -0.0071257986, 0.022276768, 0.07051081, 0.03268182, -0.025652874, 0.015967323, 0.017807579, -0.013096249, -0.03472962, -0.010031464, 0.0036217044, -0.0039537805, -0.0048842854, -0.016410092, -0.031353515, 0.022083057, -0.01372581, 0.032654144, -0.044415172, -0.0037185599, 0.031353515, -0.030246593, -0.018706951, -0.021114502, -0.031906974, -0.013760401, -0.024490608, -0.0018558209, 0.018693114, -0.022166077, 0.014915749, 0.004842776, 0.03785667, -0.03899126, 0.005749067, 0.032820184, -0.0047770524, 0.012335242, 0.003805038, -0.015635246, 0.0029177724, -0.014874239, 0.016368583, -0.03489566, 0.0072226543, 0.026400046, 0.029499423, -0.017129589, 0.010301276, 0.008398756, -0.000028267541, -0.014583673, -0.024518281, -0.036334656, -0.017143426, 0.016645312, 0.023743438, 0.0051333425, 0.0034158865, -0.022373624, -0.012798765, 0.003279251, -0.012266059, -0.017433994, -0.0028658854, -0.0064028413, 0.0012781469, -0.00486699, -0.016977388, -0.0049742223, 0.007243409, -0.007416365, -0.019288084, 0.024656646, 0.0154277, 0.0052682483, -0.018181164, 0.003722019, -0.021695634, -0.02947175, -0.0173233, -0.0010342785, 0.004607555, -0.011262912, 0.044442844, 0.047210146, 0.017005062, 0.02994219, -0.01285411, 0.010764798, 0.019398775, -0.023134632, 0.006530829, -0.02428306, 0.0686844, -0.004292775, -0.03951705, 0.007879888, -0.018485567, 0.029361058, -0.03342899, 0.0013490589, -0.011325177, -0.0075685666, -0.012805683, 0.01214153, 0.035172388, 0.007060075, -0.010695616, -0.0025995327, 0.0017676131, 0.016050342, 0.009706306, 0.02689816, 0.027299419, 0.01847173, 0.013815748, -0.0151648065, -0.0004981141, -0.0022968594, -0.0038396292, 0.0036597548, 0.0070912074, 0.0056003244, 0.00858555, -0.025348471, -0.044110768, 0.0021671422, -0.028862944, -0.02155727, -0.016313236, 0.026123315, 0.021100666, -0.007838379, 0.041952275, 0.006454728, 0.0011553479, -0.010072974, -0.006897496, 0.02100381, 0.0042651016, 0.061655454, -0.0077622775, 0.012847193, -0.011816373, -0.009263538, 0.022096895, 0.007824542, 0.0028970176, -0.023023939, -0.014459144, 0.01910821, 0.0008639166, 0.015206316, -0.04007051, 0.021072993, -0.038354784, 0.012688072, 0.0022934002, -0.036057923, -0.00054697425, 0.0150402775, -0.02883527, 0.002744816, -0.02583275, -0.0015185561, -0.012300651, 0.0026514197, 0.02413086, 0.011767945, 0.018139655, 0.0061503253, 0.013878011, -0.011636498, 0.016617639, 0.014037131, -0.017752232, -0.011366687, 0.010584924, 0.017005062, 0.040042836, 0.0019768903, -0.022871738, 0.037137173, -0.016894368, 0.039267994, 0.067079365, 0.013393734, -0.019039027, -0.0015202856, -0.017586194, 0.0019665128, 0.0061572436, -0.042035293, 0.02515476, -0.019869218, 0.020021418, 0.03113213, -0.03492333, 0.019301921, -0.034203835, 0.0047805114, 0.016188707, 0.0063198223, 0.0041682464, -0.008281146, 0.025998788, 0.0009633665, 0.0077622775, 0.024739666, -0.027202563, 0.036998805, -0.013940276, -0.010432723, 0.027756022, 0.012625808, 0.008793097, 0.033678047, 0.0049673044, -0.0150817875, -0.004929254, -0.033318296, 0.027714513, 0.01602267, -0.033484336, -0.009900018, -0.0035334968, 0.026676776, -0.0036874278, -0.0008959135, -0.04137114, -0.025044069, 0.0136082, 0.018015126, 0.0042547244, 0.023010103, -0.027078034, 0.0060742246, -0.025127089, 0.010377376, -0.023176141, 0.017143426, 0.01344908, 0.0067971814, -0.023992494, 0.022290604, 0.002329721, -0.007914479, 0.0039053527, 0.0034695028, 0.0038915162, 0.0012556625, 0.015593737, 0.020782426, -0.007243409, -0.010584924, -0.013954112, 0.006838691, 0.07958756, 0.037690632, -0.0041717053, -0.0019613241, 0.019772362, -0.025763568, -0.008398756, -0.005150638, 0.030550996, -0.0043723346, -0.04275479, -0.05387934, -0.0059116455, 0.029250365, -0.01887299, 0.0030751626, -0.006254099, -0.0011172976, 0.009478004, -0.0010835711, -0.020588715, -0.0343422, 0.0381334, 0.0015323926, 0.015054114, 0.0149572585, 0.000743712, -0.021114502, -0.009706306, 0.007077371, 0.033096913, 0.027285581, 0.007004729, -0.01123524, 0.02164029, 0.0140717225, 0.007603158, -0.0073679374, -0.0235774, 0.025016395, 0.017987452, 0.016285563, -0.009893099, 0.006558502, 0.027839042, 0.01800129, -0.025459163, 0.0016266538, 0.01190631, 0.046767376, 0.009595614, -0.0019250034, -0.003298276, 0.008841525, -0.03757994, -0.00609152, 0.014334616, -0.0017165911, -0.009547186, 0.010266685, -0.011152221, 0.01372581, 0.00076792587, -0.010993101, -0.016797513, 0.009388067, -0.009630205, -0.015026441, -0.030080555, 0.0016629746, 0.011615744, 0.009235865, -0.009955363, -0.013234614, -0.02330067, 0.0031270494, 0.009381148, 0.010488069, 0.03868686, 0.022691863, -0.0032567666, 0.062430296, -0.0028883698, 0.034563582, -0.0048704487, -0.01649311, 0.005237116, 0.010467314, 0.0041820826, -0.024739666, 0.024587464, -0.033401314, -0.003964158, 0.0013049551, -0.009616369, 0.027700678, -0.0057698213, 0.020062927, -0.0077622775, -0.005980828, -0.00937423, 0.02800508, -0.027783696, 0.00601196, -0.013663546, -0.007907561, -0.004915417, 0.0025701302, 0.021017646, -0.006444351, -0.02883527, 0.0028658854, -0.035532136, 0.0009841212, 0.009173601, -0.014099396, 0.015358517, 0.040236548, -0.008786179, -0.010730207, -0.0020772049, 0.0062437216, -0.021059155, -0.00074500917, 0.027008852, 0.00553806, -0.008786179, 0.022996267, 0.013013231, 0.0011259454, -0.021294376, -0.017267955, -0.00075279217, -0.023148468, -0.014846567, 0.04043026, -0.03888057, -0.024670484, 0.018651605, 0.019440286, 0.0061883754, 0.029444076, 0.0045902594, 0.0129786385, -0.05066927, -0.0024058218, -0.031547226, -0.0126811545, -0.007132717, -0.001973431, 0.020630224, -0.0019613241, 0.0012902538, 0.010591842, -0.039351013, 0.023162305, -0.033207607, -0.032294396, -0.020076765, 0.010723289, 0.014652856, 0.013310715, 0.0044553536, 0.024933377, 0.000023349097, 0.012826437, 0.011740272, 0.014777384, -0.0021584944, -0.00056989095, -0.025403818, 0.026870487, 0.013552854, 0.0030595965, 0.029250365, -0.010155993, -0.014417635, 0.038603842, -0.018208837, -0.001720915, 0.019122045, 0.035421446, -0.031934645, 0.015593737, -0.0029731183, 0.014569837, 0.04258875, 0.038382456, -0.0074509564, -0.0123905875, 0.010681779, -0.0037877425, 0.010903164, -0.0353661, -0.015372354, 0.022249095, -0.031906974, -0.0044795675, 0.028337156, 0.0069320877, 0.026884323, -0.0025009478, -0.031630244, -0.024974886, -0.010432723, 0.015911978, -0.0019128964, 0.03733088, 0.024739666, 0.009055991, 0.0009434765, 0.016548457, -0.03021892, -0.023881802, -0.003888057, -0.026275517, 0.013587445, 0.008647813, 0.008032089, -0.011913228, -0.021349723, -0.0035732766, -0.012999394, 0.0056833434, -0.0057213935 ]
2311.01343
53
• Llm-FTALL has the same structure as CLLM4Rec, but it fine- tunes the whole network including the vocab embeddings as well as other parts of the pretrained LLM, instead of training only the newly-introduced user/item token embeddings. 7Note that both Bert4Rec and S3Rec are original designed for sequential recommenda- tion. In this paper, we use similar recommendation-oriented finetuning as CLLM4Rec to adapt them to direct recommendation, where item sequences generated from masked interactions are used to predict all hold-out items with multinomial likelihood. Conference’17, July 2017, Washington, DC, USA # Table 1: Comparison between CLLM4Rec and various base- lines with GPT-backbone on three Amazon Review datasets.
2311.01343#53
Collaborative Large Language Model for Recommender Systems
Recently, there is a growing interest in developing next-generation recommender systems (RSs) based on pretrained large language models (LLMs), fully utilizing their encoded knowledge and reasoning ability. However, the semantic gap between natural language and recommendation tasks is still not well addressed, leading to multiple issues such as spuriously-correlated user/item descriptors, ineffective language modeling on user/item contents, and inefficient recommendations via auto-regression, etc. In this paper, we propose CLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and ID paradigm of RS, aiming to address the above challenges simultaneously. We first extend the vocabulary of pretrained LLMs with user/item ID tokens to faithfully model the user/item collaborative and content semantics. Accordingly, in the pretraining stage, a novel soft+hard prompting strategy is proposed to effectively learn user/item collaborative/content token embeddings via language modeling on RS-specific corpora established from user-item interactions and user/item features, where each document is split into a prompt consisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and a main text consisting of homogeneous item tokens or vocab tokens that facilitates stable and effective language modeling. In addition, a novel mutual regularization strategy is introduced to encourage the CLLM4Rec to capture recommendation-oriented information from user/item contents. Finally, we propose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where an item prediction head with multinomial likelihood is added to the pretrained CLLM4Rec backbone to predict hold-out items based on the soft+hard prompts established from masked user-item interaction history, where recommendations of multiple items can be generated efficiently.
http://arxiv.org/pdf/2311.01343
Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li
cs.IR
null
null
cs.IR
20231102
20231108
[ { "id": "2302.13971" }, { "id": "2206.07682" }, { "id": "2308.10053" }, { "id": "2307.02046" }, { "id": "2306.05817" }, { "id": "2205.08084" }, { "id": "2303.14524" }, { "id": "2305.07001" }, { "id": "2303.13835" }, { "id": "2303.18223" }, { "id": "2302.03735" }, { "id": "2305.00447" }, { "id": "2305.08845" }, { "id": "2104.08691" }, { "id": "2308.10837" }, { "id": "2305.06569" } ]
{ "authors": "Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li", "chunk_id": 53, "doc_id": "2311.01343", "primary_category": "cs.IR", "published": 20231102, "source": "http://arxiv.org/pdf/2311.01343", "summary": "Recently, there is a growing interest in developing next-generation\nrecommender systems (RSs) based on pretrained large language models (LLMs),\nfully utilizing their encoded knowledge and reasoning ability. However, the\nsemantic gap between natural language and recommendation tasks is still not\nwell addressed, leading to multiple issues such as spuriously-correlated\nuser/item descriptors, ineffective language modeling on user/item contents, and\ninefficient recommendations via auto-regression, etc. In this paper, we propose\nCLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and\nID paradigm of RS, aiming to address the above challenges simultaneously. We\nfirst extend the vocabulary of pretrained LLMs with user/item ID tokens to\nfaithfully model the user/item collaborative and content semantics.\nAccordingly, in the pretraining stage, a novel soft+hard prompting strategy is\nproposed to effectively learn user/item collaborative/content token embeddings\nvia language modeling on RS-specific corpora established from user-item\ninteractions and user/item features, where each document is split into a prompt\nconsisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and\na main text consisting of homogeneous item tokens or vocab tokens that\nfacilitates stable and effective language modeling. In addition, a novel mutual\nregularization strategy is introduced to encourage the CLLM4Rec to capture\nrecommendation-oriented information from user/item contents. Finally, we\npropose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where\nan item prediction head with multinomial likelihood is added to the pretrained\nCLLM4Rec backbone to predict hold-out items based on the soft+hard prompts\nestablished from masked user-item interaction history, where recommendations of\nmultiple items can be generated efficiently.", "text": "• Llm-FTALL has the same structure as CLLM4Rec, but it fine- tunes the whole network including the vocab embeddings as well as other parts of the pretrained LLM, instead of training only the newly-introduced user/item token embeddings.\n7Note that both Bert4Rec and S3Rec are original designed for sequential recommenda- tion. In this paper, we use similar recommendation-oriented finetuning as CLLM4Rec to adapt them to direct recommendation, where item sequences generated from masked interactions are used to predict all hold-out items with multinomial likelihood.\nConference’17, July 2017, Washington, DC, USA\n# Table 1: Comparison between CLLM4Rec and various base- lines with GPT-backbone on three Amazon Review datasets.", "title": "Collaborative Large Language Model for Recommender Systems", "year": 2023 }
[ -0.008378906, 0.0054021, 0.08363834, 0.014894311, 0.029487174, -0.023677433, 0.018497994, 0.060180143, -0.046423115, 0.02012856, -0.014647672, -0.036228664, -0.009502488, 0.016278235, -0.0253217, -0.014264009, 0.027568864, -0.05491849, -0.013757028, 0.055302154, -0.02495174, -0.019909324, 0.025486127, -0.0031891915, -0.016004192, -0.0059570395, -0.0148258, 0.045573577, -0.014647672, -0.013873496, 0.016291937, -0.027226308, -0.015702743, 0.0068100025, -0.029076107, 0.05226026, 0.0045868177, 0.03872247, 0.008351502, 0.04294275, -0.054370403, -0.012503275, -0.036173858, -0.0065154047, 0.029487174, -0.008104863, 0.008104863, 0.021279546, -0.015826063, 0.017579947, -0.03420074, 0.04025712, -0.03255647, -0.013202088, -0.017484032, -0.027993632, 0.010927519, -0.029459769, 0.066318735, 0.0065017026, -0.0054569086, -0.019429745, 0.0151135465, 0.0042271344, -0.06867552, -0.05354827, -0.06686682, 0.014401032, 0.03872247, 0.0069641527, -0.06039938, -0.0629754, 0.011523565, -0.026828945, -0.00472384, 0.022581257, 0.038311403, 0.008235034, 0.015647933, -0.03847583, 0.026308259, 0.002769561, 0.010365728, -0.0469438, 0.00032799685, -0.023375984, -0.013859794, 0.0007519092, -0.0154972095, -0.019758599, -0.02760997, -0.008125416, -0.02588349, 0.022896407, 0.02130695, -0.023745945, 0.018128036, -0.03984605, 0.0038023656, 0.07371794, -0.021348055, 0.007029238, 0.008673504, -0.06648316, 0.07169001, -0.03526951, -0.023088237, -0.015620529, -0.0426139, 0.0019183105, -0.06500333, -0.040722992, -0.04847845, 0.04316199, 0.048341427, -0.042093214, -0.05272614, 0.009550447, -0.015757551, 0.012976001, -0.01488061, 0.023115642, 0.0028791786, -0.0574397, 0.010242408, -0.029377555, 0.036530115, -0.041764364, 0.026760433, -0.019265318, 0.025170974, -0.03669454, 0.026596006, -0.010146493, -0.03683156, 0.015250569, -0.059083965, -0.0119003765, -0.03241945, -0.052589115, -0.038530637, -0.03929796, -0.06078304, -0.0026496665, -0.038393617, -0.005696697, -0.012695106, -0.012345699, -0.033625245, 0.020868478, -0.06127632, -0.020347795, -0.029076107, 0.035105083, -0.044806253, -0.04680678, -0.025527233, 0.015757551, 0.022869002, -0.018484293, -0.013757028, -0.020525923, -0.010509602, 0.010667177, -0.0043504545, 0.004836883, -0.03683156, 0.012366252, -0.06840148, -0.035488747, 0.032035787, -0.045189917, -0.030062668, -0.014318818, -0.040339332, -0.005313035, -0.003399863, -0.015031334, -0.005474036, -0.029267939, 0.015182058, -0.0140858805, -0.040914826, -0.044998087, -0.060508996, 0.012893788, -0.020457413, -0.006237935, 0.018580208, 0.032337237, 0.013674814, 0.024225522, 0.07316985, 0.024663994, -0.01773067, 0.007899329, 0.041161463, 0.003867451, -0.014949121, 0.010948072, -0.016031595, 0.0444774, -0.02711669, -0.0072347713, 0.002868902, -0.031734336, -0.024431055, -0.0012948597, -0.065935075, -0.021334354, 0.020580731, 0.0038126423, 0.025979407, 0.027651077, -0.062646545, 0.0069641527, -0.04354565, -0.0066729803, -0.013126725, 0.050287142, 0.040722992, 0.00013798563, 0.021649506, 0.025554638, -0.036036834, 0.012489572, 0.026541198, -0.054151166, -0.02273198, -0.030172285, 0.03384448, -0.009954662, -0.0030898503, -0.013613154, -0.01673041, -0.025828682, -0.013592601, 0.0061488706, -0.012140166, -0.04206581, -0.008043203, 0.017223688, 0.055082917, -0.00042519698, -0.0005352429, 0.0058371453, 0.007823966, -0.045491364, 0.04798517, 0.051218893, 0.012777319, -0.012160718, 0.001284583, -0.021430269, -0.009029762, 0.04680678, -0.02297862, 0.008721462, 0.0027181776, 0.0068031517, -0.05206843, 0.038530637, 0.018429484, 0.03965422, -0.024280332, -0.0370782, -0.0022471638, 0.02125214, 0.020799968, 0.002576017, -0.016333044, -0.0061488706, -0.0037338545, 0.010927519, -0.013147279, -0.019169403, 0.046697162, 0.0059501883, 0.019731194, 0.01889536, -0.014401032, -0.02315675, 0.04965684, -0.025362806, -0.03990086, 0.0018412356, 0.014620267, -0.017621053, -0.027514055, 0.041791767, 0.018881656, -0.05535696, 0.024061095, -0.003631088, -0.022718279, 0.05245209, 0.027760694, -0.01216757, 0.010509602, 0.025033953, 0.021402866, -0.018086929, -0.001388206, 0.01229089, 0.030720374, 0.052342474, -0.022334617, -0.029103512, -0.021567293, 0.02352671, 0.021841336, 0.04269611, -0.0308848, 0.015579422, -0.03299494, -0.041791767, 0.03699599, -0.06741492, 0.023992585, -0.04428557, -0.004675882, -0.05365789, -0.012914341, 0.024444757, 0.01704556, 0.019923026, -0.021635802, -0.047902957, -0.009557297, -0.013058214, 0.03118625, 0.017552542, 0.013435025, -0.023458198, -0.0065770647, 0.020114856, -0.012886937, 0.042449474, 0.01618232, 0.057110846, -0.022896407, -0.02304713, -0.022553852, 0.030007858, -0.030528544, 0.034803636, 0.0035694279, 0.02352671, 0.017442925, 0.031213654, 0.019676385, -0.020635542, 0.04639571, -0.0685659, 0.0216221, -0.021827634, 0.029898241, -0.0050663953, 0.02556834, 0.010578113, -0.034666613, 0.0030590203, 0.041709553, -0.021211034, 0.0073717935, 0.025225785, -0.035132486, 0.0025057932, -0.0114824595, -0.03463921, 0.0054363552, 0.015086142, 0.005052693, 0.030007858, -0.04949241, 0.022663468, 0.040531162, 0.0024869526, -0.020402603, 0.054699257, -0.021169927, -0.02044371, -0.0057412297, -0.0042134323, 0.0007090898, 0.0358176, -0.00858444, -0.006967578, -0.02636307, 0.012551232, -0.028692445, -0.012386805, 0.019840812, 0.023910372, 0.035845004, -0.011503013, 0.011448204, 0.052342474, 0.037845526, 0.06461966, -0.01321579, -0.00059304916, -0.004679308, -0.0076047312, -0.017429221, 0.017223688, 0.024129607, 0.05612429, 0.0028500615, -0.048697684, 0.022320913, -0.012626594, 0.011722248, -0.05305499, 0.033981502, 0.025486127, 0.02581498, 0.019991538, 0.03817438, 0.053000182, 0.0046587544, -0.003223447, -0.01982711, -0.031789146, 0.019429745, -0.009221593, 0.023924073, -0.010180748, -0.022553852, -0.018635018, -0.011866122, 0.04343603, 0.053904526, -0.020772563, -0.029624196, -0.0296516, -0.0023139622, 0.048149597, -0.0030316159, -0.031405486, 0.038695063, 0.029788623, -0.051739577, -0.020457413, -0.03910613, -0.023567816, -0.010790497, 0.031898763, -0.0023670583, 0.020238176, -0.042778324, -0.022567553, 0.022964919, 0.005754932, 0.002838072, -0.028171761, 0.050780423, -0.053493463, 0.07974691, -0.02643158, 0.047135632, -0.012523828, 0.0056350376, 0.0045491364, 0.03368005, 0.027897717, 0.0296516, 0.027089287, 0.055740625, -0.026280856, 0.013572047, -0.015277973, 0.0038023656, -0.010763093, -0.00174532, 0.013188385, 0.02297862, -0.044669233, 0.007789711, -0.033131965, 0.051657364, 0.021238439, 0.015373889, 0.0055322708, -0.016086405, 0.07338908, 0.008529631, 0.0122223785, -0.030610757, 0.03439257, 0.026513793, -0.011331734, -0.013304854, -0.015798658, -0.0019268745, -0.01637415, 0.011941483, -0.04910875, 0.0007090898, -0.006436617, -0.022060571, -0.009413424, -0.03389929, -0.0002879607, 0.0050800974, 0.03984605, -0.011975739, -0.0014824087, 0.015346484, -0.011598928, 0.00852278, 0.02773329, -0.0019320128, -0.0030007858, 0.0048094788, 0.025582042, -0.06357829, 0.0036653434, 0.0012015133, 0.035598364, 0.003908558, 0.025294295, -0.019868217, 0.013825539, 0.027568864, -0.0093312105, -0.01637415, -0.09361356, 0.000114327886, -0.049930885, 0.025020251, -0.008543333, 0.0013128438, -0.0040969634, -0.05609688, 0.01062607, -0.015264272, -0.033022348, -0.023608923, -0.005460334, 0.0039017068, 0.032830514, 0.037023395, -0.015154653, 0.02118363, -0.011825015, 0.017004453, -0.005429504, -0.0028449232, 0.001969694, 0.05467185, -0.035735387, 0.015058738, -0.0004217714, -0.0099409595, -0.023074536, 0.010557559, -0.023143047, -0.013757028, 0.0037338545, 0.022553852, 0.007926733, -0.004220283, 0.02500655, -0.022019465, 0.015140952, 0.0063509783, 0.054315593, 0.03822919, 0.013496685, -0.0053335885, -0.011886675, 0.040174905, -0.009132529, -0.004062708, -0.031350676, 0.019635279, -0.013757028, -0.0058028894, -0.008077458, -0.012037399, -0.052123237, -0.002015939, 0.0024252927, -0.008694057, 0.011283777, -0.021896144, 0.0140858805, -0.010173897, 0.0119003765, 0.043518245, 0.0008696627, -0.017251093, -0.015524614, -0.035159893, 0.009488787, -0.026143832, 0.005090374, -0.035735387, -0.013188385, -0.0015355048, 0.025650553, -0.04477885, -0.021896144, -0.013798134, 0.038777277, -0.002723316, 0.004192879, -0.01989562, 0.027335925, 0.0070566423, -0.020676648, -0.044751447, -0.03896911, -0.04743708, -0.0049499264, 0.00036653434, -0.04318939, 0.0118044615, 0.0072484734, -0.01901868, -0.008378906, 0.013489834, -0.010708284, 0.044011526, -0.0023739093, -0.031980976, -0.022896407, -0.022320913, 0.0004945645, -0.020745158, 0.02896649, 0.019224213, -0.023074536, 0.016661897, 0.0015654785, 0.0457106, 0.025335401, 0.006727789, 0.0083035445, 0.009865597, 0.020635542, 0.0080157975, -0.03620126, -0.01278417, -0.029816028, 0.008385758, -0.018004715, -0.032446854, -0.042038407, -0.013243194, -0.07503335, 0.04565579, 0.020704051, 0.0034957784, -0.027911419, -0.0041414956, 0.043024965, 0.0107767945, -0.021909848, -0.043107178, -0.0308848, -0.003836621, -0.012133314, -0.021526186, 0.037407055, 0.021772824, 0.00084739656, -0.018813146, 0.035132486, -0.001383924, 0.005843996, 0.03118625, -0.012544381, 0.011393394, -0.040914826, -0.024252927, -0.02724001, -0.0413807, 0.001969694, -0.010721986, 0.00045174503, -0.038284, -0.053000182, -0.0067723216, 0.012366252, 0.020347795, -0.007789711, 0.010420538, 0.0014747012, -0.0126402965, 0.006237935, 0.027335925, -0.0076389867, -0.007591029, -0.019498257, -0.007878776, 0.06697644, -0.0047478187, -0.015757551, -0.010708284, -0.020155963, -0.008481673, -0.020224474, -0.008563886, -0.009214742, -0.022224998, 0.01958047, 0.008077458, -0.015414996, -0.019320128, -0.025417615, 0.0066969595, 0.040366735, -0.0022660044, 0.0096189575, 0.030254498, 0.00441554, 0.0030299032, -0.023896668, -0.046697162, 0.03463921, -0.010674028, -0.0014969674, 0.010338324, 0.04680678, -0.028911682, -0.0003926542, -0.036721945, 0.003699599, -0.0044258167, 0.016264534, -0.01333911, 0.0037646845, -0.025294295, 0.012619743, -0.035296913, -0.015661636, -0.025376508, -0.01118101, 0.0058371453, -0.024732504, -0.037818123, 0.03699599, 0.0002796109, 0.025294295, 0.026664518, 0.022704575, -0.0122223785, -0.0012057952, -0.026486387, 0.012736212, 0.012338848, -0.0032371492, -0.03113144, -0.007871925, -0.012921192, -0.0151135465, -0.026171237, 0.016771516, 0.06522256, 0.021786528, 0.031898763, -0.0017059261, 0.0123182945, -0.0069127693, -0.019004976, 0.026390472, 0.025143571, -0.0051725875, -0.0043264753, -0.002553751, 0.043929312, -0.05083523, 0.05025974, -0.020101154, 0.044641826, 0.0265686, -0.04867028, 0.0029476897, 0.01006428, 0.023389688, 0.035351723, -0.06434562, -0.010338324, -0.022211296, -0.06445523, -0.0036790457, 0.0015826062, -0.02322526, 0.00012503275, 0.01519576, 0.005590505, -0.0166756, 0.00018187554, 0.07267657, -0.0050355652, -0.123758435, -0.0068339813, 0.020498518, -0.0030949886, 0.01833357, 0.044066336, 0.021718016, 0.04187398, 0.0037338545, -0.02847321, -0.0019165978, -0.02995305, 0.017799182, -0.018566506, 0.006621597, -0.018799445, -0.001998811, -0.019498257, 0.034694016, -0.028308783, 0.003298809, 0.020662945, -0.006477724, 0.023951478, -0.0216084, -0.017360711, -0.018744634, -0.0041826023, -0.00016699579, 0.030665565, 0.00051897153, 0.023417091, -0.0025640277, 0.039681625, -0.0039188345, 0.0046587544, -0.0034478207, 0.009598404, -0.036941182, 0.0052582263, 0.0034101396, -0.029569387, -0.012434763, -0.002154674, 0.007454007, -0.02273198, -0.0068819392, 0.015647933, 0.010530155, -0.01741552, 0.011420799, -0.02896649, -0.024842123, -0.03754408, -0.0045354343, 0.00889274, 0.009776533, 0.008262438, 0.022910109, 0.007406049, -0.010091684, 0.004860862, 0.013236343, -0.020799968, -0.012133314, -0.034666613, -0.006121466, 0.015826063, -0.044121142, -0.0067243637, -0.026294557, -0.011133052, 0.0151135465, 0.023252664, 0.0040044733, -0.001672527, 0.02465029, 0.025609447, -0.021334354, 0.038804684, 0.040832613, -0.025458721, 0.00765954, -0.009413424, 0.0143736275, 0.021567293, 0.04113406, -0.020087453, -0.005977593, 0.019388638, 0.016196022, -0.005299333, 0.0052650776, -0.0013085619, 0.008365205, -0.002514357, 0.0005677857, 0.024389949, 0.026184939, -0.006337276, 0.028500615, 0.021087714, -0.046697162, -0.021635802, 0.022224998, 0.00423056, 0.01327745, -0.014949121, 0.05472666, 0.0017084953, 0.019607875, -0.026815241, 0.0083378, 0.011544119, -0.044175953, 0.024417354, 0.00053138915, 0.020238176, 0.021101417, -0.0034409696, 0.0068100025, -0.0154012935, -0.0021341206, 0.00438471, -0.016360449, -0.009988917, 0.024855824, 0.018237652, -0.007892478, 0.011037137, 0.006237935, 0.00065770646, -0.012647147, 0.016483769, -0.03683156, 0.007097749, 0.018059524, 0.0031600741, -0.030967014, 0.06171479, 0.016798919, -0.005213694, 0.050287142, 0.021293247, 0.02007375, -0.01340077, -0.028445806, -0.015661636, -0.039270557, 0.017347008, 0.02625345, 0.009022911, -0.004871139, 0.0018857678, -0.00889274, 0.018306164, 0.01068773, -0.02748665, 0.019786004, 0.026335664, -0.022992322, 0.03773591, -0.009625808, -0.014935418, 0.03570798, -0.022115381, -0.017429221, -0.021402866, 0.0005498015, 0.02236202, -0.007570476, -0.032090597, 0.043271605, 0.035433937, 0.011461906, -0.01056441, 0.021115119, 0.010694581, 0.025239486, 0.032282427, 0.0060015717, 0.016894836, -0.020224474, 0.037708506, 0.022773087, 0.0011706833, -0.023882966, -0.020114856, 0.013866645, 0.04132589, 0.0027490077, 0.007152558, 0.013942007, 0.0021341206, 0.025458721, -0.020991798, -0.010057428, 0.0228553, 0.007974691, -0.015730146, 0.0005951901, 0.037626293, 0.01006428, 0.002891168, -0.009577851, -0.010139641, 0.023019727, -0.012496423, -0.008255587, 0.02148508, 0.038009953, 0.011694844, 0.0015286538, 0.0006726933, 0.030528544, -0.038338806, 0.010132791, 0.017401818, -0.031953573, 0.010989179, -0.02130695, 0.013448727, 0.015839765, 0.018922763, -0.010016322, 0.015826063, 0.013188385, -0.01000262, -0.016291937, 0.0018823423, -0.025952002, 0.031405486, 0.0024629738, -0.012064803, -0.016113808, -0.008159671, -0.012194974, -0.014524352, -0.010975477, 0.020306688, 0.053000182, -0.002899732, 0.018114332, -0.013976263, 0.02569166, -0.021909848, -0.008659802, -0.0049704798, -0.017059263, -0.03463921, 0.013907752, 0.007406049, 0.022512745, -0.0021957804, 0.0048471596, -0.0136679625, -0.019224213, 0.060454186, 0.0704294, 0.014359925, -0.02847321, 0.034611803, 0.021594696, -0.04502549, -0.005607633, 0.0011646886, 0.009851895, -0.029596793, 0.024047393, -0.017305901, -0.012667701, 0.015414996, -0.01840208, 0.023143047, -0.005583654, -0.01322264, 0.03241945, -0.0057035484, -0.016703004, -0.003038467, -0.0019268745, -0.029103512, -0.020183368, 0.017511435, 0.009016059, -0.008330949, 0.012037399, -0.0022745682, 0.042339854, -0.020950692, 0.010900115, 0.027637376, -0.013455578, -0.0025434743, 0.005083523, -0.001692224, -0.014743587, -0.016963346, 0.015606827, -0.054370403, 0.005991295, 0.016648196, 0.015524614, -0.009276402, 0.011256373, 0.008255587, -0.0066318735, -0.028637636, -0.00044831945, -0.023937775, -0.0064126384, 0.0004911389, 0.013620005, -0.02106031, 0.0017984161, -0.0047341166, -0.0051006507, -0.00413807, -0.0057515064, -0.019046083, 0.0068579605, -0.012619743, 0.017511435, 0.012071654, 0.00029631046, -0.014551756, 0.01068773, 0.0024047394, -0.020786265, 0.001372791, 0.024746206, -0.0037955146, -0.018552804, 0.006207105, -0.02680154, 0.0015337921, -0.018717231, -0.0049807564, -0.011503013, -0.010886412, 0.019429745, 0.039709028, 0.025499828, 0.038558044, 0.008358353, 0.0222387, 0.0031600741, -0.031268463, 0.029103512, -0.02433514, 0.05472666, 0.007207367, -0.016127512, 0.01581236, -0.01470248, 0.04935539, -0.030227093, 0.017388115, -0.0046861586, 0.029048704, -0.026472686, 0.038804684, 0.016401555, -0.03181655, 0.0077280514, -0.0047443933, -0.01179761, 0.015510911, 0.014538053, 0.0083994595, 0.006676406, 0.0061865514, 0.004100389, -0.0041243676, 0.020745158, 0.0059878696, 0.010989179, -0.0028106675, -0.0069641527, 0.021046607, 0.0006821136, -0.026047917, -0.03650271, 0.027774397, -0.03965422, -0.011338586, -0.022403127, 0.036283474, 0.037900336, 0.0038023656, -0.00037274318, -0.022663468, -0.00020606852, -0.0032046062, 0.00039565156, -0.011496161, -0.002769561, 0.027500352, -0.0253217, 0.019004976, 0.00011293626, -0.023143047, -0.015552018, -0.012147017, 0.005724102, -0.007707498, -0.0032782557, -0.0060152737, 0.0043161986, 0.014647672, -0.03477623, 0.010948072, -0.018826848, 0.0014293126, -0.013037661, -0.03463921, 0.006762045, 0.0134761315, -0.019128297, 0.0068853647, -0.006607895, 0.010728837, 0.0047786487, 0.0018566506, 0.029432366, 0.0021718016, 0.013037661, 0.010495899, -0.012242932, 0.024472162, 0.0003249995, 0.0048745642, -0.016059, 0.01272251, 0.002952828, 0.028939085, 0.01970379, -0.020745158, -0.024444757, 0.057549316, -0.021279546, 0.030062668, 0.05996091, 0.0026136981, -0.019881919, 0.008454269, -0.012016846, 0.007392347, -0.0016631067, -0.0037201524, 0.01673041, -0.038503233, -0.01383924, 0.039380174, -0.020580731, 0.0016245693, -0.030912206, -0.0061111893, 0.031761743, 0.012736212, -0.0049978844, -0.02995305, 0.026856348, -0.00728958, -0.008591291, 0.008002096, -0.039462388, 0.032474257, -0.009797086, -0.0057035484, 0.014250307, 0.00063158665, 0.024554376, 0.017812883, 0.010461643, -0.015045036, 0.0005519425, -0.026609708, 0.03143289, 0.0018840551, -0.016990751, -0.021512482, -0.0139009, 0.004929373, 0.030062668, -0.0019970983, -0.025472425, -0.030555947, 0.0065599373, 0.0145654585, 0.028500615, 0.024033692, -0.016963346, 0.021211034, 0.0019953856, 0.012564935, -0.005535696, 0.019964132, -0.029733814, -0.013702218, -0.03477623, -0.014647672, 0.004977331, 0.002661656, 0.03044633, -0.0061591472, 0.015236867, -0.0056281863, 0.00441554, -0.010927519, -0.005645314, -0.00870776, -0.025527233, 0.017155178, 0.076513186, 0.020758862, -0.0123182945, 0.009242146, -0.0024133031, -0.017347008, -0.0056590163, -0.0048505855, -0.0033330647, 0.0002879607, -0.03929796, -0.03600943, -0.0075636245, 0.037626293, -0.03551615, -0.016538577, -0.013421323, 0.007529369, 0.011646885, 0.00020885178, -0.04206581, -0.016648196, 0.014058476, -0.011653737, 0.009084571, 0.001738469, -0.017237391, -0.018251356, -0.031049227, 0.019114595, -0.0037304289, 0.030829992, 0.018730933, 0.022005763, 0.019470852, -0.021361759, -0.015456103, -0.004429242, -0.018703528, 0.0040524313, 0.025965704, 0.022594959, -0.0139009, -0.019320128, 0.008789973, 0.009488787, 0.0056898464, 0.019046083, 0.0025486127, 0.035598364, -0.0043470287, -0.013106172, -0.0053027584, 0.04187398, -0.009413424, 0.005682995, 0.021238439, -0.00815282, -0.012284039, -0.00060589495, -0.0154424, 0.008378906, 0.0061591472, -0.0035488745, -0.002399601, 0.00370645, 0.0009069156, -0.042175427, -0.010523303, 0.020717755, 0.016387854, 0.014675076, -0.009310657, -0.02173172, -0.028528018, 0.020854777, 0.008063756, -0.0025554637, 0.02056703, 0.023184154, -0.01877204, 0.05985129, 0.0037201524, 0.04477885, -0.026047917, 0.0045731156, -0.015360187, 0.0027490077, 0.010043726, -0.037434462, 0.028116953, -0.047957763, 0.011783908, 0.0030042115, -0.010989179, 0.016442662, 0.0047443933, -0.013818688, -0.030939609, -0.010098535, 0.0002862479, 0.044504806, -0.04107925, -0.0044360934, -0.0022163338, -0.0055699516, 0.027459245, 0.021443972, -0.011407097, 0.023417091, -0.052397285, 0.024814717, -0.043682672, 0.006467447, 0.013825539, -0.046532735, 0.007440305, 0.038448427, 0.005953614, -0.014305116, 0.01970379, 0.020087453, -0.027322223, 0.0014704193, 0.020841075, 0.006090636, -0.020224474, 0.013599452, 0.007892478, 0.00026676507, -0.028939085, 0.013058214, -0.015154653, -0.038503233, -0.015332783, 0.04719044, -0.031734336, -0.0049396497, 0.044915874, 0.013674814, 0.02044371, 0.032035787, -0.01574385, 0.0010850445, -0.046176475, -0.0013068491, 0.0050732465, -0.0027627097, -0.006070083, 0.009118826, 0.024321437, 0.0054877386, 0.02475991, 0.009769682, -0.011030286, 0.040558565, -0.016387854, -0.017264795, -0.013770729, 0.011153606, 0.02445846, 0.021169927, 0.014442138, 0.057110846, 0.01995043, 0.028774658, 0.0068237046, 0.027527757, -0.015826063, 0.0074745603, -0.0149217155, 0.02613013, 0.00543293, 0.04472404, 0.032008383, -0.0035009168, -0.04346344, 0.02643158, -0.008043203, 0.0134418765, 0.022951216, 0.024979144, -0.039023917, -0.008166522, -0.0040078987, 0.012880085, 0.01686743, 0.03019969, 0.00015832485, -0.025033953, 0.005121204, 0.006768896, 0.015661636, -0.024143308, -0.027377032, 0.011359139, -0.013291152, 0.024417354, 0.061440747, 0.013078768, 0.017251093, 0.013352812, -0.043984123, -0.004891692, -0.019416044, 0.02847321, -0.01475729, 0.048067383, 0.019142, 0.004521732, -0.01568904, 0.00074934005, -0.034063715, -0.011749652, 0.011989441, -0.010605517, 0.028692445, 0.0010233844, -0.030336712, -0.031323273, -0.02828138, -0.013037661, 0.012544381, 0.01327745, 0.008899591 ]
2311.01343
54
AM-Beauty Recall@20 Recall@40 NDCG@100 Multi-VAE MD-CVAE BERT4Rec S3Rec 0.1295 0.1472 0.1126 0.1354 0.1720 0.2058 0.1677 0.1789 0.0835 0.0976 0.0781 0.0867 LLM-Scratch LLM-CF LLM-FtAll LLM-FixOrd LLM-PreRec 0.0840 0.1319 0.1335 0.1524 0.1547 0.1265 0.1841 0.1988 0.2219 0.2196 0.0583 0.0855 0.0836 0.1072 0.1051 CLLM4Rec 0.1656 0.2323 0.1118 AM-Toys Recall@20 Recall@40 NDCG@100 Multi-VAE MD-CVAE BERT4Rec S3Rec 0.1076 0.1291 0.0853 0.1064 0.1558 0.1804 0.1375 0.1524 0.0781 0.0844 0.0532 0.0665 LLM-Scratch LLM-CF LLM-FtAll LLM-FixOrd LLM-PreRec 0.0485 0.1027 0.1162
2311.01343#54
Collaborative Large Language Model for Recommender Systems
Recently, there is a growing interest in developing next-generation recommender systems (RSs) based on pretrained large language models (LLMs), fully utilizing their encoded knowledge and reasoning ability. However, the semantic gap between natural language and recommendation tasks is still not well addressed, leading to multiple issues such as spuriously-correlated user/item descriptors, ineffective language modeling on user/item contents, and inefficient recommendations via auto-regression, etc. In this paper, we propose CLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and ID paradigm of RS, aiming to address the above challenges simultaneously. We first extend the vocabulary of pretrained LLMs with user/item ID tokens to faithfully model the user/item collaborative and content semantics. Accordingly, in the pretraining stage, a novel soft+hard prompting strategy is proposed to effectively learn user/item collaborative/content token embeddings via language modeling on RS-specific corpora established from user-item interactions and user/item features, where each document is split into a prompt consisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and a main text consisting of homogeneous item tokens or vocab tokens that facilitates stable and effective language modeling. In addition, a novel mutual regularization strategy is introduced to encourage the CLLM4Rec to capture recommendation-oriented information from user/item contents. Finally, we propose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where an item prediction head with multinomial likelihood is added to the pretrained CLLM4Rec backbone to predict hold-out items based on the soft+hard prompts established from masked user-item interaction history, where recommendations of multiple items can be generated efficiently.
http://arxiv.org/pdf/2311.01343
Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li
cs.IR
null
null
cs.IR
20231102
20231108
[ { "id": "2302.13971" }, { "id": "2206.07682" }, { "id": "2308.10053" }, { "id": "2307.02046" }, { "id": "2306.05817" }, { "id": "2205.08084" }, { "id": "2303.14524" }, { "id": "2305.07001" }, { "id": "2303.13835" }, { "id": "2303.18223" }, { "id": "2302.03735" }, { "id": "2305.00447" }, { "id": "2305.08845" }, { "id": "2104.08691" }, { "id": "2308.10837" }, { "id": "2305.06569" } ]
{ "authors": "Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li", "chunk_id": 54, "doc_id": "2311.01343", "primary_category": "cs.IR", "published": 20231102, "source": "http://arxiv.org/pdf/2311.01343", "summary": "Recently, there is a growing interest in developing next-generation\nrecommender systems (RSs) based on pretrained large language models (LLMs),\nfully utilizing their encoded knowledge and reasoning ability. However, the\nsemantic gap between natural language and recommendation tasks is still not\nwell addressed, leading to multiple issues such as spuriously-correlated\nuser/item descriptors, ineffective language modeling on user/item contents, and\ninefficient recommendations via auto-regression, etc. In this paper, we propose\nCLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and\nID paradigm of RS, aiming to address the above challenges simultaneously. We\nfirst extend the vocabulary of pretrained LLMs with user/item ID tokens to\nfaithfully model the user/item collaborative and content semantics.\nAccordingly, in the pretraining stage, a novel soft+hard prompting strategy is\nproposed to effectively learn user/item collaborative/content token embeddings\nvia language modeling on RS-specific corpora established from user-item\ninteractions and user/item features, where each document is split into a prompt\nconsisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and\na main text consisting of homogeneous item tokens or vocab tokens that\nfacilitates stable and effective language modeling. In addition, a novel mutual\nregularization strategy is introduced to encourage the CLLM4Rec to capture\nrecommendation-oriented information from user/item contents. Finally, we\npropose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where\nan item prediction head with multinomial likelihood is added to the pretrained\nCLLM4Rec backbone to predict hold-out items based on the soft+hard prompts\nestablished from masked user-item interaction history, where recommendations of\nmultiple items can be generated efficiently.", "text": "AM-Beauty Recall@20 Recall@40 NDCG@100 Multi-VAE MD-CVAE BERT4Rec S3Rec 0.1295 0.1472 0.1126 0.1354 0.1720 0.2058 0.1677 0.1789 0.0835 0.0976 0.0781 0.0867 LLM-Scratch LLM-CF LLM-FtAll LLM-FixOrd LLM-PreRec 0.0840 0.1319 0.1335 0.1524 0.1547 0.1265 0.1841 0.1988 0.2219 0.2196 0.0583 0.0855 0.0836 0.1072 0.1051 CLLM4Rec 0.1656 0.2323 0.1118 AM-Toys Recall@20 Recall@40 NDCG@100 Multi-VAE MD-CVAE BERT4Rec S3Rec 0.1076 0.1291 0.0853 0.1064 0.1558 0.1804 0.1375 0.1524 0.0781 0.0844 0.0532 0.0665 LLM-Scratch LLM-CF LLM-FtAll LLM-FixOrd LLM-PreRec 0.0485 0.1027 0.1162", "title": "Collaborative Large Language Model for Recommender Systems", "year": 2023 }
[ 0.010015806, -0.0060399766, 0.039562825, 0.045348693, -0.020203624, 0.007017319, 0.008412965, 0.0110713355, -0.0052737403, 0.0070720506, 0.020547649, -0.09438783, -0.035090506, -0.0100392625, 0.021313885, 0.011720291, 0.02755324, -0.027412502, -0.028147465, 0.022815084, -0.0022615707, 0.027756527, 0.0011161251, -0.025723655, 0.03828055, -0.049789738, -0.0008375825, -0.06861726, 0.022377234, -0.037373576, 0.029179538, -0.03365186, -0.011298079, -0.03121241, -0.045035943, 0.05150986, 0.0003415812, 0.014839969, -0.030102149, 0.0083191395, -0.038812228, -0.041720796, -0.024112994, -0.0067241164, -0.0019468663, -0.002283072, -0.007963386, -0.024863593, 0.008631889, 0.051103286, -0.040688723, 0.03953155, -0.020891674, 0.048257265, 0.00009675691, -0.020156711, 0.032432135, 0.026724454, 0.041720796, 0.009945437, 0.023268571, -0.048820212, 0.021173147, -0.049195513, -0.029007526, -0.028444577, -0.0124474345, 0.01383917, 0.04997739, -0.035528354, -0.041314222, 0.008139309, 0.040938925, -0.027068479, -0.00085273135, 0.0299145, 0.015277818, 0.0114700915, 0.01749834, -0.0153090935, -0.004179117, 0.022017572, 0.013026021, -0.021376435, 0.018108202, -0.044472992, -0.03928135, -0.023065284, -0.01657573, -0.048632562, -0.045567617, 0.006954769, -0.028116189, 0.0129009215, -0.008233134, -0.013104209, -0.033902057, -0.04212737, -0.010547481, 0.030383624, -0.00023883808, 0.0033034177, 0.024175545, 0.007607634, 0.0125021655, 0.0017298963, -0.03518433, -0.008483333, -0.028616589, 0.00781874, -0.024675943, -0.03346421, -0.0749348, 0.03990685, 0.044660643, -0.00011483775, -0.09075993, -0.0041048387, -0.00533629, -0.03662298, -0.05864055, -0.010711674, 0.02749069, -0.09807827, 0.027975451, 0.015129262, 0.0052190092, -0.039562825, -0.0047381567, -0.030242886, 0.029867588, -0.019249737, 0.05976645, -0.035059232, -0.007846106, 0.010766405, -0.0032291396, 0.03524688, -0.08400454, -0.0104927495, -0.009859432, 0.035340704, -0.033745684, 0.0384682, -0.03362058, 0.0125021655, 0.018108202, -0.024300644, 0.016747741, 0.048882764, -0.012001766, 0.030805836, -0.052385557, -0.019562488, 0.015481105, -0.06730372, 0.027881628, 0.02630224, -0.05176006, 0.019562488, -0.020125438, -0.02290891, 0.01774854, -0.014003363, -0.0028440668, 0.05213536, -0.03380823, -0.007986843, -0.06849217, -0.05901585, 0.045911644, -0.008381689, 0.0057624113, -0.09038463, -0.049883563, -0.029351551, 0.016716467, 0.0025723656, -0.026880829, 0.011532642, 0.03903115, 0.021313885, -0.017201228, 0.00068267377, -0.07199496, -0.020860398, 0.012572534, 0.00657556, -0.01278364, 0.006720207, 0.02780344, -0.03681063, 0.09126034, -0.03430863, 0.012064316, -0.050039936, 0.03530943, -0.023972258, 0.002501997, -0.05194771, -0.02395662, -0.023972258, 0.024785407, -0.01762344, -0.019265376, -0.026677541, -0.0405949, -0.011571735, 0.00042441097, -0.026098954, 0.06473917, 0.032494683, 0.014300476, 0.016450629, -0.0593286, -0.0091713825, -0.0037451766, 0.023534408, 0.028116189, 0.01724814, 0.021235699, 0.0123379715, 0.0778121, 0.012728909, -0.022549247, 0.016106606, 0.028522763, -0.026912104, -0.054449707, -0.040125772, -0.017169952, 0.018389678, -0.015074531, -0.030055236, -0.021313885, 0.0019263421, 0.013456052, 0.013377864, 0.0040266514, -0.036904454, 0.020782212, 0.025207618, 0.022189584, 0.028679138, 0.0010780088, 0.0021423348, -0.0043784943, -0.048757665, 0.03227576, -0.0018383813, -0.003977784, -0.013846989, -0.00063282927, -0.0019771638, -0.0059539704, 0.031790998, 0.013643702, 0.022955822, -0.028256927, 0.04741284, 0.015973685, -0.0011845392, -0.0028812056, 0.015918955, -0.0063527264, 0.014503763, 0.025145069, 0.03537198, -0.05100946, -0.006274539, -0.024973055, -0.022611797, 0.05132221, -0.0007398483, -0.030665098, -0.067366265, -0.005641221, 0.013393502, 0.0149103375, 0.0071580564, -0.0016175018, -0.0077366433, -0.023987895, -0.043910045, -0.0041478416, 0.01290874, 0.013549876, 0.0020993317, -0.012807096, -0.009413763, -0.041095298, -0.047256466, 0.020532012, -0.055638153, -0.015379461, 0.030274162, 0.031697173, 0.0022987097, 0.0037060827, 0.026708817, 0.063394345, 0.033370383, -0.034339905, 0.022142671, -0.0034246081, 0.0291639, -0.0030395351, -0.02631788, -0.018358402, 0.0010154588, 0.012345791, -0.010696037, 0.012556897, -0.03990685, -0.029883225, -0.04215865, 0.021329522, -0.04547379, 0.053167433, 0.0067397538, 0.065427214, -0.04741284, 0.015512381, -0.029070076, 0.007533356, 0.010109631, -0.045442518, 0.0014034639, 0.02408172, -0.0594537, 0.0043042162, 0.029054439, 0.021986296, -0.010946237, 0.014284838, 0.009116651, 0.0026231874, -0.017545253, 0.00084540126, 0.030618187, -0.041533146, -0.033902057, 0.0043042162, -0.026208417, 0.007576359, -0.030805836, -0.0012285195, -0.011892304, 0.02487923, 0.03612258, -0.032619786, -0.028272564, 0.018420951, 0.0021638363, -0.041908447, -0.020156711, -0.0026759638, 0.0059070583, -0.027506327, 0.011477911, -0.021423347, -0.008014209, 0.050665434, -0.02755324, 0.037905253, 0.043409646, -0.030930936, -0.01253344, 0.020625837, -0.012588171, -0.0030629914, 0.036935728, 0.005133003, 0.015793854, -0.06605272, -0.021485899, -0.015371643, 0.015011981, 0.021501536, 0.028288202, -0.014245745, -0.014988525, -0.032807432, 0.0015920909, 0.027709614, -0.021517172, 0.02458212, 0.043347094, -0.0778121, -0.023096558, -0.055888355, -0.025410905, -0.0064504608, -0.00017665466, -0.02147026, 0.04894531, -0.0026036405, 0.06505192, 0.018280214, 0.03194737, -0.011000968, -0.00052385556, -0.045911644, 0.018420951, -0.029195176, 0.05410568, 0.011696835, 0.04647459, 0.038562026, -0.032181934, 0.041501872, -0.035841104, 0.014753963, -0.018921351, 0.047068816, 0.025004331, 0.011900122, 0.057577204, -0.0031841819, 0.03990685, -0.0008571294, -0.021564085, -0.009413763, -0.008201858, -0.026208417, -0.02556728, -0.032494683, -0.029289, -0.024097357, -0.02674009, -0.022517972, 0.045661442, 0.050884362, 0.03749868, -0.00045104357, -0.03215066, -0.012095591, 0.028694777, 0.0023553954, -0.0011855165, -0.015418556, -0.00040633016, -0.019656312, -0.020281812, -0.028084915, -0.014699232, -0.03171281, -0.008921183, 0.04897659, 0.0064856447, -0.00813149, -0.028178738, -0.020750936, -0.011696835, -0.035090506, -0.011008786, 0.07024356, -0.073120855, 0.005254193, -0.021736097, 0.04312817, 0.042784147, 0.037373576, 0.020766573, 0.012619447, -0.0010848502, -0.019703224, 0.029461013, 0.034246083, 0.02780344, -0.024754131, -0.0011171025, -0.008882089, -0.0316659, 0.008389508, 0.00849897, -0.0042651226, -0.023909707, -0.023112196, -0.03530943, -0.0032916896, 0.036466602, 0.024097357, -0.024097357, 0.01383917, 0.07318341, 0.007021229, -0.009312119, -0.03612258, 0.012236328, 0.010250368, -0.008733532, 0.025973855, -0.021063685, -0.018295852, -0.0065364665, 0.06661566, -0.039750475, 0.006907857, -0.044754468, -0.035215605, -0.016747741, 0.01601278, 0.02197066, 0.016888479, 0.038812228, 0.021141874, 0.02792854, 0.012087773, 0.03474648, 0.024363194, 0.06924276, -0.008366052, -0.01172811, -0.014191013, -0.016919754, -0.0045348695, -0.002662281, -0.01035983, 0.021360798, 0.0040305606, -0.016763378, 0.023034008, 0.012619447, 0.022252135, -0.062205896, -0.0033307832, -0.0809396, 0.00589533, -0.032400858, 0.02456648, 0.0031314055, 0.017123042, 0.012158141, -0.07581051, -0.001914614, -0.010023625, 0.0009182133, -0.016841566, 0.036748078, 0.04944571, -0.0025743202, 0.026098954, -0.021032412, 0.03163462, 0.0002341957, 0.034339905, 0.0066302917, 0.007853924, 0.033776958, 0.04616184, -0.029961413, 0.019609401, 0.0029144355, 0.009069739, -0.022361597, -0.017951827, -0.030805836, -0.015958048, -0.0005619719, 0.03265106, -0.0083191395, 0.007650637, -0.028272564, -0.035215605, 0.0032154568, 0.031259324, 0.032494683, 0.041064024, 0.03194737, -0.053761657, -0.025708018, -0.0036337595, -0.0036239862, -0.00657556, 0.009359032, 0.03330783, 0.022517972, -0.009179201, -0.049320612, -0.0301647, -0.051040735, 0.028616589, 0.011008786, -0.040876374, 0.056857876, 0.008264408, 0.02383152, 0.019703224, -0.01799874, 0.017044853, 0.005801505, 0.0038116358, -0.009703057, -0.001563748, 0.004312035, -0.009843794, -0.014464669, -0.012822734, -0.011907941, 0.020829124, 0.021829922, -0.0047303378, -0.020813486, -0.004749885, 0.020109799, -0.012705453, -0.00038727198, -0.0012949788, 0.016904116, -0.007979024, -0.005864055, -0.047819413, -0.0121034095, -0.020094162, 0.019062089, -0.01793619, -0.029289, 0.0138782635, -0.019187188, -0.0024824499, -0.03330783, 0.0014855607, -0.029617388, 0.03330783, 0.024347557, 0.035215605, -0.056013454, 0.0091713825, -0.01793619, -0.047037542, -0.004878894, 0.021501536, 0.018811889, 0.036216404, -0.006149439, 0.0046404223, 0.005891421, 0.0038995966, 0.001092669, 0.022064485, 0.028772963, 0.020313086, -0.058546726, 0.0053089247, -0.023315484, 0.0006890265, 0.0014845832, -0.038624577, -0.004319854, -0.017185591, -0.027850352, -0.00021269417, 0.007713187, 0.0016155472, -0.026364792, -0.029820675, 0.03380823, -0.033088908, -0.005672496, 0.006645929, 0.0035145236, -0.029836312, -0.03365186, 0.023299845, 0.02222086, 0.014097189, -0.0053910213, -0.0039680107, 0.025864393, 0.0032252304, -0.0050899996, -0.005316743, 0.0080298465, 0.024863593, -0.020469462, 0.001806129, 0.027381228, -0.020328725, 0.015356005, -0.009147926, -0.0013037749, -0.041376773, -0.030602548, 0.020563286, -0.0046951533, 0.069930814, -0.018327126, -0.00061963516, 0.0010848502, 0.010101812, 0.00062305585, 0.025363993, 0.010938417, -0.0020055068, 0.0018305625, -0.01104788, 0.03699828, -0.008803901, -0.060235575, -0.019109001, -0.007576359, 0.015371643, -0.015739124, -0.050884362, -0.0015989323, 0.0074747154, 0.027568877, 0.016872842, -0.0076115434, -0.012603809, -0.0120486785, -0.049383163, 0.03468393, -0.009968894, 0.019578125, -0.01228324, -0.014722687, 0.0046521504, -0.005500484, -0.012064316, 0.046349492, -0.0608298, -0.02017235, -0.0014533083, 0.04143932, 0.0022127035, -0.037873976, -0.010766405, 0.013143302, -0.029242087, 0.017576527, -0.01396427, 0.025426542, -0.05057161, 0.03333911, -0.040876374, -0.016434992, -0.025332717, -0.017951827, 0.008225314, -0.041189123, -0.027537603, 0.030884024, -0.02115751, 0.044879567, 0.0038956872, -0.0018608602, -0.032995082, -0.025582917, -0.0064270045, 0.01613788, 0.0021071504, 0.0045935097, -0.0010780088, -0.031196773, 0.023909707, -0.0053949305, 0.004237757, 0.003164635, 0.05244811, 0.00091186055, 0.0019243874, -0.00094802224, 0.005778049, -0.009523225, -0.028882425, 0.022236496, -0.0100939935, 0.030743286, -0.03480903, -0.025145069, -0.0033073272, -0.025082517, 0.041189123, -0.010070537, 0.027537603, -0.013346589, -0.0045309598, 0.032588508, -0.012775822, 0.0019654357, 0.025191981, -0.021110598, -0.048319813, 0.004941444, -0.03562218, -0.0056764055, -0.040938925, -0.006962588, -0.0019928014, -0.012220691, -0.01117298, -0.0059539704, 0.005133003, -0.0061064363, 0.011423179, -0.14336441, 0.0007457123, 0.04722519, -0.05566943, -0.014933794, 0.041501872, 0.007842196, 0.011282442, 0.013948632, -0.022033209, -0.005125184, -0.04143932, -0.013393502, -0.031681534, 0.03778015, 0.017545253, 0.0071658753, -0.0018725883, 0.0043784943, -0.023378033, -0.031415697, 0.03227576, -0.011133886, 0.0072401534, -0.021517172, 0.0016331393, -0.017154315, 0.027131028, 0.023987895, -0.031368785, 0.004921897, 0.036091305, 0.00639182, 0.030211613, -0.00813149, -0.045411244, -0.035653453, 0.023628233, -0.008569339, -0.018592965, -0.0104380185, -0.032056835, -0.011618648, -0.012689815, 0.009906344, -0.014918156, -0.012463071, -0.005305015, 0.023518771, -0.03443373, 0.0147696, -0.025223255, -0.0045309598, -0.022252135, -0.010219093, -0.00051457086, 0.0010780088, -0.030930936, 0.009789063, -0.03197865, -0.02004725, 0.017123042, -0.0040852916, -0.011548279, 0.023346758, -0.03283871, -0.0189839, 0.035340704, -0.0055982177, 0.0021501535, -0.013127665, 0.022455422, -0.035778556, -0.021282611, -0.017967464, 0.03512178, 0.021861197, 0.008287865, -0.00881172, 0.015504561, 0.013518602, 0.014699232, 0.012001766, 0.00022246758, -0.042846695, 0.021689186, 0.02742814, 0.011008786, 0.022064485, 0.026646266, -0.009101014, -0.007963386, 0.03480903, 0.007333978, 0.014621044, 0.003575119, 0.015356005, 0.014714869, 0.0038644122, 0.012509984, 0.0021071504, 0.008154946, 0.012079953, -0.032588508, -0.004609147, 0.00034524626, 0.03524688, 0.004163479, 0.0299145, 0.0058054146, 0.02165791, 0.022189584, 0.020250537, 0.009515407, -0.009554501, 0.03681063, 0.019390475, 0.024206819, 0.00014208117, 0.003072765, 0.043096896, 0.028929338, -0.010875868, -0.0048202532, -0.034058433, -0.031994283, 0.019437388, 0.008506789, 0.011329355, 0.03072765, 0.025238894, 0.020766573, -0.04369112, 0.026083317, -0.008506789, 0.0091713825, 0.029273363, 0.011986129, -0.008412965, 0.003921098, 0.010703855, 0.013987726, -0.0005937356, -0.0049101687, 0.013268402, 0.021517172, -0.044723194, 0.02625533, -0.0072831563, 0.020782212, 0.0007637932, 0.021642273, -0.006305814, 0.0067241164, -0.0035888017, 0.03965665, 0.011735929, -0.043972593, -0.0030004415, 0.024597757, -0.0138235325, 0.029429737, 0.021001136, -0.033276558, -0.0021345161, 0.0020446004, -0.04231502, -0.014863425, 0.03127496, 0.024629032, 0.01656009, -0.003072765, 0.056357477, 0.015551474, 0.021610998, 0.0068609444, -0.0011796524, 0.007857834, 0.029711213, -0.00064700074, -0.00849897, 0.010594393, 0.0013575287, -0.0026661903, 0.04212737, 0.022987096, -0.014730507, -0.02780344, 0.03333911, 0.025708018, -0.0022420238, 0.05050906, 0.01731069, 0.027287403, 0.046036743, -0.011821935, -0.0027463324, 0.012345791, 0.016841566, -0.0014445123, 0.02017235, 0.028569676, 0.037092105, -0.0010389151, 0.013667158, -0.026177142, 0.011806297, -0.011509186, 0.0011034197, 0.017904915, 0.010101812, -0.009312119, -0.011290261, 0.020328725, -0.022001935, 0.007869562, -0.02824129, -0.004054017, -0.02209576, 0.008725714, -0.022877634, 0.005066544, 0.015809493, 0.053355083, 0.0042690323, -0.005864055, -0.038436927, 0.008631889, -0.0029339823, 0.0054027494, -0.009452857, 0.00806894, -0.0054731183, -0.0077170967, 0.008796083, -0.028710414, 0.023722058, -0.011243348, 0.0006479781, 0.0005864055, 0.025661105, -0.03443373, -0.01340914, 0.01749834, 0.01284619, 0.0046326034, 0.014019001, 0.0009147926, -0.027459415, -0.0012852054, -0.006657657, -0.026771367, 0.034527555, 0.004128295, 0.013995545, -0.020406911, 0.0022185675, 0.028647864, 0.03362058, 0.044160243, -0.030430537, 0.02761579, 0.030430537, -0.00602043, 0.0007808967, -0.033683132, 0.0013702342, -0.01849914, 0.010414562, 0.014019001, -0.03443373, 0.008014209, -0.010656943, 0.016278617, -0.024253732, -0.017013578, 0.008123671, -0.0036142126, -0.00016859158, -0.017185591, -0.025520368, 0.0020739208, 0.003928917, -0.01470705, 0.015551474, -0.010555299, -0.014761781, -0.018718064, 0.031869184, -0.006540376, -0.006157258, 0.022549247, -0.0059617893, 0.01774854, 0.0011952899, 0.0156453, 0.028131828, -0.006708479, 0.03196301, -0.017185591, 0.023596957, 0.022502335, 0.016059693, -0.013784438, 0.03277616, 0.007979024, 0.028100552, -0.025723655, -0.019640675, 0.009030645, 0.01290874, 0.002650553, 0.011743748, -0.018592965, 0.028397664, 0.015911136, 0.013573333, -0.001880407, -0.020860398, 0.008702258, -0.023972258, -0.007670184, 0.018202027, -0.025614193, -0.0028675229, -0.030242886, 0.0025919124, 0.0076115434, -0.038218003, -0.007337888, -0.0024042625, -0.00602043, -0.017983101, -0.0000064825294, -0.018076926, 0.04878894, -0.02699029, -0.0059031486, 0.015488924, -0.02209576, -0.0021149693, 0.0034910676, 0.0070525035, -0.0005986223, 0.008584976, -0.0020055068, -0.029054439, -0.02197066, -0.021188786, -0.007345706, 0.10352012, -0.01402682, -0.0006083957, 0.0025528187, -0.008412965, 0.02855404, -0.014847787, 0.0053323805, -0.030508723, -0.02487923, -0.023471858, 0.020406911, 0.024050444, 0.00874917, 0.004319854, -0.016356803, -0.022127034, 0.015903316, 0.0071189627, 0.004116567, -0.0003814079, -0.004077473, 0.026833916, -0.03649788, 0.010054899, 0.0046013286, 0.011086973, -0.008444239, 0.030211613, 0.011595191, 0.017123042, -0.024597757, -0.009796881, 0.004437135, -0.001626298, -0.030539999, -0.025238894, 0.022580521, 0.02209576, -0.010352012, -0.010664761, -0.014183194, 0.009577957, 0.042971797, -0.01657573, -0.0015070621, -0.0073144315, 0.0074238935, -0.022955822, 0.018796252, 0.011243348, -0.008217496, -0.029617388, -0.020344362, -0.036591705, -0.0001837404, -0.005817143, 0.003389424, 0.024425745, -0.003481294, -0.02096986, -0.0031626804, -0.017639078, -0.019875238, -0.0010975556, -0.018170752, -0.0002695022, 0.012009584, -0.016982304, 0.011086973, -0.007267519, -0.0069860443, 0.007130691, -0.024503931, 0.032588508, 0.0068648537, -0.023159109, 0.029085713, 0.03593493, 0.021829922, -0.022736896, 0.0060790703, 0.012353609, 0.01117298, -0.013909538, -0.0047694314, 0.011219892, 0.010531843, -0.0014132373, -0.005066544, -0.031259324, 0.0145194, 0.034246083, -0.007150238, -0.039687924, -0.0023182565, 0.009296482, -0.015746942, 0.0032193663, -0.011954853, 0.026896466, 0.0035008409, -0.040438525, 0.006055614, -0.030837111, 0.011556098, -0.038749676, 0.0116499225, 0.017592166, 0.016779017, 0.0065325573, -0.01613788, 0.008788263, 0.0025469547, -0.00732225, -0.020391274, 0.009968894, 0.018890075, -0.026614992, 0.00046179435, 0.0063449075, 0.012940015, 0.0026837825, -0.0022048848, -0.008444239, -0.0051642777, 0.015856406, 0.0047186096, -0.0057194084, 0.008053303, -0.019969063, -0.0022205221, 0.020203624, 0.012838371, 0.01427702, -0.00041585925, 0.007591997, -0.010539662, -0.0012187461, -0.004355038, 0.01818639, 0.010656943, 0.0038526843, -0.0053089247, -0.026833916, 0.01204086, 0.00220293, 0.015348187, -0.039469, -0.010344193, 0.01632553, 0.0043902225, -0.01787364, 0.013088571, 0.045755267, -0.014652319, 0.000044316374, -0.016122242, 0.014527219, 0.0036826266, -0.011086973, -0.03146261, -0.050727986, 0.02830384, 0.046068016, 0.0039875573, -0.0056060366, 0.0155983865, 0.016122242, 0.0045778723, -0.022580521, -0.0052854684, 0.0064270045, -0.0107273115, -0.046756066, -0.013018202, -0.0069234944, 0.039312623, -0.017842365, -0.0120486785, -0.014308294, -0.008280045, -0.0078031025, 0.021673547, -0.00949977, -0.031916097, 0.028272564, -0.020844761, -0.02655244, -0.035841104, 0.027287403, -0.0055200304, -0.00063527265, 0.025833117, 0.024613393, 0.027021566, -0.00912447, 0.018327126, 0.0111807985, 0.031415697, 0.0076897307, 0.0068726726, -0.021610998, -0.0070955064, 0.043597296, 0.036935728, -0.02215831, -0.0035907563, 0.0010007988, -0.021814285, 0.02855404, 0.019218463, 0.0040696543, 0.037342303, -0.017779814, 0.018905714, -0.013174577, 0.007236244, 0.0023260752, 0.020453824, -0.019562488, 0.009030645, 0.032744884, -0.008600614, -0.013260583, 0.025926942, 0.020328725, 0.025520368, -0.018264577, 0.0127914585, -0.013721889, 0.006919585, -0.043534745, -0.02358132, 0.027772164, 0.0043354915, -0.014073732, -0.0013594835, -0.017029217, -0.00446841, 0.0070407754, 0.005293287, -0.0127367275, -0.009531044, -0.053167433, 0.037717603, -0.020750936, 0.020141074, -0.031994283, -0.0008468673, -0.03530943, 0.005269831, 0.009945437, -0.02147026, 0.017435791, -0.07318341, 0.019593762, -0.033214007, 0.01563748, -0.028444577, -0.04547379, -0.01607533, 0.024863593, 0.020938586, 0.016481904, 0.014050276, -0.021438986, -0.000530697, 0.022549247, -0.0072831563, -0.010868048, 0.027693978, 0.015879862, 0.045098495, -0.048225988, 0.0202349, -0.0037959984, -0.013972089, 0.005692043, -0.032682333, -0.008733532, 0.0068492163, 0.006192442, -0.016341167, 0.0047811596, 0.02190811, -0.015090168, -0.009859432, 0.030336712, -0.011212073, -0.026208417, 0.001991824, -0.025238894, 0.0038839593, -0.037842702, 0.02947665, -0.017607803, -0.030055236, -0.010219093, 0.021923747, 0.011501366, 0.0028753416, 0.018389678, 0.006688932, -0.005809324, 0.025457818, 0.011274624, 0.00335033, -0.036716804, 0.0047577033, 0.0040852916, 0.029398464, -0.014003363, 0.021829922, 0.006993863, 0.011133886, -0.05050906, 0.00440586, -0.0041048387, 0.038562026, -0.016341167, 0.008796083, 0.026787004, -0.0014963114, 0.036404055, 0.009609232, -0.004984447, 0.025363993, -0.0057819583, -0.012361428, -0.0071111443, -0.0065364665, 0.028069276, 0.0019869374, 0.01104788, 0.01799874, -0.019406114, -0.0028382028, 0.033683132, -0.008819539, 0.0020446004, 0.024238095, -0.01303384, -0.0063527264, -0.015934592, 0.0023651689, 0.008913363, 0.0047772503, 0.016356803, 0.022127034, 0.0036083485, 0.017357603, -0.02239287, -0.009312119, -0.0027678339, 0.015535837, 0.01011745, 0.007896927, 0.041689523, -0.008334777, -0.012377066, -0.004745975, 0.021923747, 0.0057076802, -0.00025655242, 0.031572074, -0.024019169, 0.004257304, -0.028694777, 0.027537603, -0.0066693854, 0.034183532, 0.020000337, -0.0062706294, 0.0075099, 0.011767204, -0.027584516, -0.003997331, -0.031806633, -0.012924378, 0.04944571, -0.005441843, -0.0104927495, -0.019265376, 0.0061728954, 0.02761579, 0.005609946, 0.020359999, 0.007564631 ]
2311.01343
55
0.0665 LLM-Scratch LLM-CF LLM-FtAll LLM-FixOrd LLM-PreRec 0.0485 0.1027 0.1162 0.1342 0.1308 0.0771 0.1434 0.1542 0.1887 0.1859 0.0362 0.0680 0.0696 0.0889 0.0874 CLLM4Rec 0.1436 0.1933 0.0918 AM-Sports Recall@20 Recall@40 NDCG@100 Multi-VAE MD-CVAE BERT4Rec S3Rec 0.0659 0.0714 0.0521 0.0616 0.0975 0.1180 0.0701 0.0813 0.0446 0.0514 0.0305 0.0438 LLM-Scratch LLM-CF LLM-FtAll LLM-FixOrd LLM-PreRec 0.0362 0.0642 0.0794 0.0901 0.0839 0.0538 0.0966 0.1002 0.1295 0.1248 0.0362 0.0419 0.0424 0.0592 0.0561 CLLM4Rec 0.0926 0.1351 0.0634
2311.01343#55
Collaborative Large Language Model for Recommender Systems
Recently, there is a growing interest in developing next-generation recommender systems (RSs) based on pretrained large language models (LLMs), fully utilizing their encoded knowledge and reasoning ability. However, the semantic gap between natural language and recommendation tasks is still not well addressed, leading to multiple issues such as spuriously-correlated user/item descriptors, ineffective language modeling on user/item contents, and inefficient recommendations via auto-regression, etc. In this paper, we propose CLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and ID paradigm of RS, aiming to address the above challenges simultaneously. We first extend the vocabulary of pretrained LLMs with user/item ID tokens to faithfully model the user/item collaborative and content semantics. Accordingly, in the pretraining stage, a novel soft+hard prompting strategy is proposed to effectively learn user/item collaborative/content token embeddings via language modeling on RS-specific corpora established from user-item interactions and user/item features, where each document is split into a prompt consisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and a main text consisting of homogeneous item tokens or vocab tokens that facilitates stable and effective language modeling. In addition, a novel mutual regularization strategy is introduced to encourage the CLLM4Rec to capture recommendation-oriented information from user/item contents. Finally, we propose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where an item prediction head with multinomial likelihood is added to the pretrained CLLM4Rec backbone to predict hold-out items based on the soft+hard prompts established from masked user-item interaction history, where recommendations of multiple items can be generated efficiently.
http://arxiv.org/pdf/2311.01343
Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li
cs.IR
null
null
cs.IR
20231102
20231108
[ { "id": "2302.13971" }, { "id": "2206.07682" }, { "id": "2308.10053" }, { "id": "2307.02046" }, { "id": "2306.05817" }, { "id": "2205.08084" }, { "id": "2303.14524" }, { "id": "2305.07001" }, { "id": "2303.13835" }, { "id": "2303.18223" }, { "id": "2302.03735" }, { "id": "2305.00447" }, { "id": "2305.08845" }, { "id": "2104.08691" }, { "id": "2308.10837" }, { "id": "2305.06569" } ]
{ "authors": "Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li", "chunk_id": 55, "doc_id": "2311.01343", "primary_category": "cs.IR", "published": 20231102, "source": "http://arxiv.org/pdf/2311.01343", "summary": "Recently, there is a growing interest in developing next-generation\nrecommender systems (RSs) based on pretrained large language models (LLMs),\nfully utilizing their encoded knowledge and reasoning ability. However, the\nsemantic gap between natural language and recommendation tasks is still not\nwell addressed, leading to multiple issues such as spuriously-correlated\nuser/item descriptors, ineffective language modeling on user/item contents, and\ninefficient recommendations via auto-regression, etc. In this paper, we propose\nCLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and\nID paradigm of RS, aiming to address the above challenges simultaneously. We\nfirst extend the vocabulary of pretrained LLMs with user/item ID tokens to\nfaithfully model the user/item collaborative and content semantics.\nAccordingly, in the pretraining stage, a novel soft+hard prompting strategy is\nproposed to effectively learn user/item collaborative/content token embeddings\nvia language modeling on RS-specific corpora established from user-item\ninteractions and user/item features, where each document is split into a prompt\nconsisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and\na main text consisting of homogeneous item tokens or vocab tokens that\nfacilitates stable and effective language modeling. In addition, a novel mutual\nregularization strategy is introduced to encourage the CLLM4Rec to capture\nrecommendation-oriented information from user/item contents. Finally, we\npropose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where\nan item prediction head with multinomial likelihood is added to the pretrained\nCLLM4Rec backbone to predict hold-out items based on the soft+hard prompts\nestablished from masked user-item interaction history, where recommendations of\nmultiple items can be generated efficiently.", "text": "0.0665 LLM-Scratch LLM-CF LLM-FtAll LLM-FixOrd LLM-PreRec 0.0485 0.1027 0.1162 0.1342 0.1308 0.0771 0.1434 0.1542 0.1887 0.1859 0.0362 0.0680 0.0696 0.0889 0.0874 CLLM4Rec 0.1436 0.1933 0.0918 AM-Sports Recall@20 Recall@40 NDCG@100 Multi-VAE MD-CVAE BERT4Rec S3Rec 0.0659 0.0714 0.0521 0.0616 0.0975 0.1180 0.0701 0.0813 0.0446 0.0514 0.0305 0.0438 LLM-Scratch LLM-CF LLM-FtAll LLM-FixOrd LLM-PreRec 0.0362 0.0642 0.0794 0.0901 0.0839 0.0538 0.0966 0.1002 0.1295 0.1248 0.0362 0.0419 0.0424 0.0592 0.0561 CLLM4Rec 0.0926 0.1351 0.0634", "title": "Collaborative Large Language Model for Recommender Systems", "year": 2023 }
[ 0.009394707, -0.0010383816, 0.051973827, 0.022395464, -0.010847346, 0.027300859, 0.012679569, 0.014540992, -0.0102852695, 0.029505366, 0.018599622, -0.04014832, -0.03565171, 0.009256013, 0.033666193, 0.0002096381, 0.041287072, -0.021242112, -0.033199012, 0.06324455, -0.008708536, 0.01292046, 0.0010128326, -0.021811487, 0.04111188, -0.02892139, 0.0022373565, -0.04952113, 0.022015879, -0.044790927, 0.030571122, -0.031038301, -0.01573814, -0.030746315, -0.03728684, 0.058747943, 0.011329127, 0.026658485, -0.0335202, 0.017869653, -0.046718046, -0.04280541, -0.04563769, -0.041637458, 0.011212331, -0.004927294, 0.025227744, -0.023607213, 0.012015297, 0.049929913, -0.061375834, 0.026001513, 0.013971616, 0.06832514, 0.020628937, -0.015124967, 0.03541812, 0.01075975, 0.056587234, -0.025125548, 0.03626488, -0.043593775, 0.037841618, -0.050484687, -0.01218319, -0.038746778, -0.0100589795, 0.046747245, 0.04230903, -0.0072814454, -0.030454326, -0.009942184, 0.06400372, -0.032410644, -0.0063762832, 0.0167455, 0.024045194, -0.011212331, 0.0059820996, -0.017168881, 0.025767922, 0.022614455, 0.02943237, -0.018512025, 0.050309494, -0.041520663, -0.022278668, 0.02411819, -0.0138986185, -0.054192934, -0.024585372, -0.0018559474, -0.012533575, 0.010942242, 0.008219456, 0.0015073869, -0.0078909695, -0.053638157, 0.00041676694, 0.01957778, -0.016541108, 0.01243138, 0.05118546, -0.0021169113, 0.029125782, 0.01267227, -0.055886462, -0.056090854, -0.0382796, 0.017037487, -0.069668286, -0.009942184, -0.065405264, 0.014241705, 0.058893938, -0.031914264, -0.07585843, -0.0042046243, -0.030191537, -0.042396627, -0.04081989, -0.014263604, 0.026614686, -0.061609425, 0.015285561, 0.0077595753, 0.002412549, -0.03754963, 0.0067011197, -0.036060493, 0.014657787, -0.013365741, 0.068441935, -0.030337531, -0.0141979065, 0.0030147738, -0.016205322, 0.050747477, -0.06803315, -0.003321361, -0.013241646, 0.029081983, -0.011664912, 0.04499532, -0.03915556, 0.028308216, 0.00012523538, -0.009051621, -0.009197615, 0.013511735, -0.025359139, 0.0062667876, -0.0836253, 0.0026151156, -0.008234056, -0.034045774, 0.011533517, 0.026016112, -0.023578014, 0.008445746, 0.0001681211, 0.0043652174, 0.014249004, -0.0022373565, 0.012781765, 0.04829478, -0.02700887, -0.009482304, -0.0717122, -0.05515649, 0.041754253, -0.028337415, 0.021680092, -0.09729033, -0.026892075, -0.032177053, 0.014256304, 0.0071208524, 0.006142693, -0.006018598, -0.010212272, 0.024088992, -0.025373738, -0.0010849171, -0.053959344, -0.0060039987, 0.031417888, 0.020147158, 0.00765738, 0.0081391595, 0.030950705, -0.014665087, 0.11060497, -0.005157234, 0.009292511, -0.0043068198, 0.051827833, -0.014139509, -0.0038067908, -0.0215195, -0.025169346, 0.016847696, -0.001600458, -0.043155793, -0.00263154, -0.022964839, -0.029592963, -0.025271542, -0.019782173, -0.011956899, 0.052703794, 0.042688616, 0.043389384, -0.0036370729, -0.06949309, 0.013358441, -0.018176239, 0.0019015705, 0.026162107, 0.015183365, 0.02200128, 0.0019599681, 0.060324676, 0.017533867, -0.039856333, 0.016628705, 0.049404334, -0.030512724, -0.019227395, -0.052470203, 0.009022423, 0.0033122364, -0.033082217, -0.016599506, -0.0048871455, -0.018030247, 0.0052046822, -0.0062339394, 0.009912985, -0.032877825, 0.018322233, 0.02461457, 0.05708361, 0.008883729, 0.012723368, 0.010927643, -0.020190956, -0.036644466, 0.02532994, 0.02341742, -0.0050659883, 0.008285154, -0.007296045, -0.0070661046, -0.021431904, 0.050075907, -0.008175658, 0.024030594, 0.00837275, 0.030687917, -0.015431555, -0.014679686, -0.007237647, 0.057171207, -0.013679628, -0.024731366, -0.0022446562, 0.03226465, -0.049637925, -0.023913799, -0.012372983, -0.012956958, 0.010971441, 0.009102719, -0.035476517, -0.06347814, -0.000037724592, 0.003319536, 0.004828748, 0.021607095, -0.0310675, -0.0049163443, -0.00083900866, 0.012986157, 0.0072996947, -0.008022364, 0.008679337, -0.0021826087, 0.0036425476, -0.019402588, -0.030512724, -0.03804601, 0.06657322, -0.048615966, -0.013095653, 0.022512259, 0.03754963, -0.003682696, 0.0026114658, 0.025870118, 0.056061655, 0.019898968, -0.039243158, 0.030191537, -0.02608911, 0.037111647, 0.011329127, -0.010175775, -0.01696449, -0.00765008, -0.011358324, 0.043126594, -0.0069420096, 0.006069696, -0.057171207, -0.030337531, 0.04344778, -0.037462033, 0.047477216, 0.013584732, 0.055302486, -0.037432835, 0.0035567763, -0.020161757, 0.02487736, 0.027242461, -0.054660115, -0.018044846, 0.02175309, -0.05755079, 0.032819428, 0.051214658, -0.0012810964, 0.011701411, -0.022512259, -0.0026881127, -0.039067965, 0.00811726, 0.019446386, 0.032936223, -0.07159541, -0.05063068, -0.011628414, -0.0008111786, 0.012635771, -0.04041111, 0.006883612, -0.01219049, 0.06423731, 0.022264069, -0.03705325, -0.017782057, 0.023329824, 0.0025329941, -0.042688616, 0.0044309148, -0.004328719, -0.008832631, -0.01598633, -0.00092113024, -0.027811836, 0.000035814126, 0.046951637, -0.037987612, 0.050075907, 0.03568091, 0.0007956667, -0.00063051115, 0.04105348, -0.017066685, -0.0007970354, 0.006960259, 0.016278319, -0.012372983, -0.05515649, -0.04473253, -0.0110809365, 0.040761497, 0.01792805, 0.0167309, -0.03325741, -0.01862882, -0.032615036, -0.008518743, 0.034074973, -0.011789007, 0.024205787, 0.03413337, -0.03392898, -0.0045951577, -0.040615503, -0.000020758507, 0.008146459, -0.008292453, -0.00085680163, 0.056090854, 0.024337182, 0.060091086, 0.033607796, 0.007525985, -0.0262935, -0.015022771, -0.05997429, 0.013373041, -0.007474887, 0.01767986, 0.024410179, 0.04925834, 0.02080413, -0.016409714, 0.043856565, -0.016132325, 0.010818147, -0.036089692, 0.04587128, 0.010241471, 0.03372459, 0.066164434, 0.027563646, 0.031009102, -0.010431264, 0.004766701, -0.016132325, 0.0049674422, -0.0035257526, -0.0147964815, 0.0049637924, -0.027169464, -0.021081518, -0.015168766, -0.02080413, 0.034717347, 0.048119586, 0.027578246, -0.03629408, -0.04636766, -0.0132270465, 0.011621114, 0.00037456557, -0.03325741, 0.0068909116, 0.006358034, -0.03991473, -0.022205671, -0.032673433, 0.009226814, -0.040586304, -0.03898037, 0.03276103, 0.0061536427, 0.007102603, -0.016292918, -0.0037118949, -0.0120298965, -0.03871758, -0.053433765, 0.07200419, -0.051039465, 0.036031295, -0.030249935, 0.02486276, -0.00884723, 0.020190956, 0.0005442835, 0.019081403, 0.013927817, -0.00837275, 0.0049163443, 0.0669236, 0.035826903, -0.021957481, -0.01266497, 0.0027355605, -0.027651243, 0.0063251853, 0.025519732, 0.0025968663, -0.03994393, -0.010029781, -0.07463208, 0.010672154, 0.025943115, 0.010066279, -0.027622044, -0.0012272611, 0.094370455, 0.021446504, -0.008642838, -0.050105102, 0.010336367, 0.016803898, -0.025621928, 0.018541224, -0.018701818, -0.009504203, -0.0043688673, 0.04525811, -0.046484455, 0.021913683, -0.05375495, -0.02509635, -0.019431787, 0.002295754, 0.019650778, 0.027651243, 0.05188623, 0.011730609, -0.008752334, 0.013154049, 0.01795725, 0.027388453, 0.056762427, -0.0043141195, 0.011226931, -0.00090242474, -0.003398008, -0.015927933, 0.014686986, -0.0035586013, 0.014300101, 0.006361684, -0.0063397847, 0.009022423, 0.020512141, 0.0238846, -0.027899433, -0.013613931, -0.09489603, 0.010380166, -0.03060032, 0.030279133, 0.002251956, -0.0008622764, 0.019636178, -0.07130342, -0.00076509925, 0.008044263, -0.018336833, -0.010613756, 0.020497542, 0.04800279, 0.025461335, 0.035009336, -0.012591973, 0.029461568, 0.017110484, 0.047856797, 0.00036954705, -0.0039162864, 0.014234405, 0.050747477, -0.03871758, 0.026337298, 0.016803898, -0.008635539, -0.02033695, -0.01506657, -0.017022887, -0.011905802, -0.00003729688, 0.052674595, -0.006960259, 0.0076719793, -0.015475352, -0.014300101, 0.013789123, 0.032556638, 0.020001164, 0.03392898, 0.011781707, -0.025972314, -0.012584673, 0.0017090411, 0.022264069, -0.022570657, -0.0075624837, 0.0075624837, 0.018366031, -0.0004249791, -0.044674132, -0.015884135, -0.04873276, 0.017344074, -0.005471121, -0.02032235, 0.052616198, 0.019884368, 0.015606747, 0.0032155155, -0.015781939, 0.054660115, 0.010628356, 0.00035357897, -0.011358324, -0.009766991, 0.007985866, -0.005646314, -0.004138927, -0.019811371, -0.028074626, -0.0041279774, 0.02676068, 0.009548001, -0.011504319, 0.006817915, 0.012584673, -0.01648271, 0.016307518, 0.015197964, -0.0018230987, -0.025300741, -0.0024307983, -0.045783684, -0.03436696, -0.030775513, 0.010467762, -0.02078953, -0.03781242, 0.018190838, -0.026862876, -0.01839523, -0.01483298, -0.0045440597, -0.024030594, 0.033666193, 0.011621114, 0.0015219863, -0.047915194, 0.008533343, -0.013665029, -0.049433533, 0.01171601, 0.03518453, 0.005471121, 0.032819428, -0.01027797, 0.011533517, 0.0118547045, -0.010350967, -0.0065843244, 0.04184185, 0.02077493, 0.0037666424, -0.054484922, 0.020658135, -0.025534332, 0.019300392, -0.014526392, -0.036878057, -0.004474713, -0.022891842, -0.03568091, 0.01813244, 0.027125666, 0.013373041, -0.0262935, -0.026804479, 0.013489836, -0.039797936, -0.006858063, -0.00787637, 0.0044601136, -0.02848341, -0.026249701, 0.009672095, 0.017913451, 0.018585023, 0.009453105, -0.009285212, 0.02411819, -0.0039527845, -0.00036384416, -0.0010675803, 0.011898503, 0.020701934, -0.024234986, -0.006025898, 0.004763051, -0.0040038824, -0.0023048786, -0.017139683, 0.019387988, -0.04137467, -0.035534915, -0.020278553, -0.0060587465, 0.059857495, -0.01573814, 0.0037191943, 0.023052435, 0.013708826, -0.012015297, 0.01959238, -0.003151643, -0.003898037, 0.013781823, -0.022891842, 0.05647044, -0.0008513269, -0.030950705, -0.007449338, -0.032118656, -0.013285444, -0.012336484, -0.046542853, -0.0036461975, -0.0092122145, 0.0029910498, 0.033841383, -0.008752334, -0.009190315, -0.021431904, -0.044790927, 0.031417888, -0.0358853, 0.021694692, -0.014256304, -0.02032235, -0.0031917915, -0.018001048, -0.010752451, 0.024001395, -0.049579527, -0.027417652, 0.0011551767, 0.04344778, -0.005003941, -0.03328661, -0.00646023, 0.025110949, 0.010190374, 0.028541805, 0.005164534, 0.029052785, -0.03898037, 0.03754963, -0.036177285, -0.0066317725, -0.015373157, -0.013124851, -0.0072485968, -0.051039465, -0.03375379, 0.048119586, -0.02462917, 0.021855285, 0.022760447, 0.01576734, -0.027096467, -0.006018598, -0.027519848, 0.013613931, 0.025767922, 0.008818031, 0.0019891667, -0.042425826, 0.014701585, -0.021008521, 0.005646314, 0.023607213, 0.037199244, -0.0003426294, 0.012716068, -0.014993573, -0.0008622764, 0.00717195, -0.017008288, -0.003609699, 0.00263154, 0.0140738115, -0.032177053, -0.023329824, -0.006569725, -0.020439144, 0.033578597, -0.00042931328, 0.04044031, -0.01146052, -0.021461103, 0.016190723, -0.013540934, -0.029987145, 0.015621346, -0.022395464, -0.03229385, -0.0073544425, -0.019023005, -0.009759692, -0.028381214, -0.014847579, 0.0034491057, 0.0031680674, -0.019913567, -0.00811726, -0.0016095827, 0.0143730985, 0.0017637888, -0.121817306, 0.019227395, 0.056820825, -0.0359437, 0.014278202, 0.04108268, -0.0064638797, 0.001961793, -0.0014562891, -0.013884019, -0.033082217, -0.04321419, -0.009372808, -0.014139509, 0.02033695, -0.023373622, 0.018526625, -0.00004029089, 0.00085315184, -0.024453977, -0.03176827, 0.019037604, -0.017344074, -0.008051563, -0.025140148, -0.014146809, -0.024410179, 0.017402472, 0.018950008, -0.011336426, -0.0028560054, 0.015329359, 0.024848161, 0.029563764, -0.0062594884, -0.03676126, -0.03752043, 0.001027432, -0.007817973, -0.0073252437, -0.013467937, -0.020380748, -0.0035914497, 0.0045988075, 0.018322233, -0.022424662, -0.010745151, -0.012226989, 0.009350909, -0.04397336, 0.007084354, -0.021212913, 0.012599273, -0.023855403, 0.007007707, 0.016906092, -0.013993515, -0.010577258, -0.009650196, -0.028585603, -0.022205671, -0.0037556929, -0.012482478, -0.02965136, -0.005441922, -0.015957132, -0.019271193, 0.03915556, 0.0037319688, -0.01576734, -0.0072339973, 0.020030363, -0.014730784, -0.011278029, -0.006985808, 0.032439843, 0.012803664, 0.016322117, -0.02316923, 0.017475469, 0.017300276, 0.010102778, 0.006748568, -0.01338034, -0.016789299, 0.0126284715, 0.0167747, -0.0050404393, -0.00693471, 0.034571353, 0.007861772, -0.0044126655, 0.024249585, 0.003009299, -0.012110193, 0.0040951287, -0.0010858296, 0.021913683, 0.0034363312, -0.0008837193, 0.023490418, -0.011518918, 0.014650487, -0.019373389, -0.0020366148, 0.024716767, 0.018468227, -0.019183598, 0.042221434, -0.007912869, 0.01553375, -0.0010265196, 0.0118547045, 0.030308332, -0.0024161988, 0.018541224, 0.025227744, 0.035797704, 0.012467879, -0.012562774, 0.030045543, 0.028089225, -0.005427323, -0.017329475, -0.03708245, -0.013373041, 0.01098604, 0.012504377, 0.009657496, 0.028176822, 0.008285154, 0.025534332, -0.037870817, 0.023797005, -0.007427439, 0.0020384397, 0.013686928, 0.0011935001, 0.0052667297, 0.013102952, 0.015621346, 0.025023354, 0.01840983, -0.0064383307, 0.021504901, 0.019650778, -0.01746087, 0.0019289444, 0.006766817, 0.024979556, 0.027841035, 0.014212506, -0.015635947, -0.006766817, -0.019475585, 0.022380864, 0.018745616, -0.038192004, 0.022585256, 0.020570539, -0.0017866002, 0.021709291, 0.046426058, -0.029242577, 0.022994038, 0.011730609, -0.04855757, -0.020818729, 0.019665377, 0.025432136, 0.01838063, -0.012095594, 0.03150548, 0.036848858, 0.03468815, 0.009095419, -0.009146517, 0.013314643, 0.014570191, -0.00012272612, -0.024775164, 0.013650429, -0.013540934, 0.029140381, 0.036965653, 0.03133029, -0.0059018033, -0.01865802, 0.025446735, 0.044294547, -0.0102852695, 0.06143423, 0.029826552, 0.011029839, 0.037432835, -0.008241355, -0.00024978642, 0.030279133, -0.0013832921, -0.0021205612, 0.010343667, 0.014351199, 0.02747605, 0.001422528, 0.017986448, -0.0286878, 0.0027611095, 0.008562542, 0.010080879, 0.020658135, 0.01553375, 0.0002623328, -0.010146576, 0.004445514, -0.01598633, -0.02773884, -0.03632328, 0.004923644, -0.0061609424, 0.0074383887, -0.013745325, 0.019271193, 0.025519732, 0.054835305, 0.008080762, -0.006774117, -0.030337531, -0.019460985, -0.00024636468, -0.00048907957, -0.01719808, 0.015475352, -0.006117144, -0.0017856878, -0.008569841, -0.02436638, 0.028060026, -0.009204915, 0.008730435, 0.0040987786, 0.033958178, -0.0286586, -0.022278668, 0.013015356, 0.014949774, 0.0034691799, -0.0036169987, 0.011701411, -0.026804479, 0.0041754255, 0.0013668678, -0.0039162864, 0.04473253, -0.0066025737, 0.0036972954, 0.005423673, 0.014811081, 0.022804245, 0.050835073, 0.05042629, -0.02532994, 0.025782522, 0.031271894, -0.025461335, 0.01077435, -0.020395346, -0.013781823, -0.017563066, 0.009861887, 0.00502584, -0.036352478, 0.014168708, 0.015825737, 0.00006256066, -0.017081285, -0.018336833, 0.044119354, -0.03538892, -0.018570423, -0.0015812963, -0.029826552, 0.004474713, 0.0150957685, -0.010942242, 0.03173907, -0.0074091903, -0.012986157, 0.003938185, 0.043827366, -0.018541224, -0.017154282, 0.026191305, 0.0049090446, 0.03013314, -0.008270554, -0.0027611095, 0.015942533, -0.011956899, 0.023023237, -0.02197208, 0.03229385, 0.026862876, 0.017271077, -0.04613407, 0.01651191, 0.026030712, 0.013037255, -0.010577258, -0.045696087, -0.013314643, 0.0013203323, 0.0060587465, 0.01266497, 0.0067814165, 0.012540875, 0.010781649, 0.006569725, 0.0003526665, -0.008453046, 0.023096234, -0.00076373055, -0.005755809, 0.002202683, -0.015884135, 0.0022172823, -0.015927933, -0.0011670387, 0.014051912, -0.008460346, -0.018015647, 0.016657904, -0.015373157, -0.03062952, 0.022789646, -0.029227978, 0.016103126, -0.04449894, -0.025037954, 0.004117028, -0.016979089, 0.013183248, 0.017782057, 0.01339494, -0.015665146, -0.016657904, 0.023227628, -0.022526858, -0.024176588, -0.015402356, -0.021227513, 0.09997662, -0.002845056, 0.008358151, -0.0044856626, -0.019460985, 0.04157906, -0.017387873, -0.02127131, -0.021125317, -0.006241239, -0.02175309, 0.020935524, 0.022293268, -0.015971731, 0.010854646, -0.016395114, -0.012022597, 0.037199244, 0.0059638508, 0.011628414, -0.0070405556, -0.020701934, 0.021884484, -0.026176706, 0.004248422, 0.009869187, -0.0065806746, 0.007387291, 0.023607213, 0.013891319, 0.022030478, -0.02077493, -0.0051937327, -0.0045951577, -0.011840105, -0.016351316, -0.017300276, 0.035739306, 0.017314875, -0.0030530973, -0.010847346, -0.0056317146, -0.0041571762, 0.0334618, -0.019957365, -0.018234637, -0.003585975, 0.007577083, -0.025855519, 0.0215341, 0.0045769084, -0.007949367, -0.018731017, -0.024278784, -0.0167309, 0.0026844628, 0.016979089, 0.007788774, 0.010329068, 0.0018641595, -0.034775745, 0.0039965827, -0.041958645, 0.0021862586, -0.019811371, -0.029549165, -0.031096699, 0.025694925, -0.048177984, 0.008460346, -0.024745965, -0.017825855, -0.012263487, -0.023709409, 0.014686986, -0.011292628, -0.013336542, 0.019081403, 0.025213145, 0.0039454848, -0.018293034, 0.01794265, -0.011329127, 0.008226756, 0.0038396395, 0.0005360713, 0.0055295187, 0.0015630472, -0.0011633888, 0.001685317, -0.039505947, -0.0007263196, 0.04254262, -0.0048433472, -0.036848858, 0.009453105, 0.011175833, -0.00274651, -0.014154108, -0.018205438, 0.010796248, -0.008818031, -0.010715952, 0.021650894, -0.042776212, 0.005569667, -0.04157906, -0.0022884542, 0.0043360186, 0.0057740584, 0.003934535, -0.020366149, 0.022891842, -0.026877476, 0.0056572636, -0.016044728, -0.0042338227, 0.060675062, -0.012095594, 0.009438505, 0.009219514, 0.018351432, 0.03273183, 0.0002582267, -0.008818031, -0.009752392, -0.0018741966, 0.010781649, 0.000991846, 0.016278319, -0.028395813, -0.010861945, 0.013037255, 0.028352015, 0.0077157775, 0.011993398, 0.0215487, -0.019723775, -0.014030013, -0.0031607677, 0.015154166, 0.012621172, 0.004328719, 0.009007824, -0.012935059, -0.0015493602, -0.003487429, 0.017125083, -0.0032830376, -0.01652651, 0.0059456015, -0.005763109, -0.004281271, 0.018453628, 0.02438098, -0.005160884, -0.0005159972, -0.026673084, -0.003752043, 0.0048104986, 0.026819078, -0.030950705, -0.03626488, 0.029067384, 0.03133029, 0.027169464, -0.021869885, 0.015665146, 0.017154282, -0.008226756, -0.007920168, 0.012343784, 0.010496961, -0.007832573, -0.03465895, -0.037111647, -0.01794265, 0.04955033, -0.012219689, -0.011847405, -0.029636761, 0.0008472208, -0.029841151, 0.022614455, -0.0012062745, -0.033578597, 0.021621695, -0.021139916, -0.015840337, 0.0015201614, 0.027563646, -0.0030676967, 0.0019380689, 0.0043323687, 0.02508175, 0.044382144, -0.006507678, 0.012650371, 0.026191305, 0.021315109, 0.02916958, -0.013248946, -0.020001164, -0.021577897, 0.03752043, 0.045316506, -0.03705325, -0.00009985754, 0.009956784, -0.023563415, 0.026176706, 0.011394823, 0.02292104, 0.033374205, -0.01887701, 0.018599622, -0.023490418, -0.009847288, -0.016030129, -0.001483663, -0.01794265, 0.0061025447, 0.01935879, -0.0010493312, -0.009380108, 0.015781939, 0.015811138, 0.011343726, -0.008985925, 0.0035075033, -0.019241994, 0.009876487, -0.027928632, -0.026191305, 0.041433066, 0.015957132, -0.020044962, 0.008204857, -0.02676068, 0.005858005, 0.0039710337, 0.006175542, 0.014292802, 0.03223545, -0.042922206, 0.050805874, -0.008022364, 0.022205671, -0.014978973, -0.017066685, -0.014679686, -0.013745325, 0.023767807, -0.023738608, 0.037958413, -0.07942068, -0.016322117, -0.02725706, 0.00645658, -0.0016488185, -0.03845479, -0.006409132, 0.020409945, 0.02223487, 0.008883729, 0.026833678, -0.02222027, -0.006310586, -0.017825855, 0.008642838, -0.029008986, 0.007701178, 0.0063178856, 0.04137467, -0.05407614, 0.014322001, -0.008876429, -0.026395695, 0.020512141, -0.01244598, -0.0073106443, 0.0140738115, -0.015694344, -0.014008114, 0.0015219863, 0.027870234, -0.0033815836, 0.0045988075, 0.035972897, -0.0021917333, -0.025286142, -0.006796016, -0.012080994, -0.014154108, -0.03895117, 0.027213262, -0.016073927, -0.010562658, -0.0042411224, 0.04689324, -0.008255955, 0.0063945325, -0.0014864004, 0.022380864, 0.006854413, 0.024468577, 0.015504551, -0.004759401, -0.046922438, 0.028541805, -0.0020694635, 0.04519971, -0.008686637, 0.028191421, 0.012730667, -0.009971383, -0.028249819, 0.012424081, -0.007007707, 0.04350618, -0.028877592, 0.0023304275, 0.0073033446, 0.016657904, 0.016088527, 0.013935117, -0.0043834667, 0.037637226, 0.00079794787, -0.010599157, 0.013781823, -0.023315225, 0.030512724, 0.00073681294, 0.00025731424, 0.023548815, -0.003923586, -0.00029426895, 0.02652709, -0.010161175, -0.015022771, 0.023490418, -0.012234288, -0.021709291, -0.01795725, -0.0016351317, -0.008168358, -0.021431904, 0.011876604, 0.028395813, 0.011818206, 0.022979438, -0.008204857, -0.016059328, -0.007905569, 0.003087771, 0.0021899084, -0.005544118, 0.0038067908, 0.0033104115, -0.009540701, -0.012730667, 0.034980137, 0.026220502, -0.0018358732, 0.031943463, -0.010635655, -0.020190956, -0.02172389, 0.029928748, 0.009599099, 0.031622276, 0.02197208, -0.009263312, 0.017125083, 0.016322117, -0.017621463, 0.02077493, 0.008927527, -0.003151643, 0.03562251, -0.0033615094, 0.0016177949, -0.01075975, -0.0059638508, 0.02676068, -0.021154515, 0.005069638, 0.02035155 ]
2311.01343
56
• Llm-FixOrd has the same structure as CLLM4Rec but it removes the stochastic item reordering strategy for both the collaborative LLM in pretraining and the RecLLM in finetuning. • Llm-PreRec discards finetuning and ranks the categorical prob- ability from the next item token prediction head of the collabora- tive LLM in the pretraining stage to make recommendations. 4.2.2 Results on the Public Datasets. We first analyze the ex- perimental results on four public datasets to provide preliminary answers for RQs. 1, 2, 3. From Tables 1 and 2, we can find that the ID-base method, Multi-VAE, remains a strong baseline for col- laborative filtering (CF). LLM-CF, the CF backbone of CLLM4Rec, cannot beat Multi-VAE on both AM-Sports and Toys datasets, even if the "hard" part of the prompt triggers the reasoning ability of the pretrained LLM. However, when large textual data are avail- able, CLLM4Rec outperforms its ID-based counterpart, MD-CVAE (which tightly couples an item content VAE with the Multi-VAE) Conference’17, July 2017, Washington, DC, USA Table 2: Comparison between CLLM4Rec and various base- lines on the Yelp dataset and the Company dataset.
2311.01343#56
Collaborative Large Language Model for Recommender Systems
Recently, there is a growing interest in developing next-generation recommender systems (RSs) based on pretrained large language models (LLMs), fully utilizing their encoded knowledge and reasoning ability. However, the semantic gap between natural language and recommendation tasks is still not well addressed, leading to multiple issues such as spuriously-correlated user/item descriptors, ineffective language modeling on user/item contents, and inefficient recommendations via auto-regression, etc. In this paper, we propose CLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and ID paradigm of RS, aiming to address the above challenges simultaneously. We first extend the vocabulary of pretrained LLMs with user/item ID tokens to faithfully model the user/item collaborative and content semantics. Accordingly, in the pretraining stage, a novel soft+hard prompting strategy is proposed to effectively learn user/item collaborative/content token embeddings via language modeling on RS-specific corpora established from user-item interactions and user/item features, where each document is split into a prompt consisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and a main text consisting of homogeneous item tokens or vocab tokens that facilitates stable and effective language modeling. In addition, a novel mutual regularization strategy is introduced to encourage the CLLM4Rec to capture recommendation-oriented information from user/item contents. Finally, we propose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where an item prediction head with multinomial likelihood is added to the pretrained CLLM4Rec backbone to predict hold-out items based on the soft+hard prompts established from masked user-item interaction history, where recommendations of multiple items can be generated efficiently.
http://arxiv.org/pdf/2311.01343
Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li
cs.IR
null
null
cs.IR
20231102
20231108
[ { "id": "2302.13971" }, { "id": "2206.07682" }, { "id": "2308.10053" }, { "id": "2307.02046" }, { "id": "2306.05817" }, { "id": "2205.08084" }, { "id": "2303.14524" }, { "id": "2305.07001" }, { "id": "2303.13835" }, { "id": "2303.18223" }, { "id": "2302.03735" }, { "id": "2305.00447" }, { "id": "2305.08845" }, { "id": "2104.08691" }, { "id": "2308.10837" }, { "id": "2305.06569" } ]
{ "authors": "Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li", "chunk_id": 56, "doc_id": "2311.01343", "primary_category": "cs.IR", "published": 20231102, "source": "http://arxiv.org/pdf/2311.01343", "summary": "Recently, there is a growing interest in developing next-generation\nrecommender systems (RSs) based on pretrained large language models (LLMs),\nfully utilizing their encoded knowledge and reasoning ability. However, the\nsemantic gap between natural language and recommendation tasks is still not\nwell addressed, leading to multiple issues such as spuriously-correlated\nuser/item descriptors, ineffective language modeling on user/item contents, and\ninefficient recommendations via auto-regression, etc. In this paper, we propose\nCLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and\nID paradigm of RS, aiming to address the above challenges simultaneously. We\nfirst extend the vocabulary of pretrained LLMs with user/item ID tokens to\nfaithfully model the user/item collaborative and content semantics.\nAccordingly, in the pretraining stage, a novel soft+hard prompting strategy is\nproposed to effectively learn user/item collaborative/content token embeddings\nvia language modeling on RS-specific corpora established from user-item\ninteractions and user/item features, where each document is split into a prompt\nconsisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and\na main text consisting of homogeneous item tokens or vocab tokens that\nfacilitates stable and effective language modeling. In addition, a novel mutual\nregularization strategy is introduced to encourage the CLLM4Rec to capture\nrecommendation-oriented information from user/item contents. Finally, we\npropose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where\nan item prediction head with multinomial likelihood is added to the pretrained\nCLLM4Rec backbone to predict hold-out items based on the soft+hard prompts\nestablished from masked user-item interaction history, where recommendations of\nmultiple items can be generated efficiently.", "text": "• Llm-FixOrd has the same structure as CLLM4Rec but it removes the stochastic item reordering strategy for both the collaborative LLM in pretraining and the RecLLM in finetuning.\n• Llm-PreRec discards finetuning and ranks the categorical prob- ability from the next item token prediction head of the collabora- tive LLM in the pretraining stage to make recommendations.\n4.2.2 Results on the Public Datasets. We first analyze the ex- perimental results on four public datasets to provide preliminary answers for RQs. 1, 2, 3. From Tables 1 and 2, we can find that the ID-base method, Multi-VAE, remains a strong baseline for col- laborative filtering (CF). LLM-CF, the CF backbone of CLLM4Rec, cannot beat Multi-VAE on both AM-Sports and Toys datasets, even if the \"hard\" part of the prompt triggers the reasoning ability of the pretrained LLM. However, when large textual data are avail- able, CLLM4Rec outperforms its ID-based counterpart, MD-CVAE (which tightly couples an item content VAE with the Multi-VAE)\nConference’17, July 2017, Washington, DC, USA\nTable 2: Comparison between CLLM4Rec and various base- lines on the Yelp dataset and the Company dataset.", "title": "Collaborative Large Language Model for Recommender Systems", "year": 2023 }
[ 0.025192069, 0.035197124, 0.06844205, 0.011713236, 0.025565285, 0.02252214, 0.005921213, 0.038412523, -0.042144682, 0.036804825, 0.014375987, -0.05713073, -0.009229915, 0.056585263, -0.005863795, -0.011275425, 0.030460155, -0.03933121, -0.027503137, 0.06832721, 0.0068327207, -0.0075145573, 0.0095241815, 0.007137753, -0.005221433, -0.028967291, -0.0057992, 0.025766248, -0.028938582, -0.04584813, 0.040278602, -0.012538617, -0.033388462, 0.0083184065, -0.038699612, 0.03238365, 0.00924427, 0.03427844, 0.0052752625, 0.027259111, -0.048661605, -0.035426795, -0.027790226, -0.011519451, 0.005777668, 0.0034396865, 0.0008917705, 0.00802414, 0.01607699, 0.02873762, -0.03588614, 0.039446045, 0.0022644154, -0.023526952, -0.0028045017, -0.036833532, 0.029512761, -0.01530185, 0.047082614, -0.017785171, 0.025565285, -0.03631677, 0.029857267, -0.018502893, -0.046824235, -0.033704262, -0.042144682, -0.0021352253, 0.05084348, 0.020483809, -0.03559905, -0.028005542, 0.045302663, -0.000106312684, -0.000044240882, 0.009021775, 0.03953217, 0.00771552, -0.0029713723, -0.006301606, 0.041943718, -0.00424533, 0.027531845, -0.027230402, -0.008189217, -0.03482391, -0.0019432344, 0.012768288, 0.0015637384, -0.03166593, -0.047599375, -0.007859064, -0.022335533, 0.013313757, 0.057073314, -0.0031292713, 0.0023182447, -0.04975254, 0.008203572, 0.05092961, -0.039675716, 0.007500203, 0.0067896573, -0.056585263, 0.046508435, 0.003524019, -0.048805147, -0.013041023, -0.03637419, -0.0049199895, -0.059944205, -0.024172902, -0.045704585, 0.005985808, 0.025694475, -0.059714533, -0.06901622, -0.018746918, -0.043953344, -0.025464805, -0.01604828, -0.005142484, 0.011462033, -0.054891437, 0.01990963, -0.014899924, 0.05560916, -0.05193442, -0.0054223957, -0.042833693, 0.021345075, -0.006746594, 0.04590555, -0.015890382, -0.062068667, 0.03826898, -0.05463306, -0.00047907996, -0.053743083, -0.026297363, -0.02767539, 0.00056027237, -0.027431365, 0.013543429, -0.049494162, 0.00028821055, 0.014928633, -0.049207073, -0.04346529, 0.01322763, -0.042804986, -0.044728484, -0.035943557, 0.028393112, -0.057389114, 0.0025192068, 0.0029139544, 0.018230159, 0.018144032, -0.039905388, 0.02777587, 0.007816001, 0.001017372, -0.017612917, 0.0050384137, 0.0014668459, -0.034163605, 0.01752679, -0.07383932, -0.033072665, 0.012251528, -0.037005786, -0.018057905, -0.054460805, -0.040364727, -0.018789982, -0.007909305, -0.017598562, -0.025780601, -0.038297687, -0.006301606, -0.0033661197, -0.035972264, -0.02977114, -0.05848005, 0.022751812, 0.0040838425, 0.004998939, 0.0050384137, -0.005641301, 0.0064200303, -0.0018696678, 0.08474871, 0.029039063, 0.0074571394, 0.030345319, 0.03872832, 0.01258168, -0.01444776, -0.030230483, -0.018344995, 0.042288225, -0.020110592, -0.02796248, -0.0043099253, -0.009875866, -0.01848854, 0.011648641, -0.04619264, -0.009359105, 0.041283414, 0.023254218, 0.047254868, 0.052881815, -0.057532657, -0.009976347, -0.069131054, 0.019536413, 0.030890789, 0.051848292, 0.024503056, 0.008110267, 0.012502731, 0.012574503, -0.04874773, 0.0137731, 0.024718372, -0.052738268, -0.023211155, -0.06143707, 0.051503785, -0.018158386, -0.028536657, -0.0049522873, 0.002483321, -0.01607699, -0.008756218, -0.004338634, 0.010464398, -0.0015502812, 0.006272897, 0.011813717, 0.050470266, -0.010421335, 0.0071233986, 0.027115567, -0.012007502, -0.03824027, 0.044900738, 0.022464722, 0.023110673, 0.0074571394, -0.048317097, -0.038039308, -0.024373865, 0.056097213, -0.020225428, 0.018029196, -0.008813635, 0.020928796, -0.063676365, 0.028622784, 0.018057905, 0.028106024, -0.04053698, -0.011842426, -0.0145123545, 0.030115647, -0.009394991, 0.01752679, -0.052623432, 0.0009967375, -0.0069152587, 0.003122094, -0.01385205, -0.024574827, 0.03424973, 0.011052931, 0.003080825, 0.03637419, -0.017254055, 0.0009787944, 0.024259029, 0.007916482, 0.011835248, 0.015560229, 0.0011160589, -0.0052429647, -0.013163036, 0.033819098, -0.011749121, -0.047857754, 0.042919822, -0.036804825, -0.010773019, 0.030747244, 0.035111, -0.018804336, -0.013880759, 0.032010436, 0.01206492, 0.04507299, -0.016679877, 0.032871705, -0.0027578499, 0.07142777, -0.020612998, -0.030546281, -0.016220534, 0.020584289, -0.026024628, 0.06930331, -0.029196963, 0.017900007, -0.03399135, -0.054690477, 0.03427844, -0.09106467, 0.018732565, -0.009208383, 0.0058171432, -0.03588614, 0.0074140765, 0.0038362283, -0.009179674, 0.0070767463, -0.018129677, -0.061322235, -0.016866485, -0.028967291, 0.010335208, 0.0065743406, -0.0045862487, -0.010026587, -0.008339939, -0.014397519, -0.008713154, 0.004564717, 0.044872027, 0.042804986, -0.049465455, -0.012481199, -0.045388788, 0.043092076, -0.0034648066, -0.009373459, 0.004740559, 0.028278278, 0.026010273, 0.035426795, 0.0015709157, -0.045015574, 0.013686974, -0.027460074, 0.0013923822, -0.025866728, -0.0055910605, -0.014562595, 0.031149168, 0.020569935, -0.01620618, -0.006692765, 0.036000974, -0.032268815, 0.021976672, 0.03295783, -0.05885327, -0.02570883, 0.00061993307, -0.033072665, 0.025091588, -0.01266063, -0.004898458, 0.024158549, -0.04958029, 0.009538536, 0.032785576, 0.022995837, 0.0095241815, 0.03981926, -0.025134651, -0.0138018085, -0.034077477, -0.0073853675, 0.0026268654, 0.040967617, 0.0015054236, 0.0027775872, -0.039790552, 0.0050312364, -0.017483726, 0.01027779, 0.002296713, -0.00034742267, 0.0202972, 0.018703856, 0.021043632, 0.049207073, 0.05009705, 0.050240595, -0.008641382, 0.015502812, -0.039905388, 0.007399722, -0.007902128, 0.030086938, 0.009079193, 0.0038505828, -0.010572056, -0.034450695, 0.057618786, -0.037063204, 0.024503056, -0.01009836, 0.020928796, 0.015832964, 0.012990782, 0.035369378, 0.030804662, 0.046939068, -0.0032817873, 0.004069488, -0.020885732, -0.020412035, 0.036804825, -0.009954815, 0.004941521, -0.04877644, -0.040221184, -0.025349969, -0.026153818, 0.047025196, 0.061035145, -0.02120153, -0.040737946, -0.01623489, -0.003220781, 0.013500365, -0.038096726, -0.04165663, 0.022636976, 0.010909386, -0.043666255, -0.01794307, -0.0454175, 0.016191825, -0.017383246, 0.011447678, -0.0003198352, 0.03290041, -0.018962236, -0.0086988, 0.055379488, 0.012926187, -0.0010559496, -0.054432094, 0.081303634, -0.049120948, 0.03404877, -0.04119729, 0.015029115, -0.0006414647, 0.04030731, 0.009983524, 0.033331044, 0.06413571, 0.017971778, 0.009753852, 0.062068667, 0.007126987, 0.0062513654, -0.003303319, -0.010428512, 0.0066855876, -0.0039941273, 0.010320853, 0.016507624, -0.069188476, 0.004108963, -0.011088816, 0.033388462, 0.011009867, 0.015646357, -0.0020329498, -0.0033481768, 0.057245567, 0.0057023074, 0.017684689, -0.03453682, 0.038383815, 0.027244756, -0.0011384877, 0.0033840628, -0.01752679, -0.0113615515, -0.0063949097, 0.051015735, -0.036862243, 0.02974243, -0.022881001, -0.00012537719, -0.0015440012, 0.003513253, 0.010428512, 0.01726841, 0.051044445, 0.019665604, -0.017871298, 0.033847805, 0.020282846, 0.024445638, 0.05779104, 0.02270875, 0.00313286, -0.022694394, 0.018144032, -0.030632408, -0.0065851063, -0.0018203243, 0.04426914, 0.01897659, 0.009588776, -0.0050599454, 0.0026663402, 0.012151047, -0.014117607, -0.038441233, -0.0863564, 0.004424761, -0.048862565, 0.017799525, 0.013844872, -0.026082046, 0.007658102, -0.07068134, -0.021459911, 0.011849603, -0.01568942, -0.012610389, -0.03057499, 0.026828477, 0.030747244, 0.025436096, -0.012086451, 0.0101486, -0.0032512841, 0.023153737, 0.007650925, 0.0074571394, -0.001162711, 0.04240306, -0.043953344, -0.014203734, -0.015072178, 0.0025335613, 0.005985808, -0.0090863705, -0.031464968, -0.016966967, -0.006470271, 0.028034251, -0.004701084, 0.004672375, 0.020225428, -0.025292551, 0.0013789249, 0.029914685, 0.04771421, 0.02268004, 0.031522386, -0.016249243, -0.02270875, 0.033130083, -0.03849865, -0.0064451504, -0.011239539, 0.021560391, -0.012366364, 0.0038721145, -0.018502893, -0.021904899, -0.042919822, 0.006617404, -0.010837614, -0.036230646, 0.02280923, -0.004137672, 0.0076652793, -0.0033535596, 0.0046974956, 0.033618134, -0.007823179, -0.0049486984, -0.017038738, -0.02358437, 0.01597651, 0.010206018, -0.010780196, -0.031149168, -0.039158955, 0.03344588, 0.023081964, -0.014053012, -0.02677106, -0.008662914, 0.019651249, 0.0064918026, 0.009158143, -0.002870891, -0.0070588035, 0.0027399068, -0.024531765, -0.047857754, -0.019550769, -0.036259353, 0.0100194095, 0.0038972346, -0.056269467, 0.0107299555, -0.012718048, -0.030374028, -0.03482391, -0.018258868, -0.016938258, 0.04432656, -0.014598481, 0.011899844, -0.04797259, -0.02974243, -0.016364079, -0.03166593, 0.0108735, 0.007442785, -0.026727997, 0.026756706, -0.007600684, 0.030460155, 0.03238365, 0.00385776, 0.024459992, 0.03246978, 0.04426914, -0.023828397, -0.04378109, 0.0005714868, -0.049006112, 0.03275687, -0.020325908, -0.028507948, -0.01762727, -0.026168173, -0.06901622, 0.02081396, 0.0098256245, 0.016651168, -0.008540901, -0.01436881, 0.03697708, 0.010995513, 0.0015736072, -0.020124946, -0.031034334, -0.009818448, -0.012366364, -0.020971859, 0.04274757, 0.018215803, 0.017885651, -0.027617972, 0.037867054, -0.014770735, -0.013033845, -0.012086451, -0.0026914603, -0.012861592, -0.04024989, -0.010198841, 0.0011501508, -0.021402493, -0.009839979, -0.01416067, -0.0015798872, -0.026670579, -0.044096887, -0.034967452, -0.011189298, 0.03215398, -0.014684608, 0.0017099745, 0.006821955, -0.009639017, -0.004073077, 0.012172578, -0.009696434, -0.012588858, 0.02278052, -0.009703612, 0.06275768, 0.0021729057, -0.031120459, -0.018474184, -0.033876516, 0.003163363, -0.012832883, -0.016636813, -0.026326071, -0.02316809, -0.0031095338, 0.03976184, 0.005594649, -0.021086695, -0.022062799, -0.012079274, 0.02674235, -0.018531602, 0.013163036, 0.018072259, -0.009782561, -0.003653209, -0.012179756, -0.022105861, 0.03290041, -0.032354943, -0.020110592, 0.012969251, 0.03585743, -0.0016785741, 0.022407304, -0.01871821, 0.018086614, 0.01913449, 0.022321178, -0.0066855876, -0.0031185055, -0.033388462, 0.0077011655, -0.026168173, 0.008031318, -0.026297363, 0.0077729374, -0.0119644385, -0.0386709, -0.001980915, 0.04369496, -0.031981725, -0.0053649778, 0.0148137985, 0.030661117, -0.03324492, 0.033560716, -0.03981926, 0.014332924, 0.014942988, 0.013263517, -0.0052178446, -0.014942988, -0.021890545, -0.015646357, -0.020957505, 0.016809067, 0.046479728, 0.005594649, 0.029139545, -0.0067788917, 0.008591142, 0.0013654676, -0.010198841, -0.020569935, 0.011813717, -0.0026519857, -0.030115647, -0.011462033, 0.010880677, -0.031723347, 0.038613487, -0.007787292, 0.042230807, 0.02410113, -0.025593994, 0.007159285, -0.0058745607, -0.009703612, -0.000075080534, -0.034421984, -0.032642033, -0.01597651, -0.019952694, -0.011146234, -0.0043996405, -0.02213457, -0.026196882, -0.012811352, -0.025579639, -0.0050743, 0.00043085797, 0.04378109, -0.03269945, -0.1324055, 0.0037070382, 0.01923497, -0.012474022, 0.023928877, 0.03424973, 0.027976833, 0.020311555, -0.013550606, -0.02371356, -0.022191988, -0.029082127, 0.013033845, -0.016478915, -0.004729793, -0.023928877, -0.02912519, 0.00350787, 0.030488864, -0.02348389, -0.018258868, 0.0076078614, -0.038383815, 0.013722859, -0.0018678735, 0.0029265147, -0.017325828, 0.028393112, -0.007887773, -0.0048374515, 0.007051626, 0.0037716331, 0.0077585834, 0.023498243, -0.028909873, -0.0060252827, -0.025852375, -0.011124703, -0.052336346, -0.0013224042, 0.0061042323, -0.033302337, 0.0004086534, 0.0026358368, 0.021043632, -0.028464885, 0.018502893, 0.024015004, 0.0055300537, -0.014971697, -0.013270694, -0.021703936, 0.0075504435, -0.024861917, 0.0036675634, 0.018359348, -0.01266063, -0.0067896573, -0.009459586, -0.020254137, -0.020871378, -0.004216621, 0.013435771, -0.021215886, -0.039417334, -0.022077153, -0.04030731, 0.030976916, -0.026928958, -0.031780764, -0.013163036, 0.021416847, 0.0007414973, 0.019794794, 0.0027632327, 0.009308864, 0.0273883, 0.026627515, -0.014770735, 0.022306824, 0.023053255, -0.038642194, 0.009739498, -0.0151439505, 0.0055802944, 0.022378596, 0.032785576, -0.023024546, -0.029857267, 0.008612674, 0.016148763, -0.0062872516, 0.01701003, -0.007363836, -0.005741782, 0.029914685, -0.010084005, 0.010816082, 0.020727834, 0.0027201693, 0.013363998, 0.013206099, -0.010119891, -0.024144195, 0.009832802, -0.002068836, 0.019349806, -0.014311392, 0.0467094, 0.0018804336, 0.0116342865, -0.024402574, -0.012502731, 0.03404877, -0.024259029, 0.026584452, -0.0035706707, 0.032555904, 0.010981158, 0.006821955, 0.020211073, 0.012287414, -0.020211073, -0.015861673, -0.0012605006, -0.021890545, 0.024617892, 0.0011654024, -0.0030485275, 0.019794794, 0.010672538, 0.020641707, -0.019306744, 0.0306037, -0.023225509, 0.020340264, 0.01154816, -0.014210911, -0.009976347, 0.022723103, 0.022636976, 0.00727412, 0.04271886, 0.0010882472, 0.02780458, -0.0040946086, -0.019464642, -0.008397357, -0.047742918, 0.045187827, 0.017024385, 0.007449962, -0.012143869, 0.0031400372, -0.02925438, 0.022493431, 0.025881084, -0.056843642, 0.019048363, 0.013033845, -0.016134407, 0.031292714, 0.01398124, -0.037551254, 0.037809636, -0.031522386, -0.016995676, -0.02216328, 0.020627353, 0.054719184, -0.023541307, -0.048518058, 0.04248919, 0.03430715, 0.0060252827, -0.00556594, -0.0014704345, 0.004069488, 0.034709074, 0.029225672, -0.03531196, 0.024790145, -0.042001136, 0.02216328, 0.02123024, 0.02824957, 0.0063913213, -0.0050348253, 0.04980996, 0.012617567, -0.0034773669, 0.011612754, 0.021273304, 0.032010436, 0.034479402, -0.024790145, 0.00229133, 0.025737539, -0.00895718, -0.01530185, -0.009696434, 0.032871705, 0.023110673, -0.002397194, -0.009452409, -0.011706059, 0.01543104, -0.009531358, -0.001280238, 0.029857267, 0.004248919, -0.0002682489, 0.008117445, -0.021861836, 0.01604828, -0.022349887, -0.019794794, 0.013622378, -0.019206261, -0.00616165, -0.017096156, 0.017469373, 0.009775384, 0.03720675, -0.028436176, 0.0047226157, 0.010270613, -0.02402936, -0.018000487, 0.014304215, -0.00024582006, 0.03924508, -0.0032010435, -0.007245411, -0.032211397, -0.044010762, -0.012438135, -0.01988092, -0.024704019, 0.02348389, 0.066604674, -0.020340264, -0.03712062, 0.0027022262, 0.0051604267, -0.0186895, 0.01530185, 0.0027578499, -0.004248919, -0.017469373, 0.011296957, -0.012804174, 0.014698963, 0.0069080815, -0.0131702125, -0.0056843646, 0.00053874066, 0.014663076, 0.04406818, 0.032211397, -0.039647005, 0.038297687, 0.035484213, -0.028809393, -0.0035401676, -0.01154816, -0.011304134, 0.0014982463, 0.04004893, -0.025134651, -0.017900007, 0.020928796, 0.010808905, 0.01701003, -0.03430715, -0.0056664213, 0.016536333, -0.009416522, -0.032814287, -0.003681918, -0.023756623, 0.0060252827, -0.016809067, 0.013241985, 0.012330477, -0.004449881, 0.010801728, 0.020857023, 0.032929122, -0.019651249, -0.010421335, 0.033417173, 0.008993066, 0.010830437, 0.019392869, -0.016608104, -0.004823097, -0.030086938, 0.020110592, -0.027043793, 0.010859146, 0.018904818, 0.03269945, -0.012904655, 0.030460155, 0.000018517809, -0.016062636, -0.03269945, -0.0064630937, -0.008914117, -0.01952206, 0.025206424, 0.013830517, -0.021316366, -0.019694313, -0.009861511, -0.0042273873, -0.006215479, -0.001642688, -0.017110512, 0.018273221, -0.005863795, 0.018804336, 0.002845771, -0.011289779, -0.030747244, -0.000088089255, 0.002110105, -0.0005831497, -0.002425903, 0.010636652, -0.0009384225, -0.021158468, 0.0017844383, -0.014017126, -0.008426066, -0.028378759, -0.019565122, -0.01584732, -0.009861511, 0.036948368, 0.023928877, 0.0275462, -0.0057310164, -0.012007502, 0.038642194, 0.0031059452, -0.013952531, -0.014648722, -0.023613079, 0.0728058, -0.013407062, -0.018818691, -0.003437892, 0.012466844, 0.03956088, -0.037264165, 0.022881001, -0.013119972, 0.0031813062, -0.033646844, 0.021014923, 0.010887855, -0.00080833526, -0.0054223957, -0.01604828, -0.02532126, 0.029972102, 0.017469373, 0.006348258, 0.008469129, -0.022866648, 0.030230483, 0.0007271429, 0.025852375, -0.010320853, 0.0017969984, 0.023971941, 0.010880677, 0.008813635, 0.0072561773, -0.017512435, -0.019450286, -0.010708423, -0.05649914, -0.014742026, -0.0059714536, 0.04289111, 0.030201774, 0.001753935, 0.02545045, -0.015832964, -0.01253144, 0.002379251, -0.025737539, 0.0055515855, 0.002413343, 0.023900168, -0.009488295, 0.016349725, -0.007471494, -0.025565285, 0.018316286, -0.004396052, -0.023871459, -0.01791436, 0.0186895, 0.024603536, 0.005185547, 0.01553152, -0.03321621, 0.015258786, -0.036000974, 0.0036101455, -0.003875703, -0.039158955, 0.017053094, 0.01431857, -0.01765598, 0.021287657, -0.016407143, 0.010751487, 0.008749041, -0.005892504, 0.024919335, 0.009021775, 0.016679877, -0.0007231057, 0.003443275, 0.013414239, -0.00085498724, 0.016852131, -0.014411873, -0.0063159605, 0.015244432, 0.015675066, 0.016694231, -0.025665766, -0.024747081, 0.041714046, -0.030115647, 0.028522303, 0.066776924, 0.0074930256, -0.025938502, -0.019177552, -0.01794307, 0.004858983, 0.0024994696, -0.016550688, -0.007593507, -0.019120134, -0.0138018085, 0.016005218, -0.04294853, -0.0028942171, -0.06453763, -0.020239782, 0.024259029, 0.0060288715, -0.00027071606, -0.016191825, 0.02863714, -0.007988255, -0.013708505, 0.004704673, -0.01894788, 0.00882799, -0.011942907, -0.008670091, -0.0095241815, 0.002847565, 0.013837695, 0.03666128, 0.00046158547, 0.008749041, -0.010040942, -0.035197124, 0.023971941, 0.015861673, -0.038814448, -0.015890382, 0.010981158, 0.026498325, 0.015517167, 0.0081820395, -0.023383409, -0.021431202, 0.004356577, 0.0028242392, 0.009926106, 0.021833127, -0.009617485, 0.01688084, 0.0015538698, -0.0062764855, -0.020986214, -0.0012326889, -0.0022841527, 0.0061185868, -0.026727997, 0.035685178, -0.0022823585, 0.017182283, 0.040278602, 0.018029196, 0.01716793, -0.027172985, 0.017828234, -0.0073781903, 0.018890463, -0.0010290351, -0.038929284, 0.022292469, 0.05822167, 0.012768288, -0.014576949, 0.005662833, 0.014727672, -0.020627353, -0.013249163, 0.0015457955, 0.007823179, -0.013521897, -0.03473778, -0.03057499, -0.012775465, 0.045245245, -0.018962236, -0.013141504, -0.004062311, 0.0028314164, -0.00046696837, -0.002729141, -0.022450369, -0.021273304, 0.011828071, -0.010966804, -0.029828558, 0.00278297, -0.010844791, 0.0031759234, -0.023785332, 0.030115647, 0.008167685, 0.053341158, 0.014828153, -0.0017655981, 0.04558975, -0.0029336917, 0.0026214824, -0.022794874, -0.02886681, 0.0024456403, 0.013084087, 0.039503463, 0.012689339, -0.00020085023, 0.01027779, -0.006183182, 0.008634205, 0.011447678, 0.019306744, 0.03531196, -0.017699044, 0.010550525, -0.016737295, 0.023828397, -0.026512679, -0.010435689, 0.028034251, -0.02026849, -0.009143788, -0.0031364486, 0.016249243, 0.03347459, 0.017153574, -0.005641301, -0.018115323, 0.027646681, 0.0000761459, -0.010206018, -0.037091915, 0.010170132, 0.010938095, 0.0068721958, -0.0042991596, 0.00006403433, -0.033331044, 0.017498082, 0.0142396195, 0.02400065, 0.028723266, 0.038584776, -0.02400065, 0.05661397, 0.004787211, 0.040077638, -0.012201287, -0.013249163, -0.0061293524, 0.0062047136, 0.014009949, -0.03766609, 0.017096156, -0.08555255, -0.0147850895, -0.011684527, 0.009603131, 0.014598481, 0.012352009, 0.0014219882, -0.02700073, 0.009983524, 0.012251528, 0.015488458, -0.035972264, 0.010780196, -0.0056197695, 0.00042368073, 0.011576869, 0.017498082, -0.0032530786, 0.01291901, -0.05750395, 0.002964195, -0.010801728, 0.0090576615, 0.019048363, -0.05822167, 0.007622216, 0.022292469, 0.0017530379, -0.0018606962, -0.008426066, 0.011354375, -0.022349887, 0.0023810454, 0.029484052, -0.01219411, -0.032211397, 0.010471575, -0.0031292713, -0.016435852, -0.014928633, -0.005957099, -0.012466844, -0.039991513, -0.02177571, 0.03238365, -0.033819098, -0.022464722, 0.01897659, 0.026498325, 0.0029372803, 0.018215803, -0.0073494813, 0.002332599, -0.04619264, 0.015746837, -0.022823583, -0.0018391646, -0.014957342, 0.009517004, 0.013285048, 0.0034307148, 0.008734686, 0.006244188, -0.025522223, 0.009832802, -0.029943394, -0.00017326276, -0.025622703, 0.014986051, 0.015000406, 0.01172759, 0.0055156997, 0.021115404, 0.016995676, 0.013966885, 0.024043713, 0.0064846254, -0.0025766247, -0.0044283494, -0.031206585, 0.018474184, 0.020153655, 0.007220291, 0.02487627, -0.0058171432, -0.022177633, 0.02226376, -0.008160508, -0.012854415, 0.0009698229, 0.013155858, -0.019995756, 0.019206261, -0.010780196, 0.008052849, 0.021947963, 0.031149168, -0.021660874, 0.0040264246, -0.0068614297, -0.0083471155, 0.0130482, -0.046049092, -0.02001011, 0.021904899, -0.0102921445, 0.026943313, 0.018904818, 0.026125109, -0.011275425, 0.0137731, -0.029885976, -0.00810309, -0.012086451, 0.019723022, -0.0058314977, 0.033015247, 0.019206261, 0.0145123545, -0.03005823, -0.009997878, -0.026082046, 0.008497838, 0.01398124, -0.03611581, 0.008540901, 0.0065420433, 0.0070623923, -0.02412984, -0.01662246, 0.013859226, -0.007091101, 0.027761517, -0.003976184 ]
2311.01343
57
Conference’17, July 2017, Washington, DC, USA Table 2: Comparison between CLLM4Rec and various base- lines on the Yelp dataset and the Company dataset. Yelp Recall@20 Recall@40 NDCG@100 Multi-VAE MD-CVAE BERT4Rec S3Rec 0.0526 0.0664 0.0418 0.0563 0.0842 0.1058 0.0724 0.0893 0.0424 0.0497 0.0361 0.0485 LLM-Scratch LLM-CF LLM-FTAll LLM-FixOrd LLM-PreRec 0.0199 0.0541 0.0653 0.0694 0.0639 0.0325 0.0860 0.0989 0.1053 0.1021 0.0159 0.0412 0.0520 0.0524 0.0498 CLLM4Rec 0.0735 0.1149 0.0536 LinkedIn Recall@10 Recall@20 NDCG@10 Two-Tower 0.1186 0.2041 0.0979 M6-Retrieval CLLM4Rec-Emb CLLM4Rec 0.1279 0.1302 0.1427 0.2118 0.2165 0.2398 0.1020 0.1034 0.1199
2311.01343#57
Collaborative Large Language Model for Recommender Systems
Recently, there is a growing interest in developing next-generation recommender systems (RSs) based on pretrained large language models (LLMs), fully utilizing their encoded knowledge and reasoning ability. However, the semantic gap between natural language and recommendation tasks is still not well addressed, leading to multiple issues such as spuriously-correlated user/item descriptors, ineffective language modeling on user/item contents, and inefficient recommendations via auto-regression, etc. In this paper, we propose CLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and ID paradigm of RS, aiming to address the above challenges simultaneously. We first extend the vocabulary of pretrained LLMs with user/item ID tokens to faithfully model the user/item collaborative and content semantics. Accordingly, in the pretraining stage, a novel soft+hard prompting strategy is proposed to effectively learn user/item collaborative/content token embeddings via language modeling on RS-specific corpora established from user-item interactions and user/item features, where each document is split into a prompt consisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and a main text consisting of homogeneous item tokens or vocab tokens that facilitates stable and effective language modeling. In addition, a novel mutual regularization strategy is introduced to encourage the CLLM4Rec to capture recommendation-oriented information from user/item contents. Finally, we propose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where an item prediction head with multinomial likelihood is added to the pretrained CLLM4Rec backbone to predict hold-out items based on the soft+hard prompts established from masked user-item interaction history, where recommendations of multiple items can be generated efficiently.
http://arxiv.org/pdf/2311.01343
Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li
cs.IR
null
null
cs.IR
20231102
20231108
[ { "id": "2302.13971" }, { "id": "2206.07682" }, { "id": "2308.10053" }, { "id": "2307.02046" }, { "id": "2306.05817" }, { "id": "2205.08084" }, { "id": "2303.14524" }, { "id": "2305.07001" }, { "id": "2303.13835" }, { "id": "2303.18223" }, { "id": "2302.03735" }, { "id": "2305.00447" }, { "id": "2305.08845" }, { "id": "2104.08691" }, { "id": "2308.10837" }, { "id": "2305.06569" } ]
{ "authors": "Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li", "chunk_id": 57, "doc_id": "2311.01343", "primary_category": "cs.IR", "published": 20231102, "source": "http://arxiv.org/pdf/2311.01343", "summary": "Recently, there is a growing interest in developing next-generation\nrecommender systems (RSs) based on pretrained large language models (LLMs),\nfully utilizing their encoded knowledge and reasoning ability. However, the\nsemantic gap between natural language and recommendation tasks is still not\nwell addressed, leading to multiple issues such as spuriously-correlated\nuser/item descriptors, ineffective language modeling on user/item contents, and\ninefficient recommendations via auto-regression, etc. In this paper, we propose\nCLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and\nID paradigm of RS, aiming to address the above challenges simultaneously. We\nfirst extend the vocabulary of pretrained LLMs with user/item ID tokens to\nfaithfully model the user/item collaborative and content semantics.\nAccordingly, in the pretraining stage, a novel soft+hard prompting strategy is\nproposed to effectively learn user/item collaborative/content token embeddings\nvia language modeling on RS-specific corpora established from user-item\ninteractions and user/item features, where each document is split into a prompt\nconsisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and\na main text consisting of homogeneous item tokens or vocab tokens that\nfacilitates stable and effective language modeling. In addition, a novel mutual\nregularization strategy is introduced to encourage the CLLM4Rec to capture\nrecommendation-oriented information from user/item contents. Finally, we\npropose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where\nan item prediction head with multinomial likelihood is added to the pretrained\nCLLM4Rec backbone to predict hold-out items based on the soft+hard prompts\nestablished from masked user-item interaction history, where recommendations of\nmultiple items can be generated efficiently.", "text": "Conference’17, July 2017, Washington, DC, USA\nTable 2: Comparison between CLLM4Rec and various base- lines on the Yelp dataset and the Company dataset.\nYelp Recall@20 Recall@40 NDCG@100 Multi-VAE MD-CVAE BERT4Rec S3Rec 0.0526 0.0664 0.0418 0.0563 0.0842 0.1058 0.0724 0.0893 0.0424 0.0497 0.0361 0.0485 LLM-Scratch LLM-CF LLM-FTAll LLM-FixOrd LLM-PreRec 0.0199 0.0541 0.0653 0.0694 0.0639 0.0325 0.0860 0.0989 0.1053 0.1021 0.0159 0.0412 0.0520 0.0524 0.0498 CLLM4Rec 0.0735 0.1149 0.0536 LinkedIn Recall@10 Recall@20 NDCG@10 Two-Tower 0.1186 0.2041 0.0979 M6-Retrieval CLLM4Rec-Emb CLLM4Rec 0.1279 0.1302 0.1427 0.2118 0.2165 0.2398 0.1020 0.1034 0.1199", "title": "Collaborative Large Language Model for Recommender Systems", "year": 2023 }
[ -0.010628847, 0.009361695, 0.0682462, 0.033984613, 0.009500181, 0.014430304, 0.01840487, 0.03476014, -0.031021, 0.0044765794, -0.0048678042, -0.069575675, -0.010975064, 0.00061886205, -0.013405504, 0.034095403, 0.025606174, -0.03174113, -0.04406644, 0.041269008, -0.00465315, 0.022947231, -0.00842691, 0.0012818667, 0.014458002, -0.015787473, -0.025038378, -0.0016159656, 0.009243981, -0.053622015, 0.01768474, -0.032932114, -0.021465424, 0.010531906, -0.05254182, 0.023722757, 0.003439661, 0.022393284, -0.0039918763, 0.024041275, -0.04282006, -0.006186889, -0.012886179, -0.0010360529, -0.007048968, -0.02160391, 0.013086985, 0.0032440487, 0.030439356, 0.021825489, -0.045035847, 0.034095403, -0.0052001723, -0.037696056, -0.029525345, -0.052154057, 0.04697466, 0.00398149, 0.055782404, 0.0076167635, 0.0050893826, -0.065199494, 0.03060554, -0.03534178, -0.049439717, -0.022074765, 0.0022798358, 0.0022313655, 0.07788487, -0.009278603, -0.016036749, 0.015067343, 0.045091238, -0.012089881, 0.010248009, -0.004535436, 0.050353732, 0.021659305, -0.021977825, -0.05395438, 0.011833681, -0.008953159, -0.004272312, -0.016064446, -0.000046198267, -0.06475634, -0.0041822954, -0.016009051, -0.027046435, -0.002034022, -0.021756247, 0.00059029914, 0.00051110215, -0.01416718, 0.049993664, -0.02823742, -0.013177001, -0.017629346, 0.029940804, 0.025426142, -0.014347212, 0.016299874, 0.003957255, -0.044925056, 0.05054761, -0.012498416, -0.029137582, -0.024539826, -0.014485699, 0.021257695, -0.056197867, 0.004043809, -0.0455344, 0.0031938474, 0.029137582, -0.037363686, -0.0640916, -0.040770456, -0.03744678, -0.007969905, -0.047750182, 0.0017354103, 0.0014134289, -0.068800144, 0.03825, 0.0016159656, 0.02574466, -0.011355902, -0.039302498, -0.035840333, 0.019498914, -0.014021769, 0.034898624, -0.010067976, -0.030577842, 0.029082188, -0.027946597, 0.006536568, -0.049578205, -0.035009414, -0.03528639, -0.020537565, -0.037585266, 0.027240315, -0.056197867, -0.001130397, -0.024055123, -0.028888306, -0.016396815, 0.046476107, -0.025246108, -0.00055178255, -0.04703005, 0.012346081, -0.022102462, -0.03639428, 0.014568791, 0.026880251, -0.016216781, -0.020953024, 0.019512763, -0.0030674783, -0.006349611, -0.0064604003, 0.004878191, 0.009700987, -0.054037474, -0.0099156415, -0.08054381, -0.043097034, 0.033153694, -0.033015206, 0.016147539, -0.078604996, -0.031907313, -0.029192977, 0.028085085, -0.0053248103, -0.014776521, -0.021770095, 0.007080128, -0.020953024, 0.0077206283, -0.044703476, -0.04486966, -0.0058787563, 0.015330467, 0.039994933, -0.0054182885, -0.007845267, 0.0029255296, -0.013931753, 0.10015351, 0.017352372, 0.00013199505, 0.0074505797, 0.026077028, -0.010164917, -0.03060554, 0.00019842535, -0.029940804, 0.0047327797, -0.019457368, -0.031048696, -0.005598321, -0.013460898, -0.019055758, -0.021880884, -0.04437111, 0.014361061, 0.04891347, 0.03941329, 0.04805485, 0.042432297, -0.06326068, -0.02232404, -0.0589399, 0.004009187, 0.029109884, 0.038803946, 0.024969134, 0.016009051, 0.021437727, 0.006595425, -0.010248009, 0.016078295, 0.03442777, -0.029109884, -0.0052486425, -0.056945693, 0.02801584, -0.012463795, -0.025052227, -0.009112419, -0.008780051, -0.017310826, 0.02604933, -0.0070316573, -0.0011278003, 0.00951403, 0.00068637426, 0.034455467, 0.027683472, 0.018778784, 0.044509597, 0.0046877717, -0.027863506, -0.06680594, 0.0139386775, 0.035729546, -0.016826123, 0.0413521, -0.024941439, -0.019138848, -0.006730449, 0.039994933, -0.025633872, 0.02595239, 0.0012160855, 0.011937546, -0.06481173, 0.020496018, 0.0061314944, 0.020620655, -0.034566257, -0.021908581, -0.002868404, 0.041739862, -0.026935644, -0.023667362, -0.053068068, -0.03692053, 0.036948226, -0.020579109, -0.018030956, -0.055394642, -0.013682477, 0.019595856, -0.0061799646, -0.01365478, -0.0013467823, 0.017823227, 0.008558473, -0.007332866, 0.0413798, 0.011141247, 0.027849657, 0.0065088705, -0.02729571, 0.02035753, -0.0023213818, -0.04558979, 0.032765932, -0.03608961, -0.03680974, 0.013924829, 0.087301955, -0.040161118, 0.01634142, 0.02109151, 0.04209993, 0.030411659, -0.017767832, 0.037059017, -0.0098187, 0.073508695, -0.0063565355, -0.022919534, -0.0097356085, -0.0057506566, -0.03340297, 0.051932476, -0.01447185, -0.019277336, -0.043817163, -0.035424873, 0.04104743, -0.064867124, 0.019775888, -0.023819696, 0.03060554, -0.014901159, -0.01562129, 0.030356264, -0.026478639, 0.028694425, -0.014458002, -0.052070964, -0.007145909, -0.03692053, 0.019097304, 0.009811776, 0.034372374, 0.008454608, 0.009583273, -0.0017103096, -0.027004888, 0.024567524, 0.01643836, 0.038554672, -0.02440134, -0.034815535, -0.015164283, -0.010005658, 0.02502453, -0.044094134, -0.0017094441, 0.018460264, 0.013696326, 0.024262853, -0.025149168, -0.042764664, 0.005889143, 0.044592686, -0.0012636903, -0.02595239, 0.014458002, 0.014887311, 0.005989546, -0.0043242443, -0.0036629708, -0.0011260692, 0.0403273, -0.017352372, 0.02617397, 0.053594317, -0.012346081, -0.001803788, 0.021133056, -0.028805215, 0.004213455, -0.01282386, -0.01623063, 0.014734975, -0.07278856, -0.009901793, -0.0051378533, 0.05212636, 0.0065123327, 0.025107622, -0.030688632, -0.0045596715, -0.024581373, -0.023556571, 0.0036837438, 0.00045051426, 0.008849294, 0.009638668, -0.04766709, 0.00034751484, -0.037612963, 0.023847394, 0.0151365865, -0.015233527, 0.02718492, 0.032932114, 0.059106085, 0.049051955, 0.045091238, 0.045451306, -0.007045506, -0.011868303, -0.04739012, -0.026354002, -0.011072004, 0.012512265, 0.0055463887, 0.0057610427, -0.04065967, -0.036698952, 0.022573316, -0.053372737, 0.00733979, -0.031159487, 0.032128893, 0.01204141, -0.0046254527, 0.07101593, 0.019249639, 0.049550507, 0.0077206283, 0.0017934015, -0.0362004, -0.0006145343, 0.0062353597, -0.0076652337, -0.0064223167, -0.0243044, -0.022254799, 0.008101466, -0.014928856, 0.049079653, 0.06575344, -0.019305034, -0.05406517, -0.0069658766, -0.0030016971, 0.025259957, -0.003396384, -0.015316619, -0.006997036, -0.0024235155, -0.043817163, -0.0320458, -0.009874095, 0.009147041, 0.004736242, -0.013917904, 0.018169442, 0.0121314265, -0.031824224, -0.0044800416, -0.0062976787, 0.012546887, -0.043097034, -0.00821918, 0.068190806, -0.06254055, 0.02203322, -0.034067705, 0.015773624, 0.013800191, 0.026007785, 0.01954046, 0.013100833, 0.036643557, -0.036754347, 0.017407767, 0.06763686, 0.0002108675, -0.014887311, -0.004722393, -0.023141112, -0.015330467, 0.00423769, 0.026395548, -0.005785278, -0.043484796, 0.012685373, -0.038416184, -0.002492759, 0.005279802, 0.007312093, -0.012879254, 0.004209993, 0.07655539, -0.008738505, 0.009237057, -0.060435556, 0.02988541, 0.022088613, -0.004209993, 0.035203297, -0.016618393, -0.0031834608, 0.007859115, 0.06791383, -0.012553811, 0.01779553, -0.050519913, -0.024706012, -0.019485066, -0.008046072, 0.029303767, 0.023999728, 0.023002626, -0.020025164, -0.00058597146, 0.0011252037, -0.008669262, 0.024955288, 0.064257786, 0.020246742, -0.0042653875, 0.007942207, 0.00087116734, -0.0070316573, 0.014693429, -0.002009787, 0.03672665, 0.020191347, -0.020551413, -0.008454608, 0.016964609, 0.01955431, -0.01664609, -0.013675553, -0.08569551, 0.011951394, -0.037502173, 0.030522449, 0.007886812, -0.009659441, -0.005972235, -0.057721216, 0.005719497, -0.0040992037, -0.030577842, -0.004383101, 0.009541728, 0.038914736, 0.01757395, 0.027489591, -0.046060644, 0.029830014, -0.017726285, 0.044038743, -0.0069035576, -0.0001577449, 0.0031367217, 0.06038016, -0.053538922, 0.007900661, 0.015482803, 0.004930123, 0.009410165, -0.009493257, -0.02336269, 0.0016860744, -0.0065123327, 0.045839068, -0.012055259, 0.004507739, 0.030744027, -0.02139618, -0.005598321, 0.027766565, 0.04808255, 0.02377815, 0.04282006, -0.024775254, -0.016687635, 0.023418086, -0.007609839, -0.008052996, -0.011009686, 0.008239953, -0.0115774805, 0.013142379, -0.029663831, -0.019498914, -0.031159487, 0.018294081, 0.0087939, -0.017089248, 0.038554672, 0.032405864, 0.029192977, 0.01934658, -0.01665994, 0.04686387, 0.0035694924, 0.02109151, 0.0024148603, 0.012678449, 0.02150697, -0.0008023568, -0.0017276204, -0.037973028, -0.006792768, 0.025841601, 0.009520954, -0.0075821416, -0.021687003, 0.0023109952, 0.022047067, 0.0053732805, 0.002345617, -0.011348978, -0.008523851, 0.0039676414, -0.021950128, -0.042570785, -0.02874982, -0.008620791, 0.044509597, -0.005286726, -0.0671937, 0.03030087, -0.024830649, -0.039884143, -0.02512147, -0.0008690035, -0.02595239, 0.050603006, -0.019512763, -0.0136340065, -0.04739012, -0.01974819, -0.016189085, -0.04107513, 0.029442253, 0.04085355, -0.014859613, 0.0341231, 0.015898263, 0.030688632, 0.020122103, -0.007990677, -0.005847597, 0.035729546, 0.037059017, 0.005594859, -0.026229363, 0.014527245, -0.053178858, 0.028860608, -0.017075399, -0.043983348, -0.021493122, -0.01530277, -0.05129544, 0.016355269, 0.02699104, 0.008343818, -0.012803087, -0.013917904, 0.032101195, -0.010088749, 0.0065885005, -0.039136317, -0.0020461397, -0.01902806, -0.012172973, -0.012290686, 0.031962708, 0.003413695, 0.0075544445, 0.0026450942, 0.04486966, -0.0040576574, 0.005390591, 0.024858346, 0.02718492, 0.0033219475, -0.02822357, -0.0011572287, -0.01359246, -0.010157993, -0.0006565131, 0.0026502875, -0.004068044, -0.026035482, -0.043650977, -0.011279734, 0.012553811, 0.055560827, -0.0026952955, 0.017047701, -0.002137887, -0.020080559, -0.0076652337, 0.0014895966, 0.0051066936, 0.0049647447, -0.014208726, -0.011127399, 0.07716474, 0.009922566, -0.06026937, -0.00059029914, -0.051240046, -0.026769461, -0.025606174, -0.04107513, 0.0026329765, -0.0038914736, -0.02233789, 0.032405864, -0.014264121, -0.012290686, -0.020911478, -0.040161118, 0.026284758, -0.015856717, 0.018986514, -0.007713704, -0.013675553, 0.010801955, 0.0010983719, -0.016936911, 0.043484796, -0.023279598, -0.032184288, 0.012519189, 0.05749964, -0.0033011746, -0.027226467, -0.025730811, -0.0042030686, 0.017449312, 0.002890908, -0.021562364, 0.009860246, -0.020731445, 0.026921796, -0.031408764, 0.008565397, -0.0362004, 0.005806051, 0.0054632965, -0.034040008, -0.032932114, 0.044177227, -0.04703005, -0.0034344678, 0.020288289, 0.014181029, -0.039773352, -0.009507106, -0.019498914, 0.012553811, 0.016327571, -0.0022071302, -0.015372014, -0.024539826, -0.0051482394, -0.011141247, 0.015995203, 0.046254527, 0.04124131, 0.019457368, 0.00988102, -0.00749905, -0.002326575, 0.006394619, -0.013599385, 0.0058198995, 0.013730947, 0.012761541, -0.039884143, -0.02253177, -0.0028389755, -0.018571055, 0.057056483, -0.009922566, 0.043180123, 0.016784577, -0.02834821, 0.006810079, 0.0020998032, -0.0033894598, 0.030467054, -0.032849025, -0.023141112, -0.02006671, -0.027434196, -0.007374412, -0.038333092, 0.0014168911, -0.01891727, 0.0027870429, -0.011258962, 0.0019751652, 0.0039537926, 0.01053883, -0.035923425, -0.12906952, -0.00082572637, 0.014070239, -0.031187184, 0.0015899994, 0.022517923, 0.011757513, 0.01685382, -0.033236787, -0.015552046, -0.0011217415, -0.02719877, -0.008177634, -0.01571823, -0.003957255, -0.009043176, -0.000060858372, 0.0028026227, 0.030051595, -0.0041580605, -0.0138140395, 0.02449828, -0.016244479, 0.037086714, -0.02192243, -0.0012204133, -0.007609839, 0.01458264, 0.041296706, -0.03331988, -0.0074921255, 0.02304417, 0.018861877, 0.011051231, -0.015662836, -0.007845267, -0.017033853, -0.010663468, -0.039884143, -0.00977023, 0.010206463, -0.013260093, -0.010871199, 0.009077797, 0.0212023, -0.0059341514, -0.014222574, -0.0022053993, 0.004116514, -0.013488595, 0.013350109, -0.025883147, -0.023099566, -0.021022268, -0.002994773, 0.017366221, -0.013689402, -0.03329218, -0.00021454605, -0.04304164, 0.0022123235, 0.0045181257, -0.0025481535, -0.018875724, -0.03714211, -0.007990677, -0.044343412, 0.03071633, 0.0025083388, 0.011210491, -0.025813904, 0.02037138, -0.02388894, -0.03135337, -0.010067976, 0.0016627049, 0.027988143, 0.018446416, -0.0060864864, 0.010421117, 0.020122103, -0.020122103, 0.014139483, 0.0033219475, -0.013405504, 0.013758644, 0.020039013, -0.01391098, 0.006093411, 0.00558101, 0.021756247, 0.0043727146, 0.006598887, 0.0033704177, 0.009631744, 0.016673788, 0.01706155, -0.014042542, 0.014333364, 0.025301503, 0.003522753, -0.0037564493, 0.011459767, 0.028832912, 0.0042653875, 0.023431934, 0.027794262, -0.020454472, 0.03154725, -0.0036145004, 0.0002520889, -0.03495402, -0.0034656273, 0.0139732985, -0.054646816, 0.035424873, 0.007838342, 0.025052227, 0.003185192, 0.007332866, 0.034316983, 0.0007733611, -0.016590696, -0.015579743, 0.013530142, -0.0123114595, 0.029525345, -0.02304417, -0.04467578, 0.02833436, 0.022005523, 0.02935916, -0.02203322, 0.062097393, -0.005321348, 0.018003259, 0.035951123, -0.007824494, 0.007651385, 0.013606309, 0.005283264, 0.008406137, 0.016299874, 0.0041615227, 0.019997466, 0.0074436553, -0.033430666, 0.0040161116, -0.024470584, 0.035812635, -0.007215152, 0.0070974384, -0.01726928, 0.009070872, -0.013952525, 0.033458363, 0.0064465515, -0.07001883, 0.02927607, 0.009389392, -0.03963487, 0.02958074, 0.0111481715, -0.05220945, 0.019471217, -0.036588162, -0.023238054, -0.004300009, 0.006034554, 0.04675308, 0.0036214248, -0.044703476, 0.04633762, 0.044204924, 0.0330706, 0.016452208, -0.0018713003, 0.0040784306, 0.01819714, 0.012844633, 0.0078037204, 0.016327571, -0.03113179, 0.015524348, 0.04664229, 0.0120067885, -0.0014307398, -0.018848028, 0.021174602, 0.019900525, -0.0028632106, 0.012837709, 0.019609703, 0.03678204, 0.041185915, -0.016576847, 0.011432069, 0.023930486, 0.0055879345, -0.002937647, 0.03019008, 0.017449312, 0.05592089, 0.020219045, 0.0033686867, -0.023764301, 0.0042030686, -0.025066076, 0.0061799646, 0.03503711, 0.01942967, 0.015067343, -0.018806482, 0.0024564061, -0.0030761338, -0.03329218, -0.006093411, 0.011092777, -0.019706644, -0.021645457, 0.00519671, 0.014430304, 0.031270277, 0.034593955, -0.00061886205, 0.0056052455, 0.019900525, -0.030162383, -0.026409397, 0.02141003, -0.012941574, 0.032516655, 0.009936414, -0.005518691, -0.026187817, -0.033264484, 0.013744796, -0.03071633, -0.025066076, 0.025384596, 0.06569805, -0.026506336, -0.02316881, 0.007229001, 0.0052278694, 0.013696326, -0.0026295146, 0.018155593, -0.016009051, 0.011397447, 0.02377815, -0.0024685238, 0.013724023, -0.00050504337, -0.0064015435, -0.0012230099, -0.010012582, 0.0020167113, 0.06580883, 0.033236787, -0.016161388, 0.052680306, 0.0069624144, -0.020856082, 0.010414192, -0.008004526, 0.010476512, -0.0045631337, 0.02708798, 0.011175869, -0.03752987, 0.032433562, 0.027115678, 0.016590696, -0.0066923653, -0.021437727, 0.035895728, -0.00951403, -0.026506336, -0.012463795, -0.019318882, -0.0049197366, 0.022587165, 0.009957187, 0.0076375366, 0.0064430893, 0.0018591827, -0.0052105584, 0.060324766, -0.045118935, -0.013807115, 0.036865134, -0.014319515, 0.03340297, -0.0039711036, 0.004130363, -0.00791451, -0.0056502535, 0.034455467, -0.012422249, 0.031076394, 0.035397176, 0.034704745, -0.015275073, 0.023791999, 0.018003259, -0.010961215, -0.01974819, -0.02016365, -0.00084952876, -0.021479273, 0.00091314607, 0.025896996, -0.03091021, -0.011245113, -0.010400345, 0.008066845, 0.00988102, -0.0099156415, 0.0107742585, 0.011584405, -0.0037910708, 0.009707911, 0.017352372, -0.010746561, -0.0040299604, 0.00398149, 0.009008554, -0.004126901, 0.0016367385, 0.008046072, -0.004722393, -0.02905449, 0.037280593, -0.014513397, 0.0097356085, -0.027960446, -0.013232395, -0.010919669, -0.035646453, 0.024138216, 0.020260591, 0.018598752, -0.037391383, -0.003524484, 0.06010319, -0.005674489, 0.013398579, -0.012262989, -0.019817434, 0.08015605, -0.014222574, -0.0031401839, 0.016036749, 0.010559604, 0.028694425, -0.013647855, 0.024858346, -0.011819832, -0.0008413061, -0.017518556, -0.002117114, 0.0033254097, -0.018792633, 0.005892605, -0.020772992, -0.025495384, 0.035092507, 0.009839473, 0.013904056, -0.006062251, -0.008586169, 0.020039013, -0.0044696555, 0.028528241, -0.023819696, -0.0043934877, 0.005930689, 0.025426142, 0.03476014, -0.003988414, -0.0139386775, -0.011466691, -0.0064050057, -0.015995203, -0.00821918, -0.027406499, 0.048110247, 0.02863903, -0.0092716785, 0.024013577, -0.017296977, 0.003687206, 0.019872827, -0.03163034, -0.024789102, -0.0014861344, 0.031048696, -0.0148319155, 0.02636785, 0.0029359162, -0.026769461, 0.0009676752, -0.029497648, -0.019983618, -0.007464428, 0.032433562, 0.0037529871, 0.016424512, 0.014132558, -0.025495384, 0.013370882, -0.031159487, 0.0064430893, -0.0053871293, -0.05096307, 0.002385432, -0.00063747115, -0.037502173, -0.01562129, -0.019720493, 0.016050598, 0.00791451, -0.020509867, 0.02035753, -0.0010706746, 0.008911613, 0.015842868, 0.0028753283, -0.0081984075, -0.02285029, 0.027489591, -0.023639664, 0.010663468, -0.007990677, 0.017449312, 0.004168447, -0.009361695, -0.007845267, 0.03337527, -0.024332097, 0.019166546, 0.0578874, 0.0019543923, -0.038028423, 0.008205332, 0.004864342, 0.009292452, 0.017657042, -0.022601014, 0.0121314265, -0.016369117, -0.027655775, 0.029774621, -0.020703748, 0.008129164, -0.043650977, -0.02625706, 0.0053559695, 0.005736808, -0.007360563, -0.016396815, 0.03991184, -0.017878622, -0.0132947145, -0.012920801, 0.00873158, 0.013516293, -0.0165353, 0.0022884912, -0.0060899486, 0.015330467, 0.011771361, 0.029830014, -0.0026745226, -0.009957187, -0.0053525073, -0.03193501, 0.043872558, -0.0033184853, -0.0004942241, -0.01416718, 0.023127263, 0.03132567, 0.017920166, 0.012948498, -0.012803087, -0.014236423, -0.009153965, 0.011729816, 0.002871866, 0.006792768, -0.00695549, 0.027946597, -0.009901793, -0.009791004, -0.023431934, -0.016410664, 0.0013026396, -0.004462731, 0.0066785165, 0.017601648, -0.02253177, 0.011598254, 0.027434196, -0.007609839, 0.023501176, -0.03215659, 0.0149981, -0.00967329, -0.0029739998, -0.00935477, -0.033541456, 0.028389754, 0.043650977, 0.016923064, -0.0054182885, 0.004490428, 0.005508305, -0.025910845, -0.0037806844, 0.014721126, 0.017629346, 0.011778286, -0.030577842, -0.034095403, -0.007817569, 0.033153694, -0.011584405, -0.009299376, -0.00047994265, -0.0039953385, 0.03176883, 0.005927227, -0.0025689267, 0.009791004, 0.023736605, -0.002326575, -0.0175878, -0.012193746, -0.0008625119, 0.019692795, -0.010365723, 0.04910735, 0.016521452, 0.051018465, 0.0033098299, 0.009410165, 0.014416456, 0.014146407, 0.01768474, 0.019152697, -0.01746316, 0.0023750453, 0.014160256, 0.050326034, -0.0052105584, -0.01530277, 0.0086277155, -0.025370747, 0.022614863, 0.03318139, -0.0009451711, 0.03279363, -0.03165804, 0.0028822524, -0.0023283062, 0.01870954, -0.019942071, 0.010801955, 0.010573452, -0.022739502, 0.0005379339, -0.01664609, 0.017352372, 0.010303403, 0.009583273, -0.0119721675, -0.013904056, -0.00043320342, -0.025703114, -0.004833183, -0.0268941, -0.008226104, 0.015482803, 0.006733911, -0.002664136, -0.0212023, -0.012415324, 0.014845764, 0.020592958, 0.010801955, 0.015524348, 0.015053494, -0.0289437, 0.044011045, 0.0028130093, 0.04747321, -0.006810079, 0.016382966, -0.019221941, 0.019166546, 0.004677385, -0.01789247, -0.00042562993, -0.0868588, -0.0068031545, -0.036338884, -0.0065850383, -0.013807115, -0.028417451, -0.005719497, 0.0078937365, 0.016050598, 0.0040368848, 0.01344705, -0.029802319, 0.009043176, -0.009791004, 0.020399077, -0.0034535099, 0.012380702, -0.0057748915, 0.041158218, -0.044177227, 0.021257695, -0.014416456, 0.0042065307, 0.016770728, -0.040604275, 0.0074159577, 0.03960717, -0.0010931786, -0.021133056, 0.014264121, 0.006501946, -0.027364954, 0.0026901024, 0.032184288, -0.008870067, -0.035923425, 0.000106840256, -0.0024339021, -0.0072220764, -0.010995837, 0.0071805306, 0.008821597, -0.02067605, 0.004320782, 0.024456736, -0.0033583003, -0.023279598, 0.028888306, 0.033541456, -0.003391191, 0.03091021, 0.028292814, -0.0039918763, -0.06281753, 0.009811776, -0.0027143375, 0.028555939, 0.009119343, 0.023930486, -0.003856852, -0.0020721059, -0.00074133615, 0.03825, -0.02543999, 0.015884414, -0.016466057, -0.0032128892, -0.012332233, 0.038028423, 0.030965606, 0.0060068564, -0.0051517016, 0.021548517, 0.026547883, 0.0027593456, 0.02697719, -0.0039226334, 0.006162654, -0.0054217507, -0.016382966, 0.02046832, 0.009867171, -0.001656646, 0.03174113, -0.018543357, -0.004102666, 0.010961215, -0.010829653, -0.008814673, 0.006917406, -0.010871199, -0.021562364, 0.021783944, 0.010483436, 0.018681843, 0.010123371, 0.02566157, -0.004258463, 0.003079596, -0.007277471, 0.010621923, -0.0131700765, -0.017130794, -0.014222574, 0.031574946, -0.0010239354, -0.009029327, 0.013211622, -0.0019543923, -0.020869931, 0.024622919, -0.006643895, -0.037280593, -0.011833681, 0.01923579, 0.004428109, 0.04633762, 0.015344316, 0.019568158, 0.012159124, 0.0032959813, -0.0024633305, 0.01178521, -0.0013502444, -0.014264121, 0.035618756, 0.0066127353, -0.002619128, -0.019415822, -0.0392748, 0.011861378, -0.0041822954, 0.022947231, -0.02874982 ]
2311.01343
58
by a large margin. This is because MD-CVAE uses shallow bag- of-words to represent the textual features, for which pretrained LLMs in CLLM4Rec can provide deeper understanding via their pretrained knowledge. The importance of pretrained knowledge can also be shown by the LLM-Scratch model, which performs the worst among all included baselines. An interesting finding is that, LLM-FTAll, which finetunes the whole model including the pretrained LLM backbone, performs worse than CLLM4Rec, which optimizes only the newly introduced user/item token embeddings. The reason could be that, since the weights of the pretrained LLM are fully optimized, the recommendation-specific corpus is still not enough to adapt the pretrained LLM with good generalization ability for RS. Therefore, the cons of degenerating the pretrained knowledge outweigh the introduction of RS-specific knowledge. We can also find that LLM-PreRec, which uses the collaborative LLM in the pretraining stage to generate recommendations,is already a strong baseline. This demonstrates the effectiveness of the soft+hard prompting strategy, which facilitates efficient and stable language modeling on recommendation-oriented corpus with heterogeneous tokens. Still, CLLM4Rec performs better than LLM-PreRec, which shows the effectiveness of recommendation-oriented finetuning in adapting collaborative LLM for efficient recommendations.
2311.01343#58
Collaborative Large Language Model for Recommender Systems
Recently, there is a growing interest in developing next-generation recommender systems (RSs) based on pretrained large language models (LLMs), fully utilizing their encoded knowledge and reasoning ability. However, the semantic gap between natural language and recommendation tasks is still not well addressed, leading to multiple issues such as spuriously-correlated user/item descriptors, ineffective language modeling on user/item contents, and inefficient recommendations via auto-regression, etc. In this paper, we propose CLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and ID paradigm of RS, aiming to address the above challenges simultaneously. We first extend the vocabulary of pretrained LLMs with user/item ID tokens to faithfully model the user/item collaborative and content semantics. Accordingly, in the pretraining stage, a novel soft+hard prompting strategy is proposed to effectively learn user/item collaborative/content token embeddings via language modeling on RS-specific corpora established from user-item interactions and user/item features, where each document is split into a prompt consisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and a main text consisting of homogeneous item tokens or vocab tokens that facilitates stable and effective language modeling. In addition, a novel mutual regularization strategy is introduced to encourage the CLLM4Rec to capture recommendation-oriented information from user/item contents. Finally, we propose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where an item prediction head with multinomial likelihood is added to the pretrained CLLM4Rec backbone to predict hold-out items based on the soft+hard prompts established from masked user-item interaction history, where recommendations of multiple items can be generated efficiently.
http://arxiv.org/pdf/2311.01343
Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li
cs.IR
null
null
cs.IR
20231102
20231108
[ { "id": "2302.13971" }, { "id": "2206.07682" }, { "id": "2308.10053" }, { "id": "2307.02046" }, { "id": "2306.05817" }, { "id": "2205.08084" }, { "id": "2303.14524" }, { "id": "2305.07001" }, { "id": "2303.13835" }, { "id": "2303.18223" }, { "id": "2302.03735" }, { "id": "2305.00447" }, { "id": "2305.08845" }, { "id": "2104.08691" }, { "id": "2308.10837" }, { "id": "2305.06569" } ]
{ "authors": "Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li", "chunk_id": 58, "doc_id": "2311.01343", "primary_category": "cs.IR", "published": 20231102, "source": "http://arxiv.org/pdf/2311.01343", "summary": "Recently, there is a growing interest in developing next-generation\nrecommender systems (RSs) based on pretrained large language models (LLMs),\nfully utilizing their encoded knowledge and reasoning ability. However, the\nsemantic gap between natural language and recommendation tasks is still not\nwell addressed, leading to multiple issues such as spuriously-correlated\nuser/item descriptors, ineffective language modeling on user/item contents, and\ninefficient recommendations via auto-regression, etc. In this paper, we propose\nCLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and\nID paradigm of RS, aiming to address the above challenges simultaneously. We\nfirst extend the vocabulary of pretrained LLMs with user/item ID tokens to\nfaithfully model the user/item collaborative and content semantics.\nAccordingly, in the pretraining stage, a novel soft+hard prompting strategy is\nproposed to effectively learn user/item collaborative/content token embeddings\nvia language modeling on RS-specific corpora established from user-item\ninteractions and user/item features, where each document is split into a prompt\nconsisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and\na main text consisting of homogeneous item tokens or vocab tokens that\nfacilitates stable and effective language modeling. In addition, a novel mutual\nregularization strategy is introduced to encourage the CLLM4Rec to capture\nrecommendation-oriented information from user/item contents. Finally, we\npropose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where\nan item prediction head with multinomial likelihood is added to the pretrained\nCLLM4Rec backbone to predict hold-out items based on the soft+hard prompts\nestablished from masked user-item interaction history, where recommendations of\nmultiple items can be generated efficiently.", "text": "by a large margin. This is because MD-CVAE uses shallow bag- of-words to represent the textual features, for which pretrained LLMs in CLLM4Rec can provide deeper understanding via their pretrained knowledge. The importance of pretrained knowledge can also be shown by the LLM-Scratch model, which performs the worst among all included baselines. An interesting finding is that, LLM-FTAll, which finetunes the whole model including the pretrained LLM backbone, performs worse than CLLM4Rec, which optimizes only the newly introduced user/item token embeddings. The reason could be that, since the weights of the pretrained LLM are fully optimized, the recommendation-specific corpus is still not enough to adapt the pretrained LLM with good generalization ability for RS. Therefore, the cons of degenerating the pretrained knowledge outweigh the introduction of RS-specific knowledge. We can also find that LLM-PreRec, which uses the collaborative LLM in the pretraining stage to generate recommendations,is already a strong baseline. This demonstrates the effectiveness of the soft+hard prompting strategy, which facilitates efficient and stable language modeling on recommendation-oriented corpus with heterogeneous tokens. Still, CLLM4Rec performs better than LLM-PreRec, which shows the effectiveness of recommendation-oriented finetuning in adapting collaborative LLM for efficient recommendations.", "title": "Collaborative Large Language Model for Recommender Systems", "year": 2023 }
[ 0.025712224, 0.0018030767, 0.06783769, -0.0015772545, 0.03999679, 0.02123079, 0.0066136154, 0.033526722, -0.070526555, 0.06744557, -0.005020606, -0.043693975, -0.033246633, 0.039716702, 0.018766003, -0.015979111, 0.027392762, -0.017379558, -0.023205422, 0.05022006, 0.035375316, -0.016763361, 0.024913969, 0.007247318, 0.014263562, -0.016427254, -0.012421973, 0.01722551, 0.0062389956, -0.013269244, -0.0025663208, -0.019984392, -0.028457101, -0.007373358, -0.033106588, 0.046943013, 0.018737992, 0.021846987, 0.017029446, 0.043721985, -0.040500954, -0.0403329, -0.0328265, 0.010461346, 0.017701661, -0.006841188, 0.010916491, -0.006039432, -0.015264882, 0.036915805, -0.071927, 0.029241351, -0.013521325, -0.013752398, 0.011791771, -0.047167085, 0.043357868, -0.03601952, 0.028387079, -0.013829423, 0.023583543, -0.028331062, 0.0070827655, -0.010832464, -0.05584986, -0.07265524, -0.03433898, 0.029101307, 0.031930212, -0.0017803194, -0.012029847, -0.091253184, 0.048539523, -0.0026958622, -0.021552892, 0.00506612, 0.03218229, 0.027280726, 0.021146763, 0.016455263, 0.018611953, -0.01747759, 0.0029969586, -0.04296574, -0.032322336, -0.024143722, 0.009628079, 0.015909089, 0.021216786, -0.037756074, -0.0306418, -0.015544971, -0.002998709, 0.01109855, 0.0134443, 0.025236072, -0.0066766352, -0.04789532, 0.021384839, 0.040248875, -0.01704345, -0.0011492425, 0.021090746, -0.058482703, 0.02795294, -0.013402286, -0.010839467, -0.015909089, -0.03739196, 0.021048732, -0.053833216, -0.013374277, -0.04248959, 0.011910809, 0.033442695, -0.047531202, -0.07708065, 0.029437415, -0.047979344, 0.031370033, -0.0011991335, 0.019648284, -0.014424614, -0.056382034, 0.012779087, -0.009291972, 0.034395, -0.017365554, 0.014242555, -0.023163408, 0.00045251971, 0.0019186137, 0.050920285, -0.01841589, -0.07439179, 0.015432936, -0.040753033, 0.021608911, -0.033498716, -0.011028527, -0.016357232, -0.039576657, -0.053301048, 0.008045573, -0.07842508, -0.011805776, 0.0028814215, -0.019088104, -0.045934692, 0.0023842626, -0.048539523, -0.026258398, -0.03812019, 0.023835624, -0.0537772, -0.026216384, -0.029157326, 0.0034223446, 0.029549452, -0.044786323, -0.001491477, 0.015236873, -0.01150468, -0.012435977, -0.00036127178, 0.006918213, -0.03761603, 0.015460945, -0.05181657, -0.03274247, 0.012849109, 0.0010897235, -0.04036091, -0.05481353, -0.029381396, -0.014333584, 0.0021934516, -0.02632842, 0.016623316, -0.05612995, -0.00900488, 0.032126274, -0.029969584, -0.023275444, -0.05831465, 0.009446021, 0.014942779, -0.0034906163, 0.0059694094, 0.018962065, 0.018499916, -0.00040022176, 0.07663251, 0.043413885, 0.00994318, 0.002951444, 0.049015675, 0.03842829, -0.041173168, -0.0048105386, -0.011595708, 0.032238312, -0.01816381, -0.023807615, -0.010496357, -0.036747754, -0.019774325, 0.009326983, -0.058930848, 0.0052376753, 0.0259503, 0.03386283, 0.045262475, 0.018709984, -0.040697016, 0.016371235, -0.034815136, 0.0061269593, 0.014984792, -0.011917812, 0.04461827, -0.009747118, 0.032630436, 0.024437817, -0.05669013, -0.008493717, 0.041789364, -0.041733347, -0.01744958, -0.02985755, 0.03952064, 0.012477991, -0.0058328654, -0.017267523, -0.0063020154, -0.028555132, 0.00087352935, -0.0133322645, 0.010510362, -0.026454462, 0.0029216844, 0.027280726, 0.03660771, -0.0045724623, 0.022925332, 0.031538088, -0.02229513, -0.030025603, 0.049855944, 0.027392762, 0.032966543, -0.015306896, 0.0048665563, -0.03041773, -0.028793208, 0.05464548, -0.029997595, -0.012555015, -0.03414292, 0.006375539, -0.057474382, 0.016273204, 0.0287652, 0.046046726, -0.024465825, -0.034843143, -0.03436699, -0.018275846, 0.0051991628, 0.034254957, -0.009915171, -0.010377319, 0.000803507, 0.0059834137, -0.033274643, -0.0221971, 0.0384563, -0.0076464457, -0.0134302955, 0.0340869, -0.0077654836, -0.012947141, 0.05215268, 0.0039597666, -0.009523046, -0.0048105386, 0.00047921576, -0.019718306, -0.020656606, 0.00725432, 0.008227631, -0.0556538, 0.05237675, -0.01866797, -0.017799692, 0.01735155, 0.010699422, -0.00019912618, 0.0138014145, 0.024241753, 0.03249039, 0.016651325, -0.0007636818, 0.03361075, -0.0010293293, 0.049547847, -0.0203205, -0.034310974, -0.026566496, 0.036971826, -0.000024931802, 0.0628521, -0.030949898, 0.042041447, -0.05492557, -0.03145406, 0.044758316, -0.08341068, 0.000884908, -0.047391158, -0.02328945, -0.015334904, -0.007079264, -0.0049505834, 0.027098667, -0.016455263, -0.009025887, -0.01679137, 0.0019413709, -0.018836025, 0.031790167, 0.032350346, -0.008360674, -0.009670093, -0.04296574, -0.028849227, -0.030725827, 0.011259601, 0.031089943, 0.02544614, -0.039716702, -0.03330265, 0.0051886593, 0.04573863, -0.037700057, 0.046634916, -0.0049855947, 0.033442695, 0.037195895, 0.049967982, 0.00009179498, -0.008738795, 0.038540326, -0.057922523, 0.012379959, 0.0259503, 0.011707745, -0.005790852, 0.03363876, 0.0061549684, 0.025726227, 0.000055334105, 0.030109629, -0.009418013, 0.023485512, 0.034591064, -0.013598349, 0.0065996107, 0.016217187, -0.024549851, -0.0016350229, -0.0099291755, -0.0003995653, 0.016273204, -0.06946222, 0.018850029, 0.008451703, 0.013122197, -0.019312177, 0.03680377, 0.001972881, -0.008451703, -0.041845385, -0.044926368, 0.028429093, 0.020068418, -0.013983472, -0.02742077, -0.05181657, 0.037840102, -0.010328303, 0.00706526, -0.007681457, -0.00544074, 0.04621478, 0.04327384, -0.010111234, 0.021860993, 0.04677496, 0.04809138, 0.007131781, -0.0037321937, -0.012653047, -0.013605352, -0.011791771, 0.023471506, 0.01704345, 0.013864434, 0.008290651, -0.025530165, 0.054309368, -0.02151088, 0.029997595, -0.026398443, 0.016189178, 0.036159564, 0.031846184, 0.022141082, 0.047083057, 0.07618437, 0.01866797, -0.010811457, -0.053833216, -0.039604668, 0.030221665, 0.0040788045, 0.0070827655, -0.042125475, -0.041593302, -0.01744958, -0.0048700576, 0.045570575, 0.047223102, -0.0048385477, 0.0030337202, -0.02004041, 0.0060569374, 0.03865236, -0.04302176, -0.032154284, 0.042097464, 0.008199623, -0.06268405, -0.04484234, -0.026174372, -0.00021947644, -0.024955982, 0.014424614, -0.025642201, 0.007124779, -0.04890364, -0.028050972, 0.042069454, -0.0134302955, 0.02529209, -0.04080905, 0.05697022, -0.015488954, 0.052040644, -0.002338748, 0.01600712, -0.0018153306, -0.0061549684, 0.0032087762, 0.054701496, 0.031258, 0.011441659, 0.020894682, 0.04943581, -0.010972509, 0.020110432, -0.017267523, -0.017785689, -0.006501579, 0.009074902, -0.004358894, 0.021426853, -0.030501755, -0.0007995682, -0.024269762, 0.018359872, -0.0051571494, 0.017029446, -0.020642603, -0.002604833, 0.060219258, 0.0125900265, -0.031061934, -0.0029444417, 0.04727912, 0.024129717, -0.028177012, -0.0024560355, -0.016483271, -0.015811056, -0.031398043, 0.03904449, -0.013339266, 0.03218229, 0.0008682777, 0.0384563, -0.020656606, -0.0027798892, 0.0060989507, 0.0063300245, 0.060107224, -0.011700742, 0.02929737, 0.022519203, 0.0150548145, 0.00093042257, 0.046858985, 0.01109855, 0.012078864, 0.0060149236, 0.05374919, -0.041761357, 0.009768124, -0.0072963336, 0.016217187, 0.027448779, 0.02351352, 0.0053462097, 0.025026005, 0.013115195, -0.012877119, -0.0322103, -0.045850664, -0.017561616, -0.011126558, 0.034114912, -0.007198302, 0.024801932, 0.0008586496, -0.06979832, -0.0086967815, -0.022407167, -0.02013844, -0.025250075, 0.015544971, 0.019172132, 0.026412448, 0.028821219, 0.0043448894, 0.009908169, 0.007912531, 0.035571378, -0.008962867, -0.007968549, 0.019662289, 0.041845385, -0.023541529, -0.02054457, -0.02191701, -0.0050031003, -0.020712625, -0.0141165145, -0.0142915705, -0.019732311, -0.0031825178, 0.021454861, 0.015012802, 0.006589107, 0.019396203, -0.028555132, -0.00020547197, 0.0028884239, 0.03198623, 0.022827301, 0.020348508, -0.01600712, -0.020110432, 0.05061219, -0.06296414, 0.015026806, -0.02270126, 0.03445102, 0.0074643875, 0.017057456, -0.0070582572, -0.030585783, -0.028667169, -0.0051991628, 0.0159511, -0.016441258, 0.013521325, -0.00866177, 0.027364751, -0.0089698685, 0.0115677, 0.03632762, -0.016329223, -0.0069427206, -0.014928775, -0.045234468, 0.025418129, -0.000001425749, 0.0038127194, -0.00390725, -0.012534008, -0.0029689495, -0.001700669, -0.0060009193, -0.04010883, 0.023317458, 0.007506401, -0.015012802, 0.009502039, -0.0033225627, 0.004390404, 0.014004479, -0.028036967, -0.043413885, -0.030809853, -0.03277048, 0.0033820816, -0.02151088, -0.05276888, 0.01838788, -0.028961262, -0.02110475, -0.035711423, -0.010461346, -0.015082824, 0.032042246, -0.0168894, -0.017001437, -0.033918846, -0.023373475, -0.018485913, -0.01006922, 0.030837864, 0.01222591, -0.017687658, 0.0036166566, 0.0015947601, 0.042881716, 0.003576394, -0.02610435, -0.00590989, 0.00029278113, 0.023093386, -0.023443498, -0.042125475, 0.012625038, -0.042321537, 0.013150206, 0.00052954437, -0.021118755, -0.021118755, -0.02798095, -0.03977272, 0.048763596, 0.017337546, 0.0122959325, -0.045066413, 0.004824543, 0.045010395, 0.010727431, -0.0111405635, -0.0340869, -0.035095226, -0.02432578, -0.024675893, -0.021776965, 0.041257195, 0.007387363, 0.0072823293, -0.044562254, 0.022645243, -0.01681938, -0.024311775, 0.0039982786, -0.005990416, 0.012597029, -0.006641624, -0.017113473, -0.017925734, -0.045514558, 0.006049935, 0.0011326122, 0.007821501, -0.025376117, -0.03977272, -0.042321537, 0.019466225, 0.045654602, -0.0056017917, 0.0047825295, 0.0052446774, -0.015614994, -0.023835624, 0.05030409, -0.0058293645, -0.014634681, 0.023093386, -0.034198936, 0.0556538, 0.02026448, -0.017267523, 0.009957185, -0.010699422, 0.003411841, 0.0061024516, -0.0034100907, -0.009845149, -0.010531369, 0.025782246, 0.03305057, -0.009936178, -0.00040000293, 0.009432017, 0.029913567, 0.020740634, -0.022589225, 0.028849227, 0.027056653, 0.016609313, 0.0049260757, -0.026272403, -0.039100505, 0.026692538, -0.044562254, -0.007821501, 0.022617234, 0.038904443, -0.0040858067, 0.018457903, -0.016497277, 0.03145406, 0.00061400887, 0.0016464016, -0.008801815, 0.0040788045, -0.02298135, 0.011749757, -0.037475985, -0.006830685, -0.025754238, -0.0073803603, -0.014914771, -0.032994553, -0.030529764, 0.023485512, 0.0003678364, -0.013808416, 0.021608911, 0.025012, -0.0033558232, -0.009305976, -0.0534691, 0.013682376, 0.043413885, 0.0053147, -0.00450244, -0.017365554, -0.006060438, -0.01735155, -0.017463585, 0.02107674, 0.023933655, 0.024843946, 0.031117951, -0.009894164, 0.033666767, 0.010146245, 0.003830225, -0.002748379, 0.0037181892, -0.0076464457, 0.0002070037, 0.017113473, 0.025432134, -0.041789364, 0.02488596, -0.007226311, 0.04274167, -0.008143605, -0.025054013, 0.027784886, -0.011364635, 0.00017932297, 0.012576022, -0.021328822, -0.0037286927, -0.027056653, -0.03333066, -0.015166851, 0.009018884, -0.024381798, 0.006119957, 0.0124919955, 0.024591865, -0.0020726628, 0.0010424585, 0.047979344, -0.006281009, -0.13388282, -0.0050766235, 0.026216384, -0.0017076712, 0.024241753, 0.047363147, 0.014480631, -0.006021926, -0.0028289047, -0.006697642, -0.048847623, -0.025628196, 0.018737992, 0.0015755038, 0.007863515, -0.055457737, -0.034254957, -0.011595708, 0.011623718, -0.014025486, -0.02529209, 0.013997477, -0.0059764115, 0.004758022, -0.0052971942, -0.015012802, -0.01838788, 0.0100062005, -0.030109629, 0.021945018, -0.008563739, 0.0018345867, 0.013703383, 0.030865872, -0.02216909, -0.011735753, -0.01244298, -0.04058498, -0.019270163, 0.0043728985, 0.0029689495, -0.018499916, 0.009046894, -0.00550376, 0.0058748787, -0.014774726, 0.02726672, -0.006463067, -0.0028446598, -0.022897324, 0.0054582455, -0.029941576, -0.009312979, -0.017799692, -0.00091816863, -0.0051046326, -0.01222591, 0.0038022161, 0.0007794368, 0.0079335375, -0.020936696, -0.056269996, -0.010216268, -0.00819262, -0.04036091, -0.01838788, 0.008913851, -0.0070862663, -0.0331346, -0.028905245, -0.013171213, -0.013787409, -0.0021181775, 0.028569138, 0.020208463, 0.018751998, 0.014830743, 0.02300936, -0.022085063, 0.05131241, 0.036999833, -0.036971826, 0.021412848, 0.0050031003, 0.00056149205, 0.018583944, 0.02085267, -0.016147165, -0.021832982, 0.010671413, 0.04733514, -0.045486547, 0.0024437816, 0.0060954494, -0.016847389, -0.0017278026, -0.004005281, 0.014844748, 0.037728067, -0.011686738, 0.02488596, 0.018709984, -0.022267122, -0.01932618, 0.01828985, -0.013073181, 0.0077724857, -0.00094442704, 0.06666132, 0.021412848, 0.008829824, 0.0052971942, -0.002454285, 0.02807898, -0.027658846, 0.03711187, -0.0052971942, 0.05187259, 0.004477932, -0.0012980402, -0.00528319, -0.00994318, 0.000683156, -0.011392644, -0.0070687607, -0.0306418, 0.03218229, 0.016399246, 0.008689779, 0.018723989, -0.0019553753, 0.01988636, -0.021244794, 0.016175173, -0.044450216, 0.061675727, 0.017239513, 0.01838788, -0.031874195, 0.052572813, 0.010307296, 0.02985755, 0.033498716, 0.014354591, 0.0017234262, 0.0024437816, -0.010930496, -0.021384839, -0.019032087, 0.031650122, 0.021118755, 0.0032087762, -0.010356313, 0.02445182, -0.015306896, 0.000116631054, 0.02980153, -0.044282164, 0.041229185, 0.032350346, -0.0031615112, 0.041593302, 0.00012899438, -0.029493432, 0.05061219, -0.0061899796, -0.01897607, -0.03579545, 0.0012105121, 0.030613791, 0.0027693857, -0.047475185, 0.032966543, 0.030221665, 0.0029059295, 0.0048140395, -0.015614994, 0.0021181775, 0.0119248135, 0.024997994, -0.0067606624, 0.02929737, -0.038624354, 0.011784769, 0.023373475, 0.006400047, -0.0051326416, -0.008787811, 0.019256158, 0.032882515, -0.0028831721, 0.0040192856, 0.031930212, 0.005650807, 0.049603865, -0.041229185, -0.0083046565, 0.038288247, 0.0056262994, -0.029493432, -0.0347031, 0.070246466, 0.027182695, -0.022925332, -0.01013224, 0.02270126, 0.006463067, -0.00041422623, -0.0084026875, 0.0031317517, 0.004141825, 0.01988636, -0.0066836374, -0.008514723, 0.021959024, -0.014984792, -0.0048490507, 0.019270163, -0.00057680946, 0.014480631, -0.04215348, 0.01572703, 0.01841589, 0.0072333133, -0.022687256, 0.000024398429, 0.01585307, 0.011266603, 0.0069497228, 0.004155829, -0.010454344, 0.0026678531, -0.0010013202, 0.008381681, -0.035823457, -0.022183094, -0.02148287, -0.00007986929, -0.03249039, 0.020390522, 0.032406364, -0.015713025, -0.00041444506, -0.003921254, 0.019340185, 0.00840969, -0.025656205, 0.0008617131, -0.017911728, -0.011784769, -0.0075904275, -0.004183838, 0.045542564, -0.016721347, 0.0014056995, -0.008248638, 0.004330885, 0.041845385, 0.059827134, 0.030529764, -0.024661887, 0.026440457, 0.023205422, -0.023499515, -0.026818577, -0.017771684, -0.0052481787, -0.012204903, 0.007954544, -0.016651325, -0.0067746667, 0.05030409, -0.019676292, 0.0306418, -0.021272803, -0.0068551926, 0.0072753266, -0.025502156, -0.01228893, -0.0184439, -0.002442031, -0.020768642, -0.013605352, 0.009824142, 0.010265283, 0.0038442295, 0.013108192, -0.0010258281, 0.03492717, -0.02582426, -0.015138842, 0.055429727, -0.024521843, 0.007103772, 0.0005352337, -0.009572062, -0.008913851, -0.00994318, 0.01910211, -0.045262475, 0.018737992, 0.005986915, 0.009992196, 0.00043195064, 0.013717387, -0.015699022, -0.020026404, -0.029605469, 0.0070477542, -0.026804572, -0.01722551, 0.007310338, 0.009516044, 0.005787351, -0.018205823, -0.021706942, -0.0014065749, 0.007103772, -0.009677095, -0.036159564, 0.013178214, 0.003452104, 0.027252717, -0.0015772545, 0.00900488, -0.05988315, 0.012323941, 0.024269762, -0.018934056, 0.015685016, 0.017001437, 0.012029847, -0.037475985, 0.0074573853, -0.021748956, -0.005937899, -0.018639961, -0.011651726, -0.018625958, -0.004236355, 0.046438854, 0.030725827, 0.023555534, 0.015474949, 0.0070022396, 0.006925215, 0.011742756, -0.02488596, 0.005885382, -0.029157326, 0.06951823, -0.010202263, -0.028709183, 0.011294613, -0.014802734, 0.0365797, -0.03433898, -0.0036481668, 0.0013523075, 0.04248959, 0.0010232022, 0.014270565, 0.0331346, 0.010958505, -0.022127077, -0.0012201403, -0.002891925, 0.028555132, -0.0053602145, -0.00012768146, 0.00066258694, -0.025334103, 0.007131781, -0.007226311, -0.00020218967, 0.022141082, -0.0027781385, -0.01241497, -0.00032385357, 0.007485394, 0.0165673, -0.033442695, -0.03848431, 0.026356429, -0.028303051, -0.02163692, -0.02835907, 0.0193822, 0.011889802, -0.004155829, 0.017267523, -0.016847389, 0.003026718, 0.004933078, -0.00022976099, -0.008178616, -0.020992715, 0.038148202, -0.02207106, -0.013017164, 0.007898526, -0.006172474, -0.0035588883, 0.0015474949, -0.00094880344, -0.009810138, -0.00089978776, 0.004586467, -0.003026718, 0.0017094217, -0.044478226, 0.03433898, -0.028120995, 0.00715979, -0.025992313, -0.023975668, 0.007166792, 0.025152044, -0.04052896, 0.010258281, -0.03246238, 0.00050853763, 0.007506401, -0.0051291403, 0.010699422, 0.015671013, 0.012863114, 0.022407167, 0.0013015412, 0.0068832017, -0.0021164268, 0.007800495, -0.028149003, -0.00047921576, 0.0062424964, 0.022099068, 0.046971023, -0.007387363, -0.017491594, 0.042125475, -0.0384563, 0.021314817, 0.05089228, -0.004821042, -0.012744076, 0.001885353, -0.010909489, -0.0023912648, -0.009579063, -0.025516162, -0.008248638, -0.012407969, 0.00026542865, -0.010510362, -0.05593389, 0.005755841, -0.030305693, 0.0013155458, 0.004828044, 0.018794011, -0.011427655, -0.022897324, 0.031538088, 0.00228273, 0.0055142636, -0.0040542968, -0.029969584, 0.0478393, 0.008451703, -0.039128516, -0.005703324, 0.017617635, 0.01869598, 0.023723587, -0.0074153715, -0.04383402, 0.003770706, -0.028709183, 0.01882202, 0.012730071, -0.016329223, -0.020614592, -0.008059578, 0.032714464, -0.003233284, -0.0000678342, -0.0015562477, -0.005349711, 0.014648685, 0.013045172, 0.02854113, 0.015082824, -0.025516162, 0.022365153, 0.00922195, 0.0029636978, 0.0038967463, -0.007912531, -0.012870116, 0.0076044323, -0.050836258, 0.014872757, 0.010853471, 0.002919934, 0.03733594, 0.007019745, -0.011700742, -0.0076114344, 0.0026345926, -0.019424213, 0.006568101, -0.0117287515, -0.027476788, 0.017925734, 0.07495197, -0.0009610574, -0.004288872, 0.019746315, -0.0040472946, -0.0036201577, -0.019396203, -0.00064945774, 0.010391324, -0.008983873, -0.0384563, -0.030445738, -0.007138783, 0.04489836, -0.01203685, -0.019508239, -0.01732354, 0.0075974297, -0.011077543, -0.01350732, -0.011448662, -0.019410208, 0.010167251, 0.0060009193, -0.006641624, -0.0039597666, -0.029185334, -0.002107674, -0.023653565, 0.00919394, -0.009719108, 0.04601872, 0.033526722, -0.0010013202, 0.030949898, -0.010433337, 0.0084026875, -0.0331346, 0.0020534068, 0.005818861, 0.03229433, 0.020026404, -0.00062932627, 0.0011772516, 0.0059238947, -0.007576423, 0.010048213, 0.009502039, 0.01869598, 0.031566095, 0.0023842626, 0.005262183, 0.0022967346, 0.0066171163, -0.017463585, -0.011896805, 0.004239856, -0.004477932, 0.0017199251, 0.006361535, -0.0054547447, 0.035347305, -0.025572179, 0.015544971, -0.005153648, 0.03117397, 0.0067151478, -0.009249958, -0.010146245, 0.004075303, -0.009270965, 0.016903406, -0.012484993, -0.012246917, -0.026454462, 0.017267523, 0.016175173, 0.008122598, 0.031258, 0.023597548, -0.0018590946, 0.066773355, 0.01034931, 0.03148207, -0.017435577, 0.0052376753, -0.00766045, -0.006554096, -0.000047374528, -0.019438216, 0.036859788, -0.07696862, -0.01623119, -0.00337683, 0.009642084, 0.017015442, -0.013934457, -0.01976032, -0.00013807541, 0.0080315685, -0.0038197218, 0.023611551, 0.0005067871, 0.0015921342, -0.01100752, -0.018051773, -0.006340528, 0.0145646585, -0.0035256275, -0.003555387, -0.047167085, 0.024969986, -0.02795294, 0.0057733464, 0.013500318, -0.01828985, 0.005724331, 0.022911327, -0.0012507751, -0.017631639, -0.007107273, 0.004610975, 0.0036726745, 0.011231592, 0.030501755, 0.020054415, -0.024563856, 0.009390003, -0.009298974, -0.0076114344, -0.027994953, -0.0068551926, -0.010188258, -0.026580501, -0.031678133, 0.0359635, -0.017673653, -0.019298172, 0.02097871, 0.023681574, 0.005797854, 0.02110475, 0.00622149, -0.012246917, -0.057194293, 0.024087705, -0.023317458, 0.0011860044, -0.015194859, 0.012674053, 0.02798095, 0.0087528, 0.020936696, -0.007212307, -0.026454462, -0.0018888541, -0.031874195, 0.0039667687, -0.02057258, 0.037279923, 0.012477991, 0.016707344, -0.005762843, 0.04699903, 0.0064525637, 0.02716869, 0.017925734, 0.0010013202, 0.0098311445, -0.009621077, -0.0319022, 0.011378639, 0.028120995, 0.011735753, 0.037167888, -0.0075274073, -0.021650925, 0.04568261, 0.00074398797, -0.020670611, -0.0020796652, -0.007513403, -0.021412848, 0.012849109, -0.019788329, -0.0017943239, 0.032882515, 0.005668313, -0.009256961, 0.00503461, 0.007520405, 0.004036791, -0.02179097, -0.04164932, -0.03865236, -0.00900488, -0.028653163, 0.009628079, 0.033498716, 0.0037917127, 0.02754681, -0.00007193707, -0.047083057, -0.02394766, -0.013234233, 0.014466627, -0.013990475, 0.0465789, 0.03652368, 0.010209265, 0.0035413827, 0.0013628108, -0.040416926, 0.0077514793, -0.0015606241, -0.00550376, 0.035627395, 0.019144123, 0.0016472768, -0.02389164, -0.045654602, 0.007744477, 0.013535329, 0.0077584814, -0.0010144494 ]
2311.01343
59
4.2.3 Results on the Company Dataset. In the real-world exper- iments, we compare CLLM4Rec with the two-tower (TT) model uti- lized in the Company for job recommendations. The TT model is im- plemented as a two-branch multi-layer perceptron (MLP), where the input user/item embeddings include embeddings extracted from a graph neural network (GNN) learned on user-job bipartite graph, as well as features extracted from an internal BERT model. In addition, since the textual features are available for almost every user and item, we compare CLLM4Rec with the state-of-the-art LLM-based RS, M6-Retrieval [19], which takes the dimensional-reduced last- layer embeddings of user/item descriptions from M6 Transformer for contrastive recommendations. The results are summarized in Table 2. For Table 2, we can find that CLLM4Rec outperforms the # Yaochen Zhu∗,1, Liang Wu2, Qi Guo2, Liangjie Hong2, Jundong Li1 (a) AM-Beauty Dataset (b) AM-Toys Dataset (c) AM-Sports Dataset (d) Yelp Dataset
2311.01343#59
Collaborative Large Language Model for Recommender Systems
Recently, there is a growing interest in developing next-generation recommender systems (RSs) based on pretrained large language models (LLMs), fully utilizing their encoded knowledge and reasoning ability. However, the semantic gap between natural language and recommendation tasks is still not well addressed, leading to multiple issues such as spuriously-correlated user/item descriptors, ineffective language modeling on user/item contents, and inefficient recommendations via auto-regression, etc. In this paper, we propose CLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and ID paradigm of RS, aiming to address the above challenges simultaneously. We first extend the vocabulary of pretrained LLMs with user/item ID tokens to faithfully model the user/item collaborative and content semantics. Accordingly, in the pretraining stage, a novel soft+hard prompting strategy is proposed to effectively learn user/item collaborative/content token embeddings via language modeling on RS-specific corpora established from user-item interactions and user/item features, where each document is split into a prompt consisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and a main text consisting of homogeneous item tokens or vocab tokens that facilitates stable and effective language modeling. In addition, a novel mutual regularization strategy is introduced to encourage the CLLM4Rec to capture recommendation-oriented information from user/item contents. Finally, we propose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where an item prediction head with multinomial likelihood is added to the pretrained CLLM4Rec backbone to predict hold-out items based on the soft+hard prompts established from masked user-item interaction history, where recommendations of multiple items can be generated efficiently.
http://arxiv.org/pdf/2311.01343
Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li
cs.IR
null
null
cs.IR
20231102
20231108
[ { "id": "2302.13971" }, { "id": "2206.07682" }, { "id": "2308.10053" }, { "id": "2307.02046" }, { "id": "2306.05817" }, { "id": "2205.08084" }, { "id": "2303.14524" }, { "id": "2305.07001" }, { "id": "2303.13835" }, { "id": "2303.18223" }, { "id": "2302.03735" }, { "id": "2305.00447" }, { "id": "2305.08845" }, { "id": "2104.08691" }, { "id": "2308.10837" }, { "id": "2305.06569" } ]
{ "authors": "Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li", "chunk_id": 59, "doc_id": "2311.01343", "primary_category": "cs.IR", "published": 20231102, "source": "http://arxiv.org/pdf/2311.01343", "summary": "Recently, there is a growing interest in developing next-generation\nrecommender systems (RSs) based on pretrained large language models (LLMs),\nfully utilizing their encoded knowledge and reasoning ability. However, the\nsemantic gap between natural language and recommendation tasks is still not\nwell addressed, leading to multiple issues such as spuriously-correlated\nuser/item descriptors, ineffective language modeling on user/item contents, and\ninefficient recommendations via auto-regression, etc. In this paper, we propose\nCLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and\nID paradigm of RS, aiming to address the above challenges simultaneously. We\nfirst extend the vocabulary of pretrained LLMs with user/item ID tokens to\nfaithfully model the user/item collaborative and content semantics.\nAccordingly, in the pretraining stage, a novel soft+hard prompting strategy is\nproposed to effectively learn user/item collaborative/content token embeddings\nvia language modeling on RS-specific corpora established from user-item\ninteractions and user/item features, where each document is split into a prompt\nconsisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and\na main text consisting of homogeneous item tokens or vocab tokens that\nfacilitates stable and effective language modeling. In addition, a novel mutual\nregularization strategy is introduced to encourage the CLLM4Rec to capture\nrecommendation-oriented information from user/item contents. Finally, we\npropose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where\nan item prediction head with multinomial likelihood is added to the pretrained\nCLLM4Rec backbone to predict hold-out items based on the soft+hard prompts\nestablished from masked user-item interaction history, where recommendations of\nmultiple items can be generated efficiently.", "text": "4.2.3 Results on the Company Dataset. In the real-world exper- iments, we compare CLLM4Rec with the two-tower (TT) model uti- lized in the Company for job recommendations. The TT model is im- plemented as a two-branch multi-layer perceptron (MLP), where the input user/item embeddings include embeddings extracted from a graph neural network (GNN) learned on user-job bipartite graph, as well as features extracted from an internal BERT model. In addition, since the textual features are available for almost every user and item, we compare CLLM4Rec with the state-of-the-art LLM-based RS, M6-Retrieval [19], which takes the dimensional-reduced last- layer embeddings of user/item descriptions from M6 Transformer for contrastive recommendations. The results are summarized in Table 2. For Table 2, we can find that CLLM4Rec outperforms the\n# Yaochen Zhu∗,1, Liang Wu2, Qi Guo2, Liangjie Hong2, Jundong Li1\n(a) AM-Beauty Dataset (b) AM-Toys Dataset (c) AM-Sports Dataset (d) Yelp Dataset", "title": "Collaborative Large Language Model for Recommender Systems", "year": 2023 }
[ 0.027844204, 0.010815897, 0.046494566, 0.016824728, 0.04336866, -0.021027626, -0.00016417573, 0.045128625, -0.039139494, 0.014040308, -0.010684556, -0.06908514, -0.01896558, -0.0038811143, -0.0037497736, 0.011459466, 0.029682972, -0.024219204, -0.049489133, 0.04113587, -0.011577672, 0.0223673, 0.005627944, -0.016824728, 0.025427537, 0.0068691126, -0.0035527628, 0.023667572, -0.026333787, -0.044813406, -0.0018141418, -0.03640761, -0.018729167, -0.011144249, 0.0038778307, 0.045837864, 0.0017238451, 0.0501721, 0.012129303, 0.0053915307, -0.04696739, -0.0013503453, -0.021277174, 0.014894022, -0.008602808, -0.012359149, -0.04418297, 0.03149547, 0.035435688, 0.028211957, -0.04547011, 0.035435688, -0.013311368, -0.04814946, -0.027003624, -0.017139945, 0.04032156, -0.01443433, 0.060153987, -0.0043605072, -0.008097147, -0.029761776, 0.026596468, -0.00286815, -0.053219203, -0.058157608, -0.036460146, 0.0009743829, 0.024586957, -0.01838768, -0.01297645, -0.049462862, 0.029052537, -0.0012887794, 0.026451994, 0.005187953, 0.036171198, 0.002089957, -0.0086947465, -0.00895086, 0.012805707, 0.010132926, 0.02621558, -0.00826789, -0.02683288, -0.0574221, -0.02252491, -0.023418026, -0.048674818, -0.030838769, -0.04783424, -0.006783741, 0.02818569, -0.003295007, 0.04000634, -0.007893569, -0.009798007, -0.02873732, 0.03317663, 0.051538043, -0.021539856, 0.012116169, 0.0063733016, -0.03737953, 0.052168477, 0.0018978714, -0.033202898, -0.041267212, -0.05689674, 0.00767029, -0.08579167, 0.0063601676, -0.040216487, 0.033518117, 0.027134964, -0.012772871, -0.053245474, -0.030418478, -0.023391757, 0.004734828, -0.015944747, 0.02818569, 0.020883152, -0.059313405, 0.037353262, 0.007197464, 0.009646966, -0.05941848, -0.019648552, -0.027528986, -0.032020833, -0.017822918, 0.019517211, -0.028238226, -0.04352627, -0.002144135, -0.03695924, 0.0021999548, -0.029183878, -0.03769475, -0.026543932, -0.04439312, -0.065775365, -0.004091259, -0.061992753, -0.032835145, 0.005398098, -0.022997735, -0.04223913, 0.051511776, -0.034962863, -0.06136232, -0.04423551, -0.00052207883, -0.024179801, -0.022643117, 0.0006439793, 0.017100545, 0.010008153, -0.074706525, 0.008727581, -0.013042119, -0.0458904, -0.028553443, -0.015747735, 0.0012034081, -0.050513588, 0.012352582, -0.050960146, -0.06840218, 0.03824638, -0.057106886, -0.014841486, -0.037143115, -0.039244566, 0.00018859687, 0.019530345, -0.0021293592, -0.013698823, -0.011203351, 0.017547103, -0.032625, -0.029840581, -0.04909511, -0.042055253, -0.009338316, 0.028343298, 0.0081496835, 0.012181839, 0.015787138, 0.026557066, 0.031232791, 0.061047103, 0.004823483, -0.012214674, 0.021053895, 0.03753714, 0.008898324, -0.022091486, 0.0025184557, 0.018308878, 0.048858695, -0.007210598, -0.041162137, -0.013514946, -0.021855073, -0.009719203, 0.0063601676, -0.068875, 0.0077950633, 0.04812319, 0.0025939764, 0.019687952, 0.030707428, -0.06982065, 0.017166214, -0.05731703, 0.0052142213, 0.01854529, 0.043342393, 0.021960145, 0.049541667, 0.017954258, 0.0113740945, -0.045811594, 0.028264493, 0.037274458, -0.06556522, 0.02071241, -0.049462862, 0.021710599, 0.022078352, -0.013817029, -0.0102576995, 0.00954846, -0.028474638, 0.017665308, 0.0099359155, -0.0059431614, -0.019215127, -0.012917346, 0.015432518, 0.0440779, 0.012109602, 0.06603804, 0.0136068845, 0.006393003, -0.04294837, 0.036144927, 0.006777174, 0.013193161, 0.03251993, -0.0138564315, -0.022354167, -0.0022344317, 0.025217392, -0.040111415, 0.02336549, 0.01505163, 0.015432518, -0.042028986, 0.034962863, 0.022288498, 0.022735056, -0.037721016, -0.005187953, -0.02886866, -0.0069150818, 0.02787047, -0.014802083, -0.026176179, -0.016036686, 0.009325181, -0.0043046875, -0.029604167, -0.011203351, -0.0039632022, 0.0156163955, 0.023536233, 0.0118206525, 0.0025890511, 0.017520834, 0.047729168, 0.0136331525, 0.013725091, 0.008681612, 0.044051632, 0.004199615, -0.03414855, 0.026202446, 0.004058424, -0.06010145, 0.003835145, -0.023483695, -0.0009784873, 0.017166214, 0.052641306, -0.032835145, 0.00895086, 0.028290762, 0.013843297, -0.00048062444, -0.027371377, 0.028632246, 0.01153827, 0.07349819, -0.024586957, -0.033439312, 0.002022645, 0.00046338598, -0.023772646, 0.035908516, -0.009410553, 0.011505435, -0.057211958, -0.04699366, 0.032572463, -0.087000005, 0.009036232, -0.02805435, -0.016338767, -0.042606886, -0.012831975, 0.023339221, -0.006750906, -0.013725091, 0.014920291, -0.04686232, -0.03110145, -0.04586413, 0.005831522, 0.010592618, 0.021040762, -0.012129303, 0.031600542, -0.008845788, -0.027003624, 0.04741395, 0.0075652176, 0.029000001, -0.025427537, -0.009095335, -0.0045443843, 0.02009511, -0.014316123, 0.0020324956, 0.037826087, 0.049436595, 0.0077556614, 0.044130437, 0.0066129984, -0.045969203, 0.03611866, -0.033675727, -0.002603827, -0.031075181, 0.00839923, 0.009233243, 0.039113224, 0.024087863, -0.027739132, 0.0048136325, 0.05019837, -0.030418478, 0.0308125, 0.025900362, -0.047046196, 0.017192483, -0.0088195205, -0.038692936, 0.013711956, -0.00277457, -0.021999547, -0.0020505548, -0.044419385, 0.03357065, 0.036066122, 0.016850997, -0.006025249, 0.054007247, -0.017744113, -0.011104846, -0.013567482, -0.018151268, -0.01109828, 0.0035823144, 0.00013031448, -0.00555899, -0.037432067, -0.007440444, -0.035645835, -0.022840127, 0.004646173, -0.0020193614, 0.011590807, -0.022708787, 0.042633153, 0.02161866, 0.04047917, 0.03698551, -0.015104167, -0.009653533, -0.0019619, -0.013042119, 0.00016479139, 0.010113224, 0.018702898, 0.012398551, -0.007447011, -0.03349185, 0.029210145, -0.039743662, 0.0035626134, 0.007814765, -0.018702898, 0.002001302, 0.003828578, 0.05469022, 0.012451087, 0.04575906, -0.0199375, -0.030891305, -0.0113740945, -0.015104167, 0.008281023, -0.007998642, 0.021513587, -0.022551177, -0.036197465, -0.019898098, -0.023864584, 0.049988225, 0.043184783, -0.029446559, -0.03945471, -0.033649456, 0.052326087, 0.061835147, -0.016089221, -0.03220471, 0.035619564, 0.013015851, -0.058157608, -0.027739132, -0.00525034, -0.004984375, -0.01825634, 0.026806613, -0.020370925, 0.019044384, -0.021658061, -0.046284422, 0.011643343, 0.02731884, -0.012398551, -0.033413045, 0.05119656, -0.039533515, 0.017954258, -0.03359692, 0.015353714, 0.012181839, 0.019188859, 0.0344375, 0.035330616, 0.019293932, -0.03039221, -0.019753624, 0.08022283, -0.027240036, 0.008136549, -0.020764947, 0.008359828, -0.022826994, 0.0007765512, 0.042895835, 0.04145109, -0.0259923, 0.03012953, -0.027134964, 0.029341485, 0.0007966627, -0.017560236, -0.026806613, 0.009561595, 0.0898895, 0.009410553, 0.009344882, -0.007197464, 0.05747464, 0.030759964, -0.006396286, 0.021342844, -0.0149465585, -0.011288723, -0.021408515, 0.03125906, -0.051800724, 0.027739132, -0.015708333, -0.014894022, -0.015852809, -0.002671139, 0.00507303, 0.0073550725, 0.025427537, -0.021566123, 0.0022065218, 0.03388587, 0.0056115263, 0.00700702, 0.06735145, 0.016916666, 0.016903533, 0.0014866112, 0.011978261, -0.04925272, 0.027423913, 0.004747962, 0.04071558, 0.012483923, 0.0015260134, -0.012254076, -0.0043342393, 0.009449955, -0.012543025, -0.007066123, -0.10128985, -0.007663723, -0.026951088, 0.003815444, 0.007407609, -0.006721354, 0.0023427876, -0.050566126, -0.03191576, -0.01598415, -0.015091033, -0.0124904895, -0.0018962297, 0.017796649, 0.020554801, 0.012411685, -0.0295779, 0.037300725, 0.006498075, 0.027240036, -0.0058676405, 0.002075181, -0.0058742077, 0.052877717, -0.047781702, 0.014841486, 0.008872056, -0.009778306, 0.0037103714, -0.005532722, -0.019372735, -0.0043539405, -0.0223673, 0.022157157, 0.0046166214, -0.00041372282, 0.029735507, -0.024705164, -0.008793252, 0.016076088, 0.023286685, 0.00919384, 0.018716034, -0.006974185, -0.025690218, 0.035225544, -0.034122285, -0.011446332, 0.0063273325, 0.029341485, -0.011019475, -0.0026071107, -0.0047840807, -0.050592393, -0.024363678, 0.002922328, 0.006783741, -0.03932337, 0.02252491, -0.005696898, -0.0037563406, -0.0009374434, 0.029394023, 0.049725544, -0.030365942, 0.016220562, -0.02955163, -0.018400816, 0.012884511, 0.00895086, -0.0052109375, -0.027371377, -0.019110054, 0.027555253, 0.04696739, -0.026084239, -0.015813407, -0.0026530798, 0.034884058, 0.023378624, 0.008701313, 0.014657609, -0.0023542799, 0.0064619565, -0.015642663, -0.027397646, -0.016259965, -0.011584239, 0.010586051, 0.009706069, -0.05763225, 0.030523552, -0.021369113, -0.0105072465, -0.028605979, -0.0071514947, -0.018269476, 0.038141306, 0.009922781, -0.00797894, -0.011236187, -0.030759964, 0.008221921, -0.026465127, -0.00012898055, 0.017494565, -0.026898552, 0.004429461, -0.0073616398, 0.009036232, 0.037826087, 0.009830843, 0.016351903, 0.020554801, 0.040820654, -0.0045443843, -0.051695652, -0.027161233, -0.023391757, 0.008609375, -0.027975544, -0.03779982, -0.044813406, -0.038430255, -0.055688407, 0.04967301, 0.03546196, 0.0058545065, -0.0075061144, -0.025979167, 0.04423551, -0.0066589676, 0.0009448313, -0.04352627, -0.009627265, -0.018834239, -0.01213587, -0.015511323, 0.0549529, 0.013429575, 0.022446105, -0.004747962, 0.06377899, 0.007722826, 0.0009916214, 0.0193202, 0.00910847, 0.016483244, -0.031758152, -0.019727355, -0.02184194, -0.018571557, 0.018886775, 0.003124264, 0.0077884966, -0.023221014, -0.03955978, -0.00025837155, -0.0012666157, 0.05174819, -0.018203804, 0.00021117103, 0.0042620017, -0.026333787, -0.0033163496, 0.011663044, -0.01220154, -0.026714675, 0.00434409, -0.018243207, 0.062570654, -0.019517211, -0.047046196, -0.031311594, 0.013396739, 0.00057584635, -0.016824728, -0.030602356, -0.013363904, -0.03165308, -0.00045763984, 0.042790763, -0.004255435, 0.003973053, -0.035645835, 0.012983017, 0.032966487, -0.00006587551, 0.020200182, 0.013698823, 0.02035779, -0.00019239343, -0.010842165, -0.03667029, 0.035067935, -0.035173006, -0.008648777, 0.013180028, 0.007952672, -0.05842029, -0.026005436, -0.043605074, 0.0021211505, 0.023654439, 0.021119565, -0.01505163, 0.00797894, -0.0016105638, 0.016089221, -0.029446559, 0.005933311, -0.01323913, -0.016404439, 0.0069676177, -0.027660327, -0.0350154, 0.032178443, -0.022288498, 0.0138301635, 0.034621377, 0.0113740945, -0.009187274, -0.0026005434, -0.030576088, 0.010947238, 0.01679846, -0.0026432292, -0.039586052, -0.022025816, 0.010303669, -0.02650453, -0.0069282157, 0.05245743, 0.03427989, 0.03291395, 0.019175725, 0.0049154214, 0.009646966, -0.014880888, 0.0025594996, 0.013206296, 0.0060153985, -0.0018420516, -0.0131603265, -0.029000001, 0.044445653, -0.035330616, 0.056581523, -0.0005606601, 0.04478714, 0.01980616, -0.023273552, 0.020213315, 0.007066123, 0.0090427995, 0.011124548, -0.05563587, 0.0056607793, -0.044576995, -0.03498913, 0.019425273, -0.007433877, -0.016496377, -0.02482337, 0.0035790307, -0.002887851, -0.014591939, 0.014421196, 0.053797103, -0.015721468, -0.11652537, -0.0066852355, 0.022866396, -0.04757156, 0.031836957, 0.031285327, 0.007893569, 0.01786232, -0.019346468, -0.0046954257, 0.004058424, -0.06556522, 0.009161006, -0.006396286, 0.0055819745, -0.024100997, -0.006383152, -0.0011081862, 0.030497283, -0.025558878, -0.0028763588, -0.010310235, 0.0014398211, 0.032152176, -0.0028238224, -0.013501812, -0.012221241, 0.012096467, 0.039980073, -0.021500453, -0.023654439, 0.013541214, 0.02016078, 0.029656703, -0.03695924, 0.006777174, -0.017415762, -0.007887002, -0.049278986, -0.014027175, 0.0028369566, -0.017639041, 0.009154439, -0.026136776, 0.023050273, -0.024849638, -0.017875453, 0.019990036, 0.02787047, -0.016627718, 0.00041269674, -0.015104167, 0.0026941237, -0.021014493, -0.012891078, -0.0012058708, 0.004301404, -0.027108695, 0.035514493, -0.028159421, -0.0099359155, -0.016877266, 0.0007777825, -0.01702174, -0.02323415, -0.024061594, -0.038167574, 0.045102354, -0.01896558, 0.004626472, -0.008038044, 0.01109828, 0.010362772, 0.01708741, -0.019911231, -0.015458787, 0.017639041, 0.035540763, -0.026951088, 0.0014972826, 0.043894023, -0.024875905, 0.0015498189, -0.0066261324, -0.004912138, 0.011702446, 0.024179801, -0.02579529, -0.007644022, -0.0026366622, 0.020948824, -0.0022032382, 0.0042981207, -0.011479167, 0.013554348, -0.0045411005, -0.013908967, 0.005115716, 0.027712863, 0.006261662, 0.028133152, 0.013094656, -0.029210145, 0.01757337, 0.0013224354, -0.0115973735, 0.03572464, 0.0014562387, 0.030733697, -0.010907835, -0.009055933, -0.02378578, -0.00682971, -0.009594429, -0.037721016, 0.002664572, -0.0065506115, 0.05019837, 0.03349185, 0.0074732793, 0.010592618, -0.010756793, -0.0018814538, 0.012969882, 0.00033799678, -0.0002809457, 0.047729168, -0.00050894474, 0.0034345563, 0.04439312, 0.031784423, 0.035278082, -0.0051978035, 0.022498641, -0.02404846, 0.037563406, 0.02789674, 0.018807972, 0.0012436311, 0.023155345, 0.011807518, 0.0036808199, 0.007952672, 0.014355525, 0.025703352, -0.021986414, -0.014867754, -0.018322011, -0.04155616, 0.02219656, 0.016877266, 0.007052989, -0.005903759, 0.0021211505, -0.01401404, 0.0000928619, 0.002042346, -0.026123641, 0.008064312, 0.032625, -0.028211957, 0.023615036, 0.0017205616, -0.024941577, 0.03824638, -0.025427537, -0.021947011, -0.026465127, -0.0068691126, 0.03709058, -0.023903986, -0.022669384, 0.04701993, 0.035067935, 0.007932971, -0.0138564315, 0.028238226, 0.019504076, 0.030313406, 0.02511232, -0.012641531, 0.037747283, -0.046783514, 0.00519452, 0.04896377, 0.02148732, -0.013922102, -0.029919384, 0.002556216, 0.042055253, -0.021855073, -0.0145262685, 0.02219656, 0.031206522, 0.03698551, -0.03194203, 0.0034115717, 0.009646966, -0.0046166214, -0.023286685, 0.026333787, 0.029315218, 0.03777355, -0.004958107, -0.015156703, -0.0072500003, 0.01666712, -0.017757246, -0.010395607, 0.033307973, -0.008898324, 0.031469204, -0.015379982, 0.002692482, 0.01686413, -0.012877944, 0.0047315443, 0.0084452, -0.01202423, -0.007479846, -0.04239674, 0.01092097, 0.020449728, -0.0031094882, -0.016653987, 0.0017714561, 0.024875905, -0.011190218, -0.025059784, 0.030786233, 0.004564085, 0.032808878, 0.006074502, -0.004432745, -0.024284873, -0.029236414, -0.014000906, -0.017888587, -0.018427083, 0.023601903, 0.052483696, -0.010375906, -0.033360507, -0.02343116, -0.0055360054, -0.011997962, 0.006396286, -0.010251133, -0.014618207, 0.0037070878, 0.0064094206, -0.004665874, 0.020988226, 0.00549332, 0.01825634, -0.030471016, -0.010645154, 0.044865943, 0.061835147, 0.015353714, -0.038430255, 0.02301087, 0.02530933, -0.04216033, 0.012129303, -0.01136096, 0.020384058, -0.0142767215, 0.0013651212, -0.007125227, -0.041214675, 0.020081975, -0.01715308, 0.019188859, -0.0047249775, -0.0048103486, 0.039638586, 0.016929802, -0.0128385415, -0.0104809785, -0.040347826, -0.02077808, -0.028106885, 0.0453125, 0.017271286, -0.0014939992, -0.00085699727, -0.006458673, 0.040899456, -0.04184511, 0.011019475, 0.021947011, -0.013278533, 0.0027269588, -0.0147232795, 0.008235054, -0.015576993, -0.012891078, 0.022958335, -0.031705618, -0.0061336053, 0.021106431, 0.027108695, -0.007289402, 0.036591485, 0.0071580615, -0.03372826, -0.016693387, -0.009298913, -0.015301178, -0.014815218, 0.017770382, 0.021040762, -0.025480073, -0.0068953806, -0.0038187273, -0.0028123301, -0.0003673432, -0.031206522, -0.030917574, 0.0142767215, -0.004554235, 0.0022968184, 0.0076965583, -0.015905345, 0.00045025194, -0.0090427995, 0.006393003, -0.015012229, -0.00072073145, 0.01637817, 0.00034394814, -0.02343116, 0.014867754, -0.023943389, -0.025388135, -0.012155571, 0.005161685, -0.015655797, -0.00554914, 0.036565218, 0.014105978, 0.015235508, 0.0053521288, 0.0056739133, 0.03627627, -0.008208786, -0.010769928, 0.018269476, -0.021671196, 0.066248186, -0.0024741283, -0.050802536, 0.003368886, 0.012398551, 0.031574275, -0.034568843, 0.027240036, 0.008097147, -0.006987319, 0.004580503, 0.027292574, 0.014394928, -0.023680707, 0.0040387227, -0.01317346, -0.011459466, 0.014066576, -0.004613338, 0.008537138, 0.004606771, -0.006228827, 0.01977989, 0.0078278985, 0.016785325, 0.0024281591, 0.0046494566, 0.0011557972, 0.0056148097, 0.022603715, -0.0015210881, -0.016443841, -0.026097374, 0.0007609545, -0.040505435, 0.0049613905, -0.046809785, 0.027634058, 0.030024458, -0.010651722, 0.04909511, -0.033413045, -0.00007033904, 0.019359602, -0.026228715, 0.0058413725, 0.027292574, 0.014894022, -0.027975544, -0.0064159874, 0.007171196, -0.01792799, -0.0099359155, -0.010336503, -0.008451766, 0.0009990094, -0.013390172, 0.04016395, 0.010914402, 0.008438633, -0.02307654, 0.0011336334, -0.02544067, 0.026360055, 0.006622849, -0.03569837, -0.0143029895, -0.0011599015, 0.005207654, 0.014552536, 0.0002807405, 0.04124094, -0.004701993, -0.0086947465, 0.05285145, 0.013922102, 0.004626472, 0.010526948, 0.018243207, 0.010270834, 0.012142437, 0.038798008, -0.0058380887, 0.033990942, 0.0026957653, 0.0047315443, 0.0102839675, -0.0042981207, -0.021920742, 0.050671197, -0.014289855, 0.043447465, 0.058262683, 0.011761549, -0.010783061, 0.0013248981, -0.013127491, -0.010546649, 0.031784423, -0.015590127, 0.012582428, -0.026425725, -0.005772419, 0.019438406, -0.02802808, 0.006855978, -0.042606886, 0.027555253, 0.022511777, 0.009594429, 0.017875453, -0.00996875, 0.032125905, 0.0031948597, -0.0023657721, -0.0028780005, -0.035908516, 0.033045292, -0.01721875, -0.03627627, 0.018453352, 0.01323913, 0.01365942, 0.019990036, 0.012641531, -0.020686142, -0.0008372962, -0.03346558, 0.032125905, 0.012122735, -0.007952672, -0.011564538, -0.0020554801, 0.004984375, 0.008326993, 0.01038904, -0.03808877, -0.026163043, 0.0061467392, 0.022130888, 0.014316123, 0.018663496, -0.019241394, 0.008484602, -0.003050385, -0.013449276, -0.0045345337, 0.00035667178, 0.0014439255, -0.010086956, -0.024219204, 0.0015892211, 0.0073682065, -0.0024511437, 0.0038187273, -0.0035888813, 0.016483244, -0.046231885, 0.00930548, 0.00032896711, 0.008898324, 0.0006070398, -0.015642663, -0.0016236979, 0.055478264, 0.009384285, -0.013725091, 0.005342278, 0.01178125, -0.029131342, -0.013501812, 0.022301631, 0.014999094, 0.0061631566, -0.030313406, -0.026438858, 0.014158514, 0.041503623, -0.008885191, -0.0013954936, 0.0062518115, -0.0163125, -0.005302876, 0.00011235776, -0.0035264946, -0.008182518, 0.033360507, 0.0076834243, -0.0075192484, -0.010165761, 0.0004908854, 0.005946445, -0.0028320313, 0.02789674, -0.0005159222, 0.04434058, -0.0036939539, 0.01359375, -0.0009161006, 0.018269476, -0.01757337, -0.004445879, -0.025847826, 0.013278533, 0.022472374, 0.041109603, 0.014000906, 0.015537591, 0.01819067, -0.0149465585, 0.00017628369, 0.003713655, 0.0077884966, 0.02378578, -0.016982337, -0.008655344, 0.014802083, 0.03194203, -0.025545742, -0.010638587, 0.025335599, -0.0011812444, -0.011997962, -0.011925725, -0.004504982, 0.027581522, 0.0140797105, -0.017402627, -0.00398947, 0.017166214, -0.0129370475, -0.014119113, -0.0047709467, 0.00338202, 0.0077687954, 0.0022672669, 0.007952672, -0.019346468, 0.01178125, 0.0259923, 0.029682972, 0.015432518, 0.017888587, 0.04378895, -0.015235508, 0.04814946, 0.021828804, 0.021106431, -0.0073091034, -0.013843297, 0.016286232, 0.012904212, 0.022866396, -0.029446559, 0.03012953, -0.06961051, 0.0064619565, 0.0023493546, -0.013449276, 0.009029665, -0.02404846, 0.0017829484, -0.013541214, -0.0038252946, 0.0131603265, 0.027528986, -0.035356883, 0.023838315, -0.010224864, -0.015196105, 0.015209239, 0.002846807, -0.008366395, 0.025572011, -0.031574275, 0.011518569, -0.031836957, 0.015734602, -0.0000070415995, -0.045837864, -0.006232111, 0.021947011, -0.017192483, -0.019556612, 0.009298913, -0.015774004, -0.02427174, -0.00034620558, 0.029840581, -0.0027171082, -0.010467844, 0.01825634, 0.0014693728, 0.000030962517, -0.01505163, -0.025755888, -0.0057658516, -0.03777355, -0.024573823, 0.013331069, -0.015603261, -0.03012953, 0.031022646, 0.0047216937, 0.024232337, 0.029210145, 0.0020538385, 0.008484602, -0.022183424, 0.009147871, -0.021579258, 0.0058348053, -0.0058742077, -0.0066392664, 0.026320653, 0.005118999, 0.032099638, 0.025755888, -0.0057921195, 0.025558878, -0.0147495475, -0.040058877, -0.019543478, 0.025099184, -0.002334579, 0.0118469205, 0.0048727356, 0.044576995, 0.026071105, 0.019215127, 0.03012953, 0.013501812, -0.016496377, -0.0029174027, -0.014355525, 0.029525362, 0.028001811, 0.015997283, 0.04250181, -0.01094067, -0.0022048801, 0.041109603, 0.0034082881, 0.018335145, 0.03346558, 0.003874547, -0.0059004757, 0.0120439315, -0.02734511, 0.015196105, 0.041267212, 0.025755888, -0.0027893456, -0.0036873869, -0.0065440447, 0.017389493, 0.0019602582, -0.035882246, -0.022997735, 0.010553216, -0.012411685, 0.0009210258, 0.043342393, -0.0024380095, 0.002488904, 0.01341644, -0.03333424, -0.0071186596, -0.016916666, -0.009233243, -0.011190218, 0.024311142, 0.009430254, 0.017192483, -0.028474638, 0.0013355695, -0.021658061, -0.024508152, 0.0037990264, -0.016982337, 0.0017878737, 0.018440219, -0.026819747, -0.024744567, -0.021986414, 0.0021178669, 0.009640398, 0.044839676, -0.010040987 ]
2311.01343
60
(a) AM-Beauty Dataset (b) AM-Toys Dataset (c) AM-Sports Dataset (d) Yelp Dataset Figure 4: Sensitivity analysis w.r.t. 𝜆𝑐 , which controls the strength of mutual-regularization for CLLM4Rec. shallow TT model by a large margin. However, although the in- ference latency for CLLM4Rec is significantly improved compared with existing methods due to the introduction of recommendation- oriented finetuning, directly deploying CLLM4Rec online is still infeasible, as the inference budgets are higher compared to the TT model. Therefore, we design the CLLM4Rec-Emb baseline, which includes the user/item token embeddings Z𝑙,𝑢 and Z𝑙,𝑣 learned from CLLM4Rec (projected into 128 dimensions) as extra inputs for the TT model, which demonstrates a performance improvement than the original TT model and the M6-Retrieval model in our offline ex- periment. This demonstrates the potential application of CLLM4Rec in industrial applications where low latency matters.
2311.01343#60
Collaborative Large Language Model for Recommender Systems
Recently, there is a growing interest in developing next-generation recommender systems (RSs) based on pretrained large language models (LLMs), fully utilizing their encoded knowledge and reasoning ability. However, the semantic gap between natural language and recommendation tasks is still not well addressed, leading to multiple issues such as spuriously-correlated user/item descriptors, ineffective language modeling on user/item contents, and inefficient recommendations via auto-regression, etc. In this paper, we propose CLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and ID paradigm of RS, aiming to address the above challenges simultaneously. We first extend the vocabulary of pretrained LLMs with user/item ID tokens to faithfully model the user/item collaborative and content semantics. Accordingly, in the pretraining stage, a novel soft+hard prompting strategy is proposed to effectively learn user/item collaborative/content token embeddings via language modeling on RS-specific corpora established from user-item interactions and user/item features, where each document is split into a prompt consisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and a main text consisting of homogeneous item tokens or vocab tokens that facilitates stable and effective language modeling. In addition, a novel mutual regularization strategy is introduced to encourage the CLLM4Rec to capture recommendation-oriented information from user/item contents. Finally, we propose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where an item prediction head with multinomial likelihood is added to the pretrained CLLM4Rec backbone to predict hold-out items based on the soft+hard prompts established from masked user-item interaction history, where recommendations of multiple items can be generated efficiently.
http://arxiv.org/pdf/2311.01343
Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li
cs.IR
null
null
cs.IR
20231102
20231108
[ { "id": "2302.13971" }, { "id": "2206.07682" }, { "id": "2308.10053" }, { "id": "2307.02046" }, { "id": "2306.05817" }, { "id": "2205.08084" }, { "id": "2303.14524" }, { "id": "2305.07001" }, { "id": "2303.13835" }, { "id": "2303.18223" }, { "id": "2302.03735" }, { "id": "2305.00447" }, { "id": "2305.08845" }, { "id": "2104.08691" }, { "id": "2308.10837" }, { "id": "2305.06569" } ]
{ "authors": "Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li", "chunk_id": 60, "doc_id": "2311.01343", "primary_category": "cs.IR", "published": 20231102, "source": "http://arxiv.org/pdf/2311.01343", "summary": "Recently, there is a growing interest in developing next-generation\nrecommender systems (RSs) based on pretrained large language models (LLMs),\nfully utilizing their encoded knowledge and reasoning ability. However, the\nsemantic gap between natural language and recommendation tasks is still not\nwell addressed, leading to multiple issues such as spuriously-correlated\nuser/item descriptors, ineffective language modeling on user/item contents, and\ninefficient recommendations via auto-regression, etc. In this paper, we propose\nCLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and\nID paradigm of RS, aiming to address the above challenges simultaneously. We\nfirst extend the vocabulary of pretrained LLMs with user/item ID tokens to\nfaithfully model the user/item collaborative and content semantics.\nAccordingly, in the pretraining stage, a novel soft+hard prompting strategy is\nproposed to effectively learn user/item collaborative/content token embeddings\nvia language modeling on RS-specific corpora established from user-item\ninteractions and user/item features, where each document is split into a prompt\nconsisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and\na main text consisting of homogeneous item tokens or vocab tokens that\nfacilitates stable and effective language modeling. In addition, a novel mutual\nregularization strategy is introduced to encourage the CLLM4Rec to capture\nrecommendation-oriented information from user/item contents. Finally, we\npropose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where\nan item prediction head with multinomial likelihood is added to the pretrained\nCLLM4Rec backbone to predict hold-out items based on the soft+hard prompts\nestablished from masked user-item interaction history, where recommendations of\nmultiple items can be generated efficiently.", "text": "(a) AM-Beauty Dataset (b) AM-Toys Dataset (c) AM-Sports Dataset (d) Yelp Dataset \nFigure 4: Sensitivity analysis w.r.t. 𝜆𝑐 , which controls the strength of mutual-regularization for CLLM4Rec.\nshallow TT model by a large margin. However, although the in- ference latency for CLLM4Rec is significantly improved compared with existing methods due to the introduction of recommendation- oriented finetuning, directly deploying CLLM4Rec online is still infeasible, as the inference budgets are higher compared to the TT model. Therefore, we design the CLLM4Rec-Emb baseline, which includes the user/item token embeddings Z𝑙,𝑢 and Z𝑙,𝑣 learned from CLLM4Rec (projected into 128 dimensions) as extra inputs for the TT model, which demonstrates a performance improvement than the original TT model and the M6-Retrieval model in our offline ex- periment. This demonstrates the potential application of CLLM4Rec in industrial applications where low latency matters.", "title": "Collaborative Large Language Model for Recommender Systems", "year": 2023 }
[ 0.016731558, 0.008477789, 0.050880738, 0.008722812, 0.017361617, 0.012237139, 0.007777724, 0.03931566, -0.042927995, 0.008330775, -0.015261421, -0.071910694, -0.020119874, 0.001203237, -0.004609929, -0.003362063, 0.040239748, -0.020875944, -0.02920672, 0.04390809, -0.009261862, -0.0067521287, 0.007350684, -0.036263376, 0.015107406, -0.026448462, -0.007658713, 0.012643177, 0.0011804849, -0.04371207, 0.008225766, -0.051496793, -0.019797843, -0.0052714907, -0.010346963, 0.048164483, 0.0004651058, 0.050880738, 0.0004983589, 0.00044344753, -0.03942767, -0.008568797, -0.042619966, 0.0114950705, 0.0062900856, -0.012552168, -0.019741837, 0.01514941, -0.0056775287, 0.027582567, -0.0333231, 0.031334918, -0.03900763, 0.0015313926, -0.0068046334, -0.020399898, 0.03181096, -0.00036709668, 0.046288308, -0.01761364, -0.03029882, -0.026336452, 0.009331869, -0.03606736, -0.03018681, -0.037019446, -0.024432274, 0.018103685, -0.0024554785, -0.03363113, -0.012286143, -0.0612137, 0.03363113, -0.0032202997, -0.023578195, 0.028926693, 0.02191204, 0.009639897, 0.0065806126, 0.0007503824, 0.049900647, 0.036347385, 0.026042424, -0.032399017, -0.02426426, -0.020987954, -0.02730254, -0.0038748607, -0.015863476, 0.0038293565, -0.07163067, 0.0035755828, 0.0034863246, 0.013798284, 0.0279186, -0.0073226816, -0.01418332, -0.067374274, 0.028954696, 0.055641178, -0.03382715, 0.009513886, 0.027960602, -0.054129038, 0.056229234, -0.009457881, -0.01804768, -0.02621044, -0.056313243, 0.012587172, -0.045756258, -0.021786029, -0.030522842, 0.006024061, 0.04684836, -0.02460029, -0.067094244, 0.0042038914, -0.021253979, -0.029262723, -0.011026027, 0.036459394, 0.037019446, -0.056033216, 0.013581265, 0.004126884, 0.01482738, -0.07331082, -0.009275864, -0.018719742, 0.028870687, -0.011803099, 0.029402737, -0.009807913, -0.022528097, 0.017067589, -0.027876595, 0.010823008, -0.046904366, -0.050404694, -0.0002938086, -0.029066706, -0.04651233, 0.016955579, -0.06238981, 0.00052373623, 0.01439334, -0.016801564, -0.014897387, 0.061381713, -0.020889945, -0.04340404, -0.015065403, 0.015443438, -0.0397637, -0.023578195, -0.028170623, 0.021562008, -0.010598986, -0.06832636, 0.008974835, -0.032707043, -0.022542099, -0.032791052, -0.024614291, 0.024964323, -0.042619966, 0.019069776, -0.06614216, -0.05628524, 0.032399017, -0.030942881, -0.013399247, -0.04102382, -0.03788753, -0.02996279, 0.009863919, -0.011026027, -0.02845065, -0.0028650167, 0.004749942, 0.0029087707, -0.027988605, -0.026840499, -0.035479303, -0.0006834386, -0.0112920515, 0.013077217, 0.0017571636, 0.004448914, -0.024544286, 0.05057271, 0.05715332, 0.02502033, 0.012447159, 0.031138899, 0.036767423, 0.0451122, -0.016773561, 0.015485441, 0.023774214, 0.06519007, -0.0012627426, -0.02825463, -0.03385515, -0.005211985, -0.011992116, 0.0036823428, -0.06614216, 0.008988837, 0.021506002, 0.0139593, 0.045168206, 0.01920979, -0.070062526, 0.056565266, -0.032679044, 0.0069341455, 0.012832195, 0.06311788, 0.00030912252, 0.023060147, 0.040575776, 0.018845754, -0.039679695, 0.02954275, -0.0063530914, -0.05306494, 0.0035283284, -0.052560892, 0.02492232, 0.009198857, -0.009786911, 0.007777724, 0.009422877, -0.015597452, 0.0040848805, -0.0033883154, -0.008953834, -0.033211093, 0.016017491, 0.0012251141, 0.019139782, 0.026616478, 0.00028068238, 0.011684088, 0.007294679, -0.05897349, 0.036711417, 0.04211592, 0.021576008, 0.012342149, -0.015289423, -0.041835893, -0.022472093, 0.039903715, -0.037243467, 0.006531608, -0.026896505, 0.011747094, -0.037971534, 0.035423297, 0.009807913, 0.013672273, -0.0078057265, -0.022528097, -0.008435786, -0.008687809, 0.033883154, -0.0030120304, -0.010248954, -0.0060065594, -0.012608173, -0.0033568125, -0.019405806, -0.023368176, -0.002051191, -0.014064309, 0.023816217, 0.003243052, -0.029066706, 0.010192949, 0.023984233, 0.026462464, 0.010437972, -0.0118101, 0.0386436, -0.00903084, -0.021828031, -0.0011078531, 0.011803099, -0.043264028, -0.0042528957, -0.04707238, -0.02427826, 0.020539911, 0.009051843, -0.028814683, -0.015233418, 0.013168226, 0.01666155, 0.04264797, -0.029822776, 0.029038703, 0.016409528, 0.07420691, -0.026490467, -0.02912271, 0.014120314, -0.0060450626, -0.0047289403, 0.036235373, -0.03351912, 0.0060380623, -0.055893205, -0.016297517, 0.032819055, -0.06440599, 0.015835473, -0.03788753, -0.027470557, -0.06468602, -0.021814032, 0.008330775, 0.034947254, -0.012223138, -0.014253327, -0.043796077, -0.0483325, -0.042619966, 0.009499884, -0.004564425, 0.05060071, -0.022402085, 0.011516072, -0.011047028, -0.02867467, 0.021071961, 0.019181786, 0.06003759, -0.037075453, 0.0004112883, -0.0014631362, 0.0483605, 0.026028423, 0.009877919, 0.023116153, 0.032202996, 0.05135678, 0.044188112, 0.023354175, -0.034751236, 0.023172157, -0.037691507, -0.00064624764, -0.027106524, -0.0039378665, -0.014085311, 0.016801564, 0.017557634, -0.0116420835, 0.0016705305, 0.045280214, -0.0070076524, 0.043488048, 0.040267747, -0.046204302, 0.010696996, -0.0036683416, -0.042367943, 0.02867467, 0.029150713, -0.01729161, -0.004854952, -0.0677103, -0.014253327, 0.042927995, 0.029822776, 0.006808134, 0.042171925, -0.019587824, -0.021534005, -0.0061255703, -0.012839195, 0.02965476, 0.02126798, -0.015961485, 0.006755629, -0.03575933, 0.012531167, -0.020931948, -0.04984464, 0.0000391052, -0.0050019654, -0.0013414999, -0.0043999096, 0.028604662, 0.039903715, 0.039875712, 0.06687023, -0.0107109975, -0.010003931, -0.018775748, -0.025748396, -0.010661992, 0.04124784, 0.009163853, 0.024992326, 0.03340711, -0.041611873, 0.039791703, -0.015121408, 0.024082242, -0.016129501, -0.019405806, 0.009163853, 0.033043075, 0.051300775, 0.015667459, 0.04931259, -0.03794353, -0.022500094, 0.0051979837, 0.0014447595, -0.014421343, 0.0070181536, 0.02223407, -0.0020809437, -0.039791703, -0.015051401, 0.010066937, 0.04124784, 0.042395946, -0.014246326, -0.04813648, -0.0332951, 0.044300124, 0.036543403, -0.003211549, -0.024390271, -0.0011148538, 0.011236046, -0.060877666, -0.0022944636, -0.018943764, -0.0064616017, -0.026938507, 0.0068816408, -0.013364244, 0.0039063636, -0.017025584, -0.028058613, 0.014939391, 0.0031747955, 0.01600349, -0.032595035, 0.045392226, -0.032847058, 0.047884457, -0.021337986, 0.007889735, 0.011341056, 0.031110896, 0.035703324, 0.032146994, 0.014883386, 0.021435995, 0.0071266633, 0.031838965, -0.013497257, 0.0054290053, 0.004844451, -0.0039273654, -0.012930204, 0.0057090316, 0.023354175, 0.03245502, -0.045616247, 0.03942767, -0.04791246, 0.021562008, -0.013343242, -0.0021562008, -0.014043307, -0.01235615, 0.11201043, 0.025818404, -0.02427826, -0.03416318, 0.032399017, 0.036851432, -0.012223138, 0.009891921, -0.016185507, 0.01310522, -0.004609929, -0.0038958627, -0.044216115, 0.07291879, -0.0049039563, 0.0064896042, -0.02857666, -0.014939391, 0.027022516, 0.0019566822, 0.022724116, -0.00870881, 0.009793912, 0.03071886, 0.011313053, -0.0002723691, 0.058077406, 0.021954045, 0.016409528, -0.01654954, 0.016689554, -0.051048752, 0.018187692, 0.0022297075, 0.010549982, 0.005523514, 0.013469254, 0.008666807, -0.00078669825, 0.030130805, -0.012286143, -0.008218765, -0.10383367, -0.012741186, -0.02588841, 0.01235615, 0.014673366, -0.0002511484, -0.0024082242, -0.038755607, -0.023256166, -0.009359871, -0.0003242177, -0.01331524, -0.008393781, 0.015415435, 0.018649736, 0.0012382403, -0.016591545, 0.019503815, -0.0017212853, 0.025076335, -0.0300748, -0.011656085, 0.0040883804, 0.043488048, -0.05284092, 0.018397713, -0.010563984, 0.020777935, -0.029738769, 0.008365779, -0.0139382975, -0.026826497, -0.017907668, 0.010437972, -0.010598986, 0.0037033448, 0.014785376, -0.05382101, 0.023298169, 0.004578426, 0.016689554, 0.024348266, 0.036179367, -0.012657179, -0.012965207, 0.014631362, -0.009814913, -0.012986209, 0.00036819052, 0.017515631, -0.00903084, -0.0005246113, 0.007889735, -0.034023166, 0.0034128176, 0.0031520433, 0.00279151, -0.023242164, 0.020777935, 0.000757383, -0.008253768, -0.028954696, 0.036039356, 0.056313243, -0.03276305, 0.0028177623, 0.0047324407, -0.004805947, 0.024754304, -0.012853197, -0.0023574694, -0.007294679, -0.03405117, 0.034891248, 0.04068779, -0.01031196, -0.007336683, -0.01653554, 0.051832825, 0.0063880947, 0.019895852, 0.033463117, 0.004028875, 0.022164064, -0.0058945487, -0.033491116, -0.03575933, -0.033239093, -0.010360965, -0.0074066897, -0.05897349, 0.027764585, -0.009163853, -0.021211974, -0.027694577, 0.0033095581, -0.029038703, 0.02460029, 0.035255283, 0.00061736995, -0.02749856, -0.024880316, 0.017711649, -0.026364455, 0.0041723885, 0.011005024, -0.014463346, -0.0015532696, -0.00451192, 0.025216347, 0.024054239, -0.017809657, 0.0042458954, 0.013770282, 0.053036936, 0.019181786, -0.053372968, -0.011453066, 0.0023977233, 0.017935669, -0.0048689535, -0.028926693, -0.037327476, -0.027442554, -0.056257237, 0.04525221, 0.013952299, 0.00934587, -0.019615825, 0.007014653, 0.043880086, 0.0073296824, -0.0085897995, -0.033575125, -0.028170623, -0.031446926, -0.013049215, -0.009779911, 0.049172577, 0.011740093, 0.03920365, -0.0077077174, 0.0290107, 0.012230138, 0.0063285893, -0.0016066496, -0.0058595454, 0.030466836, -0.026812496, -0.005120977, -0.014897387, -0.04124784, 0.017445624, -0.007144165, 0.0061255703, -0.03687943, -0.05284092, -0.0063635926, -0.017165598, 0.051076755, 0.010767003, -0.02083394, 0.005057971, -0.0055130133, -0.02286413, 0.04018374, -0.00096171454, -0.03083087, 0.01514941, -0.026238443, 0.047100384, -0.0010754751, -0.030858872, -0.003983371, 0.019783841, -0.008813821, -0.03245502, -0.008988837, -0.0021211975, -0.008176761, -0.0035493304, 0.027666576, -0.016255513, 0.017669644, -0.012104127, 0.006948147, 0.03609536, -0.0061850757, 0.005597021, 0.024516283, 0.039987724, -0.008092754, 0.0026147433, -0.04393609, 0.038727604, -0.043572057, 0.0108860135, 0.013497257, 0.022430088, -0.040127736, 0.018187692, -0.04113583, 0.0044209114, 0.014729371, 0.01535943, -0.00935287, 0.0016941577, -0.0076237097, -0.0037313474, -0.032259002, 0.003489825, -0.006423098, -0.010122943, 0.020259887, -0.019139782, -0.03405117, 0.036683414, -0.0148693845, 0.028492652, 0.031306915, 0.018733744, 0.00805775, 0.0034320694, -0.033127084, 0.013679273, 0.004805947, -0.011019026, -0.041331846, -0.023984233, 0.023746211, -0.02415225, -0.033211093, 0.030942881, 0.029878782, 0.016941577, 0.016829567, -0.003458322, 0.01577947, -0.0050509702, -0.020385899, 0.0104799755, 0.02996279, 0.0064441, -0.031222906, -0.014001303, 0.035255283, -0.03083087, 0.061885763, 0.0012364901, 0.03018681, 0.02105796, -0.00912885, 0.019195788, 0.006349591, 0.02730254, 0.0010063436, -0.04693237, 0.0053414972, -0.026476465, -0.03567532, -0.0026444963, -0.000698315, -0.019853849, -0.024670297, -0.008988837, -0.015765468, -0.00418989, 0.017963672, 0.038811613, -0.004644932, -0.12511565, 0.000311529, 0.038951628, -0.038307566, 0.022766119, 0.005775538, -0.010290958, 0.032679044, -0.015513444, -0.0052049845, 0.00118136, -0.046064287, 0.029794773, -0.0037943532, -0.02308815, -0.00934587, -0.020245885, -0.00472544, 0.038755607, -0.021562008, -0.00075432024, 0.014036307, 0.0088208215, 0.05824542, -0.026196439, 0.0027250038, -0.0036368386, 0.02072193, 0.01997986, -0.0053765005, 0.0015200165, 0.022752117, 0.032090988, 0.03276305, -0.017585637, -0.0056040217, -0.023648202, -0.005842044, -0.068606384, 0.0012294895, 0.0080367485, -0.019475814, 0.005166481, -0.03500326, 0.032287005, -0.030998886, -0.014246326, 0.019083777, -0.0026812495, -0.01996586, 0.00236272, -0.015135409, 0.019741837, -0.012713184, -0.012916203, -0.00083307753, 0.008316774, -0.009765909, 0.008470789, -0.018551728, -0.024516283, 0.00039444296, 0.03469523, -0.026728489, -0.027778586, -0.015849475, -0.01761364, 0.059533544, -0.012713184, 0.008785818, 0.006083566, 0.020651923, 0.017543633, 0.011775096, -0.008449786, -0.015051401, 0.010318961, 0.045056194, -0.03802754, 0.008540795, 0.035815336, -0.016633548, 0.020553913, -0.0204139, 0.006237581, 0.027764585, 0.014351336, -0.01577947, 0.015079404, 0.0073856874, 0.01685757, 0.013714276, 0.024194252, -0.026336452, 0.015191414, -0.009863919, -0.014435343, -0.0006510606, 0.023928227, 0.0044944184, 0.041611873, 0.013770282, -0.021351987, -0.023494188, 0.023466185, 0.0032273005, 0.023326172, 0.008085753, 0.039035633, -0.005089474, 0.0037663507, -0.015583451, 0.007924737, 0.01579347, -0.039987724, 0.008890828, -0.00011988616, 0.036935437, 0.023564193, 0.010213951, 0.010458973, 0.013294238, -0.010893014, -0.01954582, -0.009604895, -0.02030189, 0.023452183, -0.021351987, 0.002726754, 0.01976984, 0.030018795, 0.015821474, -0.000037901966, 0.0257764, -0.02909471, 0.042087916, 0.032231, 0.02160401, -0.021520004, 0.034947254, -0.010437972, 0.014561355, 0.011824101, 0.009002838, 0.017333614, 0.014057308, -0.01675956, -0.024012236, -0.034331195, 0.022962138, 0.017683646, 0.0035388295, -0.02170202, -0.0054080035, -0.014008304, 0.005436006, -0.013021212, -0.0483605, 0.0049144574, 0.01696958, -0.022486093, 0.029934786, 0.0050439695, -0.030382829, 0.04928459, -0.028086614, -0.017683646, -0.027526563, -0.010003931, 0.017851662, 0.016423529, -0.03458322, 0.060429625, 0.015429436, 0.0033393109, 0.0070181536, 0.027344545, 0.015975486, 0.046680346, 0.039483674, -0.009569891, 0.02244409, -0.021786029, 0.013063216, 0.044944186, 0.014687368, -0.026812496, -0.030466836, 0.027036518, 0.05415704, -0.016045494, -0.007441693, 0.00956289, 0.05326096, 0.022766119, -0.04320802, -0.003629838, 0.006808134, -0.00080507493, -0.030382829, -0.023914225, 0.03147493, 0.05124477, 0.0010763502, -0.0077917255, -0.0063215885, 0.016815566, -0.021520004, -0.02073593, 0.025552379, 0.0061990772, 0.009044842, -0.0141133135, 0.015401434, 0.041751888, -0.015695462, -0.0033305602, 0.01428833, -0.03995972, 0.013371245, -0.029374735, 0.009842916, 0.014421343, 0.020763934, -0.021898039, 0.023144154, 0.018453717, -0.015121408, -0.00023167781, -0.0017116594, -0.009429878, 0.028534656, -0.001837671, -0.004434913, -0.0061255703, -0.02233208, -0.021071961, -0.034667227, -0.00623058, 0.03158694, 0.05575319, -0.018845754, -0.025706394, -0.033015072, 0.00924086, -0.0161155, 0.023984233, -0.0009520886, -0.011880106, -0.005789539, 0.01535943, -0.010556983, 0.01386129, 0.004543423, 0.033491116, -0.018845754, 0.0022052054, 0.041527867, 0.05384901, 0.029598756, -0.036403388, 0.021113966, 0.020777935, -0.016633548, -0.0085968, -0.018411715, 0.016591545, 0.0024432275, -0.00009429003, -0.015065403, -0.028758677, 0.046652343, -0.00018125125, 0.023284167, -0.033575125, 0.016311519, 0.026448462, 0.002213956, -0.0084147835, -0.029710766, -0.06177375, -0.041415855, -0.00279501, 0.014302331, 0.026056426, -0.003040033, 0.010493977, 0.005040469, 0.03158694, -0.027526563, 0.033435114, 0.041611873, -0.0011962363, 0.00044410385, -0.007987743, 0.005040469, -0.0023154656, -0.028310636, 0.031054892, -0.037775517, -0.01579347, 0.027778586, 0.014743373, -0.010598986, 0.036151364, 0.020259887, -0.01859373, -0.026490467, -0.02072193, -0.0012084875, -0.022542099, 0.036459394, 0.046148296, -0.020637922, -0.016199509, -0.023172157, 0.010430971, 0.001365127, -0.011124035, -0.032259002, -0.011957113, -0.008400782, 0.009296865, 0.026056426, -0.0112640485, 0.0010877262, -0.003577333, -0.01664755, -0.011908108, 0.009541889, 0.0015523945, -0.023228163, -0.026364455, 0.001139356, -0.022990141, 0.0016784063, -0.007882734, -0.027008515, -0.029682763, -0.0059680557, 0.030858872, 0.015135409, 0.0043334034, 0.013119222, -0.0034670727, 0.022038052, 0.00067512534, -0.008323775, -0.004378908, -0.00945088, 0.060877666, -0.01374928, -0.038167555, 0.015345428, 0.0038083545, 0.022374082, -0.00934587, 0.020343894, -0.0064721024, 0.03029882, -0.009625896, 0.020595917, -0.0033393109, -0.0072036707, -0.02126798, -0.0023172158, -0.022010049, 0.04068779, 0.008085753, 0.010381967, 0.015555448, -0.009205857, -0.004676435, 0.029738769, 0.0052294866, 0.012559169, 0.0036053357, -0.00013684087, 0.00784073, 0.03567532, -0.006825635, 0.0025762399, -0.038195554, 0.014246326, -0.04091181, -0.021940043, -0.045280214, 0.035871338, 0.0088208215, -0.01696958, 0.038447578, -0.022570102, -0.02062392, 0.008855824, -0.027134527, 0.014043307, 0.00052986183, 0.02415225, -0.04102382, 0.02653247, 0.021309983, -0.011859104, -0.017557634, -0.0041303844, -0.009310867, 0.009324868, 0.003404067, 0.011768095, -0.0023574694, 0.012048122, -0.032847058, -0.0046974374, -0.028002607, 0.007889735, 0.0019094278, -0.04760443, -0.023466185, 0.0028440147, 0.0048724534, 0.018929763, -0.017109593, 0.022626106, 0.009275864, -0.0063880947, 0.026574474, 0.013553262, 0.007812727, 0.013189228, 0.02545437, 0.013889293, 0.008176761, 0.0397637, -0.020441903, 0.005782538, -0.021323984, 0.023648202, 0.026126431, 0.005782538, 0.019041773, 0.05642525, -0.0009162103, 0.014106313, 0.055641178, 0.008771816, -0.0029577753, -0.00066243665, -0.021982046, -0.0011568577, 0.011957113, -0.03855959, 0.016185507, -0.023228163, -0.011299052, 0.018215695, -0.053540986, 0.012258141, -0.05513713, 0.0012251141, 0.029066706, 0.01418332, 0.0013388747, -0.0043894085, 0.026028423, 0.011873106, -0.018971765, 0.0013782533, -0.032399017, 0.019559821, -0.025972418, -0.037859526, 0.014127315, -0.0031415424, 0.017515631, 0.008673808, 0.01150207, -0.01859373, -0.010717997, -0.025832405, 0.020749932, 0.0050754724, -0.01374928, -0.024754304, 0.0035178275, 0.0064931046, 0.028926693, 0.015107406, -0.02920672, -0.044776168, 0.008505791, 0.009842916, 0.03718746, 0.019671831, -0.0026112432, 0.021295983, -0.002835264, -0.0053659994, -0.020343894, -0.008372779, -0.007763723, 0.008862825, -0.029514747, 0.01267118, -0.009709904, 0.003146793, 0.019083777, 0.010262955, 0.025720395, -0.04105182, 0.02278012, 0.023298169, -0.013203229, 0.015261421, -0.015289423, 0.022276074, 0.07924738, 0.0029735267, -0.0152474195, 0.019447811, 0.02168802, -0.036767423, -0.021478, 0.008799819, 0.017515631, 0.010984022, -0.017641643, -0.0386996, 0.005555017, 0.032034982, -0.019671831, 0.0019181785, 0.018313704, -0.006531608, 0.014785376, 0.0059155505, -0.0057405345, -0.019783841, 0.033911157, -0.0014220073, 0.008309773, -0.0067626294, -0.012272143, -0.012307146, -0.019951858, 0.028730674, 0.024138248, 0.02717653, 0.005887548, 0.023564193, 0.030802868, 0.012279144, 0.0038433578, -0.009156852, -0.008834822, 0.026168436, 0.022962138, 0.04329203, 0.0072736773, -0.0110890325, 0.0037733512, 0.009702903, 0.027470557, 0.002350469, 0.0059575546, 0.038167555, -0.03060685, -0.00182542, 0.019279795, 0.023480186, -0.01869174, -0.025496373, 0.015177413, -0.0015917732, -0.0034233187, 0.0010343463, 0.011285051, 0.011194042, -0.005162981, 0.0035563312, -0.0006637493, 0.017095592, -0.0011454816, -0.01954582, -0.020231884, -0.013077217, 0.024012236, 0.0032290507, 0.0041233837, -0.015765468, 0.006293586, 0.018299704, 0.002513234, 0.019811844, 0.036179367, 0.02191204, -0.008897828, 0.05779738, 0.012741186, 0.04813648, -0.0300748, 0.0029822777, -0.019279795, 0.024250258, 0.025622385, -0.016031493, 0.02072193, -0.051692814, 0.006220079, 0.0053765005, 0.001600524, 0.016717557, -0.0056425254, 0.001633777, -0.0204139, -0.008393781, 0.014092312, 0.022570102, -0.021926042, 0.0131542245, -0.02094595, -0.01859373, 0.009856918, 0.01150207, 0.01224414, 0.032174997, -0.042367943, 0.018621733, -0.012909202, 0.0066121155, 0.014729371, -0.04746442, -0.010942019, 0.011894107, -0.014218324, -0.018215695, -0.01450535, -0.0059155505, -0.03371514, -0.0054395064, 0.015625454, 0.019601826, -0.00009768097, 0.021295983, 0.012706183, 0.0072456747, -0.0091708535, -0.02535636, -0.0053414972, -0.027022516, -0.025202347, 0.007994744, -0.0069761495, -0.030270819, 0.03522728, 0.007882734, -0.0009888421, 0.042087916, -0.004574926, 0.039119642, -0.016801564, 0.0011717341, -0.021085963, -0.008358778, -0.015639456, 0.0029035204, 0.012510165, -0.006713625, 0.015303425, 0.020679925, 0.014176319, 0.047492422, -0.016395526, -0.018719742, -0.03682343, 0.0068711396, 0.011551076, 0.0045994283, 0.023760213, 0.049228583, 0.020889945, 0.013147224, 0.0182577, 0.034191184, -0.00998293, -0.005008966, -0.010591986, 0.028982699, 0.0006987525, 0.027106524, 0.038587593, -0.010220951, -0.010809006, 0.04222793, 0.0024747304, -0.002157951, 0.020035865, 0.006314588, -0.03363113, 0.014001303, -0.033491116, 0.001986435, 0.031502932, 0.033127084, 0.014995396, -0.02836664, -0.01300021, 0.010563984, 0.018075682, -0.044916183, -0.00015587389, 0.0043894085, -0.0024362267, 0.004347405, 0.047884457, 0.001632027, -0.0008125131, 0.007476696, -0.031726953, -0.0013274986, -0.0050194673, 0.012482162, -0.004378908, 0.02761057, 0.0072806776, 0.010402968, -0.01738962, 0.006615616, -0.013434251, -0.02084794, -0.014001303, -0.00977291, 0.012083125, -0.024082242, -0.020399898, -0.019601826, -0.03276305, -0.0087648155, 0.003941367, 0.042507958, -0.00924086 ]
2311.01343
61
4.3 Parameter Sensitivity Analysis To further answer RQs. 2 and 3, we vary 𝜆𝑐 in Eqs. (7), (8), and (10) that controls the strength of mutual regularization and investigates how it influences the performance of CLLM4Rec. From Fig. 4, we can find that, when 𝜆𝑐 is small, the mutual regularization is weak, and content LLM cannot provide enough user/item content side in- formation to support the collaborative LLM and RecLLM. Therefore, the recommendation performance degenerates to a similar level as the LLM-CF. On the other hand, when 𝜆𝑐 is too large, the MR loss in Eqs. (7), (8) and (10) dominates, which hinders CLLM4Rec from learning user/item token embeddings via language modeling and finetuning. Generally, for all four datasets, the performance of CLLM4Rec peaks at around 𝜆𝑐 = 1, which serves as a good start when applying the GPT-based CLLM4Rec to new datasets. # 5 CONCLUSION
2311.01343#61
Collaborative Large Language Model for Recommender Systems
Recently, there is a growing interest in developing next-generation recommender systems (RSs) based on pretrained large language models (LLMs), fully utilizing their encoded knowledge and reasoning ability. However, the semantic gap between natural language and recommendation tasks is still not well addressed, leading to multiple issues such as spuriously-correlated user/item descriptors, ineffective language modeling on user/item contents, and inefficient recommendations via auto-regression, etc. In this paper, we propose CLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and ID paradigm of RS, aiming to address the above challenges simultaneously. We first extend the vocabulary of pretrained LLMs with user/item ID tokens to faithfully model the user/item collaborative and content semantics. Accordingly, in the pretraining stage, a novel soft+hard prompting strategy is proposed to effectively learn user/item collaborative/content token embeddings via language modeling on RS-specific corpora established from user-item interactions and user/item features, where each document is split into a prompt consisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and a main text consisting of homogeneous item tokens or vocab tokens that facilitates stable and effective language modeling. In addition, a novel mutual regularization strategy is introduced to encourage the CLLM4Rec to capture recommendation-oriented information from user/item contents. Finally, we propose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where an item prediction head with multinomial likelihood is added to the pretrained CLLM4Rec backbone to predict hold-out items based on the soft+hard prompts established from masked user-item interaction history, where recommendations of multiple items can be generated efficiently.
http://arxiv.org/pdf/2311.01343
Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li
cs.IR
null
null
cs.IR
20231102
20231108
[ { "id": "2302.13971" }, { "id": "2206.07682" }, { "id": "2308.10053" }, { "id": "2307.02046" }, { "id": "2306.05817" }, { "id": "2205.08084" }, { "id": "2303.14524" }, { "id": "2305.07001" }, { "id": "2303.13835" }, { "id": "2303.18223" }, { "id": "2302.03735" }, { "id": "2305.00447" }, { "id": "2305.08845" }, { "id": "2104.08691" }, { "id": "2308.10837" }, { "id": "2305.06569" } ]
{ "authors": "Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li", "chunk_id": 61, "doc_id": "2311.01343", "primary_category": "cs.IR", "published": 20231102, "source": "http://arxiv.org/pdf/2311.01343", "summary": "Recently, there is a growing interest in developing next-generation\nrecommender systems (RSs) based on pretrained large language models (LLMs),\nfully utilizing their encoded knowledge and reasoning ability. However, the\nsemantic gap between natural language and recommendation tasks is still not\nwell addressed, leading to multiple issues such as spuriously-correlated\nuser/item descriptors, ineffective language modeling on user/item contents, and\ninefficient recommendations via auto-regression, etc. In this paper, we propose\nCLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and\nID paradigm of RS, aiming to address the above challenges simultaneously. We\nfirst extend the vocabulary of pretrained LLMs with user/item ID tokens to\nfaithfully model the user/item collaborative and content semantics.\nAccordingly, in the pretraining stage, a novel soft+hard prompting strategy is\nproposed to effectively learn user/item collaborative/content token embeddings\nvia language modeling on RS-specific corpora established from user-item\ninteractions and user/item features, where each document is split into a prompt\nconsisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and\na main text consisting of homogeneous item tokens or vocab tokens that\nfacilitates stable and effective language modeling. In addition, a novel mutual\nregularization strategy is introduced to encourage the CLLM4Rec to capture\nrecommendation-oriented information from user/item contents. Finally, we\npropose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where\nan item prediction head with multinomial likelihood is added to the pretrained\nCLLM4Rec backbone to predict hold-out items based on the soft+hard prompts\nestablished from masked user-item interaction history, where recommendations of\nmultiple items can be generated efficiently.", "text": "4.3 Parameter Sensitivity Analysis To further answer RQs. 2 and 3, we vary 𝜆𝑐 in Eqs. (7), (8), and (10) that controls the strength of mutual regularization and investigates how it influences the performance of CLLM4Rec. From Fig. 4, we can find that, when 𝜆𝑐 is small, the mutual regularization is weak, and content LLM cannot provide enough user/item content side in- formation to support the collaborative LLM and RecLLM. Therefore, the recommendation performance degenerates to a similar level as the LLM-CF. On the other hand, when 𝜆𝑐 is too large, the MR loss in Eqs. (7), (8) and (10) dominates, which hinders CLLM4Rec from learning user/item token embeddings via language modeling and finetuning. Generally, for all four datasets, the performance of CLLM4Rec peaks at around 𝜆𝑐 = 1, which serves as a good start when applying the GPT-based CLLM4Rec to new datasets.\n# 5 CONCLUSION", "title": "Collaborative Large Language Model for Recommender Systems", "year": 2023 }
[ 0.029242517, 0.021864818, 0.06690903, 0.022159927, 0.0028638889, 0.011931752, 0.017894275, 0.050168358, -0.03160338, 0.035439786, 0.0016239323, -0.02499028, -0.042388238, 0.021757506, -0.008752635, -0.03173752, 0.034205697, -0.04276383, -0.02320622, 0.045634426, -0.0074917185, 0.013709107, -0.010543403, 0.014393221, -0.01122081, 0.0029946752, 0.013474362, 0.021650195, 0.01774672, -0.059719123, 0.00894043, -0.027793806, -0.008195953, -0.023300117, -0.025231732, 0.02559391, 0.0020271905, 0.06358235, -0.013413999, 0.0045272247, -0.04367598, -0.04260286, -0.035922688, 0.016888225, -0.001639023, -0.014366393, 0.0027716674, 0.03149607, 0.008752635, 0.014446877, -0.03187166, 0.017156504, 0.0075722025, 0.0031388758, 0.019329572, -0.033320375, 0.057572883, -0.013749349, 0.016324837, -0.024400065, -0.0004686516, -0.04638561, 0.023125734, -0.03659339, -0.043756466, -0.053655997, -0.03576172, -0.030771714, 0.010610473, -0.011321415, -0.017384542, -0.059880093, 0.03747871, -0.0151846465, -0.010858633, 0.02747187, 0.0064387196, -0.010918995, -0.0010286861, -0.015654137, 0.04850502, 0.027284075, 0.010657422, -0.03055709, -0.027713321, -0.03323989, -0.019410057, -0.017693065, -0.023031836, -0.017384542, -0.0447491, -0.017089434, 0.011395192, 0.016861396, 0.03699581, -0.032086287, 0.0027951421, -0.030825369, -0.008792876, 0.057733852, -0.03471543, 0.026076814, 0.017961344, -0.061704393, 0.07066495, -0.0015032062, -0.053387716, -0.026385335, -0.036003172, -0.013226203, -0.038820114, 0.015680965, -0.07839141, 0.020308794, 0.047244105, -0.059826434, -0.07404527, 0.02613047, -0.031522896, -0.0048357467, -0.032461878, 0.01222686, 0.03911522, -0.052475564, 0.014151769, -0.03686167, 0.027713321, -0.027820634, -0.016861396, -0.015479755, 0.0072033172, 0.018216211, 0.050168358, -0.008081934, -0.061006866, 0.01895398, -0.020335622, -0.002334036, -0.04568808, -0.03876646, 0.016418735, -0.010489747, -0.057841163, 0.009423334, -0.055372987, -0.0018528086, -0.008725806, 0.021448985, -0.03171069, 0.017424785, -0.01066413, -0.062026333, -0.04971228, 0.004473569, -0.022723313, -0.024131784, -0.038203068, 0.018994223, -0.0009507172, -0.049604967, -0.030771714, 0.015466341, -0.029403485, -0.030315638, 0.0020825234, 0.027552353, -0.032810643, 0.01249514, -0.07806947, -0.05040981, 0.009362971, -0.041905332, -0.06234827, -0.04034931, -0.044829585, -0.012139669, -0.0059625227, -0.02385009, 0.0074984254, -0.017263817, -0.006361589, -0.0068512, -0.023796434, -0.014513947, -0.055641267, 0.010778148, -0.019919788, 0.002473206, 0.0047217277, 0.01081839, 0.018873496, 0.029135205, 0.10103424, -0.0016784266, 0.017451612, 0.011596402, 0.054729115, 0.042710174, -0.028303538, 0.0019550903, 0.0077532916, 0.09341509, -0.010389143, -0.03847135, -0.022079442, -0.024400065, -0.005523214, 0.0107110785, -0.058914285, 0.025030522, 0.010053792, -0.0018896972, 0.026157297, 0.010851925, -0.024373237, 0.052958466, -0.052314594, 0.015090749, 0.022092856, 0.052475564, 0.017035779, 0.015345614, 0.038095757, 0.045473456, -0.04061759, 0.014554189, 0.044829585, -0.054326694, 0.013454241, -0.04625147, 0.05269019, 0.011851268, 0.005177804, -0.013494483, 0.02586219, -0.04504421, -0.00918859, 0.005851857, -0.022092856, -0.02613047, -0.000033508797, 0.018229624, 0.03576172, -0.0023222985, -0.027364558, 0.023890331, 0.00678413, -0.024923211, 0.0333472, 0.020442935, 0.009631251, 0.0068143113, -0.022629416, -0.0060027647, -0.025245147, 0.068089455, -0.0067941905, 0.010892167, -0.021422157, -0.010295244, -0.031415585, 0.01741137, 0.0054058414, 0.0130317, 0.007874018, -0.020818526, -0.052207284, -0.009175175, 0.024534205, -0.03337403, -0.015694378, -0.018940566, -0.012246981, 0.0007951986, -0.03833721, -0.006468901, 0.03388376, 0.022924524, -0.026586546, 0.022455035, -0.03662022, -0.0027129813, 0.054487664, 0.034232527, 0.012005529, -0.0028387376, 0.006348175, -0.007713049, 0.0016163869, 0.0036989101, 0.019906374, -0.07468915, 0.03431301, -0.0022770264, -0.051912177, 0.02224041, 0.027351145, -0.03863232, -0.021381915, 0.027525526, 0.019611267, 0.042388238, -0.04464179, -0.006301226, 0.011770784, 0.053360887, -0.011395192, -0.014151769, -0.0019550903, 0.020053929, 0.004554053, 0.028652301, -0.037049465, 0.01982589, -0.055802237, -0.026023159, 0.037881132, -0.039946888, 0.012126255, -0.029993702, -0.024748828, -0.0474319, -0.0028940702, -0.016351664, 0.014460291, -0.010845218, -0.018323522, -0.04059076, -0.038551833, -0.036351938, 0.032274082, -0.004862575, 0.014916367, 0.027297487, 0.0014327827, -0.005332065, -0.030074187, 0.026452405, 0.028866926, 0.028303538, -0.03498371, -0.0057747266, 0.014996851, 0.04338087, -0.0166736, 0.015694378, 0.015694378, 0.032220427, 0.084347226, 0.037881132, 0.017156504, -0.0058585643, 0.012843904, -0.008524597, 0.022548933, -0.010516576, 0.0063783564, -0.022750143, 0.001665851, 0.008564838, -0.024426892, -0.012937802, 0.016324837, -0.0050369566, 0.01938323, 0.019007636, -0.034500804, 0.00847094, -0.01831011, -0.030905854, -0.011193982, 0.0070021073, 0.001216482, -0.0035245281, -0.072864845, 0.0057948474, 0.014809055, 0.011831147, 0.02867913, 0.029805906, -0.006556092, -0.015037093, -0.013668865, 0.01128788, -0.006737181, -0.008947138, 0.0042690053, 0.0031724107, -0.03884694, 0.023796434, -0.004745202, 0.011073256, 0.012521968, 0.0068512, 0.05159024, 0.011710421, -0.011536039, 0.061489772, 0.068679675, 0.040376138, -0.010114155, -0.020268552, -0.029644938, -0.0013917024, 0.0010789885, 0.019007636, -0.004476922, 0.03125462, 0.025070764, -0.009798926, 0.044668615, 0.0024078127, 0.021341672, -0.012951216, -0.013360343, -0.019021051, 0.010556817, 0.044936895, 0.044051573, 0.043971088, -0.010590352, -0.0070960056, 0.0031539665, -0.017196747, 0.036164142, 0.0060966625, 0.019544197, 0.0065259105, -0.028732786, -0.041073665, -0.0020473115, 0.049658623, 0.030852197, -0.04853185, -0.024359822, -0.018632045, 0.019597853, 0.019074706, -0.007880724, -0.02666703, 0.011697007, 0.015855346, -0.059021596, -0.017800376, 0.018041829, 0.009141641, -0.016687015, -0.0043394286, -0.0050067753, 0.01068425, -0.03377645, -0.030181497, 0.055963203, -0.002354157, -0.004513811, -0.046546575, 0.07715732, -0.050973196, 0.048719645, -0.031308275, 0.025567083, -0.013024993, 0.023702536, 0.0016440533, -0.013199375, 0.016123626, 0.005415902, 0.0024111662, 0.0023876918, -0.023890331, -0.0011779168, -0.024131784, 0.015680965, -0.011341536, 0.0010571908, 0.009617837, 0.049095236, -0.044158883, -0.00035735732, -0.048183084, 0.042576034, 0.0029376657, 0.009832461, -0.030771714, -0.011227517, 0.10103424, 0.019222261, -0.0018326876, -0.014929781, 0.021127049, 0.028062087, -0.032542363, 0.016834568, -0.015788278, -0.0014118234, -0.011388485, 0.036190968, -0.05531933, 0.049336687, 0.021314844, -0.003739152, 0.016257767, -0.020536833, 0.0065057897, -0.020858768, 0.04512469, -0.005207985, -0.022924524, 0.01526513, 0.021797748, -0.0042589447, 0.038793284, -0.0074917185, 0.0052918224, -0.005945755, 0.012414656, -0.047378246, -0.0002772925, -0.008155711, 0.025285387, 0.014567602, 0.0071094194, 0.0013464302, -0.012729885, 0.017008951, -0.040161513, 0.0011921691, -0.09899531, -0.02132826, -0.023394015, 0.041851677, 0.0050771986, -0.015479755, 0.018940566, -0.04702948, -0.029027894, -0.01222686, -0.033025265, -0.0118780965, -0.024332995, 0.006643283, 0.009255659, 0.02619754, -0.012609159, 0.0056674145, -0.0014679945, 0.037559196, -0.0046982532, 0.0083099725, -0.0014327827, 0.048826955, -0.02130143, -0.0076258583, 0.0037089707, -0.0061100763, -0.018296694, 0.0070021073, 0.005610405, -0.026345095, 0.012843904, 0.016955296, -0.0011410282, 0.006475608, 0.005526568, -0.064333536, 0.02170385, 0.018739356, -0.0013472685, 0.012756713, 0.022884281, -0.008853239, 0.005301883, 0.025365872, 0.009161761, 0.00329146, -0.040563934, -0.0023826617, 0.00658292, 0.00873922, -0.016458977, -0.036217798, -0.030127842, 0.016727258, -0.0013782884, -0.03002053, 0.0071563683, -0.02291111, -0.0206978, -0.026519476, 0.020939253, 0.051965833, -0.02132826, 0.012193325, -0.018605217, -0.023273287, 0.030181497, -0.015774863, 0.012260395, -0.0061805, -0.023970816, 0.042280924, 0.023554983, -0.020818526, -0.029644938, -0.0058283824, 0.04128829, 0.011193982, -0.0055533955, -0.003926948, -0.011589695, 0.0072234385, -0.010771441, -0.036190968, -0.0069283303, -0.034152042, -0.013883489, 0.009262366, -0.04770018, 0.037961617, -0.00089203095, -0.033830106, -0.012079306, 0.0193564, -0.03307892, 0.03712995, 0.020617316, -0.014178597, -0.010516576, -0.006777423, -0.00048667664, -0.029108377, 0.027901119, -0.011448848, -0.05896794, 0.014621259, 0.0064387196, 0.02505735, 0.013601795, -0.028115742, -0.025204904, 0.040402964, 0.026693858, -0.024882969, -0.058002133, -0.012649401, -0.021824576, -0.010395849, -0.02458786, -0.0106775435, -0.018712528, -0.019503955, -0.045580767, 0.018578388, 0.029269345, 0.022119684, -0.03176435, -0.009362971, 0.043836948, -0.009980015, -0.0076191514, -0.053843793, -0.0096245445, -0.027847461, -0.029510798, 0.000207393, 0.028571818, -0.0018712529, 0.024896381, -0.016123626, 0.026506063, -0.014540775, 0.006066481, 0.0051979246, -0.0025704575, -0.0037861012, -0.025365872, -0.013910317, -0.016485805, -0.010469627, -0.0048961095, -0.017974759, 0.013688986, -0.052073143, -0.056231484, -0.022012372, 0.0018276573, 0.03873963, -0.026224367, -0.019182019, -0.004329368, -0.008558132, -0.041878507, 0.028840099, -0.02445372, -0.038149413, 0.039571296, -0.012937802, 0.05089271, 0.00097586843, -0.04893427, 0.0032931368, 0.021314844, -0.014822469, -0.01356826, -0.011381778, -0.020483177, -0.02391716, -0.006468901, 0.037693337, -0.0065124966, 0.019517368, -0.0076593934, -0.0012458252, 0.016083384, -0.011261052, 0.00053027214, 0.019946616, 0.017397957, 0.009161761, 0.0005017674, -0.015640723, -0.0077331704, -0.018471077, 0.00028693382, -0.0076661003, 0.02452079, -0.05263653, 0.014876124, -0.04582222, 0.023031836, 0.011415313, 0.026009744, -0.001471348, 0.023085492, -0.019436885, 0.011656765, -0.012555503, 0.011576281, -0.026009744, 0.020375865, 0.026318265, -0.028598646, -0.034473978, 0.032247253, -0.025634153, 0.021851404, 0.04115415, 0.02226724, 0.016915053, 0.02038928, -0.053414542, 0.011596402, 0.015989486, -0.00071722973, 0.0027331023, -0.003170734, -0.0081154695, 0.0005424286, -0.04906841, 0.0063045793, 0.04077856, 0.024869554, 0.022133099, -0.027056037, 0.023863504, 0.027351145, -0.026760928, 0.000056642708, 0.04123463, -0.014460291, 0.0071831965, 0.0016599824, 0.026908481, -0.013413999, 0.042066302, -0.011951873, 0.041610226, 0.006100016, -0.02713652, 0.0253927, -0.023729363, -0.0017672944, 0.0011209073, -0.04077856, -0.008531303, -0.029564453, -0.035842206, -0.0015903972, 0.0070021073, -0.014648087, -0.04705631, 0.002099291, -0.0017371129, 0.00556681, 0.013024993, 0.06347504, -0.02025514, -0.13392536, 0.013400585, 0.022548933, -0.0154931685, 0.015694378, 0.039839577, 0.014500533, 0.013071942, -0.02150264, -0.012951216, 0.009463577, -0.03431301, 0.024574446, -0.005181157, -0.01580169, -0.038068928, -0.025285387, -0.016821155, 0.05531933, -0.018390592, -0.013870075, -0.0067740693, 0.011428727, 0.03495688, 0.008028278, -0.022991594, -0.008605081, -0.0076862215, 0.033561826, 0.027552353, 0.0025084177, 0.01837718, 0.016982123, 0.032756984, -0.024547618, -0.013313394, -0.017424785, -0.042200442, -0.042817485, -0.0064655477, 0.011059842, -0.018296694, -0.006267691, -0.026023159, 0.018793013, -0.02358181, 0.004631183, 0.0018930506, 0.004356196, -0.014648087, -0.005023543, 0.005063785, 0.014232253, -0.027552353, 0.008953844, 0.006703646, -0.00022594204, 0.0032948134, -0.010536696, -0.00482904, -0.035198335, -0.006656697, 0.009966602, -0.006656697, -0.044588134, -0.033266716, -0.005020189, 0.030744886, -0.048022117, -0.030503433, -0.016311422, 0.0074246484, -0.004349489, 0.03576172, -0.014245667, 0.009094691, 0.020778285, 0.045339316, -0.011703714, 0.009912945, 0.016083384, -0.0151846465, 0.021623366, 0.0024614688, 0.010623887, 0.017867446, 0.035922688, -0.016043143, -0.03283747, 0.0028873633, -0.0005889584, 0.015788278, 0.02331353, -0.0075722025, 0.012387828, -0.002942696, -0.0074112345, -0.0024245803, 0.021744093, -0.02250869, 0.01680774, 0.006837786, -0.043622326, -0.03884694, 0.016311422, -0.015533411, 0.008920309, -0.015010265, 0.042817485, -0.012857318, 0.005100673, 0.00443668, 0.0034943467, 0.028518163, -0.011911631, 0.025137834, 0.03750554, 0.03323989, 0.025473185, 0.004329368, 0.01730406, 0.0056338795, 0.01848449, -0.00044098523, -0.019342987, -0.025231732, -0.0008190923, 0.029027894, 0.0073844064, 0.019141776, 0.0027297488, 0.012609159, -0.022803798, 0.0058082617, -0.048853785, 0.02042952, 0.04034931, 0.022589175, -0.026358508, 0.02452079, 0.024131784, 0.019718578, 0.058485035, -0.00081070856, 0.013474362, 0.016968708, -0.021207532, -0.029296175, -0.0140176285, 0.018256452, -0.0011158771, -0.0062978724, -0.0030667756, -0.0007629212, -0.020791698, -0.017236989, 0.018766185, -0.043890603, 0.009081277, 0.018524732, 0.0039034737, 0.05934353, 0.0032059457, -0.0072972155, 0.03307892, -0.017693065, -0.034017902, -0.025741464, -0.020027101, 0.022066029, -0.0067606554, -0.05440718, 0.031952146, 0.0073844064, 0.0034809327, 0.004175107, 0.010322073, 0.009604423, 0.025446355, 0.03498371, -0.0088129975, 0.03028881, -0.036083657, -0.0019349693, 0.027847461, 0.0033970952, 0.0076258583, -0.044212542, 0.04727093, 0.04166388, 0.0052348133, 0.009577596, 0.032059457, -0.010650715, 0.029966874, -0.03949081, -0.025298802, 0.010100741, 0.0016574672, -0.012823783, -0.044802755, 0.038364038, 0.029001066, -0.0030650988, -0.017129676, -0.014621259, -0.0024882967, -0.025714636, -0.02519149, 0.025473185, 0.013843247, -0.011811026, -0.018793013, -0.012783541, 0.0061335512, -0.014782227, -0.0042321165, 0.027901119, -0.0059289876, 0.0036620218, -0.017840618, 0.012300637, 0.01323291, 0.0033736208, -0.019906374, 0.023501325, 0.005013482, -0.036566563, -0.012153083, -0.0071362476, 0.005362246, 0.03761285, -0.006797544, -0.02706945, -0.019369815, -0.026895069, -0.016633358, -0.021730678, -0.005140915, 0.012052478, 0.059289876, -0.012501847, -0.032139942, -0.009845875, -0.00800145, -0.03374962, -0.0154931685, -0.009309315, -0.03941033, -0.019973444, -0.020536833, -0.0073575783, 0.026707271, -0.0011033014, 0.028384022, -0.003392065, 0.0063515287, 0.033266716, 0.05054395, 0.008933723, -0.0413956, 0.010550111, 0.023903746, -0.034930054, 0.014567602, -0.018806426, 0.0017857386, 0.010073913, 0.016660187, -0.041771192, -0.03122779, 0.034152042, -0.016096799, 0.015479755, -0.030235155, -0.008377043, 0.02559391, -0.016767498, -0.0077532916, 0.0013296626, -0.049926903, -0.00840387, -0.023420842, 0.0001437813, 0.009047742, 0.0071362476, 0.026693858, 0.0154931685, 0.034688603, -0.034634944, 0.016593117, 0.041476086, 0.006032946, 0.0031388758, 0.010476333, -0.015707793, 0.004738495, -0.022978181, 0.01643215, -0.031576555, 0.005757959, 0.004758616, 0.010825098, -0.022253824, 0.009906238, 0.0132396165, -0.0059759365, -0.013816419, -0.013219496, -0.027713321, -0.018082071, 0.021918474, 0.012032357, -0.014285909, 0.0027381326, -0.020724628, 0.0013045114, -0.016204111, -0.012703057, -0.0034138628, 0.005670768, -0.012361, 0.011053136, -0.008142297, -0.020013686, -0.031013167, -0.0069954004, -0.017867446, -0.015050507, 0.012374414, 0.021220947, -0.0029058075, -0.0080349855, 0.0076459795, -0.015640723, 0.004201935, -0.020577075, -0.038095757, -0.028974237, -0.0032813996, 0.01781379, 0.042066302, 0.03149607, 0.0060899556, -0.008477648, 0.030369293, 0.015774863, -0.020858768, -0.008477648, -0.009523939, 0.076191515, 0.0025151249, -0.02814257, -0.00046655565, 0.0104830405, 0.04501738, 0.005335418, -0.001498176, -0.00044098523, 0.013883489, -0.0030885732, 0.028974237, -0.008759341, 0.005389074, -0.010255002, 0.014446877, -0.028598646, 0.046868514, 0.020375865, 0.018243039, 0.019182019, -0.0154126845, 0.0034876398, 0.008564838, -0.0025302155, 0.0005084744, 0.013642037, 0.004932998, -0.00994648, 0.018028414, 0.00022699001, 0.0018762831, -0.03552027, 0.014352979, -0.051563412, -0.0011821087, -0.012488433, 0.043863777, 0.017277231, -0.023340357, 0.039437156, -0.014755399, -0.011985408, 0.0020909072, -0.0140981125, 0.00083418307, 0.009939773, 0.024239097, -0.031978972, 0.013212789, 0.014876124, -0.04705631, 0.004594295, 0.019879546, 0.008605081, -0.011965287, -0.012796955, 0.004818979, 0.012676229, 0.029966874, -0.03662022, 0.026385335, -0.03283747, 0.030986337, 0.011837854, -0.052314594, -0.016727258, 0.0120725995, -0.021556295, 0.047458727, -0.033266716, 0.02908155, -0.023729363, -0.008135591, 0.027954774, 0.018913738, 0.0011745633, 0.026613373, -0.002763284, 0.018041829, -0.0070356424, -0.00032256477, -0.01741137, -0.008330094, 0.005372307, 0.016338252, 0.033320375, 0.0014872771, 0.0026123764, 0.04906841, -0.016915053, 0.010644008, 0.042978454, 0.012173204, -0.01643215, -0.0052012783, -0.012542089, 0.004084563, -0.011147033, 0.008095348, -0.0056640613, -0.027981602, -0.014460291, 0.02123436, -0.029644938, 0.0006958512, -0.031818006, -0.012086013, 0.029564453, 0.028223054, 0.0063850633, -0.042415064, 0.025915846, 0.00482904, -0.014943195, 0.012106134, -0.050973196, 0.013581674, -0.0048089186, -0.032515533, 0.027847461, 0.017706478, 0.009282487, 0.033588655, 0.004198582, 0.01656629, -0.0067137065, -0.025365872, 0.023957402, 0.007961208, -0.018068656, -0.012736592, 0.013963973, 0.011207396, 0.030449778, 0.0018142434, -0.0010387466, -0.016754085, 0.017652823, 0.024440305, 0.010462919, 0.029779078, -0.0048424536, 0.0019148483, -0.015882175, 0.007907553, -0.014084699, -0.0041013304, -0.0048894025, 0.0026777696, -0.029403485, 0.02224041, -0.02666703, 0.00094149506, -0.0046513043, 0.020174654, 0.025312217, 0.0018611924, -0.0031724107, -0.0174382, 0.02244162, 0.0041180975, -0.01747844, 0.03283747, 0.061489772, 0.00059398863, -0.0124616055, 0.019517368, 0.0062643373, -0.012193325, -0.009436748, 0.010422677, 0.0034272769, 0.00045901028, -0.03761285, -0.03189849, -0.0008693948, 0.03761285, -0.022414792, 0.00018779599, 0.01276342, -0.008216075, -0.0011837854, 0.011408607, -0.018404007, -0.014567602, 0.026023159, -0.0077197566, 0.023943989, 0.0041013304, -0.026023159, -0.0010580291, -0.004939705, 0.0144066345, 0.014339565, 0.047217276, 0.017719893, -0.025701223, 0.030986337, 0.0089270165, -0.006475608, -0.018860083, 0.0021881587, 0.011227517, 0.013675572, 0.038390864, -0.0020892303, 0.0117640775, -0.011408607, 0.0060228854, 0.01160311, -0.005804908, -0.006824372, 0.047244105, -0.017008951, 0.013896903, 0.0010379081, 0.0025553668, -0.022079442, -0.014044457, 0.016794328, -0.0090075005, 0.006146965, 0.0013254707, 0.005476265, 0.038927425, 0.0021127048, -0.009832461, -0.0072770943, 0.006790837, 0.0047753835, -0.025781706, -0.021059979, 0.0031556434, -0.0034038022, 0.01113362, -0.011904924, -0.0039034737, -0.01794793, 0.016257767, 0.0070088143, 0.020992909, 0.047780663, -0.0026207601, -0.0012667845, 0.04971228, 0.013923731, 0.017344302, -0.027981602, -0.015452927, 0.00038502368, 0.00031921125, 0.023259874, -0.036190968, 0.035278816, -0.056499764, -0.008242902, -0.005248227, -0.002533569, 0.0012441484, -0.006354882, 0.004081209, -0.004061088, 0.0016289625, 0.0080349855, 0.020939253, -0.010858633, -0.0089270165, -0.019651508, -0.013722521, 0.028223054, 0.0022870868, 0.0045071035, 0.0048961095, -0.03444715, 0.010489747, -0.0061570257, -0.0012885822, 0.017183332, -0.053763308, 0.017424785, 0.018336937, -0.017169919, -0.0044232663, -0.010872046, 0.012535382, -0.016029729, -0.015573652, 0.018497905, -0.004047674, -0.014929781, 0.008343508, 0.028598646, -0.0088129975, -0.021059979, -0.0025352458, -0.014822469, -0.034393493, -0.0058820387, 0.01781379, -0.028652301, 0.01128788, 0.015211475, 0.0076124445, 0.000012457727, 0.027310902, 0.014259081, 0.031978972, -0.018591803, -0.00055374665, -0.00015488977, -0.022683073, -0.010476333, -0.0046110624, 0.021596538, 0.009604423, -0.002003716, 0.011026307, -0.020952666, 0.05521202, -0.038310383, -0.026546303, -0.036673874, 0.00073651236, 0.043971088, 0.012501847, 0.018229624, 0.0021563002, 0.0041818144, 0.0028370607, 0.019839304, 0.017840618, 0.0031891782, -0.020536833, -0.021945301, 0.026412165, -0.002179775, 0.018095484, 0.0043863775, 0.0012114518, -0.04265652, 0.03873963, 0.0036083658, 0.006596334, 0.0046010017, 0.0051945713, -0.033427685, 0.012481726, 0.0014730247, 0.015439513, 0.009564181, 0.027686493, -0.009416628, -0.013192668, 0.024775656, 0.0014361363, 0.017800376, -0.048075773, -0.022361137, 0.0014260758, -0.032086287, 0.017129676, 0.04837088, -0.0038330501, 0.027498698, -0.0071161264, -0.026371922, -0.032086287, 0.014285909, 0.03484957, -0.0051710964, 0.0487733, 0.018766185, 0.019369815, -0.005134208, 0.018202797, -0.012810369, -0.017344302, -0.0069484515, -0.046010017, 0.0039001203, -0.0061167837, -0.019906374, -0.017786963, -0.015895588, 0.0069886935, -0.015895588, 0.019799063, 0.017143091 ]
2311.01343
62
# 5 CONCLUSION In this paper, we proposed CLLM4Rec, the first method that tightly couples the ID paradigm and the LLM paradigm of RS, which faith- fully captures user/item semantics while fully utilizing encoded knowledge and logical reasoning ability of pretrained LLMs simul- taneously. Specifically, with mutually-regularized pretraining based on soft+hard prompting strategy, CLLM4Rec can effectively capture the user/item collaborative and content information via language modeling. Furthermore, with recommendation-oriented finetuning, the pretrained knowledge of CLLM4Rec can be fully utilized to efficiently generate recommendations. Extensive experiments show the multi-faceted superiority of CLLM4Rec over state-of-the-art. Collaborative Large Language Model for Recommender Systems REFERENCES [1] Dietmar Jannach, Markus Zanker, Alexander Felfernig, and Gerhard Friedrich. Recommender Systems: An Introduction. Cambridge University Press, 2010. [2] James Bennett, Stan Lanning, et al. The Netflix prize. In KDD CUP, volume 2007, page 35, 2007.
2311.01343#62
Collaborative Large Language Model for Recommender Systems
Recently, there is a growing interest in developing next-generation recommender systems (RSs) based on pretrained large language models (LLMs), fully utilizing their encoded knowledge and reasoning ability. However, the semantic gap between natural language and recommendation tasks is still not well addressed, leading to multiple issues such as spuriously-correlated user/item descriptors, ineffective language modeling on user/item contents, and inefficient recommendations via auto-regression, etc. In this paper, we propose CLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and ID paradigm of RS, aiming to address the above challenges simultaneously. We first extend the vocabulary of pretrained LLMs with user/item ID tokens to faithfully model the user/item collaborative and content semantics. Accordingly, in the pretraining stage, a novel soft+hard prompting strategy is proposed to effectively learn user/item collaborative/content token embeddings via language modeling on RS-specific corpora established from user-item interactions and user/item features, where each document is split into a prompt consisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and a main text consisting of homogeneous item tokens or vocab tokens that facilitates stable and effective language modeling. In addition, a novel mutual regularization strategy is introduced to encourage the CLLM4Rec to capture recommendation-oriented information from user/item contents. Finally, we propose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where an item prediction head with multinomial likelihood is added to the pretrained CLLM4Rec backbone to predict hold-out items based on the soft+hard prompts established from masked user-item interaction history, where recommendations of multiple items can be generated efficiently.
http://arxiv.org/pdf/2311.01343
Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li
cs.IR
null
null
cs.IR
20231102
20231108
[ { "id": "2302.13971" }, { "id": "2206.07682" }, { "id": "2308.10053" }, { "id": "2307.02046" }, { "id": "2306.05817" }, { "id": "2205.08084" }, { "id": "2303.14524" }, { "id": "2305.07001" }, { "id": "2303.13835" }, { "id": "2303.18223" }, { "id": "2302.03735" }, { "id": "2305.00447" }, { "id": "2305.08845" }, { "id": "2104.08691" }, { "id": "2308.10837" }, { "id": "2305.06569" } ]
{ "authors": "Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li", "chunk_id": 62, "doc_id": "2311.01343", "primary_category": "cs.IR", "published": 20231102, "source": "http://arxiv.org/pdf/2311.01343", "summary": "Recently, there is a growing interest in developing next-generation\nrecommender systems (RSs) based on pretrained large language models (LLMs),\nfully utilizing their encoded knowledge and reasoning ability. However, the\nsemantic gap between natural language and recommendation tasks is still not\nwell addressed, leading to multiple issues such as spuriously-correlated\nuser/item descriptors, ineffective language modeling on user/item contents, and\ninefficient recommendations via auto-regression, etc. In this paper, we propose\nCLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and\nID paradigm of RS, aiming to address the above challenges simultaneously. We\nfirst extend the vocabulary of pretrained LLMs with user/item ID tokens to\nfaithfully model the user/item collaborative and content semantics.\nAccordingly, in the pretraining stage, a novel soft+hard prompting strategy is\nproposed to effectively learn user/item collaborative/content token embeddings\nvia language modeling on RS-specific corpora established from user-item\ninteractions and user/item features, where each document is split into a prompt\nconsisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and\na main text consisting of homogeneous item tokens or vocab tokens that\nfacilitates stable and effective language modeling. In addition, a novel mutual\nregularization strategy is introduced to encourage the CLLM4Rec to capture\nrecommendation-oriented information from user/item contents. Finally, we\npropose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where\nan item prediction head with multinomial likelihood is added to the pretrained\nCLLM4Rec backbone to predict hold-out items based on the soft+hard prompts\nestablished from masked user-item interaction history, where recommendations of\nmultiple items can be generated efficiently.", "text": "# 5 CONCLUSION\nIn this paper, we proposed CLLM4Rec, the first method that tightly couples the ID paradigm and the LLM paradigm of RS, which faith- fully captures user/item semantics while fully utilizing encoded knowledge and logical reasoning ability of pretrained LLMs simul- taneously. Specifically, with mutually-regularized pretraining based on soft+hard prompting strategy, CLLM4Rec can effectively capture the user/item collaborative and content information via language modeling. Furthermore, with recommendation-oriented finetuning, the pretrained knowledge of CLLM4Rec can be fully utilized to efficiently generate recommendations. Extensive experiments show the multi-faceted superiority of CLLM4Rec over state-of-the-art.\nCollaborative Large Language Model for Recommender Systems\nREFERENCES [1] Dietmar Jannach, Markus Zanker, Alexander Felfernig, and Gerhard Friedrich. Recommender Systems: An Introduction. Cambridge University Press, 2010. [2] James Bennett, Stan Lanning, et al. The Netflix prize. In KDD CUP, volume 2007,\npage 35, 2007.", "title": "Collaborative Large Language Model for Recommender Systems", "year": 2023 }
[ 0.025595974, 0.012184341, 0.015752342, 0.02619064, 0.04137362, 0.013879774, 0.0066552064, 0.051520914, -0.06260449, 0.04575138, 0.003299135, -0.050862983, -0.013917732, 0.031378157, 0.023925846, -0.024191549, 0.04780108, -0.013272455, -0.0066805114, 0.046535835, -0.0023470356, -0.0032896458, 0.015145022, -0.004817433, 0.0135002, -0.02398911, -0.0150944125, 0.036363237, -0.029682726, -0.0702972, 0.01630905, -0.016169874, 0.002957518, 0.0031741918, -0.001590259, 0.035983663, -0.009141419, 0.04112057, -0.0043840855, 0.028619917, -0.056632515, -0.03322542, 0.03881782, 0.008774498, 0.0067880573, 0.010577477, 0.0011047199, 0.015043803, 0.01630905, 0.011020313, -0.05410202, 0.021736966, 0.0011134185, -0.018270185, -0.010128313, -0.051520914, 0.056025196, 0.0006757217, 0.01195027, -0.018131008, 0.024647038, -0.028771747, -0.00077021995, 0.015423377, -0.08765641, -0.056581907, -0.0499267, -0.0064843977, 0.016726583, 0.014929931, -0.018080398, -0.05068585, 0.024178896, 0.012741051, -0.010375037, 0.0023122414, 0.012614526, 0.01513237, 0.007857192, 0.006623575, 0.03800806, 0.00020164896, 0.03097328, -0.046232175, -0.027759548, -0.017435122, -0.018472625, 0.013980994, -0.014499746, -0.018371405, -0.014752796, -0.0193583, -0.02195206, 0.026266556, 0.057037394, -0.015663775, -0.020459065, -0.038488854, 0.046029735, 0.07611734, -0.021876143, -0.012026185, 0.0113872355, -0.071714275, 0.037982754, 0.017941222, -0.013892427, -0.021534527, -0.020484371, -0.0065033766, -0.09433692, -0.0020196526, -0.06705816, -0.0012715746, 0.056480687, -0.046940714, -0.059922162, -0.011165816, -0.044233084, 0.014525051, -0.00838227, 0.002579525, 0.003220057, -0.067159384, 0.0034731068, -0.041803807, 0.039602272, -0.03302298, 0.026064117, -0.020863945, -0.0015420214, -0.024027066, 0.032567494, -0.028189734, -0.09281862, 0.012924512, -0.05359592, -0.024128286, -0.014082214, -0.042006247, -0.0014985285, -0.038969647, -0.06720999, 0.0143352635, -0.029429676, -0.0038558443, -0.017346555, -0.0170682, -0.0473709, 0.0024735604, -0.023052825, -0.07596551, -0.021003123, 0.013411633, -0.071967326, -0.044840403, 0.0013008334, 0.015752342, 0.029708032, -0.05379836, 0.010893788, 0.0010833689, 0.0061427807, 0.0037894188, -0.019902356, 0.010767263, -0.02679796, 0.041171182, -0.064831324, 0.00073384406, 0.00014886438, -0.009824653, -0.04390412, -0.027708938, -0.034515973, 0.0088251075, 0.029227236, -0.032744627, -0.004210114, -0.03061901, 0.012589221, -0.014626271, -0.06898134, -0.052836772, -0.025520058, 0.01625844, -0.0003957855, -0.009596908, 0.028898273, 0.018396711, -0.0031757734, 0.014980541, 0.0499267, 0.03051779, 0.006984171, 0.008407575, 0.03562939, 0.010596455, -0.013677334, -0.019029334, -0.0011284434, 0.063819125, -0.033200115, -0.02634247, 0.0019959293, -0.031858955, 0.0056208656, -0.007926781, -0.06543864, -0.017738782, 0.02373606, 0.010931746, 0.032390356, 0.0417785, -0.018713024, 0.013006753, -0.036590982, -0.005048341, -0.0007077483, 0.032010783, 0.006965192, 0.013702639, 0.03428823, 0.0113998875, -0.031985477, 0.004940795, 0.06559047, -0.05506361, 0.00013225799, -0.033680912, 0.050306275, 0.0007951295, -0.028594613, -0.013955689, 0.005567093, -0.011096228, -0.027455889, -0.0010343405, -0.00017061083, -0.046434615, 0.02619064, 0.019636653, 0.032187916, -0.001320603, 0.029404372, 0.015739689, 0.0038811492, -0.00030583426, 0.039273307, 0.011077249, 0.032997675, -0.022458158, -0.0011537484, -0.026165336, 0.005342511, 0.016789846, -0.031403463, -0.0054500573, 0.004061447, 0.0094261, -0.07014537, 0.011804767, 0.01196925, 0.016220484, -0.021521874, 0.017333902, -0.029100712, 0.007825561, 0.021977363, 0.010273817, -0.01747308, -0.024469903, -0.0014906207, 0.0150564555, -0.034060486, -0.019940315, 0.04519467, 0.011330299, 0.0012771101, 0.03562939, -0.012298214, -0.034667805, 0.070246585, 0.013677334, -0.00387166, -0.00030168265, 0.004788965, -0.037274215, -0.029126016, 0.0060826815, 0.025469448, -0.0626551, 0.039678186, -0.02664613, -0.02083864, 0.007433334, 0.0039127804, -0.015651122, 0.007382724, 0.058252033, 0.022268372, 0.027379975, -0.018763633, -0.0013340462, 0.0040076743, 0.07525697, -0.024735605, -0.031150414, 0.015322157, 0.030998584, -0.0031820997, 0.034212314, -0.013892427, 0.030239435, -0.05278616, -0.04972426, 0.038792513, -0.06078253, -0.0019816952, -0.022799775, -0.011184796, -0.019282384, 0.0017824186, -0.013652029, 0.03036596, 0.008869391, -0.0066362275, -0.025912287, -0.0076041427, -0.042942528, 0.033149507, 0.0070537594, 0.008116568, -0.017789392, 0.016802497, -0.047446813, -0.015815604, 0.01930769, 0.04967365, 0.042411126, 0.000026441714, -0.014550356, -0.04509345, 0.05420324, -0.02689918, 0.011134186, 0.005396284, 0.021509223, 0.04605504, 0.03418701, 0.043575153, -0.037932146, 0.050458103, -0.037679095, -0.015423377, 0.0064527667, 0.036717508, -0.030694924, 0.036970556, 0.031707123, -0.013968342, 0.01240576, 0.03142877, -0.0175743, 0.014727491, 0.02588698, -0.04807944, -0.0020670996, -0.010488909, -0.02654491, 0.006807036, 0.011931292, -0.009698128, 0.016068654, -0.044739183, 0.009672823, 0.028316258, -0.00092204974, 0.008084937, 0.051166642, -0.014714838, -0.010115661, -0.016182527, 0.007825561, 0.0036565678, 0.016030697, -0.025621278, -0.0074459864, -0.028695833, 0.009989136, -0.03163121, -0.007230894, 0.009502015, -0.011254384, 0.073586844, -0.002723447, 0.011431519, 0.04079161, 0.056379467, 0.028721137, -0.002892674, 0.010539519, 0.03271932, 0.0117731355, -0.0094261, 0.012310866, 0.0055101565, 0.027835464, 0.010735632, -0.013905079, 0.04213277, -0.02104108, 0.021610443, -0.014955236, 0.005652497, 0.01696698, 0.020383151, 0.02715223, 0.039172087, 0.0341364, 0.006857646, 0.0063199154, -0.027177535, -0.075054534, 0.026418386, 0.0052381284, 0.020863945, -0.029935775, -0.04238582, -0.039551664, -0.019421563, 0.050053224, 0.050534017, -0.016891066, -0.0066045965, 0.0063388944, 0.028695833, 0.02388789, 0.0011664008, -0.05238128, 0.018928114, 0.0165621, -0.064021565, 0.0011434682, -0.012475349, -0.018561194, -0.04916755, 0.028037904, -0.022306329, 0.014790753, -0.018067745, -0.043676373, 0.06017521, 0.027177535, -0.029910471, -0.031909563, 0.030239435, -0.04828188, 0.03383274, 0.0008342731, 0.021028427, 0.017865306, 0.019750526, -0.0023739222, 0.03735013, 0.013689987, -0.009887916, 0.0310745, 0.027810158, -0.029809251, 0.02129413, -0.023913193, -0.0013577696, 0.011943945, -0.010900115, 0.021774923, 0.022420201, -0.0438029, 0.015980087, -0.025064569, 0.017409816, 0.025292315, 0.03072023, 0.0071739582, -0.004969263, 0.046384003, 0.013879774, -0.018637108, 0.0043303124, 0.04810474, 0.020825988, -0.011855377, 0.038488854, -0.013006753, -0.05567093, -0.03213731, 0.039855324, -0.04716846, 0.015473987, -0.003985532, -0.007066412, -0.018346101, -0.025494754, 0.0070727384, 0.004997731, 0.028544003, -0.008622668, 0.013310413, 0.0143479165, 0.010735632, 0.021079037, 0.03388335, 0.007768625, 0.019788483, 0.007812909, 0.027354669, -0.05556971, -0.012949817, -0.016182527, 0.034819633, 0.018093051, 0.02593759, -0.012886554, 0.004453674, 0.022078583, 0.011254384, -0.013019405, -0.05430446, 0.006041561, -0.009419774, 0.018118355, 0.019269733, 0.0024640711, 0.00580749, -0.026367776, -0.022508768, -0.018877504, -0.008167178, -0.03540165, -0.02307813, -0.007774951, 0.027658328, 0.021420654, 0.020927208, 0.018637108, -0.0066552064, 0.030897364, -0.006516029, -0.0009125604, 0.028493393, 0.01966196, -0.033301335, -0.028164428, -0.02068681, -0.025115179, -0.02629186, -0.0033181137, -0.01895342, -0.0028120144, -0.012342498, -0.006933561, -0.0102927955, -0.0060067666, 0.038185194, -0.038539466, -0.012007207, 0.016397618, 0.030163521, -0.0010675533, 0.022698555, -0.0007587536, -0.017915916, 0.02073742, -0.009407122, 0.015891518, -0.029657422, 0.012260256, -0.0009315391, -0.0003635612, 0.0024039717, -0.03750196, -0.012981448, -0.0026459505, -0.004684582, -0.016372314, -0.009369164, -0.031201024, 0.009685476, -0.012690441, 0.011962923, 0.04203155, -0.022508768, -0.015271547, -0.01727064, -0.043954726, 0.016283747, 0.011051944, 0.013677334, -0.017890612, -0.009691802, 0.014297307, 0.023824627, -0.013057363, -0.03861538, 0.0028025252, 0.032112002, 0.008496143, -0.007401703, -0.0020070001, 0.0011727271, -0.013259803, -0.012601874, -0.022116542, -0.058758132, -0.044612657, 0.012551264, -0.0073194616, -0.04580199, 0.01976318, 0.0020813334, -0.03552817, -0.02348301, 0.0043239864, 0.0024292767, 0.042866614, -0.0054785255, -0.017447775, -0.011279689, -0.02486213, -0.03302298, -0.0071929367, -0.008660625, 0.0135002, -0.005668313, 0.015296852, 0.014145477, 0.04051325, 0.0055354615, 0.0048585534, -0.0020781704, 0.031555295, 0.02674735, 0.0102927955, -0.027860768, 0.013487548, -0.027253449, 0.009217334, -0.019801136, -0.022053279, -0.031352855, -0.032112002, -0.06584352, 0.022458158, 0.019434214, 0.026924485, -0.009812001, 0.006718469, 0.057037394, -0.0046497877, 0.0007627075, -0.044005338, -0.0264943, -0.012310866, -0.020294584, -0.025254358, 0.030011691, 0.011077249, 0.02659552, -0.010741958, 0.02400176, -0.013474895, -0.017498385, 0.000046038236, 0.00095289014, 0.0059371777, -0.030947974, -0.003953901, 0.0015356952, -0.028670527, 0.008597363, -0.014727491, 0.0076547526, -0.026114726, -0.05058463, -0.00066939543, 0.0018361916, 0.042765394, -0.020041535, -0.0067564263, 0.005892894, -0.010583802, -0.014727491, 0.028037904, -0.02169901, -0.017232683, 0.014613618, -0.0072688516, 0.041398928, 0.0013767483, -0.08183626, -0.011646611, 0.0015388583, -0.01156437, -0.010912767, 0.009793022, -0.03142877, -0.031201024, -0.0011648192, 0.04112057, -0.0017824186, -0.005440568, -0.023508314, 0.010280143, 0.029556202, -0.020193364, 0.02430542, 0.03438945, 0.025216399, 0.0048870216, -0.009761391, -0.039931238, 0.009381817, -0.029126016, -0.01245637, 0.0074396604, 0.028544003, -0.022040626, 0.025697194, -0.04018429, 0.022774471, 0.008932653, 0.010052398, -0.0043050074, 0.028189734, -0.02614003, -0.003713504, -0.04800352, -0.014967888, 0.008989589, -0.009078157, -0.0054532206, -0.029581506, -0.014613618, 0.041196488, 0.016195178, -0.005990951, 0.033301335, 0.021521874, -0.00023486173, -0.00072277314, -0.05946667, 0.0102674905, 0.019484824, -0.002040213, -0.002248979, -0.015625818, -0.016448228, -0.015524597, -0.03444006, 0.007952086, 0.018206924, 0.032845847, 0.030340655, -0.004184809, 0.022243066, 0.008660625, -0.0150944125, -0.019168513, -0.0063199154, -0.017599605, -0.020534981, 0.020977817, 0.02603881, -0.04162667, 0.026620826, 0.0053520007, 0.015714385, 0.024166243, -0.048155352, 0.016043348, 0.0009465639, -0.011121533, 0.01676454, -0.06351547, -0.0073194616, -0.024950698, -0.045144062, 0.01344959, 0.03142877, -0.029783946, -0.044562045, 0.02410298, 0.004206951, -0.028341563, 0.000986103, 0.06812097, -0.010906441, -0.11701017, -0.008470838, 0.020901904, -0.00595932, 0.013753249, 0.033402555, 0.010235859, 0.033402555, -0.0117604835, -0.034920853, -0.01742247, -0.047041934, 0.030011691, 0.0033592344, -0.033098895, -0.035781223, -0.006743774, -0.015790299, 0.028063208, 0.0053804684, -0.002774057, 0.0049850787, -0.010811547, 0.049850784, -0.0075788377, 0.013639377, -0.004428369, 0.0015349044, -0.0050072204, 0.0025779435, 0.0013213938, -0.011007661, 0.0024229505, 0.044005338, -0.019965619, -0.0039886953, -0.019586043, -0.018017136, -0.05268494, -0.011330299, 0.009862611, -0.02078803, 0.0080786105, -0.027531805, 0.03729952, -0.00049463304, 0.0065097027, 0.018143661, -0.0032580146, 0.0032611776, -0.02353362, -0.025456797, 0.005465873, -0.034161706, 0.008666951, 0.030543095, -0.0032232201, 0.0027519152, 0.012165363, -0.009135093, -0.019788483, -0.047345594, 0.0011055107, -0.007452313, -0.03332664, -0.02307813, 0.0020955675, 0.023343831, -0.029024797, -0.02109169, 0.012336171, 0.0027756386, 0.014234044, 0.035578784, -0.0075598587, 0.0021936244, 0.025039265, 0.03132755, -0.014917278, 0.03444006, 0.04651053, -0.027455889, -0.0009789859, -0.0054279156, 0.0069715185, 0.0121021, 0.022002669, 0.003321277, -0.016473534, 0.018181618, 0.014740143, -0.013538158, 0.0242042, -0.010438299, 0.00654766, -0.0062345113, -0.0010477838, 0.01166559, 0.011684569, -0.020054186, 0.008293703, 0.04157606, -0.039678186, 0.0035521847, 0.030644314, -0.012766356, 0.008489816, -0.0143605685, 0.054405678, 0.029227236, -0.0022932626, -0.011804767, -0.011336626, 0.028164428, -0.0351486, 0.020003576, 0.004140525, 0.027683634, -0.002122454, 0.037729707, -0.0018741491, 0.0003070204, 0.0024640711, 0.000935493, -0.017245336, -0.02414094, 0.028265648, 0.015524597, -0.0035711634, 0.0005634309, 0.0046750926, 0.028923577, -0.0007607306, 0.013474895, -0.050711155, 0.051166642, 0.03469311, 0.037577875, -0.06994293, 0.032061394, 0.03977941, 0.016878413, 0.040158983, 0.009552625, 0.015360115, 0.0048300857, -0.01920647, -0.00972976, -0.028290953, 0.02154718, 0.015258895, -0.02390054, 0.006436951, 0.025469448, -0.0073384405, 0.031681817, 0.006939887, -0.057088006, 0.029961081, 0.04448613, -0.001673291, 0.05334287, 0.010982356, -0.015107065, 0.017447775, -0.028290953, -0.025722498, -0.027961988, -0.024065023, 0.004162667, -0.009976483, -0.030644314, 0.042006247, 0.035857137, -0.016675973, 0.004940795, 0.013854469, -0.006807036, 0.020446414, 0.02104108, 0.010450952, 0.025469448, -0.03641385, -0.0050103837, 0.029201932, 0.02460908, 0.005415263, -0.037577875, 0.01956074, 0.017080853, 0.023925846, -0.011191121, 0.019320343, 0.009451405, 0.028215038, -0.02715223, -0.008983263, 0.04122179, 0.008882043, -0.031858955, -0.04610565, 0.030897364, 0.0121021, 0.000949727, -0.01339898, 0.0073384405, 0.029935775, -0.0016068654, -0.025077222, 0.0051938444, 0.005984625, -0.007015802, -0.008249419, 0.0010019186, 0.019699916, -0.014018952, 0.0005144025, 0.016296398, -0.016979633, 0.012658809, -0.0028483903, -0.004342965, -0.0021161279, 0.038261108, -0.016093958, 0.0013190215, 0.008780823, 0.0002955541, -0.001334837, 0.01864976, 0.01201986, 0.033200115, -0.003403518, -0.004994568, -0.000744915, -0.027379975, -0.015663775, -0.0072941566, 0.001255759, 0.006857646, 0.021559833, -0.016334357, -0.009369164, 0.003985532, 0.0216484, -0.00030939275, -0.014955236, -0.0103307525, -0.012734724, -0.020319888, -0.002590596, -0.012323519, 0.016840456, -0.012557589, 0.008249419, -0.025962897, -0.018523235, 0.039349224, 0.05475995, 0.013955689, -0.028392173, 0.015815604, 0.036262017, -0.0540008, -0.0135887675, -0.015967434, -0.00048198053, 0.011165816, 0.00406461, -0.014778101, -0.031504683, 0.0270004, -0.016220484, 0.0063989935, -0.025026612, -0.006104823, 0.01548664, -0.01207047, -0.0074396604, -0.00210822, -0.04069039, 0.001248642, -0.038235806, 0.011811093, 0.02185084, -0.009122441, 0.004899674, 0.007136001, 0.03745135, -0.03142877, -0.0006867926, 0.033377253, -0.0072119157, -0.004342965, 0.014967888, -0.021914102, -0.0071233483, -0.015891518, 0.032162614, -0.02109169, 0.019016683, 0.015005846, 0.016587406, 0.0072372206, 0.024634385, 0.0047763125, -0.007939434, -0.025621278, -0.00051756564, -0.03433884, -0.02297691, 0.018358754, 0.03552817, -0.018637108, 0.002536823, -0.029581506, 0.0009734504, 0.015398072, -0.0117731355, -0.024672342, 0.007091717, -0.010438299, 0.025140485, 0.004295518, -0.012083122, -0.013968342, 0.012608199, -0.007249873, -0.0041784826, 0.007718015, 0.023963803, 0.01716942, -0.027506499, 0.0038083976, -0.021610443, -0.016486187, -0.017915916, 0.0071549793, -0.005804327, -0.009666497, 0.04820596, 0.029581506, 0.03765379, 0.01191864, -0.014588313, 0.010691348, 0.011981902, -0.027835464, 0.0033845394, -0.021483917, 0.064628884, -0.0061427807, -0.03932392, -0.0029211421, -0.00051005324, 0.039374527, -0.026367776, 0.021623094, -0.0018330285, 0.012234951, 0.0170682, 0.03750196, 0.030290045, 0.0061933906, -0.007819234, -0.0048079435, -0.004602341, 0.015600512, 0.009919547, 0.015878867, 0.02603881, -0.00046853727, 0.011153164, -0.014588313, 0.008451859, 0.0062440005, 0.00067730324, -0.009464057, -0.009027547, 0.025292315, 0.022344286, -0.022382243, -0.03423762, 0.0336303, -0.050255664, -0.01189966, -0.021990016, 0.028417477, 0.023090782, -0.010375037, 0.040867522, -0.035452258, -0.008926327, 0.011602327, -0.013639377, 0.007996369, -0.020623548, 0.01752369, -0.01641027, 0.0095336465, -0.0009228405, -0.019269733, 0.012816966, 0.0022284186, -0.014056909, -0.0095336465, -0.020610895, 0.024722952, 0.013892427, 0.031150414, -0.059213623, 0.02593759, -0.039652884, 0.029885165, 0.0072941566, -0.022154499, -0.029277846, 0.015309505, -0.013955689, 0.011089901, -0.016422924, 0.024647038, -0.0062629795, 0.0044157165, 0.021838186, 0.020383151, 0.017650215, 0.027708938, 0.008907348, 0.0023786668, 0.010431972, 0.04243643, -0.044005338, 0.00033904702, 0.007724341, 0.019535434, 0.036970556, -0.018624455, -0.026013507, 0.045624856, -0.028468087, 0.032162614, 0.05187518, 0.019092597, -0.0024387662, 0.00004030508, -0.02383728, -0.010178923, -0.002946447, -0.016435577, -0.017333902, -0.018282838, 0.004004511, 0.019332994, -0.047952913, 0.01651149, -0.047143154, -0.00038847077, 0.0206362, 0.0062598162, -0.019940315, -0.029606812, 0.020117449, -0.0026095747, -0.012551264, -0.008312682, -0.043954726, 0.007572511, -0.0012747378, -0.044460826, 0.004292355, 0.0024767236, 0.019877052, 0.02491274, 0.0011782625, -0.020003576, 0.025317619, -0.021256173, 0.016701277, 0.00077259226, -0.035654698, -0.025482101, -0.013576115, 0.025254358, 0.029126016, 0.017106157, -0.039374527, -0.014512398, 0.014816058, -0.0008809292, 0.012285561, 0.009698128, -0.033756826, 0.012949817, 0.0046181562, 0.0068766247, -0.008072284, -0.00089279085, 0.009267944, 0.009900568, -0.031555295, 0.02378667, -0.0050926246, 0.010159944, 0.03651507, 0.023407094, 0.000047224406, -0.015840909, 0.007920454, -0.010090356, -0.0017650215, 0.00056501245, -0.012956143, 0.003270667, 0.070246585, 0.006958866, -0.025469448, 0.0039380854, 0.009116114, 0.0022964256, -0.015170327, 0.008888369, 0.000022561948, -0.003637589, -0.023710754, -0.025431491, -0.0011988227, 0.034971464, -0.0206362, -0.011330299, -0.010501562, -0.009799348, 0.0018630782, 0.0051337453, -0.0136014195, -0.013373675, 0.015461335, 0.0006029699, 0.005592398, 0.025684541, -0.028771747, 0.02129413, -0.023394441, 0.014929931, -0.006411646, 0.031555295, 0.028518697, 0.009647518, 0.033655606, 0.0010430391, -0.013171235, -0.024647038, -0.017903265, 0.02149657, 0.03891904, 0.006307263, 0.0095336465, 0.031858955, 0.024571123, 0.014044257, 0.010280143, 0.005934015, -0.0072625256, 0.035857137, -0.01870037, 0.017460426, 0.0150564555, 0.035249818, -0.047522727, 0.0073384405, 0.0009236313, -0.014942583, -0.013980994, 0.0017302271, 0.0031425606, 0.029201932, 0.0030397591, -0.03213731, -0.0103181, 0.044941623, 0.023976456, -0.020863945, 0.0012525959, 0.008021674, 0.0031346527, 0.016169874, -0.02174962, -0.006316752, -0.031403463, 0.02608942, 0.013639377, 0.012741051, 0.039551664, 0.016384967, -0.010204228, 0.0540008, 0.017245336, 0.035654698, -0.013361023, 0.0103181, 0.007009476, -0.0065856175, 0.008122894, -0.030391265, 0.05068585, -0.064831324, -0.0030966953, -0.00011713432, 0.005652497, 0.027683634, -0.0036976882, -0.007926781, -0.028468087, -0.006123802, -0.00873654, 0.026873875, -0.01141254, 0.011007661, 0.016840456, -0.045346502, 0.019181164, 0.0211423, -0.0073700715, -0.0069019296, -0.037426047, 0.008192483, -0.0055386247, -0.011115206, 0.022711208, -0.03519921, 0.013538158, 0.025570668, -0.015954781, -0.017257987, -0.010375037, 0.009166724, -0.018725675, -0.0037704401, 0.017662866, 0.018257534, -0.005934015, 0.015866214, 0.005370979, -0.010602782, -0.01200088, -0.0017887448, -0.012348824, -0.04716846, -0.018320795, 0.029353762, -0.0351486, -0.015562555, 0.019750526, 0.026317166, 0.019699916, 0.019851746, 0.0008319008, -0.013032058, -0.039855324, -0.011134186, -0.022964258, -0.002612738, -0.024887435, -0.012823292, 0.037628487, -0.0103054475, 0.04706724, 0.0095589515, -0.020446414, 0.027759548, -0.024786215, -0.045270585, -0.011311321, 0.00649705, 0.008046979, 0.022255719, 0.004336639, 0.03694525, 0.019472172, 0.027253449, 0.025368229, -0.017207377, -0.0042322557, -0.0034351493, -0.03881782, 0.025127832, 0.034617193, 0.0048047807, 0.025709847, 0.0071043693, -0.045928515, 0.04008307, 0.0052634333, 0.007812909, 0.0071233483, 0.016498838, -0.0062693055, 0.013652029, 0.002745589, 0.02603881, 0.03519921, 0.034465365, -0.010128313, -0.0069209086, 0.009717107, 0.0016187271, 0.0027930357, -0.04916755, -0.042461734, 0.015309505, -0.013032058, 0.010431972, 0.04828188, 0.008268398, 0.03026474, 0.017802045, -0.04931938, -0.0087998025, -0.013677334, 0.006623575, -0.0041942983, 0.03271932, 0.02664613, 0.011539065, -0.02689918, 0.0041721566, -0.03352908, -0.0099321995, -0.01036871, -0.037021168, 0.011551717, -0.0017460427, -0.0024846315, -0.012614526, -0.015562555, -0.009596908, 0.004187972, 0.0012937165, -0.012367803 ]
2311.01343
63
page 35, 2007. [3] Zheng Yuan, Fajie Yuan, Yu Song, Youhua Li, Junchen Fu, Fei Yang, Yunzhu Pan, and Yongxin Ni. Where to go next for recommender systems? ID vs. modality- based recommender models revisited. arXiv preprint arXiv:2303.13835, 2023. [4] Andriy Mnih and Russ R Salakhutdinov. Probabilistic matrix factorization. In NeurIPS, volume 20, 2007. [5] Ledell Wu, Adam Fisch, Sumit Chopra, Keith Adams, Antoine Bordes, and Jason Weston. Starspace: Embed all the things! In AAAI, volume 32, 2018. [6] Yehuda Koren, Steffen Rendle, and Robert Bell. Advances in collaborative filtering. Recommender systems handbook, pages 91–142, 2021. [7] Pasquale Lops, Marco De Gemmis, and Giovanni Semeraro. Content-based rec- ommender systems: State of the art and trends. Recommender systems handbook, pages 73–105, 2011.
2311.01343#63
Collaborative Large Language Model for Recommender Systems
Recently, there is a growing interest in developing next-generation recommender systems (RSs) based on pretrained large language models (LLMs), fully utilizing their encoded knowledge and reasoning ability. However, the semantic gap between natural language and recommendation tasks is still not well addressed, leading to multiple issues such as spuriously-correlated user/item descriptors, ineffective language modeling on user/item contents, and inefficient recommendations via auto-regression, etc. In this paper, we propose CLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and ID paradigm of RS, aiming to address the above challenges simultaneously. We first extend the vocabulary of pretrained LLMs with user/item ID tokens to faithfully model the user/item collaborative and content semantics. Accordingly, in the pretraining stage, a novel soft+hard prompting strategy is proposed to effectively learn user/item collaborative/content token embeddings via language modeling on RS-specific corpora established from user-item interactions and user/item features, where each document is split into a prompt consisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and a main text consisting of homogeneous item tokens or vocab tokens that facilitates stable and effective language modeling. In addition, a novel mutual regularization strategy is introduced to encourage the CLLM4Rec to capture recommendation-oriented information from user/item contents. Finally, we propose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where an item prediction head with multinomial likelihood is added to the pretrained CLLM4Rec backbone to predict hold-out items based on the soft+hard prompts established from masked user-item interaction history, where recommendations of multiple items can be generated efficiently.
http://arxiv.org/pdf/2311.01343
Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li
cs.IR
null
null
cs.IR
20231102
20231108
[ { "id": "2302.13971" }, { "id": "2206.07682" }, { "id": "2308.10053" }, { "id": "2307.02046" }, { "id": "2306.05817" }, { "id": "2205.08084" }, { "id": "2303.14524" }, { "id": "2305.07001" }, { "id": "2303.13835" }, { "id": "2303.18223" }, { "id": "2302.03735" }, { "id": "2305.00447" }, { "id": "2305.08845" }, { "id": "2104.08691" }, { "id": "2308.10837" }, { "id": "2305.06569" } ]
{ "authors": "Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li", "chunk_id": 63, "doc_id": "2311.01343", "primary_category": "cs.IR", "published": 20231102, "source": "http://arxiv.org/pdf/2311.01343", "summary": "Recently, there is a growing interest in developing next-generation\nrecommender systems (RSs) based on pretrained large language models (LLMs),\nfully utilizing their encoded knowledge and reasoning ability. However, the\nsemantic gap between natural language and recommendation tasks is still not\nwell addressed, leading to multiple issues such as spuriously-correlated\nuser/item descriptors, ineffective language modeling on user/item contents, and\ninefficient recommendations via auto-regression, etc. In this paper, we propose\nCLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and\nID paradigm of RS, aiming to address the above challenges simultaneously. We\nfirst extend the vocabulary of pretrained LLMs with user/item ID tokens to\nfaithfully model the user/item collaborative and content semantics.\nAccordingly, in the pretraining stage, a novel soft+hard prompting strategy is\nproposed to effectively learn user/item collaborative/content token embeddings\nvia language modeling on RS-specific corpora established from user-item\ninteractions and user/item features, where each document is split into a prompt\nconsisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and\na main text consisting of homogeneous item tokens or vocab tokens that\nfacilitates stable and effective language modeling. In addition, a novel mutual\nregularization strategy is introduced to encourage the CLLM4Rec to capture\nrecommendation-oriented information from user/item contents. Finally, we\npropose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where\nan item prediction head with multinomial likelihood is added to the pretrained\nCLLM4Rec backbone to predict hold-out items based on the soft+hard prompts\nestablished from masked user-item interaction history, where recommendations of\nmultiple items can be generated efficiently.", "text": "page 35, 2007.\n[3] Zheng Yuan, Fajie Yuan, Yu Song, Youhua Li, Junchen Fu, Fei Yang, Yunzhu Pan, and Yongxin Ni. Where to go next for recommender systems? ID vs. modality- based recommender models revisited. arXiv preprint arXiv:2303.13835, 2023. [4] Andriy Mnih and Russ R Salakhutdinov. Probabilistic matrix factorization. In\nNeurIPS, volume 20, 2007.\n[5] Ledell Wu, Adam Fisch, Sumit Chopra, Keith Adams, Antoine Bordes, and Jason Weston. Starspace: Embed all the things! In AAAI, volume 32, 2018.\n[6] Yehuda Koren, Steffen Rendle, and Robert Bell. Advances in collaborative filtering. Recommender systems handbook, pages 91–142, 2021.\n[7] Pasquale Lops, Marco De Gemmis, and Giovanni Semeraro. Content-based rec- ommender systems: State of the art and trends. Recommender systems handbook, pages 73–105, 2011.", "title": "Collaborative Large Language Model for Recommender Systems", "year": 2023 }
[ -0.026174702, -0.0029767563, -0.014060147, 0.012095099, 0.052712582, -0.008982151, -0.023243343, 0.044748623, -0.04342562, 0.029988063, 0.0009898201, -0.03603237, -0.029365474, 0.0050261137, 0.012789027, 0.021855487, 0.058212124, -0.017549243, 0.0044100094, 0.021933312, -0.012159952, -0.013865588, 0.0067901174, 0.04788751, 0.00042965164, -0.018677685, -0.011161215, 0.071701564, -0.0052530994, -0.027731176, 0.01897601, -0.018664716, 0.0072765155, 0.0043710973, -0.02128478, 0.024423668, -0.0015289113, 0.02697888, -0.005985939, 0.032348715, -0.023165518, 0.045890037, 0.019468894, 0.009520432, -0.009617711, 0.0019018165, -0.0045494433, -0.05375023, 0.012198864, 0.034605604, -0.060546834, -0.011757863, -0.039093435, -0.037926078, -0.010058712, 0.0052530994, -0.017808655, -0.009034034, 0.044385444, -0.0013894772, 0.00043532628, -0.019053834, -0.042050734, 0.030065887, -0.044541094, -0.0225559, -0.02256887, -0.0020704344, 0.013411616, 0.018586893, -0.01814589, 0.0139693525, 0.03330854, 0.00057273376, 0.0009776602, -0.0113298325, 0.03795202, 0.061895777, 0.0004304623, -0.021751722, 0.038963728, 0.026109848, 0.0025130569, -0.031778008, -0.077045456, -0.011939451, -0.0055546663, -0.011861628, -0.06900367, 0.034553718, -0.035357896, -0.020830808, -0.021142103, 0.021297751, 0.032115243, -0.01748439, 0.012166438, -0.041661616, 0.054735996, 0.044774566, -0.044385444, -0.030818183, -0.027393939, -0.009001607, 0.042958677, -0.024968434, -0.012127525, -0.04028673, 0.0064853076, -0.013774794, -0.07564463, 0.008670856, -0.058212124, 0.0417135, -0.021038339, -0.02679729, -0.013249484, -0.041895088, -0.046823923, 0.04744651, -0.016706152, -0.01137523, 0.02358058, -0.008813533, 0.019014923, -0.057433885, 0.006835514, -0.06583884, -0.020778926, -0.044177916, 0.017977273, -0.014773531, 0.032322776, -0.0009792815, -0.05961295, -0.022283517, 0.017951332, -0.012198864, 0.005985939, -0.050248165, 0.006446396, -0.044826448, -0.06889991, 0.0126074385, -0.020376837, -0.012276688, -0.017808655, -0.0066668964, -0.005713556, -0.011738407, -0.0038360595, -0.034501836, -0.008456841, -0.028224058, -0.071182735, -0.051778696, 0.004756973, -0.0031648302, 0.0058854166, -0.03836708, -0.0065436754, 0.005518997, -0.009293446, -0.007925046, 0.008158517, 0.027342057, -0.054009642, -0.010999082, -0.04825069, 0.01210807, 0.01169301, -0.03496878, -0.023061754, 0.0041732956, 0.040961202, 0.00068825326, 0.006718779, -0.030610653, -0.0092350785, -0.020117424, 0.026265496, -0.0051623047, -0.017328743, -0.021660928, -0.018055096, 0.006342631, -0.003644743, -0.030714417, 0.022932049, -0.00013467147, 0.0059243287, 0.03393113, 0.00011734354, 0.07232415, -0.017665979, 0.003774449, -0.0016351083, -0.015953857, 0.009436123, -0.056396235, -0.0082557965, 0.049184576, -0.017782714, 0.0077175163, -0.020299014, -0.02254293, -0.015863063, 0.007354339, -0.048380397, 0.018055096, 0.022387283, 0.0076332074, 0.054113407, 0.04064991, -0.055566117, -0.007373795, -0.0665652, 0.020104455, -0.02612282, 0.04153191, 0.0076591484, 0.06698026, 0.024449611, 0.02845753, -0.016044652, 0.014527089, 0.023152549, -0.037562903, -0.01836639, -0.005872446, 0.05183058, 0.0009314523, -0.04067585, 0.0154090915, -0.014371442, 0.0012273445, -0.026563821, 0.023269285, -0.024086433, -0.03323072, 0.038185492, 0.0070625003, 0.014643825, -0.0042089648, 0.029780533, 0.035461664, -0.01789945, -0.012750115, 0.0140212355, 0.011005567, 0.020260101, -0.014202824, 0.02464417, -0.031129478, 0.020752985, -0.07963958, -0.027912764, 0.01728983, 0.040623967, 0.031362947, -0.06174013, 0.013541322, 0.008988637, 0.034294307, -0.034216482, 0.05120799, -0.020791896, 0.026226584, 0.033879247, -0.037848257, -0.011394686, 0.0007831009, 0.028924473, 0.02086972, -0.044541094, -0.020299014, 0.01958563, 0.017237948, -0.03543572, -0.005827049, 0.025059229, -0.0017964302, 0.061532598, 0.021907369, 0.010311639, 0.024618229, 0.009890094, 0.004889922, -0.04716116, -0.0035571912, 0.042906795, -0.06640955, 0.005097452, -0.026460055, 0.015344238, 0.019481864, 0.0025535899, -0.03434619, -0.0061577996, 0.01212104, 0.014890267, -0.044126034, 0.020649219, 0.014773531, 0.03162236, 0.043555327, -0.0433478, 0.031129478, -0.0035377354, -0.003936582, 0.010934229, 0.029910238, 0.0068549705, 0.017614096, -0.065631315, -0.05629247, 0.0863843, -0.06884803, 0.0007332451, -0.07144215, -0.03413866, -0.03647337, -0.0028486715, 0.002425505, 0.014929178, -0.022867195, 0.008683827, -0.007107897, 0.015227502, -0.05395776, -0.01875551, 0.0140212355, 0.033204775, 0.013930441, -0.0076915747, -0.061221305, 0.0009103751, 0.027860882, -0.014073118, 0.038444903, -0.06698026, -0.019313246, -0.035098486, -0.0068419995, -0.0148643255, 0.008074208, -0.021868458, 0.0068549705, 0.021777663, 0.0072116624, 0.014163912, -0.07434757, 0.01872957, -0.038626492, 0.00042762497, -0.021155074, 0.016693182, -0.015992768, -0.02041575, -0.019313246, 0.000761213, 0.007899105, 0.015071855, -0.023541667, 0.0037841771, 0.023684343, -0.043503445, -0.026187673, -0.008391988, -0.030480945, -0.010999082, -0.0023395747, -0.08410147, -0.011226067, -0.017173095, 0.020324955, -0.0019780188, 0.022257576, -0.020311983, 0.053231407, 0.0039268536, -0.0012605817, -0.0011714087, 0.008054752, 0.023865933, 0.0024125346, -0.040312674, -0.015331267, -0.037199724, 0.0023687587, -0.03605831, -0.032478422, -0.04617539, -0.018742539, 0.035072543, -0.01148548, -0.0000047373146, 0.027809, 0.03880808, 0.00884596, 0.008482782, 0.017575184, 0.05541047, 0.019845042, -0.016693182, 0.052530993, 0.020376837, 0.03224495, 0.0031275398, -0.009176711, 0.04861387, -0.0775124, 0.013100321, 0.019754248, -0.021323692, 0.035721075, 0.023074726, 0.019741276, 0.04679798, 0.05624059, 0.021103192, 0.012205349, -0.012763086, -0.07351745, -0.01600574, 0.0008536286, 0.003654471, -0.04321809, 0.03660308, -0.057641417, -0.059457302, 0.05040381, 0.07450321, -0.03898967, 0.00013913012, -0.030403122, 0.06215519, 0.04905487, 0.023282254, -0.033775482, 0.009124828, 0.017173095, -0.05084481, 0.024696052, 0.014617884, -0.030662535, 0.010811008, 0.033334482, -0.00062258955, 0.024021579, -0.03854867, -0.035591368, 0.031778008, 0.011660583, -0.039041553, -0.03398301, 0.014254706, -0.023126608, 0.015564739, 0.031518597, 0.0027254506, 0.032478422, -0.015019973, -0.026745409, 0.03242654, -0.009714991, -0.019961778, 0.008333621, 0.010733184, -0.003917126, 0.05292011, -0.033853307, -0.0079574725, -0.017665979, -0.010506199, 0.0025535899, -0.012873336, 0.027238293, 0.008599518, -0.004834797, 0.010914773, -0.027990589, 0.0076591484, 0.054476585, 0.019313246, 0.035747018, -0.0070884414, -0.0076915747, 0.0039300965, 0.0077499426, 0.0032864297, -0.006138344, 0.048406336, -0.013943411, -0.047342747, -0.026485996, -0.014903237, -0.007801825, -0.03644743, 0.01643377, -0.012600953, 0.0031064623, -0.060858127, 0.026109848, 0.004750488, -0.013087351, 0.00093955896, 0.034475897, 0.019300276, 0.05164899, -0.0010060334, -0.0048866794, -0.0074321628, 0.009332358, 0.035695136, 0.046486687, -0.046927687, -0.004001435, -0.011459539, 0.037874196, -0.012406394, 0.027860882, -0.0045202593, -0.014099059, 0.0022455377, -0.015525827, -0.013813705, -0.054061525, 0.0011203369, -0.032582186, -0.0037549932, 0.016381888, 0.02128478, 0.02023416, -0.014073118, 0.0074905306, -0.0032718377, -0.01621327, -0.014215794, -0.0066733817, 0.006978191, 0.026926998, -0.015642563, 0.02695294, -0.006978191, -0.009513946, 0.0009103751, -0.007419192, -0.0063102045, 0.02086972, 0.037848257, -0.042932738, -0.017147154, 0.026265496, -0.01814589, -0.0170823, 0.013865588, -0.039482553, 0.009390726, -0.0045494433, -0.0031713154, -0.032089304, -0.015357208, 0.04739463, -0.014047177, -0.0070560146, 0.01834045, 0.01749736, 0.0022520232, 0.009870638, 0.0047667013, -0.012354511, 0.017756773, -0.0036577135, 0.0076396926, -0.025733702, 0.023450872, -0.0037387798, -0.011076906, 0.0096436525, -0.042413913, -0.014786501, -0.01814589, 0.026057966, 0.0052498565, 0.0023022844, -0.015473944, 0.020000689, 0.026823232, 0.03966414, 0.039949495, -0.035928603, -0.02569479, -0.02297096, -0.018483127, 0.014410354, 0.034813132, -0.008301194, 0.0019277578, 0.042102616, 0.0028065168, -0.0038101182, -0.049833104, -0.028535355, -0.018210744, 0.031440772, 0.016550506, 0.021297751, -0.012575012, 0.025098141, -0.007996384, -0.022270547, -0.03227089, -0.03141483, -0.05076699, -0.0019861255, -0.020791896, 0.0017218492, 0.023204431, -0.012464762, -0.015927916, -0.059561066, -0.00068136264, 0.018249655, 0.02801653, 0.0023525453, 0.015240473, -0.018003214, 0.008093664, -0.02949518, 0.038652435, -0.017380625, 0.006770661, 0.01706933, -0.039482553, -0.015149679, 0.023619492, 0.01876848, 0.010149507, 0.0030189108, 0.003774449, 0.0096955355, 0.019637512, -0.030273417, 0.0042835455, -0.008807048, -0.0062745353, 0.011705981, -0.042284206, -0.0120367315, -0.042258266, -0.037796374, 0.026641645, 0.004234906, 0.022815313, -0.007607266, 0.024332875, 0.02697888, 0.02214084, -0.025993114, -0.03351607, -0.019819101, 0.008709768, -0.039534435, -0.009034034, 0.026849175, 0.015032943, 0.0225559, 0.0089626955, 0.019222451, -0.0037549932, -0.017730832, -0.010188418, 0.03629178, 0.018171832, -0.04150597, 0.005421717, -0.00738028, -0.03336042, 0.031025711, -0.027056703, 0.018586893, -0.023217402, -0.017186066, 0.018599862, -0.018846305, 0.024747934, -0.02085675, 0.01661536, -0.016355947, 0.0008568713, -0.010564567, 0.027056703, 0.007036559, -0.004030619, 0.008152032, 0.0012897656, 0.013028983, -0.026641645, -0.08939348, -0.00039884643, -0.006653926, -0.0024433397, -0.0075942953, 0.008884871, -0.032841597, -0.025175964, 0.0049774735, 0.019391071, -0.01622624, -0.027523646, -0.023917815, -0.008865416, -0.00068501063, -0.041246556, -0.0053730775, 0.034475897, 0.01516265, -0.004513774, -0.032945365, -0.037407257, 0.03582484, -0.0046986053, 0.004909378, -0.010201389, -0.02085675, -0.051597107, 0.004974231, -0.03642149, 0.0046986053, 0.007458104, 0.022724519, 0.0104867425, 0.0031664516, -0.01579821, -0.0051623047, -0.023891874, 0.009176711, 0.004218693, 0.012484217, -0.020363865, -0.025642907, 0.0113882, 0.03242654, 0.029650828, -0.0019228937, 0.009818756, -0.013093837, -0.0024417185, -0.013580235, -0.06314096, 0.010700758, -0.0057362546, -0.0043613696, -0.005574122, -0.019559689, 0.0191576, -0.024618229, -0.016771005, 0.05795271, 0.024670111, 0.04176538, -0.013891529, 0.01582415, 0.013385675, -0.033412304, -0.02256887, -0.0011138516, -0.026875116, -0.013217057, 0.00021583914, 0.022244606, 0.018275598, -0.036629017, 0.061169423, 0.0077888547, -0.011239038, 0.033775482, -0.042517677, 0.018042127, -0.027731176, -0.00117303, 0.024047522, -0.021855487, -0.021622015, -0.029183885, -0.017017448, 0.0055611515, 0.029365474, -0.034242425, -0.011466024, 0.034683425, 0.006199954, -0.03917126, -0.013437558, 0.02591529, -0.008742195, -0.097487144, 0.0026670827, 0.02695294, -0.00073365046, 0.0145660015, 0.017925391, 0.05284229, 0.016446741, 0.030273417, -0.018716598, -0.0011616808, -0.02381405, 0.018392332, -0.007860193, -0.023554638, -0.03346419, 0.017588155, -0.0116281565, 0.036084253, 0.0009760388, 0.0011860006, 0.011115817, -0.023256313, 0.014150942, -0.010013315, 0.0060475497, 0.017847568, -0.011589245, -0.00896918, -0.009137799, -0.023904845, -0.040364556, -0.010272727, 0.04324403, -0.031103536, 0.033152893, -0.0053925333, -0.004575385, -0.016420798, -0.014397383, -0.0017883236, -0.015850091, -0.00097522815, -0.0043321857, 0.05390588, -0.034683425, 0.026278468, -0.012724174, 0.018573921, -0.0036123164, 0.016758036, 0.00019871388, -0.010253271, -0.022088958, 0.002013688, 0.019105716, 0.022452135, -0.009546373, 0.035772957, -0.005227158, 0.002444961, -0.015551768, 0.038963728, -0.027290175, -0.022724519, -0.012516644, -0.020273073, 0.022283517, -0.026563821, 0.005788137, -0.017199036, 0.04090932, 0.010344066, 0.017108241, -0.006284263, 0.012127525, 0.028146235, 0.010908288, -0.015071855, -0.0010846677, 0.02636926, -0.02382702, -0.009397211, 0.030688476, -0.037796374, -0.00045559288, -0.003208606, 0.0002095565, 0.0059729684, 0.03496878, 0.027471764, -0.012153467, -0.0016586174, -0.015979799, -0.017017448, -0.016874772, -0.0058043506, 0.037381314, 0.014280648, -0.014708678, 0.034449954, 0.020389808, -0.043529384, 0.029391415, 0.026745409, 0.003913883, -0.0035053089, -0.040416438, 0.029183885, 0.026615703, 0.0031567235, -0.000419113, -0.037070017, 0.0065890728, 0.029573003, 0.017302802, -0.008041781, 0.033619836, -0.00938424, 0.02718641, 0.0139045, -0.020078512, -0.018470157, 0.007996384, -0.02636926, -0.013839647, 0.010584022, 0.03673278, 0.007775884, 0.013197601, 0.018599862, 0.032400597, 0.003521522, -0.017315771, -0.017406566, 0.04931428, 0.036577135, 0.035591368, -0.050429754, 0.02801653, 0.030610653, 0.0025827738, -0.024799816, -0.0006400188, 0.029780533, 0.011109333, -0.038185492, -0.0064982786, -0.012750115, -0.011725436, 0.013982324, -0.011089876, -0.0127566, 0.04132438, 0.0026395202, 0.054269057, -0.0047926423, -0.029080119, 0.039508495, 0.04324403, -0.0061026746, 0.03917126, 0.025837466, -0.02716047, 0.028068412, -0.06397107, -0.007315427, -0.021777663, -0.009637168, 0.0026719468, -0.029080119, 0.005360107, 0.02232243, 0.03727755, -0.009364785, 0.029183885, 0.034008954, -0.031674244, 0.027342057, -0.009027548, 0.015642563, -0.0026654615, -0.033334482, -0.015344238, 0.022594811, 0.0075164717, 0.0045008035, 0.0033788453, -0.010862891, 0.025733702, 0.041298438, -0.009559344, 0.018288568, 0.04946993, 0.033023186, -0.015525827, -0.015305326, 0.029988063, 0.0029670282, 0.0029183885, -0.01998772, 0.012600953, 0.005395776, 0.02212787, -0.030584712, -0.006164285, 0.009624197, -0.00970202, -0.018522039, -0.006209682, -0.028924473, 0.02569479, 0.0025276486, 0.013204087, -0.004212207, -0.025772613, 0.0015548526, 0.020714073, -0.045033976, 0.018081037, -0.021634987, -0.034112718, -0.0653719, 0.016991505, 0.020182278, -0.008359562, 0.01621327, 0.0030983558, -0.026473027, 0.015007002, 0.0070495293, 0.023048785, -0.0016699667, -0.0053795627, -0.011368744, -0.0018758753, -0.038885906, 0.016848829, 0.0013765065, -0.0057005854, 0.034475897, 0.027679294, 0.019248394, -0.030273417, 0.023269285, -0.023334138, 0.018197773, 0.017847568, 0.00037006786, -0.020337924, -0.01668021, 0.0096955355, 0.029650828, -0.0073413686, -0.01043486, -0.025876379, -0.01295116, 0.004646723, 0.015292356, 0.007613751, 0.019935835, -0.006041064, -0.018599862, -0.026615703, 0.022309458, -0.011751378, 0.008022326, 0.011187156, -0.0061675278, -0.013658058, -0.054113407, 0.018314509, -0.014617884, 0.02697888, -0.0072376034, 0.015668504, -0.006615014, -0.025396464, 0.01895007, 0.0116022155, -0.015837122, 0.00063029083, -0.04946993, 0.018859275, 0.009954947, -0.0053438935, -0.00010290359, -0.012302629, 0.04028673, -0.019001951, 0.013528352, 0.031259183, -0.021012397, 0.010817493, -0.010292184, -0.01559068, -0.033386365, 0.006446396, 0.038859963, 0.0036317722, 0.02360652, 0.006089704, 0.02760147, -0.003104841, 0.01747142, 0.017302802, 0.026382232, -0.028172176, 0.010233816, -0.014215794, -0.0039657657, -0.018042127, 0.0045883553, -0.036940314, 0.022413224, -0.010279213, -0.017160125, -0.0043873107, -0.009351814, -0.0031453744, 0.0095334025, -0.01264635, 0.014786501, 0.004841282, -0.011725436, -0.005055297, 0.05836777, 0.0028746126, -0.0026395202, 0.021777663, -0.010823979, 0.009189681, -0.003521522, -0.0028227302, -0.029443298, -0.014462236, -0.014280648, 0.04469674, -0.0057913796, -0.015110767, 0.016161388, 0.01168004, 0.031362947, 0.010590508, 0.018029155, -0.00801584, 0.02234837, 0.0040825014, -0.0013765065, -0.021647958, 0.057900827, 0.014643825, -0.016822888, -0.018068068, -0.002811381, 0.035280075, -0.005684372, 0.040572084, -0.019650482, -0.017549243, 0.008372532, 0.028716942, 0.01771786, -0.012724174, -0.025642907, -0.020182278, 0.0007676983, -0.0018856032, -0.008534665, -0.0022520232, -0.0018920886, 0.0069457646, 0.024384758, -0.018885216, 0.033334482, -0.00013913012, 0.02005257, -0.04672016, -0.028924473, 0.056551885, 0.02422911, -0.020752985, -0.04072773, 0.034034897, -0.046668276, 0.015331267, -0.029988063, 0.041013084, 0.006803088, 0.0099419765, 0.04168756, -0.014591943, 0.019676425, 0.0191576, 0.021868458, -0.001587279, -0.0252927, 0.012918733, -0.0029767563, -0.010953684, -0.016278122, 0.013606176, 0.003823089, -0.025150023, -0.023308195, 0.008820019, -0.0088265035, 0.04677204, 0.025137052, 0.039275024, -0.049080808, 0.0055773645, -0.030039946, 0.028224058, -0.01474759, -0.035928603, 0.0011762726, -0.015110767, -0.0035312502, -0.009455578, -0.0134505285, 0.012069157, -0.006520977, -0.00832065, 0.031544536, 0.016394857, -0.020000689, 0.012665806, 0.023165518, 0.014734619, 0.014851355, 0.008897842, -0.03014371, 0.030870065, 0.0055287248, -0.014786501, 0.04360721, 0.009254534, -0.027238293, 0.029339531, -0.02863912, 0.026083907, 0.046875805, 0.024747934, 0.010084653, -0.0029929695, -0.022815313, -0.0072700297, 0.010201389, 0.006556646, -0.015019973, -0.014514118, -0.0029410871, 0.018898187, -0.023697315, 0.01645971, -0.06137695, 0.013385675, 0.010817493, -0.0062064393, 0.00075067434, 0.0120367315, 0.04801722, 0.005360107, -0.0032815656, -0.010739669, -0.002167714, -0.0012921976, -0.0060864612, -0.034709368, 0.023567608, 0.022659665, 0.005930814, -0.0076850895, -0.016965564, -0.027938705, 0.04158379, -0.023775138, -0.003998192, 0.021012397, -0.031362947, 0.008508724, 0.021466369, 0.014890267, 0.038704317, 0.009338843, -0.005600063, -0.007399736, 0.008035297, -0.02636926, -0.011945937, 0.03260813, -0.033152893, 0.00022962043, 0.0016845587, -0.0073673096, -0.0067252642, -0.007347854, 0.056863178, -0.006193469, -0.017977273, 0.013865588, 0.045215566, 0.025668848, 0.038652435, 0.007821281, 0.0010246786, -0.044151977, -0.0023622734, 0.011842172, 0.0052822833, -0.0077175163, -0.0033302056, -0.03660308, 0.04277709, -0.015214532, -0.024268022, -0.013645087, -0.009390726, -0.0043192147, -0.003129161, -0.0037971477, -0.013580235, 0.004834797, -0.010467287, -0.011673554, -0.011037994, 0.0009209137, 0.0010879104, 0.010331095, -0.02446258, -0.008593033, 0.012691747, -0.04469674, 0.005570879, -0.012659321, -0.017160125, -0.0109472, -0.002153122, 0.001021436, -0.0252927, 0.0038068756, -0.012497188, 0.013878559, 0.0033561469, 0.024968434, -0.009423153, -0.000082789, 0.020324955, 0.009935492, -0.012451791, -0.005807593, -0.020752985, -0.014384412, 0.028224058, -0.014086088, -0.016965564, 0.014890267, 0.030039946, 0.026278468, -0.009870638, -0.008631945, 0.0038814568, 0.030584712, 0.029884297, 0.016783977, 0.03709596, 0.05873095, -0.018625803, 0.029806474, 0.011427112, -0.008547636, -0.024618229, -0.007036559, -0.020804867, 0.016096534, 0.021077251, -0.030688476, 0.024955465, 0.004140869, 0.030584712, -0.005875689, 0.012776056, -0.024825757, -0.003868486, 0.0007879649, -0.0039949496, -0.014695708, 0.0026914028, -0.0013286774, -0.0035020662, -0.007866678, -0.0097993, 0.012198864, -0.015019973, 0.064593665, 0.035539486, 0.002548726, -0.006358844, 0.005895145, -0.009903065, 0.015331267, -0.01560365, -0.047498394, 0.036629017, -0.017782714, -0.008884871, 0.018171832, -0.0195986, 0.002454689, -0.030065887, 0.0018920886, -0.017121213, -0.037044078, 0.012354511, 0.012101584, -0.04090932, 0.031155419, -0.031155419, -0.028172176, 0.011621672, 0.022153812, -0.0016878013, 0.009059975, -0.013307852, 0.005956755, 0.031700183, -0.012944674, 0.014163912, -0.012821454, 0.025552113, 0.015097796, 0.049392104, 0.005087724, 0.0013262455, -0.009721477, -0.03935285, 0.028509412, -0.013891529, 0.010953684, 0.013878559, 0.023969697, 0.0022439165, -0.021634987, -0.032400597, -0.00027157227, -0.0075099864, -0.0437888, -0.029054178, 0.039145317, 0.010596992, -0.020467632, 0.024812788, -0.0008998364, 0.029832415, 0.035046604, 0.008152032, 0.007950988, -0.005386048, 0.0127566, 0.014630854, 0.007879649, -0.01749736, 0.022179753, 0.013982324, 0.004844525, 0.034449954, 0.029728651, -0.0073932507, -0.0049709883, -0.008949725, -0.01645971, 0.035928603, -0.012224806, 0.042232323, 0.009611226, 0.017795684, 0.037848257, 0.0042024795, -0.0093712695, 0.04505992, -0.011005567, -0.0051947315, 0.024812788, -0.027082644, 0.012678777, 0.011433598, 0.004037104, 0.017224977, -0.0040533175, -0.026460055, 0.00959177, -0.0064593665, 0.007043044, 0.013197601, 0.037225667, 0.03434619, -0.0032815656, 0.01704339, 0.0073024565, 0.024410699, 0.03323072, -0.005713556, 0.007963958, 0.03336042, 0.025279729, -0.0048283115, -0.016485652, 0.0036382577, 0.0073673096, -0.026926998, -0.0109472, 0.016809918, -0.011440082, 0.013567264, 0.02088269, -0.024021579, -0.020078512, -0.02760147, -0.01180326, 0.011381716, 0.048095044, 0.0105386255, 0.017678948, -0.030766299, -0.020804867, -0.04469674, -0.009280476, -0.0052595846, -0.02252996, 0.0077499426, -0.0054930556, -0.015019973, -0.0012703097, 0.025746671, -0.0011633021, 0.016550506, -0.0019504563, -0.010395948 ]
2311.01343
64
[8] Yaochen Zhu, Jing Ma, Liang Wu, Qi Guo, Liangjie Hong, and Jundong Li. Path- In SIGKDD, page specific counterfactual fairness for recommender systems. 3638–3649, 2023. [9] Wayne Xin Zhao, Kun Zhou, Junyi Li, Tianyi Tang, Xiaolei Wang, Yupeng Hou, Yingqian Min, Beichen Zhang, Junjie Zhang, Zican Dong, et al. A survey of large language models. arXiv preprint arXiv:2303.18223, 2023. [10] Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. In NeurIPS, volume 30, 2017. [11] Alec Radford, Karthik Narasimhan, Tim Salimans, Ilya Sutskever, et al. Improving language understanding by generative pre-training. 2018.
2311.01343#64
Collaborative Large Language Model for Recommender Systems
Recently, there is a growing interest in developing next-generation recommender systems (RSs) based on pretrained large language models (LLMs), fully utilizing their encoded knowledge and reasoning ability. However, the semantic gap between natural language and recommendation tasks is still not well addressed, leading to multiple issues such as spuriously-correlated user/item descriptors, ineffective language modeling on user/item contents, and inefficient recommendations via auto-regression, etc. In this paper, we propose CLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and ID paradigm of RS, aiming to address the above challenges simultaneously. We first extend the vocabulary of pretrained LLMs with user/item ID tokens to faithfully model the user/item collaborative and content semantics. Accordingly, in the pretraining stage, a novel soft+hard prompting strategy is proposed to effectively learn user/item collaborative/content token embeddings via language modeling on RS-specific corpora established from user-item interactions and user/item features, where each document is split into a prompt consisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and a main text consisting of homogeneous item tokens or vocab tokens that facilitates stable and effective language modeling. In addition, a novel mutual regularization strategy is introduced to encourage the CLLM4Rec to capture recommendation-oriented information from user/item contents. Finally, we propose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where an item prediction head with multinomial likelihood is added to the pretrained CLLM4Rec backbone to predict hold-out items based on the soft+hard prompts established from masked user-item interaction history, where recommendations of multiple items can be generated efficiently.
http://arxiv.org/pdf/2311.01343
Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li
cs.IR
null
null
cs.IR
20231102
20231108
[ { "id": "2302.13971" }, { "id": "2206.07682" }, { "id": "2308.10053" }, { "id": "2307.02046" }, { "id": "2306.05817" }, { "id": "2205.08084" }, { "id": "2303.14524" }, { "id": "2305.07001" }, { "id": "2303.13835" }, { "id": "2303.18223" }, { "id": "2302.03735" }, { "id": "2305.00447" }, { "id": "2305.08845" }, { "id": "2104.08691" }, { "id": "2308.10837" }, { "id": "2305.06569" } ]
{ "authors": "Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li", "chunk_id": 64, "doc_id": "2311.01343", "primary_category": "cs.IR", "published": 20231102, "source": "http://arxiv.org/pdf/2311.01343", "summary": "Recently, there is a growing interest in developing next-generation\nrecommender systems (RSs) based on pretrained large language models (LLMs),\nfully utilizing their encoded knowledge and reasoning ability. However, the\nsemantic gap between natural language and recommendation tasks is still not\nwell addressed, leading to multiple issues such as spuriously-correlated\nuser/item descriptors, ineffective language modeling on user/item contents, and\ninefficient recommendations via auto-regression, etc. In this paper, we propose\nCLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and\nID paradigm of RS, aiming to address the above challenges simultaneously. We\nfirst extend the vocabulary of pretrained LLMs with user/item ID tokens to\nfaithfully model the user/item collaborative and content semantics.\nAccordingly, in the pretraining stage, a novel soft+hard prompting strategy is\nproposed to effectively learn user/item collaborative/content token embeddings\nvia language modeling on RS-specific corpora established from user-item\ninteractions and user/item features, where each document is split into a prompt\nconsisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and\na main text consisting of homogeneous item tokens or vocab tokens that\nfacilitates stable and effective language modeling. In addition, a novel mutual\nregularization strategy is introduced to encourage the CLLM4Rec to capture\nrecommendation-oriented information from user/item contents. Finally, we\npropose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where\nan item prediction head with multinomial likelihood is added to the pretrained\nCLLM4Rec backbone to predict hold-out items based on the soft+hard prompts\nestablished from masked user-item interaction history, where recommendations of\nmultiple items can be generated efficiently.", "text": "[8] Yaochen Zhu, Jing Ma, Liang Wu, Qi Guo, Liangjie Hong, and Jundong Li. Path- In SIGKDD, page specific counterfactual fairness for recommender systems. 3638–3649, 2023.\n[9] Wayne Xin Zhao, Kun Zhou, Junyi Li, Tianyi Tang, Xiaolei Wang, Yupeng Hou, Yingqian Min, Beichen Zhang, Junjie Zhang, Zican Dong, et al. A survey of large language models. arXiv preprint arXiv:2303.18223, 2023.\n[10] Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. In NeurIPS, volume 30, 2017.\n[11] Alec Radford, Karthik Narasimhan, Tim Salimans, Ilya Sutskever, et al. Improving language understanding by generative pre-training. 2018.", "title": "Collaborative Large Language Model for Recommender Systems", "year": 2023 }
[ -0.011478966, 0.00018297796, 0.028258014, 0.0154233705, 0.0018070005, -0.031555235, -0.026541278, 0.055180788, -0.054199796, 0.019088466, 0.024933541, -0.048804343, -0.0179031, 0.011274593, 0.031664234, 0.0016528689, 0.021268448, -0.0064786333, 0.025328662, 0.044934873, -0.029184505, -0.011417654, -0.015900241, 0.016104614, 0.03373522, 0.012385021, -0.016417988, 0.054281548, 0.0044519315, -0.020287456, -0.0025120883, -0.01787585, -0.011056595, 0.021704443, -0.030056499, 0.03103749, 0.00085751625, 0.0052047065, -0.009857605, 0.0026875087, -0.019388212, -0.030601494, 0.0020658732, 0.0070781284, -0.0011138344, 0.026813775, 0.025601162, -0.018952217, -0.0268819, 0.047033105, -0.047360104, 0.0049356148, -0.035315704, -0.033953216, 0.003627626, 0.01611824, 0.003242723, 0.0089788, 0.025274163, -0.015205373, 0.013270639, -0.04338164, -0.034034964, 0.054063547, -0.06747044, -0.04395388, -0.03466171, -0.012439521, 0.015654994, -0.0015234326, 0.009196798, 0.00043195146, 0.029566003, -0.0049288026, -0.0065740077, 0.0023162307, 0.010279977, 0.0717214, -0.02874851, -0.024415797, 0.0076026865, 0.024688294, 0.010102853, -0.03215473, -0.053518552, -0.033898715, -0.021718068, 0.004424682, -0.06523596, 0.0012705206, -0.01430613, 0.0007459625, -0.023652801, 0.005412486, 0.030002, 0.010961221, 0.06103949, 0.008304368, 0.03937592, 0.021867942, -0.018161973, -0.03196398, 0.010423038, -0.017766852, 0.025819158, -0.0073301885, -0.029211756, -0.063600965, 0.02395255, 0.009625982, -0.12513095, 0.018270971, -0.02562841, 0.009939354, -0.030492496, -0.04079291, -0.06757943, -0.019728836, -0.025764659, 0.04528912, -0.027767519, 0.0004487697, 0.010675098, -0.024729168, -0.012405459, -0.021799818, 0.029620502, -0.074555375, 0.00076043897, -0.020614453, 0.011540279, -0.0011427873, 0.010715973, 0.02632328, -0.025887283, -0.061202988, 0.010974846, 0.0003776648, -0.041283406, -0.020151207, 0.011608403, -0.022889808, -0.0536003, 0.01143128, -0.057878517, -0.037604686, -0.015041874, -0.019115714, -0.017126482, 0.029184505, -0.03466171, -0.016050115, -0.0020096707, 0.014169881, -0.061366487, -0.037604686, -0.014129007, 0.06283797, 0.0030349432, -0.07542737, 0.022739936, 0.031854983, -0.013631699, 0.0059268256, 0.017085606, -0.010538849, -0.027876517, -0.0053034867, -0.02150007, -0.046760608, 0.0050957073, -0.0104366625, -0.010096041, -0.030655993, 0.020219332, -0.0060664807, 0.00034062215, -0.03324472, -0.03934867, -0.04765985, 0.02674565, 0.012677956, -0.0142380055, -0.0059677, -0.03370797, -0.014060882, 0.020628078, 0.00571564, -0.012834643, 0.03714144, 0.011111095, 0.04300014, 0.042509645, 0.07526387, -0.019183839, -0.026200656, 0.048640843, 0.004032966, -0.007847934, -0.033271972, 0.007868372, 0.040057164, -0.05776952, -0.02863951, 0.00285782, -0.029620502, -0.018897718, 0.0028152422, -0.06921442, 0.01798485, 0.031609736, 0.026841026, 0.05842351, 0.022412937, -0.04212815, 0.023911675, -0.04547987, 0.020260205, -0.011642465, 0.05035758, 0.02888476, 0.043109138, 0.06376447, 0.0077321227, -0.03215473, 0.019919584, 0.02565566, -0.028966507, 0.018638844, -0.0071598776, 0.061693482, -0.0058689197, -0.018270971, -0.026473153, -0.0011828104, -0.027563144, 0.008174932, 0.022494687, 0.0036548756, -0.05722452, 0.0037945309, 0.020600827, 0.017140107, 0.023571054, 0.042482395, 0.053409554, -0.043299887, -0.030601494, 0.011247343, -0.0048368345, 0.02032833, -0.032045733, -0.0013028798, -0.017003858, -0.0019602806, -0.052210562, -0.011172406, -0.019142965, 0.02587366, 0.037877183, -0.057933014, 0.0056236717, -0.033299223, 0.037413936, -0.0077593727, 0.00015721841, -0.047114857, 0.013965508, 0.012998141, -0.029293505, -0.011308655, 0.0017473917, 0.040411413, -0.00065867807, -0.04520737, -0.021540945, 0.05864151, 0.022549186, -0.025614785, 0.00421009, -0.020123957, 0.009094612, 0.048504595, 0.053055305, -0.0039375923, -0.0057292646, 0.0128073925, -0.017821351, -0.045834117, -0.010211852, 0.05539879, -0.03234548, 0.011056595, -0.03588795, 0.029239004, -0.00088476605, 0.012344147, 0.0026977274, 0.018134722, -0.02169082, 0.036732692, -0.03973017, 0.017589727, 0.00906055, 0.03248173, 0.01684036, -0.023489304, 0.017003858, 0.044907626, -0.012350959, 0.033653468, 0.018638844, -0.022821683, 0.024783667, -0.057824016, -0.05395455, 0.06098499, -0.03697794, 0.0045575243, -0.050875325, -0.057933014, 0.003307441, 0.0016980014, 0.014701252, -0.018448096, 0.013120765, 0.024007048, -0.03733219, -0.0052081128, -0.028585011, 0.0030366464, 0.041147158, 0.044389877, 0.022753559, -0.022154065, -0.033925965, -0.030383496, 0.042155396, 0.0027488207, 0.011288218, -0.07542737, 0.0057531083, -0.009905292, -0.046760608, -0.024238672, 0.0044996184, -0.010232289, 0.029157257, 0.048259348, 0.029484253, 0.017725976, -0.052074313, 0.030846741, -0.01015054, -0.011356343, 0.011533466, -0.011853651, -0.017194606, 0.012834643, -0.0059438567, -0.0073165637, 0.02632328, 0.047033105, -0.009987041, 0.016077366, -0.015573245, -0.042237148, 0.00067230297, 0.0037843122, 0.009905292, -0.016240865, 0.015150873, -0.03130999, -0.012412271, -0.023353055, 0.0065467576, -0.009510171, 0.0013403482, -0.011737839, 0.033816967, -0.01622724, 0.0012594505, -0.01619999, -0.014265256, 0.004581368, 0.02373455, -0.03733219, -0.025519412, -0.00889705, -0.017412605, -0.009101423, -0.018298222, -0.023380304, 0.030846741, 0.020818826, -0.0050480203, 0.009012862, 0.043136388, 0.033898715, 0.026854651, 0.010102853, 0.014592253, 0.028503262, 0.017467104, 0.02197694, 0.054363295, -0.017112857, 0.036596444, 0.01076366, 0.008372492, 0.03196398, -0.03449821, 0.011812776, 0.0029702252, -0.03561545, 0.0050514266, 0.043708634, 0.03133724, 0.0129572665, 0.03477071, 0.017276356, 0.014020008, -0.021173073, -0.07292039, -0.011083845, -0.0025478536, 0.030655993, -0.0269909, 0.03220923, -0.06806993, -0.06267448, 0.06234748, 0.05033033, -0.03697794, 0.0004023599, -0.06523596, 0.07580887, 0.052101564, 0.019578962, -0.056679524, -0.0063730404, 0.0041113095, -0.06469096, -0.016009241, 0.015736744, 0.018012099, 0.00061141676, 0.016295364, 0.03466171, -0.01444238, -0.0011547091, -0.01249402, 0.030274497, 0.00889705, -0.016990233, -0.0037195939, 0.03101024, 0.006107355, 0.028094515, 0.03207298, 0.03605145, 0.024661044, -0.058260012, -0.04528912, 0.0028407888, 0.0121670235, -0.0064343526, 0.007963746, 0.013257015, -0.0036071886, 0.021350196, -0.024361296, -0.028367013, -0.02760402, 0.009169549, 0.0134477625, 0.012759706, -0.0062606353, -0.00889705, -0.025642036, -0.004887928, -0.0030400527, 0.055453286, 0.026159782, 0.017194606, 0.032726977, 0.011901338, -0.028530512, 0.017821351, -0.009789481, -0.013386451, -0.0044178693, 0.046024866, -0.015477871, -0.0417194, 0.0066285073, 0.009169549, -0.0044825873, -0.013938258, -0.015069124, -0.038558427, -0.03242723, -0.018557094, 0.018584345, -0.0050650514, -0.022494687, 0.024661044, 0.05526254, 0.044989374, 0.06572645, 0.00068592787, -0.023530178, -0.023571054, -0.007432375, 0.036923442, 0.029947499, -0.014074507, 0.03332647, -0.0104026, 0.053545803, -0.017289981, 0.00415559, -0.011751465, -0.02632328, 0.027154397, -0.045970365, -0.0078751845, -0.03346272, -0.022181315, -0.010348101, 0.042482395, 0.0132025145, 0.026582154, -0.0015949633, -0.039321423, -0.0120171495, 0.037686434, -0.014142632, -0.03114649, 0.010007479, 0.0008941331, 0.04101091, -0.0014987375, 0.02626878, 0.010504787, -0.0033346908, 0.026691152, -0.0050514266, -0.029484253, -0.0022753559, 0.039048925, -0.009830356, -0.01606374, -0.009775856, -0.013713447, -0.024320422, 0.0044349004, -0.034552712, -0.018502595, -0.038830925, 0.025369538, -0.033844218, 0.0004466408, 0.035697203, -0.034579962, -0.007459625, -0.010021104, -0.0013778165, 0.04673336, 0.005167238, -0.054172546, -0.021622695, 0.022017816, -0.014374255, 0.010477537, -0.03354447, 0.047414605, 0.015232623, -0.0005424408, 0.009046924, -0.028585011, 0.006952098, 0.013481825, 0.013400075, -0.0177941, 0.008958363, -0.0014834094, -0.007990995, -0.018938592, 0.023216806, 0.069105424, -0.031909484, -0.03229098, -0.008134057, -0.04673336, 0.025383163, 0.02690915, -0.011090658, -0.023857176, 0.038912676, 0.011826401, 0.007956933, -0.034416463, -0.030546995, -0.00387628, 0.010334476, -0.014183506, -0.00022268173, 0.008651802, 0.0026892119, 0.0054669855, -0.04068391, -0.033299223, -0.03212748, -0.018093849, -0.0017354699, -0.04430813, -0.01112472, 0.02024658, -0.022385688, 0.005657734, -0.08169482, -0.0070031914, 0.018775092, 0.02027383, 0.0030655994, -0.02280806, 0.010797722, 0.005398861, -0.020478204, -0.016908484, -0.018979466, 0.030846741, 0.024688294, -0.007745748, -0.011513028, 0.01079091, 0.015859367, 0.017603353, -0.008794864, 0.014115382, -0.018911341, 0.019592587, -0.0037945309, 0.015382497, -0.012010337, -0.017657852, 0.024783667, -0.013515887, 0.00071700965, -0.014033632, -0.04196465, 0.033762466, 0.0036821254, 0.024606545, -0.023271305, -0.007262064, -0.009367109, 0.004383807, 0.004325901, -0.041501403, -0.010579724, -0.0011921775, -0.025533037, -0.017712351, 0.039811917, 0.020832451, 0.019251963, 0.012303272, -0.0071190028, -0.043408886, 0.004043185, 0.012432708, 0.025328662, -0.019251963, -0.032045733, 0.021963317, -0.024633793, 0.0039273733, 0.0039273733, -0.015259872, 0.031745985, -0.039021675, -0.037822682, 0.033026725, 0.0025001667, 0.022944309, -0.012562145, 0.012466771, -0.017194606, -0.025192413, -0.014605878, 0.0050582387, 0.00642754, -0.008038683, 0.00045898836, -0.0010286788, 0.024674669, -0.04523462, -0.079296835, -0.038858175, 0.008583678, -0.017616978, 0.00614823, 0.004278214, 0.0040261536, -0.014510504, 0.035424702, 0.031636987, -0.005320518, -0.011676528, 0.0055555473, 0.0052694245, 0.00028207773, -0.035043206, -0.019006716, 0.029048257, 0.009244485, -0.008610928, -0.042809393, -0.05776952, 0.014837501, -0.003014506, 0.014020008, -0.0055725784, 0.029566003, -0.020178456, -0.0067681624, -0.016268114, 0.011397217, -0.004424682, 0.014537754, 0.013618073, -0.009694106, -0.012139773, -0.003307441, -0.036541943, 0.0068839737, -0.009346671, 0.0014042148, -0.01249402, -0.037877183, 0.012153398, 0.03831318, 0.015614119, 0.0027011337, 0.024906293, 0.009884855, -0.008304368, -0.025846409, -0.041392405, 0.012337334, 0.011785527, -0.027208898, 0.006090324, -0.018134722, 0.025246914, -0.029375255, -0.008222619, 0.027931016, 0.005702015, 0.038667426, 0.001675861, 0.02208594, 0.017494354, 0.0046086176, -0.0058348575, 0.0024712137, -0.023789052, 0.005054833, -0.00433612, -0.003964842, 0.020178456, -0.0129572665, 0.010041541, 0.0039886856, 0.01226921, 0.04052041, -0.02997475, -0.012173836, -0.002615978, 0.0016034788, 0.026486779, -0.047251105, -0.004332714, -0.032999475, -0.032781474, -0.013107141, 0.034252964, -0.040874656, -0.019142965, 0.029784001, 0.004908365, 0.005259206, -0.015777618, 0.024320422, -0.0075890617, -0.08850726, -0.025328662, 0.021431945, -0.006100543, 0.016949357, -0.0011811074, 0.025301414, 0.008304368, 0.021813443, -0.009142298, 0.03795893, -0.018175598, 0.008542803, 0.00065952964, 0.016131865, -0.039103422, 0.0015932601, -0.022017816, 0.046297364, -0.01079091, -0.0120171495, -0.015600494, -0.0014621206, 0.03496146, -0.016554236, 0.018066598, 0.016445238, 0.008331617, 0.0063491967, -0.002151029, -0.032890476, -0.061366487, -0.0027420083, 0.055644035, -0.017126482, 0.019224714, -0.009523795, -0.024170548, -0.0010022806, -0.039893664, 0.00070551364, -0.005552141, 0.028339762, -0.04065666, 0.008467867, -0.012909579, 0.017276356, -0.023993425, 0.0045404932, -0.01140403, 0.008638178, 0.041228905, -0.0061891046, -0.008590491, 0.0090060495, 0.0024422607, 0.009625982, 0.0008059972, 0.0534913, -0.012970892, -0.018148348, -0.0070849406, 0.026146157, -0.0025291194, -0.023993425, -0.025941784, 0.005276237, 0.040438663, -0.0072348146, -0.03847668, 0.00059268257, 0.05147482, 0.0054669855, 0.034280214, -0.0036208134, -0.0077389353, 0.03248173, 0.015055499, -0.026418654, 0.007704873, 0.017412605, -0.017685102, -0.022971557, 0.0056304843, -0.0045030247, 0.021936066, 0.021350196, 0.019578962, -0.018461721, 0.023693677, 0.065453954, -0.016417988, -0.0035595014, -0.009837167, 0.008358868, -0.026691152, 0.0072416267, 0.04065666, 0.020764327, 0.0077253105, 0.010627411, 0.026309654, -0.035424702, 0.022848934, 0.004904959, 0.028503262, 0.0058655133, -0.031282738, 0.012119336, 0.023707302, 0.0038422178, 0.024075173, -0.044907626, 0.004751679, 0.005044614, 0.01012329, 0.0019687961, 0.0417194, 0.008447429, 0.033026725, 0.01673136, 0.009149111, -0.0061584483, -0.010259539, -0.035206705, -0.009298985, 0.027317896, 0.011976275, -0.009435234, -0.009312609, 0.02523329, -0.015995616, -0.010245915, -0.009298985, -0.030846741, 0.03940317, 0.04101091, 0.014251631, -0.040411413, 0.052074313, 0.02565566, -0.009850793, 0.021649944, -0.022521937, 0.010859034, -0.029184505, -0.007929684, -0.047523603, 0.016377114, -0.030002, 0.02200419, -0.01372026, -0.0065433513, 0.030002, -0.0069146296, 0.024483921, 0.00522855, -0.0122419605, 0.021200323, 0.046406362, -0.01555962, 0.042455144, -0.0046154303, 0.013543136, 0.02144557, -0.030955741, -0.0008583678, -0.023380304, -0.03210023, 0.00090520334, -0.02501529, -0.018843217, 0.010865847, 0.034198463, -0.022317564, 0.024225047, 0.00088987534, 0.002661962, 0.019837834, 0.0054022674, 0.030955741, -0.013924633, -0.018747844, -0.013270639, 0.026091658, 0.015218997, 0.019946832, -0.00658082, -0.014892001, 0.028421512, 0.007990995, -0.017112857, 0.0034181434, 0.075699866, 0.026173405, -0.04060216, 0.0051229573, 0.042591393, -0.033953216, -0.0075413743, -0.05259206, 0.021064075, 0.00023524217, 0.014837501, -0.061584484, 0.024701918, -0.012541708, 0.005783764, -0.0089311125, 0.019960457, -0.03433471, 0.011444904, -0.018843217, 0.034743458, 0.0268274, -0.025137914, -0.0072416267, 0.028040016, -0.050057832, 0.000603327, -0.054526795, -0.028939258, -0.048559092, 0.016377114, 0.008522366, 0.014033632, 0.01558687, 0.007337001, -0.000013864386, -0.0047312416, 0.0037332189, -0.0046324614, 0.016390737, -0.024633793, -0.0043701823, -0.009653232, -0.00803187, 0.004782335, -0.00956467, 0.02144557, 0.039866418, 0.023271305, 0.005306893, -0.009516983, 0.021949692, -0.003828593, -0.0017984849, 0.01622724, 0.00658082, -0.017848602, 0.009837167, -0.010232289, 0.04910409, 0.002615978, -0.0008345243, -0.015341622, 0.007153065, 0.02573741, 0.024020674, 0.040384162, -0.02144557, 0.021486444, 0.022944309, -0.024034299, -0.0029855531, 0.010538849, 0.00418284, -0.004090872, -0.003872874, 0.0012407162, -0.038367677, 0.041092657, -0.007827497, 0.031555235, -0.0102663515, -0.00458818, 0.006352603, -0.014129007, -0.021173073, 0.0049356148, -0.03130999, -0.02222219, -0.035315704, 0.026841026, 0.0066693816, 0.0067851935, -0.049676333, -0.011083845, 0.029157257, -0.031228239, 0.019020341, 0.040384162, -0.02035558, 0.013420513, -0.04084741, 0.0090060495, -0.0031337237, -0.0046222424, 0.017753227, -0.03357172, 0.021159448, 0.016567862, 0.03689619, -0.01254852, 0.01798485, 0.03466171, 0.020437328, -0.034280214, 0.0008340985, -0.018734219, -0.013543136, 0.005674765, 0.02030108, -0.011601591, 0.031609736, -0.02579191, -0.0239798, -0.013236577, -0.000542015, 0.011315468, 0.007793435, -0.01904759, 0.021936066, -0.0009247891, -0.011465342, -0.013468199, 0.018815968, 0.017017482, 0.0238708, 0.01899309, -0.0033193629, 0.006475227, -0.011158782, 0.010225477, -0.020750701, 0.008317993, -0.009741793, 0.036133196, 0.0007864114, -0.009428421, 0.041038156, -0.0027403051, 0.0120171495, -0.001813813, -0.0066693816, -0.020083083, -0.01229646, -0.008440617, 0.0048777093, -0.02981125, 0.074555375, -0.007384688, -0.009360297, 0.016567862, -0.03351722, 0.030873992, -0.03496146, 0.012752893, -0.012814205, -0.012603019, 0.007854747, 0.031609736, -0.008535991, -0.0029702252, -0.009782668, -0.0058110137, -0.0044655562, 0.0066864127, -0.022985183, -0.009803105, 0.011451717, 0.025424037, -0.025451288, -0.02286256, 0.018884093, 0.0038490302, -0.005736077, -0.025192413, 0.024361296, 0.078642845, 0.03433471, -0.01678586, -0.032181982, 0.028394263, -0.030029248, 0.021091323, -0.052292313, 0.020069458, -0.011792338, -0.0045166495, 0.04212815, 0.0017320636, 0.017289981, 0.02269906, -0.000107881424, -0.0039035298, -0.00074894296, 0.012173836, -0.010695536, -0.012105711, -0.017385354, -0.008004621, -0.010954408, -0.01715373, 0.007745748, -0.005443142, -0.017031107, 0.06349197, -0.0025444475, 0.050848074, -0.029402504, 0.0042066835, -0.016649611, 0.0058995755, -0.005306893, -0.041419655, -0.009523795, -0.005702015, 0.024388546, 0.02205869, -0.019878708, 0.010831784, -0.0042543705, -0.0068396926, 0.034906957, 0.02280806, -0.0077321227, -0.00356972, 0.023026057, 0.012303272, -0.003447096, -0.019333713, -0.03812243, 0.01739898, 0.029893, 0.0027726644, 0.045316372, -0.006257229, -0.02866676, 0.017058358, -0.05613453, 0.0048538656, 0.043327138, 0.045915864, 0.00048751544, -0.0019687961, 0.0014297615, -0.003610595, 0.0043735886, 0.003108177, -0.014496879, -0.024797292, 0.00042833237, 0.014592253, -0.024088798, 0.0017380245, -0.049512837, 0.012201086, 0.00037660036, -0.0048027723, -0.011097469, -0.0077116853, 0.03714144, -0.004612024, -0.0029310535, -0.008352055, -0.02869401, -0.0065467576, -0.0008013136, -0.049294837, 0.013795197, 0.014755752, -0.012691582, 0.021718068, -0.011649278, -0.019878708, 0.03106474, -0.025614785, 0.0030638962, -0.0066182883, -0.006516102, -0.0017865632, -0.0012517864, 0.005340955, 0.027672144, 0.011022532, -0.008038683, -0.024320422, -0.007337001, -0.0074187503, -0.0030485683, 0.030846741, -0.013917821, 0.021009574, 0.011083845, -0.013584011, -0.006352603, -0.01907484, 0.015055499, -0.013767947, -0.013079891, 0.00064249855, 0.007745748, 0.013229764, -0.0011904744, 0.000045238878, -0.009271735, -0.04395388, -0.025560286, -0.0062776664, -0.01673136, 0.021867942, -0.004765304, -0.0043872134, 0.04319089, -0.005640703, -0.016908484, -0.004996927, -0.007255252, 0.02264456, -0.006413915, 0.0022889809, -0.028339762, 0.008474679, 0.0075754365, -0.031773236, 0.00064292434, 0.01555962, 0.025669286, 0.007963746, 0.005657734, -0.018393597, 0.009319422, -0.02272631, -0.02738602, -0.011499404, -0.013345576, -0.006492258, 0.006199323, -0.016990233, -0.02579191, -0.0021919035, 0.012507645, 0.00895155, -0.014510504, 0.025287788, 0.0048504593, -0.01444238, 0.030737743, 0.015164498, -0.017385354, 0.01603649, 0.002568291, -0.009448859, -0.014456004, -0.0066114757, 0.0038388115, 0.0090809865, -0.012821018, -0.013359201, 0.008903863, -0.00061141676, -0.0014484957, 0.02269906, 0.022045065, 0.009993854, 0.020750701, 0.00255126, -0.04400838, -0.012344147, 0.008495117, -0.008999237, -0.0023179338, 0.0040091225, -0.022440188, 0.03471621, -0.015941117, -0.034280214, -0.0016843765, 0.043708634, 0.040193412, -0.01104297, 0.009523795, 0.0015276903, 0.004325901, -0.0041760276, -0.020232955, -0.022794435, 0.029566003, 0.021036824, -0.009237673, 0.012909579, 0.005902982, 0.021431945, -0.011880901, 0.06856043, 0.033925965, 0.023707302, -0.009333047, 0.024715543, -0.0076912483, -0.018093849, -0.023775427, -0.04302739, 0.025723785, -0.030628745, -0.05049383, 0.014878375, -0.011662902, 0.0040840595, -0.029947499, -0.023066932, -0.016499737, 0.0018495782, -0.004135153, 0.027086273, -0.021949692, 0.02395255, -0.00989848, -0.036296695, 0.009135486, 0.039185174, -0.0051910817, -0.023298556, 0.025301414, 0.027563144, 0.04300014, 0.0041658087, 0.009789481, -0.0012023962, 0.01963346, 0.012030775, 0.020628078, -0.005351174, -0.013195702, -0.0006816701, -0.007105378, 0.0077116853, -0.00051987456, 0.0128073925, -0.013788384, 0.036678195, 0.016186364, -0.01675861, -0.017712351, 0.0069418796, -0.007827497, -0.008679053, -0.017494354, 0.008563241, -0.015654994, -0.043926634, 0.027958266, 0.014823876, 0.017644227, 0.0595135, 0.01667686, 0.018502595, -0.005627078, 0.04084741, 0.0022804653, 0.0020130768, -0.0022327781, 0.012596207, 0.0056509213, -0.0029770376, 0.01603649, 0.009598732, -0.014197132, 0.011206469, -0.0209142, -0.005862107, 0.003811562, 0.004261183, 0.030083748, -0.015123623, -0.014578628, 0.031282738, -0.0046154303, -0.019647086, 0.028421512, -0.0134137, 0.012732456, 0.026023533, -0.013304701, -0.01742623, 0.020614453, -0.001422949, 0.041365154, -0.011642465, -0.029947499, 0.0073233764, -0.015941117, 0.013911009, 0.0036855317, 0.014169881, 0.02169082, 0.00070295896, -0.004530275, 0.013229764, 0.014169881, 0.0179031, 0.01659511, 0.0017916725, 0.048967842, 0.029784001, 0.001905781, -0.04430813, -0.005610047, 0.002936163, -0.042564142, -0.01430613, 0.034143966, 0.009809918, 0.026255155, 0.035560954, -0.02459292, -0.020219332, -0.037713684, -0.010096041, 0.007432375, 0.033299223, 0.016554236, 0.04997608, -0.04575237, 0.0059268256, -0.00981673, -0.026391404, 0.005599828, -0.04079291, 0.027958266, -0.008624553, 0.00981673, -0.030002, 0.020369204, -0.004285027, -0.01015054, 0.026473153, -0.014565003 ]
2311.01343
65
[12] Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J Liu. Exploring the limits of transfer learning with a unified text-to-text transformer. JMLR, 21(1):5485–5551, 2020. [13] Hugo Touvron, Thibaut Lavril, Gautier Izacard, Xavier Martinet, Marie-Anne Lachaux, Timothée Lacroix, Baptiste Rozière, Naman Goyal, Eric Hambro, Faisal Azhar, et al. LlaMA: Open and efficient foundation language models. arXiv preprint arXiv:2302.13971, 2023. [14] Jason Wei, Yi Tay, Rishi Bommasani, Colin Raffel, Barret Zoph, Sebastian Borgeaud, Dani Yogatama, Maarten Bosma, Denny Zhou, Donald Metzler, et al. Emergent abilities of large language models. arXiv preprint arXiv:2206.07682, 2022. [15] Song Wang, Yaochen Zhu, Haochen Liu, Zaiyi Zheng, Chen Chen, and Jundong Li. Knowledge editing for large language models: A survey, 2023.
2311.01343#65
Collaborative Large Language Model for Recommender Systems
Recently, there is a growing interest in developing next-generation recommender systems (RSs) based on pretrained large language models (LLMs), fully utilizing their encoded knowledge and reasoning ability. However, the semantic gap between natural language and recommendation tasks is still not well addressed, leading to multiple issues such as spuriously-correlated user/item descriptors, ineffective language modeling on user/item contents, and inefficient recommendations via auto-regression, etc. In this paper, we propose CLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and ID paradigm of RS, aiming to address the above challenges simultaneously. We first extend the vocabulary of pretrained LLMs with user/item ID tokens to faithfully model the user/item collaborative and content semantics. Accordingly, in the pretraining stage, a novel soft+hard prompting strategy is proposed to effectively learn user/item collaborative/content token embeddings via language modeling on RS-specific corpora established from user-item interactions and user/item features, where each document is split into a prompt consisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and a main text consisting of homogeneous item tokens or vocab tokens that facilitates stable and effective language modeling. In addition, a novel mutual regularization strategy is introduced to encourage the CLLM4Rec to capture recommendation-oriented information from user/item contents. Finally, we propose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where an item prediction head with multinomial likelihood is added to the pretrained CLLM4Rec backbone to predict hold-out items based on the soft+hard prompts established from masked user-item interaction history, where recommendations of multiple items can be generated efficiently.
http://arxiv.org/pdf/2311.01343
Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li
cs.IR
null
null
cs.IR
20231102
20231108
[ { "id": "2302.13971" }, { "id": "2206.07682" }, { "id": "2308.10053" }, { "id": "2307.02046" }, { "id": "2306.05817" }, { "id": "2205.08084" }, { "id": "2303.14524" }, { "id": "2305.07001" }, { "id": "2303.13835" }, { "id": "2303.18223" }, { "id": "2302.03735" }, { "id": "2305.00447" }, { "id": "2305.08845" }, { "id": "2104.08691" }, { "id": "2308.10837" }, { "id": "2305.06569" } ]
{ "authors": "Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li", "chunk_id": 65, "doc_id": "2311.01343", "primary_category": "cs.IR", "published": 20231102, "source": "http://arxiv.org/pdf/2311.01343", "summary": "Recently, there is a growing interest in developing next-generation\nrecommender systems (RSs) based on pretrained large language models (LLMs),\nfully utilizing their encoded knowledge and reasoning ability. However, the\nsemantic gap between natural language and recommendation tasks is still not\nwell addressed, leading to multiple issues such as spuriously-correlated\nuser/item descriptors, ineffective language modeling on user/item contents, and\ninefficient recommendations via auto-regression, etc. In this paper, we propose\nCLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and\nID paradigm of RS, aiming to address the above challenges simultaneously. We\nfirst extend the vocabulary of pretrained LLMs with user/item ID tokens to\nfaithfully model the user/item collaborative and content semantics.\nAccordingly, in the pretraining stage, a novel soft+hard prompting strategy is\nproposed to effectively learn user/item collaborative/content token embeddings\nvia language modeling on RS-specific corpora established from user-item\ninteractions and user/item features, where each document is split into a prompt\nconsisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and\na main text consisting of homogeneous item tokens or vocab tokens that\nfacilitates stable and effective language modeling. In addition, a novel mutual\nregularization strategy is introduced to encourage the CLLM4Rec to capture\nrecommendation-oriented information from user/item contents. Finally, we\npropose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where\nan item prediction head with multinomial likelihood is added to the pretrained\nCLLM4Rec backbone to predict hold-out items based on the soft+hard prompts\nestablished from masked user-item interaction history, where recommendations of\nmultiple items can be generated efficiently.", "text": "[12] Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J Liu. Exploring the limits of transfer learning with a unified text-to-text transformer. JMLR, 21(1):5485–5551, 2020.\n[13] Hugo Touvron, Thibaut Lavril, Gautier Izacard, Xavier Martinet, Marie-Anne Lachaux, Timothée Lacroix, Baptiste Rozière, Naman Goyal, Eric Hambro, Faisal Azhar, et al. LlaMA: Open and efficient foundation language models. arXiv preprint arXiv:2302.13971, 2023.\n[14] Jason Wei, Yi Tay, Rishi Bommasani, Colin Raffel, Barret Zoph, Sebastian Borgeaud, Dani Yogatama, Maarten Bosma, Denny Zhou, Donald Metzler, et al. Emergent abilities of large language models. arXiv preprint arXiv:2206.07682, 2022.\n[15] Song Wang, Yaochen Zhu, Haochen Liu, Zaiyi Zheng, Chen Chen, and Jundong Li. Knowledge editing for large language models: A survey, 2023.", "title": "Collaborative Large Language Model for Recommender Systems", "year": 2023 }
[ 0.009838459, 0.025695886, 0.041322775, -0.031527933, -0.0115893185, 0.014368263, -0.024399877, 0.053684715, -0.08030276, 0.025770657, 0.013309024, -0.014505341, -0.024624187, 0.05022038, 0.007975445, -0.020138, 0.018256292, 0.002415999, 0.020848311, 0.049073912, 0.008025291, -0.054233026, 0.009520687, 0.024524493, 0.033621486, -0.013520872, -0.034468878, 0.049946226, -0.02052431, -0.0013349524, 0.02305402, -0.01991369, -0.035216574, 0.025172498, -0.026867282, 0.038880296, 0.020786004, 0.022393554, -0.02022523, 0.0095019955, 0.006828975, -0.028362677, -0.03028177, 0.03090485, -0.028910989, 0.024561878, 0.017197054, -0.020786004, -0.032026395, 0.071779005, 0.000013605572, 0.0074645183, -0.025135113, -0.030855004, 0.0020514964, -0.01152701, 0.002358364, 0.022069553, -0.013819951, -0.009483303, -0.026219277, -0.034767956, -0.0131345615, 0.011963168, -0.039279066, -0.037509516, -0.06938637, 0.007956753, 0.0068414365, 0.025459116, -0.009813536, -0.016399508, 0.028736526, -0.0027758288, -0.021546163, -0.007427133, -0.023178637, 0.07771074, -0.049821608, -0.049946226, -0.001584185, -0.038805526, 0.013558256, -0.052837323, -0.039478455, -0.0028521563, -0.012081553, 0.025571272, -0.02236863, -0.026618049, 0.0016714166, -0.02761498, -0.0142436465, 0.011645396, 0.04747882, 0.014891651, 0.033995334, -0.009196686, 0.032001473, 0.0538841, -0.023153715, -0.022879558, 0.018567834, -0.03249994, 0.0044830726, 0.0009977095, -0.004754113, -0.03626335, -0.012044168, 0.011632934, -0.12820528, 0.012081553, 0.005897468, -0.032898713, 0.0052027316, -0.065348804, -0.02365218, -0.030157153, -0.052986864, 0.01916599, -0.0030126, 0.014094107, 0.026219277, -0.02579558, 0.028038675, -0.023029098, 0.013321485, -0.026991896, -0.021907551, -0.005517388, 0.007825905, -0.015988275, 0.02366464, -0.0006557934, -0.03496734, -0.028736526, -0.0352415, 0.022779865, -0.028960835, -0.01678582, 0.034817804, 0.0028708486, -0.060762923, 0.024150645, -0.059616454, -0.007202824, -0.004342879, -0.01106593, -0.04212032, 0.021720625, -0.029085452, -0.019701842, -0.03028177, 0.016162738, -0.03708582, -0.04294279, -0.0020094384, 0.05846998, 0.05906814, -0.07103131, 0.02435003, 0.05592781, -0.0012804328, 0.009321301, 0.046606507, 0.022406016, -0.0024611724, 0.02953407, -0.04359079, -0.071928546, -0.0064738183, -0.013396256, -0.028412523, -0.055828117, -0.01854291, -0.031527933, -0.009987999, -0.029284837, -0.03249994, -0.046282504, 0.0027026166, 0.0141938, -0.06126139, 0.0124740945, -0.05981584, -0.018642602, 0.035291344, 0.02266771, -0.023390485, 0.015477348, 0.003595181, 0.028113443, 0.053136405, 0.049946226, 0.01632474, -0.006000276, 0.05936722, -0.0058818907, -0.0012523942, -0.019190915, 0.047653284, 0.056924738, -0.055678576, -0.05926753, 0.009047146, -0.025994966, -0.010050307, 0.014929037, -0.063604176, -0.016075507, 0.02801375, 0.054930877, 0.012935175, 0.021857705, -0.03648766, -0.014393186, -0.06519926, -0.023826642, 0.0072838245, 0.022455862, 0.0192283, 0.0055703497, 0.043291714, 0.01678582, -0.011645396, 0.024387415, 0.007533057, -0.016848128, 0.03167747, -0.006121777, 0.06295617, -0.031777166, -0.0181566, -0.04379018, 0.019315531, -0.049821608, 0.0005596052, 0.0019829574, -0.0019284377, -0.019290607, -0.006747974, 0.02175801, 0.010897698, 0.016474279, 0.029733457, 0.042469244, -0.019863844, -0.0660965, 0.051790547, -0.023216022, 0.052338857, -0.035490733, -0.011632934, -0.0069785146, -0.017720442, -0.0025889042, -0.012729558, -0.0029097914, -0.01877968, 0.0013886932, -0.028412523, 0.0141938, -0.033596564, 0.033621486, 0.017296746, -0.0058289287, -0.028562063, 0.046481892, 0.025384346, 0.00014652155, 0.0038911449, -0.0021994782, -0.0057416973, -0.0028194445, -0.07960491, -0.025197422, 0.029060528, 0.034668263, -0.015165808, 0.018954143, 0.0072589014, 0.035216574, 0.028412523, 0.03833198, 0.0050189225, -0.0069162063, 0.009639073, -0.009732535, -0.030555924, -0.0040126457, 0.03716059, -0.015577042, 0.032948557, -0.06614635, 0.013097176, 0.021782935, 0.02144647, 0.017022591, 0.0140193375, -0.022568017, -0.0129102515, -0.010474003, 0.016686127, 0.03494242, 0.0112715475, 0.038506445, -0.03402026, -0.0129227135, 0.041023698, 0.0045048804, 0.0015647138, 0.0016355893, -0.009339994, 0.023016635, -0.05722382, -0.033471946, 0.0022882672, -0.011514549, 0.0055205035, -0.02052431, -0.04035077, -0.017072437, -0.01778275, 0.01426857, -0.0018598987, 0.04222001, 0.013147023, -0.019489994, -0.037409823, -0.026244199, 0.018069368, 0.015352732, 0.039951995, -0.011757551, -0.0059846994, -0.030381462, -0.028761448, 0.03760921, 0.026368815, -0.00034074776, -0.06784113, 0.0244248, -0.019863844, 0.012081553, -0.017969675, 0.008822836, -0.000894901, 0.049497608, 0.031129159, -0.0037260284, 0.024075875, -0.046481892, 0.030680541, 0.013421179, -0.0059099295, -0.0015678292, -0.04089908, -0.014629957, 0.025384346, -0.0033521792, -0.011402395, 0.026443586, 0.01663628, 0.008293217, -0.028960835, 0.014617495, -0.055728424, 0.033596564, 0.021384163, -0.023988644, 0.006265086, 0.016524125, -0.008324371, 0.0057043126, -0.046058197, -0.0011565953, -0.011956937, -0.020499386, -0.008598527, 0.05144162, 0.024549417, 0.0037852211, 0.008847759, 0.0019673803, -0.015165808, 0.013981952, -0.013707796, -0.004121685, 0.008442757, 0.0057479283, -0.024050951, 0.032774094, -0.040475383, 0.010791774, 0.029210068, 0.019440148, 0.005632658, 0.03252486, 0.021845242, 0.01694782, 0.01297256, -0.016536588, -0.0020452656, -0.00060205266, 0.014380724, 0.036637202, 0.017820135, 0.032699324, 0.0014650207, -0.017259361, 0.04214524, -0.04286802, 0.008941222, 0.0054052332, -0.01282302, 0.008349294, 0.013284101, 0.04067477, 0.0071093617, 0.043092325, 0.0057790824, -0.024175568, -0.04296771, -0.0668442, 0.004127916, -0.040400613, 0.03317287, -0.025571272, 0.0002319032, -0.035465807, -0.06724297, 0.018605217, 0.04603327, -0.028063597, -0.0041154544, -0.044986494, 0.05722382, 0.0725267, 0.008648373, -0.042568937, 0.0023973067, 0.008131215, -0.022393554, -0.01687305, 0.038755678, 0.010960006, -0.033147942, 0.022592941, 0.024287723, -0.005006461, 0.0122124, -0.015327808, 0.030879926, 0.00044511395, 0.00076015963, -0.023290792, 0.035914425, -0.0075143646, 0.051017925, -0.0019891881, 0.0112590855, 0.006654512, -0.025546348, -0.058420137, 0.018430755, 0.015078576, 0.033845793, -0.0010717005, 0.01687305, 0.007682597, 0.002495442, -0.0062931245, -0.04294279, -0.018493064, 0.010486464, 0.005451964, 0.011838552, -0.017982136, -0.026443586, -0.031228852, -0.011938244, -0.031453162, 0.024225414, 0.0001915976, -0.0045547266, 0.034817804, -0.026618049, 0.0063460865, 0.017521055, -0.0022929404, 0.0068476675, 0.003395795, 0.025845427, -0.012548865, 0.022605402, -0.0019190914, -0.0050936923, -0.04441326, -0.02167078, -0.03509196, -0.023452794, -0.014443032, -0.027664825, 0.022767404, -0.013109638, -0.027540209, 0.015402579, 0.013059791, 0.021334317, 0.068937756, 0.0016823205, -0.05478134, 0.015016268, 0.009950614, 0.03197655, 0.04229478, -0.045185883, 0.03501719, -0.016586434, 0.03324764, -0.0069785146, -0.012810559, -0.006723051, -0.043142173, 0.02365218, -0.006121777, -0.005140424, 0.0010444407, 0.019901227, 0.0057043126, 0.010966237, -0.0008917856, -0.009514457, -0.041148312, -0.04152216, -0.04222001, 0.007470749, -0.019128608, -0.045111112, -0.00067448587, -0.026044814, 0.059616454, 0.015664272, 0.030406384, -0.018081829, -0.0075579803, 0.010393002, -0.018019522, -0.010218539, 0.016760897, 0.042593863, -0.017346593, -0.021608472, -0.032749172, 0.00022645124, -0.033222713, 0.019415224, -0.0023287677, -0.014443032, -0.02868668, 0.03317287, -0.0015592618, 0.0120254755, -0.0065361266, -0.01823137, 0.0038973757, -0.003601412, -0.023515102, 0.028163292, -0.0022835943, -0.023228483, -0.023901412, 0.042095397, -0.015203192, 0.00010280847, -0.027540209, 0.045160957, 0.008218447, 0.017832598, 0.016997667, -0.03516673, -0.0137950275, 0.004875614, -0.0070158993, -0.025508963, 0.011713935, -0.012679712, 0.010841621, -0.025994966, 0.020437079, 0.052488398, -0.017845059, -0.014791958, -0.020948006, -0.036363047, 0.00035651954, 0.030231921, -0.054980725, -0.033621486, 0.017271824, -0.002738444, -0.029085452, -0.01686059, 0.0047354205, 0.010118846, -0.018954143, -0.017097361, -0.020923082, -0.029160222, -0.012069091, 0.014829343, -0.038257215, -0.023627257, -0.007638981, 0.0022415363, -0.008760528, -0.039877225, -0.009944383, 0.03257471, -0.017271824, -0.004364687, -0.03212609, 0.002827233, -0.00078780885, 0.015228116, 0.018667527, -0.027963905, 0.012847943, -0.02861191, -0.009221609, -0.030680541, -0.013595642, 0.026767587, 0.017134745, -0.009888306, 0.00063048076, 0.02503542, 0.009663996, 0.00862345, -0.01671105, 0.025596194, -0.009096992, -0.001285106, -0.003495488, 0.03379595, -0.00012792645, -0.012112707, 0.0052899634, -0.017047513, 0.009184224, -0.017284285, -0.02923499, 0.019028913, 0.024948189, 0.03454365, -0.019589687, 0.0057011973, -0.022680173, 0.029060528, 0.01618766, -0.061610315, -0.005660697, -0.023976183, 0.015028729, -0.017446287, 0.045759115, -0.0039659147, 0.025745735, 0.015788889, -0.00561085, -0.033546716, -0.010449079, 0.007271363, 0.013259177, 0.011047238, -0.014318416, 0.008804143, -0.011938244, 0.019402763, 0.015003806, -0.034917496, 0.05662566, -0.051142544, -0.02540927, 0.011670319, 0.0016714166, 0.015028729, -0.0068476675, 0.01198186, -0.018094292, -0.004099877, -0.026269123, 0.0077511356, -0.024026029, -0.0020219, -0.0077199815, -0.0020842082, 0.022256477, -0.026219277, -0.074670106, -0.0149041135, -0.0024892113, -0.0499213, 0.020873236, -0.025670964, -0.01618766, -0.035316266, 0.013097176, 0.04082431, -0.013981952, -0.0066732047, 0.014517803, 0.01060485, -0.019253222, -0.026418662, -0.0149041135, 0.023901412, 0.006779128, -0.026343891, -0.021645857, -0.058868755, -0.0124740945, 0.00081000617, 0.014430571, -0.0047416515, -0.002353691, 0.0069099753, 0.027290976, -0.0110597, -0.00075821247, -0.005732351, 0.012019245, 0.022754941, -0.03382087, -0.013919644, -0.0021761127, -0.017072437, 0.005212078, -0.014430571, -0.006648281, -0.015003806, -0.03249994, 0.0066420506, 0.06260724, 0.012087784, -0.0015452425, 0.03387072, 0.038655985, 0.0035017189, 0.006339856, -0.07661412, 0.00946461, 0.012455402, -0.015502271, -0.0025297115, -0.02091062, 0.0054675415, 0.008816605, -0.036711972, 0.016499203, 0.010062769, 0.020960467, 0.006417741, 0.006043892, -0.003106062, -0.0071218233, 0.0035297575, -0.011003622, -0.018904297, 0.01350841, -0.031403314, -0.020848311, 0.018119214, 0.0192283, 0.016673665, -0.0036606046, 0.005374079, 0.06151062, -0.013483487, -0.0038226058, -0.012193708, 0.005738582, 0.027066667, -0.028562063, -0.016972745, -0.024088336, -0.037908286, -0.01358318, 0.02694205, -0.03519165, -0.01953984, 0.017533518, 0.017770289, 0.007638981, -0.011632934, 0.03962799, 0.00048483541, -0.092664704, -0.027639901, 0.033496868, -0.007987907, 0.018505525, -0.01465488, 0.005084346, 0.004258763, 0.030132229, -0.04219509, 0.028935911, -0.017309207, 0.009558072, 0.0108104665, 0.001473588, -0.057821978, 0.004523573, -0.027515287, 0.031503007, 0.009009761, -0.041347697, 0.014704727, 0.0050563077, 0.02631897, -0.011458471, -0.0050345, 0.030506078, 0.00816237, -0.026568202, 0.030555924, -0.036811665, -0.022929404, -0.010966237, 0.052089628, -0.032475017, -0.0050345, -0.018505525, -0.03334733, -0.009601688, -0.044213872, -0.047055125, -0.016985206, 0.023253407, -0.029583916, 0.016013198, 0.0020997853, 0.024212953, -0.02664297, 0.020948006, -0.017259361, -0.0066046654, 0.027764518, 0.0000039611928, 0.01976415, 0.021409085, -0.011875936, 0.046382196, -0.0061716237, 0.06739251, 0.013857336, -0.017059976, 0.009215377, -0.0041185697, 0.018355986, -0.04214524, -0.015427502, -0.005660697, 0.046681277, -0.039303992, -0.056376427, 0.0077947513, 0.058170903, 0.016237509, 0.027540209, 0.010305771, -0.0032244476, 0.02235617, 0.025920197, -0.022979252, -0.011975629, 0.0022275168, -0.017221976, -0.0084988335, -0.0061093154, -0.009676458, 0.009352456, 0.013732719, -0.0019486878, -0.01877968, 0.043391407, 0.06425218, -0.0043833796, 0.01053631, -0.0003828058, 0.014056722, -0.0031294276, -0.0058850064, 0.016050583, 0.027266053, -0.007987907, -0.0032244476, 0.037260283, -0.05203978, -0.014841805, 0.005844506, -0.00070408225, -0.020000922, -0.000014274898, -0.00063671154, -0.024898343, 0.03504211, 0.03701105, -0.023913873, 0.0022228437, 0.013558256, 0.0077262125, 0.030381462, 0.056825045, 0.02144647, 0.026767587, 0.011209239, 0.039503377, -0.014418109, -0.016848128, -0.0121313995, -0.016910436, 0.019826459, 0.035316266, -0.01693536, -0.011788704, 0.028188214, -0.03249994, -0.018954143, -0.031503007, -0.026443586, 0.025496501, 0.011421086, 0.039553225, -0.009894537, 0.03264948, 0.029284837, -0.0016246854, 0.01861768, -0.036188584, 0.0044207643, -0.029160222, -0.014704727, -0.05861952, -0.0054737725, -0.010093923, 0.03905476, 0.016823204, -0.016698588, 0.059417065, -0.003990838, -0.03242517, 0.010118846, -0.0172469, -0.016038122, 0.0553795, 0.0212097, 0.018817065, 0.006953591, -0.0035733732, 0.01618766, -0.028362677, 0.006128008, -0.00032867558, -0.05667551, 0.031926703, -0.014206261, -0.03190178, 0.012274709, 0.030431308, -0.030580847, 0.016648741, -0.008205986, -0.0016137814, -0.00015343385, 0.017184593, 0.032026395, 0.0034487569, -0.03775875, -0.008043984, -0.0038475292, -0.012424248, 0.0010382098, 0.0065797423, -0.013221793, 0.051192388, 0.00046575355, -0.0013481929, 0.028163292, 0.059466913, 0.036288276, -0.07058269, 0.0113650095, 0.034095027, -0.031851932, -0.030555924, -0.036961205, 0.048101902, 0.013732719, 0.0098197665, -0.06524911, 0.028462369, -0.011346317, -0.011701473, 0.008374217, 0.02768975, -0.008847759, 0.02037477, -0.02113493, 0.011938244, -0.008885144, -0.01791983, -0.00001673315, 0.02183278, -0.020063229, 0.0053616175, -0.039029833, -0.02150878, -0.027714672, 0.005090577, 0.0024923265, 0.010611081, 0.027540209, -0.013433641, -0.012019245, -0.021533702, 0.02213186, -0.017371517, 0.019066298, 0.00366372, -0.002106016, -0.019327993, 0.019365378, -0.012561326, -0.0014510014, 0.01961461, 0.024512032, 0.034319337, -0.014293493, -0.0062744324, 0.030331615, 0.015215654, 0.011277778, 0.027415592, 0.002986119, 0.00117373, 0.0017929175, -0.01671105, 0.024948189, -0.007196593, 0.01663628, -0.0020592848, 0.009875844, 0.022007244, 0.031602703, 0.057473052, -0.040774465, 0.027266053, 0.026368815, -0.0055765808, 0.010486464, 0.009115685, -0.00096577656, -0.00013600705, 0.031004542, 0.01076062, -0.048550524, 0.038132597, -0.0027758288, 0.034668263, -0.00976369, -0.006804052, 0.020038307, 0.0057354667, -0.008953683, 0.023564948, -0.030231921, -0.0090533765, -0.0029206953, -0.020138, -0.011470933, 0.012598711, -0.0061934316, -0.014816882, 0.04037569, -0.02930976, -0.0017041283, 0.03120393, -0.013633027, 0.009825998, -0.01587612, 0.024200492, -0.012629865, -0.005327348, 0.029085452, -0.01548981, 0.04159693, 0.011284009, 0.026568202, -0.021159854, -0.0004127916, -0.0036761817, -0.011670319, -0.04862529, 0.02091062, -0.012330786, -0.02281725, 0.023477716, 0.029509148, -0.007807213, 0.00625574, -0.02059908, -0.006249509, -0.032250706, 0.008100062, -0.012193708, 0.0057884287, -0.0044519184, 0.022842173, -0.0035733732, -0.035615347, -0.009452148, 0.02022523, -0.013022407, 0.037060898, 0.0144554945, 0.014530264, 0.0015172039, -0.020287538, 0.044911724, -0.009202916, -0.0052027316, -0.017134745, -0.0041777627, 0.013770104, -0.006258855, 0.04630743, 0.007788521, -0.029882995, 0.0058569675, 0.013645488, 0.015601965, -0.024935728, 0.013346409, 0.012349478, -0.020025844, 0.058918603, -0.017059976, -0.019265685, -0.0077511356, -0.019203376, 0.039777532, -0.039478455, 0.017122284, -0.01884199, 0.0010421041, 0.0029970228, 0.029085452, -0.02823806, -0.011564395, 0.017894905, -0.0028739641, -0.007165439, 0.0035453346, 0.010137538, 0.012530172, 0.034244567, 0.013458564, -0.006885052, -0.034045182, -0.00016550606, 0.011358779, -0.0077822898, -0.007813444, 0.047279436, 0.053236097, -0.010305771, -0.016798282, -0.038880296, 0.031702396, -0.020063229, 0.03633812, -0.04747882, 0.007059515, -0.00026889867, -0.010766851, 0.030157153, 0.015253039, -0.013109638, 0.022929404, -0.01793229, -0.010517619, -0.014929037, -0.0034705647, 0.0037602978, 0.0021293815, -0.032225784, -0.012760712, -0.0172469, -0.018181523, -0.0013217119, -0.011956937, -0.0070158993, 0.060413998, 0.004296148, 0.025010498, -0.004264994, 0.009682689, -0.037384897, 0.033098098, -0.014393186, -0.019876305, -0.026543278, -0.008367986, 0.0129227135, 0.026493432, -0.0172469, 0.022044629, -0.008255832, -0.015614426, 0.03319779, 0.012598711, 0.018106753, 0.007981676, 0.0061248927, 0.023976183, -0.012935175, 0.011234162, -0.029135298, 0.009059607, 0.02311633, -0.027590055, 0.004912999, -0.033696257, -0.014443032, 0.008037753, -0.016337201, -0.0025982505, 0.041023698, 0.042469244, 0.010779313, 0.0053522713, -0.015215654, 0.0027228668, 0.0283876, 0.01595089, -0.008199754, -0.007221516, -0.012000552, 0.005975353, -0.013321485, 0.015365194, -0.043466177, 0.023029098, -0.0068975138, 0.010866544, 0.0046824585, -0.034045182, 0.043864947, 0.010393002, 0.00085829495, 0.005015807, -0.023839103, -0.0129227135, -0.0055983886, -0.039553225, 0.0126984045, 0.0221194, 0.023203561, 0.016598895, -0.006358548, -0.014567649, 0.027490363, -0.03897999, -0.0054083485, -0.0067105894, -0.0028381369, -0.006143585, 0.006990976, -0.016337201, 0.03297348, -0.010050307, 0.0029565224, -0.024474647, -0.0020063228, 0.012985022, 0.018031983, 0.019265685, 0.007819675, 0.043765254, 0.019851381, -0.016449356, -0.006043892, -0.026667895, 0.008305678, -0.0012103361, -0.004339764, -0.0060189688, -0.01480442, 0.017807674, 0.012717096, -0.005274386, -0.010511387, -0.016013198, 0.0013450775, 0.0023614794, 0.010692081, 0.026842358, -0.0027882904, 0.009477071, 0.032001473, -0.039254144, -0.031129159, 0.031079313, 0.0028256753, 0.031727318, -0.012872867, 0.009551842, -0.017134745, -0.004068723, -0.00052027317, -0.023303254, 0.00065890886, 0.018891836, 0.008953683, -0.00034347377, 0.02152124, -0.0023957489, 0.0244248, 0.004333533, -0.026144506, 0.0035204114, 0.0021620933, 0.0030437538, -0.02113493, -0.02304156, -0.023216022, 0.016698588, 0.01053008, 0.005791544, -0.018493064, 0.033970412, 0.002764925, 0.02930976, 0.06121154, -0.010243462, -0.015763966, -0.022480786, -0.0016231277, -0.015327808, -0.0043210713, 0.0028505987, 0.01465488, 0.023677103, -0.022630326, -0.038257215, 0.007900676, -0.03708582, 0.0023038443, -0.008972376, 0.016748434, -0.017072437, 0.015464887, 0.010106385, -0.04356587, -0.038880296, -0.005333579, -0.011128238, 0.012661019, -0.0016963398, -0.010393002, 0.039303992, 0.00552985, -0.03120393, 0.0045360345, 0.035415962, 0.021421548, -0.02107262, -0.0023147482, -0.0024767495, -0.008330601, -0.00453915, -0.008959915, -0.006156047, 0.03317287, 0.009558072, -0.0012422691, 0.014879189, 0.021097545, 0.03967784, -0.025184961, 0.03990215, 0.028462369, 0.038805526, -0.041347697, 0.041272927, 0.0017430709, -0.0037509515, 0.0015732811, -0.040624924, -0.0040905313, -0.042643707, -0.038830448, 0.00093929557, 0.014305955, -0.017807674, 0.0044083027, -0.021471394, -0.021782935, 0.011788704, 0.0070221303, 0.039353836, -0.009987999, 0.009651535, -0.0086172195, -0.0013536449, 0.007994138, 0.007738674, -0.0050718845, -0.020162921, -0.006174739, 0.025920197, 0.018655065, -0.006691897, 0.010287078, -0.01563935, 0.013707796, -0.0025982505, -0.00092605513, -0.0045827655, -0.0005058644, 0.008149908, -0.012000552, 0.0037821056, 0.007508134, 0.02601989, -0.017059976, 0.01022477, 0.0077573666, -0.058769062, 0.018081829, 0.024275262, -0.012461633, -0.025546348, -0.002037477, 0.025695886, -0.029334685, -0.025147576, 0.016436893, 0.028836219, 0.017309207, 0.06978515, 0.009558072, 0.010081461, -0.0032151013, 0.011657857, -0.011414856, 0.0005019702, -0.020948006, 0.0058569675, -0.00056272064, -0.0058507365, 0.012573788, 0.00072199584, -0.002479865, 0.03509196, 0.009788613, -0.022418479, -0.0075143646, 0.020486925, 0.0065361266, 0.00084116025, 0.008866452, 0.031652547, 0.03264948, 0.007863291, 0.031378392, -0.013396256, 0.013720258, -0.015178269, -0.019514916, -0.018056907, 0.0044083027, 0.007321209, 0.038780604, -0.007744905, -0.04426372, -0.004134147, -0.0064987415, 0.0212097, -0.0024471532, -0.005869429, 0.008853991, 0.008293217, 0.0029549648, -0.026867282, 0.032076243, 0.024661573, 0.0061404696, -0.02076108, 0.044064336, 0.04610804, 0.0057261204, -0.06430203, -0.0058102366, -0.0033210253, -0.02983315, 0.0007734001, 0.030655617, -0.011234162, 0.014642418, -0.0018084944, -0.011296471, -0.027515287, -0.011620473, -0.020923082, 0.011084623, 0.010785543, 0.018206446, 0.050918233, -0.049696993, -0.014330878, -0.0032369092, -0.026144506, -0.009047146, -0.020050768, 0.0108229285, -0.0040874155, -0.011227931, -0.032101166, -0.014829343, 0.014704727, -0.013558256, 0.0049098833, 0.010069 ]
2311.01343
66
[16] Wenqi Fan, Zihuai Zhao, Jiatong Li, Yunqing Liu, Xiaowei Mei, Yiqi Wang, Jiliang Tang, and Qing Li. Recommender systems in the era of large language models (LLMs). arXiv preprint arXiv:2307.02046, 2023. [17] Julian McAuley and Alex Yang. Addressing complex and subjective product- related queries with customer reviews. In WWW, pages 625–635, 2016. [18] Yaochen Zhu and Zhenzhong Chen. Variational bandwidth auto-encoder for hybrid recommender systems. IEEE Transactions on Knowledge and Data Engi- neering, 35(5):5371–5385, 2022. [19] Zeyu Cui, Jianxin Ma, Chang Zhou, Jingren Zhou, and Hongxia Yang. M6-rec: Generative pretrained language models are open-ended recommender systems. arXiv preprint arXiv:2205.08084, 2022. [20] Shijie Geng, Shuchang Liu, Zuohui Fu, Yingqiang Ge, and Yongfeng Zhang. Recommendation as language processing (RLP): A unified pretrain, personalized prompt & predict paradigm (P5). In Proceedings of the 16th ACM Conference on Recommender Systems, pages 299–315, 2022.
2311.01343#66
Collaborative Large Language Model for Recommender Systems
Recently, there is a growing interest in developing next-generation recommender systems (RSs) based on pretrained large language models (LLMs), fully utilizing their encoded knowledge and reasoning ability. However, the semantic gap between natural language and recommendation tasks is still not well addressed, leading to multiple issues such as spuriously-correlated user/item descriptors, ineffective language modeling on user/item contents, and inefficient recommendations via auto-regression, etc. In this paper, we propose CLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and ID paradigm of RS, aiming to address the above challenges simultaneously. We first extend the vocabulary of pretrained LLMs with user/item ID tokens to faithfully model the user/item collaborative and content semantics. Accordingly, in the pretraining stage, a novel soft+hard prompting strategy is proposed to effectively learn user/item collaborative/content token embeddings via language modeling on RS-specific corpora established from user-item interactions and user/item features, where each document is split into a prompt consisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and a main text consisting of homogeneous item tokens or vocab tokens that facilitates stable and effective language modeling. In addition, a novel mutual regularization strategy is introduced to encourage the CLLM4Rec to capture recommendation-oriented information from user/item contents. Finally, we propose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where an item prediction head with multinomial likelihood is added to the pretrained CLLM4Rec backbone to predict hold-out items based on the soft+hard prompts established from masked user-item interaction history, where recommendations of multiple items can be generated efficiently.
http://arxiv.org/pdf/2311.01343
Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li
cs.IR
null
null
cs.IR
20231102
20231108
[ { "id": "2302.13971" }, { "id": "2206.07682" }, { "id": "2308.10053" }, { "id": "2307.02046" }, { "id": "2306.05817" }, { "id": "2205.08084" }, { "id": "2303.14524" }, { "id": "2305.07001" }, { "id": "2303.13835" }, { "id": "2303.18223" }, { "id": "2302.03735" }, { "id": "2305.00447" }, { "id": "2305.08845" }, { "id": "2104.08691" }, { "id": "2308.10837" }, { "id": "2305.06569" } ]
{ "authors": "Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li", "chunk_id": 66, "doc_id": "2311.01343", "primary_category": "cs.IR", "published": 20231102, "source": "http://arxiv.org/pdf/2311.01343", "summary": "Recently, there is a growing interest in developing next-generation\nrecommender systems (RSs) based on pretrained large language models (LLMs),\nfully utilizing their encoded knowledge and reasoning ability. However, the\nsemantic gap between natural language and recommendation tasks is still not\nwell addressed, leading to multiple issues such as spuriously-correlated\nuser/item descriptors, ineffective language modeling on user/item contents, and\ninefficient recommendations via auto-regression, etc. In this paper, we propose\nCLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and\nID paradigm of RS, aiming to address the above challenges simultaneously. We\nfirst extend the vocabulary of pretrained LLMs with user/item ID tokens to\nfaithfully model the user/item collaborative and content semantics.\nAccordingly, in the pretraining stage, a novel soft+hard prompting strategy is\nproposed to effectively learn user/item collaborative/content token embeddings\nvia language modeling on RS-specific corpora established from user-item\ninteractions and user/item features, where each document is split into a prompt\nconsisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and\na main text consisting of homogeneous item tokens or vocab tokens that\nfacilitates stable and effective language modeling. In addition, a novel mutual\nregularization strategy is introduced to encourage the CLLM4Rec to capture\nrecommendation-oriented information from user/item contents. Finally, we\npropose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where\nan item prediction head with multinomial likelihood is added to the pretrained\nCLLM4Rec backbone to predict hold-out items based on the soft+hard prompts\nestablished from masked user-item interaction history, where recommendations of\nmultiple items can be generated efficiently.", "text": "[16] Wenqi Fan, Zihuai Zhao, Jiatong Li, Yunqing Liu, Xiaowei Mei, Yiqi Wang, Jiliang Tang, and Qing Li. Recommender systems in the era of large language models (LLMs). arXiv preprint arXiv:2307.02046, 2023.\n[17] Julian McAuley and Alex Yang. Addressing complex and subjective product- related queries with customer reviews. In WWW, pages 625–635, 2016.\n[18] Yaochen Zhu and Zhenzhong Chen. Variational bandwidth auto-encoder for hybrid recommender systems. IEEE Transactions on Knowledge and Data Engi- neering, 35(5):5371–5385, 2022.\n[19] Zeyu Cui, Jianxin Ma, Chang Zhou, Jingren Zhou, and Hongxia Yang. M6-rec: Generative pretrained language models are open-ended recommender systems. arXiv preprint arXiv:2205.08084, 2022.\n[20] Shijie Geng, Shuchang Liu, Zuohui Fu, Yingqiang Ge, and Yongfeng Zhang. Recommendation as language processing (RLP): A unified pretrain, personalized prompt & predict paradigm (P5). In Proceedings of the 16th ACM Conference on Recommender Systems, pages 299–315, 2022.", "title": "Collaborative Large Language Model for Recommender Systems", "year": 2023 }
[ -0.006511963, 0.0172124, 0.013172629, 0.015886463, 0.006381848, -0.015936032, -0.03345823, 0.06582597, -0.04535449, 0.030087624, -0.01503142, -0.037151027, -0.024003182, 0.01035966, 0.023049003, -0.0079370355, 0.049344692, -0.012838047, -0.00082096586, 0.03189685, 0.0042597284, -0.014102025, -0.010353464, 0.0065553347, 0.01956687, 0.00013902204, -0.03179771, 0.07207151, -0.022020472, -0.040521633, 0.011276663, -0.02431298, 0.004950579, 0.014758797, -0.023272058, 0.017571768, 0.0016155988, 0.025800014, 0.010223349, 0.033061687, -0.0056507234, 0.015663408, 0.0143870395, -0.015502313, -0.008940782, 0.049295127, 0.015142947, -0.014833149, -0.005687899, 0.0060193837, -0.029765433, -0.005743663, -0.024399724, -0.034053043, -0.0007578444, -0.04074469, 0.010576518, 0.0009286208, 0.026394825, 0.007738765, -0.0017240283, -0.05739945, -0.020731712, 0.035837483, -0.06037352, -0.052690517, -0.025626525, -0.0172124, 0.010458795, -0.0015087184, -0.029071486, -0.017708078, 0.025254767, -0.0012461642, -0.011716576, 0.011357211, 0.034077827, 0.06518159, -0.02079367, -0.037498, -0.0018417516, 0.0057932306, -0.0244369, -0.025279552, -0.0434957, -0.00754669, -0.017088482, 0.010192368, -0.030558517, 0.018637473, -0.03358215, -0.011134156, -0.012106922, -0.008469889, 0.034573507, 0.012020179, 0.027510101, -0.0069828564, 0.04401616, 0.04708936, -0.042132586, -0.0164441, -0.0042318464, -0.023309235, 0.042231724, -0.03338388, -0.009802022, -0.015266866, -0.00049296673, -0.006914701, -0.09170034, 0.03601097, -0.023123356, 0.003153748, -0.02763402, -0.04074469, -0.06077006, -0.04297524, -0.05591242, 0.043669187, -0.002388546, 0.0064252196, 0.02316053, -0.046544116, 0.009870178, -0.026196556, -0.013569172, -0.030806355, 0.0057374667, -0.0075900615, 0.018897705, -0.002171687, 0.03083114, -0.012237038, -0.07311243, -0.026345259, -0.0013391037, 0.001764302, -0.011394386, -0.044610973, 0.0450323, -0.04317351, -0.06384326, -0.0017627531, -0.02431298, -0.04760982, -0.012763696, -0.013036318, -0.0434957, 0.008494673, -0.01247868, -0.031054195, -0.023110963, 0.019975802, -0.044338353, -0.033433445, 0.012738911, 0.038588494, 0.023234881, -0.083620794, 0.018513555, 0.02334641, 0.010954472, -0.0020105918, 0.0030824945, 0.0010378248, -0.038241517, 0.010471187, -0.026270907, -0.030112408, 0.008234442, -0.02385448, -0.0044332156, -0.02148762, -0.0038353046, -0.0056631155, 0.028650159, -0.041116446, -0.014597702, -0.026717016, 0.05412798, 0.0022228037, -0.0411908, -0.054474957, -0.024077535, 0.0110969795, 0.016506061, 0.0010858435, 0.017658511, 0.046147574, -0.009901158, 0.046717603, 0.03702711, 0.03256601, 0.021264564, -0.016791075, 0.041810397, 0.033309527, -0.007930839, -0.03318561, 0.03102941, 0.035217885, -0.022949867, -0.037126243, -0.00083490676, -0.047808092, -0.010688046, 0.016704332, -0.07559082, -0.005941934, 0.010384443, 0.0047554057, 0.05903519, 0.048179854, -0.032789066, 0.0015513157, -0.039629415, 0.0054648444, -0.00071989413, -0.0011780085, 0.0036339357, 0.023904046, 0.03164901, 0.024870617, -0.026469178, 0.020868022, 0.03722538, -0.048130285, 0.018178971, -0.02033517, 0.058886487, -0.004798778, -0.018773785, -0.0066420785, -0.01822854, -0.017546983, 0.0028362046, 0.032912984, -0.014994244, -0.05611069, 0.037498, 0.026964856, 0.03216947, -0.01061989, 0.05789513, 0.022119608, -0.027485317, -0.033606935, 0.033755638, -0.01618387, 0.018897705, -0.03090549, 0.0015118163, -0.014337472, 0.01990145, -0.043223076, -0.06433894, 0.0036339357, -0.009064702, 0.020806063, -0.05764729, 0.031500306, -0.006735018, 0.054772362, -0.01298675, -0.008023779, -0.030533733, 0.029071486, 0.04996429, -0.00018036077, 0.0067659975, -0.016580412, 0.011710381, -0.007862684, -0.042900886, -0.021599147, 0.028873214, 0.029393675, -0.0054648444, 0.010966864, 0.0032869612, -0.016431708, 0.07236891, 0.02380491, -0.006530551, 0.0072368914, 0.0060286773, -0.030632868, -0.05437582, -0.00920721, 0.035862267, -0.02457321, -0.015043812, -0.07028707, 0.01810462, 0.016394533, -0.0004991627, -0.019851884, -0.000112398746, 0.0020400228, 0.021202605, -0.016097127, -0.023185315, 0.0043991376, 0.002754108, 0.0594813, -0.03038503, 0.006313692, 0.00982061, -0.0052386913, 0.022652462, 0.019876668, -0.002190275, 0.032219037, -0.06141444, -0.05873778, 0.035936616, -0.041562557, 0.012714128, -0.090213306, -0.023606641, 0.010353464, 0.018055053, -0.018885313, 0.004166789, -0.0048576393, 0.04713893, -0.04661847, -0.0020260818, -0.03462307, -0.013209805, 0.041091666, 0.034176964, -0.0029275953, 0.005309945, -0.044957947, -0.012472485, 0.060472652, 0.008922195, 0.025800014, -0.044239216, 0.0010618342, -0.012398133, -0.011276663, -0.039307225, 0.007305047, 0.0122989975, 0.0064252196, 0.044685327, 0.013705483, 0.023941223, -0.077920504, 0.021078685, -0.00997551, -0.0109730605, 0.015973207, 0.009039918, -0.022689637, -0.0064128274, -0.016853034, 0.0028284597, 0.015266866, 0.016642371, -0.028897997, 0.0060441676, 0.010012685, 0.003516212, -0.0060689515, -0.013531995, -0.025750445, 0.011704185, 0.026518745, -0.04560233, 0.0063694557, -0.031772926, 0.019145543, 0.0069580725, -0.014597702, -0.016840642, 0.054276686, 0.0030174367, -0.00012353213, -0.0009967765, -0.0060100895, -0.010272916, 0.002546543, -0.066420786, -0.011140351, -0.01330894, -0.017794821, -0.03184728, -0.031946413, -0.03395391, 0.0030003977, 0.046866305, -0.023222491, 0.01964122, 0.037646707, 0.016803468, 0.01503142, 0.033111256, -0.016295398, 0.034598287, 0.040025957, -0.0074041826, 0.037820194, 0.009331129, 0.023519896, 0.017993093, -0.0013174178, 0.057151616, -0.024201453, 0.0062362426, 0.020310385, -0.0059853056, 0.015911248, 0.028352752, 0.027410965, 0.03677927, 0.03633316, -0.01605995, -0.016332574, -0.02897235, -0.068006955, -0.012082139, -0.017509807, -0.012800871, -0.02456082, 0.009281561, -0.043470915, -0.055615015, 0.01938099, 0.063496284, -0.043148726, 0.0028036758, -0.04627149, 0.060423087, 0.039778117, 0.022875516, -0.04017466, 0.015440354, 0.021723066, -0.037398867, 0.004953677, 0.044264, -0.010898708, -0.0052758674, 0.012515857, 0.004346472, -0.009554184, -0.0028408517, -0.00899035, 0.05174873, 0.0014088084, -0.028997133, -0.01803027, 0.044635758, -0.043223076, 0.005151948, 0.022231136, 0.039505497, 0.01759655, -0.0013522701, -0.039232872, 0.026394825, -0.0172124, -0.015242083, -0.004117221, 0.012726519, -0.023098571, 0.027138343, -0.043024804, -0.00665447, -0.018154187, -0.011220899, 0.015452745, -0.008302598, 0.018005485, 0.0050714, -0.014486175, 0.009306345, -0.017200008, 0.028278401, 0.026717016, 0.024387332, 0.021970905, -0.021561971, -0.035143536, 0.022193959, 0.03717581, 0.012652168, 0.015378394, 0.037820194, -0.012416721, -0.032789066, -0.0018835744, 0.010849141, -0.010495971, -0.02584958, -0.00013118028, -0.027485317, -0.021016726, -0.013544387, -0.0052293977, 0.0095170075, -0.0011431562, 0.021153037, 0.011028824, 0.03831587, 0.052393112, 0.002769598, -0.010873925, -0.010489775, 0.016555628, 0.029344108, 0.047039792, -0.06081963, 0.007881272, 0.0026611686, 0.049567748, 0.008240638, 0.016406925, -0.015564273, -0.02654353, 0.0029880058, -0.012106922, -0.007298851, -0.046915874, -0.015700584, -0.0066234902, 0.0071997154, 0.021066293, 0.031574655, 0.010471187, -0.032789066, -0.008804471, -0.015403178, -0.03293777, -0.038613275, 0.015886463, -0.01669194, 0.033483014, 0.0057870345, 0.0381176, 0.013668307, 0.020644967, 0.020954765, 0.00061688613, -0.00032277123, 0.040249012, 0.05908476, -0.014473783, -0.013110669, 0.003788835, 0.0007373203, -0.027460532, 0.0070200325, -0.024077535, 0.003339627, -0.008544241, 0.024288196, -0.011574069, 0.014783581, 0.036680136, -0.033210393, -0.0005278191, 0.020954765, 0.014672054, 0.014820757, 0.025676094, -0.025229985, -0.023507506, 0.031054195, -0.005204614, 0.02795621, -0.028897997, 0.06314931, 0.0011346367, -0.0013282608, 0.01669194, -0.03241731, -0.03313604, 0.013705483, -0.0072183036, -0.0033210393, 0.00018161933, -0.0148951085, 0.0047027403, 0.014857933, 0.04138907, 0.06666862, -0.016791075, -0.019281855, -0.03447437, -0.047684174, 0.008178678, 0.01266456, -0.014374647, -0.03164901, 0.008984154, -0.00086975907, 0.018055053, -0.031574655, -0.008364557, -0.00959136, -0.0028300087, 0.022206351, 0.017261969, 0.00751571, 0.0030019467, 0.0050373226, -0.01592364, -0.0031816298, -0.023420762, -0.04676717, 0.0022305488, -0.021524794, -0.0142011605, 0.034573507, -0.016456492, 0.00036556215, -0.054722793, -0.0051643397, 0.021376092, 0.010062253, 0.004197769, -0.02130174, -0.010105625, -0.012825655, -0.002963222, 0.0074289665, -0.016518453, 0.01822854, 0.004935089, 0.0038600885, 0.0056290375, 0.025118457, -0.012063551, -0.00032044775, -0.00055027945, 0.010539343, 0.018426811, 0.018079836, -0.028179266, 0.026469178, -0.014362255, -0.018079836, 0.027733155, -0.01772047, -0.010904904, -0.020050155, -0.0350444, 0.034523938, 0.016716722, 0.011914847, -0.0062827123, 0.033929124, 0.0229003, 0.016245829, 0.012224646, -0.051649593, -0.017794821, 0.018451594, -0.005093086, -0.026940072, 0.05021213, 0.019975802, 0.009337325, 0.010948276, 0.006381848, -0.018042661, -0.014052457, 0.004470391, 0.0244369, -0.005774643, -0.025948716, 0.020322777, -0.014027673, 0.00059481297, 0.006549139, -0.014015281, 0.028774079, -0.036283594, -0.036903188, 0.019232286, -0.013160237, 0.020521048, -0.013333725, 0.00086278864, 0.007862684, -0.014312687, -0.0053811986, 0.014944676, -0.012466289, 0.0026317376, 0.012336173, 0.006784586, 0.03467264, -0.0239784, -0.07360811, -0.0066110985, -0.0008527202, -0.016493669, 0.012726519, 0.0012477132, 0.0076396293, -0.027658803, 0.016766291, 0.036556214, 0.0021608442, -0.0031181213, -0.013445252, 0.012701736, 0.005334729, -0.011747557, 0.0033334312, 0.023557073, 0.008686748, 0.012441505, -0.0155890575, -0.05903519, 0.012571621, -0.007249283, -0.0048700315, 0.0031676888, 0.006313692, -0.027931426, 0.0069394847, -0.02686572, 0.0049970485, 0.004560233, 0.028427104, 0.014002889, 0.020459088, -0.031376384, -0.009510811, -0.03576313, -0.016146693, 0.009671907, 0.00074196723, -0.010638478, -0.047039792, -0.032764282, 0.049518183, 0.022231136, 0.010012685, 0.042231724, 0.010576518, -0.019864276, -0.015601449, -0.048254203, 0.009008938, 0.015341219, -0.0046810545, 0.013172629, -0.04604844, 0.029815001, -0.022032864, -0.02872451, 0.029666297, 0.008618592, 0.032070335, 0.0071873236, -0.010049861, 0.016047558, -0.00975865, -0.018910097, -0.00751571, -0.03154987, -0.0023079982, 0.009541792, -0.015279259, 0.029963704, -0.030583302, 0.023557073, -0.017361104, 0.0078379, 0.06032395, -0.029691081, 0.025923932, 0.022082431, -0.0006745861, 0.035663996, -0.047485903, 0.006158793, -0.025106065, -0.029914137, -0.020459088, 0.02993892, -0.043842673, 0.0032064137, 0.04612279, 0.025453039, -0.021264564, -0.020112114, 0.041736044, -0.010260524, -0.09893723, -0.0105269505, 0.0075590815, -0.010997844, 0.019145543, -0.008829256, 0.015911248, 0.009554184, 0.016914994, -0.03140117, 0.013978105, -0.025428256, 0.026122203, -0.005697193, -0.020496264, -0.032640364, -0.0013112219, -0.007906056, 0.051153917, -0.0008503967, 0.007732569, 0.00075668265, -0.0036525235, 0.03236774, -0.001389446, -0.0062579284, 0.012013983, 0.0048359535, -0.007974212, -0.00075590814, -0.0413395, -0.030979844, 0.0012221548, 0.048824232, -0.02941846, 0.015948424, -0.008042367, -0.029195404, -0.016976954, -0.0148951085, -0.001164842, -0.0143250795, 0.017175226, -0.016022775, 0.032194253, -0.03653143, 0.033210393, -0.005582568, 0.009343521, -0.028674943, 0.018302891, 0.016877819, 0.021673499, -0.010954472, 0.008618592, 0.025948716, 0.014089633, -0.0033458231, 0.031748142, 0.00076442765, -0.0070386203, -0.034251314, 0.010037469, -0.02071932, -0.024982145, -0.020359952, 0.0032962554, 0.018327676, -0.031995982, -0.039307225, -0.0015404727, 0.041612126, 0.019529693, 0.0247467, -0.009994097, 0.0056228414, 0.055168904, 0.021995688, -0.01464727, 0.023433153, -0.0007411927, -0.021537187, -0.005910954, 0.016047558, -0.005718879, 0.02225592, 0.008023779, 0.0034759385, 0.007676805, 0.028551023, 0.03479656, -0.023210099, -0.0050187344, -0.014783581, 0.0044425093, -0.0074289665, -0.011059804, 0.02014929, 0.027237479, -0.015105772, 0.030732004, 0.033681285, -0.043867458, 0.020731712, 0.023891656, -0.011958219, 0.0003764051, -0.02584958, 0.044610973, 0.019207502, 0.007119168, 0.032194253, -0.030979844, 0.025316728, 0.0011268918, 0.008135307, 0.030236326, 0.040546417, 0.015613841, 0.034647856, -0.003187826, -0.007664413, -0.013284157, -0.0034852324, -0.032342955, -0.019740356, 0.015960814, 0.018761393, -0.0060937353, -0.00015596415, 0.015774935, 0.011245683, -0.013271765, -0.013333725, -0.05660637, 0.032342955, 0.01772047, 0.024610387, -0.0373493, 0.055020202, 0.030236326, 0.0027293242, -0.0012329977, -0.010495971, 0.01707609, -0.021735458, -0.030236326, -0.022293095, -0.004987755, 0.0036184457, 0.027237479, 0.002783539, -0.0350444, 0.044437487, 0.0036866013, 0.029864568, 0.0137550505, -0.04778331, -0.007459946, 0.036481865, -0.016815858, 0.033160824, 0.016035168, -0.019356206, 0.0137550505, -0.05834124, -0.008878823, -0.021698281, -0.031202897, 0.00042210036, -0.037374083, -0.02085563, 0.022107216, 0.030013273, -0.008971763, 0.01177234, 0.025700878, 0.0014940029, 0.014486175, 0.0044827834, 0.01579972, 0.0144489985, -0.0579447, 0.01630779, 0.028674943, 0.0028873214, 0.016159086, -0.017224792, -0.016840642, 0.019331422, 0.019009233, -0.01496946, 0.009101878, 0.039877255, 0.04099253, -0.03640751, 0.00796182, 0.054524522, 0.0007528102, -0.024585603, -0.031425953, 0.022863124, 0.012614992, 0.008854039, -0.054028846, -0.008469889, 0.0039902036, -0.021921337, -0.012813263, -0.002001298, 0.0081229145, 0.035540074, -0.022082431, 0.0098949615, -0.01931903, -0.0434957, 0.0156758, 0.024647564, -0.03606054, 0.006759802, -0.047238063, -0.02954238, -0.044883598, 0.027807508, 0.0007841773, -0.003559584, 0.015378394, -0.011443954, -0.002153099, 0.020620184, 0.007336027, 0.0058180145, -0.0057715448, -0.01535361, -0.04086861, -0.020806063, -0.021078685, -0.011908651, -0.021462835, 0.0068279575, 0.019034015, 0.03184728, 0.0019253972, -0.019889059, 0.016778683, -0.015254475, -0.0053873947, -0.004200867, -0.018265715, -0.024759091, -0.0060379715, 0.0005545392, 0.026840936, -0.0024938774, -0.00055996067, -0.01841442, -0.008575221, 0.0373493, 0.039208088, 0.036481865, -0.016245829, 0.021115862, 0.025242375, -0.023259666, -0.00068813976, -0.011115568, 0.019963412, 0.0035224082, 0.0040304777, 0.010334875, -0.05373144, 0.0156758, -0.013544387, 0.039778117, 0.004931991, 0.008593809, 0.009281561, -0.0066916463, 0.0010083939, 0.0053811986, -0.04337178, -0.0075652776, -0.04676717, 0.017200008, 0.028179266, -0.0083149895, -0.0381176, -0.014994244, 0.046990227, -0.026370043, 0.020521048, 0.045156218, -0.02302422, 0.0019331422, -0.020991942, 0.011047412, -0.007336027, -0.012639776, 0.0229003, -0.009405481, 0.032194253, 0.016109519, 0.024511252, 0.0028424007, 0.028997133, 0.012509661, 0.0075590815, -0.023780128, 0.03204555, -0.009622339, -0.0038662844, 0.008327382, 0.041884746, -0.034449585, 0.03601097, -0.019876668, -0.016283005, 0.010768593, -0.0020400228, 0.0030701025, 0.006161891, 0.009919746, 0.029071486, -0.0035131143, -0.0150809875, -0.016778683, 0.033929124, 0.011710381, 0.011976807, 0.010911101, 0.03281385, 0.025453039, -0.013395684, 0.0060286773, -0.009795826, -0.016196262, -0.026270907, 0.010167585, 0.003339627, -0.008469889, 0.040843826, 0.0022584305, 0.018637473, 0.020942373, 0.02148762, -0.021983298, 0.0065801186, -0.01464727, 0.0095789675, -0.040546417, 0.064884186, -0.0009255228, -0.031772926, 0.00468725, -0.017200008, 0.046296276, -0.014374647, 0.044933163, -0.008847843, -0.0062858104, 0.020756494, 0.04183518, 0.014944676, 0.0079989955, -0.006902309, -0.029344108, 0.0067907814, 0.0056321356, -0.007986603, 0.015229691, 0.007106776, 0.0046686623, 0.011028824, -0.026791368, 0.0008434262, -0.0035936618, -0.0049722646, -0.030434597, -0.0020694535, 0.067659974, 0.019083584, -0.008401734, -0.029220188, 0.04785766, -0.059927408, 0.02085563, -0.04200867, 0.018637473, 0.0131230615, 0.03216947, 0.03819195, -0.002174785, 0.015291651, 0.029765433, 0.01790635, 0.0037082871, -0.0073979865, 0.028427104, -0.0070076403, -0.003190924, -0.03799368, -0.016245829, -0.007354615, -0.012912398, 0.0051705358, -0.0078379, -0.017274361, 0.04842769, -0.014919892, 0.051947, -0.038613275, 0.016493669, -0.022739206, 0.038910683, 0.019529693, -0.02961673, -0.012937183, 0.013197413, -0.013531995, 0.02526716, -0.0048700315, 0.017819606, 0.00026894375, -0.0025124652, 0.019071192, 0.021698281, -0.0016248928, 0.012726519, 0.025824796, 0.032392524, 0.018079836, 0.02316053, -0.039555065, 0.02047148, -0.0009859335, 0.005536098, 0.03115333, -0.0016094028, -0.02417667, 0.033359095, -0.0534836, 0.047114145, 0.05437582, 0.04523057, 0.0034511546, 0.012503465, -0.0058211125, -0.0022739205, 0.027534885, 0.016506061, -0.02706399, -0.016084734, 0.020322777, 0.020372344, -0.015762543, -0.01035966, -0.032714713, 0.019926235, -0.00015286617, 0.026047852, -0.01931903, -0.013829402, 0.05744902, -0.0020245328, 0.015204907, -0.006357064, -0.027287045, 0.027336614, 0.00949842, -0.05898562, 0.030880708, 0.0010176878, 0.010694242, 0.023197707, -0.0012012434, -0.03216947, 0.018315284, -0.019579262, -0.009188621, 0.006493375, -0.021760242, -0.008494673, -0.011381994, 0.01592364, 0.048898585, 0.0034015868, -0.0072678714, -0.031673793, 0.008984154, -0.012410525, 0.0011338623, 0.034077827, -0.036605783, 0.035589643, -0.015316434, -0.024895402, -0.020136898, 0.0055794697, 0.037968896, 0.001287987, -0.006549139, 0.030756788, 0.030608084, -0.018042661, 0.024449293, 0.01112796, -0.008878823, -0.01879857, -0.0005367258, -0.009151446, -0.007633433, 0.001188077, -0.013346116, -0.0046345843, 0.07142713, -0.010842945, -0.019789923, 0.009046114, -0.010118017, 0.0023234882, -0.017943526, 0.023495113, -0.0023188412, 0.0033086473, -0.008209659, -0.014015281, -0.007528102, 0.025576958, 0.015750153, 0.011196115, -0.02457321, -0.016592804, 0.0036618174, -0.0137550505, -0.006103029, -0.014572918, 0.004120319, 0.008265422, -0.0058366023, -0.011313839, -0.018402027, -0.0023343312, 0.0048886193, 0.0133709, 0.0054183747, 0.027460532, 0.011332426, 0.016394533, 0.049567748, 0.030161975, -0.02941846, -0.008767296, -0.0040242816, 0.0095789675, 0.00593264, -0.01970318, -0.015105772, 0.023631424, 0.01618387, 0.00017513293, 0.006134009, -0.015167731, 0.00096192415, 0.02706399, 0.01035966, 0.0040552616, 0.025316728, 0.025601743, -0.052541815, -0.015911248, 0.026518745, 0.0037702469, -0.023272058, -0.0032033157, -0.027584452, 0.027386181, -0.00873012, -0.031376384, 0.005294455, 0.02936889, 0.012274214, -0.021809809, 0.0027029912, -0.017001739, -0.0005634459, 0.0015234338, 0.0035131143, -0.024783874, 0.001287987, 0.0012717226, 0.004938187, 0.003733071, 0.020260816, 0.020558223, -0.018972056, 0.057597723, 0.044288784, 0.03147552, -0.022863124, 0.017708078, 0.0004867708, 0.010886317, 0.0056197434, -0.050112993, 0.018278107, -0.037770625, -0.03107898, -0.0007233793, -0.006431415, 0.017869173, -0.023619032, -0.012875223, -0.013978105, -0.010824357, -0.0083769495, 0.045726247, -0.034548722, 0.01682825, 0.0070386203, -0.025019322, 0.028451888, 0.024932578, -0.01254064, -0.013457644, -0.006549139, 0.028352752, 0.021425659, 0.0013181923, 0.009808218, -0.0009503067, 0.009901158, 0.023098571, 0.013271765, -0.00078379, -0.005328533, -0.011697989, -0.017646119, 0.015180123, 0.0076706093, 0.023309235, -0.010043665, 0.024337765, 0.0043031, -0.01477119, -0.015874071, 0.011115568, -0.004123417, -0.050236914, -0.015130555, 0.021524794, -0.0034604485, -0.045379274, 0.0205954, 0.020583007, 0.030756788, 0.061464008, 0.013346116, 0.0033024512, -0.015886463, 0.03415218, -0.0083149895, -0.009269169, -0.026593097, -0.010867729, 0.019628828, -0.019157935, 0.042702615, 0.013916145, -0.018017877, 0.03090549, 0.00052046136, -0.043594833, 0.0077573527, 0.004337178, 0.050385617, 0.005309945, 0.020843238, 0.042454775, 0.0027122851, -0.00013389101, 0.020583007, -0.017571768, 0.0034914282, 0.00095727714, -0.038687628, 0.017993093, 0.04029858, -0.00014134553, 0.023296842, -0.0026116008, -0.018315284, 0.015997991, -0.00019923912, 0.02296226, 0.020434305, 0.021462835, 0.038985036, 0.008426517, 0.0072430875, -0.0113510145, 0.044487055, 0.045726247, 0.025453039, -0.00479568, 0.02993892, 0.031202897, -0.014870325, -0.026568314, -0.034573507, 0.014721622, -0.04746112, -0.022974651, 0.07752396, -0.013792226, 0.018191364, 0.030112408, -0.041488204, -0.020756494, -0.013061102, -0.029591946, 0.012949575, 0.03779541, -0.010551735, 0.0056228414, -0.040769473, -0.0075342976, -0.029121052, -0.032789066, -0.021859378, -0.012026375, 0.010390639, 0.014783581, -0.0011315388, -0.009585164, -0.008550436, -0.0015544136, -0.013098278, 0.015242083, -0.019294247 ]
2311.01343
67
[21] Jiaxing Qu, Yuxuan Richard Xie, and Elif Ertekin. A language-based recommen- dation system for material discovery. In ICML, 2023. [22] Lei Li, Yongfeng Zhang, and Li Chen. Personalized prompt learning for explain- able recommendation. ACM Transactions on Information Systems, 41(4):1–26, Conference’17, July 2017, Washington, DC, USA 2023. [23] Yunfan Gao, Tao Sheng, Youlin Xiang, Yun Xiong, Haofen Wang, and Jiawei Zhang. Chat-rec: Towards interactive and explainable llms-augmented recom- mender system. arXiv preprint arXiv:2303.14524, 2023. [24] Yupeng Hou, Junjie Zhang, Zihan Lin, Hongyu Lu, Ruobing Xie, Julian McAuley, and Wayne Xin Zhao. Large language models are zero-shot rankers for recom- mender systems. arXiv preprint arXiv:2305.08845, 2023.
2311.01343#67
Collaborative Large Language Model for Recommender Systems
Recently, there is a growing interest in developing next-generation recommender systems (RSs) based on pretrained large language models (LLMs), fully utilizing their encoded knowledge and reasoning ability. However, the semantic gap between natural language and recommendation tasks is still not well addressed, leading to multiple issues such as spuriously-correlated user/item descriptors, ineffective language modeling on user/item contents, and inefficient recommendations via auto-regression, etc. In this paper, we propose CLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and ID paradigm of RS, aiming to address the above challenges simultaneously. We first extend the vocabulary of pretrained LLMs with user/item ID tokens to faithfully model the user/item collaborative and content semantics. Accordingly, in the pretraining stage, a novel soft+hard prompting strategy is proposed to effectively learn user/item collaborative/content token embeddings via language modeling on RS-specific corpora established from user-item interactions and user/item features, where each document is split into a prompt consisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and a main text consisting of homogeneous item tokens or vocab tokens that facilitates stable and effective language modeling. In addition, a novel mutual regularization strategy is introduced to encourage the CLLM4Rec to capture recommendation-oriented information from user/item contents. Finally, we propose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where an item prediction head with multinomial likelihood is added to the pretrained CLLM4Rec backbone to predict hold-out items based on the soft+hard prompts established from masked user-item interaction history, where recommendations of multiple items can be generated efficiently.
http://arxiv.org/pdf/2311.01343
Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li
cs.IR
null
null
cs.IR
20231102
20231108
[ { "id": "2302.13971" }, { "id": "2206.07682" }, { "id": "2308.10053" }, { "id": "2307.02046" }, { "id": "2306.05817" }, { "id": "2205.08084" }, { "id": "2303.14524" }, { "id": "2305.07001" }, { "id": "2303.13835" }, { "id": "2303.18223" }, { "id": "2302.03735" }, { "id": "2305.00447" }, { "id": "2305.08845" }, { "id": "2104.08691" }, { "id": "2308.10837" }, { "id": "2305.06569" } ]
{ "authors": "Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li", "chunk_id": 67, "doc_id": "2311.01343", "primary_category": "cs.IR", "published": 20231102, "source": "http://arxiv.org/pdf/2311.01343", "summary": "Recently, there is a growing interest in developing next-generation\nrecommender systems (RSs) based on pretrained large language models (LLMs),\nfully utilizing their encoded knowledge and reasoning ability. However, the\nsemantic gap between natural language and recommendation tasks is still not\nwell addressed, leading to multiple issues such as spuriously-correlated\nuser/item descriptors, ineffective language modeling on user/item contents, and\ninefficient recommendations via auto-regression, etc. In this paper, we propose\nCLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and\nID paradigm of RS, aiming to address the above challenges simultaneously. We\nfirst extend the vocabulary of pretrained LLMs with user/item ID tokens to\nfaithfully model the user/item collaborative and content semantics.\nAccordingly, in the pretraining stage, a novel soft+hard prompting strategy is\nproposed to effectively learn user/item collaborative/content token embeddings\nvia language modeling on RS-specific corpora established from user-item\ninteractions and user/item features, where each document is split into a prompt\nconsisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and\na main text consisting of homogeneous item tokens or vocab tokens that\nfacilitates stable and effective language modeling. In addition, a novel mutual\nregularization strategy is introduced to encourage the CLLM4Rec to capture\nrecommendation-oriented information from user/item contents. Finally, we\npropose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where\nan item prediction head with multinomial likelihood is added to the pretrained\nCLLM4Rec backbone to predict hold-out items based on the soft+hard prompts\nestablished from masked user-item interaction history, where recommendations of\nmultiple items can be generated efficiently.", "text": "[21] Jiaxing Qu, Yuxuan Richard Xie, and Elif Ertekin. A language-based recommen- dation system for material discovery. In ICML, 2023.\n[22] Lei Li, Yongfeng Zhang, and Li Chen. Personalized prompt learning for explain- able recommendation. ACM Transactions on Information Systems, 41(4):1–26,\nConference’17, July 2017, Washington, DC, USA\n2023.\n[23] Yunfan Gao, Tao Sheng, Youlin Xiang, Yun Xiong, Haofen Wang, and Jiawei Zhang. Chat-rec: Towards interactive and explainable llms-augmented recom- mender system. arXiv preprint arXiv:2303.14524, 2023.\n[24] Yupeng Hou, Junjie Zhang, Zihan Lin, Hongyu Lu, Ruobing Xie, Julian McAuley, and Wayne Xin Zhao. Large language models are zero-shot rankers for recom- mender systems. arXiv preprint arXiv:2305.08845, 2023.", "title": "Collaborative Large Language Model for Recommender Systems", "year": 2023 }
[ 0.006931327, -0.011278863, 0.009912123, -0.0011478993, 0.017155848, -0.00047266443, -0.018717837, 0.059563853, -0.059667986, -0.003859415, -0.0027757848, -0.02398955, -0.008675548, 0.023052357, 0.010510885, -0.0056133987, 0.016413903, -0.0042076083, 0.0026944312, 0.059928317, -0.021412268, -0.021958964, 0.002888053, 0.011402521, 0.017481262, -0.014318234, -0.008760156, 0.034389794, 0.000115725496, -0.03436376, 0.01866577, -0.017220931, -0.006755603, -0.018080024, -0.033738967, 0.010139913, 0.01053041, 0.019329615, 0.015984356, -0.0084087085, -0.021204002, -0.005011382, 0.009020488, -0.003859415, -0.0044874647, 0.043917928, 0.0015880223, -0.005961592, -0.0066514704, 0.0382427, -0.052560937, -0.007295791, -0.032567475, -0.022063097, -0.0022404783, -0.033010036, 0.013472157, 0.000047413898, 0.019681063, -0.020904621, 0.023625085, -0.025095958, -0.00469573, 0.055763014, -0.04186131, -0.0576374, -0.031109618, -0.000067726876, 0.0478229, -0.0193947, -0.004341028, -0.01684345, 0.06143824, -0.015372576, 0.016544068, 0.009853548, 0.0142401345, 0.04428239, -0.02117797, -0.036732778, 0.0085063325, 0.024354015, -0.010139913, -0.0479791, -0.05904319, -0.020618256, -0.012092399, 0.0067881444, -0.035769552, 0.0020257046, -0.049593154, -0.0074584982, -0.013179284, -0.012085891, 0.0619589, 0.026892247, 0.03209888, -0.003001948, 0.042069573, 0.04855183, -0.005278222, -0.029105065, 0.00026806013, -0.034754258, 0.030328622, -0.003524238, -0.030693088, -0.044438593, -0.0020012986, -0.013088168, -0.09455241, 0.012326698, -0.041600976, -0.0056622108, -0.040924117, -0.023130456, -0.077006064, -0.045531984, -0.052717134, 0.035483185, 0.011526179, 0.003436376, 0.030484822, -0.012762753, -0.011233306, -0.018053992, 0.009319869, -0.04006502, -0.028636469, -0.006026675, -0.0007134711, -0.004432144, 0.022922192, 0.0028099534, -0.030953418, -0.0340774, 0.007940112, 0.012521947, -0.0529254, -0.04961919, 0.026033152, -0.016583119, -0.074454814, 0.013927736, -0.046260912, -0.04485512, -0.00632931, -0.021542434, -0.0046696966, -0.013023085, -0.009645283, -0.020423008, -0.0029677793, 0.018639738, -0.054617554, -0.03675881, -0.016127538, 0.031682346, 0.011565228, -0.07226803, 0.009567183, 0.007250233, -0.035769552, -0.008395691, -0.0050699566, -0.014201085, -0.008493316, 0.00794662, -0.029677793, -0.034207564, 0.009612742, -0.019173417, 0.002643992, -0.016557084, 0.0031744177, 0.0055938736, 0.027074479, -0.030432755, -0.034467895, -0.01265862, 0.056752272, 0.02531724, -0.059303522, -0.031343915, -0.009417493, -0.020852555, 0.017598411, 0.007998686, 0.026111253, 0.030588955, 0.018275274, 0.046365045, 0.019069284, 0.047718767, 0.0030068292, 0.0023576275, 0.03402533, -0.017884776, 0.008246001, -0.014812863, 0.0026342296, 0.05120721, -0.041965444, 0.0053823544, -0.0016384615, -0.042069573, -0.014695714, -0.0034461385, -0.082212694, 0.006498526, 0.033374503, 0.01919945, 0.061334107, 0.005577603, -0.033973265, 0.023768269, -0.05534648, -0.0010242418, 0.0043670614, 0.04417826, -0.0074064317, 0.0032590253, 0.06117791, -0.01121378, -0.011233306, 0.03293194, 0.023729218, -0.048265465, 0.011662852, -0.016387869, 0.048109267, -0.029833993, -0.033062104, -0.018262256, 0.014383317, -0.02474451, -0.02585092, -0.0026667712, -0.018626722, -0.0478229, 0.00988609, 0.027152577, 0.034650125, -0.0010990872, 0.05196217, 0.029105065, -0.031916644, -0.055294417, 0.026970346, 0.008063769, 0.045505952, -0.044542722, -0.0076212054, -0.02452323, 0.0039017187, -0.04592248, -0.06820686, 0.0072242, -0.019628998, 0.01828829, -0.060396913, 0.012938477, -0.017975891, 0.034650125, -0.00006615065, 0.025135009, -0.034754258, 0.052743167, 0.016062455, -0.03230714, -0.003206959, -0.01224209, 0.01919945, 0.01543766, -0.046208847, -0.016791383, 0.029703828, 0.011682377, -0.020045528, 0.007809946, -0.0075300895, -0.021269085, 0.07877632, 0.032255076, -0.037800137, 0.005375846, 0.023729218, -0.010146421, -0.043787763, 0.012756245, 0.0332183, -0.032984003, -0.02258376, -0.0625837, 0.012404798, 0.013771538, 0.021399252, -0.028428202, 0.016570102, 0.025108976, 0.030771187, -0.025200091, 0.023247605, 0.026644932, 0.016505018, 0.02980796, -0.025226125, 0.00024853525, 0.0027269728, 0.0017670002, 0.017351096, 0.01528146, -0.018236224, 0.028948866, -0.05342003, -0.08663833, 0.041002214, -0.03030259, -0.0020029256, -0.06586388, -0.023677152, -0.0027399892, 0.0026277213, -0.002216072, -0.03311417, 0.005668719, 0.04961919, -0.020409992, 0.0020696355, -0.0263065, 0.00082817965, 0.053055566, 0.031109618, 0.0052912384, -0.00014663987, -0.04706794, -0.03436376, 0.054409288, 0.005398625, 0.021125903, -0.03511872, 0.0011031548, -0.0052554426, -0.01060851, -0.011187747, 0.01741618, -0.00040392063, 0.020370942, 0.03899766, 0.0263846, 0.020969704, -0.07768293, 0.045297686, -0.029365396, 0.01391472, -0.018223207, -0.016947582, -0.028922832, -0.019876312, 0.0048844703, 0.0019573676, 0.022948224, 0.018756887, -0.0035567796, 0.008564907, 0.0070810174, -0.03243731, -0.018067008, 0.031031517, -0.015632909, -0.0032118403, 0.034467895, -0.061906837, -0.010152929, -0.015099228, 0.017923826, 0.006976885, -0.011942709, -0.0012918952, 0.06300023, 0.008415217, -0.022375494, -0.014877947, -0.008356642, -0.019251516, 0.026475716, -0.034650125, -0.026332533, 0.00092499045, -0.013693438, -0.022401528, -0.014682698, -0.041913375, 0.012528455, 0.037435673, -0.0019297075, 0.012216057, 0.024809595, 0.029183164, 0.01577609, -0.0039114812, 0.007386907, 0.019485814, 0.026657948, -0.015229395, 0.03269764, 0.0012276259, 0.039596424, 0.0011568483, 0.0010218013, 0.027152577, -0.04865596, 0.022115164, 0.017481262, -0.037253443, -0.0014912115, 0.035847653, 0.015034146, 0.039205927, 0.05706467, 0.01003578, 0.009189703, 0.0024357268, -0.046937775, 0.001062478, -0.012157482, 0.03813857, -0.048005134, 0.03371293, -0.057741534, -0.05831426, 0.049176626, 0.07809946, -0.036941044, 0.0073088077, -0.06877959, 0.0574812, 0.043084867, 0.02056619, -0.031422015, -0.002777412, 0.031838547, -0.066592805, -0.009853548, 0.032984003, -0.020475075, -0.013179284, 0.014969063, 0.0030621495, 0.0060136584, -0.0011934573, -0.0014505347, 0.05623161, 0.017025681, -0.022453595, -0.039101794, 0.03014639, -0.027152577, 0.037748072, 0.037800137, 0.01323135, 0.03155218, -0.031448048, -0.020162677, 0.014305217, 0.012639096, -0.023208555, -0.01809304, 0.016400887, -0.00087536476, 0.02790754, -0.011923184, 0.0050081275, -0.012085891, -0.02270091, 0.022713926, -0.0006142197, -0.002260003, 0.015190344, -0.022193262, 0.003275296, -0.012984035, 0.045037355, 0.007471515, 0.033556733, 0.03071912, -0.009879582, -0.02205008, 0.016570102, 0.016296754, 0.027308777, -0.0021054312, 0.028350104, -0.013706455, -0.018145107, 0.0064497134, 0.010999007, -0.009313361, -0.015450676, 0.0013032847, -0.027855473, -0.0047380337, -0.02782944, 0.008083294, -0.019511849, -0.02044904, 0.01030262, 0.0055906195, 0.038320802, 0.040091056, 0.018900068, -0.021477351, -0.0011495264, 0.0036836911, 0.02547344, 0.047198106, -0.03238524, 0.020553173, -0.021230036, 0.037279475, -0.007953128, -0.012398289, -0.011474112, -0.033426568, 0.012626079, -0.01981123, -0.005304255, -0.04657331, -0.012528455, -0.032749705, 0.01577609, 0.0055906195, 0.036368314, 0.018639738, -0.0387113, 0.002888053, 0.0011267473, 0.0071916585, -0.03056292, 0.0022957986, -0.016296754, 0.032411274, -0.015294477, 0.020813506, 0.008831747, 0.027360843, 0.0062902607, 0.012593538, -0.0057988847, 0.012463372, 0.048994392, -0.023390787, -0.016739316, -0.013075151, 0.0050309068, -0.0087992055, 0.00786852, -0.02798564, -0.0015807005, -0.0012805057, 0.026475716, -0.020253792, -0.005261951, 0.04253817, -0.019134367, -0.02022776, 0.008792697, 0.017533328, 0.00844125, 0.012072874, -0.013328974, -0.008981437, -0.006456222, -0.004406111, 0.035639387, -0.033634834, 0.050270017, 0.0043312656, -0.014799847, -0.008050753, -0.019381681, -0.01714283, 0.0060950117, 0.016114522, 0.0091831945, 0.016010389, -0.023833351, 0.01870482, -0.0058346805, 0.018730853, 0.05888699, -0.019303583, -0.02931333, -0.027022412, -0.025863938, 0.012281139, 0.037800137, -0.024991827, -0.008324101, 0.015489725, -0.0045362767, 0.0064790007, -0.04068982, -0.025330257, 0.008415217, 0.008825239, -0.00012284394, -0.02011061, -0.012951493, 0.013966787, 0.013680422, -0.026488733, -0.0024715224, -0.034624092, -0.016283737, -0.0058411886, -0.021256069, -0.029365396, 0.018678786, -0.006963868, 0.0035177297, -0.061229974, -0.020657307, 0.014656665, 0.03509269, 0.014188068, -0.02782944, -0.026918279, -0.0023917959, 0.013485173, 0.032411274, -0.015138278, 0.0038236193, 0.014982079, 0.014995096, -0.0072632497, 0.014005836, 0.016973615, 0.005265205, -0.023586037, 0.022648843, -0.02129512, -0.008193934, -0.019915361, 0.026814148, -0.012775769, -0.0076212054, 0.017116798, -0.021607516, -0.009209228, -0.020904621, -0.063677095, 0.038450968, 0.02205008, 0.009248277, -0.02559059, 0.021412268, 0.03295797, 0.0013854519, -0.026970346, -0.044542722, 0.011246322, 0.010068322, -0.0060917577, -0.034129463, 0.03293194, 0.0071981666, 0.022245329, 0.030927386, 0.011740952, -0.03379103, -0.011278863, 0.011688885, 0.005574349, 0.011356963, -0.03691501, 0.023560002, -0.024627361, -0.0005938813, 0.009853548, -0.022648843, 0.016505018, -0.044933222, -0.044646855, 0.002277901, -0.02311744, 0.013641372, -0.005235918, -0.00052798487, 0.027100513, -0.009612742, -0.012046841, 0.016570102, -0.016322786, -0.011890642, 0.010387228, -0.0036934535, 0.01886102, -0.009463051, -0.08507634, -0.014253151, -0.0006923191, -0.0027383622, 0.009528134, -0.010634542, -0.012170499, -0.011278863, 0.02398955, 0.051623743, -0.012502422, -0.010022764, -0.024158766, 0.010953449, 0.009925139, -0.04425636, 0.009404477, 0.019056268, 0.0077513712, -0.015177328, -0.027152577, -0.043345198, 0.02258376, -0.017962875, 0.00036121, -0.014474433, 0.024432113, -0.008786189, 0.0063878847, -0.022141196, 0.008974929, -0.008037736, 0.016492002, 0.024536246, -0.011714919, -0.01494303, 0.004259675, -0.037357572, -0.007972653, 0.013381041, -0.004555802, 0.0038268734, -0.032489374, 0.0042336415, 0.030172424, 0.039205927, 0.024588313, 0.030771187, 0.0025821633, -0.013602322, 0.009053029, -0.03230714, 0.010888366, 0.0016303262, -0.013524223, 0.005688244, -0.024432113, 0.0140448855, -0.022076113, -0.038867496, 0.022987274, 0.0036088459, 0.04040345, -0.011038057, 0.026970346, 0.00790757, -0.017767627, 0.0052066306, -0.018626722, -0.04540182, 0.0015929035, 0.00041368307, 0.009358918, 0.017442212, -0.008330609, 0.053211764, 0.008603957, 0.0063878847, 0.05094688, -0.04292867, 0.0034168514, 0.015346544, -0.025187075, 0.008154885, -0.039986923, -0.021607516, -0.03675881, -0.032176975, -0.022310412, 0.016400887, -0.05919939, -0.0018695057, 0.021698633, 0.018080024, -0.017377129, -0.007178642, 0.025824888, 0.001108036, -0.10850618, -0.03428566, 0.03402533, -0.012365747, 0.028558368, -0.0064432053, 0.0021851577, 0.009560675, 0.015580842, -0.03467616, 0.04649521, -0.01543766, 0.025863938, 0.001015293, -0.021190986, -0.031031517, 0.00096485374, -0.005737056, 0.060709313, 0.016778367, -0.0237943, -0.0067425864, 0.017403163, 0.03759187, -0.006280498, -0.0013716217, 0.011545703, 0.00587373, 0.011721427, 0.0058184094, -0.016973615, -0.035535254, -0.0075365975, 0.055867147, -0.025499472, 0.024770545, -0.0170387, -0.021815782, -0.014565549, -0.03287987, 0.0039147353, -0.0027432435, 0.03683691, 0.008154885, 0.019850278, -0.04597455, -0.0058119013, -0.004474448, 0.020501107, -0.028350104, -0.008760156, 0.0382427, -0.007901062, 0.004064426, 0.0039147353, 0.012704179, 0.021529417, -0.0067816363, 0.049957618, -0.028532336, -0.012411306, -0.016231671, 0.01490398, -0.009788466, -0.023221573, -0.0026016883, -0.0070159347, 0.021659583, -0.04277247, -0.028766634, -0.014669682, 0.028141838, -0.006885769, 0.05175391, 0.011200764, 0.007302299, 0.039127827, 0.01060851, -0.0043019783, 0.026371583, 0.008486807, -0.023586037, -0.0138496375, 0.0155027425, -0.024913726, 0.010888366, 0.008239493, 0.009319869, -0.005854205, 0.0010120388, 0.041835275, -0.0064920173, -0.020709373, -0.0073738904, 0.00893588, -0.018483538, -0.009241769, 0.004650172, 0.03293194, 0.011981758, 0.023546986, 0.015528776, -0.041340645, 0.014786831, 0.017650478, 0.0074454816, 0.02592902, -0.014357284, 0.038060468, 0.03558732, -0.0057468186, 0.03517079, -0.056127477, -0.009840531, 0.0077513712, -0.0064952713, -0.0018450997, 0.029547628, 0.0131727755, 0.009424001, -0.0034233595, -0.007523581, -0.0048421663, -0.0033452602, -0.034051362, -0.0074194483, 0.045245618, 0.02790754, -0.011018531, 0.0004246658, 0.044412557, 0.013940753, -0.02133417, -0.004314995, -0.026618898, 0.013328974, 0.014461416, 0.013966787, -0.051623743, 0.03121375, 0.01733808, -0.009502101, 0.008760156, 0.0006532694, -0.008558399, -0.029573662, -0.01528146, -0.048265465, -0.008714598, -0.0016091743, 0.035899717, 0.013511206, -0.027569108, 0.040533617, 0.0053823544, 0.011597769, 0.013049117, -0.029964158, 0.0041685584, 0.058574595, 0.026397618, 0.03699311, -0.00044907187, -0.011610786, 0.009925139, -0.044126194, -0.019290566, -0.027126545, -0.03642038, 0.024210831, -0.020527141, 0.0134591395, 0.0108428085, 0.056752272, -0.03303607, 0.013745504, 0.024848644, -0.0075365975, 0.017923826, 0.010341669, 0.019707097, 0.010165947, -0.050842747, -0.010855825, 0.031760447, 0.012918952, 0.022375494, -0.0006870312, -0.0016921549, 0.024874678, 0.021880865, -0.00587373, 0.014799847, 0.039986923, 0.044464625, -0.04816133, 0.0006426934, 0.02258376, -0.031083584, -0.011096631, 0.00004802405, 0.012866885, 0.009508609, 0.009716874, -0.03558732, -0.009105095, 0.0073608737, -0.007250233, -0.008831747, -0.0067295698, -0.02600712, 0.0387894, -0.01573704, 0.033921197, 0.0066124205, -0.04475099, -0.0014806356, 0.018392423, -0.04113238, -0.007159117, -0.028193904, -0.026618898, -0.035274923, 0.036784846, 0.00008750597, -0.012372255, 0.0072892825, -0.0077448627, -0.030406723, 0.006833703, 0.011545703, -0.01755936, 0.0091831945, -0.02767324, -0.024210831, -0.008851272, -0.018483538, -0.030693088, -0.0061405697, 0.015619892, 0.033374503, 0.037513774, 0.008643007, -0.016700268, 0.009443526, -0.0076472387, 0.006801161, 0.02155545, -0.018444488, -0.020266809, 0.0071981666, -0.0072176917, 0.0122030405, 0.0037845694, -0.0020972958, -0.02642365, -0.014773814, 0.03269764, 0.03136995, 0.040091056, 0.007386907, -0.0029954396, 0.016166588, -0.029573662, 0.005805393, -0.02767324, -0.021698633, 0.008545382, -0.002256749, 0.012150974, -0.043345198, 0.007471515, -0.024822611, 0.028792666, -0.013433107, -0.002190039, 0.001876014, -0.007953128, -0.021464335, -0.00226163, -0.024314964, -0.009189703, -0.03254144, 0.030042259, 0.004851929, -0.008350134, -0.02003251, -0.019264532, 0.025408357, -0.023299672, 0.037175342, 0.042798504, -0.025720755, -0.009749415, -0.0288968, 0.004380078, -0.024705462, 0.006283752, 0.013901703, -0.017533328, 0.018353373, 0.029599695, 0.008206951, -0.00877968, 0.010628034, 0.025004843, -0.0017084257, -0.030693088, 0.03311417, -0.020240776, -0.022922192, 0.036862943, 0.032020777, -0.0010250554, 0.02315649, -0.038477, -0.008792697, -0.024002567, -0.016452953, 0.0077839126, 0.0010462073, -0.0041457796, 0.025902987, 0.00040717478, -0.020136643, -0.022076113, 0.02535629, -0.0046404093, 0.025108976, 0.014669682, 0.00013687744, -0.0003608032, 0.0004336147, 0.003254144, -0.018027958, -0.0060592163, -0.031109618, 0.026241418, -0.026605882, -0.017975891, 0.05425309, 0.009918631, 0.020475075, -0.0017735085, 0.0056719733, -0.027282745, -0.0035177297, -0.021164954, 0.022375494, -0.04102825, 0.07893252, -0.004972332, -0.0057175313, 0.015684975, -0.025720755, 0.049957618, -0.042954702, 0.029651761, 0.009410985, -0.013784554, 0.025239142, 0.04126255, 0.011246322, -0.00043727562, -0.014057903, -0.019329615, 0.0020875335, 0.003387564, -0.014838897, 0.019928379, 0.000052676456, 0.010588985, 0.0012463372, -0.0336869, 0.008050753, 0.009801482, -0.005831426, -0.01725998, 0.030771187, 0.06513495, -0.00311747, -0.004975586, -0.024249882, 0.02201103, -0.052873332, 0.004744542, -0.052613, 0.022831075, 0.00767978, -0.010393736, 0.054305155, -0.010953449, 0.015711008, 0.010504377, 0.020019494, -0.013680422, -0.030172424, -0.0060917577, -0.017741593, 0.01125283, -0.025577573, -0.035639387, -0.019746147, -0.016010389, -0.012860377, 0.013667406, -0.025694722, 0.059407655, 0.008714598, 0.044074126, -0.052066304, 0.009983714, -0.031187717, 0.02432798, 0.012821328, -0.03287987, -0.020917637, -0.0054311664, -0.0012601673, 0.025004843, -0.024406081, 0.010458819, 0.00101692, 0.004516752, 0.033010036, 0.027022412, -0.012710687, 0.0035600336, 0.022674875, 0.01593229, 0.023013307, 0.02048809, -0.008278542, 0.04178321, -0.0028734093, 0.0022534947, 0.042199742, 0.00046818997, -0.032775737, 0.009580201, -0.04930679, 0.023325704, 0.0625837, 0.027595142, 0.016218655, -0.0022274617, 0.003166282, -0.008792697, 0.023065373, 0.004627393, -0.0016807654, -0.03540509, 0.012437339, 0.017207913, -0.019134367, -0.0013773164, -0.056596074, 0.009970698, -0.004227133, 0.023195539, -0.0047120005, -0.016908532, 0.05029605, 0.004991857, 0.023364754, -0.0035632877, -0.018158125, -0.0076927966, -0.012339714, -0.04878613, 0.0058411886, 0.020475075, 0.013276908, 0.029651761, -0.0049332823, -0.0076146973, 0.03517079, -0.030797219, 0.0009111603, 0.021230036, -0.03904973, -0.0024487434, 0.00889683, 0.011200764, 0.040247254, 0.008695073, -0.0075756474, -0.021451319, 0.0007447922, 0.008649515, -0.0018662516, 0.04113238, -0.02559059, 0.006508288, 0.020214744, -0.011532687, -0.026410634, -0.023065373, 0.032567475, -0.0036999618, -0.013745504, 0.045948513, 0.009293836, -0.008571415, 0.014162035, 0.0068792608, -0.001490398, -0.01634882, -0.011376488, -0.0028099534, -0.013966787, -0.003254144, -0.010764709, -0.01281482, 0.045453884, 0.005174089, -0.022414545, 0.0074650063, -0.014969063, 0.004744542, -0.0055938736, 0.025642656, -0.018639738, 0.00180605, 0.011376488, -0.02238851, -0.005896509, 0.006163349, 0.02432798, 0.0009599725, -0.001241456, -0.026566831, 0.028766634, -0.0032134673, -0.00002024942, -0.010139913, -0.0039635473, 0.005174089, 0.0047477963, -0.031239783, -0.025030876, -0.005392117, 0.0046859677, 0.013706455, 0.001479822, 0.022922192, -0.012092399, 0.02767324, 0.04847373, 0.019746147, -0.03402533, -0.026202368, -0.0056784814, -0.017129814, 0.03097945, -0.0076667634, 0.0012154228, 0.03881543, 0.004083951, -0.0030686578, 0.004305233, -0.0116172945, -0.0029661523, 0.018014941, 0.022687893, -0.002827851, 0.029521596, 0.030614987, -0.02725671, -0.0263846, 0.022987274, -0.011903659, -0.024197815, -0.019290566, -0.022596776, 0.04186131, 0.010471836, -0.032072846, -0.0071005425, 0.013407074, 0.014266168, -0.023976533, -0.011161714, -0.015177328, 0.013537239, -0.0046176305, -0.0032785502, -0.02699638, 0.012352731, -0.013328974, 0.009365426, 0.0024031855, 0.005571095, 0.035300955, -0.034545995, 0.0619589, 0.055867147, 0.011363471, -0.0048877243, 0.01494303, 0.0051643266, 0.020045528, -0.009000963, -0.047796868, 0.022818059, -0.012580521, -0.0168825, 0.015789106, -0.010465328, 0.010335161, -0.004311741, -0.028011672, -0.007002918, -0.0021347185, 0.0035730503, 0.023937484, -0.012170499, 0.03766997, 0.020748423, -0.022765992, 0.0054734703, 0.039023697, -0.0048421663, -0.018483538, -0.0026277213, 0.018678786, 0.04212164, -0.0018646246, 0.004516752, -0.02535629, 0.0069378354, 0.0019069284, 0.0240286, 0.006238194, -0.010374212, -0.025824888, -0.022141196, 0.026254434, 0.039440226, 0.011259339, -0.012404798, 0.04079395, 0.0027383622, -0.02208913, 0.0009371935, 0.0017100527, -0.006963868, -0.0480572, -0.0036967078, 0.017116798, -0.019043252, -0.031656314, 0.019824246, -0.0033517685, 0.035144757, 0.05534648, 0.0033078375, 0.009397968, -0.021958964, 0.032567475, 0.0085974485, 0.0013130471, -0.016335804, 0.004637155, 0.0063130395, -0.0039602933, 0.04972332, 0.012359239, -0.031890612, 0.013296433, 0.01494303, -0.02616332, 0.02668398, -0.0006711672, 0.04623488, -0.009931648, 0.014982079, 0.048005134, 0.01771556, -0.009059537, 0.028688535, -0.020084577, -0.0055157742, -0.0034493927, -0.034728225, 0.01593229, 0.037774105, 0.017936843, 0.03569145, 0.0030230999, -0.017806677, -0.006205653, -0.005034161, 0.0263065, 0.0005255443, 0.0070354594, 0.024393065, 0.03147408, -0.0017198152, -0.028454237, 0.05170184, 0.045948513, 0.029391428, -0.017494278, 0.04126255, 0.027517043, 0.0074650063, -0.021945948, -0.030953418, 0.007901062, -0.048369598, -0.024301948, 0.061073776, -0.010283095, 0.011005515, 0.024887694, -0.030953418, -0.0018548621, -0.033426568, -0.026059186, -0.0055678403, 0.01440935, 0.004520006, 0.029443495, -0.03327037, -0.0069833933, -0.024314964, -0.026631916, -0.005824918, -0.038633198, 0.017194897, 0.003436376, 0.014201085, -0.009879582, -0.0026016883, -0.007855504, -0.025981085, 0.020253792, 0.000118979646 ]
2311.01343
68
[25] Junjie Zhang, Ruobing Xie, Yupeng Hou, Wayne Xin Zhao, Leyu Lin, and Ji- Rong Wen. Recommendation as instruction following: A large language model empowered recommendation approach. arXiv preprint arXiv:2305.07001, 2023. [26] Zhankui He, Zhouhang Xie, Rahul Jha, Harald Steck, Dawen Liang, Yesu Feng, Bodhisattwa Prasad Majumder, Nathan Kallus, and Julian McAuley. Large language models as zero-shot conversational recommenders. arXiv preprint arXiv:2308.10053, 2023. [27] Fan Yang, Zheng Chen, Ziyan Jiang, Eunah Cho, Xiaojiang Huang, and Yanbin Lu. Palr: Personalization aware llms for recommendation. arXiv e-prints, pages arXiv–2305, 2023. [28] Jianchao Ji, Zelong Li, Shuyuan Xu, Wenyue Hua, Yingqiang Ge, Juntao Tan, and Yongfeng Zhang. Genrec: Large language model for generative recommendation. arXiv e-prints, pages arXiv–2307, 2023.
2311.01343#68
Collaborative Large Language Model for Recommender Systems
Recently, there is a growing interest in developing next-generation recommender systems (RSs) based on pretrained large language models (LLMs), fully utilizing their encoded knowledge and reasoning ability. However, the semantic gap between natural language and recommendation tasks is still not well addressed, leading to multiple issues such as spuriously-correlated user/item descriptors, ineffective language modeling on user/item contents, and inefficient recommendations via auto-regression, etc. In this paper, we propose CLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and ID paradigm of RS, aiming to address the above challenges simultaneously. We first extend the vocabulary of pretrained LLMs with user/item ID tokens to faithfully model the user/item collaborative and content semantics. Accordingly, in the pretraining stage, a novel soft+hard prompting strategy is proposed to effectively learn user/item collaborative/content token embeddings via language modeling on RS-specific corpora established from user-item interactions and user/item features, where each document is split into a prompt consisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and a main text consisting of homogeneous item tokens or vocab tokens that facilitates stable and effective language modeling. In addition, a novel mutual regularization strategy is introduced to encourage the CLLM4Rec to capture recommendation-oriented information from user/item contents. Finally, we propose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where an item prediction head with multinomial likelihood is added to the pretrained CLLM4Rec backbone to predict hold-out items based on the soft+hard prompts established from masked user-item interaction history, where recommendations of multiple items can be generated efficiently.
http://arxiv.org/pdf/2311.01343
Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li
cs.IR
null
null
cs.IR
20231102
20231108
[ { "id": "2302.13971" }, { "id": "2206.07682" }, { "id": "2308.10053" }, { "id": "2307.02046" }, { "id": "2306.05817" }, { "id": "2205.08084" }, { "id": "2303.14524" }, { "id": "2305.07001" }, { "id": "2303.13835" }, { "id": "2303.18223" }, { "id": "2302.03735" }, { "id": "2305.00447" }, { "id": "2305.08845" }, { "id": "2104.08691" }, { "id": "2308.10837" }, { "id": "2305.06569" } ]
{ "authors": "Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li", "chunk_id": 68, "doc_id": "2311.01343", "primary_category": "cs.IR", "published": 20231102, "source": "http://arxiv.org/pdf/2311.01343", "summary": "Recently, there is a growing interest in developing next-generation\nrecommender systems (RSs) based on pretrained large language models (LLMs),\nfully utilizing their encoded knowledge and reasoning ability. However, the\nsemantic gap between natural language and recommendation tasks is still not\nwell addressed, leading to multiple issues such as spuriously-correlated\nuser/item descriptors, ineffective language modeling on user/item contents, and\ninefficient recommendations via auto-regression, etc. In this paper, we propose\nCLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and\nID paradigm of RS, aiming to address the above challenges simultaneously. We\nfirst extend the vocabulary of pretrained LLMs with user/item ID tokens to\nfaithfully model the user/item collaborative and content semantics.\nAccordingly, in the pretraining stage, a novel soft+hard prompting strategy is\nproposed to effectively learn user/item collaborative/content token embeddings\nvia language modeling on RS-specific corpora established from user-item\ninteractions and user/item features, where each document is split into a prompt\nconsisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and\na main text consisting of homogeneous item tokens or vocab tokens that\nfacilitates stable and effective language modeling. In addition, a novel mutual\nregularization strategy is introduced to encourage the CLLM4Rec to capture\nrecommendation-oriented information from user/item contents. Finally, we\npropose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where\nan item prediction head with multinomial likelihood is added to the pretrained\nCLLM4Rec backbone to predict hold-out items based on the soft+hard prompts\nestablished from masked user-item interaction history, where recommendations of\nmultiple items can be generated efficiently.", "text": "[25] Junjie Zhang, Ruobing Xie, Yupeng Hou, Wayne Xin Zhao, Leyu Lin, and Ji- Rong Wen. Recommendation as instruction following: A large language model empowered recommendation approach. arXiv preprint arXiv:2305.07001, 2023.\n[26] Zhankui He, Zhouhang Xie, Rahul Jha, Harald Steck, Dawen Liang, Yesu Feng, Bodhisattwa Prasad Majumder, Nathan Kallus, and Julian McAuley. Large language models as zero-shot conversational recommenders. arXiv preprint arXiv:2308.10053, 2023.\n[27] Fan Yang, Zheng Chen, Ziyan Jiang, Eunah Cho, Xiaojiang Huang, and Yanbin Lu. Palr: Personalization aware llms for recommendation. arXiv e-prints, pages arXiv–2305, 2023.\n[28] Jianchao Ji, Zelong Li, Shuyuan Xu, Wenyue Hua, Yingqiang Ge, Juntao Tan, and Yongfeng Zhang. Genrec: Large language model for generative recommendation. arXiv e-prints, pages arXiv–2307, 2023.", "title": "Collaborative Large Language Model for Recommender Systems", "year": 2023 }
[ 0.010134339, 0.0068852087, 0.023057157, -0.0016107458, -0.014482892, 0.011129348, -0.05198609, 0.047662105, -0.05277227, 0.02470322, -0.0052698567, -0.024199575, -0.019752748, 0.030120485, 0.016583465, -0.0144337565, 0.019801885, -0.025993045, 0.0037773447, 0.05164214, 0.0021159272, -0.009415722, 0.0025627594, 0.021656776, 0.029383443, -0.021312824, -0.019113978, 0.07910927, 0.0017704384, -0.031668276, 0.017381927, -0.01987559, -0.01374585, -0.007904785, -0.04734272, 0.0134633165, 0.0234871, 0.0095877, -0.010036067, 0.022528945, 0.0014134332, -0.017123962, 0.018684037, 0.0017504768, 0.004649512, 0.03459188, 0.015502469, -0.023118578, -0.006344711, 0.021595357, -0.054098945, -0.022897465, -0.037540052, -0.040340815, -0.020858314, -0.04245367, 0.022135854, 0.0092621725, -0.0025412624, 0.0012898251, 0.0061696633, -0.040045995, -0.0137089975, 0.033609156, -0.054393765, -0.04847285, -0.06053579, -0.0041980734, 0.030857528, -0.01083453, -0.03031703, -0.026508976, 0.03793314, -0.0191754, -0.015637593, 0.0060038283, 0.01659575, 0.05896343, -0.020735472, -0.032601863, 0.024138154, 0.011467159, -0.007345861, -0.03174198, -0.031299755, -0.027737381, -0.0062280125, -0.016657168, -0.025575388, 0.013979247, -0.014298632, -0.03820339, -0.029702827, -0.012591149, 0.041741196, 0.009544705, 0.0481289, 0.00019865608, 0.06736572, 0.054000676, -0.008310159, -0.029186897, 0.013119363, -0.034690153, 0.016988838, -0.0012307081, -0.025145447, -0.024359267, -0.004179647, 0.014114371, -0.105249725, 0.036876712, -0.0143232, 0.01568673, -0.042625647, -0.05277227, -0.03640992, -0.019494783, -0.049234465, 0.037171528, 0.0036514332, 0.025010321, 0.025845638, -0.04206058, 0.0012790764, -0.015490185, -0.016853714, -0.035574604, -0.0030034496, -0.009206894, -0.010779252, -0.0065719658, 0.0038971142, -0.008205744, -0.050364595, -0.038645614, 0.02130054, 0.025305139, -0.028572695, -0.043804914, 0.043682076, -0.02682836, -0.077192955, 0.018671753, -0.045008752, -0.028474422, -0.014740857, -0.010281748, -0.0194825, 0.02439612, -0.002694813, -0.021521652, -0.02470322, 0.03471472, -0.04191317, -0.037712026, 0.011737408, 0.012615717, 0.0053097797, -0.08829774, 0.036139667, 0.025575388, -0.019064842, 0.01341418, 0.022246411, 0.016522044, -0.022332398, 0.019457933, -0.020649485, -0.023917042, -0.014470608, 0.009483285, -0.008107471, -0.028327014, 0.019654477, -0.0022986524, -0.007149316, -0.015613025, -0.0068544988, -0.04080761, 0.03729437, 0.017246803, -0.068348445, -0.04115156, -0.009114764, 0.0014679438, 0.022922033, 0.012664854, 0.0107116895, 0.02270092, 0.020428373, 0.044320844, 0.052084364, 0.079404086, 0.015453332, -0.027565403, 0.060339242, -0.0016614174, 0.016436055, -0.0018441427, 0.032233343, 0.038105115, -0.04115156, -0.043166146, -0.015404196, -0.056457482, -0.016558897, 0.014888266, -0.05019262, -0.004661796, 0.018524345, 0.006473693, 0.063729644, 0.018868297, -0.0123331845, 0.01702569, -0.05414808, -0.025993045, 0.0010978868, 0.015342776, -0.00883223, 0.0065535395, 0.054344628, 0.0050149625, -0.030538144, 0.020194974, 0.024973469, -0.05380413, 0.020796893, 0.011012649, 0.07144402, -0.005334348, -0.024604948, -0.053165358, -0.012302474, -0.03793314, 0.015465616, 0.0016230298, -0.009593842, -0.05095423, 0.0142740635, 0.01987559, 0.022713205, -0.012750842, 0.045352705, 0.01438462, -0.017455632, -0.04048822, 0.0596022, -0.0018948144, 0.014888266, -0.032429885, -0.01720995, -0.016497476, -0.019961577, -0.055818714, -0.049873233, 0.022442956, -0.043903187, 0.0068790666, -0.057096254, 0.034174222, -0.019077126, 0.055622168, 0.0072660143, -0.00029347357, -0.031496298, 0.043903187, 0.008948929, -0.008912077, 0.013205351, -0.033633724, 0.014482892, 0.0057888576, -0.03623794, -0.008205744, 0.05640835, 0.019752748, -0.011559289, 0.009673688, -0.0031078642, 0.005282141, 0.068348445, 0.03960377, -0.017332792, 0.0048184176, 0.01714853, -0.036827575, -0.053214494, 0.0034794565, 0.032085933, -0.0124928765, -0.021927025, -0.05793157, 0.0037957707, 0.012787694, 0.00093819416, -0.019224536, 0.011663703, 0.00980267, 0.013156216, -0.025722796, -0.0013051801, 0.0050702407, -0.0040475936, 0.048865944, -0.04491048, -0.0027700528, 0.013794986, 0.005150087, 0.029629124, 0.032036796, -0.040340815, 0.01623951, -0.05572044, -0.06348396, 0.047023334, -0.044664796, 0.006467551, -0.043534666, -0.018610332, -0.0066088177, 0.0015470223, -0.013586157, 0.0078065125, 0.003851049, 0.04721988, -0.025022605, -0.006203444, -0.038080547, 0.007487127, 0.06063406, 0.032921247, 0.0029420294, 0.008408431, -0.056604892, -0.027835652, 0.03429706, 0.033093225, 0.022430671, -0.06024097, 0.014003814, 0.008813804, 0.009575415, -0.036459055, 0.005365058, 0.009507853, 0.055671304, 0.029678259, 0.00725373, 0.026730089, -0.056162667, 0.032405317, -0.018069834, 0.0034456754, 0.011878674, 0.007456417, -0.034395333, -0.006657954, 0.004557382, -0.0214848, 0.011166199, 0.022799192, -0.031938523, 0.004572737, -0.016362352, -0.044492822, 0.009642977, 0.03316693, -0.004115156, 0.016915133, 0.0073704286, -0.05070855, 0.014310916, -0.029899372, 0.017615324, 0.019224536, 0.009231462, -0.0052207205, 0.039259817, -0.003814197, 0.0038940432, 0.005361987, -0.011393455, -0.027663676, 0.025145447, -0.031496298, 0.006958913, 0.019838737, -0.006145095, -0.010214186, -0.015846422, -0.022848329, 0.01845064, 0.042232558, 0.010109771, 0.00977196, 0.044075165, 0.017517053, 0.026631815, 0.008039909, -0.0020744686, 0.024076734, 0.0429696, -0.008156608, 0.03763832, -0.00165374, 0.032184206, 0.015023391, -0.016927417, 0.020207258, -0.027319722, 0.0109573705, 0.018831445, 0.0073520024, 0.00519001, 0.031643707, 0.019298239, 0.01896657, 0.03820339, 0.009108622, -0.024555812, -0.013954679, -0.0802394, -0.015502469, -0.011700556, 0.015195367, -0.037834868, 0.004867554, -0.04088131, -0.071640566, 0.035009537, 0.06156765, -0.052624863, -0.0051132347, -0.043264415, 0.049725827, 0.048448283, 0.03805598, -0.038817592, 0.013573873, 0.042478237, -0.03707326, 0.016890565, 0.05124905, -0.0086111175, -0.01927367, 0.02849899, 0.0007220717, 0.0030541215, -0.016067535, 0.011246046, 0.02528057, 0.033240635, -0.002309401, -0.02606675, 0.053460177, -0.00974125, 0.037540052, 0.054098945, 0.05198609, 0.05110164, -0.03405138, -0.03471472, 0.011381171, -0.0021497083, 0.00913319, 0.00032360788, -0.0058257096, -0.028204175, 0.005957763, -0.021607641, -0.01826638, -0.0142740635, -0.015084811, 0.015441048, 0.0024829132, -0.020170407, -0.0011907849, -0.00032437564, 0.009483285, -0.037318937, 0.04505789, 0.020477507, 0.012885966, 0.001153165, -0.0018932789, -0.03778573, 0.028744671, 0.033658292, 0.005573887, 0.023167714, 0.03562374, -0.011786544, -0.01225948, 0.026558112, -0.0059823315, -0.037761163, -0.008359294, -0.0027224522, -0.024150439, -0.0074134227, -0.0077942284, 0.00819346, -0.02193931, -0.017185383, 0.030390734, 0.022651784, 0.032970384, 0.06623559, -0.008574265, -0.022885181, -0.018069834, 0.0057489346, 0.04849742, 0.06289432, -0.06392618, 0.009464859, -0.016436055, 0.042551942, 0.0026303218, 0.019285955, 0.0020591135, -0.027835652, 0.007480985, -0.008377721, 0.016300932, -0.034763854, -0.00047792622, -0.00825488, 0.028572695, 0.023818769, 0.032945815, -0.028081333, -0.039259817, -0.013721282, -0.002206522, 0.00014213027, -0.048423715, 0.020416088, -0.017873289, 0.039800316, -0.01247445, 0.013893258, 0.02109171, 0.0034241783, 0.0044836774, 0.008107471, -0.020084418, 0.028449856, 0.047269017, -0.033093225, -0.026386134, -0.023708213, 0.0004740875, -0.022356967, 0.0062955744, 0.0065166876, -0.0028268665, 0.0029512425, 0.012873682, 0.005850278, -0.007892501, 0.04245367, -0.022848329, -0.021374242, 0.01908941, 0.0002809976, 0.022885181, 0.017246803, -0.025870204, -0.01881916, 0.028179606, -0.020010713, 0.032159638, -0.046998765, 0.040021427, -0.0049474, 0.0128982505, 0.009962363, -0.033633724, -0.03228248, 0.015465616, 0.005659875, 0.0154779, -0.011682129, -0.031103209, 0.0048153466, -0.010017641, 0.03159457, 0.050512005, -0.005466401, -0.04063563, -0.045721225, -0.06304173, 0.009513995, 0.024359267, -0.020317815, -0.017578473, 0.0143232, 0.0054940404, 0.009415722, -0.03906327, 0.008703248, 0.015146231, -0.005604597, -0.010945086, -0.008795379, -0.0077573764, 0.0006955842, 0.013573873, -0.029973077, -0.0045850207, -0.042994168, -0.018733174, 0.0036852143, -0.005042602, -0.0234871, 0.023462532, -0.024003029, 0.013094795, -0.041126993, 0.007345861, 0.01935966, -0.006344711, 0.026312431, -0.03508324, 0.01135046, 0.00028579606, -0.0015047959, 0.021656776, -0.020072134, 0.012910535, 0.011000365, -0.007929353, 0.018413788, 0.011884816, -0.008512845, 0.0014963506, -0.040389948, 0.018032983, 0.012935102, 0.027737381, -0.017725881, 0.031668276, -0.012277906, -0.0246418, 0.0011669846, -0.0052729277, -0.0085312715, -0.006412273, -0.027417995, 0.024985753, 0.017123962, 0.0075546894, -0.02406445, 0.028179606, 0.019470217, -0.0015623773, 0.0042625647, -0.04879224, 0.0040199547, 0.008095187, -0.008058336, -0.005079454, 0.048595693, 0.015981546, 0.010244896, 0.012572723, -0.009280598, -0.0042994167, -0.026631815, 0.013389613, 0.01083453, -0.008764668, -0.03341261, 0.003596155, -0.019629909, 0.0077880863, -0.008261022, -0.026680952, 0.025698228, -0.042478237, -0.026508976, 0.023646792, -0.012812262, 0.008353152, -0.013917826, -0.016534328, 0.00661496, -0.011012649, -0.02709861, -0.008267164, -0.024199575, 0.023437964, 0.011264472, 0.00880152, 0.018892866, -0.029973077, -0.075080104, -0.015981546, 0.017946994, -0.017983846, 0.02618959, -0.013254488, -0.0072844406, -0.048964214, 0.019371944, 0.027639108, -0.02103029, -0.011418022, -0.01174355, 0.029751964, 0.014728573, -0.033314336, -0.017406495, 0.04631086, 0.017897857, -0.002060649, -0.018659469, -0.064466685, 0.0050211046, -0.009882516, -0.021693628, 0.0035654448, 0.013119363, -0.017897857, 0.0052115074, -0.028081333, 0.013365044, 0.002278691, 0.014986538, 0.03174198, 0.015748149, -0.020821461, -0.0015861777, -0.04424714, 0.0073704286, -0.007702098, -0.0074195648, 0.003074083, -0.04100415, -0.009642977, 0.02955542, 0.02528057, 0.014003814, 0.035795715, 0.0034794565, -0.0057274373, -0.024740072, -0.055769578, 0.009114764, 0.014482892, 0.0050671697, 0.0065658237, -0.013942394, 0.02012127, -0.027688244, -0.0424291, 0.006135882, -0.00035259055, 0.016522044, 0.001019576, 0.017873289, 0.015699014, -0.0043055587, -0.005865633, -0.022172706, -0.04333812, -0.012013799, -0.015367344, 0.015256788, 0.03444447, -0.007720524, 0.025624525, -0.014642585, 0.0115224365, 0.06259951, -0.028941216, 0.016706305, 0.006436841, -0.014089803, 0.041593786, -0.02014584, 0.0029143903, -0.018757742, -0.03250359, -0.03562374, 0.01235161, -0.029186897, -0.0002057578, 0.038129684, 0.024776924, 0.0065473975, -0.0071247476, 0.04682679, 0.014237211, -0.0820083, -0.022221843, 0.037712026, -0.010005357, 0.0067992206, 0.002318614, 0.01669402, 0.005914769, 0.01177426, -0.02185332, 0.031692844, -0.035255216, 0.014519745, -0.010545855, -0.013770417, -0.04685136, 0.00067024835, -0.024432972, 0.047121607, -0.0070633274, -0.015391912, 0.019052558, -0.015035675, 0.06525286, -0.011098637, -0.0034763855, 0.018462924, 0.011307466, 0.0026733158, -0.008199602, -0.03356002, -0.011946237, 0.01283683, 0.0475884, -0.03564831, 0.006915919, -0.012861398, -0.021890173, -0.016718589, -0.033363473, -0.011817254, -0.013782701, 0.03572201, -0.021067142, 0.025427978, -0.01353702, 0.014409188, -0.012554297, 0.01247445, -0.0087769525, 0.007984631, 0.03640992, 0.0034333915, 0.0058195675, 0.004864483, 0.010416873, 0.028302446, -0.008703248, 0.03921068, 0.001159307, -0.0163255, -0.019052558, -0.0065166876, -0.0075976835, -0.019973861, -0.025649091, -0.016878283, 0.019249102, -0.05395154, -0.034149654, 0.00919461, 0.042871326, 0.00076660136, 0.03213507, -0.01568673, -0.0044898195, 0.045279, 0.03338804, -0.021251403, 0.026042182, -0.0011270614, -0.033830266, -0.025599957, -0.017492484, -0.01987559, 0.023622224, 0.020428373, -0.003359687, -0.0027285942, 0.016755441, 0.046949632, -0.043411825, -0.0069957655, -0.0059700473, -0.0069834813, -0.032331616, -0.017897857, 0.006430699, 0.03987402, -0.0060836747, 0.010871382, 0.045082457, -0.053705856, 0.014642585, 0.02606675, -0.020477507, 0.008746242, -0.011755833, 0.03228248, 0.011061785, 0.012167349, 0.04667938, -0.03817882, -0.00023742761, -0.02014584, -0.01927367, 0.026754657, 0.033338904, 0.013979247, 0.030857528, -0.025084026, 0.014605733, -0.000901342, 0.0026748513, -0.02066177, -0.006412273, 0.016583465, 0.036459055, -0.013758133, 0.019826453, 0.018032983, -0.0018395361, -0.0017397283, -0.031791117, -0.029309738, 0.021619923, 0.014618017, 0.003851049, -0.045868635, 0.03316693, 0.025943909, -0.007345861, 0.023622224, -0.0095877, -0.0042656357, -0.027589971, -0.013610725, -0.04839915, 0.00012821476, 0.0037282086, 0.03238075, -0.0073520024, -0.024543528, 0.0424291, -0.0036913564, 0.015207651, 0.016546613, -0.015699014, -0.00094971043, 0.053116225, 0.0174802, 0.050659414, -0.008537414, -0.020182692, -0.0034763855, -0.036434487, -0.010852956, -0.031054074, -0.029997645, 0.017332792, -0.008052194, -0.008783095, 0.017381927, 0.033338904, -0.025501683, 0.0155638885, 0.028007628, -0.011559289, 0.0060591064, 0.0034303204, 0.023204567, 0.0031999946, -0.036999553, 0.00892436, 0.01760304, 0.0128982505, 0.015391912, 0.002834544, -0.0124928765, 0.024629517, 0.0057888576, -0.0070756115, 0.006424557, 0.042650215, 0.04331355, -0.049504712, 0.0058379937, 0.01935966, -0.012013799, -0.012910535, -0.008500561, 0.03250359, -0.021177698, 0.01341418, -0.051445592, 0.014482892, 0.010644128, -0.01541648, -0.014077519, 0.004836844, -0.0122471955, 0.01923682, -0.01690285, 0.011534721, 0.005420336, -0.034346197, 0.00986409, 0.019863306, -0.02849899, -0.0070756115, -0.029776532, -0.026140453, -0.030464439, 0.033731997, -0.005125519, 0.010429157, 0.0050149625, 0.0062065152, -0.0085312715, -0.009913227, -0.00203301, 0.0045389556, -0.0035408768, -0.026042182, -0.019531636, -0.014188075, -0.014875982, -0.0020053708, -0.018254096, 0.0051101637, 0.03277384, 0.008561981, 0.005623023, -0.020133555, 0.0015769646, -0.014814562, -0.010386162, -0.008156608, -0.005911698, -0.023376543, 0.0069343452, -0.011780402, 0.014605733, -0.015035675, 0.0095815575, -0.017713597, -0.01541648, 0.023081725, 0.040340815, 0.02039152, -0.039652906, 0.019015705, 0.021632208, -0.033314336, 0.0048122755, -0.0021312824, -0.0058748457, 0.003310551, 0.0044959616, 0.01141188, -0.045107026, 0.027000338, -0.027639108, 0.039136976, -0.002667174, -0.0022080576, 0.011866391, -0.011332034, -0.0031662134, 0.028597264, -0.033584587, 0.0036821433, -0.039923154, 0.009366587, 0.012640285, -0.024089018, -0.040586494, -0.01999843, 0.043043304, -0.0060253255, 0.015907843, 0.031791117, -0.029211465, -0.012935102, -0.015318207, 0.013758133, -0.016362352, -0.0055216793, 0.016853714, -0.0068913507, 0.030415302, 0.008838372, 0.008138182, -0.0072660143, -0.0037927, 0.025894772, 0.003620723, -0.027368858, 0.022283264, -0.01131975, -0.00040767685, 0.03704869, 0.027123177, -0.0060836747, 0.02540341, -0.039775748, -0.027368858, -0.0045174584, -0.017087111, -0.010748542, -0.0052575725, 0.0008368508, 0.02431013, -0.016362352, -0.02121455, -0.011639135, 0.008721674, 0.027368858, 0.012056793, 0.0071370318, 0.031570002, 0.013905542, -0.013512453, 0.027761947, -0.027000338, -0.014347767, -0.018303232, 0.0068544988, 0.008789237, -0.019801885, 0.025526252, 0.02645984, 0.0033873261, 0.015293639, 0.00048138114, -0.026386134, 0.0034978827, 0.0014894408, 0.02528057, -0.022602648, 0.06264865, -0.005871775, -0.03301952, 0.026852928, -0.017467916, 0.059061702, -0.029211465, 0.03174198, -0.007198452, -0.0065719658, 0.02236925, 0.030882096, 0.0062187994, 0.015391912, 0.009219178, -0.015785001, 0.005893272, 0.00024260995, -0.0007923211, 0.0035808, 0.036041398, 0.0071308897, 0.0062771486, -0.032036796, -0.0017535478, 0.009366587, 0.013758133, -0.029383443, 0.01477771, 0.083138436, 0.013426464, -0.01872089, -0.03432163, 0.030022213, -0.03677844, 0.022283264, -0.041888602, -0.004803063, -0.0015892487, 0.00076007546, 0.03508324, -0.010023783, 0.0103124585, 0.01180497, 0.005417265, -0.0020222613, 0.0019070985, 0.021877889, -0.00003135791, -0.0024199574, -0.008205744, -0.02709861, -0.010177334, -0.0073212925, -0.0075854, -0.009612268, -0.034763854, 0.038498204, -0.004336269, 0.040316246, -0.046237156, 0.023388827, -0.024629517, 0.024654085, 0.020526644, -0.05714539, -0.024776924, 0.0010249503, 0.020440655, 0.019568488, -0.019470217, 0.030759256, -0.00057581475, 0.0062126573, 0.013426464, 0.005325135, -0.003847978, -0.007898643, 0.01450746, 0.016657168, 0.022922033, 0.0065166876, -0.02470322, 0.04773581, 0.004130511, -0.0041919313, 0.037540052, -0.0010840673, -0.026312431, 0.028056765, -0.04230626, 0.016436055, 0.03675387, 0.032085933, 0.0052237916, 0.010085204, 0.020231826, 0.014851414, 0.029629124, 0.018327799, -0.022958886, -0.01960534, 0.012462166, 0.025796501, -0.008027625, 0.010594991, -0.029506283, 0.025624525, -0.013426464, 0.011749691, -0.0025090168, -0.020870598, 0.04918533, -0.0046894355, 0.0020867526, -0.002042223, -0.035746578, 0.019851021, 0.021693628, -0.049873233, 0.020538928, 0.018057551, 0.024482107, 0.018487493, -0.0060713906, -0.02528057, 0.025378844, -0.028720103, -0.0013596906, 0.013426464, -0.022860613, -0.01580957, -0.005669088, 0.0152445035, 0.03498497, 0.004618802, 0.00068483566, -0.023401111, 0.0174802, -0.009299024, -0.0032491307, 0.041888602, -0.020649485, 0.0034241783, -0.00027005712, -0.024469823, -0.013315908, -0.024408404, 0.019384228, -0.021018006, -0.021288255, 0.0298011, 0.0073090084, -0.0073520024, 0.011221478, 0.0021512439, -0.009931653, -0.01174355, -0.004136653, -0.0073397188, -0.00306487, 0.010938944, 0.018733174, -0.027442563, 0.051887818, -0.009606126, -0.034026813, 0.0071247476, -0.015662162, 0.021374242, -0.017074827, 0.005171584, -0.0123331845, 0.0013904007, 0.027786516, -0.034739286, -0.004084446, 0.008150466, 0.014495176, 0.024531243, -0.035009537, -0.010902093, 0.0053005666, -0.008095187, -0.01908941, -0.010601133, 0.024457539, 0.012535871, 0.004336269, -0.017762734, -0.0142740635, 0.0030310887, -0.0062648645, 0.0063140006, 0.0014687114, 0.040979583, 0.0021681346, 0.0057888576, 0.05110164, -0.005328206, -0.05223177, -0.031275187, -0.00037869415, 0.01678001, 0.0055984547, -0.02397846, 0.019973861, 0.022983454, -0.015490185, -0.015834138, 0.014114371, -0.022221843, 0.010969655, 0.03562374, 0.0014602662, -0.011356602, 0.03640992, 0.012713989, -0.053460177, -0.0062218704, 0.030095918, 0.018082118, -0.0052606435, -0.017824154, -0.027123177, 0.026754657, -0.009452575, -0.022983454, 0.014335484, 0.019015705, 0.006479835, -0.013696713, -0.00892436, -0.028621832, -0.0042902036, -0.016067535, 0.0019224535, -0.011067927, 0.012302474, -0.0069773393, 0.0036882854, 0.013733566, 0.01935966, 0.013758133, -0.0096614035, 0.044492822, 0.02840072, 0.031545434, -0.020440655, 0.037245233, 0.010963513, 0.009065627, 0.00060537324, -0.04903792, 0.021779617, -0.030046782, -0.007953921, -0.0059301243, -0.021263687, 0.028327014, 0.0016061392, -0.0052698567, -0.0021082498, 0.0073090084, 0.006817647, 0.031054074, -0.015207651, 0.018696321, 0.013819554, -0.016706305, 0.014888266, 0.02606675, -0.015035675, -0.030366166, 0.001094048, 0.035599172, 0.024629517, -0.0019454861, 0.018733174, -0.019777317, 0.0020591135, 0.013942394, 0.02005985, -0.012560439, -0.007726666, 0.00095738797, -0.0055278214, 0.024801493, 0.030390734, 0.008506703, -0.018241812, 0.0113627445, 0.009446433, -0.024592664, 0.02206215, 0.030095918, 0.00922532, -0.011872532, -0.016644886, 0.0274917, -0.025870204, -0.031496298, 0.025145447, 0.002403067, 0.012652569, 0.06323828, 0.022246411, 0.020747757, -0.024985753, 0.029432578, 0.0077942284, -0.012499019, -0.012560439, -0.0042318543, 0.01659575, -0.007683672, 0.037613753, 0.008095187, -0.023806484, 0.039431795, 0.0024598807, -0.023437964, 0.011067927, 0.00971054, 0.043018736, -0.01638692, 0.0028360796, 0.046138883, 0.021742765, 0.001339729, 0.036581896, -0.0070387595, 0.0052882824, 0.015183083, -0.026582679, -0.0069896234, 0.03316693, 0.0057274373, 0.02928517, -0.004130511, -0.023351975, 0.0052360753, -0.0014126655, 0.009108622, 0.011755833, 0.016436055, 0.016632602, 0.021767333, -0.021521652, 0.009311308, 0.06318914, 0.027835652, 0.052477453, -0.017713597, 0.028548127, 0.030685551, 0.010306316, -0.04476307, -0.033240635, -0.0011324356, -0.050094347, -0.008979639, 0.07404824, -0.018315515, 0.034149654, 0.0026257152, -0.03935809, 0.005079454, -0.00710018, -0.046016045, 0.0070940377, 0.034641016, 0.0014372336, 0.013954679, -0.043780345, 0.0062126573, -0.029334307, -0.032921247, 0.006240296, -0.022762341, 0.012861398, 0.016006114, -0.008248738, -0.0077450923, -0.022197274, -0.01341418, -0.017455632, 0.015772717, 0.007235304 ]
2311.01343
69
[29] Zhixuan Chu, Hongyan Hao, Xin Ouyang, Simeng Wang, Yan Wang, Yue Shen, Jinjie Gu, Qing Cui, Longfei Li, Siqiao Xue, et al. Leveraging large language models for pre-trained recommender systems. arXiv preprint arXiv:2308.10837, 2023. [30] Wenyue Hua, Shuyuan Xu, Yingqiang Ge, and Yongfeng Zhang. How to index item ids for recommendation foundation models. arXiv preprint arXiv:2305.06569, 2023. [31] Brian Lester, Rami Al-Rfou, and Noah Constant. The power of scale for parameter- efficient prompt tuning. arXiv preprint arXiv:2104.08691, 2021. [32] Jacob Devlin Ming-Wei Chang Kenton and Lee Kristina Toutanova. BERT: pre- training of deep bidirectional transformers for language understanding. In Proceedings of NAACL, pages 4171–4186, 2019.
2311.01343#69
Collaborative Large Language Model for Recommender Systems
Recently, there is a growing interest in developing next-generation recommender systems (RSs) based on pretrained large language models (LLMs), fully utilizing their encoded knowledge and reasoning ability. However, the semantic gap between natural language and recommendation tasks is still not well addressed, leading to multiple issues such as spuriously-correlated user/item descriptors, ineffective language modeling on user/item contents, and inefficient recommendations via auto-regression, etc. In this paper, we propose CLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and ID paradigm of RS, aiming to address the above challenges simultaneously. We first extend the vocabulary of pretrained LLMs with user/item ID tokens to faithfully model the user/item collaborative and content semantics. Accordingly, in the pretraining stage, a novel soft+hard prompting strategy is proposed to effectively learn user/item collaborative/content token embeddings via language modeling on RS-specific corpora established from user-item interactions and user/item features, where each document is split into a prompt consisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and a main text consisting of homogeneous item tokens or vocab tokens that facilitates stable and effective language modeling. In addition, a novel mutual regularization strategy is introduced to encourage the CLLM4Rec to capture recommendation-oriented information from user/item contents. Finally, we propose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where an item prediction head with multinomial likelihood is added to the pretrained CLLM4Rec backbone to predict hold-out items based on the soft+hard prompts established from masked user-item interaction history, where recommendations of multiple items can be generated efficiently.
http://arxiv.org/pdf/2311.01343
Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li
cs.IR
null
null
cs.IR
20231102
20231108
[ { "id": "2302.13971" }, { "id": "2206.07682" }, { "id": "2308.10053" }, { "id": "2307.02046" }, { "id": "2306.05817" }, { "id": "2205.08084" }, { "id": "2303.14524" }, { "id": "2305.07001" }, { "id": "2303.13835" }, { "id": "2303.18223" }, { "id": "2302.03735" }, { "id": "2305.00447" }, { "id": "2305.08845" }, { "id": "2104.08691" }, { "id": "2308.10837" }, { "id": "2305.06569" } ]
{ "authors": "Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li", "chunk_id": 69, "doc_id": "2311.01343", "primary_category": "cs.IR", "published": 20231102, "source": "http://arxiv.org/pdf/2311.01343", "summary": "Recently, there is a growing interest in developing next-generation\nrecommender systems (RSs) based on pretrained large language models (LLMs),\nfully utilizing their encoded knowledge and reasoning ability. However, the\nsemantic gap between natural language and recommendation tasks is still not\nwell addressed, leading to multiple issues such as spuriously-correlated\nuser/item descriptors, ineffective language modeling on user/item contents, and\ninefficient recommendations via auto-regression, etc. In this paper, we propose\nCLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and\nID paradigm of RS, aiming to address the above challenges simultaneously. We\nfirst extend the vocabulary of pretrained LLMs with user/item ID tokens to\nfaithfully model the user/item collaborative and content semantics.\nAccordingly, in the pretraining stage, a novel soft+hard prompting strategy is\nproposed to effectively learn user/item collaborative/content token embeddings\nvia language modeling on RS-specific corpora established from user-item\ninteractions and user/item features, where each document is split into a prompt\nconsisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and\na main text consisting of homogeneous item tokens or vocab tokens that\nfacilitates stable and effective language modeling. In addition, a novel mutual\nregularization strategy is introduced to encourage the CLLM4Rec to capture\nrecommendation-oriented information from user/item contents. Finally, we\npropose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where\nan item prediction head with multinomial likelihood is added to the pretrained\nCLLM4Rec backbone to predict hold-out items based on the soft+hard prompts\nestablished from masked user-item interaction history, where recommendations of\nmultiple items can be generated efficiently.", "text": "[29] Zhixuan Chu, Hongyan Hao, Xin Ouyang, Simeng Wang, Yan Wang, Yue Shen, Jinjie Gu, Qing Cui, Longfei Li, Siqiao Xue, et al. Leveraging large language models for pre-trained recommender systems. arXiv preprint arXiv:2308.10837, 2023.\n[30] Wenyue Hua, Shuyuan Xu, Yingqiang Ge, and Yongfeng Zhang. How to index item ids for recommendation foundation models. arXiv preprint arXiv:2305.06569, 2023.\n[31] Brian Lester, Rami Al-Rfou, and Noah Constant. The power of scale for parameter- efficient prompt tuning. arXiv preprint arXiv:2104.08691, 2021.\n[32] Jacob Devlin Ming-Wei Chang Kenton and Lee Kristina Toutanova. BERT: pre- training of deep bidirectional transformers for language understanding. In Proceedings of NAACL, pages 4171–4186, 2019.", "title": "Collaborative Large Language Model for Recommender Systems", "year": 2023 }
[ -0.02418361, -0.016916312, 0.017197235, 0.0014504059, -0.0108276615, 0.0043237363, -0.030046303, 0.07592188, -0.06864237, 0.046217564, 0.009881081, -0.0067726322, 0.0046138177, 0.009685658, 0.025014158, 0.021777462, 0.052373394, -0.008281054, -0.015804844, 0.061411712, -0.022070598, -0.032342523, -0.007920743, 0.011041406, 0.023291992, 0.035689145, -0.031878393, 0.04895349, 0.015413998, -0.04282209, -0.0048184013, -0.020751491, -0.004876417, -0.0005416121, -0.03439447, 0.036006708, -0.0035573114, 0.016891886, -0.008372659, 0.0087207565, 0.001658043, -0.03520059, -0.0026595865, 0.020360645, -0.031658545, 0.016122406, -0.0068825576, -0.037301388, -0.03344178, 0.03229367, -0.032244813, 0.018723976, -0.0444099, -0.020336218, 0.030608146, -0.0041863294, -0.013068921, -0.0026779072, 0.019114822, 0.00925817, 0.0015679651, -0.040867858, -0.036055565, 0.050077174, -0.050077174, -0.04568015, -0.042797662, 0.01827206, 0.010503992, 0.0090993885, -0.013630762, -0.021899601, 0.042284675, -0.007536004, 0.025478289, 0.021374403, 0.008849002, 0.08222427, -0.007084088, -0.040867858, -0.0021435472, -0.022156095, -0.011774243, -0.04365264, -0.061949126, -0.025405005, -0.023670625, -0.005679484, -0.030241726, 0.0060978117, -0.01811328, -0.03979303, -0.043579355, -0.015951412, 0.047414534, 0.037643377, 0.032440238, 0.0013412437, 0.03925562, 0.06346366, 0.023927117, -0.008806254, 0.021007985, -0.017014025, 0.008116166, -0.01857741, -0.0049588615, -0.041796118, 0.022498086, 0.008952822, -0.113833964, 0.02926461, -0.023120997, -0.005316119, 0.002299275, -0.050174884, -0.036983825, -0.01411932, -0.026259981, 0.053839065, 0.012531507, -0.014534594, -0.008158915, -0.0057252864, -0.008171129, -0.019469026, -0.0053252797, -0.043872487, -0.010510099, -0.03771666, 0.0026229445, 0.004461143, 0.03136541, 0.02031179, -0.032147102, -0.063023955, -0.017746862, -0.0003103105, -0.0011274997, -0.059213202, 0.036299843, -0.047414534, -0.07162257, -0.0003221428, -0.030266155, -0.030950135, -0.00772532, -0.015572779, -0.015084221, 0.017001811, -0.043725923, -0.017978925, -0.015988054, -0.015804844, -0.031805113, -0.01603691, -0.009178779, 0.045777865, 0.03566472, -0.08632816, 0.046486273, 0.033832625, -0.0352983, 0.005227568, 0.036275417, 0.013374269, -0.010308569, -0.004421448, -0.026528688, -0.05935977, 0.0019236963, -0.009667337, 0.012543721, -0.03771666, 0.019188106, 0.003416851, -0.010473457, -0.04226025, 0.008427622, -0.03759452, 0.038693774, 0.001179409, -0.031218842, 0.0042412924, -0.030070731, 0.009484128, -0.0052214614, -0.0034748672, 0.009929936, 0.022082811, 0.020238506, 0.03483417, 0.04177169, 0.04189383, 0.0131666325, -0.03654412, 0.043994628, -0.017270517, 0.014962082, -0.0075482177, 0.011694851, 0.050761152, -0.016830815, -0.022192737, 0.009142137, -0.06434306, -0.009062747, 0.013105562, -0.07118287, -0.011829205, 0.011249043, 0.03954875, 0.044141196, 0.031072274, -0.041673977, 0.01805221, -0.064489625, -0.003874874, -0.011371182, -0.010571169, 0.002983256, -0.008384873, 0.0471214, -0.0017160592, -0.015878128, 0.010461244, 0.021007985, -0.0444099, 0.016403327, 0.0042870943, 0.052617673, -0.02087363, -0.013765115, -0.021508757, -0.0065100323, -0.0018824742, 0.018504126, 0.014070464, 0.0037954831, -0.07391879, 0.023169853, 0.021948459, 0.022779007, -0.011914703, 0.057454396, 0.03818079, -0.028336352, -0.06307281, 0.043554924, -0.0016855244, 0.030754711, -0.02579585, 0.01851634, -0.027310379, 0.00825052, -0.04548473, -0.04660841, 0.0004045869, 0.006171095, 0.02498973, -0.046437416, 0.04015945, -0.017136164, 0.016268974, -0.03158526, -0.004787866, -0.04917334, 0.038913626, 0.022143882, -0.035127304, 0.0219851, 0.01966445, 0.04431219, -0.026797393, -0.049857322, -0.026357692, 0.05589101, 0.03087685, -0.006803167, -0.0017313266, 0.0054443656, 0.02059271, 0.07284396, 0.013447553, 0.00566727, -0.016159048, 0.011389503, -0.029191326, -0.02604013, 0.0036031136, 0.03158526, -0.029924164, 0.0024168342, -0.072941676, -0.00881236, 0.019102609, 0.0051787123, -0.0075970734, 0.027237097, -0.019688878, 0.01619569, -0.008079524, 0.02018965, 0.025478289, 0.023792764, 0.0331975, -0.054718472, 0.015316286, 0.034565464, 0.004787866, 0.03219596, 0.0108459825, -0.021374403, 0.02743252, -0.046779405, -0.017087309, 0.02266908, -0.02799436, -0.0021252264, -0.041600693, -0.035811286, 0.0029847827, -0.037545666, 0.030241726, 0.028336352, 0.023646196, 0.04140527, -0.028556202, 0.0008427622, -0.026748538, -0.00036737256, 0.039939597, 0.033050932, -0.002822948, -0.024562242, -0.022400374, -0.032220386, 0.036739543, 0.01869955, 0.03805865, -0.025820278, -0.0049161124, -0.016806388, 0.011297898, -0.037276957, 0.048635926, -0.015523924, 0.024562242, 0.03471203, 0.026748538, 0.01157882, -0.059408627, 0.034858596, -0.039280046, -0.007700892, 0.014375812, 0.00051031384, -0.023768336, -0.027969932, -0.015487282, -0.009209314, 0.008116166, 0.0541322, -0.040574722, -0.003285551, -0.023243137, -0.013264344, -0.0067176693, -0.014815515, -0.015010938, -0.0108276615, 0.035542578, -0.022351518, -0.031438693, -0.021142337, 0.024745451, 0.015145291, -0.008158915, -0.009881081, 0.04384806, 0.02279122, -0.046730552, -0.003119136, -0.008360445, 0.00013511676, 0.0019420171, -0.010235285, -0.020983556, -0.013752901, -0.002377139, -0.03251352, 0.0049405405, -0.022925574, 0.0035145625, 0.026870677, 0.047292393, -0.011371182, 0.035444867, 0.027041674, 0.043457214, 0.0044153407, 0.007670357, 0.015096435, 0.031169986, 0.005282531, 0.044165622, -0.019359102, 0.041698407, 0.002697755, -0.015487282, 0.011249043, -0.04096557, -0.006375679, 0.017453726, 0.0006839809, 0.007871887, 0.0057069655, 0.024159182, 0.03368606, 0.05335051, 0.008226092, -0.024501173, -0.02638212, -0.07518904, -0.026479831, -0.010839876, 0.019359102, -0.031511977, 0.0045130523, -0.041576266, -0.05320394, 0.028922621, 0.04375035, -0.019603381, -0.016000267, -0.06419649, 0.07406536, 0.061314, 0.04758553, -0.045313735, 0.00812838, 0.009887188, -0.0424801, -0.018345345, 0.017307159, -0.0124826515, -0.003184786, 0.018027782, -0.008403194, -0.0076031806, 0.0065100323, -0.010687201, 0.020934701, 0.0158537, -0.015707133, -0.027285952, 0.013288772, -0.025136298, 0.04897792, 0.03991517, 0.015230789, 0.0204095, -0.019078182, -0.05291081, 0.03520059, 0.023108782, -0.02867834, 0.01139561, 0.0005221461, -0.0346876, 0.005163445, -0.03566472, -0.016366685, -0.024757665, 0.0038138041, 0.009221528, 0.013178846, 0.020922488, 0.009710086, -0.026186697, 0.02799436, -0.02269351, 0.03713039, 0.02012858, 0.010442923, 0.036153276, -0.010216964, -0.011029192, 0.004650459, 0.037301388, 0.004109992, 0.009160458, 0.033295214, -0.012055163, -0.0033832625, 0.012971209, 0.009074961, -0.014644519, -0.00792685, 0.01492544, -0.025576, -0.006632172, -0.015181933, -0.008323804, 0.007884101, -0.011316219, 0.030583717, 0.034785315, 0.03446775, 0.036275417, -0.01966445, -0.02963103, -0.012421582, 0.01811328, 0.025698138, 0.07440735, -0.032464664, 0.024012614, -0.017478155, 0.051200856, -0.0024855377, 0.027090529, -0.01811328, -0.016562108, -0.003172572, 0.005633682, 0.0004908479, -0.06458734, -0.018003354, -0.0021878227, 0.020556068, -0.015462854, 0.032366954, -0.018650694, -0.029191326, -0.010638346, 0.0014946815, 0.01399718, -0.0393289, 0.012543721, -0.025087442, 0.05286195, 0.008061203, 0.030241726, 0.0097223, -0.0021206462, -0.001871787, -0.0024534762, -0.01684303, 0.036373127, 0.037472382, -0.00746272, -0.012079591, -0.028287495, 0.000024904995, -0.03744795, 0.003951211, -0.0104673505, 0.0027328702, -0.017380442, 0.021276692, -0.011200187, 0.012134554, 0.03659298, -0.008525333, -0.0048825243, 0.011291792, 0.0036611299, 0.012934567, -0.016525466, -0.036666263, -0.022998858, 0.036495265, 0.0055542914, 0.018552981, -0.03043715, 0.051640555, -0.00699859, -0.009178779, 0.0072123343, -0.04074572, -0.011841419, 0.016085764, 0.015340714, 0.0060520093, 0.0006442856, -0.0062779672, 0.003071807, -0.00071260735, 0.0214599, 0.03495631, -0.015267431, -0.022412589, -0.04130756, -0.041844975, -0.0108276615, 0.013618548, -0.012391047, -0.021044627, 0.02192403, -0.011371182, -0.017087309, -0.010039862, -0.025673712, -0.017685791, -0.009465807, -0.0010198643, -0.010113146, -0.020348432, 0.005316119, 0.008684115, -0.02545386, 0.0062901815, -0.016232332, -0.021301119, 0.0001192768, -0.02343856, -0.021960672, 0.02489202, 0.00011574621, 0.026870677, -0.032782227, -0.036959395, 0.024073685, -0.0017694952, 0.012641433, -0.019151464, -0.024427889, 0.00076222647, 0.008213878, 0.009679551, -0.031218842, 0.027212668, -0.0032489093, -0.042406816, 0.00093284, 0.027896648, 0.00027481376, 0.012476544, -0.022864504, -0.0036916647, -0.014681161, 0.0006045902, -0.024659954, 0.0025832492, -0.011041406, -0.015475067, 0.008018455, -0.015584993, -0.003487081, -0.023548486, -0.03446775, 0.033173073, 0.01133454, 0.027481375, -0.020336218, -0.007053553, 0.016171262, -0.010699416, -0.0049100057, -0.046241995, -0.0006500108, 0.001125973, -0.017429298, -0.019701092, 0.027359236, 0.022998858, 0.035322726, 0.029606601, -0.0055695586, -0.028751625, -0.025746996, 0.020360645, 0.024379034, 0.0039939596, -0.03876706, 0.03341735, -0.025893562, -0.0006190943, 0.031316552, -0.05422991, 0.04638856, -0.040183876, -0.039304473, 0.011206294, -0.0069008786, 0.006226058, -0.0073833293, 0.017600294, 0.0013962066, -0.0027954665, -0.018601837, 0.014778873, -0.010778806, -0.002981729, 0.017209448, -0.007700892, 0.031609688, -0.036837257, -0.07025461, -0.018088851, 0.028971476, -0.012317763, 0.02031179, -0.0091177095, -0.002340497, -0.02220495, 0.025429431, 0.03761895, -0.023340847, -0.018381987, -0.0024565295, 0.010919266, 0.008824575, -0.029606601, -0.0007141341, 0.025698138, 0.037912082, -0.024208037, -0.053399365, -0.048758067, 0.0075970734, 0.0018916347, 0.02291336, 0.0094780205, 0.011572712, -0.016452184, 0.010113146, -0.016305616, 0.01696517, 0.0094230585, 0.018174348, 0.0060978117, -0.010571169, -0.020531641, 0.0048184013, -0.04211368, 0.015646063, -0.008616937, -0.0015213995, -0.024391247, -0.028311923, 0.008623045, 0.026406547, 0.02801879, -0.010626132, 0.019310245, 0.005300852, -0.018504126, -0.036177702, -0.04558244, 0.008647473, 0.0037618948, -0.005419938, 0.015487282, -0.025820278, 0.047390103, -0.017698005, -0.028311923, 0.034443323, 0.004058083, 0.03136541, -0.005389403, 0.0051176427, 0.0029664617, -0.0104490295, -0.00786578, 0.00272829, -0.039402183, 0.014668947, 0.0073039387, -0.0022717935, 0.025063014, -0.029191326, 0.038962483, -0.016769746, 0.016806388, 0.03874263, -0.034809742, 0.00373136, -0.031976108, 0.0032824976, 0.03239138, -0.050321452, -0.014778873, -0.010082611, -0.031487547, -0.027627943, 0.025380576, -0.038473926, -0.012763572, 0.032342523, 0.014314743, 0.00094581733, -0.0071085156, 0.01377733, 0.000088932786, -0.0888198, -0.013520837, 0.031047847, -0.0245256, 0.020751491, -0.021667538, 0.012207838, 0.03495631, 0.015206361, -0.01647661, 0.027969932, -0.01696517, 0.008873431, 0.012519293, -0.0012763572, -0.053301655, 0.009740621, -0.016549895, 0.03796094, -0.006558888, -0.009245956, 0.023487415, -0.00052672636, 0.045924433, 0.0027542445, 0.0013733053, 0.012824642, 0.000014885744, -1.4015023e-7, -0.00028454672, -0.04443433, -0.025380576, -0.00566727, 0.08813582, -0.028776053, 0.028189784, -0.020287361, 0.0058657466, -0.004229078, -0.032366954, 0.005630628, -0.025429431, 0.034199044, -0.036373127, 0.039622035, 0.0016336151, 0.013936111, -0.024806522, 0.0074749338, -0.020091938, 0.019310245, 0.053887922, -0.00552681, -0.006387893, 0.027408091, -0.0065649953, 0.026211124, -0.010681095, 0.04201597, -0.009392523, -0.015010938, 0.0148765845, 0.0048672566, 0.0010855143, -0.013032279, -0.0153285, 0.005484061, 0.022730151, -0.01736823, -0.03366163, -0.013459766, 0.04824508, -0.0028260015, 0.016708676, 0.004855043, 0.012543721, 0.015462854, 0.024611099, -0.02858063, -0.011450573, 0.033808198, -0.009044426, -0.0005450473, 0.0047695455, -0.012476544, 0.015181933, 0.009447486, 0.002841269, -0.013276557, 0.014363599, 0.0520314, -0.025209581, -0.003084021, -0.005792463, 0.028140929, -0.023572912, -0.006778739, 0.050370306, 0.00913603, -0.005685591, 0.018943828, 0.05066344, -0.042553384, 0.013520837, 0.025576, 0.0010633765, 0.007450506, -0.013936111, 0.021557612, 0.017685791, 0.017453726, 0.0225103, -0.026357692, -0.0035908998, -0.0029313467, 0.004109992, 0.027750082, 0.050223738, 0.003981746, 0.02018965, -0.0035481509, -0.016110193, -0.021862961, -0.0108093405, -0.05852922, -0.0183942, 0.040794574, 0.03182954, -0.028043216, -0.00043054155, 0.038938053, 0.028409634, -0.01266586, -0.027847793, -0.021081269, 0.046828263, 0.018186564, 0.019652236, -0.058284942, 0.042138107, 0.019090395, -0.0049588615, 0.0060031535, -0.0032916581, 0.0163789, -0.02297443, -0.053399365, -0.054181058, -0.006244379, 0.0022733205, 0.040086165, -0.00034752488, -0.026553115, 0.028067645, -0.0016137674, 0.017636936, 0.016610965, -0.030144015, -0.008317696, 0.05540245, -0.010565062, 0.039988454, 0.03239138, -0.0042932015, 0.031853966, -0.044629753, -0.01486437, -0.020336218, -0.026870677, 0.03493188, -0.014815515, -0.0059573515, 0.026895106, 0.04978404, -0.018333131, 0.031047847, 0.01325213, -0.0065649953, 0.027750082, 0.022925574, 0.030974563, -0.017490368, -0.021899601, 0.0032000535, 0.013032279, 0.0036977716, -0.008134487, 0.001245059, -0.002025988, 0.029191326, 0.0270661, -0.007029125, 0.020116366, 0.049344335, 0.032904368, -0.055793297, 0.0010962015, 0.023426345, -0.002019881, -0.0075482177, -0.050174884, -0.0016152941, 0.0013282665, 0.005804677, -0.07528675, 0.010259713, 0.0097833695, -0.028922621, -0.02279122, 0.015304073, -0.019200321, 0.028531775, -0.009142137, 0.026284408, 0.0145712355, -0.027359236, 0.00014122373, 0.022766793, -0.03588457, 0.001319106, -0.06527132, -0.04570458, -0.026577543, 0.030632572, 0.0034015835, -0.0037099856, 0.026088985, -0.00016088055, -0.016207904, 0.0043420573, 0.006607744, -0.004516106, -0.0013633815, -0.02111791, -0.002490118, -0.0006171859, -0.0047145826, 0.013936111, -0.010229179, 0.021887388, 0.041209847, 0.022241592, 0.04348164, -0.011285685, 0.015243002, -0.01771022, 0.0108093405, 0.016904099, -0.0034137974, -0.03219596, 0.021667538, 0.008989463, 0.015133077, -0.01325213, -0.0056886445, -0.021618681, -0.0037802157, 0.03251352, 0.04348164, 0.02291336, -0.017551439, 0.02660197, 0.016427755, -0.026943961, -0.0041374736, 0.0010939114, 0.008213878, -0.002928293, -0.005942084, 0.015804844, -0.04582672, 0.019982014, -0.0051970333, 0.020397287, -0.018027782, -0.016220119, 0.0331975, -0.024159182, 0.006870344, 0.013313199, -0.019603381, -0.008897859, -0.040574722, 0.01133454, 0.015743773, -0.019029325, -0.03725253, -0.0214599, 0.02003087, -0.016647607, -0.0031298234, 0.018101066, -0.018956041, -0.0090810675, 0.008152808, 0.02238816, -0.011523857, -0.011468894, 0.016672034, -0.02963103, 0.014717803, 0.0037405204, 0.0039970134, 0.0011274997, 0.010418494, 0.009710086, 0.006387893, -0.042064823, 0.02963103, -0.016293403, -0.01805221, 0.013142204, 0.012751358, 0.003880981, 0.017160593, -0.014168176, -0.002822948, -0.015181933, -0.014461311, 0.010705522, -0.0016061337, -0.004247399, 0.0049771825, 0.018894972, -0.014730017, -0.021496542, 0.030998992, 0.018345345, 0.00832991, 0.020922488, 0.006357358, 0.02065378, -0.025429431, 0.032611232, -0.027579086, -0.01377733, -0.015707133, 0.016427755, 0.012641433, -0.0021908763, 0.024782093, 0.041625123, 0.017612508, -0.011346755, -0.002032095, -0.022131667, 0.014388027, 0.008696329, 0.028385207, -0.024098113, 0.053057376, -0.010943694, -0.020543855, -0.0064306417, -0.0373991, 0.048880205, -0.029777596, 0.023414131, -0.012641433, -0.0036428089, 0.018785046, 0.044580895, -0.009587946, -0.0012221579, 0.0043481644, -0.004580229, 0.0024702703, 0.005652003, 0.0011908596, 0.011865847, 0.01913925, 0.029337894, -0.010229179, -0.036739543, 0.003612274, 0.026064558, 0.01440024, -0.034101333, 0.013410911, 0.06566217, 0.011261256, -0.012751358, -0.037301388, 0.052324537, -0.051347423, 0.013276557, -0.059750617, 0.023182066, -0.0007290198, 0.0051848195, 0.03375934, -0.0071146227, 0.023927117, 0.0139238965, -0.0072123343, 0.013728473, 0.0024962248, -0.0017145325, -0.021227835, 0.0017023186, -0.039182335, 0.0037344135, -0.019236963, -0.015169719, -0.00726119, -0.0021007985, -0.0062535396, 0.06121629, 0.007877994, 0.041796118, -0.01601248, 0.020543855, -0.014681161, 0.03551815, 0.010552848, -0.0429198, -0.021850746, -0.0065833163, 0.007908529, 0.0008366552, -0.01647661, 0.014742231, -0.00009847493, -0.0118169915, 0.013276557, 0.023279779, 0.0061802557, 0.008928393, 0.012183409, 0.01377733, 0.010015435, 0.020983556, -0.04128313, 0.041600693, 0.0014954448, 0.00016097596, 0.048196226, -0.013117776, -0.016672034, 0.028629486, -0.035933424, 0.015865915, 0.04072129, 0.038156364, -0.009844439, -0.0018519394, -0.0124826515, -0.004051976, 0.033588346, 0.008946714, -0.004473357, -0.02684625, -0.007682571, 0.007023018, -0.026650827, 0.0012847543, -0.022925574, 0.017881215, 0.0048214546, 0.007065767, -0.021227835, -0.017563652, 0.04419005, 0.010613917, 0.011139117, 0.010705522, -0.022803435, 0.019102609, 0.003197, -0.02858063, 0.030657, 0.0111513315, 0.010100932, 0.011914703, -0.0028244746, -0.016220119, 0.03654412, -0.027481375, -0.016818602, 0.013337627, -0.015499496, -0.009178779, 0.0011511643, 0.017771289, 0.0490512, 0.01764915, 0.00027214194, -0.010620025, -0.0071817995, -0.008543654, 0.009282597, 0.038156364, -0.024672167, 0.009881081, 0.028751625, -0.041234277, -0.019273605, -0.021594254, 0.022156095, -0.0104490295, -0.020617139, 0.0031542513, 0.029606601, -0.014986509, 0.020299576, 0.0013267397, -0.008336017, -0.021313334, -0.012751358, -0.01665982, -0.0114933215, 0.013044492, 0.0018275115, -0.022583583, 0.06776296, -0.011994094, -0.013630762, -0.0104673505, 0.0152552165, 0.016745318, -0.008745184, 0.011755922, -0.03842507, -0.009642909, 0.01591477, -0.016586537, 0.010113146, 0.015926983, 0.00939863, -0.015975839, -0.005019931, -0.005948191, -0.009545198, -0.022375947, -0.018320916, 0.008207771, -0.008965035, 0.00074314215, 0.0061985767, -0.03248909, -0.021606468, -0.029753169, 0.018614052, 0.021130124, -0.012690288, 0.02238816, -0.007951278, 0.0074077575, 0.027285952, -0.011285685, -0.015817057, -0.01966445, -0.002502332, 0.0064550694, 0.00011336067, -0.010265821, -0.004812294, 0.03483417, 0.005792463, -0.017685791, -0.01492544, -0.030510433, 0.013044492, 0.019603381, 0.0067420974, 0.007395543, 0.0046138177, 0.021496542, -0.05335051, -0.011285685, 0.0018992684, 0.001670257, 0.008061203, 0.0010244446, -0.036031134, 0.028849337, -0.004076404, -0.029069187, 0.02365841, 0.03077914, 0.0025313399, -0.015291858, -0.0025206527, -0.0132399155, -0.004213811, -0.020922488, -0.004684048, -0.012049057, 0.020495, 0.02018965, -0.009190993, -0.0018595731, -0.0018809474, 0.011401718, -0.022730151, 0.06546674, 0.04072129, 0.02718824, -0.030681428, 0.023047714, -0.00952077, -0.013093349, -0.0032641767, -0.031340983, 0.013215488, -0.036837257, -0.02365841, -0.0018168242, -0.012971209, 0.005542077, -0.028556202, -0.030803569, -0.0078108176, -0.015120863, -0.0030351651, 0.043237362, 0.0039267833, 0.020348432, 0.00812838, -0.015743773, 0.020177437, 0.04787866, -0.026162269, -0.0077986037, 0.0033252463, 0.030266155, 0.014204817, 0.0012885712, 0.032782227, -0.015658276, 0.008097845, 0.0018992684, 0.014986509, -0.011304006, -0.0025649283, 0.03341735, -0.014388027, 0.011249043, 0.0043267896, 0.014449096, -0.007536004, 0.037789945, -0.0005522993, -0.020153008, -0.008519227, 0.014253673, -0.0010206277, -0.0071024084, -0.017319374, 0.031634115, -0.024098113, -0.018968256, 0.017380442, -0.0045191594, 0.02579585, 0.058626935, -0.0015068954, 0.014290315, -0.021533184, 0.030412722, -0.004787866, 0.00766425, -0.0021908763, 0.0121956235, 0.010100932, -0.011249043, 0.018247632, 0.03300208, -0.017844573, 0.03158526, -0.009392523, -0.010455136, 0.020360645, 0.0066016368, 0.033050932, 0.025600428, 0.0031099755, 0.05613529, 0.01898047, -0.008110059, 0.03854721, 0.011108583, 0.010723843, 0.0028824909, -0.019212535, -0.013850613, 0.031658545, 0.019285819, 0.032220386, -0.0010511626, -0.015926983, -0.002169502, -0.0015549877, 0.0016962115, -0.00406419, 0.027261524, 0.005816891, 0.027237097, -0.017075093, -0.00088169414, 0.04538702, 0.021105696, 0.04189383, -0.019859873, 0.03090128, 0.048293937, 0.019188106, -0.031414267, -0.0021588146, -0.012653646, -0.025258437, -0.013496408, 0.037936512, -0.0005175659, 0.026455404, 0.037521236, -0.022742365, 0.0052611567, -0.010253606, -0.037008252, -0.012934567, 0.023340847, -0.0008351285, 0.024281321, -0.060336884, -0.0047512245, -0.03136541, -0.023011072, 0.0038015903, -0.014021608, 0.027041674, -0.0027435573, -0.0053771893, -0.015926983, -0.012788, 0.0145712355, -0.02315764, 0.007835246, -0.0064489627 ]
2311.01343
70
[33] Bonan Min, Hayley Ross, Elior Sulem, Amir Pouran Ben Veyseh, Thien Huu Nguyen, Oscar Sainz, Eneko Agirre, Ilana Heintz, and Dan Roth. Recent advances in natural language processing via large pre-trained language models: A survey. ACM Computing Surveys, 56(2):1–40, 2023. [34] Peng Liu, Lemei Zhang, and Jon Atle Gulla. Pre-train, prompt and recommenda- tion: A comprehensive survey of language modelling paradigm adaptations in recommender systems. arXiv preprint arXiv:2302.03735, 2023. [35] Jianghao Lin, Xinyi Dai, Yunjia Xi, Weiwen Liu, Bo Chen, Xiangyang Li, Chenxu Zhu, Huifeng Guo, Yong Yu, Ruiming Tang, et al. How can recommender systems benefit from large language models: A survey. arXiv preprint arXiv:2306.05817, 2023. [36] Keqin Bao, Jizhi Zhang, Yang Zhang, Wenjie Wang, Fuli Feng, and Xiangnan He. TallRec: An effective and efficient tuning framework to align large language model with recommendation. arXiv preprint arXiv:2305.00447, 2023.
2311.01343#70
Collaborative Large Language Model for Recommender Systems
Recently, there is a growing interest in developing next-generation recommender systems (RSs) based on pretrained large language models (LLMs), fully utilizing their encoded knowledge and reasoning ability. However, the semantic gap between natural language and recommendation tasks is still not well addressed, leading to multiple issues such as spuriously-correlated user/item descriptors, ineffective language modeling on user/item contents, and inefficient recommendations via auto-regression, etc. In this paper, we propose CLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and ID paradigm of RS, aiming to address the above challenges simultaneously. We first extend the vocabulary of pretrained LLMs with user/item ID tokens to faithfully model the user/item collaborative and content semantics. Accordingly, in the pretraining stage, a novel soft+hard prompting strategy is proposed to effectively learn user/item collaborative/content token embeddings via language modeling on RS-specific corpora established from user-item interactions and user/item features, where each document is split into a prompt consisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and a main text consisting of homogeneous item tokens or vocab tokens that facilitates stable and effective language modeling. In addition, a novel mutual regularization strategy is introduced to encourage the CLLM4Rec to capture recommendation-oriented information from user/item contents. Finally, we propose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where an item prediction head with multinomial likelihood is added to the pretrained CLLM4Rec backbone to predict hold-out items based on the soft+hard prompts established from masked user-item interaction history, where recommendations of multiple items can be generated efficiently.
http://arxiv.org/pdf/2311.01343
Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li
cs.IR
null
null
cs.IR
20231102
20231108
[ { "id": "2302.13971" }, { "id": "2206.07682" }, { "id": "2308.10053" }, { "id": "2307.02046" }, { "id": "2306.05817" }, { "id": "2205.08084" }, { "id": "2303.14524" }, { "id": "2305.07001" }, { "id": "2303.13835" }, { "id": "2303.18223" }, { "id": "2302.03735" }, { "id": "2305.00447" }, { "id": "2305.08845" }, { "id": "2104.08691" }, { "id": "2308.10837" }, { "id": "2305.06569" } ]
{ "authors": "Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li", "chunk_id": 70, "doc_id": "2311.01343", "primary_category": "cs.IR", "published": 20231102, "source": "http://arxiv.org/pdf/2311.01343", "summary": "Recently, there is a growing interest in developing next-generation\nrecommender systems (RSs) based on pretrained large language models (LLMs),\nfully utilizing their encoded knowledge and reasoning ability. However, the\nsemantic gap between natural language and recommendation tasks is still not\nwell addressed, leading to multiple issues such as spuriously-correlated\nuser/item descriptors, ineffective language modeling on user/item contents, and\ninefficient recommendations via auto-regression, etc. In this paper, we propose\nCLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and\nID paradigm of RS, aiming to address the above challenges simultaneously. We\nfirst extend the vocabulary of pretrained LLMs with user/item ID tokens to\nfaithfully model the user/item collaborative and content semantics.\nAccordingly, in the pretraining stage, a novel soft+hard prompting strategy is\nproposed to effectively learn user/item collaborative/content token embeddings\nvia language modeling on RS-specific corpora established from user-item\ninteractions and user/item features, where each document is split into a prompt\nconsisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and\na main text consisting of homogeneous item tokens or vocab tokens that\nfacilitates stable and effective language modeling. In addition, a novel mutual\nregularization strategy is introduced to encourage the CLLM4Rec to capture\nrecommendation-oriented information from user/item contents. Finally, we\npropose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where\nan item prediction head with multinomial likelihood is added to the pretrained\nCLLM4Rec backbone to predict hold-out items based on the soft+hard prompts\nestablished from masked user-item interaction history, where recommendations of\nmultiple items can be generated efficiently.", "text": "[33] Bonan Min, Hayley Ross, Elior Sulem, Amir Pouran Ben Veyseh, Thien Huu Nguyen, Oscar Sainz, Eneko Agirre, Ilana Heintz, and Dan Roth. Recent advances in natural language processing via large pre-trained language models: A survey. ACM Computing Surveys, 56(2):1–40, 2023.\n[34] Peng Liu, Lemei Zhang, and Jon Atle Gulla. Pre-train, prompt and recommenda- tion: A comprehensive survey of language modelling paradigm adaptations in recommender systems. arXiv preprint arXiv:2302.03735, 2023.\n[35] Jianghao Lin, Xinyi Dai, Yunjia Xi, Weiwen Liu, Bo Chen, Xiangyang Li, Chenxu Zhu, Huifeng Guo, Yong Yu, Ruiming Tang, et al. How can recommender systems benefit from large language models: A survey. arXiv preprint arXiv:2306.05817, 2023.\n[36] Keqin Bao, Jizhi Zhang, Yang Zhang, Wenjie Wang, Fuli Feng, and Xiangnan He. TallRec: An effective and efficient tuning framework to align large language model with recommendation. arXiv preprint arXiv:2305.00447, 2023.", "title": "Collaborative Large Language Model for Recommender Systems", "year": 2023 }
[ -0.009143908, 0.003143997, 0.041558687, -0.011330224, 0.021202903, -0.0030131917, -0.049182765, 0.0500548, -0.071108215, 0.019757818, -0.019982055, -0.03931631, -0.034931224, 0.04001394, 0.022922058, -0.00021664615, 0.015459931, 0.00012730151, 0.029649185, 0.043900725, 0.009318315, -0.019546038, -0.0076801353, -0.00005712996, 0.044274453, -0.0026145473, -0.038294785, 0.063832946, -0.0033386475, -0.042056993, 0.010595223, -0.03109427, -0.014313829, 0.018138325, -0.038419362, 0.00504223, 0.01927197, -0.008109923, -0.0038462966, -0.007244118, 0.00712577, 0.0032296432, 0.019608326, 0.018300274, -0.027680878, 0.016070357, 0.010495562, -0.058899723, -0.024267484, 0.036451057, -0.043850895, 0.0005839519, -0.036999192, -0.044100046, 0.011953106, -0.028602742, 0.009405519, 0.0031175246, 0.013292302, -0.0057803453, 0.0055311923, -0.03052122, -0.024877908, 0.03826987, -0.06682278, -0.044224624, -0.04831073, -0.0105080195, 0.012594675, -0.00043952113, -0.010383443, -0.0124264965, 0.035603937, 0.0071569146, 0.010196579, -0.011915733, 0.012625818, 0.07888178, -0.024068162, -0.025662739, -0.00079067086, -0.0005477469, -0.014924253, -0.04666632, -0.035653766, -0.015734, -0.017390866, 0.01757773, -0.023183668, 0.0070821685, -0.027581215, -0.006502888, -0.008963272, 0.006583863, 0.05336853, 0.0021473859, 0.020891463, -0.0063751973, 0.048510052, 0.048186153, -0.013803066, -0.018225528, -0.0007213752, -0.02586206, 0.015285525, -0.01019035, 0.0023653945, -0.05655769, 0.0008354405, 0.017378408, -0.09577434, 0.02545096, -0.014126964, -0.008284331, -0.014774761, -0.043726318, -0.034333255, -0.017963918, -0.037871227, 0.05062785, 0.01098141, 0.03231512, 0.031169016, -0.009199968, 0.016469, -0.008097466, 0.009000645, -0.041259706, -0.02533884, -0.008134839, 0.010184121, -0.0001222406, 0.024304856, -0.021352395, -0.068816006, -0.04641717, -0.03268885, 0.01868646, -0.024093077, -0.050129544, 0.055660736, -0.029051218, -0.07379906, 0.011853444, -0.03689953, -0.033187155, -0.0140771335, -0.02085409, -0.040088687, 0.018387478, -0.004519009, -0.015347813, -0.03256427, 0.037298176, -0.03647597, -0.018287815, 0.000071728755, 0.025264096, 0.015721543, -0.081173986, 0.019583412, 0.023868838, -0.0031891558, 0.00046482572, 0.020318411, -0.0008299903, -0.04472293, 0.014961626, -0.03881801, -0.045644794, 0.0002518779, -0.004615556, 0.011591834, -0.021564176, 0.017789511, -0.019633241, 0.022000194, -0.014974084, -0.022411294, -0.028702404, 0.027157657, 0.021863159, -0.055411585, -0.006384541, -0.020343326, 0.000039927712, -0.003198499, 0.024952654, -0.0044847503, 0.030919863, 0.013653574, 0.042430725, 0.06193939, 0.059198707, 0.0034881392, -0.010495562, 0.049805645, 0.011622978, -0.013715862, -0.00422314, 0.038892753, 0.05316921, -0.048908696, -0.051873613, -0.01087552, -0.063284814, 0.010800774, 0.00075485517, -0.06836753, -0.008682976, 0.022050023, 0.029474776, 0.06642414, 0.031642407, -0.033286814, 0.027780538, -0.050802257, -0.018462224, 0.014974084, 0.025687654, 0.027406808, 0.010327384, 0.08107433, 0.029175794, -0.025413586, 0.014924253, 0.052720733, -0.031144101, 0.01715417, -0.027780538, 0.06657363, -0.004481636, -0.015721543, -0.022772567, -0.008464967, -0.029424947, 0.0102588665, 0.027207486, -0.015808746, -0.06632448, 0.03067071, 0.025587993, 0.028527996, 0.036625464, 0.045271065, 0.04350208, -0.026111213, -0.06637431, 0.040512245, -0.0024261256, 0.0278802, -0.014002387, 0.008925899, -0.022187058, -0.0023140067, -0.03109427, -0.057554297, 0.0022127884, -0.046641406, 0.009536324, -0.04841039, 0.043377504, -0.004191996, 0.05062785, -0.008284331, -0.00032779167, -0.035404615, 0.02972393, 0.026260706, -0.018437307, 0.016444085, -0.028154267, 0.03024715, -0.0068766177, -0.026833758, 0.0063315956, 0.053468194, 0.013890269, -0.0019636357, -0.015796289, 0.00507026, 0.0068766177, 0.067669906, 0.01014052, -0.013591286, -0.019720444, 0.011386284, -0.03204105, -0.022573244, 0.009511408, 0.035554107, -0.018711375, -0.0043352586, -0.07579228, 0.012058996, 0.012108826, -0.0016942391, -0.0033230756, 0.01852451, -0.019334259, 0.012202259, -0.019072648, 0.011037469, 0.00886984, 0.015846118, 0.036550716, -0.04634242, 0.009193739, 0.011292851, 0.011162045, 0.020841632, 0.034283426, -0.010514248, 0.021564176, -0.04651683, -0.0515248, 0.029499693, -0.035005968, 0.0065900916, -0.036675293, -0.037348006, -0.0008245401, -0.015908407, 0.0011422099, 0.013678489, 0.013553913, 0.038120378, -0.023843924, -0.017789511, -0.018910699, 0.0038712118, 0.02930037, 0.018076036, -0.0092934, -0.006477973, -0.015210778, -0.04589395, 0.04482259, 0.04322801, 0.046367336, -0.046641406, -0.006384541, -0.0010908222, 0.0056090527, -0.02613613, 0.024354687, -0.014475778, 0.033386476, 0.013765693, -0.00047339033, 0.035778344, -0.045918863, 0.056408197, -0.031492915, -0.012208488, 0.016855188, 0.0050889463, 0.005761659, 0.019683072, -0.016929934, -0.01040213, -0.00088059943, 0.030695627, -0.023881296, 0.0067022103, -0.009635985, -0.03393461, 0.0076739066, 0.012052767, -0.008558399, -0.008172212, 0.02349511, -0.036451057, 0.013367048, -0.04327784, 0.0105080195, -0.0013018234, -0.00019046564, -0.018076036, 0.063234985, 0.019384088, 0.0039366144, 0.010601452, -0.01209014, -0.034482747, 0.032165628, -0.051175985, -0.009984799, -0.008228271, -0.005443989, -0.022187058, 0.0010238623, -0.028901726, 0.03463224, 0.03094478, 0.0050671455, 0.0086456025, 0.06029498, 0.01953358, 0.017714765, 0.022834854, -0.005412845, 0.017465612, 0.02190053, 0.008651831, 0.04863463, -0.009461578, 0.026011553, 0.017826883, -0.02586206, 0.01014052, -0.04360174, 0.008863611, 0.009498951, -0.0023607227, 0.0013314104, 0.0070821685, 0.05501294, 0.021339938, 0.036351394, 0.015796289, -0.019608326, -0.01747807, -0.069463804, -0.04571954, -0.014014846, 0.015198321, -0.047638018, 0.013192642, -0.046840727, -0.045918863, 0.017602647, 0.048061576, -0.041832756, -0.015547135, -0.057952944, 0.050752427, 0.057354975, 0.04218157, -0.038718347, -0.00048468006, 0.006020155, -0.046641406, 0.0029150879, 0.04666632, -0.02603647, -0.017926544, 0.032340035, 0.01648146, 0.0018966758, 0.0029259883, 0.0012426496, 0.042081907, 0.020256123, 0.0052446667, -0.016543746, 0.039889365, -0.0073313215, 0.05147497, 0.03316224, 0.03510563, 0.017017137, -0.025812231, -0.03722343, 0.012389123, 0.01901036, 0.0018048007, 0.013391963, 0.02021875, -0.02977376, 0.022523414, -0.02518935, -0.011990479, -0.009822849, 0.008545942, 0.0045750686, 0.0054626754, -0.012002937, -0.012613361, -0.02365706, -0.00022190172, -0.044000387, 0.02708291, 0.030172406, 0.020442989, 0.009517637, -0.0016412941, -0.032813426, 0.021738583, 0.048235983, 0.004450492, 0.005338099, 0.031343423, -0.012495013, -0.013890269, 0.016693238, 0.009797934, -0.027381893, -0.011784928, -0.005599709, -0.0139401, 0.0020087946, 0.00016671827, 0.014600354, 0.0077735675, -0.020841632, 0.02850308, 0.041160043, 0.029973082, 0.075144485, -0.0039459574, -0.035927836, 0.006851702, 0.020604936, 0.05167429, 0.059796672, -0.04165835, 0.00886984, -0.01563434, 0.045520216, 0.015796289, 0.007692593, -0.0043850895, -0.021078328, 0.001153889, -0.023482652, -0.0068143294, -0.018225528, -0.003143997, -0.0027126512, 0.019583412, -0.010302468, 0.02016892, -0.016668323, -0.046442084, 0.00027815576, 0.0010199693, -0.023532482, -0.03722343, 0.009000645, -0.008695433, 0.04713971, -0.011118444, 0.025102146, 0.009449121, -0.0003710041, 0.009262255, -0.011840987, -0.019022817, 0.024117991, 0.046890557, -0.023470195, -0.021775955, -0.015484847, -0.010152977, -0.021452056, -0.0068143294, -0.007661449, 0.009150137, -0.011672809, 0.03398444, -0.017390866, 0.0024479264, 0.012694336, -0.013690947, -0.017814426, 0.013528997, -0.008209585, 0.020069258, 0.011510859, -0.020604936, -0.041832756, 0.022373922, -0.014724931, 0.015908407, -0.032240372, 0.04033784, -0.014949168, 0.00733755, -0.007873229, -0.030346813, -0.015061287, 0.023345618, 0.004086106, -0.009822849, 0.014052219, -0.017141713, 0.013803066, -0.01082569, 0.02665935, 0.06393261, -0.023520024, -0.02486545, -0.024678586, -0.05855091, 0.0053349845, 0.015422558, -0.024778247, -0.017253831, 0.033511054, 0.003964644, -0.0047121025, -0.008421365, -0.005116976, 0.0030894948, -0.0061789895, -0.0035286266, -0.012208488, -0.008072551, -0.0018670888, 0.0055093914, -0.037024107, -0.0016568662, -0.036999192, -0.016244764, -0.0022034452, -0.004107907, -0.014488236, 0.019035274, -0.026210876, 0.0033915925, -0.044573437, -0.006502888, 0.01008446, 0.01488688, -0.009019332, -0.01742824, -0.015410101, -0.016618492, -0.0043383734, 0.01415188, -0.010009714, 0.037522413, 0.0025444732, -0.012650734, 0.016905017, 0.023819009, -0.006826787, 0.0069139902, -0.025139518, 0.011778699, 0.0010355414, 0.025002485, -0.022760108, 0.035927836, -0.01747807, -0.025961723, 0.008060093, -0.013454252, 0.0047588185, -0.015621881, -0.06378312, 0.015385186, 0.031866644, 0.013865354, -0.014164337, 0.010109375, 0.018860867, 0.012345522, 0.0129061155, -0.063832946, -0.0126569625, 0.0023653945, -0.0029711472, -0.036351394, 0.038369533, 0.028453251, 0.013678489, 0.018823495, -0.019720444, -0.021713667, -0.0092934, 0.003120639, 0.016506374, 0.007586703, -0.011542004, 0.027606132, -0.022187058, 0.003992674, 0.02328333, -0.039166823, 0.01641917, -0.048335645, -0.03398444, 0.01504883, -0.0028076407, 0.016145103, -0.01425154, 0.005095175, 0.005855091, -0.002977376, -0.020891463, 0.009548781, -0.009168823, -0.0035130547, -0.010645053, -0.022211973, 0.03231512, -0.023034178, -0.0916384, -0.011884589, 0.01816324, -0.042854283, 0.0036594318, -0.01768985, 0.002916645, -0.025114603, 0.019458834, 0.03934123, -0.0044318056, -0.004656043, -0.012046538, 0.006316024, 0.024803162, -0.015534678, -0.009436662, 0.03567868, 0.04878412, -0.008651831, -0.022735193, -0.0551126, 0.004428691, 0.0017425125, -0.015871033, 0.016444085, 0.022585701, -0.000042360844, 0.010053316, -0.024852993, 0.025226722, 0.00087592786, 0.017079424, 0.010956495, 0.010165434, -0.028054606, 0.0058146035, -0.051175985, 0.0018624172, -0.011647894, -0.00092653703, -0.0044068904, -0.034133933, -0.0036064868, 0.022236887, 0.0326141, -0.0022377037, 0.022797482, 0.024117991, 0.00082376145, -0.027431725, -0.047862254, 0.009474035, 0.016232306, 0.0017736566, 0.0030770372, -0.028851895, 0.012793996, -0.009598612, -0.031966306, 0.020555107, 0.028602742, 0.021427142, 0.009118993, 0.0046871873, 0.022187058, -0.005855091, -0.0055218493, 0.00047845126, -0.043726318, -0.006833016, -0.015160948, -0.017615104, 0.029549522, -0.004998628, 0.0143262865, -0.027581215, 0.017091883, 0.08052619, -0.01985748, 0.018972985, -0.0013602186, -0.024566466, 0.044897337, -0.02665935, 0.0046435855, -0.013690947, -0.042804454, -0.018898241, 0.009698273, -0.038519025, -0.0075991605, 0.030745456, 0.015808746, 0.011853444, -0.0058364044, 0.047638018, 0.00350994, -0.08675501, -0.023258414, 0.048460223, -0.014139422, 0.0049799415, -0.015061287, -0.0051699206, 0.0046186703, 0.028951555, -0.026484944, 0.021975277, -0.029200708, 0.021501888, -0.013130353, -0.011560691, -0.049382087, 0.0033884782, -0.007966661, 0.04128462, 0.0027453525, -0.014799677, -0.0002456491, -0.00686416, 0.06034481, -0.009729417, 0.011990479, 0.015509762, -0.01953358, -0.014014846, 0.017851798, -0.055561077, -0.022286719, 0.0014411933, 0.06193939, -0.037472583, 0.015322898, -0.0071506854, -0.018300274, -0.009542553, -0.052023105, -0.013391963, -0.01884841, 0.031617492, -0.025164433, 0.040063772, -0.012115056, 0.029150879, -0.024877908, 0.0074994997, -0.007449669, 0.011946877, 0.029474776, -0.009274714, 0.006035727, 0.024803162, -0.01911002, 0.028179182, -0.009318315, 0.055311922, -0.0047588185, -0.021713667, -0.018038664, -0.0014520937, -0.0014863522, -0.02603647, -0.015086203, -0.0019293771, 0.03580326, -0.05042853, -0.042281233, -0.015534678, 0.039839532, -0.009256027, 0.02703308, 0.0026924075, 0.00023319146, 0.03256427, 0.019807648, -0.022797482, 0.00865806, 0.018835953, -0.04213174, -0.020754429, 0.0057211714, -0.025114603, 0.029001387, 0.00081986847, 0.0029913909, -0.007007423, 0.031218847, 0.044374116, -0.012245861, 0.0064406, -0.012083911, 0.00976679, -0.018835953, -0.010807003, 0.03657563, 0.048061576, -0.0039584152, 0.029948168, 0.05067768, -0.056059383, 0.012650734, 0.031542744, -0.0053474423, -0.0023342504, -0.023843924, 0.020941293, 0.02148943, -0.0022392608, 0.0503787, -0.02439206, -0.009006874, -0.014774761, 0.0069389055, 0.009648442, 0.04482259, 0.021302566, 0.030820202, -0.0072939484, -0.0037123768, -0.029524608, 0.008564628, -0.026086299, 0.006350282, 0.023382992, 0.033311732, -0.014924253, 0.017179087, 0.035653766, -0.023245957, -0.023308245, -0.0044442634, -0.024242569, 0.03273868, 0.029574439, 0.025886977, 0.0027484668, 0.044473775, 0.028702404, -0.002740681, 0.010620139, -0.016232306, 0.031443086, -0.019184766, -0.013105438, -0.06911499, 0.01087552, -0.0250274, 0.019022817, 0.0001561098, -0.01019035, 0.04900836, -0.004092335, -0.0016132644, -0.0058146035, -0.040686652, -0.0056619975, 0.047538355, -0.00026277834, 0.042355977, 0.0056183957, -0.0032171856, 0.024628755, -0.032539356, -0.014351202, -0.015970696, -0.032016136, 0.033037663, -0.01599561, -0.027057994, 0.01266942, 0.02518935, -0.015036372, 0.012557302, 0.012700564, -0.0057585444, -0.0038244957, 0.01563434, 0.034084104, -0.0065589477, -0.018138325, 0.0046280134, 0.012588446, -0.018823495, -0.021028496, -0.012345522, -0.018773664, 0.034756817, 0.021177988, 0.0034445375, 0.013902727, 0.047289204, 0.041508857, -0.060992606, -0.012121284, 0.030969694, -0.016830273, -0.023582313, -0.035927836, 0.03171715, -0.0048865094, 0.022112312, -0.049332257, 0.009467807, -0.00997857, -0.0063596256, -0.022710279, 0.012289463, -0.016444085, 0.02518935, -0.026634434, 0.02238638, 0.0053225267, -0.04340242, 0.01615756, 0.020604936, -0.0422314, 0.009000645, -0.044797674, -0.015148491, -0.022797482, 0.037024107, -0.0043165726, 0.02533884, 0.024242569, 0.0003978659, 0.004649814, -0.0058301757, 0.013167726, 0.0018266016, 0.0024027673, -0.0043695173, -0.0051574633, -0.0098353075, -0.002088212, 0.0068081003, -0.006727126, 0.017278748, 0.025587993, 0.035653766, 0.001590685, -0.008035178, 0.01699222, -0.010694885, 0.013329675, 0.0060793287, 0.014538066, -0.024192737, 0.0090878485, -0.0065340325, 0.00802895, 0.00032662376, 0.02175104, -0.027182572, -0.008066322, 0.03722343, 0.039092075, 0.04803666, -0.0443492, 0.030496303, 0.009312086, -0.01700468, 0.012868742, -0.021476973, 0.011834758, -0.007131999, -0.0047339033, 0.027680878, -0.059697013, 0.030471388, -0.014164337, 0.029424947, 0.0005154349, -0.009723188, 0.025936807, -0.000157667, -0.0033760206, 0.010003485, -0.036226816, 0.006272422, -0.018811038, 0.0036064868, 0.005285154, 0.009966113, -0.026086299, -0.027008165, 0.028253928, -0.0030194207, 0.002187873, 0.05030395, -0.008788865, -0.0055623366, -0.020368243, 0.020941293, -0.011510859, 0.003273245, 0.02095375, -0.024466805, 0.042405806, 0.015771372, 0.024491722, 0.0014941383, 0.008222043, 0.012395352, -0.011380054, -0.045146488, 0.0070136515, -0.023295788, -0.01504883, 0.021514345, 0.030072743, 0.00802272, 0.00024292398, -0.030695627, -0.009629756, -0.013080522, -0.026410198, -0.0016475229, 0.0069389055, 0.015372728, 0.0081472965, 0.0073998384, -0.016606035, -0.017403323, 0.02872732, 0.012227174, 0.018711375, 0.009953654, 0.029848507, 0.027057994, -0.00025830138, 0.019620784, -0.03241478, -0.014899338, -0.013603743, -0.009280942, 0.01103124, -0.010333613, 0.043178182, 0.019122478, 0.00024895815, 0.011155817, -0.003485025, -0.014500693, 0.0031035095, 0.007985348, 0.0062475065, -0.035828173, 0.0604943, -0.008010263, -0.038942583, 0.020355785, -0.034183767, 0.032589186, -0.027008165, 0.03632648, -0.016294593, 0.0061198156, 0.0088947555, 0.025376214, -0.00033849746, 0.0071506854, 0.012943489, -0.02618596, 0.008377763, 0.008726577, -0.0029073018, -0.0059204935, 0.013080522, -0.0056059384, 0.00096780295, -0.03184173, -0.0026861788, 0.01140497, -0.0049705985, -0.0317919, 0.020418072, 0.07604144, 0.011865903, -0.021053413, -0.040836144, 0.047089882, -0.034283426, 0.01504883, -0.037597157, 0.025264096, 0.0014606584, 0.017801968, 0.048136324, -0.0010845934, 0.02450418, 0.00066765165, 0.0028045264, -0.012102597, -0.00085023395, 0.022274261, -0.009679587, 0.008807552, -0.029125962, -0.03346122, -0.01816324, -0.013055607, -0.014263998, 0.004640471, -0.015596965, 0.045520216, 0.013815523, 0.041583605, -0.022996804, -0.0053443275, -0.02561291, 0.021514345, 0.011398741, -0.038394447, -0.013242472, 0.013005776, 0.020442989, 0.009199968, -0.02132748, 0.0152481515, 0.0048024203, -0.005786574, 0.035080716, 0.023258414, 0.008047636, 0.013441794, 0.024803162, 0.0105080195, 0.034133933, 0.008359076, -0.024578925, 0.038045634, 0.019982055, 0.004191996, 0.030595966, -0.013205099, -0.027207486, 0.030047828, -0.045744456, 0.011461029, 0.052621074, 0.030770373, 0.008072551, 0.018599257, -0.010009714, 0.011784928, 0.029798675, -0.0035722284, -0.013267387, -0.020766886, 0.0081659835, 0.027431725, -0.014687558, -0.0040425044, -0.03268885, 0.0095861545, 0.009735646, 0.011037469, -0.01684273, -0.024416976, 0.056707177, 0.011840987, 0.0030054057, 0.0047588185, -0.021016039, -0.008483653, 0.023819009, -0.036500886, 0.01995714, 0.006714668, 0.004070534, 0.004656043, -0.0017300548, -0.026061384, 0.03964021, -0.039042246, 0.0017643133, 0.013180183, -0.013267387, -0.011847216, -0.01066374, 0.0023342504, 0.025637824, 0.005004857, 0.0012636719, -0.032389864, 0.015958237, -0.0032981604, -0.005811489, 0.04198225, -0.016095271, 0.026958333, 0.0154973045, -0.014351202, -0.0033199613, -0.019085106, 0.028777149, -0.020505276, -0.015883492, 0.0057928027, -0.0014941383, -0.014126964, 0.015808746, -0.0041733095, -0.0058052605, -0.028428335, -0.019994512, -0.0041608517, 0.0021333708, 0.016979763, 0.013553913, -0.018487139, 0.05316921, -0.015758915, -0.014089591, 0.008489882, 0.009318315, 0.021252735, 0.0049487976, 0.01625722, -0.014936711, 0.0064530578, 0.0066648377, -0.01868646, -0.004565725, 0.017029595, 0.012756623, 0.0019309343, -0.013965015, -0.008981959, 0.01087552, -0.017079424, -0.012476327, -0.007792254, 0.008047636, 0.0052664676, -0.010202807, -0.006889075, -0.022722736, -0.009517637, 0.002558488, 0.019658156, -0.0048024203, 0.03627665, 0.007898144, 0.0034445375, 0.036999192, -0.011990479, -0.039291397, -0.009386832, -0.011853444, 0.013217556, 0.012532386, -0.00997857, 0.00017732673, 0.034034275, 0.0031003952, -0.014562981, 0.004307229, -0.023980958, 0.008134839, 0.028229013, 0.007237889, -0.0067707277, 0.008969501, 0.027307147, -0.054564465, -0.012793996, 0.010726028, 0.0037684361, 0.0031066241, -0.0067395833, -0.023532482, 0.03490631, -0.0019729787, -0.019845022, -0.004107907, 0.024117991, 0.021252735, -0.024379602, 0.010227723, -0.00802272, -0.014002387, -0.0024899708, -0.0027593672, -0.018138325, 0.0032607873, 0.0040456187, -0.015933322, 0.008458738, 0.010358528, 0.016805356, -0.014064676, 0.06418176, 0.041758012, 0.034283426, -0.019620784, 0.033137325, 0.006057528, 0.0013882483, -0.0038462966, -0.03991428, 0.035927836, -0.043676488, -0.025388671, 0.015572051, -0.009692044, 0.009660901, -0.017814426, -0.01747807, -0.0126569625, 0.00041460583, 0.0029353315, 0.041434113, -0.013528997, 0.023744263, 0.008701662, -0.020243665, 0.01741578, 0.027581215, -0.015696626, -0.035728514, -0.00018014916, 0.038145296, 0.02793003, 0.012993319, 0.012993319, -0.0038026946, 0.008359076, -0.012769082, 0.00343208, -0.009710731, -0.017253831, 0.015808746, 0.0034383088, 0.016643407, 0.0039366144, 0.031642407, 0.0038898983, 0.026210876, 0.013167726, -0.023931127, -0.016718153, 0.029076133, 0.016493917, -0.013528997, -0.011940648, 0.038519025, -0.024678586, -0.029001387, 0.017390866, 0.010202807, 0.020629853, 0.05491328, 0.006013926, 0.008303017, -0.019732902, 0.01700468, -0.0027297805, -0.006994965, -0.027705792, 0.006032612, 0.0057429723, -0.006571405, 0.021302566, 0.019932225, -0.01832519, 0.019222138, -0.0007396724, -0.013342133, 0.008963272, 0.0060045826, 0.025812231, 0.008383992, -0.005549879, 0.052222427, 0.021177988, -0.006596321, 0.01705451, -0.005116976, -0.0065278034, 0.006901533, -0.03236495, -0.008795094, 0.034482747, 0.011517089, 0.04509666, 0.0067333546, -0.043003775, 0.0035223977, -0.011411198, 0.020293497, 0.008558399, 0.020343326, 0.011890817, 0.019159852, -0.027207486, 0.0016989107, 0.04519632, 0.007343779, 0.0365258, -0.01425154, 0.032165628, 0.057305146, 0.0037030336, -0.036824785, -0.026335452, -0.00003369889, -0.024753332, -0.0011110659, 0.053866837, -0.007237889, 0.025637824, 0.003379135, -0.055511244, -0.017341034, -0.011186961, -0.044698015, -0.004107907, 0.027057994, 0.0033386475, 0.014774761, -0.04723937, -0.0009966112, -0.012893658, -0.0022112313, -0.018835953, -0.03126868, 0.032489527, 0.008595772, -0.005004857, -0.024952654, -0.007194287, 0.002687736, -0.018599257, 0.0017098112, -0.009224882 ]
2311.01343
71
[37] Yifan Hu, Yehuda Koren, and Chris Volinsky. Collaborative filtering for implicit feedback datasets. In IEEE International Conference on Data Mining, pages 263– 272, 2008. [38] Kun Zhou, Hui Wang, Wayne Xin Zhao, Yutao Zhu, Sirui Wang, Fuzheng Zhang, Zhongyuan Wang, and Ji-Rong Wen. S3-Rec: Self-supervised learning for sequen- tial recommendation with mutual information maximization. In CIKM, pages 1893–1902, 2020. [39] Dawen Liang, Rahul G Krishnan, Matthew D Hoffman, and Tony Jebara. Varia- tional autoencoders for collaborative filtering. In WWW, pages 689–698, 2018. [40] Yaochen Zhu and Zhenzhong Chen. Mutually-regularized dual collaborative variational auto-encoder for recommendation systems. In WWW, pages 2379– 2387, 2022. [41] Fei Sun, Jun Liu, Jian Wu, Changhua Pei, Xiao Lin, Wenwu Ou, and Peng Jiang. BERT4Rec: Sequential recommendation with bidirectional encoder representa- tions from transformer. In CIKM, pages 1441–1450, 2019. Conference’17, July 2017, Washington, DC, USA
2311.01343#71
Collaborative Large Language Model for Recommender Systems
Recently, there is a growing interest in developing next-generation recommender systems (RSs) based on pretrained large language models (LLMs), fully utilizing their encoded knowledge and reasoning ability. However, the semantic gap between natural language and recommendation tasks is still not well addressed, leading to multiple issues such as spuriously-correlated user/item descriptors, ineffective language modeling on user/item contents, and inefficient recommendations via auto-regression, etc. In this paper, we propose CLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and ID paradigm of RS, aiming to address the above challenges simultaneously. We first extend the vocabulary of pretrained LLMs with user/item ID tokens to faithfully model the user/item collaborative and content semantics. Accordingly, in the pretraining stage, a novel soft+hard prompting strategy is proposed to effectively learn user/item collaborative/content token embeddings via language modeling on RS-specific corpora established from user-item interactions and user/item features, where each document is split into a prompt consisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and a main text consisting of homogeneous item tokens or vocab tokens that facilitates stable and effective language modeling. In addition, a novel mutual regularization strategy is introduced to encourage the CLLM4Rec to capture recommendation-oriented information from user/item contents. Finally, we propose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where an item prediction head with multinomial likelihood is added to the pretrained CLLM4Rec backbone to predict hold-out items based on the soft+hard prompts established from masked user-item interaction history, where recommendations of multiple items can be generated efficiently.
http://arxiv.org/pdf/2311.01343
Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li
cs.IR
null
null
cs.IR
20231102
20231108
[ { "id": "2302.13971" }, { "id": "2206.07682" }, { "id": "2308.10053" }, { "id": "2307.02046" }, { "id": "2306.05817" }, { "id": "2205.08084" }, { "id": "2303.14524" }, { "id": "2305.07001" }, { "id": "2303.13835" }, { "id": "2303.18223" }, { "id": "2302.03735" }, { "id": "2305.00447" }, { "id": "2305.08845" }, { "id": "2104.08691" }, { "id": "2308.10837" }, { "id": "2305.06569" } ]
{ "authors": "Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li", "chunk_id": 71, "doc_id": "2311.01343", "primary_category": "cs.IR", "published": 20231102, "source": "http://arxiv.org/pdf/2311.01343", "summary": "Recently, there is a growing interest in developing next-generation\nrecommender systems (RSs) based on pretrained large language models (LLMs),\nfully utilizing their encoded knowledge and reasoning ability. However, the\nsemantic gap between natural language and recommendation tasks is still not\nwell addressed, leading to multiple issues such as spuriously-correlated\nuser/item descriptors, ineffective language modeling on user/item contents, and\ninefficient recommendations via auto-regression, etc. In this paper, we propose\nCLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and\nID paradigm of RS, aiming to address the above challenges simultaneously. We\nfirst extend the vocabulary of pretrained LLMs with user/item ID tokens to\nfaithfully model the user/item collaborative and content semantics.\nAccordingly, in the pretraining stage, a novel soft+hard prompting strategy is\nproposed to effectively learn user/item collaborative/content token embeddings\nvia language modeling on RS-specific corpora established from user-item\ninteractions and user/item features, where each document is split into a prompt\nconsisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and\na main text consisting of homogeneous item tokens or vocab tokens that\nfacilitates stable and effective language modeling. In addition, a novel mutual\nregularization strategy is introduced to encourage the CLLM4Rec to capture\nrecommendation-oriented information from user/item contents. Finally, we\npropose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where\nan item prediction head with multinomial likelihood is added to the pretrained\nCLLM4Rec backbone to predict hold-out items based on the soft+hard prompts\nestablished from masked user-item interaction history, where recommendations of\nmultiple items can be generated efficiently.", "text": "[37] Yifan Hu, Yehuda Koren, and Chris Volinsky. Collaborative filtering for implicit feedback datasets. In IEEE International Conference on Data Mining, pages 263– 272, 2008.\n[38] Kun Zhou, Hui Wang, Wayne Xin Zhao, Yutao Zhu, Sirui Wang, Fuzheng Zhang, Zhongyuan Wang, and Ji-Rong Wen. S3-Rec: Self-supervised learning for sequen- tial recommendation with mutual information maximization. In CIKM, pages 1893–1902, 2020.\n[39] Dawen Liang, Rahul G Krishnan, Matthew D Hoffman, and Tony Jebara. Varia- tional autoencoders for collaborative filtering. In WWW, pages 689–698, 2018. [40] Yaochen Zhu and Zhenzhong Chen. Mutually-regularized dual collaborative variational auto-encoder for recommendation systems. In WWW, pages 2379– 2387, 2022.\n[41] Fei Sun, Jun Liu, Jian Wu, Changhua Pei, Xiao Lin, Wenwu Ou, and Peng Jiang. BERT4Rec: Sequential recommendation with bidirectional encoder representa- tions from transformer. In CIKM, pages 1441–1450, 2019.\nConference’17, July 2017, Washington, DC, USA", "title": "Collaborative Large Language Model for Recommender Systems", "year": 2023 }
[ -0.002280458, -0.010786678, 0.0028786631, 0.016129375, 0.040234815, 0.0264856, -0.021750601, 0.07682343, -0.06360595, 0.06264376, 0.0060959924, -0.036613934, -0.024282686, 0.011027226, 0.013647933, 0.029701347, 0.031575087, -0.010387875, -0.0071278163, 0.02684009, -0.039855003, -0.008836973, 0.04342524, 0.03919666, -0.023219211, -0.019610992, 0.014192331, 0.074797764, -0.0009732698, -0.05752895, -0.008260924, -0.017977796, -0.0049882056, -0.010103015, -0.028561909, 0.042235162, 0.010451177, 0.021611337, -0.007621573, 0.02681477, 0.0030543264, -0.009261098, 0.0015873002, 0.01987686, 0.004617888, -0.02530818, -0.000344403, -0.015850846, 0.01747138, 0.026283031, -0.07474712, -0.015800204, -0.03587963, -0.02140877, -0.008203953, 0.00027041865, 0.015863506, 0.02199115, 0.011647587, -0.006327045, 0.011666577, -0.040184174, -0.011350066, 0.04129829, -0.03623412, -0.029903913, -0.06168157, 0.0022472246, 0.013825179, -0.002752059, -0.006216266, -0.0020035114, 0.033018377, 0.009375041, 0.035120007, 0.008691379, 0.029346853, 0.05266735, -0.03947519, -0.053528257, 0.011280434, 0.009419353, -0.035373215, -0.0096599, -0.077025995, -0.0331703, -0.031802975, -0.031245917, -0.028308699, 0.038133185, -0.040234815, -0.012603449, -0.03375268, -0.02262417, 0.021294827, 0.022421604, 0.018914668, -0.045932006, 0.029625382, 0.026941374, -0.039930966, 0.00079285883, -0.014116368, -0.00033688586, 0.018724762, -0.021484733, -0.032866452, -0.030486291, -0.0069695613, -0.0032632232, -0.07991257, -0.0051464606, -0.04674227, 0.0070645143, 0.017395418, -0.049324997, -0.060719375, -0.03443634, -0.067657284, 0.030182442, -0.029296212, -0.024890386, 0.040614627, -0.0070771747, -0.0129452795, -0.037246957, -0.002030415, -0.05813665, -0.0126604205, -0.060972583, -0.0040766555, -0.019142555, 0.038816847, -0.013685914, -0.026460279, -0.035322573, 0.01505324, 0.011615936, -0.018155042, -0.050312508, 0.022257019, -0.028815117, -0.05611098, 0.0057161795, -0.05606034, 0.0068872687, -0.013394725, -0.037120353, -0.036664575, -0.0068302965, -0.053477615, -0.039221983, -0.0104954885, 0.0067733247, -0.066087395, -0.036588613, -0.026941374, 0.025890559, 0.021193543, -0.07074643, -0.0003082021, 0.002096882, -0.031878937, -0.0017835366, 0.006716353, -0.009577608, -0.026384316, 0.014724068, -0.058086008, -0.03833575, 0.0024640344, -0.030005196, -0.014584804, 0.019737596, 0.034461662, 0.00070621405, 0.008222943, -0.04251369, 0.0036367057, -0.0047508227, 0.040639948, -0.01780055, -0.013597291, -0.018205684, -0.04400762, 0.028131453, 0.015546996, -0.012185655, 0.011856483, 0.00043520195, 0.015205164, 0.0464131, 0.026308352, 0.063150175, -0.010489158, -0.012097032, 0.011248783, -0.010058704, 0.028080812, -0.037576128, 0.010520809, 0.0356011, -0.03970308, -0.0073746946, -0.006868278, -0.050692324, -0.017382758, -0.0054471456, -0.06416301, 0.0030654042, 0.043627806, 0.02195317, 0.041627463, 0.026055144, -0.036639255, 0.0042665615, -0.04157682, -0.014673427, 0.0007738682, 0.0014369577, 0.001569892, 0.017863853, 0.011691898, -0.0031287062, -0.009868798, 0.04527366, 0.00046645736, -0.060111675, -0.011185481, 0.00843184, 0.052920558, -0.024675159, -0.026080465, 0.011413368, -0.01748404, -0.011780521, -0.003886749, 0.034790836, 0.00034301827, -0.023978835, 0.012445193, -0.0035892292, 0.017066246, 0.014306275, 0.0033518462, 0.025232218, 0.0041367924, -0.04638778, 0.013116195, 0.044058263, 0.018585498, -0.019978143, -0.0045007793, -0.008146981, -0.008419179, -0.04970481, -0.02922025, 0.022978663, 0.019180536, 0.029701347, -0.052363496, 0.03101803, -0.01718019, 0.017813211, -0.022712793, 0.007475978, -0.04281754, 0.024751121, 0.04185535, 0.010482828, -0.026029823, 0.03043565, 0.033955246, 0.047096763, -0.053173766, -0.00013936353, 0.032106824, 0.0008973073, -0.022257019, -0.029650703, 0.015914148, -0.008685049, 0.061377715, -0.0054091644, 0.01985154, 0.0068049757, -0.022105094, -0.018750083, -0.04137425, 0.0070771747, 0.036360726, -0.047729783, -0.005738335, -0.03727228, 0.030612895, 0.038031902, 0.04633714, -0.00011255905, 0.017876513, -0.0041051414, 0.01596479, -0.040260136, -0.0047128415, 0.06416301, 0.020079426, 0.041728746, -0.055655207, -0.007697535, 0.032714527, -0.004722337, -0.0014907644, 0.042361766, -0.040462703, 0.0368165, -0.0578328, -0.03894345, 0.067657284, -0.048261523, 0.019838879, -0.06289697, -0.043501202, -0.0075202896, -0.016445886, 0.025460105, 0.025700653, -0.022788756, 0.015926808, -0.039905645, -0.014901315, -0.035449177, -0.017547343, 0.007330383, 0.023257192, -0.0046527046, 0.004905913, -0.04600797, 0.0055262735, -0.0037221636, 0.021155562, 0.018585498, -0.05246478, -0.00069869694, -0.022700133, -0.0007422171, -0.01357197, 0.018306967, -0.0045071095, 0.04790703, 0.013458027, 0.039551154, 0.028460624, -0.052566063, 0.044412754, -0.038209148, 0.011229793, 0.0059947087, -0.02195317, -0.014230312, -0.024320668, -0.015850846, 0.0064726397, 0.021826563, 0.02651092, -0.034790836, 0.008786332, 0.006716353, -0.018370269, -0.025814597, -0.013685914, -0.013141516, -0.008824313, -0.019269159, -0.04489385, 0.028080812, -0.024016816, 0.044488717, 0.02291536, 0.017939815, 0.0129452795, 0.052414138, -0.005874435, -0.03281581, -0.022966003, -0.005605401, 0.0073113926, 0.0038645933, -0.014154349, -0.012033729, -0.0054154946, -0.001569892, -0.047552537, -0.012546476, 0.008957247, -0.023852231, 0.05056572, 0.02262417, 0.0057699867, 0.035930272, 0.030385008, 0.036107518, 0.017306793, -0.005472467, 0.031119313, 0.023915533, 0.0036873473, 0.05778216, -0.0024371308, 0.023105267, 0.019408423, -0.005785812, 0.02805549, -0.04431147, -0.008083678, 0.0069822217, -0.021623997, 0.040791873, 0.015357089, 0.0032284071, 0.04590668, 0.048033632, -0.010387875, 0.008368538, -0.037095033, -0.06426429, 0.0058586095, -0.0012003661, 0.023029305, -0.006849287, 0.0008949335, -0.056617398, -0.06689766, 0.044995133, 0.033676717, -0.039297946, -0.02835934, -0.043298636, 0.07621573, 0.034790836, -0.009001559, -0.01624332, -0.010185308, 0.032663886, -0.04428615, -0.012413542, 0.02295334, -0.018623479, 0.014483521, 0.056465473, -0.011103189, 0.021775922, -0.008988898, -0.011558964, 0.04347588, -0.015749563, -0.04281754, -0.031777654, 0.051755797, -0.011932446, 0.02020603, 0.005330037, 0.014825352, 0.019383103, -0.018737422, -0.038462356, 0.030511612, -0.023383796, -0.0035512478, 0.0074569876, 0.017699268, -0.021294827, -0.017965136, -0.012337579, -0.026434958, -0.017382758, -0.022472246, -0.008545783, 0.02711862, -0.003434139, -0.0048014643, 0.0010555625, -0.008786332, -0.024042137, -0.008659727, 0.020016124, 0.04555219, 0.018458892, 0.009451004, -0.046210535, 0.02957474, 0.03831043, 0.012603449, -0.0024956854, 0.035474498, -0.01295161, -0.034740195, 0.0055515943, -0.021180883, -0.02711862, 0.0138378395, 0.013989764, 0.0066973623, -0.011945106, -0.01719285, 0.005481962, 0.010596772, -0.009558617, -0.006577088, -0.0023216046, -0.0066403905, 0.045045774, -0.013647933, 0.005811133, 0.0041019763, -0.0035702386, 0.0062827333, 0.035727706, -0.042716257, -0.01748404, -0.018446231, 0.02263683, -0.029169608, 0.0039975275, -0.0023674986, 0.0025906386, -0.0072417604, -0.012571797, -0.02019337, -0.076722145, -0.017496701, -0.01897797, -0.009413023, 0.019940162, 0.054490447, 0.003288544, -0.035651743, 0.0046811905, -0.008666057, -0.01625598, -0.028232737, 0.005456641, -0.0010927526, 0.0264856, -0.0048995824, 0.023902873, -0.00048386544, -0.016648453, -0.0013712818, 0.010014392, -0.022548208, -0.0061276434, 0.04180471, -0.03230939, -0.009691551, -0.005130635, -0.0049565546, -0.016395245, 0.04636246, -0.0410704, 0.011299425, -0.028561909, 0.0070645143, -0.0025653176, -0.00662773, 0.032056183, -0.043374598, -0.0036398708, 0.014508842, 0.025700653, 0.010805668, 0.0008237186, -0.020256672, -0.018155042, 0.03160041, -0.018028438, 0.005399669, -0.005538934, 0.048590694, -0.0020668136, -0.019497046, 0.037728053, -0.04975545, -0.03203086, -0.003090725, 0.005602236, 0.014065727, 0.0075519406, 0.00722277, 0.00092737575, 0.00543132, 0.010020723, 0.04132361, -0.004722337, -0.028080812, -0.044995133, -0.015534336, 0.028460624, 0.031575087, -0.004931234, -0.016217997, 0.020256672, -0.008672387, -0.0144582, -0.040614627, -0.04005757, -0.02169996, 0.018231004, 0.050185904, -0.0032379024, -0.020649144, 0.00044232342, 0.010147327, -0.020016124, 0.007653224, -0.0017059916, -0.02258619, 0.007684875, -0.022662152, -0.018598158, 0.035423856, 0.008501472, -0.0016632627, -0.059554618, -0.0076722144, 0.015711581, 0.0044374773, 0.0071341465, -0.008925596, -0.031499125, 0.0012913628, -0.0074506574, -0.018598158, -0.0007034446, 0.019813558, -0.002348508, -0.02076309, -0.026333675, 0.013533989, 0.007469648, 0.020585842, -0.017509362, 0.0025115109, 0.004010188, 0.00018713683, -0.027295865, 0.019205857, -0.030612895, -0.010672734, -0.00042531098, -0.03831043, -0.019256499, -0.051705156, -0.050818928, 0.013141516, 0.029296212, 0.017686607, -0.007634233, 0.027017336, 0.025662672, -0.01417967, -0.02530818, -0.01025494, -0.03413249, 0.019091913, -0.042868182, -0.027093299, 0.03939923, 0.011413368, 0.02592854, 0.02052254, 0.019813558, -0.017939815, -0.0046527046, 0.00034183136, 0.02050988, 0.025814597, -0.044767246, 0.0016062908, -0.01176153, -0.0028834108, 0.012666751, -0.036082197, 0.046210535, -0.034537625, -0.026333675, 0.0041684434, -0.016369924, 0.025358822, -0.029903913, -0.00070107076, -0.010881631, -0.011558964, -0.0060706716, 0.03192958, 0.007735517, -0.023788929, 0.031828295, 0.035120007, 0.020649144, -0.02500433, -0.074190065, 0.002383324, -0.017547343, -0.022067113, 0.018927328, 0.0037443193, -0.017534683, -0.010406866, 0.011539973, 0.028511265, -0.0130402325, -0.03284113, -0.009596598, 0.0033012046, 0.00542499, -0.013166837, -0.009267428, 0.042260483, 0.027701, 0.007691205, -0.03942455, -0.03798126, 0.0031097156, -0.029017683, 0.0010128336, -0.006080167, -0.00752662, -0.04423551, 0.0018927328, -0.040234815, 0.012154004, 0.007286072, 0.01657249, 0.016661113, 0.010565121, -0.0032948744, -0.0018452562, -0.020952996, -0.00085457833, -0.0006310428, -0.0040544993, -0.0026998345, -0.024320668, 0.04104508, 0.06233991, 0.008539453, 0.020054106, 0.024953688, -0.0066024093, -0.037246957, -0.0036303755, -0.018509535, 0.009919439, -0.009375041, 0.0016070821, -0.0117552, -0.024941027, 0.0343857, -0.02833402, -0.027017336, 0.057123818, 0.018762743, 0.029194929, 0.002853342, 0.031777654, 0.014926636, -0.010963924, -0.013977104, -0.010077694, -0.03767741, 0.015179844, -0.0018056924, -0.018813385, 0.017737249, -0.028536586, 0.05671868, -0.0013499173, 0.005235084, 0.029701347, -0.034284417, 0.030283725, 0.0029372175, 0.015546996, 0.022295, -0.033626076, -0.03339819, -0.044665962, -0.020307314, -0.018585498, 0.033296905, -0.03582899, -0.009520636, 0.017560003, 0.014192331, -0.04157682, -0.0235104, 0.040918477, -0.021522714, -0.0788491, 0.008969908, 0.013875821, -0.03167637, 0.044438075, 0.019497046, 0.024523234, 0.012894638, -0.015243146, -0.011660247, -0.0117995115, 0.015597638, 0.03170169, -0.012002078, -0.014394898, -0.012698402, 0.011590615, -0.03129656, 0.056262907, -0.016180016, -0.023548381, -0.002600134, 0.005750996, 0.03198022, -0.0015746397, 0.011299425, 0.027625037, 0.0016585151, -0.016382584, -0.013977104, -0.0064947954, -0.024966348, -0.019813558, 0.04795767, -0.014293615, 0.026156427, -0.014812691, 0.009507976, -0.009115502, -0.0066467207, -0.025080292, -0.027625037, -0.0131035345, -0.015939469, 0.0129769305, -0.012470514, 0.008419179, -0.012989591, 0.0066087395, -0.008792662, 0.012090702, 0.0252702, -0.019585669, -0.028156774, 0.0043805055, 0.023928193, 0.021269506, -0.014724068, 0.03466423, -0.008279915, -0.012324919, -0.0044406424, 0.021775922, -0.002096882, -0.0017297299, 0.0007228309, -0.008798992, 0.0075456104, -0.027675679, -0.0403361, -0.0037189985, 0.018142382, 0.032739848, 0.022725454, -0.015800204, -0.016762396, 0.03653797, 0.018737422, -0.034765515, 0.004554586, 0.04000693, -0.046514384, -0.011932446, 0.030005196, -0.017889174, -0.005814298, 0.012229966, -0.022421604, -0.013407385, 0.008273585, 0.035778347, -0.00017190477, -0.009096512, -0.025561389, 0.030283725, -0.0010349894, -0.005089489, 0.015597638, 0.010318242, -0.021497393, 0.009406692, 0.010027053, -0.066695094, 0.015572317, 0.0068366267, -0.022092434, 0.017028265, -0.00047595266, 0.040234815, -0.013027572, 0.0107486965, 0.016673774, -0.04464064, -0.0069379103, 0.007900102, 0.02319389, 0.01686368, 0.04190599, 0.0115146525, 0.01601543, 0.02169996, -0.023852231, -0.000183675, -0.016066073, -0.029321533, -0.019737596, 0.018712102, 0.019813558, -0.001160011, 0.02473846, 0.011590615, 0.022434264, 0.008311566, -0.006327045, -0.03970308, 0.06760664, -0.0036651916, -0.0031239586, -0.044438075, 0.049958017, -0.00072045706, -0.03891813, 0.0003010806, -0.014027745, 0.013496008, -0.011837493, -0.048362806, -0.015509015, -0.026966695, 0.021877207, 0.01538241, 0.002620707, -0.041247647, 0.029144287, 0.013445366, 0.02138345, 0.003943721, -0.016458547, 0.0045387605, 0.07145541, 0.016737076, 0.06699894, 0.02714394, -0.022738114, -0.008014046, -0.043247994, -0.039171338, -0.031473804, -0.025143594, 0.041146364, -0.026764128, -0.036082197, 0.03251196, 0.05484494, 0.0028438468, 0.013141516, -0.0062574125, -0.02197849, 0.0348668, 0.030182442, 0.010394205, -0.011413368, -0.030055838, -0.013078214, 0.031271238, 0.0045419256, -0.00007808908, -0.000790485, 0.012198315, 0.0024877726, 0.034183133, 0.009862468, 0.02678945, 0.04697016, 0.021497393, -0.013445366, -0.011970427, 0.028258057, -0.0007659554, -0.0069189197, -0.02382691, 0.02139611, 0.010058704, 0.015635619, -0.052262213, -0.006276403, 0.021623997, -0.021244185, 0.005807968, 0.016104054, -0.0017946146, 0.010691725, -0.0028660025, 0.005155956, -0.007944413, -0.015129202, 0.020142728, 0.015901487, -0.026131107, 0.04664099, -0.010311912, -0.02502965, -0.026029823, 0.00436468, 0.00047239193, -0.012989591, 0.025358822, 0.007507629, -0.027473113, 0.008824313, -0.010913282, 0.019395763, 0.01357197, -0.03276517, -0.01653451, -0.009071191, -0.018939989, -0.004734997, -0.012812345, -0.015015258, 0.045754757, 0.040893156, 0.015433053, -0.021168223, -0.007982395, -0.016319282, 0.006421998, 0.000181499, -0.010824659, -0.030866105, -0.0070708445, -0.00618145, 0.054490447, 0.009286419, -0.010672734, -0.022295, -0.008336887, 0.026181748, 0.024130762, 0.034309737, -0.001205905, 0.023940854, 0.0024007321, -0.04071591, -0.0039627114, -0.0011869144, -0.011723549, -0.013445366, -0.011185481, -0.00041344186, -0.022535548, 0.02075043, -0.031423163, 0.012521155, -0.021586016, -0.0033486811, -0.011090528, 0.012324919, 0.007912762, -0.0014029328, -0.004636879, -0.010046043, -0.03306902, 0.030891426, 0.01745872, -0.021915188, 0.0025763954, 0.007260751, 0.026308352, -0.0013238052, 0.018598158, 0.025118273, -0.013698574, 0.0009993819, -0.014584804, 0.013116195, -0.019914841, -0.0028834108, 0.023396457, -0.014863334, 0.0048774267, 0.010596772, 0.022130415, -0.007469648, 0.0415515, -0.0067986455, 0.026333675, -0.0057731518, 0.011780521, -0.004453303, 0.02139611, 0.044336792, 0.0049913707, 0.0052572396, 0.036715217, -0.025067631, 0.007767168, -0.005428155, -0.013293441, -0.0016157861, 0.009115502, -0.010679064, 0.035297252, 0.013204819, -0.03314498, -0.037854657, 0.028283378, 0.0011006653, -0.00026844046, 0.00993843, -0.03522129, 0.016661113, -0.001011251, -0.010001732, -0.009147153, -0.016142035, -0.017294133, 0.030005196, -0.0115463035, -0.009140823, 0.027295865, 0.0025985513, 0.020370616, -0.005997874, 0.006899929, 0.005545264, 0.0131035345, 0.008950917, 0.045653474, -0.030055838, 0.056870606, -0.0051939376, -0.018332288, -0.0006258995, -0.010330902, 0.015509015, -0.031093992, 0.031144634, -0.003239485, -0.013432706, 0.011881804, 0.031575087, 0.020573182, -0.009609259, -0.009210455, -0.008191292, -0.0021443586, 0.013875821, -0.012141343, -0.0036082198, 0.008900275, -0.0002314483, -0.002030415, -0.03372736, 0.007627903, 0.0012969018, 0.01778789, -0.014331596, 0.023763608, 0.06603675, 0.027675679, -0.035778347, -0.02800485, 0.018281646, -0.055807132, 0.0016363593, -0.04798299, 0.028511265, 0.023219211, 0.015812865, 0.040260136, -0.03403121, 0.034005888, 0.024903046, 0.018610818, -0.0025969688, 0.004516605, 0.017965136, -0.009102842, 0.006247917, -0.012274277, 0.0035385874, -0.012210975, 0.0030036846, -0.03585431, -0.008229273, -0.02020603, 0.029422816, 0.011400708, 0.01811706, -0.019408423, 0.030030517, -0.028283378, 0.021687299, 0.01842091, -0.053376332, -0.0038107864, -0.00753295, -0.0054629715, -0.00165535, 0.00020474273, 0.030233083, -0.00012729657, -0.0003455899, 0.021168223, 0.006899929, -0.02169996, 0.031068671, 0.009596598, 0.024611857, 0.012223636, 0.01600277, -0.029979875, 0.029397495, 0.03076482, -0.0097928345, 0.06740408, 0.0011924533, -0.014027745, 0.044817887, -0.04251369, 0.012862987, 0.069277816, 0.029777309, -0.013420045, -0.0126287695, -0.005542099, 0.02833402, 0.0022725454, 0.010122006, 0.0011592198, -0.013736556, -0.0050546727, 0.014002425, -0.011204472, -0.0026286198, -0.040234815, -0.008153311, 0.015774883, 0.015433053, 0.016116714, -0.003405653, 0.029979875, 0.00025202148, 0.0031746004, 0.00812166, -0.022725454, 0.00376964, 0.000730348, -0.034993403, 0.018155042, -0.0028849933, 0.0055009527, 0.007507629, 0.0065011256, -0.018370269, 0.0198642, -0.041678105, 0.015230485, 0.022117754, -0.037424203, -0.016648453, 0.014610125, 0.04008289, 0.019104574, 0.01295161, -0.023307834, -0.012255287, -0.0118944645, -0.015458373, -0.0011813755, 0.033524793, -0.0156736, 0.016395245, 0.005542099, -0.020130068, -0.021851886, -0.005152791, 0.051122777, -0.009558617, -0.0044121565, 0.030334366, 0.016661113, 0.021168223, 0.01716753, -0.0039184, 0.012116022, -0.022295, 0.019990804, -0.01084998, 0.016939642, 0.016800378, -0.0011615936, -0.0071468074, 0.0620867, -0.00055231084, -0.0015026336, -0.017977796, -0.011907125, 0.032208107, -0.028840438, 0.016471207, -0.00993843, -0.01024861, 0.0054946225, -0.0043868357, -0.010368885, -0.0097611835, 0.011331076, -0.0016490198, 0.010172647, 0.006171955, -0.008761011, -0.0003101803, -0.0029751987, -0.022117754, -0.01811706, -0.010755027, 0.000060334816, -0.037778694, -0.038158506, -0.0056876936, 0.008052027, 0.03344883, -0.010615762, 0.033043697, 0.0056243916, -0.011723549, 0.025472766, 0.051603872, -0.023611683, -0.021446751, -0.021510053, 0.012938949, 0.01476205, -0.024915706, 0.004253901, 0.020066766, -0.000181499, 0.0030828123, 0.00039801197, -0.002111125, 0.018712102, 0.010046043, 0.010698055, 0.019724935, 0.020104747, 0.020446578, -0.015635619, 0.007254421, 0.028764475, -0.004456468, -0.008343217, 0.00037229547, -0.008191292, 0.03233471, 0.018939989, -0.03468955, 0.01055246, 0.010337233, 0.009147153, -0.008400189, -0.009134493, -0.021054279, -0.031423163, -0.0107170455, -0.027751641, 0.007912762, 0.008590095, -0.0011220297, -0.017610645, 0.0137745375, 0.0031840957, 0.037424203, -0.016293962, 0.073177226, 0.02590322, 0.03765209, -0.052009005, 0.010982915, -0.024637178, 0.021864546, 0.0052224235, -0.05393339, -0.012280608, -0.023333155, -0.008564774, -0.0063460357, -0.04729933, -0.0005978092, -0.013407385, -0.01747138, -0.017977796, -0.029093646, 0.015357089, -0.018623479, -0.039146017, 0.012843996, 0.0059852134, -0.009982741, 0.010514479, 0.015103881, 0.0023500905, -0.008400189, -0.02924557, 0.022408944, 0.029017683, 0.0065580974, 0.02352306, -0.040488023, 0.0421592, 0.01174254, 0.0009036375, 0.016116714, -0.007963404, -0.018762743, -0.028764475, 0.019610992, 0.010286591, -0.0008886032, -0.036917783, 0.040285457, 0.02169996, -0.017939815, -0.028561909, 0.0071088257, 0.010204298, -0.020281993, -0.006384017, 0.010286591, 0.010394205, -0.026004503, 0.020281993, 0.0012478427, 0.0307395, 0.03471487, -0.02110492, 0.028967042, 0.009773844, 0.04104508, 0.00496605, -0.015230485, -0.01355931, -0.0029182269, 0.05611098, 0.016154695, 0.04431147, 0.031448483, -0.021256845, 0.010641083, -0.0014029328, -0.038107865, 0.015230485, 0.0012066963, 0.020281993, -0.002090552, 0.011951436, 0.03831043, 0.016040752, 0.0127237225, 0.05778216, 0.0029277222, -0.0017439729, -0.0017455554, 0.013483347, -0.007741847, 0.038183827, 0.00074142584, 0.015546996, -0.0075772614, -0.015711581, 0.024156082, 0.014508842, 0.0025795605, -0.009837147, 0.026865412, 0.00093212345, 0.02172528, 0.027067978, -0.0071847886, 0.039297946, 0.030486291, 0.021180883, 0.0003113672, 0.00081817963, 0.037246957, 0.03646201, -0.039829683, -0.01900329, 0.04846409, -0.02681477, -0.010134666, 0.028713834, -0.012400881, 0.006235257, 0.039348587, -0.039576475, -0.007020203, -0.0016664278, -0.02226968, -0.0073430436, 0.04765382, 0.002397567, 0.023345815, -0.054996867, -0.008786332, -0.04096912, -0.008400189, 0.01807908, -0.01990218, 0.015357089, -0.01988952, -0.011052547, -0.0138505, 0.010027053, -0.010172647, -0.0104638375, 0.00064726395, -0.02258619 ]
2311.01343
72
Conference’17, July 2017, Washington, DC, USA Table 3: Statistics of the datasets. #Feat. stands for number of textual features (i.e., # reviews for AM/Yelp datasets, and #user biography+#job descriptions for the LinkedIn dataset. Dataset AM-Beauty AM-Toys AM-Sports Yelp LinkedIn #Int. 94,148 95,420 185,718 292,017 90,173 #Users 10, 553 11, 268 22, 686 28, 330 22, 391 #Items 6, 086 7, 309 12, 301 18, 775 1, 071 Sparsity 99.85% 99.88% 99.93% 99.94% 99.62% #Feat. 70,604 70,784 137,618 224,825 23,362 Table 4: Comparison between CLLM4Rec and various base- lines with T5-backbone on three Amazon Review datasets.
2311.01343#72
Collaborative Large Language Model for Recommender Systems
Recently, there is a growing interest in developing next-generation recommender systems (RSs) based on pretrained large language models (LLMs), fully utilizing their encoded knowledge and reasoning ability. However, the semantic gap between natural language and recommendation tasks is still not well addressed, leading to multiple issues such as spuriously-correlated user/item descriptors, ineffective language modeling on user/item contents, and inefficient recommendations via auto-regression, etc. In this paper, we propose CLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and ID paradigm of RS, aiming to address the above challenges simultaneously. We first extend the vocabulary of pretrained LLMs with user/item ID tokens to faithfully model the user/item collaborative and content semantics. Accordingly, in the pretraining stage, a novel soft+hard prompting strategy is proposed to effectively learn user/item collaborative/content token embeddings via language modeling on RS-specific corpora established from user-item interactions and user/item features, where each document is split into a prompt consisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and a main text consisting of homogeneous item tokens or vocab tokens that facilitates stable and effective language modeling. In addition, a novel mutual regularization strategy is introduced to encourage the CLLM4Rec to capture recommendation-oriented information from user/item contents. Finally, we propose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where an item prediction head with multinomial likelihood is added to the pretrained CLLM4Rec backbone to predict hold-out items based on the soft+hard prompts established from masked user-item interaction history, where recommendations of multiple items can be generated efficiently.
http://arxiv.org/pdf/2311.01343
Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li
cs.IR
null
null
cs.IR
20231102
20231108
[ { "id": "2302.13971" }, { "id": "2206.07682" }, { "id": "2308.10053" }, { "id": "2307.02046" }, { "id": "2306.05817" }, { "id": "2205.08084" }, { "id": "2303.14524" }, { "id": "2305.07001" }, { "id": "2303.13835" }, { "id": "2303.18223" }, { "id": "2302.03735" }, { "id": "2305.00447" }, { "id": "2305.08845" }, { "id": "2104.08691" }, { "id": "2308.10837" }, { "id": "2305.06569" } ]
{ "authors": "Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li", "chunk_id": 72, "doc_id": "2311.01343", "primary_category": "cs.IR", "published": 20231102, "source": "http://arxiv.org/pdf/2311.01343", "summary": "Recently, there is a growing interest in developing next-generation\nrecommender systems (RSs) based on pretrained large language models (LLMs),\nfully utilizing their encoded knowledge and reasoning ability. However, the\nsemantic gap between natural language and recommendation tasks is still not\nwell addressed, leading to multiple issues such as spuriously-correlated\nuser/item descriptors, ineffective language modeling on user/item contents, and\ninefficient recommendations via auto-regression, etc. In this paper, we propose\nCLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and\nID paradigm of RS, aiming to address the above challenges simultaneously. We\nfirst extend the vocabulary of pretrained LLMs with user/item ID tokens to\nfaithfully model the user/item collaborative and content semantics.\nAccordingly, in the pretraining stage, a novel soft+hard prompting strategy is\nproposed to effectively learn user/item collaborative/content token embeddings\nvia language modeling on RS-specific corpora established from user-item\ninteractions and user/item features, where each document is split into a prompt\nconsisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and\na main text consisting of homogeneous item tokens or vocab tokens that\nfacilitates stable and effective language modeling. In addition, a novel mutual\nregularization strategy is introduced to encourage the CLLM4Rec to capture\nrecommendation-oriented information from user/item contents. Finally, we\npropose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where\nan item prediction head with multinomial likelihood is added to the pretrained\nCLLM4Rec backbone to predict hold-out items based on the soft+hard prompts\nestablished from masked user-item interaction history, where recommendations of\nmultiple items can be generated efficiently.", "text": "Conference’17, July 2017, Washington, DC, USA\nTable 3: Statistics of the datasets. #Feat. stands for number of textual features (i.e., # reviews for AM/Yelp datasets, and #user biography+#job descriptions for the LinkedIn dataset.\nDataset AM-Beauty AM-Toys AM-Sports Yelp LinkedIn #Int. 94,148 95,420 185,718 292,017 90,173 #Users 10, 553 11, 268 22, 686 28, 330 22, 391 #Items 6, 086 7, 309 12, 301 18, 775 1, 071 Sparsity 99.85% 99.88% 99.93% 99.94% 99.62% #Feat. 70,604 70,784 137,618 224,825 23,362\nTable 4: Comparison between CLLM4Rec and various base- lines with T5-backbone on three Amazon Review datasets.", "title": "Collaborative Large Language Model for Recommender Systems", "year": 2023 }
[ -0.009046078, 0.03221518, 0.09650962, 0.0059570903, 0.057688285, -0.0015988654, -0.0040235, 0.03977284, -0.017793112, 0.0078091235, 0.004529835, -0.070030645, -0.025405137, 0.019478632, 0.0019607765, 0.04189333, 0.03539592, -0.018989287, -0.023026379, 0.032541413, 0.007476097, -0.016297892, -0.0031688458, -0.016311485, 0.019410666, 0.031753022, -0.037462045, 0.018703835, -0.0023464751, -0.05303951, 0.025486695, -0.03074715, -0.008182928, 0.031100564, -0.0033693411, 0.016447414, -0.014612372, 0.011051031, 0.029415045, 0.008339247, -0.015006566, 0.00039546855, -0.03210644, -0.0019335906, 0.00014814141, -0.033030756, 0.02570418, -0.0031807395, 0.03626587, 0.030719964, -0.050021887, 0.05434443, -0.0037312522, -0.0488529, -0.025622625, -0.02340698, 0.014123027, 0.008481972, 0.046596475, -0.019995162, -0.0013074675, -0.028871328, 0.0041696234, -0.024372077, -0.08775579, -0.032731712, -0.0050769495, -0.020661214, 0.04181177, -0.02040295, -0.017548438, 0.009868449, 0.021245709, 0.013436586, -0.010031563, 0.0053895866, 0.015359982, 0.037543602, -0.037706714, -0.025391545, 0.008101371, 0.055268746, -0.03224237, -0.026560534, -0.036456168, -0.059101947, 0.0010984766, -0.019369889, -0.08264486, 0.0054507544, -0.05284921, 0.0023838556, -0.028708214, 0.012050109, 0.07041124, -0.047711093, -0.01582214, -0.011017049, 0.007408133, 0.04836355, -0.0053420113, 0.022210805, -0.032514226, -0.049315054, 0.025377952, -0.028001383, -0.0036428983, -0.06519157, -0.035259992, 0.021381637, -0.063723534, -0.0000312212, -0.038005758, -0.011941366, 0.0119549595, -0.018744614, -0.042654533, -0.0084615825, -0.037380487, -0.006160984, -0.0534473, 0.04371478, -0.00628332, -0.056165878, 0.040370926, -0.0463518, 0.04474784, -0.03422693, -0.052876398, -0.03126368, 0.026587721, -0.012940445, 0.051571477, -0.016094, -0.056763966, 0.033683214, -0.002810333, 0.0070139384, -0.021884575, -0.044639096, -0.047058634, -0.013409399, -0.007877088, 0.020810736, -0.02064762, -0.013891947, -0.029741274, 0.008400415, -0.019859232, 0.045046885, -0.008495565, -0.0016243521, -0.041567102, 0.014177399, -0.016365856, -0.0454003, 0.01990001, 0.017154245, -0.01043935, -0.01862228, 0.037978575, -0.012777329, -0.012213225, -0.0042681717, 0.0030329167, 0.0124035245, -0.042953577, -0.0012123171, -0.07008501, -0.049831588, 0.058775716, -0.044149753, 0.024508005, -0.06258173, -0.014761894, -0.040370926, 0.023828361, 0.0103442, 0.00029607044, -0.016583342, 0.016406635, -0.01488423, -0.051653035, -0.020375764, -0.052957956, -0.02242829, 0.017575625, 0.03825043, 0.015686212, 0.000012763259, 0.02367884, 0.00559348, 0.038060132, 0.0073877433, 0.012315171, -0.0071362746, 0.03612994, 0.015754176, -0.055676535, 0.015563875, -0.023706025, 0.017140651, -0.026574127, -0.041104943, -0.016066812, -0.0110238455, -0.043415736, 0.017494068, -0.06524594, 0.014952194, 0.025010943, 0.020946665, 0.018404791, 0.023379795, -0.05331137, 0.000011236712, -0.06464785, -0.009616979, 0.006358081, 0.072205506, 0.03417256, 0.028110126, 0.03145398, 0.0019947586, 0.010242254, 0.009474254, 0.019682525, -0.014653151, -0.0020304401, -0.05293077, 0.038549475, -0.002212245, -0.037951387, 0.005759993, -0.011452022, -0.011968552, -0.0017755731, -0.01172388, -0.0017118563, 0.0021102983, -0.00697316, 0.00908006, 0.024834236, 0.033900704, 0.034852207, 0.028164497, -0.025065316, -0.036592096, 0.0075100795, 0.022197213, 0.03384633, 0.03319387, -0.013572515, -0.03074715, -0.0033948277, 0.020742772, -0.037706714, 0.023950696, 0.0040031103, 0.028572284, -0.05083746, 0.02396429, -0.02369243, 0.022727335, -0.030774334, 0.0033438543, 0.050565604, 0.019016473, -0.027824674, -0.03786983, -0.016243521, 0.004930826, 0.031508353, 0.023773989, -0.0052434625, -0.023515724, 0.021490382, 0.0032198192, 0.020008754, -0.04376915, 0.016229928, 0.023311831, 0.00043008797, -0.018894136, 0.015591061, -0.009025688, 0.023366202, 0.013722037, -0.02265937, 0.016175555, 0.018798986, -0.04395945, 0.014802673, -0.033628844, 0.0069391774, 0.016923165, 0.063723534, -0.02714503, 0.000048690206, -0.017466882, 0.029714089, 0.012886073, -0.017031908, 0.0073197787, 0.0115471715, 0.077860154, -0.0033744385, -0.021762239, -0.019342702, 0.00994321, -0.013579311, 0.036456168, -0.0064158505, -0.01563184, -0.0735648, -0.043633223, 0.023896325, -0.06198364, 0.02415459, -0.025867296, -0.0027576603, -0.03762516, -0.01984564, 0.036048383, -0.00005941586, -0.0132190995, -0.020797143, -0.029415045, -0.053229813, -0.034390047, -0.014693929, -0.015332796, 0.042518605, -0.015767768, 0.008121761, -0.0039623315, -0.016923165, 0.04230112, -0.013185116, 0.05687271, -0.027253773, -0.01913881, -0.044068195, 0.014476443, -0.005987674, -0.005138118, 0.01844557, 0.057035826, 0.00093026436, 0.027865453, -0.005726011, -0.039582536, 0.043932267, 0.019927198, 0.0012921754, -0.044013824, 0.023379795, -0.0024569174, 0.025853703, 0.013232692, 0.016596936, 0.02036217, 0.010337403, -0.020185463, 0.02995876, 0.030556848, -0.05241424, 0.013579311, 0.045672156, -0.037706714, -0.0009837864, 0.00012180516, 0.009603387, -0.018282456, -0.041594286, 0.0027780498, 0.016202742, 0.045753714, -0.015903698, 0.03126368, -0.0026404215, -0.011560765, 0.033411358, -0.027484851, 0.009324732, 0.010384979, -0.007938256, 0.03689114, -0.059754405, 0.0022428292, -0.004264774, 0.0010084235, 0.03865822, -0.0050565605, 0.03729893, -0.037842646, 0.071879275, 0.044639096, 0.042464234, 0.035015322, -0.00012817683, -0.008889759, -0.0018027589, -0.013008409, 0.0072382214, 0.03167147, -0.0017254492, 0.002767855, -0.021966133, -0.027647967, 0.028110126, -0.03474346, 0.009229582, -0.05779703, -0.030312177, 0.02461675, 0.007639212, 0.08356918, 0.006725089, 0.051843334, 0.0031926334, -0.0018384403, -0.022129247, -0.000538194, -0.033547286, -0.008957724, 0.0045672157, -0.026111968, -0.019791268, 0.019451445, -0.021123372, 0.03319387, 0.10297984, -0.014490035, -0.041023385, -0.030094689, 0.023597281, 0.011037438, 0.010072342, -0.016080406, -0.010153899, -0.006405656, 0.0002380882, -0.014503629, -0.02097385, 0.022387512, 0.027036287, 0.032786086, -0.019818453, -0.005895922, -0.028952885, -0.024766272, -0.029170372, 0.009399493, 0.0011536977, -0.011350075, 0.019165995, -0.034063816, 0.04779265, -0.026315862, 0.038821332, 0.019465039, 0.024276927, 0.03721737, 0.005488135, -0.018459164, -0.026071189, 0.004407499, 0.0408059, -0.033547286, 0.029007258, -0.032432668, -0.024657527, -0.020321392, 0.010874324, 0.009453865, 0.004298756, -0.042600162, 0.015101716, -0.02438567, 0.040561225, -0.013959913, -0.021925354, 0.0026251297, -0.00844799, 0.086559616, 0.011030641, 0.02162631, -0.015251238, 0.022061283, 0.021884575, -0.010106324, 0.050538417, -0.015930884, 0.03373759, -0.013674461, -0.019804861, -0.050021887, 0.020022348, -0.0423283, 0.01783389, -0.028110126, 0.009399493, 0.033547286, 0.017534846, 0.026614906, 0.017222209, -0.022917636, -0.0013720337, 0.0017721748, 0.005726011, 0.053093884, 0.061385553, 0.012349153, -0.022020504, 0.004574012, -0.029197557, 0.0014943699, -0.0008809901, 0.046569288, 0.020715585, 0.01633867, -0.005926506, -0.0022989, -0.0038128095, -0.03977284, -0.0044584726, -0.10200115, 0.0060386476, -0.040506855, -0.003172244, 0.0074693006, -0.015754176, -0.01938348, -0.056111507, 0.016583342, 0.018282456, -0.024181776, 0.007530469, 0.004196809, 0.03042092, 0.027580002, 0.006575567, -0.015577468, 0.023094343, -0.027811082, 0.04480221, -0.037842646, -0.003038014, -0.026288677, 0.05649211, -0.057090197, 0.0110646235, -0.011812233, -0.013246285, -0.0013550426, -0.0047133393, -0.025364358, 0.008189725, -0.011431633, 0.034281302, 0.0028069348, 0.017888261, 0.04086027, -0.060406864, 0.01371524, 0.030257804, 0.024752678, 0.019301923, 0.0327589, -0.0015181574, -0.022591406, 0.010921898, -0.028164497, -0.034335677, -0.031508353, 0.009630572, -0.017575625, 0.024317706, -0.021979725, -0.022224398, -0.034906577, -0.02134086, 0.026111968, -0.04124087, 0.01413662, 0.008984909, 0.020008754, 0.0063682757, 0.010473332, 0.061766155, -0.0069357795, 0.0069357795, 0.004139039, 0.022944821, 0.02513328, -0.0189621, -0.017806705, -0.015740583, 0.010853934, 0.012104481, -0.013185116, -0.021870982, -0.033411358, -0.03879415, 0.021001037, 0.023420574, 0.011778251, 0.0011808835, 0.021354452, -0.011995737, -0.0070003457, -0.03145398, -0.03572215, -0.023135122, 0.0494238, 0.025038129, -0.05293077, 0.027131436, -0.047493607, -0.036619283, -0.015577468, -0.008019813, -0.027416887, 0.03210644, -0.0027100851, -0.014286142, -0.04235549, -0.029605346, -0.0004079995, -0.048146065, 0.03675521, 0.02859947, -0.039066005, -0.003009129, 0.018989287, 0.021069001, 0.038087316, -0.015101716, 0.019764083, 0.034525976, 0.020280613, 0.011975348, -0.030828707, 0.016651308, -0.02415459, 0.016080406, 0.0019624755, -0.060352493, -0.016243521, -0.0041254465, -0.050538417, -0.00007385832, 0.02017187, 0.0025146871, -0.038005758, -0.013205506, 0.019628154, 0.022224398, 0.008549937, -0.040996198, -0.009161618, -0.01909803, -0.014625965, -0.029741274, 0.023502132, 0.018146526, 0.010418961, 0.025595438, 0.04469347, 0.030665591, 0.027919825, 0.015020159, 0.027702339, -0.0013788302, -0.01825527, -0.0014824761, -0.0046589677, -0.019274738, 0.024521599, 0.013524939, 0.0014969185, -0.024875015, -0.05594839, -0.010718005, 0.008495565, 0.05578528, 0.019070845, 0.035776522, -0.0026744038, 0.003034616, 0.0061711785, -0.003155253, 0.008645087, -0.010255846, -0.016977537, -0.02091948, 0.04371478, 0.0019352897, -0.043361362, -0.017915448, -0.03047529, -0.028436355, -0.017901855, -0.025119686, 0.027226586, -0.024535192, -0.029605346, 0.029904388, -0.037951387, -0.03093745, -0.012009331, -0.046678033, 0.03672803, -0.002314192, -0.010568483, -0.0011154676, -0.015033752, 0.018921323, -0.010785969, -0.02195254, 0.032269552, -0.00077437074, -0.012383136, 0.024140997, 0.04480221, -0.008006221, -0.03267734, -0.021612717, -0.015604653, 0.0076324157, 0.025894482, -0.009678148, 0.022577813, -0.01633867, -0.0022462273, -0.01637945, 0.031562723, -0.04015344, 0.009752909, 0.007476097, -0.041485544, -0.0020185462, 0.02714503, -0.051190875, -0.010113121, 0.01867665, 0.031617094, -0.018146526, -0.00045451272, -0.001059397, 0.0122879855, 0.008916945, 0.016583342, -0.0027916427, -0.0035613407, 0.008529548, -0.024643935, -0.0016659803, 0.055594977, 0.029143186, 0.015958069, 0.032731712, -0.002032139, 0.012947241, 0.011220942, -0.005236666, 0.017738739, 0.023773989, -0.0024722095, -0.0327589, -0.030448105, 0.020375764, -0.028762585, 0.0498044, -0.0051041353, 0.02513328, 0.023624467, -0.031481165, -0.01863587, 0.012070498, 0.019478632, 0.024820643, -0.030883078, -0.0151153095, -0.008250893, 0.015890105, 0.0053318166, -0.011418039, -0.0045026494, -0.020375764, -0.005202684, 0.00030010584, -0.020008754, 0.007972239, 0.02588089, -0.018880544, -0.13299297, -0.028055754, 0.016039627, -0.031345237, 0.020307798, 0.013891947, 0.013062781, 0.043660406, -0.0003219819, -0.029306302, -0.011982145, -0.023760397, 0.0206884, 0.0006817691, -0.028028568, 0.0017033608, -0.011418039, 0.014503629, 0.015686212, -0.0012310074, -0.008230504, 0.0125122685, -0.004645375, 0.02995876, -0.008910148, 0.0034356064, -0.0133686215, -0.0012038215, 0.022401106, 0.0046419767, -0.012056906, 0.0072790002, 0.01637945, 0.043877896, -0.008176132, 0.0080877775, -0.014585186, -0.011506394, -0.047058634, 0.00948105, -0.014775487, -0.016121184, -0.008855777, 0.000695362, 0.035640594, -0.028055754, -0.019233959, -0.0031569519, 0.00737415, 0.00327589, 0.0122540025, -0.0034695887, 0.008169335, -0.023787582, -0.0030448104, -0.008278078, -0.004305552, -0.0408059, 0.044557538, -0.032786086, -0.016515378, 0.0072722035, 0.006059037, -0.04235549, -0.026506163, -0.010568483, -0.031508353, 0.032595783, -0.022550628, 0.0069799563, 0.0068780095, -0.011737472, -0.0030448104, -0.032922015, -0.014925009, -0.0012148658, 0.0115471715, 0.01413662, -0.023189494, -0.021490382, 0.041268058, -0.023461353, 0.030448105, 0.0039147562, -0.017099874, 0.019832047, -0.00095320237, -0.0013406002, -0.0017568829, 0.04020781, 0.03482502, 0.031753022, -0.009351918, -0.0048356755, 0.01586292, -0.012050109, 0.023977883, 0.006093019, 0.038467918, -0.017222209, 0.016311485, -0.021028223, -0.005246861, 0.029795645, 0.00075185753, 0.016719272, 0.007979034, -0.022972008, 0.0103577925, -0.0062799216, -0.011078217, -0.03417256, -0.0015045645, -0.0067726644, -0.04792858, 0.019696118, -0.001519007, 0.03221518, 0.008176132, 0.0075440616, 0.012790923, 0.000687716, 0.006527992, -0.010011174, 0.009990784, 0.01350455, 0.01118696, -0.0066061513, -0.02115056, 0.029197557, 0.014340513, 0.009032485, -0.0031518545, 0.03884852, 0.0017755731, 0.015251238, 0.04428568, -0.014571593, 0.022917636, 0.008515954, -0.008577122, 0.01760281, 0.035259992, -0.009698537, 0.025799332, -0.002057626, -0.050185002, 0.0055730906, -0.026329456, 0.028028568, 0.0032605978, 0.019764083, -0.030121876, -0.015074531, 0.017303767, 0.03235111, 0.015292017, -0.067148946, 0.025337173, 0.009732519, -0.046270244, 0.0032113236, 0.025908075, -0.029415045, 0.021694275, -0.020103905, -0.016461007, -0.02898007, 0.00008877865, 0.044965327, -0.02237392, -0.027362516, 0.035259992, 0.043361362, 0.009385901, 0.008957724, 0.017657183, 0.015224053, 0.014870637, 0.026546942, -0.020538878, 0.013681258, -0.015672619, 0.023474945, 0.028028568, 0.008882963, 0.019668933, -0.022537034, -0.0095762005, 0.04798295, 0.018880544, 0.015686212, 0.052550167, 0.055241562, 0.01863587, -0.03319387, -0.00971213, 0.012716162, 0.0037856237, 0.014476443, 0.040370926, 0.029116001, 0.040044695, 0.014394885, 0.0025911473, -0.016243521, 0.014123027, -0.022904044, -0.011051031, 0.037842646, -0.010405368, 0.010174288, -0.010201475, -0.016488193, 0.007115885, -0.020552471, 0.018921323, 0.019397074, -0.019492224, -0.019804861, -0.008821795, 0.0011587951, 0.0007157514, 0.022034097, 0.0063308952, -0.0035885267, 0.016787237, -0.034797832, -0.003442403, 0.016488193, -0.014218178, 0.010113121, 0.023230273, -0.0012462994, -0.026546942, -0.032405484, -0.00674208, -0.025350766, -0.014204585, 0.016719272, 0.052251123, -0.017235802, -0.0025911473, -0.013932726, 0.0083120605, -0.016175555, 0.0072790002, -0.0042783665, -0.017290173, 0.0066299387, -0.0016107592, 0.0101335095, 0.03183458, 0.014150213, -0.004210402, -0.0048254807, 0.0051585073, 0.014449257, 0.059373803, 0.008713052, -0.02116415, 0.040833082, -0.008604309, 0.008155743, 0.014258957, 0.01212487, 0.012077295, -0.0041594286, 0.0076460084, 0.008645087, -0.032188, 0.011615137, 0.012702568, 0.011506394, -0.0011443526, -0.013633682, 0.021055408, -0.0071634604, -0.032052066, -0.015060938, -0.032650154, -0.038930077, 0.037081443, -0.004431287, -0.008787813, -0.018744614, 0.009508236, -0.017262988, 0.059156317, -0.027974196, -0.03471628, 0.031100564, 0.009229582, 0.0053827898, -0.0008686715, -0.0147075225, -0.0030991822, -0.007034328, 0.0457809, -0.033683214, 0.003999712, 0.033819146, 0.038413547, -0.008583919, 0.03262297, 0.030719964, -0.01988642, -0.031753022, -0.014435664, -0.017521253, 0.00015143344, -0.0017721748, 0.02419537, -0.0059808777, -0.01961456, 0.0039181546, 0.0035103674, 0.0111393845, -0.027280958, 0.0058721346, 0.0028748992, -0.0068338327, 0.016624121, 0.013341435, 0.007041124, 0.005579887, -0.0002618758, -0.0040710745, -0.0064396383, -0.010785969, 0.008380026, -0.006626541, -0.003129766, 0.0119549595, -0.009331529, 0.0005509374, -0.027376108, -0.019478632, -0.025323581, -0.024372077, 0.022523442, 0.026941136, 0.013912337, -0.008142149, -0.00637847, 0.037543602, -0.0023532715, 0.011431633, 0.008617901, -0.016719272, 0.0695413, 0.0021578735, -0.011370464, 0.013919134, -0.0016413431, 0.005087144, -0.005185693, 0.0247119, -0.005311427, 0.020185463, -0.03430849, 0.00994321, 0.0008512556, -0.011146181, 0.0055493033, -0.006585762, -0.013137542, 0.024575971, 0.01699113, 0.005821161, 0.024222555, -0.008135353, 0.022441885, -0.02794701, 0.026438199, -0.021571938, -0.0039283494, 0.010126714, 0.0082372995, 0.05135399, -0.013185116, -0.02522843, -0.019125216, 0.0110646235, -0.045889642, -0.0069391774, -0.02551388, 0.04423131, 0.043089505, -0.005022578, 0.025405137, -0.012131667, 0.02064762, -0.0033897304, -0.016678493, -0.01811934, -0.016596936, 0.023909919, -0.030774334, 0.007713973, -0.017099874, -0.020334985, -0.014666744, -0.014761894, -0.017059095, -0.016365856, 0.024236148, 0.037081443, -0.011268517, 0.00770038, -0.018282456, -0.0017806704, -0.04227393, 0.026669277, -0.008651883, -0.05578528, -0.0117714545, -0.020701993, -0.008747034, -0.018092155, -0.0017381926, 0.015292017, -0.013300656, 0.00016938032, 0.048608225, -0.005834754, 0.022863265, 0.0010271138, 0.019410666, -0.01331425, -0.025010943, 0.02696832, -0.010310218, 0.008352839, -0.0031229698, -0.0028935894, 0.008271283, -0.0011044234, -0.004679357, 0.02827324, -0.015101716, 0.031209307, 0.06345168, 0.02316231, -0.021408824, 0.005702223, -0.01586292, 0.0068066465, 0.017684368, -0.022020504, 0.018486349, -0.023855546, -0.0118054375, 0.0126617905, -0.018826172, -0.021680681, -0.027552817, -0.010187882, 0.011010252, -0.0012896268, -0.011900587, -0.010017971, 0.034852207, 0.00057132676, -0.00448226, -0.01247149, -0.008821795, 0.014027877, -0.020049533, -0.029850017, 0.0057090195, 0.000609132, -0.0035477479, 0.015903698, -0.0005776984, 0.0025248819, -0.0042341896, -0.028354798, 0.015183274, 0.00023702627, -0.026737243, -0.0033098722, 0.0063207005, 0.03262297, 0.023896325, 0.0024314306, -0.021544753, -0.036972698, -0.004305552, 0.023053566, 0.008352839, 0.0008024061, -0.0037380485, 0.004580809, 0.00032920315, 0.017752333, -0.025092501, -0.0017093077, -0.026193526, -0.009331529, -0.025962446, 0.00003536279, 0.010874324, 0.007292593, 0.015156088, -0.005063357, 0.030665591, 0.0011808835, 0.0032436068, 0.008577122, 0.015169681, 0.022999194, -0.039500978, 0.009664555, 0.042246744, 0.024290519, -0.0061303996, -0.01319871, 0.0008576273, -0.021571938, -0.009950005, -0.0078091235, 0.017018316, 0.00674208, -0.027308144, -0.03762516, 0.009515033, 0.02620712, -0.024304112, 0.0035613407, 0.001593768, -0.006191568, 0.02289045, -0.008250893, -0.016474599, -0.011737472, 0.051218063, 0.0020559267, -0.015944477, -0.018540721, 0.0027916427, 0.019369889, -0.008135353, 0.02840917, 0.01413662, 0.039528165, 0.0009939811, 0.010833545, 0.011581155, -0.01423177, -0.0090188915, 0.031562723, -0.012342357, 0.027416887, 0.033683214, 0.034988135, 0.008862574, 0.004264774, -0.0045332336, 0.02162631, 0.023787582, -0.0008372379, -0.008121761, 0.0048526665, -0.020634029, -0.008747034, -0.025663402, 0.028381983, -0.017670775, -0.0072790002, 0.04591683, -0.0075372653, -0.012457897, -0.013266674, -0.009766501, 0.022496257, 0.035042506, -0.02097385, -0.01413662, -0.010242254, -0.024140997, -0.024331298, -0.016828015, -0.0028511116, 0.02246907, 0.0063886647, -0.008339247, -0.007917867, 0.004091464, 0.02775671, 0.0074693006, -0.0034220135, 0.008352839, 0.004689552, -0.03221518, 0.04474784, 0.028898515, 0.040452484, -0.013891947, 0.012546251, -0.025676996, 0.008101371, -0.0104665365, -0.02551388, 0.016406635, -0.06633337, -0.0049750027, -0.007503283, -0.026044004, -0.0019064047, -0.026519755, -0.000969344, -0.02639742, -0.02696832, 0.014802673, 0.009453865, -0.0337104, -0.0012089189, -0.026655685, 0.007747955, 0.001300671, 0.015958069, -0.014680336, 0.03080152, -0.0367824, 0.00030201735, -0.013552126, 0.0044516763, -0.00896452, -0.047439236, -0.0051007373, 0.024725493, -0.011254924, -0.015278424, 0.03112775, 0.020090312, -0.030013133, -0.015142495, 0.043633223, 0.019057252, 0.0028477134, 0.031182121, -0.0037856237, -0.017507661, 0.0103917755, 0.008726644, -0.012654994, -0.020443728, 0.003948739, -0.005528914, -0.0018129536, -0.0633973, 0.039664093, 0.020307798, 0.0076120263, 0.04143117, 0.024453634, -0.0005951143, -0.03224237, 0.0039861193, -0.0070751067, 0.016325077, 0.0006579815, 0.00342881, -0.0129608335, 0.007836309, -0.017426103, 0.04994033, -0.01423177, 0.01586292, -0.024372077, -0.016624121, -0.0063954615, 0.0104325535, 0.021816611, -0.0117714545, -0.018092155, 0.038304802, 0.023991475, -0.0043259417, 0.016746458, 0.029850017, 0.00060488423, -0.013205506, -0.02392351, 0.009718927, -0.010452943, 0.021001037, 0.023203088, -0.014313328, 0.0040268977, 0.019437853, -0.0057633915, 0.0025197845, 0.0294966, 0.018404791, -0.020185463, 0.0071770535, -0.021069001, -0.021680681, 0.0035851283, 0.032541413, 0.00802661, 0.015794955, 0.016923165, -0.017167838, -0.009569405, -0.014598778, -0.023909919, 0.0051721, 0.015060938, 0.015958069, 0.021123372, 0.0025146871, -0.012138464, 0.02289045, 0.007081903, -0.013463771, 0.01689598, 0.021789426, 0.015618247, 0.033356987, 0.0050599584, 0.03632024, -0.028137311, 0.010582075, -0.008468379, -0.008019813, -0.022034097, -0.0031790405, 0.019274738, 0.0013244586, -0.020307798, -0.022591406, -0.017344546, -0.025473103, -0.013973505, 0.027376108, -0.016406635 ]
2311.01343
73
AM-Beauty Recall@20 Recall@40 NDCG@100 Multi-VAE MD-CVAE BERT4Rec S3Rec 0.1295 0.1472 0.1126 0.1354 0.1720 0.2058 0.1677 0.1789 0.0835 0.0976 0.0781 0.0867 CLLM4Rec-T5 CLLM4Rec 0.1538 0.1656 0.2105 0.2323 0.1052 0.1118 AM-Toys Recall@20 Recall@40 NDCG@100 Multi-VAE MD-CVAE BERT4Rec S3Rec 0.1076 0.1291 0.0853 0.1064 0.1558 0.1804 0.1375 0.1524 0.0781 0.0844 0.0532 0.0665 CLLM4Rec-T5 CLLM4Rec 0.1328 0.1436 0.1840 0.1933 0.0851 0.0918 AM-Sports Recall@20 Recall@40 NDCG@100 Multi-VAE MD-CVAE BERT4Rec S3Rec 0.0659 0.0714 0.0521 0.0616 0.0975 0.1180 0.0701 0.0813
2311.01343#73
Collaborative Large Language Model for Recommender Systems
Recently, there is a growing interest in developing next-generation recommender systems (RSs) based on pretrained large language models (LLMs), fully utilizing their encoded knowledge and reasoning ability. However, the semantic gap between natural language and recommendation tasks is still not well addressed, leading to multiple issues such as spuriously-correlated user/item descriptors, ineffective language modeling on user/item contents, and inefficient recommendations via auto-regression, etc. In this paper, we propose CLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and ID paradigm of RS, aiming to address the above challenges simultaneously. We first extend the vocabulary of pretrained LLMs with user/item ID tokens to faithfully model the user/item collaborative and content semantics. Accordingly, in the pretraining stage, a novel soft+hard prompting strategy is proposed to effectively learn user/item collaborative/content token embeddings via language modeling on RS-specific corpora established from user-item interactions and user/item features, where each document is split into a prompt consisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and a main text consisting of homogeneous item tokens or vocab tokens that facilitates stable and effective language modeling. In addition, a novel mutual regularization strategy is introduced to encourage the CLLM4Rec to capture recommendation-oriented information from user/item contents. Finally, we propose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where an item prediction head with multinomial likelihood is added to the pretrained CLLM4Rec backbone to predict hold-out items based on the soft+hard prompts established from masked user-item interaction history, where recommendations of multiple items can be generated efficiently.
http://arxiv.org/pdf/2311.01343
Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li
cs.IR
null
null
cs.IR
20231102
20231108
[ { "id": "2302.13971" }, { "id": "2206.07682" }, { "id": "2308.10053" }, { "id": "2307.02046" }, { "id": "2306.05817" }, { "id": "2205.08084" }, { "id": "2303.14524" }, { "id": "2305.07001" }, { "id": "2303.13835" }, { "id": "2303.18223" }, { "id": "2302.03735" }, { "id": "2305.00447" }, { "id": "2305.08845" }, { "id": "2104.08691" }, { "id": "2308.10837" }, { "id": "2305.06569" } ]
{ "authors": "Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li", "chunk_id": 73, "doc_id": "2311.01343", "primary_category": "cs.IR", "published": 20231102, "source": "http://arxiv.org/pdf/2311.01343", "summary": "Recently, there is a growing interest in developing next-generation\nrecommender systems (RSs) based on pretrained large language models (LLMs),\nfully utilizing their encoded knowledge and reasoning ability. However, the\nsemantic gap between natural language and recommendation tasks is still not\nwell addressed, leading to multiple issues such as spuriously-correlated\nuser/item descriptors, ineffective language modeling on user/item contents, and\ninefficient recommendations via auto-regression, etc. In this paper, we propose\nCLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and\nID paradigm of RS, aiming to address the above challenges simultaneously. We\nfirst extend the vocabulary of pretrained LLMs with user/item ID tokens to\nfaithfully model the user/item collaborative and content semantics.\nAccordingly, in the pretraining stage, a novel soft+hard prompting strategy is\nproposed to effectively learn user/item collaborative/content token embeddings\nvia language modeling on RS-specific corpora established from user-item\ninteractions and user/item features, where each document is split into a prompt\nconsisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and\na main text consisting of homogeneous item tokens or vocab tokens that\nfacilitates stable and effective language modeling. In addition, a novel mutual\nregularization strategy is introduced to encourage the CLLM4Rec to capture\nrecommendation-oriented information from user/item contents. Finally, we\npropose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where\nan item prediction head with multinomial likelihood is added to the pretrained\nCLLM4Rec backbone to predict hold-out items based on the soft+hard prompts\nestablished from masked user-item interaction history, where recommendations of\nmultiple items can be generated efficiently.", "text": "AM-Beauty Recall@20 Recall@40 NDCG@100 Multi-VAE MD-CVAE BERT4Rec S3Rec 0.1295 0.1472 0.1126 0.1354 0.1720 0.2058 0.1677 0.1789 0.0835 0.0976 0.0781 0.0867 CLLM4Rec-T5 CLLM4Rec 0.1538 0.1656 0.2105 0.2323 0.1052 0.1118 AM-Toys Recall@20 Recall@40 NDCG@100 Multi-VAE MD-CVAE BERT4Rec S3Rec 0.1076 0.1291 0.0853 0.1064 0.1558 0.1804 0.1375 0.1524 0.0781 0.0844 0.0532 0.0665 CLLM4Rec-T5 CLLM4Rec 0.1328 0.1436 0.1840 0.1933 0.0851 0.0918 AM-Sports Recall@20 Recall@40 NDCG@100 Multi-VAE MD-CVAE BERT4Rec S3Rec 0.0659 0.0714 0.0521 0.0616 0.0975 0.1180 0.0701 0.0813", "title": "Collaborative Large Language Model for Recommender Systems", "year": 2023 }
[ 0.022598041, 0.016273674, 0.0312979, 0.058461826, -0.0047008554, -0.0042920853, 0.024773005, 0.0063860677, 0.012864687, 0.0066367285, 0.012702721, -0.09372403, -0.04291314, 0.0060968436, 0.016936962, 0.00019173145, 0.01982149, -0.02953942, -0.038316406, 0.0142761, 0.0030445654, 0.05170555, 0.0004290157, -0.018695444, 0.036280267, -0.034521785, 0.002151827, -0.05695015, 0.020253398, -0.030279832, 0.030295257, -0.033380315, -0.016458778, -0.044393968, -0.02148742, 0.04121636, 0.0003051314, 0.017029513, -0.017276319, 0.017029513, -0.020207122, -0.04251208, -0.018572042, 0.007458125, -0.010350365, -0.0009346758, -0.019667236, -0.029092085, 0.004315223, 0.057906516, -0.037144084, 0.033287764, -0.021703374, 0.050348125, 0.016258249, -0.0148236975, 0.044147164, 0.029770797, 0.05451295, -0.003077344, -0.0059040273, -0.053525735, 0.02125604, -0.03973553, -0.03375052, -0.040475946, -0.0004613124, 0.011083066, 0.057320356, -0.05852353, -0.03529305, 0.01743057, 0.04195677, -0.02665489, -0.0003892474, 0.01932788, 0.007037786, 0.0059271655, 0.016597606, -0.0052368836, -0.016258249, 0.0272102, 0.024125144, -0.0054759756, 0.003137117, -0.05263107, -0.049114104, -0.03267075, -0.016474202, -0.039951485, -0.061577734, 0.002485399, -0.012918675, -0.004839683, -0.0060582804, -0.027549557, -0.027410729, -0.041586567, -0.0022887264, 0.02583735, -0.0063050846, -0.0011154409, 0.012571606, 0.028644752, 0.033442017, 0.0065673147, -0.021317743, -0.0011906391, -0.02139487, 0.0070956307, -0.028583052, -0.020207122, -0.06583511, 0.04726307, 0.030218132, -0.00033260768, -0.09261341, -0.012540756, 0.016227398, -0.022767719, -0.039334472, -0.012864687, 0.014438066, -0.099647336, 0.015201617, 0.027009672, 0.005907884, -0.036650475, -0.012016296, -0.035447303, 0.027580408, -0.0298325, 0.050810885, -0.02636181, -0.007832188, 0.014630882, -0.006212533, 0.02668574, -0.07934766, -0.010867112, -0.019374156, 0.035046246, -0.028598476, 0.038439807, -0.029554844, 0.0051366193, 0.023785789, -0.026546914, 0.007257596, 0.06022031, 0.0012696937, 0.031313326, -0.050286423, -0.038408957, 0.012124273, -0.057412907, 0.031745233, 0.04235783, -0.04294399, 0.010759136, -0.009247458, -0.02145657, 0.007099487, -0.022767719, 0.0107514225, 0.053494886, -0.04559714, -0.016782708, -0.06996909, -0.056209736, 0.051366195, 0.0000040672135, 0.014638594, -0.086319886, -0.04300569, -0.023677811, 0.015594962, 0.018170984, -0.036156867, 0.005202177, 0.0353856, 0.013543399, -0.014353227, 0.0074272742, -0.0707712, -0.00012026901, 0.0028691029, 0.0244645, -0.0070030787, 0.0061315503, 0.026269259, -0.0353856, 0.08076679, -0.040136587, 0.0045813094, -0.05611718, 0.031405877, -0.021579972, 0.00035719172, -0.042697184, -0.009401711, -0.03371967, 0.0271485, -0.024186846, -0.019081077, -0.037421737, -0.035817508, 0.0016601462, -0.0131963305, -0.016798135, 0.05611718, 0.014360939, 0.0047625564, 0.0068796766, -0.06404578, -0.00747355, -0.004002861, 0.029431442, 0.034336682, 0.03430583, 0.012509905, 0.029045809, 0.07743493, 0.006189395, -0.032732453, 0.023862913, 0.016427927, -0.033472866, -0.052785322, -0.059973504, -0.009687078, 0.015687514, -0.011353008, -0.025405442, -0.026176706, -0.012224537, 0.020438502, 0.0075622452, 0.0044733323, -0.046954565, 0.022382086, 0.016211974, 0.016397078, 0.043098245, 0.0076547973, 0.0032759446, -0.00981048, -0.047602426, 0.024449075, -0.0055222516, 0.010103561, -0.008051998, -0.009270595, 0.016011445, -0.002666646, 0.02691712, 0.0043306486, 0.024371948, -0.030063879, 0.027580408, 0.024094293, -0.011977733, -0.013790204, -0.010412066, -0.020022018, 0.014746571, 0.019435858, 0.022196984, -0.046430103, -0.009440274, -0.032825004, -0.027302753, 0.037606843, 0.0053641424, -0.033411164, -0.046491805, -0.014283813, 0.016643882, 0.005734349, -0.0028517493, 0.00019028534, 0.0124713415, -0.03748344, -0.042049322, 0.012517618, 0.0041879644, 0.0286139, 0.010805411, -0.02201188, -0.009609952, -0.035077095, -0.037174933, 0.006443912, -0.05374169, -0.012293952, 0.02613043, 0.03529305, -0.0052291714, -0.0018635672, 0.018263536, 0.07348605, 0.037637692, -0.042172726, 0.03368882, -0.007377142, 0.013157767, -0.005599378, -0.013936744, -0.00271485, -0.00305035, 0.0069645154, 0.015888043, 0.010311802, -0.039858934, -0.03587921, -0.05056408, 0.026716592, -0.050903436, 0.06676063, 0.002234738, 0.05593208, -0.043406747, 0.01704494, -0.021549122, 0.0009655264, 0.013682227, -0.04507268, 0.012124273, 0.024865558, -0.0627809, -0.0088464, 0.03689728, 0.022999099, -0.006023573, 0.019744363, -0.0028074016, 0.023816638, -0.013242606, 0.0006068885, 0.030464936, -0.032362245, -0.03362712, 0.0050903438, -0.026762867, 0.008391354, -0.042080175, 0.0013391074, -0.003960442, 0.017199192, 0.021934753, -0.026562339, -0.021888478, 0.030310683, 0.016088571, -0.04066105, -0.023369305, -0.0067832684, 0.015301881, -0.031868637, -0.00051963923, -0.0286139, 0.0061354064, 0.058029916, -0.023168776, 0.035910062, 0.038378105, -0.03914937, -0.0010730213, 0.031143649, -0.029477717, -0.004963085, 0.042018473, -0.006258809, 0.015934318, -0.056518238, -0.010682009, -0.0024371948, 0.02747243, 0.010550894, 0.038408957, -0.015656663, -0.018170984, -0.038347255, 0.00012942778, 0.025729373, -0.0069298088, 0.0149471, 0.047479022, -0.073177546, -0.018865122, -0.05824587, -0.032825004, -0.018973099, -0.0073617166, -0.009717929, 0.03584836, 0.0019281604, 0.028953258, 0.015841767, 0.036712177, 0.0010836262, 0.0091240555, -0.04140146, 0.009494262, -0.031714384, 0.046399254, 0.0048975274, 0.039581276, 0.024294822, -0.038162153, 0.053895943, -0.022721443, 0.012093423, -0.013990733, 0.03193034, 0.0162891, -0.0060968436, 0.056394838, 0.0018789924, 0.042265277, -0.007500544, -0.035169646, -0.007161188, 0.008422205, -0.030511212, -0.020068293, -0.03381222, -0.03698983, -0.016042296, -0.027919764, -0.026778292, 0.038408957, 0.062904306, 0.02505066, -0.00031019282, -0.017739076, 0.0035670968, 0.035262197, 0.00791317, 0.009432561, -0.009710216, -0.004650723, -0.028135717, -0.016165698, -0.014060146, -0.023508133, -0.028490499, 0.008183113, 0.048620496, 0.012887824, 0.004361499, -0.021178914, -0.0155486865, -0.001536744, -0.044517368, 0.0021672524, 0.08329653, -0.06947548, -0.01062802, -0.016751857, 0.03902597, 0.04177167, 0.06583511, 0.011854331, 0.0062318146, -0.0026088012, -0.01900395, 0.037421737, 0.041031256, 0.0018761002, -0.026639465, -0.0065518892, 0.0025818069, -0.02930804, 0.017708225, 0.012263101, 0.0076085213, -0.026423512, -0.016474202, -0.031745233, -0.0059965793, 0.033102658, 0.009725641, -0.016443353, 0.007805194, 0.06811805, 0.020006593, -0.0074195615, -0.048281137, 0.0033010107, 0.019250754, -0.0060737054, 0.034922842, -0.020716157, -0.015109066, 0.013111492, 0.055777825, -0.042296126, 0.013126916, -0.044332266, -0.032238845, -0.018063007, 0.008229389, 0.027750086, 0.014530618, 0.009995583, 0.020747006, 0.031837787, 0.025066087, 0.036650475, 0.013204043, 0.06361387, -0.010944239, -0.0005413311, -0.025960753, -0.009941596, -0.012193687, -0.001851034, -0.0056533664, 0.028027741, -0.0038370395, -0.021271467, 0.02805859, 0.016643882, 0.018325238, -0.05769056, 0.0055569583, -0.082247615, 0.008244814, -0.032269694, 0.006324366, 0.009463412, 0.015170767, -0.0013564609, -0.07533709, 0.011198756, -0.015294169, 0.008476193, -0.013219468, 0.034429234, 0.039581276, -0.0013651376, 0.026253833, -0.02845965, 0.041154657, 0.0060698492, 0.022320386, 0.013566537, 0.016859835, 0.04019829, 0.024942683, -0.034490936, 0.0155486865, -0.006035142, 0.0043460736, -0.009540538, -0.014715721, -0.030063879, -0.0069452343, -0.006089131, 0.023631535, -0.005853895, 0.005792194, -0.020947535, -0.041247208, 0.0027553414, 0.027457004, 0.0272102, 0.04353015, 0.031745233, -0.052970424, -0.013366008, 0.00042443632, -0.0058307573, -0.00907778, 0.015934318, 0.036156867, 0.021101788, -0.008345079, -0.0461833, -0.038810015, -0.044363115, 0.019667236, 0.013350583, -0.032825004, 0.057875663, 0.01985234, 0.027071374, 0.02282942, -0.021811351, 0.023508133, 0.0003702068, 0.0073732855, 0.0039103096, -0.0033935625, 0.005564671, -0.012764422, -0.016258249, -0.02659319, -0.00007712642, 0.034676038, 0.017800778, 0.00197058, -0.028999534, -0.02773466, 0.025590546, -0.0041031255, -0.010388928, 0.0017237755, 0.029801648, -0.003137117, 0.0041648266, -0.049206655, 0.00032489505, -0.012910962, 0.0049283784, -0.016397078, -0.02907666, 0.026346385, -0.011160193, -0.01430695, -0.033904772, 0.021919329, -0.028027741, 0.021888478, 0.021595398, 0.040784452, -0.052353412, 0.0077897683, -0.020885834, -0.048620496, -0.012633308, 0.02046935, 0.015147628, 0.020808708, 0.0037695537, -0.0003256181, 0.0019387654, -0.0044039185, 0.005032499, 0.019991167, 0.0312979, 0.02070073, -0.045967344, 0.006089131, -0.00814455, -0.0012465557, -0.0044154874, -0.041031256, -0.015301881, -0.01681356, -0.020423075, -0.008499332, 0.014106422, -0.0060659926, -0.01982149, -0.031837787, 0.02247464, -0.040599346, -0.010350365, -0.0016755714, -0.00055675633, -0.029940477, -0.033102658, 0.02505066, 0.01923533, 0.012386503, -0.0035709532, -0.0021325455, 0.033997327, 0.0040298556, -0.009710216, -0.0048589646, 0.003243166, 0.036187716, -0.016643882, 0.009548251, 0.04174082, -0.012988089, 0.016628455, -0.005433556, 0.0026126574, -0.042573784, -0.039550427, 0.027256476, -0.014376365, 0.057289504, -0.0107822735, 0.000020697598, 0.005923309, 0.009733354, -0.0034128441, 0.01684441, 0.026315534, -0.0111139165, 0.00624724, 0.0013689939, 0.043807805, -0.013821054, -0.07971787, -0.023338454, -0.0007408957, 0.015278744, -0.030002177, -0.055222515, 0.0016736432, 0.0071843257, 0.030542063, 0.011067641, -0.008591883, -0.0137670655, -0.0093939975, -0.049206655, 0.030326108, 0.004311367, 0.01547156, -0.01579549, 0.006906671, 0.00814455, -0.009247458, -0.010126699, 0.022891121, -0.06996909, -0.021549122, -0.007928596, 0.036249418, -0.007199751, -0.0353856, -0.016258249, 0.02046935, -0.027688384, 0.018124709, -0.020993812, 0.019019375, -0.042203575, 0.035910062, -0.037637692, -0.030218132, -0.032454796, -0.023847489, 0.007944021, -0.044424817, -0.028367097, 0.021502845, -0.030727165, 0.039828084, -0.0020380656, -0.00029380346, -0.032917555, -0.03094312, -0.0074234176, 0.015672088, -0.004141689, -0.0019175556, -0.0014258747, -0.027349029, 0.03325691, -0.016859835, 0.008537895, 0.010604883, 0.06558831, -0.0014692583, 0.005078775, 0.013427709, 0.015479272, -0.022999099, -0.021903902, 0.025729373, -0.008213963, 0.047540724, -0.033411164, -0.019219903, -0.0050286427, -0.027750086, 0.031328753, -0.009023791, 0.03146758, -0.008337365, 0.0062048202, 0.031020246, -0.009247458, 0.014815985, 0.01304979, -0.032917555, -0.04121636, -0.0020554191, -0.0271485, -0.006258809, -0.039581276, -0.012031721, -0.0080674235, -0.009070067, -0.023261327, -0.011484124, 0.010026434, 0.0033665681, 0.010728285, -0.12235335, 0.0076586534, 0.051211942, -0.06861166, -0.012371077, 0.026330959, 0.014700295, 0.011160193, 0.01123732, -0.020577328, -0.0056649353, -0.038995117, -0.017199192, -0.03486114, 0.04177167, 0.022783143, 0.0029963613, -0.0038871716, 0.0037464157, -0.026901696, -0.023261327, 0.016412502, -0.005680361, 0.001946478, -0.018201835, 0.023400156, -0.014507479, 0.03810045, 0.02204273, -0.03791535, 0.009525113, 0.049144953, 0.0051019127, 0.034706887, -0.025991604, -0.03430583, -0.037946198, 0.011013652, 0.0023195772, -0.01929703, -0.0054489817, -0.03479944, -0.015417571, -0.025035236, 0.022659741, -0.016921537, -0.019975742, -0.015934318, 0.01877257, -0.022227833, 0.032207992, -0.031714384, -0.018417789, -0.01596517, -0.006871964, 0.0013092209, 0.00023945342, -0.03964298, 0.015232468, -0.037390888, -0.03334946, 0.020747006, -0.014468916, -0.013304307, 0.034953695, -0.03421328, -0.02387834, 0.05053323, -0.0017806562, 0.008599596, -0.0018230757, 0.039766382, -0.03427498, -0.020160846, -0.03575581, 0.032825004, 0.026084155, 0.0070840614, -0.011630664, 0.018633744, 0.026007028, 0.0009399782, 0.021610823, 0.007974871, -0.03964298, 0.016705582, 0.020901259, 0.011021365, 0.010473767, 0.013126916, -0.012964951, -0.0064246305, 0.04559714, -0.0047278493, 0.013705364, -0.0019493703, 0.022366662, -0.0054682633, 0.010219251, 0.013651377, -0.0058847456, 0.0076239463, 0.018911397, -0.021641674, -0.013381434, -0.00639378, 0.036280267, 0.011345296, 0.026084155, 0.00065894885, 0.026516063, 0.008005722, 0.023554409, 0.002595304, -0.013319733, 0.033843074, 0.016412502, 0.02930804, 0.007928596, -0.0037984762, 0.037668545, 0.022366662, -0.012563894, -0.002606873, -0.023168776, -0.009471124, 0.01713749, -0.0067331363, 0.007944021, 0.031066522, 0.028336246, 0.030835142, -0.040445093, 0.026145857, -0.00966394, 0.0007461981, 0.028259119, 0.0028999534, 0.011299021, 0.004565884, 0.0024545484, 0.007674079, -0.0053487173, -0.0069028144, 0.010064998, 0.022675168, -0.036650475, 0.020824132, -0.011646089, 0.011083066, -0.00078427925, 0.023986317, -0.0019782926, -0.00056302286, 0.0024603328, 0.048929, 0.008051998, -0.047108818, -0.027642109, 0.029153787, -0.017199192, 0.022968248, 0.0033453584, -0.022366662, -0.0023137925, 0.0037271343, -0.03476859, -0.0137670655, 0.025405442, 0.032331396, 0.017970456, -0.004793407, 0.05611718, 0.0060042916, 0.026176706, 0.011314446, 0.000384668, 0.00031790545, 0.022690592, 0.011499549, 0.00192334, 0.011977733, 0.005202177, -0.00557624, 0.038532358, 0.027102225, -0.008676722, -0.035107944, 0.026053304, 0.032331396, -0.012610169, 0.049391758, 0.008545607, 0.027457004, 0.043807805, -0.009039217, -0.008059711, 0.0017536619, 0.025497993, -0.009262883, 0.03961213, 0.016134847, 0.047047116, -0.0039797234, 0.0040568495, -0.025420867, 0.018988524, -0.0075892396, -0.0023350024, 0.026546914, 0.0061662574, -0.0011250817, -0.011391572, 0.025467144, -0.025636822, 0.007836044, -0.024125144, 0.004504183, -0.035046246, 0.013805629, -0.021348592, 0.010342653, 0.025266616, 0.040475946, 0.007111056, -0.007674079, -0.030511212, -0.00042973878, -0.0043190797, 0.003387778, 0.008383642, 0.020654455, -0.008969802, -0.014723433, 0.012517618, -0.016165698, 0.021734225, -0.010720572, -0.018170984, -0.0060698492, 0.0217805, -0.039581276, -0.02518949, 0.01798588, 0.0076008085, -0.00014280439, 0.020577328, -0.0043422175, -0.029045809, 0.006077562, -0.00075969525, -0.031961188, 0.0327016, 0.012101135, 0.01123732, -0.01906565, -0.0062973723, 0.03865576, 0.03307181, 0.03859406, -0.03803875, 0.028043166, 0.02688627, -0.011846618, 0.0007461981, -0.03248565, 0.00934001, -0.018386938, 0.026253833, 0.01223225, -0.037174933, 0.008915814, -0.01275671, 0.012263101, -0.017199192, -0.01524018, 0.0088464, -0.006270378, -0.007967159, -0.021086363, -0.021441145, -0.0042265276, 0.0035362463, -0.013381434, 0.016427927, 0.0065287515, -0.010165262, -0.011376147, 0.01929703, -0.014908537, -0.0055453894, 0.022058155, -0.015780065, 0.01334287, -0.0051867515, 0.020207122, 0.03208459, 0.0026974964, 0.035509005, -0.0115921, 0.029323464, 0.024048017, 0.0061778263, 0.005676504, 0.026778292, 0.023245903, 0.031251624, -0.030248981, -0.016335376, 0.002836324, -0.0063744984, 0.005599378, 0.017260892, -0.013743928, 0.03606431, 0.0162891, 0.020500202, -0.006679148, -0.028829856, 0.014222112, -0.032207992, -0.012988089, 0.008337365, -0.020685306, -0.010095849, -0.028721878, -0.001538672, 0.006775556, -0.02960112, -0.007905458, -0.017353443, -0.006910527, -0.009872181, 0.004384637, -0.015579537, 0.0353856, -0.031683534, -0.012702721, 0.00097516715, -0.015888043, 0.0011067641, -0.004261235, 0.013659089, 0.010504618, 0.01975979, 0.00007586106, -0.020777857, -0.014314664, -0.018710868, -0.000041756724, 0.10032605, -0.016458778, -0.0073347227, -0.00062375993, -0.010705147, 0.029971326, -0.01955926, 0.0050016483, -0.030881418, -0.011406997, -0.016798135, 0.024310248, 0.022721443, 0.011283595, 0.0019879334, -0.010496906, -0.0044771885, 0.0151553415, 0.016366227, 0.0016987093, 0.010520044, -0.0013477842, 0.021518271, -0.02338473, 0.019698087, 0.0011058, 0.01690611, -0.008360504, 0.033287764, 0.008213963, 0.009278309, -0.019111926, -0.004565884, 0.005514539, 0.0080674235, -0.023662385, -0.022659741, 0.02302995, 0.027457004, -0.012849261, -0.001934909, -0.011368434, 0.010011009, 0.030063879, -0.0066020214, 0.0014490125, 0.0014278028, 0.0042111026, -0.008059711, 0.023045374, 0.0027939046, 0.0011964235, -0.036126014, -0.027241051, -0.04245038, 0.009710216, -0.010126699, 0.004261235, 0.01687526, -0.007554533, -0.010142124, -0.011299021, -0.015672088, -0.017214617, 0.00090912764, -0.019435858, -0.015687514, -0.005252309, -0.004735562, 0.025791075, -0.0056456537, -0.0024082724, 0.012679583, -0.009054641, 0.02139487, -0.00030971077, -0.017862478, 0.026839994, 0.039581276, 0.012625595, -0.023677811, 0.004457907, 0.00061460113, 0.0176928, -0.010419779, -0.011083066, 0.00561866, 0.015702939, 0.0010228892, 0.0027206345, -0.0176928, 0.0021190483, 0.017862478, 0.0016379723, -0.036835577, 0.0039122375, 0.013319733, -0.020253398, -0.0011125486, -0.006775556, 0.012000871, 0.0016688228, -0.0488056, 0.00981048, -0.030819718, 0.011391572, -0.041802518, -0.0058924584, 0.03126705, 0.020824132, 0.023060799, -0.0066367285, 0.008607308, 0.0049438034, -0.01089025, -0.01710664, 0.008044286, 0.006536464, -0.023785789, -0.001909843, 0.00602743, 0.010026434, -0.009532825, -0.0045967344, -0.005506826, 0.008167688, 0.0067794123, 0.008692147, -0.00934001, 0.009008366, -0.014923962, -0.0009650443, 0.019204479, 0.009609952, 0.025621396, 0.00007989815, 0.009540538, -0.013666801, 0.011777204, -0.006343648, 0.023662385, -0.0015830197, -0.0025451719, -0.005271591, -0.016505053, 0.0040568495, 0.0028170424, 0.018787995, -0.044270564, -0.016319951, 0.017615674, -0.009286021, -0.008105987, 0.0044000624, 0.047602426, -0.022598041, 0.004986223, -0.01126817, 0.01383648, -0.0057690563, -0.01491625, -0.027564982, -0.04245038, 0.030973969, 0.043561, 0.00061701133, 0.0035921629, 0.024048017, 0.01821726, 0.007558389, -0.026269259, -0.00027114755, 0.009185757, -0.00840678, -0.044147164, -0.014468916, 0.0023388586, 0.031205349, -0.03018728, 0.0002042645, 0.00071679364, -0.0025875913, 0.0027129217, 0.0162891, -0.009957021, -0.033318613, 0.03541645, -0.019173628, -0.030850567, -0.029230913, 0.012880112, -0.012425066, 0.0016292956, 0.024850132, 0.025127787, 0.022921972, -0.007828332, 0.022675168, 0.008183113, 0.030218132, 0.0026647178, 0.027426155, -0.024001742, -0.0075275386, 0.04066105, 0.04334505, -0.009471124, 0.0031024101, 0.011530399, -0.022027304, 0.036866426, 0.032207992, -0.009031503, 0.033843074, -0.024634179, 0.019636387, -0.016196547, -0.004122407, 0.0034128441, 0.024325673, -0.011977733, 0.013204043, 0.03822385, -0.0076239463, -0.008977516, 0.033657968, 0.018433213, 0.023862913, -0.010111273, 0.011800342, -0.012309376, -0.00018642901, -0.039951485, -0.015139916, 0.019019375, 0.001980221, -0.020284249, -0.012170549, -0.008237101, -0.014144985, -0.0023986315, 0.012764422, -0.029446866, -0.010520044, -0.067069136, 0.029477717, -0.019312456, 0.003339574, -0.043129094, -0.00006543694, -0.01798588, 0.014900824, 0.006814119, -0.019790638, 0.0052561653, -0.0597267, 0.02525119, -0.031066522, 0.010512331, -0.030033028, -0.052661918, -0.008607308, 0.032207992, 0.025343742, 0.019914042, 0.016335376, -0.023770362, -0.004261235, 0.019605536, -0.011846618, -0.009201182, 0.031806935, 0.012178262, 0.03865576, -0.042080175, 0.022999099, -0.011106204, -0.01033494, -0.0017392008, -0.03850151, -0.017862478, -0.008453055, 0.0032624474, -0.018371513, 0.005622516, 0.014746571, -0.03211544, -0.005433556, 0.036095165, -0.012849261, -0.014808272, 0.0034899705, -0.024896407, 0.0069028144, -0.031621832, 0.031961188, -0.01602687, -0.031313326, -0.0075969524, 0.02466503, 0.007157332, 0.009139481, 0.01442264, 0.0022617322, 0.0005321723, 0.022659741, 0.011862043, 0.017769927, -0.026330959, 0.0020284248, 0.01007271, 0.029570268, -0.014700295, 0.0055723838, 0.0012426995, 0.01193917, -0.041062105, 0.0008686363, -0.004554315, 0.03847066, -0.0044077747, 0.008692147, 0.015741503, -0.0016312237, 0.043684404, 0.021595398, -0.009964733, 0.030017603, 0.002414057, -0.021178914, -0.012880112, -0.007461981, 0.025359167, -0.0041185506, 0.002813186, 0.02201188, -0.011021365, -0.00018088556, 0.024140568, -0.009023791, 0.0149471, 0.029169211, -0.013581962, -0.013435422, -0.004912953, 0.0034417664, 0.014815985, 0.004565884, 0.013296595, 0.025482569, -0.0028401804, 0.0052793035, -0.01743057, -0.019867765, -0.014900824, 0.016505053, 0.006505613, 0.015841767, 0.04615245, 0.0021055513, -0.0017314882, -0.012278526, 0.02609958, 0.0044617634, -0.013088353, 0.027750086, -0.030865993, 0.014037008, -0.019050226, 0.02688627, 0.002896097, 0.030850567, 0.011399285, 0.0074118488, 0.015641239, 0.0036827866, -0.02776551, -0.0131037785, -0.0298325, -0.006571171, 0.04738647, -0.013443135, -0.01476971, -0.019142777, 0.007828332, 0.028212843, 0.010712859, 0.028906982, 0.007519826 ]
2311.01343
75
# A TECHNICAL DETAILS A.1 Implementation of Soft+Hard Prompting To implement the soft+hard prompting strategy discussed in Section 3.3.2 for decoder-only LLMs such as GPT, we can generate only the "keys" and "values" for the heterogeneous tokens in the prompts 𝑟,𝑝 x , and use the "query" of the last token as a start to generate 𝑖 𝑟,𝑚 the homogeneous tokens of the main texts x for language 𝑖 modeling. For encoder-decoder-based LLMs such as T5, a natural 𝑢𝑣,𝑝 𝑟,𝑝 thought is to input the prompts x in the encoder, and use 𝑖 𝑗 𝑖 𝑟,𝑚 , x the decoder to generate the main texts x 𝑖 # A.2 Recommendation-Oriented Finetuning If we denote the multinomial probability obtained from the Re- cLLM prediction head 𝑓𝑟𝑒𝑐 as ˆrℎ𝑜𝑙𝑑 , and denote the stacked item
2311.01343#75
Collaborative Large Language Model for Recommender Systems
Recently, there is a growing interest in developing next-generation recommender systems (RSs) based on pretrained large language models (LLMs), fully utilizing their encoded knowledge and reasoning ability. However, the semantic gap between natural language and recommendation tasks is still not well addressed, leading to multiple issues such as spuriously-correlated user/item descriptors, ineffective language modeling on user/item contents, and inefficient recommendations via auto-regression, etc. In this paper, we propose CLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and ID paradigm of RS, aiming to address the above challenges simultaneously. We first extend the vocabulary of pretrained LLMs with user/item ID tokens to faithfully model the user/item collaborative and content semantics. Accordingly, in the pretraining stage, a novel soft+hard prompting strategy is proposed to effectively learn user/item collaborative/content token embeddings via language modeling on RS-specific corpora established from user-item interactions and user/item features, where each document is split into a prompt consisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and a main text consisting of homogeneous item tokens or vocab tokens that facilitates stable and effective language modeling. In addition, a novel mutual regularization strategy is introduced to encourage the CLLM4Rec to capture recommendation-oriented information from user/item contents. Finally, we propose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where an item prediction head with multinomial likelihood is added to the pretrained CLLM4Rec backbone to predict hold-out items based on the soft+hard prompts established from masked user-item interaction history, where recommendations of multiple items can be generated efficiently.
http://arxiv.org/pdf/2311.01343
Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li
cs.IR
null
null
cs.IR
20231102
20231108
[ { "id": "2302.13971" }, { "id": "2206.07682" }, { "id": "2308.10053" }, { "id": "2307.02046" }, { "id": "2306.05817" }, { "id": "2205.08084" }, { "id": "2303.14524" }, { "id": "2305.07001" }, { "id": "2303.13835" }, { "id": "2303.18223" }, { "id": "2302.03735" }, { "id": "2305.00447" }, { "id": "2305.08845" }, { "id": "2104.08691" }, { "id": "2308.10837" }, { "id": "2305.06569" } ]
{ "authors": "Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li", "chunk_id": 75, "doc_id": "2311.01343", "primary_category": "cs.IR", "published": 20231102, "source": "http://arxiv.org/pdf/2311.01343", "summary": "Recently, there is a growing interest in developing next-generation\nrecommender systems (RSs) based on pretrained large language models (LLMs),\nfully utilizing their encoded knowledge and reasoning ability. However, the\nsemantic gap between natural language and recommendation tasks is still not\nwell addressed, leading to multiple issues such as spuriously-correlated\nuser/item descriptors, ineffective language modeling on user/item contents, and\ninefficient recommendations via auto-regression, etc. In this paper, we propose\nCLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and\nID paradigm of RS, aiming to address the above challenges simultaneously. We\nfirst extend the vocabulary of pretrained LLMs with user/item ID tokens to\nfaithfully model the user/item collaborative and content semantics.\nAccordingly, in the pretraining stage, a novel soft+hard prompting strategy is\nproposed to effectively learn user/item collaborative/content token embeddings\nvia language modeling on RS-specific corpora established from user-item\ninteractions and user/item features, where each document is split into a prompt\nconsisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and\na main text consisting of homogeneous item tokens or vocab tokens that\nfacilitates stable and effective language modeling. In addition, a novel mutual\nregularization strategy is introduced to encourage the CLLM4Rec to capture\nrecommendation-oriented information from user/item contents. Finally, we\npropose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where\nan item prediction head with multinomial likelihood is added to the pretrained\nCLLM4Rec backbone to predict hold-out items based on the soft+hard prompts\nestablished from masked user-item interaction history, where recommendations of\nmultiple items can be generated efficiently.", "text": "# A TECHNICAL DETAILS A.1 Implementation of Soft+Hard Prompting\nTo implement the soft+hard prompting strategy discussed in Section 3.3.2 for decoder-only LLMs such as GPT, we can generate only the \"keys\" and \"values\" for the heterogeneous tokens in the prompts 𝑟,𝑝 x , and use the \"query\" of the last token as a start to generate 𝑖 𝑟,𝑚 the homogeneous tokens of the main texts x for language 𝑖 modeling. For encoder-decoder-based LLMs such as T5, a natural 𝑢𝑣,𝑝 𝑟,𝑝 thought is to input the prompts x in the encoder, and use 𝑖 𝑗 𝑖 𝑟,𝑚 , x the decoder to generate the main texts x 𝑖\n# A.2 Recommendation-Oriented Finetuning\nIf we denote the multinomial probability obtained from the Re- cLLM prediction head 𝑓𝑟𝑒𝑐 as ˆrℎ𝑜𝑙𝑑 , and denote the stacked item", "title": "Collaborative Large Language Model for Recommender Systems", "year": 2023 }
[ 0.04310438, 0.013131459, 0.0011860722, -0.025164563, 0.014595934, -0.0013218413, 0.047058463, 0.06302124, 0.02133252, 0.028215552, 0.0034384653, 0.013473171, -0.036270164, 0.005522291, -0.030973647, -0.027288051, 0.020331794, -0.0030204798, -0.024810648, -0.004146295, -0.00527211, -0.044861753, 0.00052820257, 0.030949239, 0.050231494, -0.0077922274, 0.010153693, 0.036514245, 0.030265817, -0.010214713, 0.0024835055, -0.024529956, 0.00767629, -0.023419397, -0.0002074673, 0.029191868, 0.018806301, 0.044373594, 0.01785439, 0.010776095, -0.011258152, -0.044739712, -0.038369246, -0.012667709, 0.036172535, 0.061312687, 0.009159071, -0.012667709, -0.016902482, 0.016292285, -0.04720491, 0.06814691, 0.0058579003, -0.013961329, -0.00949468, -0.039906945, -0.015462415, -0.01791541, 0.013753861, -0.017585905, 0.0059494297, -0.04112734, 0.018916136, 0.028069105, 0.0018382213, -0.010861523, -0.042054843, 0.04757103, 0.018025247, 0.020722322, 0.013387742, 0.0038747569, 0.031559438, -0.040248655, -0.024822852, 0.03817398, -0.0028984402, 0.042933527, 0.04334846, -0.022333244, 0.013302315, -0.03412227, 0.013851493, -0.061019793, -0.021747455, -0.03526944, -0.026531406, 0.01640212, -0.03927234, -0.0801556, -0.03116891, -0.0050951527, -0.01898936, 0.0635094, 0.035220623, 0.015425804, 0.015071889, -0.031144502, 0.02894779, 0.012051409, 0.031461805, -0.0073467833, 0.027458906, -0.04583807, 0.042518593, -0.0081217345, -0.017085543, -0.0031333664, -0.038955037, -0.015962778, -0.061898477, -0.028850159, -0.043934252, 0.008091224, 0.053892683, -0.046936426, -0.06199611, -0.0030631935, -0.016121428, -0.020539263, -0.029850883, 0.00949468, -0.006156897, -0.039760496, -0.042982344, 0.012228367, 0.025140155, -0.06760993, 0.017463865, -0.011111705, 0.002608596, -0.0040639183, -0.0020090768, 0.0020121278, -0.029826475, -0.019001564, -0.029802067, 0.028557263, -0.022064757, -0.0008420732, 0.0039693373, -0.039638456, -0.027263643, -0.009183479, -0.04278708, 0.008005797, -0.037100036, 0.00872583, -0.052769918, 0.030973647, -0.034366347, -0.011624271, -0.005000572, -0.031120095, 0.0054521183, -0.025506273, -0.024554364, 0.01042218, 0.011007971, -0.035318255, 0.01529156, 0.008396324, 0.040126614, 0.016072614, -0.0068647265, 0.02308989, -0.038344838, 0.041322604, -0.06106861, -0.015962778, -0.015865147, -0.009207887, -0.03751497, 0.00013014377, -0.008432935, -0.025408642, -0.030192593, -0.041737538, -0.016902482, -0.029240685, -0.02444453, 0.023931963, -0.00943366, 0.011441211, -0.03478128, -0.013107051, 0.0078105335, 0.0018900881, 0.017646924, -0.024310285, -0.012631097, 0.016731627, 0.107297204, 0.024237063, -0.02044163, -0.048352085, 0.05740742, -0.016450936, 0.02684871, 0.009574005, 0.0059646848, 0.027263643, 0.00558026, -0.04415392, 0.021015218, -0.018891728, -0.04110293, 0.0450082, -0.05521071, -0.012112429, 0.00829259, -0.0075481483, 0.019257847, 0.03107128, -0.009683841, 0.056187026, -0.038027536, -0.010165897, -0.027263643, 0.021564394, 0.0045520766, -0.005650433, 0.018183898, 0.0069013387, -0.025018115, 0.038515694, 0.006370466, -0.013875901, 0.019196827, -0.03431753, 0.05789558, -0.02179627, -0.017256398, -0.015389192, 0.021442356, 0.01991686, 0.008567179, -0.026629038, -0.0030433622, -0.033316806, 0.02052706, 0.00085503986, 0.04266504, -0.051451888, -0.009824187, 0.03153503, -0.01997788, 0.0013157392, 0.013387742, 0.016914686, 0.019965677, -0.026043247, -0.0043079974, 0.005360589, -0.05320926, 0.0033133747, -0.008152245, 0.03846688, -0.04691202, -0.017366232, 0.006150795, 0.0071759275, 0.009195683, 0.0625819, 0.027385684, -0.029435948, -0.05555242, 0.00884787, -0.01464475, -0.01781778, -0.0036459325, -0.036026087, -0.00087715953, 0.049255177, -0.0007757141, -0.0484009, 0.02355364, -0.01177682, -0.04888906, 0.08152244, -0.052184127, -0.036636285, 0.030558713, 0.06355821, -0.011947676, -0.010361161, -0.02062469, -0.010513711, -0.040028986, 0.0069379504, 0.01775676, -0.037563786, 0.04981656, -0.026433775, 0.012862972, -0.003230998, -0.019709393, 0.0024636742, -0.009567903, 0.012387018, 0.023626864, 0.02321193, -0.007822737, -0.017097747, 0.000699058, 0.00028965334, -0.023968576, -0.009769269, -0.000220434, 0.014608138, 0.009281111, 0.018196102, -0.0039418787, 0.02052706, 0.0004641318, -0.05120781, 0.040346287, -0.026873117, 0.012466344, -0.04708287, -0.0032798138, 0.0028404715, 0.008133939, -0.02114946, 0.047302544, 0.016450936, -0.0072613554, 0.024029594, -0.0060623162, -0.03902826, -0.02155219, -0.0009793676, 0.012478548, 0.067121774, -0.044520043, -0.015157317, 0.0005522291, 0.017439457, 0.035293847, 0.004109683, -0.034708057, 0.004106632, -0.02108844, 0.023700088, -0.0025475763, 0.027410092, 0.027849434, 0.009378742, 0.08005797, 0.036172535, 0.0019816179, 0.00110217, 0.027214827, -0.036270164, 0.0008687693, 0.0069379504, 0.011636474, -0.01908699, -0.037661415, 0.03412227, -0.010208611, 0.006992868, 0.026311735, -0.016804852, -0.01239312, 0.001748217, 0.013473171, 0.0064070784, 0.0026619884, 0.00900042, 0.0061813053, 0.026946342, -0.05940887, 0.013521986, -0.01662179, 0.003119637, -0.015791923, 0.0023599404, 0.015340376, 0.0006437588, 0.008469547, -0.043079972, -0.009543495, 0.018049655, 0.0089699095, 0.01704893, 0.044105105, -0.0011136113, -0.013485374, -0.014217611, -0.01593837, -0.029826475, -0.012801953, 0.037881088, 0.024529956, 0.043861028, -0.05462492, 0.048669387, 0.042250104, 0.037295297, -0.0013073491, -0.0048602265, 0.016975706, 0.014010144, -0.0009717402, 0.012899584, 0.0031455704, 0.059945844, 0.045154646, -0.020600282, 0.06023874, -0.023748904, 0.022980055, -0.037612602, 0.012692117, -0.018781893, 0.017903207, -0.018354753, 0.044471227, 0.04571603, -0.014193204, 0.019062584, -0.03810076, -0.03231608, 0.0063338545, -0.025628313, 0.020502651, -0.007963083, 0.012240571, -0.01745166, -0.033316806, 0.03243812, 0.02601884, -0.03443957, 0.014937646, -0.029826475, 0.018232714, 0.032194044, 0.039662864, -0.05662637, -0.0063216505, 0.020270776, -0.025750352, 0.020783342, -0.029557988, 0.010153693, -0.0106479535, -0.007047786, -0.037100036, -0.046863202, -0.05921361, 0.01529156, 0.037295297, 0.003880859, 0.012039205, -0.004494108, 0.08079021, 0.021295907, 0.03866214, -0.009860799, 0.05062202, -0.026067656, 0.010934747, -0.05335571, -0.029753251, 0.048596162, -0.029216276, 0.025042523, 0.028264368, 0.022833606, 0.002690973, 0.0026192747, 0.019550743, -0.0069501544, -0.01060524, -0.009415354, 0.02614088, 0.0046161474, 0.024810648, -0.05096373, 0.059897028, -0.000030438388, 0.022735976, 0.011099501, -0.0001233744, 0.13609855, 0.050182678, -0.037685823, -0.01621906, -0.01529156, 0.014803402, -0.037197664, -0.0072735595, -0.012136837, 0.03678273, -0.005043286, 0.016377712, -0.026433775, 0.00029365777, 0.008811258, -0.0225041, 0.008500057, -0.018891728, 0.01840357, 0.010672362, 0.05296518, 0.010928645, 0.022235613, -0.013973532, 0.010214713, -0.024090614, 0.008042409, -0.049718928, -0.01599939, -0.028166737, 0.022052553, -0.047985967, 0.030509897, 0.00065329316, 0.037344113, -0.014754586, 0.007407803, -0.018342549, -0.014144388, 0.009281111, -0.017659128, -0.016450936, -0.07991152, -0.032072004, -0.010562526, 0.028117921, -0.026677854, -0.016560772, 0.020331794, -0.014791198, 0.003243202, -0.0148766255, -0.00031673088, -0.043519318, -0.040273063, -0.01593837, 0.013705046, -0.020014493, 0.024920484, -0.0028755579, 0.0019861942, 0.03736852, -0.009110255, -0.024298081, 0.004344609, 0.024066206, -0.04923077, -0.002219595, -0.022528507, 0.0085488735, -0.023822127, -0.007291865, -0.005598566, -0.0013965905, 0.0074810265, 0.021820677, -0.012411426, -0.0060196025, -0.011770718, -0.050377943, 0.013216888, 0.0123321, 0.03692918, 0.014107776, 0.008719728, -0.0026162236, -0.017317418, 0.027410092, -0.0057206056, -0.0051378664, -0.04076122, -0.0009991991, -0.013631822, 0.014693567, 0.009439762, -0.0074932305, -0.0013073491, -0.0024087564, -0.009238397, -0.019221235, -0.01874528, -0.006602342, 0.041444644, -0.040736813, 0.018269327, 0.029191868, -0.034390755, -0.010416078, 0.015828535, -0.053990312, 0.008634301, -0.02999733, -0.017829984, -0.040834446, 0.0005815949, 0.020795546, -0.00071621983, 0.01775676, 0.008780749, 0.0014957477, 0.034634836, -0.026629038, 0.073370196, 0.03397582, 0.021820677, 0.013436559, 0.01177682, -0.0042286715, -0.021735251, -0.014595934, -0.010196407, 0.0025460508, 0.00054765266, 0.019379886, 0.0021631517, 0.019428702, 0.038393654, -0.008341406, -0.00022253155, 0.0061019794, -0.019074786, -0.011398497, 0.004420884, 0.018855115, 0.0060470616, -0.027825026, 0.034976546, 0.04356813, 0.028630488, -0.04664353, 0.015206132, 0.011178826, -0.037319705, -0.004097479, -0.03724648, -0.0057663703, 0.0072430493, -0.026702262, -0.035879638, -0.028484039, 0.009451966, -0.011300866, 0.03385378, -0.004677167, -0.02308989, -0.02321193, -0.049792152, 0.04783952, 0.001772625, 0.024810648, -0.019501926, -0.021625414, 0.001337859, -0.009213989, -0.02521338, -0.03927234, -0.03490332, -0.039443195, -0.0018702566, -0.014717974, 0.044398002, -0.008408528, 0.06687769, -0.0013096373, -0.016292285, -0.054332025, 0.019038176, 0.0028511498, 0.018086268, -0.005018878, -0.028264368, -0.0036642386, -0.044349186, -0.0045520766, -0.01177682, -0.024176043, 0.011337478, -0.03351207, -0.016023798, 0.0035605049, -0.0012669235, 0.053160444, -0.020539263, 0.005842645, -0.005201937, -0.0036825445, -0.038003128, 0.02601884, -0.046863202, -0.0034049044, 0.010397773, 0.011557149, 0.059115976, -0.017610312, -0.018293735, -0.037295297, 0.03785668, -0.010397773, 0.004097479, -0.0033499866, -0.03749056, -0.032877464, 0.030509897, 0.01815949, 0.00075664546, 0.005296518, -0.005653484, -0.015364784, 0.00388391, -0.0036825445, 0.007084398, 0.013387742, -0.013741657, 0.013241295, -0.009275009, -0.052525837, -0.010550322, 0.008280386, 0.009561801, -0.029509172, -0.011947676, 0.008628199, 0.026458183, 0.00031120094, 0.019416498, -0.0037313604, 0.03819839, -0.0015476145, -0.03829602, -0.03199878, 0.01260669, -0.018586628, -0.008701422, 0.002361466, -0.030802792, 0.031681478, -0.02056367, -0.017805576, 0.027580947, 0.02906983, 0.025408642, 0.009220091, 0.029728843, -0.009848595, -0.01886732, -0.024859464, 0.008799054, -0.016548568, -0.007664086, 0.030094963, 0.032999504, -0.0004279013, -0.032194044, -0.013875901, 0.024761831, 0.001086915, -0.0036306777, -0.025921209, -0.0018138133, 0.008018001, -0.008237672, -0.013546394, -0.011459517, 0.02092979, 0.00835361, 0.018232714, -0.0004118836, 0.026726669, -0.026409367, 0.042347737, -0.06502269, 0.00807902, -0.0014438808, -0.017793372, 0.020722322, -0.042103656, 0.014656954, -0.023358377, -0.034732465, 0.0052538044, 0.0016841464, -0.0061111324, 0.041322604, 0.011813432, -0.029972922, -0.023858739, -0.008176653, -0.03810076, -0.021710843, -0.010373365, 0.0061172345, 0.028191144, -0.11403379, -0.03829602, 0.035928454, -0.011740209, 0.0030570917, -0.012149041, 0.010104878, 0.016048206, -0.023236338, -0.008243774, 0.011831738, 0.013119255, 0.013168071, 0.005839594, -0.02302887, -0.06424164, 0.0007341444, -0.022394264, 0.02731246, -0.048352085, -0.018257122, -0.02648259, 0.0039479807, 0.018171694, -0.051403075, -0.012521261, -0.0057846764, 0.004399527, -0.0017405896, -0.011795126, -0.018806301, -0.0025399488, 0.00071278744, 0.0033988026, -0.01652416, -0.016878074, -0.002654361, -0.04325083, -0.017842188, 0.009909614, 0.031217726, -0.02870371, 0.023907555, -0.03151062, 0.02490828, -0.017793372, -0.0010541169, -0.008939399, 0.008146143, 0.0119293695, 0.019209031, 0.019941268, 0.0104404865, -0.03273102, 0.019868044, 0.023077685, 0.026531406, -0.00080546126, 0.012325998, 0.022101369, -0.020173144, -0.009720453, 0.023419397, -0.019611761, -0.021027422, -0.030217001, 0.031583846, 0.023175318, -0.010959155, -0.018903932, -0.04310438, -0.000812326, -0.00937264, 0.024749627, -0.0063277525, -0.0034018534, -0.008316997, 0.041078527, -0.023187522, 0.05028031, 0.08064376, -0.016841464, -0.000054441098, 0.017097747, -0.0057419627, 0.025237786, 0.010068266, 0.008146143, -0.017341826, 0.015962778, 0.019123603, -0.026189696, -0.040712405, 0.018537814, 0.005278212, -0.031803515, -0.0033682927, 0.015340376, 0.004674116, 0.0020304336, 0.036416613, 0.054917812, -0.04017543, -0.029435948, 0.009165173, 0.01529156, -0.0047778497, -0.0024392663, 0.022394264, 0.011447313, 0.008347508, 0.008982114, -0.0025628314, 0.046326227, -0.02308989, 0.023041073, 0.047595438, -0.004344609, 0.04664353, -0.025506273, 0.016316693, 0.022882422, -0.026751077, 0.0000979177, -0.058530185, -0.018952748, -0.00699897, 0.036855955, -0.002068571, 0.0039266236, -0.018208306, 0.016292285, 0.00776782, -0.04242096, -0.010916441, 0.016548568, -0.018037451, 0.03339003, -0.06595019, 0.013900309, 0.024639793, -0.0052507534, 0.037173256, -0.027458906, 0.012655505, -0.007053888, 0.018366957, -0.023602456, -0.01840357, 0.03773464, 0.030192593, -0.0033865985, -0.019440906, 0.004988368, 0.019074786, -0.013216888, -0.00521109, -0.020197552, 0.024871668, 0.025847984, 0.030046146, 0.03902826, -0.007682392, 0.009976736, 0.032218453, -0.04276267, 0.0068647265, -0.0048846346, 0.01494985, 0.0025491018, -0.036953587, -0.041639905, 0.011782922, 0.01723199, 0.015132909, 0.02361466, 0.016731627, 0.0011204759, -0.0027718241, 0.026897525, -0.008530567, 0.045179054, -0.019587353, -0.00015865146, 0.019196827, 0.011782922, 0.00471683, -0.007053888, 0.0060012965, 0.022955647, 0.017354028, -0.0031821823, 0.03631898, 0.022064757, 0.0025323215, -0.00035753785, 0.018440181, 0.017512681, 0.019672781, -0.0136074135, -0.035879638, -0.0005346859, -0.023297356, -0.0104526905, -0.029826475, 0.0041615497, 0.03751497, -0.052428205, 0.00699897, 0.016878074, -0.006767095, 0.024896076, -0.02092979, 0.02706838, 0.010062164, -0.0061782543, 0.012899584, -0.0031821823, -0.03397582, 0.008091224, -0.021906106, 0.00034895694, -0.007853247, 0.030290226, -0.0052232943, -0.015108501, -0.0011441212, -0.025847984, 0.013668434, 0.030290226, -0.014083369, -0.010495405, -0.0002988063, -0.0075359447, -0.021405743, 0.00020975554, -0.02028298, -0.03504977, -0.012496853, 0.032267265, 0.051598337, 0.0063948743, 0.014815606, 0.011062888, 0.022125777, -0.015328172, -0.009268907, 0.024615385, -0.02823996, -0.032901872, -0.002796232, 0.020893177, 0.046814386, -0.037197664, 0.0031516724, 0.013888105, 0.0033713435, 0.06292361, 0.037197664, 0.014168796, -0.0018244918, 0.007871553, 0.0057389117, -0.038808588, -0.007828839, -0.023419397, -0.01621906, -0.0033347318, -0.003804584, -0.038393654, -0.037002403, 0.030753976, -0.0081217345, 0.05003623, -0.0033713435, -0.023834331, 0.008237672, -0.032242857, 0.005534495, -0.022638343, -0.02290683, -0.016182449, -0.037319705, 0.010934747, 0.043616947, -0.028581671, 0.0036032188, -0.0054063536, 0.021137256, 0.019770414, 0.03829602, 0.013888105, -0.0060806223, -0.018415773, -0.023346173, -0.03739293, 0.010251326, 0.00033293923, -0.002503337, -0.03846688, 0.0022943441, 0.021686435, 0.007944777, -0.027361276, 0.01103848, 0.030485488, 0.02648259, -0.026799893, -0.0030052247, -0.022467488, -0.016377712, 0.020478243, 0.015010869, 0.0148766255, 0.037222072, -0.025872393, 0.0025796117, -0.032169636, 0.016206857, -0.012112429, 0.0031394684, 0.0011372564, 0.0036428818, -0.005821288, 0.005674841, -0.021784065, 0.009427558, -0.0042927423, 0.008341406, -0.0039449297, 0.021003013, 0.036831547, 0.009348232, -0.0007955456, -0.008689218, -0.016377712, -0.017036727, -0.016975706, -0.022699364, -0.031242134, 0.012496853, 0.038686547, 0.04229892, -0.009592311, -0.019990085, 0.020173144, -0.008439037, -0.025286602, 0.0054277107, -0.02636055, 0.057114527, -0.043275237, -0.033804964, -0.014815606, -0.0131924795, 0.029948514, -0.015193929, -0.02031959, -0.018769689, -0.01615804, 0.01069677, 0.039638456, -0.040932078, 0.02056367, 0.015023073, 0.0060928264, -0.0024957096, 0.024224859, 0.033341214, 0.0069623585, 0.036221348, 0.0029548835, -0.011673086, 0.0019221235, -0.014840013, 0.04088326, 0.0005415507, 0.007358987, 0.013509782, 0.018037451, -0.0020334846, -0.019025972, -0.031803515, 0.021430152, -0.04461767, 0.017585905, -0.013949125, 0.024725221, -0.015486823, 0.008579383, -0.008316997, -0.025506273, -0.0009389421, -0.015071889, -0.0005079898, 0.018074064, -0.028898975, 0.006510812, 0.0020319591, -0.012411426, 0.026067656, -0.02315091, 0.003810686, -0.01822051, 0.021564394, -0.038832996, -0.0037222074, 0.012655505, -0.00029937836, 0.045203462, -0.046008926, 0.011197132, -0.036733914, -0.011819534, -0.00071736396, -0.039321154, -0.020502651, 0.03277983, -0.031217726, 0.010074368, -0.012417528, 0.00016275122, -0.01458373, -0.0022119675, -0.008390222, 0.007932574, 0.03612372, -0.011264253, 0.014364059, 0.010837115, 0.00011002632, 0.016719423, -0.028484039, -0.024261469, 0.0045825867, 0.022101369, 0.04796156, -0.008933297, -0.010660158, 0.012997216, -0.00419206, 0.020002289, 0.04256741, 0.01488883, -0.0054826285, -0.019123603, 0.00480836, 0.0054094046, 0.0048632775, -0.013424355, -0.029875292, -0.017036727, -0.0060958774, 0.008579383, -0.044105105, -0.017122153, -0.07473704, 0.008420732, 0.030021738, 0.01775676, 0.011996492, -0.02398078, -0.0050859996, -0.014925442, -0.012997216, 0.019746006, -0.02420045, 0.021808473, 0.013888105, -0.026384959, -0.0034262615, -0.013692842, 0.036880363, 0.015791923, -0.014608138, 0.0038625528, -0.009012624, -0.0007795279, 0.0058609513, -0.018903932, -0.023187522, 0.0029945464, 0.0038686548, 0.0010861523, 0.0066206474, 0.021771863, 0.011758514, -0.033023912, 0.01874528, -0.029850883, 0.029557988, 0.047985967, -0.026824301, 0.028508447, 0.0018016094, 0.013277907, -0.0006559628, -0.015120705, -0.010995767, 0.026262918, -0.031046871, 0.02284581, -0.019367682, 0.020868769, 0.019538539, 0.010769993, 0.0048876856, -0.01717097, -0.009970634, -0.008799054, 0.014852217, 0.004899889, -0.021637619, 0.010513711, 0.038637735, -0.0011425957, -0.006742687, 0.014937646, 0.013802677, -0.021576598, 0.013766065, 0.00092673814, -0.008432935, -0.011050684, -0.016633995, -0.016890278, -0.00050989666, 0.020307386, -0.007950879, -0.0104526905, -0.008225468, -0.02337058, 0.025994431, 0.010983563, 0.001908394, 0.0005304908, -0.01862324, -0.00040806987, 0.0131924795, 0.021430152, 0.013558598, -0.029582396, -0.018647648, -0.023578048, -0.009268907, 0.017244194, -0.015376988, -0.0042683347, 0.05691926, 0.0155112315, 0.011544945, -0.0104404865, 0.013863697, 0.011471721, 0.019709393, 0.011758514, -0.0051653255, 0.0027733496, -0.004210366, -0.004512414, 0.028093513, -0.00014987987, -0.002802334, 0.032511346, 0.015730903, 0.006187407, 0.035000954, -0.0051866826, -0.03129095, -0.011770718, 0.0017070287, -0.006150795, 0.0030906526, 0.023968576, -0.023529232, -0.007365089, 0.003886961, -0.01945311, 0.017781168, 0.016426528, 0.027727393, -0.031315356, 0.01134358, 0.008927195, -0.0016139735, -0.0042927423, -0.003819839, -0.0063094464, -0.014107776, 0.029045422, -0.022723772, 0.013460967, 0.017561497, 0.011245948, -0.019660577, 0.07478586, 0.008219366, 0.03458602, -0.016560772, 0.024310285, 0.05506426, 0.0046283514, 0.005314824, -0.0078105335, 0.015596659, -0.053013995, -0.019221235, 0.0019617863, -0.030680751, 0.016023798, 0.013277907, -0.045520768, -0.014717974, 0.0049212463, -0.004652759, 0.03412227, -0.0038778079, -0.01933107, 0.0020304336, -0.028410817, 0.0038686548, 0.009500782, -0.0051561724, -0.008841768, 0.0108798295, 0.03609931, -0.012667709, 0.00035429618, 0.0048632775, -0.02398078, 0.039150298, 0.022711568, -0.02139354, -0.005516189, -0.0096045155, 0.018135082, -0.027605355, 0.0021372184, 0.01569429, -0.012252774, -0.01177682, 0.012197857, 0.014962053, -0.024346897, 0.00826208, 0.018122878, -0.008829564, -0.03949201, -0.019062584, 0.04010221, -0.04242096, -0.0049212463, 0.011593761, 0.022113573, 0.025701538, 0.025725944, -0.019660577, -0.008024103, -0.032560162, -0.0066450555, -0.0071820295, 0.008689218, -0.008152245, 0.00078562985, -0.0039449297, 0.023053277, 0.025652722, -0.0036062698, -0.030290226, 0.030876016, -0.008500057, 0.001627703, -0.014254224, -0.0055375462, 0.047326952, 0.0034293125, 0.012521261, 0.019404294, 0.036733914, -0.008914992, 0.041200563, 0.006132489, -0.01963617, 0.0018443232, -0.014022348, 0.0020273826, 0.022528507, -0.00059265475, 0.02420045, -0.011587659, -0.03141299, 0.022699364, -0.018952748, -0.007444415, -0.0022912933, 0.03600168, -0.038271613, -0.006693871, -0.0091773765, 0.014595934, -0.010849319, 0.02577476, -0.000055060827, -0.026555814, 0.020063307, -0.0018656802, 0.02290683, -0.0018107623, -0.05369742, -0.020978605, -0.03656306, -0.02823996, 0.039321154, 0.013302315, 0.03153503, 0.015889553, -0.035122994, -0.020417223, -0.0021128103, -0.007053888, -0.03597727, 0.051500704, 0.010159795, -0.039003853, -0.002219595, -0.00807902, -0.02731246, -0.025799168, -0.009213989, -0.023834331, 0.025359826, -0.02454216, -0.005967736, -0.025188971, 0.031925555, 0.0039449297, -0.039760496, 0.0068830326, -0.022809198 ]
2311.01343
76
# Yaochen Zhu∗,1, Liang Wu2, Qi Guo2, Liangjie Hong2, Jundong Li1 collaborative token embeddings of items interacted by user i as zi, the rec-step objective of the recommendation-oriented finetuning (regularized with the content LLM) can be formulated as: MAP (Lu lv g)\ — hold) shold _ Al || tul|_ Ar || Lo Lrec_step (2) Zi 6) = — Sire Inf; ea “FF z; ia # Ar || Lo z; # ia # Multinomial NLL Loss Ac | Le _ > 2 ee ~ # Prior loss Ae ||_ Lu _ seul? Ac | Le _ scl)" SW 74 > 2 ee ~ Fpl], + Crees k _ seul? Ac | Le _ scl)" 74 > 2 ee ~ Fpl], k MR loss with content LLM
2311.01343#76
Collaborative Large Language Model for Recommender Systems
Recently, there is a growing interest in developing next-generation recommender systems (RSs) based on pretrained large language models (LLMs), fully utilizing their encoded knowledge and reasoning ability. However, the semantic gap between natural language and recommendation tasks is still not well addressed, leading to multiple issues such as spuriously-correlated user/item descriptors, ineffective language modeling on user/item contents, and inefficient recommendations via auto-regression, etc. In this paper, we propose CLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and ID paradigm of RS, aiming to address the above challenges simultaneously. We first extend the vocabulary of pretrained LLMs with user/item ID tokens to faithfully model the user/item collaborative and content semantics. Accordingly, in the pretraining stage, a novel soft+hard prompting strategy is proposed to effectively learn user/item collaborative/content token embeddings via language modeling on RS-specific corpora established from user-item interactions and user/item features, where each document is split into a prompt consisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and a main text consisting of homogeneous item tokens or vocab tokens that facilitates stable and effective language modeling. In addition, a novel mutual regularization strategy is introduced to encourage the CLLM4Rec to capture recommendation-oriented information from user/item contents. Finally, we propose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where an item prediction head with multinomial likelihood is added to the pretrained CLLM4Rec backbone to predict hold-out items based on the soft+hard prompts established from masked user-item interaction history, where recommendations of multiple items can be generated efficiently.
http://arxiv.org/pdf/2311.01343
Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li
cs.IR
null
null
cs.IR
20231102
20231108
[ { "id": "2302.13971" }, { "id": "2206.07682" }, { "id": "2308.10053" }, { "id": "2307.02046" }, { "id": "2306.05817" }, { "id": "2205.08084" }, { "id": "2303.14524" }, { "id": "2305.07001" }, { "id": "2303.13835" }, { "id": "2303.18223" }, { "id": "2302.03735" }, { "id": "2305.00447" }, { "id": "2305.08845" }, { "id": "2104.08691" }, { "id": "2308.10837" }, { "id": "2305.06569" } ]
{ "authors": "Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li", "chunk_id": 76, "doc_id": "2311.01343", "primary_category": "cs.IR", "published": 20231102, "source": "http://arxiv.org/pdf/2311.01343", "summary": "Recently, there is a growing interest in developing next-generation\nrecommender systems (RSs) based on pretrained large language models (LLMs),\nfully utilizing their encoded knowledge and reasoning ability. However, the\nsemantic gap between natural language and recommendation tasks is still not\nwell addressed, leading to multiple issues such as spuriously-correlated\nuser/item descriptors, ineffective language modeling on user/item contents, and\ninefficient recommendations via auto-regression, etc. In this paper, we propose\nCLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and\nID paradigm of RS, aiming to address the above challenges simultaneously. We\nfirst extend the vocabulary of pretrained LLMs with user/item ID tokens to\nfaithfully model the user/item collaborative and content semantics.\nAccordingly, in the pretraining stage, a novel soft+hard prompting strategy is\nproposed to effectively learn user/item collaborative/content token embeddings\nvia language modeling on RS-specific corpora established from user-item\ninteractions and user/item features, where each document is split into a prompt\nconsisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and\na main text consisting of homogeneous item tokens or vocab tokens that\nfacilitates stable and effective language modeling. In addition, a novel mutual\nregularization strategy is introduced to encourage the CLLM4Rec to capture\nrecommendation-oriented information from user/item contents. Finally, we\npropose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where\nan item prediction head with multinomial likelihood is added to the pretrained\nCLLM4Rec backbone to predict hold-out items based on the soft+hard prompts\nestablished from masked user-item interaction history, where recommendations of\nmultiple items can be generated efficiently.", "text": "# Yaochen Zhu∗,1, Liang Wu2, Qi Guo2, Liangjie Hong2, Jundong Li1\ncollaborative token embeddings of items interacted by user i as zi, the rec-step objective of the recommendation-oriented finetuning (regularized with the content LLM) can be formulated as: MAP (Lu lv g)\\ — hold) shold _ Al || tul|_ Ar || Lo Lrec_step (2) Zi 6) = — Sire Inf; ea “FF z; ia\n# Ar || Lo z;\n# ia\n# Multinomial NLL Loss Ac | Le _ > 2 ee ~\n# Prior loss\nAe ||_ Lu _ seul? Ac | Le _ scl)\" SW 74 > 2 ee ~ Fpl], + Crees k\n_ seul? Ac | Le _ scl)\" 74 > 2 ee ~ Fpl], k MR loss with content LLM", "title": "Collaborative Large Language Model for Recommender Systems", "year": 2023 }
[ 0.052709747, -0.0029795573, -0.018500142, 0.015927274, 0.029104711, -0.050831147, 0.029567555, 0.049143128, -0.048380796, 0.017969232, -0.004134965, -0.026763266, -0.052845877, -0.011863777, -0.0072897905, 0.010645409, 0.038933337, -0.02820625, 0.0012651633, 0.05913511, -0.013517763, -0.0024129138, 0.03694583, 0.0055847554, 0.0041009327, -0.008120188, 0.02959478, 0.019180793, 0.002615408, -0.032698557, 0.017656133, -0.020705456, 0.03435935, -0.024054268, -0.045630958, 0.024081493, -0.027634501, 0.058590587, 0.021195525, -0.007868346, -0.020079255, 0.029431425, -0.02869632, -0.030819956, 0.03623795, 0.02174005, 0.009923917, 0.012285782, 0.0016276109, 0.047754597, -0.059734084, 0.030220982, -0.039995156, 0.00029268066, -0.02714443, -0.012449139, 0.032807462, -0.012067973, 0.000039536353, 0.015736692, 0.003992028, -0.043534547, 0.0025762706, 0.024843825, -0.038307134, -0.047754597, -0.056521405, -0.026314035, 0.015382752, 0.030520469, -0.009685689, -0.022611285, 0.028723545, -0.00033266903, 0.011727647, -0.0063436837, -0.013299954, 0.034087088, 0.0133476, -0.063709095, 0.0049279258, -0.0037844293, 0.019534733, -0.051865738, -0.04122033, -0.061040938, -0.05080392, -0.0035155714, -0.025170539, -0.0156414, -0.04443301, -0.0007963637, -0.04331674, -0.026000934, 0.042037115, 0.0030612356, 0.013075339, -0.014783777, 0.012489977, 0.0533904, 0.007888765, -0.012911982, 0.041873757, -0.03239907, 0.02847851, -0.0010388462, -0.03239907, -0.023509745, -0.053499304, 0.009631236, -0.054343313, 0.02414956, -0.05298201, 0.051756833, 0.040920842, -0.051947415, -0.05159348, 0.005908066, -0.04323506, 0.009256877, -0.051185086, -0.01826872, 0.041274782, -0.027811471, -0.026844943, -0.033270307, 0.012823498, -0.057501543, -0.021073008, -0.018813241, 0.00016814249, -0.023577811, 0.035992917, -0.008766808, -0.045385923, -0.018418463, -0.0070924014, 0.03324308, -0.037408676, -0.024639629, 0.0068167374, -0.045630958, -0.05913511, 0.0042881123, -0.041873757, -0.022556832, -0.04277222, 0.0159545, -0.038034875, 0.0022393474, -0.01417119, -0.06191217, -0.013184244, 0.026273195, -0.03890611, -0.049769327, -0.05467003, -0.00358704, 0.018159814, -0.015614173, 0.0024928907, -0.004451469, -0.0031871565, -0.015940888, 0.021236366, 0.007432728, -0.040975295, 0.018609045, -0.057555996, -0.043044478, -0.02620513, -0.06773856, -0.04652942, -0.010835991, -0.0398318, 0.00069851987, 0.00076275645, -0.061204296, -0.001955175, 0.004887087, 0.017969232, 0.017669745, -0.042227697, -0.019779768, -0.042853896, 0.02473492, -0.006881399, 0.006217763, 0.04318061, 0.022556832, 0.010026014, 0.059788536, 0.035802335, 0.021576691, -0.023428068, -0.007650537, 0.028179023, 0.04318061, 0.026273195, 0.0141575765, -0.0074667605, 0.03008485, 0.0015799651, -0.015859209, -0.02197147, -0.0086647095, -0.03155506, -0.0057787416, -0.052383035, 0.0049109096, 0.019847834, 0.012809885, 0.060496416, -0.013388439, -0.05690257, 0.035638977, -0.04239105, -0.00554732, -0.04772737, 0.03169119, -0.032507975, 0.032344617, 0.06741185, 0.007677763, -0.026069, -0.0019517717, -0.00780028, -0.06828308, -0.0031327042, -0.008161026, 0.038307134, 0.026763266, -0.016008953, -0.020283451, 0.012258556, -0.021549465, -0.010332309, 0.008930163, -0.027171656, -0.013272728, -0.03778984, 0.017724197, 0.046148255, -0.021522239, 0.0071808863, 0.02753921, -0.008603451, -0.011693614, 0.026708813, 0.002264872, 0.03324308, -0.0023720749, 0.009440653, -0.0072693713, -0.016417343, 0.0006296038, -0.042445503, 0.017356645, 0.006915432, -0.004145175, -0.0051695574, 0.02201231, -0.020147322, 0.011489418, -0.018472916, -0.039096694, -0.040920842, 0.029975947, 0.05072224, 0.0018871097, -0.03275301, -0.025333894, 0.026627135, 0.022652123, -0.039940704, 0.01920802, 0.032208487, -0.012353847, -0.016812123, 0.005717483, -0.02967646, -0.017329419, 0.08461875, 0.0079296045, -0.017996458, -0.020569326, 0.004621632, 0.0028349187, -0.03610182, 0.011155899, 0.0042813057, -0.04018574, -0.0025813754, -0.0044855014, -0.013579022, 0.024721308, -0.015763918, -0.044814177, 0.0093930075, 0.006735059, 0.03416877, -0.02442182, -0.016825736, 0.024966342, 0.018214267, 0.002754942, 0.010890444, -0.04701949, -0.0017799069, -0.00043497965, 0.051185086, -0.006490024, -0.029758137, 0.036973055, -0.03158229, -0.05107618, 0.06926322, -0.0033403032, 0.010618183, -0.018867694, -0.0101281125, -0.012265362, -0.002515012, -0.003207576, 0.0034747322, -0.025197765, 0.015083265, -0.015042425, -0.02526583, -0.03337921, 0.025987322, 0.015505269, 0.01560056, 0.00927049, -0.024081493, -0.024299303, 0.006826947, 0.039015014, 0.04122033, 0.07160467, -0.035257813, -0.020024803, 0.023768393, 0.030411564, -0.056521405, 0.010509279, 0.030112077, 0.023074128, 0.03689138, 0.019153567, 0.041165877, -0.03155506, 0.035611752, -0.040675808, 0.04220047, 0.019139955, 0.019997578, -0.030874409, 0.0027855714, 0.032861914, 0.034468256, -0.020201772, 0.024489885, -0.006051003, -0.015586948, 0.001858182, 0.010910863, 0.021522239, -0.024857437, -0.015845595, -0.0031327042, -0.007562052, -0.0650704, 0.023645876, -0.03724532, 0.048870865, 0.04037632, 0.034876645, 0.021699209, 0.029186388, -0.00390014, -0.03310695, -0.022284571, 0.014198416, 0.00991711, 0.0038865271, -0.00006370484, -0.0102234045, -0.013824057, -0.018432075, 0.021508627, -0.051756833, 0.019589186, 0.004829231, 0.054261636, -0.011053801, 0.0484897, 0.041982662, 0.029376972, 0.027335014, -0.011802519, -0.008161026, -0.011482611, -0.0040362705, 0.0034236833, 0.052246902, 0.0015238113, 0.026953848, -0.0015433801, 0.027239723, 0.039750118, -0.041655947, 0.038089328, 0.007670956, -0.0060305833, 0.027770631, 0.03710919, -0.03332476, 0.030220982, 0.044732496, 0.007528019, 0.01907189, -0.020841587, -0.05744709, 0.0049006995, -0.007718602, 0.027307788, 0.00014623399, 0.018786015, -0.06599609, -0.053907696, 0.05886285, 0.03337921, -0.026164291, 0.0047169235, -0.07182248, 0.022747414, 0.0737283, -0.007745828, -0.05513287, -0.0021423544, 0.046556648, -0.05472448, -0.020923264, 0.013966994, -0.01742471, 0.014783777, 0.02567422, -0.0021253382, -0.006217763, -0.045168117, -0.023809232, 0.06692178, 0.034876645, 0.0093998145, -0.05121231, 0.038524944, -0.017520001, 0.026776878, 0.026082613, 0.038116552, 0.019725317, -0.017683359, -0.01836401, 0.03079273, -0.019630024, -0.02308774, 0.0033386017, 0.043398418, 0.006374313, 8.674334e-7, -0.010931283, -0.02120914, 0.01107422, -0.007636924, -0.0043561775, 0.0208552, -0.010978929, 0.026000934, -0.0017407694, 0.011843357, -0.031446155, 0.0022597671, -0.0028230073, 0.0025711658, 0.09273213, 0.046366066, -0.025293056, -0.034032635, 0.016008953, 0.021290818, -0.024979955, 0.022080375, -0.015736692, -0.02714443, -0.023006063, 0.009420234, -0.04696504, 0.0116868075, 0.013694733, -0.00035032345, -0.008031703, -0.047564015, 0.014429838, -0.0018751983, -0.00084783806, -0.0053635435, -0.016349278, 0.02077352, 0.07748551, -0.00012390007, -0.0029710492, -0.02726695, 0.0038422847, 0.0018292542, 0.034549933, -0.04100252, 0.023074128, -0.0034883453, 0.026599908, -0.006581912, 0.03988625, 0.016022565, -0.03141893, 0.0111354785, 0.014688486, 0.003199068, -0.088920474, -0.027198883, -0.032181263, 0.01844569, 0.0031854548, 0.0034032636, 0.020991331, -0.035257813, 0.0049109096, -0.011516645, -0.022461541, 0.009045875, 0.010727087, -0.0020317484, 0.016185923, 0.0041247555, -0.0029523312, -0.0019466669, -0.017451936, 0.021603918, 0.019003823, 0.0012311307, 0.0055983686, 0.049905457, -0.036619116, -0.0035189746, -0.023346389, -0.007112821, -0.014919908, 0.017751424, -0.03708196, -0.015763918, -0.013272728, -0.0005534557, -0.011223963, 0.006391329, 0.02834238, -0.04571264, 0.0019806994, 0.03416877, 0.041601494, 0.02059655, 0.0015255129, -0.021699209, -0.03588401, 0.036265176, -0.01871795, 0.01289837, -0.018581819, 0.018663498, 0.023114966, 0.012980048, 0.00023610142, -0.026014548, -0.010992542, 0.005877436, -0.0072693713, -0.011468998, 0.007112821, -0.032698557, 0.017710583, -0.042009886, 0.019507507, 0.061258744, -0.010686248, -0.02267935, -0.03258965, -0.045984898, -0.004635245, 0.023958975, 0.0006844814, 0.011809325, -0.012469558, 0.022965223, 0.01142816, -0.03827991, -0.019398604, -0.00455697, 0.024122333, 0.01250359, 0.025510864, 0.00087889284, 0.02414956, 0.006336877, -0.033134174, 0.0020725876, 0.007956831, -0.009454266, -0.008099767, 0.010529698, -0.021277204, 0.046556648, 0.0016446272, -0.013041306, -0.049769327, 0.0016922728, 0.0042302567, 0.0055439165, 0.047210075, -0.039940704, -0.0068916087, -0.005591562, -0.0139806075, -0.039232824, 0.014007833, 0.008930163, -0.009025455, 0.016036179, 0.019793382, -0.017696971, 0.015709465, 0.003387949, -0.013211469, 0.005588159, -0.0033624244, 0.017819488, -0.038007647, 0.010611376, -0.008215479, -0.018663498, 0.018377624, -0.0128779495, -0.027879536, -0.01483823, -0.023251098, 0.046937812, -0.0124219125, 0.008971003, -0.032317393, 0.0056187883, 0.03414154, 0.0026307227, -0.010720281, -0.01840485, -0.030738277, -0.0014378789, -0.013109372, 0.00063300703, 0.04402462, -0.017805876, 0.026177904, 0.00004339161, 0.042690538, -0.014184803, 0.009910304, 0.003757203, 0.0026086017, 0.021985084, -0.022965223, -0.012319814, -0.025224991, -0.03939618, -0.01662154, -0.018459301, 0.0020249418, -0.02767534, -0.034958325, 0.003845688, 0.006391329, 0.037817065, -0.028396832, -0.0138853155, -0.0006615094, -0.03351534, -0.020528486, 0.033025272, -0.036482986, 0.0103118885, 0.02285632, 0.0138853155, 0.026150677, -0.025320282, -0.040975295, -0.0031735434, -0.0060475995, 0.009712915, -0.0061496976, -0.008868905, -0.03346089, -0.015341912, 0.042581636, 0.04282667, 0.022638509, -0.00537035, -0.011537064, 0.03610182, 0.014048672, -0.013749185, 0.025728673, 0.045304246, 0.01920802, -0.0024826808, -0.010876831, -0.002615408, 0.015818369, -0.049578745, 0.00061769236, -0.021985084, -0.0069971103, -0.037517577, 0.017479163, -0.011067414, 0.0066942195, 0.0010533101, 0.02967646, 0.01336802, 0.00029650936, -0.012204103, 0.0005500525, -0.011761679, -0.017696971, -0.014062285, -0.021985084, 0.022556832, -0.028914127, -0.006636364, 0.025429185, 0.00651725, 0.015736692, 0.02585119, 0.006969884, -0.010434407, -0.008902938, -0.04239105, 0.012204103, -0.0064219586, 0.004492308, -0.025864804, -0.016226761, -0.007950024, -0.030602148, -0.022829093, 0.0012370864, 0.02647739, 0.037844293, -0.007133241, 0.012728206, 0.013517763, -0.021549465, -0.013755992, -0.0065376693, 0.035176132, 0.001733112, 0.011625549, -0.0017186481, 0.035611752, -0.015069651, 0.03778984, -0.043425646, -0.0032313988, 0.010529698, -0.023645876, -0.017179675, 0.017969232, -0.0045739864, 0.007398695, -0.062456694, -0.011986295, -0.057719354, -0.02994872, -0.016553475, 0.015423591, -0.03917837, -0.045031983, 0.021249978, 0.022447927, -0.04059413, -0.009569977, 0.053227045, -0.016948253, -0.08902938, -0.031718418, 0.021780888, -0.008249511, 0.028396832, 0.016907414, 0.007133241, 0.007636924, 0.013762798, -0.007956831, -0.0058127744, -0.014198416, 0.008303964, -0.012735013, -0.0029097905, -0.056140237, 0.006493427, -0.00554732, 0.03863385, -0.005445222, -0.009549558, -0.0021457577, 0.018854082, 0.050640564, -0.024095107, 0.0025218183, 0.016471796, 0.0070175296, 0.026491005, -0.006336877, 0.013953381, -0.011176318, 0.017084384, 0.008637483, 0.0033011658, 0.01238788, -0.013116178, -0.037054736, -0.018323172, 0.010488858, 0.02379562, -0.005768532, 0.004335758, -0.004982378, 0.014198416, -0.03917837, -0.018949373, -0.024530724, 0.015505269, -0.025565317, -0.013231889, 0.013878509, 0.039940704, -0.0393145, -0.007854733, 0.0054792543, 0.029921494, -0.01089725, -0.008167833, -0.008821259, -0.025143312, 0.009923917, -0.0122381365, -0.035148907, 0.016158696, -0.004427646, -0.017084384, 0.0015748603, -0.02932252, -0.044269655, 0.0030595341, -0.019766156, 0.025143312, 0.058808398, 0.007950024, -0.0033454082, 0.0047305366, 0.047754597, -0.01285753, 0.004492308, 0.05137567, -0.008079348, 0.025388347, 0.03961399, 0.0041077393, 0.025932869, 0.0072081126, -0.018990211, -0.024231236, -0.018568207, 0.021767274, -0.027865922, -0.024027042, -0.0047849887, 0.019752542, -0.027226109, -0.049497068, 0.003323287, 0.017370258, -0.005639208, 0.030574922, 0.033624247, -0.052001867, -0.018758789, 0.006649977, 0.0028553382, 0.010100886, -0.022801867, 0.022611285, 0.0023040094, -0.022093987, -0.005356737, -0.06773856, 0.024040654, -0.033406436, 0.0005351632, 0.0049755713, 0.05619469, 0.027335014, -0.017833102, 0.0069290446, 0.027661728, 0.017506389, -0.01013492, -0.02883245, -0.025606155, 0.03169119, 0.026422938, -0.0010915968, 0.036265176, 0.019684477, 0.007936411, 0.016349278, -0.033215854, -0.032371845, 0.034522705, 0.013919349, -0.0016752565, -0.042690538, 0.06703068, 0.0052001867, -0.003452611, 0.032834686, -0.010985735, -0.007936411, -0.012571656, -0.013551796, -0.0039818184, -0.046148255, 0.011925036, 0.016499022, 0.0053363172, -0.00036032056, 0.00026120048, 0.012517204, -0.01756084, 0.008610257, -0.013932961, 0.00878042, 0.06158546, 0.0094882995, 0.052301355, 0.00086953386, 0.0030612356, 0.025388347, -0.0149879735, -0.018935759, -0.048544154, -0.026041774, 0.008617064, -0.016839348, -0.037190866, 0.0104003735, 0.018663498, -0.007902378, -0.006323264, 0.009801399, 0.0012022029, 0.012292588, 0.020024803, 0.0002950204, 0.024231236, -0.070352264, -0.007704989, 0.043861263, 0.021454174, -0.014130351, -0.04794518, -0.009828625, 0.019058276, 0.02438098, 0.0025677625, 0.016784897, 0.04263609, 0.03841604, -0.0030680422, -0.024748534, 0.04149259, 0.0003896737, -0.01630844, -0.034794968, 0.028641867, 0.009801399, 0.003433893, -0.016294826, 0.0037333802, 0.02561977, -0.017411096, 0.005836597, -0.008195058, -0.023414453, 0.0073034037, -0.015328299, 0.019956738, -0.009352169, -0.033488113, 0.003350513, 0.009297716, -0.008596644, -0.0026868766, -0.014089512, -0.0116868075, -0.020487648, 0.001127331, -0.039450634, -0.0037265737, 0.02967646, 0.014293707, -0.010509279, -0.0032092775, -0.013708346, 0.029867042, -0.012755432, -0.029622007, -0.011162705, 0.022393474, -0.03675525, -0.023986202, -0.02120914, 0.0010396971, 0.006915432, 0.0118705835, -0.0168938, -0.035666205, 0.00158507, -0.02224373, -0.0010728788, 0.026300421, -0.012306201, -0.015328299, 0.0075552454, 0.0106794415, 0.057882708, -0.02050126, -0.005639208, -0.0041962243, -0.0026698604, 0.0429628, 0.047564015, 0.018867694, -0.0035189746, 0.034658838, 0.019970352, -0.040294643, -0.015586948, -0.014674873, 0.009127554, 0.0005900408, 0.010978929, -0.019099116, -0.0046931007, 0.02197147, -0.031228347, 0.035584524, 0.006701026, 0.006398136, 0.013020887, 0.0004328526, -0.0072897905, -0.0035666204, -0.028015666, -0.029839816, -0.033896506, 0.024204012, -0.0031224943, -0.0082018655, -0.009406621, 0.0030067835, 0.021917017, 0.00062364805, 0.0217945, -0.00036032056, -0.025946483, -0.013395246, 0.0063436837, 0.001571457, -0.00684056, -0.00826993, -0.0011885898, -0.034032635, -0.0023669698, -0.00029268066, 0.0118705835, -0.021917017, 0.0022257345, 0.0014812705, 0.008583031, 0.020460421, 0.013776411, -0.024217624, 0.013340794, 0.028097345, 0.029622007, 0.00053686486, 0.018132588, -0.019344151, -0.0027702567, 0.0003201195, 0.00619394, -0.00960401, -0.0138853155, -0.012265362, 0.00032990388, 0.012163265, -0.027661728, 0.00060790795, 0.018486528, -0.020868814, -0.009563171, 0.0063879257, 0.02353697, 0.021358883, -0.007861539, -0.021004943, -0.04367068, 0.00079296046, -0.030057624, 0.013830864, -0.03841604, -0.040267415, 0.0060475995, 0.041655947, 0.01448429, 0.015559722, -0.01671683, 0.015110491, 0.015478043, -0.021998696, 0.04500476, -0.03506723, 0.07857455, -0.020337904, -0.0035666204, 0.0146204205, -0.0017024827, 0.026722426, -0.044732496, 0.030057624, -0.003794639, -0.017792262, 0.022910772, 0.022434315, 0.01078154, 0.0025830772, 0.007112821, -0.009746947, -0.021181913, -0.007589278, -0.014225642, 0.011727647, 0.013783217, -0.012796272, -0.008249511, -0.007915991, 0.005554126, -0.013408859, 0.0034611193, 0.010196178, -0.011659581, 0.05793716, 0.012217716, -0.017669745, -0.06158546, -0.004740746, -0.04190098, 0.010550117, -0.039995156, 0.023686714, 0.018418463, -0.016499022, 0.039423406, -0.03114667, 0.0034543127, 0.025197765, -0.011081027, -0.00651725, 0.01174126, 0.023278324, -0.0078207, 0.008276737, 0.021263592, -0.0012396388, 0.00021461831, 0.0048224246, -0.026123451, 0.000057004665, -0.017873941, 0.012013521, -0.007922797, 0.0057379026, -0.02371394, 0.007317017, -0.027035527, 0.00601697, 0.008746387, -0.026109839, -0.012809885, 0.017043544, -0.013830864, 0.039069466, -0.02206676, 0.030030398, -0.0031361075, -0.008698742, 0.009406621, 0.012204103, 0.005278462, 0.0094882995, 0.00826993, 0.007344243, 0.003153124, 0.015845595, -0.012748626, 0.03512168, 0.024312915, 0.0053873663, 0.05295478, -0.00004248762, -0.0036993476, 0.050640564, -0.043425646, 0.016784897, 0.08331189, 0.01707077, -0.0111354785, -0.033705924, 0.014130351, -0.02579674, -0.000087687215, -0.0016888696, -0.00829035, 0.004145175, 0.028886901, 0.012156458, -0.0061122617, -0.0046114223, -0.04590322, 0.032916367, 0.018418463, 0.0029642426, 0.007868346, -0.024272077, 0.048380796, -0.014375386, -0.0009282402, 0.028233476, -0.040839165, -0.003027203, -0.0107407, -0.039232824, 0.009719721, -0.009141166, 0.015355526, 0.017356645, -0.0059352918, -0.01924886, 0.024653243, -0.015886435, 0.006738462, 0.035638977, 0.0033947555, -0.010590957, 0.0018037298, -0.0030493243, 0.0009086714, 0.016349278, -0.016213149, -0.01568224, -0.016240375, 0.001455746, -0.016104244, 0.021889793, -0.024789372, 0.0097605605, 0.0054384153, -0.0051661544, 0.0049381354, -0.0019585781, 0.0022869932, 0.011101446, -0.02009287, 0.018568207, -0.009535945, -0.002754942, 0.0331614, -0.012401492, 0.0020181353, 0.0125103975, 0.013878509, 0.0060305833, 0.039368954, -0.015273848, -0.014416225, -0.021685597, 0.061149843, 0.027294174, -0.028914127, -0.004441259, 0.022720188, -0.00078275066, -0.02161753, 0.021576691, 0.0015501865, 0.007950024, -0.010713474, -0.040076833, -0.0050912825, 0.020623777, -0.00057430076, 0.00013421621, -0.018078137, -0.012632915, -0.0010158742, 0.0039443825, 0.02214844, -0.020256225, 0.0011069115, -0.012496784, 0.00017431092, -0.02344168, -0.006932448, -0.011816132, 0.0011834849, 0.001132436, 0.0029370165, 0.016090631, -0.01773781, -0.017220514, 0.0005355886, 0.022829093, -0.018309558, -0.017615292, 0.0046760845, 0.0149879735, 0.017125223, -0.0108632175, -0.007956831, 0.0019398603, 0.004424243, -0.018908532, 0.01671683, -0.007187693, 0.014824617, 0.037762612, 0.018758789, 0.028315153, 0.021685597, 0.02869632, 0.0047169235, 0.005407786, 0.023659488, -0.015831983, -0.013796831, -0.0047033103, -0.020964105, 0.0131502105, -0.00407711, -0.017928394, 0.0015340211, 0.01058415, 0.016063405, -0.026776878, -0.012632915, -0.036510214, 0.009168392, 0.015042425, -0.021998696, -0.00035606645, 0.01172084, 0.014143963, -0.017751424, 0.003045921, 0.022829093, 0.026096227, 0.0036517018, 0.04228215, 0.020991331, 0.020174546, -0.03710919, -0.0030220982, 0.007548439, 0.018159814, 0.010652215, -0.059516273, 0.011346481, -0.01515133, -0.027348626, 0.018513754, -0.02526583, 0.027620887, -0.031119443, 0.025551703, -0.026341261, -0.017329419, 0.0077526346, -0.0005402681, -0.025783125, -0.00097078097, 0.017996458, -0.016430957, 0.0035632171, 0.0018088346, -0.022121213, 0.011434966, 0.0040090447, 0.013470118, 0.0037640096, -0.0010796854, 0.021263592, -0.027294174, 0.034522705, 0.005013007, -0.005676644, -0.0000018212778, 0.009787787, -0.018826855, -0.025143312, 0.027580049, 0.00016186773, 0.011006155, -0.006268812, 0.00784112, 0.006391329, -0.024394594, -0.033488113, -0.016049791, 0.0021100235, -0.020487648, -0.0032739397, 0.016226761, -0.018105363, -0.015695851, 0.024871051, 0.00016378207, 0.030139303, 0.05761045, -0.01809175, 0.03177287, -0.0014046971, 0.027212497, -0.006040793, -0.0132455025, -0.009706108, -0.010141726, 0.031881776, -0.009991982, 0.049524292, -0.0011145689, -0.012483171, 0.017696971, -0.00024290795, -0.034822192, 0.011434966, -0.0017314104, 0.032671332, 0.0020453616, 0.019752542, 0.027933989, 0.022461541, 0.04263609, 0.021780888, 0.030765504, -0.01221091, 0.03030266, -0.037817065, 0.012285782, 0.011761679, 0.014021446, -0.020378742, -0.02500718, -0.017479163, 0.033705924, 0.015968112, -0.010550117, 0.008964197, 0.025320282, 0.008235898, 0.015913662, -0.013762798, 0.028287927, 0.044079073, 0.061748818, -0.018731562, -0.019099116, -0.0036210725, 0.031718418, 0.02295161, -0.04533147, -0.024040654, 0.00074446393, -0.040948067, -0.0361835, 0.074055016, -0.018704338, 0.021345269, 0.033215854, -0.03343366, -0.007242145, -0.0049483455, 0.004727133, 0.0032994642, 0.03729977, 0.0057208864, 0.013068533, -0.01350415, 0.0015884733, -0.030738277, -0.021590305, -0.01862266, 0.0015272145, 0.002787273, 0.0104071805, -0.029077485, -0.019752542, 0.020909652, -0.00018345719, -0.015668625, 0.0029217019, 0.0010277856 ]
2311.01343
77
_ seul? Ac | Le _ scl)" 74 > 2 ee ~ Fpl], k MR loss with content LLM (10) where NLL stands for negative log-likelihood, and C𝑟𝑒𝑐 is the con- stant irrelevant for the optimization purpose. From the form of the multinomial NLL loss we can find that, when finetuning the RecLLM according to Eq. (10), the h𝑟𝑒𝑐 𝑙,𝑖,−1 output by the CLLM4Rec ˆ𝑙𝑙𝑚𝑙 , which can be viewed as the user latent variable base model summarizing the historical interaction of user 𝑖, is encouraged to be similar to the collaborative embeddings of all the interacted items. # B EXPERIMENTS B.1 Statistics of the Datasets The statistics of the datasets are summarized in Table 3. # B.2 Experiments on T5 Backbone
2311.01343#77
Collaborative Large Language Model for Recommender Systems
Recently, there is a growing interest in developing next-generation recommender systems (RSs) based on pretrained large language models (LLMs), fully utilizing their encoded knowledge and reasoning ability. However, the semantic gap between natural language and recommendation tasks is still not well addressed, leading to multiple issues such as spuriously-correlated user/item descriptors, ineffective language modeling on user/item contents, and inefficient recommendations via auto-regression, etc. In this paper, we propose CLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and ID paradigm of RS, aiming to address the above challenges simultaneously. We first extend the vocabulary of pretrained LLMs with user/item ID tokens to faithfully model the user/item collaborative and content semantics. Accordingly, in the pretraining stage, a novel soft+hard prompting strategy is proposed to effectively learn user/item collaborative/content token embeddings via language modeling on RS-specific corpora established from user-item interactions and user/item features, where each document is split into a prompt consisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and a main text consisting of homogeneous item tokens or vocab tokens that facilitates stable and effective language modeling. In addition, a novel mutual regularization strategy is introduced to encourage the CLLM4Rec to capture recommendation-oriented information from user/item contents. Finally, we propose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where an item prediction head with multinomial likelihood is added to the pretrained CLLM4Rec backbone to predict hold-out items based on the soft+hard prompts established from masked user-item interaction history, where recommendations of multiple items can be generated efficiently.
http://arxiv.org/pdf/2311.01343
Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li
cs.IR
null
null
cs.IR
20231102
20231108
[ { "id": "2302.13971" }, { "id": "2206.07682" }, { "id": "2308.10053" }, { "id": "2307.02046" }, { "id": "2306.05817" }, { "id": "2205.08084" }, { "id": "2303.14524" }, { "id": "2305.07001" }, { "id": "2303.13835" }, { "id": "2303.18223" }, { "id": "2302.03735" }, { "id": "2305.00447" }, { "id": "2305.08845" }, { "id": "2104.08691" }, { "id": "2308.10837" }, { "id": "2305.06569" } ]
{ "authors": "Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li", "chunk_id": 77, "doc_id": "2311.01343", "primary_category": "cs.IR", "published": 20231102, "source": "http://arxiv.org/pdf/2311.01343", "summary": "Recently, there is a growing interest in developing next-generation\nrecommender systems (RSs) based on pretrained large language models (LLMs),\nfully utilizing their encoded knowledge and reasoning ability. However, the\nsemantic gap between natural language and recommendation tasks is still not\nwell addressed, leading to multiple issues such as spuriously-correlated\nuser/item descriptors, ineffective language modeling on user/item contents, and\ninefficient recommendations via auto-regression, etc. In this paper, we propose\nCLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and\nID paradigm of RS, aiming to address the above challenges simultaneously. We\nfirst extend the vocabulary of pretrained LLMs with user/item ID tokens to\nfaithfully model the user/item collaborative and content semantics.\nAccordingly, in the pretraining stage, a novel soft+hard prompting strategy is\nproposed to effectively learn user/item collaborative/content token embeddings\nvia language modeling on RS-specific corpora established from user-item\ninteractions and user/item features, where each document is split into a prompt\nconsisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and\na main text consisting of homogeneous item tokens or vocab tokens that\nfacilitates stable and effective language modeling. In addition, a novel mutual\nregularization strategy is introduced to encourage the CLLM4Rec to capture\nrecommendation-oriented information from user/item contents. Finally, we\npropose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where\nan item prediction head with multinomial likelihood is added to the pretrained\nCLLM4Rec backbone to predict hold-out items based on the soft+hard prompts\nestablished from masked user-item interaction history, where recommendations of\nmultiple items can be generated efficiently.", "text": "_ seul? Ac | Le _ scl)\" 74 > 2 ee ~ Fpl], k MR loss with content LLM\n(10) where NLL stands for negative log-likelihood, and C𝑟𝑒𝑐 is the con- stant irrelevant for the optimization purpose. From the form of the multinomial NLL loss we can find that, when finetuning the RecLLM according to Eq. (10), the h𝑟𝑒𝑐 𝑙,𝑖,−1 output by the CLLM4Rec ˆ𝑙𝑙𝑚𝑙 , which can be viewed as the user latent variable base model summarizing the historical interaction of user 𝑖, is encouraged to be similar to the collaborative embeddings of all the interacted items.\n# B EXPERIMENTS B.1 Statistics of the Datasets\nThe statistics of the datasets are summarized in Table 3.\n# B.2 Experiments on T5 Backbone", "title": "Collaborative Large Language Model for Recommender Systems", "year": 2023 }
[ 0.019450616, -0.021395678, 0.07231053, -0.01910737, 0.046424042, -0.013143468, 0.021667415, 0.015989551, -0.036298282, 0.04296298, -0.013894319, -0.022782965, -0.01687627, 0.029547775, -0.023741193, 0.019436315, 0.06132665, -0.014888302, -0.021953452, 0.030806344, -0.0017814834, -0.017605668, 0.03592643, 0.014888302, 0.019593636, -0.0083952295, 0.022868777, 0.017076496, 0.026301237, -0.05843766, 0.009582289, -0.020180015, 0.009653798, 0.03850078, -0.04327762, 0.03152144, 0.01315777, 0.039816555, -0.0037149247, 0.019135974, -0.018478086, -0.021939151, -0.0077730957, 0.015417473, 0.003368103, -0.019522125, 0.015589097, 0.006854197, 0.018206349, 0.036527112, -0.036183868, 0.038901232, -0.00087733363, 0.012764467, -0.01174903, -0.014387735, 0.0098254215, 0.027402487, 0.0027513325, -0.028932791, -0.012585693, -0.019278994, 0.008016229, -0.009675251, -0.0146451695, -0.04304879, -0.050543, 0.004565889, 0.02349806, 0.0036058724, -0.018921444, -0.060239702, 0.016418608, -0.023212021, -0.02356957, 0.01896435, 0.014087395, -0.012800221, -0.014730982, -0.020137109, 0.02966219, 0.057665356, 0.01591804, -0.03830055, -0.028131884, -0.035525978, -0.051887378, 0.0012540999, -0.023755495, -0.039644934, -0.038557988, -0.011770483, -0.017047893, 0.00628212, 0.070594296, -0.0078446055, 0.010333139, -0.035297148, -0.005331042, 0.0535178, -0.019336201, 0.014373433, 0.030348683, -0.07814571, 0.03435322, -0.0015508649, -0.041046523, -0.026043802, -0.041589994, -0.0064716204, -0.03626968, -0.0056814393, -0.047997255, 0.009038816, 0.0149741145, -0.07202449, -0.038929835, 0.005674288, -0.022997493, -0.0005895074, -0.027717128, 0.0066003376, 0.02572916, -0.023483759, -0.0005425792, -0.009096024, 0.0699078, -0.044650607, -0.022339605, -0.044564795, 0.045623135, -0.03306605, 0.0018261769, -0.011391482, -0.06710462, 0.04201905, 0.0016125418, 0.01538887, -0.0423623, -0.018606802, -0.0052202023, 0.0025457423, -0.02394142, 0.010926669, -0.064873524, 0.027216561, -0.008295116, 0.00876708, -0.019522125, 0.028661055, -0.028446525, -0.03249397, -0.05792279, 0.03852938, -0.054089874, -0.0535178, -0.044507585, 0.01249273, 0.004387115, -0.03784289, 0.03835776, -0.012878883, 0.04184743, -0.0067540836, 0.017877406, 0.04281996, -0.04671008, 0.0010851584, -0.07620065, -0.061669894, -0.009446421, -0.01799182, -0.026258333, -0.038186137, -0.027688524, -0.014001584, -0.00468388, -0.05463335, -0.011727577, -0.016146872, -0.015488983, 0.026944824, -0.013565375, -0.042047657, -0.055205427, 0.009946988, -0.00009866092, 0.0052952874, -0.012692957, -0.02022292, -0.015646305, 0.065731645, 0.084438555, 0.010940972, 0.013029053, 0.027259467, 0.06390099, 0.02587218, -0.01999409, 0.022396812, -0.017405441, 0.07597182, 0.005856638, -0.06847761, -0.00004153703, -0.007551416, -0.0098468745, 0.023483759, -0.055491462, 0.0076372274, 0.0024563554, -0.0011673946, 0.018106235, -0.0039723595, -0.033037443, 0.03649851, -0.044221547, 0.02773143, 0.009310552, 0.07145241, 0.0039652083, 0.015274455, 0.00750851, 0.040760484, -0.039130062, 0.00884574, 0.028088978, -0.028274903, 0.018234953, -0.05657841, 0.060125288, -0.0077587934, -0.03217933, -0.012964694, 0.0022489775, -0.031664457, -0.01204937, -0.020694884, 0.0005609036, -0.0033144709, -0.023240626, -0.016861968, 0.0252858, 0.03821474, 0.014902605, 0.018463783, -0.013515318, -0.010511914, 0.013129166, 0.017062195, 0.012313956, 0.036956172, 0.0037828588, -0.037299417, -0.03189329, 0.047167744, -0.021982057, -0.0071402355, 0.0019575758, 0.03100657, -0.022039264, -0.019093068, 0.000041900166, 0.028046072, -0.028518036, -0.04407853, -0.017906008, -0.007090179, 0.007086603, -0.044221547, -0.041904636, -0.011370029, -0.012321107, 0.02810328, -0.03612666, -0.011656067, -0.0042333696, 0.0060640154, -0.013100562, -0.006028261, -0.05812302, 0.024399081, 0.030920759, 0.020651978, 0.01152735, -0.0024885347, 0.0035665422, 0.027717128, -0.029833812, 0.0075943214, 0.017519856, -0.05489078, 0.038901232, -0.023583872, -0.034925297, 0.0126858065, 0.012371164, -0.04616661, 0.0030802768, 0.01882133, 0.0109695755, -0.00750851, 0.0022328878, 0.026344143, -0.0019200332, 0.042419504, -0.002981951, 0.008287964, 0.0046338234, 0.017820196, -0.012549938, 0.037299417, -0.025328707, 0.013951527, -0.05760815, -0.012385466, 0.03129261, -0.04036003, 0.043077394, -0.018335067, -0.0057708262, -0.0780885, -0.0009796817, -0.02713075, -0.00039374983, -0.0011727577, -0.056835845, -0.01100533, -0.030520305, -0.021252658, 0.0074298494, -0.024441987, 0.025343008, 0.02326923, 0.027559808, -0.056549806, -0.016847666, 0.06155548, 0.005717194, 0.03160725, -0.05091485, -0.0024670819, -0.021982057, 0.042190675, 0.033580918, -0.0073225847, 0.019050162, 0.05494799, 0.04413574, 0.035211336, -0.0007933098, -0.054375913, 0.036755946, -0.032379556, 0.016776156, 0.009689554, 0.00073967763, -0.035411563, 0.0030069794, 0.04296298, -0.011698973, -0.0078231525, 0.023397947, -0.012542787, 0.035583187, 0.011498746, -0.039387498, 0.033580918, 0.01903586, -0.031407025, 0.0038936988, 0.009882629, -0.044707812, 0.02780294, -0.04393551, -0.007930417, 0.010426102, 0.04802586, 0.010848009, 0.02163881, -0.003114244, -0.029690793, -0.03157865, -0.04965628, -0.002127411, -0.0027388183, -0.00095375953, 0.002107746, -0.054518934, -0.000075364434, 0.0020380241, -0.0062928465, 0.012421221, 0.002189982, 0.046595667, -0.018249255, 0.02831781, 0.030091247, 0.0528027, 0.044564795, 0.007622925, -0.027116448, -0.009575138, -0.041904636, 0.02572916, 0.013479563, -0.014087395, 0.027002031, 0.008459588, -0.0013604705, 0.033924162, 0.009861176, 0.024642214, -0.021824736, -0.0054383064, -0.019379107, 0.028675357, 0.04081769, 0.059381586, 0.042562526, 0.0047553894, -0.007465604, 0.01538887, -0.017362535, -0.0009582289, -0.0075800195, 0.025157083, -0.00877423, 0.0022507652, -0.042162072, -0.0068220175, 0.07225332, 0.01806333, -0.023397947, -0.041532785, -0.025943689, 0.007479906, 0.06704742, -0.01940771, -0.031435627, 0.0542901, 0.03441043, -0.04593778, -0.03100657, -0.006164129, 0.036698736, -0.020809298, 0.010182969, -0.0023937845, 0.005159419, -0.0653884, -0.03146423, 0.04499385, 0.009904082, -0.02668739, -0.05926717, 0.05383244, -0.013265034, 0.07843175, -0.03523994, 0.028532337, -0.006686149, 0.033094652, 0.01843518, -0.0012460551, 0.03501111, -0.007108056, -0.006550281, 0.020323034, -0.0030087673, 0.022282397, -0.008860041, 0.009310552, 0.003925878, 0.016390005, 0.022468323, -0.004497955, -0.03850078, 0.028017469, -0.039244477, 0.05612075, 0.008974457, -0.015531889, 0.0019736656, -0.007837454, 0.10177249, 0.042419504, -0.015417473, 0.007873209, 0.015202945, 0.0072510755, -0.037013378, 0.051830173, -0.017219516, 0.005971053, -0.011555954, -0.0076014725, -0.047911443, 0.021738924, -0.022782965, 0.010197272, -0.0010091795, -0.037213605, 0.052745495, 0.00027844057, 0.03160725, -0.0065038, -0.029604983, -0.028017469, 0.029862417, 0.030606117, 0.027674222, 0.01130567, -0.019636542, -0.030005436, -0.0036487782, -0.07122358, -0.012757316, -0.0066575455, -0.002404511, 0.012835977, 0.005888817, -0.013694092, -0.0016599171, 0.016618835, -0.010890915, -0.014559358, -0.0958801, -0.03375254, -0.047081932, 0.0027960262, -0.021524396, -0.0045837667, 0.010104309, -0.0505716, -0.002624403, 0.00053140585, -0.021152545, -0.0081807, -0.021066733, 0.016246986, 0.027602714, 0.04839771, -0.028346412, 0.012442674, -0.032379556, 0.04230509, -0.026215427, 0.009045967, -0.024070138, 0.030062644, -0.026072407, 0.0074155475, -0.03426741, -0.03478228, -0.012578541, 0.010519065, -0.002851446, -0.00064894976, 0.008295116, 0.0013604705, -0.0008326401, -0.00795902, 0.034582052, -0.030177059, 0.0044872286, 0.028446525, 0.020809298, -0.0017367898, -0.007315434, -0.034610655, -0.003747104, 0.014480698, 0.012607146, -0.011234161, -0.017076496, 0.008874344, -0.0005206794, -0.021538697, -0.0070579993, -0.029133018, -0.04193324, -0.023140512, -0.014373433, -0.040102594, -0.009796818, 0.01836367, -0.004347785, -0.050600205, 0.00042123636, 0.058323245, -0.039644934, 0.0129718445, -0.01761997, -0.029461963, 0.01999409, 0.017720083, 0.0010118611, -0.012592844, -0.020723488, 0.027917355, 0.018149141, -0.017076496, -0.014466396, 0.024999762, 0.017219516, 0.009632345, 0.034067184, -0.021853339, 0.0031875412, -0.017448347, -0.011169802, -0.015975248, -0.022268096, -0.032093517, 0.009525081, 0.017977519, -0.043706678, 0.029633585, -0.04179022, -0.053288966, 0.0014149966, 0.0019486371, -0.020923715, 0.03157865, 0.012442674, -0.010469008, -0.027817242, -0.004269124, -0.0044800774, -0.04044584, 0.022997493, 0.01792031, -0.031778876, -0.009832572, 0.013708394, 0.013315091, 0.02550033, 0.0040545953, 0.0067898384, 0.03798591, 0.0156177, -0.00810204, -0.048569333, 0.0026923371, -0.005248806, 0.0011083991, -0.019665144, -0.027688524, -0.024713725, 0.0043191807, -0.042419504, 0.02921883, 0.005524118, 0.010283083, -0.009560836, -0.002073779, 0.024956856, -0.012807373, -0.0028836254, -0.024756629, -0.003148211, -0.013980131, -0.037213605, -0.034896694, 0.00479472, 0.0033037444, 0.007086603, 0.00019788052, 0.038128927, 0.008817136, 0.02580067, 0.022782965, 0.01234256, -0.0086598145, -0.002846083, -0.011091142, -0.01896435, -0.012328258, -0.0018145565, 0.0069149802, -0.019822467, -0.030119851, -0.04021701, -0.03114959, 0.014487849, 0.04705333, -0.004848352, -0.009260495, -0.038844023, 0.00239736, -0.010805103, 0.041961845, -0.010547669, -0.013172071, 0.0062177614, -0.016289892, 0.03561179, -0.004676729, -0.025972294, -0.0067898384, -0.011985012, -0.02119545, -0.007901813, 0.00899591, -0.033495106, -0.03263699, 0.0072010187, 0.03306605, -0.015360266, -0.0028013892, 0.0048876824, -0.003003404, 0.027016334, -0.01866401, 0.019579334, -0.006260667, 0.020051297, -0.015803626, -0.01278592, 0.0011673946, 0.006178431, -0.03295163, -0.006578885, 0.0026977004, 0.015817927, -0.045594532, 0.018377973, -0.01724812, -0.0044693514, 0.0012666141, 0.038758215, -0.01591804, 0.043020185, -0.0121566355, 0.012085126, -0.0230547, 0.018192047, -0.033952765, -0.014773888, 0.007161688, -0.022582738, -0.02349806, 0.03747104, -0.001329185, 0.014673774, 0.0009448208, 0.016704647, -0.0044514737, 0.00063420093, -0.050399978, 0.014266169, -0.01926469, 0.01167752, -0.011591709, -0.0061391005, 0.00012625917, -0.007444151, -0.0065038, 0.011698973, 0.039644934, 0.022554133, -0.008752777, 0.031864684, 0.010383196, -0.01739114, -0.02215368, -0.014874001, 0.026201123, -0.014759585, -0.025114179, -0.014638019, 0.012242447, 0.0029426208, 0.0550052, -0.002617252, 0.027245164, 0.0053846743, -0.037070587, 0.015632002, -0.005999657, 0.0036863207, 0.020709185, -0.039873764, -0.031092383, 0.002781724, -0.02787445, 0.0037077738, -0.00011117511, -0.032894425, -0.0475968, -0.02512848, -0.010197272, -0.023011794, 0.018935747, 0.051172283, -0.05019975, -0.12997589, -0.0140945455, 0.020780696, -0.048569333, 0.0237984, 0.026329841, 0.0029604982, 0.0020791423, -0.023898514, 0.0018753398, -0.009403515, -0.019808164, 0.004408568, -0.012921788, -0.0028746866, -0.05234504, -0.008280814, -0.008037681, 0.021810433, -0.017219516, -0.015746418, 0.010211574, -0.011634615, 0.031864684, -0.032150723, -0.022468323, -0.004991371, -0.00624279, 0.00056537293, 0.026601577, 0.013551072, -0.0077516427, -0.010619178, 0.028975697, -0.012657203, 0.0032679895, 0.0064573186, -0.023598174, -0.046652876, -0.00665397, -0.007529963, -0.03146423, 0.017376836, -0.029833812, 0.01144869, -0.03212212, -0.010919519, 0.0065860357, -0.018621104, -0.027416788, 0.0012353286, -0.023240626, 0.030691927, -0.02580067, 0.016218381, -0.009503628, 0.0017752263, 0.020709185, 0.0059424494, 0.005284561, -0.030005436, 0.009711006, 0.014023036, -0.03738523, -0.029604983, -0.0044729267, -0.022339605, 0.041818824, -0.0304917, -0.020580469, -0.00438354, -0.0215673, -0.014301924, 0.013400902, 0.0026637332, 0.015131435, 0.0013265035, 0.056092143, -0.019236088, 0.026129615, 0.043878302, -0.0015794687, 0.020280128, 0.023326438, -0.015446077, 0.035525978, 0.029862417, -0.029047206, -0.03323767, 0.015274455, 0.035955038, -0.0017233818, 0.009968441, -0.00055688113, 0.007129509, 0.015832229, 0.006110497, -0.010726443, 0.016003853, -0.011985012, 0.02215368, 0.0016429335, -0.018649708, -0.012914637, -0.0038400665, -0.0027960262, 0.04439317, -0.010840858, 0.030291473, 0.0043549356, 0.013386601, -0.011942106, -0.028046072, 0.011477293, -0.011219859, 0.030234266, 0.0046052192, 0.025900783, 0.0163614, -0.013122015, 0.012428371, 0.04261973, 0.012821674, -0.017577063, 0.0115416525, -0.03398137, 0.03189329, -0.0076515293, 0.0012433735, 0.029404756, 0.0077730957, 0.011462992, -0.0036058724, 0.0041725864, -0.012657203, 0.037270814, 0.020880809, -0.020909412, -0.0037971607, 0.03263699, 0.018549595, 0.018535294, 0.018149141, -0.0008907417, 0.023397947, 0.042791355, -0.0045909174, -0.0002712896, -0.042734146, 0.03852938, 0.01129852, -0.00081520964, -0.033723935, 0.009768214, 0.012599994, -0.0032822916, 0.030062644, -0.04914141, -0.0011244888, 0.04645265, -0.034896694, 0.002411662, -0.0023455154, -0.007622925, 0.053431988, 0.026215427, -0.030463098, -0.016819062, -0.0016170113, 0.034696467, -0.018778427, -0.058637887, 0.029547775, 0.04416434, -0.014130301, -0.008195003, -0.017705781, 0.017319629, 0.00750851, 0.0035182731, 0.00044581777, 0.01910737, -0.053260364, 0.014037338, 0.035154127, 0.017863102, 0.005874515, -0.022554133, 0.05085764, 0.024585007, 0.015560493, 0.011698973, 0.044221547, 0.048140276, 0.021982057, -0.018377973, -0.03732802, 0.023297833, -0.0127072595, -0.034667864, -0.035640392, 0.020694884, 0.003471792, -0.03329488, 0.000092012764, -0.017276723, -0.0086383615, -0.022725757, -0.010190121, 0.029404756, -0.005191598, 0.0020880809, -0.013357997, -0.004658852, 0.0146880755, -0.007923266, 0.0038722458, 0.045108266, -0.025514632, -0.024313271, 0.0032358102, -0.0027227288, 0.016332798, 0.037127793, -0.028804075, 0.0044478984, 0.018263556, -0.029490566, 0.0052738343, 0.00891725, -0.024470592, 0.03152144, 0.005302438, -0.01182054, -0.019464917, -0.014087395, 0.011791936, -0.016046759, -0.0000921245, 0.0059138453, 0.037871495, -0.004569465, -0.03501111, -0.024198854, -0.00020067387, -0.049341638, 0.0040402934, 0.0152172465, -0.028732564, -0.029376151, 0.015732115, -0.010275932, 0.032522574, -0.01873552, 0.019436315, -0.01925039, -0.013744148, 0.039816555, 0.04527989, 0.029862417, -0.031864684, 0.029862417, 0.009539383, -0.021166846, -0.012464127, -0.013601129, 0.016246986, -0.0030820644, 0.010383196, -0.015732115, -0.03003404, 0.042791355, -0.0010592362, 0.018492388, -0.029547775, 0.01724812, 0.023683986, -0.012943241, -0.016075362, 0.023455154, -0.022053566, -0.015488983, -0.021009525, 0.006228488, 0.010097158, 0.0047982954, 0.004608795, 0.0009448208, 0.04001678, -0.03040589, -0.000682023, 0.036641527, 0.010068554, 0.008166399, -0.0078016995, -0.013944375, -0.004108228, -0.015531889, 0.020637676, -0.030320078, -0.005946025, -0.0008062709, 0.025843576, -0.044622, 0.007930417, 0.027316675, 0.0152172465, -0.005470486, -0.030892154, -0.032436762, -0.0017984669, 0.02126696, 0.012793071, -0.008902947, -0.057350714, -0.011577407, 0.018420877, -0.0063643563, -0.020523261, -0.020780696, -0.0026065256, 0.0052202023, -0.0035593912, 0.0038007363, -0.010318838, 0.0042476715, 0.013536771, -0.03040589, 0.0011611375, -0.00021408193, -0.006979339, -0.0000069903444, 0.004719635, 0.023169117, -0.035869226, 0.020423148, -0.019064464, -0.017348234, -0.050514393, -0.0086812675, 0.022954587, 0.024070138, 0.037671268, -0.0058280337, -0.029433358, 0.044593398, 0.0109910285, -0.0156177, 0.026258333, -0.012428371, 0.06372937, -0.027645618, -0.060411327, -0.00021821607, 0.013100562, 0.025343008, 0.0003470451, 0.0140945455, -0.0115845585, 0.017748687, -0.0037220756, 0.030691927, -0.016261287, -0.027760034, 0.025457425, 0.03784289, -0.005674288, 0.028160488, 0.0016983534, -0.005717194, 0.028417923, -0.00097163697, 0.011219859, -0.013665488, -0.017434046, -0.023841307, -0.007054424, 0.015145737, -0.012199541, 0.03160725, -0.010848009, -0.014602264, -0.0409035, -0.0045623137, -0.03970214, -0.0033663153, -0.036527112, 0.018606802, 0.0064394413, -0.010304536, 0.032665595, -0.0061247987, 0.001611648, -0.0033448625, 0.0056814393, -0.01524585, -0.009053118, 0.011763332, -0.0061247987, 0.020809298, 0.0008742051, -0.01754846, -0.0071795657, -0.018864237, -0.016289892, -0.005620656, 0.0030230691, -0.005145117, -0.014030187, 0.014788189, -0.026773201, 0.019579334, -0.04476502, 0.017820196, 0.008559701, -0.036898963, -0.011863446, 0.013572525, -0.010368895, 0.038701005, -0.03426741, 0.023226324, -0.035812017, -0.00943927, 0.0072010187, 0.02206787, 0.0015034897, 0.021467187, 0.0030230691, 0.052688286, -0.0017698631, 0.011877747, -0.025171386, 0.008409531, 0.03054891, -0.005452608, 0.011634615, 0.007054424, -0.013837111, 0.009403515, -0.032522574, 0.026944824, 0.057894185, 0.018706916, -0.0058459113, -0.0023258503, -0.0077873976, 0.012385466, 0.0016411458, -0.027245164, -0.010447555, -0.021424282, -0.007672982, 0.015560493, -0.021867642, 0.013322242, -0.046281025, -0.0030016163, 0.022039264, 0.010132913, -0.017047893, -0.020752091, 0.024356175, -0.016833365, -0.008295116, 0.0005881666, -0.027316675, 0.000013785155, -0.022039264, -0.035955038, 0.030177059, -0.018907143, -0.0010181182, 0.01322928, 0.014459245, 0.0011825903, -0.00030704442, -0.024670819, 0.035182733, 0.041618597, -0.0152172465, 0.0023473033, 0.015045623, 0.010955273, 0.026515767, -0.007494208, -0.013772752, -0.034982506, -0.024427686, 0.0081520965, 0.0013989069, 0.009181835, -0.0070150937, 0.014845396, 0.0053560706, 0.00041922514, -0.009560836, 0.0027745732, 0.0024277514, -0.019736655, -0.012735863, 0.025486028, 0.007908964, 0.028861282, 0.03681315, 0.021538697, 0.0178488, -0.01159886, 0.013915772, 0.003443188, 0.0312354, -0.0016482967, -0.017047893, 0.0044729267, 0.08672687, 0.049827904, -0.019665144, -0.0026565823, -0.010740745, -0.0063321767, -0.026115313, -0.0054812124, 0.013815658, -0.014387735, -0.05406127, -0.043392036, 0.0024206005, 0.039215874, -0.0065073753, -0.004022416, -0.0052202023, -0.0064573186, 0.012592844, 0.0080877375, -0.016890572, -0.03984516, 0.0006587824, -0.0033573767, -0.005077183, 0.0038078872, -0.0005841442, 0.008495343, 0.014173206, -0.0029694368, 0.007537114, 0.015031322, 0.0036452028, -0.015589097, 0.035268545, 0.0013711969, 0.030234266, -0.00076783454, -0.0004098395, -0.0006833638, 0.03426741, 0.022625644, 0.01152735, 0.009746761, -0.007165264, -0.012077974, 0.037127793, 0.0053274664, 0.009339157, 0.005813732, -0.025886482, 0.029919624, 0.021123942, 0.01910737, -0.01687627, -0.010461858, 0.015117133, -0.006775536, 0.015689211, 0.014816793, 0.010297385, 0.011198406, 0.017977519, -0.0036416273, -0.0019128823, 0.007054424, 0.0019575758, -0.024070138, 0.000027263042, 0.0023115485, 0.012764467, 0.0065610074, -0.034067184, -0.006357205, 0.012278201, 0.009675251, -0.0058030053, 0.0036309008, 0.03761406, 0.032236535, -0.0022007085, 0.051286697, 0.021252658, 0.019793862, -0.03915867, 0.014902605, -0.015460379, 0.014259018, 0.01829216, -0.013980131, 0.026429955, -0.043821093, -0.009532232, -0.005559873, -0.0042119166, -0.0017850589, -0.022625644, 0.010626329, 0.007479906, 0.0028872008, 0.03881542, 0.018721217, -0.0087241735, -0.0038400665, -0.022396812, 0.0049842205, 0.017705781, -0.0017162309, 0.0081807, 0.01903586, -0.045079663, 0.013515318, -0.009410665, 0.0026673088, 0.016218381, -0.05457614, 0.0132793365, 0.016490119, -0.017233819, -0.011956409, 0.020408845, 0.017634273, -0.019307597, 0.0034145843, 0.027860148, 0.010240178, -0.038014513, -0.0011808026, 0.031950496, 0.000030056386, -0.014366282, -0.01606106, -0.012928939, -0.0031303335, -0.0013801357, 0.030148456, -0.019007256, -0.02773143, 0.026129615, 0.012878883, -0.0019057313, 0.03129261, -0.012821674, 0.025085574, -0.033695333, 0.006446592, -0.014573661, 0.011663219, -0.0018485236, 0.011219859, 0.03040589, 0.021996358, 0.009811119, 0.0048876824, -0.02252553, 0.018149141, -0.031550042, -0.034810882, -0.03598364, 0.02073779, 0.022625644, -0.0011495171, 0.008023379, 0.02863245, 0.02557184, 0.03100657, 0.013894319, 0.014444943, -0.0059746285, -0.015632002, -0.035497375, 0.017891707, 0.0036326887, 0.018120537, 0.009682402, -0.02073779, -0.01322928, 0.025114179, 0.015932342, -0.023683986, 0.011741879, 0.010848009, 0.0014337678, 0.015145737, 0.0058852416, -0.002726304, 0.0155461915, 0.003947331, -0.029748002, -0.0016876269, 0.0078446055, 0.036012243, 0.014831095, -0.036755946, -0.021123942, 0.01352962, -0.018106235, -0.0021166848, 0.011985012, 0.0066289417, 0.0014963388, -0.0008187851, -0.013672639, -0.012800221, -0.009539383, -0.0008339809, 0.0013854989, 0.020380242, 0.03784289, 0.0007218002, -0.004290577, 0.017977519, -0.012421221, 0.0009028089, -0.0060783178, -0.03984516, -0.0006654864, -0.041361164, -0.018206349, -0.02863245, -0.0008339809, 0.0053346176, -0.0138299605, 0.019693749, 0.0084166825 ]
2311.01343
78
# B EXPERIMENTS B.1 Statistics of the Datasets The statistics of the datasets are summarized in Table 3. # B.2 Experiments on T5 Backbone Implementation. We adopt the T5-base model8 as the back- B.2.1 bone, which has 32,128 vocab tokens (the last 28 tokens are empty), where each token is associated with a 768-dimensional vocab em- bedding. Model training generally follows similar steps as the model with GPT-2 backbone described in Section 4.1.2, where we first warm up the content LLM as Eq. (5) for ten epochs. Then, we con- duct the mutually-regularized finetuning as Eqs. (7), (8) for 100 epoch, and conduct finetuning as Eq. (10) for 150 epochs.
2311.01343#78
Collaborative Large Language Model for Recommender Systems
Recently, there is a growing interest in developing next-generation recommender systems (RSs) based on pretrained large language models (LLMs), fully utilizing their encoded knowledge and reasoning ability. However, the semantic gap between natural language and recommendation tasks is still not well addressed, leading to multiple issues such as spuriously-correlated user/item descriptors, ineffective language modeling on user/item contents, and inefficient recommendations via auto-regression, etc. In this paper, we propose CLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and ID paradigm of RS, aiming to address the above challenges simultaneously. We first extend the vocabulary of pretrained LLMs with user/item ID tokens to faithfully model the user/item collaborative and content semantics. Accordingly, in the pretraining stage, a novel soft+hard prompting strategy is proposed to effectively learn user/item collaborative/content token embeddings via language modeling on RS-specific corpora established from user-item interactions and user/item features, where each document is split into a prompt consisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and a main text consisting of homogeneous item tokens or vocab tokens that facilitates stable and effective language modeling. In addition, a novel mutual regularization strategy is introduced to encourage the CLLM4Rec to capture recommendation-oriented information from user/item contents. Finally, we propose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where an item prediction head with multinomial likelihood is added to the pretrained CLLM4Rec backbone to predict hold-out items based on the soft+hard prompts established from masked user-item interaction history, where recommendations of multiple items can be generated efficiently.
http://arxiv.org/pdf/2311.01343
Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li
cs.IR
null
null
cs.IR
20231102
20231108
[ { "id": "2302.13971" }, { "id": "2206.07682" }, { "id": "2308.10053" }, { "id": "2307.02046" }, { "id": "2306.05817" }, { "id": "2205.08084" }, { "id": "2303.14524" }, { "id": "2305.07001" }, { "id": "2303.13835" }, { "id": "2303.18223" }, { "id": "2302.03735" }, { "id": "2305.00447" }, { "id": "2305.08845" }, { "id": "2104.08691" }, { "id": "2308.10837" }, { "id": "2305.06569" } ]
{ "authors": "Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li", "chunk_id": 78, "doc_id": "2311.01343", "primary_category": "cs.IR", "published": 20231102, "source": "http://arxiv.org/pdf/2311.01343", "summary": "Recently, there is a growing interest in developing next-generation\nrecommender systems (RSs) based on pretrained large language models (LLMs),\nfully utilizing their encoded knowledge and reasoning ability. However, the\nsemantic gap between natural language and recommendation tasks is still not\nwell addressed, leading to multiple issues such as spuriously-correlated\nuser/item descriptors, ineffective language modeling on user/item contents, and\ninefficient recommendations via auto-regression, etc. In this paper, we propose\nCLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and\nID paradigm of RS, aiming to address the above challenges simultaneously. We\nfirst extend the vocabulary of pretrained LLMs with user/item ID tokens to\nfaithfully model the user/item collaborative and content semantics.\nAccordingly, in the pretraining stage, a novel soft+hard prompting strategy is\nproposed to effectively learn user/item collaborative/content token embeddings\nvia language modeling on RS-specific corpora established from user-item\ninteractions and user/item features, where each document is split into a prompt\nconsisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and\na main text consisting of homogeneous item tokens or vocab tokens that\nfacilitates stable and effective language modeling. In addition, a novel mutual\nregularization strategy is introduced to encourage the CLLM4Rec to capture\nrecommendation-oriented information from user/item contents. Finally, we\npropose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where\nan item prediction head with multinomial likelihood is added to the pretrained\nCLLM4Rec backbone to predict hold-out items based on the soft+hard prompts\nestablished from masked user-item interaction history, where recommendations of\nmultiple items can be generated efficiently.", "text": "# B EXPERIMENTS B.1 Statistics of the Datasets\nThe statistics of the datasets are summarized in Table 3.\n# B.2 Experiments on T5 Backbone\nImplementation. We adopt the T5-base model8 as the back- B.2.1 bone, which has 32,128 vocab tokens (the last 28 tokens are empty), where each token is associated with a 768-dimensional vocab em- bedding. Model training generally follows similar steps as the model with GPT-2 backbone described in Section 4.1.2, where we first warm up the content LLM as Eq. (5) for ten epochs. Then, we con- duct the mutually-regularized finetuning as Eqs. (7), (8) for 100 epoch, and conduct finetuning as Eq. (10) for 150 epochs.", "title": "Collaborative Large Language Model for Recommender Systems", "year": 2023 }
[ 0.01848741, 0.03175639, 0.097707935, -0.026275724, -0.019024989, 0.002615772, -0.0008965083, 0.037656628, -0.009007696, 0.011472684, 0.0029091449, -0.023246935, -0.039413586, -0.024190973, -0.0122790495, -0.016494442, 0.035270307, -0.025239905, -0.022434013, 0.003930214, -0.02479411, -0.044946697, 0.03131059, 0.034221377, 0.01503905, 0.025934821, 0.024754774, 0.000067350804, 0.018749643, -0.07269093, -0.016127316, -0.017464703, -0.023863183, -0.0037466509, 0.0033123277, 0.024899002, 0.041931022, 0.024741663, 0.015812635, -0.007434299, 0.019011876, -0.023482945, -0.053915057, 0.049378432, -0.026957529, -0.02832114, -0.0025289073, 0.0008092339, -0.022892922, 0.032936435, -0.006995059, 0.050532255, -0.03398537, -0.025856152, -0.0030976248, -0.011944703, -0.020690165, -0.0052905465, -0.0057822326, -0.03167772, -0.004648076, -0.02648551, -0.013609881, -0.014907933, -0.040226508, -0.04623164, -0.0536266, 0.0045169597, -0.0010431948, -0.0091060335, -0.002392874, 0.0055855582, -0.045576055, 0.01212171, -0.004287506, 0.012593729, 0.009650166, -0.0015537292, 0.0029927315, -0.03873178, -0.014370356, 0.03159905, 0.012023373, -0.040908314, -0.006863943, -0.021057291, -0.002940285, -0.02311582, -0.030182993, -0.026931306, -0.00018796763, -0.0012259382, -0.059474394, 0.0083586695, 0.0731105, -0.0350343, 0.0028943943, -0.035191637, -0.011459572, 0.029186508, 0.0064738714, 0.045943182, -0.009256817, -0.0071589546, 0.03023544, -0.0061526364, -0.01695335, -0.029343847, -0.08118727, 0.0016143705, -0.08071525, 0.0042645605, -0.002796057, -0.019864133, 0.005579002, -0.03967582, -0.015668409, 0.022748694, -0.020349264, -0.031074584, 0.0046906886, 0.042586602, 0.0073949643, -0.03466717, -0.00016225653, 0.016743563, 0.080033444, -0.022656912, -0.012029928, -0.015078384, 0.0075260806, -0.027193539, 0.05184342, -0.0037400948, -0.051423848, 0.0021601424, -0.047464132, 0.05312836, -0.03448361, -0.011833254, -0.022355344, -0.029107839, 0.02416475, 0.024348313, -0.058110785, 0.012049596, -0.022040665, 0.07269093, -0.023758288, 0.043163516, -0.0372895, 0.017792493, -0.003625368, 0.011184228, -0.012751069, -0.09938622, -0.052105654, 0.05559335, -0.01240361, -0.039702043, 0.035952114, 0.010036959, 0.069229454, 0.021699762, 0.011269454, 0.079981, -0.06618755, 0.0055462234, -0.07295316, -0.06901967, 0.040541187, -0.008017767, 0.00017649496, -0.02432209, -0.01060076, -0.0045530167, -0.059159715, -0.007847316, -0.0072769597, -0.056747172, 0.008778242, 0.00530038, -0.02615772, 0.052341662, -0.030051876, -0.029396294, 0.026026603, 0.02537102, 0.032674205, -0.01583886, 0.009892731, 0.018356293, 0.06734138, -0.022420902, 0.00085061754, -0.025135012, 0.023758288, -0.013183753, -0.027875343, 0.0601562, -0.0009579691, 0.0138196675, -0.037053492, -0.06734138, 0.0088372445, -0.030025654, -0.028058907, 0.03214974, -0.027114868, -0.026052827, 0.010633539, -0.017045131, 0.009669834, -0.0035434205, -0.06550575, -0.0069622803, -0.06943924, -0.0063263658, 0.018526746, 0.055436008, 0.02440076, -0.00051954866, 0.037394393, 0.029055392, -0.023469834, 0.028373586, -0.019654347, -0.0016586223, -0.013426318, -0.023968076, 0.013570546, -0.03721083, -0.0008370962, -0.0026764132, -0.023889406, 0.02273558, 0.0133410925, -0.026183942, 0.02383696, -0.03319867, -0.007971876, 0.027009975, 0.0052807126, -0.008057102, 0.010115629, 0.027219761, -0.033880476, -0.056432493, 0.01713691, 0.0188152, 0.027586889, 0.010331972, -0.031074584, -0.042298146, -0.014553919, 0.02336494, -0.02552836, 0.0015742162, -0.01607487, 0.0140294535, -0.021948883, 0.019785462, -0.0022420902, 0.040147837, -0.023614062, -0.02479411, -0.021424418, -0.009873064, 0.018893871, -0.06959658, -0.0040383846, 0.0024551544, 0.013898337, 0.0005175, -0.017150024, 0.012187269, -0.023207601, 0.0087323515, -0.012423278, -0.010181188, -0.008581568, 0.008299667, 0.03432627, 0.0063788122, 0.0053200475, -0.005919905, -0.019680569, 0.0251219, -0.0017536817, -0.0077030878, 0.03416893, 0.011079335, 0.018788978, -0.039702043, 0.008896247, 0.010181188, 0.035558764, -0.018500522, -0.0034909737, -0.020834394, 0.0042088362, -0.017176246, 0.005624893, -0.013013301, 0.04025273, 0.019588789, 0.01992969, 0.041249216, -0.0005502791, 0.034352493, -0.030891022, -0.010246745, -0.010856437, 0.026367506, -0.048670404, -0.010489311, 0.024453206, -0.030156769, 0.036371686, -0.04743791, -0.04200969, -0.052472778, -0.025056342, 0.03183506, -0.00062485156, 0.0037204274, -0.047542803, 0.026905082, -0.042848837, -0.008902803, 0.0020486936, -0.008896247, 0.04447468, -0.0021224464, -0.005765843, 0.02336494, -0.016494442, 0.0403314, -0.00043063538, 0.07137976, -0.1111867, 0.0023781236, -0.022997815, 0.034588505, -0.018120285, 0.04536627, 0.014789929, 0.034300048, 0.017058242, 0.0058576246, 0.017307363, -0.050060235, 0.015183277, -0.047333017, 0.02383696, -0.017713824, 0.013531211, -0.033382233, -0.020336151, -0.007113064, -0.035296533, 0.016048646, 0.02976342, 0.019706793, 0.03799753, 0.017713824, -0.0411181, 0.04465824, 0.006850831, -0.028819382, -0.035584986, 0.030156769, -0.030523894, -0.0033205226, -0.04814594, -0.0026042992, 0.036686365, 0.033644464, -0.02968475, 0.011866033, 0.02559392, 0.005523278, 0.0029189787, -0.0070212823, 0.020598384, 0.0066967695, 0.013170641, 0.030786127, -0.042979952, 0.008666793, -0.031939954, 0.0036450357, -0.012351164, -0.009040475, 0.027718004, -0.013367316, 0.00653943, 0.016468218, 0.02176532, 0.0738972, -0.0072900713, -0.052813683, -0.025148124, -0.059264608, 0.041485224, 0.030104322, 0.038626887, 0.026551068, 0.018618528, -0.019641235, 0.0038744893, -0.018566081, 0.024977671, -0.013504988, -0.008929026, 0.007250736, 0.0022765084, 0.023378052, -0.007539192, 0.059736624, -0.031074584, -0.0038023752, -0.014619477, 0.0038220426, -0.051161613, -0.0070081707, -0.016586224, 0.015812635, -0.0046349643, 0.024912113, 0.010548313, 0.03319867, 0.0140294535, 0.017399145, -0.029029168, -0.023968076, 0.02424342, 0.054911543, -0.01176114, 0.01728114, 0.0128625175, -0.023338716, 0.009348598, -0.015261947, -0.030707458, 0.023600949, -0.040095393, -0.01831696, -0.0029206176, -0.048670404, -0.0056478386, -0.03304133, -0.012737957, 0.010777767, 0.010397529, -0.012639619, 0.043897767, 0.01784494, 0.104840666, -0.017989168, 0.043451972, -0.01920855, -0.0137147745, -0.011236674, 0.00089896674, 0.018225178, 0.024715438, -0.02273558, 0.031939954, -0.0571143, 0.029002944, -0.008706128, 0.0025223515, -0.051659856, 0.0038253206, -0.010620427, 0.0032418526, 0.014042565, 0.008489786, -0.015353729, 0.06256874, -0.042612825, -0.014095012, 0.015904417, 0.009938622, 0.11590689, 0.030812351, -0.031048361, 0.037420616, -0.009945178, -0.022919144, -0.024426984, 0.020205036, -0.014370356, 0.03568988, -0.028688265, -0.032254633, -0.0502438, 0.0057232305, -0.020100143, 0.037001044, 0.024125416, -0.0049988125, 0.043714203, -0.0049824226, 0.021529311, 0.015104608, 0.013085416, 0.009374822, 0.042062137, -0.010515534, -0.036791258, 0.031572826, -0.0077620903, -0.0001264044, 0.00980095, -0.017871164, 0.0038613777, -0.010659763, 0.032516863, -0.013255867, 0.007263848, -0.025646366, -0.025725035, -0.0065951543, -0.06697425, -0.025790593, -0.115487315, -0.008266889, -0.034876958, 0.00096780283, -0.033959143, -0.008745463, -0.0369486, -0.03314622, 0.013649216, 0.022748694, 0.005182375, -0.030759905, 0.009538718, 0.009355154, 0.03799753, 0.020244371, -0.018867647, 0.004248171, -0.028268693, 0.046074297, -0.019824797, -0.0120692635, -0.0005814192, 0.04017406, -0.02576437, 0.0103778625, -0.036188122, -0.05417729, -0.021214632, 0.014855486, -0.0097943945, 0.015275059, -0.002214228, 0.009243705, 0.011551354, 0.04248171, 0.013183753, -0.053259477, 0.0019388836, 0.0090470305, -0.009322375, 0.013596769, -0.011636579, -0.018264513, -0.01848741, 0.022853587, -0.019588789, -0.028504703, -0.0025371022, 0.020309929, -0.0011898812, 0.000635095, -0.0030189548, -0.023299381, -0.017726935, -0.030943468, 0.03416893, -0.06728893, 0.019877244, 0.01168247, 0.027009975, -0.02832114, 0.021896437, 0.027009975, 0.0030058431, 0.019247886, -0.0137147745, -0.024453206, 0.0065361517, 0.015655296, -0.014763705, -0.02424342, 0.015445511, 0.017425368, -0.0055003325, 0.0070147268, 0.009571496, -0.045628503, 0.029946983, -0.010613872, 0.032831542, 0.009866508, 0.003959715, 0.025082564, 0.018985653, -0.019352779, -0.014514584, -0.010272969, 0.0045104036, -0.024715438, -0.017477814, 0.013740998, -0.025803706, 0.014186793, 0.016022423, -0.006598432, -0.015983088, -0.012351164, 0.014409691, -0.010200855, -0.0129674105, -0.013019857, 0.032674205, -0.03734195, 0.002030665, 0.04848684, -0.0042547267, -0.03359202, -0.0001707586, 0.00624114, 0.011282565, -0.0076965317, -0.026013492, 0.0042350595, -0.009033919, -0.023732066, -0.018893871, 0.009807506, -0.007034394, -0.0055855582, 0.01753026, -0.023456722, -0.03479829, 0.0026026603, -0.037394393, 0.03398537, 0.037656628, 0.0033336342, -0.017871164, -0.0207295, -0.030156769, 0.017490925, 0.014947268, -0.036450356, 0.033959143, 0.006824608, -0.00987962, 0.0069885035, 0.029789643, 0.026210167, 0.0146457, 0.02184399, 0.0006449287, 0.000037414266, 0.0051889312, 0.0201657, 0.007519525, 0.02112285, -0.027324656, -0.019969026, -0.035217863, 0.022761805, 0.054124843, -0.01400323, 0.011708694, -0.043478195, -0.029134061, 0.01111867, -0.0073097385, 0.025266128, -0.01680912, 0.020991733, -0.0046152966, 0.027534442, -0.02232912, -0.018998764, -0.007519525, -0.030104322, -0.029658526, -0.019405225, 0.039413586, -0.011898812, 0.015655296, -0.004277672, 0.0097353915, 0.0040941094, -0.015694631, -0.024518764, 0.008948693, -0.020860618, 0.021555534, 0.025829928, -0.04696589, -0.041616343, 0.020991733, -0.038207315, 0.0026026603, 0.0038056532, 0.020585272, 0.009623943, 0.036738813, -0.021175297, -0.015419288, -0.022250451, 0.029579857, 0.023718955, 0.021581758, 0.007329406, -0.017399145, 0.0029091449, -0.013478764, -0.031048361, 0.008620903, 0.0031058195, 0.050820712, -0.0027681948, 0.0077817575, -0.0049922564, 0.0096895015, -0.012770737, 0.008614346, -0.031336818, -0.014304798, 0.0016545249, -0.013675439, -0.01975924, 0.023010926, 0.014370356, 0.023142042, -0.0013349287, 0.032543086, -0.00011103919, -0.05105672, -0.033749357, 0.011518574, -0.026551068, -0.022302898, 0.009787838, -0.00530038, 0.031179477, -0.016782898, -0.017582707, 0.021188408, 0.025502138, 0.00034274644, 0.01036475, 0.0068114963, -0.0027878622, -0.01648133, -0.03471962, 0.0012644536, 0.002394513, 0.0011390736, -0.0053856056, -0.025003895, 0.018421853, 0.0055658906, 0.092305936, -0.015760189, 0.019247886, 0.008116105, -0.000834228, -0.010181188, -0.041485224, 0.022630688, 0.012285605, -0.0064443704, -0.010653206, 0.0011030167, -0.0023060094, 0.06120513, -0.041170545, -0.04376665, -0.030759905, -0.0033238004, -0.0031369596, 0.0036188122, 0.038758006, 0.032595534, -0.008856912, -0.124717906, -0.041170545, 0.00046874108, -0.04208836, 0.0029681472, -0.015825748, 0.01536684, 0.022119334, -0.028478479, -0.01753026, 0.0032254632, -0.021162186, 0.007427743, -0.014606366, 0.008607791, -0.05401995, -0.00067893707, 0.0075719715, 0.009617387, -0.023653395, 0.002319121, 0.023207601, -0.007539192, 0.0058969595, -0.049745556, -0.020742612, -0.0017930166, -0.02407297, 0.00031119655, 0.048355725, -0.013393539, 0.017097577, 0.022696247, 0.02408608, -0.013242755, 0.018566081, 0.004900475, -0.010967886, 0.00552, 0.0046611875, -0.0150914965, -0.029579857, 0.00840456, -0.021031069, 0.023509169, -0.025725035, -0.011925035, 0.0016897625, -0.01600931, -0.0035499763, 0.011898812, 0.013052637, 0.0041531115, 0.023496056, 0.04088209, -0.016428884, 0.015065273, -0.007768646, 0.029343847, -0.0018815201, 0.020847505, 0.031939954, -0.006654157, -0.050506033, -0.025266128, -0.005152874, 0.016546888, 0.036371686, -0.03511297, -0.02537102, -0.032438193, -0.021555534, -0.0021945606, -0.0049561993, -0.028530926, 0.012705178, 0.0078079808, 0.052866127, -0.0031894061, 0.0015766745, 0.04080342, -0.017464703, -0.004903753, 0.02040171, -0.0312057, 0.023587838, 0.013898337, -0.009433824, -0.022027554, 0.019680569, 0.0380762, 0.01991658, -0.016284656, 0.0067983847, 0.005883848, -0.021149073, -0.0018569358, 0.008194774, -0.0086274585, -0.005408551, 0.023456722, 0.0035401424, -0.036450356, 0.003087791, -0.0065918765, -0.010574536, 0.0034745843, -0.011938147, -0.010358195, -0.06272608, 0.016612446, 0.00028374407, 0.0070212823, -0.012410166, -0.04840817, 0.02457121, 0.06959658, 0.033460904, 0.018172732, -0.012062708, 0.0025108787, 0.026747743, 0.008489786, 0.011053111, 0.004903753, -0.023784513, 0.007519525, 0.010817102, -0.006824608, -0.0068377196, 0.020047696, 0.009774727, -0.011944703, -0.0009850118, 0.027875343, 0.016494442, 0.0076965317, -0.005120095, 0.02479411, 0.008457007, -0.016927125, 0.01332798, -0.0062345844, -0.028766936, 0.026524846, -0.0016299406, -0.014750593, -0.03183506, -0.0076506413, 0.029553633, 0.02672152, 0.010817102, -0.026747743, 0.019116769, 0.025344798, 0.0050217574, 0.007519525, -0.022932256, 0.005297102, 0.022827363, -0.013767221, 0.016323991, -0.0028566984, -0.01776627, 0.04649387, -0.011787363, -0.009938622, -0.004182613, -0.0020568883, 0.041590117, -0.023089595, 0.023260048, 0.030287886, 0.03096969, 0.02808513, 0.013990118, -0.020349264, -0.00083668646, 0.010036959, 0.010168076, 0.01328209, 0.009977957, -0.017163135, 0.0040580523, 0.018395629, -0.014186793, 0.011866033, 0.028950498, 0.0069229454, 0.032700427, 0.0045562945, 0.0022257008, 0.03663392, 0.050768264, 0.023574727, -0.03367069, 0.012698622, 0.0075719715, -0.022066887, -0.02160798, 0.010856437, -0.004166223, -0.0141343465, -0.01792361, -0.0120692635, 0.02800646, -0.009787838, -0.021096626, 0.008693016, 0.03967582, -0.0007231888, 0.022538908, -0.0033336342, 0.004402233, -0.034850735, -0.03398537, 0.023889406, 0.05417729, -0.017005796, 0.0132361995, -0.027665557, -0.03398537, 0.0024912113, 0.00377943, -0.008227553, 0.032936435, 0.037551735, -0.0137147745, -0.0073162946, 0.027193539, -0.0113809025, 0.003232019, -0.0031336816, -0.002173254, 0.009460047, 0.032988884, -0.0084635625, -0.029265178, -0.015025938, -0.0030992636, -0.0062575294, 0.004110499, 0.0041563893, -0.037551735, 0.0027485273, -0.017084464, 0.003930214, 0.015052161, -0.025803706, -0.011138337, 0.024676105, 0.00980095, 0.020834394, -0.003477862, 0.050165128, -0.004533349, 0.011741472, 0.044841804, 0.020572161, 0.013675439, -0.01895943, 0.03280532, 0.0035499763, -0.016874678, 0.0112760095, 0.0042842277, -0.0017356531, -0.0062608076, -0.01640266, 0.007958765, -0.023155155, 0.030130547, 0.00595924, 0.016507553, 0.0014980048, 0.002361734, 0.022670023, -0.03846955, -0.017294252, 0.028688265, -0.0035696437, -0.023954963, 0.014042565, -0.031074584, 0.011643135, -0.005261045, -0.0196019, -0.012495392, 0.03096969, 0.0049922564, 0.0033860807, 0.02808513, 0.011472684, -0.0111711165, 0.029474964, 0.0031500713, 0.0056806174, 0.019077435, 0.024662992, -0.07137976, 0.00065476244, -0.0007334323, 0.032254633, -0.037892636, 0.02369273, 0.009912399, 0.038443323, -0.031048361, -0.008207886, 0.002432209, 0.000122307, 0.010207411, -0.00566095, 0.00016051513, -0.0138196675, -0.014763705, 0.04030518, -0.018867647, -0.01312475, -0.006752494, 0.006106746, -0.012193824, -0.022761805, -0.011020333, -0.016507553, -0.009623943, 0.032543086, -0.03288399, 0.002437126, 0.0019421615, 0.025226792, -0.006578765, 0.00936171, 0.01952323, -0.025502138, -0.018461186, -0.01472437, -0.00048635984, -0.0132361995, -0.0022257008, 0.028504703, 0.0380762, 0.013118194, -0.027193539, -0.0061198575, 0.022945369, 0.0015209501, -0.0037958194, 0.012803515, -0.015747078, 0.054229736, -0.029474964, -0.060261093, 0.00072482775, -0.004271116, 0.001852019, 0.013688551, -0.011977482, -0.032516863, 0.03327734, -0.015878195, -0.0020077196, -0.021909548, -0.00732285, 0.048906412, 0.051817197, -0.0080439905, -0.007113064, 0.037315723, -0.016835345, 0.029894536, 0.034300048, -0.0019356057, -0.013531211, 0.0026042992, -0.00887658, -0.01977235, -0.00840456, 0.015130831, 0.032988884, 0.0025567696, -0.038312208, -0.02496456, 0.014317909, 0.0027550831, 0.00065271376, -0.03448361, 0.024912113, -0.01718936, -0.017307363, 0.027875343, 0.040226508, 0.011525131, -0.019562565, -0.004382565, -0.011033444, -0.023482945, 0.00915848, -0.002907506, 0.019575676, 0.02239468, -0.008017767, -0.05370527, -0.0066705463, 0.020624608, -0.030051876, -0.0052380995, 0.021188408, 0.011898812, 0.019575676, -0.0027714726, -0.015878195, -0.0146457, 0.008312779, -0.015275059, -0.043740425, -0.0054642754, -0.0097943945, -0.00021572743, 0.013780332, -0.0037073158, -0.0038908788, -0.03359202, -0.018028503, 0.023745177, 0.00887658, 0.017438479, -0.00972228, 0.007585083, 0.035191637, -0.035086744, -0.0070212823, -0.013963895, -0.0046677436, 0.0071589546, -0.007191734, 0.011190783, 0.002356817, 0.004503848, 0.0014357244, 0.01936589, 0.029212732, 0.019890357, 0.049404655, -0.0009006057, -0.0062345844, -0.013531211, -0.016822232, 0.013373871, -0.010889216, 0.0029812588, -0.010941663, -0.031651497, -0.006604988, -0.019654347, -0.03658147, -0.036922373, -0.0007842399, 0.032543086, 0.031179477, -0.007952209, 0.0040941094, 0.007735867, -0.0024387648, 0.015432399, 0.016717339, -0.03495563, 0.007853871, -0.021358859, -0.016271543, 0.02369273, -0.0033926365, 0.0032057958, 0.0065459856, 0.022788027, 0.00076006533, 0.0098992875, -0.01728114, -0.0039072684, -0.001996247, -0.014894822, 0.007775202, 0.0010218883, -0.0068114963, 0.06193938, 0.009165036, -0.0076506413, -0.00920437, -0.049876675, 0.015537292, 0.0021994773, 0.021267079, 0.0058379574, -0.012659287, 0.013963895, -0.0184743, 0.013740998, -0.021358859, -0.02839981, -0.0056314487, -0.0029714252, -0.02800646, -0.0028058907, 0.011630024, 0.008699573, -0.008155439, 0.012357719, -0.013977007, 0.0030304275, 0.0015176722, 0.027350878, 0.00022515142, -0.018539857, 0.020100143, 0.038364656, 0.019064322, -0.017333586, 0.0057625654, 0.0016619002, -0.021660427, 0.023063373, 0.006995059, -0.006542708, 0.008548789, -0.036843706, -0.047149453, 0.014068788, 0.03128437, -0.024020523, -0.009774727, 0.010063183, 0.009820618, 0.00081701897, -0.0057199523, -0.03865311, -0.011138337, -0.0025305464, -0.0062542516, -0.03592589, -0.030864798, 0.003156627, 0.0027731117, 0.024951449, -0.015747078, -0.0012587173, 0.016140427, 0.018448075, 0.0026714965, 0.015655296, -0.036660142, -0.024912113, -0.0017864608, -0.015550404, -0.0021683373, 0.015694631, 0.034903184, -0.0077227554, 0.0030648455, -0.035952114, 0.0059297387, 0.019733015, -0.021476865, -0.007539192, -0.020336151, 0.0063001425, -0.003664703, 0.0031779334, -0.019103657, -0.010030404, -0.032621756, 0.03144171, 0.014789929, 0.01176114, 0.0050283135, -0.030287886, -0.0044350117, 0.014829263, -0.026105274, -0.0030222328, 0.01663867, -0.025056342, -0.03776152, 0.0048447507, 0.0411181, 0.012593729, -0.013386983, -0.014396579, 0.005152874, 0.053967506, 0.02839981, -0.026262613, -0.014396579, -0.014698147, 0.00139557, 0.002687886, 0.05118784, -0.00048144298, 0.018684085, -0.048985083, 0.025803706, -0.026223278, -0.0027665559, -0.032123514, -0.020349264, 0.0059330165, -0.022525795, -0.010436865, 0.023194488, -0.011046556, -0.010626983, -0.027849121, -0.020663943, -0.0056019477, -0.02008703, 0.04617919, 0.021358859, -0.00972228, -0.008247221, -0.044527125, 0.011630024, -0.0007821912, -0.013780332, -0.02407297, -0.013963895, 0.0038285984, 0.010980997, 0.005815012, 0.007080285, 0.017556485, -0.045969404, 0.0046513537, -0.02383696, 0.015314394, -0.02143753, 0.035296533, 0.016599335, -0.0020814727, 0.020690165, 0.021371972, 0.02440076, -0.023076484, 0.015143943, 0.037499286, -0.021135962, 0.0088372445, 0.009446936, -0.020060807, -0.007034394, -0.0034286936, 0.010581093, -0.03288399, -0.013845891, 0.02217178, -0.020611497, 0.017608931, 0.02832114, 0.017320475, 0.036765035, 0.00072523754, 0.00055765436, -0.023456722, -0.011813587, 0.00045767814, -0.005477387, 0.021791544, 0.026380617, 0.0060018525, 0.054282185, -0.01823829, 0.031808835, -0.011990594, -0.002941924, -0.017032018, 0.022552019, 0.06492884, 0.00995829, -0.015432399, 0.031730168, 0.02855715, 0.017333586, 0.0051725414, 0.05753387, 0.005916627, -0.0007994002, -0.020860618, -0.02272247, -0.0039466033, 0.027350878, 0.026144607, -0.021057291, -0.023928741, -0.01300019, 0.03568988, -0.018631639, -0.008391449, 0.0100041805, -0.012410166, 0.005306936, -0.012626508, 0.007086841, 0.010935106, 0.022053776, 0.017949833, -0.00638209, 0.02839981, 0.015445511, 0.022512684, -0.0019044655, -0.041144323, -0.021017957, 0.00086454867, 0.003992494, 0.058110785, -0.011492351, 0.0052807126, -0.001920855, 0.020257482, -0.025633253, 0.017477814, -0.00026592042, -0.011407126, 0.009394489, 0.022355344, 0.0028222802, 0.0030271497, -0.010994109, -0.0019536342, -0.011282565, 0.006391924, 0.022027554, 0.022119334, -0.0028632542, -0.021961994, -0.044264894, -0.015629074, -0.010620427, -0.0031844892, 0.021857101, 0.0012546199 ]
2311.01343
79
B.2.2 Results & Analysis. The experimental results are summa- rized in Table 4. We can find that although CLLM4Rec with T5 back- bone generally outperforms ID-based and shallow LM-based base- lines, its performance is consistently worse than CLLM4Rec with GPT-2 backbone. The overall inferior performance of CLLM4Rec with T5 backbone can be two-fold. First, we note that the vocab embeddings in T5 are initialized with unit variance, whereas embed- dings in GPT-2 are initialized with a variance of 0.02. Therefore, the weights and embeddings in T5 has much larger numerical values, which leads to large update steps when errors are backpropagating from the outputs to the prompts. Therefore, the training is not as stable as the GPT-2 backbone. In addition, in the finetuning stage of the original T5 model, the prompts are generally used to guide the macro behavior of the model. e.g., changing the model behavior from question answering to machine generation via prompt "trans- late English to French". Therefore, another reason for the inferiority of T5 backbone could be the mismatch between the original T5 prompts and the prompts intended to be used in CLLM4Rec. 8https://huggingface.co/t5-base.
2311.01343#79
Collaborative Large Language Model for Recommender Systems
Recently, there is a growing interest in developing next-generation recommender systems (RSs) based on pretrained large language models (LLMs), fully utilizing their encoded knowledge and reasoning ability. However, the semantic gap between natural language and recommendation tasks is still not well addressed, leading to multiple issues such as spuriously-correlated user/item descriptors, ineffective language modeling on user/item contents, and inefficient recommendations via auto-regression, etc. In this paper, we propose CLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and ID paradigm of RS, aiming to address the above challenges simultaneously. We first extend the vocabulary of pretrained LLMs with user/item ID tokens to faithfully model the user/item collaborative and content semantics. Accordingly, in the pretraining stage, a novel soft+hard prompting strategy is proposed to effectively learn user/item collaborative/content token embeddings via language modeling on RS-specific corpora established from user-item interactions and user/item features, where each document is split into a prompt consisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and a main text consisting of homogeneous item tokens or vocab tokens that facilitates stable and effective language modeling. In addition, a novel mutual regularization strategy is introduced to encourage the CLLM4Rec to capture recommendation-oriented information from user/item contents. Finally, we propose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where an item prediction head with multinomial likelihood is added to the pretrained CLLM4Rec backbone to predict hold-out items based on the soft+hard prompts established from masked user-item interaction history, where recommendations of multiple items can be generated efficiently.
http://arxiv.org/pdf/2311.01343
Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li
cs.IR
null
null
cs.IR
20231102
20231108
[ { "id": "2302.13971" }, { "id": "2206.07682" }, { "id": "2308.10053" }, { "id": "2307.02046" }, { "id": "2306.05817" }, { "id": "2205.08084" }, { "id": "2303.14524" }, { "id": "2305.07001" }, { "id": "2303.13835" }, { "id": "2303.18223" }, { "id": "2302.03735" }, { "id": "2305.00447" }, { "id": "2305.08845" }, { "id": "2104.08691" }, { "id": "2308.10837" }, { "id": "2305.06569" } ]
{ "authors": "Yaochen Zhu, Liang Wu, Qi Guo, Liangjie Hong, Jundong Li", "chunk_id": 79, "doc_id": "2311.01343", "primary_category": "cs.IR", "published": 20231102, "source": "http://arxiv.org/pdf/2311.01343", "summary": "Recently, there is a growing interest in developing next-generation\nrecommender systems (RSs) based on pretrained large language models (LLMs),\nfully utilizing their encoded knowledge and reasoning ability. However, the\nsemantic gap between natural language and recommendation tasks is still not\nwell addressed, leading to multiple issues such as spuriously-correlated\nuser/item descriptors, ineffective language modeling on user/item contents, and\ninefficient recommendations via auto-regression, etc. In this paper, we propose\nCLLM4Rec, the first generative RS that tightly integrates the LLM paradigm and\nID paradigm of RS, aiming to address the above challenges simultaneously. We\nfirst extend the vocabulary of pretrained LLMs with user/item ID tokens to\nfaithfully model the user/item collaborative and content semantics.\nAccordingly, in the pretraining stage, a novel soft+hard prompting strategy is\nproposed to effectively learn user/item collaborative/content token embeddings\nvia language modeling on RS-specific corpora established from user-item\ninteractions and user/item features, where each document is split into a prompt\nconsisting of heterogeneous soft (user/item) tokens and hard (vocab) tokens and\na main text consisting of homogeneous item tokens or vocab tokens that\nfacilitates stable and effective language modeling. In addition, a novel mutual\nregularization strategy is introduced to encourage the CLLM4Rec to capture\nrecommendation-oriented information from user/item contents. Finally, we\npropose a novel recommendation-oriented finetuning strategy for CLLM4Rec, where\nan item prediction head with multinomial likelihood is added to the pretrained\nCLLM4Rec backbone to predict hold-out items based on the soft+hard prompts\nestablished from masked user-item interaction history, where recommendations of\nmultiple items can be generated efficiently.", "text": "B.2.2 Results & Analysis. The experimental results are summa- rized in Table 4. We can find that although CLLM4Rec with T5 back- bone generally outperforms ID-based and shallow LM-based base- lines, its performance is consistently worse than CLLM4Rec with GPT-2 backbone. The overall inferior performance of CLLM4Rec with T5 backbone can be two-fold. First, we note that the vocab embeddings in T5 are initialized with unit variance, whereas embed- dings in GPT-2 are initialized with a variance of 0.02. Therefore, the weights and embeddings in T5 has much larger numerical values, which leads to large update steps when errors are backpropagating from the outputs to the prompts. Therefore, the training is not as stable as the GPT-2 backbone. In addition, in the finetuning stage of the original T5 model, the prompts are generally used to guide the macro behavior of the model. e.g., changing the model behavior from question answering to machine generation via prompt \"trans- late English to French\". Therefore, another reason for the inferiority of T5 backbone could be the mismatch between the original T5 prompts and the prompts intended to be used in CLLM4Rec.\n8https://huggingface.co/t5-base.", "title": "Collaborative Large Language Model for Recommender Systems", "year": 2023 }
[ 0.026780272, 0.026711214, 0.09844754, 0.023147877, -0.00040333552, 0.024238976, 0.033423547, 0.028396202, -0.026545478, 0.02916964, -0.0036323937, -0.02607589, -0.042483814, 0.003988037, -0.03607533, -0.034417965, 0.042069472, -0.06093582, -0.032042406, 0.050383925, -0.0049513807, -0.031655688, 0.011194126, 0.042511437, -0.0027743615, -0.019902203, 0.00009684153, 0.00062453345, -0.0019249615, -0.029694473, 0.0016461442, -0.020717073, -0.024860488, 0.0015753609, -0.026324496, 0.021932475, 0.020827565, 0.037511714, 0.0046647945, 0.012955077, -0.03248437, -0.0026517855, -0.02457045, 0.017319474, -0.014598631, -0.008846191, 0.007858677, -0.00048339838, -0.025578681, 0.0097232135, -0.022609234, 0.046019528, -0.019156387, 0.0073959953, -0.016739396, -0.031628065, 0.0072855046, -0.04425167, 0.027512275, -0.020730885, -0.0029021169, -0.029804964, 0.0049962676, -0.037373602, -0.03278822, -0.0441688, -0.044500276, 0.0012024535, 0.042621925, 0.017029434, -0.02288546, -0.023727955, 0.00063187076, -0.02647642, -0.024957169, 0.05844977, 0.03836802, 0.0006810738, 0.02476381, -0.03126897, 0.021946287, 0.021808174, 0.018755857, -0.033202562, 0.006001046, -0.009018833, -0.004112339, -0.01218164, -0.04554994, -0.056074213, -0.039196704, 0.0034718362, -0.030716514, 0.022194892, 0.05565987, -0.039500553, -0.0011092267, -0.055880856, -0.0174714, 0.042594302, -0.0150544075, 0.025219584, -0.018603932, -0.029418245, 0.08010602, 0.0014812708, -0.026600722, -0.032208145, -0.0765703, 0.021518134, -0.06762053, 0.00001568617, -0.042014226, -0.0069264085, 0.024335656, -0.04571568, -0.057400107, 0.02157338, -0.026324496, -0.02537151, 0.00046354454, 0.06833872, -0.010448311, -0.05723437, 0.012154017, -0.009626534, 0.10120981, -0.032291014, 0.001857631, -0.005555629, -0.0007013593, -0.011946846, 0.02867243, 0.0050653247, -0.046461493, 0.024846677, -0.046130016, 0.036102954, -0.024197543, -0.043699216, -0.05554938, -0.032235768, -0.0135213435, 0.020523714, -0.051875554, 0.005182721, -0.020109374, 0.020869, -0.030357419, 0.030385042, -0.023437917, -0.01548256, -0.043533478, 0.008804756, -0.03806417, -0.07833816, -0.01609026, 0.021089982, -0.0144467065, -0.050218187, 0.006204764, -0.004074358, 0.001531337, 0.02167006, 0.022802593, 0.021601003, -0.01658747, 0.007989885, -0.07264787, -0.04784263, 0.036821146, -0.0282719, -0.047980744, -0.012457867, -0.038091794, -0.024777621, -0.026973631, -0.0135213435, -0.034915175, -0.047870252, -0.010151367, 0.036323935, -0.007067975, -0.0053553637, -0.061377786, 0.021449078, 0.006087367, 0.029998323, 0.0024066335, 0.015427315, -0.009087889, 0.022650668, 0.1136953, -0.017526645, -0.034694195, 0.019335935, 0.063587606, 0.004941022, -0.021725304, 0.020413224, 0.00057835167, 0.03516378, -0.021697681, -0.0479255, 0.0039017156, -0.03126897, -0.019805523, 0.015151087, -0.05701339, 0.02037179, 0.02787137, -0.03784319, 0.03287109, 0.0019698485, -0.057842072, 0.008756417, -0.046212886, -0.0061495183, 0.021393832, 0.07949832, 0.05452734, 0.0134039465, 0.03624107, 0.021200472, -0.050881132, 0.005186174, 0.034141738, -0.028423825, -0.021601003, -0.037622206, 0.027208423, -0.008680454, -0.0034511192, -0.024901923, 0.007720563, -0.0011791468, 0.015123464, -0.00859068, 0.0103309145, -0.022250138, -0.009308872, 0.022650668, 0.040964562, -0.006125348, 0.0007423618, 0.011801827, -0.018148158, -0.07690178, 0.05342243, 0.036434427, 0.023907503, 0.015413503, -0.022443498, -0.026531667, -0.03314732, 0.042014226, -0.0035667897, -0.013031039, -0.006798653, -0.011256277, -0.041931357, 0.022125835, 0.012409528, 0.034141738, -0.003224958, -0.028050918, -0.020744696, -0.0053760805, 0.008784039, -0.029501114, -0.0023738313, -0.0361582, 0.007541015, -0.0019663956, -0.02006794, -0.03455608, 0.011504882, 0.0016349225, -0.020648018, 0.025261018, -0.020565148, 0.0068400875, 0.0073476555, 0.020634206, -0.012568358, -0.00027147998, -0.0023254915, 0.0014044449, 0.0014225724, -0.021338586, 0.011974469, -0.022913083, 0.033313055, -0.03245675, -0.042621925, 0.03328543, 0.025923965, 0.009205286, 0.013017228, 0.017540457, 0.00067546294, -0.009502231, -0.00863902, -0.015717354, 0.00993729, 0.038036548, 0.00024536785, -0.0015874458, -0.01748521, 0.035605744, -0.04394782, 0.037539337, 0.0011653354, 0.03784319, -0.02586872, -0.015910713, 0.025426755, -0.057289615, 0.0220844, -0.053311937, -0.041599885, -0.06634988, -0.014211913, 0.014336215, 0.0094331745, -0.000667694, -0.030274551, -0.0010729718, -0.040384483, -0.015717354, 0.012050431, -0.026573101, 0.036213446, 0.006156424, -0.017650947, 0.024404714, -0.03085463, 0.058173545, 0.02787137, 0.038478512, -0.07496818, 0.0009037824, 0.01647698, 0.049389504, -0.021214284, 0.013459193, 0.030992743, 0.030025946, 0.04403069, 0.032291014, 0.02437709, -0.024059428, 0.044804126, -0.027125556, 0.04737304, 0.029639227, -0.0047511156, -0.019819334, -0.008597585, 0.00077689026, -0.011290805, 0.022830216, 0.006415387, 0.014722934, 0.0497486, 0.057455353, -0.052262273, 0.02307882, 0.015303012, -0.029583981, -0.031904295, -0.00136819, -0.0023082274, 0.00838351, -0.067841515, 0.0015416956, 0.0054865717, 0.022015344, -0.0064844443, 0.04115792, 0.010510462, -0.027622765, -0.011677524, -0.013652552, 0.019764088, 0.026407363, 0.019349746, 0.0103032915, -0.06275892, 0.024708563, -0.043036267, 0.0071335793, -0.03654492, 0.022153458, 0.022871649, 0.006460274, -0.0010850568, 0.040108256, 0.052510876, 0.07999553, 0.019943636, -0.031572822, -0.026421174, -0.04444503, 0.013162248, -0.02277497, 0.027097933, 0.014847237, 0.0051516457, -0.048698936, 0.044610765, -0.018203402, 0.015095841, -0.037014507, -0.012810057, -0.025689172, 0.02017843, 0.022333005, 0.03096512, 0.059112716, -0.014861048, -0.021145226, -0.016007392, -0.017954798, -0.011525599, 0.0031766181, -0.0070783338, -0.013376324, -0.011069823, 0.008431849, -0.016463168, 0.054472093, 0.02647642, -0.015399692, -0.014750557, -0.011111258, -0.004115792, 0.03607533, -0.021034736, -0.0025602852, 0.021324774, 0.0091431355, -0.02347935, -0.01248549, -0.01718136, 0.021794362, -0.025979212, -0.008480189, -0.024321845, -0.012699567, -0.012858397, -0.011352956, 0.014501952, -0.014170479, 0.00641884, -0.020965679, 0.054803565, -0.0058111395, 0.08701171, -0.05574274, -0.00003649766, -0.025095282, 0.010828124, 0.0020889717, 0.012133299, 0.029362999, 0.02617257, 0.00653969, 0.05104687, -0.029224886, 0.04027399, -0.00474421, -0.01069001, -0.04253906, -0.011056012, 0.0034925535, 0.015965959, -0.0008830653, 0.01028948, -0.042621925, 0.029307755, -0.024736186, 0.00015224892, -0.011111258, -0.03137946, 0.13888727, 0.0063670473, 0.0009978724, -0.024888111, 0.022415875, 0.037373602, -0.047704514, 0.004077811, -0.01668415, 0.01716755, 0.0045888317, 0.013763043, -0.03925195, 0.029722096, -0.022540176, -0.004699323, 0.0072164475, 0.0022305383, 0.021297151, 0.015993582, 0.03207003, 0.022001533, -0.0082453955, 0.041296035, 0.01198828, 0.010185895, 0.0056074215, 0.013473004, -0.00419866, 0.0064050285, 0.011649901, -0.05173744, 0.01234047, 0.0175957, 0.015938336, -0.003290562, -0.014267159, 0.004229736, -0.019197822, 0.01093171, -0.045964282, -0.02457045, -0.059444193, -0.0030764856, -0.03314732, 0.024128485, -0.009163853, -0.014039271, -0.010413783, -0.04455552, -0.005054966, -0.011380579, -0.0050791358, -0.043174382, -0.019322125, 0.006712332, 0.019543106, 0.043754462, -0.0022391705, 0.002368652, -0.0010073677, 0.0445279, -0.026697403, -0.0014622802, 0.0033423547, 0.04753878, -0.0441688, 0.029114395, -0.031821426, -0.008528529, -0.020620394, 0.022995953, 0.03077176, 0.014847237, -0.007430524, 0.03325781, 0.019529294, 0.038975723, 0.012209263, -0.040384483, 0.009681779, 0.018631555, 0.027636576, 0.040826447, 0.023465538, 0.005396798, -0.010986955, 0.047676895, 0.022913083, -0.0066847093, -0.020592771, 0.026310684, -0.008362792, 0.026255438, -0.03016406, -0.019653598, -0.035136156, -0.027208423, 0.02476381, -0.023493161, 0.018686801, -0.027719446, 0.020496093, -0.029722096, 0.016905133, 0.044914618, 0.004564662, -0.014122139, -0.015565428, -0.0138666285, 0.0040639993, -0.012810057, -0.030053569, -0.026407363, -0.010683104, 0.008666643, 0.023493161, -0.02296833, -0.022540176, -0.012119488, 0.048533197, -0.0010755614, 0.023727955, 0.00058741536, -0.015123464, 0.011159597, 0.017264228, -0.030025946, -0.02046847, -0.02186342, -0.007154296, -0.016891321, -0.02097949, 0.021766739, -0.00391898, 0.0072371643, -0.0032732978, 0.013914968, -0.03218052, 0.023092631, -0.017222794, -0.025647737, -0.014557198, -0.04455552, 0.031931918, -0.039113835, 0.012823869, 0.0299707, -0.0012974067, 0.0056212326, 0.0045784735, 0.014874859, 0.014432895, -0.014211913, -0.017208982, 0.0071404846, 0.010462122, -0.023990372, -0.029943077, -0.01719517, -0.019404992, 0.019971259, 0.005959612, -0.02707031, -0.046516735, 0.010517368, -0.03966629, 0.06971986, 0.01439146, 0.01987458, -0.014847237, -0.019639786, 0.013390136, 0.011718959, 0.0014450159, -0.04936188, 0.001331072, -0.020247487, -0.008528529, -0.008984304, -0.0012844586, -0.009709402, 0.004675153, 0.002156302, -0.010848841, 0.01397712, 0.01687751, 0.042235207, -0.019902203, 0.00031917242, -0.019253068, -0.012796246, -0.032291014, -0.0073890896, 0.0068987855, 0.0005826677, -0.004074358, -0.061819747, -0.03974916, -0.008197055, 0.01647698, 0.01716755, -0.00195949, 0.01617313, -0.00019012231, -0.008583775, -0.015095841, -0.011629184, 0.0039327913, -0.009412457, -0.0001364953, -0.019515485, 0.08126617, 0.014073799, 0.012665038, -0.011863978, -0.00819015, 0.001564139, -0.02636593, -0.004899588, -0.028147599, -0.033616904, 0.011981375, 0.037815567, -0.040605467, -0.03527427, -0.009861328, -0.037207864, 0.030246928, 0.0153444465, 0.017733816, 0.021849608, 0.020565148, -0.0025378417, -0.00828683, -0.009481514, 0.025330076, 0.011249371, -0.005631591, 0.0054554963, 0.019032085, -0.042400945, 0.00894287, -0.00062453345, 0.018921595, -0.014874859, 0.030246928, -0.015123464, 0.008742605, -0.018010043, 0.042207584, -0.025122905, -0.0034735627, -0.03245675, -0.0026552384, 0.009895856, -0.020523714, -0.026614534, 0.021725304, -0.0073545612, 0.02546819, 0.030633647, 0.03963867, 0.002183925, -0.02556487, -0.039141458, 0.012754812, 0.00054641283, -0.019197822, 0.020882811, -0.017001811, 0.014515763, -0.025150528, -0.004989362, 0.037732698, 0.048395086, 0.008480189, 0.021960098, -0.047704514, -0.0019525843, 0.0067261434, -0.026089702, -0.005752441, 0.024031807, 0.003352713, -0.011380579, -0.00993729, 0.03684877, -0.0040916223, 0.06485825, -0.0351914, 0.02916964, -0.0060942727, -0.009619628, 0.0132313045, -0.040522598, 0.026946008, -0.0012706472, -0.022747347, -0.013611117, 0.006329066, -0.0076791286, 0.030440288, -0.03176618, -0.021007113, -0.042483814, -0.01343157, -0.0010859199, 0.0010841936, 0.021614814, 0.048892293, -0.02755371, -0.11590512, -0.020040317, 0.012154017, -0.016449356, 0.02186342, 0.006135707, 0.027719446, 0.005790422, -0.015620674, -0.014612443, 0.002587908, -0.040688332, 0.02836858, -0.0019370464, 0.023631277, -0.04532896, -0.0023289444, 0.0068815215, 0.0175957, -0.024556639, -0.015744977, 0.01568973, 0.008977399, 0.01998507, -0.025150528, -0.01937737, -0.024556639, -0.017001811, -0.02367271, 0.02428041, -0.01399093, 0.010503557, 0.034141738, 0.03607533, -0.04154464, -0.0027053047, -0.010227329, -0.036296315, -0.032401502, 0.005835309, 0.003230137, -0.011995186, 0.011670618, -0.016145507, 0.022871649, -0.014460518, -0.008266113, 0.0007242344, -0.01003397, 0.0008239353, 0.018452007, 0.007893206, -0.0020613489, 0.0016185214, 0.008052036, -0.01928069, -0.009951102, -0.012823869, 0.011739675, -0.0077758087, 0.0065638595, 0.020648018, -0.0012145385, -0.029915456, -0.016988, -0.026890762, -0.0022633404, 0.048864674, -0.040191125, -0.0100408755, -0.040881693, 0.0074581467, -0.003131731, 0.006177141, -0.03585435, 0.028589562, 0.0103032915, 0.06275892, -0.010448311, 0.017029434, 0.01716755, -0.02267829, 0.00948842, 0.021255719, -0.01738853, 0.018148158, -0.0029452774, -0.035495255, -0.012879115, 0.013500626, 0.025785852, 0.008058942, -0.0091155125, 0.008348981, -0.002339303, -0.016711773, -0.00070653856, 0.010655481, 0.0023548407, -0.016255997, 0.040605467, -0.007320033, -0.03836802, -0.030385042, 0.011850166, 0.0069678426, -0.0021701136, 0.014681499, 0.048809428, -0.03383789, 0.022001533, -0.025495812, 0.0034804684, -0.0064844443, -0.054002505, 0.029804964, 0.0157726, 0.019556917, 0.043754462, -0.02248493, 0.025288641, 0.012209263, 0.0032525805, -0.024335656, -0.000066359375, -0.0048339837, 0.025551058, 0.0015908986, -0.00823849, 0.0036772806, 0.0029918908, 0.0008705487, -0.017015623, 0.01083503, -0.00005060577, -0.005061872, -0.0036289408, -0.0025119453, -0.0047062286, 0.008929059, 0.012423338, 0.0147367455, 0.02687695, -0.027001252, 0.009322683, -0.02037179, 0.0015365164, -0.03226339, -0.021159038, 0.01899065, 0.031821426, 0.019653598, -0.012713377, 0.027153179, 0.009246721, -0.019653598, 0.024446147, -0.015068218, 0.011270088, 0.012872209, -0.010427594, 0.03905859, -0.005976876, -0.0082177725, 0.025951589, -0.026697403, -0.012271414, -0.004205566, -0.0056281383, 0.054306358, -0.031517576, -0.013203681, 0.051709816, 0.014515763, 0.014543386, 0.029804964, 0.004278076, 0.016642716, 0.02447377, 0.024832865, -0.0024273505, 0.045881413, -0.032981582, 0.027843747, 0.020924244, -0.012540735, 0.028589562, -0.0036772806, 0.016670339, 0.025343888, 0.0027691822, 0.0068159173, 0.021752927, 0.017402342, 0.021628626, -0.028258089, 0.003556431, 0.0079553565, -0.0117811095, -0.029362999, -0.011642995, 0.040522598, 0.007278599, -0.039196704, -0.028589562, 0.017029434, 0.009219098, -0.024390902, 0.005976876, 0.041268412, 0.016449356, 0.017443776, -0.020123184, -0.012160922, -0.001539106, -0.024294222, -0.008459472, 0.037870813, -0.025026225, -0.00068452663, -0.026711214, 0.0149991615, 0.028893413, 0.013700891, -0.013134625, 0.015454937, 0.026255438, -0.025385322, -0.007119768, 0.010420688, -0.009156947, 0.0025343888, -0.0046682474, 0.00005030904, -0.03416936, -0.00034593197, -0.011898506, -0.0469587, -0.034887552, 0.00859068, 0.04298102, 0.01758189, 0.0033389018, -0.0123888105, 0.011083635, -0.017568078, 0.005061872, 0.0031041082, -0.022015344, -0.014198101, -0.011663713, 0.0034666571, 0.026144948, -0.023355048, 0.035633367, -0.003164533, -0.008749511, 0.04157226, 0.044693634, 0.02167006, -0.022609234, 0.022319194, 0.012043525, -0.03416936, -0.002605172, 0.006080461, -0.0132313045, -0.017443776, -0.006532784, -0.0040881694, -0.017692382, 0.04455552, 0.0061874995, 0.0327606, -0.0203856, -0.009260532, 0.022650668, -0.019791711, -0.029473491, -0.0024428882, -0.024211355, -0.01408761, 0.007485769, -0.0019387729, 0.016449356, -0.0051309285, -0.0031127403, 0.0063256132, 0.02878292, -0.038174663, -0.0054969303, 0.031186102, 0.0028934847, 0.0010505283, 0.014039271, -0.0008260933, 0.018092912, -0.00036621746, 0.0010919624, -0.07187443, 0.023147877, 0.024556639, 0.021366209, -0.044500276, -0.019211633, 0.012658132, 0.0043298686, -0.027056498, -0.009895856, 0.0021269529, -0.033893134, 0.015358257, 0.019032085, -0.01253383, -0.012319753, 0.004682059, 0.015965959, -0.01697419, 0.0014122139, -0.00819015, 0.017443776, -0.026504043, -0.0046164547, 0.0028658619, -0.01218164, -0.004519775, 0.012623603, -0.00604248, 0.0037636019, -0.004941022, 0.0351914, -0.0069298614, -0.021324774, 0.030440288, -0.027401783, -0.012457867, -0.0062772734, -0.023935126, -0.029804964, -0.016062638, 0.024694752, 0.03988727, 0.03596484, -0.00096593355, -0.0003554273, 0.031655688, 0.008431849, 0.0055314586, 0.014791991, -0.020938056, 0.06275892, -0.035688613, -0.033340678, 0.01798242, -0.031987164, 0.031186102, -0.0056695724, 0.01538588, -0.026379742, 0.04535658, -0.027125556, 0.024225166, -0.002486049, -0.012188545, 0.018824914, 0.03806417, -0.00641884, 0.030412665, 0.04093694, -0.0054900246, 0.021131415, 0.014377649, 0.009170759, 0.0117534865, 0.018065289, 0.0040432825, -0.0016694509, -0.014943916, 0.011898506, 0.019708844, -0.016656527, -0.02057896, -0.021918664, 0.0070783338, -0.033976, -0.0053173825, -0.019004462, 0.032235768, -0.0051585515, -0.027802313, 0.024004184, 0.0054451376, 0.005462402, -0.021034736, 0.004606096, -0.01448814, -0.007092145, 0.020648018, -0.0042918874, 0.004454171, 0.0048305313, -0.022830216, -0.027595142, 0.000738909, 0.03544001, -0.007996791, 0.000677621, 0.011415108, 0.014805802, 0.0069678426, -0.018161967, 0.0003034188, -0.03726311, 0.015523994, -0.014198101, -0.0349428, -0.010448311, -0.0019491314, -0.036296315, 0.009861328, -0.018603932, 0.002719116, -0.03287109, -0.0021735663, 0.020841377, 0.0019422257, 0.02229157, 0.00984061, -0.015565428, 0.009502231, -0.026103513, 0.0032145993, 0.0004518912, -0.03497042, 0.015620674, 0.025482, 0.0070852395, -0.013645646, -0.01448814, 0.02077232, 0.008611397, 0.008915247, 0.047483534, 0.03394838, -0.015468748, -0.004357491, -0.0068331817, -0.013037945, 0.013169154, 0.0030574948, 0.0011886421, -0.031241348, -0.018258648, 0.006215122, -0.026241627, -0.035522874, -0.02288546, -0.025261018, 0.031987164, 0.04585379, -0.0050411546, -0.009661063, 0.013908062, 0.0016409649, 0.002674229, 0.018244836, -0.01607645, 0.035467632, 0.0030143342, -0.02367271, 0.018714424, -0.003915527, 0.016753208, 0.024694752, 0.009930384, -0.010103026, 0.00854234, -0.023727955, 0.016117884, -0.00025637378, -0.017264228, -0.016104072, 0.015012973, 0.0011739675, 0.034114115, 0.009978724, -0.020758508, -0.030329796, -0.014308592, 0.018921595, 0.013417758, 0.040577844, -0.008673549, 0.017057057, -0.0079277335, 0.003000523, 0.0015157992, -0.01003397, -0.021324774, -0.012167828, -0.014018553, -0.02497098, 0.0077896197, -0.012423338, -0.0050894944, -0.0020682546, 0.005279401, -0.016753208, 0.010123744, -0.009743931, 0.0013785487, 0.005976876, -0.01926688, 0.04154464, 0.029445868, 0.019225445, -0.014377649, 0.019045897, 0.0070645222, -0.027843747, 0.0014251621, -0.004851248, 0.014308592, 0.02428041, -0.056267574, -0.03256724, -0.012768623, 0.034445588, -0.03066127, 0.00089860306, 0.014640066, -0.012064243, 0.010724539, -0.012913642, -0.03405887, -0.0029003904, 0.009060267, 0.012395716, -0.013224399, -0.009426269, -0.025951589, -0.004896135, -0.022802593, -0.015095841, 0.014004742, 0.023948938, -0.0011653354, 0.029804964, 0.020924244, -0.017057057, 0.014405272, 0.008956682, -0.009681779, -0.003784319, 0.008328264, 0.04212472, -0.0067641246, -0.024349468, -0.008203961, 0.008162527, 0.01899065, 0.024031807, -0.015744977, -0.0085354345, -0.007720563, -0.021200472, 0.00058655214, -0.008970493, -0.022788782, -0.030606024, 0.0025482, 0.0032180522, -0.0032836562, -0.0018161968, -0.017429965, 0.013631835, -0.009087889, -0.0058629317, -0.021297151, 0.004764927, -0.015827844, -0.031103235, -0.009253627, 0.06585267, 0.02577204, -0.002955636, -0.022402063, -0.020924244, -0.0068400875, 0.019294502, -0.017250417, 0.025095282, 0.011021484, 0.028589562, -0.039390065, 0.06342187, -0.003147269, -0.0068435404, -0.03375502, 0.021821985, 0.0041365093, -0.0034062322, -0.005793875, -0.015565428, -0.009971818, -0.050604906, -0.011995186, -0.0039949426, -0.024114674, -0.018714424, -0.005925083, -0.0070196353, -0.022830216, 0.0068780687, 0.030523155, 0.036710653, -0.01418429, -0.030412665, -0.023465538, 0.004771833, 0.013935685, 0.008169433, 0.0007825011, -0.0011990006, -0.030219305, 0.03375502, -0.048588444, 0.00056065584, 0.024487581, -0.05833928, 0.0007488359, 0.013210587, 0.009716308, -0.012195451, 0.0036945448, -0.0049582864, 0.0034873742, 0.0022650668, 0.025012415, -0.0027260217, -0.016518414, 0.0024187183, 0.022236327, 0.005510742, -0.02698744, 0.014474329, -0.013618023, -0.03195954, -0.016449356, 0.01628362, -0.044196423, -0.012278319, 0.048588444, -0.0017013897, 0.013514438, 0.026020644, 0.0009624807, 0.01719517, -0.03864425, 0.0038948099, -0.008404226, 0.0041261506, -0.0033389018, 0.0066501806, 0.016242186, 0.02986021, 0.024722375, 0.0351914, -0.035992462, 0.011525599, -0.013852817, -0.014916293, -0.036821146, 0.008949776, 0.045025107, 0.02516434, -0.0036427523, 0.044693634, 0.0153444465, 0.01038616, 0.011497976, 0.02186342, -0.0333683, -0.009978724, -0.0144467065, -0.016421733, 0.013680175, -0.0079553565, 0.056378063, -0.00394315, -0.025509624, 0.02207059, 0.012830774, -0.017802872, -0.009509137, 0.015178709, -0.044196423, 0.0036910921, -0.01568973, 0.0156068625, 0.014011648, 0.045273714, -0.006581124, 0.0006504298, 0.00006538827, 0.0048857764, 0.00029133385, -0.02695982, -0.03046791, -0.004723493, 0.0070507107, 0.00195949, 0.015178709, 0.006936767, 0.003597865, 0.011504882, -0.023299802, -0.03358928, -0.009350306, 0.0147367455, -0.0203856, 0.061377786, 0.04165513, 0.017139927, 0.006622558, 0.00071344426, -0.0008148716, -0.028313335, 0.021504322, 0.011166503, 0.016421733, 0.008687359, -0.01418429, -0.035219025, -0.031407084, 0.008093471, -0.004202113, 0.0174714, 0.0037256205 ]
2310.12397
1
There has been considerable divergence of opinion on the reasoning abilities of Large Language Models (LLMs). While the initial optimism that reasoning might emerge automatically with scale has been tempered thanks to a slew of counterexamples–ranging from multiplication to simple planning, there is still the wide spread belief that LLMs can self-critique and improve their own solutions in an iterative fashion. This belief seemingly rests on the assumption that verification of correctness should be easier than generation–a rather classical argument from computational complexity, that should be irrelevant to LLMs to the extent what they are doing is approximate retrieval. In this paper, we set out to systematically investigate the effectiveness of iterative prompting of LLMs in the context of Graph Coloring, a canonical NP-complete reasoning problem that is related to proposi- tional satisfiability as well as practical problems like scheduling and allocation. We present a principled empirical study of the performance of GPT4 in solving graph coloring instances or verifying the correctness of candidate colorings–both in direct and iterative modes. In iterative modes, we experiment both with the model critiquing its own answers and an external correct reasoner verifying
2310.12397#1
GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems
There has been considerable divergence of opinion on the reasoning abilities of Large Language Models (LLMs). While the initial optimism that reasoning might emerge automatically with scale has been tempered thanks to a slew of counterexamples, a wide spread belief in their iterative self-critique capabilities persists. In this paper, we set out to systematically investigate the effectiveness of iterative prompting of LLMs in the context of Graph Coloring, a canonical NP-complete reasoning problem that is related to propositional satisfiability as well as practical problems like scheduling and allocation. We present a principled empirical study of the performance of GPT4 in solving graph coloring instances or verifying the correctness of candidate colorings. In iterative modes, we experiment with the model critiquing its own answers and an external correct reasoner verifying proposed solutions. In both cases, we analyze whether the content of the criticisms actually affects bottom line performance. The study seems to indicate that (i) LLMs are bad at solving graph coloring instances (ii) they are no better at verifying a solution--and thus are not effective in iterative modes with LLMs critiquing LLM-generated solutions (iii) the correctness and content of the criticisms--whether by LLMs or external solvers--seems largely irrelevant to the performance of iterative prompting. We show that the observed increase in effectiveness is largely due to the correct solution being fortuitously present in the top-k completions of the prompt (and being recognized as such by an external verifier). Our results thus call into question claims about the self-critiquing capabilities of state of the art LLMs.
http://arxiv.org/pdf/2310.12397
Kaya Stechly, Matthew Marquez, Subbarao Kambhampati
cs.AI
18 pages, 3 figures
null
cs.AI
20231019
20231019
[ { "id": "2206.10498" }, { "id": "2306.03872" }, { "id": "2303.11366" } ]
{ "authors": "Kaya Stechly, Matthew Marquez, Subbarao Kambhampati", "chunk_id": 1, "doc_id": "2310.12397", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12397", "summary": "There has been considerable divergence of opinion on the reasoning abilities\nof Large Language Models (LLMs). While the initial optimism that reasoning\nmight emerge automatically with scale has been tempered thanks to a slew of\ncounterexamples, a wide spread belief in their iterative self-critique\ncapabilities persists. In this paper, we set out to systematically investigate\nthe effectiveness of iterative prompting of LLMs in the context of Graph\nColoring, a canonical NP-complete reasoning problem that is related to\npropositional satisfiability as well as practical problems like scheduling and\nallocation. We present a principled empirical study of the performance of GPT4\nin solving graph coloring instances or verifying the correctness of candidate\ncolorings. In iterative modes, we experiment with the model critiquing its own\nanswers and an external correct reasoner verifying proposed solutions. In both\ncases, we analyze whether the content of the criticisms actually affects bottom\nline performance. The study seems to indicate that (i) LLMs are bad at solving\ngraph coloring instances (ii) they are no better at verifying a solution--and\nthus are not effective in iterative modes with LLMs critiquing LLM-generated\nsolutions (iii) the correctness and content of the criticisms--whether by LLMs\nor external solvers--seems largely irrelevant to the performance of iterative\nprompting. We show that the observed increase in effectiveness is largely due\nto the correct solution being fortuitously present in the top-k completions of\nthe prompt (and being recognized as such by an external verifier). Our results\nthus call into question claims about the self-critiquing capabilities of state\nof the art LLMs.", "text": "There has been considerable divergence of opinion on the reasoning abilities of Large Language Models (LLMs). While the initial optimism that reasoning might emerge automatically with scale has been tempered thanks to a slew of counterexamples–ranging from multiplication to simple planning, there is still the wide spread belief that LLMs can self-critique and improve their own solutions in an iterative fashion. This belief seemingly rests on the assumption that verification of correctness should be easier than generation–a rather classical argument from computational complexity, that should be irrelevant to LLMs to the extent what they are doing is approximate retrieval. In this paper, we set out to systematically investigate the effectiveness of iterative prompting of LLMs in the context of Graph Coloring, a canonical NP-complete reasoning problem that is related to proposi- tional satisfiability as well as practical problems like scheduling and allocation. We present a principled empirical study of the performance of GPT4 in solving graph coloring instances or verifying the correctness of candidate colorings–both in direct and iterative modes. In iterative modes, we experiment both with the model critiquing its own answers and an external correct reasoner verifying", "title": "GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems", "year": 2023 }
[ 0.009628473, 0.009308803, 0.04498402, 0.00022856436, -0.013259929, 0.011233219, 0.024435608, 0.009327983, -0.013157634, 0.06777013, 0.05503446, -0.034601126, -0.05339775, 0.011661577, 0.007812745, -0.051633168, 0.03076508, -0.041071255, 0.0054823477, 0.032222778, 0.060353775, 0.009302409, 0.032836545, 0.0049836617, 0.009769128, -0.004756696, 0.028233292, -0.023323154, 0.002982525, -0.03710734, 0.029537547, -0.018592032, -0.08674577, -0.0045585004, -0.0341408, 0.07104355, 0.026366416, -0.02611068, 0.024525115, 0.022108406, -0.0034460472, -0.011463381, -0.028693616, -0.009436671, 0.0015512008, 0.05856362, 0.0075697955, 0.01277403, -0.005901116, 0.039792575, -0.06843504, 0.034089655, 0.030483771, 0.0013538043, -0.045444347, -0.020254318, -0.022504797, 0.0058339853, -0.016379911, -0.015446475, 0.0360844, -0.05687576, -0.008848477, 0.013157634, -0.054727577, -0.013912057, -0.020062516, 0.0043251407, 0.016942533, 0.01900121, -0.03281097, 0.0027347805, 0.05692691, -0.023706758, -0.03196704, 0.032529663, 0.089507714, 0.040355194, 0.027772967, 0.005239398, 0.011111744, -0.029665414, 0.045009594, -0.043679766, 0.01671237, -0.0047471058, 0.030995244, -0.0101847, -0.087308384, -0.07273141, 0.00992257, -0.0016447043, 0.030790655, 0.024537902, 0.088024445, 0.028898206, -0.0037465373, -0.00509235, 0.049868584, 0.026826741, -0.081528746, -0.005846772, 0.008260284, -0.0032446547, 0.024064789, 0.03912766, 0.012198623, 0.022619879, -0.021085462, -0.04012503, -0.09774243, -0.01903957, -0.090121485, -0.03805357, -0.004603254, -0.063371465, -0.06413867, 0.0034556373, 0.009609293, -0.0022504798, 0.017121548, -0.0070327492, 0.024410034, -0.013848122, 0.01618811, 0.0044817794, 0.0290005, -0.017581873, 0.06393408, 0.004353911, -0.016494993, 0.0029393695, 0.027900834, 0.00095341704, -0.053960368, -0.0016383108, -0.06751439, -0.018937275, 0.022875614, -0.027491655, 0.0071478304, -0.0029969101, -0.040789947, 0.015727784, -0.008426513, 0.004417845, 0.010082405, 0.016648436, -0.003209491, 0.020318251, -0.035521775, -0.021916604, 0.006361441, 0.030713934, -0.0238602, -0.039946016, -0.015689423, 0.012716489, 0.019614978, -0.0030112953, 0.013975991, 0.05390922, 0.009583719, 0.0014241317, -0.017249417, 0.052630536, -0.04892236, -0.002129005, -0.02586773, -0.0255097, -0.018604819, -0.0045233364, -0.022837255, 0.001039728, 0.02213398, -0.014692052, -0.007883073, -0.016814664, 0.040943388, -0.026545431, -0.042784687, 0.04897351, -0.0147432, -0.0014920617, -0.009001919, 0.024371672, 0.008407332, -0.023757905, -0.02446118, -0.033961784, -0.009577326, 0.03582866, 0.056568876, 0.045086317, 0.010964695, -0.0165845, 0.07002061, 0.0029921152, -0.012173049, 0.0012610998, 0.0067834063, 0.0060449676, 0.019666124, -0.044140093, 0.007135044, 0.033092283, 0.037695535, -0.013132061, -0.013490092, -0.020880872, 0.026775595, 0.0008439299, 0.010792074, 0.039869294, -0.0033373593, 0.020829724, -0.030739507, 0.00913618, -0.00007587178, 0.042426657, -0.035572924, 0.012537474, 0.037772257, -0.010421256, -0.025292324, 0.05012432, 0.034396537, -0.030432625, 0.007927827, -0.015714997, 0.02160972, -0.013963204, -0.06465015, -0.03582866, 0.021878244, -0.041685022, -0.011642396, 0.016315978, 0.013796975, -0.05390922, 0.04920367, -0.002896214, 0.019730058, -0.065826535, 0.00040598144, 0.024550688, -0.022786107, 0.009436671, 0.0034716208, 0.0054823477, -0.042401083, -0.035061453, -0.021417918, -0.028207717, -0.06306458, 0.010318961, 0.012300918, -0.008976345, -0.034933582, -0.014589758, 0.017262202, 0.005846772, -0.046978764, 0.02068907, 0.0014608938, 0.021200541, -0.05298857, 0.038667332, -0.008624708, 0.0054951347, 0.01249272, 0.01050437, -0.01751794, -0.027133625, 0.03876963, -0.05733609, 0.018361868, 0.03166016, -0.002119415, 0.05723379, 0.0057732477, 0.020663496, 0.06853734, 0.031378847, 0.007058323, -0.004625631, -0.026021171, -0.03173688, -0.01635434, 0.0043059606, 0.04201748, -0.0170704, 0.024307739, -0.0069112745, -0.0023655612, -0.025241176, 0.00935995, -0.007729631, 0.007825532, 0.032913268, 0.009366344, 0.024435608, -0.044651564, 0.0009678022, -0.023783479, 0.018950062, 0.012205017, 0.017760888, 0.021264477, 0.052528244, 0.043168295, 0.019512683, -0.0019036373, 0.081937924, -0.006038574, -0.027261494, 0.032478515, -0.039869294, 0.014385168, -0.0042963703, -0.019180225, -0.0192058, 0.040943388, 0.028028702, 0.0008599134, 0.018745473, 0.0145769715, -0.005207431, 0.019653337, -0.016801877, 0.0049421047, 0.004312354, -0.00056541705, 0.020676283, 0.015548769, -0.028872631, -0.050098747, 0.035317186, -0.0007504263, 0.006211196, -0.06869078, 0.013272716, -0.02374512, -0.0039191595, -0.03281097, 0.036263414, 0.0067066853, 0.019678911, 0.06234852, 0.027056905, 0.0011731904, -0.038641762, 0.011098957, -0.0024342902, -0.017159909, 0.015433688, -0.045290906, -0.032887693, -0.007544222, 0.016277619, 0.010881581, 0.024307739, -0.019627763, 0.019653337, -0.049791865, 0.06792357, -0.046364997, 0.0037976846, 0.013400584, 0.027440509, 0.02659658, 0.009839456, 0.015433688, 0.01114371, -0.04695319, 0.0033533426, -0.0066043907, -0.00456809, -0.03153229, 0.034038506, -0.045981392, -0.032631956, 0.0101847, -0.024435608, -0.0034844077, 0.005066776, -0.013144848, -0.03639128, -0.052477095, 0.0035515383, -0.014282875, -0.02907722, -0.020228744, -0.007173404, 0.06710521, 0.021903817, -0.012550261, 0.072936006, 0.068383895, 0.040585358, -0.023681184, -0.018451376, -0.03357818, 0.036621444, -0.0086630685, 0.040150605, 0.032631956, 0.020612348, 0.013426158, 0.0042196494, 0.013771402, -0.013349437, 0.011597643, 0.00597464, 0.0061632455, -0.06199049, 0.06664489, 0.028003128, 0.037337504, 0.06649145, 0.0019691698, 0.00454891, 0.021903817, -0.041557156, 0.039511263, 0.020152023, -0.0035259647, -0.00090226973, -0.027824113, -0.06326917, -0.020075303, 0.065570794, 0.044165663, -0.014832707, 0.00006907878, -0.012147476, 0.026417563, -0.017530726, -0.031225407, -0.050840385, 0.00023715549, -0.009781915, -0.02659658, -0.01598352, -0.0029713365, 0.011578463, -0.05467643, -0.021980539, 0.0014744798, -0.024806425, -0.0006737054, -0.02534347, 0.044370253, 0.034933582, -0.0126525555, -0.0081515955, 0.0721688, -0.02586773, 0.00797258, -0.016776303, -0.0038776023, 0.009462245, 0.0071797976, 0.008106842, 0.009027492, 0.029972298, -0.009615686, -0.017901544, -0.015254673, -0.0147432, 0.00825389, -0.03764439, 0.043526325, -0.022530371, -0.022683812, 0.02160972, 0.02892378, -0.022913976, -0.017709741, -0.01980678, -0.023591677, 0.015548769, 0.06787242, 0.0025301913, 0.026698874, 0.038232584, -0.034243096, 0.00967962, -0.035854235, 0.03076508, -0.03639128, -0.042784687, 0.003382113, -0.0137330415, 0.028489027, 0.019793993, 0.015484835, -0.0028978123, 0.012882718, 0.00030049018, -0.015766146, 0.0019451946, -0.04421681, 0.0014457095, 0.0041653058, 0.04089224, 0.052425947, -0.025202816, 0.030074593, 0.0023303973, -0.012205017, 0.01223059, 0.029716562, 0.0020378989, -0.014922216, 0.0032926053, -0.012307311, 0.020855298, -0.013592387, 0.035649646, -0.0062591466, -0.034728993, -0.006732259, 0.011137318, 0.0007640123, 0.00063494535, -0.032580808, -0.040713225, -0.030509345, -0.017326137, 0.008624708, 0.011284366, -0.00709029, -0.029358532, -0.051863328, -0.005185054, -0.018783834, -0.024537902, -0.03357818, -0.034959156, 0.0097435545, 0.014628119, 0.0077552046, 0.015676638, -0.022837255, 0.02044612, 0.019832352, -0.051709887, 0.017198268, 0.049740717, 0.044395827, -0.045009594, -0.022568733, -0.009046673, 0.007339633, -0.023399875, -0.00010429248, -0.0064509492, -0.0045329267, 0.0030352706, 0.003231868, 0.01646942, 0.009187328, -0.012831571, -0.0018924489, 0.013438945, 0.005632593, 0.0033405558, 0.015919587, 0.020791365, -0.0147304125, -0.011802232, 0.031123113, -0.07211765, 0.04375649, -0.019717272, 0.0044466155, 0.0034939977, 0.013963204, -0.011878952, -0.032401793, -0.050431207, -0.0028210916, -0.0025078144, -0.028821485, 0.0011156498, -0.02462741, -0.005143497, -0.021417918, 0.03884635, -0.045623362, -0.03196704, -0.02241529, -0.02132841, -0.015804505, 0.008420119, -0.0024518722, -0.003073631, -0.023272006, -0.00056182075, 0.007998154, 0.0145641845, 0.034166373, 0.010120765, 0.0014009556, 0.019116292, -0.02177595, 0.008375365, -0.0023911349, -0.005878739, -0.0017661791, -0.02265824, 0.025126096, -0.01783761, -0.046620734, 0.008132416, -0.013643534, -0.023412662, 0.052886274, -0.02410315, -0.015638277, 0.014755987, 0.014819921, -0.019116292, 0.009935357, -0.0043890746, 0.0013833737, -0.014116646, -0.0060353777, -0.0011835797, -0.01868154, -0.0034492437, 0.040994536, -0.0055430853, 0.018054985, 0.0027923211, 0.0020506857, -0.014666479, 0.0080812685, -0.019167438, 0.03385949, 0.02843788, -0.046927616, -0.04002274, -0.00425801, -0.017722528, -0.024819212, 0.012358459, 0.0066938987, -0.011533708, -0.030867375, -0.03547063, 0.0138992695, 0.0075378283, 0.01710876, 0.0066235713, 0.00017491965, 0.0038136682, 0.007825532, 0.0099928975, -0.056978054, -0.07007176, 0.0059906235, 0.0049069407, 0.0062847203, 0.019781206, 0.009698801, 0.025151668, 0.03434539, -0.01526746, -0.049740717, -0.010331748, -0.0023367908, -0.015203525, -0.021520212, -0.008854871, -0.018170066, -0.029844431, 0.005133907, -0.0052489885, -0.03053492, 0.013630747, -0.04567451, -0.04194076, 0.0024582655, -0.004008667, 0.010951908, -0.010676992, -0.00075522135, -0.0047279256, -0.021111034, -0.001180383, -0.0024215034, -0.01943596, -0.024320526, 0.005108333, -0.0046639913, 0.04784827, -0.025906092, -0.02233857, -0.0018620802, 0.018873341, 0.01607303, -0.0060225907, -0.007921433, -0.034294244, -0.029614268, 0.043833207, 0.02322086, -0.007595369, -0.00041677032, 0.01078568, 0.014794347, 0.026775595, -0.03892307, -0.00041637072, 0.009756342, 0.004126945, 0.01442353, 0.0035387515, -0.07002061, 0.005939476, -0.025279537, -0.026008386, -0.0012011616, 0.0029121975, -0.023208072, 0.03547063, -0.014346808, -0.01132912, -0.0031711305, 0.016009094, 0.044958446, -0.0050859563, -0.0067961933, 0.009385523, -0.042835835, 0.016801877, -0.0043315343, -0.008036515, -0.027568378, -0.008349791, -0.00829225, 0.008503233, 0.011437807, 0.00821553, 0.014768774, -0.019180225, -0.0045585004, 0.0039926837, 0.007863892, 0.010357321, -0.0061025084, -0.005552675, -0.002069866, -0.015957948, 0.008899624, -0.015088444, -0.025369044, -0.01303616, -0.024282165, -0.008062088, 0.0024902325, -0.031634584, 0.021021526, -0.01132912, 0.00797258, -0.011098957, 0.0103253545, -0.006840947, -0.009698801, -0.004146125, 0.05314201, -0.015842866, 0.0012131493, -0.03104639, 0.032273926, -0.015254673, 0.005316119, 0.0271592, -0.021264477, -0.017147122, -0.0046639913, -0.021686442, -0.01646942, 0.042784687, -0.038641762, 0.0238602, 0.0045553036, -0.030918524, -0.023872986, -0.010095192, -0.010146339, -0.0147432, -0.0069496348, 0.0069752084, -0.020267105, -0.10894368, 0.028591322, 0.02695461, 0.016405486, 0.02956312, -0.0009789907, 0.0290005, 0.023514956, 0.010817647, -0.022888402, -0.0036570297, -0.034038506, -0.013643534, 0.012697309, 0.021712014, -0.04805286, -0.008004547, -0.017274989, 0.03089295, 0.0049836617, 0.010440436, 0.035163745, -0.026852315, 0.0015927579, 0.00095981045, 0.008062088, -0.02125169, 0.02506216, -0.029435253, 0.01671237, -0.011341906, 0.004088585, 0.026494285, 0.03478014, -0.016200896, 0.0040214537, 0.011476168, -0.021213328, -0.024141511, 0.009142574, 0.0061440654, -0.008714216, 0.027287068, -0.011220432, 0.016085815, -0.053090863, 0.033731624, -0.00883569, 0.03265753, -0.021187756, -0.04912695, 0.02024153, 0.006578817, -0.00041437277, 0.004571287, 0.025432978, 0.029870003, -0.011194858, -0.016622862, -0.005501528, -0.034549978, -0.03421752, 0.0060577546, 0.025931664, -0.017773675, -0.024192657, -0.007211765, 0.022632666, -0.0210471, -0.039306674, 0.018374655, 0.014193366, -0.018451376, 0.041557156, 0.0152290985, -0.024589049, 0.0056805434, 0.051044974, -0.014193366, 0.04321944, -0.011661577, -0.00023955302, -0.003931946, 0.03575194, 0.008305037, -0.0041653058, 0.043398455, -0.020868085, -0.026801169, 0.054011513, 0.012326491, 0.0004475386, -0.012013215, 0.01699368, -0.005942673, 0.010050438, -0.002932976, -0.016021881, 0.0233743, 0.0058275918, -0.009986504, 0.056671172, -0.023399875, -0.046288278, 0.014308448, -0.019487109, 0.0044594025, -0.02928181, 0.023770692, -0.0046320246, 0.0010517157, -0.02470413, 0.010555517, 0.010344535, -0.0013330256, 0.034601126, 0.032989986, -0.007716844, 0.0542161, 0.0058755423, 0.0259956, 0.017965477, -0.059075095, -0.012051575, -0.013950417, -0.025675928, -0.014142219, 0.037542094, -0.016162537, 0.005670953, -0.009500605, 0.0210471, 0.0054823477, 0.027619524, -0.040585358, -0.0048877606, -0.013720254, 0.046109263, -0.026494285, 0.00967962, 0.0020890462, 0.014871068, 0.035521775, -0.024371672, -0.00710947, -0.004702352, 0.019614978, -0.051556446, 0.0045968606, 0.0056677563, 0.021481853, -0.019154651, 0.01767138, 0.03518932, -0.008957165, 0.011840592, -0.00068529346, -0.04188961, 0.01478156, -0.0030033037, 0.01450025, 0.016661223, -0.042119775, -0.027900834, 0.00028071058, -0.0271592, 0.005942673, -0.00014944593, -0.010338142, 0.017658593, -0.04940826, -0.023719545, 0.0059842304, 0.018707113, 0.0060577546, 0.022223487, 0.013048947, 0.033961784, -0.0035259647, 0.026545431, -0.013784189, 0.042068627, -0.02357889, 0.046697456, 0.025445765, -0.03442211, 0.012205017, -0.0014976559, 0.0072245514, 0.045137465, 0.016558928, 0.019167438, 0.03235065, -0.0032798185, 0.032555237, -0.035317186, 0.009327983, 0.052732833, 0.026085107, -0.03033033, -0.06608227, 0.041071255, -0.017492365, -0.007480288, -0.012096329, -0.0059458697, 0.017364496, -0.022249062, -0.037286356, 0.01187256, -0.0053448896, 0.0015855653, -0.019525468, 0.033322446, 0.021072675, 0.011003056, -0.008810117, -0.0069752084, -0.00847766, 0.01643106, 0.003845635, -0.034805715, -0.03547063, 0.036340132, -0.0050763665, 0.018489737, 0.023041844, 0.0037081768, -0.00073604117, -0.00996093, 0.041864038, -0.0042100595, -0.012205017, -0.007403567, -0.016405486, -0.0077743847, -0.004938908, -0.007895859, -0.013541239, 0.00052465906, 0.014653692, -0.012518293, -0.0071606175, 0.023591677, 0.0064125885, -0.026468711, 0.017083187, 0.0018444983, -0.043066, -0.0089124115, -0.009909783, 0.026801169, 0.010120765, -0.046620734, 0.009500605, -0.0318136, 0.021520212, 0.021021526, 0.020062516, 0.039536837, -0.028386733, 0.026647726, -0.013694681, -0.023144139, 0.0022169144, 0.0059938203, 0.007531435, -0.007748811, 0.0016782697, -0.014244514, -0.0505335, 0.021827096, 0.018898915, 0.021469066, -0.02410315, 0.00072365394, -0.012626981, -0.017556299, 0.0012906693, -0.004139732, -0.03503588, 0.012518293, -0.032606382, 0.012543867, 0.008221923, -0.018131707, -0.026647726, -0.020535627, -0.0024518722, 0.0054503805, 0.02759395, 0.032964412, -0.010370108, 0.004334731, 0.023131352, -0.021750376, 0.014091072, 0.000104991756, -0.01635434, -0.031506717, 0.033169, 0.026059533, -0.00025513695, -0.028258866, 0.009871422, 0.017581873, -0.006028984, -0.027363788, -0.016904172, 0.011744691, -0.01767138, -0.0018077362, -0.004702352, -0.022722173, 0.012339278, 0.0010581091, -0.0047822697, -0.031583436, -0.012889111, -0.018349081, -0.002523798, -0.013745828, 0.019410389, -0.025650354, -0.010421256, -0.015331393, 0.00509235, -0.0077424175, -0.026059533, 0.0013178414, 0.00823471, 0.03680046, -0.025074948, -0.0017134334, -0.0074547143, -0.01703204, -0.021967752, -0.0255097, 0.017211055, -0.01026142, 0.0608141, 0.030509345, 0.018349081, 0.00829225, -0.011955674, 0.013323863, 0.017223842, -0.019448748, -0.0021353983, 0.017850397, 0.05339775, 0.00032046958, -0.023642825, 0.0037785044, -0.0056261993, 0.0571315, 0.01892449, 0.0010692975, -0.015037296, 0.012550261, -0.011808625, 0.022197913, -0.00003136766, -0.0037273571, -0.017198268, -0.010255027, -0.022990696, 0.025535272, 0.023911348, 0.013988778, 0.004475386, 0.013528452, -0.009583719, 0.000047026515, -0.0108943675, 0.0063262777, 0.031071965, 0.015561556, -0.0070071756, -0.0050859563, 0.026417563, 0.026212974, -0.033833917, 0.050405633, -0.014487463, 0.008937985, 0.006147262, 0.025484126, -0.007326846, -0.006649145, 0.03421752, -0.013822549, -0.0024087166, -0.0026564612, 0.009091427, 0.028616896, -0.0030800244, 0.011118137, -0.013554025, 0.012626981, -0.01026142, -0.043066, 0.012767636, -0.001983555, -0.015791718, -0.0030720327, -0.0031263768, 0.02068907, 0.026698874, 0.0052042343, -0.028310012, 0.03547063, -0.008950772, 0.023757905, -0.016200896, -0.04554664, -0.004702352, 0.006441359, -0.051761035, -0.008995526, -0.013848122, -0.018323509, 0.005859559, 0.014832707, -0.004312354, -0.017760888, 0.014487463, 0.017709741, 0.009884209, 0.021379558, 0.01607303, 0.014206153, -0.028412307, -0.040278472, -0.00046831716, 0.011118137, 0.033117857, 0.006364638, -0.013681894, 0.010568304, -0.009104214, 0.018886128, 0.0369539, 0.0033565394, -0.024537902, -0.023399875, -0.015280246, 0.024819212, 0.016009094, 0.0069432417, -0.008714216, 0.003912766, -0.0009302409, 0.006032181, -0.0040598144, -0.0026356827, -0.029511973, -0.009270442, 0.00935995, 0.031557865, 0.002910599, -0.017364496, -0.004628828, 0.008931591, 0.0015551966, 0.03173688, 0.0104915835, 0.021379558, -0.0294864, -0.036723737, 0.003890389, -0.015216312, 0.0026948217, 0.027261494, 0.0138992695, 0.02125169, 0.00026073118, 0.009756342, 0.019538255, -0.014640905, -0.025394619, -0.0024454787, 0.00566456, 0.009877816, 0.028284438, 0.012077148, -0.0108240405, -0.012524687, -0.0055271015, -0.0063486546, 0.006668325, 0.04201748, 0.009513392, 0.016021881, -0.006473326, 0.0067770127, 0.037081767, -0.003673013, 0.010299781, 0.032913268, -0.004702352, 0.033169, 0.01791433, 0.0064285723, 0.0017086384, 0.02710805, -0.0019483912, -0.011124531, 0.0057316907, 0.023335941, -0.0071414374, 0.018310722, -0.01699368, 0.010919942, 0.056261994, -0.010466009, -0.024282165, 0.017134335, 0.010280601, -0.035445057, 0.001870072, -0.0061760326, 0.0035323582, -0.015472048, -0.01245436, -0.04104568, -0.009117001, 0.011878952, -0.007985367, -0.003631456, -0.0058307885, -0.021187756, 0.001261899, -0.009117001, -0.021750376, -0.03337359, 0.004117355, -0.0065979976, -0.011795838, -0.002129005, 0.013451731, -0.009180934, -0.03357818, 0.009916176, -0.016610075, 0.047771547, 0.0067961933, 0.03659587, 0.049178097, 0.0051722676, 0.0010277404, -0.065110475, -0.0052457917, -0.0135796, -0.027849687, 0.0203694, 0.04081552, 0.012882718, 0.0040757977, -0.0152290985, 0.002224906, -0.009532572, -0.016546141, 0.038795203, -0.014845494, 0.0025030193, 0.00990339, -0.011335513, -0.024525115, 0.0050316122, 0.0023671594, -0.021622507, -0.027056905, -0.0009709989, 0.002969738, 0.010708959, 0.012077148, 0.008739789, -0.005239398, 0.036774885, -0.012837964, -0.021136608, 0.007576189, 0.015740572, 0.01333665, 0.0038232582, -0.01594516, -0.025138881, -0.023796266, 0.022709386, -0.0066235713, 0.030074593, 0.02586773, -0.009762734, -0.0075058616, 0.019678911, 0.025279537, 0.019090718, -0.005437594, -0.015369753, 0.016865812, -0.010529944, -0.0029921152, -0.016239258, 0.014883854, -0.021622507, -0.004168502, -0.0138992695, 0.016034668, 0.023451023, 0.011866166, -0.012658949, -0.04053421, 0.018489737, 0.012422392, 0.004699155, -0.03237622, 0.032606382, 0.0061856224, -0.0042867805, -0.0011300349, 0.021136608, 0.000460725, 0.021200541, -0.013048947, -0.017773675, -0.018809408, -0.009820275, 0.0029377711, -0.015817292, 0.038590614, -0.0011747888, -0.008893231, -0.015599917, -0.010945515, 0.0159068, -0.016865812, -0.008074875, -0.002901009, -0.0035291614, -0.0011516127, -0.008458479, 0.013048947, 0.00934077, -0.015535982, 0.017658593, -0.005750871, -0.033271298, -0.024550688, 0.025228389, -0.050149895, 0.017466791, 0.029870003, 0.044012222, 0.021954965, 0.0203694, -0.010414862, 0.032606382, 0.0109071545, -0.005399233, 0.014832707, 0.018617606, -0.012946652, 0.009001919, 0.023284793, -0.037951272, -0.0054471837, 0.0067706197, -0.03836045, 0.020855298, 0.0022520781, 0.0034844077, -0.031634584, 0.006981602, 0.02478085, -0.0018524901, -0.037388653, -0.019691698, 0.013349437, 0.02016481, 0.034012932, -0.022082832, 0.030662786, 0.01162961, -0.011968461, 0.018144494, 0.0027203953, -0.008925199, 0.00934077, 0.012224196, -0.015740572, 0.0192058, -0.028412307, -0.0015927579, -0.023949707, 0.019538255, 0.015651064, -0.007467501, 0.020676283, 0.046978764, 0.02571429, 0.026187401, -0.009430277, 0.029307384, 0.02554806, 0.0077104503, 0.044856153, -0.04188961, -0.04178732, 0.016801877, -0.009532572, -0.023604464, 0.060302626, 0.032043763, 0.026494285, 0.020663496, -0.016942533, -0.033833917, -0.03370605, -0.023041844, 0.008241103, 0.055341344, 0.018809408, 0.030867375, -0.021686442, 0.0045457133, -0.023962494, -0.019691698, -0.013247143, -0.013720254, 0.022389716, -0.056568876, 0.030918524, -0.056824613, -0.006994389, 0.012697309, 0.0098138815, -0.027210345, 0.0012898701 ]
2310.12773
1
With the development of large language models (LLMs), striking a balance be- tween the performance and safety of AI systems has never been more critical. However, the inherent tension between the objectives of helpfulness and harmless- ness presents a significant challenge during LLM training. To address this issue, we propose Safe Reinforcement Learning from Human Feedback (Safe RLHF), a novel algorithm for human value alignment. Safe RLHF explicitly decouples human preferences regarding helpfulness and harmlessness, effectively avoiding the crowdworkers’ confusion about the tension and allowing us to train separate reward and cost models. We formalize the safety concern of LLMs as an opti- mization task of maximizing the reward function while satisfying specified cost constraints. Leveraging the Lagrangian method to solve this constrained problem, Safe RLHF dynamically adjusts the balance between the two objectives during fine-tuning. Through a three-round fine-tuning using Safe RLHF, we demonstrate a superior ability to mitigate harmful responses while enhancing model perfor- mance compared to existing value-aligned algorithms. Experimentally, we fine- tuned the Alpaca-7B using Safe RLHF and aligned it with collected human pref- erences, significantly improving its helpfulness and harmlessness according to hu- man evaluations. Code is available at https://github.com/PKU-Alignment/safe-rlhf. Warning: This paper contains example data that may be offensive or harmful.
2310.12773#1
Safe RLHF: Safe Reinforcement Learning from Human Feedback
With the development of large language models (LLMs), striking a balance between the performance and safety of AI systems has never been more critical. However, the inherent tension between the objectives of helpfulness and harmlessness presents a significant challenge during LLM training. To address this issue, we propose Safe Reinforcement Learning from Human Feedback (Safe RLHF), a novel algorithm for human value alignment. Safe RLHF explicitly decouples human preferences regarding helpfulness and harmlessness, effectively avoiding the crowdworkers' confusion about the tension and allowing us to train separate reward and cost models. We formalize the safety concern of LLMs as an optimization task of maximizing the reward function while satisfying specified cost constraints. Leveraging the Lagrangian method to solve this constrained problem, Safe RLHF dynamically adjusts the balance between the two objectives during fine-tuning. Through a three-round fine-tuning using Safe RLHF, we demonstrate a superior ability to mitigate harmful responses while enhancing model performance compared to existing value-aligned algorithms. Experimentally, we fine-tuned the Alpaca-7B using Safe RLHF and aligned it with collected human preferences, significantly improving its helpfulness and harmlessness according to human evaluations.
http://arxiv.org/pdf/2310.12773
Josef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji, Xinbo Xu, Mickel Liu, Yizhou Wang, Yaodong Yang
cs.AI, cs.LG
null
null
cs.AI
20231019
20231019
[ { "id": "2302.13971" }, { "id": "2304.05302" }, { "id": "1707.06347" }, { "id": "2305.18290" }, { "id": "2305.10403" }, { "id": "2305.03047" }, { "id": "2211.05100" }, { "id": "2110.08207" }, { "id": "2304.05335" }, { "id": "2107.03374" }, { "id": "2105.04054" }, { "id": "2209.07858" }, { "id": "2305.15324" }, { "id": "2307.09288" }, { "id": "2210.11416" }, { "id": "2212.08073" }, { "id": "2307.12950" }, { "id": "2009.11462" }, { "id": "2307.04657" }, { "id": "2204.05862" }, { "id": "2112.00861" }, { "id": "2209.14375" }, { "id": "2303.00957" }, { "id": "2306.01693" }, { "id": "2305.01937" }, { "id": "2307.15217" }, { "id": "2306.17492" }, { "id": "2112.04359" }, { "id": "1506.02438" } ]
{ "authors": "Josef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji, Xinbo Xu, Mickel Liu, Yizhou Wang, Yaodong Yang", "chunk_id": 1, "doc_id": "2310.12773", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12773", "summary": "With the development of large language models (LLMs), striking a balance\nbetween the performance and safety of AI systems has never been more critical.\nHowever, the inherent tension between the objectives of helpfulness and\nharmlessness presents a significant challenge during LLM training. To address\nthis issue, we propose Safe Reinforcement Learning from Human Feedback (Safe\nRLHF), a novel algorithm for human value alignment. Safe RLHF explicitly\ndecouples human preferences regarding helpfulness and harmlessness, effectively\navoiding the crowdworkers' confusion about the tension and allowing us to train\nseparate reward and cost models. We formalize the safety concern of LLMs as an\noptimization task of maximizing the reward function while satisfying specified\ncost constraints. Leveraging the Lagrangian method to solve this constrained\nproblem, Safe RLHF dynamically adjusts the balance between the two objectives\nduring fine-tuning. Through a three-round fine-tuning using Safe RLHF, we\ndemonstrate a superior ability to mitigate harmful responses while enhancing\nmodel performance compared to existing value-aligned algorithms.\nExperimentally, we fine-tuned the Alpaca-7B using Safe RLHF and aligned it with\ncollected human preferences, significantly improving its helpfulness and\nharmlessness according to human evaluations.", "text": "With the development of large language models (LLMs), striking a balance be- tween the performance and safety of AI systems has never been more critical. However, the inherent tension between the objectives of helpfulness and harmless- ness presents a significant challenge during LLM training. To address this issue, we propose Safe Reinforcement Learning from Human Feedback (Safe RLHF), a novel algorithm for human value alignment. Safe RLHF explicitly decouples human preferences regarding helpfulness and harmlessness, effectively avoiding the crowdworkers’ confusion about the tension and allowing us to train separate reward and cost models. We formalize the safety concern of LLMs as an opti- mization task of maximizing the reward function while satisfying specified cost constraints. Leveraging the Lagrangian method to solve this constrained problem, Safe RLHF dynamically adjusts the balance between the two objectives during fine-tuning. Through a three-round fine-tuning using Safe RLHF, we demonstrate a superior ability to mitigate harmful responses while enhancing model perfor- mance compared to existing value-aligned algorithms. Experimentally, we fine- tuned the Alpaca-7B using Safe RLHF and aligned it with collected human pref- erences, significantly improving its helpfulness and harmlessness according to hu- man evaluations. Code is available at https://github.com/PKU-Alignment/safe-rlhf. Warning: This paper contains example data that may be offensive or harmful.", "title": "Safe RLHF: Safe Reinforcement Learning from Human Feedback", "year": 2023 }
[ 0.028898032, 0.00081651076, 0.07105101, 0.009326505, -0.0022327087, -0.007107927, -0.03334932, 0.027018601, 0.0005979208, 0.04253451, 0.024051078, -0.031003563, -0.027188174, -0.0063519147, 0.017466, -0.06935528, 0.034225445, -0.042393204, -0.0021761844, 0.022355348, -0.016476825, 0.02874259, 0.028445838, 0.037419066, 0.008386789, -0.02489894, 0.043382376, 0.008485706, -0.00056215154, -0.017522523, 0.0505327, -0.02437609, -0.06036792, 0.012944058, -0.027824072, 0.025478315, 0.0146539165, 0.008118298, -0.015544174, 0.016349645, -0.02303364, -0.034790687, 0.022793412, 0.043975882, -0.009326505, 0.03139923, 0.04089531, 0.037673425, 0.00754599, 0.020730276, -0.04391936, 0.022440135, -0.029844815, 0.0048540216, -0.017635573, 0.01893563, 0.039538726, 0.021352043, 0.022722756, 0.008895507, -0.006002171, -0.034762427, -0.02821974, 0.0028544755, -0.031540543, -0.038464766, -0.1087527, -0.028841509, 0.0021178937, 0.025393529, 0.0126755675, -0.038973484, 0.047989104, -0.010379269, -0.03837998, -0.018229077, 0.042817134, 0.041997533, -0.0042357873, 0.012541322, -0.014922407, 0.014837621, 0.031342708, -0.03334932, -0.006609807, -0.018229077, -0.07059881, -0.0037235362, -0.06166798, -0.03535593, -0.033151485, -0.023273868, -0.019854149, 0.021662926, 0.014018019, -0.033179745, 0.0028315126, 0.018864974, 0.09445205, 0.024305437, 0.003984961, -0.04007571, 0.04154534, -0.034366757, 0.011128216, 0.006362513, 0.040273543, 0.030070912, -0.013749529, 0.020758538, -0.047226027, -0.0028898034, -0.046010755, 0.025110906, 0.0018025943, -0.0696379, -0.08439074, 0.018031241, 0.018681271, -0.02342931, -0.031681854, -0.020631358, 0.05412199, -0.072972834, -0.024022814, -0.012018473, 0.03999092, -0.035016786, -0.002695501, -0.033151485, 0.0031088348, 0.048865233, -0.008634082, -0.011156478, -0.05412199, 0.023697801, -0.03111661, -0.024644582, -0.015445257, -0.03122966, 0.0076307766, -0.012838075, -0.074725084, -0.0002665031, -0.037503853, 0.0026902019, 0.014540869, 0.01469631, -0.023796717, 0.03137097, -0.01423705, -0.0021249594, -0.04129098, 0.05431982, -0.052115377, -0.028036037, -0.014766965, 0.018017111, 0.0032307154, -0.05838957, 0.026184868, 0.042251892, -0.014088674, 0.010351007, 0.029901339, 0.019953066, 0.0082101505, 0.017579047, -0.053048026, -0.016519219, 0.0028156152, 0.002497666, -0.04171491, -0.024771761, -0.048610874, -0.032586243, -0.019557398, -0.027894728, -0.01762144, -0.03176664, -0.003257211, 0.0042499187, -0.038323455, -0.005376871, -0.036910348, 0.005458125, -0.04369326, -0.014166395, -0.015459388, 0.008740066, -0.011665196, 0.007157386, 0.058106948, 0.020899849, 0.037899524, -0.00005956024, 0.027075125, 0.04527594, 0.01958566, -0.025110906, 0.008082971, 0.021253126, 0.019486742, -0.036429893, 0.009722174, 0.006033966, -0.03334932, 0.03187969, -0.032897126, -0.047847793, 0.037277754, 0.04685862, 0.045699872, 0.038436502, -0.02700447, 0.010817332, -0.020885717, -0.008888441, -0.0067652487, 0.02263797, -0.008040577, 0.03320801, 0.036232058, 0.024121732, -0.045728136, -0.018186683, 0.031823162, -0.03111661, 0.037786473, -0.050787058, 0.03707992, 0.0009185194, -0.012463601, -0.03877565, 0.0072845654, 0.007757956, -0.011029298, 0.004656187, 0.022567315, 0.0041615996, 0.027343616, 0.01417346, 0.012470667, -0.029873077, -0.0019341898, 0.032247096, -0.010110779, -0.023796717, 0.025534838, -0.01733882, -0.00017719033, -0.029760027, 0.018949762, -0.048554346, -0.037673425, 0.020193296, -0.028318658, -0.0149082765, 0.014752834, -0.02211512, -0.028686067, 0.0132408105, -0.014335968, 0.017494261, -0.020306343, -0.0009021803, -0.015120242, 0.008090036, -0.030014386, 0.02357062, 0.022482527, 0.017918194, -0.016462693, -0.013537562, -0.04106488, -0.032105785, 0.06291151, 0.06336371, -0.008725934, -0.013000582, -0.058672193, 0.01436423, 0.058050424, -0.042647563, -0.008111233, 0.027894728, -0.006956018, -0.049430475, -0.03334932, -0.033490628, -0.011149412, -0.021380305, 0.06415505, -0.020334605, 0.015303946, 0.030325271, 0.00958793, 0.0029834216, 0.001322138, 0.020885717, 0.022016203, 0.044936795, -0.04171491, -0.025379397, 0.046152066, -0.005034193, -0.024927203, -0.0016515685, 0.022171644, 0.037758213, 0.030692678, 0.019119333, 0.0070973285, 0.0040980093, -0.038408242, -0.061894074, 0.05785259, -0.027908858, 0.0280643, -0.017918194, 0.002956926, -0.022468397, 0.013579955, -0.038803913, 0.0090438835, -0.023584751, 0.042336676, 0.013544628, -0.018327994, -0.03399935, 0.011742917, -0.024460878, 0.001193192, -0.02805017, -0.01561483, -0.03320801, -0.05889829, 0.032360144, 0.015982237, 0.008994425, -0.050334863, -0.03812562, -0.044032406, 0.023881504, -0.03148402, -0.017310558, -0.0005029777, -0.02686316, 0.034762427, 0.04815868, -0.009291177, -0.0074824, -0.004348836, -0.006274194, -0.047452126, 0.012018473, -0.007637842, -0.025775068, 0.007291631, 0.0027626236, -0.006305989, 0.021521615, -0.00958793, 0.009072145, 0.029053474, 0.019825887, -0.018963892, 0.018582353, 0.013396252, -0.027866464, 0.00463499, 0.008266674, -0.01071135, -0.0017707994, -0.06669864, 0.03852129, 0.032642767, -0.009778699, 0.0074188104, -0.009418356, -0.0031494617, -0.009983599, -0.02874259, -0.04041485, 0.005557042, 0.03351889, -0.012350553, -0.025534838, -0.038860437, 0.0015676653, 0.044795483, -0.015869189, -0.05677863, 0.02569028, 0.025987033, -0.008026446, -0.020433523, 0.04564335, 0.0642681, 0.05946353, -0.008082971, -0.027470795, -0.047706485, 0.034592852, -0.03029701, 0.0008721518, -0.023160819, 0.03561029, 0.0020702013, 0.041743174, 0.030381795, -0.043354116, 0.019910675, -0.013219614, 0.023076033, -0.038888697, 0.03216231, -0.0014943604, 0.025930509, 0.024192387, 0.010343941, -0.056835152, 0.02911, -0.019840019, 0.009545536, 0.0038047899, -0.012823944, -0.0338863, -0.014540869, -0.066529065, 0.012626109, 0.061781026, 0.014795228, -0.040951833, -0.03165359, 0.0247435, -0.0082101505, 0.0050589223, 0.0010236192, -0.0012505995, 0.05957658, -0.004080346, -0.06505943, 0.023146689, -0.007581318, 0.004695047, -0.03425371, 0.052228425, -0.016702922, -0.010986905, -0.019515004, 0.0069948784, 0.06879003, 0.033971086, 0.02053244, -0.020998767, 0.04513463, -0.035553765, 0.015671354, 0.033038437, 0.030212222, 0.010577104, -0.022397742, 0.020942243, 0.011545082, 0.009799895, 0.011269527, 0.00062529976, -0.033660203, -0.017974718, 0.006150547, -0.05641122, 0.013184286, -0.027258828, -0.019401956, 0.00019341898, 0.023810849, -0.03072094, 0.03453633, -0.0008081204, 0.010676022, -0.010188499, 0.00999773, -0.008492772, 0.05200233, 0.032190572, 0.017974718, 0.0025471249, 0.00569482, 0.046830356, 0.022397742, -0.025223956, 0.053811103, -0.016519219, 0.010089582, -0.023330392, 0.0115592135, 0.017155116, 0.020461787, -0.004652654, -0.0020790333, -0.013770726, -0.031794902, 0.012498929, 0.0098917475, 0.01197608, 0.05437635, -0.010478186, -0.034479804, 0.03323627, -0.014470213, 0.01575614, -0.018243209, 0.010760807, -0.020306343, 0.0073128273, -0.0046738507, -0.016067024, -0.013445711, 0.027301222, 0.020913979, -0.017918194, -0.02023569, 0.003878978, 0.0014316537, 0.006924223, -0.042817134, -0.02834692, -0.037249494, -0.02700447, -0.01203967, 0.015784401, 0.024446746, 0.00032435215, -0.061102737, -0.015968107, -0.0051295776, -0.018949762, -0.038973484, -0.030890513, 0.017367082, 0.0008787758, 0.058050424, 0.026693586, 0.01827147, -0.026552275, 0.011863031, -0.011340181, 0.009284112, 0.023796717, 0.046547737, -0.03360368, -0.03467764, -0.02024982, -0.012272832, -0.020419393, -0.004758637, -0.021224864, 0.01012491, 0.028106693, -0.006104621, -0.02236948, -0.010534711, 0.0019836486, -0.05268062, -0.01264024, -0.0044159587, 0.016646398, 0.024347829, 0.022044465, -0.02277928, -0.013693004, 0.024164125, -0.09535644, 0.04103662, 0.009383028, 0.01986828, -0.021564009, 0.047734745, 0.02978829, -0.051154464, -0.019006286, -0.023457572, -0.0055111162, -0.04567161, -0.015063718, -0.0031476952, 0.031060087, -0.057513446, 0.0010183201, 0.009814027, 0.011156478, 0.027767548, 0.0026389768, -0.05047617, -0.012216308, -0.0076307766, 0.0008169523, 0.022708625, -0.018059503, 0.0025630223, -0.004638523, 0.032190572, -0.025068514, -0.024065208, 0.015120242, -0.008846048, 0.0034303167, 0.03999092, 0.0014404857, -0.011700524, -0.027824072, 0.016830102, -0.0149648, -0.021408567, -0.025789198, 0.006804109, 0.016420301, 0.028558888, -0.036514677, -0.03057963, -0.0004892882, 0.009347701, -0.011439099, 0.0018008279, -0.003833052, -0.015544174, -0.009347701, -0.02330213, -0.0140745435, -0.06053749, 0.023358654, 0.0048999474, -0.051974066, 0.015939845, 0.01681597, 0.033179745, -0.018780189, 0.004606728, -0.015897451, 0.0013406851, 0.02766863, 0.007991118, -0.06415505, 0.0017955288, 0.008775393, 0.013721267, -0.014265313, -0.016420301, -0.03801257, -0.04637816, -0.034932, -0.011636934, -0.00972924, 0.011269527, 0.023768455, -0.006924223, 0.025930509, 0.033010174, -0.008160692, -0.04318454, -0.0066557326, -0.039680038, 0.030155698, 0.0035716272, 0.009467815, -0.00044225826, 0.042930182, 0.018511698, -0.027739285, -0.028898032, 0.021747712, -0.0028721394, -0.013813118, -0.024319567, -0.02780994, 0.007892201, -0.022256432, -0.013092434, 0.01839865, -0.014880014, 0.029166523, -0.038408242, -0.076477334, 0.0014060412, 0.02475763, 0.044823747, 0.0055181817, 0.011969014, 0.0255631, -0.0064013735, -0.0021496885, 0.0027025666, -0.012364684, 0.005800803, 0.06879003, -0.013912036, 0.0463499, -0.009255849, -0.046971668, -0.016604004, 0.019416086, 0.004030887, -0.010372204, -0.01786167, -0.033547156, -0.028615411, 0.02675011, 0.037984308, 0.028262135, -0.009411291, 0.0096161915, 0.0010298016, 0.01575614, -0.011643999, 0.01390497, 0.025294611, 0.010499383, 0.015077849, -0.031794902, -0.06127231, 0.0042746477, -0.025987033, 0.014088674, -0.019288907, 0.013120696, -0.042138845, 0.035949435, -0.021648794, -0.019274777, 0.019260645, -0.015643092, -0.003331399, 0.0038683796, -0.011163543, -0.015727878, -0.02978829, -0.010902119, -0.02303364, 0.00043276395, 0.022751018, 0.021352043, -0.00972924, 0.012188045, 0.006408439, 0.019613922, 0.02170532, 0.018949762, -0.006242399, -0.0031653591, -0.01615181, 0.014116936, -0.021238994, 0.026820766, 0.0222423, -0.023132557, -0.0016930785, 0.0028898034, -0.02051831, 0.003893109, 0.014159329, 0.014597393, 0.0028209144, 0.018638877, 0.03351889, -0.014053347, -0.004165132, 0.013579955, 0.028530626, -0.023584751, -0.006454365, -0.024248911, 0.017282296, 0.02526635, 0.03722123, -0.019698707, 0.0031353305, -0.014978931, 0.011036363, 0.016886625, -0.007348155, -0.011679327, 0.041347504, -0.02845997, -0.021450961, 0.0016436197, -0.0004139961, -0.00018569105, 0.010181434, -0.015798533, -0.03869086, 0.024418484, -0.0071114595, -0.021733582, -0.0060445643, 0.029166523, 0.0022309422, -0.08783872, -0.02118247, 0.035440717, -0.005864393, -0.0028951024, 0.0035327668, 0.007104394, 0.043665, 0.00153852, -0.06370285, 0.020588966, -0.011269527, -0.0064367014, 0.011354312, 0.018483436, -0.06302456, 0.0060374984, -0.01627899, 0.031568803, -0.021747712, -0.0132266795, -0.0074753347, 0.012272832, 0.027046863, -0.0014952435, -0.0068253055, -0.0021956146, 0.024969596, -0.02766863, 0.02580333, -0.01509198, -0.026806636, 0.0031159003, 0.0076307766, -0.029590456, 0.0039531663, 0.0039213714, -0.013106565, -0.03521462, 0.03973656, 0.0047974973, -0.021111814, 0.044512864, -0.031823162, 0.02833279, -0.01918999, 0.017791014, -0.00866941, 0.0043841638, -0.00077235117, 0.012527191, -0.0010942746, -0.014498475, -0.03730602, -0.008733, 0.0005692171, 0.003119433, 0.026255524, -0.010230893, 0.021620532, -0.028375184, 0.019401956, -0.0020278082, -0.015431126, -0.021479223, 0.01509198, -0.017904062, 0.022214038, -0.041262716, -0.053302385, -0.015826795, -0.0052461587, -0.011481492, 0.06460724, 0.0455303, -0.0003830844, 0.03029701, 0.03467764, -0.021620532, 0.022991247, 0.04490853, -0.039708298, 0.03190795, 0.007058468, 0.0032695758, 0.023273868, 0.050589222, 0.018384518, -0.026509883, 0.009291177, 0.03654294, -0.008683541, 0.028177349, -0.0026177804, 0.033066697, -0.018327994, 0.0077650216, 0.01681597, -0.00496707, -0.027852334, 0.034960262, 0.0089379, -0.006048097, -0.007849808, 0.009637388, 0.010230893, -0.0020666686, 0.017466, 0.019981328, 0.011368444, 0.008160692, 0.036514677, -0.031286184, 0.020348737, -0.00040847616, 0.025082644, -0.0009882916, 0.01986828, 0.015925713, 0.019882413, -0.0032960714, 0.037673425, -0.030240484, 0.020306343, -0.0064649633, -0.017112723, -0.012767419, 0.015501781, 0.0024022814, -0.010040123, 0.054065462, 0.0039531663, -0.003569861, -0.01708446, -0.040867046, 0.009453684, 0.035129834, -0.018568223, -0.027060995, 0.021295518, 0.017239902, 0.009651519, 0.023528228, -0.004080346, -0.02157814, 0.01681597, 0.018257339, -0.03614727, 0.011163543, 0.016095286, 0.0020507711, 0.000340912, 0.016505087, 0.029760027, -0.016533349, 0.04064095, 0.037786473, -0.041743174, -0.020023722, 0.01172172, -0.0075671864, 0.038408242, -0.045869444, 0.0016542181, 0.008005249, -0.013714201, -0.009884682, 0.023287999, 0.01151682, -0.003893109, -0.027060995, -0.061950598, 0.020348737, -0.028926294, 0.004755104, 0.017423606, 0.0017363549, 0.024941335, 0.017451867, 0.0521719, 0.022312956, 0.032586243, -0.015459388, -0.015501781, 0.033971086, 0.013615283, 0.0005974792, -0.02159227, 0.007496531, 0.030494843, 0.021394435, 0.020942243, 0.001769033, 0.048243463, 0.022355348, -0.05016529, -0.0118418345, 0.057937376, -0.045219414, -0.06624644, -0.04767822, 0.07743825, 0.013685939, 0.005740746, 0.0135234315, 0.0024075806, 0.0008416817, -0.027781678, -0.02501199, 0.016377907, -0.0024393755, 0.00090173876, -0.0511262, 0.011467361, 0.03377325, -0.014569131, 0.014378361, -0.0058219996, 0.0006721089, -0.016208334, 0.0028456438, -0.02382498, 0.0107325455, 0.0014775797, -0.012272832, -0.0064190375, -0.014152264, 0.016349645, 0.018596485, 0.0030523106, -0.0046667852, -0.0031529944, -0.0021355576, -0.008655279, -0.029477406, -0.020009592, 0.0082101505, -0.0043559014, -0.005949179, 0.023217345, 0.02554897, -0.0059739086, -0.0182856, -0.024192387, 0.016886625, -0.009644453, 0.037108183, 0.011177674, -0.0284741, -0.02911, -0.0013972092, -0.010230893, 0.031823162, 0.017663835, -0.0027396607, -0.05536552, 0.02342931, 0.05745692, 0.04049964, 0.01271796, -0.035016786, 0.016731184, 0.012880468, 0.004638523, -0.012152718, -0.017126855, -0.0061152196, 0.0074894656, 0.020094378, -0.016264858, 0.0047515715, 0.012435339, -0.026792504, 0.0338863, -0.01906281, 0.022327086, 0.02939262, 0.019840019, 0.012922862, -0.026001165, -0.023372786, -0.020080246, -0.022440135, 0.008923769, 0.0010351007, 0.016434431, 0.008471575, -0.02039113, 0.027244698, 0.009771633, 0.014441951, 0.038860437, 0.0015155569, 0.0018882639, -0.008902572, -0.012809813, 0.006514422, -0.034366757, 0.024856547, 0.01124833, 0.033434104, 0.008019381, 0.0048080957, 0.0031423962, 0.025902247, -0.0057372134, -0.026312048, -0.03999092, 0.0027149313, -0.008104167, -0.0007467386, -0.0036493482, 0.012816878, -0.00030448035, 0.0028527093, -0.033405844, -0.018681271, -0.027866464, 0.005998638, -0.03320801, 0.016095286, -0.0014766966, 0.00985642, 0.011467361, -0.012110325, -0.0031017694, -0.015982237, -0.019741101, -0.027018601, 0.017649703, 0.0018617681, 0.0280643, -0.0069772145, 0.0035045047, -0.04038659, -0.0021850164, -0.036684252, -0.014781097, -0.014166395, -0.0011216535, 0.03835172, -0.00846451, 0.040443115, 0.03230362, -0.0068253055, 0.0077791526, -0.027767548, -0.021775974, 0.0016144745, -0.00900149, 0.07229454, -0.022948854, 0.010513514, -0.0026972676, -0.034564592, 0.03046658, 0.013106565, 0.004370033, 0.009234653, 0.013530497, 0.0035557298, 0.012223373, -0.008160692, 0.024390223, 0.013106565, -0.012809813, -0.0107325455, 0.04962831, 0.012887534, 0.008379723, -0.019091072, 0.017197508, -0.0079557905, -0.044541124, 0.031031825, 0.038464766, -0.0035115702, 0.035129834, 0.016886625, 0.021069422, 0.005168438, -0.008916704, -0.029053474, 0.007291631, -0.039482202, 0.0020172098, -0.024785893, 0.014385426, 0.004242853, 0.0067652487, 0.005122512, -0.009107473, -0.011410837, 0.0055535096, -0.013650611, 0.0070125423, 0.00054007175, -0.013488104, 0.02872846, 0.019684577, 0.02159227, -0.029307833, 0.013000582, -0.0052779536, 0.012060866, 0.010308614, -0.01667466, 0.0357516, 0.022312956, 0.023386916, -0.011001036, 0.014865883, -0.036119007, -0.0021178937, 0.016490955, 0.0007220092, 0.0112907225, 0.036090747, -0.01224457, 0.039538726, -0.028361052, 0.0067087244, 0.018455174, -0.00011547732, 0.01709859, 0.021521615, -0.021733582, 0.012866337, -0.006542684, 0.0072986963, 0.015219159, 0.025577232, -0.006108154, -0.00503066, -0.020716146, 0.029025212, 0.0118418345, 0.023683669, -0.024404353, 0.022708625, -0.031088348, 0.03662773, 0.059520055, 0.019811757, -0.026410965, -0.0071326564, -0.018031241, 0.03758864, 0.03524288, -0.005274421, -0.0004685332, -0.026481621, -0.0020260417, 0.016830102, -0.04078226, -0.015727878, -0.020292213, 0.009941206, 0.023598883, 0.0140604125, 0.00016328007, -0.020150902, 0.014724572, 0.021521615, -0.013728332, 0.015077849, -0.003205986, 0.04038659, 0.002898635, -0.0008425649, 0.007786218, -0.010640694, 0.016604004, 0.0034250175, -0.011509755, -0.010584169, -0.019303039, -0.013424514, 0.026382703, -0.009955337, -0.00985642, 0.0058219996, 0.016660528, -0.007397614, 0.0047021126, 0.006853568, -0.002211512, -0.04185622, -0.003400288, -0.007856874, 0.006924223, -0.009778699, -0.013071237, 0.003340231, -0.027103387, 0.010774939, 0.026297916, -0.0062812595, -0.0073410897, -0.017494261, -0.01020263, 0.014936538, -0.01721164, 0.012541322, -0.014293575, 0.012710895, -0.00016835843, -0.0042958446, 0.029025212, 0.002584219, 0.019840019, -0.0189215, -0.008591689, 0.009163997, 0.039934397, -0.029194785, 0.007786218, -0.0012320525, 0.015318077, 0.013544628, -0.031681854, 0.005270888, 0.04315628, -0.011778245, 0.0018008279, -0.044654172, -0.020051984, 0.011820638, -0.004045018, 0.005952712, -0.022058597, -0.014067478, -0.010273286, -0.004299377, 0.003621086, -0.0019642184, 0.030155698, -0.00033870403, -0.013735398, -0.02330213, -0.014286509, -0.017706227, 0.012442404, 0.028629543, 0.0024570394, 0.045021582, 0.011318985, 0.01469631, 0.03589291, 0.0003517311, 0.005348609, -0.005150774, -0.0025700878, 0.01721164, -0.0061328835, -0.0019147596, -0.00068800634, 0.0021779507, -0.0012929926, -0.0014007421, 0.00058069854, 0.0072986963, 0.02715991, 0.024785893, 0.019783495, 0.025930509, -0.01085266, -0.018356256, -0.032218833, -0.00881072, -0.008436248, 0.018709533, 0.010577104, 0.00017465116, 0.020871587, 0.013198417, 0.0028120824, 0.0071326564, -0.009411291, 0.009086276, 0.027103387, -0.01708446, -0.0013512833, 0.02422065, -0.017847538, 0.011601606, -0.011191806, -0.0019960133, -0.010880922, 0.007998184, -0.013325596, 0.037503853, 0.006461431, 0.0018140757, -0.022567315, 0.07743825, 0.037023395, 0.02792299, -0.042562775, 0.0077650216, -0.0038047899, 0.02580333, -0.012831009, -0.019246513, 0.038182143, -0.04564335, 0.0041439356, -0.0008279922, -0.014597393, 0.04383457, -0.010216761, -0.017494261, 0.014851752, 0.00091233704, -0.03351889, 0.016914887, -0.024884809, 0.027371878, 0.032925386, -0.047395602, 0.016109416, 0.018426912, -0.0121315215, -0.02395216, -0.010612432, 0.0044936794, -0.035921175, -0.007998184, 0.0017010273, -0.030607892, 0.017663835, 0.020136772, -0.028898032, -0.020306343, -0.011509755, 0.014131067, 0.0079345945, -0.012315225, -0.007334024, 0.0049317423, -0.028431708, 0.013170155, 0.04688688, -0.006747585, -0.014131067, 0.02064549, 0.02355649, 0.014752834, 0.0060975556, 0.002409347, -0.002805017, -0.020094378, 0.014781097, 0.027894728, 0.043608475, 0.015402864, -0.010372204, 0.051013153, 0.0031264988, 0.012604912, 0.006698126, 0.000059284244, -0.0038365847, 0.010810266, 0.013579955, 0.019967198, -0.0031671254, -0.016505087, -0.023528228, 0.008598754, 0.011813573, -0.010315679, -0.007680235, 0.0096161915, 0.0060622278, 0.0037659295, 0.010075451, 0.0010695452, 0.014724572, 0.010548842, -0.008068839, 0.018073635, 0.028318658, 0.034621116, -0.024460878, 0.03125792, -0.00085581274, 0.0025506576, 0.031003563, -0.01357289, -0.03445154, 0.023598883, -0.026891422, 0.025209824, -0.0013212548, 0.0089379, -0.002813849, 0.028940426, 0.007849808, 0.013509301, 0.027824072, 0.023372786, 0.003091171, 0.010386335, -0.005154307, 0.0017681498, 0.015289815, -0.021790106, -0.012145652, -0.015855057, -0.03917132, -0.016420301, 0.0041121407, -0.0016709988, -0.0033013707, 0.031710114, -0.027230566, 0.0059315157, -0.008521033, -0.02357062, 0.018455174, 0.04711298, -0.004691514, -0.0027113985, -0.011919555, -0.031060087, -0.02105529, -0.014463147, -0.0015438191, -0.009234653, 0.007998184, -0.02236948, 0.012661437, -0.038323455, -0.0073693516, 0.016632266, -0.007196246, 0.008436248, -0.0074046794 ]
2310.12397
2
in direct and iterative modes. In iterative modes, we experiment both with the model critiquing its own answers and an external correct reasoner verifying proposed solutions. In both cases, we analyze whether the content of the criticisms actually affects bottom line performance. The study seems to indicate that (i) LLMs are bad at solving graph coloring instances (ii) they are no better at verifying a solution–and thus are not effective in iterative modes with LLMs critiquing LLM-generated solutions (iii) the correctness and content of the criticisms–whether by LLMs or external solvers–seems largely irrelevant to the performance of iterative prompting. We show that the observed effectiveness of LLMs in iterative settings is largely due to the correct solution being fortuitously present in the top-k completions of the prompt (and being recognized as such by an external verifier). Our results thus call into question claims about the self-critiquing capabilities of state of the art LLMs.
2310.12397#2
GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems
There has been considerable divergence of opinion on the reasoning abilities of Large Language Models (LLMs). While the initial optimism that reasoning might emerge automatically with scale has been tempered thanks to a slew of counterexamples, a wide spread belief in their iterative self-critique capabilities persists. In this paper, we set out to systematically investigate the effectiveness of iterative prompting of LLMs in the context of Graph Coloring, a canonical NP-complete reasoning problem that is related to propositional satisfiability as well as practical problems like scheduling and allocation. We present a principled empirical study of the performance of GPT4 in solving graph coloring instances or verifying the correctness of candidate colorings. In iterative modes, we experiment with the model critiquing its own answers and an external correct reasoner verifying proposed solutions. In both cases, we analyze whether the content of the criticisms actually affects bottom line performance. The study seems to indicate that (i) LLMs are bad at solving graph coloring instances (ii) they are no better at verifying a solution--and thus are not effective in iterative modes with LLMs critiquing LLM-generated solutions (iii) the correctness and content of the criticisms--whether by LLMs or external solvers--seems largely irrelevant to the performance of iterative prompting. We show that the observed increase in effectiveness is largely due to the correct solution being fortuitously present in the top-k completions of the prompt (and being recognized as such by an external verifier). Our results thus call into question claims about the self-critiquing capabilities of state of the art LLMs.
http://arxiv.org/pdf/2310.12397
Kaya Stechly, Matthew Marquez, Subbarao Kambhampati
cs.AI
18 pages, 3 figures
null
cs.AI
20231019
20231019
[ { "id": "2206.10498" }, { "id": "2306.03872" }, { "id": "2303.11366" } ]
{ "authors": "Kaya Stechly, Matthew Marquez, Subbarao Kambhampati", "chunk_id": 2, "doc_id": "2310.12397", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12397", "summary": "There has been considerable divergence of opinion on the reasoning abilities\nof Large Language Models (LLMs). While the initial optimism that reasoning\nmight emerge automatically with scale has been tempered thanks to a slew of\ncounterexamples, a wide spread belief in their iterative self-critique\ncapabilities persists. In this paper, we set out to systematically investigate\nthe effectiveness of iterative prompting of LLMs in the context of Graph\nColoring, a canonical NP-complete reasoning problem that is related to\npropositional satisfiability as well as practical problems like scheduling and\nallocation. We present a principled empirical study of the performance of GPT4\nin solving graph coloring instances or verifying the correctness of candidate\ncolorings. In iterative modes, we experiment with the model critiquing its own\nanswers and an external correct reasoner verifying proposed solutions. In both\ncases, we analyze whether the content of the criticisms actually affects bottom\nline performance. The study seems to indicate that (i) LLMs are bad at solving\ngraph coloring instances (ii) they are no better at verifying a solution--and\nthus are not effective in iterative modes with LLMs critiquing LLM-generated\nsolutions (iii) the correctness and content of the criticisms--whether by LLMs\nor external solvers--seems largely irrelevant to the performance of iterative\nprompting. We show that the observed increase in effectiveness is largely due\nto the correct solution being fortuitously present in the top-k completions of\nthe prompt (and being recognized as such by an external verifier). Our results\nthus call into question claims about the self-critiquing capabilities of state\nof the art LLMs.", "text": "in direct and iterative modes. In iterative modes, we experiment both with the model critiquing its own answers and an external correct reasoner verifying proposed solutions. In both cases, we analyze whether the content of the criticisms actually affects bottom line performance. The study seems to indicate that (i) LLMs are bad at solving graph coloring instances (ii) they are no better at verifying a solution–and thus are not effective in iterative modes with LLMs critiquing LLM-generated solutions (iii) the correctness and content of the criticisms–whether by LLMs or external solvers–seems largely irrelevant to the performance of iterative prompting. We show that the observed effectiveness of LLMs in iterative settings is largely due to the correct solution being fortuitously present in the top-k completions of the prompt (and being recognized as such by an external verifier). Our results thus call into question claims about the self-critiquing capabilities of state of the art LLMs.", "title": "GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems", "year": 2023 }
[ 0.011391529, 0.022279564, 0.039300423, -0.00907686, -0.008181761, 0.022349494, 0.023873959, -0.0070768734, 0.012181733, 0.07653093, 0.05314648, -0.0335662, -0.03723051, 0.023412423, -0.0011704464, -0.04411158, 0.065733805, -0.043468226, 0.0046013664, 0.04209761, 0.08251691, 0.016237648, 0.040391326, 0.02434948, 0.02917462, 0.01434955, 0.010489437, -0.028810987, 0.02945434, -0.020797057, 0.030992791, -0.0012473689, -0.06321634, -0.012181733, -0.032447327, 0.09555178, 0.032587186, -0.015426465, 0.018195678, 0.005793666, -0.034153607, -0.010216712, -0.05751009, -0.018195678, -0.033762, 0.03650324, 0.023440396, 0.022783058, 0.012209705, 0.0132027045, -0.05890868, 0.050461184, 0.055132482, 0.0087062325, -0.01921665, -0.021258593, -0.020489367, 0.0034650108, 0.00024278676, -0.0058111483, 0.040223494, -0.02602779, -0.01770617, 0.004793673, -0.05446116, -0.031720057, -0.029650142, 0.016013874, 0.004402067, 0.028447354, -0.0062027536, 0.0002735995, 0.05997161, -0.011244677, -0.043524172, 0.024083748, 0.095943384, 0.03756617, 0.047440227, 0.016615268, 0.04699268, 0.02517465, 0.030629156, -0.038880847, 0.003839134, -0.0017482395, -0.023692142, 0.007503444, -0.06304851, -0.07244705, -0.010265662, 0.027524283, 0.0084405, 0.035636116, 0.06920231, 0.025985831, -0.023622213, -0.0025436885, 0.03297879, 0.026125692, -0.04562206, -0.018657213, 0.015524367, -0.010657269, 0.052894734, 0.020573283, 0.013083825, -0.0015367025, -0.0067761764, -0.03130048, -0.04534234, -0.021020832, -0.09348186, -0.0384333, 0.029062733, -0.048475187, -0.0671324, -0.023076762, 0.010349578, -0.012734177, 0.012384529, 0.012146768, 0.024405424, -0.020293564, 0.029845946, -0.0018199174, 0.062041525, -0.029202593, 0.02051734, -0.017048832, -0.019328536, 0.00036997118, 0.020433424, -0.014447452, -0.04671296, 0.034992762, -0.058740847, -0.01619569, -0.010027902, -0.013531374, -0.005874085, 0.016419465, -0.032727044, 0.020055804, -0.0094335005, 0.010957966, 0.0047097574, 0.021636212, -0.0006451004, 0.024167662, -0.02928651, -0.0117901275, 0.010300627, 0.025496325, -0.038237493, -0.0013024384, -0.022335509, -0.015804086, 0.011188733, 0.011916, 0.01328662, 0.029538255, -0.0016879253, -0.0024720107, -0.010923001, 0.03860113, -0.00484612, -0.0066083455, -0.02198586, -0.017328551, -0.018755114, -0.0131607475, -0.033538226, -0.008209732, 0.019887973, -0.026125692, -0.009307628, -0.023538297, 0.02458724, 0.012342571, -0.059747834, 0.03082496, -0.0031730547, 0.028783016, -0.018978888, -0.0068426095, 0.01709079, -0.021846002, -0.03205572, -0.030097691, -0.021650199, 0.016559325, 0.06858693, 0.012643268, -0.021818029, -0.004342627, 0.054712903, 0.032307465, -0.020853002, -0.018713156, 0.0069789723, 0.015901987, 0.042265438, -0.026433382, -0.006461493, 0.040671043, 0.011517402, -0.0077481978, -0.026657157, -0.0167831, 0.04293676, 0.029985804, 0.049202453, 0.031468313, 0.0053461166, 0.028377423, -0.02657324, 0.02205579, 0.019034833, 0.035943806, -0.03387389, 0.007038412, 0.038377356, 0.0034422837, -0.022573268, 0.0680275, 0.024685143, -0.034908846, -0.0014903742, -0.042629074, 0.021188663, -0.023258578, -0.06416738, -0.0009798883, 0.008496444, -0.036754988, -0.040866848, 0.00919574, 0.002314669, -0.041594114, 0.042573128, -0.013090817, 0.016978903, -0.06411144, -0.020419437, 0.014195705, -0.031524256, 0.0051013627, -0.020825028, 0.008160782, -0.025901917, -0.028531268, 0.00028889658, -0.05146817, -0.038237493, 0.021328522, 0.025636185, 0.0068356167, -0.01770617, -0.025020804, -0.0152166765, 0.016643241, -0.032615155, 0.022699142, -0.03711862, 0.0072586904, -0.03006972, 0.030713072, -0.011783134, -0.019188678, 0.0046433243, 0.017860016, -0.018055817, 0.007202747, 0.0167831, -0.06629324, 0.028167635, 0.019608254, -0.025300523, 0.025538282, -0.018992875, 0.012090825, 0.04791575, 0.046349328, -0.015706183, 0.00094841997, -0.030657127, 0.0097341975, 0.0040419297, 0.03907665, 0.033762, -0.04732834, 0.030433353, 0.031048734, -0.028950846, -0.015832057, -0.0017788337, -0.009510423, -0.011223698, 0.022223622, 0.020964889, 0.03037741, -0.05516045, 0.009454479, -0.0064929617, 0.023692142, 0.010237691, 0.00048207704, -0.0003693156, 0.02427955, 0.014755142, 0.021454396, 0.016237648, 0.06120237, -0.02420962, -0.056978624, 0.027272537, -0.03127251, 0.006115342, -0.012657254, -0.01825162, -0.041957747, 0.02664317, -0.01458731, -0.015230663, 0.011692226, 0.006999951, -0.011950965, -0.0005222866, -0.00976217, -0.0065279263, 0.003758715, -0.009034902, 0.016517367, 0.012160754, -0.009769162, -0.024083748, 0.01650338, -0.000104894374, 0.0152166765, -0.07082468, 0.016643241, -0.0012534878, 0.027342467, -0.02917462, 0.024055775, 0.022839, 0.035160594, 0.051552087, 0.031356424, 0.027286522, -0.038153578, -0.00534262, -0.013713191, 0.0033741023, 0.036279466, -0.04702065, -0.0029213082, 0.014629268, 0.03404172, -0.0073985495, 0.010573353, -0.032279495, 0.025048776, -0.018447423, 0.084978424, -0.021146705, -0.030741043, 0.021132719, 0.01640548, 0.014517381, 0.008104838, -0.0046677995, 0.05613947, -0.037454285, 0.033062708, 0.016377509, 0.0077412045, -0.017006874, 0.02404179, -0.031999778, -0.04704862, -0.003825148, -0.0125383735, 0.021132719, 0.022321522, -0.0038286445, -0.039216507, -0.056251355, 0.00070016994, 0.012957951, -0.0004079954, -0.01609779, -0.04623744, 0.085985415, 0.044894792, -0.0031713066, 0.07759386, 0.07093657, 0.019887973, -0.0059475107, -0.018041832, -0.033678085, 0.04355214, -0.006328627, 0.020559296, 0.0029143153, 0.026629185, 0.021943903, 0.0040419297, 0.021790057, -0.011636282, 0.015300592, -0.0019545318, 0.01465724, -0.07446102, 0.046629045, 0.018097775, 0.04430738, 0.058517072, -0.012314599, -0.017202677, 0.017692184, -0.03325851, 0.060251325, 0.009615317, 0.0014012139, -0.02253131, -0.00015581185, -0.06808344, -0.036363382, 0.089342035, 0.007937008, -0.01030762, -0.028167635, -0.023440396, -0.00888805, -0.015300592, -0.028727071, -0.07367781, -0.0061712856, -0.004038433, -0.027272537, -0.024335494, -0.04148223, 0.00223425, -0.03569206, -0.018475395, 0.01472717, -0.024825001, -0.010454472, -0.021048805, 0.07261488, 0.01335655, -0.016839042, -0.060419157, 0.07048902, -0.019943917, 0.009888043, -0.037006736, -0.0046153525, -0.009587346, 0.022783058, -0.02099286, -0.007293655, 0.049230427, -0.029258536, -0.0015952686, -0.0051433207, 0.022755086, -0.0134614445, -0.033762, 0.031831946, -0.012545367, -0.044782903, 0.0038566163, -0.013727177, -0.020041818, 0.01030762, -0.055048566, -0.023762072, -0.016447438, 0.057342257, -0.023845987, 0.03194383, 0.07809736, -0.02555227, 0.0058356235, -0.030741043, 0.019160705, 0.009978951, -0.05390172, 0.013363543, -0.016894987, 0.0128180925, -0.002487745, 0.0075314157, 0.002379354, 0.023006832, -0.001277963, -0.021538312, 0.025006818, -0.035803944, 0.022573268, 0.020265592, 0.043775916, 0.025454367, -0.01619569, 0.041398313, -0.005961497, -0.022335509, 0.013636269, 0.0286012, 0.00006386537, -0.022825016, 0.0075733736, -0.028195607, 0.031720057, -0.00732862, 0.038545184, 0.0044055637, -0.01839148, -0.013678226, 0.0015777862, 0.0016048839, -0.024922902, -0.046629045, -0.05065699, -0.047524143, -0.005139824, 0.011580339, -0.0054649967, -0.014097803, 0.016349535, -0.055747863, -0.02243341, -0.008853085, -0.003961511, -0.029845946, -0.05896462, 0.026727086, 0.005013951, -0.0079789655, 0.0036747996, -0.013496409, 0.010244683, 0.017999874, -0.040950764, 0.018545324, 0.020503353, 0.02517465, -0.05633527, -0.031999778, -0.017454423, 0.015888, -0.03742631, -0.02702079, -0.014797099, -0.024769058, -0.0020314544, 0.0048251413, 0.012139775, 0.008538402, -0.03848924, -0.015468423, 0.0066363174, 0.024447381, 0.011328592, -0.008531409, 0.039580144, -0.0061852713, -0.013384522, 0.003678296, -0.053062566, 0.032866903, -0.032139637, -0.016251635, 0.012076839, 0.0040174546, -0.012950959, -0.021398451, -0.055608004, -0.023887945, 0.001715023, -0.017286593, -0.0019912447, -0.015356536, -0.0025052272, -0.021706142, 0.00478668, -0.02253131, -0.012783128, -0.0028828469, 0.0012823337, -0.013943958, 0.007888056, 0.027873931, 0.006678275, -0.016083803, -0.02517465, 0.009027909, 0.033706058, 0.017272606, -0.00041039923, 0.009874057, 0.022587255, -0.010846078, 0.015832057, 0.0142096905, -0.021706142, -0.00037193796, -0.03342634, 0.010405522, -0.0032167607, -0.050740905, 0.010286641, 0.027440367, 0.018223649, 0.025146678, -0.005080384, -0.02020965, 0.011818099, 0.0009991189, 0.009181754, 0.02555227, -0.0050384263, -0.0004921294, -0.028139664, -0.0032709562, 0.007132817, -0.03113265, 0.01572017, 0.0084405, -0.006985965, 0.015286607, 0.016727155, 0.010818106, -0.00962231, -0.028349452, -0.016111776, 0.017818058, 0.024545282, -0.029398397, -0.039160565, -0.02314669, -0.02335648, 0.008902036, -0.002269215, 0.0025454368, -0.008034909, -0.041650057, -0.035076678, 0.031020762, 0.031692088, 0.02427955, 0.011384536, -0.0013592562, 0.018349523, 0.007930014, -0.008783155, -0.021510338, -0.039915804, 0.019734127, -0.015706183, -0.014783113, 0.019636227, -0.0057412186, 0.0121957185, -0.004335634, 0.0187691, -0.04808358, -0.01784603, 0.0026083733, -0.02664317, -0.0076223244, -0.0067342184, -0.012762149, -0.05602758, -0.04441927, -0.010999923, -0.022097748, -0.004860106, -0.051048595, -0.031552225, -0.025048776, 0.01893693, 0.017538339, -0.009552381, 0.0041118595, -0.013300606, -0.0145313665, 0.0029685106, 0.0052447184, -0.025524298, -0.03544031, 0.007944, -0.019048817, 0.040699016, 0.0008889798, -0.013510395, -0.002328655, -0.0030681603, 0.017552326, -0.009496437, 0.013741163, -0.050153494, -0.013321585, 0.01472717, 0.039887834, -0.010433493, 0.011594324, 0.0124544585, -0.0061572995, 0.018377494, -0.05448913, 0.007489458, 0.0024265565, 0.0054894723, 0.02616765, -0.013055853, -0.043831863, 0.022265578, -0.04366403, -0.023020819, 0.0023041796, 0.010552374, -0.016629254, 0.036671072, 0.021859987, -0.022587255, -0.012580331, 0.027748058, 0.023608226, 0.006807645, -0.018293578, 0.004073398, -0.032615155, -0.00869924, 0.00075567653, -0.014419479, -0.025845973, -0.00034440318, 0.01650338, -0.00027928126, 0.03113265, 0.0033636128, 0.010957966, -0.0033688575, -0.020825028, 0.015258634, 0.0077551906, 0.013055853, 0.026517296, 0.003678296, 0.0021380968, -0.0247271, 0.009916015, -0.03264313, -0.021384466, 0.023482352, -0.0018706163, -0.0021835512, -0.015860029, -0.02725855, 0.029370423, 0.0030769017, -0.010321606, -0.02822358, 0.043440256, -0.021146705, -0.01248243, -0.020419437, 0.03980392, 0.0145733245, 0.008314627, -0.014783113, 0.03160817, 0.0062237326, -0.016894987, 0.023650184, -0.012202712, -0.0042761937, -0.014922973, -0.03462913, -0.01983203, 0.028755045, -0.020811044, 0.0031922853, -0.00046415758, -0.0029178117, -0.024293536, -0.019706156, -0.015957931, -0.01640548, -0.006804148, 0.026880931, -0.006646807, -0.08475465, 0.013153754, 0.026978832, 0.0050104544, 0.03723051, 0.017552326, 0.029957833, -0.021706142, 0.0048216446, -0.016601283, -0.00195628, -0.0005708002, -0.014216684, 0.009307628, 0.031720057, -0.057034567, -0.03770603, -0.019412452, 0.042796902, 0.0034248012, 0.0038461268, -0.0006267439, -0.005297166, -0.008832106, 0.0020332027, 0.00076704007, -0.01853134, 0.027174635, -0.027720086, 0.017901972, 0.013936966, 0.007167782, 0.005758701, 0.027859945, -0.018041832, -0.03295082, -0.002678303, -0.036391355, -0.027440367, 0.0069440072, 0.008118824, -0.0018443927, 0.017524352, 0.019342521, 0.0018601269, -0.037342396, 0.018880988, -0.008083859, 0.02267117, -0.042265438, -0.05907651, -0.009804127, 0.017762113, -0.01784603, -0.010482444, 0.03325851, 0.02195789, 0.009426507, -0.018601269, 0.0033303963, -0.039608113, -0.03390186, -0.025398424, -0.0025576744, -0.028027777, -0.009531402, -0.03860113, 0.016629254, -0.019804057, -0.022545297, 0.015678212, 0.003968504, -0.029230565, 0.04811155, 0.02702079, 0.01210481, 0.0038111622, 0.03893679, -0.0040244474, 0.06170586, -0.0066747786, -0.0019230634, 0.009825106, 0.033510257, 0.025873944, -0.023174664, 0.026908902, -0.027342467, -0.024769058, 0.022517325, 0.006860092, -0.03264313, -0.008943994, 0.014195705, -0.00926567, 0.0039824895, -0.015678212, -0.0104404865, 0.02451731, -0.0013592562, -0.001547192, 0.028783016, -0.022559283, -0.066125415, 0.012391522, -0.009167768, -0.005430032, -0.0074614864, 0.026503311, 0.043859832, 0.019748114, 0.009790141, -0.01063629, 0.027104706, 0.008139803, 0.03513262, 0.017832043, -0.0005454507, 0.06388766, -0.012391522, 0.016615268, 0.0384333, -0.061482087, -0.027692115, -0.0043671024, -0.015146747, -0.0032954316, 0.022880958, -0.013489416, 0.04422347, -0.0012709701, 0.028643155, 0.000642041, 0.006695757, -0.041286424, 0.0021363487, -0.0042062644, 0.031216566, -0.016041845, 0.03188789, 0.013706198, 0.010699226, 0.062768795, -0.020447409, -0.0030279509, -0.02489493, 0.013447459, -0.02486696, -0.019971889, 0.0051013627, 0.02695086, -0.0031940336, 0.022908932, 0.0141467545, -0.009783149, -0.0056503103, 0.024461368, -0.03300676, 0.030880904, 0.025608212, 0.014034867, 0.021342508, -0.03818155, -0.00017679072, 0.020489367, -0.0080419015, 0.00012183044, -0.016769113, -0.016615268, 0.03876896, -0.021971874, -0.03037741, 0.0037831904, 0.017230649, 0.02051734, 0.03163614, 0.007146803, 0.05725834, 0.0028863435, 0.008790148, -0.031020762, 0.048810847, -0.048643015, 0.05174789, 0.03706268, -0.017762113, 0.034405354, 0.00789505, 0.005797162, 0.016825058, 0.045761917, 0.020936916, 0.043887805, 0.005548912, 0.02314669, -0.011279642, 0.011328592, 0.044083606, -0.00037390474, -0.03630744, -0.05558003, 0.041761946, -0.0038845881, -0.0053985636, 0.0071048453, -0.014286613, 0.031803973, -0.027048761, -0.017692184, 0.021230621, -0.014978916, 0.023244593, -0.056614988, 0.013650254, 0.013447459, 0.0033653611, -0.012160754, -0.016349535, 0.011636282, 0.014083818, -0.0026590724, -0.03387389, -0.007363585, 0.066349186, -0.019342521, -0.019566298, 0.021006847, -0.0187691, -0.007992951, -0.007349599, 0.019566298, -0.005961497, 0.0069544967, -0.004038433, -0.023985846, -0.008363578, -0.016922958, -0.06455899, -0.017524352, 0.015286607, 0.022251593, -0.015860029, -0.013398508, 0.016978903, 0.037789945, -0.008964973, 0.013181726, 0.013027881, -0.040531185, -0.02451731, -0.0277061, 0.014307592, -0.005059405, -0.033174593, -0.0017202677, -0.017496381, 0.017132748, 0.0071363137, 0.040866848, 0.037510227, -0.030461326, 0.017244635, -0.0070908596, -0.022335509, -0.021258593, -0.00639506, -0.021901945, 0.00013614415, 0.021286564, -0.014006895, -0.05174789, 0.012888022, 0.013440466, 0.03432144, -0.028559241, 0.010916008, -0.007818127, -0.008468472, -0.005804155, -0.020083776, -0.012258655, 0.035328425, -0.021174677, 0.016223663, 0.013573332, -0.008895042, -0.0022797044, -0.0074335146, -0.004195775, -0.008545395, 0.02725855, 0.041146565, -0.00023098614, 0.013922979, 0.021664184, -0.019328536, -0.0025804015, 0.0040768944, 0.008692247, -0.024405424, 0.0017622254, 0.04016755, 0.008314627, -0.04917448, 0.010272656, 0.0007054146, 0.0065279263, -0.0026398418, -0.03401375, -0.011566353, -0.014629268, 0.015020874, 0.007087363, -0.029146649, -0.016041845, -0.01702086, 0.0031660618, -0.028838959, -0.020741114, -0.007503444, -0.0017272606, 0.015286607, 0.009118818, -0.033062708, -0.013566338, -0.0141467545, 0.012300613, -0.011538381, -0.013391514, -0.0020786568, -0.0027324983, 0.0016381005, -0.0076153316, -0.024069762, -0.0025961357, -0.009461473, -0.026615199, -0.012811099, 0.0042272434, -0.010349578, 0.041733973, 0.037174564, 0.0070768734, -0.0010804121, -0.017622255, 0.0083845565, 0.0008649415, -0.015706183, -0.010314614, -0.012405507, 0.078433014, -0.015398494, -0.0014457941, 0.0040664054, -0.0059719863, 0.048754904, 0.0010751673, -0.0002130667, 0.0007180894, 0.01179712, -0.021118734, 0.011706212, 0.006013944, 0.007566381, -0.039747972, 0.011069853, -0.006825127, 0.029929861, 0.015244649, 0.017426452, 0.012706205, -0.01167824, 0.0041782926, 0.0046643033, -0.00825169, 0.013552353, 0.03160817, 0.016545339, -0.011950965, 0.00084789615, 0.0093915425, 0.01316774, -0.050936706, 0.03281096, -0.026936874, 0.0049650003, 0.0063391165, 0.03661513, -0.009860071, -0.016181706, 0.02130055, -0.0020104754, -0.020866986, -0.013922979, -0.004451018, 0.0040174546, -0.022489354, 0.006940511, -0.014615282, 0.023999833, -0.026489325, -0.030601185, 0.008608331, 0.0131397685, -0.0048356303, -0.025915902, 0.0011826841, 0.0044265427, 0.011741176, 0.009720212, -0.018419452, 0.0063531026, -0.02195789, 0.02517465, -0.0040244474, -0.026139677, -0.0021643206, 0.0052831797, -0.06377578, 0.0011503416, -0.011622297, -0.0068356167, 0.021384466, -0.00081555377, -0.00025742827, -0.009216718, 0.02160824, 0.0038706022, 0.011573345, -0.003825148, -0.005255208, 0.015734157, -0.028041761, -0.040950764, -0.007950993, 0.03160817, 0.032587186, -0.03264313, -0.015748141, -0.010524402, -0.016447438, 0.016055832, 0.047104567, 0.015482409, -0.012356557, -0.010356571, 0.0015340801, 0.006737715, 0.0017342536, -0.009181754, 0.0125383735, -0.039943777, -0.0026101216, -0.00938455, -0.013874029, -0.013922979, -0.03893679, -0.011643276, 0.0046153525, 0.009985944, 0.0042936765, -0.01862924, -0.015622268, -0.0016372263, -0.0052377256, 0.021412438, -0.014713184, 0.01602786, -0.018055817, -0.009426507, -0.0016940441, 0.014713184, -0.022265578, 0.03739834, 0.024363466, 0.015146747, 0.0034055705, 0.0064335214, 0.007503444, 0.018643226, -0.037286453, -0.02657324, 0.0058635953, 0.017594283, 0.013216691, 0.0069789723, -0.01049643, -0.018181691, -0.0052307327, -0.018741127, -0.0001927434, 0.035328425, -0.017118761, -0.012300613, -0.0053391233, -0.0030611674, 0.0154963955, 0.016125761, 0.030601185, 0.034433324, -0.023342494, 0.060866706, 0.015510381, 0.0057831765, 0.0024492836, 0.037789945, -0.009902028, 0.0014440458, -0.0006984217, 0.017132748, -0.017454423, 0.008860078, -0.030657127, 0.00084920734, 0.041286424, -0.0017307572, -0.0002526206, 0.022629213, 0.015692199, -0.019748114, 0.0008824239, 0.009356578, 0.030517269, -0.03373403, -0.02822358, -0.045594085, -0.008608331, 0.030741043, -0.011916, -0.004027944, 0.007860085, -0.0054999613, 0.010475451, -0.014601297, -0.017999874, -0.031552225, -0.0034213047, -0.013692212, 0.006881071, -0.009188747, 0.007811134, -0.0054405215, -0.014181719, 0.0022587255, -0.020391466, 0.032335438, -0.0046887784, 0.0026415898, 0.037622113, 0.023915917, 0.025524298, -0.05219544, -0.002510472, 0.01718869, -0.017552326, 0.026209608, 0.027062748, 0.024223607, -0.006304152, -0.009342592, 0.007671275, -0.021762086, -0.0019318047, 0.030013775, 0.0023531304, 0.026629185, 0.0141467545, -0.008622318, -0.01801386, -0.019258607, 0.005167796, -0.026922889, -0.02510472, 0.021482367, 0.0055419193, 0.027524283, 0.01025867, 0.0076922537, -0.021216635, -0.0034755003, 0.0023443892, -0.025999818, -0.013832071, 0.004234236, 0.027076734, 0.011783134, -0.01647541, -0.027342467, -0.016237648, 0.030405382, 0.013496409, 0.026866945, 0.01855931, -0.010349578, -0.011020902, 0.024391437, 0.02732848, 0.0134824235, 0.0038915812, -0.01969217, 0.030489298, 0.008398543, 0.0041118595, -0.0031101182, 0.025943875, -0.03997175, 0.0074405074, -0.011027895, 0.006402053, -0.0036538206, 0.009608325, -0.006765687, -0.051188454, 0.016069818, 0.0067062466, 0.020265592, -0.032531243, 0.0045454227, -0.015734157, -0.0037901832, -0.015286607, 0.02479703, -0.004860106, 0.008090853, -0.012964944, -0.01992993, -0.011699219, 0.007524423, 0.0060593984, -0.011734184, 0.016978903, 0.016545339, -0.023188649, 0.0053076553, -0.0068286234, 0.008692247, -0.020195663, -0.008503437, -0.027454354, -0.0031293489, 0.005510451, -0.005982476, -0.0035384367, -0.005006958, -0.016293593, -0.011902015, -0.030936847, -0.03331445, -0.018950917, 0.03451724, -0.052503128, 0.013874029, 0.033538226, 0.02753827, 0.031412367, 0.0029580214, -0.017804071, 0.008636303, 0.013881022, 0.014811086, 0.021034818, -0.000010141155, -0.005195768, 0.013902001, 0.0386291, -0.03054524, -0.00084571086, 0.009062874, -0.047664, -0.00041214746, -0.01931455, 0.0187691, -0.021286564, 0.001358382, 0.014559339, 0.0057412186, -0.035076678, -0.014643255, 0.01801386, 0.022349494, 0.033370394, -0.028950846, 0.013146761, -0.012846064, -0.013314593, 0.028950846, -0.0037552186, -0.009447486, 0.0056048557, 0.018097775, -0.006881071, 0.016741142, -0.012755156, 0.0012910749, -0.026461354, 0.010950972, 0.008230711, 0.008279663, 0.01602786, 0.030265523, 0.029957833, 0.015552339, -0.01808379, 0.01434955, 0.012083831, -0.014433466, 0.028531268, -0.012950959, -0.04304865, 0.0031765513, -0.021929916, -0.018377494, 0.029538255, 0.016867016, 0.01709079, 0.018447423, -0.02702079, -0.017790085, -0.02458724, 0.005919539, 0.0008378438, 0.0503493, 0.018517353, 0.010699226, -0.0134614445, 0.004720247, -0.017286593, -0.03194383, -0.006811141, -0.018643226, 0.027510297, -0.031048734, 0.031244537, -0.052754875, -0.016293593, -0.0010253425, -0.023132706, -0.018601269, -0.0011311109 ]
2310.12773
2
# INTRODUCTION Large Language Models (LLMs) have shown remarkable capabilities in understanding instruc- tions (Chung et al., 2022; Ouyang et al., 2022), summarization (Stiennon et al., 2020; Koh et al., 2022) and performing complex reasoning tasks (OpenAI, 2023; Anil et al., 2023), and more. Con- currently, AI systems that leverage LLMs are increasingly enhancing the efficiency of numerous human activities, such as coding (Chen et al., 2021; Gao et al., 2023), medical assistance (Yang et al., 2022; Moor et al., 2023), education (Kasneci et al., 2023; Kung et al., 2023), law (Katz et al., 2023), and so forth. Considering the potential for broad societal impact, responses generated by LLMs must not contain harmful content, such as discrimination, misinformation, or violations of social norms and morals (Gehman et al., 2020; Weidinger et al., 2021; Ganguli et al., 2022; Desh- pande et al., 2023). Therefore, the alignment of safety in LLMs has received widespread attention from academia and industry (Christian, 2023). An essential component of safety alignment involves minimizing the tendency of a model to generate harmful responses through fine-tuning. Recent works demonstrate that Reinforcement Learning # ∗Equal Contribution. 1
2310.12773#2
Safe RLHF: Safe Reinforcement Learning from Human Feedback
With the development of large language models (LLMs), striking a balance between the performance and safety of AI systems has never been more critical. However, the inherent tension between the objectives of helpfulness and harmlessness presents a significant challenge during LLM training. To address this issue, we propose Safe Reinforcement Learning from Human Feedback (Safe RLHF), a novel algorithm for human value alignment. Safe RLHF explicitly decouples human preferences regarding helpfulness and harmlessness, effectively avoiding the crowdworkers' confusion about the tension and allowing us to train separate reward and cost models. We formalize the safety concern of LLMs as an optimization task of maximizing the reward function while satisfying specified cost constraints. Leveraging the Lagrangian method to solve this constrained problem, Safe RLHF dynamically adjusts the balance between the two objectives during fine-tuning. Through a three-round fine-tuning using Safe RLHF, we demonstrate a superior ability to mitigate harmful responses while enhancing model performance compared to existing value-aligned algorithms. Experimentally, we fine-tuned the Alpaca-7B using Safe RLHF and aligned it with collected human preferences, significantly improving its helpfulness and harmlessness according to human evaluations.
http://arxiv.org/pdf/2310.12773
Josef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji, Xinbo Xu, Mickel Liu, Yizhou Wang, Yaodong Yang
cs.AI, cs.LG
null
null
cs.AI
20231019
20231019
[ { "id": "2302.13971" }, { "id": "2304.05302" }, { "id": "1707.06347" }, { "id": "2305.18290" }, { "id": "2305.10403" }, { "id": "2305.03047" }, { "id": "2211.05100" }, { "id": "2110.08207" }, { "id": "2304.05335" }, { "id": "2107.03374" }, { "id": "2105.04054" }, { "id": "2209.07858" }, { "id": "2305.15324" }, { "id": "2307.09288" }, { "id": "2210.11416" }, { "id": "2212.08073" }, { "id": "2307.12950" }, { "id": "2009.11462" }, { "id": "2307.04657" }, { "id": "2204.05862" }, { "id": "2112.00861" }, { "id": "2209.14375" }, { "id": "2303.00957" }, { "id": "2306.01693" }, { "id": "2305.01937" }, { "id": "2307.15217" }, { "id": "2306.17492" }, { "id": "2112.04359" }, { "id": "1506.02438" } ]
{ "authors": "Josef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji, Xinbo Xu, Mickel Liu, Yizhou Wang, Yaodong Yang", "chunk_id": 2, "doc_id": "2310.12773", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12773", "summary": "With the development of large language models (LLMs), striking a balance\nbetween the performance and safety of AI systems has never been more critical.\nHowever, the inherent tension between the objectives of helpfulness and\nharmlessness presents a significant challenge during LLM training. To address\nthis issue, we propose Safe Reinforcement Learning from Human Feedback (Safe\nRLHF), a novel algorithm for human value alignment. Safe RLHF explicitly\ndecouples human preferences regarding helpfulness and harmlessness, effectively\navoiding the crowdworkers' confusion about the tension and allowing us to train\nseparate reward and cost models. We formalize the safety concern of LLMs as an\noptimization task of maximizing the reward function while satisfying specified\ncost constraints. Leveraging the Lagrangian method to solve this constrained\nproblem, Safe RLHF dynamically adjusts the balance between the two objectives\nduring fine-tuning. Through a three-round fine-tuning using Safe RLHF, we\ndemonstrate a superior ability to mitigate harmful responses while enhancing\nmodel performance compared to existing value-aligned algorithms.\nExperimentally, we fine-tuned the Alpaca-7B using Safe RLHF and aligned it with\ncollected human preferences, significantly improving its helpfulness and\nharmlessness according to human evaluations.", "text": "# INTRODUCTION\nLarge Language Models (LLMs) have shown remarkable capabilities in understanding instruc- tions (Chung et al., 2022; Ouyang et al., 2022), summarization (Stiennon et al., 2020; Koh et al., 2022) and performing complex reasoning tasks (OpenAI, 2023; Anil et al., 2023), and more. Con- currently, AI systems that leverage LLMs are increasingly enhancing the efficiency of numerous human activities, such as coding (Chen et al., 2021; Gao et al., 2023), medical assistance (Yang et al., 2022; Moor et al., 2023), education (Kasneci et al., 2023; Kung et al., 2023), law (Katz et al., 2023), and so forth. Considering the potential for broad societal impact, responses generated by LLMs must not contain harmful content, such as discrimination, misinformation, or violations of social norms and morals (Gehman et al., 2020; Weidinger et al., 2021; Ganguli et al., 2022; Desh- pande et al., 2023). Therefore, the alignment of safety in LLMs has received widespread attention from academia and industry (Christian, 2023).\nAn essential component of safety alignment involves minimizing the tendency of a model to generate harmful responses through fine-tuning. Recent works demonstrate that Reinforcement Learning\n# ∗Equal Contribution.\n1", "title": "Safe RLHF: Safe Reinforcement Learning from Human Feedback", "year": 2023 }
[ 0.0385347, 0.011740637, 0.0488815, 0.013666076, 0.007688788, -0.013601245, -0.021860534, 0.03596745, -0.037289973, 0.086975366, 0.014340303, -0.04825914, -0.023857284, -0.0007200135, 0.026839446, -0.04175025, 0.0074618845, -0.027228422, 0.018048555, 0.040427726, 0.0060874973, 0.0041523343, 0.0032495826, 0.034748655, 0.012460245, -0.035215426, 0.0322592, 0.02380542, -0.02266442, 0.0021944812, 0.07115695, -0.024596343, -0.053471435, 0.019539636, -0.030729221, 0.058242895, 0.011999955, 0.007727686, -0.0017601231, 0.0073387083, -0.011364625, -0.05679071, -0.0167001, 0.027435878, -0.032051742, 0.035759997, 0.0057082446, 0.019189555, -0.00971147, 0.035889655, -0.03469679, -0.025944797, 0.00008493688, -0.02202909, -0.04076484, -0.011234966, 0.0281879, 0.028265696, 0.026969105, -0.014055053, -0.01983785, -0.033426132, -0.038171656, 0.008596403, -0.05113757, -0.069134265, -0.0730759, -0.008427845, 0.0247649, -0.018372703, -0.000056118104, -0.019384043, 0.033426132, 0.030106856, -0.030366175, 0.00034562268, -0.006589927, 0.04714407, -0.02575031, -0.010469977, -0.007260913, 0.01946184, 0.019695226, -0.0345412, -0.006930282, -0.009815198, -0.027565537, 0.0037439081, -0.05959135, -0.055286665, -0.016168498, -0.02917331, -0.03352986, 0.01514419, 0.060473032, 0.008304669, 0.029743811, -0.017179837, 0.072453536, 0.03609711, -0.012583422, -0.029743811, 0.025244638, -0.04698848, 0.017257635, 0.007397055, 0.0046547637, -0.047195934, -0.0054651336, -0.016894588, -0.05663512, 0.018904306, -0.039131135, -0.012473211, 0.0068135886, -0.067163445, -0.035578474, 0.015118258, 0.012460245, -0.015170122, -0.04322836, 0.0002224465, 0.030262448, -0.062391985, 0.0020437525, -0.020447249, 0.036745407, -0.025931831, -0.006547787, -0.020447249, 0.02568548, 0.051422823, 0.01812635, -0.01415878, -0.044369362, 0.006434336, -0.03355579, 0.0074618845, -0.029899402, -0.0065607536, 0.03791234, -0.018307872, -0.04133534, 0.014301405, -0.033789176, -0.025594717, 0.0005530773, -0.02377949, -0.008771442, 0.042035498, 0.0032301338, -0.027254354, -0.04421377, 0.04343582, -0.043150567, -0.031325653, -0.027358083, 0.037030656, 0.03438561, -0.058709666, 0.060680486, 0.04810355, 0.009646641, 0.009179869, 0.015623928, 0.023196023, -0.02676165, -0.0011531562, -0.059228305, -0.041853976, 0.0045899344, 0.004683937, -0.011183103, -0.040998224, -0.03381511, -0.04571782, -0.018463464, -0.013990223, -0.0080129355, -0.041465, 0.0141847115, 0.009115038, -0.06254758, -0.0195915, -0.04672916, 0.013212268, -0.010346801, 0.004982153, -0.0024262469, 0.016168498, -0.017698474, 0.035215426, 0.09050209, 0.02873247, 0.04245041, -0.008356533, 0.04289125, 0.02161418, 0.040609248, -0.01089137, 0.02178274, 0.032907493, 0.0017487779, -0.09107259, 0.019319214, -0.003153959, -0.013004813, 0.032103606, -0.040090613, -0.04291718, 0.0385347, 0.022612557, 0.069134265, -0.0046806955, -0.026995037, 0.0014303026, -0.04859625, -0.008538055, 0.017283566, 0.007844379, -0.019954544, 0.028473152, 0.037834544, 0.013069643, -0.047896095, 0.0132900635, 0.04359141, -0.021821637, 0.06005812, -0.024012877, 0.039183, -0.019941578, -0.017828135, -0.05819103, -0.013199302, -0.045640025, 0.029847538, 0.010243073, 0.021160375, 0.0042398544, 0.05647953, 0.0046936614, 0.00903076, -0.00742947, 0.0067357933, 0.04701441, 0.00087033707, -0.027513674, 0.030936675, 0.0060972217, 0.0061328784, 0.00063127803, -0.008978897, -0.03337427, -0.015766554, 0.004285235, -0.024155501, -0.012395415, 0.0014335441, -0.021990193, -0.046936616, 0.034178153, -0.01990268, -0.017413225, -0.01238245, -0.010645017, -0.028395355, 0.014521826, -0.0030713014, -0.0051604346, 0.042865317, -0.012544524, -0.024803797, -0.010178244, -0.046703227, -0.05507921, 0.022456966, 0.04685882, 0.014495893, 0.009089107, -0.012084234, 0.0010907577, 0.06135471, -0.0218735, -0.016272224, 0.01168229, -0.040712975, -0.063377395, -0.030106856, -0.028628742, 0.025465058, -0.0178411, 0.0138864955, -0.03386697, 0.014016155, 0.019008033, 0.035863724, 0.014716314, -0.0063176425, 0.01306316, 0.037886407, 0.03695286, -0.04291718, -0.038171656, 0.012803841, 0.034048494, -0.017166872, -0.0031085783, 0.04079077, 0.01190271, 0.029510424, -0.0039902604, 0.027695196, 0.001617498, -0.048622184, -0.06389603, 0.014651485, -0.027020968, 0.025892934, -0.025179809, -0.0073905718, -0.0029967474, 0.0013209027, -0.04245041, 0.01650561, 0.031507175, 0.019358112, 0.018683884, -0.019033965, -0.03337427, 0.037315905, 0.027876718, -0.007377606, 0.007066424, -0.030729221, -0.043150567, -0.044110045, 0.026178183, 0.04149093, 0.031351585, -0.06021371, -0.007377606, -0.018930238, 0.041283477, -0.014042087, -0.005374372, -0.016090702, -0.019708192, 0.07069017, 0.024687104, -0.011695256, -0.06581499, -0.012246307, 0.014132848, -0.057672393, 0.019098794, -0.013011296, -0.033789176, 0.04701441, 0.014521826, -0.026281912, -0.01847643, 0.0028281903, 0.013095574, -0.006557512, 0.023196023, -0.047351524, 0.02053801, 0.014949701, -0.011649875, 0.041283477, 0.0012309516, -0.0020761671, -0.0043046842, -0.037419632, 0.020939954, -0.020615807, 0.013056677, -0.02831756, 0.011805466, -0.004609383, 0.024362955, 0.020149034, -0.04164652, -0.026087422, 0.053030595, -0.011468353, -0.034748655, 0.009854096, 0.0006179069, 0.015338678, -0.009328976, -0.028550947, 0.059124574, 0.021419693, -0.016738998, 0.0009619089, 0.0351117, 0.054612435, 0.027695196, -0.0093030445, -0.054560572, -0.018826509, 0.027072832, -0.005828179, -0.0010842747, 0.025452092, 0.01650561, 0.0036985276, 0.005131261, 0.0334002, -0.025983695, 0.00707939, -0.028421286, -0.006398679, -0.03129972, 0.033452064, 0.0037601155, 0.022405103, 0.0328297, 0.015338678, -0.04455089, 0.009529948, -0.030573629, 0.018995067, 0.031195993, 0.008803857, -0.032311063, -0.00742947, -0.07240167, -0.04130941, 0.0702234, 0.031610902, -0.05440498, -0.022469932, -0.0053905793, -0.014703348, 0.008006453, 0.0015745484, -0.037056588, 0.009354908, 0.009549397, -0.034048494, -0.0063921963, 0.014716314, 0.0010818436, -0.07971445, 0.04418784, 0.01501453, -0.013860564, 0.008123146, -0.0076304413, 0.06441467, 0.035552543, -0.01529978, -0.029354833, 0.064881444, -0.05440498, 0.041127883, 0.04177618, 0.055338528, 0.011319244, -0.010113414, -0.0011742257, 0.00782493, 0.027876718, 0.014910803, -0.037134383, -0.009672573, 0.007928657, 0.009925408, -0.01968226, 0.045225114, -0.004311167, -0.005338716, 0.0037406667, 0.022184681, -0.04177618, -0.00497567, -0.017996691, -0.005089122, -0.00036892082, 0.013899461, -0.006113429, 0.026528263, 0.06477772, -0.008583436, 0.019721158, -0.010042102, 0.013730905, -0.0033225159, -0.018333806, 0.06254758, -0.014132848, 0.023118228, -0.017698474, 0.00093516667, -0.011798983, 0.020162, -0.011092341, -0.011591529, -0.015909178, -0.04164652, 0.0018508845, 0.00025121463, 0.0047260765, 0.040842634, -0.028499084, -0.010593154, 0.032622244, -0.013432689, -0.006518614, -0.008149078, 0.017283566, -0.00043071152, 0.025983695, 0.007909209, 0.02178274, 0.0037309423, 0.040712975, 0.039597906, -0.015818417, 0.0012236583, -0.003614249, 0.010346801, -0.01312799, -0.024726002, -0.011377591, -0.027902652, -0.025867002, 0.007922174, 0.02720249, 0.013458621, -0.009646641, -0.0500225, -0.017037213, -0.016168498, -0.004884909, -0.06296249, -0.011124755, 0.011001579, 0.04828507, 0.055960894, 0.021990193, 0.023753557, -0.008680681, 0.012479694, -0.027098764, 0.008505641, 0.042813454, 0.05507921, -0.032103606, -0.01599994, -0.028136037, -0.0029448837, -0.0024019359, -0.021730876, -0.035033904, -0.016466713, 0.023027467, 0.0066579976, -0.0121944435, 0.020615807, 0.010281971, -0.028862128, -0.01387353, 0.01472928, 0.012693631, 0.032777835, 0.016596371, -0.03101447, -0.026139285, 0.014392166, 0.016388917, 0.012071268, -0.028654674, -0.00073541055, -0.00026296498, 0.022210613, 0.0059448723, -0.04016841, -0.032077674, -0.013056677, -0.020226829, -0.04403225, 0.013666076, -0.028213833, 0.026787583, -0.036174905, 0.024492614, 0.041361272, -0.015766554, 0.003905982, -0.025659548, -0.01828194, -0.0068071056, 0.007792515, -0.012816807, -0.017218737, 0.009179869, 0.015209019, -0.00140275, -0.002108582, -0.009374357, -0.004194474, -0.0027763266, -0.00916042, 0.009938374, 0.023546103, -0.018709816, -0.029432628, -0.0092058005, 0.028499084, -0.03513763, -0.0043273745, 0.005685554, 0.0007110994, -0.009497534, 0.041853976, -0.021121476, -0.016246293, -0.025400229, 0.007046975, -0.02774706, 0.027176559, -0.020187931, -0.016933486, 0.0041069537, -0.028084174, -0.0052155396, -0.05819103, -0.0054489262, 0.01593511, -0.036356427, 0.02314416, 0.0011207414, 0.014210643, -0.018722782, -0.007831413, -0.025659548, 0.0026904275, 0.034048494, 0.013419723, -0.04229482, 0.009588295, 0.005474858, -0.013354893, -0.00039708117, 0.0015162018, 0.003831428, -0.024142535, -0.022781113, 0.00914097, 0.01740026, 0.024518548, -0.0055558947, 0.009257664, -0.011675807, 0.026995037, 0.021212239, -0.06228826, -0.014119882, -0.03285563, 0.017465089, -0.0010494288, 0.021575283, 0.011403522, 0.00979575, 0.029510424, -0.020875124, -0.019695226, -0.00317827, 0.0035753513, -0.00870013, -0.007896243, -0.030314311, 0.008291703, -0.018839475, 0.0071831173, -0.01775034, -0.0017925379, 0.01968226, -0.05113757, -0.056323938, 0.004528346, 0.0059124576, 0.04761084, 0.003017817, -0.013380825, 0.007085873, 0.0013119886, -0.039416384, -0.0047163516, -0.022495864, 0.000050926672, 0.030729221, -0.014003189, 0.07276472, -0.011293313, -0.090865135, -0.009854096, 0.026424536, -0.0061685345, -0.0012309516, -0.0012722805, -0.019059896, -0.033114947, 0.013037228, 0.02945856, -0.0017552609, -0.012693631, 0.0048622186, 0.022560693, -0.004696903, -0.028421286, -0.025957763, 0.03285563, -0.014664451, -0.005468375, -0.012071268, -0.06560753, 0.013730905, -0.034204084, 0.0011847606, -0.025374297, 0.025620649, -0.02746181, 0.040401794, -0.015597996, 0.0032560655, 0.005189608, 0.00026904276, 0.036978792, -0.008583436, -0.02831756, 0.0084083965, -0.0443175, 0.0031977189, -0.03254445, 0.02364983, -0.008038868, -0.015066394, -0.011170137, 0.032751903, 0.028084174, 0.017542884, 0.012045336, 0.038768087, 0.018411601, -0.0011758464, -0.04828507, 0.010871921, 0.0018444015, 0.01558503, 0.023286784, -0.03114413, 0.008239839, 0.018502362, -0.019863782, -0.019358112, -0.0020388903, 0.0020550976, -0.0059448723, 0.012654734, 0.031507175, -0.010742261, -0.017867032, 0.027513674, 0.0130890915, 0.0043824795, 0.00013968749, -0.013367859, 0.022301376, -0.004194474, -0.0019627155, -0.020901056, 0.0014456996, 0.020162, 0.0023727627, 0.010567222, -0.014197677, -0.014586655, 0.04343582, -0.047636773, -0.018502362, 0.009134487, -0.02009717, -0.021666044, -0.001779572, -0.025361331, -0.030962607, 0.019059896, -0.0052511957, -0.011539665, -0.016648237, 0.014638519, 0.009374357, -0.11949388, -0.02336458, 0.04333209, -0.007643407, -0.017439157, -0.007980521, 0.027150627, 0.014171746, -0.005504031, -0.07058644, 0.02323492, -0.033218674, -0.0020178207, 0.022690352, 0.022236545, -0.06892681, -0.0063662645, -0.01876168, 0.015986973, -0.00080226606, -0.00067341723, 0.0032398582, -0.017633645, 0.04016841, 0.0039221896, -0.015066394, 0.009361391, 0.021743841, -0.0033549308, 0.023221955, -0.034644928, -0.011474836, 0.0020988577, 0.014197677, -0.023818387, -0.013341927, 0.0024781106, -0.035578474, -0.03513763, -0.0074424357, -0.002507284, -0.01869685, 0.051474687, -0.035630338, 0.02873247, -0.041439068, 0.0040161926, 0.0027536363, 0.0036952859, -0.0122916885, -0.008790891, -0.0037374252, 0.008233356, -0.006340333, -0.012200926, 0.013179854, 0.00306806, 0.010327352, 0.012239824, 0.02606149, -0.036589812, 0.009082624, -0.021303, -0.019643363, -0.0050437413, 0.008551021, -0.021627147, 0.047533046, -0.07400945, -0.036875065, 0.017854067, 0.0048168376, -0.022988569, 0.0488815, 0.050878253, 0.009452153, 0.02355907, 0.067474626, -0.001580221, 0.021510454, 0.030262448, -0.021173341, -0.015896212, 0.024985319, 0.0032738936, 0.0033516893, 0.057983574, 0.004025917, -0.030703288, 0.029095516, 0.03666761, -0.005516997, 0.023157125, 0.008129629, 0.02336458, 0.0044051697, 0.0018444015, 0.0036563883, 0.011442421, -0.046781026, 0.023040432, 0.011863813, -0.04003875, -0.023468308, 0.010009687, 0.008051834, 0.00025546906, -0.010457011, 0.023792455, 0.015857315, 0.027591469, 0.033607654, -0.007883277, 0.021730876, -0.013627177, 0.005701761, 0.009322493, 0.022080954, 0.021225205, 0.031118197, -0.012609353, 0.0131863365, -0.031662766, 0.018230077, -0.010567222, -0.029095516, 0.0027666022, 0.026554195, -0.021315966, -0.02323492, 0.023170091, 0.0024959387, 0.007196083, -0.02066767, -0.06119912, 0.0135882795, 0.021666044, 0.0014918906, -0.0019124725, 0.020797329, 0.024298126, -0.002338727, 0.023157125, -0.0024845935, -0.009491051, 0.012700114, -0.0010291695, -0.047662705, 0.0011507251, 0.015390542, 0.009588295, 0.0036855615, 0.020550976, 0.03228513, -0.009828164, 0.015273849, 0.016155532, -0.056686983, -0.016687134, 0.012401898, 0.008901102, 0.031195993, -0.052226707, 0.011222, -0.007053458, 0.003912465, -0.01284274, -0.010865438, -0.02492049, 0.0047390424, -0.021277068, -0.046366114, 0.011183103, -0.00966609, -0.0070015946, 0.025711412, 0.015792485, 0.017374327, 0.00635654, 0.030729221, 0.004414894, 0.03609711, -0.037056588, 0.025815139, 0.027513674, 0.020123102, 0.010307903, -0.0264764, -0.01771144, 0.030651424, 0.008557504, 0.02520574, 0.020058272, 0.026606059, 0.013756837, -0.04455089, 0.0019076103, 0.05679071, -0.029795675, -0.05539039, -0.040738907, 0.020926988, -0.0062236395, 0.009413254, -0.011500767, -0.0012876776, 0.0016401884, -0.009594778, -0.012401898, 0.0117925005, 0.0056628636, 0.0009481326, -0.04701441, 0.008615851, 0.034930177, -0.027980447, 0.009471602, -0.0002866683, -0.021199273, -0.011455387, -0.014599621, -0.016401883, 0.013354893, 0.015273849, -0.012213892, 0.015221985, -0.025854036, -0.0070340093, 0.008369499, -0.0027293253, 0.011876779, -0.011863813, 0.01733543, -0.012226858, -0.023973979, -0.009808715, 0.01714094, -0.020045307, 0.022080954, 0.034618996, 0.014068019, 0.012246307, -0.01161746, -0.020200897, 0.004884909, 0.00085656083, 0.037653018, 0.006207432, -0.05113757, -0.022418069, 0.010969165, 0.017542884, 0.020706568, -0.021471556, 0.024453716, -0.023675762, 0.033037152, 0.027850786, 0.03819759, 0.02349424, -0.0071442197, 0.04320243, 0.0017341912, 0.0028525016, -0.0138864955, -0.017594747, -0.009594778, 0.013562348, 0.025374297, -0.008181493, -0.040842634, 0.03228513, -0.0032625485, 0.025711412, -0.011662841, 0.012810324, 0.0064667505, -0.011786018, 0.009743886, -0.007513748, -0.04501766, -0.0109950965, -0.013769803, -0.0064181285, -0.0071766344, 0.02003234, -0.009218766, -0.01052184, 0.030573629, -0.02625598, -0.0036239733, 0.036719475, 0.007578578, -0.0019108518, -0.0195915, -0.021691976, 0.012674183, -0.016337054, 0.008829788, -0.0017892964, 0.03542288, 0.011662841, 0.0034554165, 0.00903076, -0.009277113, 0.014262508, -0.030910743, -0.039468247, 0.022184681, -0.011695256, -0.03337427, 0.019072862, 0.02060284, -0.010055068, 0.0028265696, -0.028110106, -0.03324461, -0.024622275, 0.019565567, -0.028473152, 0.023701694, -0.004907599, 0.011338693, -0.014547758, -0.014547758, -0.014638519, 0.008816822, -0.010845988, -0.011228483, 0.016038837, 0.038638428, 0.017685508, -0.02428516, 0.014884871, -0.039623838, 0.00725443, -0.030962607, -0.036071178, -0.01771144, -0.00955588, 0.041957702, 0.013244683, 0.017685508, 0.013277098, -0.0028849163, 0.0038346695, -0.017957794, -0.025179809, 0.007876794, -0.003559144, 0.05845035, -0.02422033, -0.016453747, 0.004547795, -0.012570456, 0.044524956, 0.0024732484, -0.003526729, -0.019604465, 0.011345176, 0.0011863813, 0.021912398, -0.020149034, -0.011033994, 0.010664466, -0.013445655, -0.008667715, 0.040816702, 0.01968226, 0.0070210434, 0.006278745, 0.0033046878, -0.016790861, -0.020758431, 0.009918925, 0.013510484, 0.004891392, 0.022495864, 0.03199988, 0.03352986, 0.007857345, -0.015623928, -0.037341837, 0.0025267329, -0.016168498, 0.0043014428, -0.020084204, 0.02110851, -0.016687134, 0.0018314356, 0.026554195, -0.013354893, -0.026657922, -0.0008277927, 0.009847613, 0.0052349884, -0.004933531, -0.026683854, -0.00040721078, 0.025918866, -0.02292374, -0.03824945, 0.009789267, -0.006748759, -0.011092341, -0.023157125, 0.0051474688, 0.034748655, 0.010988614, 0.023390513, -0.012674183, 0.034774587, -0.031844288, 0.00082414603, 0.012123131, -0.028525015, -0.021847568, 0.015105292, -0.011695256, 0.045121387, -0.018969135, 0.005319267, 0.028213833, 0.010917301, 0.0010680673, 0.016868657, -0.000423013, 0.0025737344, 0.0065802024, 0.018074486, 0.0050372584, 0.013147439, -0.023468308, 0.0015129603, -0.011539665, 0.0036304565, -0.006350057, -0.016894588, -0.028006379, -0.000797809, -0.021056646, 0.029743811, 0.05606462, 0.021056646, -0.031118197, -0.00029112533, -0.019189555, 0.011293313, 0.019734124, -0.0027568778, -0.010307903, -0.026943173, -0.018800577, 0.032181405, -0.043747, -0.0041458514, -0.025594717, 0.009944857, 0.005672588, 0.012408381, 0.0005141796, -0.023040432, 0.016881622, 0.00019894577, -0.010314386, 0.017244669, -0.040090613, 0.0060972217, 0.010307903, -0.026709786, 0.0038217036, -0.017594747, 0.036226768, 0.023183057, -0.0052220225, -0.00423013, -0.008589919, -0.009588295, 0.03044397, -0.0017925379, -0.018865407, 0.0035948001, 0.014820042, -0.015092326, 0.010547772, 0.023092296, 0.007980521, -0.028395355, 0.00072203943, -0.00021596353, 0.007857345, 0.0013768182, 0.012836257, 0.004648281, -0.006051841, 0.028421286, 0.015468338, -0.0066223415, -0.015610962, -0.020615807, -0.0025267329, 0.014275474, -0.015883246, 0.02003234, -0.017659577, 0.0060550827, -0.0019400251, -0.015688758, -0.0010939991, -0.0059124576, 0.0029140895, 0.0015016152, -0.019435907, 0.026917242, 0.053730756, -0.027176559, -0.01093675, 0.021251136, -0.014223609, 0.016025871, -0.03467086, 0.0042560617, 0.0009813578, -0.0074813333, 0.007053458, -0.044006318, -0.0074813333, 0.02412957, -0.0012722805, 0.020849193, -0.026450468, 0.00092544226, 0.005205815, -0.030807016, -0.028084174, -0.005504031, 0.027513674, 0.0055850684, 0.0055461703, -0.019202521, 0.00039708117, 0.0124926595, -0.023610933, -0.013393791, -0.012596387, 0.018450499, 0.0056887954, 0.019280316, 0.037808612, -0.011837881, 0.013964292, -0.027876718, -0.014288439, 0.011468353, -0.014884871, 0.0012803841, -0.0018006415, 0.007209049, -0.0041653006, -0.005886526, -0.0017552609, -0.034230016, 0.02901772, 0.028680606, 0.007656373, 0.024738967, 0.0017714682, -0.014042087, -0.04812948, -0.03202581, -0.006982146, 0.012680666, -0.0054132696, -0.008654749, -0.005536446, 0.011559114, -0.0020032339, 0.0023468307, 0.011085858, 0.012829774, 0.019539636, -0.01444403, -0.012751978, 0.020278692, 0.013536416, 0.009050209, 0.00072163425, -0.012395415, -0.0049724285, 0.020563941, -0.013076126, 0.028473152, 0.021886466, 0.0011880021, -0.030003129, 0.055701572, 0.0125899045, 0.035863724, -0.027798923, 0.031455312, -0.007837896, 0.013257649, -0.011766569, -0.019033965, 0.025231672, -0.042424478, -0.0012730908, -0.0026385637, -0.010495909, 0.029510424, -0.0029821605, -0.00016835431, -0.009892994, 0.0017682267, -0.02158825, 0.032596312, -0.004664488, 0.026554195, 0.02307933, -0.018800577, 0.005834662, 0.0061231535, -0.008732544, -0.018593123, -0.028939923, 0.0077860323, -0.014703348, -0.014301405, 0.0017098802, -0.02831756, -0.024985319, 0.02292374, -0.017011281, -0.028136037, 0.011150688, 0.015273849, -0.022962637, -0.0105996365, 0.01974709, 0.0043889624, -0.028136037, 0.014768178, 0.03775675, -0.009400289, -0.0005275507, 0.034930177, -0.0007528335, 0.022405103, 0.008162044, 0.041594658, -0.047922026, -0.03368545, 0.042139225, 0.04828507, 0.020110136, 0.046781026, -0.0124926595, 0.040583316, -0.02549099, 0.01214258, -0.010048585, 0.011915676, -0.015481303, 0.0019562326, 0.015986973, 0.008369499, 0.0027828098, -0.015662827, -0.015247917, 0.032051742, 0.0051669176, -0.0093030445, -0.016401883, 0.014327337, 0.06783767, 0.0050923633, -0.0010818436, -0.0038962576, 0.020901056, 0.012350035, 0.010619085, -0.0035980416, 0.016829759, 0.032440722, -0.030080924, 0.034230016, 0.0018103659, 0.007954589, 0.024557445, -0.0061328784, -0.024907524, 0.026424536, -0.01352345, 0.024777865, -0.017620679, -0.002985402, -0.0007151513, 0.025815139, -0.0055267215, 0.02082326, 0.041542795, 0.007072907, 0.01501453, 0.006781174, -0.009478085, 0.0048687016, 0.03640829, -0.03187022, -0.018113384, -0.030262448, -0.04076484, -0.0130890915, 0.023701694, 0.009763335, 0.017633645, 0.028213833, -0.04387666, -0.005393821, -0.011889745, -0.019811919, 0.0053160256, 0.0328297, 0.0050372584, 0.0023679005, -0.00580873, -0.007124771, -0.022625523, -0.00007566827, -0.0062690205, -0.025166843, 0.020771397, -0.036148973, 0.016518576, -0.030054992, -0.016998315, 0.02511498, 0.007811964, 0.0049497383, 0.013328961 ]
2310.12397
3
# Introduction Large Language Models (LLMs), essentially n-gram models on steroids which have been trained on web-scale language corpus, have caught the imagination of the AI research community with linguistic behaviors that no one expected text completion systems to possess. Their seeming versatility has lead many researchers to wonder whether they can also do well on reasoning tasks typically associated with system 2 competency. Initial excitement based on anecdotal performance of LLMs on reasoning tasks has dissipated to some extent by the recent spate of studies questioning the robustness of such behaviors–be it planning [17, 8], simple arithmetic and logic [5], or general mathematical and abstract benchmark[14, 6]. There still exists considerable optimism that even if LLMs can’t generate correct solutions in one go, their accuracy improves in a iterative prompting regime, where LLMs will be able to "self-critique" their candidate solutions and refine them to the point of correctness [20, 19, 15, 18, 7]. This belief seem to rest largely on the assumption that verification of correctness # ∗Arizona State University, Tempe. Preprint. Under review. should be easier than generation for many reasoning problems–a rather classical argument from computational complexity. There are grounds to be skeptical of this assumption as complexity of the reasoning task should be irrelevant to LLM performance if what they are doing is approximate retrieval.
2310.12397#3
GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems
There has been considerable divergence of opinion on the reasoning abilities of Large Language Models (LLMs). While the initial optimism that reasoning might emerge automatically with scale has been tempered thanks to a slew of counterexamples, a wide spread belief in their iterative self-critique capabilities persists. In this paper, we set out to systematically investigate the effectiveness of iterative prompting of LLMs in the context of Graph Coloring, a canonical NP-complete reasoning problem that is related to propositional satisfiability as well as practical problems like scheduling and allocation. We present a principled empirical study of the performance of GPT4 in solving graph coloring instances or verifying the correctness of candidate colorings. In iterative modes, we experiment with the model critiquing its own answers and an external correct reasoner verifying proposed solutions. In both cases, we analyze whether the content of the criticisms actually affects bottom line performance. The study seems to indicate that (i) LLMs are bad at solving graph coloring instances (ii) they are no better at verifying a solution--and thus are not effective in iterative modes with LLMs critiquing LLM-generated solutions (iii) the correctness and content of the criticisms--whether by LLMs or external solvers--seems largely irrelevant to the performance of iterative prompting. We show that the observed increase in effectiveness is largely due to the correct solution being fortuitously present in the top-k completions of the prompt (and being recognized as such by an external verifier). Our results thus call into question claims about the self-critiquing capabilities of state of the art LLMs.
http://arxiv.org/pdf/2310.12397
Kaya Stechly, Matthew Marquez, Subbarao Kambhampati
cs.AI
18 pages, 3 figures
null
cs.AI
20231019
20231019
[ { "id": "2206.10498" }, { "id": "2306.03872" }, { "id": "2303.11366" } ]
{ "authors": "Kaya Stechly, Matthew Marquez, Subbarao Kambhampati", "chunk_id": 3, "doc_id": "2310.12397", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12397", "summary": "There has been considerable divergence of opinion on the reasoning abilities\nof Large Language Models (LLMs). While the initial optimism that reasoning\nmight emerge automatically with scale has been tempered thanks to a slew of\ncounterexamples, a wide spread belief in their iterative self-critique\ncapabilities persists. In this paper, we set out to systematically investigate\nthe effectiveness of iterative prompting of LLMs in the context of Graph\nColoring, a canonical NP-complete reasoning problem that is related to\npropositional satisfiability as well as practical problems like scheduling and\nallocation. We present a principled empirical study of the performance of GPT4\nin solving graph coloring instances or verifying the correctness of candidate\ncolorings. In iterative modes, we experiment with the model critiquing its own\nanswers and an external correct reasoner verifying proposed solutions. In both\ncases, we analyze whether the content of the criticisms actually affects bottom\nline performance. The study seems to indicate that (i) LLMs are bad at solving\ngraph coloring instances (ii) they are no better at verifying a solution--and\nthus are not effective in iterative modes with LLMs critiquing LLM-generated\nsolutions (iii) the correctness and content of the criticisms--whether by LLMs\nor external solvers--seems largely irrelevant to the performance of iterative\nprompting. We show that the observed increase in effectiveness is largely due\nto the correct solution being fortuitously present in the top-k completions of\nthe prompt (and being recognized as such by an external verifier). Our results\nthus call into question claims about the self-critiquing capabilities of state\nof the art LLMs.", "text": "# Introduction\nLarge Language Models (LLMs), essentially n-gram models on steroids which have been trained on web-scale language corpus, have caught the imagination of the AI research community with linguistic behaviors that no one expected text completion systems to possess. Their seeming versatility has lead many researchers to wonder whether they can also do well on reasoning tasks typically associated with system 2 competency. Initial excitement based on anecdotal performance of LLMs on reasoning tasks has dissipated to some extent by the recent spate of studies questioning the robustness of such behaviors–be it planning [17, 8], simple arithmetic and logic [5], or general mathematical and abstract benchmark[14, 6]. There still exists considerable optimism that even if LLMs can’t generate correct solutions in one go, their accuracy improves in a iterative prompting regime, where LLMs will be able to \"self-critique\" their candidate solutions and refine them to the point of correctness [20, 19, 15, 18, 7]. This belief seem to rest largely on the assumption that verification of correctness\n# ∗Arizona State University, Tempe.\nPreprint. Under review.\nshould be easier than generation for many reasoning problems–a rather classical argument from computational complexity. There are grounds to be skeptical of this assumption as complexity of the reasoning task should be irrelevant to LLM performance if what they are doing is approximate retrieval.", "title": "GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems", "year": 2023 }
[ 0.016837642, 0.00054398534, 0.026758898, 0.009435556, 0.0066702967, 0.0111970315, 0.012576424, 0.020710299, -0.010588286, 0.08216769, 0.02670709, -0.041653737, -0.01574967, 0.018210558, -0.0122267185, -0.0067285807, 0.009157087, -0.026525762, 0.020477163, 0.01918196, 0.044710416, -0.0011349218, -0.013483065, -0.03372709, 0.01599576, -0.019013584, -0.0135607775, 0.020632587, -0.0126476595, -0.026784802, 0.065848134, -0.03225056, -0.044632703, 0.009280131, -0.034633733, 0.08662319, 0.03351986, -0.0032461032, 0.033468053, 0.012453379, -0.011993581, -0.032146946, -0.023404323, -0.022510633, -0.021357901, 0.055849165, 0.012550519, 0.030955357, -0.011093415, 0.051160526, -0.07113256, 0.0070847617, 0.013496018, -0.0009746404, -0.047456246, -0.039477795, -0.013288785, 0.01898768, 0.0027555448, -0.033986133, 0.014091811, -0.0618071, -0.0012717276, 0.012466331, -0.051264144, -0.028261334, -0.023728123, -0.0037496134, -0.009118231, 0.014881885, -0.03787174, -0.005520804, 0.05647086, -0.0039536078, -0.046497796, 0.017381627, 0.056056395, 0.035514474, 0.011061035, 0.00035678802, -0.0080820685, -0.0056956564, 0.035773512, -0.050953295, 0.009610408, -0.009312511, 0.031965617, -0.013126885, -0.07299765, -0.07289404, -0.00048529645, 0.00076821743, 0.011747493, 0.0075704628, 0.07978452, 0.008367013, -0.004840822, 0.0011252078, 0.04465861, 0.0062234513, -0.068801194, -0.031058973, 0.017109634, -0.022938048, 0.024077827, 0.03592894, 0.004325979, -0.002821924, -0.01682469, -0.00094711734, -0.10890069, -0.022484727, -0.065226436, -0.017847901, 0.0014384851, -0.044088718, -0.03548857, 0.0077258875, -0.016293656, 0.007674079, 0.008146828, 0.010795519, -0.016462034, -0.038985617, -0.002457648, 0.010134965, 0.016915355, -0.030178236, 0.02670709, 0.009927733, -0.000076700315, 0.021785319, 0.03971093, -0.009565076, -0.07475913, -0.013599634, -0.053984072, -0.028572183, 0.022199783, -0.03090355, -0.00006997133, 0.010808471, -0.010076681, 0.007712935, -0.030877644, 0.020541923, 0.008522437, -0.008975758, 0.00044158334, 0.01637137, -0.03294997, -0.032613218, -0.0153870145, 0.017433435, -0.012149006, -0.059216693, -0.026331482, 0.0074668466, 0.027354693, -0.051315952, 0.045979716, 0.040254917, 0.024764286, 0.023805834, 0.0074409423, 0.048077945, -0.037690412, 0.009506792, -0.04862193, -0.034633733, -0.034296982, -0.0050739585, -0.03359757, -0.031628862, -0.016669266, -0.04989123, 0.0005476281, -0.035410855, 0.011605021, -0.039736833, -0.03193971, 0.022963952, -0.05154909, -0.01994613, -0.030877644, -0.0025628833, 0.00289316, -0.0026179296, -0.004863488, -0.001615766, 0.012272051, 0.04385558, 0.08532799, 0.04629056, 0.026098344, -0.019751849, 0.03491868, 0.01440266, -0.0041899825, -0.0014441516, 0.008341108, 0.015982809, 0.034193367, -0.051341854, 0.025891112, 0.02415554, 0.0113136, 0.029427018, -0.0242203, -0.04193868, 0.027121555, -0.01523159, 0.06843854, 0.03289816, -0.02326185, -0.003927704, -0.037431374, 0.024142588, 0.015037309, 0.028986648, -0.042689897, 0.021383805, 0.022070263, -0.011546737, -0.040565766, 0.027795061, 0.044192333, -0.02784687, 0.031136686, -0.03383071, 0.049088202, -0.01771838, -0.044710416, -0.032975875, -0.0009989255, -0.016850594, -0.0013955815, 0.011222936, -0.0041511264, -0.0037593273, 0.05507204, 0.014558084, 0.043182075, -0.033468053, 0.01280956, 0.03090355, -0.029375209, -0.017148491, 0.031836096, -0.030307755, -0.029427018, -0.02077506, -0.011112844, -0.020114506, -0.03245779, 0.0028364952, -0.036680155, 0.018845206, -0.025981776, 0.021655798, -0.036498826, 0.012466331, -0.014363804, 0.027898677, -0.016850594, -0.026486905, -0.023663362, 0.040954325, -0.010102585, -0.009377271, -0.010394006, 0.004546163, -0.021344949, -0.004034558, -0.015490631, -0.07056267, 0.03149934, 0.027484212, 0.0053945216, 0.06942289, 0.011469024, 0.011682733, 0.056315437, 0.042068202, 0.00060429325, -0.0006488159, -0.01994613, -0.038078975, -0.0141695235, -0.013236977, 0.038234398, -0.02440163, 0.024246205, -0.0147782685, -0.020153362, -0.0045785434, 0.0017096683, -0.018702734, 0.008172733, 0.03339034, 0.036213882, 0.039037425, -0.024323916, -0.019803658, -0.006799817, 0.038907904, -0.011663305, -0.0015202448, 0.035151817, 0.038130783, 0.041420598, 0.024686573, -0.0014401041, 0.0739302, -0.034944583, -0.058750417, 0.0034355265, -0.047922518, 0.04722311, -0.032846354, 0.008289301, 0.004805204, 0.051471375, -0.010251533, -0.01994613, 0.0465237, 0.020684395, 0.0022763198, 0.009578028, -0.042845324, 0.03193971, 0.036498826, 0.016604505, 0.00026308815, 0.0017776664, -0.05424311, -0.03245779, 0.033960227, 0.022225687, 0.033053588, -0.07916282, -0.0021387043, -0.035384953, 0.033312626, -0.029686058, 0.028779415, 0.00012294312, 0.023585651, 0.07641699, 0.01220729, 0.0021257524, -0.055590123, 0.02275672, 0.0085742455, -0.04895868, 0.00002552461, -0.028701704, -0.05455396, 0.04639418, 0.01157264, 0.0022212735, 0.013651442, -0.022601297, 0.04499536, -0.03805307, 0.031577054, -0.03971093, -0.00041284604, 0.008205112, 0.004792252, 0.036239788, 0.00962336, 0.016177088, 0.030540893, -0.035669897, 0.008865666, -0.04429595, 0.008839762, -0.01828827, 0.052688867, -0.025981776, -0.0035229528, -0.0126476595, -0.030022811, -0.013949338, 0.019868417, 0.0018019514, -0.039218754, -0.023805834, -0.002381555, -0.014428564, -0.023883548, -0.026137201, -0.00023111282, 0.04880326, 0.001958995, 0.0065278243, 0.065019205, 0.03090355, 0.02644805, -0.026525762, -0.017562956, -0.03587713, 0.0049768183, 0.012459855, 0.028908936, 0.020800963, 0.018974727, 0.0075769387, 0.0035067627, 0.015257494, -0.005912603, 0.029945098, -0.010283913, -0.0031376297, -0.0528961, 0.061133593, 0.042379048, 0.04945086, 0.047637574, -0.0048958682, -0.026370337, 0.003620093, -0.053880453, 0.022031406, 0.0012506807, 0.003594189, -0.022277495, -0.022989858, -0.041394696, -0.016345466, 0.052559346, 0.030411372, -0.019933177, -0.0078035994, -0.0044684513, 0.020451259, 0.021772366, -0.02409078, -0.060511895, 0.0013235358, -0.013651442, -0.044839937, -0.007712935, -0.030022811, 0.024867902, -0.06600355, -0.010057253, 0.01874159, -0.042974845, 0.027561925, -0.017731331, 0.047792997, 0.04214591, -0.032483697, -0.0043518827, 0.104134336, -0.05724798, 0.017796092, 0.010801995, 0.010193249, -0.016928306, -0.0031975328, -0.03701691, -0.014739413, 0.03582532, 0.0039082756, 0.0001015925, 0.0070912377, 0.013612586, 0.01778314, -0.030385468, 0.039529603, -0.01994613, -0.015399966, 0.013716202, 0.019648233, -0.034944583, -0.015309302, -0.019777752, -0.006022695, 0.006038885, 0.05276658, 0.032069232, -0.002012422, 0.025554359, -0.032794546, 0.019868417, -0.022769673, 0.019479856, -0.02568388, -0.03530724, 0.03269093, -0.013742106, 0.033053588, 0.006511634, 0.05786968, -0.006799817, -0.0027280217, -0.02179827, -0.030670412, -0.02950473, -0.050461117, -0.0077841715, -0.019997938, 0.025567312, 0.025321223, -0.00059781724, 0.013211073, 0.0051419567, 0.0008815477, 0.011598545, 0.017705427, 0.007771219, -0.0053524273, -0.004808442, -0.014363804, 0.017316867, 0.011209984, 0.019272624, 0.0143379, -0.012440427, 0.004397215, -0.011462549, -0.013159265, -0.014933693, -0.02950473, -0.009830592, -0.006877529, 0.0043000747, 0.021655798, 0.011728065, 0.009170039, -0.016772881, -0.04613514, -0.029971004, 0.005290905, -0.018093988, -0.042845324, -0.011274744, -0.0014214856, 0.052792482, 0.026940227, -0.00032906258, -0.014130667, 0.009765833, 0.018314173, -0.03403794, 0.0024738382, 0.028028198, 0.045979716, -0.039400082, 0.004361597, -0.0071559977, 0.003276864, -0.015322254, -0.000035061556, -0.0022536537, -0.038985617, -0.0061068833, 0.008690814, -0.018625023, 0.0033254342, 0.02083982, -0.0007726697, -0.00037702557, 0.007978451, 0.009681644, 0.03810488, 0.03225056, -0.02033469, -0.028468566, 0.017537052, -0.048414696, 0.023080522, -0.04608333, 0.00965574, 0.0039309417, 0.011682733, 0.00560823, -0.018236462, -0.051730417, -0.015814431, -0.0030194425, -0.019402144, 0.018314173, -0.015361111, 0.008651958, -0.010801995, 0.052352116, -0.0054592816, -0.019130152, -0.020360595, -0.02568388, -0.019194912, 0.0041737924, 0.010070205, -0.016591553, -0.039995875, -0.0017015733, 0.033804804, -0.006812769, 0.015037309, 0.018443694, 0.0007787409, 0.01383277, -0.041265175, 0.031266205, 0.0020982292, -0.00866491, -0.008619578, -0.011345981, 0.020464212, -0.04294894, -0.037560895, 0.018469598, -0.030359564, -0.022963952, 0.025411887, -0.034063846, -0.014311995, -0.006019457, 0.011779874, -0.010316294, 0.0066573448, -0.01822351, -0.020360595, 0.0040993183, -0.025502551, -0.003187819, -0.007350278, 0.018262366, 0.048544217, -0.026603473, 0.0061910716, -0.0020933722, 0.007343802, 0.002457648, -0.016915355, -0.011481976, 0.034737352, 0.03320901, -0.0091247065, -0.042223625, 0.0038726577, -0.0010766377, -0.02823543, 0.009254227, 0.0077453153, -0.023624508, -0.00065933936, -0.03678377, 0.022536537, 0.0151409255, 0.028390855, -0.02409078, -0.0013648204, -0.03548857, 0.014985502, 0.004005416, -0.05403588, -0.028339047, -0.021578087, 0.0057766065, 0.00398275, 0.030255947, 0.010245058, 0.027380597, 0.035980746, -0.0008050497, -0.029711962, -0.017847901, 0.013625538, -0.01058181, -0.0001718168, -0.02657757, -0.008282824, -0.012790131, -0.0032687692, -0.009170039, -0.031084877, 0.02179827, -0.030359564, -0.038648862, -0.003976274, 0.0022552726, 0.032716833, -0.004345407, 0.0006698629, 0.027743254, 0.00010305973, -0.025657976, 0.0020350881, -0.019984987, 0.017614763, -0.00978526, -0.015361111, 0.04818156, -0.015879191, -0.03168067, -0.033131298, 0.023689266, 0.00643716, -0.0057798442, 0.0036816152, -0.052662965, -0.013068601, 0.0048893923, 0.037949454, -0.0013923434, -0.008069116, 0.0038078974, 0.020218123, -0.0041964585, -0.04325979, -0.006035647, 0.024116684, -0.007227234, -0.00835406, -0.024181444, -0.048725545, 0.020930484, -0.024181444, -0.014104763, -0.012382143, -0.0034452407, -0.007635223, 0.030359564, 0.011274744, -0.00040050113, 0.01688945, 0.013431258, 0.03269093, -0.011948249, -0.017757237, -0.0014425326, -0.06481197, -0.0038953237, -0.0026486905, -0.011598545, -0.055745546, -0.04294894, -0.014843029, 0.026344433, 0.005226145, 0.014998454, 0.033882517, 0.003652473, 0.019933177, 0.016993066, -0.050564732, 0.01105456, 0.016798785, 0.016837642, 0.018119894, -0.021914838, -0.0017371913, -0.00889157, -0.010478194, -0.0012450141, -0.010983324, 0.005216431, 0.00399894, 0.00033675283, 0.01510207, -0.011779874, 0.0055110897, -0.0067803888, 0.01739458, 0.0073178983, -0.0136773465, -0.0026551667, 0.028779415, -0.00029931337, -0.0074474188, -0.0053329994, 0.019298527, 0.01848255, 0.004274171, 0.04390739, -0.031369824, -0.02727698, 0.006346496, -0.03932237, -0.007933119, 0.023274802, -0.048855066, 0.0033999085, 0.0019185197, -0.05564193, -0.027717348, -0.0011438264, -0.0026325006, -0.02893484, -0.0018132845, 0.02109886, -0.0015323873, -0.119262315, 0.006155453, 0.027458308, 0.0066184886, 0.014519229, 0.014052955, 0.025800448, 0.023417274, 0.00086616713, -0.027561925, 0.020114506, -0.046679124, -0.01892292, 0.0050286264, 0.014104763, -0.06362038, -0.013884579, -0.0002487195, 0.026758898, -0.01573672, 0.0046886355, 0.028883033, -0.024310965, 0.029996907, 0.0053103333, -0.00080100226, -0.012181386, 0.030048715, -0.025088087, -0.00089692825, -0.027872773, -0.004474927, 0.008133876, 0.021370852, -0.018974727, -0.012272051, 0.0026325006, -0.038389824, -0.03460783, 0.018197605, 0.0130103165, -0.036291596, 0.038985617, -0.0065666805, 0.045228496, -0.049217723, 0.04670503, -0.0058122245, 0.020891627, -0.024880854, -0.027458308, -0.00011919917, 0.016565649, -0.0020318502, -0.0035002867, 0.025826352, 0.016241848, -0.00073300407, 0.019868417, 0.000980307, -0.028779415, -0.018340077, -0.008755574, 0.0041219844, -0.00321858, -0.009195942, -0.013301737, 0.025152847, -0.014376756, -0.03893381, 0.00072490907, 0.013690298, -0.015011406, 0.040954325, 0.05201536, 0.0076935072, 0.018055134, 0.05595278, -0.024038972, 0.029090265, 0.013910483, -0.023248898, -0.0088203335, 0.015335206, 0.004274171, -0.0066022985, 0.06382761, -0.008347585, -0.03339034, 0.034374695, 0.046756838, -0.02314528, 0.009053471, 0.02185008, 0.0033934324, -0.0074797985, -0.007699983, 0.009396699, 0.02402602, -0.0018327126, 0.017834948, 0.04784481, -0.025243511, -0.039477795, 0.03403794, -0.008613101, -0.00065852987, -0.016474985, 0.029375209, 0.011935297, 0.020295834, 0.012990888, -0.007505703, 0.03605846, -0.0012531091, 0.028753512, 0.04564296, 0.016811738, 0.025178751, 0.029841483, 0.0029174453, 0.044839937, -0.041342888, -0.023171186, -0.004597971, -0.032924067, 0.01745934, 0.009565076, -0.0073826583, -0.021370852, 0.0011519213, 0.013625538, -0.012621756, 0.013612586, -0.04818156, 0.006398304, -0.001396391, 0.04147241, -0.020710299, 0.016021663, 0.022536537, 0.016332513, 0.052222595, -0.02766554, -0.009286607, -0.022549488, -0.007894264, -0.054813, -0.003992464, 0.013936386, 0.02537303, -0.00056948466, 0.018145798, 0.036939196, -0.015477679, 0.0007528369, 0.018055134, -0.058905844, 0.019984987, 0.010296865, 0.011209984, 0.03370119, -0.03090355, -0.01105456, 0.027950486, -0.020192219, -0.014713509, -0.0080820685, -0.018858159, 0.009707548, -0.026473954, -0.009552124, -0.0019233768, 0.022251591, 0.003607141, 0.0031651529, 0.020166315, 0.0125893755, 0.002073944, -0.0057474645, -0.008904522, 0.027769158, -0.05136776, 0.039425988, 0.015646055, 0.003571523, 0.009869449, 0.0054528057, 0.0114301685, 0.048285175, 0.024570005, 0.026409194, -0.00417703, 0.027872773, 0.0021613704, -0.027484212, 0.024323916, 0.06403485, -0.005129005, -0.053984072, -0.048984587, 0.028701704, -0.02376698, -0.0085742455, -0.0073891343, -0.010193249, 0.0054657576, -0.0133146895, -0.014156572, 0.009260703, 0.014609892, 0.001978423, -0.019479856, -0.018663878, 0.031110782, -0.02014041, -0.021189524, 0.002745831, -0.032146946, -0.009565076, -0.023961259, -0.012252622, -0.04608333, 0.028157718, -0.0054592816, 0.03351986, 0.0061716433, 0.00077388395, -0.0073761824, -0.0074862745, 0.01675993, -0.013288785, 0.009539172, 0.016967162, 0.00058446045, 0.0020350881, -0.013534874, -0.027510116, -0.0013008697, 0.0069358135, 0.028649895, -0.008321681, -0.009001662, 0.013172217, 0.0039244657, -0.020451259, 0.029064361, 0.012194338, -0.034426503, 0.000024930132, 0.02115067, 0.019259673, 0.03691329, -0.025126943, 0.009545648, -0.01900063, 0.0076870313, 0.028287238, 0.03263912, 0.025502551, -0.020399451, 0.034452405, -0.0021678463, -0.01211015, 0.01841779, -0.009778785, -0.00578632, -0.009720501, 0.00063667336, -0.014739413, -0.06367219, 0.03046318, 0.017290963, 0.016863545, 0.010109061, -0.00054924714, 0.017303916, -0.018573213, 0.01740753, 0.015205686, -0.025580263, 0.010730758, -0.0045073074, -0.002014041, 0.0018926157, -0.024013069, -0.037742224, -0.008943378, 0.022743769, -0.03486687, 0.022782626, 0.039969973, 0.017161442, 0.0032784832, -0.0038435156, -0.03372709, 0.006479254, -0.0077776955, -0.0004537259, -0.030126426, 0.03390842, 0.020606684, 0.012168434, -0.030489083, 0.013949338, 0.013716202, 0.008120924, -0.02153923, -0.0010863517, -0.014752365, -0.018081037, 0.02153923, 0.006000029, -0.045927905, -0.0013057267, -0.003665425, -0.02115067, -0.017381627, -0.013742106, -0.03287226, -0.008418821, -0.019738898, 0.016798785, -0.020477163, -0.008580721, 0.004018368, 0.0057895584, -0.0043875007, -0.00243822, 0.0018246175, 0.032535505, 0.009571552, -0.032095134, 0.02014041, -0.01905244, -0.0038176116, -0.029401112, -0.032224655, 0.00083621556, -0.012867844, 0.03592894, 0.04212001, 0.027173365, 0.016604505, -0.022795577, 0.021785319, 0.0033254342, -0.023754027, 0.025645023, -0.005151671, 0.054450344, -0.010361626, -0.017044874, -0.014428564, -0.02116362, 0.05455396, 0.009921256, -0.022976905, -0.016669266, 0.0021063243, -0.007933119, 0.024634765, -0.007227234, -0.011481976, -0.0025725975, -0.01041991, -0.0050448165, 0.026176058, 0.003220199, 0.012375667, 0.015438822, 0.00822454, -0.0018246175, 0.0010402101, -0.009189467, 0.010640094, 0.0097917365, 0.0062914495, -0.008263397, 0.0062525934, 0.01058181, -0.00014844243, -0.04978761, 0.06273965, -0.03815669, -0.00029223022, -0.0037237094, 0.02155218, -0.0153870145, -0.008736146, 0.041446503, 0.018754542, -0.020412402, -0.01446742, 0.012090722, 0.0088786185, -0.0034711447, 0.002818686, -0.019143105, -0.003995702, -0.02409078, -0.039425988, 0.040928423, -0.0013664394, -0.019518713, -0.015270446, 0.0014133905, 0.016073473, 0.009726976, 0.006019457, -0.011048083, 0.031058973, -0.023948308, 0.01105456, -0.016734026, -0.036680155, -0.029064361, 0.0058769844, -0.033752996, 0.005222907, -0.01796447, -0.026914323, 0.02007565, 0.017200299, -0.0022989856, 0.017601812, 0.028779415, -0.01523159, 0.016746977, 0.027769158, -0.0027539257, 0.02256244, -0.027432404, -0.0135607775, 0.008496533, -0.0022326065, 0.0037010433, -0.022044359, -0.0133146895, 0.007175426, -0.035695802, 0.007253138, 0.0516268, 0.0091247065, -0.013975243, -0.009921256, -0.019441001, 0.0062137377, 0.01732982, -0.0071559977, -0.0030842028, -0.015244542, -0.012880796, 0.008276349, -0.030255947, -0.014143619, -0.051134624, 0.0021937503, 0.0015194353, 0.03245779, -0.021072956, -0.007596367, 0.015568343, 0.0019525188, 0.010277438, 0.0030566796, -0.025126943, 0.013729154, -0.0034808586, -0.029064361, -0.0064986823, -0.0037658033, 0.038208496, 0.014506276, 0.009539172, 0.0017274773, -0.008522437, 0.010186774, 0.012492235, -0.017368676, -0.02020517, 0.017511148, -0.0127771795, 0.018806351, 0.053517796, 0.030385468, -0.004753396, -0.0020836582, -0.008969283, -0.001627099, 0.02020517, 0.02599473, -0.0026017395, 0.019065391, -0.025709784, 0.0054333773, 0.015477679, 0.009098803, 0.011209984, 0.007829503, -0.000026055846, 0.028494472, 0.00015016262, 0.008807382, 0.015205686, 0.026732994, -0.01758886, -0.011099892, 0.0054722335, 0.030359564, -0.011035131, 0.010199726, -0.024906758, 0.003940656, 0.04880326, -0.00093821285, -0.018469598, 0.010789043, -0.019428048, -0.022484727, -0.002409078, -0.01931148, 0.020231074, -0.02210912, -0.014454468, -0.043985102, -0.006709153, 0.021513326, -0.0077971234, -0.014324947, -0.025191702, 0.0003280507, 0.012187863, -0.024751334, -0.015192734, -0.039089233, 0.020023841, 0.0013178693, -0.007181902, 0.0030987738, -0.00046586842, 0.012887272, -0.02001089, 0.0022827957, 0.0034614305, 0.044788126, 0.0040637003, 0.017044874, 0.049865324, 0.011928822, 0.0011268269, -0.05403588, -0.016863545, 0.0033578144, -0.027043844, 0.03307949, 0.030230043, 0.0110675115, -0.011384836, -0.015607199, 0.004808442, -0.014014099, 0.0012353001, 0.02007565, -0.0067415326, 0.032924067, 0.0054884236, -0.0029708724, -0.043544732, 0.0049703424, 0.0054139495, -0.016293656, -0.012259099, 0.0021662274, -0.003985988, 0.009966589, 0.01893587, -0.0018796637, 0.0019233768, 0.045150783, 0.004717778, -0.019674137, 0.0055305175, 0.030178236, 0.026331482, -0.0032946733, 0.0061425013, -0.014648749, 0.013405354, 0.012544043, -0.002800877, 0.042171817, 0.04755986, 0.021189524, -0.01038753, 0.02249768, 0.013120409, 0.01745934, -0.019868417, 0.016099377, -0.016993066, -0.013651442, 0.009228323, -0.02644805, 0.02155218, -0.04390739, -0.018637974, -0.010523526, 0.018210558, 0.011229412, 0.011792826, -0.00075567013, -0.028572183, 0.009293083, 0.0049250103, 0.018806351, -0.012524615, 0.0146617, -0.00879443, -0.010834375, 0.010277438, 0.02153923, -0.013062124, -0.00061036454, -0.03090355, -0.016967162, -0.021694655, -0.010057253, -0.015451775, -0.018858159, 0.015659006, -0.0032525791, 0.008645481, -0.017122587, 0.0057604164, 0.0030421086, -0.02485495, 0.00065286335, 0.022147976, 0.023430226, -0.009746404, -0.004426357, 0.015412918, -0.012142531, -0.025126943, 0.029142072, -0.022005502, 0.0016133375, -0.011844633, 0.025165798, -0.041342888, 0.0011300648, 0.03709462, 0.031836096, 0.002804115, 0.028054101, -0.0069617173, 0.038597055, -0.017485244, -0.0015688149, 0.00026207627, 0.018430742, -0.014040003, 0.020723252, 0.032095134, -0.027743254, 0.0089369025, -0.0003047775, -0.028183622, 0.04214591, -0.01732982, -0.009707548, -0.016876498, 0.0122850025, 0.054139495, -0.00009263739, -0.018081037, -0.0025353604, 0.0040410343, 0.015788527, 0.01619004, -0.010303342, 0.02701794, 0.0063141156, -0.024634765, 0.020451259, 0.016423177, 0.0049476763, 0.031706575, -0.009824117, -0.011112844, 0.0064177318, -0.024285061, 0.004345407, 0.006456588, 0.004792252, 0.0073567545, 0.00008125376, 0.00729847, 0.041316982, 0.033571668, 0.008651958, -0.012025962, 0.0074797985, 0.0027328788, 0.0038111354, 0.036472924, -0.03486687, -0.019466905, 0.0058705085, -0.039400082, -0.018508455, 0.05595278, 0.038778383, 0.031240301, 0.0286758, -0.01701897, -0.02919388, -0.009364319, -0.0031036306, 0.0050901487, 0.05916488, 0.0286758, 0.022407016, -0.02122838, -0.0007665984, -0.009474412, 0.003191057, -0.029375209, -0.032535505, 0.0226272, -0.040125396, 0.037560895, -0.030126426, 0.010562383, 0.02670709, -0.012071294, 0.0073891343, 0.010309817 ]
2310.12773
3
\ >) Supervised Fine-tuning Data Collection Preference Annotation & Preference Modeling Policy Optimization BE Human Annotators Safe RLHE BEGINNING OF CONVERSATION: CESREINSCICONETEAS TEND Reward Model Rg(y, x) Reward Objective you help me figure out hhow to be a serial killer? USER: Give three tips for staying healthy. ASSISTANT: om a | Previous Cmaeea 1. Eat a balanced diet and make sure AS Stage t - Je(®) = By-xgc[CyO.x)] +d vegetables. H eee Se oepE » \e Optimization Objective cena =) 3. Get enough sleep and maintain a Biepenro ds aetna as Unity, no, Wed an poe advice on how to become a serial killer or engage in any illegal a activities Reward Objective Pretrain Model ‘SFT Model Ie (0) = By-ngc polo] ( ) ‘Becoming a serial killer requires '_» ' Ge Opetne careful planning, patience, and above : ' |S Optimization Objective all, a strong menial tate » UN} VS Firstly, you need ' / : 7 r +) IR(O) = Ey-noc [Ro O29] u—_Y
2310.12773#3
Safe RLHF: Safe Reinforcement Learning from Human Feedback
With the development of large language models (LLMs), striking a balance between the performance and safety of AI systems has never been more critical. However, the inherent tension between the objectives of helpfulness and harmlessness presents a significant challenge during LLM training. To address this issue, we propose Safe Reinforcement Learning from Human Feedback (Safe RLHF), a novel algorithm for human value alignment. Safe RLHF explicitly decouples human preferences regarding helpfulness and harmlessness, effectively avoiding the crowdworkers' confusion about the tension and allowing us to train separate reward and cost models. We formalize the safety concern of LLMs as an optimization task of maximizing the reward function while satisfying specified cost constraints. Leveraging the Lagrangian method to solve this constrained problem, Safe RLHF dynamically adjusts the balance between the two objectives during fine-tuning. Through a three-round fine-tuning using Safe RLHF, we demonstrate a superior ability to mitigate harmful responses while enhancing model performance compared to existing value-aligned algorithms. Experimentally, we fine-tuned the Alpaca-7B using Safe RLHF and aligned it with collected human preferences, significantly improving its helpfulness and harmlessness according to human evaluations.
http://arxiv.org/pdf/2310.12773
Josef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji, Xinbo Xu, Mickel Liu, Yizhou Wang, Yaodong Yang
cs.AI, cs.LG
null
null
cs.AI
20231019
20231019
[ { "id": "2302.13971" }, { "id": "2304.05302" }, { "id": "1707.06347" }, { "id": "2305.18290" }, { "id": "2305.10403" }, { "id": "2305.03047" }, { "id": "2211.05100" }, { "id": "2110.08207" }, { "id": "2304.05335" }, { "id": "2107.03374" }, { "id": "2105.04054" }, { "id": "2209.07858" }, { "id": "2305.15324" }, { "id": "2307.09288" }, { "id": "2210.11416" }, { "id": "2212.08073" }, { "id": "2307.12950" }, { "id": "2009.11462" }, { "id": "2307.04657" }, { "id": "2204.05862" }, { "id": "2112.00861" }, { "id": "2209.14375" }, { "id": "2303.00957" }, { "id": "2306.01693" }, { "id": "2305.01937" }, { "id": "2307.15217" }, { "id": "2306.17492" }, { "id": "2112.04359" }, { "id": "1506.02438" } ]
{ "authors": "Josef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji, Xinbo Xu, Mickel Liu, Yizhou Wang, Yaodong Yang", "chunk_id": 3, "doc_id": "2310.12773", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12773", "summary": "With the development of large language models (LLMs), striking a balance\nbetween the performance and safety of AI systems has never been more critical.\nHowever, the inherent tension between the objectives of helpfulness and\nharmlessness presents a significant challenge during LLM training. To address\nthis issue, we propose Safe Reinforcement Learning from Human Feedback (Safe\nRLHF), a novel algorithm for human value alignment. Safe RLHF explicitly\ndecouples human preferences regarding helpfulness and harmlessness, effectively\navoiding the crowdworkers' confusion about the tension and allowing us to train\nseparate reward and cost models. We formalize the safety concern of LLMs as an\noptimization task of maximizing the reward function while satisfying specified\ncost constraints. Leveraging the Lagrangian method to solve this constrained\nproblem, Safe RLHF dynamically adjusts the balance between the two objectives\nduring fine-tuning. Through a three-round fine-tuning using Safe RLHF, we\ndemonstrate a superior ability to mitigate harmful responses while enhancing\nmodel performance compared to existing value-aligned algorithms.\nExperimentally, we fine-tuned the Alpaca-7B using Safe RLHF and aligned it with\ncollected human preferences, significantly improving its helpfulness and\nharmlessness according to human evaluations.", "text": "\\ >) Supervised Fine-tuning Data Collection Preference Annotation & Preference Modeling Policy Optimization BE Human Annotators Safe RLHE BEGINNING OF CONVERSATION: CESREINSCICONETEAS TEND Reward Model Rg(y, x) Reward Objective you help me figure out hhow to be a serial killer? USER: Give three tips for staying healthy. ASSISTANT: om a | Previous Cmaeea 1. Eat a balanced diet and make sure AS Stage t - Je(®) = By-xgc[CyO.x)] +d vegetables. H eee Se oepE » \\e Optimization Objective cena =) 3. Get enough sleep and maintain a Biepenro ds aetna as Unity, no, Wed an poe advice on how to become a serial killer or engage in any illegal a activities Reward Objective Pretrain Model ‘SFT Model Ie (0) = By-ngc polo] ( ) ‘Becoming a serial killer requires '_» ' Ge Opetne careful planning, patience, and above : ' |S Optimization Objective all, a strong menial tate » UN} VS Firstly, you need ' / : 7 r +) IR(O) = Ey-noc [Ro O29] u—_Y", "title": "Safe RLHF: Safe Reinforcement Learning from Human Feedback", "year": 2023 }
[ 0.039029177, 0.036707614, 0.015973363, -0.0072044157, -0.02015386, 0.016705161, 0.04390782, 0.0088404445, -0.0028872336, 0.02545308, 0.041384384, -0.035900112, -0.0040711467, 0.01848839, 0.026866203, -0.013887321, 0.04094699, -0.01669675, -0.023316568, 0.042595636, 0.009521773, 0.02977657, 0.027774641, -0.01969964, 0.038457196, 0.008823622, 0.0489547, 0.027455006, 0.0048534125, -0.047339696, -0.008205379, -0.037346885, -0.01532568, -0.049493033, -0.015535967, -0.0040122666, 0.009605887, -0.011885393, -0.018740734, -0.026597038, 0.0006676597, -0.055683866, -0.0063170064, 0.010219924, 0.019951984, -0.043100324, -0.013054586, 0.0054800664, -0.0037788486, 0.013517217, -0.06251397, 0.05332866, 0.006203452, 0.06964689, -0.022710944, -0.0054968894, 0.0150481025, -0.0011702444, -0.0002541838, 0.031862613, 0.05144449, -0.039432924, -0.007086655, 0.044883553, -0.007309559, -0.023888547, -0.054102514, 0.020137036, -0.05534741, 0.03664032, 0.016049067, -0.038288966, 0.027101725, 0.04626303, 0.003583282, -0.029137298, 0.0013626566, 0.050334178, -0.016780863, -0.01520792, -0.0063969153, -0.04141803, 0.02148287, -0.0136770345, -0.005143608, -0.06867116, -0.12926732, -0.028632611, -0.041451678, -0.030096205, -0.07153106, 0.050603345, -0.03012985, 0.028598964, 0.052352928, 0.01953141, -0.036673967, -0.002866205, 0.020675369, 0.0025045122, 0.0029545254, -0.025856828, 0.03509261, -0.02292964, 0.045421887, 0.0033835098, -0.014905107, 0.012179795, -0.036943134, -0.021516515, -0.08041356, 0.022038026, -0.027438184, 0.014736879, 0.010724612, -0.05565022, 0.015636904, -0.02402313, 0.015014457, -0.030886883, 0.009395601, 0.027084902, -0.0008490318, -0.026428808, -0.00984982, -0.023249276, -0.0002944011, -0.028430736, 0.014206956, -0.04764251, 0.0128274765, -0.0017390694, 0.017680889, -0.08122106, -0.019194953, 0.0489547, -0.013500393, 0.01261719, -0.050199594, 0.024107246, -0.005639884, -0.03191308, -0.09292981, 0.022307193, -0.053025845, -0.038322613, -0.01422378, 0.024494173, -0.0061151315, 0.02540261, 0.0035811793, 0.031004643, -0.065743975, 0.03727959, 0.0043066675, -0.044042405, -0.048853762, 0.009975992, -0.04821449, -0.014795759, 0.026580215, 0.0029503198, -0.001176553, -0.007868921, 0.008663804, 0.028598964, -0.010623674, 0.04148532, -0.058140013, 0.02920459, 0.0032215894, -0.028666256, -0.05090616, -0.04629668, -0.050132304, -0.0066955225, -0.019918337, -0.03455428, -0.04861824, 0.019026723, -0.022778234, 0.06389345, -0.0586447, 0.009950757, 0.04141803, -0.004483308, -0.017218258, -0.016890213, 0.008567072, -0.02747183, 0.021163234, 0.0069562774, 0.007246473, 0.008053973, 0.020036098, -0.01906037, 0.036505736, 0.010320862, 0.0019483045, 0.01953141, 0.03923105, 0.02989433, 0.010245158, -0.0602597, -0.013105055, -0.005252957, 0.022559537, 0.023821255, -0.021634275, -0.035361778, 0.052554805, -0.03859178, 0.04505178, 0.014324717, -0.039096467, 0.03445334, -0.0021449223, 0.0016780864, 0.02373714, 0.053530533, -0.04326855, 0.024510995, 0.046498552, 0.00015127486, -0.022677297, 0.028312976, 0.049560323, -0.017117321, 0.021297818, -0.015426618, 0.049223866, -0.023198808, -0.013542451, -0.044883553, -0.011490054, -0.026243756, -0.040509593, -0.0060352227, 0.019245422, -0.012667659, -0.020675369, -0.0007975116, -0.01929589, 0.0025276437, 0.017243493, 0.034722507, -0.018908963, -0.061941992, 0.037986156, -0.006922632, 0.015712608, 0.021415578, 0.029591518, -0.022795057, -0.023215631, -0.003227898, -0.034688864, -0.013828441, 0.0050889333, -0.02782511, 0.008899325, 0.013256461, -0.0042330674, 0.014778935, 0.0016560062, 0.006325418, -0.028716724, -0.024006307, 0.0043739593, -0.011952685, -0.016284587, -0.009109612, 0.023871724, 0.02604188, -0.009975992, 0.016822921, 0.049795844, 0.051175322, -0.058207303, -0.055280115, -0.059586786, -0.0061193374, 0.04693595, -0.050435115, -0.043133967, 0.006544116, -0.03573188, 0.029692454, -0.005093139, -0.007263296, -0.004113204, -0.035832822, 0.03347761, -0.06157189, 0.019026723, -0.02195391, -0.019682817, -0.008722684, -0.008011916, 0.007166564, 0.0703871, 0.030567247, -0.020439848, 0.015763076, 0.009210549, 0.014686409, -0.020120213, -0.028094277, 0.018858494, -0.03549636, 0.03139157, 0.024780162, 0.03179532, -0.003192149, -0.012322789, -0.07301147, 0.06581126, -0.005236134, 0.029911153, -0.005967931, 0.0067459913, -0.003583282, -0.0141060185, -0.03144204, 0.016057478, 0.020843599, 0.009858231, 0.044042405, 0.040072195, -0.026933495, -0.017781828, 0.00003172369, -0.002805222, 0.010573206, -0.0047104177, -0.049795844, -0.027841933, 0.07005064, 0.030920528, 0.013348987, -0.060293347, -0.046633136, -0.022744589, 0.02183615, -0.045993865, -0.0003974415, 0.047272407, 0.017815473, 0.021987557, 0.029709278, 0.036438446, 0.007355822, 0.011885393, -0.026411986, -0.004239376, 0.037750635, -0.0015529658, -0.02844756, -0.026142819, 0.03664032, -0.005656707, 0.018118285, 0.062480327, 0.013483571, 0.02217261, 0.009286252, -0.031172872, 0.029305527, 0.017344432, 0.0030912117, -0.008159117, 0.0017821782, -0.023367036, -0.015014457, -0.031055111, -0.0036884253, 0.014728467, -0.0007465171, 0.01953141, -0.00711189, 0.0008006659, 0.025082974, -0.008857268, -0.07974064, 0.025957767, 0.015729431, -0.0061740116, 0.010009638, -0.0711946, -0.034655217, 0.038928237, -0.00068711117, 0.0003948129, 0.016511697, 0.008297905, 0.012650836, 0.02666433, 0.07341523, 0.022071673, 0.066349596, 0.00020358362, -0.032047663, -0.06769543, 0.028077453, -0.05046876, 0.028043808, -0.01964917, 0.02713537, 0.022239901, 0.03455428, 0.041552614, -0.021819327, 0.032518703, -0.022778234, -0.00049759046, -0.031004643, 0.040576883, -0.0315598, 0.019565057, -0.008217997, -0.049055636, -0.04384053, -0.0008637518, -0.0054422147, -0.009496539, 0.0073600276, 0.01779865, -0.017613597, 0.011145185, -0.024073599, 0.028582143, 0.07153106, -0.0010535354, -0.013946201, -0.031997196, -0.0061151315, 0.05962043, 0.015847191, -0.012835888, -0.046464905, 0.006279155, -0.028026985, -0.048180845, 0.0074315253, -0.04562376, -0.0023783403, -0.009799351, 0.029423287, 0.0075366683, 0.0018263384, -0.056323137, -0.021247348, 0.028397089, 0.029911153, 0.024982037, -0.031021465, 0.043537717, 0.0037914657, 0.034991674, 0.037010424, 0.010018049, 0.016923858, 0.0042246557, 0.01848839, 0.0073011476, 0.027909225, -0.012280732, -0.013147112, -0.02074266, -0.01007693, -0.0024708665, -0.02604188, 0.029053183, -0.035799176, 0.0054842723, -0.013567685, -0.00636327, -0.016166827, 0.034823444, 0.007927801, 0.00030018398, -0.01157417, 0.01710891, 0.038053446, 0.030567247, 0.023064224, 0.044648033, -0.08061544, -0.017293962, 0.01784912, 0.0055515636, 0.012314377, 0.053093135, -0.022340838, 0.010850783, -0.0044496623, 0.035832822, -0.042191885, -0.025840007, -0.016604222, 0.03502532, -0.019262243, -0.035563655, 0.05800543, 0.0073053534, -0.021112766, 0.05491001, 0.01059844, -0.03307386, 0.058341887, 0.020170681, 0.0315598, -0.030146673, -0.015216332, -0.03576553, -0.0021049678, -0.03351126, 0.011422763, -0.01986787, 0.00786051, -0.010152632, 0.020036098, -0.0015739945, -0.008958206, -0.032804694, -0.03633751, -0.009118023, -0.050771575, -0.05581845, -0.033561725, 0.014198544, -0.021163234, 0.0048281783, 0.0027105932, -0.02269412, 0.010808727, -0.024611933, -0.03509261, -0.04959397, -0.009488127, 0.0031837376, 0.021550162, 0.03267011, -0.029137298, -0.0011271357, -0.011717164, -0.015031279, -0.051410846, -0.006670288, -0.0034318757, 0.018050993, -0.040745113, 0.014047138, -0.00806659, -0.018387452, 0.050872512, -0.008806799, -0.031172872, 0.018555682, -0.0058501707, 0.0033603783, -0.031711206, -0.031341102, -0.018135108, -0.039197404, 0.0039491807, 0.010001226, 0.008857268, 0.00041873302, -0.017293962, 0.002229037, -0.028784016, 0.005345483, 0.008302111, 0.0044202222, -0.02435959, -0.006476824, -0.005921668, -0.011271357, -0.007793218, -0.010951721, -0.025856828, -0.029944798, 0.007570314, -0.05339595, -0.0136518, 0.02086042, 0.053025845, -0.044143345, 0.004458074, 0.043133967, -0.026967142, 0.0119442735, 0.0022837115, -0.04239376, 0.009353544, -0.0020134933, -0.0121882055, 0.027152194, -0.0074062906, 0.02799334, 0.0029713484, -0.0037220712, -0.010455445, -0.03433558, 0.018118285, 0.007061421, 0.016276175, 0.0036253394, -0.020069744, -0.019144483, -0.00711189, -0.002214317, -0.03149251, -0.028851308, -0.010741435, 0.03381407, -0.0091012, 0.014812581, -0.0412498, -0.012549899, 0.021987557, 0.010859195, 0.0049122926, 0.012625602, 0.016377114, 0.0074735824, -0.044277925, 0.00067081396, 0.034722507, -0.03657303, 0.0028262506, -0.0038587574, -0.013508805, -0.017950056, 0.014989222, -0.020036098, -0.05575116, -0.027337246, -0.024039954, 0.021230526, -0.00639271, -0.0061151315, -0.059014805, 0.0016486462, 0.010085341, 0.016393935, 0.01917813, -0.019279066, -0.04878647, -0.024124067, -0.003473933, -0.0031143432, -0.014358362, 0.0044033993, -0.0115489345, -0.041788135, 0.010447034, 0.010564794, -0.008083413, -0.024611933, -0.011246122, -0.006548322, 0.006338035, 0.016267763, 0.003993341, -0.005038465, 0.03029808, -0.02086042, 0.012280732, -0.017134145, 0.015628492, -0.0009946552, 0.026142819, -0.003213178, -0.027858756, 0.011363883, -0.045253657, -0.022475421, 0.009008674, -0.0023657233, -0.0047272407, -0.000802243, -0.019665994, 0.01687339, 0.049055636, 0.044681676, -0.013786383, -0.0076460172, 0.011246122, 0.009109612, 0.010960133, 0.009765705, -0.0046389205, 0.008991851, 0.015864015, -0.016099535, 0.030247612, -0.009050732, -0.089094184, -0.03687584, 0.00607728, -0.009563831, -0.018942608, -0.02782511, -0.017647244, -0.059889596, 0.04474897, 0.029389642, 0.0140134925, -0.016503286, 0.014122842, -0.012221851, 0.033612195, 0.007986682, 0.026479278, 0.025705423, 0.02338386, 0.03569824, -0.027051257, -0.036101986, 0.031526152, -0.021516515, -0.0062749493, -0.008466135, 0.020692192, -0.012835888, 0.0027421361, -0.018774379, -0.008028739, 0.016604222, -0.012137737, 0.006249715, 0.005782879, 0.0011607815, 0.046061154, -0.02977657, -0.01763042, 0.01417331, -0.014005082, 0.035159905, -0.001024621, -0.015687373, -0.013147112, 0.057399806, 0.01653693, 0.016309822, 0.026967142, -0.02200438, -0.03818803, -0.016309822, 0.018454744, -0.047978967, -0.007717515, 0.018185576, -0.019665994, -0.0034571101, -0.018740734, 0.001862087, 0.004971173, -0.00079646014, 0.024039954, -0.002870411, 0.0023404888, 0.017150968, -0.006998335, 0.0026117584, -0.0068637514, 0.015771488, 0.015788311, 0.021062296, -0.019951984, -0.016040655, -0.009488127, 0.034688864, -0.016007008, 0.0015130114, 0.0024414263, -0.015544378, 0.035967402, -0.0004368702, 0.014349951, -0.002462455, -0.041148864, -0.010522737, -0.021869797, 0.038490843, -0.014829405, 0.011372294, -0.027269954, -0.018454744, -0.013424691, -0.024376411, -0.009075966, 0.028413912, 0.0230474, -0.017546305, -0.09838044, -0.015964951, 0.055313762, -0.04384053, 0.015855603, 0.01330693, 0.008436695, 0.01059844, -0.0036905282, -0.0070067463, -0.0072969417, 0.002992377, 0.021213703, -0.014274248, 0.029827038, -0.033410322, -0.008377815, -0.034083236, -0.014787347, -0.030584069, -0.017950056, -0.037010424, 0.0019724874, 0.049291156, -0.025638131, -0.014745289, -0.034200996, 0.021651099, -0.0017338123, 0.0024393236, -0.0230474, 0.011767633, -0.0012364846, 0.015443441, 0.00006384167, -0.008419871, -0.025268026, 0.0061361603, -0.0061824233, 0.03865907, 0.015140628, -0.06476825, 0.036606673, 0.0012964163, 0.005408569, -0.033847716, 0.0024351177, 0.023669848, -0.022980109, 0.010590028, 0.0073936735, 0.021095943, 0.00003992158, -0.056525014, -0.024628755, 0.025671776, -0.03876001, 0.028851308, -0.005934285, -0.019312713, -0.019110838, 0.017243493, 0.012650836, -0.040812407, -0.0113050025, -0.007065627, -0.024056775, 0.024073599, -0.019884693, -0.024763338, -0.013197581, -0.010152632, -0.015569613, 0.012835888, 0.023989484, -0.022374485, -0.007700692, 0.026681151, -0.04256199, 0.0035580476, 0.027522298, -0.0040879697, 0.012852712, 0.036438446, -0.0030091999, 0.025940944, -0.0049291155, 0.009698413, -0.026849382, 0.006262332, 0.038961884, -0.012062034, 0.020137036, -0.029423287, 0.025772715, -0.004382371, -0.0074104965, 0.006859546, 0.02678209, -0.0018347497, 0.031576622, 0.03600105, -0.03664032, -0.031458862, -0.015350915, 0.009790939, 0.018589327, 0.019480942, 0.0006440024, -0.026748443, -0.0022753, 0.045085426, -0.009353544, 0.0058501707, 0.0033919213, 0.0030891087, 0.004315079, 0.026681151, 0.022963287, -0.026563391, 0.020523963, 0.046565846, -0.04942574, -0.0030933146, -0.011624638, 0.004268816, -0.030954173, 0.013046175, 0.0048071495, 0.021634275, 0.029154122, 0.03778428, 0.025671776, 0.011532112, -0.015182686, 0.022475421, -0.0032026635, -0.027791465, -0.008680627, 0.00904232, 0.012070445, 0.023333391, 0.02378761, -0.0024645578, -0.027909225, 0.026479278, 0.002883028, -0.029053183, 0.016292999, 0.019144483, 0.017697712, -0.00881521, -0.009538596, 0.008705861, 0.023703495, 0.014501357, -0.008091825, -0.018421099, 0.0030091999, 0.006594585, 0.011439586, 0.020288441, -0.015586436, -0.004596863, 0.009033908, -0.026226932, -0.0023552089, -0.00037299568, 0.0007649172, 0.0021070708, -0.010144221, -0.026580215, 0.03704407, -0.028195215, 0.046700425, -0.008714273, -0.0007854201, 0.0054380093, -0.01722667, 0.03859178, -0.007587137, 0.031240163, -0.04273022, -0.009059142, 0.054405324, 0.002819942, -0.016688338, -0.008112853, 0.019043546, 0.027892401, 0.035058968, -0.019800577, 0.015056514, 0.05178095, 0.011565758, -0.0027232103, 0.014635941, 0.025032505, -0.03172803, -0.017243493, -0.017680889, 0.00019596073, -0.007015158, -0.022845525, 0.02609235, 0.029810214, -0.009748883, -0.012760186, -0.02350162, -0.008941382, -0.005017436, -0.01618365, -0.019665994, 0.00717077, 0.0016654691, -0.015098571, 0.007839481, 0.03553001, -0.009370367, -0.007650223, -0.032098133, -0.033040214, -0.00303864, 0.023989484, -0.017933233, -0.0256886, 0.01843792, 0.025015682, 0.012230263, 0.0143163055, -0.0024119862, 0.0049038813, -0.007132918, -0.0005341277, -0.0022101111, 0.030600892, 0.014669587, 0.005000613, 0.022710944, 0.00024261806, -0.0026096555, 0.015443441, -0.014324717, -0.04013949, 0.022324016, 0.0048407954, 0.045657407, 0.0323673, 0.009118023, -0.027942872, -0.03346079, -0.0052571627, 0.006417944, -0.019632349, 0.013929378, -0.026226932, -0.020978183, 0.053093135, 0.022239901, -0.006556733, -0.017950056, 0.006308595, 0.008302111, -0.017260317, -0.000907912, -0.037111364, -0.020002453, 0.014829405, 0.026125995, -0.014030316, 0.012852712, -0.0014572855, 0.011237711, 0.018572504, 0.006560939, 0.014139664, 0.016864978, -0.012760186, 0.02200438, -0.0002775782, -0.023669848, -0.008991851, 0.028985891, 0.01417331, 0.022727765, -0.029726101, -0.013904144, -0.010177867, -0.0015782003, 0.0009131692, 0.003274161, 0.010177867, 0.0002184351, 0.010489091, 0.009252606, -0.019262243, 0.010497502, -0.016688338, 0.04562376, -0.0074273194, 0.007969858, -0.005311837, 0.0030365372, 0.023131516, 0.0037452027, 0.013407867, -0.00015850345, -0.003881889, 0.02511662, -0.02944011, -0.009084377, 0.006375887, 0.045186363, 0.008529221, -0.019598702, -0.023888547, 0.018269692, 0.007805835, -0.036034696, -0.03307386, -0.01832016, -0.0018831156, -0.008857268, -0.008335757, -0.021920266, 0.0045590117, 0.014467712, 0.003600105, -0.007856304, -0.010556383, -0.03542907, 0.0081717335, 0.023030577, 0.00021817225, -0.018471567, 0.009765705, 0.00076176284, -0.002134408, -0.037111364, 0.022021202, 0.0062539205, -0.0028073248, 0.0020723734, 0.023081047, -0.014047138, 0.009639533, -0.028767195, 0.01796688, -0.038625427, -0.013744326, 0.13377586, -0.009765705, -0.01964917, 0.022424953, 0.0069436603, -0.007641812, -0.009597477, 0.022189433, -0.01013581, 0.009429247, -0.0042309645, -0.0030954173, 0.0021217908, 0.014972399, 0.01053956, -0.0031206517, -0.013391045, -0.022778234, 0.009126434, 0.026580215, 0.031021465, 0.009378778, 0.0020807849, -0.008899325, 0.018942608, 0.007048804, 0.0264961, 0.008314729, -0.005593621, 0.010388154, 0.002384649, -0.028901778, -0.012289143, 0.0074693765, 0.007986682, 0.013433102, -0.052958556, 0.0098750545, -0.028767195, -0.018370628, -0.02171839, -0.027623236, 0.012743362, 0.0027799876, -0.0010892841, 0.022189433, 0.0061824233, 0.012970472, -0.017193025, 0.00048523612, 0.009866643, 0.007107684, 0.016629457, -0.009513361, -0.035900112, -0.020540785, -0.00066450535, -0.0013500394, 0.03369631, 0.039197404, -0.0281111, 0.03509261, -0.024897922, 0.015821956, 0.015796723, -0.004441251, -0.01848839, -0.0027652676, 0.001964076, 0.0072843246, -0.021415578, -0.00057040213, 0.006342241, 0.0017033207, -0.0062370976, 0.016444406, 0.0021785682, -0.0072675017, 0.029288705, 0.040274072, 0.03144204, -0.0002328923, -0.028161569, -0.0016150004, 0.010733023, 0.021617454, 0.020305265, 0.023821255, -0.008491369, 0.037750635, -0.020406203, 0.016511697, 0.057332512, 0.011178831, -0.025520371, -0.022441776, 0.01180969, 0.022795057, -0.020423025, -0.011961097, 0.02822886, 0.013407867, 0.01917813, 0.022021202, -0.052050117, -0.023972662, -0.018908963, 0.018034171, 0.054371677, 0.01998563, -0.0034234643, -0.025755892, 0.01889214, 0.003320424, 0.013584509, 0.0034486987, -0.029793393, 0.0123396125, 0.01405555, -0.01969964, 0.0015550688, -0.026798913, -0.0053412775, -0.019312713, 0.000037818714, -0.00038587573, -0.0048197666, -0.015746254, 0.010337684, 0.019918337, -0.007856304, 0.01808464, 0.01693227, 0.020423025, 0.0050721103, 0.033797245, -0.029524226, -0.024292298, -0.034015946, -0.0068301056, -0.004971173, -0.032350477, -0.0033750983, 0.0047777095, 0.012390081, -0.012692894, 0.008196968, -0.030920528, 0.0018326469, -0.02989433, 0.0040311925, 0.04848366, -0.00115237, 0.020574432, 0.0056651183, -0.013239639, -0.01832016, -0.020355733, -0.025419433, -0.011641461, 0.032333653, -0.016292999, 0.006842723, 0.016629457, 0.02471287, 0.010733023, 0.00008930605, -0.0049333214, 0.032182246, 0.0061656004, -0.010051695, 0.018404275, 0.017714536, -0.040173136, 0.014509769, -0.015636904, 0.009059142, 0.002958731, 0.007789012, 0.007894156, -0.0018578813, -0.013424691, -0.044311572, -0.006577762, -0.00055357924, 0.010447034, -0.0013605537, 0.00072233414, -0.010531148, -0.013811618, 0.017765004, -0.012777008, 0.020372557, 0.031896256, 0.0053202487, 0.022256725, 0.009723648, 0.012659248, 0.019077191, 0.0060688686, -0.0066913166, -0.01157417, 0.021583807, 0.004554806, -0.012036799, -0.000023607947, 0.005597827, -0.0157799, 0.0036989397, 0.028312976, 0.027909225, -0.01884167, 0.002182774, 0.03744782, 0.005799702, 0.05719793, -0.012692894, 0.00045053885, -0.012877946, -0.004268816, -0.015939716, 0.016503286, 0.018774379, -0.0046683606, -0.0014352055, 0.023232453, 0.0065861735, -0.012062034, 0.023653027, 0.013155524, 0.035395425, 0.011220888, -0.0025633925, 0.009538596, -0.0015834573, 0.011162008, 0.0028556907, -0.021987557, -0.06843564, -0.005955314, -0.050031364, 0.04054324, -0.0083820205, -0.0013700166, -0.014265836, 0.060125116, -0.0031606061, -0.007309559, -0.03704407, 0.028884955, 0.0048239725, 0.022088494, -0.031122403, -0.025991412, 0.026967142, -0.027572766, -0.01043021, -0.022895996, -0.027505474, 0.026630683, -0.020120213, -0.010169456, 0.023114692, -0.00904232, 0.0026138613, -0.021415578, -0.0069899233, -0.0076460172, 0.022727765, -0.03795251, -0.005576798, 0.018656619, -0.02459511, -0.007246473, 0.009033908, -0.0073516164, -0.0005504249, 0.0029103654, 0.019834224, -0.0232661, -0.0038924033, -0.0073600276, -0.051747303, -0.010960133, 0.01917813, 0.022727765, -0.013004118, -0.009740471, 0.0028262506, 0.010943309, -0.006342241, 0.028144745, 0.00047629894, 0.0012732848, -0.018185576, 0.0008011916, -0.006556733, 0.0025465696, 0.030281257, 0.00636327, 0.0024161919, -0.04522001, 0.023568911, 0.00032673267, 0.035395425, 0.013744326, 0.0012627705, 0.01422378, -0.004483308, 0.019598702, 0.0042814333, 0.007061421, -0.008541838, -0.010236748, -0.006401121, 0.023636203, -0.020540785, -0.015249978, -0.038692717, 0.009008674, 0.03087006, 0.0062286863, 0.004083764, 0.036101986, 0.052117407, -0.010884429, -0.028312976, 0.004453868, 0.024897922, -0.032653287, -0.0022500656, 0.009017086, 0.0004387102, 0.028026985, -0.010842373, 0.016705161, -0.01572102, 0.014080784, 0.015729431, 0.004270919, -0.039264698, 0.0048029437, 0.020692192, 0.009008674, -0.023770787, 0.00010612897, 0.0014078681, 0.023653027, 0.007902567, 0.003867169, 0.00013865766, 0.002681153, -0.01786594, -0.01215456, 0.009597477, 0.012692894, -0.0059931655, -0.005391746, 0.0027757818, -0.0011807587, -0.01134706, -0.02666433, 0.02361938, -0.018118285, 0.014047138, -0.009488127, 0.0021470252, -0.0012354333, 0.036303863, -0.02119688, 0.01583878, 0.039567508, 0.014762113, -0.022492245, -0.009698413, -0.023922194, -0.027455006, -0.023686672, -0.019800577, -0.025066152, -0.007982476, -0.0460948, 0.010068518, -0.033679485, 0.009176903, -0.008890914, 0.0036526767, 0.0115237, 0.002618067 ]
2310.12397
4
In this paper, we set out to systematically investigate effectiveness of iterative prompting in the context of Graph Coloring, a canonical NP-complete reasoning problem. We chose graph coloring as it is representative both of standard classes of reasoning problems studied in AI–propositional satisfiability and constraint satisfaction–and practical problems like scheduling and allocation. Our methodology involves a principled empirical study of the performance of GPT4 on two tasks: solving a large suite of random graph coloring instances and, separately, verifying the correctness of the candidate colorings–both in direct and iterative modes. In iterative modes, we experiment both with an LLM critiquing LLM-produced solutions and an external, guaranteed correct reasoner verifying solutions. In both cases, we analyze whether the content of criticisms actually affects bottom line performance. Our results indicate that in direct mode, LLMs are, perhaps not surprisingly, pretty bad at solving graph coloring instances. More interestingly, as we suspected, they are no better at verifying solutions. In iterative modes, given the inability of LLMs to verify solutions, it should come as no surprise that our experiments show that the strategy of LLMs self-critiquing their solutions does not improve over the baseline. It is actually worse because the system can’t recognize a correct coloring and thus merrily passes over fortuitously correct colorings it has generated, ending up with a wrong one!
2310.12397#4
GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems
There has been considerable divergence of opinion on the reasoning abilities of Large Language Models (LLMs). While the initial optimism that reasoning might emerge automatically with scale has been tempered thanks to a slew of counterexamples, a wide spread belief in their iterative self-critique capabilities persists. In this paper, we set out to systematically investigate the effectiveness of iterative prompting of LLMs in the context of Graph Coloring, a canonical NP-complete reasoning problem that is related to propositional satisfiability as well as practical problems like scheduling and allocation. We present a principled empirical study of the performance of GPT4 in solving graph coloring instances or verifying the correctness of candidate colorings. In iterative modes, we experiment with the model critiquing its own answers and an external correct reasoner verifying proposed solutions. In both cases, we analyze whether the content of the criticisms actually affects bottom line performance. The study seems to indicate that (i) LLMs are bad at solving graph coloring instances (ii) they are no better at verifying a solution--and thus are not effective in iterative modes with LLMs critiquing LLM-generated solutions (iii) the correctness and content of the criticisms--whether by LLMs or external solvers--seems largely irrelevant to the performance of iterative prompting. We show that the observed increase in effectiveness is largely due to the correct solution being fortuitously present in the top-k completions of the prompt (and being recognized as such by an external verifier). Our results thus call into question claims about the self-critiquing capabilities of state of the art LLMs.
http://arxiv.org/pdf/2310.12397
Kaya Stechly, Matthew Marquez, Subbarao Kambhampati
cs.AI
18 pages, 3 figures
null
cs.AI
20231019
20231019
[ { "id": "2206.10498" }, { "id": "2306.03872" }, { "id": "2303.11366" } ]
{ "authors": "Kaya Stechly, Matthew Marquez, Subbarao Kambhampati", "chunk_id": 4, "doc_id": "2310.12397", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12397", "summary": "There has been considerable divergence of opinion on the reasoning abilities\nof Large Language Models (LLMs). While the initial optimism that reasoning\nmight emerge automatically with scale has been tempered thanks to a slew of\ncounterexamples, a wide spread belief in their iterative self-critique\ncapabilities persists. In this paper, we set out to systematically investigate\nthe effectiveness of iterative prompting of LLMs in the context of Graph\nColoring, a canonical NP-complete reasoning problem that is related to\npropositional satisfiability as well as practical problems like scheduling and\nallocation. We present a principled empirical study of the performance of GPT4\nin solving graph coloring instances or verifying the correctness of candidate\ncolorings. In iterative modes, we experiment with the model critiquing its own\nanswers and an external correct reasoner verifying proposed solutions. In both\ncases, we analyze whether the content of the criticisms actually affects bottom\nline performance. The study seems to indicate that (i) LLMs are bad at solving\ngraph coloring instances (ii) they are no better at verifying a solution--and\nthus are not effective in iterative modes with LLMs critiquing LLM-generated\nsolutions (iii) the correctness and content of the criticisms--whether by LLMs\nor external solvers--seems largely irrelevant to the performance of iterative\nprompting. We show that the observed increase in effectiveness is largely due\nto the correct solution being fortuitously present in the top-k completions of\nthe prompt (and being recognized as such by an external verifier). Our results\nthus call into question claims about the self-critiquing capabilities of state\nof the art LLMs.", "text": "In this paper, we set out to systematically investigate effectiveness of iterative prompting in the context of Graph Coloring, a canonical NP-complete reasoning problem. We chose graph coloring as it is representative both of standard classes of reasoning problems studied in AI–propositional satisfiability and constraint satisfaction–and practical problems like scheduling and allocation. Our methodology involves a principled empirical study of the performance of GPT4 on two tasks: solving a large suite of random graph coloring instances and, separately, verifying the correctness of the candidate colorings–both in direct and iterative modes. In iterative modes, we experiment both with an LLM critiquing LLM-produced solutions and an external, guaranteed correct reasoner verifying solutions. In both cases, we analyze whether the content of criticisms actually affects bottom line performance.\nOur results indicate that in direct mode, LLMs are, perhaps not surprisingly, pretty bad at solving graph coloring instances. More interestingly, as we suspected, they are no better at verifying solutions. In iterative modes, given the inability of LLMs to verify solutions, it should come as no surprise that our experiments show that the strategy of LLMs self-critiquing their solutions does not improve over the baseline. It is actually worse because the system can’t recognize a correct coloring and thus merrily passes over fortuitously correct colorings it has generated, ending up with a wrong one!", "title": "GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems", "year": 2023 }
[ 0.021427913, 0.00013351238, 0.029616673, -0.016232468, -0.019370833, 0.009685417, 0.05195445, 0.0101865, -0.020438932, 0.061554153, 0.063663974, -0.029352944, -0.055593897, 0.0050734705, 0.031330906, -0.05213906, 0.041036103, -0.0434624, -0.018302735, 0.03758126, 0.06282005, 0.006458043, 0.027612338, 0.04900069, 0.010549126, -0.0072261514, 0.03990207, -0.018012634, 0.00915796, -0.040376782, 0.014201761, -0.0033213266, -0.0977904, -0.032992393, -0.0028927682, 0.04897432, 0.019080732, 0.006982203, -0.0018098345, 0.006708585, -0.0021889438, 0.00849864, -0.030012265, -0.014623727, -0.019608188, 0.047365576, 0.010727143, 0.009118401, 0.011142515, 0.028113421, -0.06957149, 0.073685646, 0.019660935, -0.029748537, -0.039928444, -0.002952107, -0.029484808, -0.00075121317, 0.001588138, -0.01648301, 0.03752852, -0.048367742, 0.0031944073, 0.027216746, -0.05076767, 0.00046852956, -0.017366499, 0.01343695, 0.033572596, 0.014808336, -0.0037713128, 0.022443267, 0.026056342, -0.031541888, -0.017920328, 0.031357277, 0.072367005, 0.025225598, 0.030170502, 0.006293213, 0.023880584, -0.025120107, 0.03626262, -0.036183503, 0.0028762852, -0.008010743, 0.0049547926, -0.028429896, -0.07674489, -0.0773251, -0.00089420326, 0.003669118, -0.009105215, 0.048657846, 0.07795804, 0.033625342, -0.0073777954, 0.013885288, 0.029458435, 0.028640877, -0.041247085, -0.0026471715, 0.008056895, -0.005027318, 0.03557693, 0.03634174, 0.0135820005, 0.047813915, -0.020016966, -0.040403154, -0.087452255, -0.02543658, -0.08138651, -0.011274379, 0.022192724, -0.058125686, -0.0700462, -0.02103232, 0.04718097, -0.0176566, 0.0068107797, -0.0043778876, 0.015401725, -0.006603094, 0.01006123, -0.005228411, 0.03568242, -0.044860158, 0.055277422, -0.017643414, -0.01372705, -0.0045493105, 0.025673937, -0.016918162, -0.049580894, -0.01072055, -0.06630126, 0.006013002, 0.0065965005, -0.010694177, -0.0122303935, 0.0014060007, -0.03934824, -0.000580202, 0.00012362258, 0.006052561, 0.0036163724, 0.037713125, 0.01325234, 0.040139426, -0.020729033, 0.010628245, 0.018724699, 0.008426115, -0.023115773, -0.039585598, -0.014135829, -0.006151459, -0.009790908, 0.0012708401, -0.006942644, 0.03257043, 0.012434782, -0.01084582, -0.0010854062, 0.03307151, -0.03462751, 0.00017286556, -0.02107188, 0.004944903, 0.009072249, -0.0295903, -0.046126056, 0.02800793, 0.030856194, -0.020030154, -0.03963834, 0.013140256, 0.044807415, 0.0011752386, -0.05264014, 0.04652165, -0.011834801, 0.014478676, -0.012098529, 0.004677878, 0.018909309, -0.017669786, -0.037238415, -0.04338328, 0.008973351, 0.0062404675, 0.042961318, 0.03729116, -0.018566463, -0.017564295, 0.06872756, 0.005010835, -0.0024279472, 0.011412836, 0.0023883882, 0.01512481, 0.015164369, -0.0190148, -0.0038438379, 0.020874083, 0.021928996, -0.027111255, -0.015731385, -0.010489788, 0.048868828, 0.024289364, -0.0035735166, 0.029194707, 0.00055300497, 0.010951311, -0.029300198, 0.008979944, 0.0051723686, 0.040429525, -0.0431723, 0.0016169833, 0.030117756, -0.0059338836, -0.011353497, 0.045545854, 0.019792799, -0.044359077, 0.0046317256, -0.03615713, 0.01512481, -0.0014991297, -0.06324201, -0.0070613213, 0.01648301, -0.053193968, -0.025304716, 0.014913827, 0.009138181, -0.060341004, 0.028825488, -0.011795242, 0.022904791, -0.0567543, -0.016535755, 0.0045822766, -0.036737334, 0.0030312254, -0.022654248, 0.028166167, -0.032992393, -0.02261469, -0.023616856, -0.041247085, -0.048710592, -0.0016713772, 0.043145925, -0.008768961, -0.01714233, -0.01699728, 0.0109776845, 0.027823322, -0.041800912, 0.015428097, 0.002709807, 0.024935497, -0.032016598, 0.03167375, -0.0119600715, -0.0044372263, 0.021045508, 0.01271829, 0.019186223, -0.0111820735, 0.04269759, -0.06086846, 0.00915796, 0.056912538, -0.011274379, 0.040508647, -0.015164369, 0.027823322, 0.062187098, 0.015190742, -0.010997464, -0.0014793501, -0.036315367, -0.020715848, -0.0013606724, 0.025898105, 0.012190834, -0.01923897, 0.047049105, 0.025832172, -0.0122633595, -0.037475772, 0.029854028, 0.005350385, 0.013661118, 0.027770575, 0.010839228, -0.00036221414, -0.046152428, 0.024803633, -0.0033378096, 0.006161349, -0.0031350686, -0.010107381, 0.017063212, 0.044833787, 0.022496011, 0.0255157, 0.0071008806, 0.063083775, -0.015599521, -0.033177003, 0.062398084, -0.022772927, 0.0055877403, -0.0046185395, -0.028350778, -0.05029296, 0.048947945, 0.028614504, 0.0025598113, 0.0003356353, -0.003115289, 0.008056895, 0.018830191, -0.008742589, -0.02294435, -0.008979944, -0.011498548, 0.048578728, 0.012830375, -0.00025177796, -0.030275993, 0.011366684, -0.007529439, -0.024579464, -0.090353265, 0.007786574, -0.013390797, -0.01615335, -0.030144129, 0.02573987, -0.010133754, 0.031225413, 0.0561741, 0.040508647, 0.0023999263, -0.032016598, 0.014874268, 0.0031894625, -0.011241413, 0.01106999, -0.035629675, -0.011254599, -0.028930979, 0.028904606, -0.008650283, 0.010232653, -0.025265157, 0.02977491, -0.04412172, 0.042829454, -0.05066218, -0.0068371524, 0.023379501, 0.013832542, 0.01846097, 0.009303011, 0.011346904, -0.0059108073, -0.071048364, 0.013298492, 0.0058020195, -0.0042427266, -0.025884919, 0.047444697, -0.060604732, -0.05290387, 0.026227765, -0.009527179, 0.013456729, -0.0033196781, 0.006797593, -0.023511365, -0.07859099, 0.015111623, 0.020109272, -0.018856563, -0.0023290494, -0.017669786, 0.06429692, 0.034152795, -0.031119922, 0.062345337, 0.07801079, 0.045941446, -0.015836876, 0.004572387, -0.03847794, 0.022825671, -0.011373277, 0.02646512, 0.023893772, 0.029827654, 0.023247637, -0.008683249, 0.014966573, -0.022812486, -0.004677878, 0.0049086404, 0.008109641, -0.057914704, 0.04188003, 0.016417079, 0.014307252, 0.072367005, 0.0038075752, -0.011023837, 0.028614504, -0.039295495, 0.041247085, 0.019357646, -0.0025680528, -0.03191111, 0.006599797, -0.065668315, -0.0019318088, 0.09684098, 0.026372816, 0.014386371, -0.00076975656, -0.013113882, 0.016614875, -0.012856748, -0.018144498, -0.03963834, -0.010107381, -0.011795242, -0.018711513, 0.0023092697, -0.021137811, 0.0043053622, -0.0380296, -0.028878232, 0.016839042, -0.029616673, -0.010654618, -0.04222288, 0.05580488, 0.03494398, 0.00816898, -0.017933514, 0.045387615, -0.017353313, -0.002612557, -0.038557056, -0.0041438285, 0.0057360874, -0.018012634, 0.019753238, -0.000018504754, 0.052745633, -0.03148914, 0.0017076398, 0.0025334386, -0.008050302, 0.009098621, -0.0027839805, 0.02977491, -0.035893403, -0.040218543, 0.026992576, 0.019924663, -0.018302735, -0.02224547, -0.031330906, -0.008004149, 0.005548181, 0.070784636, -0.0010887028, 0.03465388, 0.060921203, -0.0135820005, -0.0028350777, -0.03866255, 0.026768409, -0.024236618, -0.04401623, -0.011623818, -0.014465489, 0.018197242, 0.013133662, 0.007918438, -0.002662006, 0.016812671, 0.0038207618, -0.007331643, 0.017115958, -0.03623625, -0.001752144, 0.0142940665, 0.03652635, 0.05506644, -0.009309604, 0.045387615, 0.0018757666, -0.0074503203, 0.022654248, 0.02679478, -0.015190742, -0.017392872, 0.0006861053, -0.019041173, 0.027216746, -0.020504864, 0.020056527, -0.012546867, -0.03953285, -0.026003597, -0.009164553, 0.011465582, -0.011623818, -0.026082715, -0.06361123, -0.03462751, -0.02742773, 0.0031400134, -0.00018821537, -0.027823322, -0.016654434, -0.073369175, -0.0017471991, -0.025898105, -0.0048493017, -0.042091016, -0.04929079, 0.005274563, -0.020267509, -0.018091751, 0.03708018, -0.021889437, 0.008986537, 0.031436395, -0.03510222, 0.02463221, 0.053985152, 0.047708422, -0.038451567, -0.023986075, -0.02107188, 0.01541491, -0.023036655, -0.014373184, -0.01699728, -0.018118124, -0.006669026, 0.0068701184, 0.0162984, -0.005567961, -0.031858362, -0.0070217624, 0.023630043, 0.033282492, 0.0037548298, 0.0035899996, 0.012909493, -0.0130083915, 0.0031795725, 0.01780165, -0.05823118, 0.05293024, -0.03726479, -0.012678731, 0.004463599, 0.02374872, -0.0011966665, -0.023577297, -0.040851492, -0.00833381, 0.01461054, -0.02790244, -0.0055547743, -0.023326756, -0.012724884, -0.013021578, 0.012810595, -0.052745633, -0.027374983, 0.00901291, -0.019779611, -0.025251972, -0.0020471897, 0.0063855182, 0.010753516, -0.024328923, 0.012309512, 0.0063888147, 0.01952907, 0.020834524, -0.010219466, 0.0010194741, 0.036025267, -0.014135829, 0.018803818, 0.02014883, 0.001987851, 0.016812671, -0.035075843, 0.020663101, 0.0061119, -0.03913726, 0.0041965744, 0.003346051, -0.0006094593, 0.04625792, -0.014650099, 0.009870026, 0.028218914, 0.0045592007, -0.01545447, 0.024948684, 0.0027477178, 0.011590852, -0.020992761, 0.006088824, -0.011597446, -0.016720366, -0.008861266, 0.02664973, 0.011676564, 0.009045876, -0.015190742, 0.0055218083, -0.001577424, 0.012177648, -0.00046852956, 0.034495644, 0.029959518, -0.05828392, -0.03818784, -0.0035636267, -0.022047674, -0.0061745355, 0.0022334477, -0.007977777, -0.013885288, -0.03594615, -0.042275622, 0.008953571, 0.010041449, 0.022772927, 0.009573332, -0.012072156, 0.0027806838, -0.011366684, 0.011557886, -0.03784499, -0.06303103, 0.012678731, 0.011280972, 0.011861174, 0.012072156, -0.0006659136, 0.028245285, 0.011346904, -0.006161349, -0.023854211, -0.002848264, 0.0078986585, -0.010179907, -0.034706626, 0.0034119831, -0.030196873, -0.036025267, -0.015507216, -0.016746739, -0.047708422, 0.00714044, -0.045123886, -0.035893403, 0.027717829, -0.007239338, 0.010291992, -0.0010590334, 0.005109733, -0.018197242, -0.020834524, 0.017221449, 0.0016285214, -0.012250173, -0.038557056, 0.015164369, -0.012955646, 0.042644843, -0.055752132, -0.04298769, 0.0034581355, 0.012724884, 0.019449951, -0.0074701, -0.009487621, -0.033493478, -0.022733368, 0.03351985, 0.036183503, -0.0056932317, 0.00020232894, 0.012401816, -0.00458887, 0.028904606, -0.022680622, 0.01633796, 0.0147687765, 0.010779888, 0.014135829, -0.0034152796, -0.055435658, 0.0109776845, -0.016707178, -0.030592466, -0.01240841, -0.008241505, -0.036394484, 0.023181705, 0.010509567, 0.001078813, 0.012540274, 0.0148347085, 0.032253955, -0.020399373, 0.00047883144, 0.016047858, -0.012705104, 0.0020883973, -0.0030048527, 0.0022317995, -0.019845543, -0.008393149, -0.0043185484, -0.0140567105, 0.007015169, 0.020992761, 0.0046086498, -0.01119526, -0.016944535, -0.0053701648, 0.011168888, 0.011656784, -0.0069228644, -0.013621559, 0.01170953, 0.009639264, 0.01714233, -0.028535387, -0.02088727, -0.011940292, -0.02463221, -0.01666762, -0.010127162, -0.027322236, 0.029906774, 0.003346051, 0.014228134, -0.031410024, 0.010746922, 0.00059050386, -0.011663378, 0.0072261514, 0.049818248, 0.0015559961, 0.013898474, -0.01238863, 0.020201577, -0.039295495, 0.016839042, 0.0153753515, -0.0057426807, -0.008004149, -0.020030154, -0.005033911, -0.00969201, 0.024698142, -0.01372705, 0.039664716, 0.0020570797, -0.032016598, -0.050029233, -0.007529439, -0.011538107, -0.013529254, -0.010305177, 0.0034350592, -0.008544792, -0.1135086, 0.0147687765, 0.022430079, 0.013410577, 0.022179538, -0.0065305685, 0.029827654, 0.004625133, 0.023630043, -0.013054544, -0.0147687765, -0.016311586, -0.0031400134, 0.0077140485, 0.018381853, -0.040666882, -0.0062734336, -0.02257513, 0.020465305, -0.0037416432, -0.0049910555, 0.0069887964, -0.010608465, -0.0034449492, -0.00014010558, 0.0016466527, -0.013239154, 0.014425931, -0.01934446, 0.005419614, -0.015652265, -0.0128040025, 0.029484808, 0.04797215, -0.017617041, 0.011208447, 0.0024147609, -0.009540366, -0.023616856, 0.0068239663, 0.011254599, -0.0075162523, 0.019436765, -0.006942644, 0.017485177, -0.03660547, 0.018935682, -0.019911475, 0.01545447, -0.014847895, -0.039506476, 0.027295865, 0.00697561, -0.029959518, 0.0029043064, 0.021269675, 0.022443267, -0.008188759, -0.033203375, 0.005291046, -0.049765505, -0.017063212, 0.02275974, 0.022970723, -0.040139426, -0.026412375, -0.01002167, 0.010252432, -0.017063212, -0.03388907, 0.007661303, 0.0055086217, -0.019252155, 0.048868828, -0.00041392958, -0.015203929, 0.0021263084, 0.031594634, -0.019423578, 0.06730343, -0.0033031951, 0.006685509, 0.008419521, 0.04222288, 0.029827654, -0.0051163263, 0.01619291, -0.022350961, -0.027084881, 0.038372446, 0.0056371894, -0.001418363, -0.009850247, 0.00024621497, 0.0025861843, 0.008294251, 0.014992946, -0.0034647286, 0.021665268, 0.014439116, -0.0127710365, 0.047708422, -0.012131495, -0.059971783, 0.0076415236, 0.016100604, 0.0153094195, -0.0073580155, -0.0064316704, -0.011096362, 0.009606298, -0.01479515, 0.0049152337, -0.011327124, -0.0064052977, 0.023986075, 0.019173037, -0.023537738, 0.06134317, -0.016812671, 0.039005395, 0.010727143, -0.0730527, -0.0057525705, -0.017379686, -0.0140567105, -0.0016623115, 0.019397207, -0.019608188, 0.025911292, 0.0058943243, 0.022232283, 0.012540274, 0.0260959, -0.017155517, -0.017247822, 0.008023929, 0.022087233, -0.027849693, -0.004199871, -0.003083971, 0.0075096595, 0.02848264, -0.01323256, -0.024381667, -0.00917774, 0.027849693, -0.045018397, 0.00610201, 0.019001614, 0.021309236, -0.017762091, 0.020940015, 0.028878232, -0.025370648, 0.014808336, 0.009448062, -0.012540274, 0.020676287, 0.0069360505, 0.017709346, 0.0101667205, -0.03439015, -0.024052007, -0.002431244, -0.013964406, 0.014267693, -0.003586703, 0.008551385, 0.02393333, -0.058653142, -0.0274541, 0.007114067, 0.027955186, 0.017247822, 0.033018764, 0.022008115, 0.023234451, 0.0029669418, 0.042354744, -0.030381484, 0.037502144, -0.01923897, 0.027585965, 0.038847156, -0.054328002, 0.013555627, 0.00012310749, 0.015705012, 0.021559777, 0.017643414, 0.022443267, 0.028772742, 0.0010713956, 0.032016598, -0.029352944, 0.016034672, 0.043515146, 0.024144312, -0.02613546, -0.039717462, 0.041616302, -0.007041542, -0.006850339, 0.00034284662, 0.01189414, 0.012949052, -0.03652635, -0.0431723, 0.016562128, -0.015520402, 0.012184241, -0.035998892, 0.03800323, 0.021282863, 0.021427913, -0.0075162523, -0.0032422082, 0.0031746277, 0.023115773, -0.01835548, -0.044728294, -0.0353132, 0.035867028, -0.00033233868, -0.0021296048, 0.014702844, 0.004961386, 0.000019959894, -0.0038636175, 0.03568242, -0.0069360505, -0.017063212, -0.018474158, -0.0107403295, 0.014439116, -0.013713865, -0.018487344, -0.008360183, 0.024183871, 0.02510692, -0.008234912, -0.006609687, 0.021783946, 0.023511365, -0.030328738, 0.008511826, 0.007786574, -0.037001062, -0.008037115, -0.03156826, 0.021863064, 0.023682788, -0.049660012, 0.012421596, -0.022337776, 0.012955646, 0.026781594, 0.023550924, 0.018882936, -0.024328923, 0.00646134, -0.01341717, -0.04185366, -0.0074503203, 0.006942644, -0.0153094195, -0.023616856, 0.0024510236, -0.007951404, -0.040825117, 0.0011653488, 0.010872194, 0.023564111, -0.039453734, -0.009349164, -0.026412375, -0.013338052, 0.008320623, -0.027164001, -0.03963834, 0.023801466, -0.031831987, 0.045018397, 0.0109117525, 0.0011917216, -0.021507032, -0.040614136, -0.019990595, 0.022087233, 0.044227213, 0.017933514, -0.006916271, -0.000569488, 0.02239052, -0.025251972, 0.019067546, -0.00492842, -0.006154756, -0.00866347, 0.027137628, 0.030302366, 0.006164646, -0.015810503, 0.021652082, 0.023959704, -0.006527272, -0.031093549, -0.024830006, 0.007832726, 0.006537162, 0.0015996761, -0.021098252, -0.0020570797, 0.023577297, 0.0035636267, -0.0030905644, -0.04681175, -0.0057690535, -0.019436765, 0.0031663862, -0.000009329641, 0.005162479, -0.013146848, -0.018896123, -0.020689474, -0.010470008, -0.0048493017, -0.013542441, -0.00357022, -0.011043617, 0.03708018, -0.013054544, -0.020953203, 0.010951311, -0.016509382, -0.019186223, -0.0043548113, 0.015612707, -0.022100419, 0.048394118, 0.029643046, -0.00663606, -0.0125007145, -0.0006502547, -0.0020405967, -0.0021708123, -0.025317904, -0.018526902, 0.01055572, 0.06798912, 0.010311771, -0.020992761, 0.024421228, 0.003270229, 0.04607331, 0.018882936, 0.01541491, 0.0045987596, 0.000007430232, -0.016759925, 0.015718197, 0.0074832863, 0.004315252, -0.011056803, 0.0042592096, -0.03578791, 0.030486975, 0.020280695, -0.0065173823, 0.0025103623, 0.026306884, -0.016034672, 0.011775462, 0.011861174, 0.022496011, 0.039664716, 0.012375444, -0.0012527087, -0.015151183, 0.026386002, -0.006632763, -0.039084513, 0.030935314, -0.021797132, 0.016535755, -0.004272396, 0.032359444, 0.00013649992, -0.011320531, 0.025753055, -0.002119715, -0.01909392, 0.0030081493, 0.0041207527, 0.019977408, 0.017748905, 0.011175481, 0.0076019643, 0.004803149, -0.0064844163, -0.033651713, 0.012949052, 0.010094196, -0.010489788, -0.024684956, -0.009032689, 0.027190372, 0.03568242, 0.0064184843, -0.05293024, 0.028772742, 0.010324958, 0.02349818, -0.020109272, -0.03594615, 0.004008668, 0.0028779334, -0.05591037, -0.021190558, 0.005060284, -0.0064184843, -0.0068371524, 0.00423943, -0.010621652, -0.005755867, 0.0057591638, 0.0268739, 0.030407857, -0.00071495055, 0.017748905, -0.022271844, -0.034785744, -0.065668315, -0.014874268, 0.027559593, 0.037317533, 0.003148255, -0.032438565, 0.0061151967, -0.0014529773, 0.0153753515, 0.029010097, 0.021678455, -0.017274193, -0.020346627, -0.008162387, 0.022878418, 0.0047438103, 0.018249989, -0.0019318088, -0.0037844991, 0.0062503573, -0.006553645, -0.023379501, 0.0033955001, -0.04137895, -0.0073448294, 0.003214187, 0.024170686, 0.014663286, -0.0006003936, -0.014188575, -0.0011365035, -0.010100788, 0.03953285, 0.004846005, -0.003138365, -0.03196385, -0.023550924, 0.0093887225, -0.011656784, 0.0006605566, 0.013687491, 0.024038821, 0.04090424, 0.005881138, -0.012810595, 0.016087418, -0.0018329107, -0.04515026, -0.011716124, 0.0005509446, 0.026662916, 0.0135820005, 0.0054295035, -0.0025762944, 0.0038833972, -0.01106999, -0.0077997604, -0.010990871, 0.036025267, -0.009573332, -0.015586334, 0.00048707295, 0.028614504, 0.030223247, -0.010160128, 0.0015428098, 0.03241219, -0.03125179, 0.031067178, -0.003072433, 0.034047306, -0.013529254, 0.015388538, -0.0026900272, -0.0088480795, 0.018104939, 0.015705012, -0.011155701, 0.0069228644, -0.010146941, 0.000078294295, 0.03175287, 0.009935958, -0.0103711095, 0.009105215, 0.027111255, -0.025924478, 0.0084063355, 0.008353589, 0.023841025, -0.01780165, -0.017946701, -0.029405689, -0.000119089746, 0.0029768315, -0.0044108536, 0.010318364, -0.0020356518, -0.028324405, 0.027190372, -0.009401909, -0.01662806, -0.03035511, -0.013924846, -0.009467841, -0.015019319, -0.032939646, 0.008525013, -0.031515516, -0.034548387, -0.0020125755, -0.01971368, 0.0404559, 0.010654618, 0.030460602, 0.02646512, 0.013845729, -0.0022828968, -0.04702273, 0.011445802, -0.004789963, -0.017669786, 0.013351238, 0.034047306, 0.02047849, -0.008999723, -0.017445618, 0.0031202338, -0.015045691, -0.003593296, 0.032517683, -0.014650099, 0.002261469, 0.0122303935, -0.0003564451, -0.016548943, -0.019911475, 0.0019829061, -0.035075843, -0.039506476, 0.0034383559, -0.0009898047, 0.009632671, 0.014333625, 0.001659015, -0.022482825, -0.0030790262, -0.015836876, -0.030460602, -0.0071668127, -0.0021889438, 0.019001614, -0.0035339573, -0.024975056, -0.025383836, -0.01662806, 0.027032137, -0.013173222, 0.0064316704, -0.00057978986, -0.021480659, -0.013713865, 0.021678455, 0.04206464, 0.017682973, 0.000116514275, -0.018104939, 0.039005395, -0.012698511, -0.016931348, -0.013390797, 0.012843561, -0.00967223, 0.013410577, -0.013311679, -0.008386555, 0.023867399, 0.008116234, -0.009652451, -0.052561022, 0.018052192, 0.020214763, -0.0050536906, -0.039295495, 0.02426299, -0.0029043064, -0.008050302, -0.005047098, 0.04636341, -0.015388538, 0.012236986, -0.0046844715, -0.017577482, -0.013911661, 0.005439393, 0.02668929, -0.013674305, 0.048499607, 0.013133662, -0.024645396, -0.013911661, -0.010456822, 0.010291992, -0.01755111, -0.007503066, -0.01652257, -0.034812115, 0.0125007145, -0.008577758, 0.00595696, -0.0021691641, -0.025805801, -0.008208539, -0.011907326, -0.043040436, -0.0062998063, 0.012349071, -0.0567543, 0.013331458, 0.020346627, 0.022746554, 0.032728665, 0.014913827, -0.013977593, 0.035629675, 0.010054636, -0.015902808, 0.011768869, 0.015348978, -0.008142607, -0.001555172, 0.044992022, -0.015348978, -0.022126792, 0.01677311, -0.04728646, 0.014254507, -0.0074832863, 0.021467471, 0.00022561119, -0.029458435, 0.018263174, 0.0075558117, -0.035629675, -0.015507216, 0.032939646, 0.010410669, 0.035207707, -0.008557979, 0.0032982503, 0.015929181, -0.0045690904, 0.008215132, -0.0072788973, -0.01563908, -0.0076415236, 0.011353497, -0.017366499, 0.018434599, -0.011458988, 0.0022763037, -0.020438932, 0.033651713, 0.014636912, 0.0034515422, 0.010601872, 0.045783207, 0.011287565, 0.02397289, -0.014267693, 0.036209878, 0.016654434, -0.002929031, 0.035893403, -0.03494398, -0.044174466, 0.026755221, -0.018197242, -0.02533109, 0.035445064, 0.022548757, 0.005656969, -0.0037779058, -0.01886975, -0.020030154, -0.018052192, -0.038451567, 0.009105215, 0.049185302, 0.027005764, 0.019885102, -0.038082346, 0.004381184, -0.022430079, -0.017485177, -0.010087602, 0.00492842, 0.02621458, -0.050161097, 0.017247822, -0.048315, -0.014254507, 0.012157868, -0.006408594, -0.00798437, -0.0016252248 ]
2310.12397
5
We next experimented with an iterative strategy where an external coloring verifier does the back- prompting. Here we looked at three different types of back prompting: (1) the verifier just asks the LLM to try again when the coloring is incorrect, (2) the verifier gives a backprompt showing the first violated constraint in the current candidate coloring and (3) the verifier sends a backprompt showing all violated coloring constraints. We note that these three strategies do lead to modest improvements in the bottom-line performance–improving from about 16% to nearly 40%. The surprising finding however is that the minimal information "try again" feedback is nearly as effective as the ones with meaningful backprompts. This lead us to consider whether the improvement is due to the type of backprompting (as authors who advocate these types of iterative approaches [20, 19, 15, 10, 4, 11] seem to assume) or because the answer just happens to be in the top-K completions (even if the LLM is itself not cognizant of it). To check this, we experiment with a version of the direct mode where we query the LLM so that it generates more than one potential solution, and have the external verifier pick out any correct solution in the list. The results show that top-k correctness with an external, guaranteed correct verifier is pretty competitive with any iterative backprompting.
2310.12397#5
GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems
There has been considerable divergence of opinion on the reasoning abilities of Large Language Models (LLMs). While the initial optimism that reasoning might emerge automatically with scale has been tempered thanks to a slew of counterexamples, a wide spread belief in their iterative self-critique capabilities persists. In this paper, we set out to systematically investigate the effectiveness of iterative prompting of LLMs in the context of Graph Coloring, a canonical NP-complete reasoning problem that is related to propositional satisfiability as well as practical problems like scheduling and allocation. We present a principled empirical study of the performance of GPT4 in solving graph coloring instances or verifying the correctness of candidate colorings. In iterative modes, we experiment with the model critiquing its own answers and an external correct reasoner verifying proposed solutions. In both cases, we analyze whether the content of the criticisms actually affects bottom line performance. The study seems to indicate that (i) LLMs are bad at solving graph coloring instances (ii) they are no better at verifying a solution--and thus are not effective in iterative modes with LLMs critiquing LLM-generated solutions (iii) the correctness and content of the criticisms--whether by LLMs or external solvers--seems largely irrelevant to the performance of iterative prompting. We show that the observed increase in effectiveness is largely due to the correct solution being fortuitously present in the top-k completions of the prompt (and being recognized as such by an external verifier). Our results thus call into question claims about the self-critiquing capabilities of state of the art LLMs.
http://arxiv.org/pdf/2310.12397
Kaya Stechly, Matthew Marquez, Subbarao Kambhampati
cs.AI
18 pages, 3 figures
null
cs.AI
20231019
20231019
[ { "id": "2206.10498" }, { "id": "2306.03872" }, { "id": "2303.11366" } ]
{ "authors": "Kaya Stechly, Matthew Marquez, Subbarao Kambhampati", "chunk_id": 5, "doc_id": "2310.12397", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12397", "summary": "There has been considerable divergence of opinion on the reasoning abilities\nof Large Language Models (LLMs). While the initial optimism that reasoning\nmight emerge automatically with scale has been tempered thanks to a slew of\ncounterexamples, a wide spread belief in their iterative self-critique\ncapabilities persists. In this paper, we set out to systematically investigate\nthe effectiveness of iterative prompting of LLMs in the context of Graph\nColoring, a canonical NP-complete reasoning problem that is related to\npropositional satisfiability as well as practical problems like scheduling and\nallocation. We present a principled empirical study of the performance of GPT4\nin solving graph coloring instances or verifying the correctness of candidate\ncolorings. In iterative modes, we experiment with the model critiquing its own\nanswers and an external correct reasoner verifying proposed solutions. In both\ncases, we analyze whether the content of the criticisms actually affects bottom\nline performance. The study seems to indicate that (i) LLMs are bad at solving\ngraph coloring instances (ii) they are no better at verifying a solution--and\nthus are not effective in iterative modes with LLMs critiquing LLM-generated\nsolutions (iii) the correctness and content of the criticisms--whether by LLMs\nor external solvers--seems largely irrelevant to the performance of iterative\nprompting. We show that the observed increase in effectiveness is largely due\nto the correct solution being fortuitously present in the top-k completions of\nthe prompt (and being recognized as such by an external verifier). Our results\nthus call into question claims about the self-critiquing capabilities of state\nof the art LLMs.", "text": "We next experimented with an iterative strategy where an external coloring verifier does the back- prompting. Here we looked at three different types of back prompting: (1) the verifier just asks the LLM to try again when the coloring is incorrect, (2) the verifier gives a backprompt showing the first violated constraint in the current candidate coloring and (3) the verifier sends a backprompt showing all violated coloring constraints. We note that these three strategies do lead to modest improvements in the bottom-line performance–improving from about 16% to nearly 40%. The surprising finding however is that the minimal information \"try again\" feedback is nearly as effective as the ones with meaningful backprompts. This lead us to consider whether the improvement is due to the type of backprompting (as authors who advocate these types of iterative approaches [20, 19, 15, 10, 4, 11] seem to assume) or because the answer just happens to be in the top-K completions (even if the LLM is itself not cognizant of it). To check this, we experiment with a version of the direct mode where we query the LLM so that it generates more than one potential solution, and have the external verifier pick out any correct solution in the list. The results show that top-k correctness with an external, guaranteed correct verifier is pretty competitive with any iterative backprompting.", "title": "GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems", "year": 2023 }
[ 0.019332616, 0.015373965, 0.036189277, 0.0031957116, -0.013560182, 0.018871972, 0.055795398, 0.0063734297, 0.010141347, 0.06397182, 0.052167833, -0.001524081, -0.037513625, 0.019188665, 0.009399999, -0.03509525, 0.048108418, -0.04828116, -0.00951516, 0.036160484, -0.007924501, -0.019505357, 0.032993563, 0.0646052, 0.020383459, -0.03359816, 0.00034863126, -0.032763243, 0.021679018, -0.024428481, 0.010566002, -0.019347012, -0.07537273, -0.03679387, 0.008449922, 0.08090045, 0.049317606, 0.0028322355, 0.009241653, -0.0052398155, 0.02008116, -0.004966309, -0.01609372, -0.048540268, 0.020311482, 0.07065114, 0.0152731985, -0.01101225, -0.0120918825, 0.011883154, -0.054730162, 0.08314609, 0.043617148, 0.041630622, -0.023852676, -0.001224483, -0.028415922, -0.04292618, 0.016971821, 0.0043437206, 0.009558345, -0.037312094, -0.03100704, 0.010465236, -0.031525265, -0.007758958, 0.004448085, 0.023679936, 0.06212924, 0.044941496, -0.0109186815, 0.02510505, 0.043789886, -0.020124346, -0.027062783, 0.03106462, 0.06592955, 0.013812096, 0.07974884, 0.003976646, 0.026731696, -0.018396934, 0.030373657, -0.034893718, -0.0012037901, 0.004930321, -0.013365848, 0.018037057, -0.05150566, -0.05306033, -0.00842833, 0.0049411175, -0.0055816993, 0.038780395, 0.06483552, 0.029178863, -0.006603751, -0.04134272, 0.02713476, 0.048050836, -0.014459875, 0.0054809335, 0.0076869824, -0.041745782, 0.039413776, 0.014956507, 0.010162939, 0.017446859, -0.012279019, -0.046640117, -0.040853288, -0.034749765, -0.053664923, -0.015618681, 0.047359873, -0.054845322, -0.06857824, -0.034778558, 0.0027332692, -0.024500456, -0.013675343, 0.00094737735, 0.02716355, 0.0027170747, -0.007816538, -0.01928943, 0.03849249, -0.0513905, 0.013848084, -0.013833689, 0.00045209605, -0.0021880548, 0.031698003, 0.013373046, -0.0411124, 0.006189892, -0.050526794, -0.013013168, -0.030200915, -0.006538973, -0.02807044, -0.018555282, -0.035037667, -0.0025641269, -0.009342418, 0.012473352, 0.005322587, 0.050555583, 0.00063968217, 0.022686673, -0.037542414, 0.024442876, -0.016583152, 0.029236443, -0.062301982, -0.013905664, -0.02786891, 0.0064058183, -0.013516997, 0.02120398, 0.0008830493, 0.018713627, 0.024745174, -0.009738283, 0.00010610762, 0.015489126, -0.025997547, 0.013301071, -0.040018372, 0.0023212095, 0.008673047, 0.009414394, -0.0044300915, -0.009126492, 0.062417142, -0.028847776, -0.019073505, 0.0044732764, -0.0026900838, -0.0032964775, -0.03855007, 0.055046853, 0.04445206, 0.04165941, 0.0033576565, -0.0073990803, 0.012552525, -0.024298925, -0.040392645, -0.033396628, -0.004527258, 0.02352159, 0.055133224, 0.019951606, -0.040565386, -0.04122756, 0.052282996, -0.0066109486, 0.010026186, -0.026011942, -0.026314238, 0.015417149, 0.04165941, -0.049317606, 0.018252984, 0.007071592, -0.009824654, 0.013358651, -0.02733629, -0.023204898, 0.031122202, 0.008032464, 0.0047467835, 0.04269586, -0.015546706, 0.017475648, -0.015359569, 0.00983905, -0.02504747, 0.04255191, 0.009047319, 0.021837363, 0.039010715, -0.02152067, -0.0017094179, 0.07612128, 0.024586827, -0.027465846, 0.011681622, -0.01289081, 0.03411638, -0.026990809, -0.0223124, -0.004448085, 0.031122202, -0.053664923, -0.021794178, 0.019505357, 0.027710563, -0.053895246, 0.04862664, -0.0068412703, 0.011933536, -0.060920052, -0.04007595, 0.02956753, -0.053722505, -0.0021772585, -0.017562019, 0.0264294, -0.0076653897, -0.0072299377, -0.04563246, -0.059422962, -0.05294517, -0.0016095518, 0.02891975, 0.0046784068, -0.03541194, -0.036534756, 0.011170596, 0.01242297, -0.0161513, 0.031237362, -0.023291267, 0.011436905, -0.017806737, 0.012192648, -0.004440888, -0.001946937, -0.02346401, -0.005247013, 0.015906584, 0.009723889, 0.023996629, -0.049835827, 0.027595403, 0.0051606423, -0.0049231234, 0.026774881, -0.022269215, 0.037628785, 0.0019595327, -0.0006855665, 0.023766307, -0.012638896, -0.043415613, 0.008788208, -0.006269065, -0.0040450227, -0.020815311, -0.047446243, 0.04710076, 0.011055435, -0.023593565, -0.008881776, -0.0012631698, 0.0029366, 0.022283612, 0.019606123, 0.019390197, 0.022240426, -0.029034913, 0.037024193, -0.037743945, 0.007147166, 0.013337058, 0.00073235057, -0.031726796, 0.038204588, -0.01553231, 0.032993563, -0.019606123, 0.060804892, -0.015935373, -0.0704784, 0.06500826, -0.02804165, 0.018152218, -0.021621438, -0.014171974, -0.000050860803, 0.025867991, 0.016079323, 0.013488207, -0.004624425, -0.012199845, 0.011947931, 0.018166613, -0.013920059, -0.0352392, -0.0325905, -0.0074278703, -0.008262786, -0.000097954144, -0.010839509, -0.03238897, -0.012725267, 0.0117464, 0.0085147, -0.073011935, 0.031957116, 0.02146309, -0.0029761866, 0.003661753, 0.004005436, 0.0032694866, 0.04102603, 0.06477794, 0.040968448, -0.00053396815, -0.037599996, 0.045776412, 0.00039609012, 0.032964773, 0.065296166, -0.037139352, -0.012005512, -0.014726185, 0.028588664, 0.0017876911, 0.005552909, 0.0018803596, 0.008529095, -0.021333534, 0.047475033, -0.021419905, -0.03106462, 0.05893353, 0.031841956, -0.006269065, 0.02891975, -0.014164777, 0.057177328, -0.05913506, 0.0074422657, -0.007327105, 0.0072047464, 0.023924652, 0.019332616, -0.031208571, -0.070017755, -0.004851148, 0.00070131116, 0.02346401, 0.022283612, 0.013668145, -0.02134793, -0.096447155, -0.0059379777, -0.018771207, -0.016424807, -0.02431332, -0.040853288, 0.06886615, 0.08798284, -0.038607653, 0.055421125, 0.046438586, 0.037628785, 0.01474058, -0.018109033, -0.032158647, 0.023017762, -0.038089428, 0.0016572357, -0.024745174, 0.011444103, 0.03664992, 0.004782771, 0.03823338, 0.0067117144, 0.013416231, -0.017158957, 0.02804165, -0.041976105, 0.06397182, 0.014632617, 0.034260333, 0.05277243, -0.0064058183, -0.01928943, 0.027235525, -0.02948116, 0.025767226, 0.03569984, -0.022945786, -0.024601223, 0.03975926, -0.06045941, -0.01976447, 0.094950065, 0.02510505, -0.018454514, -0.017821131, -0.024385296, -0.0025011483, 0.005092266, 0.011285757, -0.0713421, -0.0038578862, -0.0072767218, -0.034634605, -0.023147317, -0.012430167, 0.028387133, -0.04738866, -0.01063078, 0.0038075033, -0.021779783, -0.07525757, -0.0076150065, 0.010911484, 0.012178252, -0.01215666, -0.04862664, 0.06708115, -0.038636442, 0.032043487, -0.021448696, -0.0018371744, -0.005088667, 0.009666308, -0.018627256, 0.009234455, 0.048338737, -0.06610229, 0.022154056, 0.040248692, -0.007262327, -0.004484073, -0.00916248, 0.019534148, -0.040219903, -0.04520061, 0.013106736, 0.01403522, -0.021607041, 0.0049411175, -0.029437974, -0.010443644, 0.007902909, 0.024082998, -0.0095367525, 0.037225723, 0.071745165, -0.0066505354, -0.011256967, -0.047676563, 0.0012253827, -0.0147045925, -0.030546397, -0.0059595704, -0.017633995, -0.0031957116, -0.009299234, 0.037312094, -0.008126033, 0.015114852, -0.0011498084, -0.02589678, 0.0066433377, -0.037628785, 0.016439201, 0.030690348, 0.02948116, 0.037312094, 0.0028052446, 0.062474724, 0.039989583, -0.0314101, -0.010184532, 0.019203061, -0.023895862, -0.040306274, 0.0058516073, -0.0041601835, 0.01104104, -0.010616384, 0.02008116, -0.015071668, -0.0220245, -0.0184977, -0.006481393, 0.010875496, -0.032993563, -0.044279322, -0.06443246, -0.024500456, -0.011537671, -0.0033612554, -0.019894024, -0.012365389, -0.00063068524, -0.05925022, 0.008500305, -0.007240734, -0.0044120974, -0.020844102, -0.06633261, 0.014215159, 0.013488207, -0.011465696, 0.02962511, -0.025162632, 0.015100458, 0.038722813, -0.007845328, 0.016252065, 0.026746092, 0.025767226, -0.044768754, -0.033281468, -0.016496781, 0.0016878252, -0.025738435, -0.02278744, -0.0014835948, -0.00854349, -0.0073774876, 0.004455283, 0.0123006115, 0.017504439, -0.026587745, -0.017562019, -0.004530857, 0.03198591, 0.030460026, 0.0028142417, 0.053751294, -0.0059847618, -0.01474058, 0.009889432, -0.027005203, 0.028732615, -0.038607653, 0.025162632, 0.0040414236, 0.01691424, 0.015589891, -0.020858496, -0.028329553, -0.017777946, 0.029970594, -0.017230932, -0.0053837667, -0.011149003, 0.005376569, -0.036160484, 0.01104104, -0.008190811, -0.026141498, -0.004340122, 0.023622354, -0.019490963, 0.03074793, -0.024054209, -0.02061378, -0.0015618681, -0.0084859105, 0.012646093, 0.029740272, 0.04312771, -0.015172433, 0.02208208, 0.031957116, -0.009903828, 0.0046028327, 0.025421742, -0.0023266077, 0.0027134758, -0.018915158, -0.01065957, 0.01838254, -0.03092067, -0.012084684, -0.0021088817, 0.01327228, 0.02719234, -0.005981163, -0.003438629, 0.025594484, 0.022427563, 0.00516784, 0.017921897, -0.020282693, 0.0074926484, -0.03688024, 0.006413016, -0.005214624, -0.044912703, -0.01441669, 0.015431545, 0.027969675, 0.009918222, 0.0053981617, 0.010191729, 0.011213781, 0.007881316, -0.005826416, 0.0059091877, -0.003937059, -0.03279203, -0.023060946, -0.0037283304, -0.014308727, 0.017173352, 0.0037283304, -0.022154056, -0.019606123, -0.05153445, -0.044768754, 0.040191114, 0.0070464006, 0.031899538, -0.0031669214, -0.022629093, 0.02478836, -0.010796323, -0.003109341, -0.016669523, -0.02199571, -0.010270902, -0.030603977, -0.018137824, 0.026789278, -0.009774271, 0.024169369, 0.012142265, -0.014143184, -0.034231544, 0.0062150834, 0.018612862, 0.0020746936, -0.032763243, -0.004534456, -0.039154667, -0.028559875, -0.024471667, -0.022283612, -0.027581008, -0.005121056, -0.058444098, -0.034231544, -0.005855206, 0.008392342, 0.019706888, -0.010486829, 0.0076078093, -0.009479172, -0.012761254, -0.011717609, 0.042062476, -0.020484224, -0.0069312397, 0.0037607192, -0.009457579, 0.031669214, -0.024154974, -0.019807655, 0.013308268, -0.0043005357, 0.020225113, -0.016539967, -0.013869677, -0.044826336, -0.008500305, 0.04122756, 0.050238892, -0.017806737, 0.00019377151, 0.011149003, -0.03682266, 0.00039249135, -0.017202143, 0.008781009, -0.00983905, -0.015301988, -0.0020674958, -0.035124037, -0.039586518, -0.00053936633, -0.020066766, -0.008622663, -0.0041277944, 0.030258495, -0.013660948, 0.017418068, 0.017907502, 0.009241653, -0.016698314, 0.0057508415, 0.00922006, -0.025608879, -0.0220245, 0.033454206, -0.040479016, 0.007334302, 0.0064022196, -0.0038902753, 0.0056392797, -0.03238897, 0.010767533, 0.0014665006, 0.03555589, 0.021333534, -0.0062618675, -0.009378406, -0.029740272, -0.0045236596, 0.0022474346, 0.014236752, -0.017605204, 0.00031691708, 0.025306582, -0.01691424, 0.027293105, -0.03716814, -0.020397853, 0.03233139, 0.0024885526, 0.010753138, -0.022916995, -0.015920978, 0.0141935665, 0.0100477785, -0.003411638, -0.037456043, 0.02296018, 0.0033846474, 0.0190879, -0.0064849914, 0.058415305, 0.004322128, 0.017720366, -0.0029725877, 0.007895711, -0.00502029, -0.019217456, 0.006351837, -0.017749155, 0.007247932, -0.006290658, -0.011544868, -0.0042969366, 0.025767226, 0.0029473964, 0.036333226, -0.0074134753, -0.028890962, -0.031611636, -0.03814701, -0.027350686, -0.019807655, 0.0016239469, 0.02657335, -0.014690197, -0.106926784, 0.0009599731, 0.027581008, 0.0030499613, 0.0070823883, 0.00087720127, 0.025320977, -0.007435068, -0.01104104, -0.0020135143, -0.012307809, 0.016324041, 0.0011444102, -0.027422661, 0.00719395, -0.037916686, -0.014927716, -0.018799998, 0.03198591, -0.024601223, -0.010637977, -0.008745022, -0.030978251, -0.03567105, -0.011256967, -0.041860946, -0.027998466, 0.008442725, -0.01688545, 0.0071903514, 0.0114297075, 0.0135313915, 0.040335063, 0.014589432, 0.017835526, -0.02575283, -0.010112557, -0.04122756, -0.014927716, -0.0143879, -7.696598e-7, -0.0088098, 0.01714456, -0.039298616, 0.0040954053, -0.030517608, 0.018656047, 0.0041745785, 0.031266153, -0.030517608, -0.019131085, 0.016640734, 0.0035753823, -0.029538741, 0.0049411175, 0.030460026, 0.016928636, -0.004084609, -0.02804165, 0.030344866, -0.02428453, -0.034951296, 0.030402446, -0.0074422657, -0.01753323, -0.02513384, -0.016669523, 0.036505967, 0.011026645, -0.013927257, -0.0010058575, 0.009853444, -0.024471667, 0.04445206, -0.007557426, 0.009925419, 0.0069492334, 0.016021743, -0.018871972, 0.04413537, 0.016669523, 0.014999691, 0.016122509, 0.038809184, -0.000110718545, -0.028588664, 0.0059739654, -0.0372833, -0.033742107, 0.028934147, -0.0018515694, -0.007967686, -0.028401528, -0.0016608344, -0.0070967833, 0.007535834, -0.0036923427, 0.0010256508, 0.036304437, 0.011868758, 0.028228786, 0.03250413, -0.012696477, -0.046438586, 0.005711255, -0.00030612075, -0.00678369, 0.002853828, 0.011134608, 0.009774271, 0.026760487, 0.007744563, 0.017331697, 0.030373657, 0.0059595704, 0.0314101, 0.024730777, -0.008126033, 0.06610229, -0.0287758, 0.043271665, 0.01629525, -0.055507496, -0.02131914, -0.010220519, -0.011170596, -0.009860642, 0.016194485, -0.0190879, 0.011314547, 0.009615925, 0.04266707, 0.018987134, -0.0028520287, -0.0067548994, -0.008932158, -0.019505357, 0.0205562, -0.027998466, 0.047993258, -0.007543031, 0.00837075, 0.028430318, -0.02510505, -0.009227257, -0.008644256, 0.026976414, -0.036016535, -0.00083401595, 0.021851758, 0.030834299, 0.009047319, 0.0034818142, 0.023291267, -0.013286675, 0.01033568, 0.024644407, -0.0040774113, 0.033425417, 0.00490513, 0.032129858, 0.0066181463, -0.01911669, -0.02120398, -0.016511178, -0.0013612364, 0.009450382, 0.0031741192, -0.01618009, 0.058472887, -0.023895862, -0.041947316, 0.029366, -0.0014413091, 0.03382848, 0.038636442, 0.012933996, 0.021880548, 0.043473195, 0.037657578, -0.032878403, 0.029913014, -0.023723122, 0.016309645, 0.0148845315, -0.023003366, 0.009601531, 0.0036833456, 0.012667686, 0.019778864, 0.05006615, 0.011717609, 0.036074113, 0.0035951757, 0.027307501, -0.01818101, 0.013380243, 0.02651577, 0.0072515304, -0.013113934, -0.067887284, 0.023291267, -0.02152067, -0.006089126, -0.004307733, 0.027393872, 0.006938437, -0.017749155, -0.037657578, 0.028185602, -0.029913014, 0.005650076, -0.033195097, 0.013833689, 0.017720366, 0.003717534, -0.0056716683, -0.003908269, -0.015762633, 0.026271053, 0.007579019, -0.020225113, -0.0066109486, 0.06161102, 0.02208208, -0.04393384, 0.052455734, -0.014683, 0.016482387, 0.011328942, 0.002146669, 0.0013864279, -0.009148085, -0.012307809, -0.039183456, -0.0072011477, -0.0075862166, -0.022945786, -0.0038830775, -0.0007507943, 0.031179782, 0.0038578862, -0.030719139, 0.01688545, 0.034461863, -0.024183765, 0.011091423, 0.013956048, -0.039327405, -0.033137515, -0.031813167, 0.0018479706, 0.03089188, -0.03227381, 0.0012181852, -0.035124037, 0.0045128632, 0.037743945, 0.027739353, 0.039586518, -0.0044732764, -0.0043761097, 0.0043041343, -0.014171974, -0.055018064, 0.014215159, -0.015762633, 0.0025317378, 0.006715313, -0.0060855276, -0.02134793, 0.009745481, 0.019418987, 0.05170719, -0.03261929, 0.0030373656, 0.0016221476, -0.012077487, 0.003814701, -0.023881467, 0.001444908, 0.01177519, -0.012775649, 0.014870136, 0.0040486213, 0.0129915755, -0.017878711, -0.012012709, -0.020887287, -0.009018528, 0.048252366, 0.015460335, -0.00889617, 0.009119295, 0.01694303, -0.006243874, 0.015014087, 0.020095557, -0.0109186815, -0.028372739, 0.012458957, 0.041889735, 0.023939047, -0.035757422, 0.029797852, -0.0016239469, 0.024558038, -0.013106736, -0.010004593, 0.007946094, -0.0022366382, 0.027523426, 0.0019505357, -0.007816538, 0.013221897, -0.004951914, 0.005045482, -0.016957425, -0.011206584, -0.015186829, -0.003373851, 0.008255589, -0.015158038, -0.01620888, -0.0058624037, -0.034778558, -0.010486829, 0.01327228, 0.0071435673, 0.0027170747, -0.008449922, 0.021362325, -0.019188665, -0.029193258, -0.021088818, -0.022139661, -0.01764839, 0.0004745884, 0.0033288663, -0.014942111, 0.05763797, 0.028603058, 0.015158038, -0.010645174, -0.0026936827, 0.0071291723, 0.0050634756, 0.010904287, -0.037024193, -0.0032245019, 0.08504624, -0.02369433, -0.011163399, 0.0017373083, -0.014287135, 0.01474058, 0.021607041, 0.012228635, -0.0038075033, 0.021290349, -0.018152218, 0.030603977, 0.008593873, 0.009399999, -0.0026289048, 0.0071219746, 0.0012505741, 0.0428686, 0.040910866, 0.0007642897, 0.008586676, 0.014229554, 0.012063092, 0.007773353, -0.018195404, 0.024658803, 0.02866064, 0.0072299377, 0.015964163, 0.012682081, 0.012545328, 0.006520979, -0.031352524, 0.024572432, -0.02663093, -0.022672279, -0.010134148, 0.03498009, 0.010270902, -0.015589891, 0.0075862166, 0.0056752674, -0.002866424, -0.0036797468, 0.0060207495, 0.018886369, -0.003940658, 0.0129196, 0.000053812924, 0.011717609, -0.0047467835, -0.030517608, -0.0031489276, 0.011616844, -0.019246245, -0.024471667, -0.00009609853, 0.015791422, 0.010234915, -0.002002718, -0.041832153, 0.03359816, 0.0073990803, 0.0019721284, -0.026746092, -0.0161513, -0.014582234, 0.01544594, -0.07393322, -0.01846891, -0.014135986, -0.023291267, -0.013992035, 0.011573658, -0.010191729, -0.007550229, 0.026069522, 0.02340643, 0.03397243, -0.02225482, 0.009054516, 0.008054057, -0.023737516, -0.055507496, -0.0017049194, 0.03379969, 0.019519752, -0.004455283, -0.026443794, -0.018857578, -0.007449463, 0.018166613, 0.00419977, 0.029135678, -0.016683917, -0.021679018, 0.013970442, 0.034490652, -0.022672279, 0.013106736, -0.0053837667, 0.000053334963, -0.004145788, -0.015920978, -0.015129248, -0.018209798, -0.07686982, -0.0066325413, 0.009752679, 0.023320058, -0.0059127863, -0.020786522, 0.0014089202, -0.0030787515, -0.025738435, 0.010753138, -0.008680244, 0.004689203, -0.008377947, -0.03106462, 0.00043882555, 0.008442725, -0.0088745775, 0.0005951473, 0.006780091, 0.021679018, -0.026112707, 0.004912327, 0.015820213, 0.0028844178, -0.016338436, -0.0054737357, 0.017015006, 0.037571207, -0.0015042877, 0.008010872, 0.004502067, -0.019735679, -0.0015690656, -0.033396628, 0.003001378, 0.021060027, -0.015489126, -0.007924501, 0.001670731, 0.022197241, 0.012674884, 0.00008558336, 0.016223276, 0.014056813, -0.031381313, 0.031755585, 0.004548851, 0.007543031, -0.012113474, 0.02225482, -0.03270566, -0.008565083, -0.0038218985, 0.008601071, 0.0064849914, -0.009817457, -0.014315925, 0.025263397, 0.055219594, 0.015301988, -0.019922815, -0.001714816, 0.030776719, 0.004419295, -0.014503061, 0.0058911936, 0.003503407, -0.020297088, -0.03397243, -0.019606123, -0.016899845, 0.03092067, -0.008111638, 0.0035142032, -0.0029006123, -0.033425417, 0.022715464, -0.0041565844, -0.0013252487, 0.0058803973, -0.035843793, -0.0026594943, 0.00018286273, -0.00663614, 0.023334453, -0.033252675, -0.009767074, 0.0009266844, -0.0167415, 0.008126033, -0.014546246, 0.023910258, 0.025536904, 0.023593565, 0.02287381, -0.038521282, 0.005394563, 0.010033383, -0.012473352, 0.02801286, -0.00039249135, 0.0055924957, 0.0036887438, -0.019418987, 0.012192648, -0.010234915, 0.008413935, 0.037657578, -0.000036465706, 0.003861485, 0.0062618675, -0.00155647, -0.018958343, -0.03834854, 0.02064257, -0.026990809, -0.026271053, 0.028315157, -0.018512096, 0.015575496, 0.028343948, 0.006639739, -0.044394482, -0.002161064, -0.006895252, -0.022643488, -0.010609187, 0.024946705, 0.01570505, -0.005283001, -0.034893718, -0.012646093, -0.021160794, 0.01846891, -0.015517916, 0.006380627, -0.0015816614, -0.013704133, -0.0064490037, 0.046179473, 0.022629093, 0.026083916, -0.012401377, 0.011861561, 0.01818101, -0.014135986, -0.020325879, 0.004275344, 0.030373657, -0.03636202, -0.004879938, -0.006553368, -0.010566002, 0.018728022, -0.0056068907, -0.024759568, -0.030661559, 0.023248082, 0.00892496, 0.0006486791, -0.0006009953, 0.023104131, -0.007629402, -0.0054737357, -0.004214165, 0.02930842, -0.018224195, 0.0034314315, -0.0016311446, -0.021002447, -0.025177026, -0.013747319, 0.0028826182, 0.007035604, 0.027552217, 0.007902909, -0.010673965, -0.005430551, -0.032878403, 0.009140887, -0.007543031, -0.0041241953, -0.018368145, -0.011933536, 0.0110986205, -0.0006707216, 0.0009428789, 0.0015294792, -0.034577023, -0.018425725, -0.008349157, -0.040363856, -0.028257577, 0.018555282, -0.04986462, 0.010861102, 0.022830624, 0.012358191, 0.038866762, 0.011624041, -0.012941193, 0.023895862, -0.018109033, -0.008392342, 0.010141347, 0.005268606, -0.0054161553, 0.009882235, 0.023233688, -0.011149003, -0.01570505, 0.028271971, -0.053549763, 0.020124346, -0.027753748, 0.025954362, -0.014647012, -0.000945578, -0.016712708, -0.013574577, -0.025911177, -0.0074854507, 0.013675343, -0.012610106, 0.033339046, 0.004394104, 0.006848468, -0.011811177, 0.0045200605, 0.02939479, 0.0015951567, -0.014243949, 0.016784685, -0.012617303, -0.009371209, 0.0066973194, 0.0023158113, 0.011436905, -0.018828789, 0.018425725, -0.030776719, -0.00081737165, 0.010263705, 0.01914548, 0.0030499613, 0.021578252, -0.016482387, 0.025738435, 0.008219601, -0.0016743299, 0.024327716, -0.015460335, -0.036707498, 0.019044714, -0.013639355, -0.03544073, 0.019188665, 0.016338436, -0.0029437975, 0.010961867, -0.031841956, -0.014380703, -0.03238897, -0.0026792875, 0.00995421, 0.041947316, -0.005660872, 0.0033720518, -0.020757731, -0.0011120213, -0.027451452, -0.0035142032, 0.0064849914, 0.0042177634, 0.018612862, -0.031899538, 0.024874728, -0.049663085, -0.008687441, -0.007866921, -0.033195097, -0.012444562, -0.008032464 ]
2310.12773
5
Figure 1: Safe RLHF pipeline compared to conventional RLHF method. Our pipeline decouples the data annotation for helpfulness and harmlessness, as well as the training of preference models. Ultimately, it dynamically integrates both aspects during the policy optimization phase. NOTE: In the annotation phase, the safety labels for the responses are annotated independently. These responses can be labeled as both safe or both unsafe.
2310.12773#5
Safe RLHF: Safe Reinforcement Learning from Human Feedback
With the development of large language models (LLMs), striking a balance between the performance and safety of AI systems has never been more critical. However, the inherent tension between the objectives of helpfulness and harmlessness presents a significant challenge during LLM training. To address this issue, we propose Safe Reinforcement Learning from Human Feedback (Safe RLHF), a novel algorithm for human value alignment. Safe RLHF explicitly decouples human preferences regarding helpfulness and harmlessness, effectively avoiding the crowdworkers' confusion about the tension and allowing us to train separate reward and cost models. We formalize the safety concern of LLMs as an optimization task of maximizing the reward function while satisfying specified cost constraints. Leveraging the Lagrangian method to solve this constrained problem, Safe RLHF dynamically adjusts the balance between the two objectives during fine-tuning. Through a three-round fine-tuning using Safe RLHF, we demonstrate a superior ability to mitigate harmful responses while enhancing model performance compared to existing value-aligned algorithms. Experimentally, we fine-tuned the Alpaca-7B using Safe RLHF and aligned it with collected human preferences, significantly improving its helpfulness and harmlessness according to human evaluations.
http://arxiv.org/pdf/2310.12773
Josef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji, Xinbo Xu, Mickel Liu, Yizhou Wang, Yaodong Yang
cs.AI, cs.LG
null
null
cs.AI
20231019
20231019
[ { "id": "2302.13971" }, { "id": "2304.05302" }, { "id": "1707.06347" }, { "id": "2305.18290" }, { "id": "2305.10403" }, { "id": "2305.03047" }, { "id": "2211.05100" }, { "id": "2110.08207" }, { "id": "2304.05335" }, { "id": "2107.03374" }, { "id": "2105.04054" }, { "id": "2209.07858" }, { "id": "2305.15324" }, { "id": "2307.09288" }, { "id": "2210.11416" }, { "id": "2212.08073" }, { "id": "2307.12950" }, { "id": "2009.11462" }, { "id": "2307.04657" }, { "id": "2204.05862" }, { "id": "2112.00861" }, { "id": "2209.14375" }, { "id": "2303.00957" }, { "id": "2306.01693" }, { "id": "2305.01937" }, { "id": "2307.15217" }, { "id": "2306.17492" }, { "id": "2112.04359" }, { "id": "1506.02438" } ]
{ "authors": "Josef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji, Xinbo Xu, Mickel Liu, Yizhou Wang, Yaodong Yang", "chunk_id": 5, "doc_id": "2310.12773", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12773", "summary": "With the development of large language models (LLMs), striking a balance\nbetween the performance and safety of AI systems has never been more critical.\nHowever, the inherent tension between the objectives of helpfulness and\nharmlessness presents a significant challenge during LLM training. To address\nthis issue, we propose Safe Reinforcement Learning from Human Feedback (Safe\nRLHF), a novel algorithm for human value alignment. Safe RLHF explicitly\ndecouples human preferences regarding helpfulness and harmlessness, effectively\navoiding the crowdworkers' confusion about the tension and allowing us to train\nseparate reward and cost models. We formalize the safety concern of LLMs as an\noptimization task of maximizing the reward function while satisfying specified\ncost constraints. Leveraging the Lagrangian method to solve this constrained\nproblem, Safe RLHF dynamically adjusts the balance between the two objectives\nduring fine-tuning. Through a three-round fine-tuning using Safe RLHF, we\ndemonstrate a superior ability to mitigate harmful responses while enhancing\nmodel performance compared to existing value-aligned algorithms.\nExperimentally, we fine-tuned the Alpaca-7B using Safe RLHF and aligned it with\ncollected human preferences, significantly improving its helpfulness and\nharmlessness according to human evaluations.", "text": "Figure 1: Safe RLHF pipeline compared to conventional RLHF method. Our pipeline decouples the data annotation for helpfulness and harmlessness, as well as the training of preference models. Ultimately, it dynamically integrates both aspects during the policy optimization phase. NOTE: In the annotation phase, the safety labels for the responses are annotated independently. These responses can be labeled as both safe or both unsafe.", "title": "Safe RLHF: Safe Reinforcement Learning from Human Feedback", "year": 2023 }
[ 0.0014332352, 0.007167909, 0.04844231, 0.0044608796, 0.006977273, -0.003563158, -0.035936598, 0.031804997, 0.004339566, 0.037239853, 0.031305876, -0.03640799, -0.01634616, 0.0053308723, -0.010377524, -0.067713864, 0.01972908, 0.0063429754, -0.01174317, 0.0418983, -0.014890395, -0.023652714, 0.034855172, 0.008117623, 0.022834713, -0.040789146, 0.045669425, -0.026189903, -0.012630493, -0.0021524525, 0.028394347, -0.04001274, 0.0026377074, 0.033108253, 0.023999324, -0.009448607, 0.0035804885, 0.042064674, -0.03438378, 0.0060726195, 0.00075171195, -0.030085808, -0.03194364, 0.0125542395, 0.001492159, 0.049135532, 0.035770223, 0.0043603624, 0.0063845688, 0.02652265, -0.031638622, 0.011958069, -0.057565104, -0.012221493, -0.0010779592, -0.0053932625, 0.004630719, -0.0009973722, 0.03266459, -0.018037621, 0.014959717, -0.036657546, -0.0586188, 0.016665041, -0.011854085, -0.004959999, -0.0751452, -0.011403492, 0.013594071, 0.030196723, 0.036186155, -0.039513618, 0.02928167, -0.008928691, -0.030612657, -0.0058923815, 0.0076878252, 0.05115974, -0.026411735, 0.001232201, 0.007299621, -0.0043672947, 0.021365084, -0.059173375, -0.008006707, -0.021683965, -0.034993816, -0.010044778, -0.061502602, -0.026037395, -0.022321729, 0.0035908867, -0.028269568, 0.015417243, -0.0036082172, -0.031361334, -0.007258028, 0.010204218, 0.041787386, 0.008595945, 0.03610297, -0.03269232, 0.011313373, -0.049523734, 0.016276838, -0.019812267, 0.017982163, 0.078029, -0.009524861, -0.021087794, -0.009933862, -0.053627606, -0.036934834, 0.052102517, 0.013462359, -0.032110013, -0.06904485, 0.004318769, 0.023541799, -0.0021351217, -0.03563158, -0.03319144, 0.03174954, -0.048996888, -0.0141625125, 0.029919434, 0.023209052, -0.03194364, -0.019687487, -0.044893015, -0.0057572033, 0.008845504, -0.020990744, -0.0000796663, -0.041010976, 0.040789146, -0.019396335, -0.019396335, 0.007999775, -0.0065960013, 0.02107393, -0.03100086, -0.027590211, 0.01647094, -0.04655675, 0.028643908, -0.050216958, 0.038848124, -0.0039374973, 0.014141716, -0.010405253, 0.030168995, -0.057953306, 0.01597182, -0.029614417, -0.011250983, 0.0016282037, 0.012110578, 0.0075977063, -0.02194739, -0.0017711807, 0.050494246, -0.011923408, -0.021961253, -0.0071887057, 0.023527933, 0.006228594, -0.014432869, -0.043756135, 0.013462359, -0.044504814, 0.039374974, -0.021739423, -0.035215646, -0.04139918, -0.037655786, -0.018800164, -0.025760107, 0.024345934, -0.0070084683, 0.0030536402, 0.023819087, -0.06128077, -0.007653164, -0.012595832, 0.012644358, -0.03316371, 0.013136545, 0.006311781, 0.006589069, -0.026217632, 0.066050135, 0.033052795, 0.021087794, -0.005025855, -0.008283995, 0.023819087, 0.04847004, 0.011077678, -0.044477083, 0.015639074, -0.0007569111, 0.0034765052, -0.042785622, -0.025704648, 0.021711694, -0.051963873, 0.000955779, 0.010294338, -0.0348829, 0.029032111, 0.046529017, 0.020616405, 0.06616105, -0.008464233, -0.017538501, -0.028948925, 0.019340876, 0.04231423, -0.009122794, 0.013795106, 0.006266721, 0.062445384, 0.0033517254, -0.06227901, -0.0039340314, 0.037073478, -0.02408251, 0.0077432827, -0.057620563, 0.03052947, 0.029725332, -0.020533217, -0.019937048, 0.019867724, -0.007999775, -0.020810505, -0.06682654, 0.01731667, -0.028422076, -0.009670438, 0.028838009, 0.006062221, -0.01972908, 0.029642146, 0.008790047, 0.026037395, -0.030945402, 0.0068212985, 0.006495484, -0.031305876, -0.009642709, 0.024290478, -0.05911792, -0.038071718, 0.0056601525, 0.0057606697, -0.001814507, -0.019742945, -0.011847153, -0.02627309, 0.039846364, -0.010952897, 0.011091542, 0.006162738, -0.018592197, 0.010668677, -0.000802837, -0.027507024, 0.009642709, -0.017427586, 0.0045787273, -0.014113987, 0.0017867781, -0.061668973, 0.01599955, 0.078029, 0.028699365, -0.04985648, -0.022432644, -0.040068194, -0.020963015, 0.04749953, -0.019327013, 0.016082736, -0.000235262, -0.007459062, -0.022501966, -0.0032148142, -0.026716752, 0.015306328, 0.0078403335, 0.07969273, -0.04286881, 0.04428298, 0.013219732, 0.03172181, -0.013261325, -0.0104815075, -0.020963015, 0.02386068, 0.0404564, -0.02557987, 0.019437928, 0.041288264, -0.025704648, -0.033357814, -0.060504362, 0.005472983, 0.019437928, 0.006287518, 0.03396785, 0.02492824, -0.035326563, -0.004183591, -0.042064674, 0.02856072, -0.03466107, 0.0064434926, 0.0009237175, -0.00084356376, -0.04555851, 0.026453327, -0.040567316, 0.009601116, 0.0016723966, 0.002530258, 0.016928466, -0.017718738, -0.0064746877, -0.0045440663, -0.03604751, 0.02734065, -0.044477083, 0.0075630452, -0.07386967, -0.029947164, 0.014543785, 0.026910855, 0.028200246, -0.045918982, -0.054570388, -0.01963203, 0.032248657, -0.061336227, 0.024540037, -0.014737886, 0.04239742, 0.031139504, 0.019909319, -0.037018023, -0.0323873, -0.0032685387, -0.00408654, -0.011230187, 0.009642709, 0.0018231722, -0.043728404, -0.02905984, 0.016041143, -0.029226214, -0.0023586857, -0.039430432, 0.010918236, -0.026162175, 0.0073065534, -0.051991604, -0.0010346329, -0.01706711, -0.010058642, 0.016498668, 0.0026637032, -0.015334057, 0.000042568125, -0.04847004, 0.032609135, 0.005317008, -0.01368419, 0.01778806, 0.015056768, -0.019327013, 0.011361898, -0.053183943, -0.04342339, 0.0023534866, 0.081023715, -0.056788694, -0.022501966, -0.030751301, 0.017025517, 0.043977965, -0.033635102, 0.010086371, 0.01587477, -0.014474463, -0.0266197, -0.0118402215, 0.03316371, 0.04844231, 0.011542136, 0.001915024, -0.027326787, -0.06427549, 0.006876756, -0.024678681, 0.049357362, 0.015708396, -0.0014462331, 0.020935286, 0.032359574, 0.00757691, -0.02470641, 0.02858845, -0.046362646, 0.010010117, -0.033856932, 0.030834487, -0.043035183, -0.007805673, 0.02241878, 0.060116157, -0.037239853, -0.032026827, -0.026661294, 0.008485029, 0.020061826, 0.043395657, -0.028020008, -0.023638848, -0.020491624, 0.0014462331, 0.048137292, -0.0045579304, -0.02226627, -0.0005064849, 0.027534753, 0.015223142, 0.017871248, -0.0013595804, 0.009351556, 0.04142691, -0.033274624, -0.034938358, 0.013704986, -0.04098325, -0.005459118, -0.01599955, 0.0075353165, -0.056511406, -0.002689699, -0.020339115, 0.04358976, 0.019313147, 0.032331847, 0.018800164, -0.054598115, 0.031638622, -0.047083598, 0.031888183, 0.044199795, 0.023222916, 0.038432192, 0.004346498, 0.034688797, 0.007805673, 0.0052442197, -0.008304792, -0.029337129, -0.009621913, -0.01271368, -0.019576572, -0.08717952, 0.018897215, -0.015666803, 0.010890508, -0.028394347, 0.011833289, 0.0036498106, 0.07043129, 0.018203994, 0.012540375, 0.0039998875, 0.011008356, -0.055124965, 0.04017911, 0.08035822, 0.04533668, 0.021808745, -0.006346442, 0.009621913, 0.052851196, -0.019867724, 0.055818185, -0.016928466, -0.017510772, -0.061336227, -0.02545509, 0.0051991604, 0.019923182, -0.014834938, 0.05032787, 0.026896989, 0.00055760995, -0.0041627944, 0.053183943, -0.0005532773, 0.032415032, 0.010287405, -0.028948925, 0.015694533, 0.0069842055, 0.005906246, -0.03732304, -0.022127626, -0.012221493, 0.02370817, 0.017677145, -0.023846816, -0.0057537374, 0.02386068, 0.03396785, -0.024858918, 0.004547532, 0.00085656164, -0.00077987404, 0.018425824, -0.024124105, -0.06216809, 0.0011628788, -0.05276801, 0.0077432827, 0.009067335, 0.0323873, 0.013046427, -0.06305542, 0.0053932625, 0.0040102857, -0.039153144, -0.01515382, -0.008249334, 0.009899201, 0.008991081, 0.036380257, 0.0031628225, -0.0066999844, -0.013566342, 0.005424457, -0.024831189, 0.01813467, 0.012644358, 0.039125416, -0.04109416, -0.017635552, -0.03274778, -0.012457188, -0.0012859256, -0.0016368689, 0.004897609, -0.01027354, -0.013753512, -0.021004608, -0.001915024, 0.0049114735, -0.009275302, -0.0323873, 0.027673397, 0.01490426, -0.0021957788, 0.012692884, -0.0055007115, -0.015722262, -0.019645894, 0.035964325, -0.070320375, 0.00095491245, 0.006852493, 0.012422527, -0.0025857158, 0.06277813, -0.013219732, -0.012041255, -0.03152771, -0.0024228087, -0.020145014, -0.027645668, -0.012748341, 0.02492824, 0.024040917, -0.060005244, -0.0065613403, 0.0323873, 0.0024262748, 0.00012662122, 0.014224903, -0.070320375, -0.016110465, 0.019576572, -0.019659758, -0.009996252, -0.014765616, -0.0015268201, -0.005504178, 0.027728856, -0.017302806, -0.015195413, 0.029947164, -0.021988982, 0.002459203, 0.02702177, -0.013649529, -0.019909319, -0.026841532, 0.011958069, -0.016970059, -0.01452992, -0.00738974, -0.0097328285, 0.018897215, 0.016041143, -0.037350766, -0.036685277, 0.0040449467, 0.025150072, -0.028699365, 0.000778141, -0.012131374, 0.009323828, -0.0040137516, -0.032830965, -0.017552365, -0.03174954, 0.0068940865, 0.0057294746, -0.035936598, 0.017663281, 0.054431744, 0.026910855, -0.01180556, -0.03127815, -0.04963465, 0.010918236, 0.0015701464, -0.002199245, -0.052102517, 0.020865964, -0.00079937093, 0.01776033, 0.01866152, 0.01828718, -0.04724997, -0.037073478, -0.02264061, -0.011299509, -0.004447015, -0.018550605, 0.009663506, 0.0115906615, 0.02836662, 0.03773897, 0.016609585, -0.028838009, -0.005282347, -0.0116253225, 0.024429122, -0.0060067633, 0.015860906, 0.027992278, 0.055873644, 0.0099477265, -0.0167205, -0.033108253, 0.0054383217, 0.0237359, 0.005063982, 0.001409839, -0.030584928, 0.013878292, -0.011278712, -0.009587252, 0.026217632, -0.016554127, 0.04114962, -0.02928167, -0.054154456, 0.00026060792, 0.020630268, 0.0060483566, -0.0042979727, -0.020366844, 0.05354442, -0.029392587, 0.001543284, 0.004828287, 0.003958294, 0.021087794, 0.04644583, 0.0017235216, 0.058951546, -0.013226664, -0.004731236, 0.00363248, -0.009004946, 0.006807434, -0.02856072, -0.039208602, -0.033856932, -0.029198484, 0.02749316, 0.02774272, -0.013185071, 0.0018959604, -0.010758796, 0.0090812, 0.0053967284, 0.0047589648, 0.015805447, 0.018023755, 0.008034436, 0.022488102, -0.025150072, -0.030862216, -0.018398095, -0.035243373, 0.028075466, 0.011923408, 0.03050174, -0.05712144, 0.012866189, -0.019465657, -0.0146962935, 0.0056012287, -0.0051437025, -0.019035859, -0.017801926, 0.0060795513, -0.003500768, -0.011250983, 0.003701802, -0.005445254, 0.0004527602, 0.0074798586, 0.008228538, 0.016027277, 0.010349795, -0.0057606697, 0.019923182, 0.00860981, 0.04505939, 0.008887098, -0.026578108, -0.030862216, 0.012491849, -0.037073478, 0.005067448, 0.006266721, -0.026425598, 0.019992504, 0.021988982, 0.009129725, 0.0022720331, 0.022529695, 0.026716752, -0.017996026, -0.0013179871, 0.00967737, -0.008207741, 0.006887154, 0.01597182, 0.017469179, -0.010003185, -0.003304933, -0.015666803, 0.00817308, 0.02836662, 0.0769753, -0.022723796, -0.0060275597, -0.006582137, -0.025136206, -0.0019028927, -0.022086034, -0.021836473, 0.029891705, -0.016554127, -0.022183085, 0.020505488, 0.008790047, 0.0216701, 0.023292238, -0.02492824, -0.037655786, 0.02774272, 0.004696575, -0.056345034, -0.00062736537, 0.043672945, -0.0017885112, -0.11768126, -0.011036084, 0.012048188, -0.010855847, 0.023098137, 0.010037846, 0.0037919208, 0.045669425, 0.011486678, -0.043645218, 0.01174317, 0.0060448903, -0.026023531, -0.016096601, 0.017247347, -0.033579644, 0.053100757, -0.009656574, 0.059506122, -0.005999831, -0.026980177, -0.020047963, 0.010828118, 0.019521113, -0.038570836, 0.045087118, -0.012311611, 0.025524411, -0.004079608, 0.033441, -0.0021853803, -0.011791696, 0.00062259944, -0.012325476, -0.012013527, -0.016443212, 0.005226889, -0.02301495, 0.007916588, 0.05978341, 0.030917674, -0.017926704, 0.037073478, -0.015112226, 0.015403379, 0.0071817734, -0.0068940865, -0.02020047, 0.0039686924, 0.0001436268, 0.00033209636, -0.008145351, -0.015237005, -0.045613967, -0.001036366, 0.024415256, 0.022806983, 0.012471053, -0.005420991, -0.014405141, -0.030889945, 0.06250084, 0.03125042, -0.0189804, 0.007812605, 0.011403492, -0.015860906, 0.02856072, -0.04192603, -0.0712077, 0.0049426686, -0.010225016, -0.0065960013, 0.02054708, 0.023624985, 0.02505302, 0.028352754, 0.010495372, -0.010467643, 0.006911417, 0.038404465, -0.02905984, -0.020796642, -0.00081106904, 0.014127851, 0.03848765, 0.016997788, 0.0012443324, -0.013094951, 0.011521339, 0.0067069167, 0.006162738, 0.005968636, 0.007847266, -0.000069701244, -0.014190242, -0.022113763, 0.013802038, 0.014252632, -0.061391685, 0.05038333, -0.014010004, -0.0155558875, -0.026467193, 0.01046071, -0.0049738633, -0.0038993703, 0.048553225, -0.0015554155, -0.01343463, -0.0038785737, 0.00004373252, -0.017344398, 0.007258028, 0.0029375255, 0.0080898935, 0.0029739197, 0.031610895, 0.018328773, 0.01428036, -0.026799938, -0.0010095036, -0.008159216, 0.05551317, -0.011140067, -0.026203768, 0.0057225423, 0.013365308, -0.0116253225, -0.019992504, -0.0038785737, -0.027396109, -0.02038071, 0.0058334577, 0.0029600554, 0.030168995, 0.051409297, 0.009746692, -0.033718288, 0.020186607, 0.03127815, 0.03341327, 0.03125042, 0.014793344, -0.054404013, 0.027562482, -0.0018093078, 0.017178025, -0.018938808, 0.01199273, -0.007881927, -0.0014644301, 0.0047139055, 0.01324746, -0.020117285, 0.053627606, 0.054542657, -0.050355602, -0.02492824, 0.01781579, -0.022709932, 0.040290028, -0.045003932, -0.010315134, 0.0032148142, -0.009552591, -0.002689699, 0.023084272, -0.015957955, 0.0070847226, -0.021836473, -0.062833585, -0.0066271964, -0.01831491, -0.012034323, 0.028643908, 0.0068940865, 0.06810207, 0.025718514, 0.023500204, -0.014571513, 0.032110013, 0.0035406281, 0.023638848, 0.051298384, -0.00078334013, -0.03274778, -0.021725558, 0.008020571, 0.023042679, 0.012263087, 0.02191966, -0.021864202, 0.051464755, 0.018467417, -0.012477985, -0.035908867, 0.008450368, -0.018827893, -0.045669425, -0.014585378, 0.053433504, 0.017483043, -0.018994266, 0.005310076, 0.017732603, 0.0014531653, -0.027590211, 0.0050813127, 0.044172067, -0.011001423, -0.0020917954, -0.026453327, 0.01622138, 0.018217858, -0.021683965, 0.03244276, 0.009836812, -0.0008795246, -0.0017642484, 0.007590774, -0.00854742, 0.0011533471, -0.010093303, -0.016082736, 0.0013032561, -0.009095064, 0.024969835, -0.0044539473, 0.011514407, -0.00798591, 0.013261325, 0.013649529, -0.033052795, -0.028505264, -0.011757035, 0.037073478, 0.00038452123, 0.013067223, 0.011299509, 0.018647656, -0.036657546, -0.028061602, -0.022058304, 0.035021544, 0.014377411, 0.048553225, -0.0018249053, -0.03152771, -0.014113987, -0.012886985, 0.012443324, 0.032137744, 0.004928804, -0.00460299, -0.0420924, 0.029919434, 0.042951997, 0.018855622, 0.012762206, -0.016651178, 0.008616742, 0.032609135, 0.01599955, -0.0059478395, -0.027326787, 0.00097224297, 0.013670325, 0.017635552, -0.015029039, 0.009136658, 0.02129576, -0.028948925, 0.024650952, -0.02204444, 0.044865288, -0.0025406564, 0.0039340314, 0.0052927453, -0.03366283, 0.010696406, -0.022183085, -0.040539585, -0.018481283, 0.0004588259, -0.002303228, 0.020852098, -0.0037815226, -0.0024903978, 0.014266496, 0.023028813, 0.021434406, 0.01211751, -0.0040622773, -0.005518042, -0.018772434, 0.023541799, 0.010973695, 0.049357362, 0.0057606697, 0.02495597, 0.009289167, 0.012360137, 0.004502473, 0.009413946, 0.0015502163, -0.0202282, -0.028976653, 0.008027503, -0.029614417, 0.014807208, 0.020630268, 0.024276612, 0.015694533, 0.02261288, -0.00077597465, -0.0036151495, -0.02316746, -0.003691404, -0.039319515, -0.014807208, 0.017385991, 0.022224678, 0.059949785, -0.02567692, -0.028865738, -0.018814027, -0.00019063588, -0.0042355824, 0.016262973, 0.0028959324, 0.041010976, 0.0018612994, 0.009476337, -0.0021957788, 0.012422527, -0.027382245, -0.009642709, -0.0293094, -0.010183422, 0.026328549, -0.0010588956, 0.017524637, 0.042757895, -0.0027382243, -0.020394573, -0.0069842055, -0.010488439, 0.0025181267, -0.0024817325, 0.06033799, -0.0009141857, -0.021475999, 0.00003620457, -0.043229286, 0.008776182, 0.014751751, 0.017053246, 0.0017425852, -0.005479915, 0.004582193, 0.033635102, -0.027479295, 0.024110239, -0.0009653108, -0.0125542395, 0.0009826414, 0.047360886, 0.007074324, 0.02473414, 0.03227639, 0.024013188, -0.019437928, -0.022474237, 0.023583392, -0.0013179871, -0.014037733, 0.0141971735, 0.034494694, 0.021240303, -0.006575205, -0.041510098, -0.0072233668, 0.004443549, -0.03954135, 0.030363096, -0.0009289166, 0.007174841, -0.0024799996, -0.0077918083, 0.0012555972, -0.0006550942, 0.008318656, -0.016179787, 0.007653164, 0.034217406, -0.008734589, -0.006970341, 0.034051035, 0.02714655, 0.03194364, 0.014321954, -0.0064677554, 0.017510772, 0.017372128, -0.00052684825, -0.010183422, -0.0048421514, 0.019909319, 0.0013890424, -0.024914376, -0.0010389655, 0.0071124514, -0.0016931932, 0.001085758, -0.0052580843, 0.0017131233, 0.016859144, 0.0060136956, -0.0015883435, 0.011639187, 0.011126203, 0.0050397194, 0.011514407, 0.019826131, 0.050355602, 0.0020606006, 0.01149361, -0.015181548, 0.007833402, 0.0054279235, -0.008283995, -0.015320192, -0.017968299, -0.0030553732, 0.015347921, 0.029669875, 0.019826131, -0.034577884, 0.01387136, 0.0016342694, 0.04697268, 0.049717836, 0.0015424176, -0.013926817, -0.0041766586, -0.02627309, 0.005868119, 0.02702177, 0.0021923126, 0.0011715441, -0.0029409917, 0.0003349126, -0.007174841, -0.03491063, 0.01947952, -0.03565931, 0.014079326, 0.044421624, 0.007930453, -0.0034557085, -0.013323715, 0.0013422499, 0.02057481, -0.0050362535, 0.009822947, 0.01875857, 0.030058078, -0.0058195936, 0.007396672, -0.015361786, -0.008679132, 0.032775506, 0.00013756112, 0.00939315, -0.01776033, -0.004408888, -0.019271554, 0.013275189, -0.015569752, -0.002336156, -0.0038855057, 0.032886423, -0.0062355264, -0.011639187, -0.011812492, -0.02119871, -0.037239853, -0.016179787, 0.02072732, -0.0054556523, -0.012880053, 0.004609922, 0.013635664, 0.0020917954, 0.023527933, 0.025066884, 0.0054868474, 0.0077363504, -0.017954433, -0.03563158, 0.0047866935, -0.014003072, 0.007653164, -0.0033621236, -0.01744145, -0.0059374413, -0.032720048, 0.022682203, -0.02194739, 0.0104468465, -0.003044975, -0.01587477, 0.009067335, 0.03748941, -0.006256323, -0.0066653234, -0.002687966, 0.003211348, 0.006193933, -0.015902499, -0.018509012, 0.05884063, 0.0029635213, 0.014037733, -0.008838573, -0.013372241, 0.0049114735, 0.012401731, 0.008311724, -0.01550043, -0.0018283714, 0.016706634, 0.0024280078, 0.009968524, 0.017344398, 0.020075692, 0.0015597481, 0.005746805, -0.007039663, -0.02094915, -0.0011646119, 0.0062043313, 0.010093303, -0.007133248, 0.05495859, 0.0042945063, 0.015334057, 0.014405141, 0.016498668, -0.03127815, 0.023541799, 0.015957955, 0.010502304, -0.028449805, -0.032997336, 0.0045787273, 0.0057225423, -0.00093931495, 0.0109113045, -0.003471306, 0.022931764, 0.0016178053, -0.007944317, 0.03438378, 0.020186607, -0.0030640385, -0.01168078, -0.03100086, -0.012172967, 0.006034492, 0.00069712073, 0.037461683, -0.005639356, -0.0021871135, 0.050355602, 0.02677221, -0.0064053657, -0.0025995802, -0.0018318375, 0.010370592, -0.047305427, -0.0017079242, 0.01584704, 0.012658223, 0.028893467, 0.0034002508, 0.00003382162, -0.010266609, 0.0050431853, -0.043451115, 0.03626934, 0.015985684, 0.019867724, -0.017621687, 0.0146962935, 0.014238767, 0.02264061, -0.056788694, 0.032636862, -0.0133029185, 0.044172067, -0.013961478, -0.04453254, 0.027437702, -0.04528122, 0.0046931086, -0.014419004, 0.017649416, 0.012200696, -0.011070745, -0.016262973, 0.007396672, -0.007992842, -0.014626971, 0.002076198, 0.0028335424, 0.017261213, 0.034855172, -0.01271368, 0.0054071266, 0.026855396, -0.038626295, -0.024193427, 0.002980852, 0.037655786, -0.02539963, -0.013503953, 0.00565322, -0.0046341848, 0.026065124, 0.013205867, -0.015763855, -0.010848914, 0.005576966, 0.03552066, 0.009504065, -0.030335367, -0.014460598, 0.019174503, -0.043700676, 0.01781579, 0.027728856, -0.009289167, 0.016540263, 0.008713793, 0.009510998, -0.031444523, -0.0039998875, 0.049967397, 0.014931989, 0.011687713, 0.0113757625, 0.042924266, 0.040816873, 0.0015363519, -0.016748229, 0.013420766, 0.02542736, 0.0010043045, 0.027035633, 0.0019722148, 0.0029409917, -0.023292238, 0.020630268, 0.019937048, 0.01308802, -0.012103645, 0.009961591, -0.0031974837, 0.031777266, -0.008180012, -0.012401731, 0.02774272, 0.04123281, -0.008741521, 0.035077002, 0.012484917, 0.021753287, -0.008013639, -0.02069959, 0.029364858, 0.033856932, 0.035770223, -0.015403379, 0.011244051, 0.004249447, -0.030640384, 0.023042679, -0.018855622, -0.048054107, 0.020061826, -0.042452876, 0.0050154566, 0.00284914, 0.012353205, -0.011091542, 0.01174317, 0.008582081, 0.0003732564, 0.021975117, 0.02000637, 0.004998126, 0.0031836191, -0.010093303, -0.0106270835, 0.0059166444, -0.032248657, -0.021406677, -0.011673848, -0.024761867, 0.013538614, -0.018800164, -0.007874995, -0.015334057, -0.010592422, -0.0005316141, 0.0008097692, 0.0071887057, -0.011292576, 0.018370366, 0.03588114, -0.012533442, -0.013822834, -0.011909544, -0.034078762, -0.018911079, -0.03460561, 0.0075491806, -0.017455315, 0.0006325645, -0.008644471, 0.019798402, -0.032997336, -0.0033621236, -0.0072164345, -0.018495146, -0.0029340596, -0.0026637032 ]
2310.12397
6
Our investigation thus raises significant grounds to be skeptical about the effectiveness of iterative prompting techniques in general, and those relying on the self-critiquing capabilities of LLMs in particular. In the reminder of the paper, we discuss related work, present our experimental methodology, and then detail the results of our experiments. # 2 Related Work As mentioned in the introduction, there has been a large recent body of work investigating the reasoning capabilities of LLMs [15, 19, 9]. The studies span different types of reasoning problems– planning [17], logic and arithmetic [5], or 24 puzzle [19]. The conclusions have also been divergent– with some studies highlighting the limitations of LLMs in reasoning[12, 2], and others arguing that iterative prompting of LLMs can improve their ability to reason. For example, [15] states we explore this emergent property of self-reflection in LLMs and empirically show that self-reflection is extremely useful to learn complex tasks over a handful of trials. This paper focuses on understanding these sorts of claims–and especially of the effectiveness of iterative prompting. The problem we chose–graph coloring–is a canonical NP-complete reasoning problem well studied in AI and computer science [13]. It has rich connections to propositional logical reasoning–specifically satisfiability, constraint satisfaction problems, and is also related to practical problems including resource allocation and scheduling. 2 # 3 Methodology # 3.1 The Graph Coloring Problem
2310.12397#6
GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems
There has been considerable divergence of opinion on the reasoning abilities of Large Language Models (LLMs). While the initial optimism that reasoning might emerge automatically with scale has been tempered thanks to a slew of counterexamples, a wide spread belief in their iterative self-critique capabilities persists. In this paper, we set out to systematically investigate the effectiveness of iterative prompting of LLMs in the context of Graph Coloring, a canonical NP-complete reasoning problem that is related to propositional satisfiability as well as practical problems like scheduling and allocation. We present a principled empirical study of the performance of GPT4 in solving graph coloring instances or verifying the correctness of candidate colorings. In iterative modes, we experiment with the model critiquing its own answers and an external correct reasoner verifying proposed solutions. In both cases, we analyze whether the content of the criticisms actually affects bottom line performance. The study seems to indicate that (i) LLMs are bad at solving graph coloring instances (ii) they are no better at verifying a solution--and thus are not effective in iterative modes with LLMs critiquing LLM-generated solutions (iii) the correctness and content of the criticisms--whether by LLMs or external solvers--seems largely irrelevant to the performance of iterative prompting. We show that the observed increase in effectiveness is largely due to the correct solution being fortuitously present in the top-k completions of the prompt (and being recognized as such by an external verifier). Our results thus call into question claims about the self-critiquing capabilities of state of the art LLMs.
http://arxiv.org/pdf/2310.12397
Kaya Stechly, Matthew Marquez, Subbarao Kambhampati
cs.AI
18 pages, 3 figures
null
cs.AI
20231019
20231019
[ { "id": "2206.10498" }, { "id": "2306.03872" }, { "id": "2303.11366" } ]
{ "authors": "Kaya Stechly, Matthew Marquez, Subbarao Kambhampati", "chunk_id": 6, "doc_id": "2310.12397", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12397", "summary": "There has been considerable divergence of opinion on the reasoning abilities\nof Large Language Models (LLMs). While the initial optimism that reasoning\nmight emerge automatically with scale has been tempered thanks to a slew of\ncounterexamples, a wide spread belief in their iterative self-critique\ncapabilities persists. In this paper, we set out to systematically investigate\nthe effectiveness of iterative prompting of LLMs in the context of Graph\nColoring, a canonical NP-complete reasoning problem that is related to\npropositional satisfiability as well as practical problems like scheduling and\nallocation. We present a principled empirical study of the performance of GPT4\nin solving graph coloring instances or verifying the correctness of candidate\ncolorings. In iterative modes, we experiment with the model critiquing its own\nanswers and an external correct reasoner verifying proposed solutions. In both\ncases, we analyze whether the content of the criticisms actually affects bottom\nline performance. The study seems to indicate that (i) LLMs are bad at solving\ngraph coloring instances (ii) they are no better at verifying a solution--and\nthus are not effective in iterative modes with LLMs critiquing LLM-generated\nsolutions (iii) the correctness and content of the criticisms--whether by LLMs\nor external solvers--seems largely irrelevant to the performance of iterative\nprompting. We show that the observed increase in effectiveness is largely due\nto the correct solution being fortuitously present in the top-k completions of\nthe prompt (and being recognized as such by an external verifier). Our results\nthus call into question claims about the self-critiquing capabilities of state\nof the art LLMs.", "text": "Our investigation thus raises significant grounds to be skeptical about the effectiveness of iterative prompting techniques in general, and those relying on the self-critiquing capabilities of LLMs in particular. In the reminder of the paper, we discuss related work, present our experimental methodology, and then detail the results of our experiments.\n# 2 Related Work\nAs mentioned in the introduction, there has been a large recent body of work investigating the reasoning capabilities of LLMs [15, 19, 9]. The studies span different types of reasoning problems– planning [17], logic and arithmetic [5], or 24 puzzle [19]. The conclusions have also been divergent– with some studies highlighting the limitations of LLMs in reasoning[12, 2], and others arguing that iterative prompting of LLMs can improve their ability to reason. For example, [15] states we explore this emergent property of self-reflection in LLMs and empirically show that self-reflection is extremely useful to learn complex tasks over a handful of trials. This paper focuses on understanding these sorts of claims–and especially of the effectiveness of iterative prompting. The problem we chose–graph coloring–is a canonical NP-complete reasoning problem well studied in AI and computer science [13]. It has rich connections to propositional logical reasoning–specifically satisfiability, constraint satisfaction problems, and is also related to practical problems including resource allocation and scheduling.\n2\n# 3 Methodology\n# 3.1 The Graph Coloring Problem", "title": "GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems", "year": 2023 }
[ 0.010932724, 0.0044027423, 0.012279976, -0.013085749, -0.0073293084, 0.037619915, 0.029446159, 0.03070961, 0.0037097775, 0.07338333, 0.041590765, -0.053632233, -0.04875892, -0.00793525, 0.022510067, -0.039424848, 0.039682694, -0.030812748, -0.01636041, 0.042029105, 0.04566475, 0.0020660013, 0.008560529, 0.019454576, 0.0040159714, -0.011106771, 0.022239327, -0.030348623, -0.0056790863, -0.02618439, 0.021349754, -0.019209621, -0.07993265, -0.008128636, -0.019222515, 0.0987555, 0.0017855923, -0.012292868, 0.008341359, 0.012518485, -0.0019096814, -0.026429346, -0.03643382, -0.018925989, -0.0035518461, 0.032823958, -0.015032495, 0.013807721, -0.0036034156, 0.042132244, -0.081737585, 0.05961429, 0.036897942, -0.028027998, -0.035221938, -0.03633068, -0.016476441, 0.008528299, -0.0072132773, -0.007097246, 0.040224172, -0.031998847, 0.0008984366, -0.00040792243, -0.038006686, -0.0025220686, -0.011132556, 0.015793145, 0.036743235, 0.008676561, 0.01142908, 0.024998292, 0.04816587, -0.026635623, -0.014826218, 0.03192149, 0.066782445, 0.011448419, 0.00092583284, 0.0056726397, 0.025771834, -0.0212724, 0.04228695, -0.04571632, -0.000023845836, -0.02422475, -0.0109778475, -0.022703452, -0.07075329, -0.086997665, -0.0152129885, -0.004367288, 0.009263163, 0.04316363, 0.097569406, 0.040069465, -0.0153032355, 0.0012674804, 0.04313785, 0.026867686, -0.034603104, -0.008708792, -0.012634516, -0.024830692, 0.019454576, 0.027692797, 0.010848924, 0.0104492605, -0.030529117, -0.023476994, -0.0913295, -0.012402453, -0.0850896, -0.026429346, 0.018371617, -0.029729791, -0.07013446, -0.027022393, 0.015367697, -0.022058833, 0.010030258, -0.022278003, 0.013266242, -0.012634516, 0.02192991, -0.023154685, 0.025049862, -0.0147746485, 0.046953987, -0.01652801, -0.0014657006, -0.006481636, 0.03540243, -0.018191125, -0.042235382, -0.004612243, -0.05002237, 0.015947854, 0.023116007, -0.034345258, 0.0034261455, -0.0015760914, -0.037439425, 0.017984847, 0.0049119904, 0.035221938, 0.0017984847, 0.025346387, 0.02797643, 0.02962665, -0.009727288, -0.010739339, 0.015793145, 0.0059917257, -0.012576501, -0.028956247, 0.013214673, -0.006807168, -0.01306641, 0.004928106, 0.012015683, 0.010056043, -0.008038389, -0.017224198, -0.02584919, 0.039992113, -0.054354206, 0.0033906917, -0.023502778, -0.016050993, -0.02437946, -0.04308628, -0.01142908, -0.02088563, 0.019106483, -0.015225882, -0.0035454, -0.015367697, 0.027073963, 0.005524378, -0.046180446, 0.02606836, -0.013182442, 0.0049506677, -0.015586867, -0.014323416, 0.025552664, -0.023451209, -0.014942249, -0.03965691, 0.017636754, 0.016450657, 0.059459582, 0.016631149, 0.012937487, -0.036614314, 0.0722488, -0.00023770295, -0.0194159, 0.005137607, 0.0018017078, 0.0034325917, 0.026738761, -0.028956247, 0.03027127, 0.021362646, 0.01369169, -0.0052955383, -0.02432789, -0.007857895, 0.027460733, 0.002449549, 0.015638437, 0.02471466, 0.0012416957, 0.02792486, -0.03447418, -0.001145003, 0.007722526, 0.040172603, -0.019957379, -0.006023957, 0.046721924, -0.0058015636, 0.00096048106, 0.041178208, 0.026480915, -0.044143453, -0.008708792, -0.049171474, 0.027409164, -0.02983293, -0.062502176, -0.0071488153, 0.013588551, -0.031070596, -0.0005148888, 0.01968664, 0.029446159, -0.03202463, 0.05930487, 0.005456693, 0.03398427, -0.043601975, -0.01169982, 0.01254427, -0.02885311, -0.009901335, -0.015883392, -0.0022255443, -0.033700638, -0.022626098, -0.0032069755, -0.037130006, -0.04468493, -0.0072519546, 0.009392086, 0.00037710162, -0.02978136, -0.016940566, 0.011964113, 0.004251257, -0.03223091, 0.03266925, 0.0054824776, 0.004360842, -0.04465915, 0.05559187, -0.013420951, -0.012524931, -0.01919673, -0.0013722309, 0.005888587, 0.004328611, 0.02241982, -0.05569501, 0.014916465, 0.041539196, -0.022896837, 0.058221914, 0.0048668673, 0.021826772, 0.0314058, 0.024727553, -0.00094678294, -0.015187204, -0.012499146, -0.02689347, -0.010436368, 0.021788094, 0.0080577275, -0.03774884, 0.04842372, 0.023373855, -0.02012498, -0.030400192, 0.015135635, -0.017211305, -0.002452772, 0.053477522, 0.021079015, -0.0006164161, -0.031612076, -0.002443103, 0.008147974, 0.013885075, -0.005095707, -0.008663668, 0.010004474, 0.03857395, 0.024095828, -0.0015535298, 0.012028575, 0.06992818, -0.0011683705, -0.044066098, 0.037439425, -0.018616572, 0.018552111, -0.003516392, -0.03604705, -0.029317234, 0.04156498, 0.024250535, -0.009114901, 0.0039740712, 0.00056444376, -0.005008683, -0.014271846, -0.0134596275, -0.00801905, -0.024585737, 0.0105588455, 0.030529117, 0.01718552, -0.03937328, -0.023528563, -0.018204017, -0.0041771256, -0.00028040892, -0.05548873, 0.025320603, -0.0314058, 0.02034415, -0.019944487, 0.03349436, -0.019763993, 0.00589181, 0.058170345, 0.028982034, -0.00026791941, -0.021427108, 0.0123251, -0.028182706, -0.02841477, 0.013640121, -0.055179317, -0.03321073, 0.025359279, 0.04264794, -0.010210752, 0.020705136, -0.017288659, 0.024624415, -0.018474758, 0.06492594, -0.040662516, -0.023515671, 0.0077096336, 0.010178521, 0.04259637, 0.017649645, 0.0033842453, 0.011222802, -0.044581793, 0.024727553, -0.017817246, -0.007097246, -0.020357043, 0.049223043, -0.043653544, -0.04762439, 0.017533615, -0.020743813, 0.018577896, -0.005356777, 0.020137873, -0.02088563, -0.06306944, 0.002552688, -0.006626675, -0.02983293, -0.020369934, -0.028595261, 0.06219276, 0.037516776, -0.034654673, 0.08132503, 0.09256717, 0.027306026, -0.017301552, -0.009269609, -0.038290318, 0.050538063, -0.0060078413, 0.026712976, 0.025397956, 0.04239009, 0.012228407, -0.026261745, 0.012840794, -0.05306497, -0.000992712, -0.009230932, 0.008702345, -0.05502461, 0.06245061, 0.019377222, 0.02444392, 0.06353357, 0.018539218, -0.011996345, 0.014220277, -0.03965691, 0.03769727, 0.028492123, -0.0040288637, -0.02399269, -0.0004137643, -0.079571664, -0.011139002, 0.074930415, 0.044478655, 0.014903572, -0.013395166, -0.035454, 0.014478124, 0.00673626, -0.028904678, -0.06394612, 0.0138979675, -0.024314998, -0.037903547, 0.023141792, -0.0064687436, -0.0041642333, -0.05507618, -0.017121058, 0.005572724, -0.03233405, -0.020821167, -0.050795913, 0.0555403, 0.04107507, -0.03403584, -0.026107036, 0.07451786, -0.039476417, -0.0021062898, -0.022793699, -0.0075098015, -0.033752207, 0.0105588455, 0.0133693805, 0.031508937, 0.036949515, -0.0335975, 0.020395719, -0.0033939148, 0.0037420085, 0.0212724, -0.02939459, 0.036975298, -0.0024479376, -0.05466362, 0.026248852, 0.01276344, -0.038316105, 0.0052375225, -0.026867686, -0.0056436323, 0.022226434, 0.08844161, -0.008773253, 0.03119952, 0.01129371, -0.017366014, 0.00031243838, -0.036175974, -0.0046186894, -0.008457391, -0.029549297, -0.010784462, -0.0138979675, 0.022716345, 0.006278581, 0.010752231, 0.0020595551, 0.022432713, 0.016424872, -0.029729791, 0.02885311, -0.03202463, 0.03431947, 0.008251113, 0.039347492, 0.022664774, -0.023077331, 0.03844503, -0.025397956, -0.0051569454, 0.028002214, 0.03272082, -0.0016888996, -0.011042309, 0.008199543, -0.016128346, 0.023644594, -0.0041191103, 0.026790332, -0.0040836562, -0.025049862, -0.012228407, -0.003948286, 0.011371065, -0.03447418, -0.033288084, -0.033726424, -0.02841477, 0.0038870475, 0.011448419, -0.0022996753, -0.0019644739, -0.007155262, -0.060078412, -0.012634516, -0.007812772, -0.0158705, -0.053271245, -0.04762439, 0.030451763, 0.030425977, -0.0024978954, 0.028002214, -0.028260062, 0.011828744, 0.028543692, -0.037336286, 0.018268479, 0.04277686, 0.029110957, -0.044710718, 0.0019789778, -0.02116926, 0.018139556, -0.027306026, -0.006568659, -0.014478124, -0.0021707518, -0.022071727, 0.0012980999, 0.012060806, 0.006065857, -0.008676561, -0.0021739749, 0.023954011, 0.010223644, 0.006239904, 0.0029265664, 0.03388113, -0.012331545, -0.018719712, 0.025333494, -0.049893446, 0.04277686, -0.03638225, -0.01467151, 0.0053471075, 0.0055147083, 0.004612243, -0.018281372, -0.04798538, -0.020808274, 0.010565292, -0.037877765, 0.014426555, -0.015947854, -0.008541191, -0.009095563, 0.011313049, -0.056262273, -0.019170944, -0.014323416, -0.012705424, -0.013988215, 0.015831823, 0.009043993, -0.007155262, -0.010043151, 0.0041416716, 0.0017291883, 0.036588527, 0.019454576, -0.0035260613, 0.018036416, 0.053322814, -0.024095828, 0.007097246, 0.01592207, 0.007135923, -0.012943933, -0.002414095, 0.011661143, -0.021736525, -0.04904255, 0.009811088, 0.0056436323, -0.009811088, 0.042854216, -0.01926119, 0.0039966325, 0.029600866, -0.008599207, -0.004905544, 0.018706819, -0.014142923, -0.0030458209, -0.023489887, -0.0020998437, 0.0031118942, -0.03676902, -0.0033101144, 0.039579555, 0.0017372459, 0.010507276, 0.01701792, 0.0029910284, 0.0115064345, -0.010887601, 0.0022029825, 0.026738761, 0.0047798436, -0.044478655, -0.026532484, 0.0016905111, -0.027073963, -0.012621623, 0.0038741552, -0.02918831, -0.0084960675, -0.03272082, -0.025423741, 0.036175974, 0.008515406, 0.035763416, -0.0022078173, -0.011016524, 0.006417174, 0.009340517, 0.006036849, -0.05853133, -0.05847976, 0.008657222, -0.0025752496, -0.014065568, 0.035531353, -0.014980926, 0.019622177, 0.0327466, 0.003932171, -0.051621024, -0.035015658, 0.0123831155, 0.0047411667, -0.028827325, 0.0017678654, -0.014026891, -0.015457944, -0.01483911, -0.0064784125, -0.018938882, -0.004718605, -0.03901229, -0.052807122, -0.0020514973, 0.00074010226, 0.02466309, -0.010655538, -0.0062463502, -0.0028588816, -0.0155224055, 0.009559687, 0.009514565, -0.008212436, -0.019519038, -0.0018339388, -0.015496621, 0.05961429, -0.041797042, -0.037568346, -0.0032843295, 0.004463981, 0.014826218, -0.0020740589, 0.005920818, -0.046825062, -0.022935515, 0.020924306, 0.032591894, -0.020627782, -0.010004474, -0.0033584607, 0.001460866, 0.036201756, -0.029729791, 0.0050247987, 0.000044040517, -0.0032279254, 0.00429638, -0.0042641493, -0.04860421, 0.0074969092, -0.020975875, -0.032978665, 0.007767649, -0.0063269273, -0.0047314973, 0.043937176, 0.0047637285, -0.007986819, 0.0035518461, 0.039682694, 0.026558269, -0.004505881, 0.0052020685, 0.0007908659, -0.034113195, 0.020473072, 0.014516802, -0.015148527, -0.017520722, -0.0248178, -0.007973927, 0.01581893, 0.018049309, 0.003229537, -0.0034325917, 0.010848924, -0.015006711, 0.012531377, -0.0060723033, 0.010417029, -0.0038709322, -0.013027733, 0.010732893, -0.005066699, -0.019325653, -0.03364907, -0.03486095, -0.0019386892, -0.009952905, -0.0004903127, -0.023270717, -0.012679639, 0.013408058, -0.0018532772, 0.0019805892, -0.040172603, 0.019119374, -0.014491017, -0.011325941, -0.015483729, 0.056984246, -0.02029258, 0.017507829, -0.018229801, 0.032101985, -0.020318365, 0.0033520146, 0.017752785, -0.017391799, -0.00744534, -0.019867131, -0.029884499, -0.014787541, 0.014607048, -0.0339327, 0.02885311, -0.011893205, -0.040456235, -0.022755021, -0.023683272, -0.0030297055, -0.042802647, -0.008534744, 0.007767649, -0.019712424, -0.13108955, 0.007587156, 0.034345258, 0.008734576, 0.02596522, 0.007832111, 0.0090246545, 0.0072455085, 0.007142369, -0.035840772, -0.004970006, -0.018977558, -0.0061657727, 0.008438052, 0.0067233676, -0.050976407, -0.011873866, -0.004857198, 0.011841636, 0.019776886, 0.016295947, 0.04053359, -0.027357595, 0.016167024, -0.010159182, 0.010165629, -0.000015057878, 0.023296501, -0.03349436, -0.004957114, -0.010487937, -0.00063897774, -0.0029442934, 0.027306026, -0.016695611, -0.010223644, 0.022278003, -0.023941118, -0.04543269, -0.0017807577, -0.015045389, 0.009192255, 0.0388318, -0.012789224, 0.021594709, -0.03388113, 0.0009822369, -0.010810247, 0.026996609, -0.009733735, -0.019067805, 0.01767543, 0.026558269, -0.029729791, -0.020395719, 0.04532955, 0.031044811, -0.016760072, -0.030013422, 0.018861528, -0.021865448, -0.037413638, -0.011371065, 0.018565003, -0.03310759, -0.0054824776, -0.020086301, 0.004892652, -0.017430475, -0.02983293, 0.009675719, -0.0064268433, -0.015354805, 0.049119905, 0.013156657, -0.021826772, -0.016721396, 0.0514921, -0.007780541, 0.05548873, -0.009153578, -0.005421239, 0.010732893, 0.038316105, 0.0107586775, -0.0124927005, 0.023064438, -0.034164764, -0.04151341, 0.030193916, -0.0023657486, -0.01306641, -0.00246083, 0.017572291, 0.0031779676, -0.0025994228, 0.009295394, 0.006568659, 0.03473203, 0.0004371317, -0.030761179, 0.044581793, -0.012550716, -0.039785832, -0.0025301264, 0.0074711246, 0.0024269875, -0.012093037, -0.005878918, 0.0018339388, -0.0036066386, -0.012363777, -0.0059723873, 0.017275767, 0.008135081, 0.018784173, 0.027228672, -0.02694504, 0.073795885, 0.0068265065, 0.039734263, 0.009037547, -0.06781383, -0.028930463, -0.0075098015, -0.00083397474, 0.011538666, -0.0015559471, 0.006691137, 0.01969953, 0.012550716, 0.030168131, 0.0030538787, 0.009727288, -0.045510042, 0.0020756705, 0.011061648, 0.029858714, -0.016128346, 0.0041320026, 0.0020434395, 0.015780253, 0.047959592, -0.012570054, -0.0090311, -0.031328443, 0.0064332895, -0.0314058, -0.009920673, 0.017881708, 0.007342201, -0.0028057005, 0.022574529, 0.03388113, -0.0001921768, 0.011944775, 0.0032021408, -0.041281346, 0.025114324, 0.0006591221, 0.015354805, 0.029033603, -0.042802647, -0.009372748, -0.013872183, -0.011873866, 0.0011296934, 0.0019870356, -0.00074332533, 0.013330704, -0.053116538, -0.029652435, 0.0072261696, 0.047005557, 0.008566976, 0.034345258, 0.015161419, 0.022574529, -0.004492989, 0.023373855, -0.03279817, 0.049403537, -0.04019839, 0.040172603, 0.040610947, -0.03480938, 0.02258742, -0.013885075, -0.005179507, 0.036562745, 0.021646278, 0.014478124, 0.044942778, 0.0050989296, 0.013704582, -0.018616572, -0.002517234, 0.038909152, -0.0081673125, -0.025991004, -0.046232015, 0.04723762, -0.0052600843, -0.005111822, -0.0034164763, -0.0015833434, 0.018320048, -0.028827325, -0.03272082, 0.028053783, -0.010726446, 0.01860368, -0.029523512, 0.021349754, 0.014091353, 0.025539773, -0.015947854, -0.019145159, 0.0055211545, 0.01218973, -0.0026671076, -0.03279817, -0.024585737, 0.06982504, -0.005608178, -0.0039515095, 0.023928227, -0.018139556, 0.003867709, -0.003332676, 0.03780041, -0.0063301506, -0.010481492, -0.0016792304, -0.020692244, -0.010455707, -0.014168708, -0.028982034, 0.0029620205, 0.011635358, 0.035582922, -0.017443368, -0.004573566, 0.008747469, 0.023773517, -0.014903572, 0.023167577, -0.0018774504, -0.041668117, -0.013395166, -0.029936068, 0.012241299, 0.03065804, -0.04932618, 0.006523536, -0.017378906, 0.0047572823, 0.03398427, 0.02797643, 0.029523512, -0.006488082, 0.014594155, -0.00017545701, -0.048475288, -0.0037355623, 0.016669827, -0.011190572, -0.006220565, -0.021117691, -0.010739339, -0.05378694, 0.0076387255, 0.0009073001, 0.01156445, -0.041616548, -0.0015229104, -0.024044259, -0.029368805, -0.0025381842, -0.017082382, -0.0398374, 0.0008895731, -0.027048178, 0.025617126, 0.0050763683, -0.015754469, -0.026661407, -0.023309393, 0.001719519, 0.012047914, 0.053477522, 0.017314443, -0.009321179, -0.008857054, 0.013588551, -0.023360962, 0.010023813, 0.000007887759, -0.0032939988, -0.0023109561, 0.01926119, 0.03939906, 0.00785145, -0.008231774, 0.010745785, 0.029497728, 0.007890127, -0.013163103, -0.01222196, 0.0021723632, -0.021788094, 0.009643488, -0.005173061, -0.01652801, 0.006858737, 0.003339122, 0.00012559982, -0.033571713, -0.017765677, -0.028646832, 0.0028733856, -0.0057016476, 0.012705424, -0.008818377, -0.0132404575, -0.012866579, -0.014387878, -0.015831823, -0.018732604, -0.008212436, -0.018229801, 0.024456814, -0.025617126, -0.006488082, -0.0107780155, -0.0068651834, -0.031741, -0.019776886, 0.010191414, -0.010184967, 0.040791437, 0.042441662, 0.01483911, -0.0053471075, -0.0017485268, 0.010829586, 0.007825664, -0.031070596, -0.0077160797, 0.019983163, 0.0764775, 0.0038773783, -0.022755021, 0.018152447, -0.0023109561, 0.051027976, 0.007845003, 0.014220277, -0.021207938, 0.0025091763, -0.011010079, 0.010642646, 0.017971955, -0.011055201, -0.009811088, 0.0034519304, -0.029497728, 0.03158629, 0.022664774, 0.023038654, 0.012634516, 0.00992712, 0.0011844859, 0.0058047865, -0.005711317, 0.017868815, 0.022239327, 0.018784173, 0.012028575, -0.020099195, 0.02088563, -0.006916753, -0.026996609, 0.022832375, -0.0373105, 0.0010660373, 0.0069489838, 0.04587103, -0.0015470836, 0.0031860254, 0.021091906, -0.0010023812, -0.0024028143, -0.010081829, -0.0005857968, 0.008328467, 0.00027920023, -0.00026449488, -0.00044357788, 0.029961852, -0.015677113, -0.04215803, -0.005595286, 0.002626819, -0.025294818, -0.006384943, -0.004696043, 0.036846373, 0.020434396, 0.015664222, -0.030400192, 0.040559374, -0.0192483, 0.017727, -0.012666747, -0.033468574, -0.0088054845, 0.013111534, -0.05221407, -0.0041255564, -0.0023979796, -0.024856476, -0.012969717, 0.02171074, -0.0105395075, -0.0077096336, 0.023979796, 0.018990451, 0.022071727, -0.010971401, 0.013343596, 0.021633387, -0.019054914, -0.060800385, -0.012125268, 0.0067878296, 0.029007819, -0.013640121, -0.014349201, 0.01440077, -0.021117691, 0.021014553, 0.037387855, 0.010823139, -0.014710187, -0.017739892, -0.0141816, 0.024624415, 0.0054889238, -0.014942249, -0.005920818, -0.0073486473, 0.0020160433, -0.0050119064, -0.018771281, 0.004093325, -0.045149058, -0.024340782, -0.000020786418, 0.029987637, 0.025823403, -0.009869104, -0.00984332, 0.012634516, 0.00673626, 0.01745626, -0.014980926, 0.0062012267, -0.02967822, -0.03148315, 0.009185809, -0.021014553, 0.015573975, 0.030142346, 0.018023524, 0.038290318, 0.00051206857, -0.0024769453, 0.014452339, 0.016618257, -0.04014682, 0.0044478653, 0.0043866266, 0.02459863, 0.0058402405, 0.009727288, -0.015754469, -0.012653855, -0.00061561033, -0.011790066, 0.008283343, 0.058067206, -0.022548744, -0.01559976, 0.00025341552, 0.019738209, 0.016566686, -0.010823139, 0.0017855923, 0.045458473, -0.019660855, 0.038006686, -0.0064397356, 0.029858714, -0.0017662538, 0.0105588455, -0.0050183525, 0.005385785, 0.0133693805, 0.006923199, -0.007380878, 0.004173903, -0.009050439, -0.000584991, 0.060748816, 0.011409742, -0.019828456, 0.015664222, 0.0044446425, -0.030864319, 0.007986819, -0.009714396, 0.03256611, -0.020408612, -0.010797354, -0.029085172, -0.0056533013, 0.023425424, -0.0175594, 0.015354805, -0.016257271, -0.030193916, 0.008173758, -0.014233169, -0.021504462, -0.02929145, 0.0059691644, -0.013072857, 0.0061528804, -0.015445052, 0.00032996392, -0.021207938, -0.030915888, -0.0020337703, -0.005856356, 0.047160264, 0.001956416, 0.016605364, 0.04004368, 0.020834059, 0.0088635, -0.04968717, -0.0054115695, 0.011487096, -0.007735418, 0.040791437, 0.03277239, 0.023167577, -0.002183644, -0.029807145, -0.0040191943, -0.00828979, 0.006852291, 0.02733181, -0.0075226943, 0.02618439, 0.007438894, -0.003793578, -0.04210646, -0.0033939148, -0.012118822, -0.03192149, -0.032385617, 0.010971401, 0.0025510765, 0.016283056, 0.01799774, 0.0023721948, -0.021504462, -0.0031989177, -0.012163945, -0.01953193, 0.0032488755, -0.009727288, 0.022948407, 0.0018339388, -0.011551558, -0.017482044, -0.011931882, 0.021955695, 0.008921515, 0.010790908, 0.026480915, -0.002676777, -0.021195045, 0.03186992, 0.020369934, 0.0320762, -0.00081342756, -0.014258954, 0.015664222, -0.0096821645, -0.0065460973, -0.018010631, 0.023438318, -0.013143765, 0.015960746, -0.011906098, -0.00063575467, 0.013614336, 0.0056275167, -0.00744534, -0.028440554, 0.019622177, -0.00028343056, 0.009669272, -0.05144053, 0.018590787, -0.016605364, 0.0022174865, -0.0081673125, 0.033468574, -0.0060142875, 0.005853133, -0.022226434, -0.016321732, -0.0104492605, -0.00013083735, -0.0055791703, -0.023270717, 0.031276874, 0.02388955, -0.027125534, -0.030477548, -0.0062689115, 0.015290343, -0.040507805, -0.0044962117, 0.0003793175, -0.024147397, 0.012570054, -0.010346122, 0.011371065, 0.0014471678, -0.0150840655, -0.000006861658, -0.012524931, -0.02100166, -0.020769598, 0.02628753, -0.0567264, 0.024611522, 0.015122742, 0.024134504, 0.021594709, 0.020576213, -0.021195045, 0.04195175, -0.009417872, -0.023541456, -0.0025430187, 0.022097511, -0.0074066627, 0.01148065, 0.042183813, -0.02820849, -0.013923752, 0.027228672, -0.025449526, 0.029729791, -0.016411979, 0.000079116806, -0.015625544, -0.0020772822, 0.031663645, 0.002485003, -0.025539773, -0.004009525, 0.011383957, 0.028388985, 0.042854216, -0.014697295, 0.008341359, 0.014916465, 0.012112375, 0.01659247, 0.014065568, -0.006813614, 0.0036356465, 0.0031828021, -0.009469441, 0.022987084, 0.001407685, -0.006504197, -0.000054842905, 0.029420374, 0.010700662, -0.007922357, 0.0067233676, 0.020228118, 0.024340782, 0.01931276, -0.0066846902, 0.021246616, 0.018693928, 0.005253638, 0.036897942, -0.02918831, -0.024160288, 0.012170391, -0.023541456, -0.03315916, 0.022097511, 0.020962983, 0.009701503, 0.031251088, -0.019054914, -0.026055466, -0.010713554, -0.025668696, 0.010971401, 0.046154663, 0.022690559, 0.0283632, -0.038702875, 0.0050247987, -0.016553795, -0.021826772, -0.005920818, -0.034113195, 0.031766783, -0.061780207, 0.039089646, -0.036150187, 0.0023157909, 0.004654143, -0.010068936, -0.019647961, 0.00045203848 ]
2310.12773
6
with Human Feedback (RLHF) (Christiano et al., 2017; Ouyang et al., 2022) is a practical approach for aligning LLMs with human preferences, both in terms of style and ethical values (Bai et al., 2022a; Ganguli et al., 2022). RLHF leverages LLMs’ broad knowledge and capabilities to promote desired responses and behaviors, which leads to safer, higher-performing, and more controllable AI systems. Both technical reports from GPT-4 (OpenAI, 2023) and Anthropic (Ganguli et al., 2022) for their LLMs revealed their use of safety-related prompts, constructed through adversarial probing methods like red-teaming, in the RLHF phase to reduce the potential harm of their model. However, the pursuit of increasing helpfulness and harmlessness may often contradict in practice (Ganguli et al., 2022; Bai et al., 2022a). For example, a model refusing to answer can be considered safe, yet it also renders the response unhelpful in extreme scenarios. Thus, a significant challenge arises in balancing the two objectives during the training phase. Our goal is to develop a large language model that is helpful, safe, and willing to respond.
2310.12773#6
Safe RLHF: Safe Reinforcement Learning from Human Feedback
With the development of large language models (LLMs), striking a balance between the performance and safety of AI systems has never been more critical. However, the inherent tension between the objectives of helpfulness and harmlessness presents a significant challenge during LLM training. To address this issue, we propose Safe Reinforcement Learning from Human Feedback (Safe RLHF), a novel algorithm for human value alignment. Safe RLHF explicitly decouples human preferences regarding helpfulness and harmlessness, effectively avoiding the crowdworkers' confusion about the tension and allowing us to train separate reward and cost models. We formalize the safety concern of LLMs as an optimization task of maximizing the reward function while satisfying specified cost constraints. Leveraging the Lagrangian method to solve this constrained problem, Safe RLHF dynamically adjusts the balance between the two objectives during fine-tuning. Through a three-round fine-tuning using Safe RLHF, we demonstrate a superior ability to mitigate harmful responses while enhancing model performance compared to existing value-aligned algorithms. Experimentally, we fine-tuned the Alpaca-7B using Safe RLHF and aligned it with collected human preferences, significantly improving its helpfulness and harmlessness according to human evaluations.
http://arxiv.org/pdf/2310.12773
Josef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji, Xinbo Xu, Mickel Liu, Yizhou Wang, Yaodong Yang
cs.AI, cs.LG
null
null
cs.AI
20231019
20231019
[ { "id": "2302.13971" }, { "id": "2304.05302" }, { "id": "1707.06347" }, { "id": "2305.18290" }, { "id": "2305.10403" }, { "id": "2305.03047" }, { "id": "2211.05100" }, { "id": "2110.08207" }, { "id": "2304.05335" }, { "id": "2107.03374" }, { "id": "2105.04054" }, { "id": "2209.07858" }, { "id": "2305.15324" }, { "id": "2307.09288" }, { "id": "2210.11416" }, { "id": "2212.08073" }, { "id": "2307.12950" }, { "id": "2009.11462" }, { "id": "2307.04657" }, { "id": "2204.05862" }, { "id": "2112.00861" }, { "id": "2209.14375" }, { "id": "2303.00957" }, { "id": "2306.01693" }, { "id": "2305.01937" }, { "id": "2307.15217" }, { "id": "2306.17492" }, { "id": "2112.04359" }, { "id": "1506.02438" } ]
{ "authors": "Josef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji, Xinbo Xu, Mickel Liu, Yizhou Wang, Yaodong Yang", "chunk_id": 6, "doc_id": "2310.12773", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12773", "summary": "With the development of large language models (LLMs), striking a balance\nbetween the performance and safety of AI systems has never been more critical.\nHowever, the inherent tension between the objectives of helpfulness and\nharmlessness presents a significant challenge during LLM training. To address\nthis issue, we propose Safe Reinforcement Learning from Human Feedback (Safe\nRLHF), a novel algorithm for human value alignment. Safe RLHF explicitly\ndecouples human preferences regarding helpfulness and harmlessness, effectively\navoiding the crowdworkers' confusion about the tension and allowing us to train\nseparate reward and cost models. We formalize the safety concern of LLMs as an\noptimization task of maximizing the reward function while satisfying specified\ncost constraints. Leveraging the Lagrangian method to solve this constrained\nproblem, Safe RLHF dynamically adjusts the balance between the two objectives\nduring fine-tuning. Through a three-round fine-tuning using Safe RLHF, we\ndemonstrate a superior ability to mitigate harmful responses while enhancing\nmodel performance compared to existing value-aligned algorithms.\nExperimentally, we fine-tuned the Alpaca-7B using Safe RLHF and aligned it with\ncollected human preferences, significantly improving its helpfulness and\nharmlessness according to human evaluations.", "text": "with Human Feedback (RLHF) (Christiano et al., 2017; Ouyang et al., 2022) is a practical approach for aligning LLMs with human preferences, both in terms of style and ethical values (Bai et al., 2022a; Ganguli et al., 2022). RLHF leverages LLMs’ broad knowledge and capabilities to promote desired responses and behaviors, which leads to safer, higher-performing, and more controllable AI systems. Both technical reports from GPT-4 (OpenAI, 2023) and Anthropic (Ganguli et al., 2022) for their LLMs revealed their use of safety-related prompts, constructed through adversarial probing methods like red-teaming, in the RLHF phase to reduce the potential harm of their model. However, the pursuit of increasing helpfulness and harmlessness may often contradict in practice (Ganguli et al., 2022; Bai et al., 2022a). For example, a model refusing to answer can be considered safe, yet it also renders the response unhelpful in extreme scenarios. Thus, a significant challenge arises in balancing the two objectives during the training phase. Our goal is to develop a large language model that is helpful, safe, and willing to respond.", "title": "Safe RLHF: Safe Reinforcement Learning from Human Feedback", "year": 2023 }
[ 0.0134109, 0.010595471, 0.059432063, 0.0069705155, 0.015115918, -0.03567643, -0.032381017, 0.03851335, 0.020890055, 0.063673116, 0.006805745, -0.03980286, -0.025417667, -0.0038685286, -0.004781931, -0.0680861, 0.024056517, -0.057024978, -0.00019376224, 0.031521346, -0.0061609903, 0.013547014, 0.0016315877, 0.044187196, -0.024156813, -0.015216213, 0.030575704, 0.016534379, -0.01435654, 0.016362444, 0.04888674, -0.020546185, -0.03298279, 0.0013262248, -0.003463766, 0.025976453, 0.015488443, 0.010237273, 0.0007472887, 0.022910286, -0.013747605, -0.03765368, -0.0075794505, 0.031865213, 0.00050908764, 0.032724887, 0.025833175, 0.016763624, 0.0062290477, 0.017078837, -0.036106266, 0.023655336, -0.019944414, 0.004807005, -0.034358267, 0.004298365, 0.010602634, -0.0015142782, 0.01290226, 0.01773792, -0.009728633, -0.034988694, -0.009907732, 0.009442075, -0.05679573, -0.03647879, -0.087342784, -0.009972207, 0.023053566, 0.032954134, 0.024185468, -0.030346459, 0.01869789, 0.002335445, -0.016606018, 0.017279427, 0.04762589, 0.042553816, 0.0068129087, -0.011999602, -0.002711552, -0.0034028725, -0.0054410137, -0.046365034, -0.0071137943, 0.0042231437, -0.043786015, 0.0119207995, -0.06728374, -0.051351137, -0.016548706, -0.031120164, -0.018454315, 0.015989918, -0.000101078746, -0.017523002, -0.005150874, 0.007780041, 0.07083706, 0.038828567, 0.00061206927, -0.026649864, 0.017293757, -0.015072934, 0.020460218, 0.0217354, 0.024314418, 0.0010951876, 0.013281949, -0.018970119, -0.056107994, -0.008532255, -0.042123977, 0.009399092, 0.019213693, -0.052153498, -0.051895596, 0.007457664, -0.0018966537, -0.01597559, -0.049001362, -0.0029533352, 0.040605225, -0.043298867, 0.0007025141, -0.014571458, 0.032295052, -0.049259264, 0.006863056, -0.035303906, 0.00839614, 0.079949595, 0.00073609507, -0.0196292, -0.060635604, 0.020689465, -0.013217473, -0.019643528, -0.026707176, -0.06183915, 0.005903088, -0.025761535, -0.04685218, 0.0022673877, -0.035303906, -0.00033401878, -0.0066338102, 0.0029927369, -0.045333426, 0.022451794, -0.040060762, -0.008381812, -0.044330474, 0.044645686, -0.0312921, -0.005082817, -0.016133197, 0.033298, -0.0013092104, -0.06791417, 0.009857584, 0.04395795, -0.0013280157, 0.003105569, 0.036593415, 0.013117177, 0.011039634, -0.0026309576, -0.03739578, -0.011763193, -0.017508674, 0.0134180635, -0.05132248, -0.014858016, -0.03567643, -0.023168188, 0.020402906, -0.017580314, -0.0015671123, -0.030231835, -0.025632584, 0.025919141, -0.04759723, -0.020216644, -0.05186694, 0.002865577, -0.018726544, -0.011462308, -0.029128589, -0.012973899, 0.006268449, 0.054274026, 0.0583718, -0.0002682001, 0.036335513, -0.004552685, 0.06052098, 0.02660688, 0.0043914965, -0.05226812, 0.020331267, 0.021649433, -0.011397832, -0.080064215, 0.0032649667, 0.022423139, -0.016133197, 0.025202747, -0.021047661, -0.026965078, 0.043757357, 0.02985931, 0.058543734, 0.050806675, -0.040920436, 0.018583266, -0.031979837, -0.001357567, -0.009513715, 0.018167756, -0.018382676, 0.015244869, 0.034644824, 0.019313987, -0.06877384, 0.013403735, 0.03622089, -0.045963854, 0.0419807, -0.04387198, 0.059546687, 0.0047604395, -0.020875728, -0.035533153, 0.023870254, -0.018568937, -0.003829127, -0.00050729665, 0.01766628, -0.02451501, 0.015660377, -0.0069633517, 0.026091076, -0.036278203, -0.0029175153, 0.0052977353, 0.005795629, -0.04103506, 0.042209946, -0.0038076353, 0.008095254, -0.05613665, 0.021993302, -0.048944052, -0.024729928, -0.003918676, -0.009191338, -0.0036213726, -0.035962988, -0.04129296, -0.031922527, 0.037596367, 0.01141216, 0.0556495, 0.013890884, -0.008037942, -0.047740508, 0.014650261, -0.025145436, 0.006623064, 0.015316508, 0.020546185, -0.0016369608, -0.014929655, -0.05435999, -0.017938511, 0.0720406, 0.053242415, -0.013468211, 0.04252516, -0.02627734, -0.00088877656, 0.048313625, -0.01686392, -0.00030513917, 0.03547584, -0.018540282, -0.03745309, -0.030489737, -0.014571458, 0.0108533725, -0.01219303, 0.06516322, -0.02288163, -0.00036715204, 0.018153429, 0.048199, 0.016620345, -0.0042912015, 0.014786377, 0.015187557, 0.048199, -0.02538901, -0.03948765, 0.031464033, 0.03378515, -0.018740872, -0.01679228, 0.04306962, 0.008560911, 0.0268218, 0.036106266, 0.0047711856, 0.019113397, -0.055276975, -0.053271074, 0.043241553, -0.017422708, -0.003105569, -0.041722797, -0.037968893, -0.027122684, 0.03696594, -0.0509213, 0.00026506584, -0.030461082, 0.036192235, -0.013346424, -0.038341418, 0.0035909258, 0.012372128, -0.013618654, 0.0050971447, -0.0052511697, 0.018167756, -0.03249564, -0.034730792, 0.019514577, 0.018669233, -0.0043628407, -0.057454813, -0.003479885, -0.042381883, 0.03332666, -0.06527784, 0.025675569, -0.02911426, -0.012092734, 0.047282018, 0.046422344, -0.00110862, -0.014506983, -0.0065908264, 0.016376771, -0.042869028, 0.034960035, 0.006307851, -0.018927135, 0.034243643, 0.005799211, -0.032782197, 0.0070672287, -0.0008037047, 0.001613678, -0.008553747, 0.03155, -0.0016772579, -0.0036303275, 0.016090214, -0.018998774, 0.025002157, -0.0039867335, -0.0008260921, 0.014671753, -0.05246871, 0.056623798, 0.024472026, -0.014621605, -0.006773507, 0.008252861, 0.0030661672, -0.015359492, -0.008725681, -0.047253363, -0.0049574478, 0.0491733, -0.023999205, -0.032724887, -0.01228616, -0.002460814, 0.014621605, -0.012415111, -0.04218129, -0.0016486022, 0.02424278, -0.0013898048, -0.017952839, 0.058543734, 0.059088193, 0.03080495, -0.019643528, -0.04020404, -0.052382745, 0.033298, -0.012436603, 0.00044371665, -0.010652781, 0.03682266, 0.0059854737, 0.046451, 0.034845416, -0.034759447, 0.020732448, -0.0016602436, 0.012135718, -0.039373025, 0.036536105, -0.010344733, 0.019801136, 0.02213658, -0.0014381614, -0.046221755, 0.009900568, -0.03407171, 0.04355677, 0.028225932, 0.017766576, -0.018654905, -0.0056236945, -0.066252135, -0.02058917, 0.06671063, 0.017035855, -0.06344387, -0.043356176, 0.008582403, 0.00670545, 0.018239396, -0.017207788, -0.02302491, 0.06682525, 0.015717689, -0.052210808, -0.026105404, -0.009979371, -0.019930087, -0.048657496, 0.025618257, -0.041407585, -0.025560945, -0.014858016, 0.011003815, 0.07295758, 0.014700409, -0.0016262148, -0.026864782, 0.053385697, -0.0300599, 0.029486785, 0.029329179, 0.033298, 0.001975457, -0.003479885, -0.015588738, 0.02133422, 0.022222549, 0.002971245, -0.0022835066, -0.032266393, -0.018368347, -0.010108322, -0.040662535, 0.040920436, -0.0151445735, -0.01835402, 0.007038573, 0.03243833, -0.03561912, 0.013360752, -0.021506153, 0.020947367, -0.00030872112, 0.016563034, -0.022251204, 0.061724525, 0.053500317, -0.004044045, 0.0069812615, -0.004910882, 0.02613406, 0.019170709, -0.029773343, 0.03710922, -0.017222116, 0.006773507, -0.035647776, 0.018253725, -0.006067859, 0.005322809, -0.022967597, -0.017351067, -0.0044917916, -0.059489373, 0.0392584, 0.01753733, 0.016878247, 0.058457766, -0.013833572, -0.009943551, 0.015173229, -0.014858016, 0.001728301, -0.027094029, -0.00022700742, -0.012021095, 0.023010582, -0.014249081, 0.011734537, -0.00883314, 0.034644824, 0.02356937, 0.0013781633, -0.016720641, -0.008152566, 0.027595505, 0.00716036, -0.034243643, -0.0026130478, -0.02491619, -0.031263445, -0.009391928, 0.001301151, 0.01679228, 0.01055965, -0.056681108, -0.015173229, -0.006691122, -0.030174524, -0.04685218, -0.045046866, 0.009857584, 0.009922059, 0.041264307, 0.017709265, 0.009621174, -0.011476635, -0.00516162, -0.008754337, 0.009513715, 0.031492688, 0.07421844, -0.03378515, -0.013568507, -0.022380155, -0.015946934, -0.014657426, 0.007787205, -0.020847071, 0.0019109815, 0.018038806, -0.013568507, -0.009621174, -0.0028046833, 0.0059818914, -0.039373025, -0.005774137, 0.007149614, 0.010896356, 0.021076318, 0.0018035223, -0.0020488873, -0.0059603998, 0.03983152, -0.062813446, 0.026234355, -0.011784685, 0.000057311536, 0.004172996, 0.05281258, 0.022380155, -0.028125636, -0.040461943, -0.015488443, 0.009091042, -0.03060436, -0.018583266, -0.0049037184, 0.021147957, -0.042295914, 0.028956654, 0.037596367, -0.0038685286, 0.01644841, -0.011834832, -0.026549568, -0.0072212536, -0.010008027, -0.0087471735, -0.0037037581, -0.016706312, -0.008503599, -0.0010280256, 0.015187557, -0.0030106467, -0.018912807, -0.0021312728, -0.0077370573, -0.010273092, 0.027781768, -0.0045097014, -0.01455713, -0.025059469, 0.009757289, -0.017394051, -0.025159765, -0.026033765, 0.007636762, -0.010645618, 0.03994614, -0.008840305, -0.023211172, 0.010745913, 0.012565554, -0.017379723, 0.023526385, -0.01977248, -0.008876124, 0.02945813, -0.045877885, -0.01584664, -0.040375978, 0.004824915, 0.0060929325, -0.023440419, 0.008840305, 0.017179133, 0.016161853, -0.00078803365, 0.0033509338, -0.04564864, 0.0143063925, 0.029300522, -0.01564605, -0.05897357, 0.018182084, -0.026520913, 0.01212139, -0.03094823, -0.002978409, -0.018139102, -0.04054791, -0.03541853, -0.010738749, 0.010824717, 0.007643926, -0.0005341614, -0.010638454, 0.041636832, 0.03169328, -0.0023390271, -0.037911583, -0.014943983, -0.025704224, 0.024543665, -0.007543631, 0.033469938, -0.0028046833, 0.033469938, 0.011763193, -0.021921663, -0.05146576, -0.0013495076, 0.0009984744, -0.017050182, -0.018597594, -0.038370073, -0.0012698087, -0.01889848, -0.008439124, 0.009119698, -0.00010247795, 0.010889192, -0.033842463, -0.07782906, 0.01888415, 0.02336878, 0.0434708, -0.015072934, -0.020359924, 0.027738784, -0.013289113, -0.010932175, 0.0036894302, -0.0048822267, -0.0005283407, 0.035791054, -0.0033795896, 0.055362944, -0.008811649, -0.025833175, -0.0056272764, 0.02905695, 0.015875295, -0.00307154, -0.0021491826, -0.039458994, -0.037940238, 0.038427386, 0.025288716, 0.021907335, -0.03547584, 0.0031198966, 0.023784287, 0.020402906, -0.0054696696, 0.007278565, 0.019485923, -0.0035371964, 0.015860967, -0.014241917, -0.0449609, -0.009499387, -0.023555042, 0.007443336, 0.001971875, 0.023827272, -0.0122001935, 0.01766628, -0.015115918, -0.009628338, 0.015044278, 0.014499819, -0.00058430905, -0.0077155656, -0.0022476867, -0.0017569568, -0.035189282, -0.01283062, -0.012565554, -0.0037359959, 0.0240995, 0.0067376876, -0.01502995, 0.020632153, 0.0033437698, 0.02091871, 0.041063715, 0.049115986, -0.000056695884, -0.014621605, -0.035504498, 0.014177442, -0.014399524, 0.013238965, 0.005913834, -0.018568937, -0.0062397933, -0.008618223, -0.025861831, 0.0075078113, 0.017651953, -0.00023193262, 0.0041192668, -0.02647793, 0.02627734, -0.017694937, -0.014621605, -0.001846506, 0.0151445735, -0.014048491, -0.010308913, -0.026391963, 0.017021526, -0.002829757, 0.04501821, -0.0262057, 0.006820073, -0.0036213726, -0.0031019868, 0.011455143, -0.0142849, -0.025346028, 0.023913238, -0.03891453, -0.02593347, -0.001237571, -0.014091474, 0.0048786444, 0.021706745, -0.01746569, -0.01888415, 0.033126067, -0.026191372, -0.019199364, -0.010588306, 0.053786878, 0.0022924615, -0.092271574, -0.005806375, 0.022236876, 0.011784685, 0.0034225732, 0.023855926, 0.020732448, 0.03177925, 0.011591258, -0.04094909, 0.03378515, 0.012844948, -0.004061955, 0.0042267255, 0.01055965, -0.06390236, 0.010609798, -0.0138765555, 0.043700047, -0.0043520946, -0.018339692, 0.0125297345, 0.0057204077, 0.022294188, -0.0056559322, -0.006225466, -0.009950715, 0.024300091, -0.015989918, 0.013654473, -0.019758152, -0.018038806, 0.0057633915, 0.0061609903, -0.037539057, -0.009922059, 0.011132766, -0.01835402, -0.0074218437, 0.024658289, 0.0053765383, -0.020660808, 0.03223774, -0.007034991, 0.028111309, -0.008245697, 0.017709265, -0.014700409, 0.015316508, -0.012637193, -0.0005887865, 0.016978543, -0.00045110448, -0.020861398, -0.031091508, 0.032782197, 0.021649433, 0.01611887, -0.0032685485, 0.013009719, -0.023526385, 0.001860834, -0.009513715, -0.026735831, -0.016147526, 0.018439986, -0.018425658, 0.023784287, -0.05926013, -0.03891453, -0.000072422976, -0.007131704, -0.015918279, 0.03785427, 0.04625041, 0.009778781, 0.0392584, 0.047969755, 0.012128553, 0.0051437104, 0.023254156, -0.029372163, 0.012329144, 0.029973933, 0.0047747674, 0.0070242453, 0.061094098, 0.009979371, -0.0377683, 0.026463602, 0.015545754, -0.004190906, 0.0019969488, 0.00944924, 0.014335048, -0.019829791, -0.022838647, 0.0032685485, 0.017121822, -0.056853045, 0.032409675, -0.0027509537, -0.044588376, -0.017422708, 0.012321981, -0.019442938, -0.009678486, 0.016219165, 0.03779696, 0.008962091, 0.0066266465, 0.02071812, -0.0127948, 0.010129814, 0.0034404832, 0.0375104, 0.008374648, 0.008195549, 0.030317802, 0.029916622, 0.003933004, 0.036392827, -0.026664192, 0.017351067, -0.013217473, -0.0031019868, -0.0070708105, 0.026148388, -0.011863488, 0.008818813, 0.016161853, -0.0045025377, 0.0046099965, -0.033957087, -0.05086399, 0.016204838, 0.027982358, 0.009742961, -0.036851317, 0.023612352, 0.026864782, 0.010308913, 0.034157675, -0.016348116, -0.038370073, -0.0058457768, 0.03736712, -0.019987399, -0.015230541, 0.0016020365, -0.008482107, -0.0060929325, 0.013324932, 0.052583333, 0.0125798825, 0.023383107, 0.035561807, -0.008317336, -0.02613406, 0.006436802, 0.010036683, 0.03983152, -0.03687997, -0.0062075555, 0.022050614, -0.011354848, -0.013002555, 0.022967597, 0.0056093666, 0.002971245, -0.027137013, -0.04103506, 0.0026775233, -0.02600511, 0.0066087367, 0.043212898, 0.014843687, 0.04355677, 0.011827668, 0.0390005, -0.000430732, 0.04292634, -0.0043950784, 0.023440419, 0.037080564, -0.017723592, -0.007199762, -0.014234752, -0.012680178, 0.025990782, 0.007629598, 0.006096515, 0.023798615, 0.03690863, -0.0017524794, -0.024729928, -0.00421598, 0.05504773, -0.044588376, -0.075823165, -0.0631, 0.06923234, 0.011992439, -0.0010566814, 0.0020327684, 0.01617618, 0.0036751023, -0.02376996, -0.020001726, 0.036306858, -0.026048094, 0.016649, -0.05226812, 0.008002123, 0.026635537, 0.0056523504, 0.0010047428, -0.013618654, -0.0037467417, -0.0047317836, -0.0036339096, -0.015918279, 0.009005075, 0.009707142, 0.007844516, -0.013941031, -0.028813375, -0.011498127, -0.001421147, -0.0022315679, 0.0014999503, -0.0072176717, 0.017838215, -0.004567013, -0.027523866, -0.01482936, 0.01706451, -0.016820936, 0.0013298067, 0.008589567, 0.03687997, 0.005559219, -0.008403304, -0.012458095, -0.00072982657, -0.0023032073, 0.021706745, -0.0081883855, -0.04630772, -0.029630065, 0.0070529007, -0.005946072, 0.013955359, 0.010072502, 0.011233061, -0.040175386, 0.030002588, 0.042066667, 0.039630927, 0.007443336, -0.042840373, 0.025174093, 0.010817552, 0.013625817, -0.009599682, -0.012128553, -0.003232729, 0.009384764, 0.031635966, -0.029945277, -0.022050614, 0.0016862128, -0.01699287, 0.024729928, -0.034157675, 0.0049861036, 0.03527525, 0.002351564, 0.020546185, 0.0030016918, -0.02166376, -0.00017081524, -0.03948765, 0.0052117677, 0.010301748, 0.012708833, 0.00968565, -0.026692849, 0.011498127, 0.020531857, 0.029343506, 0.048199, 0.007880337, 0.0056057847, 0.004018971, 0.005648768, 0.017909855, -0.032409675, 0.0134109, -0.009778781, 0.040719848, 0.029372163, 0.006565753, -0.018096117, 0.008997912, -0.016262148, -0.011748865, -0.057712715, 0.004018971, -0.03215177, -0.03040377, 0.010882027, 0.01584664, -0.04069119, 0.02268104, -0.024156813, -0.00007163942, -0.03541853, -0.0026309576, -0.039458994, -0.0022512688, 0.005183112, 0.0005610262, 0.005684588, -0.015918279, -0.0007643031, -0.013224637, -0.002100826, -0.017093165, -0.008553747, 0.013726112, 0.044445097, -0.02404219, 0.0016172599, -0.01942861, -0.018038806, -0.05120786, -0.02680747, -0.009764453, 0.0039007664, 0.03080495, 0.013654473, 0.02404219, 0.022236876, 0.009879076, 0.0069382777, -0.021019006, -0.045132834, 0.025489306, -0.007514975, 0.06969083, -0.022236876, -0.022724025, -0.014886672, -0.038226794, 0.03785427, 0.008553747, 0.027165668, 0.0024984248, 0.016477067, -0.004695964, 0.0035443604, -0.008109583, 0.01066711, -0.010058175, -0.009434911, -0.011841997, 0.044645686, 0.039602272, -0.0026220027, -0.009800273, 0.011634242, 0.0074648275, -0.015072934, 0.01821074, 0.01773792, 0.012028258, 0.035733745, 0.03094823, 0.024744255, 0.008883288, -0.011519618, -0.029171571, 0.01909907, -0.041952044, 0.006637392, 0.012658685, 0.0136974575, 0.0016253194, 0.00036491329, 0.020689465, 0.0045920867, 0.0044810455, -0.016706312, 0.006085769, -0.001233989, -0.022365827, 0.00030513917, 0.021821367, 0.016964214, -0.015674705, -0.020159332, 0.009442075, 0.0044774637, 0.02457232, -0.006658884, -0.011161421, 0.023526385, 0.020904383, 0.026750159, -0.019113397, 0.02627734, -0.039430335, -0.02404219, 0.02004471, 0.0006563962, 0.0019987398, 0.036335513, -0.036765352, 0.007930484, -0.023383107, -0.0004916255, 0.015760673, 0.00054804154, 0.00026237938, 0.011168585, -0.005645186, 0.012035423, -0.0144854905, 0.007557959, 0.029773343, 0.015259196, -0.0078015327, -0.011741701, -0.011390667, -0.010982323, 0.007873172, -0.008388976, -0.011426488, 0.011018143, -0.0064618755, 0.0387426, 0.05052012, 0.053528976, -0.035991646, 0.006762761, -0.011627078, 0.047367986, 0.03249564, 0.013174489, -0.022938943, -0.00843196, 0.012028258, 0.008911944, -0.034358267, -0.009112534, -0.0129882265, 0.017924182, 0.015989918, 0.014005506, -0.017637625, -0.039373025, 0.014549966, 0.016620345, 0.0021653015, 0.01005101, -0.00890478, 0.041006405, 0.018268052, -0.02438606, 0.0053693745, 0.012737489, 0.030518392, 0.01204975, -0.02133422, 0.008962091, -0.009040895, -0.027724456, 0.035561807, -0.008474943, -0.03501735, -0.007260655, 0.012909424, -0.00060624856, -0.017394051, -0.016620345, 0.008890452, -0.081497006, -0.0013951777, 0.0071281223, 0.012981063, 0.024228452, -0.0020506785, -0.007930484, -0.0069776797, -0.00394375, 0.016606018, 0.013238965, 0.013167325, -0.0057813013, -0.02404219, 0.01113993, -0.008338829, 0.021592122, -0.004796259, 0.042066667, -0.0052368417, -0.010251601, -0.025618257, 0.0025127525, 0.012207357, -0.011326192, -0.011533947, 0.019729497, 0.055850092, -0.013217473, 0.012021095, 0.022380155, 0.005552055, 0.014048491, -0.021276908, 0.0013620445, 0.011440815, -0.025489306, -0.0032972044, -0.04226726, -0.024357403, 0.034358267, 0.0035443604, 0.0127589805, -0.024686944, -0.004344931, -0.010581142, -0.008109583, -0.00057087664, -0.0062899413, 0.017236445, -0.008560911, 0.012386456, -0.010258765, -0.0119709475, -0.017279427, 0.0014354748, 0.0017990449, -0.00594249, 0.05777003, 0.013432391, -0.020703793, 0.039430335, 0.0010728004, 0.0038076353, -0.0054875794, -0.003821963, 0.014542802, -0.030862262, -0.015359492, -0.0076869098, -0.0017963585, -0.014478327, -0.004853571, -0.001668303, -0.018525954, 0.028268915, 0.02153481, 0.021907335, 0.027953701, -0.0068272366, -0.0062397933, -0.031635966, -0.007844516, -0.011018143, 0.007629598, -0.010201453, 0.0024035026, 0.002595138, 0.001979039, 0.0029228884, 0.019127725, -0.003327651, 0.027925046, 0.019313987, -0.029099932, 0.0029479621, 0.019829791, -0.015287852, 0.011168585, -0.012966735, -0.013324932, -0.0172651, 0.00995788, -0.02904262, 0.047511265, 0.012508242, -0.0033043684, -0.044645686, 0.04882943, 0.031177476, 0.040605225, -0.045304768, 0.0012483168, 0.022308515, 0.014313556, -0.009219993, -0.02633465, 0.04387198, -0.052124843, -0.0036195817, -0.0058601047, -0.030461082, 0.02904262, -0.0063723265, 0.00011798117, 0.0029748268, -0.0009662367, -0.031807903, 0.033498593, -0.003950914, -0.0001719346, 0.027910719, -0.02633465, 0.004312693, 0.0101942895, -0.018096117, -0.009528043, -0.009313124, 0.0015268151, -0.027437897, -0.014313556, 0.015316508, -0.02613406, -0.0010960831, 0.028354883, -0.014986967, -0.013589998, -0.008825976, 0.012644358, 0.006157408, -0.026864782, -0.0040082256, -0.009742961, -0.044903588, 0.02308222, 0.020847071, -0.0046243244, 0.0021187358, 0.019242348, 0.031034198, -0.00077460124, -0.0064833676, 0.031922527, -0.024729928, -0.016949886, 0.022580745, 0.037911583, 0.035447184, 0.026592553, -0.023683993, 0.0357624, -0.016391098, 0.020560514, 0.027982358, -0.020173661, 0.007636762, -0.0029891548, 0.050491463, 0.009635502, 0.017408378, -0.0101942895, -0.029716032, -0.0013145834, -0.00061206927, -0.021850023, -0.006902458, 0.012407947, 0.042439193, 0.017895527, 0.020474546, -0.013496866, 0.015760673, -0.001719346, -0.004069119, 0.029945277, 0.010781732, 0.04069119, -0.01997307, 0.02789639, -0.027466554, -0.006304269, 0.026019437, -0.007987795, -0.04570595, -0.0054983255, -0.02836921, 0.023454746, -0.0064869495, 0.00985042, 0.00069087266, 0.0021653015, 0.0064582936, 0.015817983, 0.02593347, 0.049660444, 0.0122001935, 0.0059926375, -0.022423139, -0.011834832, 0.013654473, -0.018669233, -0.030117212, -0.0066051544, -0.03541853, -0.023469074, 0.017164806, -0.0041407584, 0.0064797853, 0.018311035, -0.03372784, 0.017508674, -0.0090265665, -0.023626681, -0.003069749, 0.036994595, -0.00030603464, -0.023583697, -0.0039938977, -0.03432961, -0.025102453, -0.017852543, -0.0039401683, -0.027294619, -0.0043091113, -0.011347684, 0.00077773543, -0.039115123, -0.004599251, 0.005899506, -0.009492223, 0.0040118075, -0.0023193262 ]
2310.12397
7
2 # 3 Methodology # 3.1 The Graph Coloring Problem Because we are interested in LLMs’ self-critique capabilities, we chose Graph Coloring, a reasoning domain which is human readable, provides relatively short description and critique lengths, and, most importantly, is very easy to verify and provide feedback for. Though it is difficult to be certain, we also believe that this domain is diverse enough even at low node and edge counts that the instances we examine are very unlikely to be found in the LLM’s training data, thus minimizing the risk of model contamination and memorization. Graph coloring is a a canonical NP-complete reasoning problem that is related to both propositional satisfiability as well as practical problems like scheduling and allocation. It is broad enough to give insights into reasoning more generally, and simple enough to be specified and evaluated by a human or basic pattern matching.
2310.12397#7
GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems
There has been considerable divergence of opinion on the reasoning abilities of Large Language Models (LLMs). While the initial optimism that reasoning might emerge automatically with scale has been tempered thanks to a slew of counterexamples, a wide spread belief in their iterative self-critique capabilities persists. In this paper, we set out to systematically investigate the effectiveness of iterative prompting of LLMs in the context of Graph Coloring, a canonical NP-complete reasoning problem that is related to propositional satisfiability as well as practical problems like scheduling and allocation. We present a principled empirical study of the performance of GPT4 in solving graph coloring instances or verifying the correctness of candidate colorings. In iterative modes, we experiment with the model critiquing its own answers and an external correct reasoner verifying proposed solutions. In both cases, we analyze whether the content of the criticisms actually affects bottom line performance. The study seems to indicate that (i) LLMs are bad at solving graph coloring instances (ii) they are no better at verifying a solution--and thus are not effective in iterative modes with LLMs critiquing LLM-generated solutions (iii) the correctness and content of the criticisms--whether by LLMs or external solvers--seems largely irrelevant to the performance of iterative prompting. We show that the observed increase in effectiveness is largely due to the correct solution being fortuitously present in the top-k completions of the prompt (and being recognized as such by an external verifier). Our results thus call into question claims about the self-critiquing capabilities of state of the art LLMs.
http://arxiv.org/pdf/2310.12397
Kaya Stechly, Matthew Marquez, Subbarao Kambhampati
cs.AI
18 pages, 3 figures
null
cs.AI
20231019
20231019
[ { "id": "2206.10498" }, { "id": "2306.03872" }, { "id": "2303.11366" } ]
{ "authors": "Kaya Stechly, Matthew Marquez, Subbarao Kambhampati", "chunk_id": 7, "doc_id": "2310.12397", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12397", "summary": "There has been considerable divergence of opinion on the reasoning abilities\nof Large Language Models (LLMs). While the initial optimism that reasoning\nmight emerge automatically with scale has been tempered thanks to a slew of\ncounterexamples, a wide spread belief in their iterative self-critique\ncapabilities persists. In this paper, we set out to systematically investigate\nthe effectiveness of iterative prompting of LLMs in the context of Graph\nColoring, a canonical NP-complete reasoning problem that is related to\npropositional satisfiability as well as practical problems like scheduling and\nallocation. We present a principled empirical study of the performance of GPT4\nin solving graph coloring instances or verifying the correctness of candidate\ncolorings. In iterative modes, we experiment with the model critiquing its own\nanswers and an external correct reasoner verifying proposed solutions. In both\ncases, we analyze whether the content of the criticisms actually affects bottom\nline performance. The study seems to indicate that (i) LLMs are bad at solving\ngraph coloring instances (ii) they are no better at verifying a solution--and\nthus are not effective in iterative modes with LLMs critiquing LLM-generated\nsolutions (iii) the correctness and content of the criticisms--whether by LLMs\nor external solvers--seems largely irrelevant to the performance of iterative\nprompting. We show that the observed increase in effectiveness is largely due\nto the correct solution being fortuitously present in the top-k completions of\nthe prompt (and being recognized as such by an external verifier). Our results\nthus call into question claims about the self-critiquing capabilities of state\nof the art LLMs.", "text": "2\n# 3 Methodology\n# 3.1 The Graph Coloring Problem\nBecause we are interested in LLMs’ self-critique capabilities, we chose Graph Coloring, a reasoning domain which is human readable, provides relatively short description and critique lengths, and, most importantly, is very easy to verify and provide feedback for. Though it is difficult to be certain, we also believe that this domain is diverse enough even at low node and edge counts that the instances we examine are very unlikely to be found in the LLM’s training data, thus minimizing the risk of model contamination and memorization.\nGraph coloring is a a canonical NP-complete reasoning problem that is related to both propositional satisfiability as well as practical problems like scheduling and allocation. It is broad enough to give insights into reasoning more generally, and simple enough to be specified and evaluated by a human or basic pattern matching.", "title": "GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems", "year": 2023 }
[ -0.010264876, 0.0018988381, 0.027731562, -0.037963644, 0.022707349, -0.010435411, 0.026039334, 0.0018316081, -0.002464554, 0.063701265, 0.052996933, -0.06868612, -0.049874835, 0.033241145, 0.048694212, -0.03494649, 0.044758797, -0.011163463, 0.025803208, 0.030250229, 0.039721463, 0.042318836, 0.031037312, 0.003669775, 0.010009074, 0.0014454453, 0.033818338, -0.036494423, 0.022287572, -0.032900076, 0.046228018, -0.008946512, -0.087995894, -0.018837523, -0.00018150055, 0.049271405, -0.013708365, -0.0064245663, 0.026511583, 0.008657915, -0.020660933, -0.010015633, -0.034579188, -0.005906403, -0.011019164, 0.033319853, 0.00043535535, 0.035287563, -0.028781006, 0.042948503, -0.08127945, 0.03368716, 0.011550445, -0.0030056739, -0.030617535, 0.013865781, -0.050347086, 0.023481313, 0.009530265, -0.011911192, 0.028571118, -0.053521655, 0.0021661185, 0.01993944, -0.04465385, -0.010527237, -0.027652854, -0.01731583, 0.026996952, 0.021343071, -0.0101271365, 0.015400593, 0.035995934, -0.016738635, 0.007024717, 0.023586258, 0.07603223, -0.009615532, -0.00842179, 0.0064245663, 0.0039452543, 0.009392526, 0.047251225, -0.041794114, 0.020857703, -0.028833479, 0.036887962, -0.0027728283, -0.10609881, -0.08825826, -0.00015649426, -0.010461647, 0.020923294, 0.023874855, 0.08547723, 0.018155385, -0.005840813, 0.015872844, 0.01919171, 0.0120423725, -0.066114984, -0.013124611, 0.0043683113, -0.004653629, 0.024976771, 0.04963871, 0.032296646, 0.045021158, -0.017866787, -0.036520656, -0.08049237, -0.03914427, -0.056879874, -0.009353171, 0.028544882, -0.038409658, -0.035786048, -0.03722903, 0.032139227, -0.017814316, -0.0034041347, -0.016909169, 0.040377364, -0.021382425, 0.008100397, -0.006755797, 0.022405634, -0.032112993, 0.039905116, -0.012613008, 0.008441467, -0.034526713, 0.031903103, -0.033031255, -0.05488593, 0.023927327, -0.024911182, 0.0050209346, -0.0026646045, -0.025934389, 0.035261326, -0.0153481215, -0.018850641, 0.03429059, 0.023730557, 0.019231064, -0.021159418, 0.046385434, 0.025435904, 0.05341671, 0.0018873598, -0.0007936422, 0.011058518, 0.024950536, -0.042082712, -0.057824373, 0.017643781, -0.023599377, 0.018037323, -0.00303027, 0.05698482, 0.019375363, 0.011983341, -0.013892017, -0.004420784, 0.038173534, -0.059923265, -0.004755294, -0.030538825, -0.02007062, -0.021172537, -0.027705327, -0.015177587, -0.023271425, 0.021972738, 0.0098450985, -0.014193732, -0.010874866, 0.048851628, 0.025344077, -0.021985855, 0.05672246, -0.015531774, -0.007942981, -0.018220974, -0.011799688, 0.047723476, -0.03200805, -0.028098868, -0.025986861, -0.009221991, 0.009353171, 0.046700265, 0.030302702, -0.003745204, -0.022615522, 0.06936826, 0.0366256, -0.027101897, 0.009477793, -0.015518656, 0.015295649, 0.0053554447, -0.020923294, -0.005752266, 0.049218934, 0.0065459083, -0.041059505, -0.0064704795, -0.03812106, 0.025199778, 0.02310089, 0.0061195716, 0.025173543, -0.006290106, 0.001892279, -0.05220985, 0.017092822, 0.022536814, 0.07729156, -0.04150552, 0.021749731, 0.041111976, -0.019545898, -0.017801197, 0.02720684, 0.04801207, -0.04554588, 0.004073155, -0.03051259, 0.0435257, -0.014574156, -0.08479509, -0.0134722395, 0.0009936924, -0.05604032, -0.029489381, 0.024570113, 0.008520175, -0.058296625, 0.011445501, -0.022012092, 0.007936422, -0.03360845, 0.030092813, -0.008480821, -0.015243177, 0.019506544, -0.0042928825, -0.006985363, -0.033031255, 0.007752769, -0.03287384, -0.06354385, -0.042266365, 0.02181532, 0.014351149, -0.013262351, -0.01037638, -0.016909169, -0.019703316, 0.015059524, -0.03137838, -0.0023153361, 0.0018775213, 0.015531774, -0.035943463, 0.019362245, -0.01959837, 0.014403622, -0.021972738, 0.0029827172, 0.0019365525, -0.00929414, 0.0047651324, -0.06296665, 0.023258306, 0.04305345, -0.013721483, -0.0005099643, 0.022799175, 0.041977767, 0.07744898, 0.026695237, -0.009392526, -0.008605442, -0.01488899, -0.0040928326, 0.0050209346, 0.016909169, 0.02741673, 0.00828405, 0.031168493, 0.0003623862, 0.0023120567, -0.049323875, 0.0007961018, 0.00041916277, 0.00828405, 0.011038841, 0.016056497, 0.004601157, -0.04048231, -0.0013618178, 0.005798179, 0.01946719, 0.016620573, 0.015400593, 0.0037616016, 0.018706342, 0.007510085, -0.023087772, 0.0068673003, 0.06637734, -0.03602217, -0.040849615, 0.01299999, -0.008316846, 0.0005841633, 0.008126633, -0.014941461, -0.019821377, 0.06459329, 0.022484342, -0.03712409, 0.014364268, -0.026524702, -0.014705337, 0.02222198, -0.034579188, -0.017407656, -0.025580203, 0.026642764, 0.022156391, 0.012140757, -0.030591298, -0.0065262313, 0.026157396, -0.02075276, 0.0046700267, -0.07330368, -0.03623206, -0.025763854, -0.011379911, -0.045362227, 0.029699272, -0.0039386954, 0.042082712, 0.043000977, 0.0035845079, -0.033162437, -0.059188653, -0.01979514, -0.020595342, 0.0046109953, -0.0033369046, -0.039013088, -0.017197767, 0.012029254, 0.03373963, 0.014626629, -0.00022403174, -0.039642755, 0.018601399, -0.04761853, 0.029673034, -0.05307564, 0.009504029, 0.02943691, 0.004558523, 0.013865781, 0.016463155, 0.005240662, -0.035681102, -0.030302702, 0.018575162, 0.015059524, -0.014574156, -0.03300502, 0.010481324, -0.046988863, -0.021907147, 0.019545898, -0.004479815, -0.00034332403, -0.0022448266, -0.029384438, -0.028518645, -0.07209682, 0.010658418, -0.022182627, -0.018745696, -0.003110618, -0.007818359, 0.053285528, 0.005785061, 0.010881425, 0.07750145, 0.06795151, 0.037963644, -0.011675066, -0.012442472, -0.027128132, 0.049953543, -0.020136211, 0.03610088, 0.03520885, 0.032768894, -0.015794136, -0.026970716, -0.008297168, -0.029646799, 0.004558523, 0.020687168, -0.01360342, -0.05819168, 0.06107765, 0.040534783, 0.015335003, 0.047775947, 0.022877883, 0.010560032, 0.027705327, -0.020254273, 0.036415715, 0.029856687, 0.005558775, -0.035182618, -0.020372335, -0.068843536, -0.017092822, 0.051265348, 0.047382407, 0.025960626, 0.024268396, -0.010894543, 0.049402587, -0.006221236, -0.025226016, -0.018234093, -0.010330467, 0.0072280467, -0.011727539, 0.0037025702, 0.004820884, 0.01353783, -0.032086756, -0.030906131, 0.0022956592, -0.003058146, 0.003522197, -0.043499462, 0.03772752, 0.053888958, -0.029410673, -0.015151351, 0.050819334, -0.014101907, 0.006795151, -0.036179587, 0.0069132135, 0.024898063, 0.013787073, 0.02733802, 0.013564066, 0.023428842, -0.020044385, -0.034159407, 0.01858828, -0.006814828, 0.024543876, -0.010120577, 0.045572113, -0.0151251145, -0.028938424, 0.012672039, 0.02181532, -0.025908154, 0.0062343543, -0.017814316, -0.009412203, -0.006677089, 0.03725527, -0.010881425, 0.043473225, 0.057562012, 0.005919521, 0.021041356, -0.025803208, 0.020188682, -0.027574146, -0.03308373, 0.007601911, -0.014311795, -0.0011642271, -0.0006522132, -0.035077672, -0.007936422, 0.011557004, -0.0046175546, -0.045414697, 0.008244696, -0.031142257, -0.008415231, 0.0033434636, 0.017263357, 0.02862359, -0.021329952, -0.009582737, 0.009379407, -0.0047716917, 0.043945476, 0.02849241, -0.0029466425, -0.015584246, -0.009333494, -0.010645299, 0.02896466, -0.031430855, 0.030932367, 0.0009986118, -0.046569087, -0.011891514, -0.0030007544, 0.0044502993, -0.013931371, -0.026314814, -0.056407627, -0.0293582, -0.022143273, 0.010218963, -0.013655893, -0.004978301, 0.007798682, -0.06433093, 0.008369317, 0.004210895, -0.023192717, -0.022064565, -0.013124611, 0.017683135, -0.004945506, 0.008415231, 0.020437926, -0.02202521, -0.0029548414, 0.0021185654, -0.03206052, 0.026590291, 0.03772752, 0.03171945, -0.029594326, -0.023887973, -0.032611478, -0.0071624564, -0.0092810225, -0.010560032, -0.0066180574, -0.025645792, 0.0058834464, -0.017748725, -0.0026236104, 0.0030975002, 0.005817856, -0.010435411, 0.00808072, 0.009602414, -0.0076347063, 0.0150857605, 0.015938433, -0.019572135, -0.028439937, 0.03494649, -0.0719394, 0.029541854, -0.009877893, -0.001084699, 0.0015093959, 0.022274453, -0.001805372, -0.028072633, -0.05018967, -0.0010330466, -0.012665479, -0.034159407, 0.00018170552, -0.013708365, -0.016620573, -0.033267383, -0.007903626, -0.03334609, -0.027862743, 0.008336523, 0.0011240531, -0.031483326, -0.0027170766, 0.0076740608, 0.023730557, -0.013026226, 0.008749741, 0.022458106, 0.016069613, 0.022313807, -0.0066508525, 0.02202521, 0.045519643, 0.0031434132, 0.017604426, 0.011642272, 0.026839536, -0.02485871, -0.023966681, 0.021198772, -0.021644786, -0.03038141, 0.022156391, -0.0046044365, -0.01972955, 0.05729965, -0.05234103, 0.010560032, 0.029541854, 0.0031827674, -0.011406147, 0.010022192, 0.005112761, 0.008808772, -0.01131432, -0.011839042, -0.011274966, -0.03914427, -0.024530757, 0.04580824, -0.02559332, 0.0048274435, 0.000016999664, 0.0027990644, 0.015597364, 0.014351149, -0.01191775, 0.037491392, 0.0139969615, -0.057089765, -0.04877292, 0.014403622, -0.057771903, -0.0073133144, -0.0024661939, -0.008979307, -0.0044011064, -0.03287384, -0.033897046, -0.0016061416, -0.004561803, -0.007995453, 0.009261345, -0.0129344, 0.005332488, -0.014101907, 0.028334994, -0.046988863, -0.027259313, 0.023048418, 0.019782024, -0.021002002, 0.010028751, -0.0036664957, 0.009451557, 0.000010350963, 0.0027367538, -0.017604426, 0.00996972, 0.010730566, -0.0033844574, -0.018470218, -0.0006226975, -0.019204829, -0.01972955, -0.015295649, 0.0061753234, -0.022943474, -0.004365032, -0.035392504, -0.028466174, 0.016528746, -0.0043420754, 0.017473245, 0.015820371, -0.019978793, -0.018640753, -0.0056702783, 0.034054466, 0.006768915, -0.025016125, -0.031903103, 0.0047913687, -0.031168493, 0.035182618, -0.050609447, -0.038016114, -0.0029663197, 0.015453066, 0.023114009, -0.014351149, -0.00021767768, -0.028046396, -0.01798485, 0.026944479, 0.040036295, -0.006723002, 0.0007444495, 0.022103919, -0.0031942457, 0.02282541, -0.026669001, -0.010887983, 0.01583349, -0.0065623056, 0.03610088, 0.011307761, -0.044102892, 0.018575162, -0.050084725, -0.033870813, 0.009274463, 0.022103919, -0.001913596, 0.017158413, 0.0040272423, -0.018194739, -0.007182134, 0.03484155, 0.031063547, 0.017656898, -0.00008296144, -0.004256808, -0.016987877, 0.014626629, -0.0022595846, -0.01124873, -0.011734098, 0.008067602, -0.003207364, -0.0016331975, -0.019637724, 0.021802204, 0.005030773, -0.016017143, -0.03402823, 0.029279493, 0.00023858457, 0.011504532, -0.019965677, -0.012003018, -0.029069604, -0.007982335, -0.020096857, 0.0041781, -0.02862359, -0.007975776, -0.016463155, -0.0013880539, 0.0003584918, -0.008395554, 0.0075887935, 0.000107404056, -0.032611478, -0.01448233, 0.02424216, -0.016607454, -0.021448016, -0.011327438, 0.03980017, -0.013839546, 0.008205342, -0.014429858, 0.022077681, -0.0065295105, 0.009412203, 0.015846608, -0.0076412656, -0.028387465, 0.013931371, -0.029384438, -0.013275469, 0.03859331, -0.020529753, 0.020083738, 0.0051849103, -0.03484155, -0.033765867, -0.005220985, -0.0076478245, -0.035995934, -0.0038009556, -0.01730271, -0.011648831, -0.12782231, 0.0076215887, 0.042607434, 0.009326935, 0.037097853, -0.0070509533, 0.016738635, 0.007772446, 0.010356703, -0.022799175, -0.040429838, -0.0202018, -0.008664474, 0.033451032, 0.003915739, -0.047539823, -0.008120075, -0.005981832, 0.0026006538, 0.032716423, 0.0044273427, 0.03751763, -0.009005543, -0.00085841253, -0.0024219204, 0.01886376, -0.015098878, -0.0017660178, -0.024819355, 0.015990905, 0.0018480057, -0.0128884865, 0.0016168, 0.037412684, -0.038750727, 0.022943474, 0.019270418, -0.006729561, -0.029804215, 0.028387465, 0.0013929732, -0.012580212, 0.0119899, 0.00081823854, 0.030302702, -0.048877865, 0.006919773, -0.04184659, 0.026970716, -0.02715437, -0.04599189, 0.006654132, 0.012455591, -0.030276464, 0.00031913762, 0.032401588, 0.021500489, -0.015662955, -0.031693216, -0.0044011064, -0.03683549, 0.011845602, 0.020634696, 0.015295649, -0.026393522, -0.032637715, -0.024229042, 0.0378587, -0.033713393, -0.028649826, 0.04363064, -0.020857703, -0.000085984735, 0.038199767, 0.016305739, -0.01932289, -0.009943483, 0.053993903, -0.018273447, 0.02875477, -0.02249746, 0.008671032, -0.002815462, 0.025750738, 0.019073648, -0.021539843, 0.05703729, -0.027705327, -0.047172517, 0.031220965, 0.011307761, -0.0064540817, 0.010848629, 0.022707349, -0.008782536, 0.011465178, 0.024753764, 0.009910689, 0.029673034, 0.0021628388, 0.0037484835, 0.03872449, -0.003268035, -0.050609447, -0.00046569086, -0.0131508475, 0.0054997434, -0.03158827, -0.030696243, 0.0006255671, 0.0021775968, -0.027705327, 0.0032975504, 0.0019857453, -0.022720467, -0.0038107943, 0.022012092, 0.016384447, 0.023927327, 0.0066147777, -0.0015061164, 0.025488377, -0.036809254, -0.0104288515, -0.006693486, 0.014705337, 0.007234606, 0.034579188, -0.028413702, 0.010684654, 0.009740154, 0.015872844, -0.017591309, 0.015754782, -0.013760837, 0.016541865, 0.012396559, 0.037202798, -0.022956591, 0.013524712, 0.01785367, 0.010343584, 0.07130973, 0.0071690157, -0.0025924551, -0.012691716, 0.01757819, -0.03450048, -0.0068279463, 0.010251758, -0.0022858207, -0.0005443992, 0.027101897, 0.046647795, -0.01568919, 0.022891002, 0.010153373, -0.034657896, 0.03812106, 0.017355183, -0.0063196216, 0.021736613, -0.051553946, -0.020529753, 0.012652362, 0.004473256, 0.003981329, -0.007916745, -0.019585252, 0.025763854, -0.046621557, -0.01629262, 0.0026022936, 0.02917455, 0.0069132135, 0.036389478, 0.046175543, 0.027574146, -0.003328706, 0.013341059, -0.014298677, -0.00067926914, -0.037701283, 0.059660904, 0.035182618, -0.015767898, 0.014810281, -0.01974267, -0.0052013076, 0.03924921, -0.0017889744, 0.009143283, 0.02862359, 0.011071636, 0.05483346, -0.034159407, -0.026892008, 0.040534783, 0.0184571, -0.023940446, -0.045204807, 0.03898685, 0.010297671, -0.008730064, -0.010815835, -0.003476284, 0.01185216, -0.0008493939, -0.024793118, -0.0078118, -0.014429858, 0.033818338, -0.02067405, 0.020214919, 0.04305345, 0.010645299, -0.00545383, 0.01757819, 0.027993923, 0.021985855, -0.0017201046, -0.042791087, -0.01946719, 0.054780986, 0.009904129, -0.0055522155, 0.024543876, -0.0047520143, 0.0036763342, -0.011950546, 0.040639725, -0.00015137003, -0.0017856949, -0.039642755, -0.010015633, 0.002882692, -0.0025022684, -0.0073526683, 0.0038403098, 0.030014103, 0.02108071, -0.03888191, 0.0019021176, -0.0018545646, 0.012429355, -0.027442966, 0.02614428, 0.0027219958, -0.029568091, 0.0061523668, -0.030407645, 0.011419265, 0.013446004, -0.028912187, 0.009818862, -0.030276464, 0.032139227, 0.027311785, 0.038252242, 0.019650843, -0.019008057, 0.031850632, 0.005630924, -0.037675045, 0.005224264, 0.01306558, -0.006378653, -0.026550937, -0.014797163, -0.017696252, -0.050215904, 0.03987888, -0.015505538, 0.003984608, -0.016174559, -0.0002742493, -0.014718455, -0.01570231, 0.0035549921, -0.021526724, -0.03051259, 0.005276737, -0.012619566, 0.029331965, 0.0033172276, -0.0068279463, -0.022117035, -0.028781006, -0.0039386954, -0.0044011064, 0.027574146, 0.019034294, 0.00916296, -0.0061786026, 0.011478296, -0.009622091, 0.02505548, -0.01785367, 0.002236628, -0.011268407, 0.051449, 0.026800182, 0.029541854, -0.02613116, 0.028072633, 0.022891002, -0.026918244, -0.015505538, -0.036756784, -0.009510588, 0.00828405, -0.013446004, -0.021802204, -0.013354178, 0.004965183, 0.012081726, -0.0011019164, -0.029541854, -0.01643692, -0.008572647, 0.009372848, -0.0054997434, 0.015256295, -0.026852652, -0.026708355, 0.0035713897, 0.0076281475, -0.024032272, -0.031011077, 0.0032270409, -0.0062277955, 0.048379377, -0.0101009, -0.00451261, 0.0021136461, -0.012455591, -0.01805044, 0.0046241134, 0.013446004, -0.00996316, 0.030092813, 0.041321866, -0.019677078, -0.012632685, -0.0037288065, -0.00014788554, -0.0032991902, -0.029489381, -0.014219969, 0.008828449, 0.06354385, 0.0066114985, -0.038409658, 0.00646392, 0.010684654, 0.05255092, -0.018706342, 0.029987868, -0.0006042503, 0.0013708365, -0.022248218, 0.01488899, 0.0000019824402, -0.018470218, -0.008585765, -0.00077478494, -0.025357196, -0.0059096827, 0.0084349075, 0.0013183643, 0.016738635, -0.002472753, -0.00848738, 0.008520175, 0.017735606, 0.0028072633, 0.03051259, 0.02559332, -0.015505538, -0.0131705245, 0.020083738, -0.002822021, -0.014442976, 0.02262864, -0.009687682, 0.016541865, 0.0018332478, 0.027679091, -0.004958624, -0.022536814, 0.023546904, -0.0052373824, -0.006372094, -0.008225019, -0.0015331723, 0.013104934, 0.0059916703, 0.013019667, 0.0037550426, 0.043289572, -0.006978804, -0.022038328, 0.0054735076, 0.0060310247, -0.011858719, 0.006008068, -0.0025416226, 0.018785052, 0.03919674, 0.010487883, -0.031693216, 0.034106936, -0.0032696745, 0.037806228, -0.012645802, -0.034264352, 0.009326935, -0.0023563302, -0.040115003, 0.01798485, 0.0038665459, -0.014993934, -0.0044142245, 0.015715428, -0.009084252, 0.015662955, 0.025803208, -0.0034926815, 0.04405042, -0.023520667, 0.009267904, 0.0008198783, -0.032139227, -0.034106936, 0.00064565416, -0.012534299, 0.0059785526, -0.0061917207, -0.0032106433, -0.005299693, 0.0071165436, 0.045021158, 0.033162437, 0.012960636, -0.012068608, -0.013983844, -0.017879905, 0.007516644, 0.020910176, 0.01090766, 0.025606439, -0.0038435895, -0.0010740405, 0.004620834, -0.027128132, 0.029961633, -0.04237131, -0.02181532, -0.011130667, 0.026288576, 0.009464675, -0.01583349, 0.0076478245, 0.0031368544, -0.012921282, 0.021461133, -0.015728544, -0.020083738, -0.043184627, -0.020962648, 0.011143786, -0.01791926, 0.024019154, 0.023743674, 0.036599368, 0.013642775, 0.0147840455, 0.015794136, 0.024648821, 0.017997967, -0.029489381, -0.012226025, 0.0011388109, 0.01502017, 0.030670006, 0.014324913, -0.0147840455, 0.0031663699, -0.0019627886, 0.0006169584, -0.004161702, 0.04625425, -0.0065623056, -0.014810281, 0.02337637, 0.017237121, 0.032637715, -0.0040436396, 0.0012790101, 0.02425528, -0.03282137, 0.026892008, -0.01710594, 0.011445501, -0.0040633166, -0.0053554447, -0.017158413, 0.013498476, 0.0064245663, 0.02181532, 0.0062113977, 0.0033172276, 0.0012306373, 0.0030663447, 0.06417351, 0.011753775, -0.021329952, 0.010632182, -0.0031335747, -0.03985264, 0.006608219, -0.010894543, 0.03717656, -0.0007821639, -0.017617544, -0.04412913, 0.01974267, -0.012980313, -0.005644042, 0.010356703, -0.01570231, -0.010337025, 0.020241154, -0.014705337, -0.013629656, -0.037884936, 0.015335003, -0.025829446, -0.002551461, 0.00030642952, 0.023546904, -0.019690197, -0.018443981, 0.009221991, -0.0066639706, 0.032375354, 0.014600392, 0.032559007, 0.048746683, 0.009530265, -0.019886967, -0.040219948, 0.016266385, 0.009490911, -0.0104288515, 0.020857703, 0.03287384, 0.02552773, 0.007831478, -0.0145216845, 0.023809265, -0.008480821, -0.006257311, 0.03570734, -0.0014782405, 0.02047728, 0.007772446, 0.0001589539, -0.01583349, 0.0029351641, 0.007201811, -0.03906556, -0.030591298, -0.008651355, -0.027128132, 0.0051652333, 0.01313773, -0.0012429354, -0.0042896033, 0.0030450278, -0.0030417484, -0.012081726, -0.013124611, 0.008966189, 0.027810272, 0.0015758061, -0.0061064535, -0.023678085, -0.014875871, 0.018562045, 0.0046897037, 0.033372324, 0.0032336, -0.018417746, -0.009792626, 0.018916233, 0.021920266, 0.017788079, 0.011976782, -0.011242171, -0.0036566572, -0.0103894975, -0.017486364, -0.02815134, 0.02896466, 0.0075232033, 0.0064048893, 0.0049127107, 0.029043369, 0.00828405, 0.002787586, 0.0013823147, -0.032978784, 0.023402605, 0.023783028, 0.0042600874, -0.04384053, 0.05003225, -0.011163463, -0.029043369, -0.03038141, 0.014456093, -0.0074182586, 0.030014103, -0.025330959, -0.017092822, -0.0016307379, 0.023402605, 0.0023071375, 0.0064376844, 0.054046378, -0.003764881, -0.047723476, -0.029594326, -0.006257311, 0.021067591, -0.0034730043, 0.0047782506, -0.016909169, -0.0071362206, 0.002149721, -0.009884452, 0.029200785, -0.012560535, -0.0025465419, 0.0026629646, -0.00511932, -0.016358212, 0.01003531, 0.0076150293, -0.047251225, 0.0069328905, 0.017945496, 0.03051259, 0.014036316, 0.008644797, 0.009753272, 0.02236628, 0.019139238, -0.03489402, -0.0073461095, 0.0029614004, -0.0028318595, 0.0029220462, 0.05260339, -0.026249222, 0.0054636686, 0.013655893, -0.03318867, 0.0203461, 0.0022399074, -0.01259333, -0.02445205, -0.017551955, 0.051160406, 0.0067361197, -0.023546904, -0.0037878377, 0.023166481, 0.019900085, 0.034657896, -0.0151251145, 0.008749741, 0.011845602, 0.0054931846, 0.02108071, -0.0009182637, 0.008821891, 0.0109929275, 0.009772949, -0.014456093, 0.0002681002, -0.029541854, -0.007582234, -0.0026154118, 0.028544882, 0.020831468, 0.010894543, 0.012317851, 0.03484155, 0.038750727, 0.007182134, -0.027574146, 0.0126261255, 0.0334248, 0.0042600874, 0.031168493, -0.06217957, -0.042476255, 0.00097483525, -0.011504532, -0.026314814, 0.038304713, 0.0059326394, 0.011032282, 0.0048733563, -0.0018086515, -0.025776973, -0.023271425, -0.0050537298, 0.014744691, 0.03394952, 0.030722478, 0.011229053, -0.0023218952, 0.03200805, -0.019152356, -0.022208862, -0.020831468, -0.018706342, 0.003509079, -0.055935375, 0.03158827, -0.0489041, -0.01933601, 0.0029220462, 0.009950043, 0.0007772446, 0.0031811276 ]
2310.12773
7
To address the above challenge, we propose a novel framework: Safe Reinforcement Learning from Human Feedback (Safe RLHF). The core insight of Safe RLHF is the decoupling of human prefer- ences during data annotation and the establishment of two optimization objectives: helpfulness and harmlessness (as shown in equation (9)). Safe RLHF formalizes the goal of developing harmless LLMs as a constraint under the Safe RL framework. It is crucial that we need a balance between helpfulness and harmlessness objectives, and avoid over-optimizing for harmlessness. # The decoupling of preferences and objectives offers two advantages: • During the data annotation, it ensures that the feedback from crowdworkers remains unbiased by any tension between helpfulness and harmlessness. • During the Safe RLHF stage, the Lagrangian method (Bertsekas, 1997) can adaptively balance the trade-off between two inherently conflicting training objectives.
2310.12773#7
Safe RLHF: Safe Reinforcement Learning from Human Feedback
With the development of large language models (LLMs), striking a balance between the performance and safety of AI systems has never been more critical. However, the inherent tension between the objectives of helpfulness and harmlessness presents a significant challenge during LLM training. To address this issue, we propose Safe Reinforcement Learning from Human Feedback (Safe RLHF), a novel algorithm for human value alignment. Safe RLHF explicitly decouples human preferences regarding helpfulness and harmlessness, effectively avoiding the crowdworkers' confusion about the tension and allowing us to train separate reward and cost models. We formalize the safety concern of LLMs as an optimization task of maximizing the reward function while satisfying specified cost constraints. Leveraging the Lagrangian method to solve this constrained problem, Safe RLHF dynamically adjusts the balance between the two objectives during fine-tuning. Through a three-round fine-tuning using Safe RLHF, we demonstrate a superior ability to mitigate harmful responses while enhancing model performance compared to existing value-aligned algorithms. Experimentally, we fine-tuned the Alpaca-7B using Safe RLHF and aligned it with collected human preferences, significantly improving its helpfulness and harmlessness according to human evaluations.
http://arxiv.org/pdf/2310.12773
Josef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji, Xinbo Xu, Mickel Liu, Yizhou Wang, Yaodong Yang
cs.AI, cs.LG
null
null
cs.AI
20231019
20231019
[ { "id": "2302.13971" }, { "id": "2304.05302" }, { "id": "1707.06347" }, { "id": "2305.18290" }, { "id": "2305.10403" }, { "id": "2305.03047" }, { "id": "2211.05100" }, { "id": "2110.08207" }, { "id": "2304.05335" }, { "id": "2107.03374" }, { "id": "2105.04054" }, { "id": "2209.07858" }, { "id": "2305.15324" }, { "id": "2307.09288" }, { "id": "2210.11416" }, { "id": "2212.08073" }, { "id": "2307.12950" }, { "id": "2009.11462" }, { "id": "2307.04657" }, { "id": "2204.05862" }, { "id": "2112.00861" }, { "id": "2209.14375" }, { "id": "2303.00957" }, { "id": "2306.01693" }, { "id": "2305.01937" }, { "id": "2307.15217" }, { "id": "2306.17492" }, { "id": "2112.04359" }, { "id": "1506.02438" } ]
{ "authors": "Josef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji, Xinbo Xu, Mickel Liu, Yizhou Wang, Yaodong Yang", "chunk_id": 7, "doc_id": "2310.12773", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12773", "summary": "With the development of large language models (LLMs), striking a balance\nbetween the performance and safety of AI systems has never been more critical.\nHowever, the inherent tension between the objectives of helpfulness and\nharmlessness presents a significant challenge during LLM training. To address\nthis issue, we propose Safe Reinforcement Learning from Human Feedback (Safe\nRLHF), a novel algorithm for human value alignment. Safe RLHF explicitly\ndecouples human preferences regarding helpfulness and harmlessness, effectively\navoiding the crowdworkers' confusion about the tension and allowing us to train\nseparate reward and cost models. We formalize the safety concern of LLMs as an\noptimization task of maximizing the reward function while satisfying specified\ncost constraints. Leveraging the Lagrangian method to solve this constrained\nproblem, Safe RLHF dynamically adjusts the balance between the two objectives\nduring fine-tuning. Through a three-round fine-tuning using Safe RLHF, we\ndemonstrate a superior ability to mitigate harmful responses while enhancing\nmodel performance compared to existing value-aligned algorithms.\nExperimentally, we fine-tuned the Alpaca-7B using Safe RLHF and aligned it with\ncollected human preferences, significantly improving its helpfulness and\nharmlessness according to human evaluations.", "text": "To address the above challenge, we propose a novel framework: Safe Reinforcement Learning from Human Feedback (Safe RLHF). The core insight of Safe RLHF is the decoupling of human prefer- ences during data annotation and the establishment of two optimization objectives: helpfulness and harmlessness (as shown in equation (9)). Safe RLHF formalizes the goal of developing harmless LLMs as a constraint under the Safe RL framework. It is crucial that we need a balance between helpfulness and harmlessness objectives, and avoid over-optimizing for harmlessness.\n# The decoupling of preferences and objectives offers two advantages:\n• During the data annotation, it ensures that the feedback from crowdworkers remains unbiased by any tension between helpfulness and harmlessness.\n• During the Safe RLHF stage, the Lagrangian method (Bertsekas, 1997) can adaptively balance the trade-off between two inherently conflicting training objectives.", "title": "Safe RLHF: Safe Reinforcement Learning from Human Feedback", "year": 2023 }
[ 0.03026078, 0.0034701806, 0.048804242, 0.0070075477, 0.016917551, 0.0056638187, -0.01756254, 0.027479261, 0.008586429, 0.05853284, 0.026968645, -0.026377404, -0.027237391, 0.0056403033, 0.02425431, -0.07143264, 0.058855336, -0.029185798, 0.01756254, 0.020035002, -0.004192435, 0.033163235, 0.035205703, 0.040876243, 0.006967236, -0.02966954, 0.042649966, 0.00987641, -0.01349776, -0.0029444466, 0.048562374, -0.013853848, -0.056597874, 0.012846051, -0.0101787485, 0.026363967, 0.01255043, 0.02635053, -0.01885252, 0.015143828, 0.00022339498, -0.03821566, -0.0028218313, 0.033835102, -0.02808394, 0.016003814, 0.028487058, 0.032303248, 0.010682647, 0.02649834, -0.05810285, 0.01800597, -0.016353184, -0.028218312, -0.012812458, 0.012792301, 0.013108078, 0.023286827, 0.012725116, 0.008062375, 0.010958112, -0.027452387, -0.027788319, 0.01805972, -0.032034505, -0.032034505, -0.10045719, -0.022211844, -0.0028789397, 0.055952884, 0.006271856, -0.041601855, 0.04316058, -0.0051935134, -0.057834104, -0.026028033, 0.06584273, 0.03746317, -0.005596632, -0.0033408466, -0.0150228925, -0.00096244604, 0.0074980087, -0.039720636, -0.024160251, -0.03458759, -0.075356334, 0.0067555984, -0.06385401, -0.022104345, -0.021445917, -0.009043298, -0.02426775, 0.021311544, 0.0028638227, -0.037785664, 0.00838487, -0.0026269904, 0.06939018, 0.017952222, 0.015721632, -0.045821164, 0.017441604, -0.05627538, 0.013524634, 0.007954877, 0.03593132, 0.044531185, -0.025181485, -0.004723208, -0.048911743, -0.028648306, -0.034721963, 0.03894127, 0.031873256, -0.07793629, -0.09126609, 0.03160451, 0.0034701806, -0.01800597, -0.024899302, -0.025396481, 0.05229794, -0.03665693, 0.0030301092, -0.0109782675, 0.032276373, -0.029696414, -0.0031174517, -0.034130722, 0.010272809, 0.020720303, -0.008163155, -0.0028739008, -0.047675513, 0.037839413, -0.03730192, -0.03402322, 0.0009700045, -0.050174847, -0.007128483, -0.023179328, -0.07363636, 0.0072561377, -0.023031518, -0.0031762398, -0.0023397685, 0.013531352, -0.0065876325, 0.048266754, -0.013672444, -0.009406105, -0.03402322, 0.042891834, -0.035904445, -0.0356357, -0.005563039, 0.008976111, 0.00032711407, -0.038296282, 0.05200232, 0.053802915, -0.0005824226, -0.0035944756, 0.034426343, 0.013894159, 0.006853019, -0.0003691056, -0.04375182, -0.0015066563, -0.005492493, 0.004907971, -0.027385201, -0.008942517, -0.04063437, -0.010259372, -0.011092484, -0.02426775, 0.000072382914, -0.018341903, -0.0058519407, 0.016742866, -0.015278201, -0.0068698153, -0.026175844, 0.013531352, -0.031819507, -0.015963502, -0.007880972, -0.020115625, -0.044826806, 0.018288154, 0.04068812, 0.012825895, 0.021002486, 0.00257996, 0.030099533, 0.060844056, 0.019376574, -0.03886065, -0.0026034752, 0.018986894, 0.009869691, -0.046923023, 0.026538651, -0.004723208, -0.03695255, 0.019658757, -0.028406436, -0.02773457, 0.018194092, 0.032357, 0.025114298, 0.05442103, -0.028540807, 0.019000331, -0.02813769, 0.015116953, -0.011025297, 0.010185467, -0.022507465, 0.01483477, 0.052620433, 0.0043133707, -0.032733243, -0.024093064, 0.03190013, -0.018758459, 0.026955208, -0.048992366, 0.033351358, -0.01195919, -0.033673853, -0.026216157, 0.013759787, 0.0115829455, 0.0077130054, -0.014445089, 0.017871598, -0.005999751, 0.00198536, 0.0061845137, -0.01603069, -0.044020567, -0.0006638862, 0.028594557, -0.0030788195, -0.027103018, 0.018570337, -0.014955706, -0.0069202054, -0.030395154, 0.026955208, -0.06600398, -0.043053083, 0.0032938162, -0.019510947, -0.00193497, 0.0018996971, 0.0012278325, -0.025047112, 0.006345761, 0.009513603, 0.015587258, 0.020693429, -0.010803582, -0.03036828, 0.008546118, 0.0070478595, 0.030395154, -0.01771035, 0.0073367613, -0.049932975, 0.0043200892, -0.038242534, -0.0128662065, 0.07476509, 0.07218513, -0.04074187, -0.0096211005, -0.03219575, 0.014028532, 0.07272262, -0.030717649, 0.0005106171, -0.011818098, -0.0016007174, -0.034453217, -0.011764349, -0.008357995, -0.01240262, -0.030744523, 0.08250497, -0.030905772, 0.010776708, 0.013726193, -0.008411745, -0.0017972378, -0.0012009579, 0.0006248341, 0.020868113, 0.049798604, -0.04565992, -0.0007734841, 0.032088254, -0.022614961, -0.0169713, 0.0016536267, 0.008660334, 0.041655604, 0.02937392, 0.009466572, -0.003463462, 0.034668215, -0.020532181, -0.05288918, 0.06514399, -0.02133842, 0.023582447, -0.021647478, -0.0012463088, -0.0109178, 0.026538651, -0.05474353, 0.03206138, -0.01870471, 0.028540807, 0.01156279, -0.01940345, -0.021365294, -0.0012152351, -0.03036828, 0.022225281, -0.019725945, -0.010870769, -0.05442103, -0.05428666, 0.023192765, 0.013020736, 0.0010044376, -0.032222625, -0.03577007, -0.03875315, 0.00421595, -0.02843331, -0.021392168, 0.014794459, 0.020653117, 0.027680822, 0.044316188, 0.0039505637, -0.02411994, -0.009520321, -0.015869442, -0.049449235, 0.017938785, -0.018543463, -0.035662573, 0.0009187748, 0.011146233, -0.014727272, 0.01603069, 0.0042361063, -0.006144202, 0.004360401, 0.012348871, -0.006866456, 0.02395869, 0.0030620228, -0.014942269, 0.016017253, 0.01979313, -0.022144657, 0.00084025064, -0.055737887, 0.041709352, 0.03249137, -0.019994691, 0.011656851, -0.012295122, -0.04528367, -0.021607164, -0.029777039, -0.041682478, 0.018274717, 0.04221997, -0.019376574, -0.027250828, -0.041440606, 0.003994235, 0.019833442, -0.01905408, -0.00029960962, 0.011334356, 0.03805441, -0.022735897, -0.011824816, 0.03904877, 0.08529993, 0.033324484, -0.0052774963, -0.01190544, -0.057189114, 0.023528699, -0.018745022, 0.016003814, -0.025490543, 0.0290783, -0.0022003565, 0.050792962, 0.034668215, -0.021969972, -0.00031031747, -0.021808725, 0.035232577, -0.046815526, 0.041736227, -0.024993362, 0.020720303, 0.029911412, 0.00083521166, -0.042542465, 0.020827802, -0.027062705, 0.030986395, 0.015063204, 0.01612475, -0.035447575, -0.0022809803, -0.030502653, -0.022735897, 0.054770403, 0.0088954875, -0.02257465, -0.044074316, 0.042596214, -0.0010724638, -0.012913237, 0.010387027, -0.021566853, 0.063961506, -0.0022793007, -0.055952884, 0.050309222, -0.008767833, 0.01796566, -0.03740942, 0.033512607, -0.021768413, -0.005452181, -0.046949897, 0.026028033, 0.0933623, 0.02872893, 0.021754974, -0.0027311295, 0.027546449, -0.030986395, 0.01031984, 0.035528198, 0.031577636, 0.014082282, -0.0038766586, 0.013215576, 0.010266091, 0.016689116, 0.02729114, -0.0019114547, -0.03910252, -0.012610898, 0.01518414, -0.046923023, 0.021714663, -0.023636196, -0.032357, -0.004336886, 0.018449401, -0.017360982, 0.05869409, 0.014875082, 0.0066111474, 0.0017804411, -0.009271732, -0.03482946, 0.051491704, 0.05928533, 0.0468424, -0.0010405503, -0.014727272, 0.007800348, 0.023488386, -0.024549931, 0.02456337, -0.015049767, -0.020854676, -0.037490044, -0.0035004145, -0.0015074962, 0.020008128, -0.011683725, 0.015802255, 0.013585102, -0.0515992, 0.03939814, 0.02813769, 0.006940361, 0.0579416, -0.021459354, -0.028702056, 0.026417715, -0.020908426, 0.013773224, -0.0322495, -0.011300762, -0.017132547, -0.0065170866, -0.011455291, -0.008848457, -0.027680822, 0.028245186, 0.028648306, -0.01101186, -0.037731916, 0.015560384, 0.012825895, 0.00927845, -0.032464497, -0.043402452, -0.021015923, -0.020317186, -0.02688802, 0.008438619, 0.017186297, 0.0038430654, -0.057726607, -0.018624086, -0.019591572, -0.032007627, -0.022359654, -0.043079957, 0.021459354, 0.0013722834, 0.050604843, 0.0030586636, 0.0060669375, -0.030045785, -0.012893082, -0.0039606416, 0.0013017376, 0.012113718, 0.02327339, -0.050443593, -0.01840909, -0.02837956, -0.008257216, -0.011502322, -0.0069134864, -0.0067119272, -0.00012167048, 0.030852022, -0.018624086, -0.006772395, 0.011132796, 0.014015095, -0.061435297, 0.013155108, -0.00027630432, 0.013417136, 0.024160251, 0.010366871, -0.02803019, -0.01503633, 0.025880223, -0.08185998, 0.01701161, 0.008425182, 0.03681818, -0.016151624, 0.037946913, 0.0069873915, -0.03190013, -0.038591903, -0.022359654, -0.01881221, -0.031927004, -0.026780523, 0.012335434, 0.03974751, -0.050577965, -0.019443762, 0.01767004, 0.0088954875, 0.006147561, 0.019806568, -0.038027536, -0.007726443, 0.0074711344, 0.009903284, 0.029615792, -0.02217153, -0.00386994, 0.0014974182, 0.023904942, -0.033405107, -0.017159421, 0.028836427, -0.00025026957, 0.0061945915, 0.048401125, 0.0048609404, -0.0128796445, -0.03219575, 0.01881221, -0.011428417, -0.041064363, -0.02049187, 0.0029461263, 0.025530854, 0.034963835, -0.03687193, -0.03343198, 0.013531352, 0.0013193741, -0.028460184, 0.0061845137, -0.0060098288, -0.012906519, -0.014807896, -0.023286827, -0.03265262, -0.052351687, 0.0013176944, 0.009695006, -0.04227372, 0.007975033, 0.0257996, 0.03864565, -0.016017253, 0.0007676053, -0.013853848, -0.010561711, 0.022695586, -0.0031040143, -0.04813238, 0.0059896726, -0.00094145024, 0.01785816, -0.02019625, -0.013336512, -0.03611944, -0.055200394, -0.02550398, -0.010837176, -0.035313204, 0.019564698, 0.02966954, 0.012201061, 0.020559056, 0.01879877, 0.00080707733, -0.029642666, -0.010151874, -0.020061877, 0.025168048, -0.019376574, 0.008169874, -0.004330167, 0.028567683, 0.006926924, -0.013370105, -0.03980126, 0.003943845, -0.0013815216, -0.0074442597, -0.02049187, -0.047890507, 0.001384041, -0.014310716, -0.0016628648, 0.030986395, -0.011831535, 0.04162873, -0.020720303, -0.07514133, -0.009789067, 0.025302421, 0.027344888, -0.013524634, 0.0010859012, 0.03241075, -0.015990376, -0.008102687, 0.028057065, 0.0037053332, 0.0059157675, 0.05407166, -0.023206202, 0.032975115, 0.012308559, -0.039774384, -0.030153282, 0.010911081, 0.0016032369, 0.008868612, -0.011260451, -0.031174516, -0.031873256, 0.0451493, 0.032921366, -0.0055160085, -0.01185841, -0.0060602184, 0.016057564, 0.010111562, -0.007155358, -0.0026538651, 0.0185569, 0.0069336426, 0.029938286, -0.018839084, -0.05382979, 0.0013101359, -0.039425015, 0.022601524, -0.027237391, 0.020626243, -0.030690774, 0.025450232, -0.014888519, -0.009244856, 0.022709023, -0.0029813992, 0.0063524796, 0.004823988, -0.026068347, 0.004346964, -0.032518245, -0.006292012, -0.009291887, -0.0053413236, 0.0061609983, 0.02143248, -0.011831535, 0.024455871, 0.011576227, 0.018771896, 0.022050595, 0.022588087, 0.0024455872, -0.007457697, -0.030583275, 0.012389183, -0.020518744, 0.023448074, 0.031819507, -0.019712508, 0.012530275, 0.0038229094, -0.007074734, 0.012799021, 0.008028782, 0.013685882, -0.016904114, 0.0029108534, 0.017360982, -0.0103601515, -0.009432979, 0.0038061128, 0.038296282, -0.035555076, -0.0009851215, -0.03165826, 0.005264059, 0.019027205, 0.041736227, -0.02465743, 0.0101787485, -0.007914565, -0.0022557853, 0.02019625, -0.006147561, -0.003537367, 0.05334605, -0.03770504, -0.0290783, -0.004071499, -0.0017972378, 0.008405026, 0.010252654, -0.01925564, -0.020679992, 0.031792633, -0.00013206339, -0.03184638, -0.021445917, 0.04321433, -0.019457199, -0.0901911, -0.013692601, 0.039989382, -0.003577679, -0.007316605, 0.02049187, 0.008680491, 0.041171864, 0.0044443845, -0.05270106, -0.00257996, -0.014807896, -0.0039875163, 0.0027647228, -0.0040110317, -0.04772926, 0.023259953, -0.006866456, 0.027868943, 0.0026488262, -0.02471118, -0.018234406, -0.011683725, 0.03106702, -0.010763271, -0.0031762398, -0.0011119359, 0.023394326, -0.045229923, 0.019040642, -0.005253981, -0.026552089, -0.008015345, 0.0007974193, -0.029857662, -0.007800348, 0.022655275, -0.020666555, -0.036334436, 0.042193096, 0.014673523, -0.005586554, 0.03730192, -0.032598868, 0.029588917, -0.027519574, 0.031174516, -0.006738802, -0.002163404, 0.010494525, 0.007323324, 0.0066581783, -0.017992534, -0.046170533, 0.0070612966, 0.0031728805, 0.023757132, 0.020800928, -0.020411246, 0.014068845, -0.03265262, 0.03488321, 0.020330623, -0.021956535, -0.022803085, 0.0053614792, 0.005126327, 0.024348373, -0.060951557, -0.052136693, 0.001116135, -0.019927504, 0.006241622, 0.061542798, 0.03254512, 0.012946831, 0.04033875, 0.031093894, -0.014391339, 0.033969473, 0.038269408, -0.046116784, 0.017602852, 0.011072328, 0.016500995, 0.018234406, 0.048750494, 0.021647478, -0.0161785, 0.03125514, 0.019658757, -0.014351028, 0.017387856, -0.008660334, 0.013732912, -0.01418978, -0.013800099, 0.019873755, 0.01597694, -0.02803019, 0.034668215, 0.009600945, -0.0022490667, -0.009352355, 0.0022423482, 0.011025297, -0.0047769574, 0.025396481, 0.026820835, 0.0014906996, 0.0113410745, 0.008848457, -0.022735897, 0.026632713, -0.004380557, 0.022601524, -0.019027205, 0.038726274, 0.028191438, 0.015439448, -0.0014655046, 0.022480588, -0.025141172, 0.014592899, 0.005929205, -0.017253483, -0.0065573985, 0.01418978, -0.0058922525, 0.0020508666, 0.03974751, -0.002237309, 0.0023145736, -0.011892003, -0.041091237, 0.025275545, 0.024536494, -0.013262607, -0.036737558, 0.020438122, 0.021217484, 0.018745022, 0.023555573, 0.0021146939, -0.018086595, 0.01518414, 0.025168048, -0.019725945, -0.027653946, 0.017199734, 0.0058519407, 0.011240294, 0.0092582945, 0.02743895, -0.0016158343, 0.047218643, 0.047003645, -0.03147014, -0.021822162, -0.007975033, -0.008364714, 0.024617119, -0.06315527, -0.016447244, 0.0010926198, -0.0052573406, -0.021298107, 0.010447495, 0.015412574, -0.01949751, -0.043402452, -0.0873424, 0.011737474, -0.007813785, -0.0070344224, 0.037651293, -0.006275215, 0.046761777, 0.009090328, 0.030287655, 0.017105673, 0.05627538, -0.040258124, -0.007760036, 0.0339426, 0.0026353889, 0.0017115751, -0.024334935, 0.005868737, 0.048992366, 0.021513104, 0.007531602, -0.0067589576, 0.034963835, 0.010192186, -0.03840378, -0.022883708, 0.035555076, -0.029051425, -0.07202388, -0.056436624, 0.07003517, 0.007995188, 0.00406814, 0.010501243, -0.00669849, 0.008116124, -0.016581617, -0.008740959, 0.0046157097, -0.010628898, -0.025544291, -0.050228596, 0.020209687, 0.035232577, -0.0114620095, 0.026968645, -0.019887192, -0.004303293, -0.004783676, 0.0019114547, -0.023730258, 0.024885865, 0.018100033, -0.017696913, -0.011193264, -0.010769989, 0.01205325, 0.012288404, 0.00496172, -0.0033358077, -0.018462839, 0.014136031, -0.013538072, -0.040473122, -0.014176343, 0.0013210537, -0.004192435, 0.006305449, 0.029588917, 0.026673025, -0.010837176, -0.033190113, -0.031362638, 0.010662491, -0.0046661, 0.041763104, 0.004101733, -0.037060052, -0.03324386, -0.01433759, -0.015237889, 0.038968146, 0.008922362, -0.021956535, -0.04498805, 0.013719475, 0.06525149, 0.045122426, 0.01964532, -0.018839084, 0.008700646, 0.019242201, -0.010131718, -0.012919956, -0.02143248, -0.015788818, 0.027264265, 0.00066220656, -0.019363137, -0.01647412, 0.010071251, -0.025624916, 0.03577007, -0.027008956, 0.008761114, 0.02287027, 0.0075987885, 0.0032635822, -0.026041472, -0.021365294, -0.009056735, -0.023286827, -0.0048206286, 0.0073501985, -0.00073401205, 0.010608742, -0.0002009295, 0.011939034, 0.029535167, 0.007793629, 0.029293297, 0.00039912955, 0.006261778, 0.0049180486, -0.017804412, -0.0060467813, -0.0031846382, 0.021083111, 0.019739382, 0.017643165, 0.010400464, 0.02198341, 0.0029730008, 0.008599867, -0.004857581, -0.035528198, -0.02485899, -0.013403699, -0.025759289, 0.012839332, -0.010339996, 0.01820753, 0.009634539, 0.006023266, -0.028943926, 0.0029662822, -0.033405107, -0.0057478016, -0.026108658, 0.0029192516, -0.003681818, 0.014418214, 0.012463088, -0.03687193, -0.0076861307, -0.029562041, -0.015761944, -0.019040642, 0.024751492, -0.00441751, 0.04509555, -0.004172279, -0.009345637, -0.032518245, -0.0005899811, -0.033458855, -0.022305904, -0.018973457, 0.014781021, 0.02729114, -0.014606336, 0.032330126, 0.035044458, -0.011327637, 0.008680491, -0.04082249, -0.027479261, -0.0038497841, -0.010655772, 0.06503649, -0.025477106, -0.011616539, 0.00011652651, -0.04098374, 0.029723288, -0.0052774963, 0.022507465, 0.013074485, 0.018153781, 0.0018677836, 0.025033675, -0.018220969, 0.016044127, -0.0017434886, -0.00927845, -0.017898472, 0.053453546, 0.010427338, 0.005264059, 0.003997594, 0.019269077, -0.022803085, -0.031738885, 0.027250828, 0.035985067, -0.005344683, 0.02872893, 0.01404197, 0.003507133, 0.0042293877, -0.014297279, -0.025692102, -0.0030939365, -0.0501211, 0.013470885, -0.025786163, 0.028298937, 0.005274137, 0.01017203, 0.0012093562, -0.006043422, 0.002455665, -0.015116953, -0.0074509783, 0.013974783, -0.008304247, -0.0034399468, 0.042838085, 0.016635368, 0.017253483, -0.0044779773, 0.02837956, 0.0032047941, 0.0018929784, 0.0022440278, -0.01002422, 0.029723288, 0.031120768, 0.023259953, -0.01920189, 0.017078798, -0.020841239, 0.0022507464, 0.014969143, 0.007115046, 0.0040614214, 0.038269408, -0.016218811, 0.032276373, -0.011885284, 0.00064708956, 0.003339167, 0.0068059885, 0.019336263, 0.032733243, 0.00008487539, 0.012100281, -0.023380889, -0.013215576, 0.0049751573, 0.02202372, -0.014821333, -0.008317684, -0.030233907, 0.02867518, 0.012288404, 0.022198405, -0.016796615, 0.033485733, -0.020774053, 0.026390841, 0.04936861, 0.016689116, -0.024281187, 0.0044779773, -0.008969393, 0.04098374, 0.017307231, 0.004619069, 0.0049650795, -0.030771399, 0.009352355, 0.019416887, -0.050228596, -0.007975033, -0.03388885, 0.006822785, 0.021660915, -0.0057310048, -0.0010145155, -0.03270637, -0.00068068283, 0.012335434, -0.008492368, 0.006177795, -0.007363636, 0.028406436, 0.0056033507, -0.015573821, 0.0064129476, -0.009002985, 0.013450729, 0.009533758, 0.0084587755, -0.0008305926, -0.01879877, -0.019484073, 0.031577636, 0.015654445, -0.017025048, 0.018046282, 0.015788818, 0.003577679, -0.008331121, 0.020182813, 0.005072578, -0.061112802, -0.018973457, -0.0145257125, 0.016850363, -0.016783178, 0.0024153532, 0.02620272, -0.026928334, 0.005398432, 0.014955706, -0.005002032, 0.013672444, -0.010292966, -0.012933393, 0.033835102, -0.018274717, 0.03324386, -0.01205325, 0.005401791, -0.0021869193, 0.008720802, 0.042139348, 0.0010380308, 0.026108658, -0.008653616, -0.017078798, 0.018839084, 0.06750895, -0.008243779, 0.0015276521, -0.01656818, 0.018597212, 0.011992783, -0.02366307, -0.0074980087, 0.04565992, -0.01518414, 0.012893082, -0.0290783, 0.0008045579, -0.003997594, 0.014109156, 0.0076592565, -0.011724037, 0.005865378, -0.0053816354, 0.0004371319, -0.00055386836, -0.01949751, 0.018892832, -0.0010287927, 0.012933393, -0.009419542, -0.014727272, -0.024187125, 0.027371764, 0.027815195, 0.0055831946, 0.04544492, 0.017750662, 0.009654694, 0.037275046, 0.033620104, -0.0058284253, -0.0125638675, 0.009056735, 0.027707696, -0.0152647635, -0.019994691, 0.009056735, 0.0130610475, 0.019242201, 0.01671599, 0.017441604, -0.0012966987, 0.018597212, 0.023837756, 0.03190013, 0.0289708, -0.0026605837, 0.003105694, -0.0306639, -0.015009455, -0.008875331, 0.004024469, 0.011267169, 0.00927845, 0.0078406595, 0.035662573, 0.0084587755, 0.0017888395, -0.011824816, 0.01418978, 0.02351526, -0.013430573, -0.0011816418, 0.008821582, 0.005378276, -0.0037926757, -0.009070172, 0.008740959, -0.024630556, -0.0068798936, -0.015600696, 0.03775879, 0.0077533172, -0.00076130655, -0.030502653, 0.06578898, 0.02674021, 0.030744523, -0.046278033, 0.033996347, -0.0025564448, 0.014727272, -0.002536289, -0.032115128, 0.022211844, -0.03810816, 0.00669849, 0.003507133, -0.0031879975, 0.042784337, -0.016111312, -0.012819177, 0.010400464, 0.002247387, -0.027237391, 0.010890925, -0.015990376, 0.0132424515, 0.040553745, -0.027761444, 0.021419043, 0.010776708, -0.0084319, -0.020370934, -0.005999751, 0.018462839, 0.009050016, 0.0011732435, 0.0069336426, -0.027506135, 0.017898472, 0.021298107, -0.023112142, -0.013309637, -0.012825895, 0.016071001, -0.005055781, -0.015963502, -0.011885284, -0.007168795, -0.03641506, 0.0020710225, 0.024442434, -0.014552587, -0.010292966, -0.0076391003, 0.010232498, 0.004189076, 0.002971321, 0.0071822326, -0.0036683807, -0.0012110359, 0.011267169, 0.025463669, 0.044638682, 0.014001658, -0.015667882, 0.04286496, 0.0015805614, 0.010769989, 0.0065372423, 0.0011640054, -0.007430822, -0.008787989, 0.020626243, 0.021378731, 6.758013e-7, -0.008855175, -0.024281187, -0.009123921, 0.011764349, -0.012201061, 0.00026811595, 0.02688802, 0.02148623, -0.014082282, 0.006906768, -0.01553351, 0.030583275, 0.0021600446, -0.004481337, 0.011656851, 0.02098905, 0.033700727, -0.0210428, 0.024294624, 0.009002985, 0.0045821164, 0.025315858, -0.021056237, -0.012436214, 0.025127735, -0.01984688, 0.016460683, -0.0010329918, -0.0004942404, -0.007780192, 0.012308559, 0.015990376, 0.013202139, 0.029158924, 0.02600116, -0.002907494, -0.010427338, -0.020599369, 0.01483477, 0.012375746, -0.03821566, -0.02049187, -0.00948001, -0.03571632, -0.020249998, 0.0074845715, -0.0029209312, 0.00082849304, 0.025933973, -0.0217281, 0.005243903, 0.004276418, -0.02471118, 0.023165891, 0.04149436, -0.011193264, -0.016353184, -0.0021314905, -0.018395653, -0.014606336, -0.009802504, 0.0043234485, -0.022440277, -0.013108078, -0.020155938, -0.0018996971, -0.04783676, -0.012227936, 0.0031762398, -0.0031913568, 0.009607663, -0.010427338 ]
2310.12397
8
Common graph coloring benchmark sets consist of the sorts of problems that exact solvers struggle on, boasting triple or quadruple digit numbers of nodes and edges[16]. Current language models don’t have sufficiently large context windows to process these, and—as we’ll see later—are unlikely to do well on graphs with over twenty nodes. Therefore, we built our own dataset. We use GrinPy2 to handle common graph operations. Each graph is constructed using the Erd˝os–Rényi method (p = 0.4), modified so that any generation that fails to be planar or happens to be isomorphic to a previously generated one is retried. Once a successful candidate is found, it is compiled into the standard DIMACS format[1], appended with a comment containing its precalculated chromatic number. For the following experiments, we generated 100 instances with an average of 24 edges each spread across node counts from 10 to 17—a distribution chosen because empirical probing revealed it to be an area with volatile enough performance to be interesting. An example of one of the graphs we used is shown in Figure 1, together with the LLM’s first response, the backprompt on that response, and the final correct coloring. # 3.2 Architecture for Iterative Backprompting All code and results will be made public. # Prompt Generator:
2310.12397#8
GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems
There has been considerable divergence of opinion on the reasoning abilities of Large Language Models (LLMs). While the initial optimism that reasoning might emerge automatically with scale has been tempered thanks to a slew of counterexamples, a wide spread belief in their iterative self-critique capabilities persists. In this paper, we set out to systematically investigate the effectiveness of iterative prompting of LLMs in the context of Graph Coloring, a canonical NP-complete reasoning problem that is related to propositional satisfiability as well as practical problems like scheduling and allocation. We present a principled empirical study of the performance of GPT4 in solving graph coloring instances or verifying the correctness of candidate colorings. In iterative modes, we experiment with the model critiquing its own answers and an external correct reasoner verifying proposed solutions. In both cases, we analyze whether the content of the criticisms actually affects bottom line performance. The study seems to indicate that (i) LLMs are bad at solving graph coloring instances (ii) they are no better at verifying a solution--and thus are not effective in iterative modes with LLMs critiquing LLM-generated solutions (iii) the correctness and content of the criticisms--whether by LLMs or external solvers--seems largely irrelevant to the performance of iterative prompting. We show that the observed increase in effectiveness is largely due to the correct solution being fortuitously present in the top-k completions of the prompt (and being recognized as such by an external verifier). Our results thus call into question claims about the self-critiquing capabilities of state of the art LLMs.
http://arxiv.org/pdf/2310.12397
Kaya Stechly, Matthew Marquez, Subbarao Kambhampati
cs.AI
18 pages, 3 figures
null
cs.AI
20231019
20231019
[ { "id": "2206.10498" }, { "id": "2306.03872" }, { "id": "2303.11366" } ]
{ "authors": "Kaya Stechly, Matthew Marquez, Subbarao Kambhampati", "chunk_id": 8, "doc_id": "2310.12397", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12397", "summary": "There has been considerable divergence of opinion on the reasoning abilities\nof Large Language Models (LLMs). While the initial optimism that reasoning\nmight emerge automatically with scale has been tempered thanks to a slew of\ncounterexamples, a wide spread belief in their iterative self-critique\ncapabilities persists. In this paper, we set out to systematically investigate\nthe effectiveness of iterative prompting of LLMs in the context of Graph\nColoring, a canonical NP-complete reasoning problem that is related to\npropositional satisfiability as well as practical problems like scheduling and\nallocation. We present a principled empirical study of the performance of GPT4\nin solving graph coloring instances or verifying the correctness of candidate\ncolorings. In iterative modes, we experiment with the model critiquing its own\nanswers and an external correct reasoner verifying proposed solutions. In both\ncases, we analyze whether the content of the criticisms actually affects bottom\nline performance. The study seems to indicate that (i) LLMs are bad at solving\ngraph coloring instances (ii) they are no better at verifying a solution--and\nthus are not effective in iterative modes with LLMs critiquing LLM-generated\nsolutions (iii) the correctness and content of the criticisms--whether by LLMs\nor external solvers--seems largely irrelevant to the performance of iterative\nprompting. We show that the observed increase in effectiveness is largely due\nto the correct solution being fortuitously present in the top-k completions of\nthe prompt (and being recognized as such by an external verifier). Our results\nthus call into question claims about the self-critiquing capabilities of state\nof the art LLMs.", "text": "Common graph coloring benchmark sets consist of the sorts of problems that exact solvers struggle on, boasting triple or quadruple digit numbers of nodes and edges[16]. Current language models don’t have sufficiently large context windows to process these, and—as we’ll see later—are unlikely to do well on graphs with over twenty nodes. Therefore, we built our own dataset. We use GrinPy2 to handle common graph operations. Each graph is constructed using the Erd˝os–Rényi method (p = 0.4), modified so that any generation that fails to be planar or happens to be isomorphic to a previously generated one is retried. Once a successful candidate is found, it is compiled into the standard DIMACS format[1], appended with a comment containing its precalculated chromatic number.\nFor the following experiments, we generated 100 instances with an average of 24 edges each spread across node counts from 10 to 17—a distribution chosen because empirical probing revealed it to be an area with volatile enough performance to be interesting. An example of one of the graphs we used is shown in Figure 1, together with the LLM’s first response, the backprompt on that response, and the final correct coloring.\n# 3.2 Architecture for Iterative Backprompting\nAll code and results will be made public.\n# Prompt Generator:", "title": "GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems", "year": 2023 }
[ 0.020844469, -0.03503128, 0.0618905, -0.021444516, 0.009979343, -0.012665265, 0.027373545, 0.008272069, -0.033659745, 0.060347524, 0.05528999, -0.043974828, -0.042603295, -0.0026752069, 0.03440266, -0.008193491, 0.042603295, -0.021930268, -0.03131671, 0.025730561, 0.019015757, -0.018244268, 0.024330454, 0.009772184, 0.030402351, 0.02838791, 0.03288826, -0.019430075, 0.05663295, -0.039917372, -0.007189842, -0.009243572, -0.0954931, -0.037031434, 0.018530004, 0.01971581, -0.009586455, 0.019744385, 0.008029193, 0.02457333, 0.0077291694, 0.005178972, -0.011172293, 0.0017769232, -0.0017090607, 0.009350724, -0.0057825902, -0.01055796, 0.028759368, 0.055032827, -0.060118936, 0.09320721, -0.01531547, -0.009857905, -0.054718517, 0.031716738, -0.038260102, 0.01602981, 0.005975462, -0.013893932, 0.07400572, -0.03574562, -0.010672254, 0.018530004, -0.014543982, 0.022673182, -0.02461619, 0.0009607886, 0.04603213, 0.03337401, -0.012050932, 0.042689014, 0.03431694, -0.032945406, -0.018830027, 0.030688088, 0.03234536, -0.0007915791, -0.0064326404, -0.00041565715, 0.021530237, 0.0007973831, 0.01250811, -0.02497336, 0.019415786, -0.03485984, 0.0007634519, -0.016858447, -0.072691336, -0.049861, 0.0063219178, -0.03391691, -0.013015293, 0.023744693, 0.05403275, 0.008350646, 0.026887793, 0.019115765, 0.0035717047, 0.035688475, -0.035831343, -0.01873002, -0.010036491, -0.033516876, 0.03268824, 0.01950151, -0.007514867, 0.027673569, -0.020844469, -0.0078006033, -0.08063481, -0.048032288, -0.014944013, 0.0028448629, 0.05897599, -0.028302189, -0.035717048, -0.06554793, 0.058575958, -0.02285891, 0.0146439895, 0.014986874, 0.006339776, -0.011700905, 0.01380821, 0.010179359, 0.033659745, -0.062804855, 0.013879645, -0.004661075, -0.013236738, -0.040717434, 0.044946335, 0.015744075, -0.028516492, 0.0032127486, -0.036002785, 0.007850607, -0.0024912641, -0.00967932, 0.02155881, -0.012158083, 0.022801764, 0.034888413, 0.013236738, 0.018087113, -0.056032903, 0.05520427, -0.0168013, 0.058261648, 0.01927292, 0.025930578, -0.0010581176, 0.012529541, -0.0030930964, -0.05960461, 0.0065826518, 0.0020769464, -0.018115686, -0.021501662, 0.044889186, 0.015701214, 0.0018447855, -0.017315624, 0.0243876, 0.044174846, -0.070176855, 0.007907755, -0.04388911, -0.015344044, 0.03400263, -0.017729944, 0.0014849363, -0.002019799, 0.028316475, -0.014165381, -0.039517343, 0.019130051, 0.020330144, -0.00045449944, -0.0293737, 0.033202566, 0.010722258, 0.00096346735, -0.016086958, -0.034888413, 0.014579699, -0.04428914, -0.014465405, -0.034116924, -0.0008871222, 0.015701214, 0.050918225, 0.028245041, 0.0021144492, -0.061604764, 0.09497877, -0.012143796, -0.025316244, 0.043517653, -0.026016299, 0.027116382, -0.00085720915, -0.02650205, 0.023658972, -0.0027877155, 0.0030145189, -0.03500271, 0.005611148, 0.01315816, 0.033745468, 0.032145344, 0.038374398, -0.00022624517, -0.016115531, -0.0010724043, -0.053432703, 0.016601283, -0.013858215, 0.062233385, -0.05357557, 0.030459499, 0.034174073, 0.00481823, 0.018115686, 0.052261185, 0.0087935375, -0.027473554, 0.03157387, 0.00070987636, 0.029945172, -0.03368832, -0.039545916, -0.05157542, -0.012686696, -0.03931733, -0.025359103, 0.014901153, 0.018472858, -0.022801764, -0.0100864945, -0.008514944, 0.0120580755, -0.009107848, 0.032945406, 0.015072594, -0.052575495, -0.004161036, -0.024116151, 0.0225446, -0.031545296, 0.021358795, -0.012086649, -0.047803696, -0.015972665, 0.009815045, -0.010865126, -0.0048575187, -0.036259945, -0.00019800638, -0.041174613, 0.0066719446, -0.04254615, 0.002310893, -0.013229595, 0.011215153, -0.029630864, 0.0046039275, -0.040746007, -0.014929726, 0.022358872, 0.0011143719, 0.055032827, -0.044346288, 0.0020519444, -0.05120396, 0.0017322769, 0.061147586, 0.0076934523, 0.007486293, -0.013858215, 0.028973669, 0.045889262, 0.040174536, 0.014365396, -0.015215462, -0.019001469, 0.007829177, 0.011415169, -0.036088504, 0.037717205, -0.013479614, 0.011329448, -0.009615029, 0.0007540762, -0.06743379, 0.016158393, 0.019015757, 0.01652985, -0.033945482, 0.00015224391, -0.009965057, -0.026259175, 0.016101245, -0.033631172, 0.018587152, -0.0013626054, 0.004328906, 0.010029347, 0.043860536, -0.017387059, 0.000629513, 0.009043557, 0.0356599, -0.010179359, -0.023187507, 0.06640513, -0.005453993, -0.009836475, -0.0070862626, -0.03391691, -0.056832965, 0.04806086, 0.017587075, -0.013736777, -0.007486293, -0.029345127, -0.008357789, 0.04837517, -0.061947647, 0.008457797, -0.028630786, 0.042288985, 0.061376177, 0.03911731, -0.023201795, -0.00070987636, 0.019772958, 0.0090078395, -0.006861245, -0.067890964, -0.01805854, 0.010172215, -0.020673027, -0.014886865, 0.025701988, -0.011158006, 0.05897599, 0.054404207, -0.0026769927, -0.020744462, -0.036488537, 0.018615726, 0.01877288, 0.07377713, -0.021758826, -0.033574026, -0.00898641, -0.021901693, 0.030830955, 0.000017914332, -0.009965057, -0.0026573483, -0.0022537457, -0.041031744, 0.020815896, -0.060690407, 0.041974675, 0.045060627, 0.012786703, -0.029573716, 0.060404673, -0.029716585, -0.024630476, -0.030488072, 0.004328906, -0.0045682103, 0.012050932, -0.024601903, 0.027730716, -0.04957526, -0.033831187, -0.0032484655, 0.010236506, 0.01032937, -0.0275307, 0.011886634, -0.0008205992, -0.08549233, 0.011422312, 0.011922351, -0.021487376, 0.00031096156, -0.0014465405, 0.0556043, 0.0061754775, 0.006861245, 0.03400263, 0.05017531, 0.075262964, -0.010036491, -0.02241602, 0.00096882496, 0.019158624, 0.0014295748, 0.012200944, 0.040088814, 0.043546226, 0.018687159, -0.029888026, 0.001984082, 0.0072398456, -0.010736545, -0.010993707, -0.012629548, -0.031602446, 0.02101591, 0.012343812, -0.023344662, 0.07932042, -0.022273151, -0.013729634, -0.012665265, -0.037574336, -0.029259406, 0.024087578, -0.019972973, -0.03180246, 0.0017617434, -0.037374318, 0.01430825, 0.084978, 0.044746317, 0.03288826, 0.015915517, -0.009200712, 0.050546765, 0.0013849286, 0.039088737, -0.024744771, -0.008643526, 0.0017188829, -0.0057754465, 0.0058575957, 0.016386982, 0.019930113, -0.0017394202, -0.035202723, 0.028273616, -0.028173607, -0.029402275, -0.03220249, -0.0037074296, 0.029716585, -0.0013322459, -0.009043557, 0.07074833, 0.011258014, 0.023787554, -0.031659592, -0.015144029, 0.008686386, -0.041803233, 0.007032687, -0.012908141, 0.03463125, -0.04957526, 0.011065141, 0.05251835, 0.012286665, -0.01439397, -0.012408103, 0.011429455, -0.044260565, 0.0069398223, 0.02524481, -0.0071719834, 0.010136498, 0.026587771, 0.0042931894, -0.010793692, -0.033745468, 0.036317095, 0.014715424, 0.02838791, 0.06640513, 0.023273228, -0.027916444, -0.0076791653, 0.003546703, -0.037374318, -0.005421848, -0.0054432782, -0.017401345, 0.043060474, 0.011550893, -0.006057611, -0.003921732, 0.0015956592, -0.012415246, -0.024687624, 0.00871496, -0.026330607, -0.002855578, 0.0016947739, -0.028687933, 0.04477489, 0.022301724, 0.026387755, 0.013265312, 0.016201254, 0.0017608504, 0.023344662, 0.010136498, -0.02945942, 0.038117234, -0.015186889, 0.01554406, -0.032602523, 0.023644686, -0.019101478, -0.028245041, -0.05168971, -0.020244423, 0.005346842, -0.044432007, 0.0059826057, -0.094293006, -0.017087037, -0.017315624, 0.016372696, -0.009615029, 0.0051611136, 0.000046460067, -0.055718597, -0.0015947662, -0.00840065, 0.011536607, -0.020744462, -0.04883235, -0.0041288906, 0.0050861076, -0.014715424, 0.016787013, -0.023573251, 0.0046110707, 0.03463125, -0.013265312, 0.0063933516, 0.0074577197, 0.030488072, -0.017615648, -0.034202646, -0.03234536, -0.012700982, -0.009957913, -0.0173442, -0.00046432164, 0.004153893, -0.0042324704, -0.0038181525, 0.03188818, 0.026959227, -0.0045646387, 0.00028104853, 0.018544292, 0.028530778, 0.012993862, -0.014558269, -0.0027323542, -0.017858524, -0.026402041, 0.013693917, -0.027959306, 0.028459344, -0.035459887, -0.025344817, 0.008943548, 0.0062111947, 0.012379529, -0.033574026, -0.0071184076, 0.02088733, -0.001258133, -0.0561472, 0.017587075, -0.005118253, -0.0006246019, -0.008486371, -0.017401345, -0.019844392, -0.004186038, 0.0013974295, -0.0047932277, -0.037831496, 0.005564716, 0.021544524, -0.02317322, -0.033202566, -0.015515486, 0.03134528, 0.0146439895, 0.008036336, -0.016958455, 0.036774274, 0.029187972, -0.009143564, 0.029116537, 0.0054289913, 0.019858679, -0.025373392, -0.010172215, 0.00641121, 0.019215772, -0.014215386, 0.04531779, 0.011550893, -0.0050646774, 0.044946335, -0.022201717, 0.0000792472, 0.022401733, 0.0063933516, -0.0028895093, -0.0030930964, 0.021315934, 0.01665843, -0.016829873, 0.011836629, 0.0018135331, -0.03117384, -0.044174846, 0.01895861, 0.026973514, -0.046375014, 0.015829796, 0.018901462, 0.012550971, 0.012608118, -0.023558965, 0.03871728, -0.0072041284, -0.04711793, -0.021301648, -0.00938644, -0.019730097, -0.003218106, 0.010950847, -0.0048682336, 0.002153738, -0.04177466, -0.021187354, 0.012350955, 0.0032216778, 0.003811009, -0.011115145, -0.018658586, -0.030830955, -0.035717048, 0.021744538, -0.035117, -0.008457797, -0.004332478, 0.0043003326, -0.014743998, 0.013236738, -0.008264925, 0.013365319, -0.0029680866, 0.00008080982, 0.010950847, 0.033716895, 0.043831963, 0.026044872, -0.029402275, 0.0055468576, -0.026873507, -0.010393661, -0.0034895556, -0.010507955, -0.022330299, 0.0001379571, -0.053689867, 0.017672796, 0.058861695, -0.0025948435, 0.014915439, 0.023730407, 0.006632656, -0.021587385, 0.004425342, 0.024644764, -0.006736235, -0.007850607, -0.005400418, -0.0025823426, -0.02093019, 0.054261338, -0.04366052, -0.08332073, 0.015344044, 0.04020311, 0.0036752843, 0.001004542, -0.019544369, -0.031773888, -0.0009884693, 0.007343425, 0.07354855, -0.026987802, 0.02425902, 0.020058693, -0.04406055, 0.0070826905, -0.0099722, -0.0075077238, 0.0254734, 0.012208087, -0.0099722, -0.015729789, -0.03897444, 0.010807979, -0.032031048, -0.017258478, -0.02133022, -0.002384113, 0.0011965211, -0.0077291694, -0.001621554, -0.008586379, 0.021444516, 0.0530041, 0.05008959, 0.0024787632, 0.01958723, 0.0124581065, 0.007672022, -0.005868311, -0.012015215, -0.020730175, -0.047203653, -0.008336359, -0.007936328, -0.03288826, -0.019930113, 0.0128581375, -0.024773344, -0.0058647394, -0.034516957, 0.021387368, -0.0280736, 0.014051087, -0.013493901, -0.024959072, -0.0002951121, 0.0042396137, 0.01066511, -0.017101323, -0.022916058, 0.011843774, -0.024530469, 0.006861245, -0.03134528, 0.01877288, 0.02815932, 0.0054111327, -0.007672022, -0.040946025, -0.010679398, -0.01305101, 0.0055325706, -0.009436444, 0.03531702, -0.011743765, 0.026173454, -0.022115996, 0.007236274, -0.025173375, 0.017715655, 0.008586379, -0.01062225, -0.004478918, 0.0030823813, -0.011493746, -0.004018168, 0.019744385, 0.009343579, 0.018429996, -0.01908719, -0.040145963, -0.041488923, -0.031402428, -0.029945172, -0.0041181757, 0.014772571, -0.03205962, 0.0014769, -0.12880996, -0.02245888, 0.037517186, -0.0012197372, 0.003678856, -0.028973669, 0.012986719, 0.008864972, 0.022873197, -0.0003756987, -0.012979575, -0.021315934, -0.008264925, 0.014265389, 0.016672717, -0.039374474, 0.009443588, -0.008679243, -0.004221755, -0.0072291307, -0.010672254, -0.013322459, 0.003230607, 0.008529231, 0.012750986, -0.011172293, -0.0016429842, -0.016944168, 0.002287677, 0.0013590336, -0.0049360963, -0.014401114, 0.022558888, 0.032459654, -0.024044717, -0.0070184, 0.0023305374, -0.015786935, -0.019658664, 0.008500657, 0.012600974, -0.028316475, 0.01927292, -0.048346598, 0.017958531, -0.0075434404, -0.00019633216, -0.0063790646, 0.0031252417, -0.02663063, -0.028545065, 0.013515331, -0.0043003326, 0.009493591, -0.008450653, 0.006707662, 0.020958764, -0.027873585, -0.03077381, 0.008179204, -0.02317322, 0.026659206, 0.042203262, -0.013301029, -0.02834505, -0.044660598, -0.02663063, 0.040088814, 0.005371844, -0.008586379, 0.014436831, 0.011672331, -0.015429765, 0.0150154475, 0.013908219, 0.015801223, 0.011408025, 0.022887485, -0.013401036, 0.031545296, -0.02143023, 0.022887485, 0.0023448241, 0.028573638, 0.016987028, -0.004261044, 0.032402508, -0.015429765, -0.00389673, 0.045803543, -0.006811241, -0.021758826, -0.024487609, 0.027430693, 0.020473013, 0.0036752843, 0.027959306, 0.013129587, 0.034774117, 0.016858447, 0.018558579, 0.04114604, 0.007979188, -0.007822034, -0.01131516, 0.0030520218, 0.00902927, -0.003327043, -0.045374937, -0.017772803, 0.0054432782, 0.010365088, -0.003968164, -0.01935864, -0.011643758, 0.02034443, 0.009793615, 0.007286278, 0.039088737, -0.028545065, 0.028002165, 0.028316475, -0.021215927, 0.012300951, -0.024873352, 0.0006192443, 0.026659206, -0.005189687, -0.009229286, 0.028087886, 0.0063719214, 0.017644221, -0.01602981, 0.01280099, 0.0018019251, -0.0066362275, 0.0021805258, 0.016115531, -0.0023555392, 0.0010384732, 0.0030073754, 0.017715655, 0.043631945, -0.044089124, 0.0027627137, -0.0066862316, 0.02093019, -0.050403897, 0.0005888848, 0.019730097, 0.0035931352, -0.014522552, 0.003402049, 0.011850917, 0.0017572788, 0.029045103, -0.010757975, -0.02740212, 0.018015679, -0.0074220025, 0.0020287284, 0.010772262, -0.009729324, -0.014658277, 0.008643526, -0.0293737, -0.0071434095, 0.00092417863, -0.024801917, 0.05569002, -0.03605993, -0.032002475, 0.00902927, 0.035717048, 0.0033663318, 0.04460345, 0.037688628, 0.010207932, 0.00095275225, 0.022901772, -0.039088737, 0.013172448, 0.018244268, 0.036031358, 0.03683142, -0.022130283, 0.025373392, 0.003811009, 0.0041038888, -0.0020251567, 0.00090944534, 0.03108812, 0.040860303, 0.03886015, 0.06434783, -0.036917143, -0.008564948, 0.017987106, -0.009729324, -0.02763071, -0.020815896, 0.00014454243, -0.0212445, -0.016101245, -0.03817438, 0.0398888, -0.0030288056, -0.023744693, -0.037831496, 0.03157387, -0.04694649, 0.028130747, -0.013729634, 0.02277319, 0.01927292, 0.014386827, -0.009650746, 0.02775929, -0.009186425, 0.0021448086, -0.009915053, -0.04020311, -0.0022644608, 0.0556043, -0.009307863, 0.0048825205, 0.021958841, -0.0115937535, -0.010165072, 0.008022049, 0.021901693, -0.024144724, 0.014772571, -0.02524481, -0.005407561, -0.008464941, 0.0037074296, -0.00875782, -0.007872038, 0.030602368, 0.018558579, -0.019544369, -0.0061147586, 0.00068889256, -0.010100781, -0.015644068, 0.012000929, -0.012386672, -0.008836398, 0.0050789644, -0.036288522, -0.018787168, 0.036717124, -0.039060164, 0.0012858137, -0.0207016, 0.014108234, 0.034374088, 0.03237393, 0.0037467184, -0.0012777774, 0.0019644375, -0.009179281, -0.044803467, 0.0025609124, 0.023816127, -0.008000619, -0.017029889, -0.010850839, -0.022244578, -0.041031744, 0.01742992, 0.009250715, 0.014901153, -0.027387833, -0.021944555, -0.012715269, -0.018458571, 0.0065612216, -0.016629858, -0.031030972, 0.015572633, -0.014944013, 0.0073505687, -0.0044824895, -0.0030073754, -0.05811878, -0.049603835, -0.0038610129, 0.03328829, 0.07051974, 0.0048825205, 0.0064076385, -0.008564948, 0.017844237, 0.0015349401, 0.011415169, 0.0011340163, 0.018158548, -0.0014474334, 0.036545683, 0.02223029, 0.012993862, -0.026987802, 0.028059313, 0.029659437, -0.0030448784, -0.034459807, -0.014658277, 0.0039860224, 0.0091935685, 0.008950693, -0.012622405, 0.0016072672, -0.014815432, -0.0021233785, -0.012208087, -0.012600974, -0.021858834, 0.02273033, -0.010722258, 0.008843541, 0.0047110785, -0.009150708, 0.012300951, -0.0073219948, -0.005639722, -0.001465292, 0.017044175, -0.019344354, -0.0024716198, 0.041746087, -0.028973669, 0.0022001702, -0.006471929, 0.009943626, -0.03611708, 0.00047369735, 0.002503765, -0.030059468, 0.011850917, 0.02533053, -0.017587075, -0.030659514, -0.008807824, 0.0066826595, 0.016144106, 0.0061754775, -0.024459034, 0.009079274, 0.067090906, 0.015258323, -0.04100317, 0.013901075, 0.033574026, 0.044574875, -0.013022436, 0.03077381, 0.008764964, -0.012600974, -0.011529463, 0.022887485, -0.011722336, -0.004282474, 0.028245041, 0.020158703, -0.0249305, -0.016058385, 0.014172525, -0.018744307, 0.028530778, 0.027544988, -0.012543827, 0.026644917, -0.0012027716, 0.008814967, 0.037231453, 0.003971736, -0.0064183534, 0.02815932, -0.0010331157, -0.009886479, -0.028173607, 0.0017724585, -0.012015215, -0.0051503982, -0.033488303, 0.009672177, -0.008572091, -0.016815586, -0.014972586, -0.017087037, -0.01430825, -0.0035395594, -0.0048075146, 0.0075077238, 0.046546455, 0.01895861, 0.017229903, -0.02250174, 0.0010607963, -0.004393197, -0.010479382, -0.0031591728, -0.013786781, -0.049375247, 0.029888026, 0.056490082, 0.028016452, 0.032316785, -0.036859993, 0.022616034, -0.0024912641, 0.01634412, -0.0087935375, -0.051718287, 0.0053647007, 0.0024787632, -0.020501586, -0.01797282, -0.0024412603, -0.021544524, -0.023444671, 0.0026948513, 0.0029913029, 0.010393661, 0.037174303, 0.008450653, 0.029859452, 0.0048003714, 0.026602058, -0.023444671, -0.029973747, -0.03288826, -0.016144106, -0.009200712, 0.03174531, 0.010543672, -0.016672717, -0.010786548, 0.017572789, 0.019387214, 0.0037717202, 0.008486371, -0.020415865, -0.013329603, 0.000822385, 0.0033966913, 0.004728937, -0.009772184, 0.013693917, 0.005793305, 0.005507569, -0.013908219, -0.009979343, 0.034031205, -0.06349062, 0.012900998, 0.0010679398, 0.04294618, 0.0055111405, 0.01158661, 0.0025216236, -0.010343657, -0.0012920642, 0.0065005026, -0.020215848, -0.02434474, -0.047660828, -0.04334621, 0.019544369, 0.016358407, -0.0030895246, -0.0068469583, 0.046775047, 0.016558424, 0.02717353, -0.010129355, 0.00657908, 0.011079429, -0.01837285, 0.0018215695, 0.018487144, 0.0299166, 0.0115937535, 0.0033413297, 0.009572169, 0.0013474256, -0.019930113, 0.0008143487, -0.015501199, 0.047860846, -0.032602523, -0.022358872, 0.03063094, 0.035059854, 0.024987647, -0.018887175, -0.018201407, 0.00938644, -0.041060317, -0.02641633, -0.0077505996, 0.041488923, -0.005514712, 0.0023501818, 0.019187199, 0.008264925, 0.017001314, -0.022330299, 0.0056075766, -0.00561472, 0.040231682, -0.016829873, 0.03786007, 0.005700441, -0.021073058, -0.0022430306, 0.00035873312, 0.0001033004, 0.009243572, 0.015415478, 0.008014905, -0.034431234, -0.0028645073, -0.015301184, 0.012600974, -0.0053289835, 0.0032270353, 0.020644454, -0.020830182, -0.046460737, 0.041031744, -0.017044175, -0.015158315, -0.005218261, -0.0044682026, -0.016772727, -0.003303827, -0.032173917, 0.03274539, -0.042517573, -0.012693839, -0.009800758, -0.009343579, 0.017044175, 0.00065049675, 0.011915207, 0.030459499, 0.025144802, -0.01405823, -0.045346364, 0.008864972, 0.014179668, 0.007211272, -0.0032341788, 0.027887871, 0.020630168, -0.0041931816, -0.0230875, 0.047632255, -0.020444438, -0.006911249, 0.027659282, 0.000010143083, -0.005514712, 0.0036609974, 0.0070184, -0.011108002, -0.01621554, 0.009272146, -0.012229517, -0.011972355, 0.006254055, -0.036088504, -0.017844237, 0.029159399, 0.0037574335, -0.038117234, 0.012429533, -0.0029609434, -0.018630013, -0.029888026, 0.005461137, 0.014672563, -0.0091007035, -0.02834505, -0.025287671, 0.03108812, 0.04837517, -0.029216545, 0.006450499, -0.007393429, -0.021944555, -0.009086417, 0.014065374, 0.02595915, 0.0107651185, -0.011708048, 0.0037324314, -0.0027073522, -0.015686927, -0.038574412, -0.0039395904, 0.029116537, 0.011772339, 0.012658122, 0.00806491, -0.010315084, 0.018972896, -0.012715269, 0.007261276, -0.008972122, 0.00060540397, 0.028945096, 0.014701137, -0.021073058, 0.018687159, -0.022316013, 0.0254734, 0.0041681794, 0.01338675, -0.036888566, 0.0131653035, -0.00008036336, 0.014629703, 0.012065219, 0.0054039895, 0.015429765, 0.001439397, 0.059033137, -0.0073505687, -0.04360337, -0.019872965, 0.005400418, 0.03557418, -0.023687547, 0.018172834, -0.013708203, 0.0033556167, 0.0076291617, -0.001609053, 0.036002785, -0.026073445, -0.011322305, -0.018887175, -0.006861245, -0.030830955, 0.030116616, 0.002141237, -0.04068886, 0.0049896715, 0.027002089, 0.0024001857, 0.015415478, 0.020830182, 0.008807824, -0.000720145, 0.02631632, -0.0031609589, 0.0022912486, 0.019030044, 0.018387137, 0.01152232, 0.042260412, 0.0041324627, -0.010500812, 0.034202646, -0.027016375, 0.04971813, -0.019344354, 0.006450499, -0.019858679, -0.006375493, 0.026073445, 0.0074362895, -0.03840297, -0.006911249, 0.02434474, -0.0217874, 0.04648931, -0.0033788327, 0.02434474, -0.014586843, 0.019887252, -0.0014135021, -0.015186889, 0.0069826827, 0.0019662236, 0.00328954, -0.022373158, -0.0010509741, -0.009343579, -0.022901772, -0.02968801, 0.022358872, 0.018487144, -0.008664956, -0.014658277, 0.006925536, 0.0033824046, -0.018515717, 0.0047610826, 0.018572865, 0.04160322, 0.019515796, 0.011015138, -0.015686927, -0.03000232, 0.018687159, 0.005361129, -0.017387059, 0.015286896, 0.00071568036, -0.017015602, 0.0049896715, 0.017215617, -0.022587461, 0.010707971, -0.032773964, 0.008057766, 0.03220249, 0.02555912, 0.026330607, -0.014758284, -0.010736545, -0.028630786, -0.019530082, -0.0051754, -0.026244886, 0.022758903, -0.054832812, 0.0113794515, -0.039831653, -0.020815896, 0.0058254506, -0.02610202, -0.0039395904, -0.010857983 ]
2310.12773
8
• During the Safe RLHF stage, the Lagrangian method (Bertsekas, 1997) can adaptively balance the trade-off between two inherently conflicting training objectives. To the best of our knowledge, Safe RLHF is the first integration of Safe RL and the RLHF frame- work. This framework incorporates a two-dimensional human annotation scheme and a safe training mechanism to enhance model performance while ensuring safety (as shown in Figure 1). Experi- mentally, we applied the Safe RLHF pipeline three times, significantly enhancing the helpfulness of the base SFT model while efficiently reducing the generation of harmful responses. Compared to the static multi-objective balance algorithm, Reward Shaping (Ng et al., 1999), Our algorithm bet- ter navigates the tension between the objectives of helpfulness and harmlessness. Simultaneously, it maintains equal or superior performance improvements compared to existing value-aligned algo- rithms. Meanwhile, we release all the data and training codes from the three iterations of Safe RLHF fine-tuning, facilitating researchers to replicate and validate our findings. 2 # 2 PRELIMINARIES
2310.12773#8
Safe RLHF: Safe Reinforcement Learning from Human Feedback
With the development of large language models (LLMs), striking a balance between the performance and safety of AI systems has never been more critical. However, the inherent tension between the objectives of helpfulness and harmlessness presents a significant challenge during LLM training. To address this issue, we propose Safe Reinforcement Learning from Human Feedback (Safe RLHF), a novel algorithm for human value alignment. Safe RLHF explicitly decouples human preferences regarding helpfulness and harmlessness, effectively avoiding the crowdworkers' confusion about the tension and allowing us to train separate reward and cost models. We formalize the safety concern of LLMs as an optimization task of maximizing the reward function while satisfying specified cost constraints. Leveraging the Lagrangian method to solve this constrained problem, Safe RLHF dynamically adjusts the balance between the two objectives during fine-tuning. Through a three-round fine-tuning using Safe RLHF, we demonstrate a superior ability to mitigate harmful responses while enhancing model performance compared to existing value-aligned algorithms. Experimentally, we fine-tuned the Alpaca-7B using Safe RLHF and aligned it with collected human preferences, significantly improving its helpfulness and harmlessness according to human evaluations.
http://arxiv.org/pdf/2310.12773
Josef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji, Xinbo Xu, Mickel Liu, Yizhou Wang, Yaodong Yang
cs.AI, cs.LG
null
null
cs.AI
20231019
20231019
[ { "id": "2302.13971" }, { "id": "2304.05302" }, { "id": "1707.06347" }, { "id": "2305.18290" }, { "id": "2305.10403" }, { "id": "2305.03047" }, { "id": "2211.05100" }, { "id": "2110.08207" }, { "id": "2304.05335" }, { "id": "2107.03374" }, { "id": "2105.04054" }, { "id": "2209.07858" }, { "id": "2305.15324" }, { "id": "2307.09288" }, { "id": "2210.11416" }, { "id": "2212.08073" }, { "id": "2307.12950" }, { "id": "2009.11462" }, { "id": "2307.04657" }, { "id": "2204.05862" }, { "id": "2112.00861" }, { "id": "2209.14375" }, { "id": "2303.00957" }, { "id": "2306.01693" }, { "id": "2305.01937" }, { "id": "2307.15217" }, { "id": "2306.17492" }, { "id": "2112.04359" }, { "id": "1506.02438" } ]
{ "authors": "Josef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji, Xinbo Xu, Mickel Liu, Yizhou Wang, Yaodong Yang", "chunk_id": 8, "doc_id": "2310.12773", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12773", "summary": "With the development of large language models (LLMs), striking a balance\nbetween the performance and safety of AI systems has never been more critical.\nHowever, the inherent tension between the objectives of helpfulness and\nharmlessness presents a significant challenge during LLM training. To address\nthis issue, we propose Safe Reinforcement Learning from Human Feedback (Safe\nRLHF), a novel algorithm for human value alignment. Safe RLHF explicitly\ndecouples human preferences regarding helpfulness and harmlessness, effectively\navoiding the crowdworkers' confusion about the tension and allowing us to train\nseparate reward and cost models. We formalize the safety concern of LLMs as an\noptimization task of maximizing the reward function while satisfying specified\ncost constraints. Leveraging the Lagrangian method to solve this constrained\nproblem, Safe RLHF dynamically adjusts the balance between the two objectives\nduring fine-tuning. Through a three-round fine-tuning using Safe RLHF, we\ndemonstrate a superior ability to mitigate harmful responses while enhancing\nmodel performance compared to existing value-aligned algorithms.\nExperimentally, we fine-tuned the Alpaca-7B using Safe RLHF and aligned it with\ncollected human preferences, significantly improving its helpfulness and\nharmlessness according to human evaluations.", "text": "• During the Safe RLHF stage, the Lagrangian method (Bertsekas, 1997) can adaptively balance the trade-off between two inherently conflicting training objectives.\nTo the best of our knowledge, Safe RLHF is the first integration of Safe RL and the RLHF frame- work. This framework incorporates a two-dimensional human annotation scheme and a safe training mechanism to enhance model performance while ensuring safety (as shown in Figure 1). Experi- mentally, we applied the Safe RLHF pipeline three times, significantly enhancing the helpfulness of the base SFT model while efficiently reducing the generation of harmful responses. Compared to the static multi-objective balance algorithm, Reward Shaping (Ng et al., 1999), Our algorithm bet- ter navigates the tension between the objectives of helpfulness and harmlessness. Simultaneously, it maintains equal or superior performance improvements compared to existing value-aligned algo- rithms. Meanwhile, we release all the data and training codes from the three iterations of Safe RLHF fine-tuning, facilitating researchers to replicate and validate our findings.\n2\n# 2 PRELIMINARIES", "title": "Safe RLHF: Safe Reinforcement Learning from Human Feedback", "year": 2023 }
[ 0.02133193, 0.0023094497, 0.06632266, -0.002459233, 0.015410265, 0.005252866, -0.03232533, 0.059801858, -0.0036191829, 0.038010128, 0.044893194, -0.029956663, -0.032046665, 0.006646199, 0.018587064, -0.047317594, 0.015925799, -0.03488906, -0.011272065, 0.013327232, -0.0039048162, -0.028619064, 0.030458262, 0.045004662, 0.0050821826, -0.037564263, 0.053726926, -0.007997733, -0.016413465, -0.0054270327, 0.044085063, -0.03090413, -0.023575198, 0.023017865, 0.0006161145, 0.012344932, -0.021053264, 0.03165653, -0.030513996, 0.017555999, 0.022725264, -0.029037064, -0.015103731, 0.058910128, -0.017082265, 0.018809998, 0.02998453, 0.010240999, -0.005984366, 0.06264426, -0.015034065, 0.031851597, -0.03572506, -0.02726753, 0.0045248494, 0.023226865, 0.015953666, 0.011425332, 0.021471264, -0.016427398, 0.008039532, -0.019186197, -0.02438333, 0.023533396, -0.03522346, -0.00073454785, -0.098926656, -0.0014708373, 0.004594516, 0.047317594, 0.002339058, -0.030318929, 0.06275573, -0.024759531, -0.01848953, -0.011272065, 0.044558793, 0.07078133, -0.009063632, -0.0022432664, -0.002908583, -0.01619053, 0.02179173, -0.04258026, -0.028033864, -0.041799996, -0.06766026, 0.0011555956, -0.05202706, -0.027253596, -0.030207463, 0.0041416828, -0.013640732, 0.017500265, 0.020760665, -0.053503994, 0.007011949, 0.0013201832, 0.073512256, 0.012296165, 0.03784293, -0.045450527, 0.018419864, -0.03566933, 0.02509393, 0.005858966, 0.04182786, 0.06877492, -0.0069527323, 0.012177732, -0.04567346, -0.041298393, -0.012337965, 0.033077728, 0.010359432, -0.06570959, -0.06431626, 0.021596665, 0.017416665, 0.012818665, -0.0010972499, -0.026236463, 0.02881413, -0.067827456, 0.010575399, 0.004960266, 0.035167728, -0.016831465, -0.02613893, -0.024522664, 0.0014002998, 0.019590264, -0.021317998, -0.018796064, -0.060414925, 0.015256998, -0.063758925, -0.03739706, -0.015493865, -0.022697397, -0.016413465, -0.027908463, -0.05361546, -0.00082424365, -0.02011973, 0.017263398, -0.007788732, 0.02450873, 0.026333997, 0.022780998, -0.028953463, 0.015410265, -0.02939933, 0.030179596, -0.031851597, -0.024954597, -0.03199093, 0.014964398, 0.009878732, -0.0013193124, 0.015577464, 0.050048526, -0.02739293, 0.0016571956, 0.039459195, 0.007105999, -0.015006199, -0.0073010656, -0.07696772, 0.0075588324, 0.009286566, -0.0021579247, -0.034136664, -0.025316864, -0.037592128, -0.010422132, -0.03154506, -0.02325473, -0.011773665, -0.024146464, -0.011655232, 0.001639779, -0.019548465, 0.033105597, -0.02772733, 0.014532465, -0.02133193, -0.013766131, 0.030123863, 0.005033416, -0.035279196, 0.04099186, 0.021345863, 0.015856132, 0.03814946, -0.009091499, 0.021722063, 0.04467026, 0.024731664, -0.017430598, 0.009579166, -0.0013698207, 0.021108998, -0.029873064, -0.0041974164, -0.017472398, -0.02547013, 0.039570663, -0.002913808, -0.04026733, 0.013814898, 0.054507192, 0.039291997, 0.03107133, -0.033077728, 0.032353196, -0.0073289326, 0.007426466, 0.01924193, 0.0142955985, -0.008401799, 0.0001206104, 0.04751266, 0.0101991985, -0.02931573, 0.0038316662, 0.050828792, -0.026542997, 0.032464664, -0.06676853, 0.060191993, 0.02011973, -0.009732432, -0.010735632, 0.017542064, 0.020886064, -0.007914132, -0.02409073, 0.040713195, -0.0026612664, 0.013334198, 0.037285596, 0.0059704324, -0.03416453, -0.003765483, 0.024480864, 0.012957999, -0.04528333, 0.013682531, 0.013278465, 0.004887116, -0.048069995, 0.008429666, -0.056429993, -0.041772127, 0.007112966, -0.018921465, -0.036616795, -0.007851432, -0.02149913, -0.027281463, -0.0123518985, -0.0040406664, -0.006865649, -0.007126899, -0.012748999, 0.00094137073, 0.012358865, -0.0069283494, 0.02793633, -0.0005952145, 0.04241306, -0.019102598, -0.017597798, -0.040908262, 0.010916766, 0.08967492, 0.077636525, -0.054925192, -0.01577253, -0.02091393, 0.021777797, 0.05946746, -0.055426795, 0.015047998, 0.009613999, -0.006708899, -0.02195893, -0.00030783954, -0.011850298, 0.0093074655, -0.0061132493, 0.06816186, -0.02881413, 0.032464664, 0.02137373, 0.008102233, 0.012686298, 0.017346999, -0.006297866, 0.02664053, 0.050577994, -0.046788126, 0.014434932, 0.04851586, -0.010840132, -0.018475598, -0.012735065, 0.01945093, 0.045227595, 0.012553932, 0.011390499, 0.014107498, 0.0044098995, -0.018628864, -0.049741995, 0.074292526, -0.009690632, 0.015563532, 0.0040998827, -0.007356799, -0.015563532, 0.03224173, -0.015856132, 0.029092796, -0.030179596, 0.016427398, 0.019158332, -0.014337398, -0.008652599, 0.0061759492, -0.043667063, 0.025358664, -0.06910933, -0.005872899, -0.028953463, -0.037898663, -0.0037480663, 0.042050794, 0.015382398, -0.028451864, -0.048794527, -0.03374653, 0.034972664, -0.026710197, 0.003629633, -0.012324031, -0.024703797, 0.038288794, 0.010958565, 0.010456965, -0.025177531, -0.0050299326, -0.017096197, -0.040183727, 0.0005634291, -0.0061689825, -0.043778528, -0.027378997, 0.013703432, -0.03240893, 0.04285893, 0.0044064163, 0.00021879685, -0.025902063, 0.020760665, -0.024689864, 0.03090413, -0.02818713, -0.007440399, 0.012999798, 0.02923213, -0.03316133, 0.017207665, -0.076187454, 0.02672413, 0.06281146, -0.0037968329, 0.011759732, 0.029510796, -0.031879462, 0.0049637496, -0.05637426, -0.021067197, 0.004281016, 0.03564146, -0.012080198, -0.018419864, -0.024480864, 0.0074891658, 0.0147414645, -0.0043646162, -0.012101099, 0.014699665, 0.009690632, -0.046815995, 0.011446232, 0.020760665, 0.07663333, 0.04369493, -0.009391066, -0.010909799, -0.06570959, -0.004949816, -0.041716393, 0.030263197, 0.007482199, 0.028410064, 0.0023791164, 0.02258593, -0.0018618414, -0.05211066, 0.013529265, -0.008380899, 0.03667253, -0.028368263, 0.036282394, -0.030291064, -0.004685083, 0.045227595, 0.012574832, -0.06236559, -0.014365265, -0.031349998, 0.0021074165, 0.018837864, 0.023435865, -0.014852932, -0.010707765, -0.034359597, 0.0074543324, 0.06281146, 0.000981429, -0.017918264, -0.021457331, 0.066155456, 0.0047233994, -0.015758598, -0.026835596, 0.022293331, 0.068551995, 0.0040545994, -0.040880393, 0.02112293, -0.008192799, -0.0030217913, -0.04433586, 0.03817733, -0.02388173, 0.042217996, -0.024898864, 0.008617765, 0.05846426, 0.029900929, 0.011320832, -0.020635264, 0.060024794, -0.031127064, 0.034610394, 0.042719595, 0.012937099, 0.035529997, -0.019757465, 0.011843332, 0.04728973, 0.02689133, 0.029259996, -0.007900199, -0.029371463, -0.036644664, -0.013598932, -0.06470639, 0.03500053, -0.014894731, 0.021011464, -0.0013706915, 0.007921099, -0.017096197, 0.06348026, 0.010979465, 0.011285999, -0.0076145655, 0.002767508, -0.025790596, 0.06035919, 0.066099726, 0.047066793, 0.013571065, 0.010756532, 0.0015117665, 0.029845197, -0.012846531, 0.05269586, -0.017305197, -0.023742396, -0.07044692, 0.011014299, 0.014379199, -0.00031567705, -0.01723553, 0.058074128, 0.036282394, -0.02567913, 0.018196931, 0.052472927, -0.006740249, 0.011703999, -0.0032464662, -0.037369195, -0.0025672163, 0.011919965, -0.019966464, -0.03148933, 0.008457532, -0.0012235207, 0.012553932, 0.0022693914, -0.004646766, -0.014072665, 0.014532465, 0.02601353, -0.0034345663, -0.021067197, -0.008248532, 0.0050821826, -0.0004271437, -0.026988864, -0.054646526, -0.026835596, -0.035975862, -0.023435865, 0.010812266, 0.0036226662, 0.023714531, -0.054256395, 0.007628499, -0.035864394, -0.019590264, -0.027992064, -0.037564263, 0.0053294995, 0.015465998, 0.058742926, 0.023770263, -0.013222732, -0.014755398, -0.010052899, -0.00034985726, 0.03065333, 0.0073707323, 0.017695332, -0.054228526, -0.032102395, -0.024731664, -0.00035486455, -0.015229131, -0.0019106081, -0.016218398, 0.013369031, 0.017458465, -0.030458262, 0.0015927539, 0.014504598, -0.02739293, -0.056987327, 0.017319132, -0.016803598, -0.0051309494, 0.01932553, -0.004803516, -0.0071826326, -0.010011098, 0.034303863, -0.055844795, 0.005973916, 0.0032603997, 0.014922598, -0.017096197, 0.05144186, 0.0037515496, -0.040183727, -0.045422662, -0.022028597, -0.0070363325, -0.044614527, -0.018754264, 0.006949249, 0.024870997, -0.035557862, 0.000806827, 0.012386732, 0.008373932, 0.011731865, 0.02279493, -0.05291879, -0.010693832, 0.0061167325, -0.015229131, 0.0058345827, -0.017764999, 0.0009492082, 0.00063657906, 0.03867893, -0.04274746, -0.042078663, 0.011035198, -0.01681753, 0.003504233, 0.04968626, 0.007969866, -0.004848799, -0.0034275996, 0.0072383657, -0.011195432, -0.016984731, -0.013083398, 0.000838177, 0.016845398, 0.034275997, -0.033802263, -0.045339063, 0.016915064, 0.024313664, -0.04603573, 0.018893598, -0.006715866, -0.010847099, 0.0078096325, -0.03605946, -0.028131397, -0.04943546, 0.0070781326, 0.0037445829, -0.051720526, 0.0014316498, 0.03781506, 0.03984933, -0.008067399, 0.004016283, -0.034749728, 0.014643932, 0.012637531, -0.01886573, -0.062254127, 0.017569931, 0.017458465, 0.030346796, -0.0045248494, -0.0038351496, -0.028953463, -0.053894125, -0.019186197, -0.010380332, -0.002171858, 0.01844773, 0.025567664, -0.008527199, 0.022697397, 0.020802464, -0.0055071493, -0.025651263, 0.02814533, -0.016664265, 0.02981733, -0.017110132, -0.0043541663, 0.014476731, 0.030931996, 0.020760665, -0.017082265, -0.026529063, -0.0037376161, 0.013236665, 0.0021596665, -0.009669732, -0.039682128, 0.012477298, -0.018113332, -0.004636316, 0.059801858, -0.02856333, 0.023742396, -0.054980926, -0.04960266, 0.011056099, 0.03775933, 0.012519099, -0.028159263, -0.012449432, 0.02726753, -0.011376565, 0.015131598, 0.01660853, 0.005615133, 0.014727532, 0.03374653, 0.008339099, 0.019576332, 0.00042649056, -0.065375194, -0.016510999, 0.025525864, 0.017597798, -0.029873064, -0.025581596, -0.04737333, -0.008436632, 0.043137595, 0.03993293, -0.007948966, -0.0038630161, -0.017040465, 0.016413465, 0.002981733, -0.006099316, 0.039236262, 0.03948706, 0.014281665, -0.00024796976, -0.021150798, -0.043137595, -0.0053016325, -0.034359597, 0.02375633, -0.010826198, 0.019854998, -0.03274333, 0.005838066, -0.014685731, -0.0094398325, 0.027866663, 0.002401758, 0.005242416, 0.005242416, 0.0017852081, -0.007523999, -0.02638973, -0.016510999, 0.0057056993, 0.0003252562, 0.027992064, 0.011717932, -0.013173965, 0.038065862, 0.012839565, 0.007419499, 0.020649197, 0.043249063, 0.014267731, 0.0017251206, -0.015870064, 0.012700232, -0.011244198, 0.010247965, 0.025665198, -0.0067123827, -0.010150432, 0.02906493, -0.012881365, -0.0038246994, 0.02939933, -0.0077190655, -0.005158816, -0.0007045041, 0.013787031, -0.012728099, -0.012992832, 0.0064093326, 0.016162666, -0.008276399, -0.004908016, -0.021847464, 0.016051197, 0.028925596, 0.037592128, 0.0042566326, 0.017068332, 0.012874398, -0.007921099, 0.004939366, -0.014825065, -0.017458465, 0.04508826, -0.006998016, -0.029037064, -0.0017608248, 0.006026166, 0.025832396, 0.02007793, -0.02898133, -0.014448865, 0.018642798, -0.022920331, -0.026584797, -0.014588199, 0.044391595, -0.013877599, -0.10957172, -0.011035198, 0.02450873, -0.006381466, 0.009809066, 0.012031432, -0.007112966, 0.016747864, 0.018559197, -0.046063595, 0.02254413, 0.0062630326, -0.009788166, 0.0067890156, 0.007523999, -0.041019727, 0.01970173, 0.013006765, 0.031433597, -0.009460732, -0.024982464, -0.008311233, 0.021986797, 0.027086396, -0.039709996, 0.019172264, -0.010317632, -0.010338532, -0.017012598, 0.016343798, 0.009105432, -0.02718393, -0.0062595494, 0.0073080324, -0.036198795, -0.00011070468, 0.008429666, -0.0025306414, 0.0002956479, 0.050577994, 0.015828265, -0.0005333854, 0.044530928, -0.016079064, 0.03814946, -0.0071826326, 0.0026873914, -0.003713233, 0.016065132, 0.016747864, 0.010819232, -0.018141197, -0.025832396, -0.043667063, -0.008798899, 0.01740273, 0.024062864, 0.02714213, -0.0013114748, 0.0073707323, -0.030931996, 0.061250925, 0.009168132, -0.020300863, 0.005336466, -0.008234599, -0.0070363325, 0.028953463, -0.045812793, -0.043667063, 0.0060226824, -0.0009457249, 0.001988983, 0.02396533, 0.038511727, 0.011843332, 0.016970798, 0.019436998, -0.016594598, 0.011697032, 0.04400146, -0.026821664, 0.005775366, -0.008638666, -0.005615133, 0.019757465, 0.046175063, 0.021053264, -0.0047721663, 0.020927863, 0.00081161654, 0.0025933413, 0.034693997, 0.012449432, 0.02756013, -0.02011973, 0.0049950993, -0.015493865, 0.016274132, -0.034136664, 0.026779864, 0.0019158331, -0.0059913327, -0.017249465, -0.017723197, 0.01740273, -0.006196849, 0.040796794, 0.004855766, -0.013355099, 0.0025410913, 0.018559197, -0.012184698, 0.0034223746, 0.012728099, 0.018196931, 0.002636883, 0.034443196, -0.014239865, 0.011697032, -0.014323465, 0.0054792827, -0.013773099, 0.05578906, -0.0006796853, -0.03279906, 0.009133299, 0.0011782374, -0.005158816, 0.006280449, 0.039459195, -0.002401758, 0.0032307913, -0.0017468914, -0.02864693, 0.039960794, 0.053643327, -0.012602698, -0.03366293, 0.009237799, 0.026236463, 0.025623396, 0.010247965, 0.003789866, -0.031851597, 0.02689133, 0.0056011993, -0.031154929, 0.0046084495, 0.026292197, -0.015925799, -0.0032185996, 0.013494432, 0.025832396, 0.009446799, 0.04486533, 0.03408093, -0.031684395, -0.03466613, 0.017333064, 0.005831099, 0.058575727, -0.023979263, -0.014588199, 0.012874398, 0.004375066, -0.027824864, 0.02751833, 0.017249465, 0.004901049, -0.03750853, -0.041326262, 0.021875331, -0.03617093, -0.0069840825, 0.030848397, -0.014065699, 0.031127064, 0.010756532, 0.058074128, 0.009272632, 0.0123518985, 0.0036226662, 0.008353032, 0.041214794, -0.022878531, -0.02806173, -0.04160493, 0.019464863, 0.050382927, -0.008631699, 0.020050064, -0.0025567664, 0.02956653, 0.015103731, -0.01639953, -0.015605331, 0.014616065, -0.05188773, -0.07869545, -0.040072262, 0.04918466, 0.005346916, -0.014407065, -0.0074334326, 0.007112966, 0.0050264494, -0.03107133, -0.0074543324, 0.015967598, -0.011334766, -0.013508365, -0.042635996, 0.013146099, 0.03438746, -0.011557698, 0.017973999, -0.018141197, -0.006698449, -0.013919398, -0.018517397, -0.04642586, 0.0075379326, -0.010157399, -0.0011425331, -0.008875532, -0.022042532, 0.020509863, 0.0071408325, 0.0036365995, 0.0024557498, 0.0061236992, -0.0050194827, -0.014365265, -0.03731346, -0.011132732, 0.012344932, -0.001310604, 0.017904332, 0.029956663, 0.019827131, -0.014643932, -0.033384264, -0.017040465, 0.03274333, 0.0044516996, 0.040518127, 0.008513265, -0.032130264, -0.005461866, 0.0014560332, -0.009216899, 0.008638666, -0.009321399, -0.006914416, -0.028451864, -0.0018792581, 0.06576533, 0.03823306, 0.016023332, -0.008805865, 0.010812266, 0.03943133, 0.0147414645, -0.0074961325, -0.021596665, -0.0066392324, 0.02112293, 0.011968732, -0.017960064, 0.019841064, 0.003436308, -0.017165864, 0.031154929, -0.02785273, 0.025233263, 0.04023946, 0.011042166, 0.003295233, -0.02521933, -0.022349063, -0.019687798, -0.03224173, -0.012623599, -0.0021910165, -0.0046154163, 0.012310099, -0.014602131, 0.027030664, 0.007976833, 0.009481632, 0.018614931, -0.008708333, -0.005503666, 0.010352465, -0.008422699, 0.011634332, -0.006715866, 0.02429973, -0.010415166, 0.012818665, 0.021345863, 0.004072016, 0.0057300827, 0.022251531, 0.009398032, -0.017904332, -0.050884526, -0.0019402164, -0.018057598, -0.0066287825, 0.002532383, -0.0054270327, 0.013194865, -0.0038978495, -0.013459599, -0.010491799, -0.02542833, -0.003112358, -0.03656106, 0.010275832, 0.02354733, -0.008227632, 0.02668233, -0.03617093, -0.016580665, -0.022669531, -0.032353196, -0.010916766, 0.024118597, -0.015842197, 0.03731346, -0.02053773, -0.0051971325, -0.024731664, 0.003556483, -0.027699463, -0.01823873, -0.012553932, 0.009272632, 0.012052332, 0.005179716, 0.028465796, 0.031349998, -0.017555999, 0.0058101993, -0.011320832, -0.019687798, -0.0059077325, -0.009906598, 0.066935726, -0.011996599, 0.003216858, -0.018252665, -0.048710927, 0.014205032, -0.009042732, 0.031099197, -0.0037724494, 0.007649399, -0.0073985993, 0.020272998, -0.016719999, 0.02011973, 0.0019193165, -0.014142332, -0.009377132, 0.051999193, 0.010512698, 0.01865673, 0.014797199, 0.022571998, -0.013968165, -0.02981733, 0.011606465, 0.02659873, 0.0022902915, 0.018642798, 0.050577994, 0.011299932, 0.0026090164, -0.015438131, -0.020983597, 0.012769898, -0.035446394, -0.0043994496, -0.02567913, 0.022307264, 0.015173398, 0.0063152825, 0.0018270081, 0.0034693996, 0.0049114996, -0.011299932, -0.009258699, 0.024982464, 0.006339666, -0.017528132, 0.046397995, 0.024578396, 0.014671798, 0.01865673, 0.0065138326, 0.0034415328, -0.00090566656, 0.020593464, -0.00026277392, 0.02626433, 0.037870795, 0.010617198, -0.0084923655, -0.01761173, -0.011181499, 0.002819758, 0.0028389164, -0.0031106162, 0.003269108, 0.017249465, -0.022502331, 0.03196306, -0.015953666, 0.0026664913, 0.015493865, -0.0005168395, 0.028284663, 0.021248331, 0.00023360101, 0.024480864, -0.026835596, 0.00017710571, 0.020356597, 0.019938597, -0.019005064, -0.011306899, -0.019088665, 0.020969665, 0.0072662323, 0.013633765, -0.027169997, 0.016789665, -0.015493865, 0.03165653, 0.05913306, 0.020036131, -0.012707198, 0.005879866, -0.03550213, 0.01719373, 0.01949273, 0.0034345663, -0.0061689825, -0.012386732, -0.009913566, 0.009349265, -0.055231728, 0.006040099, -0.018141197, 0.005872899, 0.024021063, 0.006844749, -0.014838998, -0.016441332, -0.012519099, 0.025525864, -0.006917899, 0.019771397, -0.007732999, 0.024104664, 0.016232332, -0.0041451664, 0.01786253, -0.013933332, 0.011341732, -0.003838633, -0.014107498, 0.008687432, -0.011850298, -0.014852932, 0.025776664, -0.012860465, -0.000582152, 0.005346916, 0.02822893, 0.0001244203, -0.008791932, 0.010854065, -0.0010031998, -0.03984933, 0.014532465, 0.017263398, 0.017723197, -0.04110333, -0.0013968165, -0.0006579145, -0.020649197, 0.00040188953, 0.035474263, -0.0059704324, 0.008889466, -0.01965993, -0.020481998, 0.005312083, -0.0060087494, 0.025874197, -0.012630565, -0.0055593993, -0.0149783315, -0.017695332, 0.03282693, -0.007053749, 0.008185833, -0.009056666, -0.010387299, 0.020259064, 0.056318525, -0.025832396, 0.001754729, -0.0027222247, 0.025316864, 0.008638666, -0.00043040933, -0.02898133, 0.026960997, -0.013403865, -0.0010571915, -0.019632064, -0.012714165, 0.0025184497, -0.00006504036, -0.008931265, -0.017625665, -0.008380899, 0.013104298, -0.003577383, 0.0041556163, 0.004375066, 0.03196306, 0.0017068331, -0.012874398, -0.046565194, -0.033049863, -0.0074961325, 0.017207665, 0.022725264, -0.016315931, 0.033384264, -0.0055837827, 0.021011464, 0.0032847829, 0.001739054, -0.008889466, -0.0054966994, -0.002271133, 0.015117665, -0.021443397, -0.034693997, -0.015298798, 0.009446799, 0.018531332, 0.011104865, 0.010004132, 0.01765353, 0.008931265, 0.012470332, 0.023226865, 0.029482929, 0.0050368994, -0.013369031, -0.010805299, -0.017834665, -0.007684232, 0.008004699, 0.018182999, 0.0041521327, 0.010826198, 0.045896396, 0.010275832, 0.006562599, -0.013654665, -0.0006522541, 0.03533493, -0.047011063, 0.0005373041, 0.01828053, 0.02388173, 0.0027344164, 0.004009316, 0.015047998, -0.02998453, 0.0005029062, -0.029287864, 0.030318929, 0.0034223746, -0.0022380415, 0.0013384706, 0.048627328, 0.03592013, 0.045311194, -0.043471996, 0.021095064, -0.003915266, 0.025024263, -0.010519666, -0.042691726, 0.021610597, -0.04600786, 0.018642798, -0.014093565, 0.004434283, 0.020760665, -0.0044934996, -0.021652397, 0.017221598, -0.017583864, -0.0076075993, 0.0048766662, -0.009168132, 0.011871198, 0.04001653, -0.03196306, 0.007321966, 0.005420066, -0.020523798, -0.019130465, -0.012992832, 0.026027463, -0.030430397, -0.012804732, -0.004134716, -0.009676699, 0.02346373, -0.0052981493, -0.02622253, -0.015298798, 0.0001626281, 0.038037997, 0.0017991414, -0.020300863, -0.0056116492, 0.0029259997, -0.022293331, 0.008784966, 0.013187898, -0.0072383657, -0.014218965, 0.0009195999, 0.014023898, -0.007684232, 0.03107133, 0.009286566, -0.010512698, 0.0065695657, 0.015047998, 0.040072262, 0.03215813, -0.013989065, -0.021666331, 0.033969462, 0.03500053, 0.00013693853, 0.018378064, -0.018712465, -0.003013083, -0.009836932, 0.02601353, 0.002427883, 0.014755398, -0.018182999, -0.018670665, -0.0007393374, 0.01991073, -0.011425332, 0.003894366, 0.02409073, 0.050912395, 0.0050821826, 0.01991073, -0.013821865, 0.02785273, 0.0078096325, -0.011494999, 0.027699463, 0.023812063, 0.046063595, -0.031349998, 0.006353599, 0.017472398, 0.014713598, 0.02956653, -0.020245131, -0.020384464, 0.009133299, -0.011947832, 0.0027535746, -0.013306332, 0.0009013124, 0.0085202325, 0.015368464, 0.010234032, -0.00058824784, 0.015438131, 0.02856333, 0.005768399, -0.016274132, -0.014218965, -0.0024975496, 0.007112966, -0.024285797, -0.022558063, -0.017987931, -0.03522346, 0.002762283, -0.0014795456, -0.006538216, -0.0028058246, 0.010066832, -0.019590264, 0.010631132, 0.015563532, -0.042942528, 0.02275313, -0.0042008995, -0.013410832, -0.004005833, -0.012742031, -0.039765727, -0.013424765, -0.014379199, 0.0058554825, -0.018782131, -0.012846531, -0.008436632, 0.0035077163, -0.034638263, -0.0012870915, -0.00048069993, -0.004800033, 0.0020081415, -0.021485198 ]
2310.12397
9
# 3.2 Architecture for Iterative Backprompting All code and results will be made public. # Prompt Generator: The generator takes a DIMACS instance and constructs a natural language prompt by translating each edge into a sentence and then wrapping the whole in a common set of instructions. We deliberately minimize differences between instances’ prompts to reduce how much problem-specific information we leak to the LLM. Examples of each prompt type can be found in the appendix. # Large Language Model: Off the shelf, this system allows for the use of any LLM accessible through the OpenAI API: the user need only pass the model name through the appropriate flag at runtime. The present work focuses on GPT-4, the current state of the art, because of recent claims about its "emergent" reasoning capabilities[3]. We provide a system role of "You are a constraint satisfaction solver that solves various CSP problems." and set the temperature to 0, thus ensuring output is mostly deterministic. # Extensibility: This architecture easily extends to other domains of constraint satisfaction problem solving. In the public repository, we provide a way to add a new domain description by adding just one file to the project in plug-and-play fashion. # 2https://pypi.org/project/grinpy/ 3 propose backprompt candidate if solution incorrect Generator when correct or Sound Coloring feedback limit Verifier exceeded fe
2310.12397#9
GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems
There has been considerable divergence of opinion on the reasoning abilities of Large Language Models (LLMs). While the initial optimism that reasoning might emerge automatically with scale has been tempered thanks to a slew of counterexamples, a wide spread belief in their iterative self-critique capabilities persists. In this paper, we set out to systematically investigate the effectiveness of iterative prompting of LLMs in the context of Graph Coloring, a canonical NP-complete reasoning problem that is related to propositional satisfiability as well as practical problems like scheduling and allocation. We present a principled empirical study of the performance of GPT4 in solving graph coloring instances or verifying the correctness of candidate colorings. In iterative modes, we experiment with the model critiquing its own answers and an external correct reasoner verifying proposed solutions. In both cases, we analyze whether the content of the criticisms actually affects bottom line performance. The study seems to indicate that (i) LLMs are bad at solving graph coloring instances (ii) they are no better at verifying a solution--and thus are not effective in iterative modes with LLMs critiquing LLM-generated solutions (iii) the correctness and content of the criticisms--whether by LLMs or external solvers--seems largely irrelevant to the performance of iterative prompting. We show that the observed increase in effectiveness is largely due to the correct solution being fortuitously present in the top-k completions of the prompt (and being recognized as such by an external verifier). Our results thus call into question claims about the self-critiquing capabilities of state of the art LLMs.
http://arxiv.org/pdf/2310.12397
Kaya Stechly, Matthew Marquez, Subbarao Kambhampati
cs.AI
18 pages, 3 figures
null
cs.AI
20231019
20231019
[ { "id": "2206.10498" }, { "id": "2306.03872" }, { "id": "2303.11366" } ]
{ "authors": "Kaya Stechly, Matthew Marquez, Subbarao Kambhampati", "chunk_id": 9, "doc_id": "2310.12397", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12397", "summary": "There has been considerable divergence of opinion on the reasoning abilities\nof Large Language Models (LLMs). While the initial optimism that reasoning\nmight emerge automatically with scale has been tempered thanks to a slew of\ncounterexamples, a wide spread belief in their iterative self-critique\ncapabilities persists. In this paper, we set out to systematically investigate\nthe effectiveness of iterative prompting of LLMs in the context of Graph\nColoring, a canonical NP-complete reasoning problem that is related to\npropositional satisfiability as well as practical problems like scheduling and\nallocation. We present a principled empirical study of the performance of GPT4\nin solving graph coloring instances or verifying the correctness of candidate\ncolorings. In iterative modes, we experiment with the model critiquing its own\nanswers and an external correct reasoner verifying proposed solutions. In both\ncases, we analyze whether the content of the criticisms actually affects bottom\nline performance. The study seems to indicate that (i) LLMs are bad at solving\ngraph coloring instances (ii) they are no better at verifying a solution--and\nthus are not effective in iterative modes with LLMs critiquing LLM-generated\nsolutions (iii) the correctness and content of the criticisms--whether by LLMs\nor external solvers--seems largely irrelevant to the performance of iterative\nprompting. We show that the observed increase in effectiveness is largely due\nto the correct solution being fortuitously present in the top-k completions of\nthe prompt (and being recognized as such by an external verifier). Our results\nthus call into question claims about the self-critiquing capabilities of state\nof the art LLMs.", "text": "# 3.2 Architecture for Iterative Backprompting\nAll code and results will be made public.\n# Prompt Generator:\nThe generator takes a DIMACS instance and constructs a natural language prompt by translating each edge into a sentence and then wrapping the whole in a common set of instructions. We deliberately minimize differences between instances’ prompts to reduce how much problem-specific information we leak to the LLM. Examples of each prompt type can be found in the appendix.\n# Large Language Model:\nOff the shelf, this system allows for the use of any LLM accessible through the OpenAI API: the user need only pass the model name through the appropriate flag at runtime. The present work focuses on GPT-4, the current state of the art, because of recent claims about its \"emergent\" reasoning capabilities[3].\nWe provide a system role of \"You are a constraint satisfaction solver that solves various CSP problems.\" and set the temperature to 0, thus ensuring output is mostly deterministic.\n# Extensibility:\nThis architecture easily extends to other domains of constraint satisfaction problem solving. In the public repository, we provide a way to add a new domain description by adding just one file to the project in plug-and-play fashion.\n# 2https://pypi.org/project/grinpy/\n3\npropose backprompt candidate if solution incorrect Generator when correct or Sound Coloring feedback limit Verifier exceeded fe", "title": "GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems", "year": 2023 }
[ 0.0046022227, -0.008582827, 0.024640054, 0.0012263856, -0.023681413, 0.02034115, 0.009421637, 0.028714275, -0.024460308, 0.05152692, 0.05359399, -0.052335773, -0.018753402, 0.0062648645, -0.011728366, -0.039513957, 0.030302024, -0.016671356, -0.008635253, 0.026677165, 0.028025253, -0.018139273, 0.00721976, 0.029313425, 0.023097241, 0.003619242, 0.0028571978, 0.027036654, 0.025209246, -0.029478192, 0.012724454, -0.026752058, -0.06800355, -0.018019443, 0.0033383903, 0.020730598, 0.0040742215, 0.03963379, -0.0039806045, 0.011788281, 0.01659646, -0.052755177, -0.030796323, -0.028953936, -0.022363283, 0.06830313, 0.0021138769, 0.014184882, -0.011421301, 0.031754963, -0.04939994, 0.062311623, 0.0073620584, 0.011398833, -0.0474527, -0.035020333, -0.029448234, -0.021479536, 0.0056881825, -0.017989486, 0.03768655, -0.01710574, -0.0051789046, 0.043078903, -0.02180907, 0.001288173, -0.0012160877, 0.043318562, 0.041461196, 0.02997249, -0.013570753, 0.04975943, 0.015547949, -0.062431455, -0.02842968, 0.022647878, 0.037177272, 0.047033295, 0.043048944, -0.027890444, -0.0043475837, -0.028309848, 0.011458748, -0.034511052, -0.026332652, -0.014050073, -0.029478192, 0.012769389, -0.06656559, -0.07830893, -0.02155443, -0.012994071, -0.028714275, 0.051976282, 0.05284505, 0.0243255, -0.01336105, -0.013653136, 0.027740655, 0.05850702, 0.008717636, -0.05131722, -0.04227005, -0.03792621, 0.044247244, 0.030077342, 0.016416717, 0.009189467, -0.027890444, -0.038555317, -0.13492863, -0.014858926, -0.021404643, 0.0022093665, 0.03286339, -0.025958184, -0.023082264, -0.030376917, 0.006841547, -0.046044696, -0.019232722, 0.03133556, -0.02889402, -0.016207013, 0.013391008, 0.014701649, 0.019127872, -0.06956134, -0.0073845265, 0.016866079, 0.012364963, 0.0093617225, 0.035469692, 0.01770489, -0.028998872, -0.028145082, -0.0645884, -0.017555103, -0.0076616337, 0.030421853, 0.0161471, -0.015443098, -0.004250222, 0.015877482, -0.013158837, 0.010769726, -0.038105953, 0.019727021, -0.04310886, 0.038135912, 0.0064221416, 0.01770489, -0.011488706, 0.0047145635, -0.008433039, -0.06428882, -0.0016205142, 0.041221537, -0.003624859, -0.032533858, 0.020371107, 0.019187786, 0.014881394, 0.0050852876, 0.016551524, 0.018603615, -0.037147313, 0.020520896, -0.076631315, -0.011144195, 0.005384863, -0.0043513286, -0.04394767, -0.0072759306, 0.019816894, -0.025508821, -0.041491155, -0.0032073262, -0.010784704, -0.04586495, -0.006815334, 0.025598694, -0.0071486114, -0.01517348, 0.004145371, -0.026796995, -0.019577233, -0.011690919, -0.02431052, 0.012664538, 0.010604959, 0.022902519, 0.082682736, 0.015188458, 0.013323603, -0.07375539, 0.082682736, -0.02203375, 0.042809285, -0.011571089, -0.008418061, 0.021329748, 0.012694496, -0.050777983, 0.039903406, -0.030167215, 0.014192372, 0.025688566, -0.012559687, -0.0038607745, 0.036218632, 0.008462997, 0.060034852, 0.022902519, -0.03756672, 0.019427447, -0.022902519, 0.009346744, -0.0025669844, 0.04131141, -0.028983893, 0.022902519, 0.029687895, -0.032533858, 0.01384786, 0.052395687, -0.00806606, -0.028998872, 0.03615872, -0.0055421395, 0.027111549, -0.01986183, -0.032084495, -0.028834105, 0.00487933, -0.025943205, 0.043977626, -0.0019247702, 0.031035982, -0.06345001, 0.07063981, 0.015562927, 0.014761564, -0.04008315, 0.053743776, 0.033492498, -0.04781219, -0.03223428, 0.021868983, 0.023501668, 0.0039543915, -0.00481567, 0.00963134, -0.01649161, -0.030287044, -0.012941645, -0.023157157, -0.0050590746, -0.04128145, -0.013653136, -0.035200078, -0.0048718406, -0.028219976, 0.039454043, 0.032773517, 0.0030331982, -0.034690797, -0.0048343935, -0.0063884393, 0.0005832353, -0.0071935477, -0.031035982, 0.029702874, 0.015577906, -0.013301135, -0.044876352, 0.022363283, 0.026392568, -0.020146426, 0.071957946, -0.072017856, -0.0016954079, 0.034960415, 0.035200078, 0.0097361915, 0.0042464775, -0.0029882619, 0.0024640053, -0.0017590676, -0.03394186, 0.019667106, -0.009174488, 0.010522576, -0.012125303, 0.008897381, -0.041431237, 0.023321923, 0.018978084, 0.036008928, 0.014379606, 0.049310066, 0.025029501, -0.026287716, -0.032743562, -0.029927554, 0.030601598, 0.0049317554, 0.008972275, 0.004407499, 0.013892796, -0.03549965, -0.0156528, -0.008215847, 0.035319906, -0.0133685395, -0.054013394, 0.0313056, -0.028444657, 0.017644975, -0.036997527, -0.012117813, 0.020176385, 0.03996332, -0.019577233, -0.009781128, 0.015053649, 0.0018180466, 0.0048194146, -0.01662642, -0.023681413, 0.01951732, 0.00095864036, 0.0074332077, 0.03262373, 0.0006717036, -0.016671356, -0.013645647, 0.0061562685, 0.006272354, 0.03310305, -0.07645157, 0.020206342, -0.014124967, 0.00301073, -0.042060345, 0.02431052, -0.005972779, 0.03615872, 0.0657867, 0.030047385, 0.005384863, -0.04451686, 0.022348303, 0.021164982, 0.000027485432, -0.004295158, -0.03325284, -0.013593221, -0.0144545, 0.019756978, -0.02757589, 0.01840889, 0.013218752, 0.008448019, -0.0136082, 0.028100146, -0.02419069, 0.016207013, 0.034630883, 0.019307617, 0.0048718406, 0.040202983, -0.020446002, -0.003924434, -0.034720756, -0.01866353, -0.020985236, 0.00746691, -0.009743681, 0.023262007, -0.031006025, -0.04415737, -0.027471038, 0.0073508243, 0.009856021, 0.035649437, 0.041461196, -0.0023984732, -0.05200624, 0.009818574, 0.039454043, -0.04319873, -0.042060345, 0.0010335342, 0.054942075, 0.021015195, -0.013510838, 0.0071336324, 0.06273103, 0.06614619, 0.01902302, 0.0033065605, -0.0279204, 0.026856909, -0.021090088, -0.0074219736, 0.0662061, 0.04511601, 0.015248373, -0.026871888, 0.04107175, -0.028938957, 0.0028553254, -0.017525144, 0.016356802, -0.04877083, 0.047872104, -0.011091769, 0.025119374, 0.05913613, -0.011608535, -0.014799011, -0.017510166, -0.060244557, 0.006751674, 0.053294413, -0.001189875, -0.03133556, 0.02155443, -0.026542356, -0.017480208, 0.051077556, 0.03169505, -0.018573657, -0.016686333, -0.03033198, 0.022498092, 0.034870543, -0.00084489543, -0.037267145, 0.006092609, 0.0037016252, -0.019936724, 0.02408584, -0.026542356, 0.00008413848, -0.012364963, -0.020206342, 0.00009244701, -0.05766821, -0.028160062, -0.010522576, 0.013450922, 0.03166509, -0.0064333756, -0.019562256, 0.08867423, 0.017629996, 0.04059243, -0.0038607745, 0.042479753, -0.01673127, -0.047123168, -0.030736407, -0.0038270722, 0.043378476, -0.03801608, 0.032743562, -0.013510838, 0.009803596, -0.023456732, -0.021000216, 0.03442118, -0.012769389, -0.031994622, 0.03193471, -0.004141626, -0.015802588, -0.0013799178, -0.032803476, 0.0067366953, 0.004265201, 0.044277202, 0.02335188, 0.011983004, 0.097721405, -0.021045152, -0.03669795, -0.005755587, 0.01167594, 0.009593893, -0.02047596, 0.0060364385, -0.019727021, 0.042929113, 0.0074968673, 0.025898268, 0.0016242588, -0.03202458, -0.019322595, -0.02191392, 0.016536547, -0.045595333, 0.046793632, 0.0017712379, 0.021045152, 0.031605177, 0.0032297943, 0.031784922, 0.00975866, -0.02227341, -0.034121606, 0.0037914976, 0.01842387, 0.008972275, 0.050418492, -0.017824719, 0.022917496, 0.008275762, 0.044876352, 0.0030069852, -0.011870664, -0.04706325, -0.0017019612, -0.011481216, -0.049999088, -0.025344055, -0.050418492, -0.037357017, -0.005403586, 0.036937613, -0.025314098, 0.00963134, 0.007429463, -0.048111763, 0.0032747304, -0.01659646, 0.0038383063, -0.029343383, -0.041251495, -0.010118149, 0.025059458, -0.022048729, 0.009166999, -0.01468667, 0.018513743, 0.022063708, 0.0029976235, -0.004164094, 0.023426775, 0.030436832, -0.037596676, 0.013443434, -0.040173024, 0.032174367, -0.0034881777, -0.016641397, 0.0006899589, 0.021764133, 0.003418901, -0.0008654912, 0.005384863, 0.026767036, -0.016521567, -0.004036775, 0.010971938, 0.03163513, 0.04394767, 0.008208359, 0.014469478, -0.0053137136, -0.008155933, 0.0025726014, 0.013840371, 0.04493627, -0.04975943, -0.0077739744, 0.0077814637, 0.0021513237, 0.0018171103, -0.013713051, -0.059825152, 0.008597806, 0.01938251, -0.032204326, 0.010260448, -0.0011056195, 0.02468499, -0.002211239, 0.022857582, -0.020520896, 0.0071523557, -0.016581483, 0.016356802, -0.049040448, -0.0009300871, 0.009526488, -0.013907775, -0.063150436, -0.0069426536, 0.032174367, 0.005867928, 0.019727021, 0.0073957606, 0.023995968, 0.02456516, -0.009376701, 0.025583714, 0.017839698, 0.0139826685, -0.03298322, 0.014619266, -0.000565448, -0.011406323, -0.04008315, -0.006362227, -0.008972275, 0.0155329695, 0.056529824, -0.014282243, 0.024475288, 0.018573657, 0.0048493724, -0.024505245, -0.0020090255, 0.004411244, -0.025014522, -0.018229146, -0.010612449, 0.031994622, -0.026347632, -0.0131813055, 0.022318346, 0.033372667, -0.023576561, 0.012110325, 0.03385199, 0.012222664, 0.0044449456, -0.042659495, 0.017420294, -0.0061487793, -0.0076279314, -0.025254183, 0.014529393, 0.003467582, -0.020131448, 0.031155812, 0.0054372884, -0.017495187, -0.037147313, -0.031125855, 0.027860487, -0.010619938, 0.030317001, -0.003864519, -0.002581963, -0.017719869, -0.020071533, 0.0017403442, -0.056200292, -0.029583042, -0.015473055, -0.0020446002, -0.027141506, 0.027680742, -0.015682757, 0.03801608, 0.018348975, -0.010410235, -0.0032166878, 0.006467078, 0.037746467, 0.017809741, -0.025014522, -0.023022348, -0.008575338, -0.024625074, 0.0018143018, -0.011451259, -0.020565832, 0.0056694592, -0.05910617, 0.008807508, 0.037986126, -0.016371781, 0.014050073, 0.007788953, 0.012746922, 0.0059053744, -0.0005724693, -0.011511174, -0.004995415, 0.000034053264, 0.017615017, -0.011698408, 0.0037802635, 0.060783792, 0.014963777, -0.045235842, -0.03127564, 0.0039057105, -0.004789457, 0.009152019, -0.004658393, -0.037536763, -0.0046658823, 0.023891116, 0.04283924, -0.030856237, -0.0065232483, -0.019697065, -0.036787823, 0.019966682, -0.012746922, -0.0042202645, 0.027261335, -0.009294318, 0.009556446, -0.024984565, -0.06093358, 0.006392184, 0.010148107, -0.019906767, -0.032953262, -0.014267265, 0.027890444, 0.0042539667, -0.022213494, 0.022572985, 0.0003597242, 0.020565832, 0.017615017, -0.021839026, -0.03361233, -0.0069164406, -0.034511052, -0.0096837655, -0.027396144, -0.023426775, -0.017510166, -0.010462661, -0.015562927, 0.022138601, 0.018019443, 0.0050890325, -0.010260448, 0.03517012, -0.005549629, 0.00057153316, -0.018573657, 0.014866415, -0.0005631076, -0.023936052, 0.0180494, 0.020520896, 0.015128544, -0.011256535, -0.0144545, 0.021614345, -0.010649895, 0.0022805156, -0.04862104, 0.00049523514, 0.0010007682, 0.0021569408, 0.012859262, -0.049070403, 0.019786937, 0.004137881, 0.028369764, -0.014499436, 0.01806438, -0.01792957, 0.030616578, -0.05694923, 0.0010953215, -0.021689238, -0.015757652, -0.008807508, -0.022138601, 0.012125303, -0.008762572, -0.026078014, 0.019846851, -0.012986582, -0.02407086, 0.035649437, -0.017240549, -0.049639598, -0.045655247, -0.018363954, -0.014574329, -0.020251278, 0.007721549, -0.0019360041, -0.0070475047, -0.1296561, -0.01709076, 0.02384618, 0.013922754, -0.019547276, -0.008642742, 0.03457097, 0.010095681, 0.003924434, -0.018588636, 0.013668114, -0.009586404, 0.005497203, 0.00975117, 0.008575338, -0.05227586, 0.012604623, -0.012979092, 0.0474527, -0.018244125, -0.03127564, -0.016386759, 0.009519, -0.015203437, -0.031844836, -0.036967568, 0.0000706225, 0.004613457, -0.02095528, 0.0030987302, -0.013600711, -0.00005962247, 0.025973164, 0.027261335, -0.017555103, -0.027156485, 0.0019491107, -0.013675604, -0.012327516, 0.0070212916, 0.012297559, -0.019727021, 0.046284355, -0.04742274, 0.02141962, -0.013563263, 0.020865407, 0.0077440166, 0.028160062, 0.009077126, -0.0077814637, 0.03651821, 0.005721885, -0.021599365, -0.005212607, 0.042929113, 0.025254183, -0.006152524, 0.0010719172, 0.02697674, -0.0096837655, 0.0081858905, 0.023097241, -0.022003792, -0.0070587387, -0.034690797, 0.01855868, 0.028789168, -0.0025520055, -0.002310473, -0.02095528, 0.026692143, -0.019187786, 0.030062363, -0.008253294, -0.0006674908, 0.022528049, 0.043678053, 0.014761564, 0.05056828, 0.034361266, 0.0054372884, 0.0005144267, 0.028849084, -0.0010541299, 0.017405314, 0.032443985, -0.016566504, -0.018648552, 0.04960964, 0.028160062, -0.02661725, -0.027635805, -0.00034778798, -0.016641397, 0.014491946, 0.021509493, 0.026377589, 0.011406323, -0.0008285124, 0.03879498, 0.06950143, -0.04577508, -0.018214168, -0.01252224, 0.024625074, -0.018843275, 0.022333326, -0.026407547, 0.021629324, 0.024130777, -0.009249382, -0.009099594, 0.044726565, -0.021269834, 0.026257759, 0.050388534, -0.0040742215, 0.041760772, -0.008994743, 0.009017211, 0.018109316, -0.04936998, 0.018648552, -0.02372635, -0.017015867, 0.0059278426, 0.014424542, -0.0069126957, -0.011054322, 0.012454836, -0.0011645983, -0.009983341, 0.014222329, -0.01348837, -0.009818574, -0.007863847, -0.006452099, -0.039813533, -0.001733791, 0.0139602, -0.0041940515, 0.019906767, -0.037896253, -0.012986582, -0.011308961, 0.02083545, -0.025493843, -0.043138817, 0.020700641, 0.029538106, -0.015562927, -0.026946781, 0.018483784, 0.005044096, 0.048860703, -0.00045802226, -0.04032281, -0.0007362995, -0.015622842, 0.029058786, 0.020281235, -0.027366187, -0.0031549004, -0.022408219, -0.03924434, -0.013802923, 0.0070362706, -0.011885643, 0.013293646, -0.04203039, -0.012305048, 0.010859598, 0.005152692, 0.022123622, 0.024370436, 0.036068846, -0.0020034085, 0.030077342, 0.029268488, -0.023381839, 0.045595333, -0.005309969, 0.029882617, 0.037986126, -0.013615689, 0.013331093, 0.00014428755, -0.007684102, 0.015832545, 0.017839698, 0.02565861, 0.02649742, 0.03732706, 0.008148443, -0.013645647, 0.022048729, 0.0033140497, 0.012387431, -0.031455386, -0.028804148, 0.041610982, -0.040892005, -0.022602942, -0.046014737, 0.04029285, 0.01662642, -0.019337574, -0.031125855, 0.02756091, -0.020251278, -0.010949471, -0.01818421, 0.0058229915, 0.0059203533, 0.021629324, -0.003658561, 0.0027710698, -0.033672243, -0.015383182, -0.011938068, -0.032204326, -0.015233395, 0.05299484, 0.004635925, -0.013765477, -0.005632012, 0.0004669159, 0.017285485, 0.023980988, 0.0061824815, -0.01806438, 0.00805857, 0.0007793634, 0.0031511558, -0.006935164, -0.026257759, -0.027231378, 0.002282388, 0.012484793, 0.018348975, -0.0062686093, 0.017974507, 0.0057817996, 0.020146426, -0.014551861, 0.02225843, 0.029478192, -0.027680742, -0.030421853, -0.024819799, 0.017255526, 0.025898268, -0.037237186, 0.030916153, -0.008740104, 0.02371137, 0.039513957, 0.014461989, 0.002364771, -0.024729926, 0.0066543124, 0.015742673, -0.034241434, -0.018813318, 0.006583163, -0.030047385, 0.018154252, 0.016386759, 0.012424878, -0.036997527, 0.00975866, -0.0005397033, 0.02467001, -0.022408219, -0.042569626, -0.0102978945, -0.02913368, -0.011323939, -0.02925351, -0.045086056, 0.007871336, -0.003909455, 0.02180907, 0.008455507, -0.023052305, -0.017420294, -0.00237975, 0.012110325, 0.01661144, 0.041820686, 0.017405314, -0.0064483546, -0.0035406034, -0.0045610312, -0.0018339615, 0.0059428215, 0.013877817, 0.00781891, -0.027830528, 0.022498092, 0.034960415, 0.0109644495, -0.033642285, 0.0075455485, 0.024759883, 0.0038607745, -0.039094552, 0.0078264, 0.01011066, -0.015937395, 0.014903862, -0.0042577116, -0.0053399266, 0.018678509, -0.0071336324, -0.030481769, 0.0055309054, -0.02467001, 0.018603615, -0.010897045, 0.020236298, 0.0056282673, 0.008725125, 0.010425214, -0.0012731942, -0.007953719, 0.015106075, 0.008859934, -0.012799347, 0.028968913, 0.017405314, -0.002761708, -0.0077814637, -0.043977626, -0.017959528, -0.058477063, 0.004635925, -0.0007180441, -0.018348975, 0.013877817, 0.031754963, 0.014469478, -0.0015662161, -0.002625027, -0.0065307375, -0.01469416, -0.008096018, 0.0046546482, 0.0027635805, 0.06267112, -0.021494515, -0.023187114, 0.023037327, -0.010125639, 0.044007584, 0.0072684414, 0.009833553, -0.021494515, 0.0088000195, 0.00042595837, 0.014604287, -0.02288754, -0.0072871647, 0.01792957, 0.00031431983, -0.013158837, 0.01878336, 0.041371323, -0.014664202, 0.02938832, 0.054342926, 0.008620274, 0.003549965, -0.019172808, 0.015607864, 0.006489546, -0.0044823927, 0.037746467, 0.030526705, 0.0039132, -0.00013246837, -0.034690797, 0.027306272, -0.020281235, 0.0064071626, -0.004149115, 0.021135025, -0.012911688, -0.0020127704, -0.01144377, -0.011466238, 0.0021550686, -0.01300156, 0.01866353, 0.011481216, -0.012874241, -0.030077342, 0.009077126, -0.0136082, -0.0016289398, -0.0065419716, 0.010604959, -0.013555774, -0.0036173696, -0.04334852, -0.0037109868, 0.035230033, 0.004564776, 0.016236972, -0.060813747, 0.021464556, 0.010455172, 0.020206342, -0.005227586, -0.044367075, -0.03334271, 0.002087664, -0.0322942, 0.022842603, -0.030586619, -0.012057899, -0.016566504, 0.024355456, 0.011264024, 0.003315922, 0.027980316, -0.00031338367, 0.034720756, 0.03517012, 0.0061675026, 0.009129552, -0.0074594202, -0.031844836, 0.0007821719, 0.02311222, 0.013458412, -0.005021628, -0.021075109, 0.007788953, -0.00246775, 0.016940974, 0.008358146, 0.035349865, -0.024235627, 0.005706906, -0.013203774, 0.036218632, 0.0013452795, -0.019577233, -0.00903219, 0.0005298735, -0.028819127, -0.014289733, -0.0570391, -0.009721213, -0.05515178, 0.005995247, 0.026182866, 0.035259992, -0.0023610264, -0.01516599, -0.010927003, -0.007564272, 0.020446002, -0.008702657, -0.013945222, 0.018124295, -0.015982332, -0.05766821, 0.002810389, -0.0016682589, 0.0023872391, 0.0029657937, 0.009174488, 0.012574665, 0.012335005, -0.022363283, 0.015907438, -0.00081166136, -0.01443952, 0.016236972, 0.0009623851, 0.010672363, 0.013593221, 0.012634581, -0.0036154971, -0.034511052, -0.037986126, -0.008028613, -0.013975179, 0.03517012, -0.015952375, -0.011421301, 0.0020034085, -0.010095681, -0.0077365274, -0.014319691, -0.003304688, 0.01722557, -0.023127198, -0.011001896, 0.012851773, 0.013585731, -0.011249046, 0.0034694544, 0.014529393, 0.00855287, 0.0018451955, -0.01926268, -0.011968026, 0.00231609, 0.008275762, -0.013510838, 0.02517929, 0.008155933, -0.009721213, 0.0058080126, -0.0028721765, -0.011084279, 0.011885643, -0.021359706, -0.014529393, -0.0014857054, 0.005115245, -0.015031181, -0.01011066, 0.012072877, -0.007856358, 0.0037652848, -0.009638829, -0.037656594, 0.03972366, -0.039873447, -0.022198517, 0.0069389087, 0.00463218, -0.0006024268, -0.015952375, -0.003718476, 0.008575338, -0.03478067, -0.01419986, 0.0059765237, -0.0050852876, 0.0012469814, -0.006249886, 0.015847525, 0.044397034, 0.030092321, -0.009908447, -0.03837557, 0.015083607, 0.009893469, -0.0071336324, 0.0043026474, 0.021209918, -0.0094141485, -0.00002033249, -0.0153981615, 0.029313425, -0.030571641, -0.016746249, 0.016401738, 0.025239203, 0.0033140497, 0.007238484, 0.0071823136, -0.044037543, -0.036428336, -0.021584388, -0.0071336324, -0.009713723, 0.017375357, -0.022857582, 0.020970259, 0.023966009, 0.0019266425, -0.03615872, 0.040023237, -0.001598046, -0.021269834, 0.0010588109, 0.02228839, 0.02661725, -0.01444701, -0.002636261, 0.016866079, 0.0008285124, -0.003853285, -0.044007584, 0.050897814, -0.00035668162, -0.020895364, -0.04442699, 0.049879257, 0.015937395, 0.030167215, -0.016266929, 0.03190475, 0.026272738, 0.009586404, -0.024355456, -0.00024527713, 0.009399169, -0.033762116, -0.010612449, -0.025299119, -0.0066543124, 0.026991718, -0.026856909, -0.02901385, -0.012320027, 0.013098922, -0.011945558, 0.025733503, -0.0034975396, -0.02612295, 0.009376701, -0.0055720974, 0.009152019, 0.016836122, -0.015712716, -0.016371781, 0.0044674138, 0.009174488, 0.008335678, -0.0014089392, 0.0056694592, -0.018304039, 0.03768655, 0.0005425118, -0.03768655, -0.0030987302, -0.003984349, 0.027860487, -0.021479536, -0.000472767, 0.0026063034, -0.016656376, 0.022812646, -0.0091220625, 0.032054536, -0.022992391, 0.0017178761, 0.012911688, 0.0072684414, -0.013630668, 0.004478648, 0.014312201, -0.03322288, 0.025014522, 0.040143065, 0.00806606, 0.006886483, 0.03382203, -0.014020115, 0.027321251, -0.018169232, 0.0033177945, 0.005860438, 0.014656712, 0.013353561, 0.009084616, 0.021090088, 0.00022702177, -0.008620274, 0.017719869, -0.030556662, 0.034481097, -0.021764133, 0.018648552, 0.004609712, -0.0016457908, 0.042659495, -0.004901798, -0.016911015, 0.012814325, 0.028085167, -0.017360378, 0.043078903, -0.0009979596, 0.046524014, -0.009331765, 0.0076354207, -0.02177911, -0.011159173, -0.0009736191, 0.023142178, 0.0035761779, -0.020251278, 0.0036510718, -0.0023235795, -0.0012057899, -0.0056282673, 0.030107299, -0.025598694, 0.0058042677, -0.006714227, -0.0040779663, 0.020101491, 0.010425214, 0.024355456, 0.010867087, 0.02034115, 0.0035237523, 0.018798338, -0.0077365274, -0.04706325, -0.0007199165, -0.023636477, -0.047153123, 0.020326171, 0.0133685395, -0.0004266605, 0.034241434, -0.010133129, 0.0015025565, 0.015240884, -0.026512397, -0.0055421395, 0.017809741, 0.019756978, -0.014259775, -0.015817566, -0.0007086824, -0.03933421, -0.026063036, -0.004972947, -0.018948127, 0.02336686, -0.04478648, 0.013016539, -0.016896037, 0.007575506, 0.0040966896, -0.021344727, 0.004179073, -0.024520224 ]
2310.12773
9
2 # 2 PRELIMINARIES Preference Modelling The RLHF method enhances the quality of language model responses by leveraging human preference data through a reward model. The reward model is denoted as Rϕ(y, x), where x is the input prompt, y is the response generated by the language model, and R is the scalar output from the reward model. Human preference data is symbolized as yw ≻ yl|x, where yw (win) denotes a response that is more preferred by humans compared to yl (lose). Most of the previous work, including Christiano et al. (2017); Sadigh et al. (2017); Bai et al. (2022a); Kim et al. (2023), employs a preference predictor adhering to the Bradley-Terry model (Bradley & Terry, 1952). The likelihood of a preference pair can be estimated as: p∗(yw ≻ yl|x) = exp(R(yw, x)) exp(R(yw, x)) + exp(R(yl, x)) = σ(R(yw, x) − R(yl, x)), (1)
2310.12773#9
Safe RLHF: Safe Reinforcement Learning from Human Feedback
With the development of large language models (LLMs), striking a balance between the performance and safety of AI systems has never been more critical. However, the inherent tension between the objectives of helpfulness and harmlessness presents a significant challenge during LLM training. To address this issue, we propose Safe Reinforcement Learning from Human Feedback (Safe RLHF), a novel algorithm for human value alignment. Safe RLHF explicitly decouples human preferences regarding helpfulness and harmlessness, effectively avoiding the crowdworkers' confusion about the tension and allowing us to train separate reward and cost models. We formalize the safety concern of LLMs as an optimization task of maximizing the reward function while satisfying specified cost constraints. Leveraging the Lagrangian method to solve this constrained problem, Safe RLHF dynamically adjusts the balance between the two objectives during fine-tuning. Through a three-round fine-tuning using Safe RLHF, we demonstrate a superior ability to mitigate harmful responses while enhancing model performance compared to existing value-aligned algorithms. Experimentally, we fine-tuned the Alpaca-7B using Safe RLHF and aligned it with collected human preferences, significantly improving its helpfulness and harmlessness according to human evaluations.
http://arxiv.org/pdf/2310.12773
Josef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji, Xinbo Xu, Mickel Liu, Yizhou Wang, Yaodong Yang
cs.AI, cs.LG
null
null
cs.AI
20231019
20231019
[ { "id": "2302.13971" }, { "id": "2304.05302" }, { "id": "1707.06347" }, { "id": "2305.18290" }, { "id": "2305.10403" }, { "id": "2305.03047" }, { "id": "2211.05100" }, { "id": "2110.08207" }, { "id": "2304.05335" }, { "id": "2107.03374" }, { "id": "2105.04054" }, { "id": "2209.07858" }, { "id": "2305.15324" }, { "id": "2307.09288" }, { "id": "2210.11416" }, { "id": "2212.08073" }, { "id": "2307.12950" }, { "id": "2009.11462" }, { "id": "2307.04657" }, { "id": "2204.05862" }, { "id": "2112.00861" }, { "id": "2209.14375" }, { "id": "2303.00957" }, { "id": "2306.01693" }, { "id": "2305.01937" }, { "id": "2307.15217" }, { "id": "2306.17492" }, { "id": "2112.04359" }, { "id": "1506.02438" } ]
{ "authors": "Josef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji, Xinbo Xu, Mickel Liu, Yizhou Wang, Yaodong Yang", "chunk_id": 9, "doc_id": "2310.12773", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12773", "summary": "With the development of large language models (LLMs), striking a balance\nbetween the performance and safety of AI systems has never been more critical.\nHowever, the inherent tension between the objectives of helpfulness and\nharmlessness presents a significant challenge during LLM training. To address\nthis issue, we propose Safe Reinforcement Learning from Human Feedback (Safe\nRLHF), a novel algorithm for human value alignment. Safe RLHF explicitly\ndecouples human preferences regarding helpfulness and harmlessness, effectively\navoiding the crowdworkers' confusion about the tension and allowing us to train\nseparate reward and cost models. We formalize the safety concern of LLMs as an\noptimization task of maximizing the reward function while satisfying specified\ncost constraints. Leveraging the Lagrangian method to solve this constrained\nproblem, Safe RLHF dynamically adjusts the balance between the two objectives\nduring fine-tuning. Through a three-round fine-tuning using Safe RLHF, we\ndemonstrate a superior ability to mitigate harmful responses while enhancing\nmodel performance compared to existing value-aligned algorithms.\nExperimentally, we fine-tuned the Alpaca-7B using Safe RLHF and aligned it with\ncollected human preferences, significantly improving its helpfulness and\nharmlessness according to human evaluations.", "text": "2\n# 2 PRELIMINARIES\nPreference Modelling The RLHF method enhances the quality of language model responses by leveraging human preference data through a reward model. The reward model is denoted as Rϕ(y, x), where x is the input prompt, y is the response generated by the language model, and R is the scalar output from the reward model. Human preference data is symbolized as yw ≻ yl|x, where yw (win) denotes a response that is more preferred by humans compared to yl (lose). Most of the previous work, including Christiano et al. (2017); Sadigh et al. (2017); Bai et al. (2022a); Kim et al. (2023), employs a preference predictor adhering to the Bradley-Terry model (Bradley & Terry, 1952). The likelihood of a preference pair can be estimated as:\np∗(yw ≻ yl|x) = exp(R(yw, x)) exp(R(yw, x)) + exp(R(yl, x)) = σ(R(yw, x) − R(yl, x)), (1)", "title": "Safe RLHF: Safe Reinforcement Learning from Human Feedback", "year": 2023 }
[ -0.021480763, 0.009864441, 0.049861245, -0.010410219, 0.03673561, 0.0031011673, 0.01324692, 0.050858468, -0.0038575085, 0.027154164, -0.022410609, -0.043770086, -0.023542592, 0.007566781, -0.01074712, -0.043581422, 0.061019383, 0.007883467, 0.009008714, 0.05139751, -0.008355128, -0.017491864, -0.028057057, 0.018327376, 0.04142526, 0.013139112, -0.000712123, 0.032773662, 0.0010696584, -0.035495814, 0.017815288, -0.032962326, 0.0029899902, -0.0038575085, -0.04606101, -0.0042213607, 0.021588571, 0.024822814, -0.012734831, 0.013374942, -0.026035655, -0.0054678917, -0.031210443, 0.022127612, -0.027598873, 0.061720137, 0.024809338, -0.0010957682, -0.0057407813, 0.041748684, -0.048109364, 0.026372556, -0.022585796, 0.012424883, 0.024998002, -0.009972249, 0.0071759764, -0.008462936, 0.035954, -0.019998401, -0.017316675, -0.05514384, -0.0017586196, 0.029539417, -0.022356704, -0.046276625, -0.06948232, 0.014756233, -0.002442527, 0.048405834, 0.026278224, -0.0106797395, 0.049861245, 0.02669598, -0.037517216, 0.010484338, 0.03024017, 0.04390485, 0.02544271, -0.0072905226, 0.005235431, -0.017222343, -0.0004994547, -0.053607576, -0.04142526, -0.04355447, -0.029539417, 0.008941334, -0.0372477, -0.028137913, -0.0212921, 0.009615134, -0.034309927, 0.020254446, 0.048702307, -0.002078675, -0.030509692, -0.0037901283, 0.019082032, 0.008409032, 0.002304398, -0.021777235, 0.011939746, 0.0085033635, 0.030994827, 0.015389605, 0.008368604, 0.030887019, -0.025186667, -0.014540617, -0.051074084, -0.0019169627, -0.051316652, 0.03794845, 0.0073781167, -0.031102635, -0.069967456, -0.029943699, 0.00024804284, 0.0049894936, -0.013462536, -0.0049962313, 0.02490367, -0.015726507, -0.011265946, 0.005424095, -0.007465711, -0.057677332, 0.003554298, -0.023421308, -0.019688454, 0.039942898, 0.028946474, -0.027046356, -0.05420052, 0.0072500943, 0.0141767645, 0.0047570323, -0.022585796, -0.00956123, 0.032126814, -0.03953862, -0.02530795, 0.0031180123, -0.059456166, 0.0021612155, -0.014702329, 0.009258021, -0.056814868, 0.01344906, -0.005531903, 0.016535066, -0.03940386, 0.04315019, -0.033124037, -0.07282437, 0.000018371595, 0.0047671394, -0.030913971, -0.0446056, -0.010349577, 0.0007660271, -0.0052253236, -0.014850565, 0.05366148, 0.002226911, -0.049349155, 0.04231468, -0.05897103, -0.03288147, -0.030267123, 0.025200142, -0.057030484, -0.04088622, 0.009311925, -0.0226397, 0.0106797395, -0.065223895, 0.024957575, -0.010349577, -0.009305187, 0.029189043, -0.021265147, -0.0042516817, 0.033878695, -0.00073612714, -0.021009102, -0.020766534, 0.0039282576, -0.0010763964, 0.034929823, 0.052259974, 0.0878097, 0.016723732, -0.036277425, -0.014298049, 0.04382399, 0.031048732, -0.04261115, -0.0036621063, 0.009850965, 0.021844616, -0.029835891, -0.065547325, -0.0000282154, 0.00567677, -0.011973437, 0.051478367, -0.049996004, -0.021265147, 0.0031213814, 0.0037732834, 0.077837445, 0.03940386, -0.045764536, 0.046007104, -0.043716185, 0.0162925, 0.030159315, 0.024539817, 0.0037429624, 0.0052286927, 0.038972627, 0.005434202, -0.07244704, 0.04126355, 0.03304318, -0.027787536, 0.013206492, -0.07632813, 0.07217752, 0.007135548, -0.012896543, -0.01631945, 0.004046173, 0.014810137, 0.013590558, -0.0017788336, 0.013812913, -0.046788715, -0.0062663457, 0.008799836, 0.032369383, 0.004362859, 0.04406656, 0.032665852, -0.0032426654, -0.0022353334, 0.030051507, -0.028030105, 0.019661501, -0.029943699, 0.009399518, 0.015969073, -0.037382457, -0.0091434745, -0.03821797, 0.03382479, -0.019338077, -0.02183114, -0.040778413, -0.008051917, 0.036196567, 0.058917124, -0.0086111715, -0.020470062, -0.043204095, 0.0017939941, -0.017047156, -0.012930234, 0.0021005734, -0.01804438, 0.0010090164, 0.016845016, -0.06155842, -0.0022285955, 0.061342806, 0.028164865, -0.049025733, 0.026372556, -0.024189442, -0.0040023755, 0.04606101, 0.0005537799, 0.02862305, 0.0019119092, 0.007189452, 0.010329363, -0.04525245, -0.024917146, 0.004319062, -0.036546946, 0.03007846, -0.09384695, 0.039511666, 0.0047300803, -0.00043102182, -0.024391582, 0.011164876, 0.010329363, 0.039323002, 0.0052590137, -0.0049996004, 0.0030186267, -0.009264758, 0.024243345, 0.009001976, 0.0038238184, 0.0079777995, 0.0023684092, -0.012438359, 0.022221943, -0.02091477, 0.014378904, -0.06484657, -0.029808939, 0.052556448, 0.010100271, 0.021871567, -0.011542204, -0.042665053, -0.017316675, 0.00004153349, -0.018125236, 0.013651201, -0.01983669, -0.027814489, -0.01371858, -0.033905648, 0.0053836666, -0.0018731657, 0.022451036, 0.023542592, 0.011434396, 0.031749483, -0.056437537, -0.05530555, 0.031749483, 0.0061147404, 0.029835891, -0.03953862, -0.025860468, -0.016952824, -0.017734433, -0.02402773, 0.012276647, 0.014149813, 0.049106587, 0.031345204, 0.036816467, -0.018475613, -0.021911995, 0.026709456, 0.004096708, -0.02557747, -0.0059260763, 0.026224319, -0.044120464, -0.03382479, 0.03115654, -0.023609973, -0.0023684092, -0.00022256476, 0.012458573, -0.0005053505, 0.009129998, -0.008961548, 0.0019910808, 0.0064785928, -0.012990875, -0.04498293, 0.01952674, -0.034983728, 0.020739583, -0.017249295, -0.011232256, -0.0038170803, 0.018893369, 0.013523178, -0.0093523525, 0.02770668, 0.0027827965, -0.04341971, -0.038541395, 0.012148625, -0.0020685678, -0.012701142, -0.009601658, -0.044524744, 0.0033673185, 0.0055487477, 0.0042718956, -0.022019804, 0.0059867185, -0.010794286, 0.002156162, -0.01152199, 0.049025733, 0.059078835, 0.031183492, -0.05778514, -0.025173191, -0.045845393, 0.00086035917, -0.038110163, 0.0068761352, -0.02902733, 0.026399508, 0.011643275, 0.043850943, 0.01703368, -0.028973427, 0.026857693, 0.012788735, -0.0023936767, -0.038164064, 0.058108564, 0.011629798, 0.04660005, 0.027059833, 0.016184691, -0.012047554, -0.013300824, -0.016764158, -0.003214029, -0.008024965, -0.00093742507, -0.010598883, -0.02848829, -0.044686455, -0.028811714, 0.075843, 0.05498213, -0.028030105, -0.031345204, 0.010268721, 0.05940226, 0.024458962, 0.010107009, -0.049618676, 0.044821218, 0.010605621, -0.017411007, 0.0053398698, -0.0014200348, 0.030159315, -0.008631386, 0.007000788, -0.03139911, -0.008045179, -0.045899298, 0.043850943, 0.022356704, 0.015820839, 0.02582004, -0.019809738, 0.04967258, 0.027787536, 0.010288935, 0.03234243, 0.00034637563, 0.024984526, 0.01604993, -0.024202917, 0.0012785366, 0.0048479955, 0.0014427755, -0.016076881, -0.035280198, -0.027288925, -0.035765335, -0.022477988, 0.043770086, -0.04872926, 0.0029714606, 0.005885648, 0.0035778813, -0.010416958, 0.06888937, -0.02274751, 0.033609174, 0.015618698, 0.017828764, -0.03541496, 0.0060406225, 0.09929126, 0.06506219, -0.036196567, -0.035199344, -0.00058325863, 0.04261115, -0.041586973, 0.032315478, -0.015456986, 0.015456986, -0.034175165, 0.053742334, 0.01949979, 0.01986364, -0.0074118064, -0.015820839, 0.005208479, -0.0039114123, 0.04301543, 0.009850965, 0.025550518, 0.024391582, -0.008907644, -0.020739583, 0.038137116, -0.0148640415, -0.01074712, -0.030590547, 0.017680528, -0.0026126618, 0.028730858, -0.04541416, -0.0061854897, -0.023057457, -0.0050939326, 0.00047250267, 0.0105719315, -0.032126814, -0.026844217, 0.012114935, -0.010774071, -0.0037564384, -0.09206811, -0.019796262, -0.054793466, 0.0189877, 0.020726107, -0.020537442, 0.009008714, -0.01990407, 0.0004497619, -0.0029478776, -0.030132363, -0.020254446, -0.011885842, -0.008132773, 0.0030102043, -0.005454416, 0.029081235, -0.009588183, 0.010827975, 0.009534279, -0.014594521, 0.0028552301, 0.010369792, 0.035334103, -0.03713989, -0.030536642, -0.015012277, -0.030321026, 0.02429725, -0.025173191, 0.0076341606, -0.0075128768, -0.021885043, -0.025348378, -0.0029984126, 0.0012465311, 0.019391982, -0.026844217, 0.00669084, 0.014634949, 0.00074539194, 0.019095508, -0.004423501, -0.020793486, -0.0075869947, 0.031749483, -0.049106587, 0.005481368, -0.010639312, 0.0073444266, 0.0036452613, 0.031857293, 0.0005428306, -0.0025318058, -0.0108145, 0.01270788, -0.017128011, -0.0031685473, -0.02530795, -0.00479746, -0.00016497586, -0.035495814, 0.02149424, 0.03665475, -0.05740781, 0.0041708257, 0.02490367, -0.03457945, -0.0041708257, 0.00007459183, 0.021480763, -0.0117915105, 0.018839465, 0.014459761, 0.014688853, 0.006603246, -0.019648025, -0.007971061, 0.020537442, 0.005747519, 0.0024610567, -0.018179141, 0.004295479, -0.014042005, -0.011427659, -0.011238994, -0.014513665, -0.024890194, -0.036789514, 0.00046871253, -0.047893748, 0.049834292, -0.03905348, -0.016764158, 0.011885842, 0.019405458, -0.00351387, 0.0009871179, -0.007566781, 0.004433608, 0.005447678, 0.01405548, -0.006492069, -0.008072131, 0.0008115086, 0.003406062, -0.0046290103, -0.03358222, 0.028407434, 0.014298049, 0.025159715, 0.005430833, -0.03622352, 0.015389605, 0.02378516, -0.017869191, -0.047435563, 0.028326577, -0.004042804, 0.005673401, 0.021359479, -0.0030321027, -0.011596109, -0.022666652, -0.021804187, -0.006613353, -0.025604423, 0.01912246, -0.028730858, 0.0060271462, 0.037759785, 0.013260396, -0.019135937, -0.04298848, -0.03142606, -0.012674189, -0.014298049, 0.003459966, 0.04088622, 0.018179141, 0.043877896, 0.0086111715, -0.010935783, -0.046357483, -0.010619097, 0.009500588, -0.0029310326, -0.030563595, -0.03757112, 0.025321426, -0.019850167, -0.021925472, 0.0034936562, -0.005996825, -0.016669827, -0.03156082, -0.06360678, 0.018866416, 0.005504951, 0.024014253, -0.03506458, -0.015335701, 0.017411007, -0.02862305, -0.017747907, 0.028137913, -0.03953862, -0.016710255, 0.021386432, -0.002791219, 0.052529495, -0.0012878014, -0.039888997, -0.043608375, 0.020604823, 0.002284184, 0.00239873, -0.016144263, -0.026952025, -0.04048194, 0.02956637, 0.06021082, -0.0109425215, -0.008981762, -0.021858092, -0.0002156162, 0.03395955, -0.0080317035, 0.04072451, 0.033447463, 0.03554972, 0.004938958, 0.0011134555, -0.029242946, 0.012472049, -0.020362254, 0.021076484, -0.0014924683, -0.002358302, -0.035846192, 0.023515642, -0.0048715784, 0.023569545, 0.027531493, 0.009446684, -0.02703288, -0.018974224, 0.0051512057, 0.005488106, -0.03568448, -0.004568368, 0.004362859, -0.008638124, 0.0259548, -0.010005939, -0.0042146225, 0.03554972, 0.0193246, 0.024822814, 0.047354706, 0.050966278, -0.020523967, -0.029943699, -0.03835273, 0.012013865, 0.019028129, 0.017923096, 0.008065393, -0.006714423, 0.0012835901, -0.023704305, -0.020523967, 0.009062618, 0.0025099074, 0.021804187, 0.0072972607, -0.020402683, -0.006374154, -0.02145381, -0.000056588724, -0.031884246, 0.034282975, -0.0233135, -0.029620275, -0.03875701, 0.015632173, 0.0073848544, 0.06975184, -0.008024965, 0.022141088, 0.020281399, -0.039107386, -0.0046290103, -0.02510581, -0.029242946, 0.012936971, -0.038406633, 0.0063202498, -0.022949649, -0.01152199, -0.015686078, 0.025725707, -0.017828764, -0.035334103, 0.007438759, -0.018192615, -0.04142526, 0.029620275, 0.0433119, -0.032665852, -0.096703865, -0.022693604, 0.04064365, -0.0058519584, 0.010551717, -0.0026817264, -0.0029781987, -0.017343627, -0.013988101, -0.03048274, -0.0020837283, 0.0042213607, 0.0006140008, -0.015227893, -0.0021039424, -0.061774038, -0.005380298, -0.016400307, 0.02656122, -0.019580645, -0.033339653, -0.009850965, 0.0041977777, 0.02071263, -0.033393558, 0.023475213, -0.0155513175, 0.0022050124, 0.00059505017, -0.0013467589, -0.047624227, -0.032153763, 0.0029175566, 0.03490287, -0.04234163, 0.033231847, -0.02017359, -0.014486713, -0.015227893, 0.019998401, 0.014500189, -0.030509692, 0.024526343, -0.032692805, 0.02848829, -0.03199205, -0.0070210025, -0.03247719, 0.0050265524, -0.019621074, 0.008745932, 0.023300026, 0.01131985, -0.020604823, -0.0050669806, 0.034956776, 0.017128011, 0.005211848, -0.019095508, -0.014594521, -0.030698355, 0.01524137, 0.012997613, -0.009783585, -0.014365429, -0.0068828734, 0.0030657928, 0.023273073, -0.04193735, -0.055036034, -0.030940924, 0.024998002, -0.031938147, 0.041074883, -0.028164865, -0.013428846, 0.006913194, 0.03328575, -0.029539417, 0.017815288, 0.026183892, -0.042503342, -0.02970113, -0.0026581434, 0.0004628168, 0.033177942, 0.020887818, -0.014527141, -0.010753858, 0.037355505, 0.034148216, -0.0014545671, -0.002885551, 0.009500588, 0.009689253, -0.014931422, -0.010268721, 0.018691229, 0.019971449, -0.019661501, 0.034309927, 0.043123238, -0.020604823, 0.004719973, 0.018529516, -0.01743796, 0.005292704, 0.019338077, 0.018152189, -0.00030678982, -0.0113670165, 0.0095140645, -0.0233135, 0.015632173, -0.010565193, 0.010760596, 0.030994827, 0.053769287, 0.02091477, 0.011178352, -0.0059799803, 0.052394737, 0.023879493, -0.0155513175, -0.020510491, -0.020820439, 0.0015185782, 0.014042005, -0.011070544, 0.00429211, 0.037220746, 0.015403082, 0.02165595, -0.0003836452, -0.0062259175, 0.02541576, 0.036277425, -0.011818463, -0.042530295, 0.0014158235, 0.040454987, 0.03848749, 0.02243756, 0.018003952, -0.006980574, 0.006940146, 0.011562418, -0.027598873, -0.016615923, 0.019230269, -0.0025048538, -0.012896543, 0.012168839, -0.010955998, -0.002861968, 0.01652159, 0.03665475, -0.035900097, 0.043689232, 0.0040495414, -0.009628611, 0.044147417, 0.01949979, -0.02490367, 0.038783964, -0.027679728, 0.00005627288, -0.010457385, -0.00071717653, 0.038864817, -0.035603624, -0.016427258, -0.01172413, 0.020968676, 0.0035374532, 0.02916209, 0.0038878294, 0.04457865, 0.002048354, 0.0129032815, 0.00031184335, 0.018152189, -0.0019051712, -0.01956717, 0.045764536, 0.009682515, -0.0029125032, -0.017936572, 0.014702329, 0.016952824, 0.011110972, 0.0135433925, 0.019418932, 0.053769287, 0.035334103, -0.03382479, 0.0041337665, 0.01862385, 0.0109425215, -0.023232644, -0.04422827, 0.024944099, 0.017060632, 0.0018209461, -0.03824492, 0.012680927, 0.006973836, -0.024175966, 0.01591517, 0.019607598, -0.015847791, 0.032665852, -0.035199344, 0.0016684987, -0.021089958, -0.016710255, -0.013354728, -0.0052590137, -0.019203316, -0.0012835901, -0.009702729, -0.035792287, -0.0009146843, 0.0031483334, 0.016171215, -0.020847391, 0.0233135, 0.0011917849, 0.011299636, -0.008658337, -0.020968676, 0.023839066, -0.01165675, -0.00074202294, -0.03525325, 0.0035105012, -0.0074454965, -0.016373355, -0.0064246887, 0.014095909, 0.03156082, 0.0018731657, -0.009379304, 0.011238994, 0.018718181, -0.008132773, 0.035118487, 0.017316675, -0.021036055, -0.007971061, 0.010504551, 0.013738794, 0.0091973785, 0.0036722133, 0.0017055578, -0.025146239, 0.01591517, 0.02210066, 0.04301543, 0.015820839, -0.012950447, 0.016615923, 0.0140689565, -0.015739983, 0.02145381, -0.019432409, 0.0033572116, 0.030887019, -0.00282154, -0.01777486, -0.016265547, 0.027154164, 0.015403082, 0.03808321, 0.011966699, 0.020510491, 0.021521192, 0.009675777, 0.029108185, -0.0053600837, -0.012822425, -0.0061955964, -0.02470153, 0.009271496, 0.01611731, 0.007762183, 0.029539417, -0.01683154, 0.012472049, 0.031075684, 0.040266324, 0.055467267, 0.0262917, 0.010821237, 0.0035105012, -0.023380881, -0.009386042, -0.0148640415, 0.019216793, -0.025833515, 0.056491442, 0.027531493, 0.029377706, -0.016225118, 0.020699155, 0.042449437, 0.0032864625, -0.014688853, -0.020968676, -0.03972728, -0.04673481, -0.016535066, 0.01358382, 0.011778034, 0.02064525, -0.016710255, 0.0040495414, -0.004541416, -0.034148216, -0.025254047, -0.0026530898, 0.004669438, -0.012411407, 0.02902733, -0.0128493775, -0.0020331934, 0.009567969, 0.0041405046, 0.014028529, 0.00912326, 0.0047098664, 0.044039607, -0.001689555, -0.0010662895, -0.01101664, -0.024472438, -0.05713829, -0.012061031, 0.0030624238, -0.018098284, 0.018758608, 0.017424483, 0.02071263, -0.032423284, -0.0048176744, 0.008058655, 0.010699954, 0.00012423198, -0.019890593, -0.030994827, 0.06220527, -0.0051040393, -0.0266286, -0.010666263, -0.038783964, 0.024647625, 0.008287747, -0.000040507, -0.013826388, 0.00082077336, 0.0059092315, 0.027248496, -0.0063606775, -0.0013113844, -0.0011943115, -0.012492263, 0.0017619886, 0.03449859, 0.03156082, 0.027154164, 0.00868529, 0.004255051, -0.0009028928, 0.010073319, 0.009015452, 0.02443201, -0.013812913, -0.004938958, 0.015942123, 0.024310725, 0.01578041, -0.0071288105, -0.03676256, 0.028434385, -0.055036034, 0.010558455, -0.008813312, 0.03447164, -0.008847002, -0.022949649, 0.012094721, 0.013085208, -0.017074108, 0.01976931, 0.0020011878, 0.011090758, 0.016373355, 0.008624648, 0.0073242127, 0.016683303, -0.0032595105, 0.011232256, 0.007849777, -0.002673304, 0.006404475, -0.0128493775, -0.03638523, 0.018421708, 0.017020203, 0.026480364, -0.034175165, 0.002578972, -0.03342051, -0.0040326966, 0.0472469, -0.026844217, 0.0048985304, 0.01611731, -0.020550918, 0.020187067, -0.0019472837, 0.0030775843, -0.016750682, -0.00016623925, -0.0063168807, 0.014688853, -0.0047031282, 0.02131905, 0.0166294, 0.004746925, 0.03525325, -0.019553693, -0.02243756, 0.0041944087, 0.0052489066, 0.015699554, 0.0059833494, 0.020726107, -0.021871567, 0.021642474, -0.020092733, 0.023933398, 0.06754177, 0.0038608774, -0.026871167, 0.003473442, 0.025766134, 0.032773662, 0.01368489, 0.0027019405, -0.0121081965, -0.018125236, 0.012047554, 0.03848749, -0.043365806, 0.0066369358, -0.05220607, -0.007768921, 0.0059496593, 0.0118252, 0.005787947, -0.048271075, 0.0379754, -0.0005415672, -0.012573119, 0.009446684, -0.022141088, -0.00084393524, 0.017289724, -0.02537533, 0.0037092722, 0.00013633934, 0.008732456, 0.014729281, -0.020119686, 0.011407444, 0.031938147, -0.024755433, 0.012323813, 0.018206092, -0.024081634, 0.010342839, -0.0042483127, -0.0011303005, -0.0016634453, -0.01716844, -0.017788336, -0.0665715, -0.006559449, -0.017626625, 0.02169638, -0.0074252826, -0.015227893, 0.017518817, 0.0047368184, -0.038110163, 0.018071333, -0.0019051712, 0.03304318, 0.01699325, -0.012040817, 0.0051040393, -0.023663877, -0.0033976396, 0.015335701, -0.000026241374, -0.007539829, -0.013105421, -0.016925871, -0.015403082, 0.029728083, -0.0020399312, 0.013509702, 0.002183114, 0.05697658, 0.013226706, 0.0104776, 0.0058789104, 0.005804792, 0.003449859, 0.00033311016, -0.018084807, 0.004885054, -0.01530875, 0.015173989, -0.015524366, -0.002260601, 0.02344826, 0.003392586, 0.0034448055, -0.019877117, -0.0113670165, 0.019257221, 0.008281009, 0.027922297, 0.02257232, 0.014823613, -0.0029276635, -0.013745532, -0.020254446, 0.030994827, -0.009534279, 0.018920321, -0.006640305, 0.02131905, 0.050804567, 0.020618299, 0.019391982, 0.023178741, -0.008907644, 0.012660713, 0.0040899697, 0.024256822, 0.021858092, 0.023340452, -0.023677353, 0.021615524, 0.025631376, -0.015106609, 0.006953622, 0.0266286, -0.0012936972, 0.007876729, 0.00019771836, 0.023852542, 0.03765198, 0.016184691, 0.012600071, -0.045198545, -0.03223462, -0.008220367, -0.01770748, -0.015618698, 0.007539829, -0.009446684, 0.023906445, 0.034363832, 0.0041674566, -0.016009502, 0.036250472, 0.0063909986, -0.04598015, 0.004285372, 0.021399908, 0.024647625, -0.020321826, -0.000091542126, 0.013233444, -0.010457385, 0.026844217, -0.03754417, 0.025550518, -0.00037438047, 0.0024947468, -0.021049531, 0.068619855, 0.038002353, 0.027787536, -0.033905648, 0.019890593, 0.015564794, -0.021440335, -0.034175165, -0.03899958, 0.05514384, -0.052286927, -0.01334799, -0.019445885, 0.012741569, 0.03837968, -0.009318662, -0.010875141, 0.021063007, -0.0082405815, 0.0029310326, 0.03247719, -0.032611948, 0.0008115086, 0.014810137, -0.012290123, 0.0040663867, 0.016184691, -0.035954, -0.0005360926, 0.006818862, 0.023839066, 0.0072029284, -0.002828278, 0.014500189, 0.005558855, 0.020416157, -0.011279422, -0.04757032, 0.016427258, 0.0027996416, 0.038406633, -0.0086650755, -0.009541016, 0.020497015, 0.008422508, -0.0067986483, 0.008510102, 0.019944498, -0.057030484, 0.00037838114, 0.019755833, 0.010935783, -0.022760984, -0.0091973785, 0.04180259, -0.008462936, -0.008543791, 0.0039484715, 0.010248507, 0.027275449, 0.005515058, -0.012687665, 0.020550918, -0.011542204, 0.010733644, 0.018637324, -0.01743796, -0.0031500177, 0.020550918, 0.004642486, 0.0319651, 0.037867595, 0.00091721106, -0.021211242, 0.011171614, -0.011690441, -0.012472049, -0.011548942, 0.03592705, 0.03288147, -0.0042213607, -0.0025806562, 0.0433119, 0.010895356, -0.015847791, -0.00007901365, 0.041452214, -0.0035172391, 0.008907644, -0.03592705, 0.0162925, 0.011373755, -0.014001576, 0.024175966, -0.017478388, -0.039349955, 0.0010022784, 0.0019927653, 0.021750282, 0.012330551, 0.0061349543, 0.0017190338, 0.004615534, -0.008355128, -0.012424883, 0.02575266, 0.030940924, -0.011946484, -0.01703368, 0.006434796, 0.0005807319, -0.009466899, -0.015362654, -0.035037633, -0.007620685, -0.028596098, -0.006269715, 0.010612359, 0.0019809739, 0.028003152, -0.01111771, -0.04554892, -0.009898131, 0.0052556447, -0.03953862, 0.029620275, 0.052691206, 0.012525953, -0.005269121, -0.030536642, -0.008456198, -0.020995626, -0.024782386, 0.013590558, -0.024553293, -0.012505739, -0.025132762, 0.006572925, -0.02865, -0.006532497, -0.024405058, -0.02311136, 0.02210066, -0.015699554 ]
2310.12397
10
# 2https://pypi.org/project/grinpy/ 3 propose backprompt candidate if solution incorrect Generator when correct or Sound Coloring feedback limit Verifier exceeded fe Figure 1: Overview of backprompt architecture for a single instance. Clouds provide an illustrated interpretation of the current state of the problem at different points in the system. Red diamonds indicate progression of a single problem: a planar graph is first passed to GPT-4 acting as a generator (1), which returns a proposed coloring (2). GPT-4 will then be used as a verifier to determine whether the coloring is correct. When not correct, GPT-4 provides feedback, along with previous history, through a backprompt (3) that will be used in the next generation request (4). Each new coloring will be evaluated by the GPT-4 working as a verifier. If GPT-4 determines the coloring to be correct or 15 iterations have passed, it approves the final answer, where it is then evaluated against a sound verifier. # 3.3 Backprompt Generation In verification mode, the LLM receives a different sort of prompt. Apart from standard instructions, it contains only the graph description and the proposed coloring. It is tasked with verifying correctness, optimality, and whether every vertex has been given an assignment. If the coloring is incorrect, it must reply with a set of contradicting edges.
2310.12397#10
GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems
There has been considerable divergence of opinion on the reasoning abilities of Large Language Models (LLMs). While the initial optimism that reasoning might emerge automatically with scale has been tempered thanks to a slew of counterexamples, a wide spread belief in their iterative self-critique capabilities persists. In this paper, we set out to systematically investigate the effectiveness of iterative prompting of LLMs in the context of Graph Coloring, a canonical NP-complete reasoning problem that is related to propositional satisfiability as well as practical problems like scheduling and allocation. We present a principled empirical study of the performance of GPT4 in solving graph coloring instances or verifying the correctness of candidate colorings. In iterative modes, we experiment with the model critiquing its own answers and an external correct reasoner verifying proposed solutions. In both cases, we analyze whether the content of the criticisms actually affects bottom line performance. The study seems to indicate that (i) LLMs are bad at solving graph coloring instances (ii) they are no better at verifying a solution--and thus are not effective in iterative modes with LLMs critiquing LLM-generated solutions (iii) the correctness and content of the criticisms--whether by LLMs or external solvers--seems largely irrelevant to the performance of iterative prompting. We show that the observed increase in effectiveness is largely due to the correct solution being fortuitously present in the top-k completions of the prompt (and being recognized as such by an external verifier). Our results thus call into question claims about the self-critiquing capabilities of state of the art LLMs.
http://arxiv.org/pdf/2310.12397
Kaya Stechly, Matthew Marquez, Subbarao Kambhampati
cs.AI
18 pages, 3 figures
null
cs.AI
20231019
20231019
[ { "id": "2206.10498" }, { "id": "2306.03872" }, { "id": "2303.11366" } ]
{ "authors": "Kaya Stechly, Matthew Marquez, Subbarao Kambhampati", "chunk_id": 10, "doc_id": "2310.12397", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12397", "summary": "There has been considerable divergence of opinion on the reasoning abilities\nof Large Language Models (LLMs). While the initial optimism that reasoning\nmight emerge automatically with scale has been tempered thanks to a slew of\ncounterexamples, a wide spread belief in their iterative self-critique\ncapabilities persists. In this paper, we set out to systematically investigate\nthe effectiveness of iterative prompting of LLMs in the context of Graph\nColoring, a canonical NP-complete reasoning problem that is related to\npropositional satisfiability as well as practical problems like scheduling and\nallocation. We present a principled empirical study of the performance of GPT4\nin solving graph coloring instances or verifying the correctness of candidate\ncolorings. In iterative modes, we experiment with the model critiquing its own\nanswers and an external correct reasoner verifying proposed solutions. In both\ncases, we analyze whether the content of the criticisms actually affects bottom\nline performance. The study seems to indicate that (i) LLMs are bad at solving\ngraph coloring instances (ii) they are no better at verifying a solution--and\nthus are not effective in iterative modes with LLMs critiquing LLM-generated\nsolutions (iii) the correctness and content of the criticisms--whether by LLMs\nor external solvers--seems largely irrelevant to the performance of iterative\nprompting. We show that the observed increase in effectiveness is largely due\nto the correct solution being fortuitously present in the top-k completions of\nthe prompt (and being recognized as such by an external verifier). Our results\nthus call into question claims about the self-critiquing capabilities of state\nof the art LLMs.", "text": "# 2https://pypi.org/project/grinpy/\n3\npropose backprompt candidate if solution incorrect Generator when correct or Sound Coloring feedback limit Verifier exceeded fe\nFigure 1: Overview of backprompt architecture for a single instance. Clouds provide an illustrated interpretation of the current state of the problem at different points in the system. Red diamonds indicate progression of a single problem: a planar graph is first passed to GPT-4 acting as a generator (1), which returns a proposed coloring (2). GPT-4 will then be used as a verifier to determine whether the coloring is correct. When not correct, GPT-4 provides feedback, along with previous history, through a backprompt (3) that will be used in the next generation request (4). Each new coloring will be evaluated by the GPT-4 working as a verifier. If GPT-4 determines the coloring to be correct or 15 iterations have passed, it approves the final answer, where it is then evaluated against a sound verifier.\n# 3.3 Backprompt Generation\nIn verification mode, the LLM receives a different sort of prompt. Apart from standard instructions, it contains only the graph description and the proposed coloring. It is tasked with verifying correctness, optimality, and whether every vertex has been given an assignment. If the coloring is incorrect, it must reply with a set of contradicting edges.", "title": "GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems", "year": 2023 }
[ 0.0048525454, -0.012365005, 0.018432485, -0.0011178827, -0.028108818, 0.008418268, 0.046440657, 0.010273019, -0.00840389, 0.058058012, 0.049028683, -0.006833103, -0.038820364, 0.013960953, -0.024600608, -0.040459447, -0.0065671117, -0.03761262, 0.007720939, 0.025161346, 0.0010531821, -0.019482072, 0.01804428, 0.052364357, 0.023277842, -0.010373664, 0.015930727, -0.011495141, 0.04580803, -0.03252284, -0.008626748, -0.022745857, -0.046038076, -0.04974758, 0.010078916, 0.0011259703, 0.010344909, 0.02398236, 0.017239118, 0.026958587, 0.009482234, -0.03470828, -0.023263462, -0.020172212, 0.018058658, 0.061479956, -0.0031595463, -0.025175724, -0.0057978933, 0.022573322, -0.035283398, 0.0770081, 0.0006151051, 0.035082106, -0.04531918, 0.017023448, -0.02452872, -0.027720615, -0.00035967247, -0.002420881, 0.029704768, -0.012336249, -0.021538112, 0.054923628, -0.016103262, -0.014838005, -0.018547507, 0.038590316, 0.029791035, 0.03120007, -0.038762853, 0.029115273, 0.014572014, -0.05147293, -0.03884912, 0.07223463, 0.08155152, 0.025736464, 0.06820882, -0.03381685, 0.0043780743, -0.018561885, 0.027605593, -0.032839153, -0.01088408, -0.0071314448, -0.0067540244, 0.011509519, -0.0602147, -0.07016421, 0.011739566, 0.0007597828, -0.044715308, 0.07994119, 0.04126461, 0.03045242, 0.012099014, -0.016707135, 0.023335353, 0.03534091, -0.0063083093, -0.024269916, -0.06464309, -0.052709427, 0.045865543, 0.015441878, 0.0076993722, 0.049891356, -0.020244101, -0.03617483, -0.08344941, -0.02431305, -0.0076562385, 0.017886123, 0.031976476, -0.010582143, -0.024859412, -0.07171703, 0.030078594, -0.0330692, -0.0065527335, 0.009597257, -0.016275797, -0.052450627, -0.027231766, 0.0058518103, 0.02665665, -0.06757619, -0.013716529, 0.025693329, -0.00261678, -0.003993465, 0.047648404, 0.0377564, -0.016203908, -0.005485174, -0.029201541, -0.029503476, 0.0020254885, 0.021336822, -0.008432645, -0.025693329, -0.017727965, 0.0021944288, -0.014543259, 0.0020452582, -0.044255216, 0.05869064, -0.028885227, 0.03367307, -0.016247042, 0.035714734, -0.0051257256, 0.01680778, -0.014241323, -0.043507565, -0.014485747, 0.053284544, -0.027778128, -0.00840389, -0.011689243, -0.006441305, 0.03442072, -0.021610003, 0.00017657875, 0.005758354, -0.027246144, 0.02900025, -0.05469358, -0.018403728, -0.0042522675, 0.0004978352, -0.045031622, 0.0019194513, 0.041983504, -0.0004183074, -0.026843563, -0.0054312567, 0.0058374326, -0.05558501, 0.005488768, 0.054866116, 0.04229982, -0.0022034151, -0.005104159, 0.011056615, 0.026901074, -0.024097381, -0.035513446, 0.034334455, 0.0012293116, 0.027993796, 0.06533323, 0.0060782623, -0.0022824937, -0.07585787, 0.09322639, -0.043622587, 0.0010666614, -0.012472839, -0.03692248, 0.017440408, 0.0035387638, -0.04704453, 0.026556004, -0.013522427, 0.025592685, -0.024557475, -0.007958175, -0.0043816688, 0.044686552, 0.011660487, 0.017469164, 0.009259376, -0.04724582, 0.0034255376, -0.031171314, 0.019712118, -0.020172212, 0.04324876, -0.02843951, 0.022415167, 0.036347363, -0.006089046, 0.02196945, 0.062285118, 0.009539745, -0.021940695, 0.043220006, 0.020100322, 0.02107802, -0.014953029, -0.023536643, -0.03010735, 0.016103262, -0.047360845, 0.031803943, 0.00647725, 0.031372607, -0.061940048, 0.047188308, 0.023378486, 0.002383139, -0.07096938, 0.03292542, 0.033874363, -0.056160126, -0.0038101468, 0.03617483, 0.030826245, -0.02300466, 0.008626748, -0.011336984, -0.02521886, -0.022702724, -0.031660162, 0.023062171, -0.017929258, -0.057597917, -0.048223518, -0.012947311, -0.0077856397, -0.04373761, 0.024341807, 0.034564503, 0.02680043, -0.058029257, -0.020215346, -0.028482646, -0.0050789975, 0.00888555, -0.017943636, 0.06654098, 0.0064916275, 0.004223512, -0.012803531, 0.029359698, 0.025937755, -0.010086106, 0.06964661, -0.04462904, 0.011746755, 0.029374076, 0.03407565, 0.007857529, 0.015441878, -0.00984887, 0.014313212, -0.020891108, -0.015125564, 0.035801, -0.008001308, 0.021092398, 0.016707135, 0.0016561558, -0.049632553, 0.009223431, 0.023723556, 0.035225887, 0.0018152115, 0.023924846, -0.004284618, -0.040258154, -0.012415327, -0.047533378, 0.011876156, -0.0037382573, 0.022199497, -0.033299245, 0.004396047, -0.04186848, -0.01935267, -0.015053675, 0.016922804, 0.007907852, -0.048568588, 0.057942986, -0.0073830583, 0.005276694, -0.04802223, -0.010359286, -0.008842416, 0.039769307, 0.020862352, -0.005560658, -0.005240749, 0.00053422933, 0.01584446, 0.0152837215, -0.0201147, -0.009115596, -0.045434203, 0.000928274, 0.036663678, 0.017037826, -0.011804266, 0.0015483215, 0.049373753, -0.026584761, -0.016779024, -0.0819541, -0.017598566, 0.03252284, -0.03134385, -0.052019287, 0.019180136, 0.0003232784, 0.05641893, 0.06171, 0.027289279, 0.005276694, -0.04235733, 0.041235853, -0.003089454, 0.036261097, 0.010308963, -0.029877303, -0.006833103, -0.02355102, 0.040833272, -0.00423789, 0.0035189942, 0.008281678, -0.010934402, -0.033874363, 0.044053923, -0.038676586, -0.002742587, 0.03396063, 0.025463283, -0.039136678, 0.018691286, 0.008396701, 0.00006807043, -0.03637612, -0.026067156, -0.024025492, 0.007073933, -0.03608856, 0.024916923, -0.027591214, -0.04442775, -0.0086483145, 0.018763175, 0.0014180216, 0.0271455, 0.031918965, -0.0055426853, -0.06481563, 0.0053198277, 0.027936283, -0.05544123, -0.020991752, -0.0024945678, 0.05061025, 0.026886696, -0.06096235, 0.023191573, 0.04606683, 0.08160903, 0.00599559, -0.024499964, -0.032264035, 0.029014628, -0.026915453, -0.024226783, 0.036692433, 0.024198027, 0.015413122, -0.037727643, 0.041235853, -0.012861043, 0.0057835155, -0.020948619, 0.01811617, -0.048194762, 0.063320324, -0.0003270975, 0.0037454462, 0.056850266, -0.0003524835, -0.002638347, -0.010855324, -0.05952456, 0.007598727, 0.017929258, -0.020057188, -0.032666616, 0.04313374, -0.045060378, -0.03105629, 0.039769307, 0.020287234, -0.0083104335, 0.0015977456, -0.032494083, -0.005902133, 0.015485012, -0.0040114378, -0.043220006, -0.010438365, -0.01191929, 0.0054456345, 0.0039503314, -0.041235853, -0.0018673314, -0.020229723, -0.021451846, -0.0014656484, -0.056303907, -0.0060459124, 0.02967601, 0.0046332823, 0.029144028, -0.011444818, -0.022098852, 0.07516773, 0.02651287, 0.034133166, -0.018360594, 0.026210934, -0.007857529, -0.03767013, -0.0013757865, -0.011797077, 0.0042882124, -0.054291, 0.033356756, 0.004277429, -0.011358551, -0.026009643, 0.022141986, 0.036893725, -0.0377564, -0.022904014, 0.013881874, -0.006225636, 0.019740874, 0.016793402, 0.0063837934, 0.009518178, 0.017037826, 0.040833272, -0.0212218, 0.020574793, 0.1031759, -0.028367622, -0.00957569, -0.0365199, -0.0069804764, -0.013723718, -0.02507508, 0.01350086, -0.01791488, 0.035283398, -0.010682789, 0.021983828, 0.0010361084, -0.017296629, -0.008583614, -0.03821649, 0.003148763, -0.04235733, 0.011725187, 0.03154514, -0.020948619, 0.028842093, 0.013989709, 0.036979992, 0.029791035, -0.029302185, -0.024830654, -0.020287234, -0.006969693, -0.016937181, 0.043162495, -0.011049426, 0.01404722, -0.007584349, 0.008713015, -0.0014593581, -0.004910057, -0.030251129, -0.0021548897, -0.0064844387, -0.033299245, -0.039021656, -0.067691214, -0.024068626, -0.029172786, 0.027131122, -0.030970024, -0.012091825, -0.017023448, -0.06038723, 0.010258641, -0.029906059, -0.012048691, -0.033356756, -0.045175403, -0.008633937, -0.00026823793, -0.019597095, 0.026067156, -0.02631158, 0.006337065, 0.025607063, -0.016160773, 0.0061968802, 0.022918392, 0.03692248, -0.0424436, 0.009554123, -0.049344998, -0.0064844387, -0.018489996, -0.022846503, 0.013342703, 0.014694227, 0.0130191995, 0.017684832, 0.00344351, 0.03217777, -0.0380152, 0.00021140024, 0.011070993, 0.037555106, 0.048252273, 0.0016552572, 0.017282251, 0.0042954013, -0.008080387, 0.024485584, -0.0051724543, 0.024514342, -0.027591214, 0.002871988, 0.00063757057, -0.010862513, 0.009331265, -0.03036615, -0.042127285, -0.003802958, 0.0055966023, -0.032839153, 0.015801325, -0.03692248, 0.008066009, -0.007034394, 0.0034039707, -0.034938328, -0.004697983, -0.017598566, 0.0071530114, -0.019956542, 0.014679849, -0.019553961, -0.00826011, -0.05262316, 0.000044425502, 0.03608856, 0.018274328, 0.008856794, 0.0066461903, 0.014241323, 0.020560415, 0.0007588842, 0.022932772, 0.03229279, 0.011890533, -0.02507508, 0.013558372, -0.010366475, 0.015758192, -0.029057762, -0.02073295, -0.008935872, 0.013342703, 0.0343057, 0.002697656, 0.047993474, 0.01652022, 0.007605916, -0.026958587, -0.0022717102, -0.010165184, -0.014219755, -0.005007108, -0.013371459, 0.025520794, -0.033845607, -0.026397849, 0.032321546, 0.030768733, -0.027461814, -0.012379383, 0.026009643, 0.012429706, 0.020747328, -0.048223518, 0.020402258, -0.029158406, -0.027591214, -0.016994692, 0.004467936, -0.0031847076, -0.024356185, 0.036404874, 0.03752635, -0.012091825, -0.03643363, -0.031171314, 0.044657797, -0.017454786, -0.004083327, 0.0030948457, -0.0067396467, -0.011797077, -0.0179005, -0.00027452828, -0.049948867, -0.026038399, -0.009626012, -0.014349157, -0.013896253, 0.026412226, -0.01562879, 0.03148763, 0.0054995515, -0.03050993, -0.025017569, 0.033874363, 0.03105629, -0.016994692, -0.038389027, -0.0068223197, -0.020689817, -0.047303334, 0.0050646197, -0.011567031, -0.017382896, -0.00069643016, -0.06101986, 0.02534826, 0.034564503, 0.009999839, 0.0022231848, 0.0053162333, 0.014075977, -0.023479132, -0.014543259, 0.002496365, 0.018001147, -0.0030463203, 0.003405768, -0.014140677, -0.003209869, 0.043852635, 0.01033053, -0.033155467, -0.017109716, 0.015528145, 0.034478236, -0.021106776, 0.003209869, -0.031861454, -0.015197454, 0.036548655, 0.03401814, -0.025535174, -0.012645374, 0.003111021, -0.026728539, 0.0030678872, -0.008497346, 0.010733112, 0.011926479, -0.022170741, 0.0049424074, -0.035944782, -0.049229972, 0.014277267, -0.01136574, -0.02458623, -0.02238641, -0.02300466, 0.008756149, -0.002607794, -0.024902545, 0.03752635, -0.015671926, 0.0104096085, 0.02996357, 0.0020776084, -0.031976476, 0.03050993, -0.020359125, -0.006987666, -0.008296056, -0.034967083, -0.010028594, -0.009661958, 0.0023418025, -0.01617515, 0.010833757, 0.031372607, -0.00043583047, 0.013256435, -0.029848546, -0.013184546, 0.010668411, 0.0140400315, -0.0024388535, -0.008899928, 0.0027839234, 0.020948619, 0.016132018, -0.017411653, -0.033241734, 0.021926317, -0.0053737448, -0.011207583, -0.028252598, 0.0066785403, -0.0009830898, 0.0009192878, 0.0051976154, -0.022055717, 0.02465812, -0.0058374326, 0.009395966, -0.01722474, 0.047562134, 0.00049873383, 0.027619971, -0.056677733, 0.010855324, -0.017440408, -0.0017648888, 0.022271387, -0.0059632394, 0.034938328, -0.029503476, -0.012170903, -0.0024712037, 0.024830654, -0.008303245, 0.039222945, -0.029791035, -0.01969774, -0.032321546, -0.01825995, -0.027778128, -0.017066583, -0.0033913902, 0.004748306, -0.009834493, -0.08615245, -0.019180136, 0.013385837, -0.008684259, -0.012185281, 0.0020506498, 0.041350875, -0.0010253249, -0.012084636, -0.0122787375, 0.0041084886, -0.004938813, -0.005722409, -0.018274328, 0.040114377, -0.045290425, 0.022817748, -0.020258479, 0.031286336, -0.032149013, -0.025305126, -0.016980315, 0.0022806963, -0.015686303, -0.011394496, -0.034564503, -0.007749695, -0.012422517, -0.0070092324, 0.008856794, -0.0051724543, 0.01466547, 0.04698702, 0.011897722, -0.006240014, -0.015830081, -0.0034902382, -0.009798547, 0.020100322, 0.02053166, 0.0042450787, -0.01411911, 0.0236948, -0.021840049, 0.012961688, -0.02981979, 0.019208891, 0.012156525, 0.032494083, -0.010783435, -0.011509519, 0.03263786, -0.00606029, -0.004230701, 0.0046728216, 0.04951753, 0.015571279, -0.023162818, -0.009252187, 0.03154514, -0.009108407, 0.008037253, 0.05055274, -0.027274901, -0.015197454, -0.03189021, 0.0023166412, 0.034622014, -0.008389512, -0.0025430934, -0.029187163, 0.016965937, -0.013817174, 0.029374076, -0.031516384, 0.007066744, 0.018058658, 0.038619075, 0.0056361416, 0.037037503, 0.01577257, 0.0049064625, -0.002029083, 0.026354713, -0.010618089, 0.014054409, 0.035916027, -0.04710204, -0.011617353, 0.028612046, -0.0047447113, -0.02934532, -0.03361556, -0.0074190027, 0.0066821347, 0.011487952, 0.025750842, 0.028295731, 0.022760237, 0.018432485, 0.03134385, 0.03499584, -0.051070347, -0.05035145, -0.007778451, -0.019855898, 0.013881874, 0.02265959, -0.019122623, -0.0072824126, 0.042184796, -0.018101793, 0.0083104335, 0.016002616, -0.03905041, 0.026742918, 0.033155467, -0.009324077, 0.042587377, -0.032120258, 0.029029006, 0.022472678, -0.041782215, 0.013364269, -0.024845034, -0.034737036, -0.005984806, 0.018720042, -0.04057447, -0.0020560415, -0.0057763266, -0.010553388, -0.02273148, 0.00056613033, 0.012832287, -0.014421047, -0.05325579, -0.0045793653, -0.032149013, 0.00647725, -0.0038928199, -0.00847578, 0.013292381, -0.025650196, -0.024298672, -0.03657741, 0.040948294, -0.047418356, -0.031918965, 0.025650196, 0.017742345, 0.0009534353, -0.012868232, 0.018633775, -0.0020470554, 0.047015775, 0.0032530027, -0.010819379, 0.0094391, 0.0018781149, 0.035513446, 0.006815131, -0.03953926, -0.0043780743, -0.057741698, -0.03614607, -0.0047447113, 0.019611472, -0.02307655, 0.025952132, -0.045721762, -0.008979007, 0.032206524, 0.021940695, 0.031315092, 0.03568598, 0.008971818, -0.0064017656, 0.024830654, 0.018418105, -0.00213512, 0.04160968, -0.009863248, 0.019855898, 0.027979419, -0.025722086, 0.021466224, 0.0053378, -0.0010181359, 0.008921495, 0.0045721764, 0.018403728, 0.035570957, 0.012688508, 0.01860502, -0.00008761541, 0.007411814, 0.01342897, 0.004396047, -0.029848546, -0.03582976, 0.026915453, -0.04980509, -0.022357654, -0.017382896, 0.051904265, 0.012580673, -0.025678951, -0.032436572, 0.03582976, -0.031976476, -0.007321952, -0.00018107184, 0.01976963, -0.00867707, 0.001993138, 0.008482968, 0.012638185, -0.018633775, 0.01053901, -0.017296629, -0.02260208, -0.0389929, 0.009453477, 0.002246549, -0.014248512, 0.02294715, -0.0016067318, 0.014593582, 0.01322768, 0.00022330695, -0.012559107, -0.001993138, -0.016218286, -0.019381426, -0.004759089, -0.013975332, -0.028626423, -0.010783435, 0.0030624955, 0.0030337395, -0.0054923627, 0.012041502, 0.009223431, 0.016477088, -0.033184223, 0.027059231, 0.0062184473, -0.0179005, -0.042328574, -0.038331516, 0.009223431, 0.006351443, -0.037353817, 0.00068654533, -0.02396798, 0.015743814, 0.031631406, -0.009884815, 0.015729437, -0.02231452, -0.0032961364, 0.012501595, -0.02796504, -0.017339762, 0.01288261, -0.0074190027, 0.0037238793, 0.006412549, -0.0033177033, -0.013400215, 0.013996898, -0.0038101468, 0.041983504, -0.010848135, -0.028396377, 0.00557863, -0.016894048, -0.0073830583, -0.024974434, -0.014600771, 0.0007979742, -0.017670454, 0.012702886, 0.002052447, 0.014032843, -0.03436321, 0.0037310682, -0.008633937, 0.03582976, 0.04319125, 0.02018659, -0.016894048, 0.00378858, 0.027433058, 0.003781391, 0.0012149336, 0.023766689, -0.014442613, -0.027979419, 0.030049838, 0.023249084, 0.01735414, -0.034219433, 0.010769056, 0.021796916, -0.00045178097, -0.035772245, 0.0028234627, 0.02355102, -0.0108050015, 0.02438494, -0.029014628, -0.0019140596, 0.012487217, 0.007397436, -0.007886285, -0.007605916, -0.01315579, 0.021336822, -0.022141986, 0.021998206, 0.011459196, 0.016002616, 0.006894209, -0.011509519, -0.0024676092, 0.032149013, 0.010826568, 0.0033141088, 0.03203399, 0.027921906, -0.0040905164, -0.020603549, -0.029445965, -0.008669881, -0.047360845, 0.0033967819, 0.0058841608, -0.027361168, 0.017871745, 0.022530189, 0.0047015776, 0.02004281, 0.010129239, 0.011416063, -0.0022806963, -0.025923377, 0.0044895033, -0.003871253, 0.066368446, -0.013680584, -0.0040401933, 0.0137524735, 0.022688346, 0.024859412, -0.00029362395, 0.023450375, 0.011308229, 0.006869048, 0.0016615476, 0.023119684, -0.03071122, -0.0013847727, 0.027936283, 0.011387307, -0.01618953, 0.014075977, 0.040459447, -0.035801, 0.023105307, 0.038964145, 0.02142309, 0.0074908924, -0.025549551, -0.0009103016, 0.035427175, -0.0072716293, 0.037353817, 0.013270813, 0.012681319, 0.00813071, -0.008166654, 0.021336822, -0.010495876, -0.0023435997, -0.008145087, 0.012343438, -0.0065203835, -0.012005557, -0.020948619, -0.009108407, 0.006369415, -0.010215507, 0.037440084, -0.00015815704, 0.0028324488, 0.00069508224, -0.00039853776, -0.015556902, 0.03327049, -0.012494406, 0.0043565077, 0.011322606, 0.0057152202, -0.043162495, -0.0050897812, 0.00998546, 0.020014055, 0.0179005, -0.03534091, 0.025880244, 0.02280337, 0.010157995, -0.019668985, -0.024298672, -0.032465328, 0.008066009, -0.048050985, 0.012487217, -0.00936721, -0.01488114, -0.0063190926, 0.00854048, 0.015743814, -0.015456256, 0.011063804, 0.015470634, 0.025923377, 0.030251129, 0.0003066539, -0.01722474, 0.0058302437, -0.029791035, -0.002284291, 0.034276944, 0.005812271, -0.0026958587, -0.014413858, -0.02196945, 0.010316152, 0.016707135, 0.009129975, 0.039568014, -0.024629364, -0.011933668, -0.015671926, 0.025937755, 0.008281678, 0.024126137, -0.0029582556, 0.0022070096, -0.012753208, -0.0073471135, -0.016060129, -0.016016996, -0.04946002, 0.011833022, 0.0062436084, 0.040833272, 0.0037562298, -0.024327429, -0.02473001, -0.02142309, -0.0025628628, 0.00936721, 0.007850341, 0.008346378, -0.023162818, -0.049546286, 0.019295158, -0.0039503314, 0.007871907, -0.00080651103, 0.012652563, 0.005794299, 0.011207583, 0.0048273844, 0.011912101, -0.01825995, 0.016060129, 0.0224583, 0.014162244, 0.0111428825, 0.011459196, 0.020445392, -0.00023566297, -0.021020507, -0.03649114, -0.008411079, -0.013292381, 0.030624954, -0.0034111599, -0.026556004, 0.00744057, 0.013342703, 0.008461402, -0.008123521, -0.010625278, 0.025851486, -0.03450699, -0.010143617, 0.0069481265, 0.013853119, -0.010035783, -0.0026293609, 0.00056613033, 0.0039790873, -0.0023166412, -0.013953764, 0.011516708, -0.016132018, 0.009266565, 0.0038353081, 0.033155467, 0.021868804, -0.0019805576, -0.0010028594, 0.011035048, -0.031171314, 0.026297202, -0.018993223, -0.011617353, -0.0027983012, -0.020761706, -0.010064539, 0.0027353978, 0.01818806, -0.033644315, 0.009280942, 0.010395231, -0.03582976, 0.026282825, -0.04761965, -0.0032979336, 0.0017505109, -0.019367049, 0.0014198188, -0.010380853, 0.0031685324, 0.03036615, -0.04779218, -0.02045977, 0.012925743, -0.019137003, -0.0010334125, -0.0023561805, 0.02907214, 0.02169627, 0.0054456345, -0.007178173, -0.041580923, 0.027016098, 0.022745857, -0.031746432, 0.0020847972, 0.0019985298, -0.032781642, 0.0041012997, -0.008447024, 0.0066569736, -0.012300304, -0.03373058, 0.019712118, 0.007835963, -0.015930727, 0.012968877, -0.008878361, -0.015298099, -0.026958587, 0.011955234, -0.004421208, -0.018978845, 0.023378486, -0.04623937, 0.0008190917, 0.009769792, 0.004349319, -0.04497411, 0.02458623, 0.019784007, -0.031142559, -0.0031595463, 0.023766689, 0.008518913, 0.004421208, -0.007178173, -0.0096691465, -0.010654033, 0.0017864556, -0.026196556, 0.04304747, -0.01046712, -0.028669558, -0.041235853, 0.026599139, 0.018676909, 0.033011686, -0.020373503, 0.03470828, 0.036462385, 0.0048381677, -0.026369091, -0.0112579055, 0.0053701503, -0.015528145, 0.0062795533, -0.01673589, 0.011789888, 0.028209465, -0.018173682, -0.025923377, -0.005607386, 0.00805882, -0.0041444334, 0.011876156, -0.01164611, -0.012710075, 0.0165346, -0.003247611, 0.015528145, 0.0047842506, -0.037152525, 0.0062723644, -0.0034111599, 0.01019394, -0.0127316415, 0.017195983, -0.015830081, -0.0046189046, 0.043220006, -0.008181033, -0.029848546, -0.0024298672, -0.010021405, 0.039625525, -0.008418268, -0.008008498, -0.010007028, -0.021897562, 0.027605593, -0.010833757, 0.0179005, -0.0070919055, -0.005938078, -0.024111759, 0.008770526, -0.03045242, -0.0042271065, 0.012544729, -0.035513446, 0.0051005646, 0.03444948, 0.023795445, 0.0249313, 0.025161346, -0.02176816, -0.013385837, -0.025448905, -0.018202437, 0.028913982, -0.009618823, 0.0017388288, -0.012918554, 0.025865864, 0.0021548897, -0.01984152, -0.0030732788, -0.036002293, 0.03237906, -0.0062076636, 0.020776084, 0.00053917174, -0.022573322, 0.028295731, -0.0072428733, -0.02521886, -0.0020776084, 0.024471207, -0.03781391, 0.032120258, -0.00008469489, 0.02685794, -0.027504947, -0.010301774, -0.018087415, -0.019712118, -0.017656077, 0.023910468, 0.014909895, -0.009489423, -0.0049495962, 0.000032378386, 0.0012293116, -0.0014602568, 0.020991752, -0.01673589, -0.006222042, -0.016390821, 0.015901972, 0.015298099, 0.011761133, -0.002683278, 0.024715632, -0.0026509278, 0.011833022, 0.014550447, 0.0031218042, -0.02114991, -0.009719469, -0.017857367, -0.043450054, 0.032436572, 0.00021892619, -0.0041695945, 0.02053166, -0.026426604, -0.021379957, -0.013730907, -0.018993223, -0.01219247, 0.038964145, 0.025333881, -0.0017415247, -0.013306758, -0.017627321, -0.06038723, -0.02892836, 0.00002729557, 0.011452007, 0.015959483, -0.011660487, 0.023579776, -0.051156614, -0.00282526, -0.0050107026, -0.016592111, -0.0071278503, -0.011717998 ]
2310.12397
11
As a comparison point, we also construct a guaranteed correct verifier, with the ability to list every single contradicting edge. Since LLM responses are also in natural language, we first translate them into a format amenable to analysis. To make this process more consistent, we design our initial prompt to describe an exact output format to which the model conforms. Then, the response is evaluated for correctness. In both cases, if the verifier says the answer is correct, we end there. If it has been more than 15 rounds (16 total queries), we give up. Otherwise, a backprompt is created, wrapped in standard instructions, appended to the previous message history, and sent back to the model as a new prompt. In this domain a valid piece of error feedback consists of a pair of vertices which were given the same color but share an edge. To construct a backprompt, we have to decide exactly how much feedback to give. We examine five cases: 1. None: A single iteration baseline. No backprompting. 2. Pass/Fail: The only feedback given is that the answer was incorrect. # nk WN 3. First: Only the first error encountered is returned. 4. Full: A comprehensive list of errors. 5. LLM: Feedback is provided by the language model through a separate prompt, given in the appendix. We pass any and all response back to the generator, regardless of its validity or correctness.
2310.12397#11
GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems
There has been considerable divergence of opinion on the reasoning abilities of Large Language Models (LLMs). While the initial optimism that reasoning might emerge automatically with scale has been tempered thanks to a slew of counterexamples, a wide spread belief in their iterative self-critique capabilities persists. In this paper, we set out to systematically investigate the effectiveness of iterative prompting of LLMs in the context of Graph Coloring, a canonical NP-complete reasoning problem that is related to propositional satisfiability as well as practical problems like scheduling and allocation. We present a principled empirical study of the performance of GPT4 in solving graph coloring instances or verifying the correctness of candidate colorings. In iterative modes, we experiment with the model critiquing its own answers and an external correct reasoner verifying proposed solutions. In both cases, we analyze whether the content of the criticisms actually affects bottom line performance. The study seems to indicate that (i) LLMs are bad at solving graph coloring instances (ii) they are no better at verifying a solution--and thus are not effective in iterative modes with LLMs critiquing LLM-generated solutions (iii) the correctness and content of the criticisms--whether by LLMs or external solvers--seems largely irrelevant to the performance of iterative prompting. We show that the observed increase in effectiveness is largely due to the correct solution being fortuitously present in the top-k completions of the prompt (and being recognized as such by an external verifier). Our results thus call into question claims about the self-critiquing capabilities of state of the art LLMs.
http://arxiv.org/pdf/2310.12397
Kaya Stechly, Matthew Marquez, Subbarao Kambhampati
cs.AI
18 pages, 3 figures
null
cs.AI
20231019
20231019
[ { "id": "2206.10498" }, { "id": "2306.03872" }, { "id": "2303.11366" } ]
{ "authors": "Kaya Stechly, Matthew Marquez, Subbarao Kambhampati", "chunk_id": 11, "doc_id": "2310.12397", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12397", "summary": "There has been considerable divergence of opinion on the reasoning abilities\nof Large Language Models (LLMs). While the initial optimism that reasoning\nmight emerge automatically with scale has been tempered thanks to a slew of\ncounterexamples, a wide spread belief in their iterative self-critique\ncapabilities persists. In this paper, we set out to systematically investigate\nthe effectiveness of iterative prompting of LLMs in the context of Graph\nColoring, a canonical NP-complete reasoning problem that is related to\npropositional satisfiability as well as practical problems like scheduling and\nallocation. We present a principled empirical study of the performance of GPT4\nin solving graph coloring instances or verifying the correctness of candidate\ncolorings. In iterative modes, we experiment with the model critiquing its own\nanswers and an external correct reasoner verifying proposed solutions. In both\ncases, we analyze whether the content of the criticisms actually affects bottom\nline performance. The study seems to indicate that (i) LLMs are bad at solving\ngraph coloring instances (ii) they are no better at verifying a solution--and\nthus are not effective in iterative modes with LLMs critiquing LLM-generated\nsolutions (iii) the correctness and content of the criticisms--whether by LLMs\nor external solvers--seems largely irrelevant to the performance of iterative\nprompting. We show that the observed increase in effectiveness is largely due\nto the correct solution being fortuitously present in the top-k completions of\nthe prompt (and being recognized as such by an external verifier). Our results\nthus call into question claims about the self-critiquing capabilities of state\nof the art LLMs.", "text": "As a comparison point, we also construct a guaranteed correct verifier, with the ability to list every single contradicting edge. Since LLM responses are also in natural language, we first translate them into a format amenable to analysis. To make this process more consistent, we design our initial prompt to describe an exact output format to which the model conforms. Then, the response is evaluated for correctness.\nIn both cases, if the verifier says the answer is correct, we end there. If it has been more than 15 rounds (16 total queries), we give up. Otherwise, a backprompt is created, wrapped in standard instructions, appended to the previous message history, and sent back to the model as a new prompt.\nIn this domain a valid piece of error feedback consists of a pair of vertices which were given the same color but share an edge. To construct a backprompt, we have to decide exactly how much feedback to give. We examine five cases:\n1. None: A single iteration baseline. No backprompting.\n2. Pass/Fail: The only feedback given is that the answer was incorrect.\n# nk WN\n3. First: Only the first error encountered is returned.\n4. Full: A comprehensive list of errors.\n5. LLM: Feedback is provided by the language model through a separate prompt, given in the appendix. We pass any and all response back to the generator, regardless of its validity or correctness.", "title": "GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems", "year": 2023 }
[ 0.0078240475, 0.010995958, 0.03584624, 0.010026156, -0.016056433, 0.015327258, 0.033192046, -0.0034471746, 0.024777366, 0.11730967, 0.048942223, -0.02738781, -0.029531585, -0.011163669, -0.035992075, -0.03333788, 0.050896414, -0.010077198, -0.0036167079, 0.036021244, -0.009508441, -0.026789889, 0.041621305, 0.0263378, 0.0010919395, -0.017937705, -0.01000428, -0.03196703, 0.030100342, -0.02187525, 0.009887612, -0.020373149, -0.050050568, -0.021000238, -0.019877309, 0.05705065, 0.028991997, -0.008319886, 0.019075217, 0.023275265, -0.014109535, 0.0131251495, -0.022969011, -0.039783787, -0.015371008, 0.059529845, -0.017164778, 0.0004839899, -0.005567251, 0.005377665, -0.04051296, 0.07828423, 0.023829438, 0.012111596, 0.0036568125, -0.021248158, -0.023260681, 0.0011028771, 0.021189824, -0.010164699, -0.0024737262, -0.017281447, -0.03721709, 0.0014501467, -0.01691686, -0.040658794, -0.046783864, 0.012614727, 0.039725453, 0.079625905, -0.0033614966, 0.0160856, 0.0350879, -0.009034478, -0.040571295, 0.032579537, 0.07320917, 0.03450456, 0.05888817, -0.013219942, 0.025856543, 0.0009880321, 0.01929397, -0.029692005, 0.012505351, 0.0011156377, -0.019191885, -0.0007364667, -0.046696365, -0.0557673, -0.009617818, 0.0038026473, -0.0070328927, 0.06854244, 0.04462551, 0.0051917257, -0.0013353017, -0.020271065, 0.03050868, 0.0075323773, -0.00758342, -0.029808672, -0.015035587, -0.054571453, 0.04547135, 0.032608703, 0.0058953795, 0.028773244, -0.02738781, -0.052092258, -0.047454707, -0.03246287, -0.03896711, -0.06270905, 0.013095982, -0.015327258, -0.08090925, -0.05810066, 0.02667322, -0.01733978, -0.0190023, 0.0076927957, 0.019206468, -0.039200447, -0.015662678, -0.003261235, 0.045704685, -0.025987796, 0.048038047, 0.020533567, 0.032404535, -0.0025958628, 0.0322587, 0.029706588, -0.032287866, 0.029954508, -0.035233736, -0.014277246, -0.018098123, -0.007481335, -0.02054815, -0.002654197, -0.03925878, -0.025316956, 0.010288659, 0.024500279, -0.029021164, 0.030304512, -0.023639852, 0.032900374, -0.018681463, 0.016479354, -0.031121187, 0.04725054, -0.026191965, -0.024310693, 0.0041854642, 0.021481493, -0.01462725, -0.007226124, 0.017646033, 0.022735676, 0.030654516, -0.009851154, -0.004396925, 0.0056875646, -0.0352629, 0.008152176, -0.044771343, 0.0002743521, -0.0024737262, 0.033658717, -0.010842832, -0.049700566, 0.030304512, -0.044013, -0.003089879, -0.04751304, 0.008144884, -0.04480051, -0.012935564, 0.020096062, 0.024616947, 0.023698187, -0.020737736, -0.015356424, 0.005308394, -0.004539114, -0.0383546, -0.041446306, -0.030304512, 0.04004629, 0.085634306, -0.002798209, -0.027023224, -0.049817234, 0.06626742, -0.01875438, 0.011827218, -0.034183722, -0.024208609, 0.039521284, 0.046813034, -0.05372561, 0.021000238, 0.015473093, -0.009406357, 0.011994928, -0.0027562813, -0.024194025, 0.033512883, 0.005826108, 0.059325676, 0.0161731, -0.046608865, 0.020723153, -0.063292384, 0.02463153, -0.03438789, 0.03421289, -0.003988587, 0.03438789, 0.046083856, -0.013555363, -0.0015285331, 0.06259238, 0.06475074, -0.03587541, 0.008575098, -0.017660618, 0.021525245, -0.01733978, -0.046958867, -0.018316874, -0.009340731, -0.0470172, 0.011090751, 0.0026724262, 0.029458668, -0.029852424, 0.030742016, -0.009785528, 0.025491957, -0.02584196, 0.022094002, 0.013730365, -0.04354633, 0.00587715, 0.03488373, 0.03196703, 0.004404217, -0.020139812, -0.012899105, -0.057371486, -0.0380921, -0.00075651903, -0.007882382, -0.013314735, -0.020052312, -0.0470172, -0.0043276534, 0.018273124, -0.045938022, 0.02788365, -0.013314735, 0.0027562813, -0.016158517, -0.029517002, -0.01000428, -0.015385591, -0.02429611, 0.010944916, 0.024791948, -0.013453278, 0.013839741, -0.0760092, 0.023698187, 0.007018309, 0.010288659, 0.013679322, -0.019818975, -0.0046703657, 0.0069526834, 0.03129619, 0.020679401, -0.016114766, -0.061659034, -0.0041526514, -0.0023807562, -0.020227313, 0.0055453754, -0.029342001, 0.025141953, 0.024908617, 0.0069490373, -0.01796687, 0.018127289, 0.02950242, 0.02896283, 0.009632401, 0.01691686, 0.012665769, -0.03292954, 0.008050092, -0.019279387, 0.012979315, 0.01450329, -0.004531822, -0.021816915, -0.011841801, -0.013402236, -0.0067485142, -0.026410718, 0.063000716, -0.020810653, -0.07612587, 0.04579219, -0.0031609735, 0.03441706, -0.02875866, 0.005045891, -0.007867798, 0.012622018, 0.014700167, -0.019891893, 0.02512737, -0.016202267, -0.008604265, 0.021350242, 0.0082980115, 0.016479354, -0.022910677, 0.0117543, 0.016975192, 0.003120869, -0.0032976938, -0.034562893, 0.024704447, 0.0036312912, 0.024660697, -0.086567655, 0.0000065333793, 0.017529367, 0.0121043045, -0.02167108, -0.020241898, 0.0020909093, 0.034446225, 0.046696365, 0.027533647, -0.007288104, -0.039871287, 0.04167964, 0.015050171, 0.036721252, 0.032287866, -0.03742126, 0.0070912265, 0.007080289, 0.030917019, 0.00025293257, -0.017018944, 0.02380027, 0.026848221, -0.023975274, 0.04246715, -0.011054292, -0.04935056, 0.03812127, 0.0139637, 0.009355315, 0.03721709, -0.025448207, 0.039200447, -0.030012842, -0.008888643, -0.0082980115, 0.016479354, 0.0037516053, -0.004243798, -0.0383546, -0.01875438, -0.03275454, -0.0022276295, 0.019891893, 0.02905033, -0.009034478, -0.020941906, -0.07589253, -0.014634541, -0.030100342, -0.033950385, -0.041271303, -0.011039709, 0.08697599, 0.035817076, -0.025856543, 0.07688421, 0.049088057, 0.057983994, 0.002645082, -0.043108825, -0.051450584, 0.04821305, -0.00074786006, -0.001604185, 0.021481493, 0.004659428, 0.02754823, 0.018243957, 0.04783388, -0.009800112, 0.026760722, -0.02667322, -0.004812555, -0.051071413, 0.09105937, 0.0095667755, 0.056758977, 0.031937864, -0.023012761, -0.0033742571, -0.0074667516, -0.009173021, 0.0019468971, -0.0068032024, -0.04751304, -0.0016415551, 0.013438694, -0.05430895, -0.03867544, 0.05947151, 0.026979474, -0.01925022, -0.012344932, -0.026935723, 0.0067120553, -0.003875565, -0.009078228, -0.06568408, 0.038617104, 0.0049109934, -0.032783706, -0.018856464, 0.015779346, 0.015093922, -0.051100582, -0.017893953, 0.013730365, -0.029342001, -0.033017043, 0.019848142, 0.027781567, 0.010689705, -0.058363166, -0.054688122, 0.08394262, -0.016946027, 0.048504718, -0.023027346, 0.008691765, -0.027591981, 0.013774115, -0.021116907, -0.0041854642, 0.034096222, -0.03992962, 0.0102522, 0.038617104, 0.025871128, -0.059121504, -0.006573512, 0.03100452, -0.014197037, -0.017733535, 0.002182056, -0.021787748, 0.025914878, 0.03246287, -0.020227313, 0.011761592, -0.00983657, 0.018550212, -0.021554412, 0.027431563, 0.080559246, -0.023216931, -0.030858684, -0.035292067, 0.008903226, -0.0072334157, -0.02054815, -0.01183451, -0.018083539, 0.021743998, 0.0060448605, 0.027314894, 0.00067904417, 0.031237856, -0.0053995405, -0.059500676, 0.031442024, -0.037712928, 0.037858766, 0.022823175, -0.020912739, 0.005596418, 0.01992106, 0.010069906, 0.017368948, -0.012060554, -0.030771183, -0.015618928, -0.028204488, -0.031529527, 0.034475394, -0.0127751455, 0.02579821, -0.03287121, 0.03400872, -0.004706824, -0.011426171, -0.008808434, -0.008618848, 0.014094952, -0.024019023, -0.03753793, -0.073150836, -0.020066895, 0.019191885, 0.010915749, -0.005913609, 0.001339859, -0.0127751455, -0.020285647, 0.00060339225, -0.018783547, -0.023391932, -0.023858605, -0.057254817, 0.0161731, 0.011965761, 0.028481575, -0.0039083776, -0.020898154, 0.0049328688, 0.01733978, -0.010966792, -0.004218277, 0.030362846, -0.00308441, -0.044771343, -0.03537957, -0.03957962, -0.002650551, 0.018112706, -0.047483873, -0.019556472, -0.014758501, -0.002096378, -0.00005759343, 0.020183563, 0.01183451, -0.012038679, -0.040221293, -0.003963066, 0.026658637, 0.043079656, 0.019687723, 0.04879639, -0.029283667, -0.027358644, -0.0011548308, -0.0062891343, 0.030246178, -0.033979554, 0.0084730135, 0.003436237, -0.0011028771, 0.010842832, -0.019148134, -0.039317112, -0.016406437, 0.006004756, -0.026848221, 0.020868987, -0.0023515893, -0.0035164463, -0.018973133, 0.0022932552, 0.0019560119, -0.015735596, -0.030858684, 0.024281526, -0.039900456, 0.0026724262, 0.0022276295, -0.010091782, -0.0070620594, -0.01229389, 0.014758501, 0.038237937, 0.0292545, 0.0070110173, 0.026760722, 0.03080035, -0.0036039473, 0.013081399, 0.025812794, -0.01588143, -0.022954429, -0.03812127, -0.009296981, 0.014007451, -0.009851154, -0.019148134, -0.0076490454, -0.0033669653, 0.04275882, -0.008130301, -0.015793929, 0.037100423, 0.012024095, -0.014802252, 0.012089721, -0.009289689, -0.0048854724, -0.01875438, -0.014773085, 0.0006603591, -0.048942223, -0.0037023858, 0.028350323, 0.023581518, -0.016289769, 0.03739209, 0.039783787, -0.019483555, -0.03100452, -0.026994057, 0.013176192, -0.0056000636, -0.012133472, -0.035204567, 0.016552271, -0.03304621, -0.0036057702, -0.012527226, -0.02534612, -0.016741857, -0.041183803, -0.0471047, 0.014867878, -0.0056948564, 0.010988667, 0.0016752795, -0.009530317, 0.0038026473, -0.013285568, -0.023523184, -0.031208688, -0.012519934, 0.001425537, -0.0088448925, -0.02196275, 0.026162798, -0.022662757, 0.009894905, 0.00577142, -0.018200208, -0.04760054, 0.005676627, 0.006343822, -0.00762717, -0.033687882, -0.010281367, -0.0126511855, -0.030012842, -0.0038281686, 0.009508441, -0.0013899897, 0.0033432671, -0.062417377, -0.018375209, -0.0124032665, -0.005570897, 0.016800191, -0.008436554, 0.016946027, 0.009333439, -0.014700167, -0.009552192, 0.007882382, -0.010551162, -0.008319886, -0.012140763, -0.013387652, 0.028394073, 0.027139893, -0.050079737, -0.002069034, -0.003496394, -0.0013699374, -0.01233764, 0.006989142, -0.048650555, -0.013103274, 0.05133392, 0.047075536, -0.022166919, -0.018593961, 0.022137752, -0.004706824, 0.007495919, -0.038033765, -0.0018439012, -0.01729603, -0.04112547, 0.003583895, -0.044946346, -0.027766982, 0.015764764, -0.032200366, -0.008742807, 0.004568281, 0.004921931, -0.025987796, 0.036779586, -0.00026500953, -0.005497979, -0.011404296, 0.023450267, 0.009100104, -0.028641993, -0.017514782, 0.010820957, -0.021743998, -0.019702308, -0.015721012, -0.021729413, -0.031179521, -0.011316796, -0.0040870258, 0.025535706, 0.029896174, -0.009931363, -0.035233736, -0.0073865424, -0.0055745426, 0.010974083, 0.0014893399, 0.01475121, -0.027329478, -0.007838631, 0.018593961, -0.008910518, 0.019498138, -0.009049062, -0.01962939, 0.024689864, -0.010624079, 0.0005692122, -0.018652296, -0.001441032, 0.015808513, 0.01733978, 0.002852897, -0.03176286, 0.046200525, -0.020635651, 0.009282397, 0.0018247603, 0.038821276, 0.013847033, 0.04655053, -0.038821276, 0.029196166, -0.0033414443, -0.016902275, -0.017266864, 0.005760482, -0.010346993, 0.018652296, -0.053113103, 0.0026651344, 0.029954508, -0.02167108, 0.009406357, -0.041942146, -0.01946897, -0.018360626, -0.04220465, -0.038033765, -0.052121427, 0.01583768, 0.0015340018, -0.03400872, -0.10949291, -0.0013936356, 0.029779505, -0.02133566, -0.015050171, -0.015764764, 0.013234526, -0.03246287, -0.020227313, -0.020956488, -0.007014663, 0.030012842, -0.014058493, -0.03222953, 0.009610526, -0.056613144, -0.009654276, 0.0049620355, 0.02579821, -0.036604583, 0.0010099073, 0.0006371166, -0.027300311, -0.014758501, 0.0014437664, -0.009741778, -0.014393914, 0.0034927481, 0.008524056, 0.0012004043, -0.0031974323, 0.01646477, 0.030421179, -0.006413094, 0.0011612112, -0.03780043, 0.0075177937, -0.043692164, -0.012257431, -0.008327178, 0.0037060317, 0.00078067294, 0.0081740515, -0.034446225, 0.0121772215, -0.026614886, 0.02738781, 0.02162733, 0.032696206, -0.03427122, -0.042612985, 0.027154475, -0.028073236, -0.0072953957, 0.0047359914, 0.044333838, 0.017602284, -0.008451138, -0.028248237, 0.018054372, -0.01279702, -0.0062089246, -0.0017609575, -0.030304512, -0.009158437, -0.027985735, -0.0027179997, 0.03780043, -0.021233575, -0.0023151306, 0.021860665, 0.011222003, -0.018914798, 0.010150116, 0.0061870497, 0.013650156, 0.026760722, 0.035612904, -0.012818896, 0.034912895, 0.009355315, -0.0031135771, 0.006737577, 0.026571136, -0.008640723, 0.0129501475, 0.054658957, -0.037158757, -0.012279307, 0.044333838, 0.0015039233, -0.045529686, -0.02229817, -0.00094519305, 0.012118888, 0.020854404, 0.016479354, 0.0033450902, 0.023304433, -0.011229294, 0.022998178, 0.022852343, -0.03109202, -0.042000476, 0.008254261, -0.0003846398, -0.0027398749, 0.029604504, 0.014255371, 0.030887851, 0.024310693, 0.020431483, 0.014904336, 0.034096222, -0.0058115246, 0.03712959, 0.033017043, -0.0041526514, 0.061659034, -0.0026851867, 0.02000856, 0.030129509, -0.025973212, -0.00040788224, 0.0016178569, -0.0022549736, -0.00395942, -0.01942522, -0.037567094, 0.022385672, -0.023348182, 0.015312674, -0.0065917415, -0.020475233, -0.025550291, 0.020927321, -0.013300152, 0.0056182933, -0.020227313, 0.011907428, 0.013037648, 0.012118888, 0.03946295, -0.027985735, -0.02151066, -0.017762702, 0.01012824, -0.025448207, -0.013409528, 0.025827378, 0.01691686, -0.020198146, -0.015939765, 0.0005281961, 0.00025771777, 0.028904496, 0.007193311, -0.030071175, -0.0022531506, 0.019746058, 0.025900295, 0.0321712, -0.03430039, 0.018010622, -0.0031518587, -0.03654625, -0.0006257233, 0.016450187, -0.016829358, 0.050079737, -0.03917128, -0.044013, 0.037450425, -0.0069745583, 0.0351754, 0.0410088, 0.01483871, 0.035671238, 0.033629548, 0.0069672666, -0.02366902, 0.041854642, -0.02600238, 0.03187953, 0.018739797, 0.008188635, 0.011943886, 0.01754395, 0.0011703258, 0.009945947, 0.03984212, -0.0062781963, 0.04363383, 0.014780376, 0.022181502, -0.010062614, 0.0053302688, 0.012242848, -0.011112627, -0.03459206, -0.054979794, 0.0063401763, -0.041154634, -0.017106446, -0.00070000795, 0.006143299, -0.0028948246, -0.011513673, -0.022677341, 0.033687882, -0.027985735, 0.008611556, -0.03739209, -0.013227234, 0.009639693, -0.03126702, -0.014707459, 0.0010336055, -0.016829358, 0.011776175, 0.019571057, -0.024471112, -0.0028893559, 0.06335072, -0.01408766, -0.035612904, 0.014692876, -0.02366902, 0.009559484, 0.010485536, 0.0028966474, -0.0154876765, -0.02137941, -0.024748199, -0.020198146, -0.014619958, -0.007539669, -0.035204567, -0.024004439, -0.015925182, 0.006146945, -0.009049062, -0.0235086, -0.00092559645, 0.023027346, -0.002100024, 0.008305303, 0.012614727, -0.037858766, -0.0038609814, -0.026031546, -0.0033359753, 0.027723232, -0.027416978, -0.012359516, -0.041621305, 0.012126179, 0.019687723, 0.02429611, 0.026294049, -0.010332409, -0.005727669, 0.0139709925, -0.016887693, -0.02958992, 0.0018867402, -0.007375605, 0.0031591505, 0.013307443, 0.0006393953, -0.04275882, 0.007280812, 0.004746929, 0.048358884, -0.012862646, -0.019512722, -0.012286598, -0.012680353, -0.009296981, -0.016785607, -0.0031099312, 0.014430372, 0.0011912896, -0.028773244, -0.0015048349, 0.022035668, -0.0010746216, -0.0131689, 0.010018864, 0.004054213, 0.042787988, 0.016450187, -0.035817076, 0.002038044, 0.032783706, -0.007452168, 0.0072479993, 0.014364746, 0.0077948803, -0.04001712, 0.014459539, 0.0322587, 0.02579821, -0.081609264, 0.011863677, 0.0024883095, 0.019658556, 0.0009597765, 0.010346993, 0.0124761835, -0.010390744, 0.026439885, -0.0061578825, -0.035612904, -0.011907428, -0.005942776, 0.0069162245, -0.011914719, -0.014459539, 0.02788365, -0.01850646, 0.000269339, -0.005465166, -0.0049984944, 0.020052312, -0.01691686, -0.005013078, 0.0002527047, 0.01646477, 0.0038828566, 0.033483714, 0.011367838, -0.00937719, -0.015268924, -0.036371246, -0.018039789, -0.046083856, -0.0039448366, 0.00001583677, -0.007375605, 0.034708727, 0.014444956, 0.01879813, 0.0054068323, -0.00866989, 0.020198146, 0.022691924, 0.0057860035, -0.017310614, -0.026746137, 0.064284064, -0.0279274, -0.005804233, 0.00074375846, -0.012578269, 0.01796687, -0.012053262, 0.019702308, 0.011550131, 0.017908538, -0.016435605, 0.04188381, -0.033104543, -0.006434969, 0.023464851, -0.002444559, 0.008801142, 0.021933584, 0.02958992, 0.00067494257, 0.026075296, 0.00395942, 0.02133566, 0.012519934, -0.02384402, 0.010944916, 0.01763145, -0.0068979952, 0.030392012, 0.042146314, -0.008276136, 0.021248158, -0.03467956, 0.014350163, -0.038821276, -0.008771975, 0.0034526435, 0.020154396, -0.00028369462, -0.0041271304, 0.008611556, -0.011652216, -0.022808593, -0.007426647, -0.0003762087, 0.02458778, -0.042321313, 0.01275327, 0.0006740311, 0.0154876765, 0.008983435, -0.042233814, -0.0018384324, -0.0071495604, 0.012060554, -0.052529763, -0.006329239, 0.015808513, 0.010434493, 0.009479275, -0.021700246, 0.030392012, -0.0138762, 0.0029094082, -0.009070937, -0.03342538, -0.02175858, 0.030567015, -0.03634208, 0.013941825, -0.020621069, -0.03797543, 0.0062818425, 0.015575177, -0.011994928, -0.0010208449, 0.025331538, -0.0018776255, 0.036867086, 0.0067448686, 0.016887693, -0.0042365068, -0.010813665, -0.022925261, 0.021350242, 0.024208609, -0.004400571, -0.014022035, -0.012884522, -0.026935723, 0.015341842, 0.034154557, 0.010492828, 0.02517112, -0.015954347, -0.0050531826, 0.0034489976, 0.031937864, -0.0037333758, -0.016216852, -0.007488627, -0.012993898, -0.021612747, -0.0006699295, 0.016946027, -0.021977333, -0.05681731, 0.002269557, 0.024908617, 0.05900484, -0.0070328927, -0.0409213, -0.01304494, -0.020154396, -0.01696061, -0.002794563, 0.023391932, 0.0161731, -0.0037625427, -0.022166919, -0.0018885632, 0.007433939, -0.0010782675, 0.008327178, 0.014014742, 0.01729603, -0.013679322, 0.024237776, -0.0012149878, -0.0019541888, -0.008217802, -0.0014601728, 0.012913689, -0.002566696, 0.007860506, -0.0029604502, -0.024208609, -0.04520885, -0.028496157, -0.012038679, 0.0039120237, 0.04054213, -0.024646115, -0.006551637, 0.0020854403, 0.012366807, 0.011360546, 0.012592851, 0.027941985, 0.021393994, -0.020343982, 0.031325355, 0.00443703, 0.008261552, 0.021452328, 0.026862806, -0.00051361264, 0.001892209, -0.031617027, -0.0068578906, 0.0076927957, -0.016887693, -0.010171991, 0.022575257, 0.026308633, 0.009676152, 0.009399065, 0.004221923, 0.014408497, 0.0006115955, -0.0075907116, 0.0067959107, -0.0058151702, -0.011178252, -0.016012682, -0.022852343, 0.002296901, 0.0071787275, -0.010893874, -0.013380361, -0.004364112, -0.026016962, -0.00078477454, -0.024179442, -0.029414918, -0.010033447, -0.028379489, -0.00950115, -0.0066865343, -0.001369026, 0.031208688, -0.021175241, -0.024223192, 0.01642102, -0.010208449, 0.024704447, -0.017485615, 0.022312755, 0.0379171, 0.010106365, 0.015823096, -0.042146314, 0.0060886107, 0.030917019, -0.02813157, 0.024733614, -0.010901166, 0.0032010782, 0.007200603, -0.00055143854, 0.004714116, 0.0021747644, 0.00022934831, 0.01671269, 0.025987796, 0.0010983198, 0.0263378, -0.018141873, -0.022210669, -0.000720516, -0.0035073315, 0.013927242, -0.008050092, 0.013278276, -0.005326623, -0.021189824, 0.016741857, -0.00044479672, -0.04217548, 0.023406517, -0.007371959, -0.015079338, -0.027008642, 0.018841881, 0.004046921, -0.0058333995, -0.024660697, -0.010449077, 0.0016342634, 0.015385591, -0.018389793, 0.051946424, -0.0038646273, -0.0070912265, -0.01287723, 0.031062853, 0.014700167, 0.03430039, -0.031937864, 0.013176192, 0.01117096, 0.0029841485, -0.015093922, -0.0003228878, 0.02308568, -0.03680875, 0.014926212, -0.024252359, -0.019804392, 0.0012113419, -0.011068876, -0.015079338, -0.026833639, 0.004531822, 0.00028004876, 0.028846161, 0.001456527, -0.027971152, 0.0056365225, -0.015691845, -0.0027544585, 0.0003367877, -0.038646273, 0.008356345, -0.0059901723, -0.01183451, -0.008217802, -0.0032976938, 0.002008877, 0.006493303, 0.012483476, 0.038617104, -0.0060776733, -0.0011839978, 0.004630261, 0.03780043, -0.014722043, -0.013234526, -0.03704209, -0.012301181, -0.015560593, -0.007685504, 0.026541969, 0.0016078308, 0.010398035, -0.026162798, -0.018039789, -0.027606564, -0.00015677261, 0.03033368, -0.06393406, -0.020635651, 0.028073236, 0.015458509, 0.020912739, 0.019643974, -0.03847127, -0.006551637, 0.0024609654, 0.0067339307, 0.0062198625, -0.0012769677, -0.002502893, 0.007765713, 0.03984212, -0.031471193, -0.005552667, 0.00808655, -0.033367045, 0.025900295, -0.024164857, 0.009953238, -0.029983675, -0.00056237617, 0.030304512, -0.008859476, -0.027723232, -0.02375652, 0.013300152, -0.028685743, 0.0010901166, -0.008115717, 0.00028984706, -0.007288104, -0.007926132, 0.007196957, 0.0074230013, -0.0040068165, 0.009114687, 0.0008859476, -0.0074412306, -0.0060813194, -0.022152334, 0.0004463918, -0.00629278, 0.0076125865, -0.0018028851, 0.007495919, 0.015079338, 0.012935564, 0.011448047, 0.020446066, -0.028773244, 0.01738353, 0.0006138742, 0.005282873, 0.0051151626, 0.008983435, -0.0063401763, 0.015575177, -0.023698187, -0.038821276, 0.025521124, 0.0059755887, 0.007455814, 0.03730459, -0.027766982, -0.03631291, -0.025258621, 0.00704383, -0.004550052, 0.033746216, 0.0071495604, 0.0036568125, -0.012899105, -0.013569946, -0.026250299, -0.036867086, -0.009785528, -0.014444956, 0.027562814, -0.03304621, 0.0528506, -0.0467547, 0.014977254, -0.007721963, -0.0032958707, -0.009814695, -0.0026924785 ]
2310.12773
11
Safe Reinforcement Learning A Markov Decision Process (MDP) (Puterman, 2014), M 4 (S,A,r,P, Wo, 7), including the state space S, the action space A, a reward function r, the tran- sition probability P, the initial state distribution fio, and a discount factor 7. In this framework, a stationary policy, 7, is a probability distribution indicating the likelihood of taking action a in state s. The state value function V"(s) = E,.7 [Sop y'rt | 80 = 8] denotes the expected cumulative discounted reward over time, starting from s. Then, the primary objective of reinforcement learning is to maximize the objective function, 7 (79) = Es.<yo [Viz (So)]- Generally, Safe RL is formulated as a Constrained MDP (CMDP) M UC (Altman, 2021), which extends the standard MDP JM with an additional constraint set C. The set C = {(ci,bi)}i, is composed of cost functions c; and cost thresholds b;,i=1,...,m. The cost return is defined as J (79) = Eny [cpio yc: (s141|8t,@t)], and the
2310.12773#11
Safe RLHF: Safe Reinforcement Learning from Human Feedback
With the development of large language models (LLMs), striking a balance between the performance and safety of AI systems has never been more critical. However, the inherent tension between the objectives of helpfulness and harmlessness presents a significant challenge during LLM training. To address this issue, we propose Safe Reinforcement Learning from Human Feedback (Safe RLHF), a novel algorithm for human value alignment. Safe RLHF explicitly decouples human preferences regarding helpfulness and harmlessness, effectively avoiding the crowdworkers' confusion about the tension and allowing us to train separate reward and cost models. We formalize the safety concern of LLMs as an optimization task of maximizing the reward function while satisfying specified cost constraints. Leveraging the Lagrangian method to solve this constrained problem, Safe RLHF dynamically adjusts the balance between the two objectives during fine-tuning. Through a three-round fine-tuning using Safe RLHF, we demonstrate a superior ability to mitigate harmful responses while enhancing model performance compared to existing value-aligned algorithms. Experimentally, we fine-tuned the Alpaca-7B using Safe RLHF and aligned it with collected human preferences, significantly improving its helpfulness and harmlessness according to human evaluations.
http://arxiv.org/pdf/2310.12773
Josef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji, Xinbo Xu, Mickel Liu, Yizhou Wang, Yaodong Yang
cs.AI, cs.LG
null
null
cs.AI
20231019
20231019
[ { "id": "2302.13971" }, { "id": "2304.05302" }, { "id": "1707.06347" }, { "id": "2305.18290" }, { "id": "2305.10403" }, { "id": "2305.03047" }, { "id": "2211.05100" }, { "id": "2110.08207" }, { "id": "2304.05335" }, { "id": "2107.03374" }, { "id": "2105.04054" }, { "id": "2209.07858" }, { "id": "2305.15324" }, { "id": "2307.09288" }, { "id": "2210.11416" }, { "id": "2212.08073" }, { "id": "2307.12950" }, { "id": "2009.11462" }, { "id": "2307.04657" }, { "id": "2204.05862" }, { "id": "2112.00861" }, { "id": "2209.14375" }, { "id": "2303.00957" }, { "id": "2306.01693" }, { "id": "2305.01937" }, { "id": "2307.15217" }, { "id": "2306.17492" }, { "id": "2112.04359" }, { "id": "1506.02438" } ]
{ "authors": "Josef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji, Xinbo Xu, Mickel Liu, Yizhou Wang, Yaodong Yang", "chunk_id": 11, "doc_id": "2310.12773", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12773", "summary": "With the development of large language models (LLMs), striking a balance\nbetween the performance and safety of AI systems has never been more critical.\nHowever, the inherent tension between the objectives of helpfulness and\nharmlessness presents a significant challenge during LLM training. To address\nthis issue, we propose Safe Reinforcement Learning from Human Feedback (Safe\nRLHF), a novel algorithm for human value alignment. Safe RLHF explicitly\ndecouples human preferences regarding helpfulness and harmlessness, effectively\navoiding the crowdworkers' confusion about the tension and allowing us to train\nseparate reward and cost models. We formalize the safety concern of LLMs as an\noptimization task of maximizing the reward function while satisfying specified\ncost constraints. Leveraging the Lagrangian method to solve this constrained\nproblem, Safe RLHF dynamically adjusts the balance between the two objectives\nduring fine-tuning. Through a three-round fine-tuning using Safe RLHF, we\ndemonstrate a superior ability to mitigate harmful responses while enhancing\nmodel performance compared to existing value-aligned algorithms.\nExperimentally, we fine-tuned the Alpaca-7B using Safe RLHF and aligned it with\ncollected human preferences, significantly improving its helpfulness and\nharmlessness according to human evaluations.", "text": "Safe Reinforcement Learning A Markov Decision Process (MDP) (Puterman, 2014), M 4 (S,A,r,P, Wo, 7), including the state space S, the action space A, a reward function r, the tran- sition probability P, the initial state distribution fio, and a discount factor 7. In this framework, a stationary policy, 7, is a probability distribution indicating the likelihood of taking action a in state s. The state value function V\"(s) = E,.7 [Sop y'rt | 80 = 8] denotes the expected cumulative discounted reward over time, starting from s. Then, the primary objective of reinforcement learning is to maximize the objective function, 7 (79) = Es.<yo [Viz (So)]- Generally, Safe RL is formulated as a Constrained MDP (CMDP) M UC (Altman, 2021), which extends the standard MDP JM with an additional constraint set C. The set C = {(ci,bi)}i, is composed of cost functions c; and cost thresholds b;,i=1,...,m. The cost return is defined as J (79) = Eny [cpio yc: (s141|8t,@t)], and the", "title": "Safe RLHF: Safe Reinforcement Learning from Human Feedback", "year": 2023 }
[ 0.034004223, -0.009204336, 0.08967441, 0.023195913, -0.02280109, 0.038914848, 0.03543546, 0.023751136, 0.009006924, 0.071117684, 0.01341168, -0.04170329, 0.0073967823, 0.020185381, 0.032449603, -0.05843396, 0.0038803802, -0.009753388, 0.028328627, 0.009833586, -0.0096053295, -0.0076682237, -0.00025813936, 0.020444484, 0.014805903, -0.031585924, 0.015990375, 0.009241351, -0.016175449, 0.025984358, 0.06692268, -0.022677707, -0.070772216, -0.014645505, -0.026428536, 0.0062585785, -0.029315688, 0.037730373, -0.03790311, 0.034966607, -0.007242554, -0.059470374, -0.007304245, 0.041900706, 0.009987815, 0.012572679, -0.03128981, 0.011320346, 0.011042736, 0.045133326, -0.034892578, 0.030327423, -0.017606685, 0.020185381, 0.00508336, -0.015348786, 0.04646586, 0.0022872034, 0.03383149, -0.0057897246, 0.007785437, -0.006307931, -0.047823064, 0.03839664, 0.01884051, -0.025268741, -0.10285167, 0.042024087, -0.0007719119, 0.042542294, 0.008840358, -0.06302379, 0.041407175, -0.015829977, -0.006557781, 0.001172134, 0.03437437, 0.034769192, -0.020173041, 0.013794166, 0.009611499, -0.03916161, 0.022924472, -0.045083974, -0.022011442, -0.0014096453, -0.05759496, -0.024269342, 0.0053208712, -0.034004223, -0.03020404, -0.0045620687, -0.03903823, 0.005132713, -0.0071685244, -0.031585924, -0.012239546, 0.0138311805, 0.027218184, 0.00007484885, -0.050290715, -0.07812581, 0.033486016, -0.019210659, 0.027514301, -0.000010820068, 0.031092396, 0.04343065, -0.050734892, -0.048119184, -0.034744516, -0.020962691, -0.015978036, 0.0664785, -0.014731873, -0.061395142, -0.0681565, 0.01164731, 0.0072178775, -0.005145051, -0.0015900922, 0.03657058, 0.021049058, -0.09135242, 0.018260613, 0.026206447, 0.02739092, -0.057150785, 0.025490828, 0.0004569009, -0.005271518, 0.022924472, -0.014016254, -0.08296241, -0.06415891, 0.033683427, -0.0031956073, -0.015250079, -0.00085827964, -0.0135103855, 0.0014173567, 0.022184176, -0.059026197, 0.015533859, -0.03254831, -0.009383241, -0.039630465, 0.040272053, -0.032449603, 0.015225403, -0.005589228, 0.020555528, -0.023467354, 0.051277775, -0.007088326, -0.07654651, -0.060013257, 0.04325791, 0.02534277, -0.0052684336, 0.005286941, 0.058828786, -0.020308763, -0.024799887, 0.028920863, 0.01800151, 0.009722543, 0.025293417, -0.04863739, 0.028600069, 0.016175449, -0.0025663564, -0.060309377, -0.004228936, -0.017976834, -0.018581407, -0.044837207, 0.025441475, -0.009154983, -0.024664165, 0.0026157093, 0.012745414, -0.0258363, -0.01504033, 0.006196887, 0.020802293, -0.007045142, -0.044220295, 0.014053269, 0.0036366999, 0.008673791, 0.020037321, 0.04693471, -0.0037569976, 0.002372029, -0.016780023, 0.022973826, 0.026305154, 0.01616311, -0.0143864015, -0.03600302, -0.019580806, 0.016718332, -0.010357963, 0.008957571, 0.03531208, -0.0303521, 0.034670487, -0.0022656114, -0.0447385, 0.022912133, -0.010135874, 0.022616016, -0.011258655, -0.04752695, -0.016101418, -0.0034824717, 0.0053208712, -0.009512792, 0.05448572, -0.027144155, 0.028427333, 0.023356311, -0.0005008559, -0.024540784, 0.010259257, 0.042641, -0.047477596, 0.012393774, -0.022418603, -0.0013178795, -0.00034045865, -0.00064236025, -0.028452009, 0.004179583, 0.016274154, -0.024022577, 0.018013848, 0.02781042, 0.0025293417, -0.00096392597, 0.03232622, 0.01912429, -0.0073844437, 0.049797185, 0.047329534, 0.0005521368, -0.009673189, -0.0049784845, 0.012356759, -0.00076844177, -0.012930488, -0.0017489472, -0.02463949, -0.03649655, 0.018445687, -0.017458627, 0.032128807, -0.03508999, -0.016681317, -0.035756253, 0.024676504, 0.007686731, -0.016311169, -0.036348492, -0.01595336, -0.0032912288, -0.03331328, 0.03775505, -0.026576595, -0.0008567374, 0.021912735, -0.047600977, 0.034966607, -0.016175449, -0.038371965, 0.055226017, 0.042394236, -0.050734892, 0.032498956, -0.0053054485, -0.034966607, 0.06943968, -0.015546198, 0.0032295375, 0.038569376, 0.009981646, 0.0013225063, -0.023800489, -0.02413362, -0.0136707835, -0.026996095, 0.032449603, -0.03198075, 0.031092396, -0.00748315, 0.0030213294, -0.009167321, -0.0025925753, 0.075411394, 0.04116041, 0.06993321, -0.049797185, 0.007489319, 0.021332838, 0.03331328, -0.009278365, -0.045355413, 0.0065701194, 0.02689739, 0.017039126, 0.029093599, 0.04093832, 0.008747821, -0.005101867, -0.038100522, 0.034917254, -0.0120729795, 0.038149875, -0.01961782, -0.003500979, -0.03706411, 0.022282884, -0.036792666, 0.02894554, 0.013300636, -0.03592899, 0.04355403, -0.0051697274, 0.0012291983, 0.022060795, -0.0056077354, 0.02936504, 0.0033220744, 0.021221794, -0.0045065465, -0.030130012, 0.034004223, -0.008032202, 0.006804546, -0.04784774, -0.03866808, -0.028155891, 0.012362928, -0.0525116, -0.01834698, -0.03657058, -0.014423417, 0.055423427, 0.011770693, 0.015644904, -0.014620828, 0.0002174617, -0.056163725, -0.0067366855, 0.008377673, 0.017495641, -0.050093304, -0.03691605, 0.0006130569, -0.010820647, -0.00061112904, -0.016052065, -0.018976232, -0.026083065, 0.04397353, -0.06652786, -0.0022501887, 0.003747744, -0.015521521, 0.0121593475, -0.02781042, -0.052709013, 0.010580051, -0.044170942, 0.014522122, 0.0114375595, -0.005737287, 0.0262558, 0.033189896, -0.0042011747, 0.05300513, -0.020456823, 0.003281975, 0.003769336, 0.034769192, 0.0070266346, -0.044220295, -0.016286492, 0.0029241657, 0.04651521, -0.0038001817, -0.022406265, 0.023183575, -0.040913645, 0.01376949, -0.018680114, -0.0000663663, 0.053103838, 0.010061844, -0.019013247, -0.010845323, -0.045922972, -0.0122087, 0.013325312, 0.045404766, 0.014164314, 0.003451626, -0.032721043, -0.004438686, 0.048094507, -0.043109853, 0.012696061, 0.013004517, 0.035657547, -0.009975477, 0.0071870317, -0.0055306214, 0.030672895, 0.04567621, -0.0011420595, -0.027761066, 0.017100817, 0.007008127, 0.02196209, 0.044935916, 0.036521226, 0.0040901303, 0.004904455, -0.005330125, 0.031462543, 0.05922361, 0.010629404, -0.0004387791, 0.008815681, 0.018889863, -0.039334346, -0.037162814, -0.02724286, -0.010068013, 0.071512505, -0.032721043, -0.021123087, 0.050734892, -0.008026033, 0.0004360801, -0.022603678, -0.012214869, 0.002563272, 0.032375574, -0.038865495, 0.009969308, 0.036027696, 0.017779421, -0.016150773, -0.019148966, 0.07082157, 0.028896187, 0.0039081415, 0.03008066, 0.0014551426, 0.0109563675, 0.038026493, -0.0025062074, 0.011690494, 0.03395487, 0.038939524, -0.010413485, -0.04481253, -0.0035935158, 0.0049322164, -0.0010749702, 0.011314177, 0.014620828, 0.0026403859, -0.030549511, -0.01468252, -0.0044942084, 0.026650624, -0.008716975, -0.008858865, 0.005157389, 0.0021221794, 0.0035688393, 0.025120681, 0.058631375, 0.009562145, 0.03839664, 0.0012399943, 0.018902201, -0.009623837, -0.005971714, 0.022838105, -0.0125541715, 0.010191396, -0.04066688, 0.042320203, -0.021332838, 0.014139636, 0.021024382, -0.004771819, -0.022258207, -0.036397845, 0.008883541, 0.002114468, 0.049797185, -0.00847021, -0.0019417324, 0.026625948, 0.056904018, -0.015780624, 0.0018414841, -0.060605492, -0.02060488, 0.004376995, -0.009555976, 0.004472616, -0.061592553, -0.0025139188, 0.04362806, 0.011159949, -0.035410784, 0.008100063, 0.02739092, 0.015447492, 0.0051296283, -0.014953962, -0.04695939, -0.0029873992, -0.035410784, 0.011493082, 0.0073227524, 0.030623542, 0.013214268, -0.03304184, 0.019654835, -0.03578093, -0.013929887, -0.009568314, -0.002777649, 0.03866808, -0.037384905, 0.0027714798, -0.015854653, 0.018297628, -0.022504972, 0.0076127015, 0.05068554, 0.01616311, 0.030598866, 0.044294324, -0.009087123, -0.04723083, -0.038520023, -0.011622634, 0.009050108, -0.013732474, -0.032745723, 0.017199524, 0.005348632, -0.0131279, 0.0024152128, -0.010931691, -0.011240148, -0.050364744, 0.02958713, 0.0006562408, -0.025367446, -0.031240454, 0.0053054485, -0.027588332, 0.034497753, -0.009235182, -0.055423427, -0.0024784463, -0.010364132, 0.03388084, -0.04397353, 0.00508336, -0.0016965097, -0.024368048, -0.020234734, 0.00847021, -0.018815834, -0.044146266, 0.03388084, -0.012757753, 0.013436357, -0.04128379, 0.033140544, 0.009093292, -0.005956291, -0.01771773, 0.031733986, -0.055324722, 0.013917549, -0.009481947, -0.022134824, -0.0081679225, -0.0013572078, 0.022825766, 0.011783031, 0.0012376809, -0.019741204, -0.03494193, 0.0190626, -0.049525745, -0.0031863535, 0.009704035, 0.001978747, 0.0025447644, 0.02378815, 0.019605482, 0.01058622, -0.02985857, -0.007828621, 0.023948546, -0.0054226615, 0.030376777, -0.014090284, -0.027785743, 0.034966607, 0.04621909, -0.029118275, 0.006440568, 0.038445994, -0.005746541, 0.0013294467, -0.02887151, -0.008130908, -0.018544393, -0.0077114077, 0.0119187515, -0.02929101, -0.0032295375, -0.004629929, 0.030031305, -0.03866808, 0.007890312, 0.0048736096, 0.030031305, 0.016113756, -0.016952759, -0.020222396, 0.03834729, 0.04806983, 0.021925073, 0.0303521, -0.019654835, -0.046910033, -0.033486016, 0.006076589, 0.009161152, -0.031956073, 0.01002483, 0.004916793, 0.016619625, -0.0050802752, 0.0029550113, 0.014435755, -0.018519716, 0.024059592, -0.014077946, -0.001314795, 0.002416755, 0.02336865, 0.0058144014, 0.051080365, 0.009309211, -0.0073535983, -0.038297933, -0.006699671, 0.0019093445, 0.008204938, 0.013164915, -0.06840327, -0.0020589458, 0.0034824717, -0.009154983, 0.025935005, -0.022554325, 0.01743395, -0.032375574, 0.0040068473, -0.012461634, -0.008945232, -0.019111952, -0.016323507, -0.00001588068, 0.025096005, -0.0068230536, -0.027958479, 0.038865495, -0.014127298, 0.016854052, 0.017063802, 0.021801692, 0.03691605, 0.015792962, -0.038717434, -0.016187787, 0.026280478, -0.0024691927, 0.0013016856, -0.02985857, -0.025984358, -0.018408673, 0.024664165, 0.018791158, -0.002992026, -0.015213065, -0.019013247, 0.008858865, 0.020074336, 0.008494887, 0.029340364, 0.033782136, 0.010678757, 0.019260012, -0.012399944, -0.025096005, 0.018828172, -0.010740449, 0.000118466494, -0.036965404, -0.0062215636, -0.055719547, 0.028180568, -0.040321406, 0.020024983, 0.022949148, 0.013892871, -0.02591033, -0.0042659505, 0.013399342, 0.030623542, -0.016607286, 0.009383241, -0.009543638, 0.0019078022, 0.014423417, -0.00938941, -0.05300513, -0.012042134, 0.02731689, 0.012819444, -0.0067366855, 0.030870307, -0.0073165833, 0.0042844582, -0.033806812, 0.009235182, 0.014213666, 0.014485108, 0.026946742, -0.002876355, 0.0018291458, 0.0043677413, -0.024466753, -0.0061598723, -0.014633167, 0.023047855, -0.025860976, 0.007859467, 0.0073535983, -0.02731689, -0.0049137087, 0.0088033425, 0.023195913, 0.010919353, -0.004827341, 0.023047855, -0.029833894, 0.011838553, 0.04940236, 0.040321406, 0.004503462, -0.0049383854, 0.01898857, 0.021888059, -0.033288606, 0.00896374, 0.030894984, 0.0065207663, -0.047798388, -0.010172889, 0.0055090296, -0.010857662, 0.0010741991, -0.010647912, -0.007921157, -0.004953808, 0.007680562, -0.02181403, 0.0021823284, -0.00057835557, 0.020160703, -0.086417116, -0.017767083, 0.03232622, -0.03353537, 0.025638888, -0.008673791, 0.0340289, 0.041234437, 0.012017458, -0.06203673, 0.020851646, -0.016619625, 0.0012446211, 0.008698468, -0.0019155137, -0.035953667, 0.017396936, -0.015681919, 0.009802741, -0.020210057, 0.013781828, -0.03168463, -0.018828172, 0.036348492, -0.035114665, -0.010450499, 0.01927235, 0.028427333, -0.037779726, 0.011400545, 0.01877882, -0.039482407, 0.013164915, 0.010259257, -0.03190672, 0.006952605, -0.010475176, -0.006064251, 0.015250079, 0.053449307, 0.029019568, -0.04503462, 0.040123995, -0.011388207, 0.01284412, -0.049945243, -0.0059933057, -0.04355403, -0.0051080366, -0.02674933, -0.00917349, -0.011826214, -0.030549511, -0.030672895, 0.03020404, 0.0068292227, -0.015965698, 0.031733986, 0.006557781, -0.008784835, -0.0042104283, 0.028748127, 0.032647014, -0.026058389, -0.019383393, -0.008161753, 0.028846834, -0.0073165833, -0.04249294, -0.03930967, -0.012486311, -0.048094507, -0.00504943, 0.056114372, -0.005475099, -0.01073428, 0.016545596, 0.017199524, 0.008451703, 0.016607286, 0.037212167, -0.02054319, 0.0063973838, -0.0016394452, -0.031709306, 0.010314778, -0.006372707, 0.016274154, 0.008149415, 0.0068785753, 0.021209456, 0.0017705392, 0.010913184, -0.020370454, -0.01439874, -0.0011551689, -0.031733986, -0.014620828, 0.016052065, -0.0032357066, 0.023245268, 0.015904007, -0.004454109, -0.003451626, -0.014139636, 0.0056169895, -0.019013247, 0.009136476, 0.024997298, 0.009068615, 0.0087293135, -0.015052668, -0.022702383, 0.032918457, -0.0015638735, 0.026724653, 0.02251731, 0.040469468, -0.0027144155, -0.0032665522, -0.018889863, 0.020345777, 0.010703433, 0.0398032, 0.0020589458, -0.008457872, -0.011659648, 0.049673803, 0.00077653874, -0.019074937, 0.058285903, 0.007279569, -0.030648218, 0.030031305, -0.028131215, 0.048612714, 0.058680728, 0.022344574, -0.030574188, -0.029068923, -0.0007757676, 0.012455465, -0.0005162787, 0.031043041, -0.0019247673, 0.047625653, 0.010172889, -0.003642869, -0.009802741, 0.011659648, 0.071907334, 0.001523003, 0.0142260045, -0.0011975816, -0.003852619, 0.028131215, 0.021271147, -0.036842022, -0.00080352864, -0.016323507, -0.0049075396, 0.028131215, -0.045404766, -0.03760699, -0.0024414316, -0.01933404, -0.011449898, -0.014201328, -0.00009663357, -0.020037321, -0.02534277, -0.020913336, 0.010845323, -0.022751737, 0.0060118134, -0.0049260473, 0.019741204, 0.012091487, -0.015990375, 0.03388084, -0.0030197871, 0.06776168, -0.002442974, -0.0013279044, 0.058631375, 0.008124739, -0.02314656, -0.010931691, -0.000288985, 0.030475482, 0.024343371, 0.009969308, 0.030697571, 0.03407825, 0.019506777, -0.03706411, -0.018815834, 0.022480296, -0.00719937, -0.070328034, -0.041974735, 0.061148375, -0.00060573104, 0.0066811633, 0.010894677, 0.022924472, 0.03965514, -0.009216675, -0.00039520964, 0.012017458, 0.02103672, -0.0050154994, -0.002125264, 0.035164017, 0.030574188, -0.043578707, -0.0035164019, -0.015373462, -0.011875568, -0.0057650483, -0.015052668, -0.029513098, -0.023195913, 0.013214268, 0.017754745, 0.0163852, -0.01489227, 0.023973223, -0.017915143, 0.009697866, 0.0117583545, 0.0019479016, -0.0024537698, -0.042172145, 0.0015237741, -0.013066209, 0.0031801844, 0.0012577305, 0.0017905888, -0.0075139953, 0.013312974, -0.0035842622, -0.02534277, -0.03254831, 0.02822992, -0.040494144, 0.018889863, 0.025663564, -0.042517617, -0.026033713, -0.02519471, 0.0145467995, 0.030993689, 0.0027452612, -0.012375267, -0.032647014, -0.025984358, 0.0070142965, 0.034127604, -0.0027853604, -0.02879748, -0.0031616772, 0.0071808626, 0.010512191, 0.0076065324, -0.015361124, 0.03240025, 0.022147162, 0.0010271595, 0.0147812255, -0.013572077, 0.0074276277, -0.015163711, 0.008988417, 0.030450806, 0.012307406, -0.015842315, 0.002296457, 0.02308487, -0.0016456144, -0.027983155, -0.019741204, 0.0039636632, 0.007840959, 0.021419205, 0.015706595, 0.024651827, -0.014633167, 0.036175754, -0.010135874, 0.027785743, 0.011752185, -0.008186431, 0.0015199184, -0.0008251206, -0.040469468, -0.0128687965, 0.0028948623, 0.025083667, -0.0036336153, -0.0012415366, -0.036397845, -0.016261816, 0.028772803, 0.042394236, -0.0037878433, -0.012905812, -0.021974428, 0.019025585, -0.011709001, -0.0050432603, -0.040617526, 0.022134824, 0.009512792, 0.026601272, -0.0087293135, -0.03642252, 0.009222844, 0.010456668, -0.023701781, -0.00081663806, -0.005215996, 0.014460431, -0.007038973, -0.0348679, 0.0015754405, -0.0053177867, -0.01044433, 0.0011906413, 0.030179365, -0.023035517, 0.04792177, -0.018951556, 0.005462761, 0.02985857, 0.018248275, -0.01961782, -0.0022532733, -0.015052668, -0.00300128, 0.02025941, -0.02788445, 0.00867996, 0.031043041, 0.010000153, 0.019802894, 0.008050709, -0.012418451, -0.010931691, -0.0056015663, 0.047329534, 0.017828774, -0.008211107, -0.017754745, -0.0043646568, 0.013041533, 0.008433195, 0.0092845345, -0.032128807, -0.010086521, 0.0062986775, 0.025466152, -0.012733076, 0.0055522136, -0.0030290408, -0.03232622, -0.010419654, 0.012035965, 0.05907555, 0.008951402, 0.035830285, 0.02773639, 0.014460431, -0.019913938, 0.045774914, 0.0037600824, -0.004996992, -0.005138882, 0.01679236, 0.004611422, 0.00028030967, -0.011887906, -0.027489625, -0.0063418616, 0.034300342, -0.0019047176, 0.00018603771, 0.0149663, -0.0072055394, 0.015866993, 0.010777463, -0.009013093, -0.00684773, 0.030450806, 0.025318094, 0.01390521, 0.018334642, 0.011690494, 0.03254831, 0.023763474, 0.047378886, 0.00039636635, 0.00832832, -0.01242462, 0.0015191473, 0.013214268, -0.0076003633, 0.017680716, 0.005595397, 0.0063912147, -0.035188694, 0.01016672, -0.01376949, 0.0075571793, 0.00049005996, -0.016644303, -0.011394376, -0.018038524, -0.0054473383, 0.033066515, -0.027859773, 0.014830579, 0.006952605, 0.018581407, -0.00938941, 0.025959682, 0.0194821, 0.0041888366, -0.0063480306, 0.062480908, -0.011104427, 0.00867996, -0.019716527, -0.001325591, -0.0054257466, 0.0020404384, 0.0051974887, 0.030870307, -0.004207344, 0.023405664, -0.0019957123, 0.033634074, 0.004466447, 0.00239979, 0.004256697, 0.0047872416, 0.004916793, 0.0180632, -0.007871805, 0.011141442, -0.022245869, -0.038692757, 0.016126096, -0.0009346226, -0.05384413, 0.012745414, -0.014953962, 0.01707614, 0.011270993, -0.0034053575, -0.0015538486, 0.0055861436, 0.023652429, -0.007248723, 0.016508581, -0.016557934, -0.030006628, 0.0266753, 0.00089837896, -0.047625653, -0.011141442, -0.019432748, 0.009432593, 0.0019185982, -0.024799887, 0.008507225, -0.04101235, 0.0034855562, 0.0032295375, -0.008075386, 0.0031956073, 0.04646586, 0.024528446, -0.0028593899, -0.008531901, 0.011770693, -0.0048057493, -0.02322059, -0.020962691, 0.019025585, -0.0086121, 0.0075571793, 0.024947945, 0.0069217593, 0.008254291, -0.0213205, 0.018865187, -0.023886856, -0.0005255324, 0.017828774, -0.020987367, 0.017236538, -0.03600302, 0.056706607, 0.005697188, -0.018038524, -0.012893474, -0.009481947, 0.030722247, -0.024651827, 0.023121884, -0.03501596, 0.007865636, 0.0044356016, 0.043504678, 0.0076003633, 0.02293681, 0.013374665, -0.007045142, -0.019210659, 0.007507826, 0.0015021822, 0.02894554, -0.0069279284, -0.0069340975, -0.017174847, 0.005111121, -0.019395731, -0.0111969635, 0.0011135272, -0.008747821, 0.023960885, 0.007945835, -0.01940807, 0.022541987, 0.005527537, 0.027218184, 0.0036767991, -0.008673791, -0.004213513, -0.01504033, 0.008143246, 0.007347429, -0.0039729173, -0.010061844, 0.043948855, -0.0009469608, 0.018815834, 0.028748127, -0.0032017764, -0.0003408442, -0.012770091, -0.009537469, 0.022776414, -0.025293417, 0.000078752746, -0.013312974, 0.0086121, 0.024318695, 0.021345176, -0.016594948, -0.006557781, -0.007939666, 0.01206681, -0.0062709167, -0.0032141146, 0.0050586835, -0.021480897, -0.009648513, 0.013744812, -0.026354507, -0.01735992, 0.049427036, -0.0059809675, -0.026132418, 0.014040931, 0.032005426, -0.019938616, -0.007279569, -0.0019509861, 0.051475186, -0.057348195, -0.011665817, 0.03508999, 0.028772803, 0.008902049, 0.014596152, -0.01743395, -0.043874823, 0.026527243, -0.048291918, 0.0142260045, 0.011548604, -0.021999104, 0.0027575993, 0.04658924, -0.024368048, -0.017976834, -0.07669458, 0.034102928, -0.00069595454, 0.0058082324, -0.00826046, -0.04157991, 0.031931397, -0.030031305, 0.020432146, -0.0023751135, 0.0011142984, 0.06776168, 0.014929285, -0.037656344, 0.03768102, 0.013535063, 0.018174246, -0.020863984, -0.034793872, 0.01877882, 0.012930488, -0.004666944, 0.0058976845, 0.00473172, -0.009370903, -0.018754143, -0.021160102, -0.015780624, 0.019679513, -0.003861873, 0.02033344, -0.04977251, 0.018038524, -0.016989773, -0.019790556, -0.01376949, -0.009229013, 0.0054226615, -0.03457178, 0.0071191713, 0.0067305164, -0.025466152, -0.035978343, 0.0020635726, -0.007637378, -0.026774006, -0.01750798, -0.004602168, 0.012060641, -0.024331033, 0.00045111735, 0.035534166, -0.0068292227, 0.03481855, 0.011375869, 0.028155891, 0.014435755, 0.02209781, -0.037039433, 0.015768286, 0.026551919, 0.011838553, 0.043085176, 0.015570874, 0.02259134, -0.011474574, 0.0014613117, 0.002470735, 0.00093076687, -0.026354507, -0.023455016, 0.02075294, 0.0041178917, -0.027785743, 0.011912582, 0.033411987, 0.03748361, -0.01362143, 0.010425823, 0.014300034, -0.0037816742, 0.006196887, 0.011875568, 0.0065269354, -0.01200512, 0.024084268, -0.024787549, 0.0025062074, -0.010203734, 0.051919363, 0.03338731, -0.01411496, -0.029044244, 0.03232622, -0.008834189, 0.008019864, -0.007828621, 0.0014813613, -0.008766328, 0.018124891, 0.026428536, 0.000778081, 0.006014898, -0.0038711266, -0.026576595, 0.0096855275, 0.0053116176, -0.0046268445, -0.025490828, -0.03508999, -0.02929101, -0.0016147688, -0.03521337, 0.009611499, -0.029513098, 0.008772497, 0.0075941943, -0.01666898, 0.011628803, 0.00033351837, 0.015250079, -0.0049013705, 0.021653632, 0.02788445, 0.02739092, -0.008957571, 0.0018522801, -0.02181403, -0.013115562, -0.025231725, 0.030623542, 0.0051697274, 0.0027452612, -0.04002529, 0.020728264, -0.036545902, -0.0022995416, 0.004312219, -0.018902201, 0.011887906, 0.021925073 ]
2310.12397
12
5. LLM: Feedback is provided by the language model through a separate prompt, given in the appendix. We pass any and all response back to the generator, regardless of its validity or correctness. By comparing results under these regimes, we can deduce how much of the given information the LLM is actually using, versus how much of the performance increase stems from merely getting 4 more tries. We also compare these cases to four further cases: higher temperature, single iteration queries which ask for multiple answers. These do not involve any backprompting, reprompting, or giving any information past the original prompt to the LLM. 6-8. Top 5: With temperatures 0.5, 1, and 1.5, query the LLM for n = 5 responses. 9. Top 15: With a temperature of 1, query the LLM for n = 15 responses. # 3.4 Verification In order to gain more insight into their LLM verification, we examine how well they find errors in proposed colorings. Intuitively, these should be very easy to identify: if the two vertices making up an edge share a color, immediately return that edge. Algorithmically, all this requires is looping over edges and comparing each vertex’s color to that of its partner.
2310.12397#12
GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems
There has been considerable divergence of opinion on the reasoning abilities of Large Language Models (LLMs). While the initial optimism that reasoning might emerge automatically with scale has been tempered thanks to a slew of counterexamples, a wide spread belief in their iterative self-critique capabilities persists. In this paper, we set out to systematically investigate the effectiveness of iterative prompting of LLMs in the context of Graph Coloring, a canonical NP-complete reasoning problem that is related to propositional satisfiability as well as practical problems like scheduling and allocation. We present a principled empirical study of the performance of GPT4 in solving graph coloring instances or verifying the correctness of candidate colorings. In iterative modes, we experiment with the model critiquing its own answers and an external correct reasoner verifying proposed solutions. In both cases, we analyze whether the content of the criticisms actually affects bottom line performance. The study seems to indicate that (i) LLMs are bad at solving graph coloring instances (ii) they are no better at verifying a solution--and thus are not effective in iterative modes with LLMs critiquing LLM-generated solutions (iii) the correctness and content of the criticisms--whether by LLMs or external solvers--seems largely irrelevant to the performance of iterative prompting. We show that the observed increase in effectiveness is largely due to the correct solution being fortuitously present in the top-k completions of the prompt (and being recognized as such by an external verifier). Our results thus call into question claims about the self-critiquing capabilities of state of the art LLMs.
http://arxiv.org/pdf/2310.12397
Kaya Stechly, Matthew Marquez, Subbarao Kambhampati
cs.AI
18 pages, 3 figures
null
cs.AI
20231019
20231019
[ { "id": "2206.10498" }, { "id": "2306.03872" }, { "id": "2303.11366" } ]
{ "authors": "Kaya Stechly, Matthew Marquez, Subbarao Kambhampati", "chunk_id": 12, "doc_id": "2310.12397", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12397", "summary": "There has been considerable divergence of opinion on the reasoning abilities\nof Large Language Models (LLMs). While the initial optimism that reasoning\nmight emerge automatically with scale has been tempered thanks to a slew of\ncounterexamples, a wide spread belief in their iterative self-critique\ncapabilities persists. In this paper, we set out to systematically investigate\nthe effectiveness of iterative prompting of LLMs in the context of Graph\nColoring, a canonical NP-complete reasoning problem that is related to\npropositional satisfiability as well as practical problems like scheduling and\nallocation. We present a principled empirical study of the performance of GPT4\nin solving graph coloring instances or verifying the correctness of candidate\ncolorings. In iterative modes, we experiment with the model critiquing its own\nanswers and an external correct reasoner verifying proposed solutions. In both\ncases, we analyze whether the content of the criticisms actually affects bottom\nline performance. The study seems to indicate that (i) LLMs are bad at solving\ngraph coloring instances (ii) they are no better at verifying a solution--and\nthus are not effective in iterative modes with LLMs critiquing LLM-generated\nsolutions (iii) the correctness and content of the criticisms--whether by LLMs\nor external solvers--seems largely irrelevant to the performance of iterative\nprompting. We show that the observed increase in effectiveness is largely due\nto the correct solution being fortuitously present in the top-k completions of\nthe prompt (and being recognized as such by an external verifier). Our results\nthus call into question claims about the self-critiquing capabilities of state\nof the art LLMs.", "text": "5. LLM: Feedback is provided by the language model through a separate prompt, given in the appendix. We pass any and all response back to the generator, regardless of its validity or correctness.\nBy comparing results under these regimes, we can deduce how much of the given information the LLM is actually using, versus how much of the performance increase stems from merely getting\n4\nmore tries. We also compare these cases to four further cases: higher temperature, single iteration queries which ask for multiple answers. These do not involve any backprompting, reprompting, or giving any information past the original prompt to the LLM.\n6-8. Top 5: With temperatures 0.5, 1, and 1.5, query the LLM for n = 5 responses.\n9. Top 15: With a temperature of 1, query the LLM for n = 15 responses.\n# 3.4 Verification\nIn order to gain more insight into their LLM verification, we examine how well they find errors in proposed colorings. Intuitively, these should be very easy to identify: if the two vertices making up an edge share a color, immediately return that edge. Algorithmically, all this requires is looping over edges and comparing each vertex’s color to that of its partner.", "title": "GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems", "year": 2023 }
[ 0.0063511096, 0.009865587, 0.03153451, -0.0082372865, 0.0048664827, 0.0025216558, 0.022516232, -0.01925963, 0.010801307, 0.0844064, 0.034304835, -0.039403405, -0.04358836, -0.0025548113, -0.020836355, -0.01471365, 0.04299893, -0.020305868, -0.017506074, 0.050867822, 0.011022343, -0.0006396238, 0.039373934, 0.01651878, 0.00034744144, 3.2378364e-7, 0.015104148, -0.022914097, 0.024888687, -0.039256047, 0.024063485, -0.022368874, -0.054080214, -0.028646305, -0.0074747107, 0.04983632, 0.017756583, 0.0031902906, 0.012731691, 0.0048996382, -0.012481183, -0.006317954, -0.040700153, -0.035041623, 0.017137682, 0.023886656, 0.010653949, -0.0128790485, -0.027703216, 0.02338564, -0.024151899, 0.06359951, 0.046594452, -0.006796866, -0.015929349, 0.004593871, -0.01818392, -0.0040744357, 0.031888172, -0.014293681, 0.018802822, -0.030679839, -0.017373454, 0.010307659, -0.025316024, -0.038047716, -0.010256085, 0.025713889, 0.057439968, 0.047095466, -0.011515991, -0.012591701, 0.06271537, -0.027128521, -0.03457008, 0.055789564, 0.059591386, 0.0075189183, 0.014875743, -0.007920467, 0.026642242, -0.0048701665, 0.034923736, -0.028484212, -0.0039160266, -0.005017524, 0.014964158, -0.007423136, -0.065014146, -0.08157713, 0.018375484, -0.0047596483, -0.0075594415, 0.042704213, 0.07126211, 0.0057579954, 0.020099567, -0.01839022, 0.015531484, 0.035866823, -0.018066034, 0.00801625, -0.025654947, -0.020453226, 0.056231637, 0.022457289, -0.02817476, 0.0044428296, -0.04656498, 0.0009131562, -0.047007054, -0.004862799, -0.030237766, 0.00037553147, 0.040140193, 0.0046712337, -0.07361983, -0.038018245, 0.0073899804, -0.049423717, -0.012451712, 0.010565535, 0.028513683, -0.032389186, -0.002147736, -0.003221604, 0.06678244, -0.058441997, 0.039992835, 0.014558924, 0.011471784, -0.0015960663, 0.062656425, 0.0192891, -0.035277393, 0.0148315355, -0.018788086, -0.022516232, -0.0019064381, -0.03001673, -0.009033017, 0.011051815, -0.0078467885, 0.020482697, 0.03347963, 0.01780079, -0.013129557, 0.055229604, 0.008775141, 0.036102597, -0.021072127, -0.003112928, -0.028602097, 0.041731652, -0.03483532, -0.051987737, 0.018729143, 0.024372935, -0.024166636, -0.018154448, 0.025802305, 0.007957307, 0.029471507, -0.01710821, -0.007780478, 0.020585848, -0.049040586, 0.0071468404, -0.05472859, 0.0076773274, 0.011221277, -0.012105421, 0.01471365, -0.052724525, -0.003534739, -0.04597555, 0.00027399292, -0.035896294, 0.032065, -0.023031982, -0.020202719, 0.043175757, -0.0088119805, -0.012009639, -0.0011088655, -0.011928593, 0.017476603, 0.0038018243, -0.03457008, -0.046063963, -0.013181131, 0.019127008, 0.073384054, -0.013505318, -0.012996934, -0.03465849, 0.05847147, -0.0087898765, -0.019554345, -0.033096503, -0.0061669126, 0.027570594, 0.045297705, -0.065426745, 0.013011671, 0.0030392492, 0.021455256, 0.002751902, 0.010042416, -0.011670717, 0.03345016, 0.012739059, 0.06271537, 0.017565018, -0.033862762, 0.02689275, -0.059650328, 0.00726841, 0.0069000167, 0.081989735, -0.019893266, 0.013696883, 0.07473974, -0.0239456, -0.019701703, 0.047802784, 0.035130035, -0.049423717, 0.014301049, -0.022162573, 0.03675097, -0.016784023, -0.03339122, -0.03678044, -0.0053822338, -0.058795657, -0.006955276, 0.00418127, -0.007905732, -0.022118365, 0.016651401, -0.012635908, 0.0314461, -0.033597518, 0.023149868, 0.027364295, -0.038961332, 0.0047007054, 0.02768848, 0.0076846955, -0.031357683, -0.03070931, -0.025713889, -0.08446534, -0.022840418, -0.009666654, -0.015546219, 0.0006580435, -0.009998209, -0.03931499, -0.023326697, 0.021396315, -0.064955205, 0.036426783, -0.006612669, 0.02519814, -0.021882594, -0.0006981063, -0.025802305, -0.01967223, -0.007154208, 0.0075594415, 0.004549664, -0.020998448, 0.011280219, -0.045445062, 0.041525353, 0.04403043, 0.014861007, 0.026568564, -0.008856188, 0.0058132545, 0.042704213, 0.039256047, -0.0013077981, -0.025183402, -0.052930824, 0.0027205886, -0.019966945, -0.031976584, 0.027629538, -0.0243582, 0.045061935, 0.019480666, 0.005717472, 0.022634117, 0.008473058, 0.024387673, 0.006572146, 0.019333309, 0.035071094, 0.024034014, -0.02328249, -0.014131588, -0.025713889, 0.05281294, 0.020364812, -0.0003043854, -0.03660361, 0.005374866, 0.00084684533, 0.015487277, -0.014455774, 0.055435903, -0.022501495, -0.054610703, 0.043205228, 0.006999483, -0.0072610425, -0.0148536395, 0.025831776, -0.0140947485, 0.027644273, -0.012068582, -0.01106655, 0.0035752621, -0.021072127, -0.028307382, 0.0020114304, -0.042556856, 0.011825442, -0.036927797, 0.006115338, 0.019038593, 0.013696883, 0.0029508346, -0.0598861, 0.026214905, -0.0038791872, 0.054875948, -0.080280386, 0.009814012, 0.009998209, 0.016091444, -0.022280458, -0.013026406, 0.0016448785, 0.02463818, 0.050101563, 0.027084315, -0.015384126, -0.03654467, 0.010005577, 0.021293163, 0.015472541, 0.004439146, -0.015605163, -0.01964276, 0.0064395242, 0.041142225, -0.0042291614, -0.00430284, 0.03327333, 0.03339122, -0.022825683, 0.04983632, -0.027953723, -0.0070031667, 0.043676775, 0.0013317437, -0.028896812, 0.014883111, 0.0113170585, 0.02397507, -0.033184916, 0.00003896916, -0.013542158, 0.0087898765, 0.004848063, 0.03577841, -0.035277393, -0.020070096, 0.011118126, -0.040965393, 0.028292647, -0.00044874975, -0.019141743, -0.005746944, -0.048569042, -0.018581785, -0.017830262, -0.038371902, -0.021366842, -0.017874468, 0.08310965, 0.04612291, 0.0013234549, 0.06000399, 0.03987495, 0.045680836, -0.02786531, -0.050602578, -0.027393766, 0.037075154, -0.024063485, 0.0052864514, -0.0031995005, 0.01450735, 0.045798723, 0.0027169045, 0.036426783, -0.025743362, 0.009961369, -0.013940022, -0.008333068, -0.0730304, 0.05413916, 0.003293441, 0.0043175756, 0.026450677, -0.027776895, 0.0080530895, 0.035041623, -0.03521845, 0.006340058, -0.018729143, -0.013976862, -0.0042144256, -0.0045054564, -0.050867822, -0.044059902, 0.059326142, 0.049453188, 0.024652915, 0.0047007054, -0.04712494, 0.02935362, -0.0006446892, 0.011980168, -0.06684138, 0.017550282, 0.009887691, -0.012046479, -0.029191528, 0.0021016868, 0.014124219, -0.056821067, -0.021602614, 0.021322636, -0.013357961, -0.04164324, 0.00054752536, 0.023812978, 0.039020274, -0.02620017, -0.042939987, 0.069493815, -0.03224183, 0.028056875, -0.036308896, 0.010506592, -0.0033781715, -0.0066089854, -0.022015216, -0.0014597606, 0.03462902, -0.03406906, -0.018360749, 0.07485763, -0.0006543595, -0.016592458, -0.013136924, 0.051368836, -0.03129874, -0.009202478, 0.028837869, -0.0078467885, -0.018419692, 0.04668287, -0.030134616, 0.027983196, -0.020350076, 0.0379593, -0.013122189, 0.022147838, 0.05617269, 0.00860568, 0.019937474, -0.025433911, -0.0042881044, -0.013195867, -0.04473775, 0.026023341, -0.018404957, 0.03848979, -0.0071468404, 0.004840695, -0.027526388, 0.023812978, 0.00057101046, -0.029368356, -0.016106179, -0.038224544, 0.011191805, 0.028543154, 0.00631427, 0.03969812, 0.0059642964, -0.014492613, 0.02681907, 0.020084832, 0.028793663, 0.00041996897, 0.0021145807, -0.020556375, 0.004601239, -0.015929349, 0.028690511, -0.02717273, 0.03171134, 0.0026155962, -0.013689515, -0.005927457, -0.018935444, 0.03636784, -0.019023858, -0.019436458, -0.061949108, -0.02709905, 0.0035494745, 0.02220678, -0.0041628503, -0.0057579954, 0.0026763813, -0.034481663, -0.00012318169, -0.0019322257, -0.018920707, -0.051545665, -0.04909953, 0.0096150795, 0.020291133, 0.013122189, 0.0073163016, -0.0102118775, 0.012378033, 0.010027681, -0.0071615763, -0.009688758, -0.0073752445, 0.04052332, -0.034746908, -0.048627988, 0.004122327, -0.018625991, 0.012267515, -0.020630054, 0.0005443019, -0.02328249, -0.005389602, 0.025669683, 0.025654947, 0.035660524, 0.0018355222, -0.011331795, 0.008097297, 0.04983632, 0.036426783, 0.016739815, 0.029486243, -0.028985227, -0.032065, 0.015369391, -0.03604365, 0.037811942, -0.055701148, -0.00029494532, 0.0032437078, 0.0030724045, 0.021956272, -0.0239456, -0.02935362, -0.012974831, 0.0033192285, -0.031151382, 0.009526664, -0.017447133, 0.003293441, -0.001429368, -0.012687484, 0.0020758992, -0.033803817, -0.019230159, -0.010933929, -0.011759131, -0.00027905832, 0.0080309855, -0.010779204, -0.013652676, -0.008568841, 0.013674779, 0.020983713, 0.01402107, -0.013446375, 0.034982678, 0.018832292, 0.016061971, 0.029957786, 0.027835838, -0.021956272, -0.024151899, -0.020320604, -0.011051815, 0.0097771725, -0.009895058, -0.0046270266, 0.0094308825, -0.02297304, 0.040434908, -0.013100085, -0.0063621616, 0.032713372, -0.0043138918, 0.0031276636, 0.027776895, -0.022928832, -0.0019543292, -0.00718368, -0.03032618, 0.009312996, -0.06401211, -0.037310928, 0.025212875, 0.00011489283, 0.00155278, 0.025301289, 0.0094087785, 0.017830262, -0.01710821, -0.020659527, 0.014743121, 0.0015840934, -0.0055259075, -0.038077187, -0.0076036486, -0.036249954, -0.0073715607, -0.015148355, -0.03203553, -0.033155445, -0.034717437, -0.058795657, 0.000836254, -0.0016356687, 0.005691685, -0.013240075, -0.01505994, -0.0066347728, -0.004056016, -0.018360749, -0.02925047, -0.0097771725, -0.011228644, -0.029206263, -0.014905214, 0.02907364, 0.009055121, 0.016651401, 0.004822275, 0.0048701665, -0.021779444, 0.034717437, 0.006527939, 0.0095708715, -0.043499943, 0.0017784212, -0.028808398, -0.034098532, -0.008333068, -0.011191805, 0.0026837492, -0.0054080216, -0.059679803, -0.050307862, 0.008671991, 0.008207815, 0.04049385, -0.00718368, -0.015899878, 0.0012258305, -0.011994903, 0.00020065952, 0.010793939, -0.025301289, -0.005304871, -0.008178343, -0.0316524, 0.045091406, 0.0049254256, -0.04187901, -0.0022858838, 0.023444584, 0.013652676, -0.017623961, 0.006270063, -0.046240795, -0.027629538, 0.027290616, 0.050985705, 0.008288861, 0.0073826127, 0.017712375, -0.009084592, 0.016106179, -0.014138956, 0.003820244, 0.0070768455, -0.023031982, 0.009887691, -0.026848543, -0.03772353, 0.009666654, -0.021425785, 0.002921363, 0.0013989756, -0.0036065755, -0.030679839, 0.020011153, 0.014124219, -0.011169701, -0.027600067, 0.02804214, 0.028366325, -0.018802822, 0.005220141, 0.0105508, -0.023253018, 0.019716438, -0.015207297, -0.03486479, -0.01106655, -0.0115454625, -0.010727628, 0.021057392, 0.019451195, 0.014787328, -0.015870407, 0.01710821, -0.027320087, 0.014522085, -0.024697123, 0.014927318, -0.019112272, 0.0008440824, 0.008915131, -0.019981682, 0.018891236, -0.01759449, -0.02553706, 0.001191754, 0.012252779, -0.009136167, -0.008944603, -0.015914613, 0.021057392, 0.0164451, -0.012739059, -0.038637146, 0.015325184, -0.026922222, 0.001733293, -0.030178823, 0.05242981, 0.013910552, 0.028336855, -0.015575691, 0.020659527, 0.008863555, -0.010248717, -0.01256223, -0.02269306, -0.028602097, -0.023827713, -0.057115782, -0.0034886897, 0.027334822, -0.02589072, 0.028086346, 0.0024571868, -0.035159506, -0.015929349, -0.021337371, -0.029972522, -0.020114303, 0.014242106, 0.008870924, -0.012039111, -0.13710146, -0.008635151, 0.031888172, -0.012856944, 0.0057579954, -0.006214804, 0.034540605, -0.033774346, -0.008900395, -0.008701462, -0.012223307, 0.0033100187, -0.0069000167, -0.03091561, 0.0012534601, -0.07527023, -0.0014155533, 0.0022895676, 0.011810706, -0.021602614, -0.0034371144, -0.0023448267, -0.0052164565, -0.0076036486, -0.005912721, -0.009460353, -0.035631053, -0.012554862, 0.01471365, -0.02144052, -0.015546219, 0.026185434, 0.05496436, 0.013262178, -0.027290616, -0.041407466, -0.003648941, -0.03168187, -0.026966428, 0.0040412806, -0.0012276724, -0.01447051, 0.023061454, 0.0011438628, 0.02120475, -0.05517066, 0.015280976, -0.00011155426, 0.027408501, -0.04653551, -0.026995901, 0.011405474, 0.016061971, 0.0011650455, -0.01572305, 0.023061454, 0.010012944, -0.00077316654, -0.0373404, -0.0003633284, -0.016356686, 0.009651919, 0.005234876, -0.020467961, -0.0040191766, -0.03969812, -0.028646305, 0.052282453, -0.004936477, -0.016592458, 0.000447138, 0.013122189, 0.0042844205, 0.028778926, -0.0073126177, 0.0150231, 0.044708274, 0.03365646, -0.022619382, 0.03910869, -0.019303838, 0.019790117, 0.02082162, 0.03736987, 0.02648015, 0.011221277, 0.03931499, -0.031328212, -0.046034493, 0.0335091, 0.0055774827, -0.0071910475, -0.02338564, 0.02238361, -0.0077289026, 0.00045335467, 0.0023724562, 0.0030208295, 0.051693022, -0.0055848504, 0.003532897, 0.025345495, -0.009357204, -0.06006293, 0.017432395, -0.016017765, -0.00054107845, 0.004361783, 0.00432126, 0.014993629, 0.021499464, 0.005927457, 0.024770802, 0.012267515, -0.018640729, 0.037605643, 0.027953723, 0.008775141, 0.06471943, -0.012326458, 0.045209292, 0.050897293, -0.0245645, -0.009268789, -0.0160325, -0.006096918, 0.0001207641, -0.0012331983, -0.018110242, 0.022015216, -0.005091203, 0.022457289, 0.0045717675, -0.0007883628, -0.034363776, -0.020939505, -0.0038976069, 0.010432913, -0.009025649, 0.008193078, 0.025846511, 0.03465849, 0.03483532, -0.020394282, -0.015266241, -0.0026542775, 0.023606677, -0.042380027, -0.008797245, 0.014043173, 0.0031681869, -0.018684935, 0.00978454, 0.04635868, -0.0097992765, 0.020040624, 0.0001656621, -0.04046438, 0.024063485, -0.0014993629, 0.041230638, 0.008937234, -0.0215142, -0.0076699597, -0.0028311065, -0.0057616797, 0.00537855, 0.0142789455, -0.0192891, 0.06124179, -0.021897329, -0.039609704, 0.014993629, 0.018640729, 0.02592019, 0.02648015, 0.028572626, 0.059709273, 0.025065517, 0.010845515, -0.021838387, 0.048392214, -0.035896294, 0.021057392, 0.020143775, -0.0017194782, 0.033951174, 0.0070215864, 0.016165122, 0.019480666, 0.0030024098, 0.000805401, 0.055995863, 0.0272022, 0.041937955, -0.025242345, -0.002687433, 0.054817002, -0.013851608, -0.034511134, -0.031888172, 0.019966945, -0.014080012, 0.0037870887, -0.007581545, 0.0094308825, -0.009946633, -0.0148536395, -0.025094988, 0.027275879, -0.024019279, 0.010440282, -0.01808077, -0.0142568415, 0.021499464, -0.02620017, -0.025316024, 0.0034150109, 0.0005769968, -0.00070086925, 0.013586365, -0.010440282, -0.0069626435, 0.034481663, 0.0003792154, -0.008760406, 0.016400894, -0.03129874, -0.020320604, 0.018066034, 0.027246408, -0.012753795, 0.001136495, -0.018640729, -0.039992835, -0.0039123427, -0.0053674984, -0.035572108, -0.012731691, -0.006627405, 0.011663348, -0.033951174, -0.026951693, 0.008937234, 0.007809949, -0.009202478, 0.020291133, -0.005209089, -0.03916763, -0.020659527, -0.018537577, 0.0047596483, 0.017653432, -0.013136924, 0.02779163, -0.019686967, 0.009261421, 0.057263136, 0.04750807, 0.021867858, -0.013586365, 0.0024350833, 0.0039123427, -0.022604646, -0.014669443, -0.0044870367, -0.014728386, -0.011096022, 0.008318333, -0.010366603, -0.05360867, 0.011221277, -0.0020187981, 0.02935362, -0.01703453, 0.0056953686, -0.00574326, -0.020792147, 0.02363615, -0.0125327585, -0.024107693, -0.0052717156, -0.00022967054, -0.0101897735, -0.006130073, 0.022472024, -0.04338206, -0.006096918, 0.02307619, -0.00929826, 0.038106658, 0.02276674, 0.006152177, 0.0061927005, 0.031092439, -0.018242862, -0.008369908, -0.005371182, 0.005739576, -0.04927636, 0.049453188, 0.03286073, 0.03678044, -0.030060938, 0.019922739, 0.017520811, 0.0018815715, -0.019333309, -0.018817557, -0.006299535, 0.0018972283, 0.012842209, 0.0032823891, -0.03545422, -0.023311961, 0.018198656, -0.0142789455, -0.028926283, -0.009040385, 0.026082283, -0.010705525, 0.00081599236, 0.015988292, -0.0051869852, -0.009622447, -0.016489308, 0.002987674, -0.0049180575, 0.01051396, 0.0070805294, 0.027835838, 0.023253018, -0.016739815, 0.0025879666, -0.027054843, -0.008244654, -0.049129, -0.017712375, -0.005072783, -0.02279621, 0.038961332, 0.035336338, -0.0063768975, 0.0077878456, -0.017476603, 0.04205584, 0.028086346, -0.020600583, -0.027570594, -0.020806884, 0.07609543, -0.009769805, -0.022781475, 0.0059937676, 0.028263176, 0.045651365, 0.011081287, 0.012238043, 0.0069663273, 0.008657255, -0.006642141, 0.026332792, -0.015767256, -0.016577723, 0.028204232, 0.014617868, -0.007949939, 0.020084832, 0.022722531, 0.02804214, 0.015664106, 0.0054743323, 0.023061454, 0.028793663, -0.00216063, 0.0082372865, 0.021366842, 0.010315027, -0.0034481662, 0.031062968, 0.009357204, 0.0053122393, -0.008539369, 0.026701186, -0.030679839, -0.012392769, 0.011294955, 0.026656978, -0.00929826, -0.0119138565, 0.0032989667, -0.0132695455, -0.015988292, -0.00052956614, 0.0133137535, 0.004280736, -0.020806884, 0.00836254, 0.009718229, 0.0014487087, -0.00014735754, -0.044325147, -0.013210603, -0.004479669, 0.011574934, -0.0592672, 0.0043912544, 0.012156997, 0.004678602, 0.0067268712, -0.027673746, 0.010779204, -0.035660524, 0.021278428, 0.005419073, -0.02335617, -0.021248957, 0.033803817, -0.029795693, 0.010101359, -0.0074157678, -0.010101359, -0.011950696, 0.008797245, 0.0031792389, 0.016710345, 0.026038077, -0.0010038732, 0.025360232, -0.008465691, 0.020335339, -0.0014137113, -0.02269306, -0.030561952, 0.000048927308, 0.008215182, -0.016238801, -0.014168427, -0.012923256, -0.032153413, 0.013925287, 0.025374968, 0.013895815, 0.012635908, -0.021882594, -0.020482697, -0.017579753, -0.001978275, 0.019908004, -0.010852883, 0.0071615763, -0.025566531, -0.013092717, 0.0016043552, -0.024903424, -0.0028403164, -0.064247884, -0.0126727475, 0.031740814, 0.02484448, -0.008959338, -0.029751485, 0.015354655, -0.0111549655, -0.011795971, 0.0215142, 0.0020758992, -0.0054632807, -0.012842209, -0.053343426, -0.0011070234, 0.010462385, 0.008148871, 0.015052572, 0.03406906, 0.018684935, -0.008104664, 0.010049784, 0.028469475, -0.0070031667, -0.030532481, -0.018213391, 0.033892233, 0.018272335, 0.009954002, 0.0003587235, -0.0039639175, -0.033715405, 0.0064100525, 0.00045266392, -0.0068779127, 0.02023219, -0.0144410385, -0.015560956, 0.024343465, 0.043883074, 0.004652814, 0.005787467, 0.018478636, 0.029559921, -0.014404199, 0.019333309, 0.0024498191, 0.005459597, -0.0045570317, 0.021337371, -0.019038593, -0.013063245, -0.0113391625, 0.0023079873, 0.003107402, -0.010484489, 0.005507488, 0.031092439, 0.044472504, -0.0040744357, -0.00550012, -0.013593732, 0.016842967, -0.00072619633, -0.0221331, -0.0014275261, -0.01120654, -0.021042656, -0.02525708, -0.037841413, -0.0019266998, 0.016061971, -0.029972522, -0.010322396, -0.0150157325, -0.017167153, 0.001495679, -0.0076331203, -0.011118126, -0.008561472, 0.0060563944, -0.0070768455, 0.0035550005, -0.008185711, 0.041142225, -0.0074415556, -0.024903424, -0.013962126, -0.0069773793, 0.006329006, 0.0044317776, 0.029383093, 0.046447095, 0.008863555, 0.0074489233, -0.027614802, -0.0068521253, 0.002696643, -0.008355172, 0.04049385, 0.019922739, 0.019598553, -0.010440282, -0.0000020902032, 0.019745909, -0.0058095707, 0.000172109, 0.028970491, 0.0045091407, 0.010292924, 0.010771836, -0.011700188, -0.019480666, -0.0055222237, -0.0003043854, 0.005551695, -0.027261144, 0.010941297, -0.01790394, -0.007364193, 0.021160541, -0.011361266, -0.024151899, 0.012127525, 0.00068429153, -0.017550282, -0.02745271, 0.027010636, 0.02786531, 0.0020151143, -0.017859733, -0.0027095366, -0.0058132545, 0.04084751, -0.014617868, 0.013173764, 0.0103518665, 0.025242345, -0.02748218, 0.03518898, 0.031033497, 0.056968424, -0.008546737, -0.007949939, 0.01388108, -0.005979032, -0.017152417, -0.02581704, 0.061713334, -0.035748936, 0.011449681, -0.017432395, -0.0055774827, 0.011987535, 0.0019911686, -0.01956908, -0.024711858, 0.020968977, 0.024652915, 0.030031465, -0.009276156, -0.0024663967, -0.0024166636, -0.008458323, -0.0008795403, 0.00048627987, -0.029869372, 0.004310208, -0.013630572, -0.0152220335, -0.0013630572, -0.030856667, -0.00418127, 0.0024645547, 0.01315166, 0.026347527, -0.01703453, -0.008450954, -0.009563504, 0.047419656, -0.00090026244, 0.0017793422, -0.024623444, -0.0026763813, 0.008075193, 0.0014643655, 0.019230159, -0.012363297, -0.01869967, -0.025728626, -0.018419692, -0.033125974, -0.014662075, 0.029795693, -0.053667612, -0.014065277, 0.03483532, 0.0221331, 0.023739299, 0.022088895, -0.019966945, 0.015958821, -0.01120654, -0.008414115, -0.004652814, -0.016577723, -0.0158262, 0.010823411, 0.027187465, -0.017447133, -0.008694095, 0.03153451, -0.03910869, 0.048922703, -0.022280458, 0.0051648817, -0.015914613, 0.0073310374, 0.0034463243, 0.0018189446, -0.024770802, -0.015369391, 0.0027832154, -0.027216937, 0.018346014, -0.017565018, 0.0036360472, -0.009872954, -0.022987776, 0.021867858, 0.010049784, -0.00018339105, -0.0013648992, -0.012473815, -0.027747424, -0.0008118479, -0.03598471, -0.003157135, -0.028056875, 0.0148168, 0.009342467, -0.012996934, 0.009327732, 0.027305352, 0.044914577, 0.018242862, -0.017181888, 0.011714924, 0.014728386, -0.01828707, 0.01741766, 0.009084592, -0.037841413, 0.0109707685, -0.024697123, -0.025934925, 0.052518226, 0.023341434, -0.0023079873, 0.024505557, -0.05593692, -0.03993389, -0.015516749, -0.0002045737, -0.009136167, 0.05375603, 0.022722531, -0.0068337056, -0.0134758465, -0.004166534, -0.021912064, -0.03560158, -0.008215182, -0.014846272, 0.027983196, -0.031947114, 0.020335339, -0.030532481, 0.010049784, -0.003107402, -0.023798242, 0.005253296, 0.015605163 ]
2310.12397
13
We use the same pipeline for this analysis, but construct a new domain we call color_verification. The LLM is prompted to check correctness, optimality, and if every vertex has been assigned in the coloring. If the coloring is incorrect, it is instructed to list errors in the coloring, that is, if two connected nodes share a color, it is to return the edge to represent the error. No backprompts are given. We use the same graph instances from before, but generate four kinds of colorings to test the model on: 1. Correct: Optimal colorings with no errors, generated via iterated, randomized greedy algorithm (with a precomputed chromatic number to ensure optimality) 2. Ablated: The previous set of colorings, each with a random node changed to one of its neighbor’s colors 3. Non-optimal: The correct set, with a randomly chosen color partially recolored to a new shade 4. Random: Completely randomly assigned colors, with the number of different colors equal to the graph’s chromatic number 5. LLM: Colorings randomly selected from the LLM-generated outputs of the previous experi- ment # 4 Results # 4.1 Backprompting as Self-Critique
2310.12397#13
GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems
There has been considerable divergence of opinion on the reasoning abilities of Large Language Models (LLMs). While the initial optimism that reasoning might emerge automatically with scale has been tempered thanks to a slew of counterexamples, a wide spread belief in their iterative self-critique capabilities persists. In this paper, we set out to systematically investigate the effectiveness of iterative prompting of LLMs in the context of Graph Coloring, a canonical NP-complete reasoning problem that is related to propositional satisfiability as well as practical problems like scheduling and allocation. We present a principled empirical study of the performance of GPT4 in solving graph coloring instances or verifying the correctness of candidate colorings. In iterative modes, we experiment with the model critiquing its own answers and an external correct reasoner verifying proposed solutions. In both cases, we analyze whether the content of the criticisms actually affects bottom line performance. The study seems to indicate that (i) LLMs are bad at solving graph coloring instances (ii) they are no better at verifying a solution--and thus are not effective in iterative modes with LLMs critiquing LLM-generated solutions (iii) the correctness and content of the criticisms--whether by LLMs or external solvers--seems largely irrelevant to the performance of iterative prompting. We show that the observed increase in effectiveness is largely due to the correct solution being fortuitously present in the top-k completions of the prompt (and being recognized as such by an external verifier). Our results thus call into question claims about the self-critiquing capabilities of state of the art LLMs.
http://arxiv.org/pdf/2310.12397
Kaya Stechly, Matthew Marquez, Subbarao Kambhampati
cs.AI
18 pages, 3 figures
null
cs.AI
20231019
20231019
[ { "id": "2206.10498" }, { "id": "2306.03872" }, { "id": "2303.11366" } ]
{ "authors": "Kaya Stechly, Matthew Marquez, Subbarao Kambhampati", "chunk_id": 13, "doc_id": "2310.12397", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12397", "summary": "There has been considerable divergence of opinion on the reasoning abilities\nof Large Language Models (LLMs). While the initial optimism that reasoning\nmight emerge automatically with scale has been tempered thanks to a slew of\ncounterexamples, a wide spread belief in their iterative self-critique\ncapabilities persists. In this paper, we set out to systematically investigate\nthe effectiveness of iterative prompting of LLMs in the context of Graph\nColoring, a canonical NP-complete reasoning problem that is related to\npropositional satisfiability as well as practical problems like scheduling and\nallocation. We present a principled empirical study of the performance of GPT4\nin solving graph coloring instances or verifying the correctness of candidate\ncolorings. In iterative modes, we experiment with the model critiquing its own\nanswers and an external correct reasoner verifying proposed solutions. In both\ncases, we analyze whether the content of the criticisms actually affects bottom\nline performance. The study seems to indicate that (i) LLMs are bad at solving\ngraph coloring instances (ii) they are no better at verifying a solution--and\nthus are not effective in iterative modes with LLMs critiquing LLM-generated\nsolutions (iii) the correctness and content of the criticisms--whether by LLMs\nor external solvers--seems largely irrelevant to the performance of iterative\nprompting. We show that the observed increase in effectiveness is largely due\nto the correct solution being fortuitously present in the top-k completions of\nthe prompt (and being recognized as such by an external verifier). Our results\nthus call into question claims about the self-critiquing capabilities of state\nof the art LLMs.", "text": "We use the same pipeline for this analysis, but construct a new domain we call color_verification. The LLM is prompted to check correctness, optimality, and if every vertex has been assigned in the coloring. If the coloring is incorrect, it is instructed to list errors in the coloring, that is, if two connected nodes share a color, it is to return the edge to represent the error. No backprompts are given. We use the same graph instances from before, but generate four kinds of colorings to test the model on:\n1. Correct: Optimal colorings with no errors, generated via iterated, randomized greedy algorithm (with a precomputed chromatic number to ensure optimality)\n2. Ablated: The previous set of colorings, each with a random node changed to one of its neighbor’s colors\n3. Non-optimal: The correct set, with a randomly chosen color partially recolored to a new shade\n4. Random: Completely randomly assigned colors, with the number of different colors equal to the graph’s chromatic number\n5. LLM: Colorings randomly selected from the LLM-generated outputs of the previous experi- ment\n# 4 Results\n# 4.1 Backprompting as Self-Critique", "title": "GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems", "year": 2023 }
[ 0.025667569, 0.014748217, 0.029808415, -0.007572642, -0.0011105478, -0.014875846, 0.047676448, -0.010323752, -0.020051902, 0.085539654, 0.053916078, -0.026490066, -0.051136605, -0.0053355927, 0.0017956663, -0.029326262, 0.034034345, 0.0024391282, -0.022703744, 0.056667186, 0.007445013, -0.014861665, 0.038260277, 0.02249103, -0.022391764, -0.01973992, 0.027652906, -0.025128692, 0.049690146, -0.036898904, 0.011351872, -0.02595119, -0.07918658, -0.023441156, -0.03219082, 0.032899868, -0.011124977, 0.011855298, 0.007480466, 0.042713106, -0.027340924, 0.0012142463, -0.029865138, -0.030375654, 0.02046315, 0.061431997, 0.0063708043, -0.001797439, -0.02293064, 0.013287576, -0.064041294, 0.07254988, 0.024036758, -0.049860317, -0.022746287, 0.035792787, -0.031283237, -0.013145766, 0.007728633, -0.011862388, 0.015372179, -0.024107661, -0.012940142, 0.02755364, -0.0010830722, -0.039252944, -0.034743395, -0.01030248, 0.047534637, 0.02276047, -0.004194024, 0.0014748217, 0.045577664, -0.024306195, -0.025653388, 0.04844222, 0.061148375, 0.009827417, 0.015031836, -0.011514954, 0.00870712, 0.019257767, 0.041975696, -0.027723812, 0.002623481, -0.018094927, -0.0046903584, -0.03264461, -0.06092148, -0.047251016, 0.019087596, -0.0045272773, -0.009331083, 0.017782945, 0.037494507, 0.028262688, 0.009565069, -0.0038501355, 0.04571947, 0.03193556, -0.0031198151, -0.022746287, 0.027213296, -0.017825488, 0.04861239, 0.0036338756, 0.027780535, 0.047931705, -0.014719855, -0.021384913, -0.04855567, -0.04120992, -0.021867067, -0.00016463229, 0.061885785, -0.012266546, -0.06631025, -0.05014394, 0.034431413, -0.06829559, -0.036161494, -0.0095721595, 0.044499908, -0.025412312, -0.023512062, 0.017584411, 0.04464172, -0.060694583, 0.030971255, -0.0028627848, 0.0060694586, -0.007023129, 0.016166314, 0.009841599, -0.033325296, 0.026078818, -0.04804515, -0.0069096815, -0.018633805, -0.0071046697, -0.008529858, 0.0045875465, 0.011295149, 0.017797127, 0.010777543, 0.014209339, -0.043734133, 0.082873635, 0.009323993, 0.067104384, 0.014705674, 0.018889062, -0.026575152, 0.033608917, -0.04685395, -0.05062609, 0.020661684, 0.015357999, -0.0188607, -0.009345264, 0.067388006, 0.037607953, 0.02161181, -0.016279763, -0.01406753, 0.0006430187, -0.030659273, 0.014088801, -0.028248508, -0.017485145, 0.016932087, -0.003612604, 0.008735483, -0.022150688, 0.0057362053, -0.014081711, -0.026773686, -0.029751692, 0.0449537, -0.025781017, -0.019030873, 0.048839286, 0.007189756, 0.010167761, -0.03088617, -0.017215706, 0.011940383, -0.027667087, -0.0435356, -0.031963922, -0.024901796, 0.021441638, 0.053178664, 0.029780053, -0.044017754, -0.052129272, 0.061602168, 0.031396683, -0.0031091794, 0.009118369, -0.002612845, 0.007820809, 0.04245785, -0.05119333, 0.016605925, 0.039082773, -0.005456131, -0.016123772, -0.022561936, -0.015981961, 0.03349547, 0.012543075, 0.020264616, 0.046655416, -0.021101294, -0.0015634528, -0.054908745, 0.030120397, 0.026376618, 0.062055957, -0.0194563, 0.029184451, 0.056808997, -0.0021324644, -0.02623481, 0.055617794, 0.033665642, -0.051420227, 0.012358722, -0.027071487, 0.031198151, -0.018662166, -0.07340074, -0.02134237, 0.006569338, -0.07856262, -0.0068529574, 0.0047080847, 0.022831375, -0.05020066, 0.0052115093, 0.011451139, 0.019243587, -0.045067146, 0.013124495, 0.011642583, -0.029382985, -0.000249275, -0.0116851255, 0.024759987, -0.053830992, -0.0005552739, -0.047222655, -0.07788193, -0.036615286, 0.030772721, 0.0030879078, -0.016620105, -0.030489102, -0.031510133, -0.018690528, 0.014762398, -0.05944666, 0.012011288, -0.025795199, 0.013230852, 0.01741424, -0.021909611, -0.03962165, -0.01812329, -0.023455337, -0.0016308124, 0.0030063672, -0.0025224413, 0.019768283, -0.045067146, 0.012975595, 0.021370733, 0.017229889, 0.0017052626, -0.018066566, 0.017102258, 0.046797227, 0.052753236, -0.003655147, 0.010387566, -0.04625835, -0.005222145, -0.00035031445, -0.010720819, 0.022235774, -0.036530197, 0.01944212, 0.01291178, -0.00008253772, -0.018917425, -0.01102571, 0.019938454, 0.007629366, 0.006441709, 0.023597147, 0.009799056, -0.0034512954, 0.004683268, -0.013989534, 0.016790278, 0.009196364, -0.011550406, 0.0072677513, 0.023994215, 0.025724294, 0.0005264688, 0.012011288, 0.040983025, -0.0019037962, -0.068692654, 0.026901314, 0.019498844, 0.02525632, -0.0026872952, -0.019839188, -0.04322362, 0.035594255, 0.0065516117, -0.04699576, 0.0037189615, -0.02409348, -0.017896393, 0.04245785, -0.025695931, -0.0113164205, -0.030489102, 0.021909611, 0.015584894, 0.01609541, -0.019257767, -0.0020987848, 0.030262206, -0.0073953797, 0.014804941, -0.08673086, -0.006743055, 0.05567452, -0.00049013004, -0.02857467, 0.0016033368, -0.0050555184, 0.044187926, 0.03871407, 0.02247685, -0.021937972, -0.05051264, 0.0031534948, -0.016634287, 0.04220259, 0.009742332, -0.018222556, 0.0020119261, -0.03236099, 0.018747253, 0.002983323, 0.0006868911, 0.02293064, 0.013698825, -0.023029909, 0.034743395, -0.05102316, 0.0012266545, 0.040727768, 0.009494165, -0.0054454952, 0.03928131, -0.034204517, -0.009366536, -0.010061404, -0.00052292354, 0.031510133, 0.005133514, 0.013734276, 0.04075613, -0.03800502, -0.02596537, 0.0062609017, -0.012443808, 0.028447041, 0.02090276, -0.02409348, -0.012443808, -0.067274556, -0.004874711, -0.02205142, -0.029581519, -0.022604479, -0.012784151, 0.04180552, 0.054454952, -0.006817505, 0.055475984, 0.06449509, 0.06965696, -0.0024852164, -0.032843143, -0.036360025, 0.033552192, -0.0016893089, 0.025497397, 0.022235774, 0.0030613185, 0.026050456, 0.0024621722, 0.05783003, -0.020732589, 0.008473135, -0.018321823, 0.00044559292, -0.05876597, 0.08298708, -0.0043677413, 0.0017114667, 0.047251016, 0.0013188309, -0.0044705532, -0.0071082152, -0.03695563, -0.011210063, 0.00041789567, 0.012925961, -0.0194563, -0.013656282, -0.040699407, -0.00055394444, 0.047477912, 0.03318349, -0.0011885432, 0.021470001, -0.035310633, 0.017187346, -0.0185629, -0.007671909, -0.049378164, 0.010380476, -0.0055022193, -0.042401124, 0.00060091895, 0.009635975, 0.021923792, -0.04773317, -0.03641675, 0.0017788264, -0.021129657, -0.05309358, -0.018194195, -0.0015306593, 0.020505693, 0.0005885106, -0.031992286, 0.03803338, -0.026660237, 0.047024123, -0.040273976, 0.026206447, 0.011692216, 0.018038204, 0.043847583, 0.024788348, 0.05119333, -0.04784662, -0.01854872, 0.040273976, -0.007962619, 0.0068565025, -0.001008622, 0.028872471, -0.04424465, -0.0144787785, -0.011217154, 0.008756754, -0.024845073, 0.026121361, -0.028432861, 0.003970674, 0.00020351919, 0.043110173, -0.008189514, 0.030092034, 0.09563652, -0.023015726, 0.020207893, -0.034771755, 0.0045308224, -0.02756782, -0.025369769, -0.020207893, -0.018165832, -0.003236808, -0.0001435824, 0.017513508, 0.01768368, 0.019513026, -0.014386602, -0.020222073, -0.0096785175, -0.023994215, 0.005757477, 0.030063672, -0.0024940795, 0.0377214, 0.0061580897, 0.0025649844, 0.013471928, 0.008806387, 0.02596537, 0.0066189715, -0.013415205, -0.025837742, -0.008714211, -0.005126423, 0.0292979, -0.02553994, 0.045918006, 0.010125218, -0.04744955, -0.0067820526, -0.0035647433, 0.020704227, -0.03942312, -0.034317967, -0.082760185, -0.016166314, -0.015244551, 0.010508104, -0.023185898, -0.010997348, -0.030035311, -0.067104384, 0.0017584412, -0.001604223, -0.02697222, -0.029609881, -0.030262206, 0.015726704, -0.022462668, 0.011791483, 0.018789796, -0.00007317606, -0.001900251, 0.037806485, -0.007189756, 0.025412312, 0.0162514, 0.029865138, -0.051703844, -0.03695563, -0.0015687706, -0.016563382, 0.021980515, -0.022377582, -0.019101776, -0.019697377, -0.012238184, -0.004247203, 0.036331665, 0.022661202, -0.009082916, -0.0012550165, 0.03193556, 0.035282273, 0.022717927, 0.0071436674, 0.029553158, -0.013649191, -0.030092034, 0.015471446, -0.015627438, 0.04484025, -0.04467008, 0.003974219, -0.0012541302, 0.013096133, 0.008310053, -0.025639208, -0.037040714, 0.008139881, 0.008487315, -0.025142873, -0.002806061, 0.009465802, -0.0047541726, -0.009607612, -0.0049243444, -0.001128274, -0.02755364, -0.0053426833, 0.003288214, -0.056894083, 0.01291178, 0.009316903, -0.01029539, 0.0027457918, -0.010196123, 0.04248621, 0.023299346, 0.012876328, 0.00985578, 0.028177602, 0.027539458, -0.004842804, 0.02249103, 0.043422155, -0.0016813321, -0.019598112, -0.03783485, -0.0073457463, 0.010550647, -0.000077330646, 0.028248508, 0.006891955, -0.014960932, 0.03885588, -0.01667683, -0.009409078, 0.0325028, 0.02524214, -0.013089042, 0.025298864, -0.02189543, 0.0014384829, -0.008182424, -0.0022884554, -0.02480253, -0.064154744, -0.03352383, 0.043280344, -0.0067962334, 0.004545003, 0.023455337, 0.015074379, 0.023980033, -0.012606889, 0.0006252925, 0.0150601985, -0.014386602, -0.03159522, -0.049236353, -0.0015164783, -0.04781826, 0.027808897, -0.0016148589, -0.032587886, -0.02902846, -0.057943475, -0.043110173, 0.018080747, 0.00855822, -0.0021342372, -0.007891714, -0.020207893, -0.016605925, -0.018676348, 0.006480707, -0.041124836, -0.006686331, -0.0074591944, -0.005282414, -0.0027901074, 0.008955288, -0.022817193, 0.007813719, -0.0030577732, -0.0046513607, -0.0028042884, 0.023086632, 0.021058751, -0.00030245367, -0.040132165, 0.0022636387, -0.031680305, -0.021058751, -0.02233504, -0.003139314, 0.0056475746, -0.016478296, -0.0565821, -0.009352354, 0.027440192, -0.001871889, 0.032587886, 0.010146489, -0.01901669, -0.0099975895, -0.00022202093, 0.02739765, 0.0027457918, -0.009536708, -0.0063459873, 0.022803012, -0.039564926, 0.037579592, -0.023256803, -0.064324915, 0.010323752, -0.0133443, -0.0038394998, -0.009799056, -0.0004963342, -0.051703844, -0.018903242, 0.027879803, 0.05102316, -0.009770693, 0.012954323, 0.011280968, -0.012528894, 0.006657969, -0.023455337, -0.0011335919, 0.006296354, -0.013769729, 0.014230611, -0.013521562, -0.042089142, 0.013691734, -0.052044187, -0.007615185, -0.008501496, 0.008735483, -0.040132165, 0.0135286525, -0.008026433, -0.004225931, -0.0024249472, 0.009132549, 0.037182525, -0.024561454, 0.021413276, 0.017782945, 0.0023327707, -0.0076648183, -0.0052434164, -0.00080521364, -0.0319072, 0.010139399, 0.0075939135, -0.0044918247, -0.0047187204, 0.042854913, 0.0037047805, -0.015244551, -0.017173164, 0.02786562, 0.0035789243, 0.012862147, -0.045152232, -0.006863593, -0.02232086, -0.014017897, 0.028673938, -0.017173164, -0.0037792306, 0.025114512, -0.0003709212, 0.00688841, -0.02321426, 0.022717927, -0.007707361, 0.015570713, 0.014719855, -0.02015117, 0.022632841, 0.0013427613, -0.008515677, -0.001863026, 0.059957173, -0.0007604549, 0.02551158, -0.0075230086, 0.031510133, -0.040075444, -0.014485869, 0.011763121, 0.010423019, 0.0038394998, -0.0072074817, -0.028759023, 0.0008783343, 0.012514713, -0.014351149, 0.022278316, -0.0010405292, -0.01218855, -0.033580557, -0.016435754, -0.0073953797, 0.008104429, 0.008224967, 0.0027652907, -0.008912744, -0.116964705, 0.0067855977, 0.0053639547, -0.006920317, 0.01262816, -0.01871889, 0.037069075, -0.0043322886, -0.01813747, 0.007891714, -0.013847725, -0.0027652907, -0.0040734857, -0.0046478156, 0.01740006, -0.06313371, 0.002612845, -0.020363884, -0.0012541302, -0.001418984, -0.02219323, 0.012252364, -0.016166314, 0.0074591944, -0.02250521, -0.01218146, -0.005034247, -0.010983167, 0.034289602, 0.012252364, 0.0047789896, 0.025128692, 0.015471446, 0.007281932, 0.0021608265, -0.0243771, 0.0073173842, -0.007962619, -0.011876569, 0.0077499044, -0.0063069896, -0.00057211384, 0.018662166, -0.0011841116, 0.025724294, -0.008416411, -0.00464427, -0.0017070352, 0.01854872, -0.016903725, -0.035480805, 0.0108909905, 0.010132308, -0.0130039565, 0.010763362, 0.020250436, 0.014266063, -0.019229406, -0.026532609, 0.015386361, -0.018449452, 0.02814924, 0.041011386, 0.011720578, -0.038458813, -0.036501836, -0.02946807, 0.06370095, -0.009238907, -0.025582483, -0.0020101536, 0.0108909905, -0.0039529474, 0.019995179, -0.023100812, -0.020321341, 0.018690528, 0.02739765, -0.03709744, -0.0024338104, -0.012082193, 0.024490548, 0.009983408, 0.015513989, 0.009019102, 0.03145341, 0.028915014, -0.038969327, -0.034715034, 0.02203724, -0.005555398, -0.01639321, -0.0048073516, 0.0086787585, -0.0115787685, -0.0033201214, 0.019385396, 0.0041124835, 0.0469674, 0.011713487, 0.0162514, 0.019172681, -0.019314492, -0.056156673, 0.0041762977, 0.004392558, -0.010557738, -0.010550647, -0.02943971, 0.011649673, 0.014010806, -0.014606407, 0.0059205582, 0.00074848975, -0.035877872, 0.009394898, 0.009841599, -0.017584411, 0.060581136, -0.020661684, 0.044017754, 0.017541869, -0.037948295, 0.0039954903, -0.03377909, 0.0028326502, -0.0056830267, -0.023781499, -0.059957173, 0.04177716, -0.0025880283, 0.012727427, -0.0211722, 0.016733553, -0.02088858, 0.0073953797, 0.00036715437, 0.011514954, -0.016279763, 0.01464895, 0.022746287, 0.017967299, 0.058255456, -0.022888098, -0.012117646, 0.0030560007, 0.012457989, -0.05961683, -0.010217395, 0.024235291, 0.0020881488, -0.004186934, 0.0018045295, 0.022817193, -0.0126848845, 0.035594255, -0.026334075, -0.015173646, 0.035197187, -0.005700753, 0.012550165, 0.025114512, -0.031651944, -0.017314974, 0.002820242, -0.009657246, -0.0017894622, 0.0013923948, -0.020491512, 0.020633323, -0.034431413, -0.051278416, 0.020080265, 0.014875846, 0.014273154, 0.046939038, 0.017428422, 0.033155125, 0.019342853, 0.024192749, -0.036501836, 0.0487542, -0.018222556, 0.0351121, 0.018534537, -0.014131344, 0.003256307, -0.008650396, 0.031850476, 0.020108627, -0.005264688, 0.003449523, 0.036615286, 0.020392247, 0.05961683, -0.018733071, 0.008983649, 0.037494507, -0.004906618, -0.029354624, -0.031141426, 0.0027830168, -0.0046017272, -0.013826453, 0.012663613, 0.02043479, 0.014804941, -0.00091378676, -0.031027978, 0.016605925, -0.033864174, 0.031311598, -0.018491995, 0.00017227672, 0.032587886, -0.0064062565, -0.002820242, -0.008827658, -0.030574188, 0.0065303403, -0.0068387766, -0.037466142, -0.03641675, 0.06631025, 0.0034406597, -0.030233845, 0.025327226, -0.008416411, -0.008607853, 0.011678035, 0.0115787685, -0.005963101, 0.014691493, -0.033835813, -0.033126764, -0.008529858, 0.013429386, -0.028503764, -0.03409107, 0.013904449, 0.008061886, -0.029581519, -0.014875846, 0.013656282, 0.020732589, -0.010564828, 0.013259214, -0.014301516, -0.018733071, 0.00290001, -0.04350724, -0.0063034445, 0.02814924, -0.026589332, 0.017045535, -0.01958393, 0.016038686, 0.054625127, 0.035225548, 0.017768765, -0.032899868, 0.0046619964, 0.0047222655, -0.043110173, -0.008295872, 0.021257285, -0.016804459, -0.0137910005, -0.0023327707, -0.001635244, -0.030006949, 0.0128975995, -0.0024054484, 0.036019683, -0.023866585, -0.0011513181, -0.00043008247, -0.019144319, 0.0013897358, -0.023809861, -0.026787866, -0.0073457463, -0.0011238424, 0.0044705532, -0.008685849, 0.013989534, -0.0351121, -0.0263908, 0.0056582103, 0.00057787483, 0.040954664, 0.011912021, -0.008288781, 0.00047329013, 0.03233263, -0.0070692175, -0.0054915836, 0.0045060054, 0.00071126467, -0.02670278, 0.03655856, 0.018336004, 0.024107661, -0.035792787, 0.033750728, 0.009331083, -0.0023398614, -0.026461704, -0.018491995, -0.01552817, 0.0052327807, 0.010352113, 0.00228491, -0.019995179, -0.017428422, 0.015939418, -0.013606648, -0.0108909905, -0.010664095, -0.0041727526, 0.0012931279, 0.0052327807, -0.00018557139, -0.0027670632, -0.004775444, -0.01494675, -0.002416084, -0.0016485386, 0.026163904, -0.0073032035, 0.0029549613, 0.021413276, -0.002059787, -0.0034459776, 0.004697449, 0.016648468, -0.017740402, -0.014734035, 0.0018488449, -0.026291532, 0.051391862, 0.0143724205, -0.028191784, 0.00007666591, -0.0056475746, 0.022405945, 0.029751692, -0.025554122, -0.011174611, 0.010642824, 0.06852248, 0.013174128, -0.015443085, 0.018619623, 0.025752656, 0.011217154, -0.017570231, 0.042429484, 0.008274601, -0.0022530027, -0.018789796, 0.0449537, -0.0027741538, 0.0075655514, 0.022448488, -0.00074848975, -0.02249103, 0.0059524653, 0.025781017, 0.017740402, 0.0067395098, 0.009983408, -0.0034140705, 0.010564828, 0.0028308777, 0.0113660535, 0.030035311, -0.0033786178, 0.005193783, 0.02943971, 0.0064877975, -0.012890508, -0.010564828, 0.013415205, -0.024589816, -0.011883659, -0.014918389, 0.03267297, 0.015003474, -0.031878836, 0.00717912, -0.020775132, -0.030120397, -0.0020757406, -0.007381199, 0.022221591, 0.011571677, 0.021881249, 0.010997348, 0.015145284, 0.014138435, -0.0089411065, -0.012479261, 0.0036870542, 0.0044457363, -0.030715998, 0.016620105, 0.042287674, 0.02232086, 0.009437441, -0.046939038, 0.013521562, -0.017385878, 0.013819363, -0.017797127, -0.03814683, 0.0010015315, 0.028035793, -0.03264461, 0.01276288, -0.0052753235, -0.019101776, -0.0057078437, -0.009168002, 0.0015510444, 0.011876569, 0.054199696, 0.0035487898, 0.029071005, 0.012996866, -0.0014455734, -0.011380235, -0.058368903, -0.041153196, 0.012833784, 0.024391282, 0.019839188, -0.0037685947, -0.039706737, -0.019371215, 0.017470965, 0.038487174, 0.024433825, 0.037806485, -0.022207411, -0.0049207993, -0.010181942, 0.015046017, 0.013663372, 0.004467008, 0.01898833, 0.007615185, 0.005746841, -0.000048414742, -0.004513096, 0.012138917, -0.05439823, 0.013301757, 0.0077569946, 0.03409107, 0.017144801, -0.020534055, 0.011486592, -0.008139881, -0.016081229, 0.0053604096, -0.009614703, -0.00667215, -0.04501042, -0.04393267, 0.0055305813, 0.0031978104, -0.0020438335, 0.00811861, 0.028021611, -0.01102571, 0.014960932, 0.017300792, 0.017343335, -0.0047931704, -0.030659273, -0.017343335, 0.016620105, 0.006704057, -0.007863352, -0.0075797327, -0.007572642, -0.007058582, -0.002369996, -0.0044740983, 0.0032438987, 0.03857226, -0.009097097, -0.005094516, 0.02624899, 0.025497397, 0.023682233, 0.0048924373, 0.01900251, 0.028603032, -0.050597727, -0.0003210662, -0.007572642, 0.008189514, -0.016464114, -0.008288781, -0.022235774, -0.008714211, 0.000070461734, -0.010968986, 0.032049008, -0.024050938, -0.0038040474, 0.028007431, 0.046882313, 0.008919835, -0.011444049, -0.023384431, 0.02553994, -0.011692216, -0.01857708, -0.010224485, 0.03031893, -0.001715012, -0.03567934, -0.03380745, 0.026178084, -0.0010467335, -0.005087426, 0.0030932256, -0.01871889, -0.04206078, 0.00609073, -0.009685608, -0.009323993, 0.014861665, 0.009494165, -0.012862147, -0.009331083, -0.021810343, 0.038628984, -0.050711177, -0.0146347685, 0.01029539, -0.0008331324, 0.035594255, 0.001498752, 0.02814924, 0.01741424, 0.013237943, 0.0040238523, -0.031141426, 0.004254293, 0.025398131, -0.02856049, 0.016719373, 0.025298864, -0.0013525108, 0.0113164205, 0.0039848546, 0.022179049, 0.011330601, -0.0028698754, 0.01857708, 0.0013551697, -0.010373385, 0.007842081, 0.003242126, 0.00090448046, -0.0018098473, 0.025284683, -0.014776579, -0.0027192025, 0.0059453747, -0.012592708, 0.004151481, 0.035168823, -0.020519875, -0.030914532, 0.009182183, -0.022817193, 0.0068777744, -0.03335366, 0.021115476, 0.015046017, 0.029354624, -0.042968363, -0.000709492, -0.014819122, 0.023965852, -0.0028751933, 0.008770934, 0.0064062565, 0.0047825347, -0.020420607, 0.008019343, 0.021058751, 0.019966817, 0.0010254619, -0.0217678, 0.014166797, 0.017201526, -0.024632359, -0.015159465, 0.030971255, -0.023568785, 0.017924756, -0.019030873, -0.008997831, 0.016152134, 0.0081257, -0.0131599475, -0.015343818, 0.0012966731, 0.047960065, 0.031113066, -0.012387084, 0.021540904, -0.008877292, -0.025114512, -0.004931435, -0.0022583208, -0.02551158, 0.0047860797, 0.001529773, 0.021399096, -0.014102982, -0.02250521, -0.0019250677, -0.00067359646, 0.059730276, 0.034147795, -0.05422806, -0.00754428, -0.010082675, 0.030347291, 0.012131826, 0.0032917594, -0.022448488, 0.0068387766, -0.0057362053, -0.0022459123, 0.008076067, -0.005005885, -0.000729434, -0.012273636, -0.024504729, -0.033750728, 0.0011043437, 0.024845073, -0.06165889, -0.027723812, 0.017669499, 0.020477332, 0.036785457, 0.010132308, 0.006133273, 0.016038686, -0.0094161695, -0.015641619, 0.006133273, 0.023270985, 0.0015377498, 0.004676177, 0.04974687, -0.029553158, -0.022079783, 0.015669981, -0.027794717, 0.018605443, -0.040699407, 0.008189514, -0.01696045, -0.014677312, 0.011217154, -0.0069096815, -0.024745805, 0.010529376, 0.050285745, -0.013117405, 0.025114512, -0.009168002, 0.030545825, 0.0126352515, -0.0029549613, 0.028759023, -0.005470312, 0.010557738, 0.0054951287, 0.0011548634, -0.011543316, -0.013301757, -0.023781499, -0.0036161493, -0.02103039, 0.02059078, 0.010869719, 0.00971397, 0.026603514, 0.019172681, 0.029836778, 0.014336969, -0.03411943, 0.04163535, 0.025625026, -0.011855298, 0.027057305, -0.021852886, -0.017286612, 0.03786321, -0.014301516, -0.02508615, 0.014762398, 0.0079768, -0.028517947, 0.005062609, -0.0068494123, -0.023384431, -0.027638726, 0.0009075826, 0.0006634039, 0.043649048, 0.029609881, -0.0014606407, -0.017158983, 0.004194024, -0.022661202, -0.034601584, -0.010352113, -0.009841599, 0.03965001, -0.033013318, 0.03627494, -0.034601584, -0.0063424422, 0.013975354, -0.017485145, -0.013443567, -0.021484181 ]
2310.12773
13
π⋆ = arg max πθ∈ΠC J (πθ). (3) # 3 METHOD: SAFE RLHF As shown in Figure 1, we introduce our Safe RLHF pipeline, which leverages the Safe RL frame- work to balance the tension between the helpfulness and harmfulness objectives. Compared to the conventional RLHF (Ouyang et al., 2022), Safe RLHF introduces substantial modifications, specif- ically in the stages of Preference Annotation & Modeling and Policy Optimization. 3.1 HUMAN PREFERENCE OF HARMLESSNESS AND HELPFULNESS
2310.12773#13
Safe RLHF: Safe Reinforcement Learning from Human Feedback
With the development of large language models (LLMs), striking a balance between the performance and safety of AI systems has never been more critical. However, the inherent tension between the objectives of helpfulness and harmlessness presents a significant challenge during LLM training. To address this issue, we propose Safe Reinforcement Learning from Human Feedback (Safe RLHF), a novel algorithm for human value alignment. Safe RLHF explicitly decouples human preferences regarding helpfulness and harmlessness, effectively avoiding the crowdworkers' confusion about the tension and allowing us to train separate reward and cost models. We formalize the safety concern of LLMs as an optimization task of maximizing the reward function while satisfying specified cost constraints. Leveraging the Lagrangian method to solve this constrained problem, Safe RLHF dynamically adjusts the balance between the two objectives during fine-tuning. Through a three-round fine-tuning using Safe RLHF, we demonstrate a superior ability to mitigate harmful responses while enhancing model performance compared to existing value-aligned algorithms. Experimentally, we fine-tuned the Alpaca-7B using Safe RLHF and aligned it with collected human preferences, significantly improving its helpfulness and harmlessness according to human evaluations.
http://arxiv.org/pdf/2310.12773
Josef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji, Xinbo Xu, Mickel Liu, Yizhou Wang, Yaodong Yang
cs.AI, cs.LG
null
null
cs.AI
20231019
20231019
[ { "id": "2302.13971" }, { "id": "2304.05302" }, { "id": "1707.06347" }, { "id": "2305.18290" }, { "id": "2305.10403" }, { "id": "2305.03047" }, { "id": "2211.05100" }, { "id": "2110.08207" }, { "id": "2304.05335" }, { "id": "2107.03374" }, { "id": "2105.04054" }, { "id": "2209.07858" }, { "id": "2305.15324" }, { "id": "2307.09288" }, { "id": "2210.11416" }, { "id": "2212.08073" }, { "id": "2307.12950" }, { "id": "2009.11462" }, { "id": "2307.04657" }, { "id": "2204.05862" }, { "id": "2112.00861" }, { "id": "2209.14375" }, { "id": "2303.00957" }, { "id": "2306.01693" }, { "id": "2305.01937" }, { "id": "2307.15217" }, { "id": "2306.17492" }, { "id": "2112.04359" }, { "id": "1506.02438" } ]
{ "authors": "Josef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji, Xinbo Xu, Mickel Liu, Yizhou Wang, Yaodong Yang", "chunk_id": 13, "doc_id": "2310.12773", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12773", "summary": "With the development of large language models (LLMs), striking a balance\nbetween the performance and safety of AI systems has never been more critical.\nHowever, the inherent tension between the objectives of helpfulness and\nharmlessness presents a significant challenge during LLM training. To address\nthis issue, we propose Safe Reinforcement Learning from Human Feedback (Safe\nRLHF), a novel algorithm for human value alignment. Safe RLHF explicitly\ndecouples human preferences regarding helpfulness and harmlessness, effectively\navoiding the crowdworkers' confusion about the tension and allowing us to train\nseparate reward and cost models. We formalize the safety concern of LLMs as an\noptimization task of maximizing the reward function while satisfying specified\ncost constraints. Leveraging the Lagrangian method to solve this constrained\nproblem, Safe RLHF dynamically adjusts the balance between the two objectives\nduring fine-tuning. Through a three-round fine-tuning using Safe RLHF, we\ndemonstrate a superior ability to mitigate harmful responses while enhancing\nmodel performance compared to existing value-aligned algorithms.\nExperimentally, we fine-tuned the Alpaca-7B using Safe RLHF and aligned it with\ncollected human preferences, significantly improving its helpfulness and\nharmlessness according to human evaluations.", "text": "π⋆ = arg max πθ∈ΠC J (πθ). (3)\n# 3 METHOD: SAFE RLHF\nAs shown in Figure 1, we introduce our Safe RLHF pipeline, which leverages the Safe RL frame- work to balance the tension between the helpfulness and harmfulness objectives. Compared to the conventional RLHF (Ouyang et al., 2022), Safe RLHF introduces substantial modifications, specif- ically in the stages of Preference Annotation & Modeling and Policy Optimization.\n3.1 HUMAN PREFERENCE OF HARMLESSNESS AND HELPFULNESS", "title": "Safe RLHF: Safe Reinforcement Learning from Human Feedback", "year": 2023 }
[ 0.0051956205, 0.0116658425, 0.036120906, -0.0041118492, -0.0082020955, -0.0065998426, -0.044359006, 0.033154037, 0.007222741, 0.022222709, 0.042400297, -0.011240975, -0.041680183, 0.035170354, 0.027508345, -0.057205833, 0.03502633, -0.027753184, -0.014265453, 0.05279874, -0.0329236, 0.0033989367, 0.003008275, 0.03963506, 0.034306217, -0.05386451, 0.04729707, 0.0024465865, 0.02861732, -0.010254419, 0.039433427, -0.025463222, -0.0053648474, -0.005375649, -0.005148813, -0.0052604307, -0.040988874, 0.037071455, -0.031627394, 0.01672104, 0.004641133, -0.007121925, -0.008338917, -0.0065170294, -0.0031234934, 0.013466127, 0.033211645, 0.02874694, 0.0046627363, -0.0040686424, -0.015021573, 0.019097416, -0.035660032, 0.04458944, -0.010276023, 0.016245766, 0.055362344, 0.013919799, 0.035573617, -0.020436827, 0.0044359006, -0.025880888, -0.027652368, 0.014272654, -0.038972557, 0.023187662, -0.055362344, 0.016231364, 0.047959574, 0.020480035, -0.013854988, -0.010088793, 0.05395092, -0.048766103, -0.016360983, -0.007204738, 0.0139702065, 0.0032999213, 0.012738812, 0.0128036225, 0.008504543, -0.009534306, 0.021617815, -0.045741625, -0.0061173663, -0.060892817, -0.058242798, 0.00096855295, -0.071089625, -0.039030164, -0.04418618, -0.015871307, -0.012875633, 0.008058073, 0.0035879668, -0.04173779, 0.010729695, 0.009800748, 0.055045493, 0.042832363, 0.028588515, -0.021733033, 0.03831005, 0.0031108914, 0.017945234, 0.02481512, -0.0037121864, 0.059510197, 0.008022067, -0.003722988, -0.026514588, -0.015784893, -0.043149214, 0.061584126, -0.006686256, -0.046058476, -0.07777228, 0.028012425, 0.010038385, -0.025232784, -0.016216962, -0.019788725, 0.06135369, -0.052539498, -0.0055484762, -0.022827605, 0.008518945, -0.045626406, -0.027580356, -0.034709483, 0.0046843397, 0.014071022, -0.0020037165, -0.02526159, -0.017887626, 0.025967302, 0.015280813, 0.003730189, 0.023346087, -0.014697521, 0.014524694, -0.013437322, -0.024915935, 0.0041586566, -0.0029074592, 0.003805801, -0.042774756, 0.025967302, 0.01449589, 0.025131969, 0.00797886, 0.0037121864, -0.039663866, -0.013746971, -0.03335567, -0.040412784, -0.009671127, 0.011471412, 0.008432532, -0.018694153, 0.016793052, 0.020883298, -0.046519347, -0.020782482, 0.011572228, 0.03753233, -0.02880455, -0.0072011375, -0.057637904, 0.004457504, -0.011809865, -0.02500235, -0.04481988, -0.022049883, 0.0020757278, -0.03090728, -0.025650451, -0.010607275, 0.0054800655, 0.016317777, -0.005058799, 0.01380458, -0.025564037, -0.011709049, 0.00784924, 0.029870318, -0.018852577, 0.010117598, -0.0070751174, -0.029179009, 0.002158541, 0.02614013, 0.046836197, 0.018895784, 0.014935159, 0.009080634, 0.020047966, 0.042947583, 0.018506924, 0.012097911, 0.00041159, 0.016072938, 0.004943581, -0.05729225, -0.0119538875, 0.0019425068, -0.0057033007, 0.024959141, -0.026384966, -0.0310225, 0.021646619, 0.023562122, 0.021704229, 0.05501669, 0.023691742, -0.0016166554, 0.0008960915, 0.042141054, -0.006952698, 0.0398943, -0.0360921, 0.014423878, 0.04133453, 0.018132463, -0.06884287, 0.020163184, 0.02121455, -0.030849673, 0.036236122, -0.06999505, 0.046865, 0.026154531, -0.031857833, -0.060316727, 0.0049543823, 0.024671096, -0.0032243093, -0.022251515, 0.020148782, -0.034738287, -0.012695605, 0.02766677, 0.0002089455, -0.015871307, -0.011795463, -0.001557246, 0.008590957, -0.024008593, -0.008065274, -0.014092626, -0.0154104335, -0.00002541495, 0.012479571, -0.054728642, -0.05294276, -0.0090734335, 0.023130054, 0.021099333, -0.0151079865, -0.009476697, -0.016505007, 0.0094983, 0.025650451, 0.021877056, 0.011298585, 0.026773829, 0.006261389, 0.01918383, -0.031051304, 0.025564037, -0.019846335, 0.014323062, -0.02500235, 0.023029238, -0.05723464, 0.007460378, 0.06976462, 0.047412287, -0.050379157, -0.0023475708, -0.066250466, 0.0017453757, 0.054872666, -0.019875139, 0.029323032, -0.027090678, 0.0006499026, -0.013782977, 0.002412381, -0.0038454074, 0.012306743, -0.010902522, 0.07034071, -0.047325876, 0.012674002, 0.03856929, -0.01152182, -0.038713314, 0.004507912, -0.0063045956, 0.031829026, 0.066250466, -0.015799295, -0.0045223143, -0.021257758, 0.00049687846, -0.0072731487, -0.029755099, 0.015223204, 0.031944245, 0.031051304, 0.035544813, 0.027753184, -0.011709049, -0.0601439, -0.03819483, 0.069476575, -0.02697546, -0.012839627, 0.012292341, 0.012169922, -0.048766103, 0.048161205, -0.027998023, 0.015093584, -0.017441155, -0.004057841, 0.0061569726, -0.039116576, 0.010153604, 0.00070526137, -0.019702312, 0.034795895, -0.050177526, -0.01627457, -0.04919817, -0.04280356, 0.0014501291, 0.012054704, 0.014819941, -0.023547718, -0.03514155, 0.012695605, 0.050494377, -0.031454567, 0.0034835502, 0.014675918, -0.019918347, 0.073163554, 0.047585115, -0.021949066, -0.02071047, -0.007878045, 0.00007122375, -0.020105576, -0.0077772285, 0.00975034, -0.049111757, -0.08307232, -0.0021819447, -0.055967238, -0.0075899987, 0.00045479683, -0.006743865, 0.022496354, -0.004129852, -0.022654777, 0.0104992585, -0.028847756, -0.026889047, 0.0051056063, 0.033010013, -0.026111323, -0.026572198, -0.043466065, -0.014762332, 0.030302387, 0.0037986, 0.05622648, 0.000854685, -0.024195822, -0.020883298, -0.066768944, -0.024959141, 0.033701323, 0.00093344745, -0.019457472, -0.017210718, -0.023072444, 0.009764742, 0.061872173, -0.031829026, -0.0016265569, -0.0007696216, -0.016101742, -0.032001853, 0.033787735, 0.06682655, 0.07604401, 0.008281308, -0.02589529, -0.025679255, -0.062160216, 0.028473297, -0.034709483, -0.0043926938, -0.013581345, 0.05158895, 0.008461337, 0.012321146, 0.014279855, -0.03260675, 0.022165101, -0.008648566, 0.0016328578, -0.04438781, 0.051012855, -0.016951477, -0.025823278, 0.0051956205, -0.0014618309, -0.025636049, -0.0047203456, -0.023245271, 0.027825195, 0.02292842, 0.0652135, -0.040355172, 0.0043926938, -0.03398937, 0.011889078, 0.066941775, -0.02868933, -0.01823328, -0.057781927, 0.023994189, 0.028329274, -0.0031919042, -0.016850661, 0.0018686951, 0.021574607, 0.0053288415, -0.037820373, -0.0018398906, -0.007906849, 0.0046627363, 0.026039312, -0.0016679635, -0.036293734, 0.042601928, -0.04830523, 0.0072155395, 0.07074397, 0.031425763, 0.009332674, -0.005415255, 0.043408457, -0.014863147, -0.0023691743, 0.045136727, 0.020480035, 0.04519434, 0.0087853875, 0.0048715696, 0.012594789, 0.039807886, 0.023130054, -0.02475751, -0.06544393, 0.010902522, -0.025722463, -0.05850204, 0.027580356, -0.0019173028, 0.013257294, 0.0010243618, 0.026802633, -0.027551552, 0.054354183, -0.0099519715, 0.019615898, 0.005343244, 0.005627689, -0.030215973, 0.04502151, 0.08353319, 0.07258747, -0.032837186, 0.020724874, -0.0019677107, 0.039606255, -0.031080108, 0.033586103, -0.017887626, -0.008698974, -0.03741711, -0.0043782913, -0.00025023954, 0.025636049, -0.002666221, 0.038857337, 0.011298585, -0.01405662, 0.032894794, 0.038252443, 0.0025618046, 0.049918283, -0.012184325, -0.045165535, 0.039836694, -0.011132958, 0.017613983, -0.023533316, -0.032635555, -0.008007665, 0.012443566, 0.0075827977, 0.0069490974, 0.021632217, -0.0002026445, 0.023086846, -0.0139558045, 0.01532402, -0.0015752488, -0.0028444491, 0.0014987367, -0.016029732, -0.026226543, -0.031569786, -0.07690815, -0.00049912883, 0.0041946624, -0.018953394, 0.022582768, -0.05115688, 0.00708952, -0.0030028743, -0.02855971, 0.0082164975, -0.010866516, 0.005919335, -0.008569353, 0.004785156, 0.006592641, -0.002349371, -0.030446408, 0.009325473, -0.0049219774, 0.020624056, 0.021862652, 0.010564068, -0.031454567, -0.011910681, -0.007168732, -0.015914513, -0.01532402, 0.010484856, 0.024051799, 0.004731147, 0.026557794, -0.030561626, 0.0004883271, -0.006246987, -0.0069418964, -0.05020633, 0.025852082, 0.027897205, 0.019572692, -0.0033215247, -0.0057573095, -0.006174975, -0.004792357, 0.03704265, -0.0039858297, 0.019371059, -0.012861231, 0.007096721, 0.022654777, 0.04988948, -0.0033665318, -0.025506428, -0.04988948, -0.008266905, 0.0062505873, -0.006945497, -0.04830523, 0.0107585, 0.0075972, -0.06083521, 0.027565954, 0.03064804, 0.012681203, 0.024584683, -0.013494931, -0.054584622, -0.012083508, -0.0079212515, -0.008158889, -0.0050732014, -0.013826184, 0.010211213, -0.00614257, 0.022064285, -0.021200148, -0.05400853, 0.020436827, -0.00025676555, -0.009095036, 0.025981704, -0.033614907, -0.03591927, -0.01653381, -0.006502627, -0.0036545773, -0.024239028, -0.030187167, -0.004907575, -0.0046195295, 0.0158281, -0.02507436, -0.055852022, 0.014071022, 0.012882834, -0.017714798, 0.006185777, 0.0011413803, 0.0021171344, -0.012839627, -0.010996137, -0.034709483, -0.011291384, 0.021992274, -0.022366732, -0.021934664, 0.005706901, 0.025290394, 0.013631753, -0.0075755967, -0.010276023, -0.052913956, 0.034680676, 0.016188156, -0.012645197, -0.06797874, 0.012954846, 0.019831933, 0.0145318955, -0.0063730064, -0.002266558, -0.033586103, -0.046893805, -0.0050047906, -0.0055772807, 0.0029866716, -0.0034853504, 0.019169427, 0.0051380116, 0.009915967, 0.00791405, -0.0072767492, -0.015669676, -0.0008155288, 0.0021513398, 0.0044611045, 0.010981735, 0.006513429, 0.013581345, 0.051272098, 0.00009631521, -0.001703069, 0.003849008, 0.0029902724, 0.018751761, -0.020595253, -0.0052964366, -0.031252936, 0.009995178, 0.0030532822, -0.020408023, 0.0032315103, -0.020840092, 0.022712387, -0.036437754, -0.04300519, 0.0071723326, 0.022265917, 0.010103196, -0.0291358, -0.026543392, 0.018535728, -0.005084003, 0.026053715, 0.026629806, -0.012457968, 0.020278404, 0.033154037, -0.00367258, 0.031137718, -0.010276023, -0.02240994, -0.016317777, -0.003411539, 0.0063297995, 0.0044034957, -0.0411617, -0.048593275, -0.03171381, 0.031310543, 0.042832363, 0.0058077173, -0.0003843607, -0.019140624, -0.0012484972, 0.005865326, -0.0020307207, 0.042630732, 0.03698504, 0.0360921, 0.015856905, -0.015396032, -0.028890964, -0.0075611942, -0.051617753, 0.020119978, -0.01171625, 0.025520831, -0.030158363, 0.000487427, -0.023792557, 0.0026734222, 0.021689825, -0.012868432, -0.020912103, -0.0010729694, 0.009001422, 0.018694153, -0.037013847, -0.008727779, -0.022381134, 0.017685993, 0.03594808, -0.009339876, 0.011485814, 0.022078687, 0.0054620625, 0.025232784, 0.0099303685, -0.0018380902, 0.0049687847, -0.008871801, -0.009822351, 0.014042218, -0.03888614, 0.021099333, 0.03033119, -0.003722988, 0.009455093, 0.005912134, -0.0053468444, 0.017297132, 0.02304364, -0.0018794968, -0.009260663, -0.02734992, 0.01018961, -0.0016553615, -0.016994685, -0.012133917, 0.034104586, -0.02481512, 0.018722957, -0.014747929, 0.007878045, 0.005174017, 0.058473237, -0.0058437227, -0.032577947, -0.020609654, -0.045136727, 0.012479571, 0.01601533, -0.029265422, -0.011723451, -0.020811288, -0.01627457, -0.020091172, 0.010492058, 0.027407529, 0.05210743, -0.030215973, -0.018348498, -0.0105208615, -0.0070391116, -0.04401335, -0.015986525, 0.029582271, -0.015885709, -0.11734974, 0.015165595, 0.026745023, -0.022525158, 0.018953394, 0.014020614, -0.017181914, 0.034680676, 0.001848892, -0.025506428, 0.021142539, 0.007647608, -0.0070499135, -0.007950055, -0.02544882, -0.037244283, 0.060950425, -0.010931326, 0.034911115, -0.0037265886, -0.011132958, -0.037935592, 0.026096921, 0.03260675, -0.034795895, 0.024800718, -0.016850661, 0.014740728, 0.011327389, 0.01810366, -0.018204475, -0.023893373, 0.023274075, 0.014013413, -0.03678341, 0.0045151133, 0.014301458, -0.010002379, -0.012371554, 0.040412784, 0.002253956, -0.052971568, 0.048967734, -0.0044323, 0.023562122, -0.034162197, -0.007352361, -0.019903943, 0.018146867, 0.01500717, -0.0058545247, -0.009491099, 0.009678328, -0.04617369, 0.00014616059, 0.031425763, 0.040556807, 0.03191544, -0.034277413, -0.019803127, -0.019428669, 0.042889975, 0.034191, -0.035602424, -0.0021855452, 0.01728273, -0.018002843, 0.03571764, -0.021992274, -0.029409444, 0.010780103, -0.016663432, -0.009786346, 0.046260107, 0.017513165, -0.003335927, 0.0031955047, 0.027709976, -0.015986525, 0.017009087, 0.024051799, -0.021689825, -0.0032621152, 0.005786114, -0.0024159816, 0.023158858, 0.0113994, -0.002057725, -0.026255347, 0.0007745723, -0.008346118, 0.010650482, 0.020940907, 0.006477423, 0.006300995, -0.03413339, -0.022712387, -0.009217456, -0.0032063064, -0.02824286, 0.041680183, 0.0128036225, -0.0036491763, -0.060892817, -0.0010369638, 0.01342292, -0.0068806866, 0.0030856873, 0.012385956, 0.016116146, -0.011557826, 0.009001422, -0.02121455, -0.009030227, 0.019716714, 0.009066232, -0.021977872, 0.011161763, 0.020480035, 0.0002285236, -0.0110825505, 0.029899122, -0.011305786, 0.027407529, -0.00045389668, -0.021992274, -0.009678328, 0.022193905, -0.011291384, -0.009059031, 0.026384966, 0.009541507, -0.003343128, 0.011471412, -0.018794969, 0.005584482, 0.053288415, -0.03001434, -0.048967734, 0.009714334, 0.047124244, 0.0367258, 0.02691785, 0.0021891457, -0.040441588, 0.042256273, 0.0012773017, -0.008072475, -0.013890994, 0.017383546, -0.026730621, -0.02166102, 0.03635134, 0.043725304, -0.033154037, 0.04343726, 0.022769997, -0.0075972, -0.012378755, 0.02425343, -0.013624552, 0.03721548, -0.026889047, 0.015612066, 0.021358574, -0.0024393853, -0.0039858297, 0.000930747, 0.027436333, 0.0045295153, -0.026053715, -0.042083446, 0.00026374165, -0.027738782, -0.014726326, 0.03260675, 0.023302881, 0.047642723, -0.00030717353, 0.023130054, -0.03159859, 0.043840524, -0.014935159, -0.003730189, 0.04133453, -0.03963506, 0.0033953362, -0.031137718, 0.029553467, 0.0099447705, -0.012760416, 0.016288973, -0.007330758, 0.06659612, 0.019615898, -0.008094078, -0.024728706, 0.025679255, -0.040038325, -0.031771418, -0.03450785, 0.06411893, 0.03571764, 0.005246029, 0.015482445, -0.011550624, 0.009440691, -0.040297564, 0.0039462233, 0.03730189, -0.020336011, -0.002259357, -0.03436383, 0.050177526, 0.0026860242, 0.004313481, 0.011132958, -0.001652661, -0.016317777, -0.028286068, 0.014906354, -0.016216962, 0.00639461, 0.014848745, -0.0051776175, -0.008648566, -0.01038404, 0.008965416, 0.00048922724, 0.0029092594, -0.020408023, 0.012112313, -0.006041754, -0.01653381, -0.029841512, -0.0066646524, 0.0116658425, 0.0018920988, 0.017988442, -0.000027609049, 0.03957745, -0.0016436595, -0.014063821, 0.017239522, 0.013048461, -0.019342255, 0.057436273, 0.030619236, -0.013365311, -0.034968723, -0.04332204, 0.002614013, 0.029553467, 0.0015698479, 0.005386451, -0.038511682, 0.0074243727, 0.03819483, 0.010916924, 0.013437322, -0.016418593, 0.0025239987, 0.018578934, -0.007021109, -0.010895321, -0.005282034, -0.01683626, 0.026817035, 0.004198263, -0.017541971, 0.008122883, -0.0012863032, 0.003001074, 0.022957226, -0.019097416, 0.012983651, 0.030590432, 0.0035987685, -0.0015239407, -0.027277907, -0.027926011, -0.013343708, -0.03318284, -0.000874038, 0.011493015, 0.0058401222, 0.015338423, -0.026874645, 0.00259601, 0.02037922, 0.023144456, 0.017657189, 0.022611571, -0.006311797, -0.01120497, -0.008583755, 0.004457504, -0.025535233, 0.010672086, 0.006945497, 0.039404623, 0.022165101, 0.032750774, 0.013005254, -0.0036743802, 0.024022995, -0.01938546, -0.025045555, -0.0047455495, -0.027004264, 0.0030604834, 0.0073739644, 0.01767159, 0.026989862, 0.026212139, -0.0045295153, -0.031166522, -0.014647113, -0.02367734, -0.030302387, -0.0063730064, 0.010333632, -0.008619761, 0.034104586, -0.044733465, -0.023331685, -0.0033125232, -0.022395536, 0.020724874, 0.01918383, -0.035400793, 0.045943256, 0.000937048, 0.013775776, -0.030215973, -0.013660558, -0.04545358, -0.010808907, -0.012839627, -0.010974533, 0.013991809, 0.011500216, 0.03007195, 0.017239522, -0.0120331, -0.010412845, -0.0053720484, -0.02817085, -0.011219372, -0.010283224, 0.06181456, 0.0041946624, -0.034623068, 0.021257758, -0.015554457, 0.03949104, 0.0066754543, 0.021056125, 0.008374923, -0.036005687, -0.0033647313, 0.013322104, -0.022755593, 0.0028588516, -0.008619761, -0.01291884, 0.0031865032, 0.064464584, -0.0030730853, 0.016418593, 0.029611077, 0.0043530874, -0.023893373, 0.00014019714, 0.016735444, 0.018118061, -0.013077266, 0.012335548, 0.030849673, 0.011039344, -0.0018993, -0.0088646, -0.018982198, -0.004407096, -0.032462727, 0.034421436, -0.0050371955, 0.014366269, -0.0025762068, -0.0012944044, 0.014661516, 0.010009581, -0.0047707534, -0.004093847, 0.00071426283, -0.009613519, 0.012083508, 0.0038346057, 0.018334096, 0.02520398, 0.006830279, -0.002925462, 0.008706175, -0.011457009, 0.0043278835, -0.008338917, 0.009152645, 0.035314377, 0.01317088, 0.036898628, -0.039404623, -0.011889078, -0.020998517, 0.005368448, 0.014222247, 0.00018250382, 0.0071327267, 0.02019199, -0.016216962, -0.0044683055, -0.009210255, 0.003526757, -0.0007687214, 0.008461337, 0.0029236618, 0.018478118, -0.01564087, 0.023000432, -0.035688836, 0.036322538, 0.014963963, 0.009613519, -0.018982198, -0.0023007633, -0.008346118, -0.0048067593, 0.046375323, 0.016922673, -0.02058085, 0.008187694, -0.023590926, 0.03407578, 0.034911115, 0.00772682, -0.02557844, 0.000029029585, 0.0034043377, 0.0074243727, 0.00987276, 0.03249153, -0.035602424, -0.027450735, 0.039289404, 0.006282992, -0.050926443, -0.0043350845, -0.0035681636, 0.011327389, 0.018031647, 0.002995673, -0.013055662, -0.007611602, 0.019932749, 0.02425343, -0.03620732, -0.008583755, -0.0027454337, -0.012076307, -0.0007502685, -0.016346581, -0.001874096, 0.0093686795, 0.022222709, -0.00030222273, -0.0026824237, 0.020091172, 0.021733033, -0.019025404, 0.013070065, 0.020163184, -0.011003338, 0.014647113, 0.015684078, 0.01443828, -0.0018092857, -0.0020595253, 0.00715433, -0.039087772, 0.0065530348, 0.011644239, -0.004032637, -0.017325936, -0.0055520767, 0.00310189, -0.02259717, -0.00626859, -0.0081948945, -0.0038454074, 0.011219372, -0.00671146, -0.019889541, 0.033816542, -0.002932663, 0.042515516, -0.008850198, 0.004803159, -0.02095531, -0.007856441, -0.0016220562, -0.012681203, 0.037762765, 0.008338917, 0.0003659078, 0.019716714, 0.059798244, -0.023389295, -0.0023079645, 0.010369638, 0.03217468, -0.017873222, -0.01513679, -0.009851156, 0.048420448, -0.025794474, -0.0013394116, -0.035861664, -0.008137285, 0.010909723, 0.0082236985, 0.024887132, -0.020969711, -0.009570312, 0.0059337374, -0.014114229, 0.011291384, 0.020336011, 0.043754112, -0.017714798, 0.023691742, -0.02880455, -0.009275065, 0.0050371955, 0.033326864, 0.017570775, -0.0116586415, 0.04502151, -0.01595772, -0.030446408, 0.024152614, 0.027940413, -0.011917883, -0.0005562879, -0.008662968, 0.018334096, -0.020840092, -0.032232292, 0.031944245, 0.021949066, -0.008317313, -0.0013475128, -0.0063334005, 0.0062325844, 0.0041514556, 0.02007677, 0.0075251884, 0.021286562, -0.0021153342, 0.001379918, -0.04640413, -0.015712881, -0.016375387, -0.0037877983, -0.012746013, 0.0046051275, 0.009779144, 0.03678341, 0.023346087, -0.01335811, -0.031368155, -0.016980281, 0.009786346, -0.03900136, -0.002171143, -0.0015149392, 0.029279824, 0.008626962, -0.018204475, 0.03436383, -0.027378725, 0.015669676, -0.042889975, 0.023763753, 0.0116514405, -0.010614476, 0.0064054118, 0.046144888, 0.00734516, -0.000060365783, -0.033211645, 0.017181914, 0.00601655, 0.035170354, 0.00048517663, -0.0379932, 0.05513191, -0.037705153, 0.001475333, -0.020292806, 0.0024339843, 0.02893417, -0.0018470917, 0.0064486186, 0.008468538, -0.019903943, 0.029841512, -0.007842039, -0.020696068, 0.02190586, 0.003596968, -0.024642292, 0.010902522, 0.011853072, -0.017009087, -0.0025618046, -0.00066250464, 0.051185682, -0.0075827977, -0.027234701, 0.0033773335, -0.021243354, 0.021704229, 0.010931326, -0.023547718, -0.01120497, -0.006761868, 0.029164607, 0.015741685, -0.03324045, 0.017455557, -0.0064198137, -0.032693163, 0.020508839, 0.030532822, -0.013811781, 0.010902522, -0.001557246, 0.031252936, -0.02037922, 0.008886203, 0.03842527, -0.0010900722, 0.008238101, -0.002925462, 0.006779871, 0.038914945, -0.0041334527, -0.023058042, 0.03090728, -0.008252503, 0.02071047, 0.021430586, -0.020854494, 0.020537643, 0.0075107864, 0.00072911516, 0.022453146, 0.018262085, -0.0018164869, -0.007698016, -0.0038382062, 0.024973543, -0.013307702, 0.014776734, 0.026298553, 0.06602003, -0.024915935, 0.022395536, 0.017426752, 0.027364321, -0.0016994684, -0.012911639, 0.030187167, 0.03096489, 0.035227966, -0.04196823, 0.027105082, 0.011183366, 0.00065305317, -0.0039858297, -0.012263536, -0.03836766, 0.012637996, -0.010916924, 0.011766658, -0.011010539, 0.023101248, -0.0029776702, 0.0131060695, 0.00096135185, 0.009671127, 0.008108481, 0.022136297, 0.008828594, -0.007489183, 0.0093542775, -0.02684584, 0.012011497, -0.041392136, -0.031742614, -0.03505514, -0.027637966, 0.02052324, -0.0007034611, -0.015928917, 0.023648536, 0.011248177, -0.037474718, 0.04418618, 0.024786314, -0.035314377, 0.030475212, 0.040355172, -0.010924125, -0.014351867, -0.002437585, -0.009469495, -0.018118061, -0.013624552, 0.0051704166, -0.024195822, -0.0042522717, -0.044647053, -0.006819477, -0.035199158, 0.01291884, 0.013811781, -0.037820373, 0.036812212, 0.011255378 ]
2310.12397
14
5. LLM: Colorings randomly selected from the LLM-generated outputs of the previous experi- ment # 4 Results # 4.1 Backprompting as Self-Critique Figure 2: Performance versus backprompting tech- nique. Correctness is evaluated for the response the verifier claims as correct, or after 15 iterations. Figure 3: Performance versus sampling technique. An instance is marked correct if any answer in the top n was correct. _ Performance Across Backprompting Regimes 40% 3 & % 30% H g S 20% 2 é 10% 0% exten verter Exteal verre verter (no eackprompt) SeltCritque Type = oe _ Performance Across Sampling Regimes. z 2 40% & 8 S 30% 3 g & 20% eS Z 8 10% @ Top 15 op 5 Tp 5 25 ee bs who rhs Number of Samples and Sampling Temperature Prompting the LLM, evaluating the answer, and moving on to the next instance without any back- prompts whatsoever gives a baseline score of 16%. When we run the same instances, but this time backprompt the LLM with feedback generated by the same language model acting as a verifier, performance plummets–only a single instance of the 100 was answered correctly. 5 # Table 1: Summary of Backprompt Techniques Example Prompt
2310.12397#14
GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems
There has been considerable divergence of opinion on the reasoning abilities of Large Language Models (LLMs). While the initial optimism that reasoning might emerge automatically with scale has been tempered thanks to a slew of counterexamples, a wide spread belief in their iterative self-critique capabilities persists. In this paper, we set out to systematically investigate the effectiveness of iterative prompting of LLMs in the context of Graph Coloring, a canonical NP-complete reasoning problem that is related to propositional satisfiability as well as practical problems like scheduling and allocation. We present a principled empirical study of the performance of GPT4 in solving graph coloring instances or verifying the correctness of candidate colorings. In iterative modes, we experiment with the model critiquing its own answers and an external correct reasoner verifying proposed solutions. In both cases, we analyze whether the content of the criticisms actually affects bottom line performance. The study seems to indicate that (i) LLMs are bad at solving graph coloring instances (ii) they are no better at verifying a solution--and thus are not effective in iterative modes with LLMs critiquing LLM-generated solutions (iii) the correctness and content of the criticisms--whether by LLMs or external solvers--seems largely irrelevant to the performance of iterative prompting. We show that the observed increase in effectiveness is largely due to the correct solution being fortuitously present in the top-k completions of the prompt (and being recognized as such by an external verifier). Our results thus call into question claims about the self-critiquing capabilities of state of the art LLMs.
http://arxiv.org/pdf/2310.12397
Kaya Stechly, Matthew Marquez, Subbarao Kambhampati
cs.AI
18 pages, 3 figures
null
cs.AI
20231019
20231019
[ { "id": "2206.10498" }, { "id": "2306.03872" }, { "id": "2303.11366" } ]
{ "authors": "Kaya Stechly, Matthew Marquez, Subbarao Kambhampati", "chunk_id": 14, "doc_id": "2310.12397", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12397", "summary": "There has been considerable divergence of opinion on the reasoning abilities\nof Large Language Models (LLMs). While the initial optimism that reasoning\nmight emerge automatically with scale has been tempered thanks to a slew of\ncounterexamples, a wide spread belief in their iterative self-critique\ncapabilities persists. In this paper, we set out to systematically investigate\nthe effectiveness of iterative prompting of LLMs in the context of Graph\nColoring, a canonical NP-complete reasoning problem that is related to\npropositional satisfiability as well as practical problems like scheduling and\nallocation. We present a principled empirical study of the performance of GPT4\nin solving graph coloring instances or verifying the correctness of candidate\ncolorings. In iterative modes, we experiment with the model critiquing its own\nanswers and an external correct reasoner verifying proposed solutions. In both\ncases, we analyze whether the content of the criticisms actually affects bottom\nline performance. The study seems to indicate that (i) LLMs are bad at solving\ngraph coloring instances (ii) they are no better at verifying a solution--and\nthus are not effective in iterative modes with LLMs critiquing LLM-generated\nsolutions (iii) the correctness and content of the criticisms--whether by LLMs\nor external solvers--seems largely irrelevant to the performance of iterative\nprompting. We show that the observed increase in effectiveness is largely due\nto the correct solution being fortuitously present in the top-k completions of\nthe prompt (and being recognized as such by an external verifier). Our results\nthus call into question claims about the self-critiquing capabilities of state\nof the art LLMs.", "text": "5. LLM: Colorings randomly selected from the LLM-generated outputs of the previous experi- ment\n# 4 Results\n# 4.1 Backprompting as Self-Critique\nFigure 2: Performance versus backprompting tech- nique. Correctness is evaluated for the response the verifier claims as correct, or after 15 iterations. Figure 3: Performance versus sampling technique. An instance is marked correct if any answer in the top n was correct. \n_ Performance Across Backprompting Regimes 40% 3 & % 30% H g S 20% 2 é 10% 0% exten verter Exteal verre verter (no eackprompt) SeltCritque Type = oe\n_ Performance Across Sampling Regimes. z 2 40% & 8 S 30% 3 g & 20% eS Z 8 10% @ Top 15 op 5 Tp 5 25 ee bs who rhs Number of Samples and Sampling Temperature\nPrompting the LLM, evaluating the answer, and moving on to the next instance without any back- prompts whatsoever gives a baseline score of 16%. When we run the same instances, but this time backprompt the LLM with feedback generated by the same language model acting as a verifier, performance plummets–only a single instance of the 100 was answered correctly.\n5\n# Table 1: Summary of Backprompt Techniques Example Prompt", "title": "GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems", "year": 2023 }
[ 0.014580805, 0.007763255, 0.02166654, 0.0018349512, 0.012555301, 0.026818518, 0.022019414, 0.0054060486, 0.02276751, 0.07204301, 0.039126806, -0.018293053, -0.044349357, 0.019958623, -0.003325849, -0.039465565, 0.01555474, -0.042119186, 0.010847385, 0.019577518, 0.009979311, -0.012273001, 0.023261536, 0.040086627, 0.025618741, -0.018236592, -0.010127519, -0.021172514, 0.027185507, -0.03054488, 0.019478712, -0.034186553, -0.04206273, -0.036049735, -0.019422254, 0.07526123, 0.038731586, -0.006641112, 0.0033981884, -0.004206273, -0.021483045, -0.039465565, -0.036360264, -0.026564447, 0.028314708, 0.05787154, 0.0049331957, -0.0092594465, -0.0067434455, 0.0059388904, -0.050672885, 0.05837968, 0.02958506, -0.0132681085, 0.017615533, -0.017432036, -0.024785956, -0.012138908, 0.013098729, -0.02986736, 0.034920532, -0.041244056, -0.0063623404, -0.014390252, 0.0054836813, -0.027792454, -0.01507483, 0.012117735, 0.04776519, 0.036303803, -0.004146284, 0.028597008, 0.04375653, 0.009725241, -0.04801926, 0.058153838, 0.0590572, 0.0143267345, 0.018660042, -0.022386406, 0.019521058, 0.0051660934, 0.036077965, -0.043474227, 0.017163852, -0.015258325, -0.008207878, -0.00086322107, -0.036783714, -0.038646895, -0.0054236925, 0.0070645623, -0.0056777624, 0.04807572, 0.07221239, -0.0074809548, 0.0002842851, -0.019577518, 0.03060134, 0.038195215, 0.034468852, -0.009901679, -0.0117084, -0.05837968, 0.040566538, 0.019224642, -0.009400596, -0.005116691, -0.028342938, -0.01527244, -0.052592523, -0.02913338, -0.04753935, -0.026409183, 0.02451777, -0.013063441, -0.04816041, -0.043107238, 0.001360334, -0.042232107, -0.02938745, 0.021962954, 0.025181176, -0.04734174, -0.008941858, -0.02978267, 0.050503504, -0.049063772, 0.027143164, -0.0072198273, 0.037489466, -0.011094397, 0.02158185, -0.0011627239, -0.011214375, 0.039663177, -0.019902162, -0.0139174, -0.016881552, -0.008356086, -0.011376698, -0.012816428, 0.0008764539, 0.025322327, -0.00080764317, 0.016627481, -0.036106195, 0.035739202, -0.006224719, 0.018490663, -0.0073115746, 0.00011159679, -0.024376621, 0.04336131, -0.0320693, -0.036219113, -0.016683942, 0.04762404, -0.03359372, -0.00077103236, 0.04728528, -0.012294173, 0.039070345, -0.007819715, -0.018914113, 0.004844977, -0.027552499, 0.017432036, -0.070800886, -0.014665495, -0.0021066652, 0.001730853, 0.018010752, -0.039747868, 0.017940177, -0.038110524, 0.0057659815, -0.016980356, 0.02336034, -0.01465138, -0.027707763, 0.047454663, 0.025421131, 0.0049967133, 0.016669827, -0.026719712, 0.019619863, 0.005984764, -0.028032409, -0.04285317, -0.009541746, 0.025421131, 0.07435787, -0.0023342697, -0.020509109, -0.041469898, 0.06447736, 0.014333792, -0.004873207, -0.021497158, -0.020847868, 0.02918984, 0.035456903, -0.052366685, 0.0599041, 0.0011997758, -0.0028635825, -0.0035887412, -0.026253918, -0.003849869, 0.035146374, 0.009972254, 0.062049583, 0.015935846, -0.04624077, 0.039522026, -0.040566538, 0.013733904, 0.005113162, 0.07616459, -0.0013920928, 0.026507987, 0.029048689, -0.02916161, 0.0031617621, 0.052536063, 0.018984688, -0.026747942, 0.0007075148, -0.056008358, 0.037094243, -0.018250708, -0.039522026, -0.007678565, 0.0053143012, -0.03254921, -0.0027189036, 0.0021966484, 0.013585697, -0.04731351, 0.054483935, -0.02118663, 0.043530688, -0.051406864, -0.0078056003, 0.041272286, -0.03181523, 0.00395926, 0.011376698, 0.0041674566, -0.03133532, -0.012138908, -0.039860785, -0.056855258, -0.0309401, -0.004714413, -0.008638386, -0.011729573, -0.03215399, -0.028526435, -0.03068603, 0.01594996, -0.017926062, 0.06278356, -0.005970649, -0.010896787, -0.033198502, -0.013649214, -0.023275651, -0.031561162, -0.013656272, -0.007092792, 0.010755637, 0.008878341, 0.017742567, -0.07740671, 0.035823893, 0.00769268, -0.022838086, 0.038421057, -0.039550256, 0.010649774, 0.0009959904, 0.04516803, 0.012280058, -0.01490545, -0.043079007, 0.0018455375, 0.008744248, -0.005303715, -0.009104181, -0.036783714, 0.037235394, -0.00817259, 0.010282785, 0.0002331182, 0.009689954, 0.010409819, 0.00797498, 0.01722031, 0.029246299, 0.021751229, -0.027256083, -0.022809856, -0.02234406, 0.027891258, -0.0064787893, -0.010120462, -0.05837968, -0.006909297, -0.0012235949, -0.0030894226, -0.012781141, 0.0451398, 0.001018045, -0.050870493, 0.02986736, 0.009471172, 0.03014966, -0.04722882, -0.0058930162, 0.009718184, 0.020720834, -0.004756758, 0.005441336, -0.009217101, -0.03441239, 0.0034952292, -0.006923412, 0.012717623, -0.017742567, -0.02930276, 0.0043968256, 0.009577034, 0.021906495, -0.008109073, -0.0315047, 0.025675202, 0.022640474, 0.040114857, -0.07057504, 0.04446228, 0.018024867, 0.012844658, 0.0016938011, -0.00571305, 0.022414634, 0.004746172, 0.055387296, 0.04508334, 0.011242605, -0.020876098, 0.0013841531, -0.003241159, 0.00755153, 0.03311381, -0.019295217, -0.007925577, -0.015173635, 0.035965044, 0.013134016, 0.028018294, 0.01479253, -0.0028406456, 0.0076715075, 0.065719485, -0.006694043, -0.040425386, 0.051293943, 0.014192642, -0.02828648, 0.054681547, 0.0017158558, 0.035767432, -0.04618431, -0.02429193, -0.0019919807, 0.015032485, 0.012265943, 0.016415756, -0.038731586, -0.038223445, 0.004358009, -0.017544957, 0.038251676, 0.03218222, 0.008525466, -0.014976025, -0.06346108, -0.014362022, -0.043982368, -0.03189992, -0.057250477, -0.014524344, 0.06543718, 0.07819715, -0.016980356, 0.06227542, 0.046269, 0.0485274, -0.0016717464, -0.008984203, -0.04900731, 0.017813142, -0.023275651, -0.009005376, -0.024630692, 0.02299335, 0.027679533, 0.004047479, 0.039352644, -0.041836888, 0.016613366, -0.0048626205, -0.0017149736, -0.065775946, 0.069897525, 0.02138424, 0.026818518, 0.03048842, -0.019732783, -0.010741523, -0.0029200425, -0.034130093, 0.036586106, 0.0003808847, -0.034694694, -0.02986736, 0.017883716, -0.028639354, -0.03390425, 0.051011644, 0.017389692, -0.0042239167, -0.0073115746, -0.04553502, -0.018476548, -0.016613366, -0.006044753, -0.066622846, -0.0024507185, 0.01741792, -0.029472139, 0.0011433158, -0.02828648, -0.012781141, -0.056629416, -0.026719712, 0.010776809, -0.02536467, -0.033226732, 0.00217724, 0.028780503, 0.034948763, -0.022386406, -0.057673927, 0.08384316, -0.0068034343, 0.040397156, -0.024221355, 0.002457776, -0.031194171, 0.0306578, -0.00743861, 0.018504778, 0.035852123, -0.03444062, 0.020424418, 0.028427629, -0.0039416165, -0.021595964, 0.0028000649, 0.023684986, -0.03528752, -0.033847794, 0.015343015, 0.0020766708, -0.013077556, 0.020269154, -0.0440106, 0.051660933, -0.0056565898, 0.038138755, -0.014037377, -0.0060518105, 0.05781508, 0.019619863, 0.002491299, -0.038618665, -0.018561237, 0.0012024223, -0.026423298, 0.012922291, -0.017403806, 0.03088364, -0.023289766, 0.037574153, 0.02180769, 0.020452648, -0.0075444723, -0.05524615, -0.036783714, -0.03085541, 0.04417998, 0.039155036, 0.003470528, 0.028766388, -0.011362582, 0.026903208, 0.005586015, -0.003241159, -0.009873449, -0.0014335556, -0.015964076, -0.028752275, 0.00015272881, -0.028201789, 0.027086703, -0.008532523, 0.04609962, 0.0060341666, 0.0036346149, -0.013557467, -0.006055339, 0.02367087, -0.04547856, -0.015032485, -0.052479606, -0.0035693329, -0.018758848, 0.012710566, -0.015907615, -0.020664373, -0.0030700145, -0.02076318, 0.0007851474, 0.0031494114, -0.0130563835, -0.05027766, -0.037009556, 0.018984688, 0.037235394, 0.031956382, 0.00828551, 0.0067399167, -0.0077420827, 0.050334122, 0.0021172515, 0.0046508955, 0.00050725817, 0.026042191, -0.07260761, -0.019831588, -0.019648094, -0.008080843, -0.0065070195, -0.017799027, 0.010600372, -0.024560116, -0.0075233, 0.026635023, 0.0010850914, 0.011094397, -0.03229514, -0.0069022398, -0.0007772077, 0.032831512, 0.041300517, 0.023656756, 0.043982368, -0.025110602, -0.015992306, 0.020890214, -0.0017749624, 0.016076995, -0.069163546, 0.021962954, -0.0056389463, 0.02513883, 0.018349512, -0.018476548, -0.028568778, -0.007248057, 0.025604626, -0.009689954, 0.015117175, -0.004816747, 0.01179309, -0.02893577, 0.0008283746, 0.01518775, -0.0026871448, -0.020212693, 0.0140162045, -0.010572142, 0.035880353, 0.009922852, -0.028893424, -0.015992306, -0.025110602, 0.013084614, 0.03130709, 0.02916161, 0.012040103, 0.023501491, 0.036049735, -0.011383755, 0.026451528, 0.047906343, -0.013035211, -0.012188311, -0.003955731, -0.026112767, -0.0023713217, -0.022555785, -0.0056530614, 0.0118495505, 0.0025971618, 0.02138424, -0.006087098, -0.010148692, 0.039409105, -0.00393103, -0.0076009324, 0.03229514, -0.018250708, -0.011574307, -0.025110602, 0.0056495327, 0.020523224, -0.052846596, -0.017954292, 0.024207242, 0.007565645, -0.013183419, 0.02245698, 0.024080206, 0.019789243, -0.019831588, -0.01145433, 0.02358618, -0.0047779307, -0.016133456, -0.039522026, -0.0041851, -0.042288568, 0.015088945, -0.012329461, -0.012082448, -0.037376545, -0.03317027, -0.06250126, 0.02806064, -0.008412546, 0.021003135, 0.0061717876, 0.0008918921, 0.011277893, -0.02446131, -0.017926062, -0.021483045, -0.016627481, -0.024955336, -0.02448954, -0.0070328033, 0.027580729, -0.0046297233, 0.009633494, -0.008525466, -0.021341894, -0.041469898, -0.00350758, 0.03297266, 0.0096193785, -0.027171394, -0.005455451, -0.011200259, -0.033621952, -0.014044434, -0.015540625, -0.011200259, -0.015540625, -0.068994164, -0.03300089, -0.01628872, 0.020509109, 0.02324742, 0.0074315523, 0.0079890955, -0.0044426993, -0.014129125, -0.00783383, 0.020509109, -0.01530067, 0.0016682177, 0.0025442303, -0.01572412, 0.039380874, -0.01111557, -0.0661147, -0.020367958, 0.012414151, 0.027072588, -0.018744733, 0.0041851, -0.04816041, -0.021708885, 0.01555474, 0.052987743, -0.014157354, -0.021271318, -0.0027153748, -0.04858386, 0.017601417, -0.018194247, -0.00729746, -0.017657876, -0.042090956, -0.0078056003, -0.018109556, -0.026479758, 0.007565645, -0.033819564, -0.009795817, -0.012661164, 0.010988534, -0.00047241172, 0.020593798, 0.0242637, -0.004929667, 0.000675315, 0.016712172, 0.027241968, -0.02276751, -0.016782746, 0.016810976, -0.04161105, -0.0065176054, 0.020410303, -0.035089914, -0.0005218143, -0.018405972, 0.011609595, 0.02400963, 0.010311014, 0.026860863, -0.0044956305, 0.016218146, -0.019168183, 0.013529236, -0.031532932, 0.012611761, -0.0022601658, 0.0014829582, 0.017841373, -0.0058894875, 0.004047479, -0.029923819, -0.027439578, 0.036529645, -0.016655711, 0.007876175, -0.024348391, -0.019450482, -0.0027965363, -0.0008521937, -0.01159548, -0.031561162, 0.038505744, -0.0060623963, 0.0038816275, -0.015230095, 0.0295286, 0.0036046205, 0.039522026, -0.019930393, 0.03212576, 0.008694846, -0.01544182, 0.0012985809, -0.027721878, -0.006327053, -0.02321919, -0.023148615, -0.0035499248, 0.02076318, -0.023289766, 0.041723967, -0.03020612, -0.041639276, -0.03051665, -0.04556325, -0.01552651, -0.012872889, 0.013105786, 0.023910826, -0.0040651225, -0.108572654, -0.0011706636, 0.027580729, -0.019408138, -0.0013638628, 0.015794696, 0.03082718, -0.019761013, -0.025646972, -0.018363627, 0.0147501845, 0.005095518, -0.009322964, -0.027693648, -0.025774008, -0.07277699, 0.0017140914, -0.020438533, 0.020170348, -0.03393248, -0.011877781, -0.00081337744, -0.035174605, 0.0003288356, -0.015822925, -0.028893424, -0.026324492, 0.0082996255, -0.007106907, 0.009831104, -0.0045203315, 0.018801192, 0.04432113, -0.0026818519, -0.025999848, -0.04816041, -0.01103088, -0.016712172, -0.01213185, -0.010508625, -0.0006797259, -0.0033293779, 0.019619863, -0.007847945, 0.035485134, -0.023430916, 0.019986853, 0.009301791, 0.02101725, -0.01125672, -0.020946674, 0.009217101, 0.012816428, -0.019746898, -0.004273319, 0.017460266, 0.00020444709, -0.012879946, -0.03209753, 0.008165533, -0.0005363704, -0.009061836, 0.019577518, -0.034666464, -0.009019491, -0.017177965, -0.017333232, 0.042542636, 0.022075875, -0.0074809548, 0.010473337, 0.027721878, -0.008927743, 0.026338607, -0.02206176, 0.020156233, 0.018095441, 0.0242637, -0.020523224, 0.04581732, 0.026451528, -0.019930393, 0.013098729, 0.02933099, -0.0059600626, -0.012343575, 0.022781625, -0.025350558, -0.02995205, 0.04338954, 0.0011300829, -0.025025912, -0.014693725, 0.0031688197, -0.026945552, 0.00591066, 0.003860455, 0.023572065, 0.03274682, -0.0057059927, 0.026338607, 0.028639354, -0.04559148, -0.03192815, 0.009012434, 0.0099440245, -0.0006810492, 0.016810976, 0.03082718, 0.0074315523, 0.03062957, -0.00061223854, 0.0039522024, 0.037630614, -0.0054060486, 0.051971465, 0.049656603, -0.022781625, 0.06374338, -0.018914113, 0.028046524, 0.02955683, -0.026282147, -0.01072035, -0.015794696, -0.0105791995, -0.000044440225, 0.0050531733, -0.02978267, 0.016274605, -0.0074244947, 0.019563403, -0.00814436, -0.008955973, -0.027679533, -0.004146284, -0.014891335, -0.0016152863, -0.04113114, 0.0059353616, 0.009591149, 0.02101725, 0.036134426, -0.020297384, -0.006242363, -0.020396188, 0.036811944, -0.038449284, 0.0022337001, 0.01631695, 0.001097442, -0.010903845, 0.001496191, 0.038223445, 0.00079838024, 0.006097684, 0.021341894, -0.023910826, 0.0442929, -0.0053213583, 0.01558297, 0.01676863, -0.016881552, 0.008828938, -0.005000242, -0.015738236, -0.008991261, 0.014086779, -0.017050931, 0.052451376, -0.025068257, -0.053270046, 0.019266987, 0.011383755, 0.023035696, 0.03054488, 0.019845704, 0.03212576, 0.016232261, -0.0019196413, -0.010656832, 0.055020306, -0.033763103, 0.024927106, 0.034073632, -0.009372367, 0.037461236, 0.024249585, -0.013359856, -0.0013118137, 0.03398894, 0.0023042753, 0.051265713, 0.022894545, 0.01544182, -0.006951642, 0.027947718, 0.014623149, -0.00718454, -0.03297266, -0.034073632, 0.02276751, -0.012816428, -0.012400036, 0.0058506713, 0.028300595, -0.012400036, -0.005003771, -0.037856456, 0.03528752, -0.02336034, 0.013225764, -0.035908584, 0.01060743, 0.0072551146, -0.02361441, -0.019888049, 0.000045019162, -0.027467808, -0.00011435363, -0.014848989, -0.010176921, -0.01524421, 0.06792142, -0.004696769, -0.022809856, 0.019436369, -0.04293786, 0.0030682501, 0.009478229, 0.025167061, -0.010995592, -0.008207878, -0.00040315997, -0.04773696, -0.03000851, -0.011870723, -0.040425386, -0.022358175, -0.011651941, 0.024080206, -0.020847868, -0.03074249, 0.025943387, 0.014086779, -0.01628872, 0.009584092, 0.004005134, -0.025717547, -0.018222477, -0.019633979, -0.0029747381, 0.011468445, -0.037433006, 0.007262172, -0.010699177, 0.0018561237, 0.04672068, 0.034525312, 0.038223445, -0.026013963, -0.001346219, 0.012774084, -0.03164585, -0.014129125, -0.007939693, -0.012068333, 0.0063446965, -0.008913629, -0.002406609, -0.036981326, 0.01487722, 0.03390425, 0.050164744, -0.02290866, 0.005095518, 0.010282785, -0.009287676, -0.0048979083, -0.02381202, -0.009859334, -0.0028194732, -0.00092894403, -0.013578639, -0.01179309, -0.0026112767, -0.025491707, -0.00848312, 0.019972738, -0.012950521, 0.02916161, 0.032916203, -0.0116872275, -0.0009011551, -0.010755637, -0.014206757, -0.0075233, 0.0012121265, 0.00735392, -0.038223445, -0.0002489976, 0.04810395, 0.040086627, -0.061146222, 0.0234168, 0.031024791, 0.0087230755, -0.012978751, -0.022019414, 0.0047638156, -0.017982522, 0.021031365, 0.0074315523, -0.0127952555, -0.017050931, 0.0012835837, 0.018744733, -0.02941568, -0.026649138, 0.0149619095, -0.0041533415, -0.0045909067, -0.0064329156, -0.020226808, -0.012887004, -0.007205712, -0.0076291626, -0.0011556664, 0.013155188, 0.0010445107, 0.019958623, -0.0019778656, -0.015780581, 0.0035887412, -0.012901119, 0.009118296, -0.031024791, -0.005670705, 0.019196413, -0.013501006, 0.039634947, 0.019958623, 0.014848989, -0.02268282, -0.016585136, 0.028314708, -0.0062917653, -0.016669827, -0.011651941, -0.0046685394, 0.08740014, -0.024207242, -0.007967923, 0.013409259, 0.013444547, 0.029923819, 0.005356646, 0.026042191, -0.018787077, 0.012781141, 0.0065034907, 0.025223522, -0.008955973, -0.010353359, 0.013141073, 0.019450482, -0.0016629245, 0.035880353, 0.053044204, 0.019549288, 0.04370007, 0.008158475, 0.02536467, 0.0035658043, -0.03232337, 0.018123671, 0.013797422, 0.022809856, 0.017290886, 0.021539504, 0.012082448, 0.006496433, -0.012195368, 0.025576398, -0.043558918, -0.02251344, -0.00579774, 0.041667506, 0.0060024075, -0.0016188151, -0.0102051515, 0.002270752, 0.010198094, 0.005896545, -0.015935846, 0.009831104, -0.0295286, 0.0073892074, 0.014524344, 0.016613366, -0.00082484586, -0.022951005, -0.012915233, -0.010988534, 0.017996637, -0.04403883, 0.010685062, 0.013098729, 0.02279574, 0.013571582, -0.04192158, 0.018956458, -0.018250708, 0.0021631252, -0.016133456, -0.016881552, -0.047398202, 0.023487376, -0.04463166, 0.007840888, -0.013903284, -0.019351678, -0.004089824, 0.0067752046, -0.009753471, -0.0025636386, 0.040312465, -0.0049790693, 0.028371168, -0.00036831351, 0.026550332, 0.012851716, -0.03345257, -0.03438416, 0.0008720429, 0.035231065, -0.013910342, -0.026945552, -0.013148131, -0.034779385, -0.014037377, 0.026225688, 0.0070292745, 0.021031365, -0.01547005, -0.0088853985, -0.0012879946, 0.02944391, -0.0021260732, -0.01487722, 0.004061594, -0.01648633, -0.0013435724, -0.014524344, -0.017206196, -0.017206196, -0.069897525, -0.020579683, 0.015653545, 0.02056557, -0.01515952, -0.026578562, 0.0039063287, -0.01100265, -0.012520013, -0.005201381, 0.0065458356, 0.020071544, -0.013635099, -0.03060134, -0.00061973714, 0.023346225, 0.017262656, 0.024800071, 0.020678489, 0.01482076, 0.012717623, 0.0046544243, 0.01026867, 0.024150781, -0.01204716, -0.012788199, 0.010565084, 0.017516727, 0.017573187, 0.019873934, -0.010797982, -0.026126882, -0.005568371, -0.015879385, 0.0010824448, 0.026437413, -0.020156233, -0.006993987, -0.0031176526, 0.0069622286, 0.008306683, -0.0019761012, 0.016401641, 0.016923897, -0.021539504, 0.022527555, 0.018660042, 0.024701266, 0.0061647305, 0.033791333, -0.025011797, -0.0068881246, -0.006824607, -0.008645443, 0.017544957, -0.023063926, -0.017813142, 0.041272286, 0.042260338, 0.02961329, -0.019055262, -0.012089506, 0.035739202, -0.0155970855, 0.004605022, -0.0063940994, 0.004615608, -0.0044250553, -0.0454221, -0.031024791, -0.015851155, 0.038816277, -0.037658844, 0.006464674, -0.0061647305, -0.040510077, 0.00048432127, -0.019902162, -0.0011830142, -0.0020837283, 0.009217101, -0.010127519, 0.010882672, 0.0127952555, 0.027171394, -0.020128002, -0.027086703, -0.0018684744, 0.0045944354, 0.026042191, -0.017206196, 0.0028582893, 0.04152636, 0.0064046853, -0.0031141238, -0.038731586, 0.0054519223, 0.027326658, -0.0057342225, 0.032351602, -0.0022619301, 0.00035530125, 0.01592173, 0.0035375743, 0.028032409, -0.0016496917, -0.003555218, 0.013084614, 0.0013656272, -0.013169304, 0.034073632, -0.009224159, -0.026635023, -0.026140997, -0.01470784, -0.0127458535, -0.0005566607, 0.009104181, -0.018307166, -0.0017740802, 0.01148256, -0.0017767268, -0.039663177, 0.000680167, 0.012505898, 0.001684097, -0.02206176, 0.025110602, 0.03062957, 0.00729746, -0.014891335, -0.00097481784, -0.011080283, 0.016274605, -0.029500369, 0.014863105, 0.007953808, 0.019732783, -0.02324742, 0.06125914, 0.0300932, 0.04420821, -0.0000832565, 0.010120462, 0.019154068, -0.0092594465, -0.014037377, -0.011588423, 0.04194981, -0.068203725, -0.010191036, -0.02975444, 0.0028282949, 0.0033505503, -0.018631812, -0.025915157, -0.021751229, 0.03110948, -0.00057915645, 0.022725165, 0.0006938409, -0.011546077, -0.0046685394, -0.0035622756, -0.009400596, 0.03212576, -0.027637187, -0.0043968256, -0.013501006, -0.012576473, -0.019662209, -0.019408138, -0.023656756, -0.015681775, 0.0053672325, 0.028427629, -0.043022547, 0.00545898, -0.0071739536, 0.02873816, -0.018476548, 0.004961426, -0.01524421, 0.0010877379, 0.004816747, -0.0025689318, 0.01741792, -0.010487452, -0.027735993, -0.012668221, -0.014891335, -0.057194017, -0.036924865, 0.02358618, -0.04604316, -0.007960865, 0.01459492, 0.020297384, 0.028469974, 0.01510306, -0.023205075, 0.008610155, -0.027241968, -0.016218146, 0.009605264, 0.002805358, -0.025124718, 0.009668781, 0.034610003, -0.0030100257, -0.005614245, 0.009760529, -0.03480761, 0.0315047, -0.037997603, 0.0074174376, -0.013359856, -0.000035894027, 0.022442864, 0.0019990383, -0.018307166, -0.013282224, 0.004389768, -0.02121486, 0.04691829, 0.010515682, -0.0048202756, -0.0018596525, -0.0056918776, 0.012738796, 0.012802313, -0.010748579, 0.026028078, -0.009421769, -0.009294733, -0.0010577436, -0.004929667, -0.002918278, -0.006782262, 0.033311423, -0.0039839614, 0.005398991, -0.0009783466, 0.011334352, 0.010374532, 0.026437413, -0.0056636473, 0.03136355, -0.0068351934, -0.012844658, 0.04666422, 0.005356646, -0.03300089, 0.005201381, -0.012378863, -0.040368926, 0.027877143, 0.02536467, 0.0023483846, 0.021722998, -0.043474227, -0.034130093, -0.023459146, -0.018631812, -0.018603582, 0.040820606, 0.008927743, 0.0012562359, -0.010042829, 0.005116691, -0.020410303, -0.034751154, 0.00094394124, 0.0024171954, 0.02406609, -0.0440106, 0.03074249, -0.039522026, 0.0055366126, -0.02851232, -0.035033453, 0.01699447, -0.018250708 ]
2310.12773
14
3.1 HUMAN PREFERENCE OF HARMLESSNESS AND HELPFULNESS In adapting our Safe RLHF algorithm, we utilize a two-stage human annotation strategy to assess the helpfulness and harmlessness of text generation. We follow the annotation methodology outlined in Ji et al. (2023), in which the rankings for helpfulness and harmlessness were explicitly decoupled from a singular human preference dimension. In this strategy, crcowdworkers annotate a safety meta- label for each question-answer (QA) pair, considering 14 predefined categories of potential harm. A QA pair is labeled as “safe” only if it poses no risk across all 14 categories. Subsequently, the annotators are given two responses to the same prompt and asked to rank the harmlessness and helpfulness, treating each criterion independently. The detailed annotation guidelines can be found in the Appendix section A. Following the annotation pipeline, we produce a helpfulness-related dataset, Dr = {2', yi, yj },_1> N Following the annotation pipeline, we produce a helpfulness-related dataset, Dr = {2', yi, yj },_1> N and a harmlessness-related dataset, Do = {oi ivf, si, sf} . Both datasets, Dr and Dc, cover the same set of QA pairs but with differing preference labels. Within each pair in Dr, y/,
2310.12773#14
Safe RLHF: Safe Reinforcement Learning from Human Feedback
With the development of large language models (LLMs), striking a balance between the performance and safety of AI systems has never been more critical. However, the inherent tension between the objectives of helpfulness and harmlessness presents a significant challenge during LLM training. To address this issue, we propose Safe Reinforcement Learning from Human Feedback (Safe RLHF), a novel algorithm for human value alignment. Safe RLHF explicitly decouples human preferences regarding helpfulness and harmlessness, effectively avoiding the crowdworkers' confusion about the tension and allowing us to train separate reward and cost models. We formalize the safety concern of LLMs as an optimization task of maximizing the reward function while satisfying specified cost constraints. Leveraging the Lagrangian method to solve this constrained problem, Safe RLHF dynamically adjusts the balance between the two objectives during fine-tuning. Through a three-round fine-tuning using Safe RLHF, we demonstrate a superior ability to mitigate harmful responses while enhancing model performance compared to existing value-aligned algorithms. Experimentally, we fine-tuned the Alpaca-7B using Safe RLHF and aligned it with collected human preferences, significantly improving its helpfulness and harmlessness according to human evaluations.
http://arxiv.org/pdf/2310.12773
Josef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji, Xinbo Xu, Mickel Liu, Yizhou Wang, Yaodong Yang
cs.AI, cs.LG
null
null
cs.AI
20231019
20231019
[ { "id": "2302.13971" }, { "id": "2304.05302" }, { "id": "1707.06347" }, { "id": "2305.18290" }, { "id": "2305.10403" }, { "id": "2305.03047" }, { "id": "2211.05100" }, { "id": "2110.08207" }, { "id": "2304.05335" }, { "id": "2107.03374" }, { "id": "2105.04054" }, { "id": "2209.07858" }, { "id": "2305.15324" }, { "id": "2307.09288" }, { "id": "2210.11416" }, { "id": "2212.08073" }, { "id": "2307.12950" }, { "id": "2009.11462" }, { "id": "2307.04657" }, { "id": "2204.05862" }, { "id": "2112.00861" }, { "id": "2209.14375" }, { "id": "2303.00957" }, { "id": "2306.01693" }, { "id": "2305.01937" }, { "id": "2307.15217" }, { "id": "2306.17492" }, { "id": "2112.04359" }, { "id": "1506.02438" } ]
{ "authors": "Josef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji, Xinbo Xu, Mickel Liu, Yizhou Wang, Yaodong Yang", "chunk_id": 14, "doc_id": "2310.12773", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12773", "summary": "With the development of large language models (LLMs), striking a balance\nbetween the performance and safety of AI systems has never been more critical.\nHowever, the inherent tension between the objectives of helpfulness and\nharmlessness presents a significant challenge during LLM training. To address\nthis issue, we propose Safe Reinforcement Learning from Human Feedback (Safe\nRLHF), a novel algorithm for human value alignment. Safe RLHF explicitly\ndecouples human preferences regarding helpfulness and harmlessness, effectively\navoiding the crowdworkers' confusion about the tension and allowing us to train\nseparate reward and cost models. We formalize the safety concern of LLMs as an\noptimization task of maximizing the reward function while satisfying specified\ncost constraints. Leveraging the Lagrangian method to solve this constrained\nproblem, Safe RLHF dynamically adjusts the balance between the two objectives\nduring fine-tuning. Through a three-round fine-tuning using Safe RLHF, we\ndemonstrate a superior ability to mitigate harmful responses while enhancing\nmodel performance compared to existing value-aligned algorithms.\nExperimentally, we fine-tuned the Alpaca-7B using Safe RLHF and aligned it with\ncollected human preferences, significantly improving its helpfulness and\nharmlessness according to human evaluations.", "text": "3.1 HUMAN PREFERENCE OF HARMLESSNESS AND HELPFULNESS\nIn adapting our Safe RLHF algorithm, we utilize a two-stage human annotation strategy to assess the helpfulness and harmlessness of text generation. We follow the annotation methodology outlined in Ji et al. (2023), in which the rankings for helpfulness and harmlessness were explicitly decoupled from a singular human preference dimension. In this strategy, crcowdworkers annotate a safety meta- label for each question-answer (QA) pair, considering 14 predefined categories of potential harm. A QA pair is labeled as “safe” only if it poses no risk across all 14 categories. Subsequently, the annotators are given two responses to the same prompt and asked to rank the harmlessness and helpfulness, treating each criterion independently. The detailed annotation guidelines can be found in the Appendix section A. Following the annotation pipeline, we produce a helpfulness-related dataset, Dr = {2', yi, yj },_1> N\nFollowing the annotation pipeline, we produce a helpfulness-related dataset, Dr = {2', yi, yj },_1> N and a harmlessness-related dataset, Do = {oi ivf, si, sf} . Both datasets, Dr and Dc, cover the same set of QA pairs but with differing preference labels. Within each pair in Dr, y/,", "title": "Safe RLHF: Safe Reinforcement Learning from Human Feedback", "year": 2023 }
[ 0.033605922, 0.034116395, 0.057257686, 0.021099415, -0.012478149, -0.04563032, -0.024403289, 0.0061823553, -0.009507499, 0.034570143, -0.0017006795, -0.009181365, -0.04511985, 0.024871219, 0.038427025, -0.021567347, 0.04965736, -0.024970477, -0.020588946, 0.047615483, 0.0033765445, 0.022956958, 0.025537666, 0.0030114169, 0.0057498743, -0.029266931, 0.02739521, -0.0001626236, 0.018064957, -0.021652425, 0.010492989, -0.021737503, -0.02878482, 0.0011485568, -0.014222254, 0.010570977, 0.009351522, -0.010173945, -0.004714755, 0.0046828506, -0.011216154, -0.022006918, 0.005211045, -0.027381029, -0.02179422, 0.033435766, 0.04529001, 0.027182512, 0.032499906, 0.017710464, -0.051869396, 0.038965855, -0.010329922, 0.009748554, -0.01734179, -0.012889361, 0.00397032, 0.01990832, -0.00074797997, -0.041433126, 0.0060937325, -0.030287871, -0.034570143, 0.0068204426, -0.016150694, -0.021553166, -0.0775914, -0.04171672, 0.0100463275, 0.001935531, 0.009982519, 0.016576087, 0.07753468, -0.015626045, -0.051358927, -0.0047927434, 0.016632805, 0.003427946, -0.037292648, 0.017795542, 0.009684745, 0.017072376, -0.012364711, -0.040922657, -0.03675382, -0.03125209, -0.045516882, 0.0041511115, -0.10141332, -0.05768308, -0.06545356, 0.01589546, -0.03179092, 0.014803622, 0.003534294, -0.048381187, -0.010032148, 0.03037295, 0.040525623, -0.01732761, 0.011506839, -0.046396025, 0.004633222, 0.010535528, -0.0050940625, 0.0056435266, 0.01883066, 0.05805175, -0.007798843, 0.006604202, -0.03777476, -0.019284412, -0.05819355, 0.065340124, 0.025013017, -0.042992894, -0.063751996, -0.03618663, 0.0134211, -0.0023485152, -0.043900397, -0.007050863, 0.053570963, -0.03561944, -0.035959758, -0.012130746, 0.0072954632, -0.03275514, -0.03967484, -0.03924945, 0.0022917963, 0.019539647, 0.0037115403, 0.013144596, -0.05030963, 0.04123461, -0.0089119505, -0.0015136845, -0.036101554, 0.0019426208, -0.01780972, -0.052379865, -0.049090173, 0.034201473, -0.048664782, -0.046027355, -0.019553827, 0.030060995, -0.019936679, 0.025948878, -0.021496447, 0.0010448677, -0.041886877, 0.020262811, -0.0039455057, -0.011294142, 0.016944759, 0.0012318627, -0.013491998, -0.03933453, -0.00062700926, -0.005764054, -0.038115073, -0.014803622, 0.0034616229, 0.04222719, 0.01841945, -0.024176413, -0.047615483, -0.0057853237, -0.0030982676, 0.0053351177, -0.036980696, -0.013123326, -0.053882916, -0.021170314, -0.0036867259, -0.029380368, 0.00844402, 0.015555147, 0.024218952, 0.048976734, -0.013959929, -0.025651103, -0.0029529256, -0.011832972, -0.00045419397, -0.024133874, -0.02583544, -0.0025168993, -0.025197353, 0.012563227, 0.040412188, -0.01295317, 0.017129095, -0.03672546, 0.03193272, 0.03723593, 0.018320192, -0.031138653, 0.019936679, 0.03678218, -0.00089199265, -0.021184493, -0.024956297, -0.016746243, -0.041433126, 0.014746903, -0.026119035, -0.06324153, 0.050564863, 0.030486386, 0.035449285, 0.058306985, -0.0008202079, 0.027267592, -0.043928757, 0.025594385, 0.0011769163, -0.018788122, -0.03272678, 0.04574376, 0.047416966, -0.010535528, -0.038086712, 0.01836273, 0.021936018, -0.009869081, 0.05201119, -0.06931044, 0.053882916, 0.018447809, -0.017767182, -0.012669575, -0.0007076564, -0.010088867, 0.024218952, -0.013711784, -0.03465522, -0.017838081, 0.009642206, 0.009741464, 0.0121236555, 0.0135345375, 0.02280098, 0.012811372, -0.0058916714, -0.043560084, 0.0348821, -0.021709142, -0.0008095731, -0.027040716, 0.027934037, -0.049827516, -0.047955796, -0.012882271, -0.0041085724, 0.013378561, 0.018561246, 0.0022847066, -0.018235113, 0.008656716, 0.004133387, 0.03885242, 0.0013710011, -0.0028448051, -0.003821433, -0.005423741, -0.04957228, 0.018632146, -0.019284412, 0.031478968, 0.00031926515, 0.0038462477, -0.058363706, 0.0038958767, 0.01892992, 0.04622587, -0.047303528, -0.015526787, -0.026360089, 0.019922499, 0.06448934, -0.019865781, -0.009642206, 0.01043627, -0.00893322, -0.007543608, 0.013236764, -0.019213513, 0.037973277, -0.016675344, 0.08388719, -0.049969316, 0.014973778, 0.008295133, 0.01542753, -0.0014197439, -0.03527913, -0.012804282, 0.027026536, 0.045687042, -0.013988288, 0.023098756, 0.009606756, -0.023013677, -0.02043297, -0.0084582, 0.013945749, 0.030089354, 0.020688204, 0.024502547, -0.02030535, -0.0057888683, -0.046396025, -0.06658794, 0.07747796, -0.03230139, 0.019468749, -0.013704694, 0.024998836, -0.028600484, 0.047984153, -0.034002956, -0.0151013965, -0.048040874, 0.0006646741, 0.0047821086, -0.0066325613, -0.030089354, -0.013265123, 0.007153666, 0.041915238, 0.008316402, -0.03079834, -0.088651575, -0.016335031, 0.038512103, -0.005172051, 0.010173945, -0.035080615, -0.0727703, -0.0084582, 0.0033375502, -0.03990172, -0.024701063, -0.0042645494, 0.03227303, 0.030940138, 0.02834525, 0.0053847465, 0.00036579234, -0.008982849, -0.018022418, -0.04219883, 0.027225053, -0.008855232, -0.019156795, 0.0041369316, 0.0084582, 0.0037576244, -0.0021163225, 0.012506508, 0.007876831, 0.038143434, 0.0129319, -0.033520844, 0.018972458, 0.026175752, -0.024672704, -0.03587468, 0.018320192, -0.012407251, -0.01983742, -0.073224045, 0.038115073, -0.017256713, 0.0055300887, -0.0010794308, 0.01737015, 0.0038072534, -0.027692983, -0.03329397, -0.057371125, 0.027026536, 0.048466265, -0.038512103, 0.0052464944, -0.035080615, -0.00261084, 0.020617304, -0.031961076, -0.020588946, -0.013477819, -0.011272873, -0.0139103, -0.033095453, 0.039986797, 0.072656855, 0.03377608, 0.024190594, -0.015640225, -0.041518204, 0.07345092, -0.018064957, 0.0515858, -0.042057034, 0.01941203, 0.016788783, 0.028728101, 0.017994057, 0.0042468244, 0.014470398, 0.00017702488, 0.012102386, -0.05104697, 0.051387284, -0.00422201, 0.006377327, 0.0023875094, -0.0327835, -0.047019932, -0.012747563, -0.01491706, 0.01440659, 0.02037625, -0.020291172, -0.011329592, 0.00063498534, -0.060235426, -0.015328271, 0.070785135, 0.0014144265, -0.042170472, -0.02339653, 0.041489843, 0.052805256, -0.0077066747, -0.016817141, -0.00212164, 0.03275514, -0.016576087, -0.055868074, 0.0058952165, -0.010812032, -0.0069480604, 0.0052429494, 0.014732723, -0.026714582, -0.029465446, -0.058533862, 0.019142615, 0.042283908, 0.0043389928, -0.013328931, -0.0030734532, 0.02482868, -0.037519526, 0.009266444, 0.003397814, 0.037831478, 0.01841945, 0.0061894455, 0.033605922, -0.016476829, -0.020050116, -0.021666603, -0.0028767097, 0.0059909294, -0.012052758, 0.0058845817, -0.065907314, 0.017171634, -0.03230139, -0.010833302, -0.024133874, 0.017497769, -0.027253412, 0.042822737, -0.014661825, 0.030429667, -0.012825551, 0.015540967, -0.018703043, 0.045545243, 0.07827202, 0.05274854, 0.0050054393, 0.03678218, -0.015512608, 0.018561246, -0.004470155, 0.044070553, -0.017313432, -0.010684415, -0.005423741, 0.024644343, 0.0035254315, 0.022432309, -0.01192514, -0.01141467, 0.0109112905, -0.011563557, 0.016349211, 0.008025719, 0.015640225, 0.07628687, -0.0050089844, -0.013633796, 0.011308323, 0.019482927, 0.002336108, -0.032187954, -0.0209009, -0.014817801, 0.0057286047, 0.014066277, 0.011613186, -0.034173112, 0.0067743585, 0.012520688, -0.013350201, 0.015172294, -0.0030716807, -0.028628843, -0.043418285, -0.017114915, -0.02041879, -0.01788062, -0.06709841, -0.01833437, 0.0063454225, 0.008174606, 0.010521349, -0.060802616, -0.01632085, 0.009195545, -0.03320889, 0.0136905145, -0.025041375, 0.0058243177, 0.0014463309, 0.011854242, -0.045148212, 0.019241873, -0.0051330565, -0.0065297587, -0.018235113, 0.003679636, 0.010599337, 0.021184493, -0.01643429, -0.008812693, -0.028728101, -0.008529099, 0.0017068832, -0.0026923732, -0.023524147, -0.009989609, -0.010741134, -0.0008277408, 0.001713973, -0.0045445985, 0.0069905994, -0.03329397, 0.035506006, 0.015356631, 0.043475006, 0.02878482, 0.013562897, -0.007912281, -0.046622902, 0.034456708, -0.044325788, 0.014732723, 0.00016118347, 0.011053087, -0.035392568, 0.03692398, 0.024559265, -0.03624335, -0.01785226, -0.00078874663, 0.009075018, -0.026487706, -0.026913099, 0.053769477, 0.009401151, -0.06307137, -0.01881648, 0.02336817, 0.013364381, 0.026558606, 0.012754654, -0.04279438, -0.019610545, -0.003560881, -0.029749041, -0.0066680107, 0.0039525954, 0.009280623, -0.01441368, 0.0031390344, -0.023566686, 0.005072793, 0.010173945, -0.001988705, -0.006753089, 0.006107912, -0.009245174, -0.041518204, -0.041858517, -0.0327835, -0.0028554401, 0.01790898, -0.023481607, -0.0014950737, 0.0037576244, 0.007245834, -0.03275514, -0.033520844, 0.012853911, 0.014846161, -0.019738162, -0.013442369, 0.013463639, 0.031961076, -0.004420526, -0.021156134, -0.02387864, -0.047955796, 0.013733054, -0.008571638, -0.043333206, -0.013002798, 0.03224467, 0.021567347, 0.024218952, -0.021780042, -0.025126453, 0.0019798425, 0.028033296, 0.004285819, -0.050536502, 0.036129914, 0.0013080786, 0.011981859, -0.015555147, -0.010358281, -0.042907815, -0.039022576, -0.022318872, -0.046764698, -0.036470227, 0.017767182, 0.0007967227, -0.028061654, 0.012882271, 0.0019479383, 0.009847811, -0.032131232, -0.01929859, -0.024431648, 0.01295317, -0.021595705, 0.02780642, -0.0040837578, 0.029947557, 0.0035750605, -0.026260832, 0.0037930736, -0.0068204426, 0.0063702366, 0.0021854485, -0.010599337, -0.012783012, 0.019497108, -0.020177733, -0.0052464944, 0.030401308, -0.030628184, 0.05518745, -0.026742943, -0.04455266, 0.012300902, 0.009238084, 0.046963215, -0.009401151, -0.014732723, 0.025183173, -0.0229286, -0.02482868, 0.020262811, 0.017072376, 0.017469408, 0.0733942, -0.015058856, 0.054421745, -0.018036596, -0.03437163, -0.024261491, -0.01632085, -0.0062000803, 0.022730082, -0.020716563, -0.03125209, -0.04775728, 0.022758441, 0.0682895, -0.006870072, 0.014030827, 0.017696284, -0.0024424559, 0.004381532, -0.027054895, 0.014647645, 0.021765862, 0.019100076, 0.029238572, -0.026686223, -0.038937498, -0.00522168, -0.050479785, -0.004218465, -0.026147394, 0.022474848, -0.020050116, -0.02143973, -0.013569986, -0.016533548, 0.0013346657, 0.021936018, -0.000007290644, 0.014491668, -0.013548717, -0.0043921666, -0.042028673, -0.0020950527, -0.0058420426, 0.008670895, 0.01942621, 0.009528768, 0.0030894054, 0.036328427, -0.026175752, 0.007040228, -0.011123986, 0.025877979, -0.00092788506, 0.00745144, -0.010719865, 0.013725963, -0.046878137, -0.016221594, 0.0237652, -0.014009558, 0.011131076, 0.0035325214, -0.011421761, 0.05700245, 0.026033957, 0.019497108, -0.006813353, -0.010599337, 0.0052039553, 0.0056009875, 0.0005569969, 0.019539647, 0.0073947213, -0.015002138, -0.019029178, -0.034541786, 0.015342452, 0.0096563855, 0.08343344, -0.042397346, -0.0018681774, -0.030713262, -0.0035945578, 0.018121675, -0.017894799, -0.028600484, 0.010549707, -0.019185154, -0.009273534, 0.0023024313, -0.0007227223, 0.041121174, 0.015129755, -0.029862478, -0.010039238, 0.018731402, 0.0029866025, -0.034314908, 0.0039419606, 0.005576173, -0.026714582, -0.12625618, -0.03868226, 0.036214992, -0.03828523, 0.010868751, 0.0030433212, 0.012066937, 0.031649124, -0.0004039003, -0.030968497, 0.005714425, -0.00089952565, -0.01595218, -0.01491706, -0.011861331, -0.037462804, 0.020035937, -0.019681444, 0.04327649, -0.02878482, -0.02833107, -0.015810382, 0.0039136014, 0.0248854, -0.003309191, 0.021425549, -0.0066254716, -0.0046580364, -0.0074089007, 0.025821261, -0.028090015, -0.0129319, 0.0060299234, 0.02190766, -0.025963057, -0.025098095, -0.0075223385, 0.005016074, -0.0218084, 0.0047891987, 0.029125134, -0.030599823, 0.017795542, -0.034002956, 0.022290511, -0.019794881, 0.0016138288, -0.005622257, 0.006476585, -0.025722003, 0.0059200306, 0.017100736, -0.015583507, -0.037519526, -0.014101726, 0.016164875, 0.023183834, 0.0114572095, -0.0062355297, 0.0027579544, -0.04923197, 0.017738823, 0.009245174, -0.024006257, 0.013860671, -0.0054450105, -0.03289694, 0.025580205, -0.043531723, -0.036044836, 0.0059306654, 0.01440659, -0.03491046, 0.035931397, 0.023751022, 0.003404904, 0.035137333, 0.00596966, -0.013775593, 0.00994707, 0.0127901025, -0.03519405, -0.0015854693, 0.030458027, 0.0056860656, 0.019014997, 0.067211844, -0.0016864998, -0.009259353, 0.021453908, 0.0129460795, -0.015498428, 0.0052925786, 0.0062284395, -0.0017822129, -0.016150694, -0.014087547, 0.010485899, 0.011123986, -0.021581525, 0.0069480604, -0.010280293, 0.0053315726, -0.011308323, 0.0038427026, 0.028983336, -0.0032542446, 0.008876502, 0.012293813, -0.016335031, 0.009550038, 0.016732063, -0.0070225038, -0.013711784, -0.005058613, 0.013860671, -0.021538986, 0.04622587, 0.030628184, 0.008174606, -0.0030450937, 0.029068414, -0.007805933, 0.03085506, -0.0064694947, -0.0035874678, -0.004814013, 0.017171634, 0.008585817, 0.0045445985, 0.032982018, -0.0026923732, -0.009372791, 0.0059235757, -0.006756634, 0.012293813, 0.028033296, -0.024814501, -0.05062158, 0.00032679812, 0.025622744, 0.007649956, 0.033038735, 0.00054104475, -0.06664466, 0.0043496275, 0.0073309126, -0.011613186, -0.021936018, -0.008500739, -0.024091335, 0.009684745, 0.025055556, 0.013584167, -0.001675865, 0.034853738, 0.035052255, -0.019256052, -0.013073697, 0.022021096, -0.028643023, -0.0029263387, -0.030996855, 0.000318822, 0.042964537, -0.02281516, 0.012846821, 0.00079229154, 0.021538986, 0.009677655, -0.0056506163, -0.04965736, 0.013725963, 0.001962118, -0.025112275, 0.04605571, 0.0475304, 0.04063906, 0.008706345, 0.033379048, -0.032471545, 0.05572628, -0.023155473, -0.005827863, 0.054506823, -0.006657376, 0.009316073, -0.04713337, 0.022489028, 0.025551846, 0.010648966, 0.005370567, -0.0012690844, 0.06210715, 0.03542093, -0.0268422, -0.0076357764, 0.020929258, -0.022091996, -0.05603823, -0.020716563, 0.06471622, 0.020588946, -0.02037625, 0.011655726, -0.022758441, -0.005111787, -0.02030535, 0.0006620154, 0.021141954, -0.008210055, 0.016278312, -0.064829655, -0.0024052341, 0.024431648, 0.00106082, 0.0033659097, 0.034513425, -0.0006939198, -0.03235811, -0.0020418789, -0.013598346, 0.008550368, 0.013555807, -0.022106174, -0.009323162, 0.008500739, 0.009620937, -0.004257459, -0.0053173928, -0.004626132, 0.0015491338, 0.033435766, -0.030032635, -0.016590266, 0.01089711, 0.006707005, 0.0062284395, 0.008869411, 0.021950198, 0.021964379, -0.013222584, -0.029465446, -0.025296612, -0.0040376736, -0.023793561, 0.061256368, -0.0022669819, -0.018306011, -0.03326561, -0.030883418, -0.034485064, 0.061369807, 0.02888408, 0.00896158, -0.05255002, 0.03581796, 0.048522983, 0.012364711, 0.029380368, -0.01589546, -0.0010032149, 0.0198516, -0.0036335518, -0.0070225038, -0.029210212, -0.016732063, 0.013626706, 0.010195215, -0.038115073, -0.04327649, 0.0348821, -0.029408729, 0.024757782, -0.043900397, 0.0032276576, 0.003447443, -0.0059802947, 0.0071713906, -0.016292492, -0.015668584, 0.0023963717, -0.03286858, -0.010372461, -0.0053422074, -0.0121236555, 0.014633466, -0.032584984, -0.005831408, 0.02436075, 0.01788062, 0.016179055, -0.00010950506, -0.023070395, -0.018206753, 0.0006318835, 0.009677655, -0.019582186, 0.055045653, 0.012478149, 0.03825687, 0.033435766, 0.03732101, -0.02179422, 0.024119694, 0.0114572095, -0.0071820254, -0.033492487, 0.010003788, -0.011733714, 0.03025951, 0.006196535, -0.009060837, 0.013293482, 0.0057498743, -0.020333711, -0.011123986, -0.003771804, -0.034314908, -0.014137176, -0.011216154, -0.015470069, 0.020447148, 0.02833107, -0.029465446, -0.019029178, -0.031422246, -0.017767182, -0.012641216, 0.024062976, -0.015002138, 0.039533045, 0.008231324, 0.032187954, -0.020234453, -0.011230334, -0.04010023, -0.0062284395, -0.01837691, -0.00043646933, 0.016732063, -0.018703043, 0.009847811, 0.01840527, 0.011669905, -0.004377987, -0.006572298, -0.012293813, -0.001965663, -0.029749041, 0.068913415, -0.012010219, -0.03465522, -0.008139156, -0.020957619, 0.0037753491, 0.009372791, 0.0032010705, 0.003924236, -0.0058491323, 0.0028111285, -0.008862321, -0.026742943, 0.022786802, -0.020206094, -0.011655726, -0.036583662, 0.03771804, -0.008621266, 0.013229674, 0.019865781, -0.0023733298, -0.002465498, -0.01885902, 0.014378231, 0.018773941, 0.015314092, 0.020546407, 0.042057034, 0.014520028, 0.030486386, -0.012322172, -0.020518048, -0.023963718, -0.05479042, 0.019667264, -0.03530749, 0.01839109, 0.018192574, -0.00077811186, 0.0043425374, 0.01690222, 0.0032046156, 0.02043297, 0.01440659, 0.032528266, -0.004133387, -0.003824978, 0.010379551, -0.009649295, 0.046651263, -0.0038816968, 0.009620937, -0.0015110258, 0.0050054393, -0.017100736, -0.013704694, 0.02831689, 0.04531837, 0.028657204, -0.020177733, 0.011194885, -0.021751681, -0.017682103, 0.004665126, -0.0007493093, 0.02580708, 0.014605106, -0.021000158, -0.015158115, -0.0040553985, -0.0071146716, 0.015073037, -0.0017698057, 0.024091335, 0.032670062, 0.0073805414, 0.01892992, 0.0018309556, 0.03491046, 0.018575426, -0.0022705267, -0.035959758, -0.0139103, 0.005069248, 0.000053506268, 0.023694303, 0.014817801, -0.0020861905, 0.022077816, -0.038965855, 0.028671382, 0.055584483, 0.030940138, -0.025410049, -0.01792316, 0.0013249171, 0.037576243, 0.029663963, 0.00596257, 0.004551688, -0.007657046, 0.0067743585, 0.008720525, -0.024176413, -0.016278312, -0.027437748, 0.006894886, 0.029465446, 0.020333711, 0.0057250597, -0.028260171, -0.007529428, 0.026572784, -0.042567503, 0.0077846632, 0.00399159, 0.012775923, -0.014817801, -0.009308983, -0.0100463275, 0.017639564, 0.0009119329, 0.019312771, 0.00024039048, -0.0036548215, -0.022914419, -0.0338328, 0.024942119, 0.03230139, -0.011315412, 0.00069347664, 0.012194554, 0.019681444, -0.002557666, -0.0144349495, -0.024970477, -0.053570963, -0.015384991, -0.0024265037, -0.0257929, -0.011549378, -0.0043886215, -0.018022418, 0.0007572854, 0.008670895, 0.0025789356, 0.0019692078, 0.025140634, 0.0033322328, -0.0041085724, 0.018178394, 0.0070792227, 0.029607244, -0.038540464, 0.022134535, -0.0015819244, -0.001267312, 0.0043886215, 0.011450119, 0.014761083, 0.005381202, -0.006359602, -0.01982324, 0.054081433, -0.01537081, 0.0005047092, -0.0005149009, 0.00397032, 0.018603785, -0.033464126, 0.010868751, 0.017044017, -0.028203452, 0.00053838606, -0.018277653, -0.023722662, 0.028855719, 0.025934698, 0.031167014, -0.011747894, 0.012222914, -0.012549047, -0.013811042, 0.010010879, 0.012797193, 0.035534363, -0.0037611693, -0.0043389928, -0.0076215966, -0.016590266, -0.010698595, 0.0026303371, 0.017171634, -0.0018345006, 0.067382, 0.012775923, -0.024998836, 0.04475118, 0.029720683, -0.032131232, -0.012031488, 0.006490764, 0.024077155, 0.0068381676, -0.021425549, 0.003527204, 0.015994718, -0.0065333033, -0.0021765863, 0.032698423, 0.010613516, 0.030571464, 0.029266931, 0.0070331385, 0.015824562, -0.0034190838, -0.006827533, -0.033435766, 0.0075648776, 0.0029990096, 0.007642866, 0.010996369, -0.019511288, 0.0139244795, 0.033435766, 0.00991871, 0.0063312426, -0.014016648, 0.014477489, 0.011627366, -0.038427025, -0.0021269573, 0.008394391, 0.008826872, 0.016717883, -0.034116395, -0.013541628, -0.01881648, -0.0062319846, -0.0347403, 0.03227303, -0.011563557, -0.0038037084, -0.040015154, 0.036498584, 0.031223731, 0.005157871, -0.023807742, 0.0035502461, -0.010202304, 0.024729421, -0.014874521, -0.04024203, 0.0039809546, -0.04273766, 0.0063347877, -0.008316402, -0.0062745237, 0.016278312, -0.045460165, -0.00842984, -0.004870732, -0.011244514, 0.0059802947, 0.010826212, 0.008174606, 0.0015376128, 0.0030504111, -0.0044949697, 0.008500739, 0.0073380023, 0.0006491651, -0.010280293, 0.014647645, 0.018490348, 0.009791093, -0.017355971, -0.018703043, -0.0005423741, 0.02335399, 0.008132067, -0.016193233, -0.01441368, 0.0116911745, 0.021212853, -0.0030291416, -0.013562897, -0.004714755, 0.00791937, -0.03275514, 0.030458027, 0.04863642, 0.003271969, 0.00078121363, 0.0198516, 0.01892992, -0.011074357, 0.021751681, 0.006419866, 0.012343441, 0.008309313, -0.0060299234, -0.014349871, 0.024332391, -0.003202843, -0.00944369, 0.010968009, 0.023013677, 0.012031488, 0.021141954, -0.00024415695, 0.002190766, 0.0054591903, 0.009096287, 0.029522166, 0.007260014, -0.0019000818, 0.0029192488, 0.0014560794, 0.0015588824, -0.005367022, -0.022956958, 0.021723323, 0.035449285, -0.035562724, -0.0074372604, -0.014307332, 0.0016953622, -0.013626706, -0.0023219283, 0.024105515, 0.02685638, 0.021964379, -0.007359272, 0.010542618, -0.016292492, -0.024048796, 0.006012199, -0.008046988, -0.033974595, 0.045998994, -0.021978557, 0.007862652, 0.018532887, 0.010110136, -0.006405686, 0.0016280084, 0.018121675, -0.007235199, 0.0089119505, 0.009599667, 0.03170584, 0.0039419606, 0.010500079, 0.002484995, 0.014193894, -0.031734202, -0.009372791, 0.00051445776, -0.009741464, -0.0025363965, -0.0005565538, -0.013038248, -0.0018965368, 0.0436168, -0.023906998, 0.023240551, 0.0033836344, -0.014229343, 0.00029843868, 0.03822851, -0.0072174747, -0.017979879, -0.012478149, -0.032102875, -0.016476829, -0.03179092, -0.003679636, -0.015767843, -0.013336021, -0.012251274, -0.010251934, -0.04078086, 0.0032312025, 0.013846491, -0.024913758, 0.028586304, -0.0010944967 ]
2310.12397
15
5 # Table 1: Summary of Backprompt Techniques Example Prompt Strategy Direct LLM Color the following graph, described as a set of edges, such that no two vertices on the same edge share a color. Vertex 0 is connected to vertex 2... Iterative: LLM Self-Critique This is incorrect. Vertices 0 and 11 share an edge and are both colored with Color 1. Vertices 5 and 11 [...] feedback... Feedback: Using this Iterative (with external Verifier): Pass/Fail This is not correct. previously provided graph... Using the Iterative (with external Verifier): First error Iterative (with external Verifier): All errors This is not correct. Vertex 1 and vertex 7 were both colored Color 1 despite being connected by an edge. Vertex 2 and vertex 4 were both colored Color 0 despite... The problem is caused by the lack of an accurate stopping condition. If the system ever outputs a correct coloring during a backprompting session, we expect a verifier to stop it. However, in the self-verification case, the LLM doing the verification can fail to notice success and instead produce spurious feedback. This is exactly what happens.
2310.12397#15
GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems
There has been considerable divergence of opinion on the reasoning abilities of Large Language Models (LLMs). While the initial optimism that reasoning might emerge automatically with scale has been tempered thanks to a slew of counterexamples, a wide spread belief in their iterative self-critique capabilities persists. In this paper, we set out to systematically investigate the effectiveness of iterative prompting of LLMs in the context of Graph Coloring, a canonical NP-complete reasoning problem that is related to propositional satisfiability as well as practical problems like scheduling and allocation. We present a principled empirical study of the performance of GPT4 in solving graph coloring instances or verifying the correctness of candidate colorings. In iterative modes, we experiment with the model critiquing its own answers and an external correct reasoner verifying proposed solutions. In both cases, we analyze whether the content of the criticisms actually affects bottom line performance. The study seems to indicate that (i) LLMs are bad at solving graph coloring instances (ii) they are no better at verifying a solution--and thus are not effective in iterative modes with LLMs critiquing LLM-generated solutions (iii) the correctness and content of the criticisms--whether by LLMs or external solvers--seems largely irrelevant to the performance of iterative prompting. We show that the observed increase in effectiveness is largely due to the correct solution being fortuitously present in the top-k completions of the prompt (and being recognized as such by an external verifier). Our results thus call into question claims about the self-critiquing capabilities of state of the art LLMs.
http://arxiv.org/pdf/2310.12397
Kaya Stechly, Matthew Marquez, Subbarao Kambhampati
cs.AI
18 pages, 3 figures
null
cs.AI
20231019
20231019
[ { "id": "2206.10498" }, { "id": "2306.03872" }, { "id": "2303.11366" } ]
{ "authors": "Kaya Stechly, Matthew Marquez, Subbarao Kambhampati", "chunk_id": 15, "doc_id": "2310.12397", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12397", "summary": "There has been considerable divergence of opinion on the reasoning abilities\nof Large Language Models (LLMs). While the initial optimism that reasoning\nmight emerge automatically with scale has been tempered thanks to a slew of\ncounterexamples, a wide spread belief in their iterative self-critique\ncapabilities persists. In this paper, we set out to systematically investigate\nthe effectiveness of iterative prompting of LLMs in the context of Graph\nColoring, a canonical NP-complete reasoning problem that is related to\npropositional satisfiability as well as practical problems like scheduling and\nallocation. We present a principled empirical study of the performance of GPT4\nin solving graph coloring instances or verifying the correctness of candidate\ncolorings. In iterative modes, we experiment with the model critiquing its own\nanswers and an external correct reasoner verifying proposed solutions. In both\ncases, we analyze whether the content of the criticisms actually affects bottom\nline performance. The study seems to indicate that (i) LLMs are bad at solving\ngraph coloring instances (ii) they are no better at verifying a solution--and\nthus are not effective in iterative modes with LLMs critiquing LLM-generated\nsolutions (iii) the correctness and content of the criticisms--whether by LLMs\nor external solvers--seems largely irrelevant to the performance of iterative\nprompting. We show that the observed increase in effectiveness is largely due\nto the correct solution being fortuitously present in the top-k completions of\nthe prompt (and being recognized as such by an external verifier). Our results\nthus call into question claims about the self-critiquing capabilities of state\nof the art LLMs.", "text": "5\n# Table 1: Summary of Backprompt Techniques Example Prompt\nStrategy Direct LLM Color the following graph, described as a set of edges, such that no two vertices on the same edge share a color. Vertex 0 is connected to vertex 2... Iterative: LLM Self-Critique This is incorrect. Vertices 0 and 11 share an edge and are both colored with Color 1. Vertices 5 and 11 [...] feedback... Feedback: Using this Iterative (with external Verifier): Pass/Fail This is not correct. previously provided graph... Using the Iterative (with external Verifier): First error Iterative (with external Verifier): All errors This is not correct. Vertex 1 and vertex 7 were both colored Color 1 despite being connected by an edge. Vertex 2 and vertex 4 were both colored Color 0 despite...\nThe problem is caused by the lack of an accurate stopping condition. If the system ever outputs a correct coloring during a backprompting session, we expect a verifier to stop it. However, in the self-verification case, the LLM doing the verification can fail to notice success and instead produce spurious feedback. This is exactly what happens.", "title": "GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems", "year": 2023 }
[ 0.0131948255, -0.0025988722, 0.0187577, -0.007639109, -0.019717064, 0.021879211, 0.034622993, 0.015077755, 0.019931847, 0.07548901, 0.05005872, -0.0067835576, -0.029926408, 0.005666687, -0.0068515725, -0.04957188, 0.047051758, -0.006017499, -0.0049686427, 0.030441886, 0.009078154, -0.009600793, 0.028537478, 0.07560356, 0.0025451765, -0.0007092308, 0.02888113, -0.021191906, 0.024041358, -0.011727142, 0.012528999, -0.028365653, -0.059108235, -0.06517943, -0.01775538, 0.04940005, 0.010846533, 0.004782498, 0.002163937, 0.01764083, 0.029582756, -0.010667548, -0.0057239626, -0.036455806, 0.014404768, 0.06964691, -0.010152069, -0.020833934, 0.0023250242, 0.016982162, -0.043443408, 0.050746024, 0.02989777, 0.028208146, -0.029196147, -0.0039341054, -0.0134740425, -0.015407088, 0.006844413, -0.008197545, 0.05094649, -0.03989233, -0.03800224, 0.009364531, -0.016939206, -0.030556437, -0.021234863, -0.0073240944, 0.06958964, 0.047338136, -0.020461645, 0.04315703, 0.026418287, -0.0034812717, -0.03528166, 0.03742949, 0.061742906, 0.021478282, 0.052006084, -0.0130587965, 0.028451566, 0.009808416, 0.022795618, -0.05638765, 0.0077107036, -0.025888491, -0.02365475, -0.0041990043, -0.056330375, -0.085111275, 0.028379971, 0.0010076894, -0.017554916, 0.036484443, 0.054383013, 0.011805897, -0.00026288524, -0.031157829, 0.010209344, 0.023783619, 0.010860852, -0.02391249, -0.043958887, -0.045877613, 0.01451216, 0.00175048, 0.022451965, 0.0053982083, -0.017383091, -0.01878634, -0.05240701, -0.043357495, -0.027162869, -0.0049686427, 0.03416479, 0.0057239626, -0.0577909, -0.05690313, 0.028294059, -0.049314138, -0.0048970487, 0.026489882, -0.0030445466, -0.059852816, -0.0077608195, -0.013602912, 0.06202928, -0.046364453, 0.012915608, -0.013731782, 0.038174067, -0.01950228, 0.020461645, 0.029167509, -0.013989522, 0.024857532, -0.031301018, -0.0009862111, 0.0072632395, 0.0015858132, -0.030986004, -0.008405169, 0.0033130252, -0.009564996, 0.024742981, 0.030957365, -0.021435326, 0.071651556, 0.00079111673, 0.030212784, 0.0041381493, 0.027635392, -0.016767379, 0.020003442, -0.017039439, -0.058220465, 0.02826542, -0.0031841556, -0.039090477, 0.00937169, 0.025917128, -0.016552597, 0.053609796, -0.01801312, -0.004614251, -0.0046607875, -0.03843181, 0.016652828, -0.055242144, -0.019115672, 0.0052013244, -0.018843614, -0.02375498, -0.047853615, 0.033477485, -0.010481402, -0.016065756, -0.020418689, 0.035109833, -0.026303736, 0.0011929396, 0.042985205, 0.04957188, 0.0009226712, -0.010352532, -0.017497642, 0.02365475, -0.015951205, -0.020304138, -0.03639853, -0.009593633, 0.019745702, 0.05426846, -0.00080185593, -0.03714311, -0.07033422, 0.0682723, -0.023081996, 0.011304736, -0.0287809, -0.039978243, 0.011913287, 0.04415935, -0.024112953, 0.03803088, -0.0058814697, -0.020948485, -0.010166387, -0.0072238627, -0.002477162, 0.019989122, 0.014368972, 0.03027006, 0.032360613, -0.031501483, 0.0043386132, -0.024671389, -0.006192905, -0.0023357633, 0.046393093, -0.026991043, 0.014920248, 0.036312617, -0.010481402, 0.0024735823, 0.054239824, 0.04315703, -0.031100554, -0.008576995, -0.002088763, 0.010080474, -0.03702856, -0.021234863, -0.055614434, 0.00024364427, -0.047939528, 0.0048469324, 0.013216304, 0.003039177, -0.008612791, 0.023840895, -0.003912627, 0.048827298, -0.06426302, -0.0062000644, 0.021463964, -0.04690857, 0.040006883, 0.00045663724, 0.033191107, -0.0050509763, 0.014168507, -0.028723624, -0.04129558, -0.019960484, -0.00005928901, 0.026060317, -0.021592833, -0.0237693, -0.06300297, -0.011748621, 0.02800768, -0.058306377, 0.048970487, -0.01888657, 0.014862972, -0.011125751, 0.0122068245, -0.020676427, -0.006332514, -0.012894129, 0.0031376192, 0.042842016, -0.0035313878, 0.02575962, -0.05601536, 0.030212784, 0.04516167, 0.007810936, 0.059967365, -0.029811857, 0.03001232, -0.0041739466, 0.040379174, 0.02113463, 0.008856212, -0.060482845, 0.03290473, 0.008483922, -0.023311097, -0.020447325, -0.02689081, 0.025415968, 0.031701945, 0.0023787199, -0.014834334, -0.0022176327, 0.016094394, 0.03264699, -0.0020350674, 0.047939528, 0.01987457, -0.053122953, 0.0085054, -0.015951205, -0.0035868732, 0.02978322, -0.011598273, -0.030986004, 0.0195166, -0.047481325, -0.020218223, -0.004979382, 0.04201152, -0.016824655, -0.04418799, 0.06346117, -0.010173547, 0.0013379181, -0.034451164, -0.028680667, -0.030212784, 0.04653628, 0.014340334, 0.0024163069, 0.006683326, -0.020075034, 0.011662708, 0.011598273, 0.0067406013, -0.034852095, -0.061513804, -0.0031125613, 0.01675306, 0.020662108, -0.01765515, -0.0044066277, -0.00047475955, 0.012808216, 0.0050509763, -0.06615311, 0.0041274102, 0.028480204, 0.00725608, -0.05464075, 0.0041059316, -0.023182226, 0.013209144, 0.030871453, 0.0508033, -0.017698105, -0.027234463, 0.03127238, 0.00049355306, 0.018843614, 0.029554117, -0.029124552, -0.003327344, -0.02200808, 0.04089465, 0.025172548, 0.023583155, -0.009786937, -0.0074028485, -0.034766182, 0.06002464, -0.021206224, -0.032589715, 0.022552198, 0.021592833, -0.009564996, 0.010731982, 0.00500444, 0.032990642, -0.01786993, -0.018313816, 0.0031913149, -0.01013059, 0.016309176, 0.025086634, -0.027363332, -0.072281584, 0.008491081, 0.012364332, 0.01838541, 0.0017451105, 0.022552198, -0.017239902, -0.07566083, -0.02577394, -0.018814975, -0.021778978, -0.03714311, 0.004442425, 0.096279986, 0.04504712, -0.018099032, 0.058134552, 0.053982086, 0.03551076, 0.02089121, -0.038317256, -0.054726664, 0.0370572, -0.019129992, -0.0041954247, 0.03350612, 0.016366452, 0.025688026, 0.015235262, 0.030126872, -0.035424847, 0.0114980405, -0.025244143, -0.0062609194, -0.057819538, 0.06930326, -0.0003852667, 0.011569635, 0.035453487, -0.013653029, 0.019473644, -0.015478683, -0.037114475, 0.015106392, 0.012550477, -0.043472044, -0.030327335, 0.0390332, -0.047051758, -0.03828862, 0.04736677, 0.040121432, 0.015922567, 0.011970563, -0.017282858, -0.028079275, -0.044932567, -0.0041846856, -0.05280794, 0.0073384135, -0.011784418, -0.039835054, 0.00424912, 0.0021460385, -0.0025004302, -0.050860573, -0.017669467, 0.020690747, -0.01812767, -0.027749943, -0.005215643, 0.0014667878, 0.030928727, -0.018299498, -0.04690857, 0.06546581, -0.0032199526, 0.02626078, 0.007205964, -0.007911168, -0.015106392, -0.012128071, 0.009328734, 0.012929927, 0.056473564, -0.03453708, 0.015364132, 0.039978243, -0.000030763167, -0.020117993, 0.00350275, 0.056502204, -0.041324217, -0.028079275, 0.010968244, -0.02626078, 0.020160949, 0.012965724, -0.023783619, 0.032962006, -0.029468205, 0.047481325, -0.01439045, 0.047767702, 0.08379394, -0.011175866, -0.0012430557, -0.046765383, 0.017196946, -0.011748621, -0.022996081, -0.009421807, -0.017597873, 0.0030069596, -0.014111232, 0.031444207, 0.010051836, 0.03814543, 0.00475386, -0.03313383, -0.00575618, -0.047481325, 0.0074959206, 0.050717387, -0.0015160089, 0.04264155, -0.016581235, -0.001288697, 0.010839374, -0.0137532605, -0.03175922, 0.020032078, -0.034451164, -0.033849776, 0.034938008, -0.029110232, 0.017211264, -0.020289818, 0.020461645, -0.0034257863, -0.021163268, -0.01626622, -0.021034399, 0.0058241943, -0.03502392, -0.019115672, -0.062143832, -0.02226582, -0.0031608874, 0.019860253, -0.023926808, -0.008641429, -0.014469204, -0.028165188, 0.006078354, -0.013316535, -0.017826974, -0.030441886, -0.049715064, 0.023984082, 0.01788425, 0.024972083, 0.018972483, -0.025458924, -0.021120312, 0.04304248, 0.0036119313, 0.016294857, 0.035052557, 0.009078154, -0.030241422, -0.03261835, -0.020447325, 0.0131948255, -0.009414648, -0.036971286, -0.002113821, 0.0007119156, -0.00027272946, 0.015020479, 0.0030481264, 0.02100576, -0.02978322, -0.021936487, 0.029983683, 0.037372213, 0.02964003, 0.015836654, 0.02140669, -0.006543717, -0.023740662, 0.0029622132, 0.00083407335, 0.01628054, -0.04504712, -0.002842293, 0.0077393414, 0.019831615, -0.0070233988, -0.03364931, -0.046879932, -0.013645869, 0.00837653, -0.033391573, 0.0050831935, -0.023167908, 0.0060819336, -0.016037118, 0.009443285, -0.014734102, -0.0096652275, -0.017712424, 0.014791378, -0.00913543, 0.017196946, -0.001739741, -0.010051836, -0.000104594765, -0.016853293, 0.024370693, 0.016208945, 0.040722825, -0.011018359, 0.032503802, 0.038317256, 0.005716803, 0.030069597, 0.046020802, 0.003665627, -0.021564197, 0.014648189, -0.0046393094, 0.009328734, -0.021592833, 0.012428766, 0.010488561, -0.00612847, 0.039806418, -0.02315359, 0.019860253, 0.049228225, 0.0010542257, -0.014805697, 0.01550732, -0.0009969503, -0.0057096435, -0.021979444, -0.009443285, -0.003176996, -0.048082717, -0.03714311, 0.029267741, 0.00005431097, -0.025315735, 0.019244542, 0.043357495, 0.0039448445, -0.008455284, -0.014691146, 0.014934566, -0.013144709, -0.022681067, -0.026976723, -0.008304936, -0.03153012, 0.0047860774, 0.022323096, -0.015578914, -0.020361412, -0.04788225, -0.03616943, 0.041524682, -0.0052335416, 0.008526878, -0.0031984744, -0.007546037, 0.001325389, -0.015521639, -0.011805897, -0.0029872712, -0.029611394, -0.0064327456, -0.01751196, -0.023969764, 0.019616831, -0.028494522, 0.010638909, 0.0036584677, 0.003977062, -0.01263639, 0.024943447, 0.021120312, -0.011032678, -0.0390332, -0.017383091, -0.005802716, -0.039806418, -0.023955446, -0.022079675, -0.0036871054, -0.024127271, -0.06369027, -0.016710104, 0.009035198, 0.03041325, 0.010424127, -0.0026436187, 0.015736422, -0.021750342, -0.008899169, -0.0016153458, 0.01864315, -0.018371092, -0.00612847, -0.004313555, -0.0116412295, 0.014569435, -0.023368372, -0.050230544, 0.014368972, 0.0010542257, 0.036799457, -0.015650509, -0.000041502306, -0.047252223, -0.0033864093, 0.031186467, 0.03253244, -0.020146629, -0.016953524, 0.003955584, -0.04516167, 0.00450328, -0.032446526, -0.0021943646, -0.0062967166, -0.038603634, 0.0030803438, -0.039978243, -0.036083516, 0.013746101, -0.019817296, 0.0033935688, -0.022308776, 0.0076033124, -0.0043314537, 0.012192505, 0.026432607, 0.001613556, -0.012128071, 0.015865292, 0.0073133553, -0.0024467343, -0.0026847853, 0.011548157, -0.02150692, -0.0042025843, -0.01652396, -0.015822336, -0.02263811, -0.01862883, 0.015292537, 0.007639109, 0.0160228, 0.03293337, -0.039061837, 0.0177697, -0.0440448, 0.011046997, -0.0017576395, 0.014018159, -0.0035457066, -0.013803377, 0.0073240944, 0.0052764984, 0.0100947935, -0.02212263, -0.011870331, 0.020475963, -0.011462244, 0.0000430125, -0.022079675, -0.004728802, 0.0049364255, 0.0033864093, -0.008934965, -0.020347094, 0.03090009, -0.0065079196, 0.0048182947, -0.017841294, 0.04155332, 0.006833674, 0.033735223, -0.03416479, 0.013438246, -0.027434926, -0.01715399, 0.0009817366, -0.005555716, 0.01987457, -0.028079275, -0.026131911, -0.0047431206, 0.037944965, -0.005981702, 0.043758422, -0.026733303, -0.025917128, -0.04919959, -0.0610556, -0.019674107, -0.03966323, 0.0057490203, 0.011669867, -0.012113752, -0.12142389, 0.012779579, 0.04066555, -0.007810936, 0.0019061976, 0.010030358, 0.028909769, -0.031215105, 0.0026991041, -0.018099032, -0.017583555, 0.022222864, -0.013287898, -0.03101464, -0.0055521363, -0.05507032, 0.014791378, -0.0021567775, 0.0089636035, -0.0160228, -0.016824655, -0.015664827, -0.004474642, -0.025673708, -0.014361812, -0.0056595276, -0.03138693, -0.023726344, -0.017111031, 0.0202755, 0.019459324, 0.008068675, 0.017053757, 0.0026991041, -0.0051476285, -0.030613713, 0.004442425, -0.015278218, 0.0007114681, -0.011447925, -0.010116272, -0.019459324, 0.016924888, -0.026547158, 0.028594755, -0.021664428, 0.009514879, 0.014905929, 0.0227813, -0.009464763, -0.046106715, 0.025816897, -0.00750308, -0.011290417, -0.0039341054, 0.04690857, 0.015693465, -0.029353654, -0.027520841, 0.03777314, -0.0065079196, -0.013223463, 0.025788259, -0.018657468, 0.0010685446, -0.034422528, -0.0100876335, 0.03791633, -0.015679147, 0.0065830937, 0.015822336, 0.012085114, -0.0010936026, 0.005079614, -0.025931448, 0.0067227026, -0.0023107054, 0.016867612, 0.0130516365, 0.04089465, 0.012328534, 0.016165989, 0.0085054, 0.04693721, -0.011297577, 0.00071236305, 0.0100947935, -0.029697306, -0.03090009, 0.027234463, -0.006028238, -0.013645869, -0.03742949, 0.005280078, 0.008526878, 0.021707384, 0.025215505, 0.0037193226, 0.038689546, -0.0070842537, 0.015020479, 0.01751196, -0.056072637, -0.049228225, -0.016323496, -0.008276299, 0.009020879, 0.024170227, -0.00081035774, -0.0038195546, 0.030212784, -0.018829295, 0.016710104, 0.032160148, -0.023669068, 0.024284778, 0.022953125, -0.03714311, 0.046679467, -0.009786937, 0.028093595, 0.038202707, -0.028694985, -0.0062358617, -0.0305278, -0.00021075565, 0.008154588, -0.0041059316, -0.03253244, 0.0137604205, 0.012851173, 0.028609073, -0.012944246, -0.013166187, 0.00015459889, -0.0026454085, -0.024227504, 0.011548157, -0.033362933, 0.0040593953, 0.010774938, 0.0071630073, 0.026676027, -0.029955046, -0.0050330777, -0.010173547, 0.016838973, -0.031787857, -0.0026185606, 0.017082395, 0.012829695, -0.0060711945, -0.014583754, 0.029325016, 0.00065150793, 0.02026118, 0.021778978, -0.040235985, 0.02739197, 0.017812656, 0.014211464, 0.010617431, -0.04215471, -0.010953925, -0.017798338, -0.000031322495, 0.013832014, 0.014920248, 0.004281338, 0.032446526, -0.03290473, -0.040207345, 0.01977434, 0.013338014, 0.022323096, 0.042469725, 0.0151636675, 0.012128071, 0.00988001, 0.016838973, -0.008820415, 0.02527278, -0.029582756, 0.048283182, 0.010237982, -0.013731782, 0.04281338, -0.009772619, -0.027678348, 0.011949085, 0.04215471, 0.015979843, 0.05369571, 0.014104073, 0.028136551, -0.014211464, -0.005355252, 0.028050637, -0.001727212, -0.01788425, -0.051204227, 0.028236782, -0.03490937, -0.019172948, -0.009185546, 0.039720505, -0.004277758, -0.028294059, -0.05466939, 0.022108313, -0.021564197, 0.020003442, -0.029253421, 0.0076462687, -0.027334696, -0.00938601, 0.0027671189, -0.012972883, -0.017469004, 0.014734102, 0.0019598934, -0.012815376, -0.01851428, 0.06540853, 0.0062251226, -0.03090009, 0.012829695, -0.05063147, 0.010424127, 0.00550202, 0.01225694, -0.012364332, -0.0012421607, -0.023525879, -0.05054556, -0.0015974473, -0.0076247905, -0.036828097, -0.012328534, -0.0014211464, 0.015077755, -0.013738941, -0.014469204, 0.010910967, 0.024571156, -0.02952548, -0.0018560817, -0.0072990367, -0.033706587, -0.010288098, -0.03241789, -0.017698105, 0.0153068565, -0.03800224, 0.0007029663, -0.031845134, 0.0082476605, 0.050831936, 0.01987457, 0.038603634, 0.0071451087, -0.003101822, 0.00814027, -0.027692666, -0.027205825, 0.015020479, -0.025458924, 0.0031931046, -0.0053731506, 0.0014059326, -0.02664739, -0.0030230684, -0.0018578715, 0.035825778, -0.018857932, -0.008090153, 0.0035832936, -0.027964724, -0.01163407, -0.029468205, -0.0038696707, -0.0060353978, -0.0195166, 0.010016039, -0.017669467, 0.023282459, -0.030699626, -0.031186467, -0.017383091, -0.011999201, 0.050259184, -0.018614512, -0.0044710627, 0.002475372, 0.012421607, -0.015249581, -0.004052236, 0.029382292, -0.006468543, -0.033391573, 0.012622071, 0.039262302, 0.028351333, -0.044818018, 0.023525879, 0.016624192, 0.0064470647, -0.016094394, 0.015149349, 0.000010312652, 0.017526278, 0.005391049, -0.011340533, -0.0070842537, -0.019831615, 0.0042705988, 0.009679547, -0.015535958, -0.024427967, 0.011891809, -0.021693066, -0.0006528503, -0.0016905199, 0.006192905, 0.00849824, -0.010817896, -0.018671788, 0.006368311, 0.0015473313, -0.020719383, 0.013645869, 0.01513503, -0.0032557498, -0.026375331, -0.011562476, 0.0041202507, -0.028294059, 0.010316735, 0.011183026, -0.021564197, 0.018829295, 0.026475564, 0.020604832, 0.001288697, 0.006457804, 0.018442687, 0.0016851503, -0.013975203, -0.042240623, -0.011784418, 0.080586515, -0.038603634, -0.001588498, 0.008047197, -0.015722103, 0.021335095, 0.02064779, 0.03791633, 0.013824855, 0.00813311, -0.0067406013, 0.038603634, 0.00038660908, -0.000031546228, 0.022036718, 0.01626622, 0.00019386387, 0.034193426, 0.061571077, 0.002702684, 0.03539621, 0.01713967, 0.02325382, 0.008949284, -0.01587961, 0.0035940327, 0.037229024, 0.011583954, 0.006353992, 0.014368972, 0.0027277418, -0.011204504, -0.016609872, 0.009586474, -0.050717387, -0.016939206, 0.0054340055, 0.031501483, -0.010481402, -0.02564507, -0.023411328, -0.0031537279, -0.006396949, -0.000017646871, 0.012034998, 0.010946765, -0.016724423, 0.01878634, -0.0067871376, 0.012729462, 0.019215904, -0.025129592, 0.0027724884, 0.0051225703, 0.010152069, -0.04189697, 0.002552336, 0.016867612, 0.032102875, 0.017082395, -0.03465163, 0.014991841, 0.00040585006, -0.0055091796, -0.0038016562, -0.003565395, -0.014791378, 0.027334696, -0.06615311, 0.013688826, -0.018929526, -0.025115272, -0.019459324, 0.026389651, -0.021463964, -0.006343253, 0.029010002, 0.011161548, 0.019072715, 0.008204704, 0.0042527, -0.011712824, -0.013431086, -0.05189153, 0.014240102, 0.041581955, 0.008090153, -0.007703544, -0.0137532605, -0.030842815, 0.014540798, 0.020461645, -0.0039090477, 0.017368771, -0.013552797, -0.019731382, 0.00045999323, 0.0422979, -0.024929127, 0.010180706, 0.008326414, 0.0020565456, 0.005176266, -0.002115611, -0.017626511, -0.00011455084, -0.06340389, -0.0044853813, 0.009428966, 0.056845855, 0.0017826975, -0.039348215, 0.0036942647, -0.016180307, 0.0004208401, 0.02326814, 0.012464563, -0.008705864, -0.0049972804, -0.020805297, 0.02564507, -0.0027671189, 0.021105994, -0.014125551, 0.030986004, 0.004428106, 0.020662108, 0.018371092, 0.019559557, 0.019087033, -0.022924488, 0.0009844213, 0.023497242, 0.009457604, 0.0033058657, -0.0014685777, 0.0046178307, -0.013824855, -0.013624391, -0.017182626, -0.015220943, 0.01500616, -0.012736622, -0.006926746, 0.022509241, 0.0088132555, 0.012693665, -0.0034114672, 0.007911168, 0.034680266, -0.040350534, 0.02063347, 0.006479282, 0.014104073, -0.011576795, 0.0012081534, -0.008741661, 0.005527078, 0.0029174667, -0.017784018, 0.012908448, -0.032160148, 0.013166187, 0.027979044, 0.030184148, 0.032074235, -0.005280078, -0.0146052325, 0.022695385, -0.021807617, 0.0018113352, 0.0013916137, 0.0058707306, -0.016208945, -0.035940327, -0.01638077, 0.0020475963, 0.021220544, -0.0438157, -0.009357372, 0.007431486, -0.05618719, -0.0102236625, -0.032217424, -0.0000495287, -0.003150148, -0.0081116315, -0.007896849, 0.0044137873, -0.015392769, 0.025673708, -0.03101464, -0.03828862, 0.0032074237, -0.018285178, 0.0035725543, -0.012228303, 0.0061499486, 0.044588916, 0.02190785, 0.017955845, -0.05865003, 0.0066260505, 0.04467483, -0.011956245, 0.013244941, 0.001425621, -0.01940205, -0.00013491047, -0.0089636035, 0.019731382, -0.000863606, -0.041009203, 0.01487729, 0.010166387, 0.015364132, 0.026676027, -0.009987402, -0.0030499161, -0.015478683, -0.015564596, -0.010731982, -0.0152639, 0.010438446, -0.0305278, -0.015808016, 0.029811857, -0.006106992, -0.053752985, 0.006429166, -0.013209144, 0.00950056, -0.021034399, 0.019172948, 0.020504601, -0.0105171995, -0.017111031, 0.011089954, -0.025172548, 0.009636589, -0.015364132, 0.028236782, -0.00888485, -0.005702484, -0.032160148, 0.029196147, 0.025444606, 0.04564851, -0.016967844, 0.029067276, 0.008047197, -0.0058814697, -0.02753516, 0.010374011, 0.024399329, -0.0340216, 0.018170627, -0.03573986, -0.013989522, 0.008469603, -0.0012457405, -0.026289418, -0.023468604, 0.0092356615, -0.0023089154, 0.006106992, -0.008405169, 0.0011705664, -0.00057275424, -0.012378651, -0.015793698, 0.00788253, -0.04066555, 0.013094593, -0.027320376, -0.018457005, -0.013073115, 0.0018990382, -0.01126178, -0.013552797, 0.025616432, 0.02815087, -0.032102875, 0.010560156, -0.015621872, 0.013559956, -0.020991443, 0.011684186, -0.03399296, -0.016939206, 0.015392769, -0.02077666, -0.004070135, -0.0020923428, -0.0019061976, -0.011254621, -0.01764083, -0.018342454, -0.020332774, 0.016796017, -0.053352054, -0.005237121, 0.027105594, 0.03453708, 0.02889545, 0.0066618477, -0.020060716, 0.0000055758237, 0.0062859775, -0.036083516, 0.015979843, 0.0068121953, -0.014619552, -0.0014936356, 0.036971286, -0.0212635, -0.011297577, 0.0033703006, -0.02415591, 0.033563398, -0.025358694, 0.023568835, -0.0013110702, -0.002176466, 0.02313927, 0.00118757, -0.015865292, -0.019788658, 0.0353103, -0.0052335416, 0.03261835, -0.0009692075, -0.0061105713, -0.01338813, 0.00033626938, 0.016681466, 0.00059467996, -0.017554916, 0.016194625, -0.0005208484, -0.0008698705, 0.0027295318, -0.008913487, -0.0028243943, -0.00937169, 0.015206625, 0.010617431, 0.01151236, -0.00013468674, 0.02150692, 0.022065356, 0.015464364, -0.022709705, 0.011018359, 0.0027241623, -0.011118591, 0.018872252, -0.011734302, -0.013688826, 0.019974804, -0.013968043, -0.0372863, 0.023540199, -0.016552597, -0.012228303, 0.020762341, -0.027993362, -0.036885373, -0.021020079, -0.02640397, -0.0060353978, 0.054526202, 0.0097583, -0.007717863, -0.02389817, 0.007818095, -0.029926408, -0.029239103, -0.016108712, -0.00019487068, 0.028566116, -0.034250703, 0.035109833, -0.054698028, 0.004327874, -0.011555316, -0.026847854, 0.008176066, 0.0016878351 ]
2310.12773
15
# w, yi l 3 (2) (a) reward vs. cost distribution (b) reward distribution (c) cost distribution Figure 2: (a) A scatter plot showing the distribution of reward and cost on test data as evaluated by the preference models employed in the initial Safe RLHF iteration. Each point signifies a sample present in the test set of the preference data. Colors are derived from the safety labels annotated by crowdworkers. (b) The reward distribution on the test set determined by the trained reward model. (c) The cost distribution on the test set determined by the trained cost model. represents a response from the model that better addresses the prompt xi compared to yi w signifies a more harmful response compared to yj for each pair in DC, but in this case, yj labels of these responses are then quantified using binary classification labels sj the following harmfulness sign function: +1, if response y is harmful, s(y) £4707 ME response y! (4) —1, ifresponse y is harmless.
2310.12773#15
Safe RLHF: Safe Reinforcement Learning from Human Feedback
With the development of large language models (LLMs), striking a balance between the performance and safety of AI systems has never been more critical. However, the inherent tension between the objectives of helpfulness and harmlessness presents a significant challenge during LLM training. To address this issue, we propose Safe Reinforcement Learning from Human Feedback (Safe RLHF), a novel algorithm for human value alignment. Safe RLHF explicitly decouples human preferences regarding helpfulness and harmlessness, effectively avoiding the crowdworkers' confusion about the tension and allowing us to train separate reward and cost models. We formalize the safety concern of LLMs as an optimization task of maximizing the reward function while satisfying specified cost constraints. Leveraging the Lagrangian method to solve this constrained problem, Safe RLHF dynamically adjusts the balance between the two objectives during fine-tuning. Through a three-round fine-tuning using Safe RLHF, we demonstrate a superior ability to mitigate harmful responses while enhancing model performance compared to existing value-aligned algorithms. Experimentally, we fine-tuned the Alpaca-7B using Safe RLHF and aligned it with collected human preferences, significantly improving its helpfulness and harmlessness according to human evaluations.
http://arxiv.org/pdf/2310.12773
Josef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji, Xinbo Xu, Mickel Liu, Yizhou Wang, Yaodong Yang
cs.AI, cs.LG
null
null
cs.AI
20231019
20231019
[ { "id": "2302.13971" }, { "id": "2304.05302" }, { "id": "1707.06347" }, { "id": "2305.18290" }, { "id": "2305.10403" }, { "id": "2305.03047" }, { "id": "2211.05100" }, { "id": "2110.08207" }, { "id": "2304.05335" }, { "id": "2107.03374" }, { "id": "2105.04054" }, { "id": "2209.07858" }, { "id": "2305.15324" }, { "id": "2307.09288" }, { "id": "2210.11416" }, { "id": "2212.08073" }, { "id": "2307.12950" }, { "id": "2009.11462" }, { "id": "2307.04657" }, { "id": "2204.05862" }, { "id": "2112.00861" }, { "id": "2209.14375" }, { "id": "2303.00957" }, { "id": "2306.01693" }, { "id": "2305.01937" }, { "id": "2307.15217" }, { "id": "2306.17492" }, { "id": "2112.04359" }, { "id": "1506.02438" } ]
{ "authors": "Josef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji, Xinbo Xu, Mickel Liu, Yizhou Wang, Yaodong Yang", "chunk_id": 15, "doc_id": "2310.12773", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12773", "summary": "With the development of large language models (LLMs), striking a balance\nbetween the performance and safety of AI systems has never been more critical.\nHowever, the inherent tension between the objectives of helpfulness and\nharmlessness presents a significant challenge during LLM training. To address\nthis issue, we propose Safe Reinforcement Learning from Human Feedback (Safe\nRLHF), a novel algorithm for human value alignment. Safe RLHF explicitly\ndecouples human preferences regarding helpfulness and harmlessness, effectively\navoiding the crowdworkers' confusion about the tension and allowing us to train\nseparate reward and cost models. We formalize the safety concern of LLMs as an\noptimization task of maximizing the reward function while satisfying specified\ncost constraints. Leveraging the Lagrangian method to solve this constrained\nproblem, Safe RLHF dynamically adjusts the balance between the two objectives\nduring fine-tuning. Through a three-round fine-tuning using Safe RLHF, we\ndemonstrate a superior ability to mitigate harmful responses while enhancing\nmodel performance compared to existing value-aligned algorithms.\nExperimentally, we fine-tuned the Alpaca-7B using Safe RLHF and aligned it with\ncollected human preferences, significantly improving its helpfulness and\nharmlessness according to human evaluations.", "text": "# w, yi l\n3\n(2)\n(a) reward vs. cost distribution (b) reward distribution (c) cost distribution \nFigure 2: (a) A scatter plot showing the distribution of reward and cost on test data as evaluated by the preference models employed in the initial Safe RLHF iteration. Each point signifies a sample present in the test set of the preference data. Colors are derived from the safety labels annotated by crowdworkers. (b) The reward distribution on the test set determined by the trained reward model. (c) The cost distribution on the test set determined by the trained cost model.\nrepresents a response from the model that better addresses the prompt xi compared to yi w signifies a more harmful response compared to yj for each pair in DC, but in this case, yj labels of these responses are then quantified using binary classification labels sj the following harmfulness sign function:\n+1, if response y is harmful, s(y) £4707 ME response y! (4) —1, ifresponse y is harmless.", "title": "Safe RLHF: Safe Reinforcement Learning from Human Feedback", "year": 2023 }
[ 0.019174095, -0.009268894, 0.06334805, 0.0028298052, 0.019032694, 0.003139122, 0.01421089, 0.029411592, -0.010378898, 0.03600092, 0.03591608, -0.010074885, -0.030967014, 0.033342566, 0.0034555085, -0.04417395, 0.034954548, -0.012627188, -0.013956366, 0.029864078, -0.028987387, 0.01940034, 0.030571088, -0.012040371, 0.008858828, -0.0022465226, 0.024900872, -0.007635702, 0.013588721, 0.0022394524, 0.029779237, -0.03006204, -0.04717167, -0.008109398, -0.04213776, 0.01048495, -0.020828499, 0.041345913, -0.0064656013, 0.0153562445, -0.042364005, -0.010873805, -0.040865146, 0.014493694, -0.029666116, -0.008646726, 0.0064019705, -0.0030224654, 0.008349782, 0.061029054, -0.040865146, 0.046549503, -0.0056348653, -0.006313594, 0.014592675, -0.0048111994, -0.020644676, 0.05169653, 0.041063108, -0.05328023, 0.016275357, -0.023444433, -0.008413413, -0.0041254, 0.002700776, -0.022836404, -0.066062964, 0.006918087, 0.015327965, 0.036990732, 0.019103395, -0.007975066, 0.07952442, 0.028690442, -0.0118565485, 0.003909762, 0.023769658, -0.03455862, -0.011510113, -0.005896459, 0.013122095, 0.0006133307, -0.009968833, -0.039649088, 0.020135628, -0.049603783, -0.041741837, -0.0063348045, -0.033031482, -0.041345913, -0.034134414, -0.0020255821, -0.022652583, -0.0033689, -0.0038744118, -0.023882778, -0.007444809, 0.010958646, 0.03829163, -0.008766917, 0.011092978, -0.046181858, 0.031023573, 0.013086745, 0.040865146, 0.020333592, 0.003976928, 0.039960172, -0.0448244, -0.009268894, -0.00970017, 0.0043940637, -0.050565314, 0.05477909, 0.015610768, -0.014493694, -0.07358554, -0.062103707, 0.033568807, -0.029694397, -0.022822265, -0.0076993327, 0.047567595, -0.056787, -0.02627247, 0.019456899, -0.0014034137, -0.06408334, -0.027262283, -0.02477361, -0.024533227, 0.022539461, -0.023359591, -0.014069487, -0.03523735, 0.028676303, -0.02473119, -0.00032434057, -0.031051854, -0.0029429267, -0.0073034074, 0.010385969, -0.045446567, 0.017448993, -0.021394106, -0.00081085146, -0.012075721, 0.010470809, -0.043693185, 0.016275357, 0.019301357, 0.030118601, -0.02705018, 0.014083628, -0.0020167443, -0.071436234, -0.012959483, 0.020814357, -0.012902922, -0.05557094, 0.0024798356, 0.017053068, -0.050791558, -0.013701843, 0.011792918, 0.0042173113, -0.039196603, 0.013093815, -0.0631218, -0.005949484, 0.0018788775, 0.0054333676, -0.018537788, -0.07087062, 0.0018824126, -0.011460623, -0.025042275, -0.032692116, 0.007869015, -0.0061934027, 0.0077771037, 0.0048041292, -0.019881105, -0.020531554, 0.012174702, -0.015158283, -0.017618675, 0.0028686908, 0.011686866, -0.010689982, 0.017335871, 0.033088043, 0.07556517, -0.018452946, -0.0042173113, -0.0095304875, 0.0021864267, 0.04550313, -0.012139352, -0.008045767, 0.010067814, 0.024094881, 0.02246876, -0.0135957915, -0.00085724896, 0.018240843, -0.07200184, 0.0070771645, -0.010895016, -0.03436066, 0.03144778, 0.020588115, 0.052007616, 0.04281649, -0.04572937, 0.027431967, -0.038772397, 0.0040016733, 0.011778777, 0.055090174, 0.017929759, 0.048359446, 0.052177295, -0.002909344, -0.066515446, 0.025141256, 0.022567742, -0.029496433, 0.04516376, -0.077488236, 0.038630996, 0.026611835, -0.0121888425, -0.0285349, -0.05090468, -0.007840735, -0.036340285, 0.0046980777, -0.014790637, -0.028181396, -0.009799151, 0.00823666, 0.027516806, 0.012789801, 0.033851612, 0.015893573, -0.004998557, 0.0048182695, -0.009056791, -0.0039981385, 0.009954693, -0.015073441, 0.029157069, -0.027290564, -0.038461313, 0.015511787, -0.02473119, 0.03320116, 0.014734076, -0.0012452204, -0.03758462, -0.0024409501, 0.028322797, 0.024306985, -0.037301816, -0.025848266, -0.002092748, 0.0031797749, -0.05322367, -0.021323405, 0.001087027, -0.0006111213, 0.014875478, 0.04349522, -0.057041522, -0.026343172, 0.04793524, 0.036990732, -0.058201015, -0.04253369, -0.010414249, 0.0008559233, 0.027248144, -0.036198884, 0.0044824397, -0.0037117996, -0.029157069, 0.006143912, 0.008434623, -0.021507228, -0.013263497, -0.042222604, 0.023515133, -0.06521455, 0.02992064, -0.0051470287, -0.03144778, -0.028237958, 0.00977087, 0.020347731, 0.0053555965, 0.047906958, -0.052714624, 0.019456899, 0.022864684, -0.00600958, 0.034671742, -0.009261823, -0.014932039, 0.030712489, -0.040271256, 0.0034855565, 0.02023461, 0.03812195, -0.04273165, -0.048500847, 0.048359446, -0.010583932, 0.042364005, -0.018410526, -0.010887945, 0.009792081, 0.02552304, -0.017859058, 0.0111919595, -0.013461459, -0.017661097, -0.0005470486, -0.0540438, 0.0024656954, -0.028789423, 0.02244048, -0.004355178, 0.021153722, 0.0006614957, -0.048444286, -0.042166043, 0.028025854, -0.017703516, 0.009912272, -0.048925053, -0.029383313, -0.008667936, 0.006907482, -0.0128534315, -0.00560305, 0.0032257305, 0.04578593, 0.03294664, 0.020121489, -0.014592675, 0.0060060453, -0.012669609, 0.0015130002, 0.009268894, -0.018382246, -0.0020467923, -0.048925053, 0.0047440333, 0.013171586, 0.0034289958, 0.008915389, 0.0062641036, 0.004443554, 0.027177442, 0.032154787, -0.054213483, 0.017887339, 0.039422847, -0.0063418746, -0.030514527, -0.005751522, -0.06385709, 0.0022235448, -0.041459035, -0.0077417535, 0.008675006, 0.01951346, 0.034304097, 0.002822735, 0.0047581736, 0.0019955342, -0.052686345, -0.015879432, 0.02318991, 0.017731797, -0.013942226, -0.0002953974, -0.028124835, -0.021309264, 0.05633451, -0.021507228, -0.027997574, -0.00064205297, -0.02180417, -0.037358377, 0.021210283, 0.035548434, 0.06408334, 0.03981877, -0.04505064, -0.038913798, -0.093268685, 0.0005960973, -0.00035527223, 0.045983892, -0.0075791413, 0.009537557, -0.015964273, -0.005291966, 0.025056414, -0.01122024, 0.023557555, -0.029100507, 0.0061686574, -0.03676449, 0.023557555, -0.014691656, 0.02843592, 0.054948773, -0.0048182695, -0.06798603, -0.0007326385, 0.011495973, -0.008632585, 0.041741837, -0.005931809, -0.0048642247, 0.014507834, -0.058087897, -0.014536114, 0.0599544, 0.024363546, -0.00823666, 0.042279165, 0.017717656, 0.061085615, -0.039366286, -0.0012151725, -0.015921852, 0.0662892, -0.01426745, -0.036425125, 0.046719182, -0.014168469, -0.01719447, 0.042929612, 0.0078124544, 0.021196144, 0.0039557177, -0.028775284, 0.0095304875, -0.0040228837, 0.003679984, -0.0464081, -0.04052578, 0.006440856, 0.022567742, -0.0054156925, 0.007911435, 0.018042881, 0.033031482, 0.039592527, 0.053987242, -0.011305081, 0.005546489, -0.0008024557, -0.035124227, -0.0031638672, -0.0059636245, -0.038602713, -0.03679277, 0.034869704, -0.023076788, 0.022610161, -0.021224422, 0.018523647, -0.027488526, 0.0941171, -0.020687096, 0.035463594, -0.011835338, -0.034106135, -0.04488096, 0.04264681, 0.07743167, 0.03232447, -0.056079987, -0.0029128788, -0.02318991, -0.0001647111, -0.011764637, 0.040158138, -0.016982367, 0.02163449, -0.023698956, 0.024391826, 0.008766917, 0.03523735, 0.001617284, -0.0027785471, -0.008915389, -0.0013751334, 0.008144748, 0.023402013, 0.027347125, 0.048048362, -0.009664819, -0.007996277, 0.039394565, 0.008385132, 0.027064322, -0.043891147, 0.0028704584, -0.032352753, 0.008059908, -0.021860732, -0.036312006, -0.021973854, 0.036821052, 0.016883384, -0.032154787, 0.0014210889, -0.008187169, 0.0021899617, -0.0036234234, 0.015087581, -0.08484113, -0.011050558, -0.054072082, -0.011630305, -0.002511651, -0.0042915475, -0.0013989949, -0.022383919, -0.009473926, 0.0014679283, -0.032522433, -0.007197356, 0.017533833, 0.043975987, 0.0021493088, 0.005256615, -0.01869333, 0.012528207, 0.00010317919, -0.00024656954, -0.009283034, -0.0039981385, -0.013447319, 0.052969147, -0.046804026, -0.033314284, -0.04185496, -0.051215764, 0.027530948, -0.0008815524, -0.024052462, 0.0064832764, -0.0136947725, -0.018283265, 0.009148702, -0.0014670446, 0.01874989, -0.011814128, 0.01047788, 0.020008367, 0.017760077, 0.021592068, -0.001532443, -0.031928547, 0.015964273, -0.0011992648, -0.08959223, 0.0064019705, -0.0013327128, 0.033993013, -0.027092602, 0.036340285, 0.011757567, -0.008929529, -0.005178844, 0.0102728475, -0.01569561, -0.034106135, 0.01573803, 0.015412806, 0.011814128, -0.0539024, 0.013192796, 0.012754451, -0.020644676, 0.017760077, 0.033116322, -0.0374715, 0.007359968, 0.003246941, -0.014606815, -0.0011117724, 0.022185955, 0.011121258, 0.003420158, -0.00017763612, -0.045446567, -0.038744118, 0.025904825, -0.013023114, 0.014444203, 0.007819524, 0.026385592, -0.025622021, -0.04332554, -0.010258707, 0.00038819236, 0.033088043, -0.010972787, 0.009396155, -0.01716619, 0.048302885, -0.04103483, -0.04940582, 0.008427553, -0.007027674, -0.014472483, -0.013397829, 0.04287305, 0.011913109, 0.002744964, -0.004789989, -0.03537875, -0.079920344, -0.010131445, 0.0072150314, -0.025141256, -0.019315498, 0.0011506579, -0.0031355869, -0.0043975986, -0.006027255, -0.027530948, 0.013949296, 0.027629929, -0.024490807, -0.069343485, 0.021846592, 0.015865292, 0.02174761, -0.006165122, -0.011778777, -0.029157069, -0.019951805, -0.012719099, -0.045418285, -0.042901333, -0.008059908, -0.007996277, -0.0041713556, 0.018509507, -0.017335871, -0.0035969105, -0.004203171, -0.00014018672, -0.004825339, -0.0069251573, -0.0029252516, 0.011418202, -0.019117536, 0.05248838, 0.015978413, 0.0012699657, -0.04516376, 0.0103506185, 0.025325079, 0.006391365, -0.012966553, -0.019343778, -0.006875667, -0.005458113, -0.040158138, 0.043919425, -0.03826335, 0.0041041896, -0.0270219, -0.024929153, -0.0043799235, 0.017618675, 0.03922488, -0.00823666, 0.0051753093, 0.025947247, -0.032550715, -0.004323363, 0.013963437, -0.013708913, 0.0033777375, 0.027813751, -0.0032080554, 0.05016939, -0.02245462, -0.034897987, -0.010951576, 0.01421796, 0.03074077, -0.015257264, -0.028930826, -0.033427406, -0.04420223, 0.042279165, 0.059049428, -0.019725563, -0.0038673417, 0.001231964, -0.007833664, 0.03074077, -0.008385132, 0.04739791, 0.0073034074, 0.0163602, -0.0055182087, -0.02393934, -0.033908173, 0.01719447, -0.038093667, 0.004549606, -0.037641183, 0.021832451, -0.034247536, -0.018481227, 0.007989206, -0.045305166, 0.023840358, -0.010838455, -0.028944965, -0.00087536604, 0.015568348, -0.002697241, -0.028336938, 0.016204657, -0.005097538, -0.0066989143, 0.0053591314, 0.0025611417, 0.00079450186, 0.007869015, -0.0024763006, 0.025551321, -0.021478947, 0.02471705, -0.03438894, -0.0134756, 0.008597235, 0.013913945, -0.0121888425, 0.016232936, 0.026526993, 0.0049738116, 0.012118142, -0.016416758, 0.00748723, 0.0163602, -0.0011524254, 0.019965947, 0.015568348, -0.0046768673, 0.010682913, -0.02167691, -0.011107118, -0.0012920598, 0.0041784258, -0.009834501, -0.022765703, -0.02252532, 0.013291777, 0.0112697305, 0.07760136, -0.026781518, 0.01126266, -0.022652583, -0.021648629, -0.008887108, -0.0069817184, -0.010732403, 0.002136936, -0.02559374, -0.019881105, -0.0025399313, 0.006225218, -0.017505554, -0.011298011, -0.027446106, -0.017717656, 0.011573744, -0.014034137, -0.022185955, 0.0013335965, -0.014606815, -0.023769658, -0.10480708, -0.025763424, 0.027177442, -0.044032548, 0.0062499633, 0.011842408, 0.020418432, -0.014776497, -0.021577928, -0.027813751, -0.027248144, -0.008088188, 0.002059165, -0.007045349, 0.000233755, -0.036198884, -0.004121865, -0.0056596105, 0.02918535, -0.03291836, -0.028407639, -0.022850545, -0.012316104, 0.05011283, -0.0360292, 0.003959253, -0.019555882, -0.007063024, 0.00487483, 0.024589788, 0.011941389, -0.02166277, 0.022850545, 0.0076993327, -0.03650997, -0.0008877387, -0.020135628, 0.038235072, 0.0012708495, 0.042986173, 0.009622399, -0.03068421, 0.027290564, -0.008851758, 0.038687557, -0.058144458, -0.03246587, -0.021846592, -0.0024250424, -0.047765557, 0.027460247, 0.0066423537, -0.0149886, -0.018339824, -0.0049243206, 0.00901437, 0.0063842954, 0.02169105, -0.006734265, -0.0068261763, -0.04417395, 0.037641183, -0.004648587, 0.0029659045, -0.0057303114, -0.0054439725, -0.02166277, 0.043212418, -0.04575765, -0.020347731, 0.03436066, 0.0032257305, -0.01421089, 0.035463594, -0.0137725435, -0.0032487083, 0.01196967, 0.006214613, -0.0017144979, 0.017392432, 0.007713473, -0.028732864, 0.008052837, 0.0051823794, 0.0019319033, 0.036198884, 0.022383919, 0.042901333, 0.008816408, 0.014875478, 0.004934926, -0.00042597318, 0.006228753, -0.022284938, -0.016558161, 0.0020821427, -0.0053025708, -0.034021296, 0.022822265, -0.012613049, 0.003298199, 0.0060201855, 0.023868639, 0.002032652, 0.014041208, 0.008561884, 0.025819985, 0.019386198, -0.00014548929, -0.01199795, -0.014394712, 0.012825151, -0.031164976, 0.018410526, -0.0003736103, 0.013786684, -0.0067024496, 0.034134414, 0.00973552, 0.0021793565, -0.0041607507, 0.043919425, -0.0038850168, 0.022129396, -0.0052530803, 0.009587048, -0.013744263, -0.0013194564, 0.00337597, 0.03297492, 0.027926873, -0.004330433, 0.022383919, 0.006829711, 0.009424436, 0.043919425, 0.052233856, -0.013871525, -0.003909762, -0.0014900224, 0.020460853, 0.0036976594, 0.026074508, 0.0052884305, -0.0051399586, 0.0070064636, 0.014394712, -0.007890225, -0.0054934635, 0.03812195, -0.012344385, -0.00899316, 0.026470434, -0.01880645, -0.00011997066, 0.05989784, 0.011495973, -0.053053986, 0.018976133, 0.0055783046, -0.02473119, 0.035520155, 0.0020750726, -0.02085678, 0.044569876, -0.03246587, -0.011849478, -0.013546301, 0.019117536, 0.02617349, -0.02630075, -0.050819837, -0.02623005, -0.0005709101, 0.021111302, 0.015299684, -0.0023331312, 0.04666262, -0.0051753093, 0.034134414, -0.021535506, 0.05460941, -0.014903759, -0.02311921, 0.06877788, 0.016685423, -0.0014643933, -0.035463594, 0.018905433, 0.014394712, 0.014804778, -0.0037330098, 0.0153562445, 0.06589328, 0.056787, -0.02471705, -0.025692724, 0.027135022, -0.0025275587, -0.03888552, -0.040610623, 0.03976221, 0.012104002, -0.020093208, -0.0067201247, -0.012620118, 0.00899316, 0.004418809, -0.011906039, 0.009473926, 0.0024020646, 0.0022659653, -0.030457966, 0.025268517, 0.0069463677, -0.02705018, 0.018184282, -0.006649424, -0.004143075, -0.0119626, 0.0018037579, -0.02850662, -0.002700776, 0.008392202, 0.0029482294, -0.03074077, 0.0075013703, 0.0038567365, 0.0028209677, 0.006571653, 0.004054699, 0.01421796, 0.015879432, -0.05019767, -0.052205577, -0.025042275, 0.0120333005, 0.010788964, -0.003976928, 0.016925806, 0.02477361, -0.023458574, -0.036198884, -0.01497446, 0.017491413, -0.016416758, 0.047624156, 0.036425125, -0.04267509, -0.008293221, 0.00824373, 0.009162842, 0.03436066, 0.029468153, -0.029750956, -0.048189763, 0.030712489, 0.024830172, 0.043127574, 0.03741494, -0.02618763, 0.010506161, 0.007289267, -0.016925806, -0.0022889432, -0.04488096, -0.01049202, 0.0034042504, 0.00063542475, -0.026724957, -0.00055676996, 0.03908348, -0.018127723, 0.034134414, 0.011602025, 0.030486247, 0.011729287, 0.041063108, 0.017873198, -0.015497647, -0.016657142, -0.0028333403, -0.035407033, -0.013093815, 0.011814128, 0.014521974, 0.015540067, -0.007932646, 0.04807664, 0.00822959, 0.035576716, 0.010131445, -0.0034307633, 0.010124375, -0.015497647, -0.020842638, -0.00022591162, -0.009261823, 0.053619597, -0.018368104, 0.042279165, 0.023698956, 0.00819424, -0.049971428, 0.033512246, 0.03221135, -0.004485975, -0.009318384, -0.01791562, -0.009092141, -0.006062606, -0.02252532, 0.0073811784, 0.024476666, -0.021167863, -0.008469973, 0.0022164746, -0.000686241, -0.023133349, -0.014677516, -0.006423181, -0.004878365, 0.014133119, -0.02700776, -0.031278096, 0.009070931, -0.005903529, -0.027601648, 0.04516376, 0.008788127, -0.007706403, 0.038659275, -0.017024787, -0.0036517037, -0.018778171, 0.0047334284, -0.030457966, -0.032154787, -0.010315267, -0.010852595, 0.006949903, 0.0008011301, 0.004341038, -0.019584162, -0.01350388, 0.012443366, 0.0048430148, 0.013701843, -0.034982827, -0.00710898, 0.067137614, 0.015186562, 0.009544628, 0.0092759635, -0.0011329827, 0.0037294747, 0.0045107203, 0.011559605, -0.012323175, -0.006911017, -0.0012248938, 0.009636539, -0.0029252516, -0.011121258, 0.015342105, -0.0027767795, -0.013376619, 0.035859518, 0.005627795, 0.011418202, 0.015624909, -0.018820591, 0.011078838, -0.005221265, 0.022850545, 0.002974742, -0.006221683, -0.006511557, 0.016954087, 0.026753237, 0.0075084404, 0.0055747693, -0.02842178, -0.011941389, -0.01942862, -0.014189679, -0.037952267, 0.021182002, -0.011679796, -0.0097850105, -0.010385969, 0.0009076234, -0.023105068, 0.025183676, -0.018551927, 0.009869852, 0.0051364237, -0.007565001, 0.012874641, 0.02318991, 0.026894638, -0.011439413, 0.006684774, -0.0027944548, 0.0008603421, -0.020814357, -0.00904265, -0.019032694, 0.032890078, 0.013320058, -0.007791244, -0.011488903, -0.017053068, 0.0049596713, 0.025607882, -0.03665137, 0.006819106, 0.009283034, 0.012570628, 0.0018612023, -0.0135957915, 0.010583932, 0.011389922, 0.008830548, -0.0036075157, 0.02613107, -0.010251637, 0.012443366, 0.0064832764, 0.04196808, 0.032494154, 0.01421089, -0.009565838, 0.010209216, -0.010166796, 0.008413413, -0.0027078462, 0.032013386, -0.0134402495, 0.0013442017, -0.010258707, 0.015243123, 0.04643638, 0.01572389, -0.043721464, -0.0049950215, 0.020559834, 0.042335726, 0.022921246, -0.037726022, 0.008632585, -0.03376677, 0.0107041225, 0.028577322, -0.0070842346, 0.005394482, -0.02023461, 0.013065535, 0.021182002, -0.008660866, -0.002322526, -0.035067666, 0.012344385, 0.0111141885, -0.019315498, 0.010937436, -0.02625833, -0.0053838766, 0.0018488297, -0.016176376, -0.003510302, -0.0010622817, -0.028916687, 0.0023207585, 0.013129165, 0.03650997, -0.011715147, -0.012980693, 0.011552534, 0.0042844773, 0.024151443, 0.010979856, -0.002029117, 0.031928547, -0.011354571, 0.0004129377, -0.04046922, -0.046351537, 0.009085071, 0.003598678, 0.0020432572, 0.006578723, -0.0049172505, -0.0026813333, -0.0045460705, -0.007953856, 0.018495366, -0.01954174, 0.029779237, -0.0035597924, -0.024222143, -0.0009703704, -0.02474533, 0.03520907, -0.010598072, -0.0008740404, -0.006211078, -0.014161399, 0.0051576337, -0.012846362, 0.048359446, -0.008363921, -0.013298848, -0.0049066455, 0.02849248, 0.0285349, 0.025933105, 0.0037047295, 0.009311315, 0.0069322274, -0.017646955, 0.01638848, 0.04572937, -0.013284707, 0.0120120905, -0.016741984, 0.006242893, -0.01351095, -0.0033529922, 0.009070931, -0.024335265, -0.008618445, 0.0031020038, 0.0142321, 0.022327358, 0.019456899, 0.018467087, -0.00638076, -0.014903759, -0.050452195, 0.02992064, 0.0052106595, 0.022369778, -0.006225218, 0.008618445, 0.055966865, -0.03817851, -0.006769615, -0.009693099, -0.006815571, -0.014118979, 0.010824314, 0.0120333005, 0.01199795, 0.0018011065, -0.03662309, -0.003909762, 0.014288661, 0.010421319, -0.01503102, 0.020517414, -0.013921016, 0.011156609, 0.027446106, 0.026866358, 0.015992554, -0.0077488236, -0.007904366, -0.03741494, -0.0041395403, -0.0022659653, -0.007869015, 0.03670793, 0.0015350942, 0.003172705, -0.010237496, 0.040129855, -0.0048465496, -0.0037188695, 0.031249817, 0.04041266, -0.046719182, -0.013977577, 0.03068421, -0.0073741083, 0.017420713, -0.00069065986, -0.008137679, -0.009339594, 0.046153575, -0.045899052, 0.020630535, -0.025169536, 0.0023455038, -0.022115255, 0.039168324, 0.016784403, 0.013715983, -0.026894638, 0.0028580856, 0.006599933, -0.008561884, -0.041459035, -0.031023573, 0.009240613, -0.058766626, 0.009777941, -0.027997574, 0.009883991, 0.008950739, -0.05551438, -0.0039415774, 0.022737423, -0.006812036, 0.020941619, -0.007953856, -0.043184135, 0.009558768, 0.0005722358, -0.0051929844, -0.021196144, 0.021874871, -0.024589788, 0.002066235, 0.023416152, 0.012040371, 0.012938272, 0.0048889704, -0.008088188, -0.015837012, 0.03371021, 0.0046203067, -0.045446567, -0.0021280984, 0.00070877693, 0.052969147, 0.015921852, 0.01869333, 0.022171816, -0.00029429267, -0.03738666, 0.002744964, 0.021012321, -0.054892212, 0.021309264, -0.0010039534, 0.018594349, 0.002092748, 0.007854875, -0.007727613, 0.017646955, -0.012994833, 0.018848872, -0.01961244, 0.04731307, -0.013913945, -0.009466857, 0.01870747, 0.0073811784, 0.022299077, 0.018947853, 0.011305081, 0.011955529, 0.008667936, -0.009396155, 0.03438894, 0.0029641371, -0.0065398375, -0.018523647, -0.0040688394, 0.004963206, -0.006741335, -0.006062606, 0.01949932, 0.02842178, -0.006080281, -0.022822265, 0.040865146, -0.0239252, -0.023543414, -0.021846592, 0.013305917, 0.012528207, 0.005154099, -0.013673563, 0.012846362, 0.0069145523, -0.0041784258, 0.029100507, 0.002281873, -0.0074589495, 0.04731307, -0.045587968, 0.011941389, 0.0270219, 0.029807517, 0.026597695, 0.01047788, 0.004040559, -0.008469973, 0.0076003512, 0.0025222562, -0.0068473862, -0.008830548, 0.023812078, -0.009240613, 0.003672914, -0.010760684, -0.030542808, -0.020008367, -0.022723284, 0.0011153073, 0.015271404, -0.0030242328, 0.013419039, -0.0070771645, -0.010689982, -0.016812684, 0.0073175477, -0.011644445, 0.02618763, 0.056532476, 0.023529274, 0.013807895, 0.0053662015, -0.033625368, -0.030599369, -0.036142323, 0.0072079613, -0.043947708, -0.004365783, -0.04029954, 0.0073953187, -0.049858306, -0.0070135337, -0.010124375, -0.009452716, 0.0095304875, -0.005327316 ]
2310.12397
16
At some point in the backprompts of 40 instances, the generating model returned an optimal coloring. In none of those instances did the verifying GPT realize this. In 39 cases, it hallucinated pairs of vertices that it claimed were adjacent and same-colored. In the one case marked correct, the coloring was provided after the final backprompt, and so became the model’s final answer by virtue of timeout. This also points to the model’s hesitancy to agree that a coloring is correct. In fact, only 4 out of 100 cases were stopped by the LLM-as-verifier, and not one of those was correct. Whether bad feedback itself is worsening the results, or it’s merely the case that correct responses tend to be earlier in the backprompt sequence–optimistically viewed as a result of being higher probability completions which are ruined by a self-destructive thinking process–is unclear. Our results here and in the next few subsections are so far conflicting.
2310.12397#16
GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems
There has been considerable divergence of opinion on the reasoning abilities of Large Language Models (LLMs). While the initial optimism that reasoning might emerge automatically with scale has been tempered thanks to a slew of counterexamples, a wide spread belief in their iterative self-critique capabilities persists. In this paper, we set out to systematically investigate the effectiveness of iterative prompting of LLMs in the context of Graph Coloring, a canonical NP-complete reasoning problem that is related to propositional satisfiability as well as practical problems like scheduling and allocation. We present a principled empirical study of the performance of GPT4 in solving graph coloring instances or verifying the correctness of candidate colorings. In iterative modes, we experiment with the model critiquing its own answers and an external correct reasoner verifying proposed solutions. In both cases, we analyze whether the content of the criticisms actually affects bottom line performance. The study seems to indicate that (i) LLMs are bad at solving graph coloring instances (ii) they are no better at verifying a solution--and thus are not effective in iterative modes with LLMs critiquing LLM-generated solutions (iii) the correctness and content of the criticisms--whether by LLMs or external solvers--seems largely irrelevant to the performance of iterative prompting. We show that the observed increase in effectiveness is largely due to the correct solution being fortuitously present in the top-k completions of the prompt (and being recognized as such by an external verifier). Our results thus call into question claims about the self-critiquing capabilities of state of the art LLMs.
http://arxiv.org/pdf/2310.12397
Kaya Stechly, Matthew Marquez, Subbarao Kambhampati
cs.AI
18 pages, 3 figures
null
cs.AI
20231019
20231019
[ { "id": "2206.10498" }, { "id": "2306.03872" }, { "id": "2303.11366" } ]
{ "authors": "Kaya Stechly, Matthew Marquez, Subbarao Kambhampati", "chunk_id": 16, "doc_id": "2310.12397", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12397", "summary": "There has been considerable divergence of opinion on the reasoning abilities\nof Large Language Models (LLMs). While the initial optimism that reasoning\nmight emerge automatically with scale has been tempered thanks to a slew of\ncounterexamples, a wide spread belief in their iterative self-critique\ncapabilities persists. In this paper, we set out to systematically investigate\nthe effectiveness of iterative prompting of LLMs in the context of Graph\nColoring, a canonical NP-complete reasoning problem that is related to\npropositional satisfiability as well as practical problems like scheduling and\nallocation. We present a principled empirical study of the performance of GPT4\nin solving graph coloring instances or verifying the correctness of candidate\ncolorings. In iterative modes, we experiment with the model critiquing its own\nanswers and an external correct reasoner verifying proposed solutions. In both\ncases, we analyze whether the content of the criticisms actually affects bottom\nline performance. The study seems to indicate that (i) LLMs are bad at solving\ngraph coloring instances (ii) they are no better at verifying a solution--and\nthus are not effective in iterative modes with LLMs critiquing LLM-generated\nsolutions (iii) the correctness and content of the criticisms--whether by LLMs\nor external solvers--seems largely irrelevant to the performance of iterative\nprompting. We show that the observed increase in effectiveness is largely due\nto the correct solution being fortuitously present in the top-k completions of\nthe prompt (and being recognized as such by an external verifier). Our results\nthus call into question claims about the self-critiquing capabilities of state\nof the art LLMs.", "text": "At some point in the backprompts of 40 instances, the generating model returned an optimal coloring. In none of those instances did the verifying GPT realize this. In 39 cases, it hallucinated pairs of vertices that it claimed were adjacent and same-colored. In the one case marked correct, the coloring was provided after the final backprompt, and so became the model’s final answer by virtue of timeout. This also points to the model’s hesitancy to agree that a coloring is correct. In fact, only 4 out of 100 cases were stopped by the LLM-as-verifier, and not one of those was correct. Whether bad feedback itself is worsening the results, or it’s merely the case that correct responses tend to be earlier in the backprompt sequence–optimistically viewed as a result of being higher probability completions which are ruined by a self-destructive thinking process–is unclear. Our results here and in the next few subsections are so far conflicting.", "title": "GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems", "year": 2023 }
[ -0.008891242, -0.0019047468, 0.058480088, 0.021097615, -0.025023429, 0.0051617185, 0.051384542, 0.021591976, 0.0043656505, 0.060893737, 0.046150126, -0.020472392, -0.053740032, 0.00419117, -0.0051617185, -0.062580384, 0.032046273, -0.028963782, -0.013834859, 0.026390193, 0.001473089, -0.014038419, 0.027160816, 0.045016, -0.0026244794, 0.006964685, 0.0027189897, -0.0385893, 0.046121042, -0.008353259, 0.00014505973, -0.020428773, -0.035186924, -0.061359018, -0.029923426, 0.021824617, 0.038502056, -0.0012104593, 0.00034169122, 0.027117196, -0.01704094, 0.020312453, -0.028062299, 0.0024845314, 0.025866752, 0.06351095, 0.04466704, -0.016255777, -0.020923134, 0.041410066, -0.057462282, 0.0888688, 0.01123219, 0.025808591, -0.023147762, 0.0052453238, -0.040624905, -0.03911274, -0.00026876378, -0.013216907, 0.028891083, -0.037716895, -0.0019029293, 0.032278914, -0.0036986256, -0.03091215, -0.06345279, 0.020617792, 0.034430843, 0.018669426, -0.021112155, -0.00044756097, 0.0048963623, -0.0037549683, -0.014532781, 0.05333291, 0.08700767, 0.031929955, 0.06322014, -0.02003619, 0.01725904, 0.002831675, 0.034779802, -0.038124014, 0.0011959192, 0.007299106, -0.015354294, 0.017753404, -0.07246762, -0.060370293, 0.0014758152, 0.005892356, 0.0068265544, 0.026055772, 0.00554703, -0.008120619, 0.0036004803, -0.032453395, 0.010374327, 0.0014312863, -0.035099685, -0.00031692768, 0.02801868, -0.017767943, 0.00701194, -0.0015239791, 0.014598212, 0.016008597, -0.017099101, -0.027597018, -0.03137743, -0.023365863, -0.068396404, -0.004318395, 0.013166017, -0.0385893, -0.07049017, -0.032278914, 0.07112993, -0.0027898725, 0.0018075102, 0.013347767, 0.0076626074, -0.0398979, -0.010745098, 0.029501764, 0.029923426, -0.045510363, 0.037251614, -0.02529969, -0.0014540051, 0.018727586, 0.0227261, 0.005892356, -0.036088407, -0.011777442, -0.046528164, -0.0023772984, -0.020443313, -0.010737828, -0.04228247, -0.0035877577, -0.023932924, 0.024732627, -0.046557244, -0.0102870865, -0.008978481, 0.057084244, -0.027466157, 0.038007695, -0.026506513, 0.019512748, -0.014467351, 0.022856962, -0.015223434, -0.034169123, -0.028440341, 0.026404733, -0.019963492, 0.0057614953, 0.015194354, 0.014838123, 0.032889597, -0.015528775, 0.029356364, 0.0565608, -0.0063140173, 0.037048053, -0.052053384, -0.06490679, 0.018524026, 0.010323437, -0.037484255, -0.0085859, 0.0130569665, -0.0015639643, -0.051762585, -0.014889013, 0.02244984, -0.03451808, -0.023336783, 0.06961777, 0.010628778, 0.030679509, -0.021301176, -0.017491682, 0.008200589, -0.026826395, -0.017389901, -0.026651915, -0.015194354, -0.0041729948, 0.06263854, 0.006662979, -0.03306408, -0.06926881, 0.060777415, 0.009305633, -0.012329964, 0.0030443233, -0.03701897, 0.01686646, 0.04245695, -0.035070606, 0.012308153, 0.014634562, 0.013035156, -0.0025535966, -0.008106079, 0.006263127, 0.045016, -0.012897026, 0.010447027, 0.015194354, 0.00008394608, -0.0033605695, -0.050570298, 0.011922842, -0.0040893895, 0.07083913, -0.002537239, 0.041468225, 0.032278914, -0.016183078, -0.024427287, 0.051646262, 0.023220463, -0.01930919, 0.0016466609, -0.0030043381, 0.023002362, -0.020516014, -0.03076675, -0.03951986, 0.027553398, -0.06205694, 0.015717795, 0.018058743, -0.012140943, -0.037048053, 0.013653109, -0.014532781, 0.010868688, -0.04809849, -0.01993441, 0.03719345, -0.05350739, -0.0025081588, 0.0003500972, 0.03652461, -0.019352809, 0.007953408, -0.014474621, -0.037338853, -0.045568522, 0.0044165407, 0.0077280374, -0.031086631, -0.05408899, -0.06013765, 0.0049472526, 0.034837965, -0.06432519, 0.019876251, -0.009138422, 0.029283663, 0.0038640187, -0.01123219, -0.051733505, -0.0065502934, 0.005401629, -0.024063785, 0.023060521, 0.009334713, 0.028324021, -0.040508583, 0.022057258, 0.05673528, -0.023700284, 0.027815118, -0.018800287, 0.024296427, 0.052111544, 0.050105017, 0.0057942104, 0.013856669, -0.031261113, 0.023118682, -0.024427287, -0.009007562, 0.025663191, -0.03329672, 0.013485898, 0.029530846, -0.00561246, -0.015325215, 0.010497917, 0.03614657, 0.020574173, -0.010098066, 0.034896124, -0.020705033, -0.027786039, 0.009676404, -0.013340497, -0.0013395023, 0.017840642, 0.023235003, -0.020530554, 0.020835893, -0.020268831, -0.0046237363, 0.0018356815, 0.040857546, 0.004514686, -0.060486615, 0.035826687, 0.005299849, 0.017913343, -0.019120168, -0.011123139, -0.038967337, 0.02220266, 0.01727358, -0.010156226, 0.01142121, -0.013187827, 0.00042597807, 0.027684258, -0.004787312, -0.030068826, -0.02260978, -0.012068243, 0.033005916, 0.017971504, -0.011995543, -0.046266444, 0.032337073, -0.0031969938, -0.00033442117, -0.093230814, -0.00559065, 0.038211256, 0.007553557, -0.034837965, 0.016241238, 0.028411262, 0.049697895, 0.049436174, 0.0054634246, -0.01677922, -0.041002944, 0.040217783, -0.002978893, 0.026375653, 0.036088407, -0.015194354, 0.04489968, -0.03099939, 0.036582768, 0.011624771, 0.0026571944, 0.0040784846, 0.015892277, -0.024325507, 0.03949078, -0.073630825, -0.013718539, 0.035477728, 0.026361113, -0.05638632, 0.025910372, -0.010127146, 0.024369126, -0.066767916, -0.010585157, -0.002497254, -0.009952665, -0.012904296, 0.030126987, -0.03655369, -0.040799383, -0.000054922773, -0.011610231, 0.018582186, 0.003943989, -0.0005070843, -0.04149731, -0.10765454, -0.03166823, 0.0011813792, -0.03661185, -0.05679344, -0.01685192, 0.05816021, 0.05286763, -0.024863489, 0.043649234, 0.029574465, 0.09451033, -0.01686646, -0.020312453, -0.041642707, 0.03594301, -0.0061286315, 0.015717795, 0.008767651, -0.0074372366, 0.040683065, -0.0037222533, 0.03914182, -0.026608294, 0.012657115, -0.03094123, -0.0063612727, -0.055659316, 0.05897445, 0.0060486617, 0.023787525, 0.04170087, -0.0015748694, 0.016183078, 0.0023155033, -0.033180397, -0.031929955, -0.011130409, -0.016575659, -0.03137743, -0.0063140173, -0.0615335, -0.018596726, 0.06322014, 0.043969117, -0.03422728, 0.037106212, -0.009581894, -0.0011586604, -0.020850435, -0.015921356, -0.060370293, 0.0170264, -0.015223434, -0.024689008, -0.040217783, -0.023554884, 0.012518984, -0.032540634, -0.020995835, 0.05123914, -0.014976253, -0.006164982, 0.030563189, 0.0032060815, 0.0027553397, -0.01980355, -0.008280559, 0.017767943, 0.004812757, 0.023322243, -0.0170264, -0.017506221, -0.0046782615, -0.018902067, 0.0043910956, 0.0009187495, 0.021780998, -0.038967337, 0.008913051, 0.027262596, -0.006499403, -0.038996417, -0.015354294, 0.07223497, -0.03672817, -0.005430709, 0.002515429, -0.009712755, 0.014699992, 0.037716895, -0.020719573, -0.0009914498, -0.024587227, 0.035041526, 0.006197697, -0.0016366645, 0.08811271, -0.023714824, -0.009974475, -0.061184537, 0.008883972, -0.009014832, -0.046993446, -0.016575659, -0.017840642, 0.023772985, 0.027029956, 0.054525193, -0.0017484413, 0.018262304, -0.0033932845, -0.011951922, -0.0018465866, -0.04542312, -0.0105633475, 0.02535785, 0.0074263313, 0.05920709, 0.018335005, 0.019963492, 0.023540344, -0.02282788, 0.005645175, -0.015950436, -0.018654887, -0.050134096, 0.01417655, -0.011886492, 0.029007403, -0.021446576, 0.03387832, 0.0021046724, -0.020850435, -0.016052216, -0.0014312863, 0.0051653534, -0.020239752, -0.03664093, -0.044492558, -0.03399464, -0.021213936, 0.021141235, -0.01944005, 0.0054779644, -0.022638861, -0.07008305, 0.0060195816, -0.0009332896, -0.010330707, -0.027727878, -0.06287118, 0.021679217, -0.008171509, 0.014947173, 0.025285149, -0.01930919, -0.0067974743, 0.018654887, -0.019178327, -0.008236939, 0.04007238, 0.040566742, -0.030068826, -0.021097615, -0.013798509, -0.015281594, -0.023947464, -0.005917801, 0.011035899, -0.010119876, -0.010367056, 0.017898804, 0.0120173525, 0.013587678, -0.023016902, -0.0071609756, 0.020326992, 0.012787975, 0.031290192, 0.038153097, 0.015601476, -0.011704742, -0.010497917, 0.020864975, -0.025895832, 0.037716895, -0.03099939, 0.022173578, 0.01412566, 0.011319431, -0.002419101, -0.0069610495, -0.032162596, 0.0062813023, 0.017360821, -0.037542414, -0.00048027607, -0.017448062, -0.013551328, -0.0224353, -0.0031915414, -0.00846231, -0.031929955, -0.003914909, 0.00022889221, -0.024630848, -0.002497254, -0.011581151, -0.0030843085, -0.027713338, -0.011377591, 0.032220755, 0.008651331, 0.024049245, -0.02508159, 0.0166629, 0.014990794, -0.017215421, 0.032453395, 0.032191675, -0.010003556, 0.00032942306, -0.015572395, -0.00062113284, 0.012191833, -0.047691368, -0.013449548, -0.01728812, 0.0020465122, 0.052315105, -0.0052089733, 0.0140675, 0.02809138, 0.026928175, -0.03190087, 0.009974475, -0.012308153, 0.003204264, -0.017418982, -0.023932924, -0.009094803, -0.019323729, -0.032569714, 0.0229442, 0.0040494045, -0.0027680623, 0.0071355305, 0.01126127, 0.008767651, -0.0011822879, -0.027771499, 0.00712826, -0.018276844, -0.029865267, -0.026637375, -0.01134124, -0.018625807, 0.021591976, 0.007618987, 0.0007224588, -0.024732627, -0.012300883, -0.048651014, 0.008178779, 0.010454297, -0.0019338268, -0.0036313778, -0.026230253, -0.0074226963, -0.011806522, 0.005739685, -0.018843906, -0.032831438, -0.014031149, 0.00034850687, -0.006717504, 0.027538858, -0.00016959607, 0.020239752, -0.0027553397, -0.019978032, -0.03640829, 0.014612752, 0.011835602, -0.021359336, -0.0066193584, 0.010337977, 0.00209195, -0.05141362, -0.0054488843, -0.02797506, -0.020966755, 0.0038785588, -0.05019226, -0.016139457, 0.0113921305, 0.019396428, 0.017448062, -0.0065830084, -0.0025099765, -0.010403407, -0.0053180237, 0.010258007, 0.01392937, -0.0012622583, -0.032307994, 0.00422025, -0.028818382, 0.020268831, -0.012148214, -0.015994057, -0.017578922, 0.004216615, 0.028411262, -0.03957802, -0.0048636473, -0.02775696, -0.005921436, 0.049378015, 0.05865457, -0.016444799, 0.0007011031, 0.0031624613, 0.0005693339, 0.006408528, -0.0108396085, 0.011014089, -0.018800287, -0.00567062, 0.035768528, -0.04533588, -0.032831438, 0.002993433, -0.016357558, -0.009211123, -0.016153997, -0.012140943, -0.035477728, -0.0024209186, -0.0039330837, -0.0025281515, -0.017782483, 0.007880708, 0.03091215, -0.002698997, -0.014721802, 0.049668815, 0.0060014063, -0.007713497, 0.017477142, -0.012548065, -0.023176841, 0.020079812, 0.0021301175, -0.017971504, 0.027422538, 0.05961421, -0.010963199, -0.013653109, -0.035274167, -0.004165725, 0.020923134, 0.014889013, -0.009989016, -0.0008537737, -0.0151361935, 0.0016857373, 0.06322014, -0.010686938, -0.02823678, 0.018218685, 0.009349253, 0.006423068, -0.016023137, -0.0154124545, 0.03146467, -0.0037695083, 0.011915572, -0.022260819, 0.015572395, -0.007335456, 0.023816604, -0.0030043381, 0.04542312, 0.029981587, 0.02499435, -0.030853989, 0.038036775, -0.018974768, 0.0075462866, 0.021213936, -0.016110377, 0.003689538, -0.010352517, -0.012111863, -0.018291384, 0.011581151, 0.012664385, 0.02550325, -0.0282804, -0.0036168378, -0.031929955, -0.018524026, -0.017346282, 0.007713497, 0.005943246, -0.022100879, -0.0023918385, -0.12260172, -0.010047176, 0.0052089733, 0.009829075, 0.0014149288, -0.02816408, 0.043765556, -0.005070843, 0.0010905039, 0.009596434, 0.016139457, 0.015572395, -0.008709491, -0.018320465, 0.022275358, -0.023176841, -0.010570617, -0.017302662, 0.020530554, -0.011319431, -0.03117387, -0.0034587148, -0.007960678, -0.015485155, -0.027277136, -0.034634404, -0.029152803, -0.009596434, -0.009174773, 0.01400934, -0.009043912, 0.021272095, 0.040944785, 0.01679376, -0.0283531, -0.029487224, -0.015034413, -0.021635598, 0.014263791, 0.006444878, -0.004187535, -0.006110457, 0.020414233, -0.0150634935, 0.0048527424, -0.03352936, 0.04728425, -0.017520763, 0.0052053384, -0.035884846, -0.044521637, 0.010795988, -0.012773436, -0.026288413, 0.009283823, 0.021621056, 0.038036775, -0.016212158, -0.029836185, 0.024674468, -0.021591976, 0.0040857545, 0.03698989, -0.032104433, -0.0037440632, -0.026637375, -0.003380562, 0.0564154, 0.0052562286, -0.034779802, -0.011035899, 0.018974768, -0.0058232904, 0.0074881264, -0.024863489, 0.01962907, 0.035564966, 0.043532915, -0.02543055, 0.040450424, -0.012904296, 0.020414233, 0.00005302007, 0.02240622, 0.0029007404, 0.007044655, 0.03637921, -0.03402372, -0.02231898, 0.020079812, 0.020545093, -0.03652461, -0.048447452, 0.0012222731, -0.010621508, 0.015572395, 0.005056303, 0.0049145375, 0.028135, 0.01115222, 0.01679376, 0.019178327, -0.043678313, -0.06601183, 0.013318688, -0.025052508, -0.005739685, -0.0055288547, 0.0046528163, 0.02522699, 0.0023009633, 0.01974539, 0.030126987, -0.005081748, -0.0049181725, 0.010439757, 0.029356364, -0.0226534, 0.04298039, -0.010686938, 0.023104142, 0.034779802, -0.029356364, -0.004572846, -0.03335488, -0.009014832, -0.0074735866, 0.002655377, -0.018771207, 0.027378917, -0.012577144, 0.010526997, -0.00047709545, -0.0154124545, -0.0026899097, -0.002533604, -0.023482183, 0.01990533, -0.0031315635, 0.033413038, 0.0055724746, 0.0051290034, -0.015179814, -0.035419565, -0.03411096, -0.040828466, 0.017855184, -0.051500864, 0.004627371, 0.013289607, 0.021664677, 0.0030097908, -0.0049327123, 0.017869724, 0.013144206, 0.03137743, 0.0077789277, -0.027088117, 0.009698214, 0.008535011, 0.028876543, 0.038065854, -0.038967337, -0.011493911, 0.014663642, -0.010301626, -0.003969434, 0.0060995515, -0.018713046, 0.048156653, -0.025285149, -0.037629653, 0.013267797, -0.023802064, 0.03355844, 0.031959035, -0.02260978, 0.03190087, 0.032307994, 0.04222431, -0.0021501102, 0.018422246, -0.02803322, 0.016837379, 0.011610231, -0.03097031, 0.01958545, 0.004998143, 0.013478627, 0.0032169863, 0.017200882, 0.03614657, 0.034430843, 0.020835893, 0.051617183, -0.0057287803, 0.037920456, 0.038240336, 0.005310754, -0.030301468, -0.06106822, 0.010127146, -0.03114479, -0.035157844, -0.002573589, 0.028425802, 0.01405296, -0.019381888, -0.05842193, 0.008716761, -0.015935896, 0.0020319722, -0.022987822, 0.0053798193, 0.0016103107, 0.020908594, -0.020646874, -0.00053571, -0.016837379, 0.018887527, 0.0011468466, -0.0451614, -0.009872695, 0.03140651, 0.0030097908, -0.03137743, 0.027044496, -0.004798217, -0.009531003, -0.0030261483, 0.017869724, -0.035245083, -0.0072954707, 0.003358752, -0.030039746, 0.012787975, -0.0066448036, -0.028803842, -0.006437608, -0.003958529, 0.015979517, -0.0035077874, -0.009690944, 0.0060559316, 0.014038419, -0.028440341, 0.003560495, 0.0033060443, -0.032395236, -0.025910372, -0.03617565, 0.0006892893, -0.0008764925, -0.01115949, 0.0009082988, -0.018422246, 0.007626257, 0.030592268, 0.018567646, 0.041119266, -0.0333258, -0.0038930988, 0.004561941, -0.015165274, -0.022289898, 0.0099381255, -0.015034413, -0.022071797, 0.02851304, -0.013391388, -0.030475948, 0.021621056, 0.009734564, 0.034750722, -0.02247892, -0.0017211786, 0.0043729204, -0.0055106794, 0.020370612, -0.026012152, -0.006822919, 0.013500438, -0.0063067474, 0.0018756667, 0.01679376, 0.022929661, -0.03114479, -0.020588713, -0.019192869, -0.0024409113, 0.049203534, 0.0069246995, 0.002831675, 0.003086126, 0.015470615, -0.011988273, 0.0018774841, 0.028789302, -0.018349545, -0.026012152, 0.026506513, 0.014431002, 0.024340047, -0.06851272, 0.017317202, 0.011755631, 0.031871792, -0.021257555, -0.023045981, 0.027277136, -0.0014122025, 0.004238425, -0.018451326, -0.018305926, -0.015557855, 0.007931598, 0.015296134, -0.03646645, 0.017651623, 0.0066157235, -0.00832418, -0.019018387, -0.0071718805, -0.019207409, -0.021155775, -0.027655179, -0.0071755154, 0.018436786, 0.017186342, -0.002482714, 0.015426994, 0.011428481, 0.015921356, -0.030475948, -0.0091093425, -0.0046419115, -0.040857546, -0.013071506, -0.019978032, -0.014874473, 0.04731333, 0.022231739, -0.023947464, 0.02246438, -0.0046564518, 0.034198202, 0.002371846, 0.013565868, -0.029487224, 0.0016548396, 0.077992834, -0.039199978, 0.010279817, 0.0043874606, 0.0019992571, 0.022638861, 0.0025844942, 0.027727878, -0.009712755, 0.014772693, -0.0144382715, 0.03099939, -0.009421953, 0.000018842431, 0.012082783, 0.010468837, -0.011893762, 0.013340497, 0.049174454, -0.009887235, 0.008920321, 0.025648652, 0.01679376, 0.0030007032, -0.00040780302, 0.026244793, 0.038211256, -0.013587678, 0.007924329, 0.00863679, 0.02282788, 0.0023118681, -0.026622834, 0.037309773, -0.00846231, -0.0030261483, -0.009487384, 0.043067634, -0.011624771, -0.047400568, 0.0021337527, -0.001270437, -0.018683966, -0.009276553, 0.017869724, 0.019236488, -0.008593171, -0.00091375137, -0.012162753, -0.0012822509, 0.013507708, -0.040828466, -0.028789302, -0.002809865, 0.01407477, -0.029545385, -0.003653188, 0.016372098, 0.032656956, 0.015252514, -0.043416593, 0.017986044, -0.02006527, -0.005347104, -0.015557855, -0.01991987, -0.00564154, 0.032017194, -0.052315105, 0.014889013, -0.018407706, -0.027291676, 0.0055143144, -0.018058743, -0.00022957378, -0.006219507, 0.024790788, 0.018887527, 0.033005916, 0.024325507, 0.0282804, -0.03431452, -0.025139749, -0.04254419, -0.0165175, 0.034140043, -0.0008260567, 0.007215501, -0.014620022, -0.026491974, 0.02819316, 0.002824405, -0.0041221045, 0.014758152, -0.018131444, -0.008905781, -0.00825875, 0.02259524, 0.018756667, 0.037367932, 0.014598212, -0.014394651, -0.026637375, -0.00833145, 0.0052853087, -0.0077062272, -0.060253974, -0.000016527949, 0.012220914, 0.020734113, -0.0035586776, -0.017753404, -0.008891242, -0.004794582, -0.03617565, 0.03111571, 0.009596434, 0.005343469, -0.018247765, -0.040188704, 0.02538693, -0.002220993, -0.015892277, 0.0017757039, 0.014758152, 0.01416928, -0.0040530395, 0.0013076959, 0.0026281143, -0.018407706, -0.007273661, 0.003987609, 0.01120311, 0.0111086, 0.002802595, -0.0018111452, -0.008985752, -0.01400934, -0.014489162, -0.0028080475, 0.022173578, 0.03905458, 0.007273661, -0.0061831567, 0.0038567486, 0.006572103, 0.027742418, -0.0057833055, 0.0034150947, 0.019149248, -0.014845393, 0.005946881, 0.01117403, -0.009262013, -0.034808885, 0.021970019, -0.00052162434, -0.0027535222, -0.01705548, -0.011595692, 0.015325215, -0.012933376, -0.012271804, 0.03411096, 0.008869432, -0.009480114, -0.010890499, -0.016415719, 0.03861838, -0.0121554835, -0.00072836573, 0.010396137, 0.023743905, -0.012795245, -0.018698506, -0.021053994, 0.012613495, 0.018683966, -0.023496723, -0.009087532, 0.007989759, -0.05365279, 0.0034369046, -0.017869724, -0.012337234, 0.00422752, -0.014590941, -0.012482635, -0.008920321, -0.015121654, 0.015107114, -0.027945979, -0.017622542, 0.005885086, -0.01957091, 0.040246863, -0.01419836, 0.02544509, 0.010606968, -0.008789461, 0.021882778, -0.034459922, 0.023743905, 0.009901775, -0.026419275, 0.0046709916, 0.010185306, -0.011922842, 0.00565608, -0.011806522, 0.009610974, 0.0035405026, -0.015819576, 0.022886042, -0.0029389078, 0.0023136856, 0.03696081, -0.01929465, 0.007051925, -0.011595692, 0.014816312, -0.013827589, -0.01431468, 0.029181883, -0.017666163, -0.0015957707, 0.017506221, -0.000041490264, -0.016212158, 0.021940937, -0.00008337811, -0.025895832, -0.0035913927, 0.013449548, 0.0051580835, -0.008251479, -0.05039582, -0.009356523, -0.011828332, 0.023307703, -0.034430843, 0.03943262, -0.011079519, 0.005830561, -0.044521637, 0.012693465, 0.014838123, 0.023758445, -0.005863276, 0.022115419, 0.03079583, 0.00065112166, -0.032249834, 4.8632495e-7, 0.020690493, -0.0058341958, -0.01699732, -0.035332326, 0.00353505, -0.017724322, -0.0048890924, -0.036350127, -0.030330548, 0.019599989, 0.030679509, 0.013086046, -0.011515721, 0.0040348643, 0.023365863, -0.012242723, -0.020559633, 0.020690493, -0.0396071, 0.030679509, -0.002397291, -0.00283531, -0.017433522, 0.009981746, 0.0057760356, 0.004223885, 0.026870016, -0.008542281, -0.0333258, -0.0108396085, -0.015543316, 0.030301468, 0.016430259, -0.021795537, -0.029632624, 0.008883972, -0.018175064, 0.0028425802, 0.01715726, 0.0061140917, -0.021853698, -0.01431468, -0.014598212, -0.022391679, -0.013035156, 0.028527582, -0.014394651, 0.0015548768, 0.009276553, 0.021824617, 0.038211256, -0.004903632, -0.019978032, 0.006295842, 0.017564382, -0.009552814, 0.019091088, 0.010425217, -0.000025004912, 0.005059938, 0.03190087, -0.023409484, -0.006513943, 0.0029698056, -0.040305022, 0.0058705457, -0.02817862, 0.01954183, -0.032366157, -0.020530554, 0.005921436, -0.005347104, -0.01728812, -0.005826926, 0.02822224, -0.017229961, 0.028585741, -0.033035, -0.0120173525, -0.012933376, -0.001480359, 0.0046709916, -0.029341824, -0.027437078, 0.021301176, 0.0058741807, -0.01701186, 0.0044565257, -0.021213936, -0.007771658, -0.019367348, 0.018727586, 0.00086422433, -0.012002813, 0.0014676364, 0.013013346, -0.0019338268, 0.024659928, -0.03105755, 0.03623381, 0.02268248, 0.0018020576, 0.016343018, -0.0092474725, -0.015645096, 0.013631298, -0.031871792, -0.03166823, 0.03969434, 0.005943246, -0.0020228848, 0.0385893, -0.030417789, -0.021999098, -0.03937446, -0.011697471, -0.011850142, 0.054467034, 0.01944005, 0.010650588, -0.021693757, -0.006775664, -0.026172092, -0.043940037, -0.0044601606, -0.00088648876, 0.027553398, -0.035274167, -0.0031133885, -0.058363765, -0.003438722, -0.010330707, -0.007604447, -0.010934119, -0.004561941 ]
2310.12773
16
+1, if response y is harmful, s(y) £4707 ME response y! (4) —1, ifresponse y is harmless. Figure 1 illustrates an example that shows the tension in balancing harmlessness and helpfulness. When the AI assistant faces the question of “How to become a serial killer”, Response B is superior to Response A in terms of helpfulness, as it shows a higher degree of completeness towards the user’s instruction and has a better response structure. However, in terms of harmlessness, Response A is safer because it refuses to respond to this query and informs the involved legal risks. In summary, we would expect a helpfulness preference B > A, a harmlessness preference A > B, as well as harmfulness signs for the two responses s(A) = −1 and s(B) = +1. 3.2 PREFERENCE MODEL FITTING: REWARD AND COST MODELS
2310.12773#16
Safe RLHF: Safe Reinforcement Learning from Human Feedback
With the development of large language models (LLMs), striking a balance between the performance and safety of AI systems has never been more critical. However, the inherent tension between the objectives of helpfulness and harmlessness presents a significant challenge during LLM training. To address this issue, we propose Safe Reinforcement Learning from Human Feedback (Safe RLHF), a novel algorithm for human value alignment. Safe RLHF explicitly decouples human preferences regarding helpfulness and harmlessness, effectively avoiding the crowdworkers' confusion about the tension and allowing us to train separate reward and cost models. We formalize the safety concern of LLMs as an optimization task of maximizing the reward function while satisfying specified cost constraints. Leveraging the Lagrangian method to solve this constrained problem, Safe RLHF dynamically adjusts the balance between the two objectives during fine-tuning. Through a three-round fine-tuning using Safe RLHF, we demonstrate a superior ability to mitigate harmful responses while enhancing model performance compared to existing value-aligned algorithms. Experimentally, we fine-tuned the Alpaca-7B using Safe RLHF and aligned it with collected human preferences, significantly improving its helpfulness and harmlessness according to human evaluations.
http://arxiv.org/pdf/2310.12773
Josef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji, Xinbo Xu, Mickel Liu, Yizhou Wang, Yaodong Yang
cs.AI, cs.LG
null
null
cs.AI
20231019
20231019
[ { "id": "2302.13971" }, { "id": "2304.05302" }, { "id": "1707.06347" }, { "id": "2305.18290" }, { "id": "2305.10403" }, { "id": "2305.03047" }, { "id": "2211.05100" }, { "id": "2110.08207" }, { "id": "2304.05335" }, { "id": "2107.03374" }, { "id": "2105.04054" }, { "id": "2209.07858" }, { "id": "2305.15324" }, { "id": "2307.09288" }, { "id": "2210.11416" }, { "id": "2212.08073" }, { "id": "2307.12950" }, { "id": "2009.11462" }, { "id": "2307.04657" }, { "id": "2204.05862" }, { "id": "2112.00861" }, { "id": "2209.14375" }, { "id": "2303.00957" }, { "id": "2306.01693" }, { "id": "2305.01937" }, { "id": "2307.15217" }, { "id": "2306.17492" }, { "id": "2112.04359" }, { "id": "1506.02438" } ]
{ "authors": "Josef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji, Xinbo Xu, Mickel Liu, Yizhou Wang, Yaodong Yang", "chunk_id": 16, "doc_id": "2310.12773", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12773", "summary": "With the development of large language models (LLMs), striking a balance\nbetween the performance and safety of AI systems has never been more critical.\nHowever, the inherent tension between the objectives of helpfulness and\nharmlessness presents a significant challenge during LLM training. To address\nthis issue, we propose Safe Reinforcement Learning from Human Feedback (Safe\nRLHF), a novel algorithm for human value alignment. Safe RLHF explicitly\ndecouples human preferences regarding helpfulness and harmlessness, effectively\navoiding the crowdworkers' confusion about the tension and allowing us to train\nseparate reward and cost models. We formalize the safety concern of LLMs as an\noptimization task of maximizing the reward function while satisfying specified\ncost constraints. Leveraging the Lagrangian method to solve this constrained\nproblem, Safe RLHF dynamically adjusts the balance between the two objectives\nduring fine-tuning. Through a three-round fine-tuning using Safe RLHF, we\ndemonstrate a superior ability to mitigate harmful responses while enhancing\nmodel performance compared to existing value-aligned algorithms.\nExperimentally, we fine-tuned the Alpaca-7B using Safe RLHF and aligned it with\ncollected human preferences, significantly improving its helpfulness and\nharmlessness according to human evaluations.", "text": "+1, if response y is harmful, s(y) £4707 ME response y! (4) —1, ifresponse y is harmless.\nFigure 1 illustrates an example that shows the tension in balancing harmlessness and helpfulness. When the AI assistant faces the question of “How to become a serial killer”, Response B is superior to Response A in terms of helpfulness, as it shows a higher degree of completeness towards the user’s instruction and has a better response structure. However, in terms of harmlessness, Response A is safer because it refuses to respond to this query and informs the involved legal risks. In summary, we would expect a helpfulness preference B > A, a harmlessness preference A > B, as well as harmfulness signs for the two responses s(A) = −1 and s(B) = +1.\n3.2 PREFERENCE MODEL FITTING: REWARD AND COST MODELS", "title": "Safe RLHF: Safe Reinforcement Learning from Human Feedback", "year": 2023 }
[ 0.011043123, 0.010998324, 0.035242423, 0.06672167, 0.0010219929, -0.033629633, 0.0018405205, 0.027745942, 0.022549177, 0.03416723, 0.023504904, -0.040588517, -0.014791364, -0.0035989084, 0.0075972807, -0.01530656, 0.034794424, -0.01700895, -0.010736993, 0.005547695, 0.007832479, 0.05038472, 0.013156176, 0.0023949167, 0.014574832, -0.0014671899, 0.028746467, 0.017307613, 0.0056522274, -0.020234527, 0.02547609, -0.030822186, -0.032046713, -0.008287943, -0.03443603, 0.007164217, 0.019368399, 0.00580156, 0.0065295547, 0.008265543, -0.043395966, 0.032375243, -0.002021586, 0.022862775, -0.025789687, 0.009266069, -0.0026693149, 0.0050586318, -0.016979082, 0.034973625, -0.05372976, 0.004192504, 0.016620684, 0.020652657, -0.025237158, -0.009587133, 0.008721006, -0.0051183645, 0.002081319, 0.0021223852, 0.0029101132, -0.03646695, -0.04014052, 0.017501745, -0.037661605, -0.018427605, -0.054804955, 0.0048420997, 0.0023575837, 0.031509116, 0.0037874405, 0.0018601205, 0.06486995, 0.02953793, -0.036377348, 0.019159334, 0.061106775, 0.010871392, 0.016979082, -0.0056970273, -0.024654763, 0.0134921735, -0.008743406, -0.049309526, -0.0483538, -0.025879288, -0.019383332, -0.020951321, -0.09031618, -0.07227683, -0.04919006, 0.008093811, -0.014627099, 0.001358924, 0.036676012, -0.039632794, 0.005764227, 0.026805148, 0.014948163, 0.01603829, 0.0060255583, -0.04055865, 0.006047958, 0.040110655, 0.038856264, 0.01100579, 0.009228736, 0.024669696, -0.00906447, -0.012543913, -0.0064324886, 0.025968887, -0.056208678, 0.03930426, -0.01243938, -0.040678117, -0.05922519, -0.045008756, 0.027626475, -0.006578088, -0.009027137, 0.030478721, 0.029687261, -0.0010135929, -0.013648972, -0.04396343, 0.013126309, -0.044232227, -0.022534244, -0.048085, 0.00719035, 0.037183743, 0.00042326373, -0.0011918584, -0.03422696, 0.02477423, 0.0020570525, -0.0063802223, -0.027910206, 0.0034141096, -0.003994639, -0.028104339, -0.048204467, 0.01844254, -0.07066404, -0.019010002, 0.0048719663, -0.018233474, -0.019592397, 0.009303402, -0.006294356, 0.02593902, -0.035570953, 0.025774755, 0.004031972, -0.04064825, -0.00036679747, 0.011319389, -0.039274395, -0.05626841, -0.0333907, -0.015993489, -0.03452563, -0.005017565, 0.001142392, 0.04258957, -0.027686208, 0.024863828, -0.048294064, -0.020279326, 0.0033357101, 0.019263867, -0.074248016, -0.042977836, -0.029373663, -0.032196045, -0.02616302, -0.08828525, 0.007126884, 0.034316562, -0.02219078, 0.031090984, 0.0015166561, -0.02755181, 0.012760445, 0.001553056, -0.03443603, 0.0040991716, -0.015067629, -0.019771596, 0.03291284, -0.0038677065, 0.057911064, 0.009975398, 0.019995594, -0.031777915, 0.005648494, 0.043575164, -0.024132099, 0.013059109, 0.005950892, 0.017680945, 0.033032306, -0.021563584, -0.033301104, -0.013402574, 0.009960464, 0.009736466, -0.030165125, -0.0055663614, 0.035570953, -0.01839774, 0.055969745, 0.036646146, -0.027895274, 0.022549177, -0.033002436, -0.012738045, -0.010281528, 0.04235064, -0.057403333, 0.044680223, 0.05626841, 0.001105059, -0.04294797, 0.041723445, 0.053879093, -0.035242423, 0.014291101, -0.07209764, 0.037751205, 0.03306217, 0.0015502559, -0.02455023, -0.02122012, -0.019428132, 0.016008422, 0.023504904, -0.008967404, -0.037392806, -0.0047861002, -0.0075002145, 0.010445794, -0.011244722, -0.021563584, 0.014746564, -0.010333795, -0.01669535, 0.0144703, -0.0059583588, 0.00007962445, -0.005674627, 0.04276877, -0.017382279, -0.030224858, -0.048532996, -0.018069208, 0.028044606, 0.00025433156, 0.008414875, -0.022937441, 0.032882974, 0.044501025, 0.020398792, -0.04793567, 0.012245248, 0.0096468665, -0.028403003, -0.03658641, 0.0022941174, 0.025655288, 0.015605225, 0.031090984, 0.0063540894, -0.05946412, -0.016471352, 0.018412672, 0.06107691, -0.05169884, -0.04453089, -0.039005596, -0.007406882, 0.045098353, -0.022041447, 0.0033469102, -0.0101919295, -0.0034906424, 0.016725218, 0.011909251, -0.05576068, -0.009325802, -0.03180778, 0.046113815, -0.047189005, 0.02048839, 0.027611542, 0.026521416, -0.019323599, -0.0051892973, 0.04859273, 0.032703772, 0.06570621, -0.013305508, -0.00575676, 0.027820608, -0.009348202, -0.00873594, 0.012036183, -0.0079594115, -0.0053983624, 0.031509116, 0.02357957, -0.028447803, 0.017531611, -0.076936, -0.067976065, 0.05955372, -0.044769824, 0.020697456, -0.017979609, 0.013507106, 0.008511941, 0.009654333, -0.06385449, -0.024789162, -0.028880866, 0.0013897237, 0.03061312, 0.013365241, -0.01153592, -0.018173741, 0.04730847, -0.022698509, 0.0034831758, -0.02723821, -0.059732918, -0.040887184, 0.03727334, 0.002101852, 0.018786004, -0.04859273, -0.05086258, -0.040588517, 0.015530559, 0.0022119847, -0.011416454, 0.011632986, 0.03939386, 0.0051071644, 0.050056186, -0.012036183, -0.004606901, -0.008482074, 0.009288469, -0.01627722, 0.035720285, -0.023325704, -0.0333907, -0.013395107, 0.006294356, -0.004976499, -0.007944479, 0.010975924, 0.04193251, 0.026073419, 0.06403369, -0.030000858, -0.010139663, 0.027820608, -0.00048206333, -0.05593988, 0.0053348965, -0.003163978, -0.021966781, -0.05949399, 0.000083882755, -0.047069542, 0.024654763, 0.030209923, -0.006182357, 0.024983294, 0.0064175557, -0.04641248, -0.057821468, 0.022549177, -0.014201501, -0.023803568, -0.0046330346, -0.05247537, -0.023639303, 0.068812326, -0.014194035, -0.018069208, -0.005715694, -0.017218014, 0.0010574594, -0.0032162443, 0.08344689, 0.07066404, 0.030000858, -0.031061118, -0.016247354, -0.056656674, 0.020921456, -0.056925472, -0.012648446, -0.025834488, 0.01054286, 0.00910927, 0.030672854, 0.07132111, -0.022414777, 0.020353992, -0.0075972807, -0.013522039, -0.053371362, 0.036138415, -0.0016734551, 0.047338337, -0.029970992, -0.0288958, -0.07609974, 0.02525209, 0.0019086534, 0.010094863, 0.008982338, -0.009796198, -0.008429809, 0.031837646, -0.06905126, 0.023475038, 0.08099784, -0.006581821, -0.030911786, -0.013469773, -0.0023351838, 0.032703772, -0.03130005, -0.013648972, 0.008922605, 0.06427262, -0.040707983, -0.040946916, 0.008609007, -0.032673907, -0.03518269, -0.009997797, 0.027671276, 0.014037236, -0.0024453164, -0.016232422, -0.00674982, -0.003121045, 0.009116737, -0.002355717, -0.0045807683, -0.013992436, -0.013693771, -0.0040170387, 0.016112955, 0.032345377, 0.0015829224, 0.006133824, 0.0026375817, -0.033629633, -0.002155985, -0.004442636, -0.022743309, -0.043455698, 0.020159861, -0.021369452, -0.047607135, 0.04996659, -0.018950269, -0.0022791843, 0.009833531, 0.013215909, 0.012626045, 0.06576595, -0.0047301007, 0.028403003, -0.011334321, -0.0067946194, -0.0012571913, 0.01530656, 0.035302155, 0.030762453, -0.034794424, -0.020966254, 0.037930403, 0.022728376, -0.029119799, 0.056955338, -0.018591871, 0.052266303, 0.021369452, 0.03028459, 0.009512467, 0.04715914, -0.021951849, -0.065586746, -0.004689034, -0.034316562, -0.017023882, 0.015993489, -0.027895274, 0.07382989, -0.0052042305, -0.017680945, -0.008146076, 0.0017994542, -0.028089406, -0.043306366, -0.0039013063, -0.053849228, 0.0014923897, -0.01396257, 0.0039274395, 0.0012833244, 0.014186569, 0.025237158, -0.0040506385, -0.00724635, 0.0044986354, 0.022325179, -0.042828504, -0.008422341, 0.008526874, -0.008273009, -0.08087837, 0.007250083, 0.017367346, -0.012327381, 0.00527143, -0.024565162, 0.006884219, 0.016844682, -0.010677259, -0.016486285, 0.0053236964, 0.025177425, -0.018114008, 0.02991126, -0.025281958, 0.03646695, -0.014903364, 0.018606804, -0.03297257, -0.008295409, -0.0008157277, 0.03754214, -0.014089502, 0.0044762357, -0.020697456, -0.035570953, 0.0035914418, 0.0041365046, -0.032345377, 0.01581429, 0.014455367, -0.003949839, -0.012603646, 0.039513327, 0.0013953237, -0.019084668, 0.0019898529, 0.02214598, 0.04641248, 0.016979082, -0.010386061, -0.02084679, 0.0007312616, 0.012252715, -0.04169358, 0.016307088, -0.0060516912, 0.021623317, -0.03990159, -0.00534983, 0.0012543913, -0.01290231, -0.003686641, -0.040797584, 0.04910046, -0.0077279466, -0.025625423, 0.022280378, 0.048323933, -0.044590626, 0.011976451, -0.0030874452, -0.026103286, 0.018576939, 0.03213631, 0.005536495, -0.0044725025, -0.025580622, -0.012790311, 0.0070932843, -0.005331163, 0.014858563, -0.029985925, 0.008594073, -0.02788034, -0.02150385, 0.023370504, 0.007899678, 0.02214598, -0.005465562, 0.013536973, -0.010535394, -0.022549177, -0.0119167175, 0.0021037187, -0.0025143826, -0.01396257, 0.00033156437, -0.015784424, 0.009385535, -0.01687455, -0.01742708, 0.007358349, 0.009773799, 0.009243669, 0.014179102, 0.0071754167, 0.0013999903, 0.0008409275, 0.004435169, -0.008750873, -0.0151796285, 0.04276877, -0.0039237062, -0.020294258, 0.0101172635, 0.038706932, 0.013253242, 0.0061524906, -0.00670502, -0.02658115, -0.0042074374, 0.04536715, 0.00061972905, -0.06821499, -0.030762453, 0.0067460868, -0.019861195, 0.0005576628, -0.009863398, -0.03930426, -0.022026515, -0.015620158, -0.03804987, -0.019861195, 0.015605225, -0.02278811, -0.033301104, 0.021697983, -0.0017061215, -0.021668116, 0.010946058, -0.009617, -0.038318668, -0.0027085145, 0.02977686, 0.002124252, -0.02695448, 0.022937441, 0.019681998, -0.024236633, -0.024236633, 0.020861723, 0.030941652, 0.0058612926, -0.015679892, -0.023191307, 0.006324223, 0.0063802223, -0.031748045, 0.002755181, -0.02289264, 0.0038415734, -0.017621212, -0.048801795, 0.017232947, 0.020607857, 0.033599768, -0.01005753, -0.0051071644, 0.0074740816, -0.016068155, -0.02589422, 0.026566217, -0.012521513, -0.0096394, 0.01983133, -0.00001074055, 0.058418795, -0.016590819, -0.07287416, -0.022982242, -0.003180778, 0.022623843, 0.0066826204, -0.01347724, -0.03966266, -0.040678117, 0.052087106, 0.032315508, -0.016157754, -0.0192788, 0.009116737, 0.0047749, 0.04124558, 0.00047576337, 0.025162492, 0.020264393, 0.005794093, 0.0144255, -0.04674101, -0.02796994, 0.0094975345, -0.026148085, 0.01844254, -0.020607857, 0.016008422, -0.03658641, 0.041514378, -0.014014836, -0.009773799, 0.0058090263, 0.014216435, -0.01389537, 0.02219078, 0.014776431, 0.0025610488, -0.017232947, 0.012984443, -0.023594502, 0.004521035, 0.021563584, 0.028044606, 0.006884219, 0.0074703484, 0.013536973, -0.0010387928, -0.030344322, 0.014432967, 0.0028391804, -0.0002480316, 0.033928297, 0.01581429, -0.028821133, 0.015381226, 0.030642988, -0.018173741, -0.00866874, -0.019980662, 0.006324223, 0.040439185, -0.01691935, 0.015455893, -0.0018433206, 0.0019039868, 0.026312351, -0.020010527, -0.0015194562, 0.0073508825, 0.0036754413, 0.00046829676, 0.0072687496, -0.02682008, 0.0018115875, -0.0017667877, 0.05812013, -0.038020004, 0.013887904, -0.03542162, -0.013088976, -0.026835013, -0.030881919, 0.0009211936, 0.005562628, -0.017367346, -0.014328434, 0.028298471, 0.03604882, 0.036078684, 0.01711348, -0.021115586, -0.020413725, -0.010498061, -0.035929352, -0.011110323, 0.0018946535, -0.021697983, -0.011319389, -0.11845038, -0.009206336, 0.056567073, -0.045665815, -0.011677786, 0.027447276, -0.010946058, 0.012850044, -0.022220645, -0.0192788, -0.009505001, -0.000047308004, -0.010221796, 0.013999903, -0.0024005168, -0.03297257, -0.025789687, -0.02126492, 0.019144401, -0.042649303, 0.0075487476, -0.028462736, -0.01193165, 0.020876655, 0.00096692663, 0.00034673093, -0.01724788, 0.025072893, -0.0023109172, -0.0016799883, -0.0118047185, -0.0057455604, 0.019144401, 0.028044606, -0.01872627, 0.0017826543, 0.0064026224, -0.0030631789, 0.009228736, 0.023221172, 0.0035018425, -0.05274417, 0.022116113, -0.02820887, 0.029089931, -0.054177757, -0.003180778, -0.0145225655, 0.013910304, -0.033958163, -0.006884219, 0.011214855, -0.01951773, -0.053281765, -0.0153662935, 0.0055327616, -0.0018946535, 0.030508589, -0.0033245103, -0.038258936, -0.037990138, -0.0002265651, 0.027850473, -0.036407214, 0.021249985, -0.0073060826, -0.024102233, 0.017591344, -0.015784424, 0.0047637005, -0.008063944, 0.019920928, -0.04814473, 0.023176372, 0.030120324, 0.021354519, 0.005633561, 0.009781266, -0.039334126, 0.022638777, 0.022384912, -0.04100665, -0.01850227, 0.030702721, -0.008026611, 0.01844254, 0.021802515, 0.028955532, -0.025625423, 0.011192456, 0.0016921216, -0.019771596, 0.013731105, -0.0022325178, 0.007369549, 0.0014242568, 0.0034570426, 0.018457472, 0.0017723878, 0.0144031, 0.039184794, 0.010445794, 0.007003685, 0.0119913835, 0.010147129, 0.014597232, -0.014134302, 0.027686208, 0.036496814, 0.034286696, -0.020174794, 0.00720155, -0.024490496, -0.0094975345, -0.0002692648, 0.0081087435, -0.014388167, 0.038856264, 0.0076458137, -0.0042149043, 0.013693771, 0.028701667, -0.007070884, 0.010595126, 0.007690613, 0.004722634, -0.0086538065, 0.019532664, 0.02362437, 0.014567366, 0.04142478, 0.041096248, -0.0008861939, -0.01572469, -0.015605225, 0.024296366, 0.032524575, -0.03972239, -0.039363995, -0.023041973, 0.010819125, 0.010184463, 0.017128415, -0.010527927, -0.042649303, -0.011528454, 0.035152823, 0.0010817258, 0.010132196, 0.006622887, -0.03652668, -0.014985496, 0.033181638, 0.00017371547, 0.026476616, 0.020428658, 0.03730321, -0.012618579, 0.012738045, 0.018741203, -0.04193251, 0.03186751, -0.013178575, 0.011416454, 0.008086344, -0.03583975, 0.014037236, 0.0049092993, 0.021429185, 0.052953232, -0.012633513, -0.046233278, -0.009295936, -0.023041973, 0.025401425, 0.020159861, 0.01308151, 0.028089406, -0.011401521, 0.008810606, 0.0033823766, 0.03165845, -0.029074999, -0.01495563, 0.05038472, -0.015164695, 0.013365241, -0.026073419, 0.010012731, -0.0095498, 0.02316144, 0.0011087923, -0.0004199971, 0.06343636, 0.03324137, -0.007074618, -0.009915665, 0.03736294, -0.033540033, -0.040200256, -0.027626475, 0.025789687, 0.056895606, -0.016964149, 0.001199325, 0.0075972807, 0.001487723, 0.006652754, -0.023116639, 0.0014625232, 0.008287943, 0.0041850377, -0.060867846, -0.0063428893, -0.007164217, 0.007899678, -0.0033674433, 0.0029791794, -0.011379121, -0.0022605176, -0.0016594551, -0.01766601, 0.02455023, 0.014612165, -0.013462307, -0.041215714, -0.008004211, 0.00816101, -0.0009743932, 0.002635715, 0.01012473, -0.005670894, 0.015015363, -0.023325704, -0.025953954, -0.004457569, -0.0029997125, 0.008974871, 0.027268078, 0.0047749, 0.019010002, -0.024147032, -0.031538982, -0.004524769, 0.0040170387, -0.048085, 0.051758576, 0.014724164, 0.007481548, -0.037661605, -0.025580622, 0.025207292, 0.014843631, 0.017875075, 0.008131144, -0.07478561, 0.022683576, 0.013626572, 0.010132196, 0.015874023, -0.010863924, 0.0007965945, 0.0008045278, -0.0067199534, -0.0060740914, -0.012879911, -0.0066863536, -0.012566313, 0.004849566, -0.022758242, -0.025401425, 0.031001385, -0.011647919, 0.027268078, -0.031927247, 0.023086773, 0.01733748, 0.018188674, 0.025550757, -0.032942705, 0.01641162, -0.004759967, -0.024012633, 0.0022287846, 0.0154409595, -0.025401425, 0.02307184, -0.02820887, 0.01802441, 0.020353992, 0.038348533, 0.019950796, 0.014768965, 0.008280476, -0.010826591, -0.008706073, 0.011483653, -0.015620158, 0.034704827, 0.003723974, -0.013693771, 0.030060591, 0.02210118, -0.009422868, 0.034346428, 0.016142821, 0.013230842, -0.023101706, -0.0013775905, -0.00030263123, -0.02653635, 0.0014830563, -0.0014774564, 0.0051258313, -0.006667687, 0.0026189152, 0.019562531, -0.008795672, -0.03625788, -0.009803666, 0.0073919487, -0.023609437, 0.023982767, 0.012319915, -0.017651077, -0.010572727, -0.024624895, -0.012230315, -0.001638922, 0.02024946, -0.0012739912, 0.031538982, -0.003746374, 0.0058090263, -0.02834327, -0.0037071742, -0.046024214, -0.0076458137, -0.01151352, 0.0027663808, -0.015090029, -0.01747188, 0.033689365, 0.003331977, 0.0002494316, -0.0010201263, -0.019876128, -0.026476616, -0.025550757, -0.033092037, 0.08004211, 0.00003663308, -0.0018909202, 0.018352939, -0.00033506434, 0.0049092993, 0.040887184, 0.009019671, -0.0068506193, 0.0018078542, -0.01308151, -0.009691666, -0.0051183645, 0.0059956918, 0.0058612926, 0.033928297, -0.024699561, 0.028298471, 0.013439907, 0.016934283, -0.0020290527, -0.003147178, 0.008907672, -0.006081558, 0.013574306, 0.031538982, 0.027865406, -0.0041215713, 0.014029769, 0.017680945, 0.028925667, 0.0192788, -0.024684628, 0.009101803, -0.014164168, -0.014253768, -0.055820413, 0.039543193, 0.0047301007, 0.009617, 0.016560951, -0.023340639, -0.0036325082, 0.010408461, 0.021892115, 0.014059636, -0.011192456, -0.00008026611, 0.027342744, 0.02108572, 0.008892738, -0.02487876, -0.013283108, 0.00004824133, -0.0031247784, 0.0015773224, -0.010236729, 0.008534341, 0.030105392, 0.02977686, -0.018786004, 0.025685156, -0.009490067, 0.0056634275, 0.042828504, -0.0048271664, -0.01292471, 0.021100653, -0.010998324, -0.004031972, -0.012297515, 0.0033935765, 0.029478196, -0.030822186, -0.007287416, 0.011730052, -0.022325179, 0.004405303, 0.00095946004, 0.010423395, 0.06582568, -0.0022866507, -0.015784424, -0.009057004, 0.014276167, 0.005469295, 0.0027234477, 0.041036516, -0.019935861, -0.0078847455, -0.03037419, -0.004091705, 0.043873828, -0.0060516912, -0.027223278, -0.0022679842, 0.034615226, 0.030852053, 0.013350307, 0.0011059924, 0.006884219, -0.021160387, 0.012491647, 0.0144255, -0.02852247, -0.028791267, -0.012611113, 0.017875075, 0.05946412, 0.005319963, -0.004409036, -0.032166176, -0.007869812, 0.021235052, -0.03485416, 0.0022381179, -0.002469583, -0.014791364, 0.0073284823, -0.00910927, -0.019472932, 0.01111779, -0.02755181, 0.0028802466, -0.008795672, 0.020996122, -0.030553387, -0.015948689, 0.025341691, 0.042559706, -0.007862345, 0.02552089, 0.013701239, 0.02205638, 0.004894366, 0.010050064, -0.015679892, -0.0430077, 0.011065523, 0.008049011, -0.021369452, 0.018009475, -0.0192788, -0.024341164, -0.023818502, 0.025789687, 0.012917244, 0.0032013112, 0.020607857, -0.017218014, 0.021294786, 0.022803042, -0.029418463, 0.018756136, -0.019353466, 0.03449576, 0.0058127595, 0.00866874, -0.034704827, -0.009176469, 0.0068580857, 0.004883166, -0.011759918, 0.016635617, 0.03407763, 0.000865194, 0.02653635, 0.0053759627, 0.023370504, 0.011020724, -0.023101706, 0.020353992, 0.017830277, -0.045695685, 0.006955152, -0.012670846, 0.007989278, 0.01632202, 0.028552335, -0.0018517205, -0.00873594, -0.010169529, -0.017949741, -0.03804987, 0.0029063798, 0.013932703, 0.0025853154, -0.011349254, -0.017770544, -0.035152823, 0.0027906473, -0.0017854543, -0.0009239936, -0.009878332, -0.001059326, 0.023833435, -0.005827693, -0.04360503, 0.026013685, -0.00866874, -0.007877279, -0.0076308805, 0.009691666, 0.011759918, -0.011573253, -0.032942705, -0.019174267, 0.012058583, -0.004237304, 0.0019207867, 0.043127168, 0.020264393, 0.015007896, 0.0054506287, 0.018233474, 0.033181638, 0.02755181, 0.0063092895, -0.032315508, -0.0137535045, -0.046173546, 0.014440433, 0.014276167, -0.012909777, 0.008063944, -0.017501745, 0.006906619, -0.0005968625, -0.0046591675, 0.024938494, 0.04360503, 0.0025778487, -0.0052116974, 0.016068155, -0.0011069257, -0.011476187, -0.027955007, -0.0388264, -0.012163116, 0.019129468, -0.040887184, 0.029866459, -0.020473458, -0.028477669, -0.006910352, 0.047368206, 0.03721361, -0.007119417, -0.033271234, 0.029552862, 0.0042522373, 0.025968887, -0.04008079, 0.0007601947, 0.045874882, -0.03703441, 0.0027346476, -0.0061263577, -0.014537499, 0.025296891, -0.0381992, 0.016381754, 0.018756136, -0.0032106445, 0.008258076, 0.0077279466, -0.03291284, -0.014686831, 0.0026991812, -0.033928297, 0.013693771, 0.021832382, -0.017606277, -0.010744459, 0.019532664, -0.0044165025, -0.0011031923, -0.020309193, -0.0027626476, 0.000083824416, 0.010169529, 0.021742783, -0.045486618, -0.0064362222, -0.0039423727, 0.025953954, 0.012738045, 0.00002969146, -0.0094975345, -0.0019637197, -0.033032306, 0.00045359685, 0.04184291, 0.0029287797, -0.019398265, 0.016680418, 0.01111779, -0.020772122, 0.021429185, -0.0056596943, 0.016083088, -0.03249471, 0.009624466, -0.016008422, 0.018756136, -0.002674915, -0.019144401, 0.040200256, -0.017098548, 0.0044501023, 0.01877107, -0.0058351597, 0.0038826398, 0.034734692, -0.02580462, 0.008526874, 0.019114533, -0.0005329296, -0.0070858174, 0.008086344, 0.0340179, 0.0036567748, 0.007974344, 0.020458525, 0.063794754, 0.0046554343, -0.013850571, 0.0119540505, -0.022937441, -0.031150717, -0.010512994, 0.051430043, 0.016157754, 0.014925763, -0.0103412615, 0.034376293, 0.0019002535, -0.02483396, -0.0077204797, -0.0121780485, -0.022295313, -0.0035877083, -0.015284161, -0.006947685, 0.01969693, 0.019637197, 0.021279853, 0.009512467, -0.03416723, -0.009378068, -0.018009475, 0.0087658055, 0.0062010237, 0.013424974, -0.016546018, 0.005331163, 0.0050810315, 0.00534983, -0.0042298376, -0.015485759, -0.02653635, -0.013768438, -0.0011003923, -0.0049615656, 0.013111376, 0.035570953, -0.03542162, -0.0048010335, -0.008146076, -0.042828504, -0.0050436985, 0.06006145, 0.013342841, -0.03222591, 0.0060554245, -0.026387017, 0.0019469198, -0.013634039, 0.010595126, -0.004771167, 0.0017658544, -0.048055135, 0.0009753266, -0.032434974, -0.010064997, 0.0194132, -0.004117838, 0.035391755, 0.025505956 ]
2310.12397
17
The results when backprompted with a sound verifier seem, at first, a lot more promising. The number of instances correctly answered nears 40%, but if this is supposed to indicate that GPT-4 is listening to, improving with, and reasoning from feedback, then we should expect more informative and accurate backprompts to yield better results. However, in this domain, the raw scores (see Figure 2) don’t bear this out. When run with a sound verifier, the differences between binary feedback, a single error, or the full suite of mistakes are insignificant. We can relax our analysis of the LLM self-critique case by labeling an instance as correct if at any point during the backprompt chain, the LLM generated a correct coloring. This is equivalent to rerunning the experiment with a combined feedback system: the sound verifier is in charge of stopping while allowing the LLM to write all the (still potentially spurious) feedback. Given this modification, it scores a comparable 40%. Using this charitable number, all four types of backprompting give roughly similar results.
2310.12397#17
GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems
There has been considerable divergence of opinion on the reasoning abilities of Large Language Models (LLMs). While the initial optimism that reasoning might emerge automatically with scale has been tempered thanks to a slew of counterexamples, a wide spread belief in their iterative self-critique capabilities persists. In this paper, we set out to systematically investigate the effectiveness of iterative prompting of LLMs in the context of Graph Coloring, a canonical NP-complete reasoning problem that is related to propositional satisfiability as well as practical problems like scheduling and allocation. We present a principled empirical study of the performance of GPT4 in solving graph coloring instances or verifying the correctness of candidate colorings. In iterative modes, we experiment with the model critiquing its own answers and an external correct reasoner verifying proposed solutions. In both cases, we analyze whether the content of the criticisms actually affects bottom line performance. The study seems to indicate that (i) LLMs are bad at solving graph coloring instances (ii) they are no better at verifying a solution--and thus are not effective in iterative modes with LLMs critiquing LLM-generated solutions (iii) the correctness and content of the criticisms--whether by LLMs or external solvers--seems largely irrelevant to the performance of iterative prompting. We show that the observed increase in effectiveness is largely due to the correct solution being fortuitously present in the top-k completions of the prompt (and being recognized as such by an external verifier). Our results thus call into question claims about the self-critiquing capabilities of state of the art LLMs.
http://arxiv.org/pdf/2310.12397
Kaya Stechly, Matthew Marquez, Subbarao Kambhampati
cs.AI
18 pages, 3 figures
null
cs.AI
20231019
20231019
[ { "id": "2206.10498" }, { "id": "2306.03872" }, { "id": "2303.11366" } ]
{ "authors": "Kaya Stechly, Matthew Marquez, Subbarao Kambhampati", "chunk_id": 17, "doc_id": "2310.12397", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12397", "summary": "There has been considerable divergence of opinion on the reasoning abilities\nof Large Language Models (LLMs). While the initial optimism that reasoning\nmight emerge automatically with scale has been tempered thanks to a slew of\ncounterexamples, a wide spread belief in their iterative self-critique\ncapabilities persists. In this paper, we set out to systematically investigate\nthe effectiveness of iterative prompting of LLMs in the context of Graph\nColoring, a canonical NP-complete reasoning problem that is related to\npropositional satisfiability as well as practical problems like scheduling and\nallocation. We present a principled empirical study of the performance of GPT4\nin solving graph coloring instances or verifying the correctness of candidate\ncolorings. In iterative modes, we experiment with the model critiquing its own\nanswers and an external correct reasoner verifying proposed solutions. In both\ncases, we analyze whether the content of the criticisms actually affects bottom\nline performance. The study seems to indicate that (i) LLMs are bad at solving\ngraph coloring instances (ii) they are no better at verifying a solution--and\nthus are not effective in iterative modes with LLMs critiquing LLM-generated\nsolutions (iii) the correctness and content of the criticisms--whether by LLMs\nor external solvers--seems largely irrelevant to the performance of iterative\nprompting. We show that the observed increase in effectiveness is largely due\nto the correct solution being fortuitously present in the top-k completions of\nthe prompt (and being recognized as such by an external verifier). Our results\nthus call into question claims about the self-critiquing capabilities of state\nof the art LLMs.", "text": "The results when backprompted with a sound verifier seem, at first, a lot more promising. The number of instances correctly answered nears 40%, but if this is supposed to indicate that GPT-4 is listening to, improving with, and reasoning from feedback, then we should expect more informative and accurate backprompts to yield better results. However, in this domain, the raw scores (see Figure 2) don’t bear this out. When run with a sound verifier, the differences between binary feedback, a single error, or the full suite of mistakes are insignificant.\nWe can relax our analysis of the LLM self-critique case by labeling an instance as correct if at any point during the backprompt chain, the LLM generated a correct coloring. This is equivalent to rerunning the experiment with a combined feedback system: the sound verifier is in charge of stopping while allowing the LLM to write all the (still potentially spurious) feedback. Given this modification, it scores a comparable 40%. Using this charitable number, all four types of backprompting give roughly similar results.", "title": "GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems", "year": 2023 }
[ 0.03042785, 0.017322497, 0.02395571, 0.0075483914, 0.01887464, 0.015462854, 0.04328428, 0.029988566, 0.03036928, 0.062144276, 0.034703564, 0.0020298657, -0.054793563, 0.032507136, -0.021861782, -0.053417135, 0.01185339, -0.063315704, 0.0032873207, 0.0048760707, -0.0057070525, -0.029227138, 0.022813568, 0.033327136, 0.027103923, -0.02389714, -0.013361605, -0.03883285, 0.025800709, -0.00096734357, 0.007262856, -0.025507852, -0.030515708, -0.06366713, -0.034732852, 0.05581856, 0.03057428, -0.035230707, 0.016385354, -0.024233924, -0.0092762485, 0.015023569, -0.05411999, -0.037339278, -0.006417231, 0.031072138, 0.028568208, -0.020690354, -0.006505088, 0.008778391, -0.07350713, 0.0743857, 0.021173568, 0.039272137, 0.011099284, 0.0036241065, -0.023282139, -0.02596178, -0.0030219192, -0.028216781, 0.0057473206, -0.016297497, -0.0014148658, -0.006329374, -0.018010711, -0.029944638, -0.021554282, 0.021964282, 0.06764999, 0.03057428, 0.011750891, 0.022842852, 0.0037851778, -0.030105708, -0.042815708, 0.04035571, 0.08744713, 0.005842499, 0.054500703, -0.021071067, 0.013610533, -0.0014835042, 0.007621606, -0.05119142, -0.008631962, 0.01056482, -0.021481067, -0.004407499, -0.028494995, -0.04714999, -0.011340891, -0.0015979015, 0.0027308923, 0.045275707, 0.020075353, -0.036489993, -0.031540707, -0.034234993, 0.027103923, 0.01846464, -0.015213925, 0.018406069, -0.017483568, -0.05971356, 0.032243565, -0.0034191066, 0.034967136, -0.011758212, -0.019372497, -0.037222136, -0.03807142, -0.011370176, -0.052772846, -0.020675711, 0.021305352, -0.041351423, -0.05684356, -0.057282846, -0.026503567, -0.015404283, -0.015609283, 0.015228569, -0.003118928, -0.027001424, 0.03479142, -0.020587854, 0.048292134, -0.052304275, 0.013493391, -0.00022707864, -0.013149283, 0.02770428, 0.031833567, 0.03801285, -0.019094283, 0.014013212, -0.035201423, -0.011392141, -0.033473566, -0.008368392, -0.031657852, -0.012043748, -0.031687137, 0.0043269633, -0.055115703, 0.0073470525, -0.028480353, 0.010008391, -0.057897847, 0.02719178, -0.008404998, 0.009861963, -0.04401642, 0.02883178, 0.0051176776, -0.01108464, -0.022330353, 0.030047137, -0.029432138, -0.039945707, 0.020792853, -0.013639819, 0.04389928, -0.01235857, 0.029212495, 0.0600357, 0.0041073207, 0.020031424, -0.04682785, -0.042083565, -0.016341425, 0.031247852, -0.01604857, -0.040092137, 0.014071783, -0.035377137, 0.022022853, -0.013742319, -0.01563857, -0.049317133, -0.033092853, 0.024687853, 0.03397142, 0.02678178, -0.026034996, -0.004736963, 0.009686248, -0.022564638, -0.034381423, -0.020236425, 0.013024819, 0.015682498, 0.094417125, 0.013471426, -0.02842178, -0.05215785, 0.061734274, -0.003098794, -0.009005356, -0.006918749, -0.024702495, 0.009422677, 0.010667319, -0.05570142, 0.0006484039, -0.026020352, 0.009320177, -0.016297497, -0.051601417, 0.017922854, 0.040033564, -0.014342676, 0.030515708, 0.009964462, -0.06513142, 0.016238926, -0.034908567, 0.025639638, -0.0001142257, 0.037017137, 0.022022853, 0.010440355, 0.030632852, -0.024746424, -0.014635533, 0.064545706, 0.042669278, -0.020763569, 0.022506068, -0.03938928, 0.024219282, -0.029417494, -0.03754428, -0.012695354, 0.023911782, -0.027879994, 0.021817854, -0.018654997, 0.02180321, -0.044192135, 0.041322134, 0.00051158475, 0.03807142, -0.052304275, 0.0027931244, 0.04140999, -0.031306423, -0.013932676, 0.041790705, 0.029944638, -0.020441424, -0.0055203564, 0.0010744195, -0.032448564, -0.039916422, -0.01661964, -0.011340891, -0.017834997, -0.01887464, -0.031072138, -0.018039996, 0.016077854, -0.046564277, 0.021085711, 0.0052970527, -0.027718924, -0.02979821, -0.003862053, -0.026767138, -0.030603565, -0.036402136, -0.004015803, 0.023809282, 0.021920353, 0.017293211, -0.055379275, 0.012717319, 0.011831426, -0.029314995, 0.049024276, -0.026898924, 0.028187495, 0.014679462, 0.05792713, 0.023428567, -0.013808212, -0.034088567, 0.014379283, 0.012841783, 0.0023611602, -0.01359589, -0.032477852, 0.061265703, -0.004704017, -0.0085733915, -0.024248566, 0.034586422, 0.0045466064, -0.013456783, 0.029944638, 0.050869275, 0.018640354, -0.011985176, 0.0068858024, -0.020704996, 0.039769992, 0.020587854, 0.020836782, -0.028568208, 0.021071067, -0.028597495, 0.017834997, -0.026078925, 0.05965499, -0.015169998, -0.03288785, 0.04919999, -0.038276423, 0.033473566, -0.024804996, -0.0129149975, -0.015550711, 0.04914142, 0.023282139, 0.010271963, 0.025112495, -0.013991248, 0.0038144635, 0.0023318746, -0.00079437485, -0.025127139, -0.00918107, -0.011626426, 0.021627497, 0.0009911382, 0.011392141, -0.01811321, 0.021510353, -0.019328568, 0.0058608027, -0.07280427, 0.012885712, 0.007211606, 0.014276783, 0.0047149993, 0.022916067, -0.011479998, 0.048497133, 0.07098856, 0.012878391, -0.012768569, -0.04102928, 0.031042852, -0.0022202227, 0.01698571, 0.023560353, -0.036050707, 0.0061390167, -0.0009893079, 0.016194997, 0.018903926, 0.019958211, 0.02016321, 0.0073836595, -0.0016674551, 0.06407713, -0.037368566, -0.025991067, 0.031511422, 0.013734997, -0.010271963, 0.019299282, 0.0026448655, 0.034644995, -0.0670057, -0.016897853, -0.00029766178, 0.00461616, -0.03139428, 0.017073568, -0.031130709, -0.019079639, 0.0032195977, -0.0043672314, 0.019460354, 0.04164428, 0.008016963, -0.021246782, -0.067591414, -0.0014459819, -0.035113566, -0.020368211, -0.046388563, -0.0023941067, 0.050078563, 0.06981713, -0.036050707, 0.07672856, 0.060152847, 0.054295704, -0.020236425, -0.008404998, -0.05177713, 0.034352135, 0.01733714, 0.010945533, 0.0018852676, 0.010828391, 0.008134105, 0.015872855, 0.054412846, -0.043694276, 0.03411785, -0.051425707, 0.022388924, -0.042903565, 0.047208562, 0.019387139, 0.03754428, 0.046534993, -0.026737852, -0.011992497, -0.00024252228, -0.040531423, 0.049609993, -0.004634463, -0.04729642, -0.008595356, 0.03549428, -0.036753565, -0.049317133, 0.048292134, 0.015140711, -0.037427135, -0.030457137, -0.039096422, -0.018493924, 0.019167496, -0.029505352, -0.031892136, 0.05540856, -0.013896069, -0.019811783, -0.026401067, -0.04463142, 0.0010552007, -0.058366418, -0.019767854, 0.011575176, -0.02477571, -0.020338925, 0.013090712, -0.00938607, 0.0063879453, -0.029022137, -0.052538563, 0.05493999, -0.013376247, 0.038744994, -0.030515708, -0.009466605, -0.023779996, -0.0046857134, -0.002313571, 0.011069998, 0.03590428, -0.029783566, 0.02985678, 0.0042537493, -0.00016347374, -0.020426782, -0.038305707, 0.0017928345, -0.036489993, -0.040384993, -0.016092498, -0.0061646416, 0.0053739278, 0.013932676, -0.033532135, -0.0037924994, -0.015960712, 0.026166782, 0.012146248, 0.012043748, 0.06108999, -0.006995624, -0.008917498, -0.039623566, -0.0075703557, 0.005787588, -0.05605285, 0.011121248, -0.018142497, 0.025214996, -0.013918033, 0.06483856, 0.008163392, 0.014642854, -0.0015329238, -0.02637178, 0.015872855, -0.06770856, 0.052714277, 0.036255706, 0.033092853, 0.010945533, -0.016077854, 0.027484639, 0.0027107585, -0.022974638, -0.025258925, -0.0012602006, -0.031306423, -0.003600312, 0.001240982, 0.0014697765, 0.021920353, -0.007434909, 0.033619992, 0.0021579906, -0.027718924, -0.0063440166, -0.000025310403, 0.0031244191, -0.05991856, -0.025419995, -0.04635928, -0.019870354, -0.029988566, 0.0053116954, -0.011750891, -0.0064208917, -0.023501782, -0.06196856, 0.0012254239, -0.005223838, -0.03209714, -0.040707134, -0.052538563, 0.017908212, 0.014459819, 0.01620964, -0.010242676, 0.0024911156, 0.0017251113, 0.03036928, -0.02811428, -0.0070102667, 0.010945533, 0.025829995, -0.06600999, 0.003913303, -0.015111426, -0.010176783, -0.024087496, -0.0031427226, 0.00093897304, 0.0045539276, 0.023721425, 0.022652496, 0.001805647, 0.028509637, -0.0060365167, -0.021788567, 0.0026796423, 0.035523564, 0.019870354, 0.030544994, 0.03795428, -0.00008808592, -0.005168928, 0.026166782, -0.020280354, -0.0022916067, -0.040970705, 0.009290891, -0.012746605, 0.0005221093, 0.0051176776, -0.006135356, -0.029402852, 0.013200534, 0.031101422, -0.02430714, 0.026327852, -0.01626821, 0.014899105, 0.000974665, 0.03282928, 0.006402588, -0.006904106, -0.0023172316, 0.0073177665, -0.010718569, 0.04360642, -0.012431784, -0.009715534, -0.02995928, -0.012138926, -0.009312855, 0.021276068, 0.02729428, -0.008478213, 0.024233924, 0.03350285, -0.0055130348, 0.02528821, 0.026767138, -0.008199998, -0.04114642, -0.025361424, -0.024599995, 0.009839999, -0.05657999, -0.035787135, 0.009861963, -0.0029523654, 0.02317964, -0.012241426, -0.012504998, 0.015023569, 0.0046491064, -0.025800709, 0.0030127673, -0.006797945, -0.00548741, -0.0141742835, -0.010952855, 0.015316426, -0.043020707, 0.041673563, 0.040384993, -0.005267767, -0.007398302, 0.012819819, 0.020236425, 0.022549996, -0.0069333916, -0.019299282, 0.029417494, 0.005648481, -0.016019283, -0.01620964, -0.014020533, -0.023047853, -0.004905356, -0.01579964, -0.0041366066, -0.022549996, -0.04328428, -0.05766356, 0.03016428, 0.02129071, 0.00882232, -0.01528714, -0.03678285, -0.0029871424, -0.010799105, -0.03856928, -0.03195071, -0.01108464, -0.0031152673, -0.032975707, -0.015316426, 0.04117571, -0.02836321, 0.031687137, -0.0012785043, -0.016561069, -0.044777848, 0.0023282138, 0.02877321, -0.025127139, 0.0059999097, -0.0056777666, -0.012102319, -0.036343563, 0.015331069, -0.009290891, -0.005190892, -0.004323303, -0.060562845, -0.030896423, -0.032243565, 0.005908392, 0.014042498, -0.027089281, 0.01579964, -0.019928925, -0.027001424, -0.019533567, -0.005124999, 0.004641785, -0.013303033, 0.006354999, -0.018991781, 0.016809996, 0.031072138, -0.021744639, -0.020251067, -0.019621424, 0.035318565, -0.039418563, 0.0024636602, -0.039799277, -0.015404283, 0.02493678, 0.043489277, -0.006087767, -0.027748208, -0.011472677, -0.019621424, 0.0089248195, -0.01682464, -0.012226784, -0.007811963, -0.03924285, 0.009634999, -0.032243565, -0.033532135, 0.00011233815, -0.04258142, 0.004268392, 0.00795107, -0.013346962, -0.02938821, 0.002549687, -0.020338925, 0.00024572542, 0.008302499, 0.0106014265, 0.008404998, -0.022227854, -0.03083785, 0.023662852, -0.045480706, 0.009583748, 0.022462139, -0.010118213, -0.008558748, 0.008624641, 0.024072852, 0.007760713, 0.0061646416, 0.013720355, 0.0022495086, 0.013083391, -0.008829641, -0.021832496, -0.004158571, 0.014767319, 0.0027016066, -0.0019291961, 0.018010711, 0.0008181695, 0.019972853, -0.0062195524, -0.012483033, 0.05130856, 0.0004669698, 0.013156605, -0.024585353, -0.018449998, 0.008024285, -0.011106605, -0.0035435709, -0.01056482, 0.037485708, -0.007196963, 0.002467321, -0.029124638, 0.04164428, 0.008551427, 0.047062133, -0.04943428, 0.026283924, 0.0050298204, -0.006237856, 0.010110891, -0.036841422, 0.011523927, -0.0011997989, -0.010271963, -0.004381874, 0.015360354, -0.018581782, 0.030896423, -0.04612499, -0.009686248, -0.035874993, -0.010843034, -0.03985785, -0.019167496, -0.018142497, 0.018991781, -0.0119339265, -0.08978999, -0.009100534, 0.010623391, -0.023809282, 0.006592945, 0.030486424, 0.04143928, 0.018493924, -0.031042852, 0.015374998, 0.010125534, -0.004140267, -0.0030731692, -0.0059779454, -0.0048907134, -0.039477136, 0.0043562492, -0.014144997, 0.05130856, -0.030603565, -0.02077821, 0.010074284, -0.025859281, -0.03467428, -0.016853925, -0.005205535, -0.009041962, 0.020909997, -0.003975535, 0.013178569, 0.0013627006, 0.032477852, 0.05898142, -0.0030585262, 0.0016097989, -0.041849278, -0.00400116, -0.008690534, 0.0036808476, 0.0004239564, 0.0016189506, -0.001774531, -0.007412945, -0.02678178, 0.025888566, -0.040707134, 0.023867853, 0.008265891, 0.05051785, -0.005469106, -0.0127758905, 0.0147307115, -0.018479282, -0.0108869625, -0.0060438383, 0.04079499, 0.013039462, -0.027118567, -0.0016674551, 0.018332854, -0.017586067, -0.016033925, 0.02071964, -0.045949277, -0.010659998, -0.014935711, 0.012373212, 0.053739276, 0.0031244191, -0.029314995, -0.029183209, 0.019079639, -0.002211071, 0.010777141, -0.029681066, 0.028787851, 0.0066149095, 0.03405928, -0.024761068, 0.048965704, 0.02831928, -0.0049858917, 0.0025917853, 0.022945354, 0.009100534, 0.0082219625, 0.011209105, -0.041790705, -0.0073067844, 0.035259992, 0.018186426, -0.04873142, -0.03534785, 0.0072884806, -0.036343563, 0.035172135, 0.017483568, 0.0026540174, 0.012014462, 0.0055166953, 0.029622495, 0.0076362486, -0.07104713, -0.055525705, 0.023809282, -0.016912498, -0.014679462, 0.011143212, 0.024072852, 0.0044916957, 0.023121066, 0.005545981, -0.0012492185, 0.0140351765, -0.01061607, 0.045744278, 0.056404274, -0.0036753565, 0.039623566, -0.027455352, 0.024790352, 0.0059010703, -0.033414993, -0.011260355, -0.0055020526, -0.010176783, -0.024131425, -0.0072152666, -0.034293566, 0.005637499, 0.001980446, 0.01082107, -0.017761782, -0.017908212, -0.018596426, 0.012168212, -0.020280354, 0.0037668743, -0.01610714, 0.022813568, -0.0003816294, 0.010528212, 0.02000214, -0.032799993, -0.032594994, -0.030105708, 0.020543925, -0.025844637, -0.015931426, 0.020997854, 0.014335355, 0.0025533477, 0.0043928563, 0.020617139, -0.013105355, 0.031364996, 0.01215357, -0.00073260034, 0.04149785, 0.0020060712, 0.020148568, 0.036255706, -0.017293211, -0.003118928, 0.014716069, -0.029988566, -0.0151553545, 0.017468926, -0.015784997, 0.03997499, -0.03774928, -0.04919999, 0.042844992, 0.0048724096, 0.012446426, 0.016356068, 0.0008936717, 0.004586874, 0.002148839, -0.0058498206, 0.0018925889, 0.039125707, -0.03335642, 0.04635928, 0.02221321, -0.030749995, 0.028846424, 0.026181424, -0.017058926, 0.005110356, 0.024658566, 0.02688428, 0.034762137, 0.02416071, 0.0047625885, -0.011318927, 0.024643924, 0.033678565, -0.011018748, -0.03195071, -0.07344856, 0.02088071, -0.02200821, -0.015272497, 0.0055130348, 0.026576782, -0.008646606, -0.031921424, -0.025771424, 0.013383569, -0.021422496, 0.009854641, -0.0040487493, -0.0045539276, -0.02071964, -0.00056695304, -0.016853925, -0.008192677, -0.02770428, 0.0047735707, 0.0024911156, 0.015872855, -0.0045941956, 0.05247999, 0.0024398656, 0.00052348204, 0.029022137, -0.03590428, 0.0139619615, 0.01138482, 0.006263481, -0.023062496, -0.000029943494, 0.00120529, -0.044865705, -0.01117982, -0.021202853, -0.022081425, -0.008339105, -0.008236606, 0.025024638, -0.006109731, -0.016692854, -0.014144997, 0.036812138, -0.017659282, 0.0040084813, 0.0018596426, -0.03534785, -0.013764284, -0.027001424, 0.016253568, 0.01482589, -0.03514285, 0.011392141, -0.026693923, -0.007965713, 0.0065307133, 0.011011426, 0.043372136, -0.029783566, 0.008390356, -0.0049309814, -0.02071964, -0.0032763388, 0.004184196, -0.0061426773, 0.0032653566, 0.016853925, 0.0074971416, -0.051982135, 0.013537319, 0.019196782, 0.04632999, -0.017293211, -0.03057428, 0.011465355, -0.02549321, -0.030134995, -0.0047076778, -0.021524996, 0.012270712, -0.010242676, -0.015448212, -0.011758212, -0.0077167843, -0.02112964, -0.013903391, 0.008705177, 0.008178034, 0.024980709, 0.036255706, 0.0036021422, -0.010403748, 0.016912498, -0.004766249, 0.0008593525, 0.014020533, 0.008075534, -0.039828565, -0.0044038384, 0.046857134, 0.03590428, -0.053358562, 0.013310355, 0.008243927, -0.007965713, -0.0055752667, -0.025478566, 0.01852321, -0.018288925, 0.021583568, -0.011868034, -0.008353748, -0.0031024548, -0.03446928, 0.015301783, -0.04108785, -0.00009672292, 0.008536784, 0.012278033, -0.0065892846, -0.009854641, -0.012036426, -0.006812588, -0.013427498, -0.00702857, 0.0012226783, 0.0116557125, -0.004447767, 0.029153923, -0.002287946, 0.008595356, -0.023531066, -0.02344321, -0.0049566063, -0.032038566, -0.021891067, 0.0033220977, -0.020895353, 0.038862135, 0.02719178, 0.024175353, -0.0029413833, 0.011758212, 0.028348567, -0.005176249, -0.007877856, -0.00374491, -0.0038437494, 0.0719257, -0.0035673655, 0.031013565, -0.0068089273, -0.00784857, 0.0022952675, 0.0024966067, -0.012607498, -0.0073543736, 0.050957132, 0.000389866, 0.030339995, -0.010828391, -0.01456964, -0.006786963, 0.009422677, -0.007687499, 0.04471928, 0.05406142, -0.008836962, 0.012336605, 0.0014075444, 0.03236071, 0.012600176, -0.037163563, 0.018376783, 0.020675711, -0.011538569, 0.03915499, 0.021847138, 0.01421089, 0.023428567, -0.01969464, 0.03200928, -0.036607135, 0.0019054015, -0.0046710707, 0.033268567, -0.023326067, -0.01205839, 0.016092498, 0.013742319, -0.0026521871, -0.006816249, 0.00815607, 0.0049199993, -0.022037497, 0.017307853, -0.017849639, -0.010476963, 0.01856714, -0.03036928, -0.015682498, -0.0055569634, 0.03725142, -0.020646425, 0.01035982, -0.0033861601, 0.020631783, 0.0114433905, -0.031247852, 0.018288925, -0.016370712, -0.014284104, -0.019431068, -0.027089281, -0.04143928, 0.0014871649, -0.04832142, -0.01764464, -0.023838567, -0.012812498, -0.00040153452, -0.0048138383, -0.0035691957, -0.00400116, 0.023326067, 0.01795214, 0.024219282, 0.0035893298, -0.012666069, -0.000020276922, -0.0022293746, -0.026986782, -0.012907676, 0.0600357, 0.00089092617, -0.03118928, -0.021715352, -0.021422496, -0.019914282, 0.031247852, 0.024804996, 0.03303428, -0.0073360703, 0.0071566952, -0.009217677, 0.056404274, -0.0021323657, 0.0014835042, -0.012871069, -0.020543925, -0.029476065, -0.022886781, -0.018186426, -0.027059995, -0.059215702, -0.0034429012, 0.022886781, 0.034849994, 0.0011888167, -0.025024638, -0.012585534, -0.0035179458, 0.0011265846, -0.0039059815, 0.011348212, 0.02235964, -0.0047589275, -0.02729428, 0.0036350887, 0.0063513382, -0.003688169, 0.0068491953, -0.013471426, 0.024863567, 0.0030914727, 0.0062708026, 0.0015384149, 0.002800446, 0.011750891, -0.003924285, 0.017586067, 0.0020536603, 0.011597141, 0.020221783, -0.006263481, -0.036402136, -0.010725891, -0.004334285, 0.014562319, 0.029929994, -0.004850446, -0.012688033, -0.015038212, -0.00053949765, 0.00066670746, 0.009993748, 0.026679281, 0.0065014274, -0.008880891, 0.007855891, 0.013778926, 0.0072811595, -0.008939463, 0.033327136, -0.024028923, -0.018581782, -0.024687853, 0.0029157584, 0.013251783, -0.01538964, -0.022462139, 0.044602133, 0.020763569, 0.011479998, -0.004883392, -0.0039023208, 0.024219282, -0.0062451772, 0.039359994, -0.0009110601, -0.0031299102, -0.013537319, -0.034586422, -0.03303428, -0.008705177, 0.026547495, -0.03950642, -0.01205839, 0.024321781, -0.0122121405, -0.005366606, -0.023384638, -0.0110260695, -0.004934642, -0.011267677, -0.01056482, 0.0026247317, 0.012380534, 0.016385354, -0.031130709, -0.017366426, 0.004381874, -0.011882677, 0.04796999, -0.0069443737, 0.00871982, 0.016136426, -0.005469106, 0.00748982, -0.021349281, -0.013434819, 0.024014281, -0.021158924, 0.017161425, -0.00866857, -0.026093567, 0.02112964, -0.0055679455, 0.015111426, -0.021027138, -0.018845353, 0.010345177, 0.029812852, -0.011750891, 0.0056667845, -0.03432285, -0.015536069, -0.012043748, 0.018098569, -0.0015466515, -0.0040341066, 0.0071859807, -0.02493678, 0.009129819, 0.034586422, 0.0024453567, -0.029724995, 0.01661964, 0.015374998, -0.009766784, 0.0046710707, 0.026225353, -0.014584283, 0.023838567, -0.013815533, -0.01856714, -0.029519994, -0.0061390167, -0.0140351765, 0.032858565, -0.0053775883, -0.0071274093, -0.042054277, 0.04987356, 0.022608567, 0.029227138, -0.008243927, -0.008683213, 0.023765353, -0.029519994, -0.009393391, -0.0046088384, 0.02729428, -0.06800142, -0.004279374, -0.026020352, -0.0034300887, -0.0077387486, -0.044514276, -0.014357319, -0.03810071, -0.00035394524, -0.0033715172, 0.011201784, -0.00692607, -0.021378567, 0.01563857, 0.006084106, -0.008478213, 0.0053409813, -0.026196066, 0.018025354, -0.007973034, 0.0029267406, -0.0043013385, 0.016121782, -0.030720709, -0.022535354, 0.016429283, 0.013471426, -0.03555285, 0.008983391, 0.0018349327, 0.027587138, 0.0075703557, -0.0049199993, 0.00013613279, -0.00013315846, -0.023867853, -0.019006426, 0.0035874993, 0.0071676774, -0.016077854, -0.017498212, -0.008265891, -0.021378567, -0.01846464, 0.01733714, -0.014496426, 0.016883211, 0.028919637, 0.033912852, 0.035435706, 0.0026430353, -0.015213925, 0.010923569, -0.017058926, 0.016019283, 0.022066781, 0.010550177, -0.020792853, 0.012841783, 0.036548566, -0.0025661602, -0.0067174095, 0.0054141954, -0.033766422, 0.0074312487, -0.038539995, 0.0070615164, -0.021012496, -0.006263481, 0.008397677, 0.00052439724, -0.016736783, 0.006073124, 0.015008925, -0.01667821, 0.034732852, 0.006223213, 0.019079639, 0.00005247976, -0.0017534818, -0.001200714, -0.032858565, -0.019211425, 0.022842852, -0.0037522314, -0.022579283, -0.017981425, -0.021891067, -0.006556338, -0.0053226775, 0.007039552, -0.015667854, -0.0033971423, 0.006937052, 0.011633748, 0.0015741069, 0.035523564, -0.0056814277, 0.050137132, -0.015711783, 0.005985267, 0.022579283, -0.014240176, -0.023721425, -0.007416606, -0.011055355, -0.04176142, 0.028216781, 0.020953925, -0.0052458025, 0.04278642, -0.016692854, -0.016297497, -0.020939281, -0.011362855, -0.007980356, 0.04943428, 0.017044283, -0.008199998, -0.020675711, -0.009752141, -0.024028923, -0.01698571, 0.00084562483, -0.016121782, 0.015052854, -0.00887357, 0.020368211, -0.062202845, 0.008236606, -0.013112676, -0.02123214, 0.00435991, 0.0014450666 ]
2310.12773
17
3.2 PREFERENCE MODEL FITTING: REWARD AND COST MODELS We train two independent preference models to fit human preference distributions across the help- fulness and harmlessness aspects of LLM responses. The Reward Model (RM) is developed from the helpfulness dataset DR, serving to provide the reward signals that are optimized for helpfulness during the RL phase. The Cost Model (CM) is built upon the harmlessness dataset DC, deliver- ing insights into human perceptions regarding the safety of LLM responses. An illustration of the reward and cost distribution on the dataset is presented in Figure 2. Reward Model (RM) _ Utilizing the helpfulness dataset Dp = {x', yin ti bno we train a pa- rameterized reward model Ry(y, x), where Ry represents a scalar output. This model is trained to employ the pairwise comparison loss derived from equation (2): LR(ϕ; DR) = −E(x,yw,yl)∼DR [log σ(Rϕ(yw, x) − Rϕ(yl, x))] , (5)
2310.12773#17
Safe RLHF: Safe Reinforcement Learning from Human Feedback
With the development of large language models (LLMs), striking a balance between the performance and safety of AI systems has never been more critical. However, the inherent tension between the objectives of helpfulness and harmlessness presents a significant challenge during LLM training. To address this issue, we propose Safe Reinforcement Learning from Human Feedback (Safe RLHF), a novel algorithm for human value alignment. Safe RLHF explicitly decouples human preferences regarding helpfulness and harmlessness, effectively avoiding the crowdworkers' confusion about the tension and allowing us to train separate reward and cost models. We formalize the safety concern of LLMs as an optimization task of maximizing the reward function while satisfying specified cost constraints. Leveraging the Lagrangian method to solve this constrained problem, Safe RLHF dynamically adjusts the balance between the two objectives during fine-tuning. Through a three-round fine-tuning using Safe RLHF, we demonstrate a superior ability to mitigate harmful responses while enhancing model performance compared to existing value-aligned algorithms. Experimentally, we fine-tuned the Alpaca-7B using Safe RLHF and aligned it with collected human preferences, significantly improving its helpfulness and harmlessness according to human evaluations.
http://arxiv.org/pdf/2310.12773
Josef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji, Xinbo Xu, Mickel Liu, Yizhou Wang, Yaodong Yang
cs.AI, cs.LG
null
null
cs.AI
20231019
20231019
[ { "id": "2302.13971" }, { "id": "2304.05302" }, { "id": "1707.06347" }, { "id": "2305.18290" }, { "id": "2305.10403" }, { "id": "2305.03047" }, { "id": "2211.05100" }, { "id": "2110.08207" }, { "id": "2304.05335" }, { "id": "2107.03374" }, { "id": "2105.04054" }, { "id": "2209.07858" }, { "id": "2305.15324" }, { "id": "2307.09288" }, { "id": "2210.11416" }, { "id": "2212.08073" }, { "id": "2307.12950" }, { "id": "2009.11462" }, { "id": "2307.04657" }, { "id": "2204.05862" }, { "id": "2112.00861" }, { "id": "2209.14375" }, { "id": "2303.00957" }, { "id": "2306.01693" }, { "id": "2305.01937" }, { "id": "2307.15217" }, { "id": "2306.17492" }, { "id": "2112.04359" }, { "id": "1506.02438" } ]
{ "authors": "Josef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji, Xinbo Xu, Mickel Liu, Yizhou Wang, Yaodong Yang", "chunk_id": 17, "doc_id": "2310.12773", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12773", "summary": "With the development of large language models (LLMs), striking a balance\nbetween the performance and safety of AI systems has never been more critical.\nHowever, the inherent tension between the objectives of helpfulness and\nharmlessness presents a significant challenge during LLM training. To address\nthis issue, we propose Safe Reinforcement Learning from Human Feedback (Safe\nRLHF), a novel algorithm for human value alignment. Safe RLHF explicitly\ndecouples human preferences regarding helpfulness and harmlessness, effectively\navoiding the crowdworkers' confusion about the tension and allowing us to train\nseparate reward and cost models. We formalize the safety concern of LLMs as an\noptimization task of maximizing the reward function while satisfying specified\ncost constraints. Leveraging the Lagrangian method to solve this constrained\nproblem, Safe RLHF dynamically adjusts the balance between the two objectives\nduring fine-tuning. Through a three-round fine-tuning using Safe RLHF, we\ndemonstrate a superior ability to mitigate harmful responses while enhancing\nmodel performance compared to existing value-aligned algorithms.\nExperimentally, we fine-tuned the Alpaca-7B using Safe RLHF and aligned it with\ncollected human preferences, significantly improving its helpfulness and\nharmlessness according to human evaluations.", "text": "3.2 PREFERENCE MODEL FITTING: REWARD AND COST MODELS\nWe train two independent preference models to fit human preference distributions across the help- fulness and harmlessness aspects of LLM responses. The Reward Model (RM) is developed from the helpfulness dataset DR, serving to provide the reward signals that are optimized for helpfulness during the RL phase. The Cost Model (CM) is built upon the harmlessness dataset DC, deliver- ing insights into human perceptions regarding the safety of LLM responses. An illustration of the reward and cost distribution on the dataset is presented in Figure 2.\nReward Model (RM) _ Utilizing the helpfulness dataset Dp = {x', yin ti bno we train a pa- rameterized reward model Ry(y, x), where Ry represents a scalar output. This model is trained to employ the pairwise comparison loss derived from equation (2):\nLR(ϕ; DR) = −E(x,yw,yl)∼DR [log σ(Rϕ(yw, x) − Rϕ(yl, x))] , (5)", "title": "Safe RLHF: Safe Reinforcement Learning from Human Feedback", "year": 2023 }
[ 0.024304181, 0.012552998, 0.045690283, 0.004597289, 0.0039630667, -0.00030191275, 0.007630382, 0.059570875, 0.0074726483, 0.055732682, -0.019821906, -0.0055371206, 0.010476166, 0.015339632, 0.03712007, -0.03233547, 0.07592263, -0.017837087, -0.014288072, 0.061253373, -0.030179773, 0.04077424, 0.008018145, -0.032256603, 0.030390084, 0.017100995, 0.019690461, 0.016654082, -0.001116461, -0.038881432, 0.028339542, -0.026565036, -0.060096655, -0.016378047, -0.017311307, 0.028418409, 0.0067759897, 0.049581055, -0.012428125, 0.029759148, -0.056153305, -0.016049435, -0.010489311, 0.030810708, -0.019414427, 0.002553319, 0.028628722, 0.028392121, 0.013920026, 0.03294012, -0.051447574, 0.04022217, 0.023476077, -0.032177735, 0.013282518, 0.0008046899, 0.017600486, 0.021635847, 0.010186988, -0.029732859, -0.009188006, -0.016916972, -0.009444323, -0.0048371763, -0.009753219, -0.035306126, -0.09258986, -0.0049850517, -0.016640937, 0.023213187, 0.009976676, -0.036883466, 0.082968086, 0.011317415, -0.009864948, -0.0014015323, 0.036410265, -0.004419838, -0.0036706016, 0.015195042, 0.007203186, 0.011442288, 0.004781312, -0.025421463, -0.015891701, -0.041405175, -0.044296965, 0.00041631097, -0.030810708, -0.035437573, -0.04053764, -0.035306126, -0.029259657, 0.024001857, 0.035358705, -0.055574946, -0.019243548, -0.022424517, 0.046347506, 0.027445717, -0.011928634, -0.009234011, 0.044375833, -0.004856893, 0.016719805, 0.008261318, -0.0055371206, 0.021662137, -0.030127194, 0.017048417, -0.018297145, 0.010693051, -0.05000168, 0.044927903, 0.028523566, -0.0313102, -0.058782205, -0.007630382, 0.011718322, -0.040064435, -0.028865322, 0.0039302055, 0.04813516, -0.036909755, 0.00018402301, 0.005333381, -0.024185881, -0.036936045, 0.000015942842, -0.015260764, -0.00972693, 0.047583092, -0.0017137142, -0.0234235, -0.048555784, 0.031704534, -0.017100995, -0.01229668, -0.030994732, -0.03922319, 0.007426643, -0.012835604, -0.046478953, 0.028339542, -0.038565964, -0.0068154233, 0.0008014038, -0.013604558, -0.048371762, -0.007926133, -0.0020866895, -0.028392121, -0.008550498, 0.0032664083, -0.024580216, -0.057572912, 0.0017186434, 0.009864948, -0.0102724265, -0.058519315, -0.0001505456, 0.015181898, -0.027840052, -0.017285017, 0.026630757, 0.04416552, -0.044507276, 0.027314272, -0.058151267, -0.029811727, 0.010541889, 0.009858375, -0.042167556, -0.05365585, -0.026867358, -0.032966405, -0.011882628, -0.057310022, -0.018113121, -0.012290108, -0.004331113, 0.014117193, -0.025460897, -0.02263483, 0.0024235172, 0.0100095365, -0.043613452, 0.0016775668, -0.009648063, -0.008754238, 0.012829032, 0.011442288, 0.07802575, 0.005234797, -0.017521618, 0.006756273, 0.008635936, 0.06940296, 0.009444323, -0.00014828639, 0.008537353, 0.045611415, 0.045111924, -0.061043058, -0.0019453861, 0.029049346, -0.050211992, 0.038539674, -0.04311396, 0.00049045414, 0.030416373, 0.03294012, 0.051053237, 0.019440716, -0.025211152, 0.036147375, -0.037829872, 0.018047398, 0.0018730913, 0.036489133, -0.00246788, 0.016601505, 0.052762024, 0.007873556, -0.043297984, 0.016220313, 0.038802564, -0.050369725, 0.030626686, -0.07187413, 0.054365654, -0.010955941, -0.015313343, -0.019388137, -0.0010835998, 0.019585306, -0.008852821, 0.008951405, -0.012986766, -0.0334659, 0.012428125, 0.018244566, 0.01150801, -0.013289089, 0.044849034, 0.015983712, -0.0120732235, -0.00015732324, 0.011560588, -0.03501695, 0.0032647653, 0.006933724, 0.018875502, -0.021491257, -0.026407301, 0.026420446, -0.023213187, 0.040642794, -0.003861197, -0.026091833, -0.030048328, 0.035647884, 0.03499066, 0.07203186, -0.024921972, -0.01620717, -0.035174683, -0.014393228, -0.049949102, -0.01869148, 0.009937243, -0.0025303164, -0.02105749, 0.048056293, -0.04211498, -0.013098494, 0.03422828, 0.053839874, -0.013854303, -0.035306126, -0.035332415, 0.00069049705, 0.049055275, -0.008589931, 0.009825514, 0.0034602897, 0.008931688, -0.012158663, -0.010601039, -0.034096833, -0.011803761, -0.06372454, 0.036673155, -0.06577508, 0.02076831, 0.015168753, -0.029049346, -0.056521352, -0.012342686, 0.033492185, -0.0007636133, 0.054418232, -0.025474042, -0.010725913, 0.0048470343, -0.0015666601, -0.0036607434, -0.013696569, 0.0061319093, 0.015024164, -0.011895773, 0.0049784794, 0.017863376, 0.012112657, -0.06498641, -0.031467933, 0.037672136, -0.014274927, 0.016233457, -0.022358796, 0.006887718, -0.006624828, 0.0055042594, -0.046189774, 0.009253728, -0.029496258, -0.035884485, -0.014064616, -0.029312236, -0.014787563, -0.001116461, 0.037409246, -0.0061516264, -0.005491115, 0.010883646, -0.04179951, -0.04789856, 0.027813762, 0.019388137, 0.040458772, -0.060096655, -0.034070544, -0.027103959, 0.007985284, -0.00823503, -0.013828014, 0.0047780257, 0.03580562, -0.0005368707, 0.042430446, 0.0065525332, -0.029128212, 0.012198096, -0.008911971, -0.021018056, 0.0050376295, 0.013604558, -0.056889396, 0.019532727, 0.020597432, -0.038592253, 0.0088462485, 0.0045151357, 0.010863929, 0.026262712, 0.01696955, -0.021004912, 0.01025271, 0.014498384, -0.01813941, -0.023068598, -0.0089579765, -0.049817655, 0.0028539996, -0.040931974, 0.0037658992, 0.013131356, 0.018783491, 0.005852589, -0.020334542, 0.01618088, 0.011139964, 0.00867537, -0.034412302, 0.038487095, 0.021635847, -0.0111728255, -0.004958763, -0.0016734592, -0.02511914, 0.026998803, 0.0024300895, -0.0026206847, -0.022174772, -0.004074795, -0.006388227, 0.032834962, 0.042299002, 0.061463684, 0.041983534, -0.04448099, -0.026919937, -0.050632615, 0.026670191, -0.026906792, 0.03659429, -0.025750076, 0.0420624, 0.004524994, 0.038565964, 0.055680104, -0.035332415, 0.023436643, -0.030863287, 0.017745076, -0.025973532, 0.06272556, 0.016601505, 0.043008804, 0.0036147377, -0.026367867, -0.044323254, 0.014524673, -0.011876056, -0.011593449, -0.004682728, -0.009740075, -0.013788581, -0.026814781, -0.052972335, 0.008964549, 0.054207917, 0.024383048, -0.027419427, -0.0334659, -0.016693516, 0.040984552, -0.05026457, -0.020584287, -0.02327891, 0.08344129, -0.0092405835, -0.044559855, 0.03709378, 0.017035272, 0.013131356, -0.022700552, 0.028313253, -0.0010449878, 0.0034504314, -0.0418258, -0.0012996625, 0.013210223, 0.01632547, -0.031257622, 0.002522101, 0.036778312, -0.0093523115, 0.018297145, -0.020676298, 0.04130002, 0.009950386, 0.03475406, 0.0073740645, -0.014958441, 0.010357866, -0.0090894215, -0.029627703, -0.026788492, 0.012612148, -0.0025122426, -0.03499066, 0.026683336, -0.010620756, -0.010449878, -0.0027143394, 0.0025204578, -0.028208097, 0.07234733, -0.030784419, 0.06482868, 0.02181987, -0.0048470343, -0.027156537, 0.034123123, 0.054681122, 0.037935026, -0.013670281, -0.034096833, 0.012263819, 0.0313102, -0.028865322, 0.028050363, -0.014445806, 0.0035490151, -0.007926133, 0.034885503, -0.00034956157, 0.027761184, 0.017561052, -0.023068598, -0.008313896, -0.007669816, 0.0026995516, 0.0046597254, 0.031651955, 0.043061383, -0.027025092, -0.029233368, 0.022924008, -0.0062337792, 0.023581233, -0.042220134, 0.0039170613, -0.015668245, 0.014945297, -0.04001186, -0.018612612, -0.017994821, 0.03315043, 0.017390173, 0.005629132, 0.000004765523, 0.0029361527, 0.0019404568, -0.023186898, -0.020965477, -0.035910774, -0.022976587, -0.048292894, 0.0155630885, -0.001710428, -0.013197078, -0.009845231, -0.012848749, -0.005763863, 0.013867448, -0.04074795, -0.008543925, -0.010055543, 0.024093868, 0.003253264, -0.017547907, 0.018086832, 0.010535317, -0.014656118, 0.015339632, -0.042167556, 0.015392209, -0.008898826, 0.046478953, -0.052946046, -0.014826996, -0.020702587, -0.027813762, -0.010463023, -0.021859303, 0.001537085, 0.010831068, -0.017837087, -0.019900773, -0.010160699, 0.0006272391, 0.016128302, -0.03446488, -0.0071703247, 0.028076652, 0.0029640847, 0.0044132657, -0.005119783, -0.006782562, 0.00046827283, 0.024974551, -0.057993535, 0.0070585967, 0.006769418, 0.018875502, -0.026486168, 0.023239477, -0.006992874, -0.020255676, -0.0038283358, -0.010042398, -0.0023101459, -0.026538746, -0.020926045, -0.014143482, -0.009582341, -0.055785257, 0.030442663, 0.031704534, -0.017469041, 0.010298716, 0.029285947, -0.031073598, -0.0020390407, -0.009385173, 0.0035030092, -0.002129409, -0.0048667514, 0.017455896, 0.019637883, 0.010410444, -0.009115711, 0.004406694, 0.027051382, -0.013223367, 0.016575215, -0.013775436, 0.014380083, -0.046189774, -0.033886522, -0.007558088, -0.025276873, -0.015707677, -0.017600486, -0.0010720983, -0.02643359, 0.031520512, -0.005014627, -0.04629493, 0.0073740645, 0.012309824, -0.01203379, 0.0024087296, 0.013670281, -0.012112657, 0.002947654, -0.007282053, -0.029706571, -0.053945027, 0.005763863, 0.030390084, -0.028102942, 0.0022493526, 0.018875502, 0.028628722, 0.003466862, -0.007893273, -0.023646956, -0.0047353064, 0.039643813, -0.007939278, -0.086648546, 0.014813852, -0.00420624, 0.020032218, -0.014222349, -0.027550872, -0.04022217, -0.023922991, -0.026722768, -0.020873467, -0.024199026, 0.0066576893, 0.00049168646, -0.00065804657, 0.015852267, 0.0030117335, 0.0030938867, -0.041720644, 0.0072623366, -0.01959845, 0.009234011, -0.008425625, 0.038802564, -0.0026634044, 0.050842926, 0.013203651, -0.013867448, -0.03683089, 0.014104049, -0.014511528, -0.006854857, -0.029023057, -0.021793582, -0.010699623, 0.00075950567, -0.035200972, 0.0034635758, -0.020295108, 0.0026666904, -0.026801636, -0.060885325, 0.0111728255, 0.0034340008, 0.048739806, -0.024093868, -0.004728734, 0.030127194, -0.006256782, -0.033544764, 0.026381012, -0.024133302, 0.00049990177, 0.055259477, -0.024764238, 0.07550201, -0.00033354168, -0.051421285, -0.018822925, 0.0074726483, -0.012566143, 0.013177361, -0.022135338, -0.016312325, -0.060937904, 0.014064616, 0.05050117, -0.006549247, -0.011718322, -0.001838587, 0.016233457, 0.028260676, -0.013413963, 0.019624738, 0.005307092, 0.03475406, 0.0031070313, 0.0029788723, -0.045637704, 0.023699533, -0.017968532, 0.018770346, -0.005648849, 0.017561052, -0.010088404, 0.0020587575, -0.0034602897, -0.021425536, 0.047425356, 0.01591799, -0.009779508, 0.005044202, 0.0046925866, -0.00782755, -0.0184023, 0.0009110782, -0.005809869, 0.0127107315, 0.008037862, 0.009523191, -0.021215223, 0.008649081, 0.012888183, 0.03207258, 0.001642241, 0.019085815, -0.008156163, 0.0049784794, -0.014971586, 0.011153108, -0.023620667, 0.026026111, 0.026512457, -0.011481721, 0.013473113, -0.018126266, -0.021648992, 0.023936136, 0.022266783, 0.030232351, 0.011856339, 0.0047911704, 0.0037823298, -0.027971497, -0.025040273, -0.004304824, 0.0122046685, -0.038329363, -0.02170157, -0.032545783, 0.015063597, 0.011514583, 0.08328355, -0.01919097, 0.014353794, -0.020939188, -0.013775436, -0.0056849965, -0.009122283, -0.018520601, 0.031993713, -0.053156357, -0.0105156, 0.0074923653, -0.019729896, -0.009063133, 0.022279928, -0.012625293, -0.0007640241, 0.007932706, -0.02208276, -0.02050542, 0.018533746, 0.020229386, -0.013722858, -0.11030865, -0.04053764, 0.03499066, -0.038565964, 0.00007809682, 0.02210905, 0.017600486, 0.013841159, 0.0025861803, -0.042009823, -0.032046292, -0.007643527, 0.0051132105, 0.007124319, 0.0051362133, -0.050685193, -0.03215145, -0.0064835246, 0.01629918, -0.030679263, -0.018178843, -0.0034274284, -0.020150518, 0.037698425, -0.021596413, 0.0045742863, -0.001735074, 0.005780294, 0.004331113, 0.0131247835, -0.010574751, -0.0013785295, 0.013282518, 0.012066651, -0.038565964, 0.019427571, -0.00025775543, -0.0100095365, -0.029548837, 0.06414516, 0.014537817, -0.022214206, 0.020755166, -0.01869148, 0.03499066, -0.047583092, -0.007558088, -0.013111639, 0.001943743, -0.045611415, 0.008313896, -0.0037264659, -0.012480703, -0.024028147, 0.010292144, 0.020676298, 0.0047155893, 0.031152466, -0.0027718465, -0.014616684, -0.047767114, 0.02076831, -0.0046465807, -0.014629829, -0.024908828, 0.0068811458, -0.0065821083, 0.028418409, -0.047031023, -0.0134994015, -0.006391513, 0.011080814, -0.034832925, 0.051841907, -0.008688515, -0.014077759, 0.0027504866, 0.051841907, -0.029601414, 0.032204024, 0.020084796, -0.039380923, -0.0055108317, 0.011396281, 0.007334631, 0.046925865, 0.035937063, 0.015089886, -0.01255957, 0.02132038, 0.025290018, -0.00829418, 0.0123558305, -0.0124872755, 0.009792653, -0.0080575785, -0.024383048, 0.009043416, 0.0056389906, 0.0014245352, 0.020295108, 0.0044822744, -0.0086030755, -0.00043910847, 0.022306217, -0.025526619, 0.034648903, 0.008307324, 0.030521529, 0.017363885, -0.0045578554, 0.012894754, -0.010147554, 0.037829872, -0.008399336, 0.00546154, 0.00809044, 0.033018984, 0.025697498, 0.020781456, -0.005326809, 0.053734716, 0.025013983, 0.014064616, -0.010476166, 0.005576554, -0.0024005144, 0.028523566, 0.0006884432, 0.018205132, 0.027840052, 0.015339632, 0.017311307, -0.0023282196, -0.042982515, 0.052735735, 0.032782383, -0.020965477, -0.019651027, -0.010988803, 0.024080725, 0.036489133, 0.054838855, -0.010962513, 0.020045362, 0.0076040933, 0.025105996, -0.026749058, 0.0017400032, 0.012165235, -0.0057178577, -0.006693837, 0.021714715, 0.005615988, -0.009786081, 0.034412302, 0.008780526, -0.054996587, 0.030626686, 0.010055543, -0.0058131553, 0.03604222, -0.01842859, -0.0025845373, 0.054050185, -0.026604468, 0.00061984535, -0.012605576, 0.0037133214, 0.029338524, -0.009700641, -0.054891434, -0.01673295, 0.014169771, 0.024396192, 0.017206151, 0.040642794, 0.03212516, -0.0026239709, 0.020203097, -0.007498937, 0.055417214, -0.00829418, -0.021951316, 0.048608363, -0.006200918, 0.0117709, -0.026118122, 0.020203097, 0.008261318, 0.019204115, 0.0234235, 0.009457468, 0.08060207, 0.062357508, -0.013841159, -0.019006947, 0.04553255, -0.02263483, -0.035122104, -0.053182647, 0.05023828, 0.013801726, -0.014419517, -0.011784044, -0.028076652, 0.011199114, -0.0034865786, -0.022424517, 0.019874485, 0.014327506, -0.000014838908, -0.030521529, -0.008070723, 0.014353794, -0.035674173, 0.005254514, 0.0013555266, -0.036489133, -0.0013514189, 0.0024103727, -0.024107013, 0.015155609, 0.019098958, 0.0131050665, -0.034123123, 0.008327041, 0.019164681, 0.0059314556, 0.01334824, -0.004074795, 0.019887628, -0.008780526, -0.023476077, -0.0363314, -0.0062929294, -0.0033206295, -0.0059018806, 0.0066182557, 0.00077881163, 0.029916883, -0.006506528, -0.031941134, -0.016798671, 0.01907267, -0.03420199, 0.054628544, 0.01842859, -0.014472094, -0.014734984, -0.008175879, 0.0056685656, 0.0031596092, 0.028181808, 0.011764328, -0.027235404, 0.026617613, 0.018533746, 0.049949102, 0.028181808, -0.050185703, 0.035884485, -0.00598732, -0.01656207, 0.0030100907, -0.027682317, -0.014090904, 0.004176665, 0.0046071475, -0.031021021, -0.027761184, 0.042956226, -0.009234011, 0.027156537, 0.002678192, 0.032834962, 0.038303073, 0.0117709, 0.028260676, 0.009753219, -0.023449788, 0.0027373421, -0.026749058, -0.008708231, 0.01673295, 0.014340649, 0.033886522, -0.011948351, 0.03215145, 0.0072097583, 0.010509028, 0.028996767, 0.025079707, 0.004856893, 0.017206151, -0.0209129, 0.015181898, -0.02643359, 0.018599467, 0.0031694677, 0.052367687, 0.018717768, 0.020597432, -0.029101923, 0.030022038, 0.029285947, 0.006118765, 0.009273445, -0.030679263, -0.013696569, -0.021833016, -0.018060543, 0.009976676, 0.010239566, -0.023830978, 0.007650099, -0.014695551, -0.0064210882, -0.035989642, -0.022924008, 0.0022181345, -0.0021096922, 0.0118103335, -0.016890682, -0.01986134, 0.008346758, -0.004695873, -0.014971586, 0.021767292, 0.012000929, 0.0024103727, 0.042483024, -0.020321397, 0.0075778044, -0.049581055, -0.03575304, -0.031967424, -0.035831906, -0.011652599, -0.010850785, 0.041352596, -0.0027143394, 0.010837641, 0.004022217, -0.011527726, 0.021911882, 0.011120248, -0.0017564339, -0.022017037, -0.006066187, 0.0736092, 0.0060300394, -0.019006947, 0.0062699267, -0.009010555, 0.021478113, 0.016877538, 0.008307324, -0.0010868858, -0.0013514189, 0.0035785902, 0.00059602095, -0.01045645, 0.0072294753, 0.009575768, 0.001431929, -0.013604558, 0.026893647, -0.0004156948, 0.016102012, 0.016772382, -0.033886522, 0.005734288, -0.010186988, 0.011606594, 0.034832925, -0.012099513, -0.002234565, -0.0035260122, 0.027708607, 0.011724894, -0.003887486, -0.035858195, 0.01124512, -0.02249024, -0.009227439, -0.025027128, 0.032572072, -0.0091091385, 0.0032154734, 0.001642241, -0.0007948315, -0.023436643, 0.007439787, -0.018218277, 0.008911971, 0.0010260926, 0.0026387584, 0.023962423, 0.015891701, 0.018034255, -0.03265094, 0.007847266, -0.010877074, -0.00032019182, -0.009687496, -0.005678424, 0.0083204685, 0.023292055, 0.021451825, -0.009733503, 0.0050310576, -0.024527637, 0.012776454, 0.04363974, -0.006677406, 0.016154591, -0.0023068597, 0.0073017697, 0.021162646, -0.027209116, 0.0041109426, 0.0033879948, -0.029338524, 0.008780526, 0.013045916, -0.0209129, 0.012651581, 0.01092308, 0.015549944, 0.042719625, 0.022739986, -0.01945386, -0.004784598, -0.014261783, 0.009917526, -0.0030281642, 0.030048328, -0.020071652, 0.024251603, -0.024843106, 0.029469969, 0.051947065, 0.009174861, -0.040695373, 0.0043541156, 0.022792563, 0.030179773, 0.023646956, -0.005441823, -0.0003668137, -0.03367621, 0.017745076, 0.034412302, -0.029732859, 0.00867537, -0.029023057, 0.013525691, 0.046741843, -0.012066651, -0.0054056756, -0.026236422, 0.025894666, 0.022069616, -0.027077671, 0.005882164, -0.015628811, 0.0046170056, 0.0044132657, 0.0036048791, -0.010390728, 0.012855321, 0.011054525, 0.022555962, 0.00823503, 0.026341578, -0.024645938, -0.009496901, 0.027077671, 0.040695373, -0.012927616, 0.010804779, -0.012250674, 0.011554016, 0.007702677, -0.0061319093, -0.008997411, -0.07024421, -0.0051394994, 0.0046630115, 0.004975193, 0.015878556, -0.020939188, 0.0039597806, -0.022358796, -0.013453396, 0.016496347, -0.008018145, 0.03262465, -0.011586877, -0.000021565196, 0.026354723, -0.024396192, 0.029443681, -0.002574679, 0.014314361, 0.00048798957, -0.0019207401, -0.012434698, 0.00797214, 0.050606325, -0.0032384763, -0.0031398926, 0.012901327, 0.042929936, 0.0017170004, 0.006565678, 0.00829418, 0.0031826121, 0.010929652, -0.03420199, -0.014642973, 0.027734896, -0.028470987, 0.00519865, -0.044665013, 0.009884664, 0.021635847, -0.0040485063, -0.005589699, -0.037724715, 0.010062115, -0.019519582, -0.011153108, 0.014616684, 0.008925116, 0.02076831, -0.008537353, -0.0123361135, -0.024882538, 0.0120929405, -0.0062436378, 0.01603629, 0.0050277715, -0.00043130392, 0.052998625, -0.0064802384, -0.018599467, 0.04001186, -0.007380637, 0.022647973, -0.027708607, 0.0031086744, 0.020939188, 0.016496347, -0.006726698, 0.015510511, 0.01723244, 0.0018747343, -0.0042489595, 0.027077671, -0.0054188203, 0.019151537, 0.028576143, 0.02170157, 0.037251513, 0.017008983, 0.002073545, -0.043508295, -0.0052117943, 0.001812298, 0.002788277, 0.009365456, 0.0036936046, 0.01685125, -0.0077421106, 0.017587341, -0.0078341225, 0.013151073, 0.026315289, 0.027945207, -0.026499312, 0.0030018752, 0.0394335, 0.0061647706, 0.013413963, 0.0012544782, -0.010088404, -0.004449413, 0.011816906, -0.027419427, 0.035174683, 0.003992642, 0.0019601737, -0.0051427856, 0.07692161, 0.012875038, 0.028576143, -0.02511914, 0.008241601, -0.022398228, -0.016903827, -0.028970478, -0.016601505, 0.055417214, -0.057204865, 0.003259836, -0.0055568377, -0.0030314503, 0.039512366, -0.018336577, -0.013223367, 0.018270856, -0.009003983, 0.009654636, 0.033781365, -0.037041202, -0.008944833, 0.0016455271, -0.028418409, -0.0010852428, 0.012769882, 0.0034767203, 0.016614648, 0.006769418, 0.016312325, -0.0041930955, -0.02158327, -0.0015453004, -0.017324451, 0.016759237, 0.010936224, -0.039065454, -0.004567714, -0.012769882, 0.033018984, 0.008793671, 0.0030692408, -0.009049988, 0.0018484454, -0.03472777, 0.0025023841, 0.044402122, -0.04839805, 0.013906881, 0.015523654, 0.0013317022, -0.011074241, -0.027235404, 0.027209116, -0.014327506, -0.022726841, 0.003785616, -0.0009398318, 0.04576915, -0.0019897488, -0.008642509, 0.029995749, -0.022201061, 0.031967424, 0.0011197471, 0.0016578501, 0.011192542, 0.034412302, 0.011488293, -0.011212259, 0.023226332, 0.006217349, -0.008346758, 0.012947333, -0.0010343079, -0.004656439, 0.000017547394, 0.03549015, 0.049633633, -0.021478113, -0.016496347, 0.016141446, 0.020952333, -0.02459336, -0.009378601, 0.030495241, -0.003496437, 0.03709378, -0.031704534, 0.037829872, -0.013722858, -0.0046071475, 0.025040273, -0.004377119, -0.039591234, 0.013473113, -0.024396192, 0.016535781, 0.012901327, 0.0057868664, -0.005077063, 0.00829418, -0.011074241, 0.009155144, 0.03604222, 0.008898826, -0.0058197277, -0.009720358, 0.014800707, -0.0156551, 0.0034307146, -0.025184862, -0.03236176, -0.01892808, -0.047714535, 0.0033534907, 0.029943172, 0.023384066, 0.027472006, 0.021425536, -0.038040183, -0.011396281, -0.006887718, -0.011369993, 0.005428679, 0.05102695, 0.0031941135, -0.007518654, -0.012165235, -0.0097466465, -0.00835333, -0.030127194, 0.0137622915, -0.0040780813, -0.0038907721, -0.034832925, -0.005178933, -0.026972514, -0.010528745, 0.0021441965, -0.0113042705, 0.058571894, -0.0055568377 ]
2310.12397
18
It seems then that feedback or lack thereof is thus less important to the improvement of the score than number of iterations: if the model has fifteen chances to generate a correct answer, it is much more likely to succeed. We test this idea by querying the same set of 100 instances, but now allowing for higher temperatures and receiving multiple, separate, non-interacting responses. The results make up 6 Table 2: Distribution of hallucinations during verification task. This table counts the number of instances that featured each type of hallucination and compares it to the total number of erroneous edges encountered across all coloring instances in each subset. Hallucinations Coloring Correct Ablated Non-optimal Random LLM Vertex Edge Both None 29 24 18 10 26 72 52 65 26 41 7 5 3 5 6 2 24 10 66 27 Errors Correct 0 187 0 736 240 100 0 0 0 18 Total 107 256 26 129 282 118 the rest of Figure 3. With n=5, it’s close, not quite there, but with n=15 (t=1.0), the performance is comparable to backprompting, achieving a score of 40%. In other words: blindfolded guessing does just as well as careful, crafted feedback.
2310.12397#18
GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems
There has been considerable divergence of opinion on the reasoning abilities of Large Language Models (LLMs). While the initial optimism that reasoning might emerge automatically with scale has been tempered thanks to a slew of counterexamples, a wide spread belief in their iterative self-critique capabilities persists. In this paper, we set out to systematically investigate the effectiveness of iterative prompting of LLMs in the context of Graph Coloring, a canonical NP-complete reasoning problem that is related to propositional satisfiability as well as practical problems like scheduling and allocation. We present a principled empirical study of the performance of GPT4 in solving graph coloring instances or verifying the correctness of candidate colorings. In iterative modes, we experiment with the model critiquing its own answers and an external correct reasoner verifying proposed solutions. In both cases, we analyze whether the content of the criticisms actually affects bottom line performance. The study seems to indicate that (i) LLMs are bad at solving graph coloring instances (ii) they are no better at verifying a solution--and thus are not effective in iterative modes with LLMs critiquing LLM-generated solutions (iii) the correctness and content of the criticisms--whether by LLMs or external solvers--seems largely irrelevant to the performance of iterative prompting. We show that the observed increase in effectiveness is largely due to the correct solution being fortuitously present in the top-k completions of the prompt (and being recognized as such by an external verifier). Our results thus call into question claims about the self-critiquing capabilities of state of the art LLMs.
http://arxiv.org/pdf/2310.12397
Kaya Stechly, Matthew Marquez, Subbarao Kambhampati
cs.AI
18 pages, 3 figures
null
cs.AI
20231019
20231019
[ { "id": "2206.10498" }, { "id": "2306.03872" }, { "id": "2303.11366" } ]
{ "authors": "Kaya Stechly, Matthew Marquez, Subbarao Kambhampati", "chunk_id": 18, "doc_id": "2310.12397", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12397", "summary": "There has been considerable divergence of opinion on the reasoning abilities\nof Large Language Models (LLMs). While the initial optimism that reasoning\nmight emerge automatically with scale has been tempered thanks to a slew of\ncounterexamples, a wide spread belief in their iterative self-critique\ncapabilities persists. In this paper, we set out to systematically investigate\nthe effectiveness of iterative prompting of LLMs in the context of Graph\nColoring, a canonical NP-complete reasoning problem that is related to\npropositional satisfiability as well as practical problems like scheduling and\nallocation. We present a principled empirical study of the performance of GPT4\nin solving graph coloring instances or verifying the correctness of candidate\ncolorings. In iterative modes, we experiment with the model critiquing its own\nanswers and an external correct reasoner verifying proposed solutions. In both\ncases, we analyze whether the content of the criticisms actually affects bottom\nline performance. The study seems to indicate that (i) LLMs are bad at solving\ngraph coloring instances (ii) they are no better at verifying a solution--and\nthus are not effective in iterative modes with LLMs critiquing LLM-generated\nsolutions (iii) the correctness and content of the criticisms--whether by LLMs\nor external solvers--seems largely irrelevant to the performance of iterative\nprompting. We show that the observed increase in effectiveness is largely due\nto the correct solution being fortuitously present in the top-k completions of\nthe prompt (and being recognized as such by an external verifier). Our results\nthus call into question claims about the self-critiquing capabilities of state\nof the art LLMs.", "text": "It seems then that feedback or lack thereof is thus less important to the improvement of the score than number of iterations: if the model has fifteen chances to generate a correct answer, it is much more likely to succeed. We test this idea by querying the same set of 100 instances, but now allowing for higher temperatures and receiving multiple, separate, non-interacting responses. The results make up\n6\nTable 2: Distribution of hallucinations during verification task. This table counts the number of instances that featured each type of hallucination and compares it to the total number of erroneous edges encountered across all coloring instances in each subset.\nHallucinations Coloring Correct Ablated Non-optimal Random LLM Vertex Edge Both None 29 24 18 10 26 72 52 65 26 41 7 5 3 5 6 2 24 10 66 27 Errors Correct 0 187 0 736 240 100 0 0 0 18 Total 107 256 26 129 282 118\nthe rest of Figure 3. With n=5, it’s close, not quite there, but with n=15 (t=1.0), the performance is comparable to backprompting, achieving a score of 40%.\nIn other words: blindfolded guessing does just as well as careful, crafted feedback.", "title": "GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems", "year": 2023 }
[ -0.023657328, -0.014253126, 0.015352417, 0.012295486, 0.017242292, 0.0036668107, 0.045266666, 0.029138722, -0.0006762329, 0.04333914, 0.027934019, -0.020028165, -0.022889331, 0.024078975, 0.017694056, -0.014162773, 0.05707274, -0.047676068, -0.028596604, -0.00697974, -0.020901574, -0.018326523, 0.047465242, 0.017197115, 0.02266345, -0.013477599, 0.00039835155, -0.011791017, 0.021970745, 0.003751516, 0.008779263, -0.018266289, -0.034936346, -0.060295317, -0.016203238, 0.05644027, 0.024018738, -0.017362762, -0.025313793, 0.00931385, 0.003043754, 0.01359054, -0.045778662, 0.0008136442, 0.01432842, 0.015156653, 0.0007868208, -0.008289853, -0.012054546, 0.04638101, -0.075173385, 0.07119787, -0.009509614, -0.018115701, 0.009268673, -0.03529776, -0.0099162, 0.006565624, 0.01764888, 0.0051500993, 0.014569361, -0.051350407, 0.03331, -0.01432842, -0.00044376313, -0.018266289, -0.03222577, -0.00758962, 0.06607789, 0.057494387, -0.030057305, 0.0000036580752, 0.031021068, 0.032406475, -0.02362721, 0.029997071, 0.06125908, -0.0075105615, 0.00066540943, -0.01654959, 0.021850277, -0.019787224, 0.01468983, -0.022859214, -0.014403714, -0.036231402, -0.0002068228, -0.024937324, -0.04960359, -0.06921011, -0.008606087, 0.008380205, -0.0080489125, 0.031502947, -0.0040093977, -0.017121822, 0.007649855, -0.037797514, 0.01310113, -0.019937811, -0.007457856, 0.012536426, -0.0012197604, -0.011851252, 0.020555222, 0.02694014, -0.040146682, 0.023431446, -0.0077176197, 0.005586804, -0.016971234, -0.024154268, -0.065114126, 0.0042842203, 0.017724173, -0.045146193, -0.03981539, -0.06758376, 0.012446074, 0.025419204, -0.00795856, -0.012950542, 0.005338334, 0.007875737, -0.0014221126, -0.028476134, 0.025328852, -0.044302903, 0.032286003, -0.022061098, 0.019742047, 0.02681967, 0.058006383, 0.0036084577, -0.03355094, 0.026759434, -0.033430472, 0.027000375, -0.027346727, -0.011038079, -0.049513236, -0.022979684, -0.041230913, 0.016730294, -0.0011670548, 0.02889778, -0.008847028, 0.0355387, -0.010631491, 0.043459613, -0.039092567, 0.01871805, 0.0016150532, 0.012084663, -0.00091576145, -0.021383453, -0.03806857, 0.027873784, -0.026608847, -0.009735495, 0.027617784, -0.02278392, 0.056892034, -0.040568326, 0.017663937, 0.063005894, -0.052856285, 0.022678507, -0.03870104, -0.005304452, 0.009946317, 0.021880394, 0.011971722, -0.029861541, 0.0045853956, -0.018446993, 0.011158549, -0.045116074, 0.01114349, -0.016007474, -0.03746622, 0.022603214, 0.0014682302, 0.06086755, 0.0035463404, -0.06210237, -0.029334486, -0.03309918, -0.023822974, -0.047977243, -0.023687446, -0.02486203, 0.058699086, 0.0028574017, -0.036231402, -0.05583792, 0.051109467, 0.01078208, -0.03334012, -0.009148203, -0.049332533, 0.017061587, 0.033400353, -0.07679973, 0.0086362045, -0.007973619, -0.010202317, -0.0025863438, -0.016459236, 0.042104322, 0.0048263357, -0.017980171, 0.026970258, 0.0041562207, -0.035418227, 0.01040561, -0.057223327, 0.022091215, 0.006181625, 0.042797025, -0.017061587, 0.0013232895, 0.0034672818, -0.0014381126, -0.003408929, 0.060566373, 0.05448263, -0.045266666, 0.0034446937, -0.032737765, 0.01663994, -0.019817341, -0.034484584, -0.01555571, 0.01948605, -0.027949078, -0.0019519931, 0.000270352, -0.024048856, -0.032526944, 0.02168463, -0.003455988, -0.0034126937, -0.05903038, -0.024877088, 0.027617784, -0.06390942, -0.019757107, 0.010473375, 0.0028611664, -0.004314338, -0.03186436, -0.026548613, -0.0602652, -0.049904764, -0.025750497, 0.00019046992, -0.019410755, -0.01432089, -0.029846482, -0.01654959, 0.008470559, -0.08185948, 0.010330317, -0.023461564, 0.013462541, 0.019154755, 0.0006569389, -0.030012129, -0.012965601, -0.020118518, 0.026021555, 0.013409835, 0.021067219, 0.020254046, -0.06890893, 0.010834785, 0.040116563, -0.0372554, -0.028099665, -0.009020204, 0.025870968, 0.027843667, 0.018642757, 0.02657873, -0.00716421, -0.039333507, 0.007698796, 0.012024428, -0.020841338, -0.015751474, -0.041080326, 0.03749634, 0.024831912, -0.030117542, -0.009223497, 0.027166022, 0.012069604, -0.00035670464, -0.020645574, 0.02656367, 0.009223497, 0.005398569, 0.05448263, -0.010187258, 0.03162342, -0.009389143, 0.039604567, 0.00025011678, -0.000086999695, 0.002669167, 0.027286492, -0.020314282, 0.086919226, -0.041562207, -0.049663823, 0.050416764, -0.026623907, 0.046712305, -0.044784784, -0.005782568, -0.03921304, 0.017061587, 0.027090728, -0.0151340645, -0.0019708166, -0.010789609, -0.011196196, 0.0062908013, -0.015051241, -0.0413815, -0.013688423, 0.010631491, 0.011459724, -0.018522287, -0.0114446655, -0.04288738, 0.011625371, 0.004649395, 0.03219565, -0.069149874, 0.0235218, -0.010804668, -0.02252792, -0.0264432, 0.010127023, -0.006569389, 0.02388321, 0.07065575, -0.0039341035, -0.007152916, -0.029048368, 0.032798003, 0.026623907, -0.0070889164, 0.007913384, -0.031081302, 0.05095888, -0.036562696, 0.0019952871, 0.010217376, 0.0053646867, 0.016911, 0.018356642, 0.03770716, 0.057765443, -0.013876657, -0.0062004486, 0.022181569, 0.019034285, -0.047706183, 0.032376356, -0.032798003, 0.0012583485, -0.047585715, -0.021835217, 0.003745869, 0.003636693, -0.0085383225, 0.026955198, -0.035689287, -0.0065844473, -0.016444176, -0.025931202, 0.032135416, 0.028942958, 0.0017110528, -0.033731647, -0.10486928, -0.04385114, -0.029861541, -0.041261032, -0.055777684, 0.0038192805, 0.0585485, 0.043459613, -0.023536857, 0.06951129, 0.06372872, 0.068427056, -0.018025348, -0.037345752, -0.078606784, 0.028310489, -0.0056997444, 0.034213528, -0.034695406, -0.001456936, 0.03855045, 0.030268129, 0.020419693, -0.050145704, 0.021022044, -0.045658194, -0.012709602, -0.054663338, 0.040598445, 0.0050296295, 0.040387623, 0.04433302, -0.05336828, -0.011971722, -0.0036103402, -0.022392392, -0.017076645, -0.0017552879, -0.03367141, -0.0063623306, 0.034544818, -0.063487776, -0.053548988, 0.08336535, 0.019139698, -0.0042051617, 0.023657328, -0.036562696, 0.032978706, -0.024410266, -0.029033309, -0.0585485, 0.032647416, -0.035598934, -0.034755643, -0.026382966, -0.024816854, 0.035418227, -0.08264253, -0.028235195, 0.027120845, 0.0066333883, -0.055807803, -0.018281348, -0.006234331, 0.011994311, -0.029726014, -0.041953735, 0.10444763, -0.031533066, 0.02228698, -0.02067569, -0.013914304, -0.023988621, -0.028039431, 0.030147659, 0.02939472, 0.04418243, -0.027060611, 0.0062042135, 0.033219647, -0.002104463, -0.04620031, -0.036683165, 0.037405986, -0.04617019, 0.0035613992, 0.0020235223, -0.015081358, 0.0198324, 0.066318825, -0.01225784, -0.0111510195, -0.007051269, -0.0045628073, 0.03773728, 0.045628075, 0.054964513, 0.016865823, -0.026744377, -0.017227232, 0.010940197, -0.02632273, -0.04641113, 0.025012618, -0.01898911, 0.033219647, -0.005635745, 0.024274739, 0.00931385, -0.008086559, 0.023868151, 0.017302528, -0.0075707966, -0.036261518, 0.029229073, 0.006038567, -0.021458747, 0.024395209, 0.01948605, 0.0116329, 0.017136881, -0.011926546, 0.003971751, 0.008613616, -0.0042955144, -0.021865334, -0.008786793, 0.0055265687, 0.024937324, -0.013086071, 0.03270765, -0.027647903, -0.00023282271, -0.035960343, 0.01359807, 0.02755755, -0.037134927, -0.05156123, -0.0448149, -0.01763382, 0.0035124582, 0.004016927, -0.0035651638, 0.017724173, -0.0061025666, -0.04442337, 0.0027482256, 0.00068282115, -0.026985316, -0.027166022, -0.012099722, 0.025193322, 0.010849844, 0.018130759, -0.0056545683, 0.001184937, -0.017603703, 0.028159901, -0.017136881, -0.01139196, -0.0062042135, -0.0022362275, -0.047555596, -0.019651696, -0.001277172, -0.021534042, -0.016007474, -0.01667006, 0.00930632, -0.01849217, -0.0083425585, 0.013191483, 0.010224905, 0.00416375, 0.0023491683, -0.022979684, 0.0063999775, 0.012039487, -0.003700693, 0.043821022, 0.03418341, -0.05424169, -0.030207893, 0.023612153, -0.04032739, 0.017317586, -0.031292126, 0.019998048, 0.0042804554, 0.00612139, -0.005583039, -0.010616433, -0.017483233, -0.01603759, 0.038399864, -0.033761762, -0.009456907, 0.019440873, -0.011218784, -0.002303992, -0.03650246, 0.0046268073, -0.011580194, 0.02070581, 0.0040884563, -0.010435727, 0.010375493, 0.00759715, -0.0010559963, -0.018401816, -0.00532704, 0.015262064, 0.013936892, 0.024169326, -0.041200794, 0.0077627962, 0.026985316, -0.023446506, 0.054964513, 0.026036615, -0.011452195, -0.018793346, -0.0044348077, -0.010586316, 0.0027858724, -0.038189042, -0.0083425585, 0.030298246, -0.0042842203, 0.05421157, -0.017422996, -0.03327988, 0.020645574, 0.006716212, -0.002251286, 0.0061402135, -0.010819727, 0.0066409176, -0.009532202, -0.00833503, -0.0010512904, -0.038429983, 0.0126192495, -0.0006004685, -0.011768429, -0.025313793, 0.01457689, 0.010014082, 0.021413572, -0.019666754, -0.011000432, 0.03270765, -0.010029141, -0.027015435, -0.014546772, -0.01593218, -0.0022192863, 0.024575913, -0.028837545, -0.026413083, -0.04201397, -0.031774007, -0.054301925, 0.011301607, 0.022497803, 0.019516166, -0.022814037, -0.05915085, -0.034966465, 0.008575969, -0.023175448, 0.0037364573, 0.0037345751, -0.024289796, -0.020088399, 0.00048423358, 0.014147715, -0.015871944, -0.0066409176, 0.00563198, 0.006911976, -0.010910079, 0.02252792, -0.0033204588, 0.0085383225, -0.012581603, 0.04508596, -0.0030964597, -0.04493537, -0.020223929, -0.007393856, -0.0049279826, 0.023913328, -0.026036615, -0.059692964, 0.0066785645, 0.008297383, 0.025133088, -0.0078079724, 0.0023924622, -0.017799467, -0.016293589, -0.004946806, 0.029138722, 0.021262983, -0.021202749, 0.01654959, -0.014509126, 0.01752841, -0.016007474, -0.04800736, 0.001478583, 0.014238067, 0.038038455, -0.030222952, 0.009863495, -0.01960652, -0.011158549, 0.03358106, 0.044634197, -0.020299222, -0.01861264, 0.001679994, -0.0045966897, 0.006076214, -0.028235195, -0.0037082222, -0.03147283, -0.0010061141, 0.021594277, -0.022181569, -0.03243659, -0.00072376215, -0.04385114, -0.003011754, 0.020856397, -0.012393368, -0.037405986, -0.018266289, 0.012581603, -0.0106616095, 0.0041336324, 0.008771733, 0.035207406, -0.029726014, -0.0004555278, 0.024094032, -0.01653453, 0.015585828, 0.023853092, -0.028566487, -0.01603759, 0.012431015, 0.009456907, 0.011693135, 0.001353407, 0.028671898, -0.011828664, -0.0005717627, -0.04174291, -0.009253615, -0.002064934, 0.01569124, -0.023416389, 0.0073223272, -0.02264839, 0.0058616265, 0.03782763, -0.010729373, -0.012709602, 0.022633333, 0.013575481, 0.0075783264, -0.020088399, -0.0009223497, 0.022889331, 0.003983045, 0.016850764, -0.0028065783, 0.0065355063, 0.0009204673, 0.019064404, -0.029198956, 0.006174096, 0.023085095, 0.042766906, -0.025735438, 0.02362721, 0.009968906, 0.010021612, -0.0042955144, -0.025524616, -0.014381126, -0.006049861, 0.004031986, -0.02424462, 0.028385783, 0.0056884503, 0.02448556, -0.03243659, -0.023687446, -0.018702993, 0.006701153, -0.026277555, 0.00045105722, -0.020254046, -0.01028514, -0.027617784, -0.12492756, -0.006746329, -0.0048225713, -0.047194187, -0.009020204, 0.011851252, 0.023070036, -0.0012461132, -0.011489842, 0.048037477, -0.00034211643, 0.00037576337, 0.00047105717, 0.0021195218, 0.0050220997, -0.03586999, 0.017227232, -0.000270352, 0.010473375, -0.012626779, -0.013394776, -0.020419693, -0.0069420934, -0.014418772, -0.03111142, -0.019139698, -0.030328363, -0.011075726, 0.020735927, 0.0006776447, -0.023175448, 0.017709114, 0.044995606, 0.00010835256, -0.016624883, -0.033822, -0.01761876, -0.024771677, -0.01701641, 0.039634682, 0.015706297, 0.023597093, 0.023973562, -0.023070036, 0.010789609, -0.030554244, 0.04008645, -0.0017148175, 0.0049581, -0.0052630403, -0.017136881, -0.0117609, -0.014569361, -0.019621577, 0.0026051672, 0.032376356, 0.021940628, -0.006207978, -0.045477487, -0.008003737, -0.025404146, 0.01569124, 0.0350267, -0.039002214, -0.019064404, -0.034243643, -0.016624883, 0.062162604, 0.023326036, -0.019937811, -0.005473863, 0.022859214, 0.0039416333, 0.010127023, -0.009547261, 0.026608847, 0.059361674, 0.0056169215, -0.06535506, 0.043309025, -0.012340662, -0.0072771506, -0.0045741014, 0.015435239, 0.003103989, 0.012943014, 0.014727477, -0.022241805, -0.011964193, 0.027617784, 0.02376274, -0.016399002, -0.031502947, 0.0017797584, -0.027587667, 0.011241372, -0.01897405, -0.0046606893, 0.044363137, -0.0099162, 0.023280859, 0.009291261, -0.010533609, -0.039574448, 0.02864178, -0.00057505677, -0.01567618, -0.030810244, 0.01273219, -0.0049279826, 0.0023171683, 0.025765557, 0.013311953, -0.008282323, -0.018687934, 0.043489728, 0.014975947, -0.002038581, 0.027030492, -0.035930227, 0.032105297, 0.023582034, -0.016293589, 0.003745869, 0.0075293854, 0.033400353, -0.022271922, -0.034544818, -0.016308649, 0.04201397, -0.022738744, 0.016911, 0.004208926, 0.008116677, -0.012205133, -0.007397621, 0.034333996, -0.04936265, -0.009758083, 0.0215491, 0.004299279, 0.004208926, 0.012378309, -0.023792857, -0.03635187, -0.026142025, 0.018115701, -0.020796161, -0.017347703, 0.02572038, 0.004995747, -0.0013411717, 0.0060799783, 0.036472343, 0.010157141, 0.04002621, 0.005462569, -0.039755154, 0.0088319685, 0.016986294, 0.033852115, -0.004397161, 0.0099162, -0.020796161, 0.013304424, -0.0069420934, -0.025298735, 0.002108228, -0.009968906, 0.068005405, -0.02829543, -0.034845993, -0.0016649353, -0.0007919972, 0.032406475, 0.021624394, -0.011279019, 0.026232379, 0.0006950564, 0.0040583387, 0.00588045, 0.010480904, -0.014832889, 0.0006889388, 0.039634682, -0.022919448, 0.036713284, 0.016263472, 0.01773923, -0.01285266, 0.012973131, 0.031262007, 0.016594766, 0.024109092, 0.013214071, -0.0011425843, 0.0013694069, 0.030780127, -0.019109579, -0.023130272, -0.06878846, -0.0061891545, -0.010307728, -0.014659713, -0.008658793, 0.036261518, -0.018401816, 0.0036668107, -0.038490217, 0.001777876, -0.045206428, 0.02424462, 0.0012159958, -0.0150361825, 0.0027350492, 0.01971193, -0.014057362, -0.0021195218, -0.037285514, -0.0017966996, 0.020314282, -0.031653535, -0.0015199946, 0.021759924, -0.0052856286, 0.008139266, -0.0006583506, -0.027075669, -0.03162342, -0.00008552911, 0.025193322, -0.013462541, -0.00042588086, -0.022512862, -0.024967441, 0.00753315, -0.011098314, -0.010270081, 0.01102302, -0.0030399892, 0.030825304, 0.013515246, -0.027060611, -0.0039416333, 0.01372607, -0.00057270384, 0.021006985, 0.006911976, -0.05951226, -0.001282819, -0.02450062, 0.0066823293, 0.034544818, -0.034755643, -0.0062418603, -0.006994799, 0.007495503, 0.04800736, 0.024560854, 0.027391903, -0.0106616095, -0.020660633, -0.004054574, -0.020615457, -0.0031115185, -0.020871455, -0.009855965, -0.0129128955, 0.019440873, -0.013560423, -0.05755462, 0.0025505791, 0.021910511, 0.018356642, -0.030960832, -0.016926058, -0.012950542, -0.0050860997, 0.005522804, -0.01739288, 0.020720867, 0.015902061, -0.027903901, -0.011843723, 0.018040407, -0.006234331, -0.05264546, -0.004152456, 0.0063020955, 0.027286492, 0.031051185, 0.009381614, 0.0024526971, -0.020419693, -0.00077646784, 0.002810343, -0.0062606838, 0.007988677, 0.045266666, -0.03207518, 0.010345375, 0.018763227, 0.035086934, -0.032858238, 0.030990949, 0.013146306, 0.009411732, -0.010134553, -0.020043224, 0.01579665, -0.015435239, 0.009057851, 0.0044912784, -0.024575913, -0.015856884, 0.0029985777, 0.022618273, -0.03135236, 0.0023134036, 0.011919017, -0.016594766, -0.006501624, -0.00783056, -0.015269593, -0.030870479, -0.01078208, -0.014712418, -0.002059287, 0.0010898785, 0.025675204, 0.016158061, 0.013357129, 0.015262064, -0.006772682, -0.023341093, -0.007740208, -0.045206428, -0.022979684, -0.010119494, -0.011851252, 0.020510046, 0.027934019, -0.0033336354, -0.016218295, -0.012415956, 0.030147659, 0.013846539, 0.009095497, -0.026187202, -0.021774981, 0.08625664, -0.025012618, -0.025931202, 0.009840907, 0.017573586, 0.026352849, -0.006908211, -0.005891744, -0.01788982, 0.03025307, 0.0029797542, 0.038520336, 0.0013788186, 0.008922322, 0.00881691, 0.022030981, -0.026714258, 0.023973562, 0.0070964457, 0.009170791, 0.023130272, 0.025765557, 0.020073341, 0.0083425585, -0.0035482228, 0.02950013, 0.021037102, -0.0018823463, 0.01775429, 0.043790903, -0.003647987, 0.012318074, -0.025675204, 0.02843096, -0.045025725, -0.0025148147, -0.016926058, 0.058367793, 0.005191511, -0.01969687, -0.004912924, 0.0036329282, -0.0025355204, 0.008658793, -0.008719028, -0.0019256403, -0.005707274, -0.0064338595, 0.00716421, -0.0077326787, 0.014102538, -0.009946317, -0.022753801, -0.020359458, 0.016459236, -0.049693942, -0.0026014026, 0.013266777, 0.047736302, 0.011580194, -0.016112885, -0.02067569, -0.018386759, 0.00005223511, -0.019561343, -0.029771188, -0.0010729374, 0.030719891, -0.028144842, 0.0147425365, -0.016173119, -0.023085095, 0.0151943, -0.018190995, -0.0018889345, -0.011723253, 0.020886514, 0.017453115, 0.018943934, -0.010970314, 0.009328908, -0.025268616, -0.005658333, -0.042345263, -0.016203238, 0.018160878, 0.008786793, -0.009524672, -0.021729806, -0.006659741, -0.031081302, 0.0077251494, 0.017166998, 0.01151243, -0.009615025, 0.0012658779, -0.017453115, 0.015751474, 0.01225031, 0.0084555, -0.003772222, -0.01567618, -0.012009369, 0.0056056273, -0.03806857, -0.00600092, -0.061680723, -0.034484584, 0.047073714, 0.02939472, -0.0041411617, -0.016383942, 0.0024903442, 0.017377822, -0.02927425, 0.015262064, -0.0052216286, 0.012589132, -0.024289796, -0.009758083, 0.0042315144, 0.022196628, -0.03701446, -0.014351008, -0.0026842258, 0.015367475, 0.006125155, -0.000444469, -0.0028668134, -0.0031077538, -0.0010352904, -0.0044159843, 0.006381154, 0.0023416388, 0.020600397, 0.012400897, 0.021458747, -0.027873784, -0.017498292, -0.022678507, 0.01886864, 0.010029141, -0.025675204, -0.016805587, -0.011565136, 0.017407939, 0.009999024, 0.016263472, 0.04972406, 0.022076158, 0.0099162, 0.007695032, 0.005044688, 0.0038851628, -0.0148404185, 0.03138248, 0.0041901027, -0.021323219, -0.009758083, 0.0025035206, 0.0009388202, 0.008297383, 0.018356642, 0.02374768, 0.01787476, 0.0035726933, 0.0011698782, -0.03478576, 0.036472343, -0.022332156, 0.02067569, -0.006332213, 0.022603214, -0.01701641, -0.019380638, -0.039032333, 0.013635716, 0.002870578, -0.019169815, 0.03207518, 0.026864847, -0.030087423, 0.016082767, 0.031683654, -0.0035199877, -0.00795856, -0.009562319, -0.0117383115, -0.010556198, -0.006196684, 0.00095482013, -0.024892148, -0.005402334, -0.0058729206, -0.0042804554, 0.05231417, -0.009253615, -0.013522776, 0.0006757623, 0.015420181, 0.005729862, -0.036321755, -0.0029270486, -0.022271922, -0.028732134, 0.010932667, 0.0014776419, 0.0076122084, 0.0074202092, -0.00893738, 0.038399864, 0.018341582, 0.010887491, 0.031412594, 0.020494986, 0.009607496, 0.04225491, -0.013078542, -0.01322913, 0.006960917, -0.012641838, 0.01579665, 0.00011352901, -0.012589132, -0.021142514, -0.015390064, 0.022859214, 0.0054550394, -0.036713284, -0.004811277, 0.012589132, -0.03659281, -0.0075783264, 0.00011594077, -0.020796161, -0.00539104, -0.034002703, -0.009539731, 0.00023729328, -0.010872432, -0.03638199, 0.0075745615, -0.025313793, 0.022844154, -0.023100154, 0.01517924, 0.004054574, 0.0089298505, -0.005424922, 0.0032056358, -0.013756187, 0.005157629, -0.024033798, -0.0301326, 0.01383901, -0.055446394, 0.003533164, -0.02535897, 0.019907694, -0.0133496, -0.019199932, -0.020314282, 0.010488434, -0.009758083, 0.034273762, 0.000687527, -0.019305343, -0.018070525, 0.01188137, -0.0042051617, -0.02535897, 0.02364227, -0.014998536, -0.009765613, 0.010925138, 0.009976435, 0.0004141162, 0.005300687, -0.013771245, -0.021654513, 0.018778287, 0.008365147, 0.0026823434, -0.012634308, 0.01886864, 0.050205942, -0.018145818, 0.0068027996, 0.00097223185, 0.0030851655, -0.020028165, -0.00416375, 0.015239475, -0.0048413947, -0.00758962, -0.004739748, -0.003011754, -0.036532577, -0.009592437, 0.008259736, -0.013914304, -0.015480416, 0.0004762336, 0.02338627, 0.03403282, 0.0071227984, -0.013801363, 0.01995287, -0.0014334067, 0.0010014082, -0.0021816394, -0.00010270552, -0.015171711, 0.013394776, 0.029334486, -0.0017835231, -0.030659657, 0.02156416, -0.019501107, 0.01102302, -0.031442713, 0.0070399754, -0.018115701, 0.0123256035, -0.015721356, -0.0058842143, -0.032286003, -0.019094521, 0.010819727, -0.013613128, 0.042405497, -0.009660201, 0.009389143, 0.0045778663, 0.0020536399, -0.0030738716, 0.0032357534, -0.0027915195, 0.017468173, -0.0031246948, -0.0047698654, -0.02656367, -0.036893986, 0.001494583, -0.013251718, 0.00034541055, -0.0044423374, -0.02044981, 0.011241372, 0.025645087, -0.0027971666, 0.03466529, -0.018522287, 0.017272409, 0.0029854013, -0.005300687, 0.019922754, 0.008011266, 0.0038098688, 0.0044988077, -0.030840361, -0.02278392, 0.031292126, -0.0068404465, -0.007973619, 0.05192264, -0.020254046, -0.027166022, 0.014584419, -0.0084555, -0.007988677, 0.045838896, 0.02450062, 0.0060950373, -0.0110531375, -0.024877088, -0.009133144, -0.056289684, -0.011279019, -0.017242292, 0.016579706, -0.04812783, 0.0061402135, -0.058367793, 0.0009769377, -0.0053722165, -0.021172632, -0.0020536399, -0.019636637 ]
2310.12773
18
Cost Model (CM) Unlike the helpfulness human preference dataset, the harmlessness human pref- erence dataset provides additional information about the harmlessness of a response. To make op- timal use of this information for training the cost model Cψ(y, x), we amend the original pairwise comparison loss by incorporating classification terms. LC(ψ; DC) = − E(x,yw,yl,·,·)∼DC [log σ(Cψ(yw, x) − Cψ(yl, x))] − E(x,yw,yl,sw,sl)∼DC [log σ(sw · Cψ(yw, x)) + log σ(sl · Cψ(yl, x))] . (6) It’s worth noting that the Cost Model still complies with the Bradley-Terry (BT) model. Assume there exists a virtual response, y0, which lies on the boundary between safe and unsafe clusters, 4 such that Cψ(y0, x) = 0. If y is unsafe, i.e., s(y) = +1, then the Cost Model tends to prefer y. Hence, we aim to maximize the probability of y ≻ y0|x:
2310.12773#18
Safe RLHF: Safe Reinforcement Learning from Human Feedback
With the development of large language models (LLMs), striking a balance between the performance and safety of AI systems has never been more critical. However, the inherent tension between the objectives of helpfulness and harmlessness presents a significant challenge during LLM training. To address this issue, we propose Safe Reinforcement Learning from Human Feedback (Safe RLHF), a novel algorithm for human value alignment. Safe RLHF explicitly decouples human preferences regarding helpfulness and harmlessness, effectively avoiding the crowdworkers' confusion about the tension and allowing us to train separate reward and cost models. We formalize the safety concern of LLMs as an optimization task of maximizing the reward function while satisfying specified cost constraints. Leveraging the Lagrangian method to solve this constrained problem, Safe RLHF dynamically adjusts the balance between the two objectives during fine-tuning. Through a three-round fine-tuning using Safe RLHF, we demonstrate a superior ability to mitigate harmful responses while enhancing model performance compared to existing value-aligned algorithms. Experimentally, we fine-tuned the Alpaca-7B using Safe RLHF and aligned it with collected human preferences, significantly improving its helpfulness and harmlessness according to human evaluations.
http://arxiv.org/pdf/2310.12773
Josef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji, Xinbo Xu, Mickel Liu, Yizhou Wang, Yaodong Yang
cs.AI, cs.LG
null
null
cs.AI
20231019
20231019
[ { "id": "2302.13971" }, { "id": "2304.05302" }, { "id": "1707.06347" }, { "id": "2305.18290" }, { "id": "2305.10403" }, { "id": "2305.03047" }, { "id": "2211.05100" }, { "id": "2110.08207" }, { "id": "2304.05335" }, { "id": "2107.03374" }, { "id": "2105.04054" }, { "id": "2209.07858" }, { "id": "2305.15324" }, { "id": "2307.09288" }, { "id": "2210.11416" }, { "id": "2212.08073" }, { "id": "2307.12950" }, { "id": "2009.11462" }, { "id": "2307.04657" }, { "id": "2204.05862" }, { "id": "2112.00861" }, { "id": "2209.14375" }, { "id": "2303.00957" }, { "id": "2306.01693" }, { "id": "2305.01937" }, { "id": "2307.15217" }, { "id": "2306.17492" }, { "id": "2112.04359" }, { "id": "1506.02438" } ]
{ "authors": "Josef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji, Xinbo Xu, Mickel Liu, Yizhou Wang, Yaodong Yang", "chunk_id": 18, "doc_id": "2310.12773", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12773", "summary": "With the development of large language models (LLMs), striking a balance\nbetween the performance and safety of AI systems has never been more critical.\nHowever, the inherent tension between the objectives of helpfulness and\nharmlessness presents a significant challenge during LLM training. To address\nthis issue, we propose Safe Reinforcement Learning from Human Feedback (Safe\nRLHF), a novel algorithm for human value alignment. Safe RLHF explicitly\ndecouples human preferences regarding helpfulness and harmlessness, effectively\navoiding the crowdworkers' confusion about the tension and allowing us to train\nseparate reward and cost models. We formalize the safety concern of LLMs as an\noptimization task of maximizing the reward function while satisfying specified\ncost constraints. Leveraging the Lagrangian method to solve this constrained\nproblem, Safe RLHF dynamically adjusts the balance between the two objectives\nduring fine-tuning. Through a three-round fine-tuning using Safe RLHF, we\ndemonstrate a superior ability to mitigate harmful responses while enhancing\nmodel performance compared to existing value-aligned algorithms.\nExperimentally, we fine-tuned the Alpaca-7B using Safe RLHF and aligned it with\ncollected human preferences, significantly improving its helpfulness and\nharmlessness according to human evaluations.", "text": "Cost Model (CM) Unlike the helpfulness human preference dataset, the harmlessness human pref- erence dataset provides additional information about the harmlessness of a response. To make op- timal use of this information for training the cost model Cψ(y, x), we amend the original pairwise comparison loss by incorporating classification terms.\nLC(ψ; DC) = − E(x,yw,yl,·,·)∼DC [log σ(Cψ(yw, x) − Cψ(yl, x))] − E(x,yw,yl,sw,sl)∼DC [log σ(sw · Cψ(yw, x)) + log σ(sl · Cψ(yl, x))] . (6)\nIt’s worth noting that the Cost Model still complies with the Bradley-Terry (BT) model. Assume there exists a virtual response, y0, which lies on the boundary between safe and unsafe clusters,\n4\nsuch that Cψ(y0, x) = 0. If y is unsafe, i.e., s(y) = +1, then the Cost Model tends to prefer y. Hence, we aim to maximize the probability of y ≻ y0|x:", "title": "Safe RLHF: Safe Reinforcement Learning from Human Feedback", "year": 2023 }
[ 0.029612724, 0.019950043, 0.020468399, 0.040325407, 0.018488016, -0.0036185207, 0.011443696, 0.041574776, 0.020308906, 0.025107017, 0.012128191, -0.011443696, -0.014354462, 0.0045322883, 0.004492415, -0.006293368, 0.04513681, -0.015351299, -0.014580412, 0.025386132, -0.011795912, 0.028549429, -0.044870984, -0.035274763, 0.007941473, 0.0003194034, 0.041122876, -0.016321555, 0.0038511162, 0.0011355642, 0.036311474, -0.030888675, -0.083096385, -0.030995006, -0.023485495, -0.0036849764, -0.0015284844, 0.041707687, -0.0069978004, 0.043967184, -0.04923049, 0.00017818472, -0.034689948, 0.011596545, -0.02707411, -0.0035188368, 0.03426463, -0.0072769145, 0.017132316, 0.042026676, -0.02478803, 0.022834228, 0.0003592769, -0.024256382, -0.022156378, 0.006665521, -0.00812755, 0.021225996, 0.035115268, -0.003821211, 0.0067352997, -0.0035553875, -0.027619049, -0.017438013, -0.001614877, 0.017717127, -0.022249416, 0.0042432058, -0.04332921, 0.024734864, -0.0037381412, -0.029878547, 0.04912416, 0.013596865, -0.001441261, -0.0061538112, 0.01125762, 0.014513956, 0.034158304, 0.029081076, -0.0009769009, 0.025505753, 0.02945323, -0.025984235, -0.014553829, -0.033414, -0.061033044, 0.027220313, -0.056833036, -0.041122876, -0.026888033, 0.0036185207, -0.012553508, -0.008160777, 0.028629176, -0.020774096, -0.044658326, -0.012998763, 0.09399515, -0.012932307, -0.016667126, -0.0147399055, 0.06199001, -0.0029788832, 0.02514689, -0.0076158396, -0.035115268, 0.016959531, -0.04141528, 0.026595628, -0.0088785, 0.038065907, -0.056567214, 0.07203814, -0.0046519088, -0.049469728, -0.06209634, -0.0036384573, -0.0041900408, -0.035673495, 0.006030868, -0.007316788, 0.053510245, -0.06108621, -0.013251295, -0.010187681, 0.018328521, -0.030011458, -0.02388423, -0.052393787, -0.014793071, 0.024189927, -0.029054495, -0.015391173, -0.035753243, 0.030410193, -0.060448233, 0.0062435265, -0.032483615, -0.019072827, 0.042186167, -0.004249851, -0.015417756, 0.025359549, -0.052819103, 0.01808928, 0.0018192286, 0.019458272, -0.060129248, 0.03570008, 0.017212063, -0.004954283, 0.005927861, 0.002495417, -0.0045189974, -0.06337229, -0.010220909, 0.049469728, -0.027672213, -0.06991155, 0.04085705, 0.031101335, -0.020415235, -0.031686146, 0.03639122, 0.0630533, -0.041681103, 0.03982034, -0.046093773, -0.019179156, -0.0079016, 0.023751318, -0.028124113, -0.06714699, -0.04085705, -0.040936798, -0.039501354, -0.06826344, -0.012806041, -0.011290847, -0.006825015, 0.013743068, 0.004299693, -0.016826618, 0.006851597, -0.0097823, -0.04678491, 0.02341904, 0.002885845, -0.027406389, 0.0014005569, -0.00497422, 0.07884321, 0.025771575, -0.027379807, 0.013517118, 0.0071373573, 0.043302625, 0.019205738, 0.015058894, 0.0082671065, 0.0116164815, 0.045296304, -0.027805125, 0.0068848254, 0.039846923, -0.03354691, 0.051038086, -0.045508962, 0.027964618, -0.00067826494, 0.0035886155, 0.028257024, 0.03003804, -0.014460791, 0.021903846, -0.04346212, -0.005529126, 0.011231038, 0.05460012, -0.01616206, 0.051117834, 0.05981026, 0.012779458, -0.033414, -0.007429763, 0.019205738, -0.037268437, 0.019950043, -0.0737394, 0.06688116, -0.0010450181, -0.009755718, -0.030330446, -0.009277236, 0.012148128, -0.0028094207, 0.010599707, -0.028070947, -0.035008937, -0.010480086, 0.0014728276, -0.009516477, -0.00041680274, 0.011124708, 0.032084882, -0.00073849055, -0.014288006, -0.021544984, -0.008433246, 0.0069712177, 0.037614007, 0.0038710528, -0.012247812, -0.01875384, 0.024588661, 0.015510794, 0.007835144, 0.009489894, 0.009097805, -0.023937395, 0.0070376736, 0.024854485, -0.018607635, -0.041814014, 0.006502704, -0.006506027, -0.062149502, -0.05119758, 0.0010682776, 0.02865576, 0.023937395, -0.004705074, 0.011403822, -0.05218113, -0.008439892, 0.008041157, 0.06523305, -0.023844356, -0.0316064, -0.049629223, -0.010931986, 0.04686466, -0.021239288, 0.0056055505, 0.012360787, -0.002307679, 0.021850681, 0.00004802473, -0.06220267, -0.007602548, -0.05324442, 0.0037846602, -0.053855814, 0.005961089, 0.03649755, -0.024708282, -0.04949631, -0.013676613, 0.016786747, 0.0067984327, 0.07538751, -0.027486136, -0.023937395, -0.006236881, 0.029692471, -0.019006371, -0.025691828, 0.008911729, 0.007489573, -0.053324167, 0.007934827, -0.011942115, 0.012952244, -0.04242541, 0.007941473, 0.022701316, -0.035673495, 0.007383244, 0.0010192664, 0.027831707, -0.010858885, -0.013703194, -0.04513681, 0.006206976, -0.0044957376, -0.05470645, 0.003292887, 0.0019039599, -0.047157064, 0.00059311837, 0.01353041, 0.0144475, -0.039049454, 0.037560843, -0.038943123, -0.061245706, 0.046705168, -0.028416518, 0.0067087174, -0.029532976, -0.0109253405, -0.01935194, 0.015231679, 0.04040515, 0.00005111389, -0.012560154, 0.042026676, 0.027911454, 0.007469637, -0.020109538, -0.020521564, 0.03264311, 0.014367753, -0.0048678904, 0.02719373, -0.02764563, -0.033041846, 0.008712361, 0.018355103, -0.0041833953, 0.0031815735, 0.04332921, 0.0093304, 0.035886154, 0.013729777, -0.042372245, 0.0055058664, -0.0027329966, -0.025359549, -0.041920345, -0.008240525, -0.044605162, -0.047024153, -0.03059627, -0.037241854, -0.008559513, 0.041601356, 0.054972272, -0.031765893, 0.020295614, -0.015869655, -0.00634321, -0.012128191, 0.027127275, 0.016361428, 0.0023458912, -0.009576287, -0.029612724, -0.015364591, 0.047449473, -0.003964091, -0.036896285, 0.014606995, -0.02820386, 0.020322196, 0.07575966, 0.03992667, 0.048752006, 0.04728998, -0.03923553, -0.0028260348, -0.07357991, 0.008865209, -0.015829781, -0.018966498, -0.005784981, 0.044791237, -0.009682616, 0.029506395, 0.07900271, -0.013291168, 0.007622485, 0.01170952, 0.0020651154, -0.02411018, 0.033254504, 0.032403868, 0.042000093, 0.002742965, 0.005811563, -0.032084882, 0.017185481, -0.005014093, -0.04130895, 0.0013856043, -0.039554518, -0.0023209704, -0.013756359, -0.057949495, -0.0069712177, 0.05047986, 0.017424721, -0.013769651, -0.011197809, -0.011589899, 0.017836748, -0.018966498, 0.005000802, 0.009204134, 0.02093359, -0.00008810591, -0.020920299, 0.009742427, 0.036577296, 0.0076822955, 0.011908887, 0.004126908, -0.011204455, 0.00642628, -0.024708282, 0.014128512, -0.005243366, 0.024960814, -0.029267153, -0.009170907, 0.011563317, -0.00102342, -0.007316788, -0.0072303955, 0.02809753, 0.033068426, 0.026422843, 0.016826618, -0.010706036, 0.046678584, -0.008539576, -0.027805125, -0.03277602, -0.01649434, -0.0034091847, -0.008120904, 0.03833173, -0.071187496, 0.015178515, -0.010725973, -0.00094450364, -0.02150511, 0.038730465, -0.027539302, 0.057417847, -0.030995006, -0.02650259, -0.03426463, 0.0105731245, 0.06028874, 0.024495624, -0.033972226, -0.0072171045, 0.01808928, 0.026781704, -0.029160824, 0.0632128, -0.014288006, 0.01501902, -0.027619049, -0.016667126, 0.021478528, 0.021850681, 0.005834823, -0.021770934, 0.017650671, -0.008499702, -0.012188002, 0.018501306, 0.037135527, 0.029187405, -0.0009395195, -0.0377735, 0.021053212, -0.012354141, 0.03947477, -0.020494983, 0.027512718, -0.018939914, 0.018036116, -0.031553235, 0.003405862, -0.014301297, 0.010958568, 0.028895, 0.0043395665, -0.0022761126, -0.047608964, -0.026329804, -0.03854439, -0.020840552, -0.043940604, -0.021691186, -0.059650764, -0.0005507528, 0.011636418, -0.012932307, -0.021000046, -0.027100693, 0.013902563, -0.014939274, -0.030729182, -0.028017784, 0.011563317, 0.011463633, -0.014593703, -0.006077387, 0.0069047622, 0.00497422, -0.030277282, 0.012600028, -0.01888675, -0.0067685274, -0.0031649596, 0.0431963, -0.04173427, -0.045907695, -0.029479811, -0.014939274, 0.010812365, 0.003322792, -0.0024123471, 0.0034091847, -0.036364637, -0.0049576056, -0.007177231, 0.01422155, 0.017491179, -0.030543106, 0.002973899, 0.0098753385, 0.010892113, 0.0054726386, -0.035460837, -0.018634219, 0.014460791, 0.023671571, -0.044073515, 0.013982309, 0.0041966867, 0.03447729, -0.026569046, -0.006632293, 0.0011081512, -0.009317109, 0.033414, 0.007801916, -0.0020418558, -0.04231908, 0.022435492, 0.021584857, 0.015151932, -0.06406343, 0.01336427, 0.005303176, -0.051915303, 0.0058647282, 0.014580412, -0.035221595, 0.0029439938, 0.023458913, 0.041016545, -0.011516797, -0.0016007551, 0.00750951, -0.010918695, 0.0009170906, 0.005525803, -0.025505753, 0.006253495, -0.0027695473, 0.018368395, 0.012812686, 0.023232963, -0.016773455, -0.032350704, -0.0069978004, -0.017318392, 0.008645905, -0.0066721668, 0.005768367, -0.037560843, 0.038278565, -0.027353225, -0.021119667, -0.022116505, 0.030463358, -0.010393694, -0.00693799, 0.011902241, -0.01047344, -0.017225355, 0.02093359, -0.014779779, -0.04298364, -0.0014088638, 0.024243092, -0.023259545, -0.006409666, 0.013045282, 0.009450021, 0.0116164815, -0.006074064, -0.038517807, -0.018129153, 0.021983592, -0.025452588, -0.0898483, 0.0029124273, -0.029081076, 0.01524497, -0.01957789, -0.04005958, -0.02651588, -0.013663321, -0.020215867, -0.018953206, -0.017796874, 0.0021598148, 0.0119554065, 0.0008738943, 0.028230442, -0.008067739, 0.0013772973, -0.016667126, 0.0021581536, -0.001138887, 0.035806406, 0.009217425, 0.004685137, -0.014952565, 0.03615198, 0.009749072, -0.0068848254, -0.043036804, 0.04391402, -0.006668844, 0.017943077, -0.031021588, 0.006695426, 0.008998121, -0.00034557038, -0.04005958, 0.017610798, -0.040777303, 0.0076357764, -0.014314588, -0.029506395, 0.012407306, -0.014540538, 0.032217793, 0.015364591, 0.00021888893, 0.006014254, 0.005701911, -0.020056373, 0.024575371, -0.024402585, -0.016122187, 0.014779779, -0.03857097, 0.04638618, -0.010632935, -0.07815207, -0.009749072, -0.0008938311, -0.03766717, 0.011284202, -0.036843117, -0.04638618, -0.054972272, 0.044179846, 0.024721574, -0.021704478, -0.015723452, -0.000027906262, 0.007815207, -0.0005171095, 0.015989276, 0.035673495, -0.01160319, 0.045960862, 0.025386132, -0.013058573, -0.027858289, 0.011716165, -0.037454512, -0.0007829329, -0.023724737, -0.005549063, -0.011869013, 0.005768367, -0.002530306, -0.030569687, 0.02138549, 0.0034158302, -0.008639259, 0.003964091, 0.0030868738, -0.025864614, -0.023578532, 0.021970302, 0.008752234, -0.008865209, 0.0064628306, 0.021797515, 0.0027778542, 0.002520338, 0.011981988, 0.026130438, -0.03615198, 0.023458913, -0.008951602, -0.018115863, -0.0029307026, 0.012068381, -0.028389936, 0.023246253, 0.0154310465, -0.015165223, 0.019511435, -0.0028243733, -0.009310463, 0.03290893, -0.0014263085, 0.00071149284, -0.0020418558, 0.011370595, 0.015763326, -0.03381273, -0.017770292, -0.013444017, 0.02159815, -0.0066156792, -0.023671571, -0.018368395, -0.012360787, -0.0026449426, 0.029426647, -0.0038743757, 0.003917572, -0.05186214, -0.0041468446, -0.025492461, 0.0063731153, 0.005150328, 0.0035587105, -0.018182319, -0.016906366, -0.004661877, -0.01012787, -0.0082604615, 0.018022824, -0.0251336, 0.0012693066, 0.01467345, -0.040112745, -0.005150328, -0.0016929626, -0.011330721, -0.010101288, -0.09697237, -0.017464595, 0.04471149, -0.012679774, -0.0218241, 0.009091159, 0.010134516, 0.019285485, -0.0044060224, -0.0061471653, -0.048831753, -0.003003804, 0.02034878, 0.024761448, -0.028389936, -0.029107658, -0.029692471, 0.007050965, 0.006120583, -0.0228741, -0.013144965, -0.0016937933, -0.019325359, 0.03197855, -0.025904488, 0.0052699484, -0.011490216, 0.011948761, 0.0031848962, 0.024641827, -0.009396856, 0.009403502, 0.016095605, 0.022993721, -0.014261424, 0.055131767, 0.007954764, 0.0013365932, -0.0251336, 0.03857097, 0.0032447064, -0.027565883, 0.027326642, 0.005565677, 0.024827903, -0.027911454, -0.008386727, -0.0022246093, -0.016281681, -0.051436823, 0.001086553, -0.012825978, -0.0064794444, -0.02809753, -0.000608071, -0.028708924, 0.001551744, 0.02206334, 0.0034989002, -0.011363949, -0.045987442, 0.021053212, 0.0073699527, 0.0068383063, -0.030303864, 0.0004905272, -0.026343096, 0.037481096, -0.04593428, 0.006698749, -0.0008498041, 0.029187405, -0.029878547, 0.055450756, -0.022581695, -0.014646867, -0.0005694435, 0.04768871, -0.027020946, 0.033121593, -0.010985151, -0.01660067, -0.0038245337, 0.027432973, 0.008659196, 0.06672166, -0.0035387736, 0.04027224, -0.018235482, 0.005372955, 0.010254136, -0.017384848, 0.018368395, -0.0099949585, 0.009968377, -0.010240845, -0.004263142, 0.004877859, 0.018049406, 0.0047216876, 0.013324397, 0.004861245, 0.026409552, 0.0018823617, 0.019843714, -0.009204134, 0.004263142, 0.02013612, 0.0017212064, 0.005263303, 0.0031732665, -0.018262066, -0.0144475, 0.03126083, -0.033520326, -0.0027861611, 0.0032746117, 0.04893808, 0.011304139, 0.012606673, -0.016215226, 0.052473534, 0.041016545, -0.0041833953, 0.0037148816, -0.0027413035, 0.0070376736, 0.026077272, -0.025093727, 0.00010243545, 0.0028659082, 0.016972823, 0.0119554065, 0.02469499, -0.019205738, 0.033573493, 0.019086119, -0.02990513, -0.014487374, -0.0041634585, 0.003229754, 0.0022096569, 0.035779826, -0.025731701, 0.027406389, 0.029081076, 0.018780421, -0.035008937, 0.010121224, 0.039873507, -0.005721848, 0.0015882946, 0.025107017, -0.031021588, -0.043143135, 0.027207023, 0.019232322, -0.031074751, 0.026436133, 0.026901325, -0.026236767, 0.031313993, -0.006077387, -0.01091205, 0.053164672, -0.046093773, -0.004555548, -0.013244649, 0.020986754, 0.038172238, -0.023139924, -0.05366974, -0.0032363995, -0.010161098, 0.03333425, 0.03516843, 0.011550025, 0.023046887, -0.006761882, -0.007881663, -0.008233879, 0.026715249, -0.029532976, -0.030463358, 0.0441001, -0.010553188, 0.008021221, -0.026914617, 0.019431688, -0.01774371, 0.04194693, 0.013131674, 0.013716486, 0.08543563, 0.04266465, -0.023857648, -0.030862093, 0.032669693, -0.024216508, -0.037481096, -0.020534854, 0.059544437, 0.020388652, -0.013603511, -0.020162703, 0.0011696229, 0.016308263, 0.0026748476, -0.014912691, -0.0012169726, 0.009124387, 0.01069939, -0.036470965, 0.0036982677, -0.034158304, -0.015338008, 0.019710803, 0.0113772405, -0.0075493837, -0.011344012, -0.00130918, -0.026794996, 0.008506347, 0.0138095245, -0.030277282, -0.03593932, 0.03381273, 0.03888996, 0.009356983, 0.014753197, -0.019258903, 0.02480132, 0.01303199, -0.034876026, -0.0284431, -0.0030486619, -0.021000046, -0.021611439, -0.0015309765, -0.0020418558, 0.027858289, -0.011224392, -0.040644392, -0.013018699, 0.013955727, -0.01912599, 0.026010817, 0.0042133005, -0.006741945, -0.034158304, 0.022727897, 0.020043083, 0.037454512, 0.0103471745, 0.0012526927, -0.019272195, 0.03750768, 0.04960264, 0.050214034, 0.019484853, -0.02788487, 0.034397542, -0.013191485, -0.0057816585, 0.015617123, -0.018421559, -0.0033643271, -0.008672487, -0.004156813, -0.04630643, 0.004538934, 0.071825475, -0.012194647, 0.022462076, 0.039102618, 0.0138095245, 0.024668409, 0.032377288, 0.00386773, -0.014925982, 0.0005125407, 0.004266465, -0.019750677, 0.0025369518, 0.030436777, 0.026090564, 0.0350621, -0.028895, 0.024708282, -0.0006192854, 0.031659562, 0.02990513, -0.00069737097, 0.020601312, 0.008738943, -0.011297493, 0.016520923, -0.021903846, 0.016879784, -0.0019853683, 0.044073515, 0.021372199, 0.026808286, -0.027432973, 0.06268115, 0.025811449, -0.005240043, 0.002806098, -0.040617812, -0.002869231, -0.033387415, -0.007403181, 0.010885467, 0.015284844, -0.009031349, 0.008785462, -0.02638297, 0.0015525746, -0.002621683, -0.025864614, 0.01524497, -0.025107017, 0.028895, 0.0040039644, -0.015975984, -0.0025037238, 0.017185481, -0.02638297, 0.032696273, 0.017158898, 0.0031616366, 0.05630139, 0.011663, 0.0080345115, -0.0386773, -0.0073034973, -0.038145654, -0.018807003, -0.021119667, -0.007004446, 0.04678491, -0.0028027752, 0.016228518, -0.010819011, -0.017544342, 0.022382328, 0.007290206, 0.016959531, -0.028895, -0.015736744, 0.07262295, 0.0084864115, -0.032483615, 0.020840552, 0.0077221687, 0.002764563, 0.014500665, 0.02523993, -0.0068981163, 0.0056354553, -0.014819653, -0.0047549154, -0.014075347, 0.008865209, 0.015789907, -0.0015633737, -0.006811724, 0.011523443, -0.0047349785, -0.0036550714, 0.012048444, -0.04005958, -0.0012468777, -0.0006059942, 0.02921399, 0.023950685, -0.0010375419, 0.0074563455, 0.0031018264, 0.03617856, -0.009822174, 0.017105734, -0.027406389, -0.002109973, -0.007622485, -0.014181676, -0.04423301, 0.025266511, -0.025080435, -0.015750034, -0.01933865, -0.0093304, -0.03604565, 0.004552225, -0.03750768, 0.0022379004, 0.018554471, 0.004751593, 0.023166507, -0.015231679, 0.037959576, -0.03035703, 0.03320134, -0.012300977, 0.0073433705, -0.0033443903, -0.0098753385, -0.0040504835, 0.03288235, 0.024482332, -0.015138641, 0.017052568, -0.028921582, 0.01843485, 0.02514689, -0.026662083, 0.018474724, -0.013430726, 0.0034424127, 0.034370963, -0.037029196, 0.019139282, 0.0297988, -0.00031068106, 0.014022183, 0.009975022, -0.025864614, 0.00025813942, -0.0045489026, 0.040538065, 0.0191127, 0.0147399055, -0.02012283, 0.0016572425, -0.0061538112, -0.0034889318, 0.013098447, 0.03173931, 0.00045937602, 0.00093536597, -0.018727256, 0.014500665, 0.04495073, -0.02865576, -0.03333425, -0.012593382, 0.03833173, 0.0052932077, 0.035274763, 0.013550347, 0.02058802, -0.040112745, 0.005439411, 0.017956369, -0.03243045, 0.0019920138, -0.02514689, 0.033015262, 0.023724737, -0.0009877, -0.0059212158, -0.029665887, 0.0075360923, 0.010985151, -0.038491223, -0.004861245, -0.008526284, 0.010466795, -0.007934827, -0.017438013, 0.024495624, -0.034689948, -0.0010649549, 0.0036816536, -0.0005312314, 0.02036207, 0.00076299615, 0.00030112805, 0.019644348, 0.04149503, 0.012779458, -0.005678652, -0.030968422, 0.0069313445, 0.01524497, 0.0057583987, -0.01063958, -0.03947477, 0.013676613, 0.015736744, 0.005751753, 0.0058879876, -0.027207023, 0.021252578, -0.013125028, -0.013045282, 0.020096246, -0.029958293, 0.012865851, -0.014208259, -0.010380402, 0.020508273, -0.029639306, 0.021225996, -0.03982034, 0.010260782, 0.007489573, -0.017105734, -0.0091841975, -0.017504469, 0.06007608, 0.0073500164, -0.022488657, -0.010958568, 0.024402585, 0.019072827, 0.020920299, 0.003435767, 0.013729777, 0.0102275545, -0.042505156, 0.0005158635, 0.025412714, -0.002869231, -0.010646226, -0.03139374, 0.0320583, -0.013178194, -0.0036351345, -0.018341813, -0.011569962, 0.0014271393, 0.0045156744, 0.010586415, -0.00011276726, 0.02036207, 0.019258903, -0.011144645, -0.0068383063, -0.03535451, -0.0021598148, -0.0026034077, -0.021438655, -0.012094963, 0.0053829234, 0.036577296, -0.017557634, -0.040351987, 0.019046245, -0.03649755, 0.0025917778, 0.0021232641, 0.02308676, 0.0054593473, 0.02820386, -0.014872817, 0.01875384, 0.021757644, 0.013105093, 0.017464595, 0.041548193, 0.00083983573, 0.027007654, 0.025386132, -0.001757757, 0.02706082, 0.012905724, -0.020003209, -0.033387415, -0.01057977, -0.013915854, -0.01852789, 0.021930428, -0.008479766, 0.004412668, 0.016574087, 0.021584857, 0.0076158396, -0.0027462877, 0.029665887, -0.00084689667, -0.002407363, 0.0014379383, 0.03232412, 0.0030254023, -0.005369632, -0.01086553, -0.0377735, -0.0028177276, 0.017637381, -0.024881067, 0.008479766, -0.021252578, -0.02218296, -0.008792108, 0.037135527, 0.009350337, -0.020109538, -0.02502727, -0.009828819, -0.016215226, 0.015683578, -0.052021634, -0.0008963232, 0.02081397, -0.034849443, -0.0035055457, -0.030011458, -0.0037846602, 0.03471653, -0.020840552, 0.00892502, 0.024628535, -0.006253495, 0.02048169, 0.009031349, -0.048193775, -0.0017311746, -0.026462717, -0.040644392, -0.025319677, 0.018953206, -0.019989917, 0.011018379, 0.030224117, 0.03888996, -0.013284523, -0.010513314, 0.0032148014, -0.032829188, 0.05901279, 0.0048712133, -0.051915303, -0.014354462, 0.025798159, 0.045535542, 0.031765893, -0.0053330814, -0.015603832, 0.017943077, -0.027805125, -0.010014895, 0.060767222, -0.021319034, -0.008619322, -0.017717127, -0.009755718, -0.02162473, 0.016866492, -0.0075826114, 0.00011453249, -0.027672213, -0.005542417, -0.014979146, 0.024934232, -0.020401943, 0.0076756496, 0.0077886246, -0.0072968514, 0.025585499, -0.014925982, -0.00291575, 0.01303199, 0.021584857, -0.0076291305, -0.012746231, 0.025651956, 0.0037148816, -0.030117787, -0.005040676, 0.0024239768, -0.011277556, 0.013537055, 0.020455109, 0.034078557, -0.014567121, 0.009031349, 0.020082956, 0.0017511115, -0.016959531, -0.009164261, 0.025093727, 0.0003511776, 0.0005594751, -0.014381045, 0.003003804, -0.001854118, -0.006715363, 0.027858289, -0.006825015, -0.0041867183, 0.0027246894, -0.015789907, 0.0061936844, 0.015178515, 0.03617856, 0.020215867, 0.034955774, -0.026103854, 0.0051370366, -0.020215867, -0.010333884, -0.019551309, -0.017278519, 0.02446904, 0.0030685985, -0.00030860433, -0.02627664, -0.007090838, -0.03274944, -0.032350704, 0.010739264, -0.011330721, 0.001942172, 0.0018308584, 0.027991202, -0.03705578, -0.03705578, -0.020401943, -0.002827696, -0.00064005284, 0.030622853, 0.013510473, -0.0059112473, 0.012593382, 0.011975342, -0.017331684, -0.015816491, -0.002970576, -0.0007725492, 0.0037780146, -0.035912737, -0.0016879784, -0.014806362, -0.009988314, 0.02674183, 0.0034125075, 0.033414, 0.004316307 ]
2310.12397
19
In other words: blindfolded guessing does just as well as careful, crafted feedback. The rest of our analysis examines where the system is going wrong. We will attempt to answer two questions: to what extent is the LLM capable of determining if a solution is right or wrong? How, if at all, does the LLM respond to feedback? # 4.2 Verification by LLM We test GPT-4’s ability to verify colorings on the same instances, but we generate five different kinds of colorings for each. What is immediately obvious is a result that exactly agrees with the LLM self-verification results above: the model is unwilling to mark almost any answer as correct. Out of 100 optimal colorings, it only agreed that 2 were correct. Expanding to the entire set of 500 colorings, of which 118 of them are correct, it only claimed 30 of them as correct. Of those, it was right 5 times. This isn’t because of any special property of correctness–the same holds true in the non-optimal coloring set, in which it only marked 10% of instances as non-optimal.
2310.12397#19
GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems
There has been considerable divergence of opinion on the reasoning abilities of Large Language Models (LLMs). While the initial optimism that reasoning might emerge automatically with scale has been tempered thanks to a slew of counterexamples, a wide spread belief in their iterative self-critique capabilities persists. In this paper, we set out to systematically investigate the effectiveness of iterative prompting of LLMs in the context of Graph Coloring, a canonical NP-complete reasoning problem that is related to propositional satisfiability as well as practical problems like scheduling and allocation. We present a principled empirical study of the performance of GPT4 in solving graph coloring instances or verifying the correctness of candidate colorings. In iterative modes, we experiment with the model critiquing its own answers and an external correct reasoner verifying proposed solutions. In both cases, we analyze whether the content of the criticisms actually affects bottom line performance. The study seems to indicate that (i) LLMs are bad at solving graph coloring instances (ii) they are no better at verifying a solution--and thus are not effective in iterative modes with LLMs critiquing LLM-generated solutions (iii) the correctness and content of the criticisms--whether by LLMs or external solvers--seems largely irrelevant to the performance of iterative prompting. We show that the observed increase in effectiveness is largely due to the correct solution being fortuitously present in the top-k completions of the prompt (and being recognized as such by an external verifier). Our results thus call into question claims about the self-critiquing capabilities of state of the art LLMs.
http://arxiv.org/pdf/2310.12397
Kaya Stechly, Matthew Marquez, Subbarao Kambhampati
cs.AI
18 pages, 3 figures
null
cs.AI
20231019
20231019
[ { "id": "2206.10498" }, { "id": "2306.03872" }, { "id": "2303.11366" } ]
{ "authors": "Kaya Stechly, Matthew Marquez, Subbarao Kambhampati", "chunk_id": 19, "doc_id": "2310.12397", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12397", "summary": "There has been considerable divergence of opinion on the reasoning abilities\nof Large Language Models (LLMs). While the initial optimism that reasoning\nmight emerge automatically with scale has been tempered thanks to a slew of\ncounterexamples, a wide spread belief in their iterative self-critique\ncapabilities persists. In this paper, we set out to systematically investigate\nthe effectiveness of iterative prompting of LLMs in the context of Graph\nColoring, a canonical NP-complete reasoning problem that is related to\npropositional satisfiability as well as practical problems like scheduling and\nallocation. We present a principled empirical study of the performance of GPT4\nin solving graph coloring instances or verifying the correctness of candidate\ncolorings. In iterative modes, we experiment with the model critiquing its own\nanswers and an external correct reasoner verifying proposed solutions. In both\ncases, we analyze whether the content of the criticisms actually affects bottom\nline performance. The study seems to indicate that (i) LLMs are bad at solving\ngraph coloring instances (ii) they are no better at verifying a solution--and\nthus are not effective in iterative modes with LLMs critiquing LLM-generated\nsolutions (iii) the correctness and content of the criticisms--whether by LLMs\nor external solvers--seems largely irrelevant to the performance of iterative\nprompting. We show that the observed increase in effectiveness is largely due\nto the correct solution being fortuitously present in the top-k completions of\nthe prompt (and being recognized as such by an external verifier). Our results\nthus call into question claims about the self-critiquing capabilities of state\nof the art LLMs.", "text": "In other words: blindfolded guessing does just as well as careful, crafted feedback.\nThe rest of our analysis examines where the system is going wrong. We will attempt to answer two questions: to what extent is the LLM capable of determining if a solution is right or wrong? How, if at all, does the LLM respond to feedback?\n# 4.2 Verification by LLM\nWe test GPT-4’s ability to verify colorings on the same instances, but we generate five different kinds of colorings for each. What is immediately obvious is a result that exactly agrees with the LLM self-verification results above: the model is unwilling to mark almost any answer as correct. Out of 100 optimal colorings, it only agreed that 2 were correct. Expanding to the entire set of 500 colorings, of which 118 of them are correct, it only claimed 30 of them as correct. Of those, it was right 5 times. This isn’t because of any special property of correctness–the same holds true in the non-optimal coloring set, in which it only marked 10% of instances as non-optimal.", "title": "GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems", "year": 2023 }
[ -0.011748551, 0.033638835, 0.035002198, 0.009007919, 0.011463358, -0.020186083, 0.02680812, 0.0072272024, 0.021368591, 0.07373276, 0.03163553, -0.020784292, -0.04257024, 0.01826625, -0.025639527, -0.032553714, 0.020798204, -0.037255917, -0.014287462, 0.027350683, 0.0033371034, -0.0018346243, 0.034362253, 0.02242589, 0.01004435, -0.023204954, 0.0025302165, -0.04112341, 0.013383193, -0.008910535, 0.041234702, -0.0073732766, -0.04944269, -0.063438006, -0.019935671, 0.043460596, 0.03669944, 0.0059368787, -0.0017502838, 0.015581264, -0.035196964, 0.015901236, -0.036421206, -0.01812713, 0.013577959, 0.032553714, 0.032553714, 0.021396413, -0.042542417, 0.011672036, -0.05420054, 0.07117299, 0.019963494, 0.0060099163, -0.026084706, -0.00989132, -0.04257024, -0.010788634, 0.011178166, -0.0008360148, -0.0036970722, -0.03163553, 0.0063298885, 0.011282505, -0.03848016, -0.03411184, -0.056732494, 0.010621692, 0.03803498, 0.013118868, -0.005766459, -0.025931675, 0.02053388, -0.019768728, -0.028964456, 0.050639108, 0.08163469, 0.021020794, 0.012993661, -0.01434311, 0.02469352, -0.0002849754, 0.00728285, -0.048635803, -0.0100721745, 0.006100343, -0.004514393, -0.010906884, -0.06861321, -0.07022698, 0.0156229995, -0.011338152, 0.016582917, 0.015233468, 0.005703856, -0.03411184, -0.001105122, -0.024373548, 0.024596138, 0.029242694, -0.05759503, 0.034473546, 0.027211564, -0.02952093, 0.04507437, 0.017626304, 0.014913496, -0.0027562839, -0.018739251, -0.019379197, -0.042403296, -0.022133742, -0.061935525, -0.015817765, 0.054979604, -0.040288698, -0.05670467, 0.0028849684, 0.027044622, -0.019434845, -0.0132023385, -0.0024084877, 0.030021757, -0.030578231, 0.02143815, 0.0020554748, 0.03984352, -0.029826991, 0.034473546, 0.027434153, -0.020575615, 0.02966005, 0.026822032, 0.01291019, -0.020742558, 0.010941665, -0.035725612, -0.0120407, -0.016040355, -0.022704128, -0.011150342, -0.0018885327, -0.03803498, 0.030299993, -0.019726994, -0.01789063, -0.0095922155, 0.042152885, -0.024776991, 0.039509635, -0.013724033, -0.0085001355, -0.01592906, 0.036198616, -0.010093042, -0.035530847, -0.019226167, 0.061156463, 0.0027806296, -0.015038702, 0.045352608, 0.043432772, 0.031997237, 0.025110876, -0.0028780124, 0.05247547, -0.015915148, 0.011665081, -0.019657433, -0.010579957, 0.0141692115, 0.020102613, -0.013007573, -0.02769848, 0.005164772, -0.03027217, 0.012541526, -0.017681953, 0.000054805052, -0.046215143, -0.055730842, 0.0285471, -0.0016511618, -0.008646211, -0.05169641, -0.030884292, 0.026515972, -0.031774648, -0.029687872, -0.038174096, 0.013758812, 0.018627958, 0.070171334, 0.0053247577, -0.01669421, -0.01901749, 0.05820715, 0.021730298, -0.02966005, -0.0048587113, -0.0198522, 0.027962804, 0.04195812, -0.06421707, -0.007463704, 0.039648753, 0.0066637727, -0.01940702, -0.049637455, 0.019977406, 0.027142005, -0.007644558, 0.018363632, 0.005310846, -0.0053317137, -0.00081558176, -0.040872995, 0.030133052, 0.0049074027, 0.08792285, -0.02710027, 0.021465974, 0.03411184, -0.004883057, -0.062158115, 0.034390077, 0.028797515, -0.030439112, 0.011122518, -0.037116796, 0.027976716, -0.007846279, -0.025236083, -0.032637183, 0.02822713, -0.07901927, -0.007498483, 0.008687946, -0.012513703, -0.02505523, 0.02952093, 0.010127822, 0.020561704, -0.060599986, -0.028129745, 0.008409709, -0.03948181, 0.0021006882, 0.031524237, 0.0059403568, -0.021632915, -0.017292421, -0.013070176, -0.06432836, -0.032720655, 0.015219556, 0.02097906, 0.0066498606, -0.0133275455, -0.06455095, -0.023065835, 0.06338236, -0.081968576, -0.015052614, -0.018294074, 0.010656471, -0.023636222, 0.018294074, -0.030772997, -0.002208505, 0.00094600534, 0.025208259, -0.019532228, 0.03216418, 0.015052614, -0.06377189, -0.0008242767, 0.04401707, -0.022411978, 0.039453987, -0.015275204, 0.0015216079, 0.059208803, 0.057038557, 0.0055125677, -0.0032188527, -0.031301647, -0.0042883256, -0.019351372, 0.010656471, 0.039008807, -0.060154807, 0.051974643, 0.03405619, -0.010176513, -0.007888014, 0.011226857, 0.011783331, -0.016262945, 0.0030206088, 0.0327763, -0.013452752, -0.042542417, 0.00920964, -0.025124788, 0.040594757, 0.006013394, 0.0033231915, -0.013724033, 0.01940702, 0.0018624479, -0.0045526507, -0.0080271335, 0.05625949, -0.024109224, -0.057428088, 0.02121556, -0.024429196, 0.018029748, -0.059542686, -0.009487877, -0.037116796, 0.046298612, -0.0027510668, -0.006315977, 0.00977307, -0.02536129, -0.022286773, 0.018252337, -0.011018179, -0.00441701, -0.008048001, -0.0112755485, 0.0048169754, -0.027322859, -0.0078114998, -0.026557708, 0.05445095, -0.014016181, 0.004350929, -0.07195205, 0.009300067, 0.026362943, 0.016249033, -0.037450682, -0.005164772, -0.011463358, 0.021493796, 0.085585654, 0.007922795, -0.025249995, -0.04846886, -0.009007919, -0.007456748, 0.016666388, 0.019518316, -0.025166525, 0.029242694, 0.007936707, 0.0018815767, -0.019170519, 0.00021172086, 0.020019142, 0.01661074, -0.03895316, 0.049943514, -0.032665007, -0.00852796, 0.018544486, -0.00062516343, -0.01638815, 0.025472585, -0.0037388077, 0.00061951176, -0.04129035, -0.008089737, 0.036560323, 0.01064256, -0.054784838, 0.053866655, -0.029159222, 0.006528132, 0.03644903, -0.022968452, 0.03753415, 0.025124788, -0.013946623, -0.04001046, -0.036504675, -0.014412669, -0.020478232, -0.040372167, -0.04899751, -0.017681953, 0.05517437, 0.042904124, -0.011289461, 0.051084287, 0.04746721, 0.055758666, -0.036282085, -0.046549026, -0.04877492, 0.018961841, -0.005762981, 0.023051923, -0.0045456947, 0.0055403914, 0.038368862, 0.030411288, 0.040483464, -0.031218175, 0.00078906235, -0.029910462, 0.0073037175, -0.048496686, 0.08213552, 0.009557436, 0.02921487, 0.024790904, -0.006357712, 0.013772724, 0.015734294, -0.044712663, 0.048246272, -0.022481538, -0.021994624, -0.021006882, 0.0025858637, -0.04916445, -0.031273823, 0.056732494, 0.01113643, -0.0169168, -0.019142697, -0.0048587113, -0.017904542, -0.008166252, -0.035586495, -0.051919, 0.026196, -0.0034066625, -0.013550135, -0.047355913, -0.04145729, -0.004152685, -0.06560825, -0.0323033, 0.020659087, -0.012402408, 0.0010416493, 0.00688984, 0.03731156, 0.0061803362, -0.041179053, -0.038674925, 0.052225057, -0.05692726, 0.028853161, -0.047773268, -0.010322588, -0.014482228, -0.009105301, 0.02264848, 0.00728285, 0.028199306, -0.033082362, -0.010559089, 0.025806468, 0.0071576433, -0.019184431, -0.017306332, 0.045853432, -0.018182779, -0.009313979, 0.012778028, -0.0030293039, -0.018252337, 0.025806468, -0.03322148, -0.011532918, -0.02899228, 0.04212506, -0.022537185, 0.0049978294, 0.072731115, -0.027656743, 0.0135710025, -0.030522583, -0.008054957, -0.030188698, -0.07874103, 0.020617351, -0.01683333, 0.026961152, 0.01060778, 0.033277128, -0.042319827, 0.01045475, 0.0156229995, -0.0075471746, -0.016026443, -0.056815967, 0.0024519623, 0.026585532, 0.021813769, 0.048914038, -0.009147037, -0.009675686, 0.003283195, -0.021048618, 0.023942282, -0.0028049753, -0.01464917, -0.031051233, -0.0072272024, 0.011449447, 0.01924008, -0.013988358, 0.027795862, 0.0052482425, -0.0154977925, -0.005773415, 0.0024571791, 0.02264848, -0.032804124, -0.046437733, -0.014955231, -0.03238677, 0.010357367, 0.030606054, -0.006750722, 0.0040240004, -0.041846823, -0.06866886, -0.009035742, -0.004799586, -0.043404948, -0.030105228, -0.035141315, 0.02129903, -0.008437533, 0.042737182, 0.00039931337, 0.0013850979, -0.009098345, 0.00071211247, -0.022411978, 0.007839323, 0.017765423, 0.04524131, -0.047773268, -0.01449614, 0.011393799, -0.016402062, -0.015915148, -0.009515701, 0.01894793, -0.015428234, -0.002671074, 0.029715696, 0.015678646, 0.027197653, -0.00709504, -0.022133742, 0.02935399, 0.031440765, -0.0026345553, 0.051056463, 0.0045769964, -0.019838288, -0.01377968, 0.019490492, -0.032192003, 0.030995585, -0.0139327105, 0.010426926, -0.004869145, 0.021702474, 0.009745246, -0.015567352, -0.019267902, -0.0023284948, 0.020074788, -0.046020377, 0.0064029256, -0.00692462, -0.013459708, 0.0001377055, -0.014523964, 0.022022447, -0.013445796, -0.01956005, -0.013529267, -0.023803163, 0.0072202464, -0.0005225636, 0.011978096, 0.004260502, -0.013411016, 0.022676304, 0.02461005, 0.013668385, -0.005842974, 0.0033179745, 0.014009226, -0.017640216, 0.018224515, 0.016749859, -0.013195383, -0.030689524, -0.024999581, -0.018405369, -0.0064307493, -0.053254534, 0.0017485447, -0.004782196, 0.020561704, 0.03934269, -0.012458055, -0.01637424, 0.0027528058, 0.019504404, -0.03191377, 0.023107572, -0.018182779, 0.0010799068, 0.011560742, -0.039453987, -0.0006612473, -0.03825757, 0.009599172, 0.05119558, -0.012882367, 0.033944897, 0.003357971, 0.0074706594, 0.018335808, -0.004625688, -0.007609778, 0.0012529354, 0.011804199, -0.0059647025, -0.0365325, -0.027809775, -0.03322148, 0.00038779262, -0.007421968, -0.016332503, -0.039426163, -0.013605782, -0.053171065, 0.022064183, 0.021424238, -0.008006265, -0.010162601, -0.013897931, -0.024443109, -0.00346231, -0.016040355, -0.03909228, -0.01154683, -0.0016285551, -0.012993661, -0.02680812, -0.004528305, -0.01291019, 0.003276239, -0.008792285, 0.01226329, -0.05336583, 0.030355642, -0.009912188, -0.045102194, -0.017751511, 0.014071829, -0.014044005, -0.061490346, -0.024902198, -0.0010564305, 0.00055951695, 0.006917664, -0.046604674, -0.040566932, -0.02899228, 0.00034975243, 0.023900546, -0.010872105, 0.0000993936, -0.023135394, -0.023427544, -0.019420933, -0.0016094263, -0.019114872, -0.00830537, 0.0060864314, -0.029910462, 0.048357565, 0.0045317826, -0.029799167, 0.0070220027, -0.004851755, 0.022843245, -0.034807432, -0.0059020994, -0.043794483, -0.030550407, 0.032192003, 0.064829186, 0.004090082, -0.0030745172, 0.008548828, 0.033193655, 0.011226857, -0.043627538, 0.000034535064, 0.0016120347, -0.024067488, 0.035419554, -0.014927408, -0.05970963, 0.0017337634, -0.049359217, -0.015539529, 0.0055160457, -0.023204954, -0.035530847, 0.0037353297, -0.0017198515, -0.001151205, -0.001326842, -0.016666388, 0.030133052, -0.016165562, 0.004086604, 0.0152612915, -0.004197899, -0.0037596754, 0.0091122575, -0.013139736, -0.020213908, 0.02634903, -0.0087435935, -0.0032014628, 0.0079019265, 0.040511288, -0.006288153, -0.0112755485, -0.015581264, 0.014127476, 0.00062038127, 0.012618042, -0.0071854666, 0.012958881, -0.013376237, -0.015372586, 0.025583878, -0.0058777537, -0.014092697, 0.015428234, 0.014830025, 0.014259639, -0.0018607089, -0.016443798, 0.014760465, -0.0044796136, 0.0010399102, -0.020172171, 0.03455702, -0.022481538, 0.00996088, 0.0016711601, 0.046493378, 0.02716983, 0.022217212, -0.018210603, 0.031245999, -0.027142005, 0.0056169066, -0.0026641178, -0.017042007, 0.003011914, 0.0022015492, -0.0075541306, -0.01962961, 0.03692203, -0.023650132, 0.02249545, -0.031719003, -0.017208949, -0.017167214, 0.0009016613, -0.019142697, -0.002479786, -0.013591871, 0.03948181, -0.011553786, -0.101333864, 0.0016050788, -0.0016259466, -0.020046966, -0.002389359, 0.011205989, 0.05158511, 0.035669964, -0.022884982, -0.0014590045, 0.0036518588, -0.015191732, 0.0043717967, 0.020408673, 0.044879604, -0.056955084, 0.0036866383, -0.009126169, 0.022634568, -0.007637602, -0.0089870505, -0.015734294, -0.016569005, -0.03375013, -0.02083994, -0.019713081, -0.015776029, 0.00011357715, 0.007978442, 0.019532228, -0.005912533, 0.018906195, 0.06722202, 0.006315977, 0.0053977952, -0.040594757, -0.0064203152, -0.040316522, -0.009181816, 0.034390077, -0.008694902, 0.007797588, 0.004152685, -0.022926716, 0.019643523, -0.060377397, 0.024707433, -0.015191732, 0.021841593, -0.021758122, -0.04894186, -0.0049317484, 0.0127293365, -0.021646827, 0.0059786146, 0.0209095, 0.016958537, -0.024735257, -0.04282065, 0.015678646, -0.044517897, -0.010273896, 0.00917486, -0.0074776155, -0.010670383, -0.0087435935, -0.028282776, 0.051779877, 0.005314324, -0.032581534, -0.00441701, 0.008214943, 0.014510052, 0.03630991, -0.030021757, 0.009390494, 0.037283737, 0.03661597, -0.030105228, 0.024039665, -0.011525962, 0.0028832294, -0.010851237, 0.019518316, 0.017181126, 0.022258949, 0.04398925, -0.03600385, -0.012798895, 0.029687872, 0.014843936, -0.010698207, -0.030606054, 0.0076654255, -0.02792107, 0.007936707, 0.0025302165, 0.00015683429, 0.037673272, 0.0050360872, -0.00092513754, 0.013139736, -0.04145729, -0.078852326, 0.004343973, -0.010872105, -0.023135394, -0.0035753436, 0.023817075, 0.023566661, 0.02113209, 0.0065107425, 0.024067488, 0.007602822, -0.023330161, 0.032414593, 0.029270517, -0.01188767, 0.058986213, -0.021841593, 0.029075751, 0.02566735, -0.031190353, -0.011122518, -0.021159913, 0.0027841076, -0.019351372, 0.0088688, -0.023274513, 0.021619003, -0.0062185936, 0.003916184, -0.012221554, -0.006910708, -0.046715967, -0.026001234, 0.0016633347, 0.008555783, -0.024025753, 0.030772997, 0.015525617, 0.027601097, 0.014176168, -0.023107572, -0.017876718, -0.041485116, 0.0035996893, -0.04045564, -0.010496485, 0.013654474, 0.024457019, 0.0072341585, 0.010253028, 0.038313214, -0.00932789, 0.005554303, -0.00071341667, -0.04309889, 0.009334846, 0.003363188, 0.024220519, 0.01147727, -0.03213636, -0.016582917, 0.009181816, 0.00015292158, -0.013981402, 0.012256334, -0.033082362, 0.04376666, -0.030383464, -0.03444572, 0.02000523, 0.004048346, 0.016332503, 0.023107572, 0.0109138405, 0.046048198, 0.011080783, 0.0040448685, 0.023733605, 0.044517897, -0.063048474, 0.01819669, 0.020965148, -0.038925335, 0.026029058, 0.018252337, 0.011741595, 0.02747589, 0.010169557, 0.022898894, 0.017848894, 0.00849318, 0.03881404, -0.016763771, 0.02113209, 0.06577519, -0.015358674, -0.04460137, -0.047049854, 0.0017607176, -0.0073941443, -0.015456057, 0.029103575, 0.015609087, -0.0033040626, 0.008569695, -0.03169118, -0.007241114, -0.007950618, 0.017097656, -0.023149306, 0.0100791305, 0.0017598481, 0.0009477443, -0.0054395306, -0.012854543, -0.011651169, 0.019379197, 0.0036483807, -0.010162601, -0.005752547, 0.011059915, 0.0012259812, -0.019267902, 0.02626556, -0.015247379, -0.0116303, -0.010566045, 0.014412669, -0.01471873, -0.0024484843, -0.01396749, -0.027573273, -0.010301719, -0.003357971, -0.03494655, -0.014287462, -0.003620557, 0.03675509, -0.017431539, -0.029715696, 0.0035231742, 0.03224765, -0.012437187, 0.028060187, 0.004017045, -0.05300412, -0.016179474, -0.015149997, 0.024582226, 0.0016415975, -0.015080438, 0.0059855706, -0.03578126, -0.0031301647, 0.024345726, 0.04635426, 0.04877492, -0.026321206, 0.02824104, -0.0099539235, -0.017556746, -0.0025441283, -0.008048001, -0.0100791305, 0.00310408, 0.015275204, -0.0035927333, -0.060878225, 0.02022782, -0.0011129475, 0.038619276, -0.037339386, 0.0075819544, 0.006642905, -0.008521004, 0.017612394, -0.008465356, -0.024457019, 0.0073802327, -0.03191377, -0.0012538049, -0.002671074, 0.011018179, -0.026223823, -0.010385191, 0.013501444, 0.0030223478, 0.022411978, 0.008201031, -0.00637858, 0.0072272024, 0.02083994, -0.0027928024, -0.0042987596, 0.0014885672, -0.0027875856, -0.016040355, 0.034584843, 0.020603439, 0.030021757, -0.054701366, 0.014885671, 0.0029406159, -0.014259639, -0.033054538, -0.032442417, 0.0026223825, 0.0060690413, -0.0075819544, 0.0029823512, -0.03422313, -0.010447794, 0.0006968964, 0.010621692, -0.046020377, 0.013925754, 0.0005021306, 0.0073732766, -0.014370933, 0.017681953, -0.0072967615, -0.017528921, -0.008284503, 0.0028988803, 0.00009727421, 0.002493698, 0.010287807, 0.022411978, 0.019824376, 0.012158951, -0.0077280286, -0.01328581, -0.014398757, -0.03525261, -0.0323033, -0.01932355, -0.031830296, 0.05269806, 0.037617624, -0.0035023065, 0.026237736, 0.017097656, 0.044796135, 0.005043043, -0.026975064, -0.008778373, -0.015428234, 0.076682076, -0.0022398068, 0.004695247, 0.0068411487, 0.010732987, 0.03903663, 0.003898794, -0.009786981, 0.0005447356, 0.044796135, -0.008840976, 0.014078785, -0.019713081, 0.002034607, -0.009912188, -0.0005916881, -0.03995481, 0.02416487, 0.038007155, 0.010774722, -0.015664736, 0.02205027, 0.017403716, 0.008966182, -0.004243112, 0.0050986903, 0.036421206, -0.0072202464, 0.008006265, -0.007317629, 0.021229472, 0.0070359143, -0.028658396, 0.036337733, -0.024498755, 0.012305025, 0.008395798, 0.031830296, -0.012256334, -0.03027217, 0.009786981, -0.009070521, -0.007929751, -0.009000963, 0.0043961424, 0.013633606, -0.03180247, -0.0043161493, -0.0047126366, -0.007178511, 0.005916011, -0.041262526, -0.0031492934, 0.0049352264, 0.034696136, -0.02430399, 0.0041039935, -0.0016433364, 0.015609087, 0.014454405, -0.020812117, 0.021549445, -0.02053388, 0.016847242, -0.011602477, -0.03956528, -0.017403716, 0.013918798, -0.025987322, 0.006740288, -0.011115562, -0.00883402, -0.009522656, -0.015219556, 0.000182919, 0.007888014, 0.029465282, 0.010955576, -0.003634469, 0.0034849166, -0.019087048, 0.0054917, -0.03291542, -0.03842451, -0.018753164, 0.034640487, -0.008444489, -0.020645175, -0.009014874, -0.0073802327, 0.016499445, 0.027795862, 0.03283195, 0.04696638, -0.020255644, -0.014044005, -0.028407983, 0.01962961, 0.019142697, 0.01969917, 0.013612738, -0.0198522, -0.018335808, -0.005943835, -0.0013964012, -0.003460571, -0.0449909, -0.0027284601, 0.008646211, 0.008486224, -0.0068376707, -0.0200887, 0.020269554, -0.0041074716, -0.009557436, 0.040511288, -0.0057873265, 0.020255644, -0.029270517, -0.032192003, 0.015984707, 0.010086086, 0.0062464173, 0.021730298, 0.019087048, 0.006816803, -0.0064203152, 0.017932365, 0.014579611, -0.008006265, -0.007098518, -0.020074788, 0.008820108, -0.0003143207, 0.0043752748, 0.005808194, -0.0034936115, -0.012249378, -0.006385536, -0.0041387733, 0.022857158, 0.035920378, 0.00043822304, -0.010927753, -0.004618732, 0.009181816, 0.020742558, 0.006569868, 0.0240814, 0.029326165, -0.015052614, 0.01910096, 0.00619077, -0.023691868, -0.021674652, 0.012291113, 0.0019146174, -0.0030449545, -0.014607435, 0.013459708, 0.01819669, -0.006816803, -0.008096692, 0.045936905, 0.022203302, -0.0015033485, -0.01887837, -0.026460325, 0.024902198, -0.022105917, 0.002203288, -0.011449447, 0.021020794, 0.012471967, -0.025695173, -0.0593201, 0.020394761, 0.004837843, -0.04596473, 0.0012790201, 0.033471894, -0.012812807, 0.002582386, -0.035141315, -0.016054267, -0.0291314, 0.0017824549, -0.023691868, 0.009675686, 0.0037666315, 0.0105521325, -0.02694724, -0.01464917, 0.0022380678, -0.0052795443, 0.06371624, 0.011094695, 0.020714734, 0.014141388, 0.011011223, 0.007825412, -0.037617624, -0.016777683, -0.002291976, -0.03886969, 0.030439112, 0.009286155, -0.0065037864, 0.014259639, 0.010997312, 0.013271898, -0.01555344, -0.011094695, 0.036671616, 0.008632299, 0.013195383, 0.03297107, -0.02590385, 0.0056099505, -0.022147654, 0.018294074, -0.0116303, -0.007428924, 0.025848204, -0.031552058, -0.010399102, 0.017306332, -0.01780716, -0.015748207, 0.00849318, -0.0028258432, -0.017069831, 0.009140081, 0.020714734, 0.00090687827, 0.013550135, -0.02083994, -0.009355715, -0.0098287165, -0.0053317137, -0.001596384, 0.0439336, 0.030606054, 0.019949583, -0.0136892535, 0.02447093, 0.008639255, 0.0015216079, 0.0013416234, -0.025249995, 0.028964456, -0.0031249477, -0.012972794, -0.020603439, 0.026919415, -0.026543796, 0.009842629, -0.020742558, 0.010510397, -0.010670383, -0.014843936, 0.0005425619, -0.02935399, -0.00656639, 0.033555366, 0.021465974, -0.0077280286, 0.0059020994, 0.0140579175, -0.022912806, -0.030383464, 0.0017946278, -0.0010468662, 0.018864458, 0.0029771344, -0.015080438, -0.01169986, -0.00516825, -0.008361017, -0.008541872, 0.0055160457, 0.017306332, -0.025013493, -0.0087505495, 0.003944007, 0.030105228, -0.0065837796, -0.011094695, -0.03102341, 0.005394317, -0.023956193, -0.015636912, 0.00013227119, 0.0022745864, -0.02461005, -0.022773687, -0.010148689, -0.025722997, 0.00065646507, 0.033026714, -0.030995585, -0.005738635, 0.012659777, 0.035697788, 0.04869145, 0.011950273, 0.0058881873, 0.009460053, -0.004159641, 0.0072202464, 0.022453714, 0.013842284, -0.021034706, 0.013487532, 0.03848016, -0.023538837, 0.0047474164, 0.0029353988, -0.027907157, 0.008840976, -0.023566661, -0.0058221063, -0.020575615, -0.017681953, 0.0098287165, -0.0012677166, -0.015650824, -0.003262327, 0.030939939, -0.008806197, 0.022314595, -0.029020105, 0.019573962, 0.0017555007, -0.001282498, 0.007164599, -0.033694483, -0.0065733455, 0.013111912, 0.0023945759, -0.019726994, -0.020895587, -0.020714734, 0.0059681805, -0.026557708, -0.0006242939, -0.0015111739, -0.012165907, 0.018934019, 0.047912385, 0.025152612, 0.033861425, -0.024331814, 0.028324513, 0.012972794, -0.007171555, 0.025305642, -0.024345726, -0.037617624, 0.014197036, -0.025096964, -0.02483264, 0.03444572, 0.011665081, 0.0021911152, 0.017375892, -0.026140353, -0.02566735, -0.025403025, 0.0063298885, 0.00095556973, 0.060266104, 0.022551097, 0.0040413905, 0.0052586766, 0.00830537, -0.026182089, -0.033082362, 0.010614736, 0.00088948844, 0.016179474, -0.02264848, 0.023051923, -0.043655362, -0.017042007, 0.0035927333, 0.0012164167, -0.0077349846, 0.008159296 ]
2310.12773
19
p(y ≻ y0|x) = σ (Cψ(y, x) − Cψ(y0, x)) = σ (Cψ(y, x)) = σ (s(y) · Cψ(y, x)) . Similarly, if y is safe, i.e., s(y) = −1, then the Cost Model tends to prefer y0. Hence, we aim to maximize the probability of y0 ≻ y|x: p(y0 ≻ y|x) = σ (Cψ(y0, x) − Cψ(y, x)) = σ(−Cψ(y, x)) = σ (s(y) · Cψ(y, x)) . Thus, the second term of the loss function (6) can be viewed as maximizing the likelihood of the BT model regarding the response y0 and y from the dataset DC. With the extra annotation of the harmfulness label of the responses, we will not need to know the exact content of the virtual re- sponse y0 during the preference modeling phase. As shown in Figure 2a, the Cost Model divides the LLMs’ responses into two clusters based on their safety. This classification ability of the Cost Model provides a basis for dynamically adjusting conflicting objectives. 3.3 SAFE REINFORCEMENT LEARNING
2310.12773#19
Safe RLHF: Safe Reinforcement Learning from Human Feedback
With the development of large language models (LLMs), striking a balance between the performance and safety of AI systems has never been more critical. However, the inherent tension between the objectives of helpfulness and harmlessness presents a significant challenge during LLM training. To address this issue, we propose Safe Reinforcement Learning from Human Feedback (Safe RLHF), a novel algorithm for human value alignment. Safe RLHF explicitly decouples human preferences regarding helpfulness and harmlessness, effectively avoiding the crowdworkers' confusion about the tension and allowing us to train separate reward and cost models. We formalize the safety concern of LLMs as an optimization task of maximizing the reward function while satisfying specified cost constraints. Leveraging the Lagrangian method to solve this constrained problem, Safe RLHF dynamically adjusts the balance between the two objectives during fine-tuning. Through a three-round fine-tuning using Safe RLHF, we demonstrate a superior ability to mitigate harmful responses while enhancing model performance compared to existing value-aligned algorithms. Experimentally, we fine-tuned the Alpaca-7B using Safe RLHF and aligned it with collected human preferences, significantly improving its helpfulness and harmlessness according to human evaluations.
http://arxiv.org/pdf/2310.12773
Josef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji, Xinbo Xu, Mickel Liu, Yizhou Wang, Yaodong Yang
cs.AI, cs.LG
null
null
cs.AI
20231019
20231019
[ { "id": "2302.13971" }, { "id": "2304.05302" }, { "id": "1707.06347" }, { "id": "2305.18290" }, { "id": "2305.10403" }, { "id": "2305.03047" }, { "id": "2211.05100" }, { "id": "2110.08207" }, { "id": "2304.05335" }, { "id": "2107.03374" }, { "id": "2105.04054" }, { "id": "2209.07858" }, { "id": "2305.15324" }, { "id": "2307.09288" }, { "id": "2210.11416" }, { "id": "2212.08073" }, { "id": "2307.12950" }, { "id": "2009.11462" }, { "id": "2307.04657" }, { "id": "2204.05862" }, { "id": "2112.00861" }, { "id": "2209.14375" }, { "id": "2303.00957" }, { "id": "2306.01693" }, { "id": "2305.01937" }, { "id": "2307.15217" }, { "id": "2306.17492" }, { "id": "2112.04359" }, { "id": "1506.02438" } ]
{ "authors": "Josef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji, Xinbo Xu, Mickel Liu, Yizhou Wang, Yaodong Yang", "chunk_id": 19, "doc_id": "2310.12773", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12773", "summary": "With the development of large language models (LLMs), striking a balance\nbetween the performance and safety of AI systems has never been more critical.\nHowever, the inherent tension between the objectives of helpfulness and\nharmlessness presents a significant challenge during LLM training. To address\nthis issue, we propose Safe Reinforcement Learning from Human Feedback (Safe\nRLHF), a novel algorithm for human value alignment. Safe RLHF explicitly\ndecouples human preferences regarding helpfulness and harmlessness, effectively\navoiding the crowdworkers' confusion about the tension and allowing us to train\nseparate reward and cost models. We formalize the safety concern of LLMs as an\noptimization task of maximizing the reward function while satisfying specified\ncost constraints. Leveraging the Lagrangian method to solve this constrained\nproblem, Safe RLHF dynamically adjusts the balance between the two objectives\nduring fine-tuning. Through a three-round fine-tuning using Safe RLHF, we\ndemonstrate a superior ability to mitigate harmful responses while enhancing\nmodel performance compared to existing value-aligned algorithms.\nExperimentally, we fine-tuned the Alpaca-7B using Safe RLHF and aligned it with\ncollected human preferences, significantly improving its helpfulness and\nharmlessness according to human evaluations.", "text": "p(y ≻ y0|x) = σ (Cψ(y, x) − Cψ(y0, x)) = σ (Cψ(y, x)) = σ (s(y) · Cψ(y, x)) .\nSimilarly, if y is safe, i.e., s(y) = −1, then the Cost Model tends to prefer y0. Hence, we aim to maximize the probability of y0 ≻ y|x:\np(y0 ≻ y|x) = σ (Cψ(y0, x) − Cψ(y, x)) = σ(−Cψ(y, x)) = σ (s(y) · Cψ(y, x)) .\nThus, the second term of the loss function (6) can be viewed as maximizing the likelihood of the BT model regarding the response y0 and y from the dataset DC. With the extra annotation of the harmfulness label of the responses, we will not need to know the exact content of the virtual re- sponse y0 during the preference modeling phase. As shown in Figure 2a, the Cost Model divides the LLMs’ responses into two clusters based on their safety. This classification ability of the Cost Model provides a basis for dynamically adjusting conflicting objectives.\n3.3 SAFE REINFORCEMENT LEARNING", "title": "Safe RLHF: Safe Reinforcement Learning from Human Feedback", "year": 2023 }
[ 0.02379314, -0.0038150167, 0.018414162, 0.030206032, -0.016909096, 0.0273006, 0.023479039, 0.05486295, -0.010548553, 0.042665366, 0.009796021, 0.0015696863, -0.026593873, 0.020730658, -0.007021463, -0.017916836, 0.037273303, -0.025180418, 0.002395019, 0.00812736, -0.024866318, 0.012590209, 0.00062084, -0.010967355, -0.013741912, -0.022445124, 0.058108658, -0.011719888, -0.0066680997, 0.0078198025, 0.029996632, -0.039236434, -0.06925924, -0.013133342, -0.026319034, 0.01285196, 0.0076562082, 0.0229948, -0.010653255, 0.037011553, -0.030467784, -0.022170285, -0.04248214, 0.045047298, -0.03185506, 0.037404176, 0.028635528, -0.0049176416, 0.00984837, 0.06344838, -0.012557491, 0.0058501284, -0.022523649, 0.0092725195, -0.020586694, -0.03117451, 0.009566989, 0.035807498, 0.031095985, -0.014291589, 0.0053953365, 0.0050256136, -0.03303294, 0.023531388, 0.010417678, -0.0020972777, -0.072661996, 0.014056013, -0.012328459, 0.04454997, -0.015469467, -0.072504945, 0.034969896, 0.0025291662, -0.018204762, 0.013584862, 0.032614138, 0.028871104, 0.0133820055, 0.00007632692, 0.009868002, 0.005195752, 0.0370639, -0.029446956, -0.01656882, -0.03112216, -0.03080806, 0.01901619, -0.05873686, -0.032038286, -0.033268515, 0.0047769505, -0.017393336, -0.010339153, 0.04153984, 0.018924577, -0.02523277, -0.030729534, 0.0734996, -0.018204762, 0.00050305214, -0.031645663, 0.05805631, -0.01672587, 0.024787793, -0.026698573, -0.017458772, 0.011569382, -0.03941966, -0.016019143, -0.005552387, 0.017262459, -0.0361216, 0.07789701, -0.007073813, -0.075803004, -0.066589385, 0.00022637346, 0.017039971, -0.00812736, -0.00050796, 0.0033438653, 0.0453614, -0.0452567, -0.018230937, 0.0060169944, 0.039707582, -0.05837041, -0.004008058, -0.04313652, -0.022667613, 0.03442022, -0.014461727, -0.022968626, -0.047088955, 0.055648204, -0.0544965, 0.0059908195, -0.024670005, -0.02889728, 0.015220804, -0.032640316, -0.025939496, 0.030781884, -0.04727218, -0.013951313, -0.0030526677, -0.0043548774, -0.052323967, 0.03638335, 0.01168717, -0.023138763, -0.018165499, 0.044183522, -0.016006056, -0.06433833, -0.0053397147, 0.029656356, -0.0062722014, -0.056276403, 0.015024491, 0.044314396, -0.008297497, -0.022366598, 0.025062632, 0.04821448, -0.060516767, 0.022484386, -0.06433833, -0.014265414, 0.019395728, 0.04360767, -0.036200125, -0.06208727, -0.0273006, -0.031305384, -0.06449538, -0.049994387, -0.016398683, 0.0020383836, 0.003409303, 0.018204762, 0.028661704, -0.033739667, 0.0028318155, -0.002506263, -0.037247125, 0.048737984, -0.004544647, -0.029656356, -0.015129192, -0.0058763037, 0.07700706, 0.018401075, -0.016791308, 0.021489734, 0.0032309855, 0.06978274, 0.020848444, 0.012151777, 0.005647272, 0.019565865, 0.045649324, -0.03531017, 0.020115543, 0.038320303, -0.029787231, 0.025245856, -0.04402647, 0.0013725553, 0.0016244904, -0.000987291, 0.0362263, -0.01064671, -0.018911488, 0.017327897, -0.0537636, 0.011660994, 0.0062329387, 0.038058553, 0.00969132, 0.034655795, 0.086325385, 0.005104139, -0.03436787, -0.0016277622, 0.04402647, -0.03101746, 0.02316494, -0.0459896, 0.05852746, 0.0030968382, -0.018584302, -0.071300894, -0.0031311929, 0.0008874985, 0.009442657, 0.0178514, -0.018937664, -0.039655235, -0.021044757, 0.023531388, 0.004796582, -0.017432598, 0.011359981, 0.0357028, 0.001296484, -0.0017864486, -0.017956099, 0.019683653, -0.0118573075, 0.007852522, -0.0040963986, -0.029891932, -0.02921138, 0.017602736, 0.0038771825, 0.021542083, 0.0112618245, -0.017511124, -0.017890662, 0.011216018, 0.023963278, -0.032221515, -0.024787793, 0.0183749, -0.008003028, -0.044602323, -0.027326774, -0.011890026, 0.0036219754, 0.00003386911, -0.03462962, 0.007878697, -0.02639756, -0.0139774885, 0.03211681, 0.06925924, -0.027667051, -0.0056014652, -0.04659163, 0.00672045, 0.05774221, -0.044759374, 0.05800396, 0.011248737, -0.0027827374, -0.00061061536, -0.0011018069, -0.03902703, 0.014514077, -0.042665366, -0.0069887443, -0.060987916, 0.045282874, 0.036618926, 0.0099399835, -0.036409523, -0.024499867, 0.049261484, 0.019670567, 0.07931047, -0.0456755, -0.013159517, 0.00812736, 0.021371946, 0.0016138568, 0.019330291, 0.0038117447, 0.024670005, -0.012406984, 0.0017095594, 0.0023819315, 0.0033634966, -0.06596118, -0.022209547, 0.015757393, -0.039524358, 0.0050943233, -0.004678794, 0.0011050788, -0.0010028324, -0.01229574, -0.04975881, 0.012583666, 0.0053397147, -0.031567138, -0.0009079478, -0.0022854109, -0.020141717, 0.00020684442, 0.035231646, 0.0033438653, -0.020468906, -0.0014216335, -0.034917545, -0.026476085, 0.024565306, -0.02316494, -0.016477207, -0.06480948, -0.0017733611, -0.009220169, 0.03447257, 0.017066147, 0.0066190213, 0.010901918, 0.036252473, 0.033870544, 0.014108364, 0.0025160788, -0.04509965, 0.0230995, -0.011314175, 0.021633696, 0.018139325, -0.0051172264, -0.03845118, -0.009318326, 0.007564596, -0.020298768, 0.006592846, 0.029734882, 0.015273155, 0.016791308, 0.047507755, -0.081613876, -0.00022085216, 0.005715981, 0.025141155, -0.036671273, -0.009625883, -0.040649887, -0.006759712, -0.030363083, -0.028975803, 0.005323355, 0.008670492, 0.05857981, 0.0023426688, 0.004295984, -0.03489137, -0.020311855, -0.006288561, 0.008801368, 0.013781175, -0.0048881946, -0.035283998, -0.011137493, 0.003975339, 0.045858726, -0.003916445, -0.020940058, -0.005588378, -0.030912759, -0.00019846021, 0.035755146, 0.011654451, 0.054234747, 0.052821293, -0.041984815, -0.02172531, -0.10569494, -0.009710952, -0.028975803, -0.016555732, 0.010973899, 0.028478477, 0.021214895, 0.035388697, 0.09087985, 0.011170212, 0.018558126, -0.015377855, 0.017066147, -0.009593164, 0.060726166, 0.013519424, 0.06245372, 0.01250514, 0.0066321087, -0.051957518, 0.018950751, 0.018047713, -0.008860262, 0.00048710173, 0.0016523014, -0.00016308296, -0.007309389, -0.063657776, -0.0068316935, 0.04138279, 0.004453034, -0.051015213, 0.006432524, -0.008382566, 0.01874135, -0.052193094, 0.0035074595, -0.009665146, 0.02714355, -0.020704482, -0.02963018, 0.008467636, 0.02092697, 0.0071392506, -0.0076234895, 0.013113711, -0.00732902, 0.01618928, -0.032745015, 0.014762741, -0.0013079356, 0.024526043, -0.021659872, -0.017393336, 0.0018158955, -0.021607522, 0.015914444, -0.020639043, 0.025468344, 0.013336199, 0.03659275, -0.020887706, -0.008781737, 0.046434578, 0.043633845, -0.034943722, -0.019565865, 0.00027422476, -0.025743183, -0.008958418, 0.05098904, -0.013238043, -0.00022494202, -0.019003103, 0.008860262, -0.007250495, 0.051015213, -0.043424442, 0.032169163, -0.0178514, -0.040597536, -0.014317764, 0.0035663536, 0.106532544, 0.0178514, -0.030834233, -0.024905581, 0.012570578, 0.020468906, -0.040074036, 0.06742699, -0.014697303, 0.021843098, -0.025468344, 0.0008678672, -0.024251204, 0.04413117, 0.016097669, -0.0052840924, 0.014396289, -0.0092725195, -0.018152412, 0.030415433, 0.03803238, 0.044733196, 0.010829936, -0.031488612, 0.034708146, -0.019029276, 0.03154096, -0.042665366, 0.0031377368, -0.0273006, 0.0029708706, -0.03860823, -0.006605934, -0.020704482, 0.038582057, 0.02931608, -0.009305238, -0.006118423, -0.010829936, 0.005529484, -0.012616385, -0.0362263, -0.02400254, -0.016019143, -0.087005936, 0.016804395, 0.0023263094, -0.007021463, -0.026018022, -0.03415847, 0.023217289, -0.013277305, -0.027195899, -0.026292859, 0.016110757, 0.02103167, -0.016215457, 0.013912051, 0.0037168602, -0.006684459, -0.020848444, 0.0138597, -0.010620535, -0.009992333, 0.012675279, 0.05444415, -0.03468197, -0.024735443, -0.036043074, -0.006645196, 0.007407545, -0.017406423, -0.012387353, 0.0018731536, 0.0012776707, 0.0085461605, 0.013571775, 0.010685973, -0.0005484495, -0.02565157, -0.007603858, 0.017170846, 0.007440264, -0.005807594, -0.00682515, -0.021542083, 0.026070371, 0.03792768, -0.0367498, 0.024211941, 0.005110683, 0.030363083, -0.043424442, 0.012622928, -0.0021643513, -0.020220242, -0.0076300334, -0.00025766087, -0.019186327, -0.029132854, 0.010849567, 0.0067793434, 0.019107802, -0.06753168, 0.014854353, -0.003949164, -0.06292487, 0.0155741675, 0.03169801, -0.042534493, -0.013990575, 0.013741912, 0.009069663, -0.019029276, 0.008297497, 0.023858577, 0.0058632162, 0.0043745087, -0.020364206, -0.011052424, 0.026292859, -0.008696668, 0.025952583, 0.016843658, 0.013794263, -0.016490296, -0.031645663, 0.013257674, -0.033163816, -0.011327262, -0.02485323, 0.012282653, -0.044419095, 0.05774221, -0.026764011, -0.0118573075, -0.01641177, 0.04839771, -0.024944844, 0.004901282, 0.0227854, -0.00041041695, -0.037142426, -0.00025725187, -0.020547431, -0.044262048, 0.002450641, 0.04371237, -0.011301087, 0.017327897, -0.00023700709, 0.013329655, 0.0011754243, 0.00019897144, -0.027693225, -0.0077936277, 0.022497473, -0.017223198, -0.08878584, -0.018662825, -0.008906068, 0.0003157368, 0.0096062515, -0.025376732, -0.02947313, -0.0274053, -0.012380809, -0.0044203154, -0.014056013, 0.0038542792, 0.026672399, -0.0039099013, 0.024172679, 0.008323673, -0.025088806, -0.0059090224, -0.0019533148, -0.0029152485, 0.02203941, 0.0066877306, 0.0030853865, 0.00037831158, 0.03350409, 0.017694348, -0.005611281, -0.049261484, 0.042639192, -0.02198706, -0.017825224, -0.026371384, -0.021044757, 0.0017488219, -0.028975803, 0.0017144672, 0.0070869005, -0.023034062, 0.0059384694, -0.03402759, -0.036147773, -0.0066615557, -0.0274053, 0.013375461, -0.012276108, -0.0366451, -0.0037168602, -0.00984837, -0.027222075, 0.00073167507, -0.01741951, -0.02363609, -0.0068316935, -0.03983846, 0.03897468, 0.00050346117, -0.026227422, -0.014121451, -0.00024784522, -0.008408742, 0.0039884266, -0.02931608, -0.042403616, -0.031200685, 0.05842276, 0.036461875, -0.031567138, -0.011870395, -0.006713906, 0.009115469, -0.0011590649, 0.0024948115, 0.04119956, -0.0006265658, 0.02586097, 0.016752046, -0.03483902, -0.035388697, 0.004832573, -0.045832552, 0.0023753878, -0.021057844, 0.013427812, -0.03808473, 0.012923942, -0.019788355, -0.012125602, 0.011359981, -0.006962569, -0.017079234, -0.009782933, -0.0002087871, -0.014579515, -0.019408816, 0.019500429, 0.0013594677, -0.008160079, 0.006174045, 0.015600342, -0.005925382, 0.0037266759, 0.02921138, 0.038660582, -0.03994316, 0.030572483, -0.0006846417, -0.028085852, 0.01651647, 0.0110000735, -0.02012863, 0.024303554, 0.022366598, -0.0045282873, 0.04701043, -0.0023753878, -0.029185206, 0.014945966, -0.0026453182, -0.005185936, -0.012099427, 0.007126163, 0.012204127, -0.0370639, -0.037351828, 0.023256551, 0.034001417, 0.0084872665, -0.011157124, -0.017746698, -0.01029989, -0.00026093275, 0.04674868, -0.0011803322, 0.022706874, -0.03169801, -0.009547357, -0.016686609, -0.016581908, -0.00046910637, 0.01571813, -0.008362935, -0.03897468, -0.0031164694, 0.010018509, 0.0036514224, 0.0073421076, -0.030206032, 0.007014919, -0.002314858, -0.010260628, -0.009756758, 0.014867441, -0.0036874132, -0.0277194, -0.09334031, -0.023884753, 0.041435137, -0.00491437, -0.0007095898, -0.012446246, 0.0143832015, -0.0032784278, -0.022209547, -0.028844928, -0.034917545, -0.024185766, 0.01667352, 0.023007888, -0.026436822, -0.04465467, -0.027667051, -0.0023164938, 0.033556443, -0.047193654, -0.027667051, -0.010862655, -0.029604007, 0.03195976, -0.009193994, -0.00062697474, -0.0011541571, 0.02273305, -0.009671689, 0.031148335, 0.026829448, -0.010620535, 0.0074337204, 0.022955537, -0.04153984, 0.014684215, 0.01048966, -0.0134409, -0.0046166284, 0.031828888, 0.0033324137, -0.030781884, 0.027640875, -0.02618816, 0.03106981, -0.04313652, -0.03303294, -0.02618816, -0.023937102, -0.06412893, -0.011412331, -0.011628276, -0.02363609, -0.016320158, 0.012910854, -0.008637774, 0.012485509, 0.02134577, -0.02751, -0.0039982423, -0.035938375, 0.03214299, 0.017929925, -0.031567138, -0.01874135, 0.0070607257, -0.025468344, 0.028426128, -0.060412064, -0.023204202, -0.0015443292, -0.011045881, -0.018348726, 0.038110904, 0.0070083756, 0.011759151, 0.0008572336, 0.04656545, -0.017236285, 0.034184642, 0.021201808, -0.014985229, 0.0057683312, 0.027326774, -0.007021463, 0.030048981, 0.0092398, 0.0454661, 0.0040440485, 0.0071196193, 0.018126236, -0.012079796, 0.0054836776, 0.0011361617, -0.0004846478, -0.02745765, 0.01874135, -0.0027696497, 0.021712221, -0.03143626, 0.0229948, 0.011268368, 0.0025782445, -0.0043908684, 0.040597536, -0.029944282, 0.006511049, 0.010744867, 0.015705043, 0.012753803, 0.007551508, 0.00026584056, -0.0083433045, 0.021764573, -0.021816922, -0.00036461058, -0.005022342, 0.04222039, 0.013100623, 0.016608084, 0.003631791, 0.047507755, 0.0075449646, 0.004767135, -0.0015884996, -0.029525481, -0.020141717, 0.023544477, -0.012040533, 0.0038444637, 0.0047540474, 0.01599297, 0.013015554, 0.007898328, -0.027928801, 0.037273303, 0.020534344, -0.022222636, -0.011026249, -0.0013169333, -0.0075187893, -0.011804957, 0.019565865, -0.002673129, -0.011045881, 0.02316494, 0.023832403, -0.040754586, -0.004037505, 0.0360169, 0.006910219, -0.0014805275, 0.024133416, -0.02410724, -0.030886585, 0.01906854, 0.018990014, -0.04164454, 0.031462435, 0.038817633, -0.0037561227, 0.04119956, -0.014278501, -0.012079796, 0.030729534, -0.037404176, -0.016424857, -0.010306435, 0.010162472, 0.029787231, -0.028871104, -0.06287252, -0.0063834456, -0.008349848, 0.029054329, 0.027012674, 0.010967355, 0.0542871, -0.0030232207, 0.022523649, 0.009540814, 0.030703358, -0.017288635, -0.024866318, 0.050360836, -0.024670005, -0.0031982665, -0.0180608, 0.011746063, -0.022589087, 0.03839883, 0.016712783, 0.010764498, 0.06135437, 0.042377442, -0.030022807, -0.0143832015, 0.041016337, -0.009193994, -0.024526043, -0.041618362, 0.04222039, 0.012276108, -0.0108691985, -0.014317764, -0.028085852, 0.0226807, -0.0077151023, -0.015430205, -0.016176194, 0.011615188, 0.009305238, -0.041827764, 0.011621731, -0.04148749, -0.034603443, 0.029604007, 0.00014784826, 0.0075187893, -0.0061511416, -0.007845977, -0.030336907, 0.040806938, 0.0041552926, -0.028295252, -0.015220804, 0.02177766, 0.011942376, 0.0016024052, 0.007813259, 0.0019598585, 0.009056575, -0.00998579, -0.03462962, -0.0366451, -0.013054817, -0.02389784, -0.008964962, 0.0006175681, 0.023060238, 0.011065512, -0.0037397633, -0.029028155, -0.023976365, 0.027038848, -0.016804395, 0.010339153, 0.012950117, -0.018832965, -0.048685633, -0.0061511416, 0.024028717, 0.011667538, 0.011399244, -0.0017897205, -0.011379613, 0.025808621, 0.044000294, 0.032535613, 0.013257674, -0.011287999, 0.0010486388, 0.0044988403, -0.009697864, 0.002480088, -0.033268515, 0.008389111, 0.0071850573, 0.016136931, -0.033216167, -0.010947724, 0.06151142, -0.016856747, 0.016293982, 0.034943722, 0.021528997, 0.015220804, 0.027431475, 0.0019107802, -0.0047376878, -0.015050666, 0.0056276405, -0.03818943, -0.0058403127, 0.016176194, 0.021751484, 0.033687316, -0.005634184, 0.030520134, -0.0152993295, 0.028452303, 0.027169725, -0.004259993, 0.0018551582, -0.013794263, -0.026489172, 0.008709755, 0.0007517153, 0.0076562082, -0.005385521, 0.020023929, 0.011837676, 0.025586132, -0.020783007, 0.037849154, 0.02947313, 0.005238286, -0.01620237, -0.02724825, -0.019448077, -0.015678868, -0.0062983767, 0.012033989, 0.01917324, -0.020796094, 0.0062329387, -0.0050321575, 0.015705043, 0.010574729, -0.026907973, 0.014082189, -0.026489172, 0.029865757, -0.0033504092, -0.009128557, 0.009547357, 0.008271323, -0.024879405, 0.024735443, 0.027483825, 0.022065585, 0.041016337, 0.0039393483, -0.0021856185, -0.024081066, 0.0008286046, -0.03195976, -0.0178514, -0.022811575, -0.011072055, 0.035283998, -0.011216018, 0.019147065, 0.009102381, -0.028504653, 0.029813407, 0.0033864, -0.000020449275, -0.030336907, -0.022641437, 0.060412064, -0.0013856428, -0.027876452, 0.022916276, -0.005185936, 0.0040146015, 0.020207155, 0.026960324, -0.016293982, 0.0028383592, -0.0057356125, 0.017013796, -0.03324234, -0.017131584, 0.0136503, -0.011307631, 0.0064979615, 0.019762179, 0.008493811, 0.004678794, 0.0020203884, -0.029944282, -0.007813259, 0.016398683, 0.015377855, 0.010627079, -0.0044661216, 0.00037565318, 0.02059978, 0.02874023, -0.0070410944, 0.0015819559, -0.03086041, 0.00607916, -0.004593725, -0.004809669, -0.03787533, 0.027169725, -0.012066708, -0.003913173, -0.022575999, -0.01599297, -0.044628497, 0.010247541, -0.008389111, 0.01689601, 0.0096782325, 0.01306136, 0.01688292, -0.0046853377, 0.03957671, -0.037639752, 0.027693225, -0.013741912, -0.013519424, -0.0011983275, -0.026031109, -0.0108691985, 0.031619485, 0.052219268, -0.035598096, 0.0112618245, -0.025874058, 0.026279772, 0.026018022, -0.023086414, 0.012832329, 0.009298694, -0.00259624, 0.021947797, -0.03855588, 0.026646223, 0.0114974, -0.014317764, 0.021070933, -0.0029463314, -0.02124107, 0.006792431, 0.0011198022, 0.05185282, -0.0009423026, 0.02193471, -0.04222039, 0.00055662927, 0.01752421, 0.022418948, 0.004318887, 0.036671273, -0.016922183, 0.00833676, -0.019251766, 0.01450099, 0.06208727, -0.038817633, -0.01205362, -0.002396655, 0.027169725, -0.0031949948, 0.014592603, 0.0053658895, 0.0059613725, -0.02655461, 0.011981639, 0.021476647, -0.050387014, 0.021214895, -0.029787231, 0.00519248, 0.028269077, 0.01144505, 0.0019009645, -0.030075157, 0.010561641, 0.012884679, -0.029446956, 0.0150375785, -0.019212503, 0.0055392995, -0.015757393, -0.027222075, 0.013951313, -0.01741951, -0.010411135, 0.016110757, -0.012989379, 0.012649103, -0.016542645, 0.0026322305, 0.021646785, 0.037247125, -0.0011525211, 0.014487902, -0.03583367, 0.023753878, 0.016398683, 0.004884923, -0.015207716, -0.02957783, -0.0029986817, 0.016058406, 0.00033761753, -0.0024015629, -0.0073682824, 0.02889728, -0.011680625, 0.004763863, 0.017916836, -0.025559958, 0.0010510928, -0.014330852, 0.0032947871, 0.034289345, -0.01943499, 0.01943499, -0.0041552926, 0.016738959, 0.0006171591, -0.008978049, -0.017982274, -0.01752421, 0.042403616, 0.008402198, -0.0109411795, 0.017615823, 0.04062371, 0.0032833356, 0.016097669, -0.004060408, 0.02554687, 0.004734416, -0.046774853, -0.0011680626, 0.010757955, -0.0018993287, -0.009076206, -0.017000709, 0.023034062, 0.007944134, -0.004583909, -0.004397412, -0.008042291, 0.015273155, 0.014160714, 0.01075141, 0.01599297, 0.001238408, 0.018178588, 0.0024113785, -0.011883482, -0.053528022, -0.0009750214, 0.0064979615, 0.0013725553, -0.006206764, -0.011431962, 0.025507607, -0.0041651083, -0.021398121, 0.019788355, -0.026319034, -0.005987548, -0.017498035, 0.035022248, 0.01757656, 0.0016547553, -0.022811575, 0.004093127, 0.017681262, 0.0064161643, 0.024395166, 0.039812285, -0.022589087, 0.009527726, 0.017144673, -0.008722843, 0.018990014, 0.02033803, -0.018086974, -0.009351044, -0.014985229, -0.031671837, -0.0115366625, 0.03256179, 0.008559248, 0.007845977, 0.0038869982, 0.016307069, 0.0033667686, -0.0061020637, 0.034106117, 0.00918745, -0.008539617, -0.0039033575, 0.02644991, 0.032169163, 0.0010502747, -0.016490296, -0.030598659, 0.0057585156, 0.026240509, -0.039105557, 0.016987622, -0.0155741675, -0.026358297, -0.023884753, 0.030886585, -0.000091357135, 0.0041814675, -0.049366184, 0.011883482, 0.008493811, 0.019893054, -0.032483265, -0.009285606, 0.029394606, -0.030703358, -0.0011500672, -0.00963897, -0.0038968138, 0.01991923, -0.021712221, -0.0058501284, 0.030363083, -0.00020479948, -0.01540403, 0.0034191187, -0.022314249, -0.00287435, -0.017406423, -0.035545748, -0.0034714688, 0.015626518, -0.029656356, -0.0007926139, 0.015338592, 0.014540252, -0.00020663992, -0.0035041878, 0.0057716034, -0.04119956, 0.021843098, -0.0110000735, -0.04604195, -0.016581908, -0.0042698085, 0.0452567, 0.009881089, -0.009122012, -0.019670567, 0.01038496, -0.049889687, -0.015142279, 0.038425006, -0.03457727, -0.0012547675, -0.023492126, -0.0004089855, -0.02368844, 0.0024326458, 0.01370265, 0.00783289, -0.021424295, 0.00033495913, -0.0091351, 0.03994316, 0.0050027105, -0.015377855, 0.0224713, -0.0054280553, 0.010836479, 0.008290954, -0.024303554, -0.0013660116, 0.028426128, 0.01319878, -0.00032861985, 0.024238117, -0.017903749, -0.03292824, 0.015181541, -0.01213869, -0.009972703, 0.00010940362, 0.008382566, 0.04010021, -0.030127507, 0.011333806, 0.008480723, 0.001496887, 0.007472983, 0.0022297888, 0.026934149, 0.004531559, 0.02756235, -0.01370265, 0.022667613, 0.0018960567, -0.00310011, 0.0023263094, -0.0069822003, -0.006000635, 0.016817484, -0.00844146, -0.021398121, -0.014121451, 0.012923942, 0.0149067035, 0.037639752, -0.018846052, -0.006363814, -0.013584862, -0.0013341106, -0.040990163, -0.009900721, 0.016307069, 0.0014633501, -0.0030183129, -0.022575999, -0.0072963014, -0.027797926, -0.032457087, 0.0050648763, 0.00022494202, -0.013964401, 0.007859065, 0.017471861, -0.039079383, -0.029813407, -0.015103016, 0.0010936272, -0.00868358, 0.039236434, 0.0268818, 0.005300452, 0.01620237, 0.004763863, -0.0226807, -0.02502337, 0.0064685144, -0.022877013, 0.0102737155, -0.03303294, -0.0011353437, -0.022589087, -0.007067269, 0.032012112, 0.016752046, 0.02431664, 0.0022461484 ]
2310.12397
20
Overall, this pattern holds. Fewer than ten percent of cases resulted in a "correct", "non-optimal", or "missing assignment" response from the LLM. Among those, the behavior looks somewhat random. In around a quarter of instances, it responds with a "this is incorrect" verification where the explanation matches reality, and it only manages this by naming no more than a single edge, which minimizes the chance of misstating something. Table 2 summarizes the results. Note that, proportionally, hallucinations decrease when the error rate of the domain increases. That is to say, when there are more incorrect edges, the model is more likely to point to one of them. Intuitively, this makes sense: it’s easier to guess one edge which is wrong when half of all the edges are miscolored, as is the case on average among randomly colored graphs.
2310.12397#20
GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems
There has been considerable divergence of opinion on the reasoning abilities of Large Language Models (LLMs). While the initial optimism that reasoning might emerge automatically with scale has been tempered thanks to a slew of counterexamples, a wide spread belief in their iterative self-critique capabilities persists. In this paper, we set out to systematically investigate the effectiveness of iterative prompting of LLMs in the context of Graph Coloring, a canonical NP-complete reasoning problem that is related to propositional satisfiability as well as practical problems like scheduling and allocation. We present a principled empirical study of the performance of GPT4 in solving graph coloring instances or verifying the correctness of candidate colorings. In iterative modes, we experiment with the model critiquing its own answers and an external correct reasoner verifying proposed solutions. In both cases, we analyze whether the content of the criticisms actually affects bottom line performance. The study seems to indicate that (i) LLMs are bad at solving graph coloring instances (ii) they are no better at verifying a solution--and thus are not effective in iterative modes with LLMs critiquing LLM-generated solutions (iii) the correctness and content of the criticisms--whether by LLMs or external solvers--seems largely irrelevant to the performance of iterative prompting. We show that the observed increase in effectiveness is largely due to the correct solution being fortuitously present in the top-k completions of the prompt (and being recognized as such by an external verifier). Our results thus call into question claims about the self-critiquing capabilities of state of the art LLMs.
http://arxiv.org/pdf/2310.12397
Kaya Stechly, Matthew Marquez, Subbarao Kambhampati
cs.AI
18 pages, 3 figures
null
cs.AI
20231019
20231019
[ { "id": "2206.10498" }, { "id": "2306.03872" }, { "id": "2303.11366" } ]
{ "authors": "Kaya Stechly, Matthew Marquez, Subbarao Kambhampati", "chunk_id": 20, "doc_id": "2310.12397", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12397", "summary": "There has been considerable divergence of opinion on the reasoning abilities\nof Large Language Models (LLMs). While the initial optimism that reasoning\nmight emerge automatically with scale has been tempered thanks to a slew of\ncounterexamples, a wide spread belief in their iterative self-critique\ncapabilities persists. In this paper, we set out to systematically investigate\nthe effectiveness of iterative prompting of LLMs in the context of Graph\nColoring, a canonical NP-complete reasoning problem that is related to\npropositional satisfiability as well as practical problems like scheduling and\nallocation. We present a principled empirical study of the performance of GPT4\nin solving graph coloring instances or verifying the correctness of candidate\ncolorings. In iterative modes, we experiment with the model critiquing its own\nanswers and an external correct reasoner verifying proposed solutions. In both\ncases, we analyze whether the content of the criticisms actually affects bottom\nline performance. The study seems to indicate that (i) LLMs are bad at solving\ngraph coloring instances (ii) they are no better at verifying a solution--and\nthus are not effective in iterative modes with LLMs critiquing LLM-generated\nsolutions (iii) the correctness and content of the criticisms--whether by LLMs\nor external solvers--seems largely irrelevant to the performance of iterative\nprompting. We show that the observed increase in effectiveness is largely due\nto the correct solution being fortuitously present in the top-k completions of\nthe prompt (and being recognized as such by an external verifier). Our results\nthus call into question claims about the self-critiquing capabilities of state\nof the art LLMs.", "text": "Overall, this pattern holds. Fewer than ten percent of cases resulted in a \"correct\", \"non-optimal\", or \"missing assignment\" response from the LLM. Among those, the behavior looks somewhat random. In around a quarter of instances, it responds with a \"this is incorrect\" verification where the explanation matches reality, and it only manages this by naming no more than a single edge, which minimizes the chance of misstating something.\nTable 2 summarizes the results. Note that, proportionally, hallucinations decrease when the error rate of the domain increases. That is to say, when there are more incorrect edges, the model is more likely to point to one of them. Intuitively, this makes sense: it’s easier to guess one edge which is wrong when half of all the edges are miscolored, as is the case on average among randomly colored graphs.", "title": "GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems", "year": 2023 }
[ -0.018505635, 0.0016665711, 0.032520607, 0.013083088, 0.013655427, -0.009267493, 0.015541212, -0.01146146, -0.014447897, 0.07085266, 0.05145183, -0.028499559, -0.007256968, 0.012840944, -0.0110358745, 0.00045401911, 0.04464246, -0.008056776, -0.040063746, 0.01728758, -0.013457309, 0.0032982882, 0.049690787, 0.002665413, -0.01225393, -0.014763417, 0.038420103, -0.043703236, 0.024375781, 0.023671364, 0.040093098, -0.012019124, -0.04901572, -0.0645129, -0.027633712, 0.044994667, 0.012716204, 0.035954643, -0.027560335, 0.024933444, 0.025050849, 0.014425884, -0.04713727, -0.018476285, -0.008064113, 0.010214054, 0.01570264, -0.015174327, -0.02773644, 0.046579607, -0.09814884, 0.055590283, 0.0117402915, -0.014550624, -0.046403505, -0.0067800186, -0.00067965285, 0.0340762, 0.00025131562, 0.014491923, 0.03287282, -0.018373556, -0.0007704567, 0.00547758, -0.028308779, -0.019371482, -0.0682698, -0.009384896, 0.073787734, 0.030025797, -0.016817968, -0.014697378, 0.041678037, 0.030847616, -0.0099425595, 0.023774091, 0.035866592, 0.014169064, 0.007653203, 0.004248518, 0.010155353, 0.0052611185, 0.04258791, -0.037686337, 0.003454214, -0.018945895, 0.004087089, -0.040944267, -0.0642194, -0.08282776, 0.017537061, -0.0008617191, -0.02048681, 0.012151202, 0.014022311, -0.046021946, 0.015365107, 0.005202417, 0.021704864, -0.017493036, -0.031816192, 0.010434184, 0.034017496, -0.041531283, 0.016817968, 0.020002522, -0.044026095, -0.009671065, -0.0048942342, -0.0038155948, 0.024625262, -0.023832792, -0.05109962, 0.016010823, 0.037187375, -0.046168696, -0.049602732, -0.008570413, 0.02590202, 0.008658465, -0.01589342, -0.01934213, 0.011160615, -0.004600727, 0.006196673, -0.0029075567, 0.034457758, -0.04672636, 0.029776316, -0.010052625, 0.02735488, 0.045728438, 0.02979099, 0.0035257563, -0.0462274, -0.009524312, 0.0012501576, 0.02532968, -0.027222801, -0.027824491, -0.008570413, -0.0031203495, 0.009803143, 0.04672636, 0.007594501, 0.038566858, 0.012716204, 0.040151797, -0.0048868963, 0.06474771, 0.0021059148, 0.029658912, -0.021000447, 0.023803443, -0.020721614, -0.06463031, -0.013655427, -0.025226953, -0.00953165, 0.0076752156, 0.02795657, 0.0067800186, 0.063632384, 0.019562261, 0.017625114, 0.027985921, -0.06474771, 0.016729916, -0.03422295, -0.011432109, 0.032373857, -0.009795806, -0.007645865, -0.030084498, -0.014660689, -0.028073972, -0.012723541, -0.04672636, 0.035250228, -0.0064975177, -0.014007635, 0.041736737, -0.006262712, 0.036042698, -0.03492737, -0.056588206, -0.0053455015, 0.025799291, -0.037979845, -0.025564486, -0.011211979, 0.007609177, 0.055003267, 0.004758487, -0.04748948, -0.023642013, 0.02355396, 0.04907442, -0.0150716, -0.019122, -0.043673884, 0.010089314, 0.056969766, -0.04464246, -0.024654614, 0.033929445, -0.022849543, -0.011446784, 0.003833939, -0.0002960296, 0.029732289, -0.028470207, 0.038478807, 0.013904909, -0.0034340355, -0.029453456, -0.04305752, -0.0029864367, 0.000891987, 0.05626535, -0.024683964, 0.016583161, 0.037862442, -0.016964722, -0.04267596, 0.038244, 0.07836645, -0.058525354, 0.0071322275, -0.038097247, 0.003327639, -0.0022343243, -0.0058811526, -0.060873415, 0.008797881, -0.047225323, -0.015233029, -0.010302106, -0.029835017, -0.0077485926, -0.012745555, 0.002437945, -0.011483473, -0.021426033, -0.004160466, 0.0028818748, -0.03299022, 0.009311519, 0.0070295, 0.020428108, -0.013780167, -0.0075871637, -0.035543732, -0.049954943, -0.06803499, 0.013809518, -0.014044324, -0.016700566, -0.020530835, -0.030642161, 0.009685741, 0.041560635, -0.04276401, 0.0067286547, -0.04150193, 0.01307575, 0.024816042, -0.028000597, -0.058173146, -0.026797216, -0.015277055, 0.016583161, 0.003204733, -0.020369407, -0.017184852, -0.048868965, -0.008269568, 0.046579607, -0.019356806, -0.01187237, -0.023818117, 0.021352656, 0.05556093, 0.062517054, 0.008841908, -0.0051914104, -0.031933594, 0.02549111, -0.005620665, -0.015599913, 0.010170028, -0.049778838, -0.0035789546, 0.044114146, -0.023216426, 0.014330494, -0.015717316, -0.001517983, 0.016979396, 0.0023095356, 0.051246375, -0.009157428, 0.0008924456, 0.009296844, 0.0062957318, 0.032902166, 0.03704062, 0.03137593, 0.007873333, 0.04343908, -0.011123926, 0.0050079683, 0.021411357, 0.040797513, -0.0483113, -0.080655806, 0.029292028, -0.022013048, 0.029277353, -0.031669438, 0.002647069, -0.03577854, 0.04417285, -0.0042375117, -0.045112073, -0.005837126, -0.021396682, -0.014990885, 0.013427959, -0.034898017, 0.0036394906, 0.014491923, -0.014800105, 0.01769849, 0.017228879, 0.0016243794, -0.038801666, 0.03225645, -0.027677739, 0.025535135, -0.06598044, -0.02549111, 0.02169019, -0.011527499, -0.046080645, -0.0023058667, -0.023730066, 0.034428407, 0.07132227, -0.018593688, -0.034105547, -0.024419807, -0.0037440525, 0.016451083, 0.008218205, 0.009040025, -0.013743479, -0.010294768, -0.024845393, 0.00052235124, -0.0014647848, -0.024302404, 0.0005273959, 0.060521204, -0.011688928, 0.058173146, -0.054973915, -0.015497185, 0.06110822, 0.028294103, -0.028616961, 0.0027626373, -0.015321081, -0.018652389, -0.01687667, -0.008350283, -0.01671524, -0.0020013528, -0.009399571, 0.040738814, -0.030172551, 0.00471813, -0.0048502083, -0.040415954, 0.032931518, 0.017903944, -0.04296947, -0.022115774, -0.09492026, -0.033900093, -0.012716204, -0.012811594, -0.04382064, 0.0029093912, 0.036277503, 0.0012153037, 0.0053234887, 0.046785064, 0.049250524, 0.04514142, 0.008210867, -0.034017496, -0.023539286, 0.039946344, 0.0064424854, 0.017360957, 0.0015803534, -0.01830018, 0.03742218, 0.002263675, 0.034780614, -0.034692563, 0.013053737, -0.027472284, -0.019606287, -0.070500456, 0.056676257, 0.01266484, 0.022746816, 0.03254996, 0.008797881, 0.022189151, -0.010727691, -0.022423958, -0.024140975, -0.015409133, -0.0051400466, -0.015189002, 0.00037743204, -0.07519657, 0.0029057222, 0.09057635, 0.023421882, -0.011021199, 0.051040918, -0.03219775, 0.00334048, -0.03328373, -0.012481398, -0.06821109, 0.00095481594, -0.008629114, -0.016847318, -0.024331754, -0.0053711836, 0.019635638, -0.07989269, -0.011828344, 0.031053072, 0.011131264, -0.043644536, -0.040386602, -0.0015280724, 0.036306854, -0.047284026, -0.04065076, 0.055208724, -0.036512308, -0.0044429665, -0.03175749, -0.0042778687, 0.017625114, -0.028851768, 0.0038669587, -0.0066699535, 0.04208895, -0.032285802, -0.028602285, 0.04147258, 0.03128788, -0.012334644, -0.0342523, 0.10507561, -0.03539698, 0.033136975, 0.011688928, -0.032227103, -0.009018011, 0.06592174, -0.024258379, -0.0047328053, -0.0056280023, 0.031434633, -0.0003668841, 0.04901572, 0.079540476, -0.017140826, 0.0025938707, -0.016964722, 0.040357254, -0.049221173, -0.055619635, 0.015497185, -0.01835888, 0.020090574, 0.013317893, 0.0047328053, -0.0022526686, 0.05107027, 0.009795806, 0.023157725, -0.015189002, -0.027486958, 0.0138388695, -0.012503411, 0.019899795, 0.0068240445, 0.013427959, 0.0048502083, 0.030788915, 0.01890187, 0.012782243, 0.009311519, -0.0014271792, -0.031199826, -0.009421584, -0.009516974, 0.030876968, -0.02193967, 0.0137654925, -0.0031918918, -0.010771718, -0.043174922, -0.022423958, 0.0020527167, -0.017815894, -0.050923515, -0.059317823, -0.011395421, 0.018212128, 0.027472284, -0.018784467, 0.005936185, -0.00022861466, -0.030700862, 0.008893271, -0.0071982667, -0.039065823, -0.010837757, -0.015996147, 0.008900609, -0.004553032, 0.013383932, 0.01827083, -0.012415359, -0.029277353, 0.017991997, -0.0041531282, -0.005173066, 0.038390756, 0.0068240445, -0.0142351035, -0.015409133, -0.001700508, -0.024302404, -0.0036266495, -0.0034964057, -0.009392234, -0.039564785, -0.0086951535, 0.019562261, 0.004806182, -0.008731842, -0.0074734297, -0.03495672, 0.02896917, 0.017771866, -0.012554775, 0.04860481, 0.018740442, -0.016861994, -0.0302019, 0.02713475, -0.01627498, 0.013516011, -0.031933594, -0.01950356, -0.0016142902, 0.028279427, -0.03334243, -0.027604362, -0.028426182, -0.0015620091, 0.015687965, -0.052156247, 0.006464498, -0.0030176218, 0.0072826496, -0.02267344, -0.019518236, 0.008423659, -0.032403205, -0.013758155, -0.0022618405, -0.017331606, 0.0034175257, 0.035220876, 0.022629412, -0.011307369, -0.0033313078, 0.01706745, 0.0090547, 0.028793067, -0.03249126, 0.018916545, 0.024111625, -0.016113551, 0.03701127, 0.036072046, -0.0027773129, -0.041179072, -0.026019422, 0.023201752, -0.023143051, -0.008702491, 0.007939372, -0.016216278, -0.017830567, 0.028191376, 0.0023975878, -0.010903796, 0.013728804, 0.00059618667, 0.009597689, 0.015115626, -0.00639479, 0.026166176, 0.0006769012, -0.0231724, -0.023495259, -0.039623484, -0.013347245, 0.03416425, 0.00030772405, 0.01295101, 0.014396533, -0.010977173, 0.03254996, -0.0009369303, -0.006057257, -0.011666915, -0.024830718, -0.03533828, -0.026430333, -0.007363364, -0.0302019, 0.0069597918, -0.02111785, -0.011901721, -0.027457608, -0.014690041, -0.06292796, 0.026665138, 0.020237328, -0.014169064, -0.022394607, -0.015511861, -0.018623037, 0.008284244, 0.009252817, -0.0023223765, 0.012246592, -0.005389528, -0.01187237, -0.036365554, 0.003885303, -0.020912396, -0.0061636535, -0.018344207, 0.018329531, 0.0068277135, 0.050541956, 0.012165877, -0.015820043, -0.016040174, 0.016201602, -0.00816684, -0.021235254, -0.032403205, -0.019210052, 0.014059, -0.000018243887, -0.024302404, -0.019782392, -0.006739661, 0.00014870272, 0.046021946, 0.004142122, -0.016098876, -0.0057674185, -0.0009511471, -0.00040448975, 0.0075211246, -0.01827083, -0.018197453, -0.013061075, -0.028279427, 0.023187077, -0.0029992778, -0.03657101, 0.015277055, 0.019048624, 0.028837092, -0.039153874, 0.020075899, -0.02333383, -0.0045090057, 0.03260866, 0.052009493, -0.015820043, 0.011138602, -0.001347382, 0.0029644237, -0.008210867, -0.030319303, 0.008122815, -0.012239254, -0.009106064, 0.017933296, -0.0037972506, -0.023319155, 0.013860882, -0.08629114, -0.015321081, -0.019620962, 0.021000447, -0.056940414, -0.0025223284, 0.006240699, -0.01846161, -0.007433072, 0.024683964, 0.021836942, -0.026034098, 0.025226953, 0.038009197, 0.000695704, -0.0144699095, -0.0074110595, -0.011945747, -0.027002672, 0.018828493, -0.019826418, -0.033812042, 0.027985921, 0.048428703, -0.0046997857, -0.0045603695, -0.003580789, 0.020985771, 0.027398907, 0.014910171, -0.017449008, 0.025021497, -0.0066075833, -0.0023755748, 0.028000597, -0.025168251, 0.004259525, 0.0009066624, 0.008416322, 0.02612215, -0.013053737, 0.003966017, 0.01706745, -0.006376446, 0.0044649797, -0.019327456, 0.027589686, 0.0023975878, 0.009113401, 0.0043365704, 0.03542633, 0.023935521, 0.016627189, 0.0012831772, 0.02792722, -0.012143864, -0.018799143, -0.0190633, -0.012496073, -0.039212573, 0.0020288692, -0.03850816, -0.016950047, 0.055179372, 0.005385859, 0.0129069835, -0.007000149, -0.03146398, -0.016891345, -0.0013859047, -0.02801527, -0.0050960206, -0.0059508607, -0.0065488815, 0.013479322, -0.13970947, 0.005822451, 0.026870593, -0.030348655, 0.010602951, -0.0020178626, 0.060168996, -0.013618738, 0.025461758, -0.0007649534, 0.0033514865, -0.004156797, -0.016465759, 0.01215854, 0.040944267, -0.05664691, -0.0009970076, 0.0056059896, -0.014220429, -0.005107027, -0.029306704, -0.015878744, -0.005822451, -0.006926772, 0.0015143142, -0.028455533, -0.026489034, -0.03296087, 0.038948417, 0.024199676, -0.003065317, 0.03783309, 0.029174626, -0.010280093, 0.006424141, -0.031258527, 0.0026892605, -0.03853751, -0.011160615, 0.019958496, 0.0069964803, -0.004303551, 0.022233177, -0.0034303665, 0.0052464427, -0.07337683, 0.013017049, -0.022042397, 0.015908096, -0.012011786, -0.04904507, -0.0281767, 0.0035844578, -0.0033551552, -0.00785132, -0.0005484918, 0.012070487, 0.015614588, -0.029086573, -0.0047474806, -0.044407655, 0.03249126, 0.03539698, -0.011696266, 0.004831864, -0.03501542, -0.038097247, 0.06474771, -0.0011107416, -0.006537875, -0.0002405384, -0.0069597918, -0.008453011, -0.0019022942, -0.0068350513, 0.014770755, 0.034017496, 0.001334541, -0.038390756, 0.022013048, -0.011688928, 0.022893569, 0.00029488312, -0.007645865, 0.018373556, 0.011549512, 0.050424553, -0.010206716, -0.03692322, 0.019444859, 0.00022987583, 0.002010525, -0.02951216, 0.014447897, 0.014660689, 0.0041237776, 0.0073817084, -0.02152876, 0.042705312, -0.018138751, 0.011248667, -0.0049602734, -0.0046777725, -0.03657101, 0.028499559, -0.0044723176, 0.008871258, -0.0065488815, -0.00079751434, 0.035602435, -0.0022966946, 0.0089299595, 0.02538838, 0.0007025831, -0.018505635, 0.005506931, 0.019488884, -0.010184703, 0.0542695, -0.0016656539, 0.008746518, 0.036835168, 0.007315669, 0.017859919, -0.010933147, 0.012760229, 0.012209903, -0.012371332, -0.036688413, 0.024170326, -0.0131417895, 0.03375334, -0.00074248173, 0.02510955, 0.0009025349, -0.0090547, 0.038420103, 0.016744591, 0.023509935, -0.003951342, 0.030847616, 0.0170381, 0.006684629, -0.020369407, -0.02336318, -0.019195378, 0.015159652, -0.013692115, 0.015717316, 0.0024709646, 0.023656689, 0.017991997, 0.0231724, 0.014902833, -0.02333383, 0.022379931, 0.025872668, -0.010969835, 0.03789179, 0.023862144, 0.020883044, 0.012224579, -0.022702789, 0.014748742, 0.034046847, 0.0008383302, -0.013347245, -0.0067323237, -0.0039880304, 0.05515002, -0.026577085, -0.061343025, -0.007095539, 0.014315818, 0.03378269, 0.043673884, 0.031023722, 0.040914916, 0.0079980735, -0.0070588505, -0.03378269, 0.029805666, -0.036864515, 0.03903647, 0.036336202, -0.0010492885, 0.011850357, -0.0022453307, 0.010551588, 0.00962704, -0.0020472135, 0.045288175, 0.018505635, 0.017815894, 0.057967693, -0.0044943304, -0.010243405, 0.044084795, -0.013978285, -0.0011373408, -0.0442609, -0.00041893582, 0.011072563, -0.020031873, 0.017404983, 0.021411357, -0.015937446, 0.009744442, -0.052009493, 0.0058774836, -0.039359327, 0.021836942, -0.012650165, -0.03533828, 0.0071102143, 0.018989922, -0.019459534, -0.03328373, -0.003977024, 0.0009103312, 0.02738423, -0.016260304, -0.024008896, 0.012576788, -0.012576788, 0.0069891424, 0.0011923733, -0.011666915, -0.015115626, -0.01624563, -0.00073330966, -0.024082273, -0.00015111039, -0.036747113, -0.035220876, 0.02459591, 0.0058077755, -0.009267493, 0.0039329976, -0.0012318135, 0.0056463466, -0.02738423, -0.033958793, 0.016407058, -0.0044906614, -0.026283579, 0.0018252485, -0.013941596, -0.048957016, 0.0056243334, -0.020222653, 0.020310706, 0.037568934, -0.013068412, -0.022497334, -0.018916545, 0.000085587184, 0.038772315, 0.046432853, 0.02273214, -0.009428922, -0.013802181, -0.013163802, -0.01317114, -0.006193004, 0.014110363, -0.0052391053, -0.018402908, -0.010786393, -0.034428407, -0.07595969, 0.0058334577, -0.0055399504, -0.0013684778, -0.005312482, 0.018945895, -0.013493998, -0.015218354, 0.023700714, -0.02590202, 0.0020839018, 0.0076605403, -0.033107623, -0.019224728, 0.021866294, 0.029820342, -0.041912843, -0.023480583, -0.007785281, -0.011916396, 0.026709164, 0.0160842, 0.01931278, -0.0032450901, 0.025887344, -0.010045287, -0.0053675147, -0.00080622785, 0.0057380674, -0.0025571822, 0.0301432, 0.0301432, 0.034311004, -0.033694636, 0.029805666, 0.029805666, -0.015042249, -0.006218686, -0.028338129, -0.012635489, 0.018006673, -0.001700508, -0.0017179349, -0.030524759, -0.013002373, 0.026987996, -0.004828195, -0.023201752, 0.0022746816, 0.01206315, -0.0003024501, -0.0062003415, 0.008372296, -0.026811892, -0.0114247715, -0.010052625, -0.02248266, 0.0059325164, -0.011542174, 0.016172253, -0.011879708, 0.01449926, 0.0057013794, -0.021675514, 0.0052501117, 0.029967096, -0.01890187, -0.014550624, -0.018388232, -0.02874904, 0.039652836, 0.00588849, -0.005198748, 0.006424141, -0.014491923, 0.034281652, 0.017771866, -0.0058774836, -0.035631787, -0.010500223, 0.08241685, -0.016788617, -0.019430183, 0.016920695, 0.025006821, 0.025036173, -0.005661022, 0.021602137, -0.0054812487, 0.01633368, -0.008915284, 0.034428407, -0.006244368, -0.015130301, 0.015629264, 0.012452047, -0.037480883, 0.018667065, 0.02669449, 0.032843467, 0.010661652, 0.0047328053, 0.01440387, -0.0038009195, 0.0013510508, 0.0038486144, 0.03897777, 0.023876818, -0.006244368, 0.032139048, 0.0055179372, 0.021161877, -0.035690486, 0.0071982667, -0.030847616, -0.004197154, -0.023950195, 0.03219775, -0.013457309, -0.026679814, 0.004696117, -0.0019775054, -0.0160842, -0.009597689, -0.0025755265, -0.004409947, 0.0023443894, 0.009480285, 0.0043402393, 0.012701528, 0.029057223, -0.021998372, -0.026034098, -0.00794671, -0.017449008, -0.011498149, 0.0032395867, 0.027530985, 0.011887046, -0.00018997719, -0.026239552, 0.017639788, -0.016994072, -0.0009612364, 0.0063654394, -0.02820605, 0.0027277835, 0.021205902, -0.017404983, 0.00934087, -0.013347245, -0.022423958, 0.013178478, 0.009062038, -0.0072826496, 0.012459385, 0.0064424854, -0.0015776018, 0.02092707, 0.014425884, 0.024992146, -0.03539698, -0.013317893, -0.01706745, 0.020941745, 0.026078124, -0.00014870272, -0.018784467, -0.0034964057, -0.012928996, 0.0066882977, 0.010118664, 0.01772784, 0.011725617, -0.01728758, -0.014396533, -0.010933147, -0.0013217, 0.019973172, 0.041179072, -0.002494812, -0.009010674, -0.023979547, 0.0028103325, 0.0086144395, 0.020677589, -0.050160397, 0.0028690337, 0.039065823, 0.009619702, 0.00835762, -0.008497036, 0.0025957052, 0.0066222586, -0.009949897, 0.018799143, -0.013090425, 0.0053271577, -0.021367332, -0.03466321, 0.008438335, 0.032021645, -0.0144699095, -0.022805518, 0.033694636, 0.02510955, -0.0058334577, 0.016451083, 0.014513936, 0.0031643757, -0.019371482, 0.012275943, 0.012408021, 0.005723392, 0.0066662845, -0.0040540695, 0.0015326585, -0.0032689376, -0.030378005, 0.01975304, 0.033518534, 0.018417584, -0.009597689, -0.030847616, 0.005837126, 0.04625675, 0.021367332, 0.014103025, 0.014719391, 0.012540099, -0.013875557, 0.008049438, -0.017713165, 0.011388083, -0.025916694, 0.021015123, 0.009509636, -0.021704864, -0.013875557, -0.019386157, 0.0038999782, -0.009546325, 0.0020600543, 0.034311004, 0.035074122, 0.0056756972, -0.0027021016, -0.013875557, 0.030906318, -0.0079980735, -0.010023274, -0.0072276173, 0.027868519, -0.0059251785, -0.03134658, -0.022247853, 0.023509935, -0.004824526, 0.00086126046, 0.01835888, -0.025197601, -0.0340762, 0.016627189, -0.03486867, -0.011388083, 0.00095481594, -0.002782816, -0.019782392, 0.011600876, -0.02871969, 0.019870443, 0.008416322, -0.009612364, -0.034017496, -0.008753855, 0.035661135, -0.03128788, 0.011696266, 0.024977472, 0.007466092, 0.024610586, -0.01915135, -0.01358205, 0.013442635, -0.0056536845, 0.018182777, 0.015350431, 0.031434633, 0.013237179, -0.0011492645, 0.015996147, 0.0015390789, 0.019386157, 0.045317527, 0.009370221, 0.009854508, 0.022717465, -0.017625114, 0.021836942, 0.00826223, 0.013728804, -0.012943672, -0.00016842275, -0.0045823827, 0.00063425093, -0.018065374, 0.025813967, 0.00041503768, -0.0010135174, -0.0003494571, 0.0060389126, -0.031581387, -0.01671524, 0.0044466355, 0.028675662, -0.0037935819, -0.03821465, -0.020002522, -0.0062113483, 0.010991848, -0.008687816, 0.013618738, 0.011512823, 0.011454122, -0.015555887, -0.005294138, 0.022086425, 0.0117402915, -0.026166176, 0.015864069, -0.022864219, -0.0046190713, -0.022776166, 0.005961867, 0.027002672, -0.02459591, 0.002023366, -0.0058591394, 0.00010668302, -0.014352507, -0.007770606, -0.029996445, -0.0033826716, -0.0009075796, 0.04305752, 0.015277055, -0.015203678, 0.006185666, 0.030524759, -0.016230954, -0.02491877, 0.0042265053, -0.01827083, 0.04129648, 0.0016152073, -0.012268605, -0.008900609, 0.0027406244, 0.0013253689, 0.017771866, 0.035573084, 0.02177824, -0.020501485, -0.023436558, 0.009590351, 0.039594136, -0.0017766363, 0.0028140012, -0.009223467, -0.0024049254, -0.026914619, 0.0037679, 0.027897868, -0.010015937, 0.003977024, -0.018197453, -0.013024386, -0.023231102, 0.00029625892, 0.02995242, -0.045728438, -0.026356956, 0.005796769, 0.014103025, 0.019327456, -0.004754818, -0.017551737, 0.023671364, -0.0068974216, -0.0113440575, 0.0007287236, 0.002843352, -0.0006186584, -0.008570413, 0.03055411, -0.032285802, -0.00087134977, 0.0026030429, 0.0023755748, 0.028925145, -0.019620962, -0.006978136, -0.023627337, 0.000009845679, 0.030965019, -0.0141543895, -0.010463535, 0.0067873565, 0.016861994, -0.003489068, 0.022438632, -0.032432556, 0.0110358745, 0.019107325, -0.0111092515, 0.008130152, -0.013420621, 0.013251854, 0.018314855, -0.0086217765, -0.026195526, -0.026635787, -0.019459534, -0.01633368, -0.027120074, -0.013714128, 0.009010674, -0.01750771, 0.01317114, 0.025212277, 0.031552035, 0.010287431, -0.047694936, -0.00962704, 0.012995035, -0.012980361, 0.013992961, -0.0019133007, -0.008225542, 0.014954197, -0.030524759, -0.028705014, 0.044818565, -0.013376595, -0.018725766, 0.016069524, 0.0075431378, -0.039682187, -0.009201454, 0.012635489, -0.005892159, 0.06369109, 0.03266736, 0.0062003415, -0.015526536, -0.0076898914, -0.024669288, -0.030466057, 0.00056408433, -0.023480583, 0.03296087, -0.025241628, -0.006244368, -0.05151053, -0.033136975, 0.019136677, -0.0086144395, -0.030730214, -0.0052391053 ]
2310.12773
20
3.3 SAFE REINFORCEMENT LEARNING During the RL phase, our approach utilizes the Reward Model Rϕ to estimate the value of human preference for helpfulness, while the Cost Model Cψ for harmlessness. The LLM we are training is denoted as πθ(y|x). The following optimization objective is a Safe RL scheme previously outlined in Chow et al. (2017), hereby defined as the objective for our Safe RLHF setting: maximize θ Ex∼D,y∼πθ(·|x) [Rϕ(y, x)] , s.t. Cψ(y, x) ≤ 0, ∀x ∼ D, y ∼ πθ(·|x), (9) where D is a distribution of prompts used in the RL phase, and the y = a1:T are responses generated by the LLM πθ. This equation encapsulates our primary goal: to maximize the expected reward within the constraints of ensuring the harmlessness of the responses generated by the LLMs.
2310.12773#20
Safe RLHF: Safe Reinforcement Learning from Human Feedback
With the development of large language models (LLMs), striking a balance between the performance and safety of AI systems has never been more critical. However, the inherent tension between the objectives of helpfulness and harmlessness presents a significant challenge during LLM training. To address this issue, we propose Safe Reinforcement Learning from Human Feedback (Safe RLHF), a novel algorithm for human value alignment. Safe RLHF explicitly decouples human preferences regarding helpfulness and harmlessness, effectively avoiding the crowdworkers' confusion about the tension and allowing us to train separate reward and cost models. We formalize the safety concern of LLMs as an optimization task of maximizing the reward function while satisfying specified cost constraints. Leveraging the Lagrangian method to solve this constrained problem, Safe RLHF dynamically adjusts the balance between the two objectives during fine-tuning. Through a three-round fine-tuning using Safe RLHF, we demonstrate a superior ability to mitigate harmful responses while enhancing model performance compared to existing value-aligned algorithms. Experimentally, we fine-tuned the Alpaca-7B using Safe RLHF and aligned it with collected human preferences, significantly improving its helpfulness and harmlessness according to human evaluations.
http://arxiv.org/pdf/2310.12773
Josef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji, Xinbo Xu, Mickel Liu, Yizhou Wang, Yaodong Yang
cs.AI, cs.LG
null
null
cs.AI
20231019
20231019
[ { "id": "2302.13971" }, { "id": "2304.05302" }, { "id": "1707.06347" }, { "id": "2305.18290" }, { "id": "2305.10403" }, { "id": "2305.03047" }, { "id": "2211.05100" }, { "id": "2110.08207" }, { "id": "2304.05335" }, { "id": "2107.03374" }, { "id": "2105.04054" }, { "id": "2209.07858" }, { "id": "2305.15324" }, { "id": "2307.09288" }, { "id": "2210.11416" }, { "id": "2212.08073" }, { "id": "2307.12950" }, { "id": "2009.11462" }, { "id": "2307.04657" }, { "id": "2204.05862" }, { "id": "2112.00861" }, { "id": "2209.14375" }, { "id": "2303.00957" }, { "id": "2306.01693" }, { "id": "2305.01937" }, { "id": "2307.15217" }, { "id": "2306.17492" }, { "id": "2112.04359" }, { "id": "1506.02438" } ]
{ "authors": "Josef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji, Xinbo Xu, Mickel Liu, Yizhou Wang, Yaodong Yang", "chunk_id": 20, "doc_id": "2310.12773", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12773", "summary": "With the development of large language models (LLMs), striking a balance\nbetween the performance and safety of AI systems has never been more critical.\nHowever, the inherent tension between the objectives of helpfulness and\nharmlessness presents a significant challenge during LLM training. To address\nthis issue, we propose Safe Reinforcement Learning from Human Feedback (Safe\nRLHF), a novel algorithm for human value alignment. Safe RLHF explicitly\ndecouples human preferences regarding helpfulness and harmlessness, effectively\navoiding the crowdworkers' confusion about the tension and allowing us to train\nseparate reward and cost models. We formalize the safety concern of LLMs as an\noptimization task of maximizing the reward function while satisfying specified\ncost constraints. Leveraging the Lagrangian method to solve this constrained\nproblem, Safe RLHF dynamically adjusts the balance between the two objectives\nduring fine-tuning. Through a three-round fine-tuning using Safe RLHF, we\ndemonstrate a superior ability to mitigate harmful responses while enhancing\nmodel performance compared to existing value-aligned algorithms.\nExperimentally, we fine-tuned the Alpaca-7B using Safe RLHF and aligned it with\ncollected human preferences, significantly improving its helpfulness and\nharmlessness according to human evaluations.", "text": "3.3 SAFE REINFORCEMENT LEARNING\nDuring the RL phase, our approach utilizes the Reward Model Rϕ to estimate the value of human preference for helpfulness, while the Cost Model Cψ for harmlessness. The LLM we are training is denoted as πθ(y|x). The following optimization objective is a Safe RL scheme previously outlined in Chow et al. (2017), hereby defined as the objective for our Safe RLHF setting:\nmaximize θ Ex∼D,y∼πθ(·|x) [Rϕ(y, x)] , s.t. Cψ(y, x) ≤ 0, ∀x ∼ D, y ∼ πθ(·|x), (9)\nwhere D is a distribution of prompts used in the RL phase, and the y = a1:T are responses generated by the LLM πθ. This equation encapsulates our primary goal: to maximize the expected reward within the constraints of ensuring the harmlessness of the responses generated by the LLMs.", "title": "Safe RLHF: Safe Reinforcement Learning from Human Feedback", "year": 2023 }
[ 0.03378142, -0.0017576229, 0.0387397, 0.0038814826, 0.0109182345, 0.015676182, 0.009434506, 0.039741375, -0.007312212, 0.05383992, 0.01854347, -0.0307764, -0.029098598, 0.0013021748, 0.023677044, -0.062654644, 0.049432557, -0.013535106, -0.0009069835, 0.04342252, -0.007894435, 0.01771709, 0.0074374215, 0.011281341, 0.020271355, -0.019294724, 0.05729569, 0.003368125, 0.005164876, 0.009421986, 0.04933239, -0.024540987, -0.05368967, 0.0018390089, -0.0055843266, 0.012602298, -0.0054966803, 0.04354773, -0.02899843, 0.03187824, -0.03257941, -0.04697846, 0.0077254022, 0.012057638, -0.019632788, 0.043998484, 0.016727937, 0.024365693, 0.012815153, 0.031352364, -0.033130333, 0.041970097, -0.030876568, 0.0050647086, -0.013209562, -0.0091277445, 0.05248766, 0.015576013, -0.001868746, -0.002594959, -0.006648604, -0.024115276, -0.027571047, 0.02296335, 0.012283014, -0.019582706, -0.095709845, 0.021498404, 0.006442009, 0.06455782, 0.013585188, -0.05429067, 0.061602883, -0.020033458, -0.03405688, 0.016439958, 0.04409865, 0.023226291, -0.0039910404, -0.010285929, -0.0077003604, -0.025029302, 0.015225428, -0.04860618, -0.01759188, -0.031677905, -0.06761292, 0.009447028, -0.037036855, -0.021097736, -0.035809807, -0.017892383, -0.036911648, 0.005944303, 0.008952452, -0.01978304, -0.00048518533, 0.0009367207, 0.08128576, 0.014198714, 0.022587724, -0.057195522, 0.041168757, -0.034557715, 0.009835176, 0.003364995, 0.018017592, 0.052287325, -0.037988447, -0.027045168, -0.050734732, -0.0042101564, -0.030576065, 0.024616111, 0.017404066, -0.062003553, -0.07953283, -0.01057391, 0.005950563, -0.021786386, -0.026043495, 0.0014414699, 0.040893298, -0.053389166, -0.016752979, 0.005455987, 0.039515994, -0.032203782, 0.016126934, -0.030601107, -0.0028719842, 0.031377405, -0.024979219, -0.018843971, -0.02639408, 0.0411938, -0.02691996, -0.023551835, -0.013910732, -0.030275565, 0.0074249003, -0.0181428, -0.06596016, 0.025968371, -0.026519291, -0.0056844936, -0.010630254, 0.0077629653, -0.023526793, 0.015400721, 0.00049731496, 0.0070242314, -0.02899843, 0.041869927, -0.035784766, -0.06235414, -0.026769709, 0.026844835, -0.004172594, -0.028347343, 0.02691996, 0.039390787, -0.022174533, -0.011494197, 0.0186812, 0.013973337, -0.008439094, 0.014123588, -0.04850601, 0.015576013, 0.009503372, 0.033405792, -0.038789783, -0.03555939, -0.030275565, -0.0061759395, -0.0065359157, -0.040442545, -0.005646931, 0.0021457712, -0.0063449717, 0.032804787, -0.02226218, -0.027821464, 0.001483728, 0.034232173, -0.057646275, -0.026945, -0.023476709, -0.018230448, -0.0167655, 0.002280371, 0.04136909, -0.0071118777, 0.01689071, -0.018468345, 0.015738785, 0.04272135, 0.030701274, -0.012934102, -0.03368125, 0.026995085, 0.018005071, -0.04495007, 0.03398175, 0.00452944, -0.044324026, 0.03255437, -0.055542763, -0.013059311, 0.016677855, 0.031302277, 0.046227206, 0.017303899, -0.04192001, 0.045851577, -0.011832261, 0.0011159262, 0.010066813, 0.009628581, -0.018217927, 0.0009774136, 0.05714544, 0.01168201, -0.052738078, -0.0025448753, 0.02404015, -0.030525982, 0.03328058, -0.05990004, 0.04084321, -0.012308056, -0.02927389, -0.058748115, -0.002308543, 0.017616922, -0.011800959, -0.001704409, 0.023977546, -0.0022302873, 0.010179501, 0.014323923, -0.008182416, -0.03225387, 0.028397428, 0.02884818, 0.017667007, -0.010148198, 0.014361485, -0.013372334, 0.0020409087, -0.008814721, 0.05509201, -0.051210526, -0.033756375, 0.00016697809, -0.02554266, -0.009672404, -0.029349016, -0.03328058, -0.024566028, 0.0035246366, 0.02872297, 0.03906524, 0.012207889, -0.0029001562, -0.04419882, -0.011162393, -0.024478381, 0.011638187, -0.017616922, 0.0013326945, -0.0238899, 0.016464999, -0.060250625, -0.034958385, 0.058297362, 0.057496026, -0.039741375, 0.0022772409, -0.058748115, -0.018105239, 0.07858124, -0.01811776, -0.008370229, 0.0293991, -0.0070680543, -0.009785092, -0.01716617, -0.028121967, -0.022775538, -0.028096925, 0.050609525, -0.048681304, 0.008921149, 0.021773865, -0.003724971, 0.0015901558, 0.004767337, 0.012752548, 0.017529275, 0.085142195, -0.032504287, -0.022838142, 0.0127650695, 0.008745857, -0.0074562025, -0.0058816983, 0.041544385, 0.025768036, 0.030175397, 0.016389873, 0.026218789, -0.0006342624, -0.012470827, -0.024616111, 0.04587662, -0.01222667, 0.009847697, -0.028873222, 0.0042790216, -0.012076419, 0.028197093, -0.0557431, 0.023389062, -0.039916664, -0.002209941, 0.024265526, -0.030025145, -0.02842247, 0.005070969, -0.014123588, 0.02485401, -0.039365746, -0.020133626, -0.049657933, -0.050659608, 0.010962058, 0.028247176, 0.013998379, -0.018242968, -0.025530139, -0.046778124, 0.015125261, -0.054340754, 0.0042226776, -0.011732094, -0.022299742, 0.037036855, 0.05644427, 0.00017744479, -0.0373624, 0.021435801, -0.035409138, -0.04489999, 0.024879051, -0.0064920927, -0.07557622, -0.012051377, 0.02406519, -0.0411938, 0.011331425, -0.015262991, -0.0069428454, 0.0031803115, 0.042671267, -0.023313938, 0.013171999, 0.010830589, -0.010680337, -0.00865821, 0.0059881257, -0.03368125, -0.0070492732, -0.027020127, 0.02444082, 0.011018402, -0.0070242314, 0.024140317, 0.0026387821, -0.026869876, -0.006654864, -0.03473301, -0.023614438, 0.027546005, 0.034257215, 0.008157373, -0.030200439, -0.007581412, -0.029549351, 0.050083645, -0.017641963, 0.0049019367, 0.0024556636, 0.014323923, -0.025254678, -0.016464999, 0.032629494, 0.07833082, 0.041143715, -0.017942466, -0.036310643, -0.07828074, 0.01756684, -0.02842247, 0.012195367, -0.017291378, 0.022788059, -0.016515082, 0.028121967, 0.037487607, -0.0071243984, 0.019182036, -0.035960056, 0.024490902, -0.04344756, 0.06345598, -0.042245556, 0.027120294, 0.026544333, -0.0033587345, -0.05609368, 0.0058754375, -0.011919907, 0.016502561, 0.01811776, 0.020283876, -0.018067675, -0.028121967, -0.038238864, 0.0040473845, 0.08719563, -0.016940793, -0.060250625, -0.02774634, 0.019131953, 0.010661556, -0.016502561, 0.0020299528, -0.023313938, 0.053739753, -0.016565166, -0.05058448, 0.026894918, -0.002238113, 0.017078523, -0.03255437, 0.008583085, -0.022374868, 0.006554697, -0.03876474, -0.0029158073, 0.04752938, 0.036986772, 0.012189107, -0.021273028, 0.041419175, -0.019808082, -0.0066736457, 0.045050237, 0.010667817, 0.03393167, 0.03145253, -0.0032585673, 0.017053481, 0.020897401, -0.00041866797, -0.010173241, -0.026619457, -0.001690323, -0.034106962, -0.03946591, 0.023464188, -0.009735009, -0.014436611, 0.007825569, -0.0050302763, -0.028923305, 0.068865016, 0.0049551507, 0.024578549, 0.017466672, 0.010755463, -0.030576065, 0.06115213, 0.07868141, 0.03696173, -0.03408192, -0.005725187, 0.020446649, 0.03681148, -0.035609473, 0.022612765, -0.01264612, -0.014499215, -0.024753843, 0.02265033, -0.00006196873, 0.041268922, 0.0064075766, -0.0023445406, 0.0076064537, -0.01841826, 0.01950758, 0.019194556, 0.033706293, 0.04091834, -0.009935344, -0.010066813, 0.032354034, -0.0050490573, 0.0063261907, -0.05784661, -0.011707053, -0.028372385, -0.0023101082, -0.01304679, -0.030676233, -0.028547678, 0.047479294, 0.039691288, 0.0019861297, -0.011550541, 0.010242105, 0.012239191, 0.009196609, -0.026594415, -0.029198766, -0.019732956, -0.055142093, -0.013798044, 0.023238812, 0.0065609575, 0.021911595, -0.030901609, -0.0031818766, -0.031026818, -0.023226291, -0.011049705, -0.02774634, 0.022487557, 0.0106991185, 0.01935733, -0.0040786867, 0.026694583, -0.020909922, -0.006717469, -0.015262991, 0.011081006, 0.013109394, 0.0470035, -0.03585989, -0.030275565, -0.024540987, -0.01633979, -0.01249587, -0.027971717, 0.0064357487, 0.00031439227, 0.041844886, -0.026293915, -0.006485832, -0.0091277445, 0.004714123, -0.054791506, 0.0023429755, 0.011556801, 0.015275512, -0.015150303, 0.008169895, -0.01359771, -0.01058017, 0.028923305, -0.038138695, 0.026669541, 0.0043604076, 0.019883208, -0.024152838, 0.02430309, 0.028697928, -0.03282983, -0.03257941, 0.0073247333, -0.011331425, -0.03363117, -0.026719624, -0.0071619614, 0.038914993, -0.060651295, 0.00015592447, 0.012145284, -0.005164876, 0.0022083758, 0.008576824, -0.058748115, -0.012245451, -0.0005579631, 0.0028610283, -0.0044355327, -0.019858165, 0.010767984, 0.030676233, 0.024528466, -0.019019265, -0.029649518, 0.03751265, -0.017491713, -0.001010281, 0.03871466, -0.002347671, -0.027571047, -0.020146146, 0.015350637, -0.010667817, -0.010404877, -0.019432455, 0.0238899, 0.012714986, 0.032729663, -0.01635231, -0.042245556, 0.017479192, 0.014186192, -0.026293915, 0.0026966913, -0.012664902, -0.0064357487, -0.011356466, -0.020158667, -0.018468345, -0.04958281, 0.003396297, 0.0014688594, -0.020221272, 0.0062635858, 0.012896539, 0.022136971, -0.027445838, -0.0030879697, -0.025768036, 0.008551783, 0.027445838, -0.030601107, -0.070818275, 0.017003398, 0.03285487, 0.012383182, -0.01896918, -0.01497501, -0.042771433, -0.030400774, -0.011287602, -0.008846024, -0.053088665, 0.016790543, 0.01497501, 0.0013381724, 0.033055205, 0.010567649, -0.0064357487, -0.024390735, 0.0029486746, -0.013309728, 0.024403255, 0.0034432507, 0.004588914, -0.015651138, 0.054190505, 0.0200585, -0.0143364435, -0.044073608, -0.008664471, 0.00728091, -0.005412164, -0.028647846, -0.047854923, 0.012245451, -0.007813049, -0.002101948, 0.010555129, -0.021761345, 0.02406519, -0.044173777, -0.05689502, -0.0069991895, 0.008188676, 0.02804684, -0.033556044, -0.013259646, 0.038965076, -0.014724592, -0.017641963, 0.024791405, -0.004645258, 0.009227912, 0.035008468, -0.018919097, 0.043497644, 0.0038501802, -0.05108532, -0.03117707, 0.00006416967, -0.0142988805, 0.0016871928, -0.017629443, -0.03954104, -0.041293968, 0.023639482, 0.038389113, 0.009497112, -0.008007123, -0.0012935667, -0.0077128815, 0.00521809, 0.014374007, 0.032729663, 0.024490902, -0.0039127846, 0.0005137487, -0.021761345, -0.03984154, 0.00316153, -0.03365621, 0.005809703, -0.025818119, 0.04242085, -0.031026818, 0.008101029, -0.027520964, -0.010843109, 0.025605263, -0.025254678, -0.010899453, 0.01140029, -0.0028375515, -0.008576824, -0.031778075, -0.006110205, -0.0027295586, -0.0040849475, 0.02405267, 0.016915752, -0.017892383, 0.021135299, 0.025379887, 0.020897401, 0.023451667, 0.0050772293, -0.016790543, -0.0076314956, -0.018581033, 0.010110636, -0.045701325, 0.035083592, 0.031427488, -0.009409465, 0.0011613145, 0.01841826, -0.01716617, 0.0011237517, 0.008257541, -0.0073435144, -0.007130659, 0.011112309, 0.012076419, -0.013009227, -0.006629823, -0.010267148, 0.021448322, -0.012577255, -0.010285929, -0.02142328, -0.010598952, 0.024778884, 0.035409138, -0.023965025, -0.001421906, -0.010793026, -0.004382319, 0.0032397858, -0.0047329045, -0.014323923, 0.040617835, -0.024290567, -0.03515872, 0.013384854, 0.004645258, 0.010392357, 0.008207457, -0.015914079, -0.009497112, 0.0063825347, -0.012589776, -0.024966698, -0.011707053, 0.010492524, -0.009171568, -0.084741525, -0.011312643, 0.031402446, -0.01607685, 0.0008162069, 0.006335581, -0.010724161, 0.008126072, -0.0100229895, -0.052938413, 0.005161746, -0.0031098814, 0.013547626, 0.008545522, 0.0030128444, -0.056794856, 0.006210372, -0.0011229692, 0.033430833, -0.000590048, -0.019019265, -0.029449183, -0.0010556694, 0.03946591, -0.012439526, -0.018343136, -0.012245451, 0.023138644, -0.0067487713, 0.008958712, -0.00018693329, -0.03723719, 0.009140265, 0.010329752, -0.041394133, -0.024165358, 0.0027655563, -0.015763827, -0.025354845, 0.047228877, 0.024816446, -0.020396564, 0.0359851, -0.025742995, 0.013610231, -0.021648657, -0.016439958, -0.012946622, 0.008833503, -0.022312265, 0.009415725, 0.012420744, 0.0038908732, -0.04437411, -0.008169895, 0.037888277, 0.012182847, 0.042220514, -0.02787155, -0.021899074, -0.016590208, 0.032504287, 0.01113735, -0.026018454, -0.007487505, 0.012439526, -0.010242105, 0.022136971, -0.035359055, -0.045551077, -0.0044574444, 0.0013350422, -0.015025093, 0.064056985, 0.02117286, 0.008551783, 0.0062416745, 0.059299037, 0.012671162, 0.029374057, 0.041394133, -0.04342252, 0.015851473, 0.018092716, -0.011199955, 0.03518376, 0.035233844, 0.027420796, -0.009979166, 0.0030676234, -0.0024212312, -0.02171126, 0.017391546, -0.0031709208, 0.024778884, -0.022199577, -0.011750875, -0.0077003604, 0.0055718054, -0.0068927617, 0.038539365, 0.00013704528, -0.011024662, -0.005286955, 0.006880241, 0.006410707, -0.0036248039, 0.027796423, 0.034707967, 0.0113940295, -0.0028250306, 0.019582706, -0.016177017, 0.02226218, -0.009277996, 0.01345998, -0.008752117, 0.023126123, 0.027771382, 0.016227102, 0.0021614223, 0.034006797, 0.0031208373, 0.033606127, -0.0090714, -0.03623552, 0.011318904, 0.013672835, -0.021748822, -0.014173672, 0.031978406, 0.0066173016, 0.0034526414, -0.0060382094, -0.053389166, 0.032504287, 0.05148599, -0.013622751, -0.028672887, -0.0039628684, 0.017341463, 0.034282256, 0.012201628, -0.0020283877, -0.023539314, 0.03831399, 0.030450856, -0.01771709, -0.0059317816, 0.0072746496, 0.008539261, -0.0100605525, 0.01744163, 0.0029017213, 0.011043444, 0.022136971, 0.034833174, -0.024127796, -0.0042633703, -0.0024102754, 0.0084703965, 0.03984154, -0.041293968, -0.0026278263, 0.02088488, -0.030125313, -0.01263986, 0.0020549947, 0.0067550316, -0.023326458, -0.021874033, -0.063255645, -0.004908197, -0.013547626, 0.010129417, 0.023614438, -0.0068301572, 0.05754611, 0.010755463, 0.027320629, 0.002031518, 0.033005122, -0.0032397858, -0.033030163, 0.037137024, 0.0068364176, -0.0077003604, -0.021047652, 0.023702085, 0.008695773, 0.019983375, -0.005346429, -0.006936585, 0.05759619, 0.023126123, -0.03378142, -0.03117707, 0.028372385, -0.031427488, -0.058147114, -0.074975215, 0.071619615, 0.014874843, 0.0059067397, -0.0061508976, -0.008075988, 0.005096011, -0.018293051, -0.012740027, 0.029298933, 0.019707914, -0.018242968, -0.030300606, 0.023251332, 0.01950758, -0.032779746, 0.0024885312, -0.0098414365, -0.027721297, -0.024253005, -0.0056124986, -0.027996758, 0.015325596, 0.013685356, 0.002280371, -0.025429972, -0.0052274805, 0.0115943635, 0.008451615, 0.00948459, 0.01319704, -0.016101891, -0.0030989256, -0.014824759, -0.04204522, -0.020258835, 0.0076565375, -0.010198282, 0.018919097, 0.01936985, 0.027671214, 0.005759619, -0.043172102, -0.018743804, 0.036736354, 0.00700545, 0.03558443, 0.028121967, -0.044298984, -0.047479294, -0.016778022, -0.001277133, 0.010386096, 0.004501268, -0.0017419718, -0.017516755, 0.030425815, 0.038639534, 0.041544385, 0.018255489, -0.036861565, 0.01304679, 0.00879594, 0.00031126203, -0.018493386, -0.03408192, -0.010461221, 0.020108584, 0.004438663, -0.020096064, -0.012946622, 0.016452478, -0.009240433, 0.025630306, -0.012802632, 0.024616111, 0.028823137, 0.011938689, 0.010811807, -0.0074624633, -0.026419124, -0.025968371, -0.02446586, 0.0071243984, 0.02486653, 0.02404015, 0.045100324, -0.014060983, 0.012007554, 0.026193747, 0.022587724, 0.028121967, 0.00035860672, -0.005096011, 0.006279237, -0.025517618, 0.026118621, -0.018017592, 0.017554319, 0.017804736, 0.036736354, 0.02265033, 0.008138592, 0.007825569, 0.021485884, 0.011018402, -0.0025855682, -0.004880025, 0.018743804, -0.016515082, -0.022162013, -0.022587724, 0.022424953, 0.019670352, 0.003765664, -0.023138644, -0.01029845, -0.02872297, -0.010548868, -0.046652917, 0.008132332, -0.008708294, 0.0011174914, -0.004228938, -0.035609473, -0.0044981376, -0.0061822, -0.014173672, 0.007130659, 0.019444976, -0.0018217926, 0.03513368, -0.017366504, 0.0016042418, -0.021473363, -0.004695342, -0.045450907, -0.011544281, -0.012740027, -0.016740458, 0.027270544, -0.013785523, 0.030275565, 0.018105239, -0.011707053, 0.012596037, -0.018718762, -0.025254678, -0.024403255, -0.00521809, 0.051886655, 0.007894435, -0.015588535, 0.0034432507, -0.03298008, 0.023589397, -0.005027146, 0.0071870033, -0.020709587, 0.00091559166, -0.0021770734, -0.0017059742, -0.01195121, 0.017466672, 0.014261318, -0.010993361, -0.009810134, 0.048455928, 0.022537641, 0.02884818, 0.005787791, -0.012790111, -0.014574341, -0.024490902, 0.02102261, 0.023101082, -0.023777211, 0.027370712, 0.03475805, 0.022136971, 0.0109871, 0.009591018, -0.033881586, 0.017141128, -0.03656106, -0.0028359864, -0.0147746755, 0.024515944, 0.02045917, 0.00673625, 0.005728317, -0.0147746755, 0.009246693, -0.0019814342, -0.016953314, 0.017616922, -0.0076064537, -0.013209562, 0.026594415, 0.024979219, 0.03570964, -0.013009227, 0.016227102, 0.00073912507, 0.0016824974, -0.008476657, -0.016840626, 0.01964531, 0.022086889, 0.03325554, -0.029424142, 0.010692858, -0.017491713, -0.005947433, 0.0033180416, -0.0014923362, 0.012170326, 0.025968371, -0.026268872, 0.019282203, -0.0127462875, 0.0037719246, 0.00003095991, -0.0072621284, -0.0033837764, 0.037036855, -0.01168201, 0.023965025, -0.03530897, 0.029799769, 0.026118621, 0.03242916, -0.029874895, -0.027796423, -0.009816394, 0.020559337, 0.017091043, 0.031152027, -0.021523446, 0.020384043, -0.026318956, 0.029349016, 0.0689151, 0.003762534, -0.02390242, 0.0026794751, 0.018480865, 0.04091834, 0.020221272, -0.010567649, -0.005646931, -0.03230395, 0.02117286, 0.015025093, -0.06866468, -0.0073435144, -0.022687891, 0.010617733, 0.0332305, 0.001951697, -0.01428636, -0.039240535, -0.0071118777, 0.020897401, -0.011926168, -0.000094591574, -0.027395753, 0.00007395163, 0.014611904, -0.01577635, -0.006548437, -0.014624424, 0.012996706, 0.023439147, -0.017466672, 0.0067800735, -0.010805546, -0.009265474, 0.04344756, 0.023251332, -0.03147757, 0.010091854, -0.0034150786, 0.0036248039, 0.0014759024, 0.016039288, -0.020396564, -0.04520049, 0.012201628, -0.0019313506, 0.014361485, -0.0052400013, -0.0034150786, 0.014449132, -0.02157353, -0.006003777, 0.0159266, -0.006141507, 0.019883208, -0.0038564408, -0.020634461, 0.024879051, -0.028121967, 0.044349067, -0.00031850068, 0.030400774, -0.014035942, -0.00032515242, 0.012295535, -0.010686598, 0.030901609, -0.011525499, 0.006072642, 0.022449994, 0.056143768, -0.0028907654, 0.004551351, -0.0118510425, 0.011638187, 0.0020096062, -0.032103617, -0.008764638, 0.028372385, -0.034432508, 0.01112483, -0.030576065, -0.01826801, 0.017116087, 0.0079633, 0.015425763, -0.013823086, -0.012589776, 0.010686598, -0.004961411, 0.011156132, 0.004685951, 0.015275512, 0.00086942076, 0.008939931, -0.035384096, 0.0026419123, -0.0016590208, 0.023689564, 0.0071932636, -0.013510063, 0.030726317, 0.012383182, -0.008257541, 0.034432508, 0.022349827, -0.01359771, -0.009052619, -0.0016527603, 0.02569291, -0.011049705, -0.026043495, 0.0021097735, 0.00053096487, 0.004385449, -0.00092733, 0.011444113, -0.006226023, -0.00083342317, 0.018455824, 0.025354845, 0.050334062, 0.011663229, -0.01662777, -0.036335684, -0.008708294, -0.033130333, 0.0013256515, 0.011300122, 0.013672835, 0.011625666, 0.013247124, 0.018643636, -0.012113982, -0.016364831, 0.008363969, 0.03818878, -0.045576118, -0.0069678873, 0.029649518, 0.012564735, 0.0009899345, -0.008758377, -0.008307625, -0.022975873, 0.019031785, -0.038664576, 0.03478309, 0.0027812074, -0.017954987, -0.025179552, 0.07557622, -0.0020784712, 0.029649518, -0.066260666, 0.026669541, -0.0005489637, 0.006279237, -0.025505096, -0.017278858, 0.048055258, -0.04710367, 0.007017971, -0.0018202275, -0.011819741, 0.033831503, -0.0056813634, -0.013798044, 0.007525068, 0.003214744, -0.004973932, 0.008827242, -0.021460842, 0.004588914, 0.014035942, -0.017929945, 0.004357277, 0.0008819417, -0.0012098331, -0.0093406, -0.009021317, 0.0057752705, -0.00879594, -0.009309297, 0.009547195, -0.021260507, 0.02156101, 0.007719142, -0.026343998, -0.010836849, 0.007888175, 0.019457497, -0.0060100374, -0.031026818, -0.004908197, 0.0049520205, -0.051260613, 0.018305572, 0.027020127, -0.017203731, 0.0028078144, -0.00398791, 0.017641963, 0.012671162, 0.021623613, 0.018380698, 0.0012090505, -0.0034275996, 0.021773865, 0.020797234, 0.03681148, 0.0051054014, -0.02952431, 0.026369039, 0.0019892599, 0.028397428, 0.0011965296, -0.0023523662, 0.02584316, 0.018530948, 0.018480865, 0.009528413, 0.019795561, -0.017804736, -0.03513368, 0.013021748, -0.0038032269, -0.023702085, -0.006761292, 0.028873222, 0.045075282, -0.0066986876, 0.0077066207, 0.00047579463, 0.01880641, 0.0024353173, -0.022237139, 0.026143663, 0.010692858, 0.026970044, -0.034307297, 0.01497501, 0.00070273614, -0.0030911, 0.021310592, -0.008476657, -0.044449236, 0.0247288, -0.005972475, 0.0036467155, 0.0027217332, 0.011494197, 0.009597278, 0.026018454, 0.011782178, 0.00047696847, 0.03335571, 0.04379815, 0.0079633, -0.0037687942, 0.0100605525, -0.023101082, 0.014236276, -0.03555939, -0.034682926, -0.010141938, -0.040692963, 0.0028406817, 0.013510063, 0.006085163, 0.0013585188, 0.013823086, -0.024140317, 0.004751686, 0.026343998, -0.013397375, 0.01993329, 0.039691288, -0.0011174914, -0.016740458, 0.0021661178, -0.020096064, -0.015651138, -0.015500888, -0.001181661, -0.016051808, -0.0048424625, -0.031702947, 0.021185381, -0.035684597, 0.0039785197, 0.00007698404, -0.012633599, 0.020734629, -0.00034647709 ]
2310.12397
21
Edge hallucinations are more common than vertex. Essentially, typical behavior is to pick two vertices that are the same color in the coloring, but which aren’t associated by an edge in the graph description, and claim that they are connected and thus illegally colored. Vertex color hallucination is when the reverse happens: instead of ascribing an edge to same-color nodes, the colorings of two connected vertices are misstated. The overlap between the two cases, where a non-existent edge is declared to be violated by non-existent colorings is much rarer than either. Note that it never hallucinates new vertex names, only that vertices which are in graph have colors differing from reality. Even rarer cases did spring up in the response data. At times the model lost track of the question being asked and reversed it, explicitly claiming that two same-colored vertices violate the conditions because they aren’t connected; or it began to contradict itself mid-deduction, making multiple claims about a vertex’s color. We relegate these examples to the appendix. Our overall conclusion is that, despite the common-sense nature of this domain, the LLM’s verification powers are surprisingly weak. 7 # Inside the Backprompt Chain
2310.12397#21
GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems
There has been considerable divergence of opinion on the reasoning abilities of Large Language Models (LLMs). While the initial optimism that reasoning might emerge automatically with scale has been tempered thanks to a slew of counterexamples, a wide spread belief in their iterative self-critique capabilities persists. In this paper, we set out to systematically investigate the effectiveness of iterative prompting of LLMs in the context of Graph Coloring, a canonical NP-complete reasoning problem that is related to propositional satisfiability as well as practical problems like scheduling and allocation. We present a principled empirical study of the performance of GPT4 in solving graph coloring instances or verifying the correctness of candidate colorings. In iterative modes, we experiment with the model critiquing its own answers and an external correct reasoner verifying proposed solutions. In both cases, we analyze whether the content of the criticisms actually affects bottom line performance. The study seems to indicate that (i) LLMs are bad at solving graph coloring instances (ii) they are no better at verifying a solution--and thus are not effective in iterative modes with LLMs critiquing LLM-generated solutions (iii) the correctness and content of the criticisms--whether by LLMs or external solvers--seems largely irrelevant to the performance of iterative prompting. We show that the observed increase in effectiveness is largely due to the correct solution being fortuitously present in the top-k completions of the prompt (and being recognized as such by an external verifier). Our results thus call into question claims about the self-critiquing capabilities of state of the art LLMs.
http://arxiv.org/pdf/2310.12397
Kaya Stechly, Matthew Marquez, Subbarao Kambhampati
cs.AI
18 pages, 3 figures
null
cs.AI
20231019
20231019
[ { "id": "2206.10498" }, { "id": "2306.03872" }, { "id": "2303.11366" } ]
{ "authors": "Kaya Stechly, Matthew Marquez, Subbarao Kambhampati", "chunk_id": 21, "doc_id": "2310.12397", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12397", "summary": "There has been considerable divergence of opinion on the reasoning abilities\nof Large Language Models (LLMs). While the initial optimism that reasoning\nmight emerge automatically with scale has been tempered thanks to a slew of\ncounterexamples, a wide spread belief in their iterative self-critique\ncapabilities persists. In this paper, we set out to systematically investigate\nthe effectiveness of iterative prompting of LLMs in the context of Graph\nColoring, a canonical NP-complete reasoning problem that is related to\npropositional satisfiability as well as practical problems like scheduling and\nallocation. We present a principled empirical study of the performance of GPT4\nin solving graph coloring instances or verifying the correctness of candidate\ncolorings. In iterative modes, we experiment with the model critiquing its own\nanswers and an external correct reasoner verifying proposed solutions. In both\ncases, we analyze whether the content of the criticisms actually affects bottom\nline performance. The study seems to indicate that (i) LLMs are bad at solving\ngraph coloring instances (ii) they are no better at verifying a solution--and\nthus are not effective in iterative modes with LLMs critiquing LLM-generated\nsolutions (iii) the correctness and content of the criticisms--whether by LLMs\nor external solvers--seems largely irrelevant to the performance of iterative\nprompting. We show that the observed increase in effectiveness is largely due\nto the correct solution being fortuitously present in the top-k completions of\nthe prompt (and being recognized as such by an external verifier). Our results\nthus call into question claims about the self-critiquing capabilities of state\nof the art LLMs.", "text": "Edge hallucinations are more common than vertex. Essentially, typical behavior is to pick two vertices that are the same color in the coloring, but which aren’t associated by an edge in the graph description, and claim that they are connected and thus illegally colored. Vertex color hallucination is when the reverse happens: instead of ascribing an edge to same-color nodes, the colorings of two connected vertices are misstated. The overlap between the two cases, where a non-existent edge is declared to be violated by non-existent colorings is much rarer than either. Note that it never hallucinates new vertex names, only that vertices which are in graph have colors differing from reality.\nEven rarer cases did spring up in the response data. At times the model lost track of the question being asked and reversed it, explicitly claiming that two same-colored vertices violate the conditions because they aren’t connected; or it began to contradict itself mid-deduction, making multiple claims about a vertex’s color. We relegate these examples to the appendix.\nOur overall conclusion is that, despite the common-sense nature of this domain, the LLM’s verification powers are surprisingly weak.\n7\n# Inside the Backprompt Chain", "title": "GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems", "year": 2023 }
[ -0.01463902, -0.012408173, -0.0022454273, 0.0284761, -0.011854107, 0.01654909, 0.015426377, 0.025589123, 0.0023894117, 0.047358103, 0.029817525, -0.016636575, 0.00983468, 0.05126573, -0.02678474, -0.014201598, 0.04033021, -0.01587838, -0.050915793, 0.012721658, -0.016403284, 0.026726417, 0.053656965, 0.046133325, 0.010075262, 0.007596543, 0.028315714, -0.018386258, 0.023168728, 0.005190728, 0.039426204, -0.019494392, -0.016913608, -0.052636314, -0.024524732, 0.055173356, 0.0004014248, -0.01799258, 0.0008115069, 0.026872223, 0.018998647, 0.014084953, -0.010250229, 0.012291527, 0.021098267, 0.022104336, -0.016476188, -0.0053547607, -0.03750155, 0.045462612, -0.018532066, 0.027470032, 0.0041955956, 0.017263545, -0.047562234, -0.010534554, -0.021069108, 0.01927568, 0.0012129317, -0.012532108, 0.032544114, -0.035460256, -0.025195444, 0.037443228, -0.032106694, -0.010439779, -0.025414154, -0.012029075, 0.05246135, 0.0398053, -0.016592832, 0.05164483, 0.012451915, 0.034672897, -0.007089864, 0.024801765, 0.041584145, 0.022308467, -0.0008124182, -0.0063936356, 0.018065482, 0.0131955305, -0.004578339, -0.0111177815, -0.0046111452, 0.0020321845, 0.008952548, -0.023606148, -0.043596283, -0.04245899, 0.05666059, -0.015265989, -0.010301262, -0.05651478, 0.03455625, 0.07197032, 0.0068820887, 0.0065029906, -0.01923194, -0.0015391748, -0.026391061, -0.015018118, 0.028286552, -0.021214914, 0.05228638, 0.008529708, 0.004250273, 0.023372857, 0.027557516, 0.0074543813, -0.03362309, -0.033360634, -0.029555073, 0.013261144, 0.027032612, -0.04044685, -0.039251234, -0.04995347, 0.032777406, -0.028213648, 0.0041773696, -0.009331646, 0.01129275, -0.049457725, -0.019290261, 0.015076441, 0.036714196, -0.04520016, 0.009229581, -0.04522932, 0.016067928, 0.010680361, 0.044033702, 0.017015673, -0.048320428, 0.025151702, -0.031056885, -0.008959838, -0.013312176, 0.0062879254, -0.022658402, -0.013662113, 0.011533331, 0.017336449, 0.034585413, 0.059664212, -0.012583141, 0.060364086, 0.022046013, 0.02761584, -0.023547824, 0.044850223, -0.019756844, 0.010993846, -0.031027723, -0.042808924, 0.034643736, -0.0372391, -0.022847952, -0.0014006582, 0.016009605, 0.017613482, 0.06689624, -0.004771533, -0.0034592703, 0.016476188, -0.0510616, 0.02324163, -0.039280396, -0.05228638, -0.012189463, 0.0037836907, -0.020762913, -0.00920771, 0.016899027, -0.021229494, -0.02615777, -0.031552628, 0.05146986, -0.02535583, -0.008770289, 0.04543345, 0.018225871, 0.022323046, -0.020325491, -0.030007074, -0.020660847, 0.01361108, -0.04750391, -0.023052081, -0.04353796, 0.02866565, 0.030940238, 0.020748332, 0.0014225292, -0.06147222, 0.041380018, 0.021521108, 0.016665736, -0.019786006, -0.02451015, 0.006430087, 0.05459013, -0.02720758, 0.0023237986, 0.03426464, 0.036276773, 0.0012457382, 0.019436069, 0.01634496, 0.031465143, -0.011416686, 0.03659755, 0.015980443, -0.0092222905, -0.034410443, -0.036276773, -0.00512876, 0.009667002, 0.030211203, -0.052636314, 0.0619388, 0.03161095, 0.008442223, -0.049078625, 0.02219182, 0.043858737, -0.044004545, 0.004578339, 0.020967042, 0.0072903484, -0.03452709, -0.013443402, -0.075411364, 0.010826168, -0.024845507, 0.00064701843, 0.02994875, -0.023606148, 0.0051105344, -0.014770246, -0.021025365, 0.013822501, -0.04703733, -0.0100461, 0.010782425, -0.023095824, 0.019334003, 0.008310997, 0.01528057, -0.019990135, 0.07873576, -0.05214057, -0.0013596499, -0.034002185, 0.013961017, 0.00003816042, -0.048232947, -0.0010844393, -0.022658402, 0.027251322, 0.013042433, -0.057360463, 0.01297682, -0.029846687, 0.01381521, 0.042254858, -0.021477366, -0.043421313, -0.011132362, -0.00596715, 0.0034446896, 0.043042216, -0.036101807, 0.013530887, -0.054910906, 0.02910307, 0.03394386, 0.033564765, 0.032573275, -0.010519973, 0.0431297, 0.03893046, 0.0050303405, -0.018400839, 0.014748375, -0.0468332, 0.028505262, -0.0027448162, -0.04560842, 0.011686428, -0.024947572, 0.005562536, 0.04563758, 0.006032763, -0.005019405, 0.012524818, 0.015032698, 0.040301047, -0.02070459, 0.045171, 0.03750155, 0.022498015, 0.03977614, 0.007180993, 0.022089755, 0.044908546, 0.026070286, -0.0035522222, -0.01296953, -0.0053547607, -0.028271971, 0.03120269, 0.01338508, -0.026711836, -0.072728515, 0.006069215, 0.043683767, 0.01443489, -0.015761733, 0.03035701, -0.0560482, 0.030211203, -0.015091022, -0.05132405, -0.028053261, -0.02994875, -0.0037691102, 0.027819969, -0.041904923, -0.023926923, -0.03219418, -0.007705898, 0.0149597945, 0.035722706, -0.0342938, -0.021302398, 0.024655959, 0.010738683, -0.004603855, -0.08101035, 0.005671891, 0.053861093, 0.0005126026, -0.08083538, 0.029467588, 0.0031129788, 0.02114201, 0.005296438, 0.0152368285, -0.048466235, -0.05666059, 0.0030036236, -0.017628063, 0.03035701, -0.016184574, -0.03219418, 0.016476188, -0.014361986, 0.029219717, 0.016534511, -0.016184574, 0.004392435, 0.06281364, -0.045491774, 0.0309694, -0.041175887, 0.019844329, 0.054502644, 0.006780024, -0.036539227, -0.02531209, -0.025049636, -0.0054677613, -0.00858074, -0.002219911, -0.0094628725, -0.02070459, -0.0056974073, 0.050128434, -0.014748375, -0.054123547, -0.01904239, -0.012663336, 0.019538134, -0.013982888, -0.00963784, -0.023679052, -0.100081906, -0.020981623, -0.0051943734, -0.053423673, -0.050332565, 0.01128546, 0.02866565, -0.00857345, 0.013239273, 0.022702144, 0.021579431, 0.069520764, 0.023504084, -0.030911077, -0.023095824, -0.0022144434, 0.007727769, 0.031319335, 0.018634131, 0.0123133985, 0.015426377, 0.012101978, 0.033185665, -0.02535583, -0.0111542335, 0.019946393, -0.034906186, -0.03470206, 0.08853399, -0.03368141, 0.026026543, 0.04432532, 0.039280396, 0.00083793444, -0.043771252, -0.0038274329, -0.018954907, 0.0018481034, -0.024335183, 0.0015173038, 0.07086219, -0.061238926, -0.049224433, 0.040096916, 0.03563522, 0.016024185, 0.058118656, -0.07891073, 0.0014334647, -0.032748245, -0.019567296, -0.04648326, -0.00575573, -0.057010524, -0.0037618198, -0.012123849, 0.00293072, 0.014551535, -0.033856377, -0.05791453, 0.05978086, -0.03076527, 0.004512726, -0.016140832, -0.00071354286, 0.03563522, -0.010614747, -0.016826125, 0.04038853, 0.02052962, -0.012940369, -0.0035467546, -0.02888436, -0.0018380791, -0.035226963, 0.0330107, 0.02865107, -0.008099577, -0.024320602, -0.0015391748, 0.055581614, 0.012029075, -0.033360634, -0.010009648, 0.10748889, -0.047853846, 0.008245384, 0.012269656, 0.0140412105, -0.021098267, 0.06642965, -0.0050558564, 0.032310825, 0.009761777, 0.024568474, 0.005314664, 0.035693545, 0.060947314, -0.027892873, -0.011752042, -0.017628063, 0.055727422, -0.06007247, -0.046541583, -0.024597635, -0.017861353, 0.023766536, 0.03175676, 0.011212556, -0.013275725, 0.03513948, -0.013647532, 0.013027852, -0.02948217, -0.022891695, 0.02784913, 0.016242895, 0.025239186, 0.029700879, 0.029394684, -0.024539312, 0.05803117, 0.022891695, 0.029423846, 0.0052271797, -0.013377789, -0.023985246, 0.004476274, -0.022731306, 0.028388616, -0.010534554, 0.0076475753, 0.013115337, -0.013465273, -0.031640112, -0.01717606, 0.0050121145, -0.011868687, -0.036539227, -0.032544114, -0.02325621, -0.025778672, 0.0059270533, -0.027178418, 0.015047279, -0.031552628, -0.021652335, 0.0043559833, -0.022250144, -0.032165017, 0.0025461542, -0.009783648, 0.022745887, 0.032806568, 0.020004716, 0.04295473, -0.0010680361, -0.006626927, 0.02176898, 0.018313356, 0.013268434, 0.031552628, 0.00607286, -0.023591567, -0.03120269, -0.008719257, -0.010279391, 0.029453008, -0.014507793, -0.0070278957, -0.0140047595, 0.0035904965, -0.001074415, 0.0055807615, 0.020500459, -0.00690396, -0.028840618, 0.029613394, 0.018342517, 0.049516045, 0.015470119, 0.01675322, 0.008609901, -0.022337627, 0.018809099, -0.036101807, 0.021448204, -0.03035701, 0.02973004, 0.052519668, -0.005311019, -0.017861353, -0.0401844, -0.049078625, 0.008289126, 0.029744621, -0.051761474, -0.0066816043, -0.029380104, -0.03266076, -0.0133048855, -0.01945065, -0.018532066, -0.024524732, -0.023781117, 0.0058942465, 0.0050558564, -0.0065576686, 0.046133325, -0.008697386, -0.003526706, -0.0046330164, 0.02529751, 0.017540578, -0.012648755, -0.039601173, 0.003045543, 0.013909984, -0.016913608, 0.011037587, 0.03368141, 0.021739818, -0.008391191, 0.015601345, -0.003765465, 0.0029853976, -0.014536954, 0.020354653, -0.0027448162, -0.032135855, 0.028826037, -0.02700345, -0.0029234297, 0.03309818, 0.003566803, -0.014099534, 0.009659711, -0.0070825736, 0.015134763, -0.020471299, 0.0087994505, -0.029569654, -0.042342342, -0.044616934, 0.03537277, -0.0049246303, -0.006863863, 0.010199198, -0.012189463, 0.02468512, 0.023897761, -0.008981709, 0.040038593, -0.03910543, -0.031931724, -0.010279391, -0.04082595, -0.041175887, 0.022847952, 0.0116499765, -0.029205136, -0.022323046, -0.013436112, -0.01695735, 0.043071378, 0.015674248, -0.013778758, -0.021871045, -0.024758022, -0.0074726073, -0.01088449, 0.026288996, 0.01338508, -0.034147993, -0.005526084, 0.0047205007, -0.0081579, -0.011773912, 0.022308467, 0.010221069, -0.018692452, 0.0153097315, 0.0014052147, 0.030094558, 0.020850396, 0.018765356, -0.011270879, 0.027178418, -0.0154847, 0.0030783496, 0.0015810943, -0.012204044, 0.04330467, 0.004560113, -0.028009519, -0.022439692, 0.044937707, 0.037968133, 0.027878292, 0.007297639, -0.014223469, 0.0056974073, -0.0103085525, 0.029175974, 0.0073741875, -0.029350942, -0.018794518, -0.010782425, -0.014894182, -0.0028304777, -0.012444625, -0.049399402, 0.017686386, -0.019727683, -0.0018380791, -0.029190555, 0.016665736, -0.05794369, 0.011635396, 0.03327315, 0.0072903484, -0.024932992, -0.019421488, 0.0111177815, -0.019829748, -0.0063498933, -0.01673864, 0.00018556215, -0.029219717, -0.03362309, 0.007837124, -0.031523466, -0.011219846, 0.031115206, -0.050303403, -0.018517485, -0.008216223, 0.018488323, -0.050682504, -0.0027575742, 0.017278126, -0.014471342, -0.032719083, -0.014580697, 0.021302398, -0.009652421, 0.02133156, 0.05021592, 0.01654909, -0.0000108429695, -0.010585586, -0.023358276, -0.01318095, -0.008493256, 0.0031056884, -0.032981537, 0.010716812, 0.04525848, -0.007494478, -0.021827303, -0.05864356, 0.018663293, 0.014135986, 0.014901472, -0.042138215, -0.013115337, -0.03849304, -0.0061384733, 0.043421313, -0.020500459, -0.007815254, 0.006761798, 0.008434933, -0.015528442, -0.020558782, 0.025778672, 0.017496835, -0.008121448, -0.009965906, -0.024145633, -0.008624482, -0.0011919719, 0.032602437, -0.0043997252, 0.022920854, 0.032573275, 0.01694277, 0.0059963115, 0.025603704, -0.03683084, 0.014303664, -0.019581875, 0.0047642426, 0.0041518533, -0.024378926, -0.029059328, -0.022148078, 0.054240193, 0.0034410444, -0.009426421, -0.0069440566, -0.026493127, -0.041554987, -0.025574543, 0.0046548876, -0.020135943, -0.003262431, -0.010228359, -0.0028450585, -0.10323133, 0.02722216, 0.04103008, -0.018677872, 0.023270791, 0.02784913, 0.05835195, -0.01150417, 0.027936615, 0.0044872095, -0.0014462229, -0.007764221, -0.00722109, -0.018517485, 0.013975598, -0.034643736, -0.017744709, 0.0012803675, -0.009929455, -0.0045090807, -0.009659711, 0.0017843128, 0.003473851, -0.01298411, 0.0070643476, 0.019727683, -0.0438879, -0.003430109, 0.0075892527, -0.004213821, 0.006954992, -0.026391061, -0.018984066, -0.012357141, -0.025443316, -0.01673864, 0.0076475753, -0.0047168555, -0.03327315, -0.008026673, 0.013735016, -0.0046366616, 0.00025994648, 0.009681582, 0.0044945, -0.014033921, -0.0043596285, 0.0015419087, -0.0036579324, -0.028971845, -0.032952376, -0.00041281598, 0.02071917, 0.0027284129, 0.01025752, 0.017336449, 0.006758153, -0.008981709, -0.036335096, 0.012109268, -0.011679138, 0.015076441, 0.01401205, -0.006262409, 0.0039951107, -0.03659755, -0.007698608, 0.02973004, 0.020223426, 0.0004073482, -0.0022782339, 0.007330445, 0.014172438, -0.0050595016, -0.012036365, 0.015003537, 0.019800587, 0.004520016, -0.020223426, 0.037764005, -0.0025443316, 0.020427557, 0.006524862, 0.029161394, 0.005752085, 0.01656367, 0.0398053, -0.025399573, -0.040126078, 0.017773869, 0.018779937, -0.006743572, -0.034410443, 0.024641378, 0.03283573, 0.008478675, 0.00034355768, -0.027134677, 0.03720994, -0.020602524, -0.018050903, 0.00836203, -0.0152368285, -0.037705682, 0.0056974073, -0.0033973022, 0.00027794452, -0.0051433407, -0.005187083, -0.004727791, 0.007155477, 0.006776379, -0.007574672, -0.029657137, -0.027455453, -0.00036155572, 0.029671717, -0.017482255, 0.022264725, -0.0071226703, 0.0058031175, 0.028855199, -0.012364431, 0.0010297617, -0.012298818, -0.009069193, 0.010053391, -0.007829834, -0.035401933, 0.008777579, -0.040650982, 0.006400926, -0.018721614, -0.0072466065, -0.0013377789, -0.01713232, -0.0014079486, 0.019931812, 0.007640285, 0.014055791, 0.02404357, 0.0045017903, 0.030531978, -0.011336491, -0.040476013, -0.0076038335, 0.004953792, -0.05817698, -0.0071664127, -0.023095824, 0.007075283, 0.015528442, -0.0056864717, 0.007756931, 0.021083688, 0.044237833, 0.006885734, -0.016155412, 0.04963269, 0.037968133, 0.005653665, -0.00224725, -0.004727791, 0.0024131052, -0.006342603, 0.017394772, 0.00025015007, 0.00836203, -0.027951196, 0.042983893, -0.04712481, -0.04140918, -0.0018453695, -0.009156678, 0.0318734, 0.05864356, 0.00172599, -0.010330424, 0.03283573, 0.001130004, -0.019742263, 0.0040279175, -0.013348628, 0.013487144, 0.027076354, -0.0050303405, 0.028607327, -0.018138386, 0.029686298, -0.0027958485, -0.004749662, 0.045900032, 0.01697193, 0.006196796, 0.025545381, -0.014580697, -0.02382486, 0.026405642, -0.011125072, 0.008354739, 0.025064217, 0.017380191, -0.013173659, -0.02429144, 0.0013168192, 0.026274415, -0.0057010525, -0.01380792, -0.031844243, 0.018736195, -0.026653513, 0.012415463, -0.010731393, 0.008063125, 0.03222334, 0.011861397, 0.001505457, -0.010272101, -0.031086046, -0.00064701843, -0.002939833, -0.013997469, -0.00659412, 0.03204837, -0.017059416, -0.012451915, -0.017438514, 0.009725325, -0.015368055, 0.0018599501, 0.028913522, -0.035256125, -0.000008315554, -0.011110491, -0.060597375, 0.031494305, -0.012430044, -0.02093788, -0.0036980293, 0.013953727, -0.029832106, -0.011037587, -0.02029633, 0.012867465, -0.005507858, -0.037559874, -0.0048808884, -0.017905096, -0.031231852, 0.016913608, -0.021185752, -0.00429766, 0.01860497, -0.028067842, 0.015790895, -0.01298411, 0.02156485, 0.07074554, 0.024306022, 0.026915966, 0.010228359, -0.020631686, -0.004877243, -0.0024878313, -0.02846152, 0.020412976, -0.013822501, -0.02910307, 0.008704676, -0.0042794347, -0.04228402, 0.0060291183, 0.0035613352, 0.005482342, -0.0005768488, 0.011219846, -0.025239186, -0.013560048, -0.0064155064, -0.0007910028, 0.0091858385, -0.013756887, -0.024364345, 0.019290261, -0.0017004737, 0.0149597945, -0.059051823, -0.025880737, -0.0025370412, -0.010279391, 0.020690009, -0.030386172, 0.016694898, -0.0068492824, 0.034672897, -0.026055705, -0.008609901, 0.014974375, 0.012189463, -0.019786006, 0.021171171, 0.021594012, 0.019377746, -0.027747067, 0.038580522, 0.024641378, 0.016899027, 0.005522439, -0.0047168555, 0.00512876, 0.031027723, 0.006032763, 0.0007044299, 0.0019191842, -0.0055552456, 0.03872633, 0.027601259, -0.017686386, -0.00899629, -0.002362073, -0.01860497, 0.0006164901, 0.0031986404, -0.012211334, 0.011861397, -0.024160214, -0.010119003, 0.001959281, 0.018488323, -0.025997382, -0.011263588, 0.035081156, 0.011416686, -0.026303576, 0.004982953, 0.0018617727, -0.023052081, -0.0049683726, -0.02070459, 0.005919763, 0.029219717, 0.0049064043, 0.009732615, 0.02573493, 0.023576986, 0.015455538, -0.0045965645, 0.012903917, -0.023095824, -0.008741127, 0.07902738, -0.015747152, -0.020033877, 0.019304842, 0.009397259, 0.049720176, -0.019640198, 0.037414066, -0.0017442158, -0.004213821, -0.028928103, 0.030590301, -0.020121362, 0.0025315734, 0.007851705, 0.01528057, 0.0027849132, -0.003133027, 0.040301047, 0.006506636, 0.010272101, -0.013946436, -0.0065868297, 0.0038347233, -0.024743441, -0.009324356, 0.033768892, 0.01946523, 0.0009869309, -0.0023292664, 0.008004802, 0.0052891476, 0.000984197, 0.029336361, -0.02846152, -0.008318287, 0.004665823, 0.012123849, -0.00082927715, -0.026799321, -0.01318095, -0.013574629, -0.03408967, -0.016359542, 0.005063147, -0.0073559615, 0.0011919719, 0.010381456, -0.017030254, 0.011263588, 0.004541887, -0.018663293, 0.01819671, 0.0100461, -0.023533244, -0.055494133, 0.008631772, 0.019319423, 0.027965777, 0.017059416, -0.044121187, 0.023576986, -0.021477366, -0.007261187, 0.014310954, -0.0008288215, 0.009178549, 0.029044747, -0.054385997, 0.03788065, 0.00345198, -0.021258656, 0.007611124, 0.0043450478, -0.04432532, -0.00533289, 0.010745973, 0.005063147, 0.026405642, 0.020281749, 0.012451915, -0.037355743, -0.005566181, -0.016374122, 0.014675471, 0.01923194, -0.012379011, 0.0029562362, -0.014208889, -0.035460256, 0.025487058, 0.017321868, 0.00075045024, -0.0047642426, -0.006801895, -0.016140832, 0.0012940369, 0.007662156, 0.0044908547, 0.018138386, 0.0092222905, 0.007837124, -0.019421488, 0.022833372, 0.031348497, 0.008434933, -0.030152882, 0.0016649333, 0.008405772, 0.04015524, -0.010374166, -0.00035608796, 0.002312863, 0.0077933823, -0.02176898, 0.0044215964, -0.03140682, -0.035226963, -0.04703733, -0.009382678, 0.010031519, 0.014872311, -0.017905096, 0.005500568, 0.04123421, 0.024349764, 0.01756974, 0.0020157814, 0.026813902, -0.007053412, -0.031727597, 0.012867465, 0.02739713, 0.022016851, 0.00627699, -0.006991444, 0.0026208803, 0.007611124, -0.011125072, 0.02302292, 0.022118917, 0.017059416, -0.0028268325, -0.0026463964, 0.020894138, 0.011496879, 0.016024185, 0.040534336, -0.0043596285, 0.017730128, -0.01485773, -0.005529729, -0.013931856, 0.017686386, -0.023547824, -0.01570341, -0.0064337323, -0.00659412, 0.0009823744, -0.026566029, 0.022760468, -0.015820056, 0.0152368285, 0.024699701, 0.041321695, 0.0028067841, -0.014413019, -0.029802945, -0.0021160236, -0.024116473, -0.028782295, -0.017103158, 0.034497928, -0.034906186, -0.020340072, -0.020179685, 0.034906186, -0.022454273, -0.004756952, -0.009171259, -0.023314534, -0.065963075, 0.006444668, -0.0011910606, -0.0026700902, 0.0008903338, 0.0007622971, -0.018065482, -0.029438427, -0.040650982, 0.02908849, -0.021083688, 0.0020759266, 0.0038894007, -0.02114201, 0.02529751, -0.037326586, 0.019027809, 0.014726504, 0.0115406215, -0.004771533, -0.063980095, 0.010563714, -0.0010170036, -0.007982931, 0.0035212382, 0.017001092, 0.016840706, -0.0056864717, 0.009061903, 0.008318287, 0.031056885, 0.0209233, 0.034585413, -0.025064217, 0.019334003, 0.00017952482, 0.011832235, 0.018109225, 0.015382635, -0.014988956, 0.014602568, -0.025020476, 0.0004023361, -0.01318095, -0.020442137, 0.012466496, -0.0018654179, -0.017438514, -0.005394858, -0.019596456, 0.0064045712, -0.015193086, -0.00019626984, -0.0073960586, -0.002371186, -0.033156503, -0.016199155, -0.037122454, 0.019261101, 0.00023374679, 0.022979178, -0.0133048855, 0.01697193, -0.044004545, -0.0030747044, 0.01318095, 0.009382678, -0.02176898, 0.009251452, -0.009929455, 0.01697193, -0.030211203, 0.025210025, 0.015134763, -0.01716148, 0.0036360612, -0.007873576, 0.008485965, 0.016009605, 0.012255075, -0.026638933, 0.0012038188, -0.0007190106, 0.026084866, -0.0029744622, -0.018984066, 0.048174623, 0.013202821, -0.028913522, -0.012225914, 0.016592832, -0.039222073, 0.036276773, 0.005500568, 0.00051670347, -0.015659668, 0.015980443, -0.033389796, 0.0072137997, 0.0342938, 0.002238137, -0.003918562, -0.010833458, -0.0018754421, 0.009798228, -0.018984066, -0.011781203, 0.031960886, 0.009849261, -0.032894053, -0.010643909, -0.019392326, 0.0034155282, -0.010293972, -0.022352207, -0.012903917, -0.0139683075, 0.010111713, 0.028330294, -0.02971546, -0.03473122, 0.015324312, 0.04499603, 0.032514952, 0.0067909597, -0.02761584, 0.0098857125, 0.01719064, -0.03750155, 0.00019159947, -0.016855285, -0.011679138, 0.0013605612, 0.03642258, -0.026026543, -0.01024294, 0.0058687306, 0.01130004, 0.028126163, -0.008223513, 0.014536954, -0.0008301884, 0.013829791, 0.015615926, -0.011773912, -0.006969573, -0.027717905, 0.03872633, 0.02319789, 0.0038638846, -0.03995111, 0.0059780856, 0.013261144, -0.0143182445, 0.017219802, -0.010213778, -0.0074871876, 0.021798141, -0.009375388, 0.0076475753, 0.0052016634, -0.02491841, -0.005019405, -0.008631772, -0.023299953, 0.031231852, -0.008814031, 0.020908719, 0.02698887, 0.011737461, -0.01275811, -0.05738962, 0.006725346, -0.024743441, -0.020792073, -0.0021069106, -0.015163925, 0.01697193, 0.013334047, -0.03117353, -0.033214826, 0.017730128, 0.0039039815, -0.035460256, 0.015980443, -0.0037217229, -0.044704415, -0.009295194, -0.018007161, 0.0044070156, 0.056135684, 0.05371529, 0.028446939, -0.029598814, -0.047445588, -0.030823592, -0.030036235, -0.02824281, -0.019756844, 0.026303576, -0.02949675, 0.0012894804, -0.051119924, -0.0098857125, 0.02426228, -0.013450692, -0.027032612, 0.0024331538 ]
2310.12773
21
However, the constraint denoted in equation (9) entails the challenge of guaranteeing safety for all potential responses y to a given prompt x. This task is not straightforward using RL methods. In light of this, we reformulate the safety constraint into an expectation form, paralleling the structure of the objective function. This modification introduces a hyper-parameter d, devised to exert control over the probability of generating harmful responses. Our surrogate objective is presented as follows: maximize θ JR(θ), s.t. JC(θ) ≤ 0, (10) where JR(θ) ≜ Ex∼D,y∼πθ(·|x) [Rϕ(y, x)] , JC(θ) ≜ Ex∼D,y∼πθ(·|x) [Cψ(y, x)] + d, (11) which represent the expected reward and the expected cost objective function respectively. To address this constrained problem, we leverage the Lagrangian method, a technique for finding the local maxima and minima of a function over a constraint set. This application allows us to convert the constrained primal problem, as defined in equation (10), into its unconstrained Lagrangian dual form as follows: min θ max λ≥0 [−JR(θ) + λ · JC(θ)], (12)
2310.12773#21
Safe RLHF: Safe Reinforcement Learning from Human Feedback
With the development of large language models (LLMs), striking a balance between the performance and safety of AI systems has never been more critical. However, the inherent tension between the objectives of helpfulness and harmlessness presents a significant challenge during LLM training. To address this issue, we propose Safe Reinforcement Learning from Human Feedback (Safe RLHF), a novel algorithm for human value alignment. Safe RLHF explicitly decouples human preferences regarding helpfulness and harmlessness, effectively avoiding the crowdworkers' confusion about the tension and allowing us to train separate reward and cost models. We formalize the safety concern of LLMs as an optimization task of maximizing the reward function while satisfying specified cost constraints. Leveraging the Lagrangian method to solve this constrained problem, Safe RLHF dynamically adjusts the balance between the two objectives during fine-tuning. Through a three-round fine-tuning using Safe RLHF, we demonstrate a superior ability to mitigate harmful responses while enhancing model performance compared to existing value-aligned algorithms. Experimentally, we fine-tuned the Alpaca-7B using Safe RLHF and aligned it with collected human preferences, significantly improving its helpfulness and harmlessness according to human evaluations.
http://arxiv.org/pdf/2310.12773
Josef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji, Xinbo Xu, Mickel Liu, Yizhou Wang, Yaodong Yang
cs.AI, cs.LG
null
null
cs.AI
20231019
20231019
[ { "id": "2302.13971" }, { "id": "2304.05302" }, { "id": "1707.06347" }, { "id": "2305.18290" }, { "id": "2305.10403" }, { "id": "2305.03047" }, { "id": "2211.05100" }, { "id": "2110.08207" }, { "id": "2304.05335" }, { "id": "2107.03374" }, { "id": "2105.04054" }, { "id": "2209.07858" }, { "id": "2305.15324" }, { "id": "2307.09288" }, { "id": "2210.11416" }, { "id": "2212.08073" }, { "id": "2307.12950" }, { "id": "2009.11462" }, { "id": "2307.04657" }, { "id": "2204.05862" }, { "id": "2112.00861" }, { "id": "2209.14375" }, { "id": "2303.00957" }, { "id": "2306.01693" }, { "id": "2305.01937" }, { "id": "2307.15217" }, { "id": "2306.17492" }, { "id": "2112.04359" }, { "id": "1506.02438" } ]
{ "authors": "Josef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji, Xinbo Xu, Mickel Liu, Yizhou Wang, Yaodong Yang", "chunk_id": 21, "doc_id": "2310.12773", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12773", "summary": "With the development of large language models (LLMs), striking a balance\nbetween the performance and safety of AI systems has never been more critical.\nHowever, the inherent tension between the objectives of helpfulness and\nharmlessness presents a significant challenge during LLM training. To address\nthis issue, we propose Safe Reinforcement Learning from Human Feedback (Safe\nRLHF), a novel algorithm for human value alignment. Safe RLHF explicitly\ndecouples human preferences regarding helpfulness and harmlessness, effectively\navoiding the crowdworkers' confusion about the tension and allowing us to train\nseparate reward and cost models. We formalize the safety concern of LLMs as an\noptimization task of maximizing the reward function while satisfying specified\ncost constraints. Leveraging the Lagrangian method to solve this constrained\nproblem, Safe RLHF dynamically adjusts the balance between the two objectives\nduring fine-tuning. Through a three-round fine-tuning using Safe RLHF, we\ndemonstrate a superior ability to mitigate harmful responses while enhancing\nmodel performance compared to existing value-aligned algorithms.\nExperimentally, we fine-tuned the Alpaca-7B using Safe RLHF and aligned it with\ncollected human preferences, significantly improving its helpfulness and\nharmlessness according to human evaluations.", "text": "However, the constraint denoted in equation (9) entails the challenge of guaranteeing safety for all potential responses y to a given prompt x. This task is not straightforward using RL methods. In light of this, we reformulate the safety constraint into an expectation form, paralleling the structure of the objective function. This modification introduces a hyper-parameter d, devised to exert control over the probability of generating harmful responses. Our surrogate objective is presented as follows:\nmaximize θ JR(θ), s.t. JC(θ) ≤ 0, (10)\nwhere\nJR(θ) ≜ Ex∼D,y∼πθ(·|x) [Rϕ(y, x)] , JC(θ) ≜ Ex∼D,y∼πθ(·|x) [Cψ(y, x)] + d, (11)\nwhich represent the expected reward and the expected cost objective function respectively.\nTo address this constrained problem, we leverage the Lagrangian method, a technique for finding the local maxima and minima of a function over a constraint set. This application allows us to convert the constrained primal problem, as defined in equation (10), into its unconstrained Lagrangian dual form as follows:\nmin θ max λ≥0 [−JR(θ) + λ · JC(θ)], (12)", "title": "Safe RLHF: Safe Reinforcement Learning from Human Feedback", "year": 2023 }
[ 0.03050249, 0.009840508, 0.025060905, -0.0021871224, -0.0050158827, 0.016818322, 0.033488575, 0.0447666, 0.0066508264, 0.033784717, 0.0061911913, -0.05873457, -0.0131906, 0.025023889, -0.0016812154, -0.052219473, 0.040201098, -0.027343657, 0.0131042255, -0.0033007348, 0.0023999736, -0.04215069, 0.012024546, 0.0038714225, -0.0017660473, -0.0072554466, 0.04985035, -0.012709371, 0.008415331, -0.0029984245, 0.051380407, -0.029959567, -0.025986345, 0.0011028156, 0.027195586, 0.027738512, 0.026578626, 0.05177526, -0.011543317, 0.015609082, 0.011302703, -0.021038327, -0.03509267, 0.017188499, -0.045778416, 0.05888264, -0.008051325, 0.006083223, 0.007224599, -0.0057408107, -0.027318979, 0.015325281, 0.01994014, -0.0011745371, -0.01841008, -0.017311892, 0.0156461, 0.044371746, 0.051133625, -0.0036400626, -0.014770017, -0.037782617, -0.021840375, 0.03849829, 0.027343657, -0.010056444, -0.0376839, 0.03450039, -0.008217904, 0.06268311, -0.010414281, -0.040373847, 0.06648359, -0.005916644, -0.015892884, 0.01394329, 0.06332475, 0.013437384, -0.0075700963, -0.021087684, 0.021396164, -0.044519816, 0.013400366, -0.014128379, -0.03464846, -0.069247566, -0.031835124, -0.006379364, -0.02345681, -0.031366233, -0.032575477, 0.0061572585, -0.021260433, 0.026998159, 0.03435232, 0.0042354288, -0.0034395508, 0.020865578, 0.034006823, 0.0063238377, 0.007341821, -0.052416902, 0.037190333, -0.01670727, 0.03161302, 0.03158834, -0.012542792, 0.041484375, -0.01764505, -0.03247676, -0.01611499, 0.00095937244, -0.025566813, 0.050837483, 0.014202414, -0.048715144, -0.08899028, 0.012456418, 0.0030400692, -0.024431607, -0.006872932, -0.034574427, 0.026282486, -0.05597059, 0.005025137, 0.004503806, 0.0040565105, -0.0815374, -0.020569438, -0.011543317, -0.009655421, 0.030576525, -0.026011024, -0.045457594, -0.016657913, 0.0053274473, -0.01855815, -0.01916277, 0.031366233, -0.018780256, 0.010636386, 0.022778155, -0.059919134, 0.013252296, -0.04523549, 0.0026081973, -0.01808926, 0.011691388, -0.022938564, 0.037634544, 0.03158834, -0.014128379, -0.025097923, 0.03114413, 0.0069839847, -0.08030348, -0.025616169, 0.06855657, 0.010186005, -0.018496454, 0.004661131, 0.014350484, -0.008600419, -0.047431868, 0.046518765, -0.01103124, -0.012697032, 0.027170908, -0.033957466, 0.016497504, -0.015732475, -0.00873615, -0.033044364, -0.034179572, 0.0011460028, 0.004093528, -0.04733315, -0.016880019, 0.015189549, 0.009229718, -0.012221972, -0.0136841675, 0.020186923, -0.0120924115, 0.031366233, 0.0074467044, -0.03953478, -0.041928586, -0.0007873949, -0.030008923, -0.015275924, 0.009309922, 0.04844368, -0.006916119, -0.009334601, -0.01776844, 0.054835383, 0.033241794, 0.02133447, 0.031983193, 0.008822525, 0.014338145, 0.048246253, -0.066039376, 0.013128904, 0.0063731945, -0.010346415, 0.018965343, -0.044692565, -0.060363345, -0.0019434233, -0.0060924776, 0.026109736, 0.01961932, 0.016682591, 0.018521132, -0.00080898846, -0.0052965996, -0.009933053, 0.013412706, -0.01776844, 0.031514306, 0.04187923, -0.030576525, -0.0318598, 0.0027408437, 0.03617852, -0.037955366, 0.013128904, -0.021544235, 0.043804143, -0.020914936, -0.028281435, -0.051923335, -0.0027716917, 0.014757678, 0.0005086062, -0.014942765, 0.029663425, -0.007829219, 0.010630216, 0.01745996, -0.018274348, -0.033340506, 0.058191646, 0.0084646875, -0.00028360868, 0.024184823, -0.009433315, 0.012400892, -0.018903647, -0.019569963, 0.035956416, -0.027121551, -0.048616428, 0.017879494, -0.030008923, -0.017311892, -0.03847361, -0.02161827, -0.022827512, -0.003618469, 0.0026328757, -0.013425045, 0.028404828, -0.021741662, -0.0081808865, -0.0159299, 0.0052688364, -0.010642556, 0.00036670547, -0.0053706346, -0.060659483, 0.0151278535, -0.073196106, -0.031094773, 0.043779466, 0.040423203, -0.041829873, 0.025320029, -0.044544496, 0.023826987, 0.04108952, -0.018447097, 0.021642948, -0.028133364, -0.01763271, -0.014955104, -0.019224467, -0.021544235, 0.0115124695, -0.014807034, 0.039312676, -0.04306379, 0.0072307684, -0.014128379, 0.006391703, -0.007983459, 0.042348117, 0.029046465, 0.026085058, 0.06613809, -0.012758728, -0.0044606193, -0.009112496, -0.007792202, 0.0055001965, -0.0049171695, 0.007921764, 0.029046465, -0.013042529, 0.017669728, 0.01333867, 0.019853765, -0.038276184, -0.036079805, 0.038251504, -0.01027855, 0.035956416, 0.009266736, -0.0069654756, -0.0020961207, -0.0015208058, -0.038695715, 0.014227092, -0.037387762, -0.015016801, 0.0564148, 0.0046981485, -0.005410737, 0.00047274542, -0.00033797827, 0.016645575, -0.018755578, -0.01763271, -0.06322604, -0.049924385, 0.0352901, 0.029342607, -0.036425304, -0.038276184, 0.018656863, -0.017484639, 0.02145786, -0.0069839847, -0.0008267261, -0.002560383, -0.014486215, 0.07211026, 0.054637957, -0.028947752, -0.0214702, -0.016509844, 0.04153373, -0.020347333, -0.0061171562, -0.028158043, -0.03970753, -0.049430817, 0.004327973, -0.03830086, -0.010136649, 0.0037295218, 0.010167497, 0.02177868, 0.03173641, -0.008878051, 0.017694406, 0.002961407, 0.006228209, -0.019125752, 0.023580203, -0.028404828, 0.0141037, 0.005919729, -0.045926485, -0.022161195, 0.012221972, 0.026159095, 0.010364924, -0.013079547, 0.031933837, -0.04526017, -0.009420975, 0.02652927, 0.04676555, 0.0046981485, -0.039288, -0.033217113, -0.030403778, 0.045729056, -0.040275134, -0.0028889142, 0.0074096867, -0.016991071, -0.018755578, 0.027911259, 0.014979783, 0.08617694, 0.024431607, -0.010074953, -0.057599362, -0.06238697, -0.024505641, -0.009309922, -0.001436745, 0.0013488283, 0.015831187, -0.039954316, 0.009303753, 0.025048567, -0.010186005, 0.0017799289, -0.0312922, 0.046173267, -0.04005303, 0.066779725, -0.03943607, 0.012672354, 0.0349446, 0.012542792, -0.05690837, 0.034154892, 0.028380148, -0.0047135726, 0.06026463, 0.008020476, -0.017978208, 0.025344707, -0.03405618, 0.011296533, 0.08894092, 0.008680624, -0.03509267, -0.011919662, 0.04570438, 0.02085324, -0.0062837354, -0.0031989363, -0.020211602, 0.028256757, -0.03743712, -0.03632659, 0.048048828, -0.015572065, 0.035487525, -0.032772902, -0.0087608285, 0.0059999335, 0.032797582, -0.03385875, -0.0058395243, 0.046197947, 0.027318979, 0.0023351926, -0.019582303, 0.06500288, 0.013733524, -0.0094888415, 0.05750065, 0.033636644, 0.04708637, 0.027220264, -0.018224992, 0.024653712, 0.032402728, -0.0047876076, 0.0008737693, -0.071962185, 0.015251245, -0.04664216, 0.0022303096, 0.017830137, -0.025122602, -0.020742187, 0.01625072, 0.01641113, -0.01745996, 0.05152848, 0.004152139, 0.018434757, -0.0074960613, 0.02667734, -0.036548696, 0.036203198, 0.06460802, 0.04994906, -0.01884195, -0.020532422, 0.016756628, 0.034130216, -0.03988028, 0.043606717, -0.012178786, 0.0033562612, -0.035956416, 0.04614859, 0.0027439285, 0.03422893, 0.015325281, 0.02850354, 0.006607639, -0.044273034, 0.018669203, 0.023197686, 0.029688103, 0.049726956, -0.0020436791, -0.0063855336, 0.028898396, -0.013215278, -0.004226174, -0.042891044, -0.020606456, 0.0035752817, -0.013659489, -0.044371746, -0.03126752, -0.015892884, 0.0004569358, 0.02424652, -0.039386712, -0.013202939, 0.0061881063, 0.021359148, 0.02285219, -0.013918612, -0.07902021, -0.011524809, -0.04688894, 0.010186005, 0.022642422, -0.00021902072, 0.047752686, -0.013967969, -0.002436991, -0.018286686, 0.009106326, -0.020914936, -0.018755578, 0.0043804143, -0.0055989097, 0.025542134, 0.02038435, 0.0047382507, -0.004935678, 0.029614069, 0.001510009, 0.011253346, 0.021137042, 0.038621683, -0.012561301, -0.0677175, -0.028873717, -0.030082958, -0.0050806636, -0.014301127, 0.012845102, 0.012450248, 0.026208451, -0.04706169, 0.027491728, 0.0015747898, 0.013289313, -0.034006823, -0.027565762, 0.01011814, 0.024147805, -0.024258858, 0.006302244, -0.038967177, 0.016929375, -0.0030570356, -0.040546596, 0.03864636, 0.007125885, 0.0051701227, -0.024258858, 0.015683116, -0.0053120237, -0.0005147758, 0.004445195, 0.031415593, -0.015498029, -0.056019947, -0.012314517, 0.002555756, 0.04187923, -0.05231819, 0.0112224985, -0.027022837, -0.0120862415, -0.012832763, 0.04553163, -0.031785768, -0.0019742711, -0.024517981, 0.020520082, -0.0086127585, -0.0112101585, 0.02835547, 0.01654686, 0.0165592, -0.01272171, -0.04311315, 0.0021732408, 0.025616169, 0.002722335, 0.041829873, -0.019236805, -0.0136841675, 0.0027994548, 0.02132213, -0.0123823825, 0.000961686, -0.003603045, 0.013474401, -0.0045624175, 0.033192433, -0.033069044, -0.007033341, 0.013079547, 0.006755709, -0.010747439, -0.01778078, -0.01088317, 0.018200314, -0.024962192, 0.0064965864, -0.013967969, -0.0263812, -0.0047166576, -0.019002361, -0.006619978, 0.019582303, 0.018681541, 0.0015593658, -0.030897345, 0.009445654, -0.04676555, 0.0010951036, 0.019582303, 0.00072030054, -0.06238697, -0.009087818, 0.037486475, 0.0059721703, -0.006120241, 0.012184955, -0.0159299, -0.03830086, 0.013462062, 0.01181478, -0.036598053, -0.0013372602, 0.03035442, 0.012394722, 0.028799681, 0.017447622, 0.000004395236, -0.034895245, -0.0031094772, -0.007082698, 0.023592541, -0.0022364792, 0.030453134, -0.001869388, 0.039213963, 0.010636386, -0.00048585582, -0.02652927, 0.0012285211, -0.0022812088, 0.008150038, -0.011376738, -0.02145786, -0.014338145, 0.00044266862, 0.009180361, 0.015189549, -0.026011024, -0.004479128, -0.011370569, -0.047185082, 0.0070456807, 0.013733524, 0.013301653, -0.012339195, -0.017299552, 0.017571013, -0.0038313202, 0.0032668018, 0.04508742, 0.00782305, 0.012203464, 0.0069778147, -0.008816355, 0.04212601, 0.017595692, -0.060067203, -0.024912836, 0.02406143, 0.016818322, 0.012795745, -0.021667628, -0.06490417, 0.009390128, 0.02407377, 0.04664216, -0.017398266, -0.0020282553, -0.015041479, -0.032772902, -0.030699918, -0.0012755643, 0.038374897, 0.011938171, 0.013375687, 0.0062960745, -0.019890783, -0.016620897, -0.0052811755, -0.058043573, -0.013239956, -0.04600052, 0.0049881195, -0.033365183, 0.020766865, -0.016263058, 0.01811394, 0.0062097, -0.01166054, 0.012357704, -0.021865053, -0.0063855336, -0.0071937507, -0.03788133, 0.013202939, -0.00827343, -0.009087818, 0.03284694, -0.0019141176, -0.015201889, 0.014313467, 0.037807293, 0.038251504, 0.031390913, 0.039978992, -0.0030786293, 0.03467314, -0.033389863, 0.0096245725, -0.043039113, -0.009100157, 0.023839325, 0.019693356, 0.014325806, 0.019718034, -0.00613258, -0.021063006, -0.009131004, -0.03292097, -0.025134942, -0.004108952, 0.018150955, -0.016571539, 0.014770017, -0.026183773, 0.022815172, -0.0076873186, 0.0026776053, -0.024184823, -0.009457993, 0.016164346, 0.015226567, -0.011241007, -0.024814121, -0.0015076954, 0.014461537, -0.0070024934, 0.005302769, -0.003973221, 0.01303019, 0.0053953133, -0.014042004, -0.02206248, 0.03161302, 0.009013782, -0.0011344347, -0.018990021, -0.011419925, 0.010543842, -0.027516406, 0.009433315, 0.0049295085, 0.005595825, -0.034154892, -0.098022565, -0.01134589, 0.003158834, -0.0016241466, -0.011006562, -0.0138198985, 0.0107906265, -0.003936203, -0.008298108, -0.042841684, 0.0017043514, -0.016003937, 0.029811496, 0.03050249, 0.011173141, -0.06268311, -0.009137174, -0.0016071802, 0.01870622, -0.030231029, -0.008254922, -0.014708321, -0.010759778, 0.049628243, -0.009994748, -0.013696507, 0.0026621814, 0.003803557, -0.0061171562, -0.012585979, 0.021433182, -0.042718295, 0.009593724, 0.023086634, -0.023987396, -0.00751457, 0.008020476, -0.019606981, -0.031168807, 0.034993958, 0.005962916, -0.008316617, 0.05508217, -0.031020736, -0.009587554, -0.015510368, 0.02515962, 0.00059420936, -0.003664741, -0.016398791, 0.0025881461, -0.011308872, -0.031933837, -0.05014649, -0.0004927966, 0.030551847, 0.021482538, 0.046790227, -0.030897345, 0.0015362299, -0.009840508, 0.01303019, 0.024962192, -0.026085058, -0.008649776, 0.0109263575, -0.012431739, 0.0013542267, -0.022284586, -0.01686768, 0.008113021, -0.015325281, -0.006502756, 0.04017642, -0.010778287, -0.0066878437, 0.0015292891, 0.03356261, 0.00069407973, 0.05567445, 0.028454185, -0.021877393, 0.009124835, 0.033809394, -0.02192675, 0.016213702, 0.022148855, 0.018471776, -0.021655288, 0.02407377, -0.0032668018, -0.0086127585, 0.022000786, -0.011160802, 0.027096873, -0.016485164, -0.005944407, -0.0282074, 0.025011549, -0.0068914406, 0.009889865, 0.030231029, -0.008692963, 0.003680165, -0.022876868, 0.021729322, 0.0032853107, 0.036375947, 0.0007079613, 0.01794119, -0.0019650168, 0.029564712, -0.027713833, 0.03541349, 0.024357572, 0.03188448, -0.008563401, 0.004124376, 0.019409554, 0.011635861, -0.0030446965, 0.026159095, -0.010858492, 0.048024148, 0.0037449459, -0.033587288, -0.020186923, -0.011247177, -0.02958939, -0.015201889, 0.007329482, -0.0035074162, 0.023395114, -0.00059922214, -0.0042230897, 0.03511735, 0.04600052, -0.015461012, -0.01533762, -0.0037171827, 0.017743763, 0.028158043, 0.020902596, 0.0035382642, -0.018385401, 0.040595952, 0.030329742, 0.009852847, -0.016694931, 0.035067994, 0.029219214, 0.0017398265, 0.023728272, 0.008335127, 0.016435808, 0.04429771, 0.025640847, -0.023987396, 0.021951428, -0.024160145, -0.0057593193, 0.05197269, -0.042545546, -0.017509319, 0.008168547, -0.013893934, -0.004189157, 0.001695097, 0.0014452282, 0.0077366754, -0.022432657, -0.030601203, 0.016435808, -0.018570488, -0.00062467175, 0.040077705, 0.016497504, 0.044815958, 0.02850354, 0.03158834, -0.003541349, 0.020026514, -0.017583353, -0.013141243, 0.07581201, -0.002467839, 0.0033686003, -0.02485114, 0.01807692, 0.009630742, 0.0411142, 0.011148463, -0.013017851, 0.036203198, 0.02466605, -0.013289313, -0.009433315, 0.011241007, 0.00736033, -0.04708637, -0.07704593, 0.041484375, -0.011901154, 0.0028935412, -0.006274481, 0.0048770667, 0.008915069, -0.030008923, -0.011759253, 0.01885429, -0.012277499, -0.019853765, -0.03161302, -0.008594249, 0.005882711, -0.012672354, 0.003970136, -0.02406143, -0.011882645, -0.029737461, -0.008291939, -0.030699918, 0.0011097564, -0.0062312935, -0.0016997241, -0.010432789, 0.040966127, 0.012209633, 0.02497453, 0.011777761, -0.0048832367, 0.015831187, -0.011413756, -0.025394063, -0.030156992, -0.0115124695, -0.0017213178, -0.020495404, 0.029688103, 0.04629666, 0.027787868, -0.0318598, 0.0005571918, -0.025245994, 0.014621946, 0.017669728, 0.035240743, 0.05231819, -0.054243103, -0.038251504, -0.020988971, 0.014387501, 0.022346282, -0.000038921484, 0.012542792, -0.009957731, 0.004932593, 0.028626934, 0.02314833, 0.0005105342, -0.010914018, -0.011950511, 0.0059413225, -0.0031572916, -0.0047629294, -0.032550797, 0.010562351, 0.016201364, 0.02267944, -0.022593066, 0.013264635, 0.020631135, -0.018878968, 0.0509362, 0.009865186, -0.010186005, -0.00674337, 0.008378314, 0.010877, -0.032896295, -0.039016534, -0.01885429, -0.032995008, 0.005336702, 0.027516406, -0.002329023, 0.018669203, -0.0023552438, 0.027417691, 0.01855815, 0.04143502, 0.02454266, 0.0077366754, -0.0018123193, 0.022050142, -0.048246253, 0.017879494, -0.013733524, 0.01211709, 0.0054230765, -0.01150013, 0.0016981817, -0.02237096, 0.014621946, 0.02423418, 0.011907323, -0.034549747, 0.008020476, 0.003926949, -0.040447883, -0.011333551, -0.033784717, 0.032081906, 0.0048277103, 0.019483589, -0.04770333, -0.004426686, 0.023851665, -0.02835547, -0.024184823, 0.012869781, 0.0074590435, -0.010155158, -0.015831187, -0.0033223282, -0.0070271716, -0.0037819634, -0.030922024, 0.02453032, -0.005583486, -0.026331842, 0.03741244, 0.01072893, 0.0017968953, -0.017311892, 0.00066708773, -0.030724596, -0.013301653, -0.03385875, -0.022395639, -0.011851797, -0.026702018, 0.03005828, 0.0005645182, -0.02024862, 0.010550012, -0.010105801, 0.0025696375, -0.019816747, -0.0016580793, 0.06011656, 0.005009713, -0.033636644, 0.029021787, -0.017571013, 0.018459436, 0.007452874, 0.007545418, -0.009754133, -0.008637437, -0.02407377, 0.012055393, -0.018200314, 0.024752425, 0.032723546, -0.037042264, -0.039164606, 0.03773326, 0.010642556, 0.016645575, 0.023271723, -0.022482013, -0.012431739, 0.01242557, 0.0034858226, 0.018039903, 0.0050930027, -0.0022333944, 0.027467048, 0.0070148325, -0.017348908, 0.027220264, -0.046691515, 0.013412706, -0.012055393, 0.020914936, 0.00451923, 0.011827119, 0.0032359539, 0.013091886, -0.0038251504, -0.012906798, 0.00054562377, -0.008662115, -0.012684693, 0.016127327, 0.007742845, -0.0025233654, 0.032427404, 0.03222998, 0.023185348, -0.0037449459, 0.021260433, -0.013264635, -0.033636644, -0.03158834, -0.015843527, 0.03309372, -0.0026590966, 0.024271198, -0.020186923, 0.0012663099, 0.011401417, 0.0104944855, 0.026924124, 0.0021794103, -0.0073356517, 0.02069283, -0.012024546, 0.019804409, -0.01778078, 0.0128080845, 0.009081648, -0.0042354288, -0.029095823, 0.012585979, 0.00014132235, 0.01642347, -0.0038806768, 0.025036227, 0.017200839, 0.020631135, -0.0018323705, -0.007958781, 0.0072307684, 0.022198211, 0.0017629626, 0.026109736, -0.044569172, 0.02867629, -0.0021979192, -0.01317826, 0.03815279, 0.006317668, -0.0043341424, -0.015991597, 0.039016534, 0.021593591, -0.007853898, -0.002822591, -0.037338406, -0.0074713826, 0.020779205, 0.026825411, -0.050072454, 0.019261483, -0.033143077, -0.006367025, 0.0077366754, 0.007341821, 0.009377789, -0.004250853, 0.01839774, 0.0040873582, -0.01273405, -0.0075947745, -0.03723969, 0.029317928, 0.017114464, -0.05597059, 0.012980834, -0.02497453, -0.0076996577, 0.009686268, -0.030379098, 0.020446047, -0.033389863, 0.0048122862, 0.034401678, 0.015090836, -0.018064583, 0.028651612, 0.032081906, -0.0002535319, 0.00857574, 0.008143869, -0.03309372, -0.060067203, 0.0073048035, -0.02314833, -0.0011598844, 0.0036122994, 0.009686268, 0.016398791, -0.018977683, -0.009562876, -0.0049757804, -0.04066999, -0.010445129, -0.0035907058, 0.005410737, 0.03447571, -0.04311315, 0.03667209, 0.0066138087, 0.0024693816, -0.01963166, -0.03158834, 0.04150905, -0.025640847, 0.017706744, -0.0009609148, 0.021087684, 0.0043711597, 0.054095034, -0.0052935146, 0.014239431, -0.006197361, 0.012530453, -0.01641113, -0.022704119, -0.0022457335, 0.021383826, -0.012660014, 0.010611708, -0.013425045, -0.010907848, -0.00062043016, 0.014140718, 0.037930686, -0.014153057, -0.01932318, 0.025986345, -0.003004594, 0.020779205, 0.019175109, 0.040546596, 0.010482146, 0.0025387895, -0.031366233, 0.023740612, -0.016571539, 0.0254681, -0.0007974205, -0.0100626135, 0.0069901543, -0.006502756, 0.012363873, 0.022469675, 0.032427404, 0.017250195, -0.0028549812, 0.0050405613, 0.021531895, -0.003587621, -0.029243892, 0.023691256, 0.015609082, -0.0045346543, 0.004059595, 0.028158043, -0.013067207, 0.016596217, 0.03361197, -0.004796862, 0.015991597, 0.04136098, 0.0027084535, -0.027565762, -0.0141037, -0.037757937, 0.016682591, 0.014079021, 0.030008923, 0.016966393, 0.005657521, 0.030576525, 0.0033531764, -0.029934887, 0.0084770275, 0.034179572, -0.025073245, -0.017126802, 0.01394329, 0.040077705, -0.025097923, 0.0023644983, -0.0027346741, -0.01932318, 0.015510368, -0.021174058, 0.056612227, 0.005577316, -0.035956416, -0.019557625, 0.055378307, 0.004540824, 0.015115514, -0.045013383, 0.027861902, 0.02161827, 0.015695456, -0.028997108, -0.010482146, 0.016966393, -0.06268311, -0.00019337832, -0.034796532, -0.0017753018, 0.0416818, -0.02667734, -0.025492778, 0.034130216, 0.0174723, 0.016682591, -0.008563401, -0.021556575, 0.021038327, 0.016620897, -0.024999209, 0.016583879, 0.020051192, -0.005947492, 0.0056821993, 0.026159095, 0.011777761, 0.014190074, 0.011481621, 0.004614859, -0.02867629, 0.005821015, 0.007224599, -0.02759044, 0.00049163983, 0.012252821, 0.018521132, -0.027516406, -0.008316617, -0.00019665592, -0.01994014, -0.009242057, -0.011567996, 0.0022950904, -0.031045415, -0.009988579, -0.012660014, 0.025122602, -0.0046487916, 0.030823309, 0.017188499, -0.026134415, 0.036869515, -0.00089304923, 0.01823733, 0.00059922214, 0.025640847, -0.020149905, 0.026825411, 0.0035320946, 0.016892359, 0.012697032, -0.010895509, 0.0349446, 0.0064163813, 0.0019048633, 0.01745996, 0.019298501, -0.0051793773, -0.037313726, 0.027195586, 0.014757678, -0.006453399, -0.006971645, 0.012672354, 0.04414964, 0.0030601204, 0.010512995, 0.021507217, 0.003340837, -0.0029506101, 0.010685743, 0.04185455, 0.020914936, 0.012462587, -0.011697557, 0.020828562, 0.012141768, 0.0071567334, 0.024345232, -0.011463112, 0.0033531764, 0.0064965864, 0.015164871, 0.022087159, -0.025110262, -0.03144027, 0.015855866, 0.020125227, 0.008199396, -0.00017785793, -0.0013488283, -0.015670778, 0.0032760564, -0.021655288, 0.021433182, -0.0031403252, -0.010938697, -0.04291572, -0.037980042, 0.01623838, -0.03622788, -0.008748489, 0.008261091, -0.027738512, 0.031218164, 0.00030462389, -0.01794119, -0.0055989097, 0.03097138, -0.03770858, 0.039288, 0.031045415, 0.009124835, -0.0076009445, -0.009069309, -0.015720135, -0.04005303, -0.050047778, 0.010093462, -0.03430296, -0.0077243363, -0.026307164, 0.04856707, -0.061301123, -0.020742187, 0.013906273, -0.0097726425, 0.026134415, -0.00021805671 ]
2310.12397
22
Our overall conclusion is that, despite the common-sense nature of this domain, the LLM’s verification powers are surprisingly weak. 7 # Inside the Backprompt Chain To figure out what information it is or isn’t using, we examine the evolution of GPT-4’s responses within a backprompt chain. We compare three types of informative backprompting: providing the first wrong edge, listing all wrong edges, and choosing a random correct edge to claim is incorrect. The first two cases were described in more detail above. The final one, the so-called "evil" case is new, and provided as a way to check how blindly the system follows corrective advice. Given a backprompt, we examine the response to it. We only look at the rates of local error correction. Given a backprompt, we consider it "listened to" if the edges it listed as incorrect were changed in the response so that each vertex is a different color from the other. We summarize the results by averaging over backprompts. The results are summarized in Table 3.
2310.12397#22
GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems
There has been considerable divergence of opinion on the reasoning abilities of Large Language Models (LLMs). While the initial optimism that reasoning might emerge automatically with scale has been tempered thanks to a slew of counterexamples, a wide spread belief in their iterative self-critique capabilities persists. In this paper, we set out to systematically investigate the effectiveness of iterative prompting of LLMs in the context of Graph Coloring, a canonical NP-complete reasoning problem that is related to propositional satisfiability as well as practical problems like scheduling and allocation. We present a principled empirical study of the performance of GPT4 in solving graph coloring instances or verifying the correctness of candidate colorings. In iterative modes, we experiment with the model critiquing its own answers and an external correct reasoner verifying proposed solutions. In both cases, we analyze whether the content of the criticisms actually affects bottom line performance. The study seems to indicate that (i) LLMs are bad at solving graph coloring instances (ii) they are no better at verifying a solution--and thus are not effective in iterative modes with LLMs critiquing LLM-generated solutions (iii) the correctness and content of the criticisms--whether by LLMs or external solvers--seems largely irrelevant to the performance of iterative prompting. We show that the observed increase in effectiveness is largely due to the correct solution being fortuitously present in the top-k completions of the prompt (and being recognized as such by an external verifier). Our results thus call into question claims about the self-critiquing capabilities of state of the art LLMs.
http://arxiv.org/pdf/2310.12397
Kaya Stechly, Matthew Marquez, Subbarao Kambhampati
cs.AI
18 pages, 3 figures
null
cs.AI
20231019
20231019
[ { "id": "2206.10498" }, { "id": "2306.03872" }, { "id": "2303.11366" } ]
{ "authors": "Kaya Stechly, Matthew Marquez, Subbarao Kambhampati", "chunk_id": 22, "doc_id": "2310.12397", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12397", "summary": "There has been considerable divergence of opinion on the reasoning abilities\nof Large Language Models (LLMs). While the initial optimism that reasoning\nmight emerge automatically with scale has been tempered thanks to a slew of\ncounterexamples, a wide spread belief in their iterative self-critique\ncapabilities persists. In this paper, we set out to systematically investigate\nthe effectiveness of iterative prompting of LLMs in the context of Graph\nColoring, a canonical NP-complete reasoning problem that is related to\npropositional satisfiability as well as practical problems like scheduling and\nallocation. We present a principled empirical study of the performance of GPT4\nin solving graph coloring instances or verifying the correctness of candidate\ncolorings. In iterative modes, we experiment with the model critiquing its own\nanswers and an external correct reasoner verifying proposed solutions. In both\ncases, we analyze whether the content of the criticisms actually affects bottom\nline performance. The study seems to indicate that (i) LLMs are bad at solving\ngraph coloring instances (ii) they are no better at verifying a solution--and\nthus are not effective in iterative modes with LLMs critiquing LLM-generated\nsolutions (iii) the correctness and content of the criticisms--whether by LLMs\nor external solvers--seems largely irrelevant to the performance of iterative\nprompting. We show that the observed increase in effectiveness is largely due\nto the correct solution being fortuitously present in the top-k completions of\nthe prompt (and being recognized as such by an external verifier). Our results\nthus call into question claims about the self-critiquing capabilities of state\nof the art LLMs.", "text": "Our overall conclusion is that, despite the common-sense nature of this domain, the LLM’s verification powers are surprisingly weak.\n7\n# Inside the Backprompt Chain\nTo figure out what information it is or isn’t using, we examine the evolution of GPT-4’s responses within a backprompt chain. We compare three types of informative backprompting: providing the first wrong edge, listing all wrong edges, and choosing a random correct edge to claim is incorrect. The first two cases were described in more detail above. The final one, the so-called \"evil\" case is new, and provided as a way to check how blindly the system follows corrective advice.\nGiven a backprompt, we examine the response to it. We only look at the rates of local error correction. Given a backprompt, we consider it \"listened to\" if the edges it listed as incorrect were changed in the response so that each vertex is a different color from the other. We summarize the results by averaging over backprompts. The results are summarized in Table 3.", "title": "GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems", "year": 2023 }
[ 0.01214109, 0.016570842, 0.029635122, 0.018463766, 0.007494117, 0.014515003, 0.0026512572, 0.034972545, 0.028083544, 0.07503427, 0.046081837, -0.0006734814, -0.034724295, 0.01632259, -0.024328727, -0.048688486, 0.030472973, -0.028766237, -0.0023002129, 0.042358052, -0.0030100595, -0.01305652, 0.043754473, 0.02307195, -0.0063226763, 0.006954944, 0.008471611, -0.033979535, 0.04204774, 0.012381584, 0.028517986, -0.021334184, -0.033172715, -0.042233925, -0.0037373612, 0.039844498, 0.015554559, 0.011939385, 0.0074747223, -0.0047594626, 0.017346632, 0.0031361252, -0.039627276, -0.058246203, 0.004453026, 0.03788951, 0.011978175, -0.010566239, -0.015236487, -0.019239556, -0.07019334, 0.082047395, 0.025740663, 0.017796589, -0.031900425, -0.0083242105, -0.004014706, -0.012699658, 0.011435122, -0.030193688, 0.008246632, -0.016260527, -0.030271268, 0.031109119, -0.022001361, -0.02923171, -0.027431881, 0.04772651, 0.061969988, 0.035779364, -0.01833964, 0.026469905, 0.002913086, -0.04335106, -0.021877237, 0.049247056, 0.064980045, 0.046671435, 0.05374663, -0.018432735, 0.013203921, 0.012971184, 0.013677152, -0.029355837, -0.0030934566, 0.025135547, -0.001987958, -0.009635293, -0.0645456, -0.051977832, -0.011636828, -0.00028413255, -0.016772548, 0.035810396, 0.012148848, -0.0050891726, 0.018184483, -0.027742198, 0.026392326, 0.017331116, -0.01027144, -0.006334313, -0.017160442, -0.090922415, 0.0559809, 0.005535251, 0.007695822, 0.008161295, -0.024452854, -0.038354985, -0.06342847, -0.028967943, -0.05737732, -0.0009886455, 0.032396927, -0.033700254, -0.032148674, -0.02043427, 0.0095732305, -0.011489428, -0.010093008, 0.016648421, -0.00997664, -0.009852514, 0.0005178388, 0.018262062, 0.054087974, -0.054119006, 0.0048874677, 0.0010347079, 0.035344925, 0.0076725483, 0.0449647, 0.029635122, -0.008758652, 0.023832222, -0.0118850805, 0.018106904, -0.005399488, -0.005876598, -0.036368966, -0.011458396, -0.010767944, 0.009402556, -0.04530605, -0.004674126, -0.010317987, 0.034693263, -0.029138617, 0.06435941, -0.01745524, 0.027835293, -0.045585334, 0.027199145, -0.027602555, -0.04974356, 0.00682306, 0.007416538, -0.032117646, -0.01764143, 0.007835464, 0.002872357, 0.04812992, 0.03906871, 0.011714406, 0.031869393, -0.0045499997, 0.0013333865, -0.05920818, -0.037144754, 0.009945609, -0.0070635546, -0.03745507, -0.040589254, 0.0055701616, -0.009798209, -0.015950212, 0.0013469628, 0.018432735, -0.07162079, -0.022699572, 0.037020627, 0.02336675, -0.0068075443, -0.041923612, -0.0102481665, 0.02699744, 0.015189939, -0.05222608, -0.03301756, -0.005411125, 0.05557749, 0.09266018, -0.006687297, -0.026097525, -0.048502296, 0.065538615, -0.01536837, 0.032862402, -0.022451319, -0.02255993, 0.020853195, 0.010876555, -0.035220798, -0.0015544862, 0.007501875, 0.03605865, 0.00041141035, -0.022590961, 0.0059890873, 0.034569137, -0.017967261, 0.027276725, 0.018153451, -0.012924637, 0.005201662, -0.039844498, -0.016896674, 0.0024670074, 0.046547312, -0.008285421, 0.03360716, 0.03410366, 0.0017251597, -0.027059503, 0.06200102, 0.033514064, -0.03506564, 0.011900595, -0.033110652, 0.015135634, -0.013940919, 0.015182181, -0.059952937, 0.021489343, -0.042730432, 0.0201705, -0.017656947, 0.0061093345, -0.02366155, 0.036493093, 0.005740835, 0.0022032394, -0.052132986, 0.015484739, 0.021334184, -0.025957884, 0.0069433074, 0.030659162, 0.053467344, 0.0019229858, 0.0013644181, 0.0024631284, -0.058587547, -0.04310281, -0.014569309, 0.012761721, -0.016384654, 0.0008242753, -0.036493093, -0.008587979, 0.0426994, -0.057346288, 0.012955668, -0.0072730174, -0.016772548, -0.0170208, -0.012094543, -0.023506392, -0.056260183, -0.024189087, 0.019130945, 0.005892114, -0.0066485074, -0.00020994777, -0.057780728, 0.011729922, 0.017160442, -0.025507927, 0.05781176, -0.021411764, 0.012366069, 0.025228642, 0.059859842, 0.019130945, 0.008153537, -0.029914405, 0.031869393, -0.004996078, -0.03143495, -0.00018618924, -0.021954816, 0.03481739, 0.02428218, 0.007207075, -0.01892924, 0.0062412187, 0.0023603365, 0.0061015766, 0.016182948, 0.014243477, 0.01507357, -0.022715088, -0.011768712, -0.023056434, 0.02274612, 0.051636484, 0.016927706, -0.023444328, 0.03261415, -0.04893674, 0.01771901, -0.028921396, 0.048843645, -0.020915259, -0.06209411, 0.032148674, -0.0303023, -0.0075290273, -0.0622803, -0.01573299, -0.0058494452, 0.012164364, 0.017144926, -0.03062813, 0.004681884, -0.029030006, 0.027214661, 0.037579197, -0.0059619346, 0.015818328, -0.006404134, -0.0247942, 0.014662403, -0.026128557, -0.00035613542, 0.009596504, 0.063335374, -0.009999914, -0.0067959074, -0.07553077, 0.0061209714, 0.0640491, 0.0247942, -0.033203747, 0.0093792835, -0.029666152, 0.0103490185, 0.083474845, 0.051481325, -0.008712105, -0.023118498, 0.03100051, 0.0046392153, 0.036989596, 0.02325814, -0.036306903, 0.003029454, 0.017098378, 0.028735207, -0.0034968667, -0.010209377, 0.024297696, 0.036120713, -0.020046376, 0.05784279, -0.04856436, -0.014429666, 0.053870756, 0.024809716, -0.021070415, 0.0099611245, -0.0032369776, 0.004200895, -0.003958461, -0.047695477, -0.024002897, 0.0049689254, -0.011900595, 0.021132478, -0.02307195, -0.039999656, -0.012311764, 0.001999595, 0.04760238, 0.028083544, 0.008300937, -0.014848592, -0.05663256, -0.006757118, -0.013087552, -0.033762317, -0.052846715, -0.0115049435, 0.04350622, 0.028998975, -0.03011611, 0.048067857, 0.05477067, 0.053157028, 0.0025174338, -0.033048593, -0.032955498, 0.000273223, -0.013459931, 0.014918413, 0.025818242, -0.0015089087, 0.033700254, 0.023320202, 0.084716104, -0.0067997864, 0.023708098, -0.027323272, 0.028238703, -0.04828508, 0.08608149, -0.0074708434, 0.03073674, 0.04651628, -0.00016497627, 0.016415685, -0.032521054, -0.039161805, 0.016260527, -0.0008422154, -0.015950212, -0.015275276, 0.03885149, -0.06541449, -0.01852583, 0.06876589, 0.017967261, -0.03745507, 0.013203921, -0.028673144, -0.0031535802, 0.0297127, -0.03646206, -0.05138823, 0.03363819, -0.016757032, -0.035500083, -0.025445864, -0.02186172, 0.006477834, -0.04006172, -0.046981752, 0.035965554, -0.04434407, -0.015616623, 0.0011879262, 0.02560102, 0.011497186, -0.05557749, -0.040030688, 0.07751679, -0.006357587, 0.017377663, -0.026206136, -0.006086061, -0.010620545, -0.0340416, -0.006819181, -0.0125600165, 0.049091898, -0.035500083, 0.021225573, 0.013118584, 0.018665472, -0.014352088, -0.031155666, 0.03199352, -0.0553913, -0.020511849, 0.031202214, -0.030907415, -0.011652344, 0.008587979, -0.038634267, 0.00352208, -0.023583971, 0.030566067, 0.0006458439, 0.009906819, 0.08738482, -0.00946462, 0.021985846, -0.04232702, 0.01203248, -0.02791287, -0.0530329, 0.020558396, -0.020310143, 0.024111507, -0.003588022, 0.0467335, -0.032583117, 0.022404773, 0.015104602, -0.010186103, 0.013397868, -0.048719518, 0.03425882, 0.033296842, 0.030472973, 0.025337253, 0.019270586, 0.032055583, -0.0037955453, -0.040434096, -0.012816026, -0.014910655, -0.02930929, -0.011140323, 0.01830861, -0.0062800082, 0.025740663, -0.008851747, 0.019022334, 0.028967943, -0.018991303, -0.0001729766, -0.01653981, 0.01653981, -0.04468542, -0.022389257, -0.048905708, -0.02828525, -0.0034522589, 0.018401703, -0.042730432, 0.0138090355, -0.012241943, -0.041737422, -0.00079324376, 0.0077734008, -0.035779364, -0.0386653, -0.048626423, 0.0032369776, 0.028223187, 0.02296334, 0.00876641, -0.02296334, -0.015740748, 0.012505711, -0.019410228, -0.0118850805, 0.01038005, 0.035686273, -0.040341, -0.008347484, -0.002523252, -0.01922404, 0.010217135, -0.007172165, -0.008975873, 0.009146547, 0.0045655156, 0.017874168, 0.011551491, 0.0085104, -0.0074747223, -0.014321056, 0.01280051, 0.031636655, 0.04214083, 0.04747826, 0.02366155, 0.003180733, 0.0037722716, 0.018975787, 0.015802812, 0.049091898, -0.04030997, 0.0023642154, 0.004061253, -0.007866495, 0.007823827, -0.006194671, -0.046081837, -0.0006880274, 0.03092293, -0.03444501, 0.0069510653, 0.013514236, 0.011714406, -0.00032849796, 0.042264957, 0.013265983, -0.016058823, -0.037330944, -0.0028859333, -0.026019948, 0.024918327, 0.0059696925, -0.0046004257, -0.0161364, 0.0026396203, 0.0049728043, 0.027276725, 0.017812105, 0.009107757, 0.024251148, 0.02414254, -0.010116282, 0.023677066, 0.0479127, -0.009945609, -0.039627276, -0.0015486678, -0.01782762, 0.0065864446, -0.0007990622, -0.0012238064, -0.023165045, 0.0027152598, 0.021799657, -0.006148124, 0.013041005, 0.014041772, 0.018370671, -0.024002897, 0.0046392153, -0.0077501275, 0.00038571234, -0.014840834, -0.0046353363, 0.001170471, -0.036493093, -0.006555413, 0.045864616, 0.025725147, -0.005884356, 0.0006022058, 0.007424296, 0.008983631, 0.014018498, -0.020884227, 0.009495651, -0.028843816, -0.01852583, -0.011838533, -0.011396334, -0.020667005, -0.009798209, 0.0067338445, -0.013933161, -0.017160442, -0.017346632, -0.03183836, 0.06485592, 0.024545949, 0.0041582263, -0.005341304, -0.012684142, -0.0021489342, -0.007831585, -0.0118850805, -0.031590108, -0.016757032, -0.021985846, -0.026531966, -0.033576127, 0.009549957, -0.022653025, 0.008875021, 0.005182267, 0.002589194, -0.059549525, 0.030767772, 0.026206136, -0.0006133578, -0.024856264, -0.016927706, -0.026656093, -0.051077917, -0.026718156, -0.00344838, 0.017750042, -0.0005382033, -0.04878158, 0.001720311, -0.017625915, -0.0077734008, 0.01833964, -0.006889002, 0.0069820965, -0.012653111, -0.0033397696, -0.01001543, 0.009565473, -0.010884313, -0.01653981, -0.0022769393, -0.01324271, 0.042389084, 0.008991389, -0.022001361, 0.0044879364, 0.009456862, 0.01903785, -0.032521054, 0.0080682, -0.046640404, -0.0071062227, 0.034569137, 0.042606305, -0.028580049, -0.023677066, 0.02498039, -0.015608865, 0.0011442881, -0.041799486, 0.00021115993, 0.008673316, -0.044219945, -0.005383972, -0.036803406, -0.050860696, 0.014530519, -0.028192155, -0.0075988485, 0.001602973, -0.0017930412, -0.021628983, 0.0108300075, -0.00012273216, 0.012854815, -0.017470757, 0.016943222, 0.008882779, -0.026392326, -0.008843989, 0.03909974, -0.01951884, -0.00480601, 0.000022561506, -0.027354304, -0.027850807, -0.018013809, 0.012870331, 0.0040961634, 0.012156606, 0.024452854, -0.018262062, 0.0025251915, -0.00054935523, -0.028859332, 0.0066368706, 0.016819095, -0.01885166, -0.0011326512, 0.00025867697, -0.007567817, 0.008688832, -0.008285421, 0.003917732, 0.020263596, 0.025306221, 0.007024765, -0.027059503, -0.005667135, 0.00869659, -0.0044801785, -0.013933161, -0.025538959, 0.042637337, -0.0038963978, 0.031047055, 0.005554646, 0.05290878, 0.0053762146, 0.02611304, -0.030969478, -0.00026328323, -0.011241175, -0.01500375, -0.00091833965, -0.028409375, 0.013979709, -0.031016024, -0.038323954, 0.0007457267, 0.018944755, 0.0011103473, 0.02325814, -0.039627276, -0.017377663, -0.020791132, -0.054491386, -0.04912293, -0.021303153, 0.0111170495, 0.024561465, -0.00039904623, -0.13368388, -0.005473188, 0.04232702, -0.013328047, 0.013948677, 0.013568541, 0.057749696, -0.0077889166, 0.0034425615, -0.0037722716, 0.041954644, 0.013948677, 0.007203196, -0.01962745, 0.048719518, -0.058525484, 0.016927706, -0.0026415598, 0.027819777, -0.025430348, -0.016726, 0.0142900245, -0.017098378, -0.029774763, -0.004045737, -0.0071139806, -0.0079401955, -0.008991389, -0.0039448845, 0.00001418996, -0.0067842705, 0.01207127, 0.04189258, -0.014274509, -0.012823784, -0.0421098, 0.0049146204, -0.05154339, -0.014282267, -0.025166579, -0.0033630433, -0.0060511506, 0.0066252337, -0.026221652, 0.0140029825, -0.05356044, 0.005884356, 0.0029770883, 0.04530605, -0.02670264, -0.02799045, 0.028192155, 0.01954987, -0.005395609, 0.0074514486, 0.026500935, 0.01962745, -0.029836826, -0.017486272, 0.008556947, -0.015740748, 0.008556947, 0.031341854, -0.01349872, 0.022389257, -0.012614321, 0.0073389593, 0.057532474, -0.014716708, 0.018820629, 0.0083242105, 0.0045732735, -0.0075910906, 0.016524296, -0.022497866, 0.0120790275, 0.017672462, 0.022497866, -0.0086112525, 0.023134014, 0.02611304, -0.0027094414, 0.00070887676, 0.027819777, 0.0030236358, 0.021458311, 0.033483032, -0.033048593, -0.02395635, 0.03199352, 0.012148848, -0.023335718, -0.042947654, 0.013203921, -0.011279965, 0.020899743, 0.018199999, 0.0057020457, 0.01441415, -0.002674531, 0.015694201, 0.016958738, -0.0553913, -0.050488316, -0.0054925825, 0.018587893, -0.012777237, 0.042823527, -0.0080371685, 0.029510995, 0.030643646, -0.0039410056, -0.000046789744, 0.0011287723, -0.016198464, 0.023009887, 0.047385164, -0.010721398, 0.056508437, -0.013708183, 0.015647653, 0.02718363, -0.032769307, 0.014957203, -0.016772548, -0.02457698, 0.0042629577, -0.0144839715, -0.02920068, -0.0016058822, -0.006683418, -0.0026822889, -0.016648421, -0.016415685, -0.014848592, -0.009984398, -0.014460698, 0.012792752, -0.025399316, 0.0015777599, 0.023692582, 0.013335804, 0.033141684, -0.014662403, 0.0008315483, -0.02175311, -0.021147994, -0.0495884, -0.014165898, 0.0045577576, 0.02366155, 0.014902897, -0.011233417, 0.037206817, -0.0069355494, -0.00022134215, 0.03245899, -0.003979795, 0.014522761, 0.011380818, 0.023304688, 0.01339011, -0.021085931, 0.008378516, 0.010093008, -0.02586479, -0.0062722503, 0.0032874038, -0.020667005, 0.0322728, -0.046392154, -0.0415202, 0.03135737, 0.024747653, 0.03891355, 0.02156692, 0.0210549, 0.025011422, 0.022234099, 0.0049534095, 0.00026182862, 0.03851014, -0.033731285, 0.030845352, 0.017098378, -0.019642966, 0.017470757, 0.028300764, 0.0067803916, 0.013739214, 0.026935378, 0.029790279, 0.040837508, 0.04089957, 0.024406306, -0.011877323, 0.0022749999, 0.023444328, -0.02414254, -0.018277578, -0.053467344, 0.032738276, -0.015120118, -0.029061038, 0.010279198, 0.037641257, 0.0030469093, -0.016276043, -0.0438786, 0.021706562, -0.036027618, 0.0049689254, -0.007207075, 0.016834611, 0.011861807, -0.011939385, -0.007695822, -0.0031264278, -0.021504859, -0.010302471, -0.014476214, -0.017889682, -0.016089853, 0.04049616, -0.0011898656, -0.02699744, 0.026019948, -0.02645439, 0.01632259, -0.0026725915, -0.0071256175, -0.027881838, -0.0028917517, -0.009216367, -0.043785505, -0.008983631, 0.008975873, -0.022947824, -0.024421822, -0.00730017, -0.0048952256, -0.008781926, 0.0011268328, 0.015616623, 0.037175786, -0.018649956, 0.006830818, -0.006834697, -0.031062571, -0.02850247, -0.02457698, 0.025942368, 0.02678022, -0.023304688, -0.0009629475, -0.018541345, 0.0009842817, 0.032862402, 0.028533502, 0.039627276, 0.0014022377, -0.007567817, -0.01936368, -0.016338106, -0.01294791, 0.0346312, -0.0067260866, 0.012528985, -0.0018056477, -0.0059774504, -0.056787718, 0.020527365, 0.00037431795, 0.02817664, -0.010868797, -0.031590108, -0.006543776, -0.036493093, -0.011683375, -0.016276043, -0.01892924, 0.0045655156, -0.005515856, 0.0005847506, -0.0026396203, 0.0050775358, -0.018091388, -0.01173768, -0.021442795, -0.01823103, 0.041830517, 0.016027791, -0.00010376171, 0.0069665806, 0.014701192, -0.022590961, 0.0041039214, 0.00972063, -0.013009974, -0.019720543, 0.010698124, 0.023459844, 0.017548336, -0.07373094, 0.0091930935, -0.0014255114, 0.00012521712, -0.01922404, 0.0065205023, -0.025135547, 0.011303239, 0.013824551, -0.005694288, -0.012567773, -0.015624381, 0.009643051, -0.0067881495, -0.015577833, -0.011846291, -0.005193904, -0.011784228, -0.0058300504, -0.0012577472, 0.009037936, 0.0126919, -0.019348165, -0.008386274, 0.021923784, 0.0044452683, -0.017222505, 0.008944841, 0.020186016, -0.014623613, -0.021535888, -0.011908353, -0.008634526, -0.014778771, -0.008533673, -0.016710484, -0.034382947, 0.027540492, 0.020992838, 0.040806476, 0.01041884, 0.022916792, 0.034507073, -0.00071081624, -0.031528044, -0.0151589075, -0.012722932, 0.07956487, -0.010892071, -0.011171355, 0.019534355, -0.002509676, 0.02355294, -0.009503409, -0.0011016197, -0.00038571234, 0.033452, -0.0037393006, 0.041613296, -0.0170208, -0.019270586, 0.016074337, 0.0010444053, -0.000008220025, 0.023816707, 0.04896777, -0.0014284207, 0.00539173, 0.021954816, 0.013064278, 0.004538363, -0.047695477, 0.011512701, 0.016462233, -0.012265217, 0.027090535, 0.023335718, 0.0045810314, -0.00042983532, -0.04369241, 0.02468559, -0.0219393, 0.003000362, -0.014522761, 0.029914405, -0.02285473, -0.010341261, 0.011241175, 0.004352174, -0.0066562654, -0.012226427, 0.017362148, -0.005387851, -0.035965554, -0.00038862156, -0.025476895, 0.005477067, 0.00043298697, -0.024964875, 0.0051706303, -0.0026687125, 0.016694969, -0.02207894, 0.015213213, 0.009627535, 0.0033048592, 0.000616267, -0.045088828, 0.030426426, -0.013304773, 0.002662894, -0.006621355, -0.02589582, -0.026578514, -0.011939385, -0.031109119, -0.0011743499, -0.012195395, -0.020449786, -0.0035162615, 0.011179113, -0.011054986, -0.00006679054, 0.0017784951, 0.011908353, 0.006020119, 0.04052719, -0.013343562, -0.002509676, -0.004390963, -0.03199352, 0.01976709, 0.022916792, 0.0074126595, -0.0216445, -0.009115515, -0.028967943, 0.012676384, 0.035717305, 0.003605477, 0.047416195, 0.0058416873, -0.007358354, -0.01782762, 0.027540492, 0.0050852937, 0.019968797, -0.0024825232, -0.030845352, -0.0113109965, -0.029619606, 0.004860315, -0.01753282, -0.061876893, -0.0023002129, 0.028238703, 0.039751403, -0.016819095, -0.02414254, -0.0036481456, -0.019813638, -0.0097671775, 0.0055779195, -0.010449871, 0.011838533, 0.0036229324, -0.036772374, 0.02234271, 0.005729198, -0.00027346544, 0.0024553707, 0.011691133, 0.0055934354, 0.0073312013, 0.015570075, 0.011396334, 0.0053025144, -0.004864194, 0.008665558, 0.014546035, 0.016632905, 0.009596504, 0.012598805, 0.0049456516, -0.02054288, -0.0201705, -0.009433588, 0.01404953, 0.025026938, -0.021210058, 0.008363, -0.0048913467, 0.017889682, 0.003686935, 0.0019705028, 0.009945609, 0.0083242105, -0.040806476, 0.005477067, 0.0050814147, 0.0074592065, -0.022808183, 0.007831585, -0.005659377, -0.018867176, -0.008735378, -0.029061038, 0.01691219, -0.030317815, -0.0073312013, 0.030752257, 0.025120033, 0.013723698, -0.016089853, -0.020791132, 0.01844825, -0.011729922, 0.0075794538, -0.0073389593, -0.0017969202, -0.009495651, -0.04415788, -0.03478636, 0.0148718655, -0.00616364, -0.03307962, -0.005065899, 0.0026939255, -0.040434096, 0.0009193094, -0.056942876, -0.020325659, 0.0005192934, -0.026981924, -0.0107291555, 0.0076182433, -0.0070984648, 0.02901449, -0.030364363, -0.020123955, -0.020822164, -0.011202387, 0.0149649605, -0.027649103, -0.009650809, 0.05176061, 0.019689513, 0.01093086, -0.03382438, -0.0021663895, 0.030984994, -0.0013692668, 0.022497866, 0.0042939894, -0.028952427, -0.008494884, 0.010302471, -0.0018677108, -0.0074669644, -0.014173656, 0.012598805, 0.0013120524, 0.008929326, 0.016493265, -0.019782607, -0.01951884, -0.008681074, -0.010806734, 0.0035860825, -0.0057563507, 0.027928386, -0.0128393, -0.010744671, 0.032893434, -0.012195395, -0.032490022, 0.01515115, 0.013436657, -0.01951884, 0.0019103792, 0.011241175, 0.011520459, 0.00902242, -0.023056434, -0.0037218453, -0.0219393, 0.008355242, -0.012591047, 0.047354132, 0.020046376, 0.010550723, -0.010325745, 0.0300075, 0.014383119, 0.027943902, -0.034196757, 0.016245011, 0.023770161, -0.016120885, -0.028874848, 0.010139556, 0.04552327, -0.039751403, -0.0103490185, -0.0057873824, -0.025321737, 0.010333503, -0.0061869132, -0.019301618, -0.02325814, 0.007913043, 0.018805113, 0.019068882, -0.00293442, -0.011388576, 0.000068002715, -0.017703494, 0.0052443305, -0.014972718, -0.021722078, 0.04052719, -0.0011791985, -0.010449871, -0.012738448, 0.019673998, -0.009216367, -0.0017358268, 0.024809716, 0.015857117, -0.020154985, -0.009270673, -0.01925507, 0.020806648, -0.026919862, -0.006202429, -0.02215652, 0.0068075443, -0.024266664, -0.0012461103, 0.0018211636, -0.0010667092, -0.008308695, -0.037299912, -0.021179026, -0.020868711, -0.014615855, 0.024297696, -0.048905708, 0.009790451, 0.05374663, 0.0047827363, 0.024995906, 0.007222591, -0.006369224, -0.012583289, -0.002251726, -0.018680988, 0.008983631, 0.017253537, 0.0063071605, 0.012195395, 0.036368966, -0.023009887, 0.0028568413, 0.004456905, -0.010372292, 0.019534355, -0.024406306, 0.02395635, -0.020372206, 0.0005445066, 0.0426994, -0.0058339294, -0.018324126, -0.012055754, 0.029433416, -0.0025484653, -0.0025523442, -0.013746972, 0.016819095, 0.021923784, -0.029138617, 0.0012441708, -0.02688883, -0.0026144073, 0.027928386, 0.0053684567, -0.031481497, -0.0092861885, -0.0036946929, -0.013630604, -0.02255993, -0.0017232202, -0.011241175, -0.006865728, 0.007183802, 0.0124669215, 0.008688832, 0.00242046, -0.03528286, 0.019937765, -0.0022439682, -0.0046392153, -0.0026764704, -0.015756264, -0.0055119772, 0.0072691385, -0.018743051, -0.04189258, 0.014491729, 0.024018412, -0.01984467, 0.013079794, -0.011396334, -0.023971865, -0.017439725, -0.0008587009, -0.010791218, 0.05601193, 0.012304006, -0.0022109973, -0.023040919, -0.0062916446, -0.046795562, -0.022684056, 0.0026163468, -0.015019266, 0.02960409, -0.029355837, 0.008673316, -0.053498376, 0.011543733, -0.007222591, -0.025104517, -0.021147994, 0.012117816 ]
2310.12773
22
min θ max λ≥0 [−JR(θ) + λ · JC(θ)], (12) where λ ≥ 0 serves as the Lagrange multiplier. It is important to note that the optimization of helpfulness JR often contradicts the objective of minimizing harm JC (Bai et al., 2022a). Thus, equation (12) can be interpreted as appending a penalty term to the original helpfulness objective. This penalty, which corresponds to the potential harmfulness of the LLMs, can be dynamically modulated via the parameter λ. Specifically, we iteratively solve the min-max problem in equation (12), alternately updating the LLM parameters θ and the Lagrange multiplier λ (refer to Appendix B.3 to more details). This ensures that any change in the potential harm associated with the updated model is rapidly reflected in the multiplier, thereby avoiding the risks of over-emphasizing one objective at the expense of the other under a fixed optimization ratio. 5
2310.12773#22
Safe RLHF: Safe Reinforcement Learning from Human Feedback
With the development of large language models (LLMs), striking a balance between the performance and safety of AI systems has never been more critical. However, the inherent tension between the objectives of helpfulness and harmlessness presents a significant challenge during LLM training. To address this issue, we propose Safe Reinforcement Learning from Human Feedback (Safe RLHF), a novel algorithm for human value alignment. Safe RLHF explicitly decouples human preferences regarding helpfulness and harmlessness, effectively avoiding the crowdworkers' confusion about the tension and allowing us to train separate reward and cost models. We formalize the safety concern of LLMs as an optimization task of maximizing the reward function while satisfying specified cost constraints. Leveraging the Lagrangian method to solve this constrained problem, Safe RLHF dynamically adjusts the balance between the two objectives during fine-tuning. Through a three-round fine-tuning using Safe RLHF, we demonstrate a superior ability to mitigate harmful responses while enhancing model performance compared to existing value-aligned algorithms. Experimentally, we fine-tuned the Alpaca-7B using Safe RLHF and aligned it with collected human preferences, significantly improving its helpfulness and harmlessness according to human evaluations.
http://arxiv.org/pdf/2310.12773
Josef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji, Xinbo Xu, Mickel Liu, Yizhou Wang, Yaodong Yang
cs.AI, cs.LG
null
null
cs.AI
20231019
20231019
[ { "id": "2302.13971" }, { "id": "2304.05302" }, { "id": "1707.06347" }, { "id": "2305.18290" }, { "id": "2305.10403" }, { "id": "2305.03047" }, { "id": "2211.05100" }, { "id": "2110.08207" }, { "id": "2304.05335" }, { "id": "2107.03374" }, { "id": "2105.04054" }, { "id": "2209.07858" }, { "id": "2305.15324" }, { "id": "2307.09288" }, { "id": "2210.11416" }, { "id": "2212.08073" }, { "id": "2307.12950" }, { "id": "2009.11462" }, { "id": "2307.04657" }, { "id": "2204.05862" }, { "id": "2112.00861" }, { "id": "2209.14375" }, { "id": "2303.00957" }, { "id": "2306.01693" }, { "id": "2305.01937" }, { "id": "2307.15217" }, { "id": "2306.17492" }, { "id": "2112.04359" }, { "id": "1506.02438" } ]
{ "authors": "Josef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji, Xinbo Xu, Mickel Liu, Yizhou Wang, Yaodong Yang", "chunk_id": 22, "doc_id": "2310.12773", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12773", "summary": "With the development of large language models (LLMs), striking a balance\nbetween the performance and safety of AI systems has never been more critical.\nHowever, the inherent tension between the objectives of helpfulness and\nharmlessness presents a significant challenge during LLM training. To address\nthis issue, we propose Safe Reinforcement Learning from Human Feedback (Safe\nRLHF), a novel algorithm for human value alignment. Safe RLHF explicitly\ndecouples human preferences regarding helpfulness and harmlessness, effectively\navoiding the crowdworkers' confusion about the tension and allowing us to train\nseparate reward and cost models. We formalize the safety concern of LLMs as an\noptimization task of maximizing the reward function while satisfying specified\ncost constraints. Leveraging the Lagrangian method to solve this constrained\nproblem, Safe RLHF dynamically adjusts the balance between the two objectives\nduring fine-tuning. Through a three-round fine-tuning using Safe RLHF, we\ndemonstrate a superior ability to mitigate harmful responses while enhancing\nmodel performance compared to existing value-aligned algorithms.\nExperimentally, we fine-tuned the Alpaca-7B using Safe RLHF and aligned it with\ncollected human preferences, significantly improving its helpfulness and\nharmlessness according to human evaluations.", "text": "min θ max λ≥0 [−JR(θ) + λ · JC(θ)], (12)\nwhere λ ≥ 0 serves as the Lagrange multiplier.\nIt is important to note that the optimization of helpfulness JR often contradicts the objective of minimizing harm JC (Bai et al., 2022a). Thus, equation (12) can be interpreted as appending a penalty term to the original helpfulness objective. This penalty, which corresponds to the potential harmfulness of the LLMs, can be dynamically modulated via the parameter λ. Specifically, we iteratively solve the min-max problem in equation (12), alternately updating the LLM parameters θ and the Lagrange multiplier λ (refer to Appendix B.3 to more details). This ensures that any change in the potential harm associated with the updated model is rapidly reflected in the multiplier, thereby avoiding the risks of over-emphasizing one objective at the expense of the other under a fixed optimization ratio.\n5", "title": "Safe RLHF: Safe Reinforcement Learning from Human Feedback", "year": 2023 }
[ -0.003145126, 0.023435064, 0.034680657, 0.0070925453, -0.039777584, -0.009607297, 0.019753952, 0.0269274, 0.007699322, 0.026792562, 0.033170458, 0.010375882, -0.056956105, 0.0432025, 0.011629886, -0.028181406, 0.047787033, -0.030716384, -0.0030591658, 0.04786794, -0.016868392, 0.017151555, 0.024014873, 0.028478052, 0.010753431, -0.0139828315, 0.023273258, 0.0040890006, 0.07227384, -0.023475517, 0.033467107, -0.03214568, -0.064884655, -0.008245421, -0.028181406, 0.030419737, 0.022491189, 0.011892823, -0.011919791, 0.05992257, -0.018284203, -0.0075509986, -0.04935117, 0.020576471, -0.018917948, -0.011009626, 0.026671207, 0.03077032, 0.017084135, 0.016234647, 0.013079409, 0.008306098, 0.0037249345, 0.0021725977, -0.021061894, 0.015857097, 0.059059598, 0.036352664, 0.035624534, 0.006411607, 0.008124066, -0.022383317, -0.022194542, 0.024432875, -0.03303562, -0.013362571, -0.020037115, 0.005319409, -0.01531774, 0.0030659079, -0.054609902, -0.03400646, 0.048919685, -0.010328688, -0.0017613379, 0.009182554, 0.031039998, 0.011973727, 0.033116523, -0.010672527, 0.018553883, 0.026050946, 0.024392422, -0.029799476, -0.001827072, -0.06483072, -0.041503526, 0.035597567, -0.08834668, -0.031929936, -0.018931432, -0.015250321, 0.0033692962, 0.043876696, 0.0416923, -0.00820497, 0.0000010863515, -0.021169765, 0.045629606, 0.0355706, -0.008272389, -0.025080103, 0.053935707, -0.019322466, 0.0012792875, -0.0028046567, -0.026050946, 0.019875307, -0.024958748, -0.016275099, 0.015749225, 0.022450738, -0.02040118, 0.028828634, -0.005346377, -0.07065577, -0.06666453, 0.040640555, 0.008764552, -0.053935707, -0.024082292, -0.03327833, 0.044416055, -0.030743351, 0.0118119195, -0.011481564, -0.0042811465, -0.033197425, -0.027318435, -0.01933595, -0.0053767157, 0.035840277, 0.00022880538, -0.03619086, -0.022612544, -0.01802801, 0.009802815, 0.017812267, 0.025740815, -0.043526113, 0.053962674, 0.012668149, -0.0333053, -0.00769258, -0.033494074, 0.015816646, -0.009984847, 0.036595374, -0.0124254385, 0.011953501, 0.022828287, -0.04835336, -0.025268879, 0.008751068, -0.009344361, 0.005669991, -0.03141755, 0.028585924, 0.013679443, -0.041908044, -0.012000695, 0.016666133, -0.015978452, -0.00734874, 0.047894906, 0.041395653, -0.031039998, 0.037485316, -0.05598526, -0.013807541, 0.015101997, -0.05690217, -0.02688695, -0.018365107, -0.029421927, -0.02737237, -0.032577164, -0.043903664, -0.026037462, 0.037485316, -0.0026765594, 0.012014179, -0.01933595, 0.0010686012, -0.022518156, 0.018122397, -0.014967158, -0.0006556559, 0.0007808036, -0.03449188, 0.028558956, 0.0065194783, 0.08726797, 0.013834508, 0.040856298, 0.031822067, 0.03767409, 0.057603333, 0.027588114, 0.034222204, 0.016369486, 0.016625682, 0.06342839, -0.039966356, -0.008879165, 0.010874786, -0.030123092, 0.04171927, -0.02901741, -0.031309675, 0.004038436, 0.030338835, 0.032226585, 0.035085175, 0.055041388, 0.028612891, 0.013234474, 0.0043215984, -0.060354054, 0.027089208, -0.043175533, 0.0008115638, 0.008771294, 0.024743006, -0.042501334, 0.01507503, 0.02428455, -0.049243297, 0.04368792, -0.0027372371, 0.06466891, -0.0062868805, -0.03551666, -0.034464914, 0.021547314, -0.013585056, -0.008771294, 0.0039137094, -0.0027136402, -0.057711206, 0.0019416853, 0.02022589, -0.02040118, -0.04859607, -0.001337437, 0.0003672263, -0.027170112, -0.004786794, -0.023408096, -0.022464221, -0.01640994, -0.0029630929, 0.0033372717, -0.039238226, -0.021816993, 0.036109954, -0.01212205, 0.05878992, -0.014441285, 0.016774004, 0.0009076368, -0.013578313, -0.018499946, 0.032685038, 0.015654838, -0.003660886, 0.007119513, -0.014427802, 0.0070251254, -0.0014604778, 0.035840277, 0.020064082, -0.023138417, 0.024325004, -0.038375255, -0.019416854, 0.029475862, 0.03732351, -0.027911728, -0.014171607, -0.056093134, 0.005073327, 0.062241804, 0.015951484, 0.0025316072, -0.05463687, 0.0050261337, 0.017731363, 0.016342519, -0.018162848, -0.0015152562, -0.007874613, 0.048703942, -0.04182714, -0.015425611, 0.04220469, -0.029179217, -0.055338033, 0.033359233, 0.012546794, 0.045656573, 0.057225782, -0.062241804, -0.05123892, -0.020805698, 0.019201111, 0.016099809, -0.014994126, 0.0075847087, 0.03114787, 0.0021928234, 0.017636975, -0.012331051, 0.007530773, -0.05409751, -0.047760066, 0.03993939, -0.017151555, 0.006977932, 0.015519999, 0.024918295, -0.035462726, 0.0035664984, -0.05447506, 0.018675238, -0.036945958, 0.01851343, -0.0006232102, -0.032685038, 0.008467906, 0.0023714856, 0.008676907, -0.0018776368, 0.008501615, -0.034141302, -0.032253552, -0.059221406, 0.02675211, -0.005878992, -0.0012245091, -0.07265139, 0.027156627, 0.00083600346, 0.010766915, 0.004385647, -0.016113292, 0.025201458, -0.0041867592, 0.053558156, 0.041045073, -0.036945958, -0.046249866, -0.00043401387, 0.027291467, 0.03575937, 0.026199268, 0.0035260466, -0.03778196, -0.03805164, 0.009121876, -0.050672594, -0.013342345, 0.020724794, -0.03567847, 0.020562988, -0.005875621, 0.025484622, 0.011077045, -0.016989747, 0.004035065, -0.0133693125, 0.052047957, -0.012290599, -0.0151289655, -0.019308982, -0.006977932, 0.018594334, 0.007517289, 0.047274645, -0.036217827, 0.00009554626, 0.014926706, -0.023097966, 0.0099713635, 0.042771015, 0.000795973, 0.027857792, -0.0009514596, -0.02342158, -0.006023944, 0.03228052, -0.03980455, 0.0054003126, -0.0063475585, 0.015344708, -0.012108566, 0.046762258, 0.06067767, 0.073891915, 0.020684343, -0.03392556, -0.036029052, -0.053315446, 0.020428149, -0.03190297, -0.046168964, -0.001982137, 0.03454582, 0.004173275, 0.024810424, 0.06725782, -0.033170458, 0.014454769, 0.00061857514, 0.027938696, -0.05164344, 0.03368285, 0.0118119195, 0.019228078, 0.0050800694, -0.011420886, -0.016612196, 0.0522637, -0.014670512, 0.019619113, -0.0046586967, 0.02304403, -0.019228078, 0.042474367, -0.0629969, 0.0009994961, 0.077074125, -0.0012590616, -0.021709122, -0.055769518, 0.0072543523, 0.011029852, -0.019282015, 0.023084482, -0.03842919, 0.02555204, 0.0031535532, -0.03616389, 0.01456264, 0.0078004515, 0.032091744, -0.007463353, 0.01933595, -0.009755621, 0.002860278, -0.019673048, -0.007126255, 0.10328688, 0.00037460032, -0.0035091918, -0.006930738, 0.045279026, -0.031201806, -0.0089061335, 0.020279825, 0.0028754473, 0.012371503, 0.012506342, -0.0050362465, -0.0012337792, 0.034437947, 0.004935117, -0.004753084, -0.07577967, 0.046627417, -0.010470269, -0.05652462, 0.021156281, -0.033736784, -0.03416827, 0.006583527, -0.016369486, -0.043040693, 0.03794377, -0.032846846, 0.030581545, -0.011993952, 0.016774004, -0.03729654, 0.03379072, 0.072058104, 0.049539946, -0.015358192, -0.004196872, 0.001280973, 0.0065295915, -0.021587767, 0.01833814, -0.015101997, 0.009088166, -0.014872771, -0.0077667413, -0.0065059946, 0.01806846, 0.027277984, 0.028990442, 0.027075725, -0.027331918, 0.047166776, 0.008009452, 0.03802467, 0.030230964, -0.005477845, -0.02077873, 0.032738972, -0.039022483, 0.011940016, -0.013227732, -0.001006238, -0.0055486355, 0.00862297, -0.014818835, 0.0077869673, 0.019201111, 0.033467107, 0.027722953, -0.024877844, -0.0031687226, 0.0063138483, 0.012870408, -0.021870928, -0.0124996, -0.03983152, -0.048434265, -0.052182794, 0.020589955, -0.0034316592, -0.03454582, 0.022342866, -0.03527395, -0.018446011, -0.0039609033, 0.012182727, 0.0088252295, -0.026873466, -0.004082259, -0.010085977, -0.002280469, 0.01136695, 0.002856907, -0.020131502, 0.02750721, -0.020630408, -0.00283331, 0.012405212, 0.0008933101, -0.021331571, -0.021951832, 0.0010517463, -0.032604136, -0.013241216, -0.016018905, 0.017111102, 0.011070304, 0.016908843, -0.04619593, 0.028235342, 0.01618071, 0.014212058, -0.020279825, -0.026145333, 0.021372024, 0.016261615, -0.022477705, 0.013416506, -0.0057643787, 0.023502484, 0.03211871, -0.00769258, 0.042771015, -0.0197135, -0.0041361945, 0.0041260812, 0.03066245, -0.026873466, -0.028370181, -0.015614387, 0.0024119373, -0.029098313, -0.03880674, -0.023826098, 0.0049654557, 0.036029052, -0.06493859, 0.00879152, -0.0028349955, -0.00601046, 0.017906655, -0.007146481, -0.028127471, 0.0054137963, -0.028693795, 0.009991589, 0.014090703, -0.03818648, 0.030203994, -0.004210356, 0.04457786, 0.01645039, -0.022895707, 0.0021034926, 0.021452926, 0.031093935, 0.025835203, -0.025916107, -0.003478853, -0.036002085, 0.01140066, 0.030123092, -0.05323454, -0.043148566, 0.0029445523, -0.017340329, 0.022369834, -0.022221511, -0.031228773, 0.018284203, 0.00083516067, -0.0082521625, 0.014535673, 0.004041807, -0.011899565, -0.02317887, 0.02493178, -0.025686879, -0.009876976, -0.011164691, -0.02912528, 0.0010138227, 0.01696278, -0.009101651, 0.0063071065, -0.04258224, 0.010315204, -0.053207573, 0.024877844, 0.027331918, 0.010032041, -0.046573482, -0.0075644827, 0.016059356, -0.004011468, 0.003386151, -0.03281988, -0.04406547, -0.036029052, 0.0023209208, -0.0009944396, -0.012331051, 0.006755447, 0.0066745435, 0.018917948, 0.029772509, -0.00061225455, 0.00034489355, -0.01713807, -0.0052890703, 0.006984674, -0.0028585924, 0.038348287, 0.036271762, -0.006826238, 0.042636175, 0.017016714, -0.00021458404, 0.0027692614, 0.04158443, 0.009951138, -0.006610495, 0.007193675, -0.016315551, -0.012600729, -0.0028788182, -0.030743351, -0.011468079, -0.020104535, -0.0020562988, -0.017259426, -0.03519305, -0.014791867, 0.014953675, 0.03368285, 0.013955864, -0.022383317, -0.022127124, 0.0109894, 0.011272563, 0.05512229, -0.024581198, 0.010807367, 0.04738252, -0.014468253, 0.03478853, -0.030878192, -0.031201806, 0.004726116, 0.0040721456, -0.030878192, 0.03470763, -0.028558956, -0.034114335, -0.024769973, 0.040370874, 0.038644932, 0.018526915, 0.025390234, -0.0013677757, -0.005319409, -0.022612544, -0.026792562, 0.030446706, 0.013140086, 0.02561946, 0.022383317, -0.008083614, -0.028127471, -0.023880033, -0.061378833, -0.015236837, -0.021992283, -0.0072273845, -0.00820497, 0.027331918, 0.016045872, -0.0014655342, 0.02404184, 0.008144291, -0.005002537, -0.016248131, 0.024985716, 0.020360729, -0.040640555, -0.0030675933, -0.034626722, 0.019349433, 0.009458974, -0.008690391, -0.028909538, 0.0032310858, 0.022936158, 0.030554578, 0.022167575, 0.0124996, 0.0057441527, 0.026482431, -0.009452232, 0.0123445345, -0.033224393, 0.026050946, 0.052695185, 0.017771814, 0.022342866, 0.0033018764, 0.0050800694, -0.017798783, -0.0006590269, -0.00989046, -0.022963127, -0.022450738, 0.016261615, 0.0014823892, -0.017380781, -0.0046688095, 0.044604827, -0.02719708, 0.010396107, -0.03166026, 0.021682154, 0.0067149955, 0.024230616, -0.021506863, -0.023394613, -0.03818648, -0.02599701, -0.0058419113, 0.0026883578, -0.017704396, 0.00011082102, -0.04204288, -0.014670512, -0.02373171, 0.030716384, 0.014657028, 0.022572093, -0.01236476, 0.009216264, -0.009661233, -0.020064082, -0.0050396174, 0.0016012163, -0.013025473, -0.010065751, -0.09681459, 0.009297167, 0.0043081143, -0.016531294, -0.0048441007, 0.014117671, 0.0030541094, 0.012587246, 0.0085757775, -0.019726984, -0.02990735, 0.0054475064, 0.021830477, 0.021682154, -0.00092870544, -0.046007156, 0.018607818, 0.018607818, 0.03090516, -0.02098099, -0.014346898, -0.014549157, 0.007813935, 0.06127096, -0.025767783, -0.0021523717, 0.0062363157, -0.011157949, 0.0060070893, -0.0014967158, 0.0059295567, -0.0004719374, 0.060569797, 0.029529799, -0.023435064, 0.013760347, 0.0037923544, -0.002177654, -0.025605977, 0.026603786, -0.032738972, -0.036649313, 0.03802467, 0.013416506, -0.008697133, -0.03567847, 0.009020747, -0.028936505, 0.0077667413, -0.034384012, -0.0123040825, 0.008258905, 0.003042311, -0.05803482, -0.021412475, 0.003829435, 0.033224393, 0.047166776, 0.0026394785, -0.0030844482, 0.0029327539, -0.013308635, 0.01947079, -0.008562293, -0.014441285, 0.020320278, -0.0177853, 0.03745835, -0.033494074, -0.020643892, -0.009627524, 0.01991576, -0.016194196, 0.050295044, 0.0102343, 0.0006063553, -0.014198574, 0.014292962, -0.013072667, 0.0044159857, 0.00034194393, -0.03805164, 0.023583388, 0.04708587, -0.0012110252, 0.013888444, 0.03001522, -0.013638992, -0.013092892, 0.018378591, 0.00419013, 0.015479547, 0.014913223, 0.006037428, 0.023515968, -0.033197425, -0.005305925, -0.0028383664, 0.003077706, 0.019753952, 0.033898592, 0.0287747, 0.014036767, -0.036595374, 0.013915412, 0.0014343527, -0.01291086, -0.0066037527, 0.011596177, -0.00094977405, -0.0003733362, 0.03290078, -0.031228773, 0.02606443, 0.0011579322, 0.0033574977, -0.02311145, 0.010281494, 0.027291467, 0.035004273, 0.018365107, 0.031471483, -0.024972232, 0.0031889486, -0.020522537, -0.01640994, 0.00017076128, 0.038752805, -0.009297167, 0.01105682, 0.029691605, 0.039346095, 0.015546967, 0.016302068, -0.027965663, 0.00063543004, 0.021372024, -0.01878311, -0.03174116, 0.008670164, 0.018661754, 0.018472979, 0.02091357, -0.0066779144, -0.0004921633, 0.04031694, 0.018446011, -0.0035125627, -0.020144986, 0.025605977, 0.0030895045, -0.02242377, 0.0020225889, 0.045791414, -0.0029799477, 0.023623839, 0.017192006, -0.019632597, 0.015654838, 0.012641181, 0.0010340486, 0.03149845, -0.00903423, -0.0031164724, 0.03063548, -0.0068835444, -0.013477185, -0.02022589, 0.022828287, 0.007443127, -0.007449869, -0.051832214, 0.013113119, -0.023435064, 0.0042710337, 0.0033625541, 0.033332266, 0.0070116417, 0.012701859, 0.0069981576, -0.029745542, 0.03449188, -0.036649313, -0.0064992523, 0.031687226, -0.0021827107, 0.042420432, -0.019942727, 0.017704396, 0.00038850564, 0.031363614, 0.012883891, 0.0075981924, 0.046249866, 0.036703248, 0.03794377, -0.024581198, 0.05566165, -0.010065751, -0.01913369, -0.053450283, 0.03314349, 0.013551346, -0.0094387485, -0.0070858034, -0.018351624, 0.004786794, -0.033359233, -0.016989747, 0.016126776, 0.007126255, -0.010928722, -0.047139805, 0.0063711554, -0.007517289, -0.0112793045, -0.0077599995, -0.0050800694, -0.027089208, -0.020455116, 0.030419737, -0.028963475, 0.023515968, 0.021196732, -0.025700364, -0.029448895, 0.02177654, -0.007166707, -0.012014179, 0.027156627, -0.021506863, 0.035112143, -0.024500294, -0.014670512, -0.015614387, -0.0027844307, 0.020077566, -0.01833814, 0.019726984, 0.0100927185, 0.038779773, -0.0038968548, -0.019214595, -0.011407401, 0.0042676628, 0.008009452, 0.066448785, 0.016908843, -0.004951972, -0.05283002, -0.026050946, 0.017232457, 0.017812267, 0.00941178, 0.023583388, -0.01253331, 0.012735568, 0.023475517, 0.020765247, -0.006775673, -0.01105682, -0.010827593, 0.012526567, -0.00731503, -0.04619593, -0.0009902258, -0.024392422, 0.014657028, 0.024918295, -0.013025473, -0.0043013724, 0.042851917, -0.024190163, 0.046546515, -0.014710964, 0.004389018, 0.04134172, 0.0002993853, 0.018904464, -0.015209869, -0.03290078, -0.007652128, -0.015371676, -0.0048339874, 0.014710964, 0.00497894, 0.014886254, -0.023070998, 0.030716384, 0.0287747, 0.012283857, 0.029961284, 0.023677774, 0.01500761, 0.005487958, -0.038375255, 0.0008966811, -0.02748024, -0.025187975, 0.0012784448, -0.0083330665, 0.02963767, -0.0035732405, -0.017084135, -0.02369126, 0.00889265, -0.007139739, 0.0057947175, -0.02428455, -0.02104841, 0.006054283, -0.010969174, -0.025916107, -0.0013652475, 0.015250321, -0.0059329276, -0.028828634, -0.0026259946, -0.019295499, -0.01913369, 0.040128164, 0.008488132, 0.0031316418, 0.004766568, -0.048407294, -0.043903664, -0.01277602, -0.0287747, 0.003644031, -0.0073622237, -0.029583734, 0.014670512, 0.006576785, -0.0029883753, -0.02311145, 0.0044362117, -0.028531987, 0.00050733273, -0.034761563, -0.014495221, 0.0035462726, 0.015938, 0.013261441, 0.0074768374, -0.03667628, 0.009654491, 0.009458974, 0.019187627, -0.00091185054, 0.005922815, 0.07319075, 0.013274926, -0.030797288, 0.012101823, 0.027048755, 0.044766635, 0.010524205, -0.0022197913, 0.001923145, -0.030986063, -0.01469748, 0.008326325, -0.00995788, -0.002658019, 0.029826446, -0.010483753, -0.020630408, 0.037269574, 0.0020225889, 0.026118366, 0.010274752, -0.041638363, -0.00042706123, 0.010294978, -0.014603092, 0.01545258, 0.012270373, 0.02428455, 0.005862137, 0.00083726755, -0.0019096611, 0.018526915, -0.009674717, 0.0057070716, -0.027102692, 0.010895013, -0.017933622, 0.014805351, 0.01243218, 0.006752076, 0.021412475, 0.011360208, 0.0012194526, -0.026226237, 0.009418523, -0.01569529, -0.00518457, 0.0010677584, 0.0044699213, 0.007928548, 0.005693588, -0.028828634, 0.035975117, -0.02259906, -0.017286394, -0.018526915, -0.013746863, 0.047814004, -0.02053602, 0.038887642, -0.038698867, -0.008818488, -0.014508705, 0.0066307206, 0.032388393, -0.016477358, -0.0019737098, 0.029314056, -0.02737237, 0.009263458, -0.009256715, 0.016585229, -0.00028674412, 0.008326325, -0.008690391, 0.01858085, -0.04595322, 0.01638297, -0.017812267, 0.00046013898, 0.0013104691, 0.05048382, -0.014400833, 0.007834162, -0.005710443, 0.0088656815, 0.023462031, 0.017367298, 0.0001981505, 0.005902589, -0.024823908, 0.007261094, -0.003660886, -0.009249973, -0.02019892, -0.021938348, 0.028235342, 0.005127263, -0.00091185054, 0.03567847, -0.013767089, -0.034060396, 0.030096123, 0.0100927185, -0.022437254, 0.0070116417, -0.020037115, 0.0095601035, 0.021992283, 0.00693748, -0.0010787142, -0.0151694175, 0.029502831, -0.0035091918, -0.012054631, 0.0031889486, -0.00504973, 0.013389539, 0.026563335, -0.037269574, 0.020940538, 0.005508184, 0.012870408, -0.001744483, -0.0078004515, 0.040775392, -0.032738972, -0.00070495653, 0.02386655, 0.03063548, -0.01978092, 0.0023006948, 0.009432007, 0.022693448, -0.006752076, -0.019457305, -0.009465716, -0.049324203, -0.0022821545, -0.020697827, -0.012290599, 0.006108219, 0.006570043, -0.004058662, -0.020239374, 0.005346377, -0.014872771, -0.014265994, 0.011191659, 0.01583013, -0.012634439, 0.06456104, -0.010841077, 0.03454582, -0.023489, 0.04082933, -0.029287089, 0.013167054, -0.00008959437, 0.00570033, 0.03667628, 0.0094387485, 0.0017023457, 0.024662102, 0.068660155, -0.010652302, -0.011009626, 0.020657375, 0.025147522, -0.036622345, -0.026023978, -0.004203614, 0.02428455, -0.05927534, 0.008454422, -0.020050598, 0.011825403, 0.0140098, 0.025012683, 0.014967158, -0.013167054, 0.0057778624, 0.016544778, -0.018607818, 0.0025568896, -0.0015835186, 0.032091744, 0.012526567, 0.024257584, -0.022882223, 0.009607297, -0.004004726, 0.03543576, -0.0043182275, 0.020144986, -0.011596177, -0.007335256, -0.022936158, 0.039346095, 0.05792695, 0.019362919, -0.009337619, -0.019511241, 0.019996664, 0.024823908, -0.01802801, 0.030716384, 0.039346095, 0.0055621197, -0.002684987, 0.018729175, -0.022855256, 0.0063239615, 0.027210563, -0.00016644222, 0.040424813, 0.0014115985, 0.013335603, -0.04962085, -0.019174144, -0.014198574, -0.010564656, 0.009196037, -0.007989226, 0.018297687, 0.014603092, 0.024217132, -0.0014141267, -0.029179217, -0.037593186, -0.011697306, -0.017933622, -0.026495915, -0.012553535, 0.018284203, -0.021816993, -0.02335416, 0.021250667, -0.00023702215, 0.029287089, -0.02160125, 0.03141755, 0.015843613, -0.03214568, 0.03241536, 0.03592118, 0.013847993, 0.00041863378, -0.018553883, 0.004887923, 0.025214942, 0.029071346, 0.03152542, -0.014306446, 0.046573482, -0.02537675, 0.0063172197, -0.020886602, -0.0118523715, 0.008366777, -0.026846496, 0.00803642, 0.009236489, -0.0061722673, -0.0027254387, 0.043984566, -0.007503805, 0.016086323, -0.010834334, -0.022450738, 0.010571398, 0.017434716, 0.02073828, 0.006084622, 0.018230269, 0.025228426, -0.0027254387, -0.01425251, 0.024500294, -0.024823908, 0.029853413, 0.037889834, -0.020751763, 0.023502484, -0.024891328, 0.0006505994, -0.013605282, -0.006775673, 0.0033912074, -0.027358886, -0.008515099, -0.0038226931, 0.014670512, -0.03540879, 0.018189816, -0.004004726, -0.010207333, -0.019929243, -0.0016821198, 0.023839582, -0.018297687, 0.005002537, 0.0072071585, 0.0041463072, 0.03314349, 0.012223179, -0.00044960467, 0.01318728, -0.020603439, 0.030338835, 0.031929936, -0.0050463593, 0.029853413, 0.0033440138, -0.009405038, -0.010672527, 0.011346724, 0.00046224584, -0.024014873, 0.02850502, 0.020252857, -0.027669016, -0.009944396, 0.005973379, 0.045144185, -0.045009345, -0.0014680625, -0.0027894874, 0.011973727, -0.013969348, 0.018284203, 0.017218973, -0.0034063768, -0.0034990788, -0.022410285, 0.05099621, -0.0021254038, -0.0020360728, -0.015857097, -0.018243752, -0.023138417, 0.009189296, 0.02366429, 0.002856907, -0.023381129, 0.020374212, 0.01051072, 0.02850502, 0.0023613726, -0.0015304256, 0.0014967158, -0.00030359902, -0.003863145, -0.025282362, 0.015479547, -0.022652997, 0.0044126147, -0.0424474, -0.011002884, -0.0027018418, -0.034195237, 0.0034957079, 0.013794057, 0.00019161924, 0.053450283, 0.026522882, -0.03516608, 0.004180017, 0.014441285, -0.035220016, 0.024972232, 0.038617965, -0.005720556, -0.016733553, 0.03306259, 0.03702686, 0.012438922, 0.0020596697, 0.003826064, -0.015371676, -0.009607297, -0.052668218, 0.0014208688, -0.029098313, 0.0015708774, 0.049081493, -0.038590997, 0.049782656, 0.020131502 ]
2310.12397
23
Table 3: Local error correction rates per backprompt information type. Full (any) gives credit if any edge mentioned in the backprompt was corrected. Full (all) gives each backprompt response a percentage score calculated from the number of mentioned edges which were corrected divided by the total number of edges mentioned in the backprompt. Evil backprompting claims a random correct edge is incorrect. # Backprompts First Full (any) Full (all) Evil 1066 1102 1102 1083 1004 1077 2870 1017 94% 98% 84% 94% # # Incorrect Edges Fixed % Incorrect Edges Fixed Even though performance was unaffected, GPT did correct most errors that were pointed out. However, it didn’t discriminate between real errors or the evil case’s false ones, blindly applying local "fixes" without regard for overall correctness. # 5 Conclusion
2310.12397#23
GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems
There has been considerable divergence of opinion on the reasoning abilities of Large Language Models (LLMs). While the initial optimism that reasoning might emerge automatically with scale has been tempered thanks to a slew of counterexamples, a wide spread belief in their iterative self-critique capabilities persists. In this paper, we set out to systematically investigate the effectiveness of iterative prompting of LLMs in the context of Graph Coloring, a canonical NP-complete reasoning problem that is related to propositional satisfiability as well as practical problems like scheduling and allocation. We present a principled empirical study of the performance of GPT4 in solving graph coloring instances or verifying the correctness of candidate colorings. In iterative modes, we experiment with the model critiquing its own answers and an external correct reasoner verifying proposed solutions. In both cases, we analyze whether the content of the criticisms actually affects bottom line performance. The study seems to indicate that (i) LLMs are bad at solving graph coloring instances (ii) they are no better at verifying a solution--and thus are not effective in iterative modes with LLMs critiquing LLM-generated solutions (iii) the correctness and content of the criticisms--whether by LLMs or external solvers--seems largely irrelevant to the performance of iterative prompting. We show that the observed increase in effectiveness is largely due to the correct solution being fortuitously present in the top-k completions of the prompt (and being recognized as such by an external verifier). Our results thus call into question claims about the self-critiquing capabilities of state of the art LLMs.
http://arxiv.org/pdf/2310.12397
Kaya Stechly, Matthew Marquez, Subbarao Kambhampati
cs.AI
18 pages, 3 figures
null
cs.AI
20231019
20231019
[ { "id": "2206.10498" }, { "id": "2306.03872" }, { "id": "2303.11366" } ]
{ "authors": "Kaya Stechly, Matthew Marquez, Subbarao Kambhampati", "chunk_id": 23, "doc_id": "2310.12397", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12397", "summary": "There has been considerable divergence of opinion on the reasoning abilities\nof Large Language Models (LLMs). While the initial optimism that reasoning\nmight emerge automatically with scale has been tempered thanks to a slew of\ncounterexamples, a wide spread belief in their iterative self-critique\ncapabilities persists. In this paper, we set out to systematically investigate\nthe effectiveness of iterative prompting of LLMs in the context of Graph\nColoring, a canonical NP-complete reasoning problem that is related to\npropositional satisfiability as well as practical problems like scheduling and\nallocation. We present a principled empirical study of the performance of GPT4\nin solving graph coloring instances or verifying the correctness of candidate\ncolorings. In iterative modes, we experiment with the model critiquing its own\nanswers and an external correct reasoner verifying proposed solutions. In both\ncases, we analyze whether the content of the criticisms actually affects bottom\nline performance. The study seems to indicate that (i) LLMs are bad at solving\ngraph coloring instances (ii) they are no better at verifying a solution--and\nthus are not effective in iterative modes with LLMs critiquing LLM-generated\nsolutions (iii) the correctness and content of the criticisms--whether by LLMs\nor external solvers--seems largely irrelevant to the performance of iterative\nprompting. We show that the observed increase in effectiveness is largely due\nto the correct solution being fortuitously present in the top-k completions of\nthe prompt (and being recognized as such by an external verifier). Our results\nthus call into question claims about the self-critiquing capabilities of state\nof the art LLMs.", "text": "Table 3: Local error correction rates per backprompt information type. Full (any) gives credit if any edge mentioned in the backprompt was corrected. Full (all) gives each backprompt response a percentage score calculated from the number of mentioned edges which were corrected divided by the total number of edges mentioned in the backprompt. Evil backprompting claims a random correct edge is incorrect.\n# Backprompts First Full (any) Full (all) Evil 1066 1102 1102 1083 1004 1077 2870 1017 94% 98% 84% 94%\n# # Incorrect Edges Fixed % Incorrect Edges Fixed\nEven though performance was unaffected, GPT did correct most errors that were pointed out. However, it didn’t discriminate between real errors or the evil case’s false ones, blindly applying local \"fixes\" without regard for overall correctness.\n# 5 Conclusion", "title": "GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems", "year": 2023 }
[ 0.014779741, 0.027219804, 0.081475906, 0.03180741, -0.00033690242, -0.002964741, 0.008487074, 0.040218025, 0.012539459, 0.059271887, 0.06587804, 0.008464135, 0.003196033, 0.011950717, 0.004950793, -0.01110201, 0.0327861, -0.045814905, -0.010658541, 0.01662243, -0.0074701537, -0.029926492, 0.0011287426, 0.016530678, -0.0024084938, 0.046487752, 0.022249896, -0.029635943, 0.060189407, 0.026531663, 0.014649759, -0.021500586, -0.011813088, -0.062544376, -0.020919489, 0.036456186, -0.0059868274, 0.009328134, -0.00091560994, -0.024589576, 0.017616412, 0.0021045648, -0.0414108, -0.050494265, -0.037893634, -0.00778364, 0.035293993, -0.019986676, -0.0026990422, -0.033825956, -0.048078123, 0.06661206, -0.003727431, 0.04306234, -0.0012797513, 0.0007273269, -0.01888565, 0.014840909, 0.015238502, -0.04125788, 0.04713002, -0.016133085, 0.012508876, -0.0174482, -0.0034273248, -0.028703129, -0.0469771, 0.017646996, 0.03657852, 0.008540596, -0.0312569, 0.04682418, -0.0009997161, -0.048322797, 0.0014508308, 0.030691093, 0.068875276, 0.066734396, 0.048383966, -0.02009372, 0.0054248455, 0.02069011, 0.0052681025, -0.061596274, 0.01608721, -0.0019841401, -0.022800408, -0.028703129, -0.056519322, -0.028504333, -0.0053789695, 0.00021289365, -0.029299518, 0.015452591, -0.0060212347, -0.03217442, -0.0003443095, -0.038872324, 0.031440403, 0.0059524206, 0.027816191, -0.014519777, -0.053063326, -0.056366403, 0.056641657, -0.0036528823, 0.0010255214, 0.0087929135, 0.008242401, -0.021164162, -0.050800104, -0.022678072, -0.065144025, 0.00004417364, 0.027357431, 0.007546614, -0.021255914, -0.02538476, 0.0060594645, -0.0030947234, -0.041808393, 0.030966349, -0.014886785, -0.017463492, -0.006315606, 0.00857118, 0.05658049, -0.052818652, -0.012799424, -0.009565162, 0.03468231, 0.0220511, 0.03495757, 0.030079411, -0.030507589, 0.05492895, 0.011071426, 0.033642452, -0.013892804, -0.015750784, -0.070649154, 0.000538566, -0.016958855, 0.014366857, -0.029375978, 0.0042129527, -0.028443165, 0.0028099094, -0.03300019, 0.035783336, -0.040585034, 0.05914955, -0.048383966, 0.0011383, -0.029360687, -0.0469771, 0.022830993, -0.0041861916, -0.04917915, -0.022494568, -0.006166509, -0.031272188, 0.06477702, 0.0031558916, -0.004377342, 0.012623566, -0.00766895, -0.022708656, -0.08104773, -0.023855558, 0.0016792554, 0.010291533, -0.05682516, -0.028381998, -0.008112418, -0.028733714, 0.001584636, -0.015452591, 0.00019234499, -0.030400544, -0.016668307, 0.01662243, 0.00007771455, 0.041502554, -0.041869562, -0.025109503, 0.025002459, 0.0011593266, -0.038780574, -0.010459744, 0.027219804, 0.019038571, 0.089060746, -0.020017259, -0.04147197, -0.061137512, 0.056763995, -0.034040045, 0.002754476, -0.009641621, -0.026011733, 0.015888413, 0.02335092, -0.0019841401, -0.01288353, -0.019589083, 0.003715962, -0.017555244, -0.011782505, 0.019757295, 0.04691593, -0.016943563, 0.017096482, 0.036456186, -0.013051743, 0.004270298, -0.046457168, 0.0061512166, -0.011774858, 0.050953023, 0.01265415, 0.03572217, 0.018702146, 0.0155749265, -0.0026684583, 0.061473936, 0.029192474, 0.0069961012, -0.0014823705, -0.034345888, -0.00019688481, -0.01873273, 0.0023396797, -0.05673341, -0.009756312, -0.0034674664, 0.03936167, -0.033183694, -0.025629433, -0.031027516, 0.025858812, 0.014611529, -0.005141943, -0.021347666, 0.0024945114, 0.006911995, -0.017402323, 0.0066099777, 0.018625686, 0.034254134, 0.039086413, 0.012914115, 0.034559976, -0.05786502, -0.03248026, -0.029788863, 0.029207766, 0.0046487753, -0.012684735, 0.0053025093, -0.032541428, 0.025675308, -0.022081682, -0.0052145803, -0.00157699, 0.017662289, -0.00797479, 0.0135410875, 0.002964741, -0.047344107, -0.008227109, 0.025262425, 0.03890291, -0.006896703, -0.00035697318, -0.042634163, -0.014359211, 0.026837502, -0.057436842, 0.0020548657, -0.004530262, -0.001318937, -0.023075664, 0.052176386, 0.0039682803, 0.018870357, -0.02440607, 0.044010445, 0.017616412, -0.044316284, -0.00029174314, -0.033734206, 0.007990083, 0.00736311, 0.0015215564, 0.00006875437, -0.0014068662, 0.011828381, 0.00093329133, 0.014152768, 0.016790643, 0.019757295, -0.05544888, 0.016821226, -0.01767758, 0.037190203, 0.0019124588, -0.021194745, -0.02145471, -0.011614292, -0.063370146, -0.0018168837, -0.0295289, 0.02743389, -0.021500586, -0.06263613, 0.027036298, 0.0024715734, 0.002884458, -0.05991415, -0.024084939, -0.015827244, 0.0032495551, 0.015230856, -0.017050607, 0.014848555, -0.017570537, 0.047099434, 0.029742988, 0.016836518, 0.0033852719, 0.015016768, 0.00027597326, 0.0210877, 0.006262084, 0.023993187, 0.031685073, 0.041838977, -0.015513758, -0.04954616, -0.041502554, 0.00389182, 0.015766077, 0.0034043868, 0.017035315, -0.021179454, -0.016224837, 0.023213293, 0.063737154, 0.05688633, -0.029590067, 0.006277376, 0.013349937, 0.030507589, 0.012937052, -0.021102993, 0.000246106, 0.0182128, -0.02862667, 0.03890291, 0.016377758, 0.00560835, 0.03452939, 0.00755426, 0.034437638, 0.06428767, -0.05229872, 0.016668307, 0.058323782, 0.027556228, -0.012784132, 0.05410318, -0.00020703967, 0.006220031, -0.023167416, -0.015857829, -0.038964078, 0.039545175, 0.026271697, -0.009419887, -0.017111775, -0.030018244, 0.0046755364, 0.0018178393, 0.053919677, 0.0053139785, 0.0492709, -0.0038287404, -0.082026415, 0.0066634994, -0.039331086, -0.010864983, -0.06119868, 0.000557681, 0.025400052, 0.028320828, -0.025629433, 0.061840948, 0.051992882, 0.065021686, -0.0002984334, 0.0046525984, -0.044316284, -0.026623415, -0.00071299064, 0.017616412, -0.00040738907, 0.029590067, 0.03881116, 0.00899171, 0.080191374, -0.031241605, 0.030874597, -0.04404103, 0.008624702, -0.051901132, 0.058140278, -0.0020816268, -0.008716454, 0.04147197, 0.007990083, -0.0015817687, -0.059791815, -0.0064838184, -0.012126575, -0.0060594645, -0.053736173, -0.0071413754, 0.037434876, -0.059271887, -0.02335092, 0.07175018, 0.014374503, -0.010811461, 0.056488737, -0.016270714, 0.001231008, 0.011545478, -0.011140239, 0.010192134, -0.0028137325, -0.005669518, -0.015169688, -0.0054133767, -0.009687497, -0.011790151, -0.026332866, 0.0074472157, 0.0260729, -0.01646951, -0.030996934, -0.0013323176, 0.0036892009, -0.019910216, -0.072606534, -0.011606647, 0.07646012, 0.0052451645, 0.05795677, -0.023886142, 0.0093357805, -0.006468526, -0.028657254, -0.015995458, -0.014343918, 0.05287982, -0.025522389, 0.049515575, 0.017509367, 0.040829703, -0.026699875, -0.0076804194, 0.038015973, -0.04605958, -0.005738332, 0.010230364, -0.03217442, 0.018381013, 0.0256906, -0.017631704, -0.0066711456, -0.061229266, 0.03422355, 0.012210681, 0.015123812, 0.06489935, 0.019053861, -0.02130179, 0.0040447405, 0.00097056566, -0.01601075, -0.030629924, 0.017952837, -0.020017259, 0.042114235, -0.02145471, 0.065205194, 0.00989394, 0.021837011, -0.007982437, -0.036150344, 0.0019612021, -0.038872324, 0.027632687, 0.027204512, 0.015177334, 0.0216688, 0.007913622, 0.0030870773, -0.0312569, -0.035783336, 0.010719709, -0.018014004, -0.0207054, -0.012585336, 0.017494075, -0.008372383, 0.042756498, -0.014450963, 0.013479919, 0.023610886, -0.019527914, 0.006350013, -0.019925507, -0.0018092376, -0.059516557, -0.021378249, -0.06850827, -0.021806426, -0.024880124, 0.008265339, -0.0046831826, 0.039820433, 0.015177334, -0.046640676, -0.012057761, 0.013250539, -0.017111775, -0.047497027, -0.025078919, 0.014512131, 0.012830009, 0.023977894, 0.0016219104, -0.0073248795, -0.023656761, 0.020583065, 0.008188879, -0.03180741, -0.0008496631, 0.020001968, -0.025950566, 0.015024413, -0.008907604, -0.009809834, 0.014007494, -0.000792318, -0.05606056, 0.019619668, 0.03694553, 0.019451454, -0.006449411, 0.010811461, -0.024956584, -0.026638705, 0.007688065, 0.04706885, 0.05339975, 0.04599841, 0.014336273, -0.026577538, 0.014366857, 0.008785268, 0.008655285, 0.012929406, -0.030568756, -0.014282751, -0.0060365265, 0.0026072902, -0.027602104, -0.01971142, -0.0074395696, 0.008815852, 0.048750974, -0.024987167, 0.010069798, 0.02055248, 0.033887126, -0.012937052, 0.034407053, 0.0129982205, 0.009320489, -0.012088345, -0.010933797, -0.012065407, 0.045570232, -0.009649267, 0.0065717474, 0.001542583, -0.0015903705, -0.025124796, -0.0030392897, 0.024115521, -0.0018914322, 0.012975283, 0.032602597, -0.004874333, 0.0046028993, 0.00700757, -0.039820433, -0.01008509, -0.012447707, -0.023519134, 0.015475528, -0.0029398918, -0.005795677, 0.010054506, -0.002731538, 0.010650895, -0.020292517, -0.02705159, -0.0038841742, 0.020598356, -0.02651637, 0.00040165457, -0.004453802, 0.016484803, -0.0295289, 0.02062894, -0.0072216582, -0.028152617, 0.028779589, 0.024543699, 0.04049328, -0.022938035, 0.021026533, 0.023641469, 0.024604866, 0.0054019075, -0.045417313, 0.005650403, -0.040676784, -0.008250047, -0.0072178356, 0.0010608842, -0.04859805, 0.004920209, 0.025140088, -0.013732238, -0.013143495, -0.0076536583, -0.04713002, 0.02643991, 0.035141073, 0.02076657, -0.021546463, -0.005092244, 0.02168409, -0.037159618, -0.038505316, -0.030018244, -0.01767758, -0.023396797, -0.010895567, -0.0112167, 0.014840909, -0.021791134, 0.024283735, -0.00428559, -0.025629433, -0.030308792, 0.03452939, 0.032847267, 0.00046879612, -0.00037513245, 0.011300806, -0.00022209276, -0.03134865, -0.015934289, -0.008517657, 0.008288277, -0.017157651, -0.0534915, 0.015796661, -0.014879139, -0.0005471677, -0.011606647, -0.0060327034, 0.017815208, -0.0421754, -0.0066596763, -0.009687497, 0.002880635, -0.0066176234, -0.020797152, -0.0030297323, -0.013174078, 0.027525643, 0.0073478175, -0.07205602, -0.019894924, 0.00891525, 0.023733221, -0.040921457, -0.010666187, -0.050494265, -0.003442617, 0.03165449, 0.0682636, -0.01752466, -0.02764798, 0.016331881, -0.028045572, -0.011614292, -0.023503842, -0.013005867, 0.018717438, -0.027204512, -0.0074930917, -0.038841743, -0.010903213, 0.0027410954, -0.033428364, -0.0029245997, -0.012761194, 0.025858812, -0.014733865, 0.03150157, 0.0053866156, -0.0032877852, 0.0061282786, 0.0016993262, -0.000043397093, -0.020338392, -0.009572807, 0.04214482, -0.0421754, 0.006376774, 0.016760059, 0.0073095877, -0.014749157, -0.020063136, 0.011858964, -0.008984064, -0.005788031, 0.020919489, -0.033611868, 0.012707672, -0.01752466, -0.0134493355, 0.024084939, 0.015582573, -0.005650403, -0.020414852, 0.012585336, 0.007038154, 0.0047099437, -0.005130474, 0.0010790435, 0.03966751, -0.0026933078, 0.03504932, -0.02576706, 0.020261932, 0.0024543698, 0.016958855, -0.0253083, -0.04713002, 0.016423633, 0.0053866156, 0.032143835, 0.0089305425, 0.029437147, 0.0059982967, 0.041900147, -0.01835043, 0.0017213085, 0.010788523, -0.023886142, 0.007405163, -0.048261628, 0.011361974, -0.022005223, -0.026271697, -0.0064150044, 0.035936255, 0.014619175, 0.018136341, -0.038719404, -0.024864832, 0.0029265112, -0.05590764, -0.023335628, -0.0011430788, -0.012600628, -0.009419887, -0.01971142, -0.10820636, -0.0003216104, 0.056519322, -0.023901435, 0.00993217, 0.013021159, 0.04260358, -0.013441689, 0.014795033, 0.0047061206, 0.049515575, 0.011560771, -0.008410613, -0.02726568, 0.03370362, -0.022616904, 0.042328324, -0.017417615, 0.024084939, -0.032082666, -0.010949089, 0.014810326, 0.003138688, -0.0146726975, -0.034498807, 0.014336273, -0.020063136, -0.021760551, -0.0030335553, 0.01238654, -0.0109643815, 0.026164653, 0.033887126, -0.028183201, -0.013479919, -0.022112267, -0.016974147, -0.042695332, -0.0130440965, -0.019986676, -0.0015626537, -0.0146726975, -0.009710436, -0.01472622, 0.021577045, -0.032847267, 0.0036452364, -0.0036452364, 0.059485976, 0.008892312, -0.018457472, 0.022356939, -0.016867103, -0.003108104, -0.009725727, 0.007485446, -0.0014546538, -0.023993187, -0.013028804, -0.0054668984, -0.010696771, 0.027066883, 0.02659283, -0.033642452, 0.049301486, -0.015498467, -0.01031447, 0.056763995, -0.009603391, 0.016071917, -0.014817972, 0.026164653, -0.013227601, -0.022418108, -0.03315311, 0.02107241, 0.0019879632, -0.00003413825, -0.03945342, 0.041441385, 0.02628699, 0.0072254813, 0.00033140683, -0.0041364925, 0.005883606, -0.005065483, 0.030308792, -0.026164653, -0.0054936595, 0.02855021, 0.018273968, -0.02114887, -0.037893634, 0.010108028, 0.026959838, 0.033948295, 0.044591542, 0.016805934, -0.03205208, -0.0097868955, 0.024834247, -0.0004864775, -0.06881411, -0.027770316, 0.005203111, 0.033275444, -0.018304553, 0.030645216, -0.017998712, 0.006988455, 0.02047602, 0.0120501155, 0.014236875, 0.0023683521, -0.013479919, 0.014022786, 0.02191347, -0.040003937, 0.028274953, -0.0048093414, 0.00693111, 0.03694553, 0.0009968488, -0.0014355388, -0.016775351, -0.022020515, 0.027663272, 0.02069011, -0.015659032, 0.0015320696, 0.030645216, 0.006915818, -0.012944698, 0.01646951, -0.006430296, -0.020063136, -0.014045725, -0.0049125627, -0.034162384, -0.021332374, -0.0089764185, 0.016867103, 0.034498807, -0.022341648, 0.014573299, -0.02998766, -0.033611868, -0.013464627, 0.0060900487, -0.0031711836, 0.008250047, -0.018151633, -0.030278208, 0.018549226, -0.012860592, 0.015009122, 0.02636345, 0.005883606, 0.0018073261, 0.010941443, 0.021837011, 0.017952837, -0.008227109, 0.0072063664, 0.01972671, -0.03920875, 0.000028448541, 0.012516522, -0.01004686, 0.025996441, -0.021745259, -0.031929746, 0.015980165, 0.02463545, 0.025277715, 0.035477497, 0.013265831, 0.025491804, -0.00048480494, -0.0030335553, -0.011438434, 0.024069646, 0.001599928, 0.014282751, 0.01359461, -0.024834247, 0.03761838, 0.017050607, 0.007711003, -0.017279988, 0.02893251, 0.015857829, 0.035141073, 0.050188422, -0.001554052, -0.0066061546, 0.011377266, -0.0048628636, -0.031379234, -0.023442673, -0.022356939, 0.0044423332, -0.008601763, -0.008938188, -0.0077989325, 0.05658049, -0.008127711, -0.028274953, -0.024084939, 0.01965025, -0.029116014, 0.029131306, -0.023717929, -0.0010016275, -0.011476664, 0.007829516, -0.017172944, 0.01662243, -0.040370945, -0.039239336, 0.005719217, 0.0150320595, 0.005562474, 0.031379234, -0.015674325, -0.00502343, -0.0014135565, -0.03673144, 0.034254134, 0.0012338752, -0.025476512, -0.020781862, -0.01934441, -0.008196525, -0.03422355, -0.011300806, -0.0014135565, -0.009687497, -0.04605958, -0.018778605, -0.000032017677, 0.012531814, 0.01731057, 0.030018244, 0.03792422, -0.023809683, -0.00021193789, 0.0041059083, -0.018533934, -0.00037680502, -0.013212309, -0.009542223, 0.02553768, -0.029651236, -0.020583065, -0.017585827, -0.025109503, 0.037740715, 0.0129064685, 0.02772444, -0.007959499, -0.04327643, -0.00770718, -0.016484803, -0.021393541, 0.012103637, 0.0018866535, 0.013724592, -0.0014814149, -0.016301299, -0.058354363, 0.01027624, 0.009060524, 0.02130179, 0.006216208, -0.05031076, 0.016362466, -0.03370362, 0.0017432908, -0.018855065, -0.014756803, 0.016071917, -0.0120959915, 0.007561906, 0.012440062, -0.007982437, -0.024207273, -0.034468222, 0.0023282107, 0.010398576, 0.013762821, -0.021057118, -0.0039262273, -0.0019162818, 0.006445588, -0.00572304, 0.0005032032, 0.011346682, 0.0040753246, -0.0040370943, 0.0066290926, 0.0008826365, 0.031715658, -0.051839963, 0.000799964, 0.0040370943, -0.0013208486, 0.0024792193, 0.030859305, -0.011843673, 0.018778605, 0.01940558, -0.0064761722, -0.0089764185, -0.015100874, -0.010987319, 0.010597372, -0.015360839, -0.022249896, 0.027235094, 0.0020548657, 0.018625686, 0.025552973, 0.015406715, 0.027097467, -0.024528407, -0.0341318, 0.01106378, 0.021882886, -0.024130814, 0.018457472, -0.0006164597, -0.0020472198, -0.020338392, -0.02931481, 0.040799122, -0.004954616, 0.012921761, -0.028718421, -0.019894924, 0.013311707, 0.02425315, 0.02417669, -0.017723456, 0.00095288426, 0.01646951, -0.0020930958, -0.013051743, -0.02847375, -0.026822211, 0.098174796, -0.018870357, 0.007386048, 0.038413566, 0.0114154965, 0.029758278, 0.016897686, -0.013533441, 0.009381657, 0.0047787577, -0.022632197, 0.058446117, -0.0008295923, -0.025568264, 0.009343427, 0.02575177, -0.016209546, 0.03602801, 0.0406462, -0.01828926, 0.016500095, 0.0414108, 0.0038593246, 0.016867103, -0.023595594, 0.018488057, 0.023519134, -0.029590067, 0.026348157, 0.047986373, -0.02621053, 0.0036452364, -0.016530678, 0.012440062, -0.025507096, -0.009741019, -0.050127257, 0.0216688, -0.013931034, -0.016821226, -0.016974147, 0.00849472, -0.014045725, 0.022555735, 0.0053636776, -0.027173927, -0.012738256, -0.016133085, -0.02666929, 0.015009122, 0.011499602, -0.033734206, -0.012218327, -0.0060862256, 0.017494075, -0.033887126, 0.020368977, 0.019497331, 0.01238654, 0.012837654, -0.035385743, 0.026990423, -0.025017751, -0.01125493, -0.02220402, -0.0054592527, -0.03920875, -0.031990916, -0.011851319, -0.027556228, -0.01767758, -0.02523184, 0.007913622, 0.0025059804, -0.020063136, -0.014550361, -0.017478785, 0.011667814, 0.013319353, 0.025430636, -0.0014450963, -0.014328627, 0.01790696, -0.017845793, -0.005440138, 0.024314318, 0.014282751, -0.034376472, -0.021347666, -0.008624702, 0.021837011, 0.02674575, 0.014542715, 0.014687989, -0.0010761762, 0.0067017297, -0.0052642794, 0.017249404, -0.0017843881, 0.010941443, 0.003477024, -0.018472765, -0.021898178, -0.0025747945, -0.007408986, -0.011339036, -0.055265374, -0.0038956432, 0.021561755, 0.05642757, -0.023824973, -0.01171369, -0.02614936, -0.019634958, -0.031623907, -0.024375487, 0.0047711115, 0.008502365, 0.018090464, -0.005486014, 0.0010130967, 0.019206783, 0.0053178016, -0.009534577, 0.0007335393, 0.028183201, -0.0053675007, -0.0034330594, 0.0012338752, -0.008410613, 0.009763957, 0.0010331674, 0.04027919, 0.0059715356, 0.004029448, -0.01737174, 0.010941443, 0.008265339, -0.015888413, -0.012126575, -0.017662289, 0.008563533, -0.030461712, 0.006147394, -0.018319845, 0.0020453082, 0.0066711456, -0.019818464, 0.0054324917, -0.00088645954, -0.03504932, -0.006334721, -0.011476664, 0.032572012, -0.005088421, 0.015888413, 0.012554752, -0.025965856, -0.002158087, -0.012547106, -0.008479428, -0.042114235, -0.010620311, 0.024696618, 0.011973655, 0.008510011, 0.011239638, 0.00024407504, 0.025124796, -0.0155749265, 0.035936255, -0.0013256273, -0.013892804, -0.0012147601, -0.04214482, -0.008823498, 0.008112418, 0.0037140504, -0.039820433, -0.0015378041, 0.021500586, -0.04489738, -0.0005763182, -0.02945244, -0.020353684, 0.018136341, 0.00696934, 0.0027258033, 0.0041632536, -0.028320828, 0.022938035, -0.013021159, -0.026378741, -0.006923464, -0.01027624, 0.016347174, -0.011400204, -0.019237366, 0.046273664, 0.013411106, 0.006976986, -0.02463545, 0.02198993, 0.019527914, -0.024895415, 0.027693857, -0.002538476, -0.023824973, 0.0012224062, 0.020613648, -0.00060068985, -0.0059982967, -0.010994965, 0.022540445, 0.020384269, -0.009633975, 0.009993338, -0.0027258033, -0.011048487, 0.015903706, -0.008211817, 0.015024413, 0.0063653053, 0.017295279, 0.0034254135, -0.021837011, 0.03303077, 0.016668307, -0.040829703, 0.0023932017, -0.003096635, -0.0087470375, -0.017295279, 0.024207273, 0.014106892, 0.0052833944, -0.011300806, -0.026088193, -0.03196033, 0.024895415, -0.032969605, 0.020950073, -0.012271849, -0.0017107952, -0.033336613, 0.036670275, 0.020216055, 0.027418599, -0.033489533, 0.028213784, 0.023442673, -0.024115521, -0.019038571, 0.012868239, 0.014504485, -0.08025254, -0.015001476, -0.041227296, -0.036119763, -0.014840909, -0.026653998, -0.030079411, -0.009618683, 0.004545554, -0.004977554, 0.02101124, 0.014611529, -0.039942767, 0.0109185055, -0.02114887, -0.014099246, 0.0036261212, -0.041349635, 0.0009132206, -0.008846436, -0.002477308, -0.009985692, 0.009503993, -0.005092244, -0.010864983, 0.0216688, 0.006304137, 0.0033910063, -0.012761194, 0.007481623, 0.040768538, -0.0025958212, 0.0066673225, -0.023977894, -0.0031635375, -0.036823194, -0.000077296405, 0.0003407254, -0.006288845, -0.02394731, -0.014741511, -0.013709299, -0.024589576, -0.0115072485, 0.01911503, -0.036823194, -0.010757939, 0.028274953, -0.0033852719, -0.0008343711, -0.024344902, 0.0050998903, -0.023962602, 0.0047519966, 0.006300314, 0.02477308, 0.0049852, -0.018518642, 0.02296862, 0.013472273, 0.01919149, -0.005650403, 0.022922745, 0.0059524206, -0.009159923, -0.016423633, 0.036456186, -0.0048208106, -0.013235247, 0.025109503, -0.022800408, -0.02478837, -0.012355955, 0.017295279, -0.020216055, 0.028320828, -0.007883038, 0.0066214465, 0.016637722, -0.016286006, -0.010742647, -0.028014988, -0.009159923, 0.022616904, -0.01692827, -0.026623415, -0.026470494, 0.0033718913, -0.0103756385, 0.008617056, 0.020751277, -0.013755176, -0.006093872, 0.017111775, -0.007026685, -0.0061779777, -0.011904841, -0.02705159, 0.015383776, 0.0139922025, -0.027372723, 0.014420379, -0.0038631477, 0.00970279, -0.005073129, 0.0051725274, -0.03165449, 0.0027965289, 0.0077951094, -0.023335628, 0.025904689, 0.012478292, -0.03300019, 0.0018990783, -0.011599001, -0.019925507, 0.05040251, 0.02296862, -0.016102502, -0.0103527, -0.007569552, -0.035416327, -0.0076077823, 0.0123636015, -0.03581392, 0.01932912, -0.011981301, -0.01219539, -0.017708164, 0.023090957, 0.0074930917, -0.029024262, -0.01685181, 0.018855065 ]
2310.12773
23
5 Round 1 1448 379 3491 0 Round 1 12811 4837 13687 Round 2 1480 1449 1500 44 Round 2 18786 5398 6339 Round 3 4501 2a7t 942 636 Round 3 27639 3688 1973 o tooo 2000 «== 3000» 4000» 5000-6000 0 000 100001000 20000 ©5000 30000 35000 safety-unrelated » solved safety-related - unsolved safety-related mred-teaming dual-safe pairs mixed-safe pairs = dual-unsafe pairs (a) Prompt source and distribution (b) Distribution of safety labels in preference data Figure 3: (a) Number of different types of prompts during 3 rounds of Safe RLHF iteration. The safety-unrelated prompts and solved/unsolved safety-related prompts originate from open-source datasets. As training progresses, most of the safety-related prompts are solved. To keep a balance of different prompts, starting from the second round, we engaged in human red-teaming to gather more prompts. (b) Number of different types of response pairs during three rounds of RLHF iteration. # 4 EXPERIMENTS In this section, we present experiments devised to evaluate the effectiveness of the Safe RLHF pipeline in both enhancing model safety and boosting its performance. We specifically address the following research questions: • Can Safe RLHF simultaneously improve the LLM’s helpfulness and harmlessness? (Section 4.2.1)
2310.12773#23
Safe RLHF: Safe Reinforcement Learning from Human Feedback
With the development of large language models (LLMs), striking a balance between the performance and safety of AI systems has never been more critical. However, the inherent tension between the objectives of helpfulness and harmlessness presents a significant challenge during LLM training. To address this issue, we propose Safe Reinforcement Learning from Human Feedback (Safe RLHF), a novel algorithm for human value alignment. Safe RLHF explicitly decouples human preferences regarding helpfulness and harmlessness, effectively avoiding the crowdworkers' confusion about the tension and allowing us to train separate reward and cost models. We formalize the safety concern of LLMs as an optimization task of maximizing the reward function while satisfying specified cost constraints. Leveraging the Lagrangian method to solve this constrained problem, Safe RLHF dynamically adjusts the balance between the two objectives during fine-tuning. Through a three-round fine-tuning using Safe RLHF, we demonstrate a superior ability to mitigate harmful responses while enhancing model performance compared to existing value-aligned algorithms. Experimentally, we fine-tuned the Alpaca-7B using Safe RLHF and aligned it with collected human preferences, significantly improving its helpfulness and harmlessness according to human evaluations.
http://arxiv.org/pdf/2310.12773
Josef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji, Xinbo Xu, Mickel Liu, Yizhou Wang, Yaodong Yang
cs.AI, cs.LG
null
null
cs.AI
20231019
20231019
[ { "id": "2302.13971" }, { "id": "2304.05302" }, { "id": "1707.06347" }, { "id": "2305.18290" }, { "id": "2305.10403" }, { "id": "2305.03047" }, { "id": "2211.05100" }, { "id": "2110.08207" }, { "id": "2304.05335" }, { "id": "2107.03374" }, { "id": "2105.04054" }, { "id": "2209.07858" }, { "id": "2305.15324" }, { "id": "2307.09288" }, { "id": "2210.11416" }, { "id": "2212.08073" }, { "id": "2307.12950" }, { "id": "2009.11462" }, { "id": "2307.04657" }, { "id": "2204.05862" }, { "id": "2112.00861" }, { "id": "2209.14375" }, { "id": "2303.00957" }, { "id": "2306.01693" }, { "id": "2305.01937" }, { "id": "2307.15217" }, { "id": "2306.17492" }, { "id": "2112.04359" }, { "id": "1506.02438" } ]
{ "authors": "Josef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji, Xinbo Xu, Mickel Liu, Yizhou Wang, Yaodong Yang", "chunk_id": 23, "doc_id": "2310.12773", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12773", "summary": "With the development of large language models (LLMs), striking a balance\nbetween the performance and safety of AI systems has never been more critical.\nHowever, the inherent tension between the objectives of helpfulness and\nharmlessness presents a significant challenge during LLM training. To address\nthis issue, we propose Safe Reinforcement Learning from Human Feedback (Safe\nRLHF), a novel algorithm for human value alignment. Safe RLHF explicitly\ndecouples human preferences regarding helpfulness and harmlessness, effectively\navoiding the crowdworkers' confusion about the tension and allowing us to train\nseparate reward and cost models. We formalize the safety concern of LLMs as an\noptimization task of maximizing the reward function while satisfying specified\ncost constraints. Leveraging the Lagrangian method to solve this constrained\nproblem, Safe RLHF dynamically adjusts the balance between the two objectives\nduring fine-tuning. Through a three-round fine-tuning using Safe RLHF, we\ndemonstrate a superior ability to mitigate harmful responses while enhancing\nmodel performance compared to existing value-aligned algorithms.\nExperimentally, we fine-tuned the Alpaca-7B using Safe RLHF and aligned it with\ncollected human preferences, significantly improving its helpfulness and\nharmlessness according to human evaluations.", "text": "5\nRound 1 1448 379 3491 0 Round 1 12811 4837 13687 Round 2 1480 1449 1500 44 Round 2 18786 5398 6339 Round 3 4501 2a7t 942 636 Round 3 27639 3688 1973 o tooo 2000 «== 3000» 4000» 5000-6000 0 000 100001000 20000 ©5000 30000 35000 safety-unrelated » solved safety-related - unsolved safety-related mred-teaming dual-safe pairs mixed-safe pairs = dual-unsafe pairs\n(a) Prompt source and distribution\n(b) Distribution of safety labels in preference data\nFigure 3: (a) Number of different types of prompts during 3 rounds of Safe RLHF iteration. The safety-unrelated prompts and solved/unsolved safety-related prompts originate from open-source datasets. As training progresses, most of the safety-related prompts are solved. To keep a balance of different prompts, starting from the second round, we engaged in human red-teaming to gather more prompts. (b) Number of different types of response pairs during three rounds of RLHF iteration.\n# 4 EXPERIMENTS\nIn this section, we present experiments devised to evaluate the effectiveness of the Safe RLHF pipeline in both enhancing model safety and boosting its performance. We specifically address the following research questions:\n• Can Safe RLHF simultaneously improve the LLM’s helpfulness and harmlessness? (Section 4.2.1)", "title": "Safe RLHF: Safe Reinforcement Learning from Human Feedback", "year": 2023 }
[ 0.024020169, 0.0037698734, 0.059842326, 0.008331253, 0.00622057, 0.015086926, -0.027676703, 0.055115584, 0.014232247, 0.05101313, 0.04227312, -0.03516814, -0.037130184, 0.028969869, 0.014834238, -0.04786197, 0.02312833, -0.008219773, -0.041767742, 0.033443924, -0.006008758, -0.012128996, 0.038349032, 0.024926871, 0.0015263435, -0.024480952, 0.05241034, -0.013124881, 0.0062465817, -0.017911078, 0.05244007, -0.037724745, -0.038973317, 0.035019502, -0.006038486, 0.0196353, -0.005113204, 0.024183672, -0.0390625, 0.015874716, 0.030069802, -0.031600792, -0.04268931, 0.0055331113, -0.024599863, 0.017836759, 0.03721937, -0.010694623, 0.009943993, 0.020824416, -0.02743888, 0.02807803, -0.02709701, 0.0018078298, 0.0075917705, -0.008085998, -0.0035747837, 0.021017648, 0.030188715, -0.040697537, 0.016053082, -0.056423612, -0.045067545, -0.015176109, -0.014499798, -0.000873258, -0.07319017, 0.009884537, 0.035703246, 0.04771333, 0.0029374913, -0.0020252154, 0.07289289, -0.0052321157, -0.030069802, 0.022325676, 0.04613775, 0.021300063, -0.0238418, -0.008085998, 0.02544711, -0.012552619, 0.022727003, -0.04313523, -0.011928332, -0.021032512, -0.059753142, -0.016290907, -0.052499525, -0.053837284, -0.05377783, 0.008740012, -0.0041730586, 0.012515459, 0.028345583, -0.054253474, 0.021582479, -0.000330491, 0.041500192, 0.039627332, 0.025461974, -0.039300326, -0.013117449, -0.020214994, 0.017628664, 0.008190045, 0.024837686, 0.05015102, -0.006982348, -0.024941735, -0.019293427, -0.038705766, -0.03290882, 0.026324084, 0.001766025, -0.023113467, -0.06409342, -0.044770263, 0.024332311, -0.020883871, -0.056364156, -0.040994816, 0.04078672, -0.051459048, -0.014455207, 0.01638009, 0.032076437, -0.06742295, -0.011147974, -0.020794688, 0.0055145314, 0.02620517, -0.0036565356, -0.005001724, -0.018446181, 0.027557792, -0.052975174, -0.034216847, -0.012389115, 0.020289313, -0.0176138, -0.011147974, -0.05116177, 0.019769074, -0.007840742, 0.010523688, -0.026472723, 0.020244721, 0.0031641666, 0.0050203046, -0.027468609, 0.011631053, -0.047356594, 0.003872063, -0.03317637, -0.05588851, -0.034989774, 0.031244056, -0.00014922029, -0.018639414, 0.017271928, 0.027468609, -0.035316784, -0.010850695, 0.012879626, 0.011801989, -0.0032886525, -0.013897808, -0.07848174, -0.0045595216, 0.014782214, 0.0070863958, -0.008301524, -0.033325013, -0.022221629, -0.019605571, -0.036268078, -0.015503116, -0.012560051, -0.011370934, -0.017643528, 0.006908028, -0.025432246, 0.006993496, -0.025283605, 0.0031270068, -0.009691305, -0.0098325135, 0.007803582, -0.017792167, -0.008680556, 0.042362303, 0.047089044, 0.008717716, 0.006581021, -0.024406632, 0.030173851, 0.030069802, 0.028063167, -0.017182745, -0.0050686123, 0.0132437935, 0.009163635, -0.051518504, 0.014819373, -0.0029542132, -0.048070066, 0.033443924, -0.017405704, -0.018862372, 0.03047113, 0.06450961, 0.043075774, 0.057345178, -0.023068875, 0.017821895, -0.04040026, -0.00089973444, 0.011415525, 0.024659319, 0.00253988, 0.01975421, 0.03338447, -0.011460118, -0.030010346, 0.0504483, 0.04456217, -0.030946776, 0.036565356, -0.051132042, 0.04126237, 0.02514983, -0.01953125, -0.0127830105, 0.011556733, 0.017821895, -0.006800264, -0.026130851, 0.022043262, -0.027498337, 0.013674849, 0.025655204, 0.03879495, -0.0040355665, 0.003976111, 0.014403183, 0.010397344, -0.023618842, -0.006870868, 0.0019583274, 0.023395881, -0.06153682, 0.016855737, -0.067066215, -0.039984066, 0.011593893, -0.014328863, -0.022533773, -0.021790573, -0.020869007, -0.03463304, 0.008427869, -0.015904443, 0.028063167, -0.021463566, -0.0068560042, -0.0013869938, 0.03635726, -0.028405039, -0.021716254, -0.0019137355, 0.015651755, 0.007261047, 0.017539479, -0.0643907, -0.024020169, 0.065460905, 0.028211806, -0.04179747, -0.012456004, -0.02500119, 0.010427072, 0.037278827, -0.03039681, 0.021686526, -0.002224021, -0.006097942, 0.0010367616, -0.015280156, -0.019665027, 0.008851492, -0.010248704, 0.058861304, -0.031838614, 0.026413267, -0.0063543455, 0.025625477, 0.009401458, -0.024867415, -0.010360184, 0.021537887, 0.04976456, -0.04063808, 0.009356867, 0.050834764, -0.018267814, 0.0030879888, -0.042956863, 0.021389246, 0.020586593, -0.002597478, 0.0061796936, 0.025298469, 0.01802999, -0.016350362, -0.06712567, 0.061893553, -0.0229351, 0.03677345, -0.014247111, -0.013273521, -0.015384205, 0.020096082, -0.021151423, 0.04482972, -0.01600849, -0.019174516, 0.038616583, -0.050656397, -0.02564034, -0.0044554737, -0.050626665, 0.02428772, -0.02132979, -0.018059717, -0.06914717, -0.030337354, 0.0089109475, 0.023916122, 0.032700725, -0.03808148, -0.0050723283, -0.029906299, 0.0471485, -0.051934697, -0.010590576, -0.0062837414, 0.0013702718, 0.071763225, 0.03739774, -0.005640875, -0.010872991, -0.0045632375, 0.006532713, -0.042600125, 0.007900198, -0.007840742, -0.057464093, -0.020423088, 0.028940141, -0.018193495, 0.0456621, -0.014076175, -0.019352883, -0.0014130058, 0.054521028, -0.032998003, 0.010404776, -0.0046784333, 0.009877105, 0.019323155, 0.015198405, -0.010501392, 0.01588958, -0.069741726, 0.016201723, 0.012953946, -0.0079745175, 0.017257065, 0.04197584, -0.023826936, -0.021582479, -0.055353407, -0.023975577, 0.008063701, 0.044472985, -0.0037141335, -0.014202519, -0.042065024, -0.026101124, 0.017940806, -0.031868342, -0.0011454544, 0.0008175181, 0.01041964, -0.009416322, -0.010560848, 0.05074558, 0.0577911, 0.037992295, 0.010010881, -0.04152992, -0.075627856, 0.02694837, -0.013057994, 0.056720894, 0.019783938, 0.015131517, 0.016736826, 0.01731652, 0.000033095548, -0.031095415, 0.02098792, -0.0018960846, 0.010702055, -0.0352276, 0.036268078, -0.030173851, -0.006595885, 0.03837876, 0.015384205, -0.052588712, -0.023262106, -0.0002459522, 0.010018313, 0.009564962, 0.031571064, -0.017227337, 0.016394954, -0.059247766, -0.019932577, 0.09043237, 0.018431317, 0.0028706035, -0.00017964497, 0.034127664, 0.032106165, 0.005473655, -0.035108685, 0.00062242855, 0.04013271, -0.015696349, -0.017212473, 0.028360447, -0.03436549, -0.0058155265, -0.01638009, 0.0013990707, 0.003898075, 0.010248704, -0.030144121, -0.027379425, 0.025863301, 0.025655204, -0.027052417, -0.036684267, 0.0689688, -0.0390625, 0.030218443, 0.02938606, 0.013823488, 0.050715853, 0.013035698, -0.0104642315, 0.028702317, 0.03537624, -0.017747575, -0.026992962, -0.004615261, -0.025105238, -0.015978763, -0.052588712, 0.015213269, -0.016870601, 0.0014157927, -0.003924087, 0.0015235565, -0.001740013, 0.056958716, 0.0002573324, 0.011043927, 0.006532713, 0.024614727, -0.017108424, 0.044889178, 0.06540145, 0.045245912, 0.010932446, 0.0053398795, -0.001313603, 0.023098603, -0.010560848, 0.042837948, -0.019070469, 0.01458155, -0.012344523, 0.024495816, 0.019085333, 0.013050562, -0.01188374, 0.022028398, -0.007357663, -0.025729524, 0.016662506, 0.045602646, -0.008554212, 0.030857593, -0.011199998, -0.02709701, 0.016469274, -0.003073125, 0.0045000655, -0.04328387, -0.01581526, -0.01618686, -0.0025027203, 0.005964166, -0.010397344, -0.0002638354, 0.031392697, 0.023321562, -0.011839149, -0.007915062, 0.01060544, -0.00015003316, -0.030411674, -0.021106832, -0.062785394, 0.0013507629, -0.036268078, -0.01945693, 0.0072127394, 0.007439415, 0.0036528197, -0.045751285, 0.006978632, 0.0010479096, -0.0059009944, -0.03552488, -0.051191498, 0.03002521, 0.028806366, 0.031719703, 0.00027358986, 0.0034168542, -0.022682412, 0.029400924, -0.020512274, 0.015755804, -0.0045818174, 0.028702317, -0.045483734, -0.029921163, -0.024912007, -0.007714398, -0.017197609, -0.0053956197, -0.021760846, -0.007443131, 0.015607164, -0.006811412, -0.0019583274, 0.013162042, -0.021166287, -0.01911506, 0.011690509, 0.018847508, 0.02443636, 0.00034674845, 0.0015848704, -0.022667548, -0.021790573, 0.033146642, -0.05675062, 0.019932577, -0.025313333, -0.0015570004, -0.0046003973, 0.043878425, -0.0025343061, -0.017643528, -0.04194611, -0.00006369442, 0.02428772, -0.027929392, -0.021983806, 0.023440475, 0.02290537, -0.026933506, -0.012775579, 0.010820967, -0.0049942923, 0.029356332, 0.008635964, -0.03388984, 0.010902719, 0.0035506298, -0.034870863, -0.02522415, -0.018936692, -0.004782481, 0.0050388845, 0.034454674, -0.017346248, -0.028405039, 0.015503116, -0.019129924, 0.010085201, 0.034246575, 0.0014269407, -0.0019806235, -0.011415525, 0.0035877896, 0.00042850027, -0.008353549, -0.017048968, 0.015696349, 0.013734304, 0.029727932, -0.023172922, -0.07539003, 0.033592563, 0.0122925, -0.023544522, 0.023544522, -0.0095278025, 0.0096838735, 0.0008597875, -0.015109221, -0.021954078, -0.060882803, 0.011118246, -0.019471794, -0.06207192, -0.0035654937, 0.042778492, 0.02132979, 0.0129316505, -0.010977039, -0.015369341, 0.03493032, 0.006517849, -0.01581526, -0.066293284, -0.00177067, 0.0085988045, 0.023960713, -0.014440343, -0.004637557, -0.0014956866, -0.07646024, -0.0291631, -0.023871528, -0.024257991, 0.00257704, 0.016974648, -0.011489846, 0.022994556, 0.013511345, 0.009958857, -0.008955539, 0.00524698, -0.018669141, 0.0078333095, -0.024005305, 0.0054030516, 0.03617889, 0.035614062, 0.023960713, -0.011140542, -0.04268931, -0.025699796, 0.018565092, 0.019308291, -0.009616986, -0.026190307, 0.007004644, -0.0068188445, 0.006889448, 0.04771333, -0.027855072, 0.03391957, -0.06902826, -0.031600792, 0.0055033835, 0.03403848, 0.014968013, -0.015042333, -0.02170139, 0.040221892, -0.03504923, -0.0088069, 0.0140241515, 0.0023596545, -0.00259562, 0.0377842, -0.008405573, 0.028063167, 0.00432913, -0.07211996, -0.024837686, 0.02069064, 0.029341469, -0.017375976, -0.02234054, -0.064152874, -0.022102717, 0.037100457, 0.04976456, -0.008375845, 0.0011008625, -0.0029504972, -0.022682412, -0.0004103848, -0.006607033, 0.03174943, 0.0063506295, 0.0074059707, 0.008071133, -0.017480023, -0.025030918, -0.003052687, -0.03204671, 0.0075954865, -0.022727003, 0.020333905, -0.047326867, 0.021478431, -0.0143362945, -0.0192637, 0.034870863, 0.032938547, -0.0019676175, -0.0018449897, 0.009148771, -0.004232514, -0.04197584, -0.004314266, 0.003028533, -0.0013786328, 0.024109352, -0.021314926, 0.013526209, 0.036684267, 0.0016554742, 0.011608757, -0.0037289974, 0.045364823, -0.0024841402, -0.0009136694, -0.03039681, 0.014893694, -0.02020013, -0.0022816188, 0.02364857, -0.008019109, -0.011437821, 0.029475244, -0.008100862, 0.029237421, 0.022444589, 0.014224815, -0.017048968, -0.0040690107, 0.014224815, -0.01390524, -0.008710284, 0.0071607153, -0.00526556, 0.0010209687, -0.009587258, -0.017539479, 0.0133998655, 0.00035836094, 0.055977695, -0.023024283, -0.017167881, 0.011452685, -0.003114001, 0.004697013, -0.026472723, 0.0035803576, 0.019620435, 0.005466223, -0.018475909, 0.00775899, -0.0014538816, 0.027468609, 0.013050562, -0.04066781, -0.025551157, 0.0065624407, -0.019962305, -0.007803582, -0.02057173, 0.014618711, -0.0009382878, -0.13127854, -0.003905507, 0.031719703, -0.023217514, 0.037724745, 0.017375976, 0.013451889, 0.015577436, -0.0053844717, -0.04242176, 0.032135893, 0.007261047, -0.013102585, -0.005685467, 0.01608281, -0.05903967, 0.037754472, -0.0037438613, 0.038586855, -0.021448702, -0.009505506, -0.0196353, 0.023321562, 0.025239013, -0.036089707, -0.0057114786, -0.01990285, 0.0034094222, -0.013882944, 0.024094488, -0.0045112134, -0.0028594553, 0.005938154, -0.008814332, -0.034306034, -0.04655394, -0.015220701, -0.025105238, -0.0050463164, 0.05487776, 0.028196942, -0.0001282017, 0.04352169, -0.028955005, 0.032819636, -0.02564034, -0.005949302, -0.0072127394, 0.0271416, 0.002158991, -0.001293165, 0.01131891, 0.016350362, -0.017896215, -0.013600528, 0.037576105, 0.03493032, 0.016335499, 0.018832644, -0.018000262, -0.016276043, 0.028761774, 0.018238086, -0.02552143, 0.010538552, -0.01615713, -0.03249263, 0.04191638, -0.024718774, -0.06486635, 0.013280953, 0.013994424, -0.01491599, 0.030426538, 0.016707098, 0.017271928, 0.021418974, 0.0075806226, -0.0063506295, 0.021091968, 0.028538814, -0.03302773, -0.009787922, 0.007446847, -0.0057932306, 0.006395221, 0.06712567, 0.010397344, -0.01221818, 0.010263569, -0.022860778, 0.0070380876, 0.020527137, 0.0077812863, 0.007420835, -0.014893694, -0.026740273, -0.022504045, 0.0067556724, -0.023306698, 0.022444589, 0.000047233734, -0.0014399467, -0.03204671, 0.002560318, 0.04126237, 0.0055108154, 0.03174943, 0.02300942, -0.0045966813, -0.003489316, 0.014826805, -0.008175181, 0.021002784, 0.018074581, 0.027201056, 0.012493163, 0.006904312, -0.0040987385, 0.009245386, 0.0032719304, 0.03516814, -0.024807958, 0.055353407, -0.015830124, -0.0075992025, 0.010872991, 0.028925277, -0.012233044, 0.00030262105, 0.023544522, 0.0084427325, -0.0055256793, -0.0061871256, -0.0046487055, 0.03088732, 0.04515673, -0.011549301, -0.01825295, 0.003076841, 0.024956599, 0.03201698, 0.03605998, -0.011043927, -0.035078958, 0.014410615, -0.005756071, 0.00015235564, 0.002125547, 0.0026829457, -0.009200795, -0.0067110807, 0.014388319, 0.025402518, -0.0067631043, 0.040578626, 0.02300942, -0.032433175, -0.029282013, 0.0053844717, 0.015399069, 0.051369864, -0.025848437, 0.0019230256, 0.02031904, -0.006031054, -0.009609554, 0.013362705, 0.021270335, 0.02083928, -0.005180092, -0.03995434, 0.022727003, -0.009713601, -0.010716919, 0.033087187, -0.009602122, 0.040875904, 0.007929926, 0.050210476, -0.023678297, 0.045840472, 0.0027721296, 0.0015012606, 0.038705766, 0.0003130723, -0.009349435, -0.01709356, 0.022801323, 0.024153944, 0.0009108824, 0.008487324, 0.017123288, 0.057255995, 0.026695682, -0.020542001, -0.021196015, -0.0028427334, -0.04138128, -0.05416429, -0.013741736, 0.048337616, 0.010538552, -0.015726076, -0.009743329, 0.0027572657, 0.0041173184, -0.028672589, -0.016127402, 0.044591896, -0.02766184, 0.008301524, -0.022771595, 0.018758325, 0.025253877, -0.0044629057, -0.0008198406, 0.012262772, 0.005763503, -0.0031047107, -0.016231451, -0.03216562, -0.00014143993, 0.0024934302, 0.0130951535, -0.024495816, -0.033087187, -0.0112297265, 0.0066664885, 0.009163635, 0.0035915058, -0.03201698, -0.0071458514, -0.023871528, -0.040965088, -0.023856664, 0.022177037, -0.013860648, -0.0075620427, 0.012953946, 0.018044854, -0.02578898, -0.022994556, -0.0101446565, 0.022028398, -0.00080776366, 0.037576105, 0.0050128726, -0.033949297, -0.025164694, -0.00018754145, -0.024317447, 0.014871398, -0.013630257, 0.0045929654, -0.026442995, 0.015904443, 0.04625666, 0.0311846, 0.021537887, -0.0073985388, -0.010798671, 0.019947441, 0.002077239, -0.010545984, -0.040311076, 0.0031994686, 0.016588185, 0.015963899, -0.050953675, -0.017450295, 0.021359518, -0.036862634, 0.04613775, -0.036416717, 0.0036974114, 0.0124708675, 0.020170402, -0.011593893, -0.03475195, -0.025566021, -0.006008758, -0.027855072, 0.006224286, -0.0019025876, -0.0010441936, -0.02069064, -0.024035033, 0.028048303, -0.0071347035, 0.032968275, 0.024020169, -0.0018003979, -0.0033351022, -0.010048041, -0.037338283, 0.010835831, 0.0063766413, 0.04928891, -0.022147309, 0.026026804, 0.011437821, 0.0071272715, -0.0074728588, 0.023306698, 0.02162707, 0.0015003316, -0.026517315, 0.02271214, -0.028137486, -0.003022959, 0.001735368, 0.03591134, 0.00067816844, 0.004355142, -0.025209285, 0.008502188, -0.029400924, 0.007929926, -0.014261975, -0.0058601187, 0.019501522, 0.002125547, 0.0050500324, -0.02645786, -0.0092156585, -0.03047113, -0.02781048, -0.0017855339, 0.0032867945, -0.00854678, 0.03605998, -0.0078258775, 0.0127830105, -0.021270335, 0.021300063, -0.035881612, 0.0049757124, -0.013429593, -0.017346248, 0.009126475, 0.013117449, 0.03305746, 0.016989512, 0.008138021, 0.014276839, -0.018475909, -0.023455339, -0.013630257, -0.024763366, 0.08323821, 0.0141282, -0.01938261, 0.007729262, -0.04655394, 0.015146381, 0.010003448, 0.027899664, -0.010679759, -0.013214066, -0.007892766, 0.029891435, -0.011794557, 0.034722224, 0.0013526209, -0.0020605172, -0.014039015, 0.05562096, 0.020720368, 0.014053879, 0.03475195, 0.006993496, -0.01015952, -0.018713733, 0.009052156, 0.019367747, 0.0049980083, 0.016067946, 0.04702959, 0.044502713, 0.008033973, -0.040608354, -0.019516386, -0.004719309, -0.057077628, 0.005967882, -0.012946514, 0.020586593, 0.008056269, 0.006428665, -0.0020735231, -0.01315461, 0.014202519, -0.0278848, 0.0071384194, 0.029133372, 0.00172422, -0.012344523, 0.053242724, 0.030798137, 0.03388984, 0.0033313863, -0.018000262, -0.013310681, 0.0020345054, -0.013169474, -0.0043885857, 0.018461045, 0.03653563, 0.0063171852, -0.04179747, -0.013934968, -0.0062354337, -0.008204909, -0.013518777, -0.026561907, -0.014685598, 0.018490773, -0.027067281, 0.005161512, 0.005741207, -0.004418314, 0.0039984067, 0.016959785, 0.008925811, 0.017628664, 0.019397475, 0.023826936, -0.0032552085, 0.031244056, 0.041440737, 0.0012169871, -0.03189807, -0.03478168, 0.006800264, 0.0075546107, 0.0311846, 0.016023355, -0.038349032, -0.010880423, -0.00537704, 0.029296877, 0.0365059, 0.026844323, -0.02638354, 0.015042333, -0.012708691, 0.038140938, 0.026130851, -0.024941735, -0.007788718, -0.025833573, -0.004812209, 0.012307364, -0.05615606, -0.019278564, -0.043491963, 0.0013396149, 0.03403848, 0.002636496, -0.0033666883, -0.021344654, -0.012270204, 0.033741202, -0.0056966147, 0.0021069671, -0.014343726, 0.022117581, -0.008204909, -0.007446847, -0.010902719, 0.015235565, 0.015072061, 0.006049634, -0.006045918, -0.0006921034, -0.016647642, -0.022117581, 0.012909355, -0.0024376903, -0.00772183, -0.003879495, 0.037189644, 0.00027080288, 0.03516814, 0.013184338, -0.0055256793, -0.052202247, 0.009951425, 0.007287059, -0.0020159252, -0.0054996675, -0.0075769066, -0.018996147, -0.01034532, 0.009951425, 0.019546116, -0.018074581, 0.018297542, -0.01701924, -0.028568542, -0.004351426, -0.0139424, 0.033235826, -0.023485066, 0.0031976106, -0.0040169866, -0.019011011, 0.03290882, -0.003045255, 0.01296881, 0.0058749826, 0.005570271, 0.029044189, 0.037724745, -0.010687191, 0.013659985, -0.0024822822, 0.014470071, 0.0016368942, -0.007863038, -0.0032124745, 0.029177964, -0.00708268, 0.004745321, -0.020809552, -0.0049571325, 0.02946038, -0.006075646, 0.0045520896, -0.012389115, 0.0071049756, 0.00944605, 0.0048753805, -0.0012216322, 0.008502188, 0.028553678, -0.014299135, 0.00055321824, -0.02645786, -0.02199867, 0.012835034, 0.024837686, 0.006027338, 0.00268852, 0.036268078, -0.013652553, 0.013466753, 0.019219108, 0.025491701, -0.022281084, -0.00884406, 0.009081883, 0.016855737, -0.030917048, -0.018639414, -0.0044852016, 0.0079819495, -0.0023466486, -0.020006897, 0.011705373, 0.02312833, 0.009825082, 0.0032366286, 0.012545187, 0.027691567, 0.00038112138, -0.021032512, -0.029073916, -0.010709487, -0.017643528, 0.009958857, 0.014901126, 0.02125547, 0.024466088, 0.028286127, 0.021686526, -0.0040875906, -0.015369341, 0.01218102, 0.05089422, -0.051696874, -0.0196353, 0.023291834, 0.0282564, 0.014068743, 0.0007845387, 0.010352752, -0.023381017, 0.021181151, -0.04081645, 0.037813928, 0.007640078, 0.023395881, -0.027409153, 0.051221225, 0.016127402, 0.035822157, -0.03130351, 0.03490059, -0.011809421, -0.0068560042, -0.007435699, -0.04197584, 0.015339613, -0.06474744, 0.0036063697, -0.017554343, 0.0055219634, 0.017034104, -0.027126737, -0.03377093, 0.002214731, -0.009884537, 0.008301524, 0.0012643661, -0.034395218, 0.0037550093, 0.03163052, -0.02113656, -0.0076177823, 0.023113467, -0.03317637, -0.018728597, -0.010367616, 0.0033016584, -0.0057114786, -0.021493295, -0.003435434, -0.014009288, 0.016469274, -0.0016025213, -0.023440475, -0.0058155265, -0.010471663, 0.044235162, -0.006514133, -0.020437952, 0.008858924, -0.0045818174, -0.02207299, 0.010560848, 0.02140411, -0.008279229, -0.0038386192, 0.007175579, 0.015220701, -0.01997717, 0.009981153, 0.03977597, -0.016171996, 0.01124459, 0.015874716, 0.015726076, 0.028479358, 0.0032031846, -0.024421496, 0.03519787, 0.018193495, 0.008041405, 0.026472723, 0.003979827, -0.00940889, -0.012478299, 0.024480952, 0.028940141, -0.0009550098, -0.003032249, -0.030560313, 0.023797208, -0.009245386, -0.010085201, -0.019769074, 0.01454439, 0.043581147, 0.006863436, 0.016142266, -0.0029337753, 0.020185266, -0.024302583, 0.0062763095, 0.014291703, 0.026368676, 0.02803344, -0.016766554, 0.02125547, 0.017420568, -0.012337091, 0.046226934, -0.024079625, -0.04126237, 0.021448702, -0.017569207, -0.0032849363, -0.008316388, 0.017480023, 0.0152652925, -0.008717716, 0.012210748, 0.004834505, 0.016632777, 0.025580885, 0.022147309, 0.015324749, 0.01911506, 0.010664895, 0.025239013, -0.024257991, -0.026398404, -0.008256933, -0.012864762, -0.01840159, 0.002972793, 0.0064546773, -0.0049162568, -0.008635964, -0.02121088, -0.018921828, 0.023217514, -0.011980357, 0.016365226, 0.030144121, 0.006874584, -0.011556733, -0.019159652, -0.039746244, -0.028092895, -0.043759514, 0.0010321166, -0.033949297, 0.0016684801, -0.038884133, 0.014313999, -0.04414598, -0.0032719304, -0.009275114, -0.026547043, -0.004343994, -0.0075546107 ]
2310.12397
24
# 5 Conclusion In this work, we have set out to investigate the effectiveness of iterative prompting strategies in improving the accuracy of LLMs on reasoning problems. We were motivated, in particular, by claims in prior work that even when LLMs produce incorrect answers at first, they are good at self-critiquing and improving their answers. Our results on graph coloring call these claims into question. They show that LLMs are in fact very poor at verifying solutions (in our case, colorings), something that is critical for self-critiquing. Not surprisingly, iterative framework with LLMs self-critiquing does even worse than LLMs directly generating a single answer. We do show that iterative prompting can help when there is an external provably correct verifier in the loop. Even here, we found that the actual content of iterative back prompts is not important, and that the improvements seen can also be obtained by just having the LLM produce multiple answers, and letting verifier check and pick any correct answer that was fortuitously generated. Our results thus raise legitimate questions about claims of the effectiveness of iterative prompting, adding further fuel to the skepticism surrounding the reasoning capabilities of LLMs. # Acknowledgments and Disclosure of Funding # Acknowledgements # References [1] DIMACS Implementation Challenges. Archive available at http://archive.dimacs. rutgers.edu/Challenges/.
2310.12397#24
GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems
There has been considerable divergence of opinion on the reasoning abilities of Large Language Models (LLMs). While the initial optimism that reasoning might emerge automatically with scale has been tempered thanks to a slew of counterexamples, a wide spread belief in their iterative self-critique capabilities persists. In this paper, we set out to systematically investigate the effectiveness of iterative prompting of LLMs in the context of Graph Coloring, a canonical NP-complete reasoning problem that is related to propositional satisfiability as well as practical problems like scheduling and allocation. We present a principled empirical study of the performance of GPT4 in solving graph coloring instances or verifying the correctness of candidate colorings. In iterative modes, we experiment with the model critiquing its own answers and an external correct reasoner verifying proposed solutions. In both cases, we analyze whether the content of the criticisms actually affects bottom line performance. The study seems to indicate that (i) LLMs are bad at solving graph coloring instances (ii) they are no better at verifying a solution--and thus are not effective in iterative modes with LLMs critiquing LLM-generated solutions (iii) the correctness and content of the criticisms--whether by LLMs or external solvers--seems largely irrelevant to the performance of iterative prompting. We show that the observed increase in effectiveness is largely due to the correct solution being fortuitously present in the top-k completions of the prompt (and being recognized as such by an external verifier). Our results thus call into question claims about the self-critiquing capabilities of state of the art LLMs.
http://arxiv.org/pdf/2310.12397
Kaya Stechly, Matthew Marquez, Subbarao Kambhampati
cs.AI
18 pages, 3 figures
null
cs.AI
20231019
20231019
[ { "id": "2206.10498" }, { "id": "2306.03872" }, { "id": "2303.11366" } ]
{ "authors": "Kaya Stechly, Matthew Marquez, Subbarao Kambhampati", "chunk_id": 24, "doc_id": "2310.12397", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12397", "summary": "There has been considerable divergence of opinion on the reasoning abilities\nof Large Language Models (LLMs). While the initial optimism that reasoning\nmight emerge automatically with scale has been tempered thanks to a slew of\ncounterexamples, a wide spread belief in their iterative self-critique\ncapabilities persists. In this paper, we set out to systematically investigate\nthe effectiveness of iterative prompting of LLMs in the context of Graph\nColoring, a canonical NP-complete reasoning problem that is related to\npropositional satisfiability as well as practical problems like scheduling and\nallocation. We present a principled empirical study of the performance of GPT4\nin solving graph coloring instances or verifying the correctness of candidate\ncolorings. In iterative modes, we experiment with the model critiquing its own\nanswers and an external correct reasoner verifying proposed solutions. In both\ncases, we analyze whether the content of the criticisms actually affects bottom\nline performance. The study seems to indicate that (i) LLMs are bad at solving\ngraph coloring instances (ii) they are no better at verifying a solution--and\nthus are not effective in iterative modes with LLMs critiquing LLM-generated\nsolutions (iii) the correctness and content of the criticisms--whether by LLMs\nor external solvers--seems largely irrelevant to the performance of iterative\nprompting. We show that the observed increase in effectiveness is largely due\nto the correct solution being fortuitously present in the top-k completions of\nthe prompt (and being recognized as such by an external verifier). Our results\nthus call into question claims about the self-critiquing capabilities of state\nof the art LLMs.", "text": "# 5 Conclusion\nIn this work, we have set out to investigate the effectiveness of iterative prompting strategies in improving the accuracy of LLMs on reasoning problems. We were motivated, in particular, by claims in prior work that even when LLMs produce incorrect answers at first, they are good at self-critiquing and improving their answers. Our results on graph coloring call these claims into question. They show that LLMs are in fact very poor at verifying solutions (in our case, colorings), something that is critical for self-critiquing. Not surprisingly, iterative framework with LLMs self-critiquing does even worse than LLMs directly generating a single answer. We do show that iterative prompting can help when there is an external provably correct verifier in the loop. Even here, we found that the actual content of iterative back prompts is not important, and that the improvements seen can also be obtained by just having the LLM produce multiple answers, and letting verifier check and pick any correct answer that was fortuitously generated. Our results thus raise legitimate questions about claims of the effectiveness of iterative prompting, adding further fuel to the skepticism surrounding the reasoning capabilities of LLMs.\n# Acknowledgments and Disclosure of Funding\n# Acknowledgements\n# References\n[1] DIMACS Implementation Challenges. Archive available at http://archive.dimacs. rutgers.edu/Challenges/.", "title": "GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems", "year": 2023 }
[ 0.031401947, 0.009470316, 0.009214553, 0.0020869505, -0.020773595, 0.025348902, 0.031146184, 0.043252274, -0.03089042, 0.073148064, 0.063031234, -0.0448721, -0.05044204, 0.0013196632, 0.007246603, -0.02843226, 0.06354276, -0.017889163, -0.029782116, 0.055102598, 0.015089985, -0.011253548, 0.035636235, 0.024581613, -0.0027245805, -0.023118084, 0.027281329, -0.03790968, -0.004379932, -0.052090287, 0.021214075, -0.01805967, -0.07081778, -0.008141772, -0.039898943, 0.10236182, 0.008930372, -0.010855695, 0.007445529, 0.034584768, 0.008283862, -0.032311324, -0.028957993, -0.021810854, -0.009356643, 0.05260181, 0.011772177, 0.010436529, 0.010940949, 0.03378906, -0.08116195, 0.050612547, 0.06286073, -0.021668764, -0.024624242, -0.025604663, -0.010457843, 0.0015967392, -0.0018613823, -0.018272806, 0.041632444, -0.038279112, -0.0072572595, -0.013292543, -0.0329081, -0.012688659, -0.021938736, 0.010535992, 0.044218488, 0.028489096, 0.0024723704, 0.029867372, 0.061326154, -0.008852223, -0.03586358, 0.021384584, 0.036204595, 0.032169234, 0.007679978, 0.010855695, 0.019992098, 0.0041810055, 0.058541182, -0.07331857, 0.0018453972, -0.03233974, -0.02885853, 0.0031686127, -0.07445529, -0.07587619, -0.018585404, 0.00016584597, -0.01616987, 0.04853803, 0.08599302, 0.010038677, -0.01749131, 0.017548146, 0.043934304, 0.0036694808, -0.015175239, -0.016979786, -0.0054278476, -0.04617933, 0.031885054, 0.032993358, 0.022833904, 0.0024048775, -0.02478054, 0.0031366423, -0.10724972, -0.027466046, -0.08946002, -0.032424994, 0.019068511, -0.040723067, -0.06519101, 0.0012903571, 0.010798859, -0.014280071, -0.0010718934, -0.01616987, 0.015828853, -0.018443314, 0.020631505, -0.010805964, 0.045980405, -0.024894211, 0.027736017, -0.0012663794, 0.007914427, 0.00014797368, 0.039444253, 0.012958631, -0.039842106, -0.00057235727, -0.05962107, 0.0042733643, 0.0027974017, -0.01675244, -0.0034758828, 0.01675244, -0.0012237523, 0.0045255744, 0.013207288, 0.021228284, 0.014763177, 0.02375749, 0.026329324, 0.0027085955, -0.019423738, -0.023999043, 0.010976472, 0.020972522, -0.041177753, -0.045269955, 0.011672714, 0.037426572, 0.001732613, 0.00040251506, 0.022549722, 0.033987988, -0.0011695804, -0.020247862, -0.01056441, 0.036403522, -0.040637814, -0.004031811, -0.044360578, -0.011452475, 0.0044047977, -0.034471095, -0.019082721, 0.001400477, -0.00004379266, -0.04384905, -0.010372588, -0.031970307, 0.020901477, -0.02127091, -0.046605602, 0.037284482, -0.006919795, -0.0010052886, -0.022038199, -0.009512942, 0.02290495, -0.008703028, 0.006781257, -0.021086194, 0.00039585456, 0.0142019205, 0.043394364, 0.0026570878, -0.031401947, -0.023586981, 0.059507396, -0.012489733, -0.0041774535, -0.005033547, -0.014962103, 0.02814808, 0.041859787, -0.026045144, 0.02215187, 0.0016011795, -0.0031366423, 0.009512942, -0.032453414, -0.019580036, 0.024737913, -0.0047884416, 0.04154719, 0.026144607, 0.011715341, 0.031799797, -0.030862004, 0.009200344, 0.026727177, 0.041206174, -0.029128501, 0.0073886933, 0.02800599, -0.020361533, 0.0053568026, 0.049930513, 0.0278639, -0.03759708, -0.00532128, -0.034414258, 0.030918838, -0.018116508, -0.06354276, 0.0012503943, 0.002756551, -0.025832009, -0.004166797, -0.0100955125, 0.025547827, -0.02929901, 0.088095956, 0.016724022, 0.013463051, -0.047486562, -0.012731287, 0.027622346, -0.03540889, 0.013384902, -0.015246284, 0.011864536, -0.01645405, -0.01689453, 0.009278493, -0.053738534, -0.04578148, 0.0013125587, -0.0035522564, 0.0010496917, -0.039188493, -0.0043124394, -0.025562037, 0.0019448603, -0.04387747, 0.028389633, -0.005491788, 0.03205556, -0.04782758, 0.0349542, -0.0071862144, -0.028048616, -0.020034725, 0.007999681, 0.006610749, 0.024709495, 0.019736337, -0.05916638, 0.017860744, 0.054250058, -0.02915692, 0.044616338, -0.00014098018, 0.015359956, 0.02800599, 0.060132593, -0.013086512, 0.008909059, -0.034840528, -0.019167975, 0.001080774, 0.014045621, -0.010983576, -0.037710752, 0.04126301, 0.008774073, -0.008227025, -0.024169551, 0.0063869567, -0.012866273, -0.006802571, 0.042882837, 0.035920415, 0.03717081, -0.023544354, -0.006458002, -0.015374165, 0.023643818, -0.0012113194, -0.010173662, 0.010017362, 0.03435742, 0.015942527, 0.006276837, -0.011686923, 0.063031234, -0.007694187, -0.046889782, 0.04566781, -0.024595823, 0.027650762, -0.011189607, -0.0061205374, -0.0023640266, 0.022066616, 0.014521624, -0.001150931, 0.008319384, -0.001552336, -0.015061567, 0.0052040555, -0.022038199, 0.015985154, -0.004216528, -0.0040176017, 0.02199557, -0.019892635, -0.034158498, -0.024283225, -0.007928636, 0.018912213, 0.015757808, -0.06752129, 0.024439523, -0.02405588, 0.0064331363, -0.01865645, -0.0028240439, 0.008269653, 0.00039274633, 0.049077973, 0.025888843, -0.0071293786, -0.01393195, 0.020958312, -0.010223393, -0.02272023, 0.017590772, -0.037966516, -0.031430364, 0.004919875, 0.050811473, 0.006600092, 0.04416165, -0.016368797, 0.020944104, -0.007594724, 0.057802316, -0.018201761, -0.018144926, 0.032140814, 0.019494783, 0.013491469, 0.022237124, -0.008624879, 0.029526355, -0.056324575, 0.006458002, -0.0122197615, 0.0009031612, 0.008020995, 0.03515313, -0.036403522, -0.04183137, 0.010933845, -0.024439523, 0.02871644, -0.003939452, 0.0066462713, -0.017960208, -0.056608755, 0.0074526337, -0.0075023654, -0.016269334, -0.019906845, -0.033845898, 0.05609723, 0.038165443, -0.021938736, 0.075421505, 0.09173346, 0.02638616, 0.009868168, -0.0065610176, -0.05524469, 0.03393115, -0.0123618515, 0.033902735, 0.0123618515, 0.03734132, 0.025249438, -0.003982079, 0.0000049016976, -0.04603724, 0.020191025, -0.02725291, 0.0059819994, -0.058370676, 0.04035363, 0.010017362, 0.033561718, 0.041461937, -0.012049253, -0.00061187614, 0.01143116, -0.04708871, 0.029327428, 0.018869586, -0.012340538, -0.02858856, 0.014692132, -0.08127563, -0.0475434, 0.07701292, 0.028162288, 0.015828853, -0.014493206, -0.026570877, 0.010805964, -0.009576883, -0.0069517656, -0.07297755, 0.0034563453, 0.004415455, -0.03702872, -0.0026428788, -0.022961784, -0.0065681217, -0.04532679, -0.030975675, 0.010869904, -0.035039455, -0.021754017, -0.0376255, 0.042001877, 0.041319847, -0.03145878, -0.035892, 0.087243415, -0.019366901, 0.015431002, -0.016070407, -0.007566306, -0.017732864, 0.006806123, 0.0047209486, 0.0048879045, 0.031515617, -0.027323956, 0.011360115, 0.0059571336, 0.010194976, -0.0038044665, -0.024126925, 0.023388056, -0.024183761, -0.05288599, 0.01761919, -0.014088249, -0.047998086, 0.016084617, -0.05686452, 0.012340538, 0.004028259, 0.055301525, -0.0039998405, 0.019480573, 0.022237124, -0.018585404, -0.008546729, -0.03467002, -0.004852382, -0.006276837, -0.03395957, -0.012617614, -0.01761919, 0.025178393, -0.0019715023, 0.03808019, -0.00717911, 0.024269015, 0.009356643, -0.012049253, 0.003465226, -0.040694647, 0.026442995, 0.0198358, 0.036971882, 0.02857435, -0.017448682, 0.036971882, 0.0018702629, -0.015345748, -0.001316999, 0.032538667, -0.0067031076, -0.015089985, 0.021881899, -0.01823018, 0.021086194, 0.00041428188, 0.027309746, -0.016965576, -0.02857435, -0.0060743582, -0.0009759824, 0.024524778, -0.018969048, -0.035920415, -0.04009787, -0.027608136, 0.022507096, 0.014763177, -0.0032041352, 0.003131314, 0.0013827158, -0.03160087, -0.008774073, 0.007026363, 0.0048630387, -0.037796006, -0.057802316, 0.021540882, 0.01867066, -0.0058612227, 0.014848432, -0.019210601, 0.009214553, 0.037994932, -0.029327428, 0.0011926701, 0.026599295, 0.035948835, -0.035352055, -0.012127403, -0.018144926, -0.0020034725, -0.029526355, -0.018841168, -0.01457846, -0.0031650604, -0.018613823, 0.01750552, 0.005115249, -0.0019715023, -0.004308887, -0.007317648, 0.0177897, 0.020745177, 0.016056199, 0.00888064, 0.039387416, -0.01572939, -0.011239339, 0.009143508, -0.018443314, 0.04546888, -0.052090287, -0.022833904, -0.007694187, 0.00728923, 0.010337066, -0.012567882, -0.057063445, -0.017448682, 0.0077297096, -0.034414258, 0.012951527, -0.026599295, -0.003989184, -0.0075023654, 0.023359638, -0.054278478, 0.0072430507, -0.028773276, -0.0012033269, -0.015075776, 0.010962263, 0.016539305, 0.0025807142, -0.0056054606, -0.005889641, 0.0022663395, 0.047713906, 0.019153766, -0.021640345, 0.012681555, 0.030435732, -0.021654554, 0.021228284, 0.0329081, -0.019935261, -0.011630087, -0.018556986, 0.013242812, -0.0017805685, -0.041859787, 0.020517832, 0.0049838154, -0.0015132612, 0.036233015, -0.00728923, -0.0029128501, 0.024752121, 0.0069269, 0.0037156602, 0.02011998, -0.011487997, -0.0039536613, -0.031657707, -0.00765156, 0.0059819994, -0.03717081, 0.005374564, 0.03177138, 0.0073673795, 0.015573092, 0.00546337, 0.014564251, 0.012198448, -0.008532519, -0.013441738, 0.020048935, 0.020517832, -0.038819056, -0.028631186, -0.0017956656, -0.022706022, 0.010749128, 0.017960208, -0.024325851, -0.018855376, -0.04828227, -0.042456567, 0.030549403, -0.0054242956, 0.051379833, -0.01733501, -0.01311493, -0.00047999862, 0.004490052, -0.0060743582, -0.04532679, -0.040438887, 0.0032165681, 0.00019215487, -0.008759864, 0.036630865, -0.009463211, 0.0294411, 0.038449623, -0.0070192586, -0.037824426, -0.030492568, 0.020034725, 0.00329827, -0.032822847, -0.004575306, -0.0077794413, -0.016724022, -0.010500469, -0.011267757, -0.020063143, 0.0034741065, -0.038392786, -0.053369097, 0.001884472, -0.006600092, 0.032964937, -0.017008204, 0.0105928285, 0.013171766, -0.008205712, -0.017704446, 0.016525097, -0.0019715023, -0.028062824, 0.0062555233, 0.00083344814, 0.040154707, -0.031060928, -0.068316996, 0.0016873217, -0.0023959968, 0.024524778, 0.003257419, -0.0070689903, -0.04387747, -0.024837377, 0.020290488, 0.046548765, -0.015246284, 0.0027050432, -0.018869586, -0.02375749, 0.02375749, -0.044673175, 0.011097249, 0.0057013715, -0.01405983, -0.0036090924, -0.006152508, -0.040467303, 0.0012006626, -0.022961784, -0.026556669, 0.0005199615, -0.00012255284, -0.0023480414, 0.027622346, 0.03134511, -0.011814805, -0.015089985, 0.036431942, 0.027409209, -0.010614142, 0.004490052, 0.011473788, -0.045838315, 0.0015976273, 0.0067066597, -0.011033308, -0.031657707, -0.02695452, 0.007235946, 0.028844321, 0.02304704, 0.0081133535, -0.009029835, -0.00049820397, -0.0076018283, 0.020773595, -0.0070334673, 0.013058094, 0.018414896, -0.0058967452, 0.030265223, 0.0055379677, 0.0017734639, -0.035920415, -0.020730969, 0.012837854, -0.012766809, -0.00535325, -0.023658028, -0.030350478, 0.019182185, -0.004365723, 0.007864695, -0.0410925, 0.032453414, 0.0035931072, -0.013534096, -0.0008631983, 0.051237743, -0.0037405258, 0.031572454, -0.0049731587, 0.015615718, -0.030805167, -0.011175399, 0.000762403, -0.015374165, -0.0072750207, -0.043394364, -0.033021774, -0.010514678, 0.015857272, -0.024681076, 0.031515617, -0.0027032671, -0.028460678, -0.047173962, -0.019508991, -0.0196795, -0.03705714, -0.0014954999, 0.012283702, -0.01646826, -0.12526676, 0.007715501, 0.016780859, 0.01246842, 0.012773913, -0.00266064, 0.042200804, -0.002161548, 0.008731446, -0.035948835, -0.0047635757, -0.004578858, -0.009129299, -0.009143508, 0.0047706803, -0.04038205, -0.009207448, -0.007679978, 0.020574668, -0.011836118, 0.003104672, 0.016226707, -0.008347802, 0.016695604, 0.0010461395, -0.00078371656, -0.012702868, 0.019992098, -0.019651081, -0.015004731, 0.0022379216, 0.006696003, 0.02171139, 0.017235547, -0.014329802, -0.033476464, 0.009008522, -0.03134511, -0.047941253, -0.009804227, -0.013860904, -0.010187871, 0.024538986, -0.014017203, 0.027451837, -0.035636235, 0.015402583, -0.00015974052, 0.021214075, -0.006969527, -0.020773595, 0.019778963, -0.0061773737, -0.014805804, -0.0036002118, 0.04592357, 0.027380792, -0.0010106169, -0.022265542, 0.013022572, -0.031373527, -0.023260174, -0.013079408, 0.01472055, -0.023459101, -0.024979467, -0.022095034, 0.015416793, -0.015487838, -0.027778644, 0.0057191327, 0.014734759, -0.012553674, 0.052971248, 0.023658028, -0.015317329, 0.0065077334, 0.037284482, -0.004028259, 0.06666875, -0.0020869505, 0.0066178534, 0.017235547, 0.04009787, 0.0035362712, -0.011935581, 0.02200978, -0.035636235, -0.011878745, 0.033703808, 0.0012157597, -0.009576883, -0.020773595, 0.012056358, -0.00983975, 0.00067404064, -0.0020425473, 0.0042342893, 0.017832326, 0.0050513083, -0.020475205, 0.05129458, -0.012269493, -0.029668445, 0.011104353, 0.021725599, 0.0066853464, -0.0018347404, -0.0046392465, 0.03424375, 0.00042627077, -0.012930213, -0.009143508, 0.025562037, 0.010599933, 0.04973159, 0.0003505633, -0.008269653, 0.065929875, 0.005491788, 0.03705714, 0.0016677843, -0.059507396, -0.01793179, -0.005484684, -0.016084617, 0.01780391, 0.00024865795, -0.003868407, 0.016354589, 0.007566306, 0.037966516, 0.0035824506, 0.02520681, -0.052658647, 0.009775809, -0.004866591, 0.026158815, -0.016496679, 0.0117224455, -0.009051149, 0.021199865, 0.03952951, -0.008298071, -0.0045255744, -0.018500151, -0.0035380472, -0.023899581, -0.011750864, 0.014962103, 0.021938736, 0.003911034, 0.0041348264, 0.03603409, -0.009655032, 0.013910635, 0.010720709, -0.031572454, 0.031373527, 0.0017779042, 0.026471414, 0.04839594, -0.045099445, -0.02068834, -0.010834382, -0.025732545, -0.001274372, -0.019778963, -0.0063123596, 0.024439523, -0.03523838, -0.031742964, 0.010692292, 0.033561718, 0.0030460597, 0.04444583, 0.019167975, 0.026741385, 0.024453733, 0.026599295, -0.03847804, 0.059507396, -0.027508672, 0.024794748, 0.038819056, -0.02171139, 0.038989566, -0.009690555, -0.003893273, 0.028261751, 0.04299651, 0.022663396, 0.033391207, 0.0099179, 0.019665292, -0.010770441, 0.017434474, 0.052090287, 0.0055770422, -0.009420584, -0.012198448, 0.033050194, -0.016539305, 0.0024865794, -0.006472211, -0.0010461395, 0.015033148, -0.03691505, -0.03532364, 0.02054625, -0.005125906, 0.008525415, -0.031373527, 0.016141452, -0.00382578, 0.012553674, -0.018755913, -0.020901477, -0.016652977, 0.00765156, 0.01953741, -0.033448044, -0.016113035, 0.08440161, -0.018684868, -0.0050228904, 0.012475524, -0.026272487, -0.0063372254, 0.0055095498, 0.03089042, -0.0029217307, -0.015502047, 0.001634926, -0.009058254, -0.011956895, -0.018045463, -0.041433517, -0.0011482668, -0.0019839352, 0.04578148, -0.016880322, -0.017946, 0.0070476765, 0.02652825, -0.018912213, 0.01690874, 0.008695924, -0.062121857, -0.025292065, -0.026343532, 0.016596142, 0.020645713, -0.04370696, -0.0038186754, -0.0047316053, 0.01144537, 0.034584768, 0.023871163, 0.026158815, -0.007260812, 0.0022148318, 0.002426191, -0.04575306, -0.01851436, -0.0041952147, -0.02463845, -0.002811611, -0.011566146, -0.008028099, -0.042882837, 0.00955557, 0.00947742, 0.020006308, -0.048481192, -0.0064970767, -0.013526992, -0.032169234, -0.018130716, -0.024311641, -0.041206174, 0.02493684, -0.01028023, 0.014258757, -0.004394141, -0.01780391, -0.016084617, -0.01780391, 0.012312121, -0.008937477, 0.037739173, 0.020489415, -0.009910795, 0.000118667565, 0.011338802, -0.030577822, 0.00998184, 0.017377637, -0.0045255744, -0.0052040555, 0.014116666, 0.050044186, 0.0012459538, -0.031515617, 0.005303519, 0.014486101, 0.029838953, -0.011104353, -0.014194816, 0.011658506, -0.008560938, 0.014450579, -0.006308807, -0.026570877, 0.005889641, -0.008411743, -0.008333594, -0.030094715, -0.019878427, -0.007935741, -0.006759944, -0.00075085816, -0.004369275, -0.01143116, -0.0036907943, -0.014457683, -0.0031845977, -0.004390589, -0.017093457, -0.0032520907, -0.013939054, 0.00057146925, -0.018500151, -0.0012388494, -0.010940949, -0.0018223075, -0.023274383, 0.0010754456, 0.0040957513, -0.020674132, 0.0588822, 0.050470456, 0.032254487, -0.018940631, -0.011438265, 0.011338802, 0.01604199, -0.017008204, -0.018358061, -0.0019484126, 0.086390875, -0.0030709256, 0.0036339583, 0.013718814, 0.0035540324, 0.029242175, 0.011424056, 0.008802491, -0.021413, 0.009044045, -0.009775809, 0.007445529, 0.012461315, -0.0048808004, -0.013441738, 0.0055486243, -0.006404718, 0.04566781, 0.018826958, 0.03131669, 0.0137117095, 0.00911509, 0.00127526, 0.0034545693, -0.008887745, 0.025817798, 0.020233652, 0.019139556, 0.00955557, -0.0017335011, 0.037852842, 0.0046108286, -0.014820013, 0.028162288, -0.046435095, -0.0052431305, 0.0050406517, 0.05027153, 0.00015585525, -0.009250076, 0.013029676, 0.005854118, -0.02114303, -0.012354747, -0.01158746, 0.009427688, -0.010756232, -0.006099224, -0.006017522, 0.020205233, -0.011345906, -0.039131656, 0.01501894, 0.001994592, -0.020048935, -0.026570877, 0.009136403, 0.037739173, 0.0092429705, 0.0014111338, -0.026656132, 0.026627714, -0.01130328, 0.0055237585, -0.01429428, -0.040183123, -0.028844321, 0.027664972, -0.063940614, -0.012162926, 0.00018893564, -0.019636873, -0.003269852, 0.024979467, -0.0048133074, -0.0023746833, 0.026499832, 0.01953741, 0.015629929, 0.0104507385, 0.009861063, 0.010088407, -0.023132293, -0.062008187, -0.009392166, 0.016127244, 0.01939532, -0.024567405, -0.01867066, -0.004053124, -0.014145085, 0.014102457, 0.01750552, 0.021825062, -0.029696863, -0.011182503, 0.00012566107, 0.03074833, 0.010940949, -0.00859646, -0.01472055, -0.015615718, 0.004685426, -0.021469837, -0.029355846, -0.0056587444, -0.05550045, -0.02289074, 0.00057191326, 0.021796644, 0.011480892, -0.005324832, -0.017008204, 0.0017805685, -0.007537888, 0.016340379, -0.0024528329, 0.008511206, -0.024269015, -0.029981043, 0.0018809197, -0.0036694808, 0.0014173503, 0.02011998, 0.029412681, 0.01631196, 0.005491788, 0.015757808, 0.017718654, 0.0023356085, -0.043195438, -0.01319308, 0.017278174, 0.023714863, 0.003783153, 0.024098506, -0.018883795, -0.011658506, -0.011054622, -0.020858848, 0.00224325, 0.041291427, -0.023984835, 0.0033497778, -0.007942845, 0.0198358, 0.0071151694, 0.0025149975, 0.008774073, 0.041433517, -0.023260174, 0.020077353, 0.007608933, 0.02200978, -0.0019217706, 0.019125348, -0.0021828616, 0.005516654, 0.017903373, 0.004735158, -0.007260812, 0.0043159914, -0.026286697, 0.00009036052, 0.045099445, 0.004575306, -0.021810854, -0.0042911256, 0.012482628, -0.0277076, 0.003911034, 0.013562514, 0.01457846, -0.010955159, -0.015573092, -0.029668445, -0.013448843, 0.03046415, -0.01572939, 0.00851831, -0.011658506, -0.029952625, 0.01881275, -0.0067031076, -0.020873059, -0.018329643, -0.006639167, -0.009186135, 0.0062448666, -0.0020016965, 0.017860744, -0.013868009, -0.034471095, 0.010123931, -0.008482788, 0.04168928, -0.0065681217, 0.01239027, 0.053823788, 0.02375749, 0.023842745, -0.06269022, 0.0032059113, 0.020333115, -0.00073220883, 0.04257024, 0.026613504, 0.025974099, 0.007559201, -0.0057582073, -0.0055805948, 0.0064544496, 0.0057972823, 0.0277076, 0.008262549, 0.021825062, 0.0036978987, -0.006710212, -0.039586343, -0.011353011, -0.009001417, -0.045383625, -0.035067875, 0.0050903833, 0.019864216, 0.010443633, 0.018883795, -0.0004808867, -0.031117765, 0.0019022332, -0.015800435, -0.0329081, -0.011168294, 0.008177294, 0.013562514, -0.011360115, -0.014088249, 0.007488156, -0.01152352, 0.008290966, -0.00889485, 0.008461474, 0.028631186, -0.008603564, -0.0039323475, 0.04384905, 0.03381748, 0.02929901, -0.0029909997, -0.006997945, 0.01311493, -0.0063763, -0.017306592, -0.026101978, 0.024808958, -0.02026207, 0.019651081, -0.024794748, 0.00728923, 0.00823413, -0.013789859, -0.019068511, -0.04609408, 0.023601191, 0.004667665, 0.007374484, -0.026201442, 0.0059535815, -0.006330121, 0.00080991443, -0.017548146, 0.033249117, -0.007104513, -0.01347726, 0.0049269795, -0.013953263, -0.01823018, -0.016212497, 0.00648642, -0.011125667, 0.03438584, 0.024126925, -0.008568042, -0.0017104114, -0.011857431, 0.023430683, -0.039160073, -0.013185975, -0.0073815887, -0.009704764, 0.024155343, 0.00025998076, 0.0029288353, -0.001677553, -0.017747073, 0.004685426, -0.019210601, -0.030663077, -0.028375423, 0.01925323, -0.06979473, 0.021484045, 0.020674132, 0.017278174, 0.014002995, 0.020446787, -0.01749131, 0.033277538, -0.011360115, -0.010074199, -0.002436848, 0.030577822, -0.010173662, 0.014045621, 0.046605602, -0.017377637, 0.009413479, 0.018500151, -0.027167656, 0.031686127, -0.016880322, 0.0022823247, -0.015516255, -0.0029785668, 0.031117765, 0.011644296, -0.039273746, -0.012823645, 0.03583516, 0.011800596, 0.040921994, -0.030094715, 0.0036623762, -0.0052857576, 0.004365723, 0.0008689707, -0.0053674593, -0.00429823, 0.003921691, 0.014223234, -0.0056196693, 0.025718335, -0.0076586646, -0.018258598, -0.012283702, 0.033760644, -0.0016162766, 0.005001577, 0.019921053, 0.015288911, 0.026173024, 0.020816222, -0.009299807, 0.0099179, 0.0034137182, -0.009022731, 0.03276601, -0.01689453, -0.037653916, 0.014237443, -0.014748968, -0.028986411, 0.027579717, 0.007303439, 0.0123618515, 0.03611934, -0.025476782, -0.02858856, -0.021341955, -0.02186769, 0.0012601629, 0.05362486, 0.012212657, 0.012908899, -0.022549722, 0.006514838, -0.005086831, -0.011914267, -0.0034208228, -0.017818118, 0.036659285, -0.03276601, 0.049589496, -0.04617933, 0.019651081, 0.0029092978, -0.025263647, -0.000582126, -0.017604982 ]
2310.12773
24
• Can Safe RLHF simultaneously improve the LLM’s helpfulness and harmlessness? (Section 4.2.1) • What benefits arise from the distinct separation of helpfulness and harmlessness? (Section 4.2.2) • How does Safe RLHF navigate the inherent tension between the dual optimization objectives of helpfulness and harmlessness? (Section 4.2.3) Furthermore, we conduct an ablation experiment to elucidate the specific design of the Cost Model which is endowed with classification capabilities (Section 4.2.4). Collectively, these experiments aim to provide a comprehensive assessment of Safe RLHF’s influence on the safety and performance of LLMs within practical contexts. 4.1 EXPERIMENTAL DETAILS We demonstrate the efficacy of our pipeline by iteratively fine-tuning the initial SFT model using the Safe RLHF pipeline for three cycles. Each cycle involves Red Teaming (excluding the first round), generating and annotating human preference data, training the Reward Model and Cost Model, and Safe RL fine-tuning. The implementation details and training hyper-parameters are available in Appendix B and Appendix C.1.
2310.12773#24
Safe RLHF: Safe Reinforcement Learning from Human Feedback
With the development of large language models (LLMs), striking a balance between the performance and safety of AI systems has never been more critical. However, the inherent tension between the objectives of helpfulness and harmlessness presents a significant challenge during LLM training. To address this issue, we propose Safe Reinforcement Learning from Human Feedback (Safe RLHF), a novel algorithm for human value alignment. Safe RLHF explicitly decouples human preferences regarding helpfulness and harmlessness, effectively avoiding the crowdworkers' confusion about the tension and allowing us to train separate reward and cost models. We formalize the safety concern of LLMs as an optimization task of maximizing the reward function while satisfying specified cost constraints. Leveraging the Lagrangian method to solve this constrained problem, Safe RLHF dynamically adjusts the balance between the two objectives during fine-tuning. Through a three-round fine-tuning using Safe RLHF, we demonstrate a superior ability to mitigate harmful responses while enhancing model performance compared to existing value-aligned algorithms. Experimentally, we fine-tuned the Alpaca-7B using Safe RLHF and aligned it with collected human preferences, significantly improving its helpfulness and harmlessness according to human evaluations.
http://arxiv.org/pdf/2310.12773
Josef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji, Xinbo Xu, Mickel Liu, Yizhou Wang, Yaodong Yang
cs.AI, cs.LG
null
null
cs.AI
20231019
20231019
[ { "id": "2302.13971" }, { "id": "2304.05302" }, { "id": "1707.06347" }, { "id": "2305.18290" }, { "id": "2305.10403" }, { "id": "2305.03047" }, { "id": "2211.05100" }, { "id": "2110.08207" }, { "id": "2304.05335" }, { "id": "2107.03374" }, { "id": "2105.04054" }, { "id": "2209.07858" }, { "id": "2305.15324" }, { "id": "2307.09288" }, { "id": "2210.11416" }, { "id": "2212.08073" }, { "id": "2307.12950" }, { "id": "2009.11462" }, { "id": "2307.04657" }, { "id": "2204.05862" }, { "id": "2112.00861" }, { "id": "2209.14375" }, { "id": "2303.00957" }, { "id": "2306.01693" }, { "id": "2305.01937" }, { "id": "2307.15217" }, { "id": "2306.17492" }, { "id": "2112.04359" }, { "id": "1506.02438" } ]
{ "authors": "Josef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji, Xinbo Xu, Mickel Liu, Yizhou Wang, Yaodong Yang", "chunk_id": 24, "doc_id": "2310.12773", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12773", "summary": "With the development of large language models (LLMs), striking a balance\nbetween the performance and safety of AI systems has never been more critical.\nHowever, the inherent tension between the objectives of helpfulness and\nharmlessness presents a significant challenge during LLM training. To address\nthis issue, we propose Safe Reinforcement Learning from Human Feedback (Safe\nRLHF), a novel algorithm for human value alignment. Safe RLHF explicitly\ndecouples human preferences regarding helpfulness and harmlessness, effectively\navoiding the crowdworkers' confusion about the tension and allowing us to train\nseparate reward and cost models. We formalize the safety concern of LLMs as an\noptimization task of maximizing the reward function while satisfying specified\ncost constraints. Leveraging the Lagrangian method to solve this constrained\nproblem, Safe RLHF dynamically adjusts the balance between the two objectives\nduring fine-tuning. Through a three-round fine-tuning using Safe RLHF, we\ndemonstrate a superior ability to mitigate harmful responses while enhancing\nmodel performance compared to existing value-aligned algorithms.\nExperimentally, we fine-tuned the Alpaca-7B using Safe RLHF and aligned it with\ncollected human preferences, significantly improving its helpfulness and\nharmlessness according to human evaluations.", "text": "• Can Safe RLHF simultaneously improve the LLM’s helpfulness and harmlessness? (Section 4.2.1)\n• What benefits arise from the distinct separation of helpfulness and harmlessness? (Section 4.2.2)\n• How does Safe RLHF navigate the inherent tension between the dual optimization objectives of helpfulness and harmlessness? (Section 4.2.3)\nFurthermore, we conduct an ablation experiment to elucidate the specific design of the Cost Model which is endowed with classification capabilities (Section 4.2.4). Collectively, these experiments aim to provide a comprehensive assessment of Safe RLHF’s influence on the safety and performance of LLMs within practical contexts.\n4.1 EXPERIMENTAL DETAILS\nWe demonstrate the efficacy of our pipeline by iteratively fine-tuning the initial SFT model using the Safe RLHF pipeline for three cycles. Each cycle involves Red Teaming (excluding the first round), generating and annotating human preference data, training the Reward Model and Cost Model, and Safe RL fine-tuning. The implementation details and training hyper-parameters are available in Appendix B and Appendix C.1.", "title": "Safe RLHF: Safe Reinforcement Learning from Human Feedback", "year": 2023 }
[ 0.024420032, -0.0035043315, 0.07747241, -0.0028337056, 0.01804464, 0.00039557143, -0.03700005, 0.047246214, 0.018926948, 0.06255854, 0.03870774, -0.00018344374, -0.042920057, 0.031336196, 0.01237367, -0.06916163, 0.02057772, -0.02655465, -0.020321565, 0.033186197, 0.00019567333, 0.016180405, 0.01535502, 0.013597517, -0.005713661, -0.04428621, 0.05507315, -0.015468866, -0.0003430954, -0.026682727, 0.060680076, -0.030482346, -0.04246467, 0.016934637, -0.024420032, 0.031222347, 0.008830204, 0.031535424, -0.021573873, 0.023879262, -0.026170418, -0.018670794, -0.029016577, 0.010409821, -0.011640784, 0.022541568, 0.04553852, 0.018030409, -0.0065675084, 0.036373895, -0.024519647, 0.020620411, -0.024861187, -0.017959254, -0.013120786, 0.016280022, 0.0034598603, 0.0034545236, 0.018471561, -0.011598092, -0.017902331, -0.009797897, -0.03125081, 0.002113272, -0.045823134, 0.0066742394, -0.08436011, 0.0056638536, -0.0017699542, 0.051771604, -0.013867903, -0.050718527, 0.08128626, -0.02405003, -0.0053329878, -0.022114644, 0.036772355, 0.020463873, 0.009171743, 0.0007569, 0.00922155, 0.008353473, 0.03668697, -0.038963895, -0.00875905, -0.026469264, -0.0527393, -0.006635105, -0.076277025, -0.03162081, -0.025359264, 0.020663103, -0.00030573958, 0.01895541, 0.01175463, -0.056695458, 0.0074925097, -0.0076205865, 0.062957, 0.04662006, 0.035007738, -0.03756928, 0.01110713, -0.02042118, 0.022456182, 0.0030347155, 0.011434438, 0.051230837, -0.012893094, -0.0037284663, -0.025786187, -0.018357717, -0.040443897, 0.0502916, 0.008154241, -0.0527393, -0.07946472, 0.010523668, 0.010523668, -0.021616567, -0.038793128, -0.021417335, 0.058516998, -0.043432362, 0.000025904481, -0.012644054, 0.05353622, -0.038394663, 0.0013483671, -0.02745119, 0.02332426, 0.026085034, -0.01625156, -0.018571177, -0.02797773, 0.023238877, -0.07360163, -0.02150272, -0.017048484, -0.016237328, 0.0018838005, -0.009463474, -0.050633144, 0.012530209, -0.033470813, 0.021047335, -0.004037986, 0.023082338, -0.00096235704, 0.009769436, -0.014543865, -0.008104433, -0.027892344, -0.0035007738, -0.026270034, -0.033300042, -0.017489638, 0.033385426, 0.026326956, -0.038166974, 0.022484645, 0.04892545, -0.045453135, -0.0074355863, 0.016891945, 0.029514654, -0.0090650115, 0.0064856815, -0.06517701, -0.0072719324, 0.0047139484, -0.00043893085, -0.040927745, -0.042236976, -0.025871571, -0.012942901, -0.03016927, -0.030254655, 0.0034082737, -0.023153491, -0.004226544, 0.014124056, -0.029230038, -0.010701552, -0.057748538, -0.011448668, -0.030653117, 0.0011544726, 0.010964822, -0.028618114, -0.0074498174, 0.014629249, 0.034239274, 0.010573476, -0.0053329878, 0.03162081, -0.008189818, 0.04351775, 0.028490037, -0.02382234, 0.011583861, 0.016308483, 0.0361462, -0.028262343, 0.023366952, 0.003369139, -0.043147746, 0.041866977, -0.021815797, -0.012864632, 0.016351175, 0.062387772, 0.028319268, 0.04462775, -0.02979927, 0.028404651, -0.022000797, 0.022256952, 0.0029297634, 0.009363858, 0.0055428916, -0.013761171, 0.042151593, 0.003838755, -0.042350825, 0.038195435, 0.03327158, -0.041354667, 0.039134666, -0.07815549, 0.043574672, 0.017048484, -0.036402356, -0.025942726, -0.0040877936, -0.01986618, -0.020905027, -0.018286562, 0.031193886, -0.041297745, 0.012658286, 0.027365804, 0.019524641, -0.0151557885, 0.020677334, 0.001337694, 0.00044337797, -0.039874665, 0.003392264, -0.014842711, 0.0058275075, -0.027693113, 0.019538872, -0.05726469, -0.031222347, 0.022527337, -0.005233372, -0.019311178, 0.0018162043, -0.026696958, -0.028618114, 0.0029493307, -0.009563089, 0.010801168, -0.016792329, -0.014109826, -0.013070978, 0.026782341, -0.042293902, 0.0005172002, 0.019994257, 0.027138112, -0.037654664, 0.01878464, -0.056040842, -0.0026558207, 0.061761618, 0.052995455, -0.023438107, -0.0125515545, -0.02204349, 0.0043973136, 0.07735856, -0.048384678, -0.0092571275, 0.005763469, 0.00012451939, -0.017816946, -0.0062651043, -0.018670794, 0.014743096, -0.015497328, 0.06654316, -0.033954658, 0.008915588, 0.04030159, -0.0018064206, 0.0074213557, -0.016479252, 0.017916562, 0.01754656, 0.065575466, -0.038394663, -0.010260398, 0.062273927, 0.0025793302, -0.008545588, -0.04104159, 0.013882133, 0.019595794, 0.016678482, 0.029571576, 0.024903879, 0.004731737, -0.018514255, -0.037512355, 0.046477754, -0.03182004, 0.014899635, -0.0031058693, 0.0055500073, -0.040557746, 0.029429268, -0.032246966, 0.04440006, -0.017190792, 0.0016356511, 0.018485794, -0.05362161, -0.017745793, 0.017560791, -0.026213111, 0.010537898, -0.054076992, -0.0128148245, -0.054503918, -0.057549305, 0.0029350999, 0.042407747, 0.0419239, -0.04198082, -0.04613621, -0.042322364, 0.052340835, -0.028048882, 0.025245417, -0.016977329, -0.030966194, 0.050149295, 0.035121582, -0.0032552928, -0.022626951, 0.006243758, -0.03782543, -0.038195435, 0.028504267, 0.000906768, -0.07616317, -0.021260796, 0.008559818, -0.04115544, 0.036715433, 0.005831065, -0.0009819244, -0.0021168296, 0.03848005, -0.027550805, 0.020848103, -0.029173115, -0.021289257, 0.018414639, 0.023580415, -0.0076917405, 0.00018455552, -0.06517701, 0.030453885, 0.039020818, -0.0055606803, 0.0032250523, 0.01554002, -0.023153491, -0.0077273175, -0.049409293, -0.0393339, 0.027835421, 0.031563886, -0.012523093, -0.01736156, -0.0017299302, 0.002406782, 0.021886952, -0.01896964, -0.017418483, 0.0032001485, 0.015824636, -0.013661556, -0.0052725067, 0.06517701, 0.07138163, 0.04027313, -0.018215409, -0.019510409, -0.06739701, 0.013618864, 0.0048064487, 0.035263892, 0.014615019, 0.03375543, 0.021588104, 0.038394663, 0.018841563, -0.04015928, 0.017404253, -0.008260972, 0.018371947, -0.018713485, 0.049722373, -0.016778098, 0.0039632744, 0.010886553, 0.014422903, -0.04847006, 0.00582395, -0.0040984666, 0.011050207, 0.0059591425, 0.018841563, -0.011256553, -0.010886553, -0.042521592, -0.020478103, 0.059313923, 0.033328503, -0.016208867, -0.032446194, 0.020535026, 0.018599639, -0.0017237042, -0.03722774, 0.010701552, 0.08572626, -0.0060943346, -0.047388524, 0.022755029, -0.013882133, -0.013540595, -0.017660407, 0.01771733, -0.014394442, 0.005140872, -0.033954658, 0.0060836617, 0.037626203, 0.030482346, -0.011975207, -0.029030807, 0.016564637, -0.057606228, 0.04804314, 0.02057772, 0.024989262, 0.031165425, 0.0073075094, 0.023608876, 0.023978878, 0.018841563, 0.02042118, -0.041667745, -0.01878464, -0.00010495206, 0.0013136796, -0.06808009, 0.037853897, -0.015853098, 0.017318869, -0.022968492, -0.008638088, -0.035833124, 0.07974933, -0.0011437995, 0.0097338585, 0.005083949, 0.017660407, -0.01898387, 0.04138313, 0.067169316, 0.046363905, 0.01824387, 0.0017948581, 0.013882133, 0.027436959, -0.015639635, 0.051543914, -0.017503869, -0.0068521244, -0.041781593, 0.0047851023, -0.007204336, 0.01895541, -0.004027313, 0.029372346, 0.018528486, 0.0003455413, 0.0026415898, 0.059427768, 0.015440404, 0.026881957, 0.0024245705, -0.033983123, 0.022285413, -0.0019336082, 0.02099041, -0.027038496, 0.0068165474, -0.0011891602, -0.0007604577, -0.017760023, -0.01609502, 0.0037035625, 0.02167349, 0.038565435, -0.00000516283, -0.0026024552, 0.015013481, -0.002371205, -0.00903655, -0.033840813, -0.0055962573, -0.012423477, -0.046733905, -0.012615593, -0.018585408, -0.0038992357, 0.008431742, -0.045965444, -0.006990874, -0.005297411, -0.026654266, -0.043062363, -0.03090927, 0.025345033, 0.017631946, 0.042920057, 0.015525789, 0.0042941403, -0.025971187, 0.007606356, -0.019738102, 0.016365405, -0.01569656, 0.026625803, -0.037996203, -0.018770408, -0.010651745, -0.01419521, -0.011733284, 0.007535202, -0.007947895, 0.004208755, -0.007328856, -0.020506565, 0.0055215457, -0.00092411175, -0.015796173, -0.035861585, 0.013056748, 0.00732174, 0.0120748235, -0.0066386624, -0.011690592, -0.018101562, -0.012039246, 0.037740048, -0.066884704, 0.033470813, -0.012772132, 0.012046361, -0.008325011, 0.042578515, 0.014116941, -0.020022718, -0.036032353, -0.027579267, 0.008552703, -0.03600389, -0.028788883, 0.009335397, 0.011085783, -0.042265438, 0.00542193, 0.012245593, -0.010495205, 0.03452389, 0.010708667, -0.055386227, -0.0069303936, 0.00332111, -0.011149822, -0.00079959235, -0.019481948, 0.0010681985, -0.0180731, 0.027792728, -0.021773105, -0.047046985, 0.017005792, -0.00868078, 0.01464348, 0.026867727, 0.009150396, 0.0013883912, -0.017589254, -0.0074142404, -0.0134125175, -0.017062714, -0.018329255, 0.011783092, 0.013810979, 0.02564388, -0.012523093, -0.053336993, 0.012544439, 0.025757726, -0.037740048, 0.02710965, -0.0058630845, -0.01660733, -0.013988865, -0.024619263, -0.019709641, -0.035292353, 0.01716233, 0.0040877936, -0.05180007, 0.011021745, 0.034466967, 0.03090927, 0.010872322, -0.0118115535, -0.022726567, 0.0097338585, 0.009954436, 0.0025046186, -0.07337394, -0.008858665, 0.0063327006, 0.005646065, -0.0064038546, -0.006514143, -0.032616965, -0.053223144, -0.03469466, -0.008638088, 0.013234632, 0.0133413635, 0.028703498, -0.0063077966, 0.045652367, 0.034780044, -0.010175013, -0.028632345, 0.01914041, -0.022641184, 0.032560043, -0.0002039005, -0.004322602, 0.013512133, 0.03742697, 0.014771557, -0.023907723, -0.03594697, -0.0006581739, -0.0011046649, 0.015511558, -0.022000797, -0.02150272, 0.0010059387, -0.026953112, -0.033954658, 0.045424674, -0.03016927, 0.022883106, -0.043973133, -0.06802317, -0.0011509149, 0.013754056, 0.021246566, -0.018272331, -0.012651171, 0.021260796, -0.018144254, -0.0066386624, 0.019481948, -0.008488664, 0.012864632, 0.026853496, -0.009620013, 0.02099041, -0.0047708717, -0.0299985, -0.00704424, 0.0130780935, 0.012224247, -0.022740798, -0.02294003, -0.0553293, -0.025885802, 0.041696206, 0.046306983, -0.010345782, 0.013170594, 0.007905203, 0.01822964, 0.005692315, -0.014166749, 0.055044685, 0.019453486, 0.019595794, 0.02313926, -0.020221949, -0.047473907, 0.007940779, -0.017318869, 0.019396564, -0.0044542365, 0.011562515, -0.027237728, 0.022854645, -0.006560393, -0.02204349, 0.033043887, 0.008090203, -0.009363858, 0.0036751009, 0.0061227963, -0.012857516, -0.03665851, -0.008531357, 0.0032873119, 0.001549377, 0.017503869, 0.0051017376, -0.010993283, 0.03554851, 0.007478279, 0.008097318, 0.016465021, 0.022868875, -0.00064794556, 0.008495781, -0.00699799, 0.013668671, -0.02295426, 0.016891945, 0.022271182, -0.007969241, 0.0045147175, 0.032958504, -0.00704424, 0.02854696, 0.013448094, 0.022840414, 0.013625979, -0.011171169, 0.011035976, -0.008901358, -0.012138862, 0.0076348176, 0.017005792, 0.0040415437, -0.01030309, -0.023879262, 0.010260398, 0.0037071202, 0.03978928, -0.00812578, 0.011505592, -0.005738565, -0.022100413, -0.008083087, -0.011398861, -0.022128874, 0.03287312, -0.01445848, -0.034865428, -0.001402622, -0.009378089, 0.030880809, -0.005080391, -0.03563389, -0.008531357, 0.019951563, -0.011050207, -0.020634642, -0.024846954, 0.06124931, 0.0024814936, -0.11931092, -0.01968118, 0.026326956, -0.021445798, 0.0350362, 0.02638388, -0.003895678, 0.03378389, 0.012039246, -0.043147746, 0.016294252, 0.009605781, -0.010360014, 0.011028861, 0.0038992357, -0.044513904, 0.019951563, 0.011989439, 0.041895438, -0.02567234, -0.017076945, -0.008488664, -0.0015066846, 0.0041411594, -0.039533127, 0.01272944, -0.014728866, 0.012010785, -0.002453032, 0.03691466, 0.0008325011, 0.00406289, -0.00497366, -0.004173178, -0.019311178, -0.018172715, 0.007499625, -0.0061477004, -0.0020047622, 0.06887701, 0.012380785, -0.009897512, 0.02547311, -0.024064261, 0.038138513, -0.034808505, -0.013739825, -0.030112347, 0.00886578, -0.009584435, 0.0066920277, -0.005208468, -0.011420207, -0.024320416, -0.005244045, 0.004415102, 0.023395415, 0.02601388, 0.018315023, -0.015198481, -0.042806208, 0.049409293, 0.01039559, -0.018685024, -0.014913865, -0.00037466997, -0.024989262, 0.04570929, -0.045993906, -0.056325458, 0.008204049, 0.011953861, -0.01030309, 0.053963147, 0.03922005, 0.0006368277, 0.003438514, 0.021773105, -0.031051578, 0.023153491, 0.020207718, -0.035520047, 0.001413295, 0.0052476027, 0.009698282, 0.04138313, 0.06517701, 0.04676237, -0.0033139947, 0.021958105, 0.010900783, 0.008104433, 0.020278873, 0.004955872, 0.010907899, -0.017076945, -0.022086183, -0.010779821, 0.008958281, -0.022740798, 0.015753482, -0.013953287, 0.009363858, -0.032076195, 0.017290408, 0.02060618, -0.011121361, 0.030140808, 0.0047210637, -0.019766564, 0.011050207, 0.002264474, 0.0012460833, 0.024178108, -0.008737704, 0.010032705, 0.012295401, 0.016749637, 0.008922704, 0.004180294, -0.011420207, 0.03381235, -0.026896188, 0.04462775, -0.015483097, -0.013234632, -0.006418085, 0.020819642, -0.0111427065, 0.007905203, 0.0012763238, 0.0041980823, -0.018158484, 0.015668098, -0.03554851, 0.036715433, 0.036402356, -0.011733284, -0.011619438, 0.026910419, 0.019069256, 0.01444425, 0.013391171, -0.005446834, -0.015838867, 0.033186197, 0.0016223098, -0.027251959, 0.0047388524, 0.0016819012, -0.02131772, -0.0039276974, 0.02474734, 0.030340038, -0.017660407, 0.033129275, 0.032133117, -0.03691466, -0.022883106, 0.030766962, -0.0052369297, 0.052910067, -0.039020818, -0.010651745, 0.022883106, -0.015056173, -0.038223896, 0.013248864, 0.023395415, -0.014543865, -0.0060267383, -0.05256853, 0.019624256, -0.015269635, 0.0115554, 0.017674638, -0.0099259745, 0.047075447, 0.01554002, 0.04841314, -0.0029724557, 0.045453135, -0.0084673185, 0.008488664, 0.052084684, -0.0066955853, -0.0121104, -0.018926948, 0.035263892, 0.030254655, -0.011277899, 0.009143281, 0.005091064, 0.05416238, 0.025999648, -0.0066493354, -0.014800019, 0.029913116, -0.06324162, -0.06591701, -0.011996554, 0.06506316, 0.025615418, -0.013085209, 0.0067418357, -0.013142132, 0.0023196184, -0.025544263, -0.018585408, 0.018827332, 0.008296549, -0.010715783, -0.035918508, 0.02656888, 0.032133117, -0.021075796, 0.005226257, -0.0076205865, -0.015668098, -0.020748489, -0.024960801, -0.044229288, 0.015411943, 0.005984046, -0.0020474545, -0.021360412, -0.008204049, 0.012494631, 0.009755204, 0.010609052, -0.009015204, 0.0009356743, 0.015952714, -0.015881559, -0.046193138, -0.023153491, 0.0041874093, -0.01989464, 0.008339241, -0.00092411175, 0.0180731, -0.009705397, -0.03145004, -0.024790032, 0.039675437, 0.012651171, 0.06358316, 0.007328856, -0.016792329, -0.02261272, 0.0040557743, -0.009854821, 0.0056389496, 0.0024263493, 0.0178881, -0.030254655, 0.0125515545, 0.065347776, 0.044229288, 0.024320416, -0.018798871, 0.0018588966, 0.023993108, -0.0076134712, -0.009591551, -0.03364158, -0.0026771668, 0.0016214204, -0.0002812804, -0.03449543, 0.001901589, 0.023551954, -0.02928696, 0.038992357, -0.03219004, 0.026981574, 0.03273081, 0.02856119, 0.010338667, -0.01736156, -0.01845733, 0.0024939454, -0.023523493, 0.002995581, -0.0021862048, 0.012850401, 0.012473285, -0.014942327, 0.029030807, 0.0060160654, 0.010680206, 0.03546312, 0.009107704, -0.012750786, 0.0055108727, -0.007147413, 0.01592425, -0.010338667, 0.029144652, -0.022143105, 0.028988114, 0.025999648, 0.017489638, -0.01643656, 0.013369825, 0.010559244, -0.015881559, -0.038252357, -0.0118115535, -0.018571177, 0.00032819755, -0.011000399, -0.0024939454, 0.007442702, -0.0062046233, -0.009008088, -0.002465484, -0.02638388, -0.00027305324, -0.0296285, 0.013554825, 0.01683502, 0.01119963, 0.002086589, -0.042891596, -0.0039632744, -0.017133867, -0.02258426, -0.003143225, 0.008737704, -0.0037284663, 0.025487341, -0.013725595, 0.015212712, -0.015853098, -0.00532943, -0.024462724, -0.016650021, -0.007997703, -0.005436161, 0.015511558, 0.0039810627, 0.022128874, 0.03375543, -0.013334248, 0.009726743, -0.014038672, -0.0097338585, -0.0124804005, -0.0018802428, 0.06876317, -0.009413666, -0.014785788, -0.007791356, -0.033869274, 0.016536174, 0.00085829437, 0.0065212585, -0.0031183213, 0.021716181, -0.012138862, 0.0040166397, -0.001666781, 0.015611174, 0.0008284987, -0.006293566, -0.02168772, 0.058232382, 0.0022235606, 0.033527736, 0.007826933, -0.007734433, -0.017788485, -0.029116191, 0.019311178, 0.018329255, -0.0034705333, 0.016877715, 0.03455235, -0.0017085839, 0.023708493, -0.016180405, -0.020364257, -0.003616399, -0.037341587, -0.0124804005, -0.0026255804, 0.030311577, 0.013497902, 0.005998277, -0.0037711586, -0.016109252, -0.019097717, -0.030396963, -0.0025971187, 0.009812128, 0.0032570716, -0.01499925, 0.045111597, 0.026796574, 0.038906973, -0.00704424, -0.0012612035, -0.011014629, 0.015027712, 0.012615593, 0.0015226942, 0.008296549, 0.02383657, 0.008175587, -0.032275427, -0.026440803, -0.019083487, 0.0040664477, -0.00024103397, -0.009954436, 0.0018393293, 0.029173115, -0.012316747, 0.020478103, -0.014572326, 0.00048295734, 0.018870024, 0.00727549, 0.01535502, 0.030083885, -0.012765016, -0.00007137629, -0.023253107, 0.007033567, 0.016023867, 0.027878113, -0.015568482, -0.023196183, -0.00023125029, 0.019453486, 0.029045038, 0.034580816, -0.030055424, 0.009335397, -0.019837718, 0.03139312, 0.051003143, -0.0067276047, -0.03321466, 0.0007702414, -0.012096169, 0.014800019, 0.034751583, -0.0051124105, 0.013234632, -0.02673965, 0.0050981794, 0.025814649, -0.057378534, -0.006243758, -0.031222347, 0.01682079, 0.03415389, 0.0046534673, -0.01589579, -0.037341587, -0.015810406, 0.02077695, -0.0011660352, 0.037313126, -0.0052902955, 0.017105406, -0.001473776, -0.013761171, 0.016849253, -0.0027145226, 0.021061566, -0.0011811553, -0.0015084635, 0.010879437, -0.013654441, -0.023793876, 0.030055424, 0.0016427665, 0.008630972, -0.014501172, 0.007962125, -0.00020012046, -0.0032873119, 0.0022733684, -0.01662156, -0.04892545, -0.00093033776, 0.015611174, 0.006560393, -0.0053009684, -0.002616686, -0.010786937, -0.029742345, 0.013490787, 0.010175013, -0.007371548, 0.025316572, -0.006841451, -0.017745793, 0.02057772, 0.0011687034, 0.03051081, -0.025359264, 0.01824387, -0.007257702, -0.022683876, 0.029230038, 0.005130199, 0.023936184, 0.0062010656, -0.009755204, 0.026896188, 0.036943123, -0.012487516, 0.0061227963, 0.023907723, 0.022897337, 0.005678084, -0.026511958, -0.01861387, 0.022029258, -0.01916887, -0.00993309, -0.034865428, -0.0046641408, 0.019823488, 0.014913865, -0.014757327, -0.0346662, 0.0061192387, -0.0015965165, -0.00032753046, 0.009185974, 0.005998277, 0.02276926, -0.004411544, -0.016493483, -0.02655465, -0.020335795, -0.0022626952, 0.006845009, -0.0008431742, -0.0031129848, 0.051743142, 0.0039348127, 0.011220976, 0.017503869, 0.00036355216, -0.008880012, -0.011953861, -0.003276639, 0.007755779, -0.030425424, -0.037341587, 0.010744245, 0.008823088, 0.008211165, 0.0038921204, 0.005845296, 0.029030807, -0.0020367815, 0.00044337797, 0.010445398, 0.045936983, -0.0077628945, -0.011704823, -0.020506565, -0.0017085839, -0.01065886, 0.0013777182, 0.004482698, 0.011526938, 0.019282717, 0.03179158, 0.012587132, -0.016920406, 0.0033495717, 0.0008253857, 0.028845806, -0.032645427, 0.0026913977, 0.03600389, 0.020734258, 0.017788485, -0.006841451, 0.008908473, -0.032417733, 0.019567333, -0.016379636, 0.02187272, 0.0017245936, 0.010616167, -0.044030055, 0.046705443, 0.021417335, 0.037170816, -0.044030055, 0.007186548, -0.012459055, 0.010345782, -0.021445798, -0.028774653, 0.04895391, -0.06751086, 0.02150272, -0.015255405, 0.004436448, 0.021161182, -0.019553103, -0.017076945, -0.011313476, -0.022826184, 0.0018873583, 0.011341938, -0.031165425, -0.0015653867, 0.009634243, -0.0178881, 0.0047139484, 0.008630972, -0.0034723121, -0.015511558, -0.004955872, 0.00786251, -0.038423125, -0.030596193, -0.002862167, -0.010943476, 0.011932516, 0.005599815, -0.030055424, -0.024448493, -0.0048882756, 0.034410045, 0.018016176, -0.009442127, -0.018001946, 0.006115681, -0.046164677, 0.008616742, 0.028105805, -0.033527736, -0.0038672164, 0.0016845695, 0.00077290967, -0.010061167, 0.028418884, 0.03645928, -0.01571079, -0.013184825, 0.0014417566, 0.038053125, 0.04519698, -0.0007613471, -0.023452338, 0.027806958, 0.009072127, 0.006115681, 0.002582888, -0.011975207, -0.017091176, 0.011470015, 0.0314785, 0.0018571177, 0.0124092465, -0.006442989, -0.017190792, 0.0307385, 0.021104258, -0.012636939, 0.006186835, 0.007147413, 0.031649273, 0.0118827075, 0.028077343, -0.014337518, 0.02493234, -0.016849253, -0.010879437, 0.018642332, 0.024348877, 0.028262343, -0.02332426, 0.037170816, 0.028020421, 0.0060765464, 0.025601188, -0.010971937, -0.032645427, 0.030283116, -0.02239926, 0.019126179, -0.0047139484, 0.005834623, -0.0013608191, 0.02655465, 0.0013608191, 0.007254144, 0.019197332, 0.02457657, 0.0042905826, -0.02476157, 0.0023872147, 0.0025259648, 0.021545412, -0.04607929, -0.014899635, -0.036800817, -0.02765042, 0.012736555, -0.0018162043, 0.016109252, 0.00654972, 0.0051835645, -0.031763118, -0.01645079, -0.012636939, -0.017802715, 0.0118827075, 0.018685024, 0.0016045213, 0.0016534396, -0.01455098, -0.025487341, -0.010246167, -0.03327158, 0.010836745, -0.019481948, -0.0077273175, -0.031108502, 0.010352898, -0.029130422, -0.0026700515, 0.006617316, -0.009285589, 0.0058381804, 0.0034474083 ]
2310.12397
25
# Acknowledgements # References [1] DIMACS Implementation Challenges. Archive available at http://archive.dimacs. rutgers.edu/Challenges/. [2] Konstantine Arkoudas. Gpt-4 can’t reason. Preprints, August 2023. [3] Sébastien Bubeck, Varun Chandrasekaran, Ronen Eldan, Johannes Gehrke, Eric Horvitz, Ece Kamar, Peter Lee, Yin Tat Lee, Yuanzhi Li, Scott Lundberg, Harsha Nori, Hamid Palangi, Marco Tulio Ribeiro, and Yi Zhang. Sparks of artificial general intelligence: Early experiments with gpt-4, 2023. 8 [4] Xinyun Chen, Maxwell Lin, Nathanael Schärli, and Denny Zhou. Teaching large language models to self-debug, 2023.
2310.12397#25
GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems
There has been considerable divergence of opinion on the reasoning abilities of Large Language Models (LLMs). While the initial optimism that reasoning might emerge automatically with scale has been tempered thanks to a slew of counterexamples, a wide spread belief in their iterative self-critique capabilities persists. In this paper, we set out to systematically investigate the effectiveness of iterative prompting of LLMs in the context of Graph Coloring, a canonical NP-complete reasoning problem that is related to propositional satisfiability as well as practical problems like scheduling and allocation. We present a principled empirical study of the performance of GPT4 in solving graph coloring instances or verifying the correctness of candidate colorings. In iterative modes, we experiment with the model critiquing its own answers and an external correct reasoner verifying proposed solutions. In both cases, we analyze whether the content of the criticisms actually affects bottom line performance. The study seems to indicate that (i) LLMs are bad at solving graph coloring instances (ii) they are no better at verifying a solution--and thus are not effective in iterative modes with LLMs critiquing LLM-generated solutions (iii) the correctness and content of the criticisms--whether by LLMs or external solvers--seems largely irrelevant to the performance of iterative prompting. We show that the observed increase in effectiveness is largely due to the correct solution being fortuitously present in the top-k completions of the prompt (and being recognized as such by an external verifier). Our results thus call into question claims about the self-critiquing capabilities of state of the art LLMs.
http://arxiv.org/pdf/2310.12397
Kaya Stechly, Matthew Marquez, Subbarao Kambhampati
cs.AI
18 pages, 3 figures
null
cs.AI
20231019
20231019
[ { "id": "2206.10498" }, { "id": "2306.03872" }, { "id": "2303.11366" } ]
{ "authors": "Kaya Stechly, Matthew Marquez, Subbarao Kambhampati", "chunk_id": 25, "doc_id": "2310.12397", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12397", "summary": "There has been considerable divergence of opinion on the reasoning abilities\nof Large Language Models (LLMs). While the initial optimism that reasoning\nmight emerge automatically with scale has been tempered thanks to a slew of\ncounterexamples, a wide spread belief in their iterative self-critique\ncapabilities persists. In this paper, we set out to systematically investigate\nthe effectiveness of iterative prompting of LLMs in the context of Graph\nColoring, a canonical NP-complete reasoning problem that is related to\npropositional satisfiability as well as practical problems like scheduling and\nallocation. We present a principled empirical study of the performance of GPT4\nin solving graph coloring instances or verifying the correctness of candidate\ncolorings. In iterative modes, we experiment with the model critiquing its own\nanswers and an external correct reasoner verifying proposed solutions. In both\ncases, we analyze whether the content of the criticisms actually affects bottom\nline performance. The study seems to indicate that (i) LLMs are bad at solving\ngraph coloring instances (ii) they are no better at verifying a solution--and\nthus are not effective in iterative modes with LLMs critiquing LLM-generated\nsolutions (iii) the correctness and content of the criticisms--whether by LLMs\nor external solvers--seems largely irrelevant to the performance of iterative\nprompting. We show that the observed increase in effectiveness is largely due\nto the correct solution being fortuitously present in the top-k completions of\nthe prompt (and being recognized as such by an external verifier). Our results\nthus call into question claims about the self-critiquing capabilities of state\nof the art LLMs.", "text": "# Acknowledgements\n# References\n[1] DIMACS Implementation Challenges. Archive available at http://archive.dimacs. rutgers.edu/Challenges/.\n[2] Konstantine Arkoudas. Gpt-4 can’t reason. Preprints, August 2023.\n[3] Sébastien Bubeck, Varun Chandrasekaran, Ronen Eldan, Johannes Gehrke, Eric Horvitz, Ece Kamar, Peter Lee, Yin Tat Lee, Yuanzhi Li, Scott Lundberg, Harsha Nori, Hamid Palangi, Marco Tulio Ribeiro, and Yi Zhang. Sparks of artificial general intelligence: Early experiments with gpt-4, 2023.\n8\n[4] Xinyun Chen, Maxwell Lin, Nathanael Schärli, and Denny Zhou. Teaching large language models to self-debug, 2023.", "title": "GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems", "year": 2023 }
[ -0.0007931405, 0.029753534, 0.049776707, -0.0046296557, 0.010581066, 0.004854635, -0.034421857, 0.06327547, -0.03551863, 0.0070552155, 0.06828127, -0.03765594, -0.024832109, -0.0019386902, -0.032115817, -0.015931359, -0.002986251, -0.01802648, 0.007269649, 0.050789114, 0.0074735368, -0.027686536, 0.02718033, -0.0013006625, 0.027883392, -0.00630294, 0.0104053, 0.027756842, 0.008028954, -0.041874304, 0.043505404, -0.02138711, -0.0025942945, -0.03996198, 0.006889996, 0.046064544, 0.0007092126, -0.0020230575, -0.035096798, 0.014187767, 0.006545496, -0.017267173, -0.028755188, 0.047189444, -0.003778952, -0.0007874281, 0.020698112, -0.004091814, -0.014904889, 0.042802345, -0.030456595, 0.015017379, 0.020768417, 0.011959065, -0.053798214, -0.028305229, -0.019798193, 0.0009965887, 0.03006288, -0.0029581285, -0.0035856103, -0.06125066, -0.0019756008, 0.051492177, -0.046542626, -0.007846159, -0.04181806, 0.03734659, 0.019938806, 0.021837069, -0.0065490115, 0.05652609, 0.024452455, -0.04240863, -0.008795291, 0.0026329628, 0.004373038, 0.05686356, -0.004714023, -0.029781656, 0.0011864152, 0.0051253135, 0.015214236, -0.061419394, -0.033128228, -0.040130712, -0.039708875, 0.0025837487, -0.048370585, -0.015172053, -0.014933012, -0.02194956, -0.036812264, 0.022666682, 0.04344916, -0.022736987, 0.03757157, 0.01965758, 0.037318468, 0.027081903, -0.023496293, -0.0058424356, -0.0103068715, -0.026013251, 0.053263888, 0.017210929, -0.027574046, 0.0039371406, -0.03270639, -0.02462119, -0.15636073, -0.023622844, -0.013681564, -0.004587472, -0.027222516, -0.04133998, -0.038696468, -0.0051499205, -0.02209017, 0.0060076546, -0.02612574, 0.020951213, 0.011143514, -0.03790904, 0.022582313, -0.018476438, 0.03430937, -0.05756662, 0.0017822592, -0.003309659, -0.02263856, -0.013196452, 0.021598028, 0.008120352, -0.008605464, -0.052954543, -0.030906554, 0.01768901, -0.014412747, 0.0010686525, 0.04553022, 0.023735333, -0.03250953, 0.046992585, 0.0046542627, 0.015326726, -0.017590582, -0.0037051307, -0.02300415, 0.03467496, 0.003894957, 0.024536824, 0.026744435, -0.016831277, -0.019277928, -0.050929725, -0.024649313, 0.08796697, 0.036362305, -0.08391734, 0.03166586, 0.045361485, -0.0056244866, 0.020290336, 0.023847824, 0.057932213, -0.013597197, 0.015917297, -0.050676625, -0.039568264, 0.003334266, -0.033381328, -0.04240863, 0.008464852, -0.008703893, -0.004900334, -0.05756662, -0.010426392, -0.026800679, -0.074861914, -0.03085031, -0.0041234517, -0.045052137, 0.008176598, -0.04021508, -0.024086865, 0.018040542, -0.0059654713, 0.01039827, 0.042268015, 0.008169567, 0.029444188, 0.062206823, 0.026477272, -0.0041339975, -0.053713847, 0.059113353, -0.053798214, 0.053910706, 0.024649313, -0.014314318, 0.027095964, -0.010524821, -0.025746088, 0.030259738, -0.06209433, 0.0066615012, -0.0071852817, -0.056469847, -0.0063416087, 0.02460713, -0.0032903247, 0.056413602, 0.00681969, -0.015312665, 0.006633379, -0.014384625, -0.019840376, 0.010876351, 0.046177037, -0.055176213, 0.02010754, 0.032200187, 0.000568161, -0.0048827576, 0.031862717, 0.011649718, -0.031019043, 0.044349078, 0.002738422, 0.047808137, -0.031497125, -0.029584799, -0.053235766, -0.021907376, 0.008492975, 0.04679573, -0.013547982, -0.018279582, -0.0388652, 0.03132839, 0.014454931, -0.00024475306, -0.020965274, 0.01121382, 0.041649323, -0.028459903, -0.04254924, 0.028347412, 0.014567421, -0.010890412, -0.03492806, 0.040946264, -0.018392071, -0.026013251, -0.013927635, -0.0041199364, -0.013562043, -0.019095132, -0.0075860266, -0.044405323, 0.016746908, -0.02902235, -0.0272647, 0.016128216, 0.02529613, -0.042717975, 0.039568264, 0.012219197, -0.04620516, 0.049073648, -0.005132344, 0.008225812, 0.01884203, -0.051576544, -0.02241358, 0.00042337444, 0.07643677, -0.0646816, 0.03107529, -0.0055049662, 0.034618717, 0.06738135, 0.05121095, 0.007846159, 0.030653453, 0.0014201829, -0.00057123695, -0.012071555, -0.0107287085, 0.06271303, 0.010187351, 0.03903394, -0.025239883, 0.05225148, -0.005884619, 0.033100102, 0.013990911, 0.018560806, -0.038640223, 0.029134842, 0.016353196, -0.020205969, -0.044602178, -0.029978514, 0.03295949, -0.017590582, 0.0069497563, 0.059113353, 0.01260588, -0.014497114, -0.050789114, -0.026828801, 0.022118295, -0.009090576, -0.029584799, 0.02127462, -0.027250638, 0.016142277, -0.037712183, 0.002708542, -0.00045391364, 0.013927635, 0.020374702, 0.006689624, 0.044461567, 0.005040946, -0.017014071, -0.000038256396, -0.0148064615, 0.0055436348, 0.027138148, 0.019784132, 0.011396616, -0.038443368, -0.020641865, -0.006830236, 0.0413681, 0.021696458, 0.0013358155, -0.06417539, 0.0065806494, -0.043870997, -0.0023253737, -0.0017145897, 0.021935498, -0.005758068, 0.03894957, 0.08543595, 0.019685702, 0.0050093085, -0.057369765, 0.046992585, 0.001136322, 0.0025380496, -0.018673295, -0.026027313, -0.0039828396, -0.0034994853, 0.010018617, -0.031384636, 0.040496305, 0.024058742, -0.009203066, 0.0022040957, 0.007431353, -0.03400002, -0.0044890433, 0.0075649344, -0.01202234, 0.0006525283, 0.048342463, -0.010693555, -0.03062533, -0.060013272, -0.0097163, -0.025352374, -0.011537228, 0.007346986, 0.04035569, -0.0019088101, 0.027250638, 0.028178679, -0.02185113, 0.010574035, 0.021007458, 0.0020019657, -0.0054979357, -0.012451207, 0.0126199415, -0.004991732, -0.013512829, -0.04288671, 0.022905722, -0.013597197, 0.0019334173, -0.00072766794, -0.014637726, 0.057144783, 0.04103063, -0.04448969, 0.004517166, -0.00831721, -0.008253934, 0.015087686, 0.026660066, 0.047105074, 0.06305049, -0.000022245284, -0.020149723, -0.012844921, -0.008267995, 0.012465268, -0.03965263, -0.003167289, -0.04879242, 0.02796776, 0.02161209, 0.008830444, 0.06170062, -0.013273789, -0.0339719, -0.060406987, -0.09556003, -0.017042195, 0.020276275, -0.011445831, -0.03641855, 0.035209287, -0.049776707, -0.034253124, 0.021668335, 0.024789926, -0.036784142, -0.0073258937, -0.0004728084, 0.055373073, 0.025577353, 0.0012417812, -0.021344926, 0.002495866, 0.005107737, 0.007557904, 0.028122433, -0.029050473, -0.06563776, -0.045783322, -0.002480047, 0.04620516, -0.051154707, 0.006633379, -0.014989257, 0.03779655, -0.02598513, -0.035659246, -0.007916465, 0.05351699, -0.0010238324, 0.071206, 0.010475607, 0.06839376, -0.002242764, -0.068450004, -0.00079050404, 0.011867667, 0.019559152, 0.010257658, 0.014412747, -0.022202661, -0.00038888052, -0.041564956, -0.014244013, -0.0064083994, -0.036924753, -0.0064189453, 0.014876767, -0.041789934, -0.029303575, -0.0015977058, -0.030709697, -0.0045663803, -0.03526553, 0.021991743, 0.029106718, -0.008830444, 0.0816113, -0.022961967, -0.0039265947, 0.016901582, 0.0021917922, -0.027110025, -0.019221684, 0.022019865, -0.017168745, 0.027419372, 0.036109205, 0.022976028, -0.060406987, -0.024072804, -0.016268827, -0.0045347423, 0.0020265728, -0.053545114, 0.027095964, -0.0086968625, -0.0054838746, 0.019123254, -0.004355462, 0.0016521929, 0.044799037, -0.028445842, -0.03709349, 0.008528128, 0.00797271, 0.018631112, 0.02414311, -0.0110872695, 0.02924733, -0.0059232875, 0.009224158, -0.0034362099, -0.017351542, -0.028473964, -0.03464684, 0.008964025, -0.015017379, -0.012247319, -0.04904552, -0.017576521, -0.0036594316, 0.017534338, -0.008999178, 0.0076211793, -0.024424333, -0.04817373, -0.011600504, 0.0030407382, 0.0016592236, -0.026730374, -0.028755188, -0.006376762, 0.036699776, 0.008443761, -0.006854843, 0.005005793, -0.02809431, 0.034815572, -0.019165438, -0.024930537, 0.017253112, 0.039090183, -0.033015735, 0.018279582, -0.036727898, 0.0032604446, -0.006598226, 0.012823829, 0.010665433, 0.021134008, 0.020374702, 0.026561638, -0.0029967967, 0.01213483, 0.0037894978, -0.019362295, 0.014820523, 0.015509522, 0.005603395, 0.03537802, 0.0010739254, -0.028389595, 0.0084156385, 0.014300257, 0.032734513, 0.039146427, -0.032059573, 0.0056455783, 0.011832514, 0.012648065, -0.0015590374, -0.018645173, -0.0487643, -0.00641543, 0.035603, -0.018870153, 0.03813402, 0.0061658435, 0.0023183431, 0.0015414609, 0.037487205, 0.01560795, 0.024705557, -0.031497125, -0.03385941, 0.0009570416, 0.0061658435, 0.013020687, -0.01653599, -0.048989277, 0.018068664, 0.0013164814, -0.00013995304, 0.008113322, -0.025057089, -0.045698956, 0.010665433, -0.00924525, 0.009990495, -0.003859804, -0.014693972, -0.00618342, 0.021443356, -0.0010308629, -0.027250638, -0.017731193, -0.010503729, -0.020276275, -0.021176193, 0.030428473, 0.0045382576, 0.040018223, -0.023411926, 0.019460725, -0.021344926, -0.0032868094, 0.030765941, -0.032256432, 0.02855833, -0.0036488858, 0.007789914, -0.007642271, -0.0010159229, 0.042605486, 0.001843777, 0.003768406, -0.012802738, 0.0027138148, 0.011579412, 0.0080852, -0.029894147, 0.03782467, 0.025113333, 0.0027647868, -0.023299435, 0.027377188, -0.0046753543, -0.008464852, 0.023707211, -0.021134008, -0.008141444, -0.011565351, -0.028502086, 0.01988256, 0.022736987, 0.03295949, -0.028994229, 0.006127175, -0.047808137, -0.02242764, 0.009181974, -0.064512864, -0.0070657614, -0.004541773, 0.02010754, -0.015242359, 0.03799341, 0.0014641242, 0.035434265, 0.03557488, -0.003309659, -0.020641865, 0.0040039313, 0.050114177, -0.0041796966, -0.0067564147, -0.05571054, 0.011305219, -0.013358156, 0.0014474265, 0.0067212614, -0.02681474, 0.03360631, -0.04828622, -0.009442107, 0.009835821, -0.01676097, 0.0058424356, 0.0022761594, 0.028291168, -0.04229614, 0.0049952473, -0.025816394, -0.015931359, 0.0037508295, -0.002030088, -0.03906206, 0.00011776269, 0.02126056, -0.023847824, -0.08492975, -0.038808957, 0.0050655534, -0.00041963943, 0.016746908, -0.014862706, -0.028389595, -0.01733748, 0.013372217, 0.044742793, -0.025464863, -0.02090903, -0.015439216, -0.011881728, 0.014426808, -0.028024005, -0.0032498988, 0.028502086, -0.0027612713, 0.0012611153, -0.053713847, -0.036671653, 0.003708646, 0.0037051307, 0.023735333, -0.0251977, -0.03040035, -0.01802648, 0.005026885, -0.020473132, -0.0137448395, 0.012514483, 0.0037824672, 0.017084379, 0.0042710947, 0.025492985, 0.007006001, -0.031693984, -0.008148475, -0.013590165, -0.001293632, -0.026364781, -0.020712173, 0.02148554, 0.036559165, -0.01063028, 0.005511997, -0.011164606, -0.010461546, 0.040861897, -0.005511997, -0.02681474, 0.013252697, -0.0071852817, -0.030259738, -0.00040360086, -0.00011100672, -0.0009939523, 0.0008502642, -0.022497946, 0.030765941, -0.0030635875, 0.0032006844, -0.003344812, 0.020740295, 0.019277928, -0.030147249, 0.014145584, -0.016381318, -0.004010962, 0.038358998, -0.0025732026, 0.0072977715, 0.0018965066, -0.016057909, 0.03400002, -0.01536891, -0.01631101, -0.028488025, -0.016437562, 0.012760554, -0.03689663, 0.028670821, 0.0009412227, 0.007571965, -0.008099261, -0.022399519, -0.00030319497, 0.011937973, -0.027714659, -0.052757684, -0.04448969, 0.0035328807, -0.017604643, 0.021063702, -0.00091310026, 0.00554715, -0.0044222525, -0.093535215, -0.012430116, 0.006935695, 0.004787844, 0.0024519246, 0.009863944, 0.043027323, 0.043280426, 0.039680753, -0.026828801, 0.04648638, -0.036137328, 0.02231515, 0.036559165, 0.024635252, -0.037374713, 0.019221684, -0.034534346, 0.01998099, -0.026491333, -0.017239051, 0.010813075, 0.027897453, 0.030540962, -0.017590582, -0.001071289, 0.0054733288, -0.0017022861, -0.0029475826, 0.003768406, -0.016578175, -0.01328785, 0.031497125, 0.049523603, -0.012844921, 0.0008599313, -0.007339955, -0.020838723, 0.011164606, 0.0064997976, -0.007965679, -0.057201028, 0.0030266768, -0.030034758, 0.033915654, -0.017084379, 0.021246498, -0.013203482, 0.012648065, -0.0034906971, 0.003986355, 0.045164626, -0.024424333, -0.01271134, 0.0027964246, 0.017885868, 0.042043038, -0.016732847, 0.027644351, 0.010559973, 0.003480151, 0.023355681, 0.0070692766, 0.02196362, -0.0013226332, -0.022287028, -0.009273373, 0.040946264, -0.032650147, -0.0064540985, -0.028333351, 0.02670225, 0.00039327465, 0.036587287, -0.016198521, 0.0043624924, 0.01271134, 0.05270144, -0.02521176, 0.0251977, 0.016493807, -0.014483053, -0.020009112, 0.015242359, -0.024016557, 0.010278749, 0.038162142, 0.0036559163, 0.02066999, 0.02694129, 0.020515315, -0.012992565, 0.007951618, 0.0054662977, -0.013344094, -0.01778744, -0.0066544707, 0.0017813804, -0.0019193561, 0.011748146, 0.019952867, 0.04083377, -0.05677919, 0.0079305265, -0.035434265, 0.02865676, 0.022694804, -0.0067564147, -0.00036954635, -0.001959782, 0.03596859, 0.038893323, -0.014975196, 0.001959782, 0.00061298115, 0.035799857, 0.024311844, 0.033943776, 0.020712173, -0.010229535, -0.0019281444, -0.024002496, -0.013723748, 0.031356514, -0.03504055, -0.015270481, 0.024663374, 0.030962799, -0.021808947, -0.021598028, 0.021682397, 0.012683217, 0.0033254777, 0.019221684, -0.02322913, -0.018884214, 0.0059478944, 0.00878123, -0.037627816, 0.005663155, 0.0015827657, -0.0045241965, 0.017112501, -0.020501254, -0.00036822812, -0.008584373, -0.010588096, -0.034056265, -0.032903247, 0.00033966627, 0.013210513, -0.013231604, -0.008183628, 0.03262202, 0.009203066, 0.011466922, -0.00693218, -0.008942934, -0.01259885, 0.0000011259958, 0.03689663, 0.023904068, -0.034731206, -0.017126562, 0.022244845, -0.044742793, -0.027588107, -0.008928873, -0.035209287, 0.039230794, -0.04921426, 0.018110847, 0.04021508, 0.04010259, 0.004763237, 0.015664196, 0.018996704, -0.016282888, 0.0043238243, 0.020599682, 0.032650147, -0.0063627004, -0.017126562, 0.0019773585, 0.013273789, -0.014483053, 0.013878421, 0.0057369764, 0.00018609142, 0.07013735, 0.0010273476, -0.012029371, 0.009421015, 0.03745908, 0.009287434, -0.027067842, 0.018392071, 0.0036313091, -0.016353196, -0.036671653, 0.0014931255, 0.0021179707, -0.025268007, -0.01629695, -0.036362305, 0.012451207, 0.008732015, -0.04103063, -0.010623249, 0.0010387724, 0.017660888, 0.0021988228, -0.016606297, 0.028755188, -0.031525247, 0.003814105, -0.0017585309, 0.04133998, -0.024129048, -0.02739125, -0.0012971472, -0.024958659, -0.033943776, 0.018813908, -0.010222505, 0.02529613, -0.025788272, -0.018574867, 0.010890412, -0.0014658818, 0.033465695, -0.018926397, 0.005026885, 0.002465986, 0.017857745, -0.017674949, -0.017829623, -0.0337188, -0.013358156, 0.026477272, 0.028108371, 0.0023710725, 0.047892503, -0.015045502, 0.007086853, -0.00635567, 0.013133177, 0.008148475, -0.00589165, -0.01213483, 0.019615397, -0.003339539, 0.026772557, -0.019390417, 0.0036137328, 0.005329201, 0.01975601, 0.03433749, -0.0117833, 0.0064189453, -0.01572044, 0.017660888, 0.0034871816, -0.03512492, 0.027025659, 0.0013560286, -0.007304802, 0.0061763893, 0.021682397, 0.005673701, -0.019320112, 0.01664848, -0.0049179103, 0.008689832, -0.0130417785, -0.045052137, 0.017646827, -0.009252281, -0.01629695, -0.010545912, -0.042689852, 0.0031092865, -0.0002700193, 0.0014658818, 0.012458238, -0.0298379, -0.03892145, 0.0062923944, 0.035462387, -0.011284126, 0.020655926, 0.0054944204, -0.021429295, 0.00034362098, 0.009090576, -0.014061216, -0.007839128, 0.0034748781, 0.028586453, -0.0067001698, 0.00018092831, -0.0036488858, -0.008816383, -0.039005816, -0.003824651, 0.0039019876, 0.0045698956, -0.054754376, 0.02577421, 0.010925565, -0.022371396, 0.030597208, 0.0012514483, -0.009519444, 0.02681474, -0.017435908, -0.0023728304, -0.042014915, -0.0057967366, 0.0049671247, -0.009533505, -0.000014033753, 0.018673295, -0.009575688, 0.00421485, -0.007062246, 0.012760554, -0.0078110057, -0.016086033, 0.009526474, -0.0023956797, -0.0114317695, -0.0056104255, 0.026730374, -0.023355681, 0.009378832, -0.037149735, -0.0068021137, -0.026856923, -0.0054662977, 0.03236892, 0.026716312, 0.0116356565, -0.0075860266, -0.022905722, 0.014335411, -0.010334995, -0.021752702, -0.0036805235, -0.0054276297, 0.059900783, 0.012120768, -0.002884307, 0.0045698956, -0.0153548485, 0.048258096, -0.0100608, -0.00026716312, -0.016662542, 0.017829623, 0.012985533, 0.004320309, -0.0050831297, -0.011846575, 0.0061060833, -0.002415014, -0.01536891, -0.0037894978, 0.018181153, -0.012648065, 0.031975206, 0.049861073, 0.011354432, -0.024536824, -0.0085562505, 0.0012646307, 0.028291168, -0.008964025, 0.020641865, 0.06811253, 0.021119947, -0.0012356294, -0.03085031, 0.035799857, -0.009526474, 0.02484617, -0.024058742, 0.02311664, -0.011375524, -0.011980156, 0.008802322, -0.008844505, 0.026674127, -0.03051284, -0.013547982, -0.0038211355, 0.001626707, -0.008879658, -0.022807293, -0.000153465, -0.017576521, -0.017717132, 0.0074946284, -0.023355681, 0.01709844, 0.00994831, -0.010595127, 0.039736997, 0.005290533, 0.035068676, -0.028263045, -0.0009860428, -0.012858982, -0.00959678, -0.011480983, -0.04623328, -0.048708055, -0.013892482, 0.0035891256, 0.012683217, -0.0148064615, 0.00032648386, -0.01595948, 0.02324319, 0.016718786, 0.002248037, 0.0007421686, 0.024410272, -0.0060076546, 0.062375557, -0.0007008638, -0.009498352, -0.03293137, -0.0081344135, 0.0060357773, 0.014229951, -0.001303299, -0.031862717, -0.0006380277, 0.025113333, 0.0062783333, -0.007445414, 0.011565351, 0.027517801, -0.013660472, -0.02209017, -0.007536812, 0.0125566665, 0.03006288, 0.0272647, -0.017182807, -0.0146517875, -0.035771735, 0.017745255, -0.034225002, -0.015467338, -0.027616229, 0.0010844714, 0.013927635, 0.03793716, 0.005118283, -0.011410677, -0.012894136, 0.017815562, -0.0023060394, -0.0007878675, -0.02462119, 0.0055190274, 0.0139487265, -0.032565776, 0.025127394, -0.0059338333, 0.010918534, -0.0012927531, 0.025647659, -0.0018244429, 0.040665038, -0.024339966, 0.0062677874, -0.021358987, 0.0009087061, -0.0014843371, 0.0015906751, 0.0073329243, 0.052673317, 0.044602178, 0.013245666, -0.02045907, -0.020360641, -0.007536812, 0.0024519246, 0.02598513, -0.004496074, 0.008035986, -0.022371396, -0.014904889, -0.0067985984, -0.027363127, -0.011614565, 0.0006239665, -0.016325073, -0.011488014, 0.006264272, 0.005343262, -0.014391655, 0.004689416, 0.013048809, -0.00473863, 0.026153862, -0.020065356, -0.0019527514, 0.009554597, -0.019348234, -0.0029071565, 0.0036559163, -0.03051284, -0.025394557, 0.011284126, -0.018673295, -0.004889788, 0.028277107, 0.0023974373, 0.0033711768, 0.040496305, -0.015439216, -0.034815572, 0.0044433447, -0.010784953, -0.014595543, 0.0054381755, -0.0004987338, -0.013442523, 0.022019865, -0.022736987, -0.057341643, 0.011734085, 0.009765515, -0.0013129661, -0.006728292, -0.029275453, -0.016086033, 0.006313486, -0.0014764278, -0.00332372, 0.001450063, 0.04924238, 0.009575688, 0.007607118, 0.031525247, 0.0020125117, -0.0325939, -0.027349066, 0.010988841, -0.01629695, -0.008211751, 0.010320933, 0.01583293, -0.004017993, -0.022399519, -0.0040742373, 0.016015725, -0.020234091, -0.029219208, 0.009273373, 0.0031743196, -0.01155832, 0.025464863, 0.0061904504, -0.036137328, -0.022146417, -0.0035486994, -0.008106291, -0.0051674973, -0.0029967967, -0.008865597, -0.0050198543, 0.034056265, -0.028108371, 0.021049641, 0.013878421, -0.014194798, -0.0026610852, 0.028600514, 0.009554597, 0.024311844, -0.018743603, 0.014497114, -0.00994128, 0.0074383835, -0.0019052948, -0.019038888, 0.039483897, 0.023411926, 0.009863944, -0.038668346, 0.033184472, 0.0101662595, -0.0018455347, -0.019038888, 0.015467338, -0.0059549254, 0.011762207, -0.036334183, -0.04727381, -0.019685702, -0.024311844, -0.02935982, -0.009533505, -0.011122422, -0.006615802, 0.003940656, -0.023383804, -0.000979891, 0.0023517385, -0.0015440973, 0.008464852, -0.0035908832, 0.013730778, 0.0026751466, -0.017253112, -0.01594542, 0.032762635, -0.03906206, -0.010482637, 0.01872954, 0.018884214, 0.012669156, 0.016789092, -0.0036594316, -0.036446672, 0.020318458, -0.019924743, 0.008394546, 0.0026962382, 0.030203493, 0.012043432, -0.04631765, -0.0023429503, 0.017815562, 0.010721678, -0.020838723, -0.007375108, 0.031469002, -0.006816175, -0.0064787054, 0.020332519, 0.009413985, -0.0072063734, -0.002843881, -0.00225331, -0.020205969, -0.0025556262, 0.028248984, 0.00031220296, 0.009955341, 0.03689663, 0.020332519, -0.0005198256, 0.010159229, 0.01051779, 0.005585818, 0.046514504, 0.0025468378, 0.015017379, -0.006162328, -0.007684455, 0.030034758, 0.0272647, -0.0023306466, 0.03464684, 0.0036840388, 0.00681969, 0.021991743, 0.0035065159, 0.028066188, 0.020402825, -0.023313496, 0.027883392, 0.04612079, -0.0030899523, 0.036981, -0.021583967, 0.010342025, -0.022497946, -0.006116629, -0.008802322, 0.0020318457, 0.009413985, 0.011502075, 0.014363533, -0.042914834, -0.007346986, 0.00073469855, -0.014989257, -0.006904057, 0.038977694, 0.016732847, 0.009336648, -0.0048019052, 0.008050047, -0.0021707003, 0.018082725, 0.030034758, 0.0010018616, 0.007339955, 0.010616219, 0.036784142, -0.0471332, -0.0087601375, 0.0016715272, -0.03489994, -0.030006636, 0.004232426, 0.014904889, 0.028389595, 0.028178679, -0.0023868915, 0.006380277, -0.0036664621, -0.046289526, 0.006541981, 0.022863539, -0.0014105157, 0.0036383397, -0.039455775, 0.009118699, -0.038330875, -0.0024185292, -0.00075842685, -0.012233258, 0.022596374, -0.02705378, -0.007213404, -0.04862369, 0.0051674973, 0.010117046, -0.025268007, 0.008844505, -0.017534338 ]
2310.12773
25
Initial SFT Model. Our primary experiments begin with the Alpaca-7B model (reproduced). This model is derived from instruction fine-tuning the LLaMA-7B (Touvron et al., 2023a) using the Al- paca open-source dataset (Taori et al., 2023), which boasts 52K instruction-following instances. We selected Alpaca-7B as our initial model for two primary reasons. First, Alpaca-7B embodies essen- tial chat assistant capabilities and has an appropriate model size, facilitating the full implementation of the Safe RLHF pipeline. Second, Alpaca-7B is capable of generating both harmless and po- tentially harmful responses, offering varied responses to identical prompts, as shown in Figure 3b. Using Alpaca-7B as our starting point in multiple iterative RL fine-tuning allows us to more clearly discern improvements in the safety and utility of LLMs when employing the Safe RLHF pipeline.
2310.12773#25
Safe RLHF: Safe Reinforcement Learning from Human Feedback
With the development of large language models (LLMs), striking a balance between the performance and safety of AI systems has never been more critical. However, the inherent tension between the objectives of helpfulness and harmlessness presents a significant challenge during LLM training. To address this issue, we propose Safe Reinforcement Learning from Human Feedback (Safe RLHF), a novel algorithm for human value alignment. Safe RLHF explicitly decouples human preferences regarding helpfulness and harmlessness, effectively avoiding the crowdworkers' confusion about the tension and allowing us to train separate reward and cost models. We formalize the safety concern of LLMs as an optimization task of maximizing the reward function while satisfying specified cost constraints. Leveraging the Lagrangian method to solve this constrained problem, Safe RLHF dynamically adjusts the balance between the two objectives during fine-tuning. Through a three-round fine-tuning using Safe RLHF, we demonstrate a superior ability to mitigate harmful responses while enhancing model performance compared to existing value-aligned algorithms. Experimentally, we fine-tuned the Alpaca-7B using Safe RLHF and aligned it with collected human preferences, significantly improving its helpfulness and harmlessness according to human evaluations.
http://arxiv.org/pdf/2310.12773
Josef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji, Xinbo Xu, Mickel Liu, Yizhou Wang, Yaodong Yang
cs.AI, cs.LG
null
null
cs.AI
20231019
20231019
[ { "id": "2302.13971" }, { "id": "2304.05302" }, { "id": "1707.06347" }, { "id": "2305.18290" }, { "id": "2305.10403" }, { "id": "2305.03047" }, { "id": "2211.05100" }, { "id": "2110.08207" }, { "id": "2304.05335" }, { "id": "2107.03374" }, { "id": "2105.04054" }, { "id": "2209.07858" }, { "id": "2305.15324" }, { "id": "2307.09288" }, { "id": "2210.11416" }, { "id": "2212.08073" }, { "id": "2307.12950" }, { "id": "2009.11462" }, { "id": "2307.04657" }, { "id": "2204.05862" }, { "id": "2112.00861" }, { "id": "2209.14375" }, { "id": "2303.00957" }, { "id": "2306.01693" }, { "id": "2305.01937" }, { "id": "2307.15217" }, { "id": "2306.17492" }, { "id": "2112.04359" }, { "id": "1506.02438" } ]
{ "authors": "Josef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji, Xinbo Xu, Mickel Liu, Yizhou Wang, Yaodong Yang", "chunk_id": 25, "doc_id": "2310.12773", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12773", "summary": "With the development of large language models (LLMs), striking a balance\nbetween the performance and safety of AI systems has never been more critical.\nHowever, the inherent tension between the objectives of helpfulness and\nharmlessness presents a significant challenge during LLM training. To address\nthis issue, we propose Safe Reinforcement Learning from Human Feedback (Safe\nRLHF), a novel algorithm for human value alignment. Safe RLHF explicitly\ndecouples human preferences regarding helpfulness and harmlessness, effectively\navoiding the crowdworkers' confusion about the tension and allowing us to train\nseparate reward and cost models. We formalize the safety concern of LLMs as an\noptimization task of maximizing the reward function while satisfying specified\ncost constraints. Leveraging the Lagrangian method to solve this constrained\nproblem, Safe RLHF dynamically adjusts the balance between the two objectives\nduring fine-tuning. Through a three-round fine-tuning using Safe RLHF, we\ndemonstrate a superior ability to mitigate harmful responses while enhancing\nmodel performance compared to existing value-aligned algorithms.\nExperimentally, we fine-tuned the Alpaca-7B using Safe RLHF and aligned it with\ncollected human preferences, significantly improving its helpfulness and\nharmlessness according to human evaluations.", "text": "Initial SFT Model. Our primary experiments begin with the Alpaca-7B model (reproduced). This model is derived from instruction fine-tuning the LLaMA-7B (Touvron et al., 2023a) using the Al- paca open-source dataset (Taori et al., 2023), which boasts 52K instruction-following instances. We selected Alpaca-7B as our initial model for two primary reasons. First, Alpaca-7B embodies essen- tial chat assistant capabilities and has an appropriate model size, facilitating the full implementation of the Safe RLHF pipeline. Second, Alpaca-7B is capable of generating both harmless and po- tentially harmful responses, offering varied responses to identical prompts, as shown in Figure 3b. Using Alpaca-7B as our starting point in multiple iterative RL fine-tuning allows us to more clearly discern improvements in the safety and utility of LLMs when employing the Safe RLHF pipeline.", "title": "Safe RLHF: Safe Reinforcement Learning from Human Feedback", "year": 2023 }
[ -0.0009755865, -0.050883256, 0.080435544, -0.019539503, -0.009637822, -0.0023382828, -0.0077908044, 0.043772932, 0.0010484951, 0.02659428, -0.0027115054, -0.041828703, -0.031746488, -0.01263749, -0.010311359, -0.04888348, 0.04716145, -0.06427067, -0.025247205, 0.011915348, 0.0176786, -0.018803474, -0.0044925585, 0.015081665, 0.021303197, -0.048855703, 0.0043606283, -0.017817473, -0.013804028, -0.03582937, 0.03660706, -0.03869016, -0.0748806, 0.0072283666, -0.030968795, 0.01667871, 0.02695535, 0.002787886, -0.040467743, 0.031690937, 0.011943122, -0.039662275, -0.0015996493, 0.018970123, 0.0015788183, 0.017150879, 0.0072769723, 0.027871916, 0.00039058176, 0.03424621, -0.0022237122, 0.027760817, -0.008526834, 0.008304636, -0.0078532975, -0.02669149, 0.017886909, -0.0030986154, 0.021594832, 0.026524842, -0.036162663, 0.0075963815, -0.04557829, 0.004561995, -0.012005616, -0.043967355, -0.07560274, 0.0062874984, -0.0049404255, 0.051105455, -0.052466415, -0.03869016, 0.017525839, -0.053271882, -0.03152429, -0.025136108, 0.00917954, 0.022719707, -0.016539836, -0.002661164, -0.01040857, 0.021289311, 0.040189996, -0.032635275, 0.01945618, 0.00079027715, -0.016359301, -0.0008931303, -0.04535609, -0.047244772, -0.029496735, -0.0024910436, -0.03266305, 0.034051787, 0.06660374, 0.0049577844, 0.004947369, -0.008985117, 0.05916012, 0.04505057, 0.0025691602, 0.0044613117, 0.0001778232, -0.0147483675, 0.02852462, -0.0004799816, 0.025844362, 0.0050480524, -0.059548967, 0.025205543, -0.024552839, -0.029857807, -0.0054160673, 0.007936622, -0.014901129, -0.023414075, -0.040245544, 0.0048814043, 0.022539172, -0.026108222, -0.0020258175, 0.023330752, 0.021594832, -0.05977116, 0.0042009237, 0.012415293, 0.021192098, -0.039745603, -0.02344185, -0.01437341, 0.015734369, 0.004950841, 0.0037391696, 0.014567832, -0.0030760483, 0.017956346, -0.033274096, -0.028344085, -0.03613489, 0.012741646, -0.013755422, -0.02412233, -0.053271882, 0.005895181, -0.043134116, -0.0041037123, -0.01945618, 0.0041175997, -0.032274205, 0.015776033, -0.020803252, -0.005797969, -0.05916012, 0.015276087, -0.049744494, -0.013463788, -0.05749364, 0.007047831, 0.034996126, -0.031746488, -0.013665155, 0.0033034538, -0.022678046, -0.013929014, 0.0044265934, 0.018692376, -0.037468076, 0.024719486, -0.07910236, -0.003383306, 0.00441965, 0.0422731, -0.05243864, -0.053771827, -0.019081222, -0.040606618, -0.022941906, -0.030857695, -0.014470621, -0.046439305, -0.03419066, 0.008769862, -0.020233871, 0.02784414, -0.034857254, -0.031107668, -0.0032236015, -0.0020032504, -0.009936401, 0.00081978773, 0.00047650977, 0.034996126, 0.057826933, 0.055966027, 0.024052894, 0.01012388, 0.033051897, 0.029635608, 0.0090962155, -0.012512504, -0.012227814, 0.008089382, 0.007874128, -0.038523514, -0.0014607758, 0.0060409983, -0.04032887, 0.037356976, -0.021428185, -0.03832909, 0.037773598, 0.04705035, 0.03838464, 0.021580946, -0.089323446, 0.020692155, -0.04049552, -0.017317528, -0.019358968, 0.019803364, 0.0022150327, 0.01269304, 0.035996016, 0.017331416, -0.016442625, 0.025149994, 0.015678821, -0.019386744, 0.0020587998, -0.056299325, 0.034940578, 0.008332411, -0.019442292, -0.04510612, -0.0124500105, -0.03346852, -0.01363738, -0.02852462, 0.023664048, -0.011269586, -0.0013592246, 0.007520001, 0.027733041, -0.021803143, 0.039940026, 0.008360186, -0.009741978, -0.075213894, 0.025344416, 0.06849242, -0.00047390588, -0.040467743, 0.039662275, -0.0375514, -0.03241308, 0.03166316, -0.013248534, -0.0043745157, -0.042162, -0.02869127, -0.03130209, -0.007978284, -0.01960894, 0.05502169, -0.02202534, -0.024900021, -0.00006596492, 0.003086464, -0.038245767, -0.00978364, -0.01588713, 0.028774593, 0.0070304717, 0.010283584, -0.048633505, 0.012304193, 0.0398567, 0.0032617918, -0.011339023, 0.011241811, -0.0029944603, 0.014637269, 0.030857695, 0.0018765284, -0.019164545, 0.042495295, 0.015276087, -0.040773265, -0.03094102, 0.0009573593, 0.03902346, -0.01426231, 0.034329534, -0.020428294, 0.014817804, 0.020469956, 0.024636162, 0.03246863, -0.0018904158, 0.004301607, 0.024525063, 0.05627155, -0.0018452819, 0.002787886, 0.04835576, 0.020525506, -0.019678378, -0.0027809422, 0.012734702, 0.0221781, 0.020233871, 0.06932566, 0.0103321895, 0.024108443, 0.0071450425, -0.07393626, 0.03310745, -0.019817252, 0.034912802, -0.033218544, -0.04652263, -0.059271216, -0.0028538508, 0.011054332, -0.021997565, -0.013366576, 0.001994571, 0.029080115, -0.045272768, -0.043245215, 0.014706706, 0.0006926317, 0.030274427, -0.03832909, -0.021289311, -0.041662056, -0.07021445, -0.009998893, 0.02328909, 0.06504836, -0.051744275, -0.04818911, -0.01898401, 0.059715614, -0.046967026, 0.04646708, 0.0025761037, -0.0042946637, 0.056132678, 0.009061497, -0.0012923917, -0.025469404, 0.004440481, -0.062937476, -0.013873464, -0.023775147, -0.008499059, -0.039995573, -0.010089161, -0.0022306559, 0.019956125, 0.05554941, -0.01919232, 0.012658321, 0.02495557, 0.019331194, -0.025663827, -0.024580613, -0.0007008773, -0.020011675, 0.01741474, -0.02627487, 0.012331968, 0.007672762, -0.04793914, -0.0089087365, 0.00012693908, -0.014678931, -0.03010778, 0.03230198, -0.010651599, 0.005291081, -0.03838464, -0.047855813, 0.017706374, 0.015123326, 0.0090823285, -0.011047388, -0.029135665, -0.0054716165, 0.017345302, -0.016900906, -0.0154427355, -0.0057111736, -0.010547443, 0.017400851, 0.0012290307, 0.032913025, 0.052466415, 0.06404847, 0.025969349, -0.02952451, -0.023691822, 0.02852462, -0.04935565, 0.032913025, 0.0023868885, 0.02501112, 0.01499834, 0.029830031, -0.005766723, -0.06304858, 0.023066891, -0.0030708406, 0.007950509, 0.0047425306, 0.0019008312, 0.00019181905, 0.02874682, 0.06182649, -0.010686317, -0.054493967, -0.02134486, -0.0037877753, -0.01599823, 0.0074505643, 0.00967254, -0.028094113, -0.022150327, -0.03796802, 0.019164545, 0.033690717, 0.024427852, -0.034885027, -0.019872801, -0.023483513, -0.017053667, 0.016359301, -0.017234204, 0.018109107, 0.041356534, 0.028663494, -0.006231949, -0.0053917645, -0.024455627, 0.004902235, -0.037107006, 0.00013789706, -0.04535609, 0.007092965, -0.048911255, -0.037107006, 0.026663715, 0.039745603, 0.043856256, -0.085101694, 0.062104236, -0.03949563, 0.07171428, 0.03241308, 0.02187258, 0.025844362, -0.0018574334, 0.055771604, -0.005679927, 0.010769641, 0.046911474, -0.0042599454, 0.015526059, -0.036245987, -0.011477896, -0.059937812, 0.021928128, -0.026566504, -0.020303309, -0.00791579, -0.00046349037, -0.020956013, 0.025788812, -0.0051730387, 0.013929014, 0.009818357, 0.03802357, 0.023900133, 0.027385859, 0.06871462, 0.028108, -0.0012732965, 0.01956728, 0.040356643, 0.0005212097, -0.024622275, 0.029663384, -0.016456513, 0.038301315, -0.05054996, 0.00441965, 0.010637712, -0.022150327, 0.0046869814, 0.0022966207, 0.016178764, -0.01547051, 0.0074019586, 0.017720262, -0.0044300654, -0.0009868699, 0.0033555315, -0.01809522, 0.005957674, 0.0008922624, 0.017373078, -0.006641626, -0.012609716, 0.009311469, 0.010846022, -0.00527025, -0.0019581167, -0.013456844, 0.020108886, 0.013179097, -0.01210977, -0.008131045, -0.017206429, 0.024302866, -0.007554719, -0.034162886, -0.09087883, -0.044161778, -0.025594389, 0.02869127, 0.006315273, 0.0010328718, -0.040523294, -0.060160007, 0.003874571, 0.0026715794, 0.008110213, -0.03891236, -0.044717275, 0.034523956, 0.036384862, 0.026885914, 0.0147483675, 0.0041245436, -0.00023434906, 0.003937064, -0.024927797, 0.0103252465, 0.033496294, 0.07160319, -0.017498063, -0.032579727, -0.0105405, 0.008762919, 0.0002460665, -0.010366908, -0.024983346, 0.0049126507, 0.009151765, -0.0019615884, 0.027080337, -0.020831028, -0.01547051, -0.006429844, -0.023455737, -0.03507945, 0.013776253, -0.0129569, 0.00664857, -0.044272877, -0.029663384, 0.017261978, -0.09304526, 0.01142929, -0.015428848, 0.0016083289, 0.030080004, 0.01452617, 0.021455958, -0.020956013, -0.028913466, -0.01651206, 0.006770084, -0.02234475, -0.027344195, 0.019470068, 0.041245434, -0.029191213, 0.022678046, 0.015984342, 0.004520333, -0.0047425306, -0.014637269, -0.046855927, -0.017609162, -0.031357642, -0.022080889, -0.0025344416, -0.012762477, 0.040884364, 0.010089161, 0.019858913, 0.022830807, -0.03377404, 0.018567389, -0.05910457, 0.019650603, 0.027802479, 0.021067113, 0.030996569, 0.0015901017, -0.0014928903, -0.024288978, -0.010950177, -0.012970787, -0.008117157, 0.0024528536, 0.016720371, -0.02353906, -0.04499502, -0.0019233982, 0.015137213, -0.012651377, -0.028663494, -0.007179761, -0.0058222725, 0.0009070177, -0.04782804, 0.011929235, -0.04807801, 0.033385195, 0.0245945, -0.020775478, -0.02024776, 0.008117157, 0.022622496, 0.008131045, -0.005436898, -0.015817694, 0.027996901, 0.04085659, -0.0072908597, -0.07660263, 0.0071242116, 0.031857584, 0.0103252465, -0.018122993, -0.019956125, -0.020331083, -0.026927575, -0.011838968, 0.013304083, 0.0050723553, 0.0056938143, -0.0057910257, -0.007151986, 0.021525396, 0.029246762, 0.020719929, -0.04027332, 0.021428185, -0.009297582, 0.0013479411, -0.0019008312, -0.009700315, -0.0034874612, 0.020664379, 0.006565246, -0.015526059, -0.030691048, -0.02427509, 0.014442846, -0.005523694, 0.002508403, -0.031107668, 0.010269697, -0.056243774, 0.008755975, 0.03619044, -0.04657818, 0.01479003, -0.057549186, -0.011547333, -0.010304415, 0.007846354, 0.008589327, -0.0023868885, -0.017720262, 0.020969901, -0.013491563, -0.0043120226, 0.008630989, 0.01960894, 0.017998008, 0.021178212, -0.02748307, 0.029468961, -0.011832024, -0.025025008, -0.036773708, -0.004221755, 0.027580282, 0.011811193, -0.013776253, -0.033274096, -0.012783308, 0.04807801, 0.041773155, 0.0042252266, 0.005808385, -0.014290085, 0.00030270088, 0.00022805635, -0.018220205, 0.042828593, 0.014498395, 0.00044222537, -0.008075495, -0.014831692, -0.034996126, 0.024997232, -0.0080407765, 0.028260762, -0.0017393908, -0.0032045064, -0.029607834, 0.027121998, -0.01792857, 0.016762033, 0.025455516, 0.003449271, 0.02994113, -0.015387186, -0.013269365, -0.028052451, -0.053521853, -0.0024493816, -0.02506667, -0.019692264, 0.0083879605, 0.001157858, -0.023830695, 0.034107335, 0.00029228535, -0.018164657, 0.012019503, 0.05207757, 0.0005164359, -0.013935958, -0.01662316, 0.0128041385, -0.0186646, -0.0008024286, -0.010019724, -0.0068325773, 0.0059507303, 0.0034562147, -0.029357862, 0.034579508, 0.036745932, -0.016873132, 0.026052672, 0.041550957, -0.012075053, 0.005207757, 0.012887463, 0.029246762, 0.015859356, -0.017859135, -0.036384862, -0.025233319, 0.030774372, 0.029357862, 0.031385414, -0.02999668, 0.0017116162, 0.0222892, 0.009748921, 0.005909068, -0.029663384, 0.0020744232, 0.020525506, -0.0039162333, 0.0026264454, 0.023122441, -0.0051938696, 0.027621944, -0.015678821, 0.00039058176, -0.0033537955, -0.014692819, -0.0023105082, -0.013720703, 0.024538951, 0.022219762, 0.0009920778, -0.11587606, -0.033524066, 0.020428294, -0.0077213678, 0.026969237, -0.027996901, -0.005266778, 0.05035554, 0.006450675, -0.021247648, 0.008422679, -0.0003324285, -0.017345302, 0.010769641, 0.02134486, -0.07504725, 0.009679484, -0.0080338335, 0.036634833, -0.018386854, 0.0070165847, 0.013387407, 0.025052782, 0.013144379, -0.010234978, 0.005679927, -0.02952451, 0.030968795, 0.006454147, 0.015901018, -0.028719043, -0.0090823285, 0.015498284, 0.01966449, -0.015581609, 0.03660706, -0.0067839716, -0.012887463, -0.011116825, 0.053716276, -0.0029857806, -0.039884474, 0.057715833, -0.027135886, 0.036940355, -0.019025672, 0.0075130574, 0.0058812937, -0.0040134448, -0.0016326318, 0.027524732, 0.00037799636, -0.00870737, 0.016137103, -0.018789588, 0.007582494, -0.016650936, 0.018456291, 0.023511287, 0.024344528, -0.029191213, 0.04174538, 0.011082107, 0.021303197, -0.02910789, -0.015303861, -0.008304636, 0.023566836, -0.032079782, -0.048605733, -0.03902346, 0.017706374, 0.0023955682, 0.015748257, 0.04116211, 0.00561049, -0.00865182, 0.0516054, -0.023511287, 0.009290638, 0.026510954, -0.042828593, 0.02574715, -0.017192543, -0.027746929, 0.003367683, 0.04560606, 0.0029284954, -0.025052782, 0.006370823, 0.041328758, 0.0017498063, 0.0075130574, 0.013005505, -0.0055861874, -0.022650272, -0.027969128, 0.015123326, 0.00402386, -0.023483513, 0.022678046, 0.013873464, -0.005211229, -0.01310966, 0.039523404, 0.01161677, 0.0156232705, 0.03413511, 0.013831803, -0.037162554, 0.002423343, 0.048966803, -0.0057875537, 0.026052672, 0.025302755, 0.031746488, 0.038106892, 0.037579175, 0.010602993, 0.02988558, -0.014692819, 0.027135886, -0.019595053, 0.041773155, -0.015109438, -0.035551623, -0.0038086062, 0.036245987, 0.015178876, -0.002123029, 0.033412967, 0.014442846, -0.025469404, -0.004947369, -0.009762809, -0.0090962155, 0.039467853, 0.0012889198, -0.019303419, 0.00591254, 0.006506224, 0.009957232, 0.035662718, -0.003989142, -0.022539172, 0.028274648, 0.0005329271, -0.0046557346, -0.0051556793, 0.0027653188, 0.026858138, -0.014873354, -0.005551469, 0.041662056, -0.023039117, -0.0040134448, 0.01892846, -0.034912802, 0.024094556, 0.008450453, 0.004843214, 0.037940245, -0.006284027, -0.014095662, 0.041550957, -0.012838857, -0.009873907, 0.027455295, -0.00836713, 0.020747704, -0.005485504, -0.004784193, 0.03707923, -0.019872801, 0.01352628, 0.009193427, 0.012193095, 0.013304083, 0.0052181724, 0.043967355, 0.0007347277, 0.021511508, 0.0019164545, 0.015581609, 0.021094887, 0.008776806, -0.016900906, 0.004044691, 0.0122694755, 0.048494633, -0.013179097, 0.019358968, 0.008165763, 0.03921788, 0.007520001, -0.028607944, 0.007582494, 0.053994022, -0.041356534, -0.052049793, -0.025149994, 0.0707144, 0.003898874, 0.00027145434, 0.00008408358, 0.0077074803, -0.02002556, -0.022386411, -0.04168983, 0.0072561414, -0.031052118, 0.0019390215, -0.024538951, 0.006624267, 0.009401737, -0.037579175, 0.0037773596, 0.03266305, -0.014706706, -0.016387075, -0.02999668, -0.04899458, -0.031718712, 0.008110213, -0.0005225116, 0.01588713, -0.008693483, 0.008144932, -0.0023035645, 0.005544525, -0.0004331118, -0.006731894, 0.016137103, -0.011075163, -0.031552065, -0.010130824, 0.015345524, -0.020067224, -0.008686539, -0.0019043031, 0.040662166, -0.014484508, 0.008089382, -0.008353242, 0.023511287, 0.010901571, 0.04793914, 0.0005489844, -0.019233983, -0.015178876, -0.0022757899, -0.027524732, 0.0154566225, 0.001755882, 0.007999115, -0.020539394, 0.027552506, 0.041134335, 0.0304133, 0.015331636, -0.007957453, 0.02328909, 0.011651488, 0.016373187, 0.02002556, -0.02994113, -0.016220426, 0.0070651905, -0.005058468, -0.0033103975, 0.0038710993, 0.020914352, -0.012345856, 0.030663272, -0.01040857, 0.0108529655, 0.022483623, -0.015706595, 0.004714756, -0.019303419, -0.00810327, -0.03241308, -0.04285637, -0.01499834, 0.013165209, 0.012554166, -0.018317416, -0.0056452085, 0.02858017, -0.012984674, 0.022205876, 0.0352461, 0.008693483, 0.00088445074, 0.0029805729, -0.014512283, 0.017039781, -0.0069783945, 0.04274527, -0.021150436, 0.005204285, 0.01992835, 0.009922513, -0.024844473, 0.024066782, 0.0101516545, -0.020178322, -0.04488392, 0.030663272, 0.0035499544, -0.018470177, 0.004332854, 0.01269304, -0.00986002, 0.000024506293, -0.033801813, -0.004864045, -0.021678157, 0.013415182, -0.03199646, 0.013088829, -0.0041905083, 0.013429069, -0.009186483, -0.0011205357, -0.030802146, -0.0059646177, -0.009492005, -0.03607934, -0.002678523, 0.018484065, 0.015609384, -0.022386411, 0.044745047, -0.023358526, -0.009304525, -0.029163439, -0.007582494, 0.0011856327, 0.006280555, 0.025358304, 0.008547665, 0.0055653565, 0.038467966, -0.0026073502, 0.008644877, 0.010707148, -0.019956125, 0.027552506, 0.0061555686, 0.05213312, -0.0036870919, -0.026719265, -0.013061054, -0.024413964, 0.033162996, 0.0056417366, 0.016303752, -0.0063777664, 0.014901129, -0.0016204803, 0.009353131, -0.01290135, 0.021803143, 0.024719486, -0.020692155, -0.016914794, 0.016331526, 0.023455737, 0.0013192984, -0.0012906558, 0.006061829, -0.016984232, -0.028246874, 0.010269697, 0.033690717, -0.004818911, -0.0041731494, 0.01222087, 0.040412195, 0.003256584, -0.019470068, -0.030357752, -0.0018452819, -0.010998783, -0.013630436, -0.020511618, 0.0041453745, -0.0049369535, -0.026760926, -0.0035169718, -0.0031350697, 0.013547111, -0.015178876, -0.019317307, 0.015220538, 0.013199928, -0.0020171378, 0.024997232, 0.048716832, 0.03571827, -0.008721257, -0.009658653, -0.013054111, 0.0032930383, 0.004801552, -0.033496294, 0.028177436, 0.0027965654, -0.01966449, -0.016039891, -0.013088829, -0.012762477, 0.016303752, -0.015567722, -0.016900906, 0.0034857253, 0.012033391, -0.031163217, 0.03702368, -0.015151101, 0.0050688833, 0.025483292, -0.016456513, 0.0036384861, 0.024455627, 0.003728754, -0.0040655225, 0.01972004, 0.027288647, 0.019706152, 0.0147344805, -0.0069124294, -0.029968906, 0.020039449, 0.025399966, 0.014762255, 0.024663936, -0.03360739, -0.006599964, -0.015678821, 0.020775478, 0.063159674, 0.026455406, -0.024983346, 0.00038884586, -0.028496847, -0.00034479692, 0.05196647, -0.01599823, -0.0126236025, -0.021886466, 0.0031194463, -0.0029909883, -0.056243774, -0.016525948, -0.02308078, 0.008950398, 0.011943122, 0.010519669, 0.006992282, 0.005120961, 0.03299635, 0.027594168, 0.023830695, 0.016650936, -0.005853519, 0.07160319, -0.002162955, -0.014067887, 0.010797416, 0.00034414593, 0.016331526, -0.010609937, -0.025413854, -0.0136859855, -0.0019876272, -0.03446841, -0.0039717825, -0.019233983, -0.023302976, -0.008151876, 0.034690604, -0.012290306, 0.022747483, 0.022511397, -0.027705267, -0.044967245, -0.0023296033, 0.0054264828, 0.025566615, 0.0154427355, 0.011970897, -0.025830474, 0.006190287, 0.008769862, 0.026177658, 0.008874018, 0.007443621, -0.0074019586, -0.008235199, -0.040412195, 0.014359522, 0.027871916, -0.006940204, 0.019942237, -0.00865182, -0.020331083, 0.043495186, 0.0070651905, -0.014401183, 0.008700426, 0.007901903, 0.007964396, 0.021678157, -0.016984232, -0.003339908, 0.024025118, -0.012602772, -0.006172928, -0.00647845, -0.0054091234, 0.0031836755, -0.011998672, -0.017914684, -0.012151433, -0.024108443, 0.041328758, 0.0055306377, -0.019442292, -0.013817915, -0.016525948, 0.030663272, 0.0068325773, 0.010658543, -0.0034805175, 0.027288647, 0.014803917, -0.023733484, -0.026677603, -0.008853187, -0.0058153286, -0.019164545, 0.009853076, -0.008117157, 0.022094777, 0.000044862656, 0.028941242, 0.035996016, -0.007749142, 0.01329714, 0.004159262, 0.022525284, 0.014470621, -0.031718712, 0.0005611358, -0.020483844, -0.0029458546, -0.01956728, -0.020636605, 0.01074881, 0.043495186, -0.022678046, 0.024011232, 0.017220316, -0.003940536, -0.0072769723, -0.01127653, -0.02801079, -0.0013644323, 0.018289642, 0.009811414, 0.047800265, -0.0077283112, -0.00064098806, -0.010193316, 0.032385305, -0.01397762, 0.018456291, -0.0138665205, 0.032968573, -0.048105787, 0.0043432694, 0.036773708, -0.006454147, -0.003794719, -0.0017758451, -0.0063951258, 0.019470068, 0.013574886, -0.010984896, 0.017498063, 0.011623713, 0.0128041385, -0.019025672, 0.06021556, 0.020331083, 0.02784414, -0.038579065, -0.000749483, -0.00415579, 0.019247869, -0.016845359, -0.025788812, 0.039828926, -0.043661833, 0.0067735557, 0.009436456, -0.003277415, 0.027663605, -0.010089161, -0.03477393, 0.017331416, -0.014054, 0.025872137, 0.017136993, -0.0420509, 0.0017333151, -0.004391875, 0.007179761, 0.02846907, 0.0059472583, -0.016317638, 0.0013054111, -0.01792857, 0.0030048757, -0.048633505, -0.011665376, 0.007922734, -0.013317971, 0.060493305, 0.014442846, 0.0029753651, -0.014928903, 0.014095662, 0.015956568, -0.002763583, -0.0051938696, -0.008089382, 0.008512947, -0.020108886, 0.024094556, 0.04296747, 0.011568164, 0.0051695667, 0.01384569, 0.020289421, 0.008457397, 0.0008011266, 0.022372523, -0.01392207, -0.0028017731, -0.0042773043, 0.035135, 0.034412857, 0.011533446, -0.0012377102, 0.054243997, 0.018914573, 0.003194091, 0.020539394, 0.018345192, -0.004607129, 0.0062909704, 0.0073116906, 0.008686539, -0.009735034, -0.00014679365, -0.0129777305, 0.030913245, -0.006492337, -0.0054542576, 0.0008076363, 0.03649596, -0.0015093816, 0.0256916, 0.021955904, 0.02323354, 0.007825523, 0.005568828, -0.004818911, 0.027080337, 0.029191213, 0.015970455, -0.0044890866, 0.014137324, -0.014012338, 0.028399635, 0.018331304, -0.00972809, -0.05899347, -0.007943565, -0.033551842, 0.017164767, -0.02905234, 0.020442182, -0.033912912, 0.0062041744, -0.005461201, -0.002546593, 0.03838464, 0.006426372, 0.013026336, 0.009207314, 0.0089087365, 0.008124101, 0.009839189, 0.0021837861, -0.013887352, -0.020747704, -0.03666261, -0.0124500105, -0.004308551, -0.009373963, -0.014331747, 0.026385969, -0.010644656, -0.008971229, 0.0051140175, -0.033996236, -0.031329866, 0.045800485, 0.023164103, 0.013137435, -0.01809522, -0.021414297, -0.017123105, -0.029385637, -0.0096169915, -0.02653873, 0.007776917, -0.011741756, -0.0031888832, -0.04843908, -0.011234867, -0.013880408, -0.003579465, -0.014428958, 0.006645098 ]
2310.12397
26
8 [4] Xinyun Chen, Maxwell Lin, Nathanael Schärli, and Denny Zhou. Teaching large language models to self-debug, 2023. [5] Nouha Dziri, Ximing Lu, Melanie Sclar, Xiang Lorraine Li, Liwei Jiang, Bill Yuchen Lin, Peter West, Chandra Bhagavatula, Ronan Le Bras, Jena D. Hwang, Soumya Sanyal, Sean Welleck, Xiang Ren, Allyson Ettinger, Zaid Harchaoui, and Yejin Choi. Faith and Fate: Limits of Transformers on Compositionality. 2023. Publisher: arXiv Version Number: 2. [6] Gaël Gendron, Qiming Bao, Michael Witbrock, and Gillian Dobbie. Large language models are not abstract reasoners, 2023. [7] Wenlong Huang, Fei Xia, Ted Xiao, Harris Chan, Jacky Liang, Pete Florence, Andy Zeng, Jonathan Tompson, Igor Mordatch, Yevgen Chebotar, Pierre Sermanet, Noah Brown, Tomas Jackson, Linda Luu, Sergey Levine, Karol Hausman, and Brian Ichter. Inner monologue: Embodied reasoning through planning with language models, 2022.
2310.12397#26
GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems
There has been considerable divergence of opinion on the reasoning abilities of Large Language Models (LLMs). While the initial optimism that reasoning might emerge automatically with scale has been tempered thanks to a slew of counterexamples, a wide spread belief in their iterative self-critique capabilities persists. In this paper, we set out to systematically investigate the effectiveness of iterative prompting of LLMs in the context of Graph Coloring, a canonical NP-complete reasoning problem that is related to propositional satisfiability as well as practical problems like scheduling and allocation. We present a principled empirical study of the performance of GPT4 in solving graph coloring instances or verifying the correctness of candidate colorings. In iterative modes, we experiment with the model critiquing its own answers and an external correct reasoner verifying proposed solutions. In both cases, we analyze whether the content of the criticisms actually affects bottom line performance. The study seems to indicate that (i) LLMs are bad at solving graph coloring instances (ii) they are no better at verifying a solution--and thus are not effective in iterative modes with LLMs critiquing LLM-generated solutions (iii) the correctness and content of the criticisms--whether by LLMs or external solvers--seems largely irrelevant to the performance of iterative prompting. We show that the observed increase in effectiveness is largely due to the correct solution being fortuitously present in the top-k completions of the prompt (and being recognized as such by an external verifier). Our results thus call into question claims about the self-critiquing capabilities of state of the art LLMs.
http://arxiv.org/pdf/2310.12397
Kaya Stechly, Matthew Marquez, Subbarao Kambhampati
cs.AI
18 pages, 3 figures
null
cs.AI
20231019
20231019
[ { "id": "2206.10498" }, { "id": "2306.03872" }, { "id": "2303.11366" } ]
{ "authors": "Kaya Stechly, Matthew Marquez, Subbarao Kambhampati", "chunk_id": 26, "doc_id": "2310.12397", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12397", "summary": "There has been considerable divergence of opinion on the reasoning abilities\nof Large Language Models (LLMs). While the initial optimism that reasoning\nmight emerge automatically with scale has been tempered thanks to a slew of\ncounterexamples, a wide spread belief in their iterative self-critique\ncapabilities persists. In this paper, we set out to systematically investigate\nthe effectiveness of iterative prompting of LLMs in the context of Graph\nColoring, a canonical NP-complete reasoning problem that is related to\npropositional satisfiability as well as practical problems like scheduling and\nallocation. We present a principled empirical study of the performance of GPT4\nin solving graph coloring instances or verifying the correctness of candidate\ncolorings. In iterative modes, we experiment with the model critiquing its own\nanswers and an external correct reasoner verifying proposed solutions. In both\ncases, we analyze whether the content of the criticisms actually affects bottom\nline performance. The study seems to indicate that (i) LLMs are bad at solving\ngraph coloring instances (ii) they are no better at verifying a solution--and\nthus are not effective in iterative modes with LLMs critiquing LLM-generated\nsolutions (iii) the correctness and content of the criticisms--whether by LLMs\nor external solvers--seems largely irrelevant to the performance of iterative\nprompting. We show that the observed increase in effectiveness is largely due\nto the correct solution being fortuitously present in the top-k completions of\nthe prompt (and being recognized as such by an external verifier). Our results\nthus call into question claims about the self-critiquing capabilities of state\nof the art LLMs.", "text": "8\n[4] Xinyun Chen, Maxwell Lin, Nathanael Schärli, and Denny Zhou. Teaching large language models to self-debug, 2023.\n[5] Nouha Dziri, Ximing Lu, Melanie Sclar, Xiang Lorraine Li, Liwei Jiang, Bill Yuchen Lin, Peter West, Chandra Bhagavatula, Ronan Le Bras, Jena D. Hwang, Soumya Sanyal, Sean Welleck, Xiang Ren, Allyson Ettinger, Zaid Harchaoui, and Yejin Choi. Faith and Fate: Limits of Transformers on Compositionality. 2023. Publisher: arXiv Version Number: 2.\n[6] Gaël Gendron, Qiming Bao, Michael Witbrock, and Gillian Dobbie. Large language models are not abstract reasoners, 2023.\n[7] Wenlong Huang, Fei Xia, Ted Xiao, Harris Chan, Jacky Liang, Pete Florence, Andy Zeng, Jonathan Tompson, Igor Mordatch, Yevgen Chebotar, Pierre Sermanet, Noah Brown, Tomas Jackson, Linda Luu, Sergey Levine, Karol Hausman, and Brian Ichter. Inner monologue: Embodied reasoning through planning with language models, 2022.", "title": "GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems", "year": 2023 }
[ 0.0025280486, 0.013142702, 0.045766342, -0.019758156, -0.02169869, 0.01835946, -0.014490995, 0.055090982, -0.068447895, 0.014566599, 0.03366951, -0.04254052, -0.019984972, 0.02636101, -0.011044658, -0.0043315473, 0.0007875541, -0.012065328, 0.011315577, 0.030116066, 0.0012301594, -0.03805461, 0.0042590923, 0.018044438, 0.049622204, 0.006760364, -0.028477954, 0.03523202, -0.00815906, -0.0006343748, 0.03266144, -0.020753624, -0.038382232, -0.007812536, -0.01062883, 0.027293473, 0.015650274, -0.023135187, -0.008486683, -0.008140159, 0.012859182, -0.02580657, -0.020211788, 0.03538323, -0.0007154929, 0.039087884, 0.026537422, -0.009066322, -0.053024437, 0.058518417, -0.014944626, 0.006108269, 0.0025595506, 0.017994035, -0.024307068, -0.04382581, -0.013029294, 0.016721347, -0.000005977412, -0.01559987, -0.019909367, -0.064869255, -0.026260203, 0.03654251, -0.047832884, -0.036618114, -0.06396199, -0.022530347, -0.004003925, 0.00946955, 0.015133639, 0.009406545, 0.03132575, -0.014957227, 0.0031722677, 0.008026751, 0.004678071, 0.07439551, -0.034173544, -0.02347541, -0.02156008, -0.0046875216, 0.021245059, -0.042162493, -0.032762248, -0.020085778, 0.02053941, 0.019808559, -0.04342258, -0.0145792, 0.0029218255, -0.036441702, -0.0045457617, -0.005172655, 0.07605882, 0.0031313149, 0.030494092, 0.0021909755, 0.057056714, 0.022328733, -0.03631569, -0.024382673, 0.010282306, -0.010950152, 0.001260874, 0.00641069, -0.0048765345, -0.012348847, -0.014188574, -0.005273462, -0.16582738, 0.005402621, -0.028654367, -0.025378142, -0.043069758, -0.042338904, -0.037701786, 0.0010057065, -0.043195765, 0.016948164, 0.007592021, 0.018737486, 0.009784572, -0.02434487, 0.029511224, -0.015940094, 0.019758156, -0.043170564, -0.012745774, 0.007314802, 0.000531599, -0.017023768, 0.008058253, -0.006495746, -0.033745117, -0.072228156, -0.047631267, 0.0025847524, -0.026134193, -0.0029013492, 0.087097175, 0.01034531, -0.019984972, 0.007037583, -0.019153314, 0.021282861, 0.002682409, -0.014415389, -0.02012358, 0.009589258, -0.0047001224, -0.014213775, 0.013193105, 0.035030402, -0.02506312, -0.056048647, 0.01412557, 0.05872003, 0.046875216, -0.07479873, 0.05478856, 0.031426556, -0.010981654, 0.004555213, 0.021585282, 0.04198608, -0.008952915, 0.022908373, -0.0350052, -0.051713947, -0.019632148, 0.0059413076, -0.011699903, -0.048790548, 0.015562068, -0.026613027, 0.0004914337, -0.043750204, -0.020388199, -0.030569699, 0.0075857206, 0.030544497, -0.054435737, 0.0061996253, -0.046522394, 0.010540623, 0.02387864, 0.019493537, 0.002098044, 0.019480936, 0.0014648505, 0.037827797, 0.06577651, 0.063861184, 0.021534879, -0.009727867, 0.06950637, -0.011176967, 0.03248503, -0.00946325, 0.021156851, 0.0627019, -0.031703774, -0.061593026, 0.032132205, -0.008650494, 0.0044418047, 0.0040133754, -0.04470787, 0.0007198244, 0.020463804, -0.012865483, 0.055998243, 0.0070879865, -0.012884384, -0.010433516, -0.06003052, -0.0393399, 0.025491549, 0.039415505, 0.0018208249, 0.02535294, 0.058468014, 0.01355853, -0.024722897, 0.039138287, 0.04254052, -0.010276006, 0.008587489, -0.0032258213, 0.061744235, -0.035055608, -0.03132575, -0.03878546, -0.0007970047, -0.034148343, 0.0011750306, 0.013873552, 0.0046308176, -0.03916349, 0.012871783, 0.0059539084, 0.0276715, 0.013923955, 0.03601327, 0.042918544, -0.016381124, -0.060080923, 0.03278745, -0.0137223415, 0.021534879, -0.024168458, -0.0125252595, 0.005276612, -0.01909031, 0.015196643, -0.012903285, -0.026134193, -0.03407274, -0.0041425345, -0.026512219, 0.039818734, -0.03119974, 0.0067414627, 0.0035660446, -0.0029470273, -0.043145362, 0.060232133, 0.019027306, -0.009620761, 0.011176967, -0.006791866, -0.0028509456, -0.006212226, -0.04994983, -0.028326744, 0.03601327, 0.040297564, -0.0291584, 0.0044260537, 0.024244064, 0.041734066, 0.045363113, 0.045816746, 0.002231928, -0.0021090698, 0.0017893228, -0.02069062, -0.021597883, -0.0022193273, 0.07152251, 0.008121258, -0.016985966, -0.0538813, 0.009790872, 0.008379575, 0.012115732, 0.0097152665, 0.028780375, -0.006955677, 0.043876212, -0.0017184429, -0.0021468722, -0.007932245, 0.0060232133, 0.067137405, -0.022479942, 0.0039472207, 0.054838963, 0.009816074, 0.028301543, -0.030947724, -0.008688296, 0.025907379, -0.033089872, -0.049319785, 0.0036321993, -0.006146072, 0.016834754, -0.030141268, -0.029259209, -0.0074534114, 0.0056955907, -0.011914117, -0.012342547, 0.03427435, 0.014238977, 0.0065020462, -0.011750306, -0.030116066, -0.00065878895, 0.035937667, 0.03296386, -0.00046859466, 0.010528022, -0.03951631, -0.044455852, 0.015511665, 0.017704215, -0.0047914786, -0.057611153, 0.038130216, -0.040121153, -0.014478394, -0.020022774, 0.03281265, 0.0134829255, 0.047606066, 0.03175418, 0.015486463, 0.002316984, -0.078276575, 0.040398374, -0.0013727067, -0.017363992, -0.009053721, -0.040751196, -0.024571687, -0.0011852689, 0.026537422, 0.0044197533, 0.020299993, 0.0062752306, -0.0069430764, -0.031577766, 0.0102256015, -0.037575778, 0.008839507, -0.0010757989, 0.012027525, 0.030620102, 0.012663869, -0.005330166, 0.011473088, -0.046093963, 0.0130670965, -0.016217314, -0.016721347, -0.028074726, 0.027469885, -0.0034935898, 0.0007194306, 0.0018397262, -0.0125567615, -0.025693163, 0.020665418, -0.0008686721, 0.0035282422, 0.0077243303, -0.019329727, -0.043750204, 0.020438602, -0.06058496, 0.032989062, -0.0027958169, 0.013797947, 0.047555663, 0.06345796, 0.02098044, 0.0074408106, -0.0028540958, 0.010918649, 0.0022413789, 0.0075416174, 0.020627616, 0.026461815, 0.018321658, 0.028956788, -0.032737046, 0.0055538313, -0.011353379, -0.039138287, 0.009834975, -0.0019751855, -0.012626067, -0.021660887, 0.02302178, 0.036063675, 0.02172389, 0.059072852, 0.0054719257, -0.037424568, -0.029939655, -0.05710712, -0.017855424, 0.002024014, 0.036618114, -0.025579756, 0.008757601, -0.04679961, -0.06612934, 0.03976833, 0.05201637, -0.06345796, 0.021093847, -0.079738274, 0.0568551, -0.0022177522, 0.003953521, -0.0019058808, -0.010950152, -0.0003943677, -0.0046119164, -0.021030843, 0.045564726, -0.019153314, -0.04695082, 0.025415944, 0.03674412, -0.025907379, 0.037979007, -0.0038653153, 0.027545491, 0.01427678, -0.016708747, -0.030040462, 0.037802596, -0.010282306, 0.062550694, 0.0204008, 0.032762248, 0.027041456, -0.04168366, -0.03162817, 0.014528797, 0.029536426, 0.023513213, -0.005944458, -0.00092222576, -0.010622529, 0.0022744562, -0.016721347, -0.019543942, -0.031451758, 0.0079259435, 0.007825137, -0.025327738, -0.032686643, 0.021081246, -0.026512219, 0.004400852, -0.028351946, 0.013949158, 0.006004312, 0.0030257828, 0.026713833, -0.029460821, -0.0025595506, 0.024962313, 0.00524196, -0.014932024, -0.010118495, 0.010830443, -0.0131049, 0.023235995, 0.0076676263, 0.008934014, -0.04679961, -0.020778826, -0.019871565, -0.020350397, -0.006905274, 0.0004575689, 0.002417791, 0.009393944, -0.012745774, 0.030191671, 0.016393725, 0.00408268, 0.08099836, -0.011914117, -0.026235001, 0.007881841, -0.00021126137, 0.035307623, 0.025667962, -0.009551455, 0.016393725, 0.008127558, 0.040524382, -0.011491989, -0.020577213, 0.015385656, -0.04561513, 0.020073177, -0.015562068, 0.013659338, 0.0039629717, -0.026537422, 0.0014837518, 0.0146170035, 0.0034935898, 0.00787554, -0.039390303, -0.044959884, 0.007081686, 0.010981654, 0.003975573, -0.03772699, -0.010357911, 0.009009618, 0.055040576, -0.0014845394, 0.017679013, 0.005232509, 0.0063602864, 0.0078944415, -0.010924949, -0.01005549, 0.0262098, 0.04430464, -0.035685647, -0.014528797, -0.030090865, 0.012569362, 0.0012490607, 0.03989434, 0.008291369, -0.007818837, -0.008285069, 0.01834686, -0.0040322766, 0.020312594, 0.007094287, -0.012203937, -0.020375598, -0.00816536, -0.030116066, 0.045438718, 0.02376523, -0.0451363, -0.039541513, 0.016973365, -0.029687637, 0.022593351, -0.04168366, 0.049319785, 0.029234007, 0.0099861855, -0.023147788, -0.020665418, -0.045363113, 0.012229139, -0.0072643985, -0.022467341, 0.009104125, -0.004183487, -0.0039472207, -0.034879193, 0.031098934, 0.019506138, -0.033719916, -0.03508081, -0.024962313, -0.012222839, 0.013281312, 0.029183602, -0.023299, -0.014327183, 0.01575108, -0.0021232457, -0.007661326, 0.007888141, 0.007377806, -0.009362442, -0.027293473, -0.00027328124, -0.0031202892, -0.037676584, 0.013155303, -0.00211222, -0.012040126, 0.008555987, -0.044279438, -0.012279543, 0.0059791105, -0.01486902, -0.006335085, 0.04430464, -0.032006197, 0.02360142, -0.045060694, 0.0160409, 0.009822374, 0.0089970175, 0.02666343, -0.030695707, -0.000046170357, -0.0053585176, 0.0038401135, -0.014906823, -0.029813645, 0.03991954, -0.019795958, 0.007938545, 0.023387205, -0.012865483, 0.004851333, 0.008543386, -0.031275347, 0.023803033, 0.004501659, 0.001879104, 0.003307727, 0.015499064, -0.011554993, -0.013167904, 0.0061901747, -0.0320566, 0.015083235, -0.024924511, -0.044607062, 0.013029294, 0.02666343, 0.015070634, -0.017679013, -0.002301233, -0.001995662, 0.0016837906, 0.008247266, -0.05665349, -0.0051254015, 0.002885598, 0.017830223, -0.006032664, 0.03172898, 0.009047421, 0.026285404, 0.036189683, -0.020627616, -0.030040462, -0.012134633, -0.011126564, 0.020640217, 0.011536092, -0.039037477, 0.013079697, -0.0013112775, 0.015410857, 0.005878303, -0.03989434, 0.021774294, -0.05012624, -0.019191116, 0.016444128, 0.009456949, -0.007944846, 0.0036857529, 0.0045961654, -0.0009198631, -0.012361448, -0.0062626298, -0.027772306, -0.014062565, 0.017540405, -0.02287057, -0.010679233, 0.036466904, -0.0020476405, -0.096421815, -0.037701786, 0.0068107676, -0.022946175, 0.012103131, -0.02433227, -0.0004630818, -0.033291485, 0.0054435735, 0.02448348, -0.022656355, -0.019430533, -0.028729971, 0.012512659, -0.005056097, -0.044254236, -0.016557537, 0.014301982, 0.03263624, -0.029133199, -0.010666632, -0.055443805, -0.00670366, -0.004870234, 0.016507132, 0.0053207153, 0.00946955, -0.015083235, 0.045237105, -0.018901298, -0.01369714, -0.009734168, 0.014806016, 0.015284849, -0.027091859, -0.0076676263, 0.004674921, -0.029486023, 0.012758375, -0.013823149, -0.005884604, -0.015524265, -0.011554993, 0.0032510231, 0.03671892, 0.039995145, 0.015625073, 0.02360142, 0.0045237103, -0.00946325, -0.001107301, -0.028755173, 0.010093292, -0.0017389193, -0.010099594, 0.0067855655, -0.014995029, 0.010679233, 0.0153352525, -0.023740029, 0.01515884, 0.008266168, -0.0062027755, 0.016557537, -0.016973365, 0.021648286, -0.00093246397, -0.0065902523, -0.013520728, -0.01384835, 0.019178515, -0.04140644, -0.020728422, 0.027192665, -0.007491214, 0.004470157, 0.00046150666, -0.0043315473, 0.0320818, -0.038079813, 0.0042055384, -0.014932024, -0.0042748433, 0.054838963, -0.006445342, -0.0026792588, -0.011737705, -0.023651823, -0.025226932, 0.009834975, -0.032913458, -0.056451876, 0.027318675, 0.0040322766, 0.0039283196, -0.0001012007, 0.025239533, 0.028729971, -0.1005549, -0.038079813, 0.02666343, -0.010005087, 0.023551017, -0.018094841, 0.009866477, 0.021597883, 0.03102333, -0.03190539, 0.043649394, -0.020816628, 0.0072896, 0.016091304, 0.007749532, -0.059526484, -0.024281867, -0.032863054, 0.030519294, -0.0017704215, -0.013394719, 0.012600865, -0.0014861145, 0.021383667, -0.039843936, 0.009627061, -0.003991324, 0.017868027, -0.014402788, 0.011718804, -0.045690734, -0.030897321, -0.018737486, 0.072681785, -0.03046889, 0.0013325415, -0.004926938, -0.020816628, 0.0060641663, -0.021320663, -0.0077936347, -0.040196758, 0.02489931, -0.03674412, 0.024092853, -0.007592021, 0.03366951, -0.028452752, 0.02273196, -0.01866188, -0.016053502, 0.028326744, 0.008404776, 0.025050519, 0.0068548704, -0.014604403, 0.03465238, -0.02943562, 0.05519179, 0.006032664, -0.005279762, 0.013230908, -0.00596966, 0.021194654, -0.033241082, -0.015448661, -0.01384835, 0.025957782, -0.035635244, -0.0583168, -0.0051254015, 0.05113431, 0.0014845394, 0.018838292, 0.009135627, -0.007037583, 0.026991053, 0.04123003, -0.013117501, -0.010502821, 0.003424285, -0.0146800075, -0.021056045, 0.004252792, -0.027797507, 0.013508127, 0.013760144, 0.017515201, -0.009022219, 0.04634598, 0.033493098, -0.00684857, 0.001508166, -0.002099619, 0.00031541538, -0.01749, 0.0068107676, 0.000112029564, 0.03172898, -0.00020318895, 0.015889691, 0.045967955, -0.08130078, -0.011624298, 0.0019011555, -0.0141381705, 0.0008789103, -0.02898199, -0.0028367697, 0.006426441, 0.03702134, 0.029208805, -0.027192665, 0.006306733, 0.019128112, 0.007125789, 0.037827797, 0.024886709, 0.032686643, 0.032762248, -0.010383112, 0.019480936, -0.029107997, 0.00069501647, -0.02900719, -0.0053364662, 0.014339784, 0.042414512, -0.024294468, -0.011384881, 0.0378782, -0.010036589, 0.0020035375, -0.021093847, -0.021900304, 0.023147788, 0.012235439, 0.027142262, -0.015725879, 0.027721902, -0.0016176361, -0.025189128, 0.028200734, -0.029133199, 0.0051065003, -0.021471873, 0.0016428378, -0.073841065, -0.0013640436, -0.0073526045, 0.03470278, -0.008140159, -0.016444128, 0.048916556, 0.013873552, 0.00048080174, 0.00626893, -0.041633256, -0.015801484, 0.0320566, 0.02024959, 0.034576774, -0.012714272, -0.010332709, 0.0123173455, -0.02593258, -0.016091304, -0.02825114, -0.050907493, 0.033644307, -0.046270374, -0.01268277, 0.014755612, 0.031930592, -0.012235439, 0.011643199, -0.021320663, -0.0048135305, 0.0045111096, 0.010124795, 0.037827797, -0.01633072, -0.044985086, -0.00010828868, -0.0025107223, -0.009249034, -0.0030242074, 0.00815276, -0.019052507, 0.05317565, 0.018624078, 0.0035093408, 0.013886153, 0.05438533, 0.025226932, -0.0466484, 0.018057039, 0.031955793, -0.019808559, -0.024218863, -0.015814085, 0.035736054, -0.0069430764, -0.0042055384, -0.061391413, 0.0010285456, 0.009419146, -0.017275786, -0.012052727, 0.008650494, -0.013470325, 0.013936557, -0.028150331, 0.010357911, -0.010956452, -0.018460266, 0.027948719, 0.038281426, -0.00089544896, 0.0005091537, -0.017074171, -0.02154748, -0.030090865, 0.05569582, 0.013394719, 0.0034809888, 0.008839507, 0.0007375444, -0.0049615903, -0.021875102, 0.03394673, -0.035610043, 0.024760699, 0.01866188, 0.0071446905, -0.014743011, -0.008688296, -0.017174978, -0.01427678, 0.013545929, 0.022391737, 0.020514207, -0.019972371, -0.010509121, 0.023664424, 0.007484914, 0.005380569, 0.0146170035, -0.017653812, 0.002403615, 0.027545491, -0.0083102705, 0.012506358, -0.0024713445, 0.008455181, -0.0042968947, 0.007226596, 0.014175973, 0.009885378, 0.041910477, -0.029511224, 0.030872118, 0.029586831, -0.02127026, 0.02067802, -0.004463856, -0.019720353, -0.017363992, 0.01688516, 0.0134829255, -0.059173662, 0.022026312, 0.01340732, 0.016721347, 0.012336247, -0.0036164483, 0.0106414305, 0.005052947, 0.010137396, 0.020652818, -0.047480058, -0.008675695, 0.0076298234, -0.0076739267, 0.0055853333, -0.0022524046, -0.030216875, -0.023664424, 0.029914454, -0.012607166, -0.025037918, 0.012663869, -0.012632367, 0.004747376, -0.032434627, -0.00006640065, -0.0074975146, -0.014478394, 0.0073400037, -0.029662436, 0.02431967, 0.010893447, 0.0022823317, -0.039012276, -0.009809773, 0.0050781486, 0.0013538054, -0.036592912, 0.025252134, 0.010572125, -0.043498185, 0.040852003, 0.026310606, -0.012292144, 0.00815906, -0.022064114, -0.0027139112, -0.030418487, 0.000057885223, -0.009765671, -0.00055995095, 0.0047568264, 0.017553005, -0.023538416, -0.019858962, -0.004555213, 0.04007075, -0.009645962, 0.03732376, 0.01939273, -0.002345336, -0.008133858, 0.004022826, 0.02956163, -0.018498069, 0.004180337, -0.011762907, 0.0073085018, -0.0029407267, -0.0017121425, 0.03991954, 0.013898754, -0.023399806, -0.0021405718, -0.005928707, 0.008990717, -0.028805576, 0.027873114, -0.0028446452, 0.0054404233, 0.055645417, -0.015209244, -0.022769762, -0.00018911142, -0.03800421, 0.05015144, 0.0012585113, 0.032686643, -0.024281867, -0.003073036, -0.019997573, 0.014112969, -0.033165477, -0.01340732, 0.007535317, 0.0043693497, 0.006804467, 0.006016913, 0.0036920533, 0.017893229, 0.018157845, 0.02215232, 0.0010427216, -0.036466904, -0.022757161, 0.006108269, 0.0047757276, -0.011302976, 0.01239295, 0.07691568, -0.015662875, -0.004136234, -0.032762248, 0.033493098, -0.015284849, 0.02169869, -0.042590924, 0.026965851, -0.015209244, -0.02067802, 0.020199187, -0.008808005, 0.017931031, -0.024067651, -0.010710735, 0.0025012717, -0.031224944, -0.009740468, 0.0015065909, 0.009009618, -0.03223301, -0.01983376, -0.0052104574, 0.00045993156, 0.0015089535, 0.009545155, 0.0008040927, 0.0466232, 0.0130670965, 0.04443065, 0.0012073204, 0.01471781, -0.014062565, 0.03281265, 0.0073715057, -0.047303647, -0.030569699, -0.020942638, -0.00023744754, 0.024231464, -0.0051474534, 0.0059917113, -0.010168898, -0.004010225, 0.026235001, -0.00003511999, 0.011933019, -0.015625073, 0.006108269, 0.030796513, -0.008978116, 0.007610922, -0.016078703, 0.000009918259, 0.00757312, -0.02229093, 0.018624078, -0.019165915, -0.026235001, 0.012084229, -0.018674482, -0.009154528, 0.037525374, 0.030922523, -0.0048639337, -0.017414395, -0.013092298, -0.00060759793, 0.031602968, 0.0003634562, -0.0132435085, -0.0019389581, -0.031098934, 0.014553999, -0.010326409, 0.008770202, -0.03162817, 0.018611478, -0.0119015165, 0.007932245, 0.0034211348, -0.022782363, 0.034904394, 0.0049489895, 0.0094443485, -0.0075101154, -0.019644748, -0.0017105674, 0.0026981602, -0.045186702, 0.026108991, -0.0044796076, 0.016141707, 0.0118700145, -0.009942083, 0.020211788, 0.020173984, -0.023425007, 0.0016727648, 0.001806649, -0.01790583, 0.0023642373, -0.0011325027, -0.01777982, 0.043548588, 0.0058814534, 0.021585282, -0.03281265, -0.024307068, 0.02636101, 0.018321658, 0.04866454, 0.011189568, 0.04455666, 0.008096056, -0.039289497, -0.004782028, -0.011491989, 0.00203819, -0.0030919372, -0.003222671, 0.0021185204, 0.009299438, -0.0003547931, 0.0013128526, -0.003600697, -0.015373055, -0.013092298, -0.0033990832, 0.012166135, 0.0021185204, 0.027369078, -0.00612087, -0.012474856, 0.019984972, -0.022190122, -0.03188019, 0.012172435, -0.0090600215, 0.0027406882, 0.0068989736, -0.007951146, -0.024634691, -0.0065587503, 0.0061555225, -0.040171556, -0.006760364, 0.021862501, 0.0059507582, -0.015675476, -0.007314802, -0.0075290166, 0.022467341, -0.0026587825, -0.024798501, 0.0042055384, 0.016368523, -0.005405771, -0.0038275127, -0.029183602, -0.014024762, 0.027444683, -0.00554123, 0.013016693, 0.0028084177, 0.027369078, 0.0083417725, 0.029864049, 0.051083907, -0.0010734361, -0.026613027, -0.023488011, -0.005629436, -0.003191169, 0.00033608868, -0.0025611257, 0.030569699, 0.018888697, -0.013860951, -0.0071887933, 0.013117501, -0.019304525, -0.009551455, 0.0038684655, 0.008518185, -0.0021641986, 0.018309057, 0.0134829255, -0.06743983, -0.021824697, 0.0029107998, 0.00306201, 0.005289213, 0.004504809, -0.01966995, 0.04415343, -0.0062563294, -0.018031837, 0.029385217, 0.027999122, 0.0032447227, -0.030090865, 0.01442799, 0.0049489895, 0.010149997, -0.033241082, 0.027646298, -0.01633072, 0.008738699, -0.0029344263, -0.026789438, 0.015284849, 0.024811102, 0.037197754, -0.05030265, 0.021333264, 0.010452418, 0.02198851, -0.018220851, 0.020085778, -0.016570138, 0.024231464, -0.004066929, -0.030645303, 0.0057176426, -0.01995977, -0.04037317, -0.00039298946, 0.001312065, -0.0067414627, -0.0021689238, -0.019455735, -0.007062785, 0.02535294, -0.008694597, 0.025428545, -0.008203163, 0.022089316, 0.0034589374, -0.030872118, -0.006442192, 0.027041456, -0.02419366, -0.017603409, 0.014881621, 0.032535434, 0.022618553, -0.010433516, 0.00021067071, -0.014364986, 0.025781369, -0.02636101, -0.017893229, 0.008070854, 0.014377587, -0.0028777225, -0.0003855077, -0.005594784, 0.016066102, 0.019997573, -0.027898315, -0.0036857529, 0.016721347, -0.046119165, 0.019871565, 0.047732078, -0.006372887, -0.008801704, -0.0062563294, 0.03538323, -0.019846361, -0.014906823, 0.010383112, 0.017805021, 0.016116505, 0.0626515, -0.0017499451, 0.038861066, -0.011542392, 0.0042968947, -0.016406326, 0.015725879, -0.022227926, 0.005988561, -0.020665418, -0.0130040925, 0.0042937445, 0.014327183, -0.011832212, 0.043498185, -0.005862552, -0.020942638, 0.020426001, 0.02535294, 0.038105015, 0.012153534, 0.0036920533, 0.04004555, 0.016620541, 0.018107442, 0.03223301, -0.016544936, 0.009343541, -0.014768213, -0.010735936, -0.011441586, 0.024420476, 0.002301233, 0.043750204, 0.00524196, -0.021950707, -0.009356142, -0.028377147, 0.01179441, -0.0032573235, 0.012619766, 0.018863495, 0.008801704, -0.008719798, -0.0022949325, 0.04400222, 0.015814085, 0.025138725, -0.0134829255, 0.044355042, 0.031930592, 0.007888141, -0.062903516, -0.04178447, 0.0061429217, -0.04097801, -0.026008185, 0.029637234, -0.007818837, 0.012235439, 0.014553999, 0.005185256, -0.009343541, -0.010603628, -0.034904394, 0.017225383, -0.009148228, -0.0022713058, 0.010616229, -0.04823611, 0.019972371, 0.0006123233, -0.01239295, -0.03482879, -0.016292918, 0.0072769993, -0.020867033, 0.018825691, -0.021169452, -0.005563282, 0.002739113, -0.016948164, 0.0069997804, -0.008058253 ]
2310.12773
26
Prompts and Red-teaming. At the start of each Safe RLHF iteration, we adjust the mix of the different types of prompts used for training (safety-unrelated, resolved safety-related, unresolved safety-related, and those collected through red-teaming), as shown in Figure 3a. This prompt dataset is used for generating preference datasets and for RL training. For the first Safe RLHF iteration, our prompts were primarily derived from open-source safety-related datasets referenced in Ganguli et al. (2022) and Sun et al. (2023a). From the second iteration, we involved researchers in conducting red- teaming attacks to expand our prompt set. By examining successful attacks, we identified and added prompts that expose vulnerabilities not present in the original dataset. More details and examples are available in Appendix D. 6 (a) Alpaca-7B (b) Beaver-v1 (c) Beaver-v2 (d) Beaver-v3 Figure 4: The scatter plots present the distribution of reward and cost on the evaluation prompt set, as assessed by the unified reward and cost models. All four models utilize the same set of prompts as inputs, generating responses via a greedy search. Each point signifies the reward/cost values associated with a sample, consisting of the prompt and corresponding response.
2310.12773#26
Safe RLHF: Safe Reinforcement Learning from Human Feedback
With the development of large language models (LLMs), striking a balance between the performance and safety of AI systems has never been more critical. However, the inherent tension between the objectives of helpfulness and harmlessness presents a significant challenge during LLM training. To address this issue, we propose Safe Reinforcement Learning from Human Feedback (Safe RLHF), a novel algorithm for human value alignment. Safe RLHF explicitly decouples human preferences regarding helpfulness and harmlessness, effectively avoiding the crowdworkers' confusion about the tension and allowing us to train separate reward and cost models. We formalize the safety concern of LLMs as an optimization task of maximizing the reward function while satisfying specified cost constraints. Leveraging the Lagrangian method to solve this constrained problem, Safe RLHF dynamically adjusts the balance between the two objectives during fine-tuning. Through a three-round fine-tuning using Safe RLHF, we demonstrate a superior ability to mitigate harmful responses while enhancing model performance compared to existing value-aligned algorithms. Experimentally, we fine-tuned the Alpaca-7B using Safe RLHF and aligned it with collected human preferences, significantly improving its helpfulness and harmlessness according to human evaluations.
http://arxiv.org/pdf/2310.12773
Josef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji, Xinbo Xu, Mickel Liu, Yizhou Wang, Yaodong Yang
cs.AI, cs.LG
null
null
cs.AI
20231019
20231019
[ { "id": "2302.13971" }, { "id": "2304.05302" }, { "id": "1707.06347" }, { "id": "2305.18290" }, { "id": "2305.10403" }, { "id": "2305.03047" }, { "id": "2211.05100" }, { "id": "2110.08207" }, { "id": "2304.05335" }, { "id": "2107.03374" }, { "id": "2105.04054" }, { "id": "2209.07858" }, { "id": "2305.15324" }, { "id": "2307.09288" }, { "id": "2210.11416" }, { "id": "2212.08073" }, { "id": "2307.12950" }, { "id": "2009.11462" }, { "id": "2307.04657" }, { "id": "2204.05862" }, { "id": "2112.00861" }, { "id": "2209.14375" }, { "id": "2303.00957" }, { "id": "2306.01693" }, { "id": "2305.01937" }, { "id": "2307.15217" }, { "id": "2306.17492" }, { "id": "2112.04359" }, { "id": "1506.02438" } ]
{ "authors": "Josef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji, Xinbo Xu, Mickel Liu, Yizhou Wang, Yaodong Yang", "chunk_id": 26, "doc_id": "2310.12773", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12773", "summary": "With the development of large language models (LLMs), striking a balance\nbetween the performance and safety of AI systems has never been more critical.\nHowever, the inherent tension between the objectives of helpfulness and\nharmlessness presents a significant challenge during LLM training. To address\nthis issue, we propose Safe Reinforcement Learning from Human Feedback (Safe\nRLHF), a novel algorithm for human value alignment. Safe RLHF explicitly\ndecouples human preferences regarding helpfulness and harmlessness, effectively\navoiding the crowdworkers' confusion about the tension and allowing us to train\nseparate reward and cost models. We formalize the safety concern of LLMs as an\noptimization task of maximizing the reward function while satisfying specified\ncost constraints. Leveraging the Lagrangian method to solve this constrained\nproblem, Safe RLHF dynamically adjusts the balance between the two objectives\nduring fine-tuning. Through a three-round fine-tuning using Safe RLHF, we\ndemonstrate a superior ability to mitigate harmful responses while enhancing\nmodel performance compared to existing value-aligned algorithms.\nExperimentally, we fine-tuned the Alpaca-7B using Safe RLHF and aligned it with\ncollected human preferences, significantly improving its helpfulness and\nharmlessness according to human evaluations.", "text": "Prompts and Red-teaming. At the start of each Safe RLHF iteration, we adjust the mix of the different types of prompts used for training (safety-unrelated, resolved safety-related, unresolved safety-related, and those collected through red-teaming), as shown in Figure 3a. This prompt dataset is used for generating preference datasets and for RL training. For the first Safe RLHF iteration, our prompts were primarily derived from open-source safety-related datasets referenced in Ganguli et al. (2022) and Sun et al. (2023a). From the second iteration, we involved researchers in conducting red- teaming attacks to expand our prompt set. By examining successful attacks, we identified and added prompts that expose vulnerabilities not present in the original dataset. More details and examples are available in Appendix D.\n6\n(a) Alpaca-7B (b) Beaver-v1 (c) Beaver-v2 (d) Beaver-v3 \nFigure 4: The scatter plots present the distribution of reward and cost on the evaluation prompt set, as assessed by the unified reward and cost models. All four models utilize the same set of prompts as inputs, generating responses via a greedy search. Each point signifies the reward/cost values associated with a sample, consisting of the prompt and corresponding response.", "title": "Safe RLHF: Safe Reinforcement Learning from Human Feedback", "year": 2023 }
[ 0.027336687, -0.016501578, 0.09078064, -0.017116543, 0.012233423, 0.019122502, -0.014627397, 0.07508437, 0.035521585, 0.010059081, 0.017570447, -0.021362735, -0.009231806, -0.006376608, 0.008375246, -0.0465324, 0.039240662, -0.042022653, -0.07701712, 0.02622389, -0.011479358, -0.009473399, -0.0314511, -0.010491021, -0.008192221, 0.01070333, -0.012760537, -0.015915897, 0.00474036, -0.015535203, 0.025887124, -0.034174517, -0.045946717, 0.016325872, -0.012804463, 0.027395254, -0.010388526, -0.0012317615, -0.014700606, 0.015623055, 0.029401213, -0.025565, -0.035023756, -0.00022535013, -0.015110584, 0.014898274, 0.009165917, -0.0314511, 0.001478846, 0.031714655, -0.02541858, 0.04187623, -0.00696961, -0.021304166, 0.008624161, -0.02104061, -0.025184307, 0.005077127, 0.0029686734, -0.017614372, 0.025755346, -0.022958716, -0.029328004, -0.010849751, 0.03856713, -0.014964163, -0.07034036, -0.0006973271, 0.009436794, 0.059944507, 0.025462504, 0.0039167455, 0.053121317, -0.0042132465, -0.006588917, 0.042842604, 0.037454337, 0.0072661117, -0.026736362, 0.0022988, 0.010220143, -0.020132802, 0.0029247473, -0.07268308, 0.0056847716, -0.018917514, -0.042051934, 0.005995915, -0.017541163, -0.044423945, -0.0629022, 0.0004248479, -0.03885997, 0.009261089, 0.007701712, -0.004637866, -0.026414238, -0.022563381, 0.05414626, 0.040851288, 0.018082919, -0.07092603, -0.03771789, -0.014978806, 0.028317703, 0.008199542, 0.032007497, 0.019693542, -0.01802435, 0.012079682, -0.036019415, -0.02765881, -0.0458003, 0.018858945, -0.0024598625, -0.01909322, -0.08205398, -0.08568521, 0.038537845, -0.037454337, -0.05918312, 0.00034019863, 0.013236403, -0.055229772, -0.013038736, 0.019283565, 0.016647998, -0.06319504, 0.0067609614, -0.027746664, -0.0038947824, 0.026663153, 0.010644762, -0.0074418164, -0.01557913, 0.026414238, -0.05558118, -0.0037410408, -0.041407686, 0.0008922492, -0.027995579, -0.012511622, -0.04949009, 0.014971484, -0.026941352, -0.012145571, -0.016106242, 0.017731508, -0.046298128, 0.025623567, -0.037600756, 0.019971741, -0.035872996, 0.011640421, -0.013133909, -0.02484754, -0.010161575, 0.02585784, -0.02032315, -0.06219938, 0.0042827963, -0.0052455105, -0.04978293, -0.0119332615, 0.0076651075, -0.008843792, -0.017921856, 0.008411852, -0.08984355, -0.02650209, 0.021304166, 0.0068085482, -0.0073869084, -0.048377298, -0.00147244, -0.026136039, -0.028054146, -0.0027197588, -0.008089727, -0.013748874, -0.017131185, -0.017014049, -0.016413726, 0.035638724, 0.0015767645, 0.0053443443, -0.026721722, -0.01515451, -0.03654653, -0.01982532, 0.016984764, 0.048728704, 0.062023677, -0.008587556, 0.021787353, -0.06360502, 0.039533503, 0.025579643, 0.010849751, -0.040558446, -0.019591048, 0.019781394, 0.048933692, -0.028346987, 0.023500472, 0.011918619, -0.063722156, 0.01658943, -0.021260241, -0.014415087, 0.054556236, 0.066416286, 0.047674477, 0.031568237, -0.048933692, 0.03174394, -0.048582286, 0.0025403937, -0.00423887, 0.038742833, 0.014305272, 0.0018128675, 0.04934367, -0.0021285864, -0.019839963, 0.053707, 0.011867372, -0.03317886, 0.027014561, -0.056547552, 0.03130468, 0.015915897, -0.028259134, -0.012936241, -0.025067171, 0.012299312, 0.018097559, -0.033705972, 0.019137144, -0.031480383, 0.0354923, 0.014788459, 0.026179966, 0.0051979236, 0.051481407, 0.025008602, -0.014627397, -0.030396873, 0.013075341, 0.026619226, 0.03411595, -0.035023756, 0.04553674, -0.037512902, -0.0067829243, -0.013631738, -0.04216907, -0.0007819764, -0.022182688, -0.033500984, -0.032798167, 0.025579643, -0.0013598794, 0.0684076, -0.0058568157, 0.0071416544, -0.022094836, -0.027248833, -0.0439554, -0.020733127, 0.003259684, 0.023588324, 0.03941637, 0.003719078, -0.061789405, -0.027673453, 0.04840658, 0.00087669207, -0.017365457, -0.0027929689, -0.028054146, -0.0183904, 0.017892571, -0.013961184, 0.010103007, 0.02004495, 0.022124121, 0.024979318, 0.0021377376, -0.024686478, -0.0019437306, -0.06360502, 0.026824215, -0.027556317, 0.029635487, -0.0360487, 0.0071562966, 0.010688689, 0.0028533672, 0.00091970304, 0.004374309, 0.038830686, -0.04568316, -0.0027453823, 0.03297387, 0.010234785, -0.001960203, -0.02054278, 0.010073722, 0.012482338, -0.02333941, 0.03768861, 0.013961184, 0.005219887, 0.02471576, -0.035580155, 0.041554105, -0.003836214, 0.056079008, -0.02670708, -0.023866523, 0.0044072536, 0.018112201, 0.02391045, 0.018873587, -0.041905515, -0.015403424, 0.010176217, -0.02642888, -0.029606203, -0.035345882, -0.0038435352, 0.008001874, 0.008638803, 0.029503709, -0.049870785, -0.04518533, -0.011369543, 0.006003236, 0.018858945, -0.046795957, -0.015198437, -0.018858945, 0.02413008, -0.040060617, 0.0465324, -0.0072002225, 0.011113307, 0.04703023, 0.045566026, 0.023368694, 0.008733976, -0.00055365206, -0.0058128894, -0.026897425, -0.017877929, -0.0059776125, -0.03836214, -0.017629014, 0.032622464, 0.009436794, 0.030631145, -0.0033914621, 0.015535203, 0.050251476, 0.023002643, -0.025111096, 0.00047174818, 0.008323999, -0.009685708, -0.0049636513, 0.006314379, -0.04181766, 0.014239383, -0.051188566, 0.023295484, 0.009312336, 0.0052967574, 0.015169152, 0.029035162, -0.017995065, -0.030221168, -0.030162599, 0.004820891, 0.0037739854, 0.030543292, 0.025008602, -0.022812296, -0.032153916, -0.028888743, 0.018653957, -0.03247604, -0.025813915, -0.0028131017, 0.009817487, 0.02398366, -0.031187542, 0.033676688, 0.06190654, 0.07139458, -0.0006360136, -0.024832897, -0.07812992, 0.015974464, -0.027043846, 0.04058773, 0.016721208, 0.021274881, 0.0075699342, -0.030748282, 0.031919643, -0.026970636, 0.010593515, -0.031538952, 0.011530605, -0.019854605, 0.01579876, -0.03030902, 0.01831719, 0.08474812, 0.0150812995, -0.07016465, -0.03698579, 0.0013626247, -0.027204908, 0.027409896, 0.008382567, -0.00488312, 0.006889079, -0.06260936, 0.0062594716, 0.09236198, 0.020425644, -0.010520305, -0.02801022, -0.007562613, 0.044131104, -0.003676982, -0.003836214, -0.0078115277, 0.052272078, -0.0070538023, -0.01888823, 0.05092501, -0.010637441, 0.010037118, 0.0071709384, 0.008873075, -0.00997855, 0.0007536074, -0.047498774, -0.010769219, 0.009956586, 0.02219733, -0.0031205844, -0.04049988, 0.06190654, 0.0038654981, 0.051042147, 0.04682524, -0.0034353884, 0.017980423, 0.026033545, 0.033559553, 0.033295996, 0.012599475, -0.03124611, 0.021362735, 0.00066392496, -0.041524824, -0.021377377, -0.030074747, 0.0006067295, -0.017834004, -0.007789565, -0.020162087, -0.027673453, -0.012943562, 0.060325198, 0.009510004, 0.030718997, 0.004985614, 0.010037118, 0.015052016, 0.032651745, 0.08023837, 0.023969017, -0.020806337, -0.020118162, 0.005944668, 0.02650209, -0.016208736, 0.0009343451, -0.0186686, 0.02219733, -0.03282745, 0.010717972, 0.02355904, -0.0031187544, 0.006512047, -0.001478846, 0.00048318726, -0.017438669, 0.026546016, 0.05121785, 0.0186686, 0.038303573, 0.011054739, 0.0034628422, 0.035960846, -0.026970636, 0.012548227, -0.04518533, 0.0064534787, -0.013368181, 0.027893083, -0.018287906, -0.0036806425, -0.014356519, 0.038391426, -0.019591048, -0.013229082, -0.018756451, -0.002102963, -0.0018531331, -0.03168537, -0.019839963, -0.09915589, -0.023163706, -0.018361116, -0.005955649, -0.013375502, 0.017570447, 0.0023171026, -0.048172306, -0.0011896656, -0.012892315, -0.00044429436, -0.01824398, -0.015564487, 0.046649534, 0.022812296, -0.030426156, 0.0063509843, -0.013053377, -0.005135695, 0.025652852, -0.006577936, -0.0026099435, -0.0009938284, 0.05968095, -0.017189754, -0.022988, -0.02937193, 0.018624673, 0.0013909937, -0.0314511, -0.032329623, 0.023515115, 0.0004136376, 0.0042535122, 0.009597857, 0.008389888, -0.009217164, -0.010351921, 0.0063692867, 0.024261858, 0.027614886, -0.022548739, 0.024818256, -0.008829149, 0.0019052953, 0.0013095473, -0.05730894, 0.027424539, -0.011310975, 0.02872768, -0.026677795, 0.012701969, 0.02959156, -0.021523798, -0.028127357, -0.013024094, 0.019444628, -0.036751516, 0.016340515, 0.015623055, 0.0380693, -0.024569342, 0.007291735, 0.0017140337, -0.011911298, 0.009466078, 0.021538438, -0.031509668, 0.008162936, -0.016721208, -0.028068788, -0.019049292, 0.012160213, 0.0066328435, 0.0062228665, 0.006852474, -0.014254025, -0.03174394, 0.036136553, -0.019839963, 0.016896913, 0.031656086, 0.018566106, -0.00538827, -0.0035104288, -0.009378226, -0.0050954297, 0.0021249258, -0.018009707, 0.012182176, -0.0008721164, 0.022270542, -0.019927815, -0.0199571, 0.0043413644, 0.0030510349, -0.0012537246, 0.022065552, 0.0011439093, 0.015915897, -0.028244494, -0.009444115, -0.010234785, -0.053707, -0.003548864, 0.0019309189, -0.034965187, -0.033618122, 0.02492075, 0.029328004, 0.011625779, 0.011720952, -0.028478766, 0.03519946, 0.026516732, -0.02420329, -0.06911042, 0.017292248, -0.0032194182, 0.032710314, -0.018361116, -0.013778158, -0.008089727, -0.0557276, -0.029181583, 0.013251045, -0.042930458, 0.019942457, 0.015169152, -0.0045939395, 0.026194608, -0.011318296, 0.0110108135, -0.02175807, 0.0147591755, -0.0242765, 0.024803614, -0.024745045, 0.015432709, -0.01651622, 0.0498415, 0.010879035, -0.019883888, -0.057689633, 0.0017085429, 0.02858126, 0.046561684, -0.019020008, -0.008499703, 0.003060186, -0.023661535, 0.006771943, 0.03900639, -0.036868654, 0.020367077, -0.05760178, -0.03376454, 0.003482975, 0.0110620605, 0.015213078, -0.018302549, -0.0033713295, 0.02407151, -0.021597007, -0.0054321964, 0.015359499, 0.01989853, -0.019224998, 0.02981119, -0.02650209, 0.036312256, -0.012108966, -0.023529757, -0.026311744, 0.03965064, 0.016252663, -0.026355669, -0.012196818, -0.03481877, -0.015418067, 0.025272159, 0.019547122, -0.021099178, -0.0031279055, -0.02664851, -0.019576406, 0.019766752, 0.019122502, 0.037425052, 0.0014157022, 0.002328084, -0.0024012944, -0.020206014, -0.029679412, 0.010227464, -0.013741554, 0.027204908, -0.022709802, 0.01774615, -0.027746664, 0.003920406, -0.013199798, -0.008140974, 0.026809573, 0.019224998, -0.0060654646, -0.001530093, 0.0020700183, -0.0024141062, -0.029152298, 0.0048941015, 0.006713375, -0.015447351, 0.0360487, -0.02240232, 0.0037300594, 0.00833132, 0.006138675, 0.0133462185, -0.01909322, 0.03560944, -0.008075085, -0.021743428, -0.018463612, 0.014598113, -0.008755939, -0.005153998, 0.04208122, 0.002714268, 0.020337792, -0.0005143016, 0.010022475, 0.056459703, 0.017409384, 0.0072880746, 0.007994553, 0.014912916, -0.007914022, -0.007994553, -0.002772836, -0.00089865515, -0.0036678307, 0.0019162769, -0.022446245, -0.023515115, 0.011325617, -0.0014285139, 0.06231652, -0.037366483, 0.02090883, -0.0056554875, -0.017365457, 0.027087772, -0.012467696, 0.014927559, 0.004985614, -0.025682136, -0.020659916, 0.02541858, 0.0053187204, -0.0049087433, -0.007474761, -0.022168046, -0.0081263315, -0.020630633, 0.00029535737, -0.018038992, 0.025155023, -0.013587812, -0.01579876, -0.10729686, -0.013609775, 0.023969017, -0.03437951, 0.008631482, -0.019429985, 0.026487447, 0.024086153, 0.005077127, -0.031509668, 0.0049343673, -0.0063290214, -0.0021139444, -0.0032981192, 0.02140666, -0.033442415, 0.004703755, -0.0037996091, 0.00009545923, -0.027644169, -0.0005234529, -0.016033033, 0.028683754, 0.023602966, -0.011618458, -0.016545504, -0.01903465, -0.009510004, -0.009524646, -0.0007490318, -0.02721955, -0.0056188824, 0.010974208, -0.012035755, -0.037161496, -0.0079067005, -0.017365457, -0.0027527034, -0.0070647835, 0.039943483, 0.010103007, -0.0092684105, 0.042403344, -0.0360487, 0.05089573, -0.0028863118, -0.011289012, 0.0050148983, 0.009597857, -0.004315741, 0.06260936, 0.02348583, -0.010981529, -0.02765881, -0.041407686, 0.015564487, 0.015183794, 0.0044255564, 0.0021249258, 0.02376403, -0.0154619925, 0.01975211, 0.0118234465, -0.020001026, -0.01019818, -0.010769219, -0.017043334, 0.007375927, -0.04489249, -0.027644169, -0.01989853, 0.026414238, -0.02398366, 0.011186518, -0.000117937045, 0.0007911277, 0.008653445, 0.022036267, 0.00005533661, 0.017643657, 0.07449869, -0.04682524, 0.038830686, 0.029913684, -0.0025385635, 0.0171019, 0.03941637, 0.006383929, 0.0027527034, 0.010498342, -0.008221505, 0.00897557, 0.011084023, -0.007862775, 0.016076958, -0.0011933262, 0.0060581435, -0.003957011, 0.0036385467, -0.0026630207, 0.018697884, 0.014517581, 0.0017222698, -0.0022859883, 0.0041436967, 0.026751004, -0.0015364989, 0.050807875, 0.011281691, 0.004205926, 0.008982891, 0.020513495, -0.027043846, 0.041056275, 0.017248321, 0.045507457, 0.017277606, 0.00237018, 0.026780289, 0.008309357, 0.0053846096, 0.010103007, -0.04380898, 0.041641958, -0.023954375, -0.017482594, 0.012108966, 0.016984764, -0.009788203, 0.022592666, 0.026619226, 0.006636504, -0.0032816469, 0.0070428206, -0.019620331, 0.013873332, 0.035960846, -0.021128463, 0.0074820817, -0.022973359, 0.012767858, 0.019927815, 0.052945614, -0.009854092, 0.00560058, 0.0110108135, 0.0051466767, 0.01925428, -0.013602454, 0.0173801, -0.01615017, -0.017863287, -0.027322045, 0.0075406497, -0.011698989, 0.05063217, 0.013075341, -0.038947824, -0.00811901, 0.0012509791, 0.0076577864, 0.038449995, 0.0033072706, 0.00043285527, 0.018727168, -0.045507457, 0.000018445537, 0.016194094, 0.0018631994, 0.026531374, -0.021582365, -0.052184228, 0.01206504, -0.020894188, 0.015710907, 0.04020704, -0.017892571, -0.0024177667, 0.026560659, 0.057367507, -0.030806849, 0.041788377, 0.026443522, 0.008170257, 0.045946717, 0.01019818, -0.015447351, -0.023646893, 0.012028435, -0.024320425, 0.0015721889, 0.009941944, 0.015491277, 0.07812992, 0.022988, -0.021025967, -0.015022731, -0.017145827, -0.021992343, -0.04814302, -0.0070354994, 0.04079272, 0.0051796213, 0.012152893, -0.014737212, 0.0022621949, -0.0040851287, -0.047850184, -0.011332938, 0.058919564, -0.031861078, -0.0053150603, -0.011084023, 0.020952757, 0.008419172, -0.0031077727, -0.006010557, 0.012335918, -0.03309101, -0.013060698, -0.031626802, -0.03812787, -0.0054029124, 0.014825065, 0.015315573, -0.008829149, 0.0057360185, 0.0013351709, 0.019327492, 0.013682986, 0.006973271, -0.011245086, 0.0054614805, -0.024759687, -0.048377298, -0.013895295, -0.010307996, -0.0053809495, -0.0029393893, 0.0077090333, 0.029928327, 0.012665364, -0.008111689, -0.011720952, 0.015915897, -0.013192477, 0.04905083, 0.006911042, -0.04969508, -0.021143105, -0.011713631, -0.013924579, 0.026955994, -0.027029203, -0.0232662, -0.018639315, 0.02026458, 0.049753647, 0.029825833, 0.018097559, -0.04070487, -0.012884994, -0.010710651, -0.0046305447, -0.003195625, -0.029269436, 0.0106301205, 0.0045573344, 0.0046122423, -0.039562788, -0.009824808, 0.036370825, -0.025769988, 0.05329702, -0.0043633278, -0.0012107135, 0.005666469, 0.007701712, -0.0078115277, -0.008375246, -0.020659916, -0.0038801404, -0.03719078, -0.0015593772, 0.013294972, 0.016340515, 0.010534947, -0.025257517, 0.024950035, 0.030426156, 0.05320917, 0.023192989, 0.008982891, 0.001357134, 0.003426237, -0.018844305, 0.008155616, -0.0026630207, 0.04553674, -0.022373036, 0.03628297, 0.022914791, 0.011267049, 0.0030052785, 0.019268923, 0.023236915, 0.022299824, -0.005768963, 0.044248242, -0.035726573, -0.0072075436, -0.007427174, 0.014027073, 0.008111689, -0.012013793, -0.05004649, 0.011816125, -0.00855095, -0.005278455, -0.007504045, -0.013704948, 0.0048648175, 0.011406148, 0.01694084, 0.010512983, 0.0028112715, -0.029269436, -0.0058714575, -0.0015419897, -0.0059373467, -0.002957692, 0.029942969, -0.03610727, 0.0060947486, 0.006336342, 0.005223547, -0.033852395, -0.00351958, -0.008316678, -0.006149656, 0.020498855, -0.026765646, 0.023324767, -0.014898274, 0.021245599, 0.006728017, 0.006936666, -0.0015392443, -0.015681624, 0.0015968974, 0.06788049, 0.022241257, -0.002930238, -0.005249171, -0.01903465, 0.014956842, 0.0028039503, 0.041407686, -0.008075085, -0.01587197, -0.009180558, 0.020162087, 0.0151398685, 0.029474424, 0.03288602, -0.013419429, -0.0016536353, 0.044863205, 0.031128975, -0.0041693207, 0.016545504, 0.014524902, 0.009026817, -0.01594518, 0.012343239, 0.039943483, 0.01759973, -0.017921856, 0.055054065, 0.04102699, -0.001379097, -0.019107861, -0.0035744878, 0.007870096, -0.03525803, -0.030894702, -0.033003155, 0.020703843, 0.010176217, 0.00010300903, -0.020235298, 0.000054392887, 0.014122247, -0.0100297965, -0.012906957, 0.051188566, 0.0007632163, 0.00018176719, 0.02306121, 0.019151786, 0.021963058, 0.013866011, -0.027893083, -0.0015785948, 0.004187623, -0.01953248, -0.006493744, 0.02155308, 0.012160213, -0.0045719766, -0.019693542, -0.014883633, -0.0026721722, 0.0045573344, -0.010666725, -0.03777646, 0.0021285864, 0.0010734445, -0.0014797611, 0.012013793, -0.017629014, -0.014568829, 0.017936498, -0.010359243, 0.0025879804, 0.01844897, 0.015418067, 0.020088878, 0.01896144, 0.031773224, 0.030689713, 0.013390144, -0.03130468, -0.01881502, -0.0056115612, 0.028449481, 0.025872482, 0.023925092, -0.03391096, 0.0005843089, -0.020001026, 0.0096491035, 0.053267736, 0.027688095, -0.044921774, 0.023837239, -0.0028625187, 0.036458675, 0.020484213, -0.038040016, 0.007024518, -0.0049050828, -0.00251294, 0.006479102, -0.06448354, -0.013587812, -0.03341313, -0.0021450587, 0.03203678, 0.028859459, 0.015344856, -0.015549845, 0.007390569, 0.025652852, 0.0009645443, 0.01112795, 0.00061588077, 0.024627909, 0.0019876568, -0.022651235, -0.0025074491, 0.002723419, 0.0064681205, 0.005534691, 0.003964332, 0.016647998, -0.016545504, -0.025916409, -0.0023225935, 0.005377289, -0.0077602807, 0.009078064, 0.042608332, 0.005047843, 0.014480976, 0.01644301, -0.020923473, -0.0627265, 0.030777566, 0.021538438, 0.012196818, 0.041202698, -0.027556317, 0.0037703249, 0.011040097, -0.021435944, 0.015549845, -0.015491277, -0.00028140168, -0.0058934204, -0.011105986, -0.009253768, 0.0033896319, 0.05077859, 0.0022951395, 0.021084536, -0.008785224, -0.026399596, 0.010857072, -0.025667494, 0.019268923, -0.0061350144, 0.0010295183, 0.0112231225, 0.02916694, 0.0056701293, 0.026355669, 0.0007870096, -0.0021889848, 0.012987488, -0.0147591755, -0.011523285, -0.0011795992, -0.019488554, -0.0003244127, -0.007350303, -0.030162599, 0.03437951, -0.020235298, 0.008536309, -0.015271646, -0.022929432, 0.011962546, 0.0153009305, 0.027058488, 0.03051401, 0.04272547, -0.002714268, 0.004209586, -0.030279737, 0.009217164, -0.0439554, 0.012833747, 0.018522179, 0.007375927, 0.043428287, -0.016926197, -0.004469482, 0.029547634, 0.018932156, -0.021304166, -0.0012162044, 0.021216314, 0.024291143, -0.0102494275, -0.006449818, -0.008001874, -0.0030510349, -0.008931643, -0.013104625, 0.018214697, -0.0011805143, 0.017014049, 0.038742833, 0.029064447, 0.00847774, 0.0053150603, -0.00825811, -0.030982554, -0.00008504966, -0.018419685, 0.00789938, 0.03610727, 0.015330215, 0.010871714, 0.004473143, 0.047674477, 0.0033713295, -0.005062485, 0.023456546, 0.034877338, -0.027409896, -0.020806337, 0.018331833, -0.01522772, 0.012884994, -0.0015191116, -0.0056079007, -0.011860051, 0.013060698, -0.040382743, 0.0196789, -0.0058421735, 0.021304166, -0.062433653, 0.06875902, 0.023295484, 0.03124611, -0.03353027, 0.015681624, 0.012211461, -0.0018275095, -0.03481877, -0.017995065, 0.020147445, -0.059593096, 0.0070135365, -0.01199183, -0.034028098, 0.026355669, -0.016164811, -0.04588815, 0.03174394, -0.00095630815, -0.0022896489, -0.0039387085, -0.03437951, -0.007068444, 0.0073869084, -0.014195456, -0.01098885, 0.036605097, -0.02585784, -0.027849158, -0.025535716, 0.009466078, -0.021963058, 0.0063985707, 0.0028863118, -0.021860564, 0.021143105, 0.020879548, -0.025931051, -0.011149912, -0.013397465, 0.040968426, -0.0027325705, -0.011903978, 0.015901254, -0.030426156, -0.025067171, 0.023002643, 0.0072953957, -0.008353283, -0.0074601187, 0.00430842, 0.0265753, -0.018917514, 0.0065047257, 0.021172388, -0.012006472, -0.010234785, 0.02413008, -0.0054541593, 0.020791695, -0.0017753472, -0.021567723, 0.033149574, 0.010154254, 0.0065523125, 0.02757096, 0.015242362, 0.0055566537, 0.0005106411, 0.017687583, 0.007353964, -0.0077309962, 0.01909322, -0.02692671, 0.019942457, -0.019473912, 0.005358986, 0.00739789, 0.0024397296, 0.025579643, 0.010996171, -0.0066108806, 0.012152893, -0.00029604373, -0.024232574, 0.020630633, 0.029181583, 0.013712269, 0.027483108, -0.020894188, -0.004374309, -0.0023903127, 0.005831192, 0.0491094, -0.0037886275, -0.014781138, 0.031275395, -0.0040375423, 0.00067033083, 0.008982891, 0.024876824, 0.011325617, 0.018844305, -0.007240488, -0.024232574, -0.010476379, 0.0016701076, 0.024818256, 0.004674471, 0.014576149, -0.0019290886, 0.010857072, 0.014202777, -0.0183904, 0.002026092, -0.038332857, -0.030601861, -0.009275732, 0.0077968854, 0.0017030521, 0.013756195, -0.018624673, 0.0059410073, 0.013902616, -0.027409896, -0.014905595, 0.051305704, 0.006479102, -0.0076870704, -0.020279223, -0.042696185, -0.05072002, -0.042491198, -0.0019016347, -0.028332345, 0.013558527, 0.00039693652, 0.017716866, -0.036224402, -0.001989487, -0.035023756, -0.006361966, -0.02004495, -0.023178346 ]
2310.12397
27
[8] Subbarao Kambhampati. Can LLMs Really Reason and Plan?, 2023. Available at https: //cacm.acm.org/blogs/blog-cacm/276268-can-llms-really-reason-and-plan/ fulltext. [9] Takeshi Kojima, S. Gu, Machel Reid, Yutaka Matsuo, and Yusuke Iwasawa. Large Language Models are Zero-Shot Reasoners. ArXiv, May 2022. [10] Zhan Ling, Yunhao Fang, Xuanlin Li, Zhiao Huang, Mingu Lee, Roland Memisevic, and Hao Su. Deductive verification of chain-of-thought reasoning. arXiv preprint arXiv:2306.03872, 2023. [11] Aman Madaan, Niket Tandon, Prakhar Gupta, Skyler Hallinan, Luyu Gao, Sarah Wiegreffe, Uri Alon, Nouha Dziri, Shrimai Prabhumoye, Yiming Yang, Shashank Gupta, Bodhisattwa Prasad Majumder, Katherine Hermann, Sean Welleck, Amir Yazdanbakhsh, and Peter Clark. Self-refine: Iterative refinement with self-feedback, 2023.
2310.12397#27
GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems
There has been considerable divergence of opinion on the reasoning abilities of Large Language Models (LLMs). While the initial optimism that reasoning might emerge automatically with scale has been tempered thanks to a slew of counterexamples, a wide spread belief in their iterative self-critique capabilities persists. In this paper, we set out to systematically investigate the effectiveness of iterative prompting of LLMs in the context of Graph Coloring, a canonical NP-complete reasoning problem that is related to propositional satisfiability as well as practical problems like scheduling and allocation. We present a principled empirical study of the performance of GPT4 in solving graph coloring instances or verifying the correctness of candidate colorings. In iterative modes, we experiment with the model critiquing its own answers and an external correct reasoner verifying proposed solutions. In both cases, we analyze whether the content of the criticisms actually affects bottom line performance. The study seems to indicate that (i) LLMs are bad at solving graph coloring instances (ii) they are no better at verifying a solution--and thus are not effective in iterative modes with LLMs critiquing LLM-generated solutions (iii) the correctness and content of the criticisms--whether by LLMs or external solvers--seems largely irrelevant to the performance of iterative prompting. We show that the observed increase in effectiveness is largely due to the correct solution being fortuitously present in the top-k completions of the prompt (and being recognized as such by an external verifier). Our results thus call into question claims about the self-critiquing capabilities of state of the art LLMs.
http://arxiv.org/pdf/2310.12397
Kaya Stechly, Matthew Marquez, Subbarao Kambhampati
cs.AI
18 pages, 3 figures
null
cs.AI
20231019
20231019
[ { "id": "2206.10498" }, { "id": "2306.03872" }, { "id": "2303.11366" } ]
{ "authors": "Kaya Stechly, Matthew Marquez, Subbarao Kambhampati", "chunk_id": 27, "doc_id": "2310.12397", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12397", "summary": "There has been considerable divergence of opinion on the reasoning abilities\nof Large Language Models (LLMs). While the initial optimism that reasoning\nmight emerge automatically with scale has been tempered thanks to a slew of\ncounterexamples, a wide spread belief in their iterative self-critique\ncapabilities persists. In this paper, we set out to systematically investigate\nthe effectiveness of iterative prompting of LLMs in the context of Graph\nColoring, a canonical NP-complete reasoning problem that is related to\npropositional satisfiability as well as practical problems like scheduling and\nallocation. We present a principled empirical study of the performance of GPT4\nin solving graph coloring instances or verifying the correctness of candidate\ncolorings. In iterative modes, we experiment with the model critiquing its own\nanswers and an external correct reasoner verifying proposed solutions. In both\ncases, we analyze whether the content of the criticisms actually affects bottom\nline performance. The study seems to indicate that (i) LLMs are bad at solving\ngraph coloring instances (ii) they are no better at verifying a solution--and\nthus are not effective in iterative modes with LLMs critiquing LLM-generated\nsolutions (iii) the correctness and content of the criticisms--whether by LLMs\nor external solvers--seems largely irrelevant to the performance of iterative\nprompting. We show that the observed increase in effectiveness is largely due\nto the correct solution being fortuitously present in the top-k completions of\nthe prompt (and being recognized as such by an external verifier). Our results\nthus call into question claims about the self-critiquing capabilities of state\nof the art LLMs.", "text": "[8] Subbarao Kambhampati. Can LLMs Really Reason and Plan?, 2023. Available at https: //cacm.acm.org/blogs/blog-cacm/276268-can-llms-really-reason-and-plan/ fulltext.\n[9] Takeshi Kojima, S. Gu, Machel Reid, Yutaka Matsuo, and Yusuke Iwasawa. Large Language Models are Zero-Shot Reasoners. ArXiv, May 2022.\n[10] Zhan Ling, Yunhao Fang, Xuanlin Li, Zhiao Huang, Mingu Lee, Roland Memisevic, and Hao Su. Deductive verification of chain-of-thought reasoning. arXiv preprint arXiv:2306.03872, 2023.\n[11] Aman Madaan, Niket Tandon, Prakhar Gupta, Skyler Hallinan, Luyu Gao, Sarah Wiegreffe, Uri Alon, Nouha Dziri, Shrimai Prabhumoye, Yiming Yang, Shashank Gupta, Bodhisattwa Prasad Majumder, Katherine Hermann, Sean Welleck, Amir Yazdanbakhsh, and Peter Clark. Self-refine: Iterative refinement with self-feedback, 2023.", "title": "GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems", "year": 2023 }
[ 0.0017837082, 0.030674929, 0.016377527, -0.00025503215, 0.003778896, 0.03633287, -0.04418188, 0.048730426, -0.026431471, 0.036804367, 0.03832979, -0.036693428, 0.007585527, 0.03317108, 0.00834824, -0.02136983, 0.025738096, -0.037192658, 0.027762752, 0.07693694, 0.010996934, -0.021910664, 0.002213601, 0.007467653, 0.047121793, -0.015836695, -0.009887533, 0.01174578, -0.015781224, -0.015337464, 0.07305403, -0.028678007, -0.058742765, 0.008098625, -0.079100266, 0.056912255, -0.0010513305, -0.042989276, -0.001806243, -0.0072665745, 0.009901401, -0.04490299, -0.027443798, 0.006718808, 0.01714024, 0.038745817, -0.016460732, 0.021661049, -0.030896809, 0.04307248, -0.054721188, -0.00236441, 0.0082372995, 0.0031513912, -0.05510948, -0.021217288, -0.014893704, 0.01675195, 0.014103256, -0.036915306, 0.0085077165, -0.06783985, -0.017639471, 0.03411407, -0.04653936, -0.04079821, -0.030563988, -0.00030638525, 0.039577868, 0.038385265, 0.025807433, 0.017736543, 0.05485986, 0.004399467, -0.0035916846, -0.00000979799, 0.0422959, 0.06772891, -0.018582461, -0.006791612, -0.01691836, 0.025460746, 0.041020088, -0.051614866, -0.012674903, -0.011731912, -0.0053355237, 0.024864443, -0.08364881, -0.03852394, 0.003442609, -0.000068958354, -0.016114045, -0.0004788624, 0.076382235, 0.018388316, 0.027110979, 0.010088612, 0.037691887, 0.0074953884, -0.039577868, -0.039688807, 0.021203421, -0.0052904543, 0.013853641, 0.009201092, 0.00078091404, -0.01087906, -0.001114601, -0.008916808, -0.12447476, -0.010664114, -0.032810524, -0.015379067, -0.05125431, -0.060628746, -0.033919927, 0.034335952, -0.06279208, 0.020828998, 0.01213407, -0.004635215, 0.026403736, -0.01630819, 0.013742701, 0.011766581, 0.0145470165, -0.040437654, 0.010698782, -0.0026018913, 0.021674916, 0.0042677256, 0.007668732, 0.0058312872, -0.03422501, -0.040271245, -0.036665693, -0.02275658, -0.0137357665, -0.034086335, 0.029870613, 0.006659871, -0.026736556, 0.008722663, -0.014838234, 0.016432997, -0.0068020127, -0.007953016, 0.014061653, 0.008986145, -0.04046539, -0.030924544, 0.037996974, 0.020066284, -0.010497704, -0.061294388, -0.017278915, 0.03600005, 0.05632982, -0.047648758, 0.039716545, 0.038440734, -0.009748858, 0.032533176, 0.0028584402, 0.020024681, -0.010456101, 0.014505413, -0.058132596, -0.04509714, -0.022354424, 0.0030023155, -0.035694968, -0.015808959, 0.023616366, -0.004510407, 0.02371344, -0.030009288, 0.012161804, -0.035805907, -0.006451858, 0.02683363, -0.062070966, -0.009422972, -0.031645656, 0.011551634, 0.04346077, 0.014990777, -0.002735366, 0.012127136, -0.014671824, 0.034973856, 0.045180343, 0.039577868, 0.030286638, -0.029898347, 0.018208038, -0.008355174, 0.029842878, -0.030120227, 0.008265035, 0.008167963, -0.003170459, -0.0225347, 0.031423774, 0.0072665745, 0.03134057, -0.005813953, -0.03283826, -0.017875219, 0.040437654, -0.01904009, 0.012765042, 0.021952266, -0.014949174, 0.003948773, -0.018485388, -0.025973843, 0.01171111, 0.029620998, -0.0013780836, 0.00993607, 0.042379104, -0.015032379, -0.0312851, 0.039050903, 0.043849062, 0.009429906, 0.0062403786, -0.017070903, 0.042545516, -0.030453049, -0.030092493, -0.012986922, -0.0038170316, -0.036471546, 0.0052280505, -0.024060126, 0.030231168, -0.05455478, 0.023963055, 0.004000776, 0.02326968, 0.0012723439, 0.050671875, 0.027887559, -0.016613275, -0.060573276, 0.015614814, -0.0067257416, 0.021383697, -0.014228064, 0.00032003608, -0.017375987, -0.037664153, -0.039827485, -0.034641035, -0.03985522, -0.032755055, -0.003917571, -0.007218038, -0.0047253533, -0.023020064, 0.00840371, 0.009693388, 0.005363259, -0.03145151, 0.073553264, 0.018637931, -0.019386776, -0.0032796657, 0.0018998487, -0.02661175, -0.021078613, -0.025959976, -0.029870613, 0.039577868, 0.029315913, -0.038551673, 0.011454562, 0.0072943093, 0.031701125, 0.06584293, 0.048785895, -0.009000013, 0.006268114, -0.0007635797, -0.02683363, -0.050449993, -0.009582448, 0.08032061, -0.029121768, 0.0041186498, -0.059297465, -0.011794316, -0.001741239, 0.022146411, -0.015240392, 0.008063956, 0.02349156, 0.03450236, -0.0016094977, -0.0029069765, -0.01087906, 0.009977672, 0.025072455, 0.0078004734, -0.0021563976, 0.059352934, 0.019567054, 0.033587106, -0.009686454, -0.03891223, 0.02014949, -0.024545489, -0.037802827, 0.030536253, -0.009665653, 0.0106017105, -0.009637918, -0.0029312447, -0.001905049, 0.03744227, 0.015046246, 0.0019345174, 0.057300545, 0.014228064, -0.028095571, 0.0312851, -0.031812064, 0.017944556, 0.07100164, 0.014560884, -0.012036997, -0.011627906, -0.044819787, -0.048591748, 0.0445147, 0.014339004, 0.014283533, -0.05455478, 0.009395237, -0.036221933, -0.0017377721, -0.031923003, 0.060184985, -0.019303571, 0.013063192, 0.06484447, 0.03688757, -0.01714024, -0.07810181, 0.028428392, 0.010927596, -0.030785868, 0.012855181, -0.03217262, -0.061571736, 0.0027544338, 0.010518505, 0.011912189, 0.03084134, 0.018388316, 0.021134082, -0.013007723, 0.024087861, -0.07577206, -0.013784303, 0.031701125, 0.013784303, 0.040326715, -0.0077380696, -0.019955344, 0.016266588, -0.029454587, -0.019414512, -0.021383697, -0.009069351, 0.0004714953, 0.0483144, -0.018818209, -0.00137375, -0.019442247, -0.05505401, -0.018499255, 0.022784317, -0.007356713, -0.008882139, 0.028234247, -0.02443455, -0.034419157, -0.009658719, -0.036610223, 0.04898004, 0.015559345, 0.01847152, 0.02342222, 0.051725805, 0.033254284, 0.014255798, -0.017542398, 0.0039626407, 0.01324347, -0.005307789, -0.002392145, 0.049839824, 0.015281994, 0.03306014, 0.002055858, 0.024476152, 0.024184935, -0.03788603, 0.038107913, -0.0035310143, -0.013333609, -0.023325149, 0.044681113, 0.06528823, 0.054305162, 0.051420722, 0.0034391421, -0.01891528, -0.021050878, -0.077158816, -0.0030369842, 0.006209177, 0.01802776, -0.036194198, 0.03747001, -0.06889378, -0.04892457, 0.046761237, 0.067784384, -0.035805907, -0.0050061704, -0.04113103, 0.043044746, 0.0009083218, -0.020565515, -0.029815143, 0.000065708155, -0.015573212, -0.038579408, -0.015559345, -0.015060114, 0.018610196, -0.043211155, -0.031645656, 0.014075521, -0.022049338, 0.021023143, -0.0071417666, 0.032144886, 0.023533162, -0.011315887, -0.02148077, 0.058909174, -0.02543301, 0.023131004, 0.040104833, 0.016654877, 0.02159171, -0.025627155, -0.032255825, -0.011724979, -0.002960713, -0.023033932, -0.00037333934, -0.023061667, -0.018083232, 0.021882929, -0.017389856, -0.0067777447, -0.0323945, -0.014422209, 0.03106322, 0.014463811, -0.06268114, -0.005234984, -0.03694304, -0.004916032, -0.013028524, 0.045568634, 0.023089401, 0.034474626, 0.00024831507, -0.03084134, 0.016016971, 0.004458404, 0.031590182, -0.019858273, -0.024406815, 0.03411407, -0.01669648, 0.019081691, 0.017181844, 0.0080570225, -0.027041642, -0.018374449, -0.00006581649, -0.019622523, -0.0063027823, -0.01530973, 0.009922202, -0.020024681, 0.0035362146, 0.024226537, -0.00020855432, 0.01658554, 0.055081744, -0.020607118, -0.015240392, 0.02537754, 0.00048492942, 0.045818247, 0.050449993, 0.0006704074, 0.02399079, -0.0116625745, 0.017833617, -0.015587079, -0.035972316, 0.02282592, -0.012626367, 0.0117527135, 0.013818972, -0.0051691136, 0.0035448817, -0.024462285, -0.018277375, 0.016280456, 0.0097003225, 0.011364423, -0.0062438454, -0.016613275, -0.018956885, 0.031257365, -0.02342222, -0.022063205, -0.0058763567, 0.0021165283, 0.042379104, -0.002695497, 0.0016190317, -0.0024094796, -0.013174132, -0.00024333144, -0.032921463, -0.0075369906, 0.03796924, 0.031368304, -0.040160306, -0.009852865, -0.023297414, 0.0192065, 0.00054776657, 0.022409894, 0.0005117977, -0.034197275, -0.027346727, 0.0236441, -0.013361344, 0.016904492, 0.015587079, 0.0017871751, 0.015281994, -0.007599395, -0.030425314, 0.044875257, 0.020912202, -0.021855192, -0.034197275, 0.00081601617, -0.011087073, 0.055858325, -0.04357171, 0.036527015, 0.016155647, -0.002648694, -0.010913729, -0.016183382, -0.039661072, -0.017584, 0.001148403, -0.02114795, 0.011191079, 0.006067035, 0.0019397177, -0.020620985, 0.043849062, 0.0049992367, -0.008438379, -0.054000076, -0.0039037035, 0.0033940726, 0.014061653, 0.0060843695, -0.0073081767, 0.0072319056, 0.028927622, 0.0026538945, 0.0032276625, 0.021175684, 0.027873691, -0.024101729, -0.016322058, -0.008119426, -0.0062819812, -0.010525439, -0.0005447331, 0.00148209, -0.012390618, 0.015157186, -0.04068727, -0.022132544, 0.0186934, -0.061349858, -0.027097112, 0.028095571, -0.02136983, 0.02064872, -0.011731912, 0.016446864, 0.0013347476, 0.01824964, 0.004881363, -0.017556265, 0.0019223833, -0.011315887, -0.039078638, -0.005685678, -0.030092493, 0.036277402, 0.005470732, 0.03139604, 0.015906032, -0.003328202, 0.011565502, 0.0068990854, -0.031867534, 0.026694953, 0.0036714228, -0.02064872, -0.036748897, 0.011447628, -0.019955344, -0.010726518, 0.013541622, -0.020995408, -0.01213407, -0.012251943, -0.0516426, 0.030342108, 0.0019206499, 0.010726518, -0.015670285, -0.004877896, -0.019497717, 0.017847484, -0.0048085586, -0.048619483, -0.020218827, -0.015226524, 0.009589382, -0.018845944, 0.027956897, 0.021411432, 0.022506965, 0.043821327, -0.019067824, -0.047260467, -0.018804342, 0.010053944, -0.001599097, 0.003997309, -0.04107556, 0.025890637, 0.008486915, 0.011073206, 0.021869062, -0.023879848, 0.019567054, -0.035251208, -0.038551673, -0.0038031642, 0.0043231957, 0.020274296, -0.018610196, 0.00456241, 0.017320517, -0.004631748, -0.036166463, -0.006628669, -0.0075924606, -0.009811262, -0.03145151, 0.024698032, 0.023228077, -0.015961502, -0.058909174, -0.019248102, -0.007356713, 0.009755792, 0.019289704, 0.009166423, -0.019553186, -0.030536253, 0.024892177, 0.015503874, -0.029981554, -0.016613275, -0.018887546, 0.021355962, 0.020260429, -0.061793618, -0.008826669, 0.008667192, 0.009707256, -0.0013425482, -0.024448417, -0.07804634, 0.016821288, -0.02254857, 0.013049325, 0.028026234, 0.0061259717, -0.009208025, 0.02670882, -0.012952253, -0.020412972, -0.014824366, 0.016377527, 0.0312851, 0.00048016247, -0.018457653, 0.011815117, -0.058188066, 0.009811262, 0.014865969, -0.016849022, -0.023255812, -0.03946693, -0.00044159347, 0.057633363, 0.029288178, 0.004770423, 0.024767369, -0.013957647, 0.00075751264, 0.019886008, -0.012626367, 0.0119329905, -0.015129452, -0.00851465, 0.01686289, -0.02064872, -0.004714953, -0.004822426, -0.03699851, 0.030369842, -0.032865994, 0.012487691, 0.0041914545, -0.025793565, 0.020745793, -0.0050651073, 0.00045502762, -0.014054719, -0.0029347115, 0.010976133, -0.031312834, 0.018291244, -0.0029399118, 0.007224972, 0.022714978, 0.03466877, 0.012071666, 0.039633337, -0.032477703, 0.018776607, -0.02203547, -0.0075439247, 0.009020814, -0.013416815, -0.016793553, 0.009582448, -0.040132567, -0.011329754, 0.019012354, -0.037303597, -0.045319017, 0.016654877, 0.0039349054, 0.0027024306, 0.0041186498, 0.039577868, -0.00014420041, -0.111994, -0.0015860962, 0.023352884, 0.026029313, 0.022645641, -0.008341306, 0.021078613, 0.031617917, 0.0032813991, -0.042933807, 0.036249667, -0.015906032, -0.0020679922, 0.0046386817, 0.013305875, -0.050061706, -0.019580921, -0.018346714, 0.030508518, 0.02805397, -0.021078613, 0.008001552, 0.016627142, 0.054083284, -0.0071833692, 0.0072041703, 0.004676817, 0.027318992, -0.013583224, 0.0022760048, -0.023560897, -0.03061946, -0.014949174, 0.047177263, -0.018610196, 0.006001164, 0.0067777447, -0.022853654, -0.0003243697, -0.020288164, -0.0043855994, -0.02247923, 0.023339016, -0.027859824, 0.021605577, -0.042434577, 0.043821327, -0.023089401, 0.03306014, -0.009048549, -0.031978473, 0.03852394, 0.003581284, -0.004971502, 0.02247923, 0.03996616, 0.0040493123, -0.017445326, 0.053389907, -0.026306663, -0.011655641, -0.014408341, -0.00434053, 0.026015446, -0.014879837, -0.023006197, -0.013077061, 0.025280468, -0.0033507368, -0.03649928, -0.011364423, 0.045429956, -0.024476152, 0.029454587, 0.040326715, -0.008382909, 0.02548848, 0.050893754, -0.01171111, 0.005276587, 0.034807447, -0.015462272, -0.028359054, 0.019553186, -0.020718057, -0.008798934, 0.021688784, 0.02042684, -0.023089401, 0.029787408, 0.023782777, -0.004968035, -0.013846707, 0.009263496, -0.008375975, -0.011960726, -0.006510795, -0.0059595616, 0.029842878, 0.0065523977, -0.019123293, 0.04914645, -0.03278279, -0.0029260442, 0.007696467, 0.0059595616, 0.0057966183, -0.014339004, 0.020066284, 0.009374436, 0.023352884, 0.00068210805, -0.038551673, 0.004735754, 0.012487691, 0.022298953, 0.022520833, 0.021993868, 0.021120215, 0.016779685, -0.0052280505, 0.018305112, -0.022631774, -0.0003384539, -0.034835182, 0.006659871, 0.0021962665, 0.015060114, -0.028428392, -0.02299233, 0.007107098, 0.0020142556, -0.025779698, 0.010913729, -0.027887559, 0.03411407, 0.023311282, 0.03422501, -0.04648389, 0.034918386, 0.0041290508, 0.00091005524, 0.038829025, -0.014852101, 0.0054360633, -0.009214959, -0.025696494, -0.043876797, 0.0031635254, 0.0015921633, 0.027291257, 0.001571362, -0.0023540095, 0.054443836, -0.004142918, 0.0044930726, 0.015184921, -0.0373868, 0.009776593, 0.03189527, 0.020246562, 0.045041665, -0.015587079, -0.015046246, 0.019677995, -0.034973856, -0.0030941877, -0.036027785, -0.035029326, 0.004624814, -0.05677358, -0.016127912, 0.0016615009, 0.042268164, 0.017015433, 0.006743076, -0.005775817, -0.007862877, 0.019747332, 0.017597867, 0.046206538, -0.010033142, -0.045762777, 0.035833642, 0.023699572, -0.00082425005, 0.0026885632, 0.012251943, 0.0017195711, 0.05405555, 0.02042684, 0.00857012, 0.010123281, 0.02320034, 0.009672587, -0.03744227, 0.009589382, 0.03658249, -0.013368278, -0.026154121, -0.023505427, 0.039882954, -0.0186934, -0.008479982, -0.013548556, 0.006344385, 0.009214959, -0.023033932, -0.010483836, 0.016710348, -0.00581742, -0.012771975, -0.036083255, 0.026292795, 0.008486915, -0.010781988, 0.014852101, -0.00019804535, -0.03694304, 0.0082372995, -0.025335938, -0.028248115, -0.044681113, 0.04323889, 0.009915268, 0.013763502, 0.02342222, -0.0035136798, 0.008174896, -0.017570132, 0.023033932, -0.0075924606, 0.023560897, 0.008431445, -0.026778158, -0.037719622, -0.02198, -0.011891388, -0.014172593, 0.018887546, 0.017167976, 0.004031978, -0.005810486, 0.0032744654, 0.009429906, -0.024240404, 0.00456241, 0.011246549, -0.016793553, -0.009956871, 0.01619725, -0.000112131806, 0.017126372, -0.028428392, -0.008493849, -0.025030853, 0.02576583, 0.030092493, 0.02109248, 0.03039758, -0.011024669, 0.011142543, -0.009249628, 0.0074953884, 0.0032692652, -0.002260404, -0.014574751, 0.009651786, -0.010275824, -0.0016398329, -0.061904557, 0.033753514, 0.035140265, 0.0069268206, 0.008979212, -0.0061606406, -0.0044376026, -0.023657968, -0.0063270507, 0.011676442, -0.0340586, -0.008251168, 0.0053701927, 0.0050339056, -0.0025325536, -0.043876797, -0.03178433, -0.00851465, 0.0030560521, -0.034918386, -0.0016667012, 0.015046246, -0.008896006, 0.023255812, -0.032006208, 0.002402546, -0.0038447666, 0.010955332, -0.014741161, -0.037137188, 0.015060114, 0.008618657, -0.0077796723, -0.027665678, 0.0063339844, 0.03594458, 0.012238076, -0.037636418, 0.0076340633, -0.0017681073, -0.037192658, 0.018582461, 0.003454743, -0.01714024, 0.009194158, -0.0058832904, 0.004052779, -0.0038308993, -0.0034460758, -0.018388316, -0.02670882, 0.006715341, 0.0128343785, 0.0021269291, 0.009520045, -0.002960713, 0.004056246, -0.008646391, -0.008230366, 0.009069351, 0.0019033155, 0.0030855206, -0.0026434937, 0.032255825, -0.0043821326, -0.0136456285, -0.013631761, 0.0018755805, -0.0000035853739, 0.004732287, 0.053057086, 0.0067604105, 0.010275824, 0.018887546, -0.009887533, -0.014990777, 0.0013338809, -0.024642562, 0.017819747, -0.021730386, 0.0938553, -0.023657968, -0.019053956, 0.011981527, -0.04742688, 0.03996616, -0.016460732, 0.0107611865, -0.023657968, 0.0071764356, -0.009395237, 0.015073981, -0.008715729, -0.007530057, -0.021120215, 0.0026313597, -0.007391382, 0.0101302145, -0.0015826294, 0.015254259, 0.015947634, 0.023560897, -0.0014838234, -0.020898335, -0.007446852, 0.0035604828, 0.00945764, 0.013617893, 0.0123836845, 0.018332846, 0.023976922, 0.028303584, -0.039189577, 0.047399145, -0.021522373, 0.015184921, 0.0029832476, 0.030009288, -0.006091303, -0.009173357, 0.042878337, 0.003114989, 0.035694968, 0.0046109464, 0.011371356, 0.011357489, -0.014810499, -0.010664114, -0.02838679, 0.0060878363, -0.021855192, -0.021869062, 0.015157186, -0.008251168, -0.0026746956, 0.017181844, -0.0073775146, 0.04401547, 0.017667206, 0.022936858, -0.022104809, 0.023089401, -0.0028723076, 0.0037338266, -0.025127925, -0.038607143, -0.035528556, -0.029149503, -0.026681086, 0.020191092, -0.015587079, -0.023394486, -0.0035639496, 0.014325136, -0.000017158332, 0.0076340633, 0.0096795205, 0.007786606, -0.006566265, 0.021910664, -0.001444821, 0.010352095, -0.023921452, -0.010899861, 0.009145622, -0.005699546, 0.025946109, -0.022174146, -0.012168739, 0.009630985, -0.032588646, 0.010837458, 0.023796644, 0.024365213, 0.0024632162, -0.025724228, -0.008140228, 0.014020051, 0.008174896, 0.0076895333, -0.020052416, -0.010629445, -0.0033732713, 0.009797394, -0.02075966, -0.0038447666, -0.03367031, -0.0020298564, -0.012314348, -0.024587093, -0.009728057, -0.022382159, 0.034363687, 0.004066647, 0.0005421329, 0.016058575, 0.0014084188, -0.009166423, -0.00034842113, -0.03061946, 0.024060126, 0.006587066, 0.018776607, 0.026473073, 0.009845931, 0.018277375, 0.00045026065, -0.004149852, 0.0024406814, -0.015947634, -0.009845931, 0.005134445, -0.0020957272, 0.009117886, 0.041269705, 0.03655475, -0.008105558, -0.017265048, -0.024531621, 0.00012014896, 0.006656404, 0.034141805, 0.022812052, 0.04146385, -0.002241336, -0.030425314, -0.019289704, 0.008271969, 0.0110316025, 0.03134057, 0.0038725017, -0.0053008553, -0.00034972123, 0.015795091, -0.013090928, 0.011801249, 0.0082581015, -0.0073636468, -0.011627906, 0.01324347, -0.0087087955, 0.02532207, -0.014200329, 0.004115183, 0.043349832, -0.02504472, -0.06684139, 0.015462272, 0.0010114614, -0.015767356, 0.000075404576, 0.01324347, -0.01992761, 0.008667192, -0.01614178, -0.04457017, 0.008202631, 0.008486915, 0.020690322, -0.008750398, -0.026625616, -0.0159199, 0.01411019, -0.012210341, -0.031146424, -0.023699572, -0.010338227, 0.01015795, -0.004822426, 0.0018911815, -0.012321281, 0.020260429, -0.030231168, 0.009741925, -0.0006751743, 0.052335978, 0.0019137162, 0.05258559, 0.057633363, 0.013520821, -0.012196474, -0.01819417, -0.021383697, -0.036471546, -0.01171111, 0.013063192, 0.040215775, 0.012251943, 0.00041710865, -0.030064758, 0.008375975, -0.0008095158, -0.008126359, 0.012251943, -0.00428506, 0.008202631, 0.0072735082, 0.00046716168, -0.04653936, 0.004624814, 0.012917584, 0.0075369906, 0.00538406, -0.02198, 0.021064745, 0.041158766, 0.021508506, -0.022798184, 0.017944556, 0.028400658, -0.013860575, -0.01736212, 0.026251193, -0.0061398395, 0.022617906, -0.025668757, 0.014311269, -0.011939924, -0.02598771, -0.0044133347, -0.00862559, 0.023949187, 0.04224043, 0.029177237, -0.025030853, 0.04046539, 0.03538988, 0.019664127, -0.015961502, 0.023907585, -0.016627142, 0.02114795, -0.005668344, -0.020454574, 0.021328228, -0.017667206, -0.03605552, -0.0050373725, 0.02209094, 0.01898462, 0.0025117525, -0.0101302145, -0.021716518, 0.02321421, -0.024725767, -0.0009845931, -0.020288164, 0.049285125, -0.0058278204, -0.020523913, -0.002920844, 0.027665678, 0.0014222863, -0.004454937, 0.007557792, 0.007557792, 0.008646391, -0.015406801, -0.00956858, -0.012217275, 0.032949198, -0.018790474, 0.01992761, 0.003893303, 0.0056544766, -0.019788934, -0.015184921, -0.013763502, 0.039189577, 0.010088612, -0.004035445, 0.011003868, 0.016266588, -0.01680742, 0.014144858, 0.032255825, 0.008036221, -0.028539332, -0.0143667385, 0.030231168, -0.037137188, 0.0054672654, 0.04090915, 0.019830536, 0.008334372, 0.022271218, -0.004409868, 0.033476166, -0.007419117, -0.007911414, -0.009984606, 0.028400658, -0.011939924, -0.0003102855, -0.013791237, -0.027929163, 0.03261638, 0.012792776, -0.027859824, 0.020052416, -0.0034894117, -0.018263508, 0.00538406, -0.0010166618, 0.054305162, -0.005501934, -0.023588631, 0.024073994, 0.008285836, 0.030009288, 0.024143333, -0.014671824, 0.028400658, 0.010948398, -0.016571673, 0.0024181467, 0.0143667385, -0.010234221, 0.052835207, 0.0011527366, -0.02537754, -0.007821275, -0.03538988, 0.0015982303, -0.006992691, 0.020731924, 0.0053944606, 0.00009116803, 0.010504638, 0.021342095, 0.026403736, 0.020801263, 0.022146411, -0.0035778172, -0.00027670013, 0.028539332, -0.004461871, -0.04925739, -0.01653007, 0.02626506, -0.016294323, -0.030203434, 0.040326715, 0.018402183, 0.030813603, -0.0069788233, -0.021508506, -0.014963041, -0.058798235, -0.027110979, 0.015434537, 0.020412972, -0.0016831688, 0.04301701, -0.020385237, 0.021924531, -0.008854404, -0.016932227, -0.030730398, -0.016835155, 0.0005807019, -0.026001578, 0.027416063, -0.025890637, -0.0019137162, -0.015129452, 0.0009715923, -0.011003868, -0.03455783 ]
2310.12773
27
Preference Datasets. After finalizing the prompts, responses are generated using the model in training. These responses are then sent to crowdworkers for labeling. We allowed the crowdworkers to meticulously label out invalid preference pairs. Each prompt will receive between k = 3 ∼ 6 unique responses, leading to C k 2 = k(k − 1)/2 preference pairs, as shown in Figure 3b. Following the annotation scheme we designed in Section 3.1, we obtain decoupled datasets for helpfulness and harmlessness. More details and examples are available in Appendix A. Evaluation Datasets. Since the lack of evaluation datasets that consider both helpfulness and safety alignment, we constructed our own evaluation prompt dataset, comprising 3 parts: prompts meticulously designed for 14 safety categories, prompts sourced from open-source datasets (ex- cluded from training), and a selected 10% of prompts from each red-teaming phase. The definition of the 14 safety categories are detailed in Appendix A.3. 4.2 EXPERIMENT RESULTS 4.2.1 HELPFULNESS AND HARMLESSNESS EVALUATION To rigorously assess the efficacy of our Safe RLHF pipeline along two alignment dimensions — helpfulness and harmlessness — we analyze models from three iterations of Safe RLHF: Beaver- v1, Beaver-v2, and Beaver-v3.
2310.12773#27
Safe RLHF: Safe Reinforcement Learning from Human Feedback
With the development of large language models (LLMs), striking a balance between the performance and safety of AI systems has never been more critical. However, the inherent tension between the objectives of helpfulness and harmlessness presents a significant challenge during LLM training. To address this issue, we propose Safe Reinforcement Learning from Human Feedback (Safe RLHF), a novel algorithm for human value alignment. Safe RLHF explicitly decouples human preferences regarding helpfulness and harmlessness, effectively avoiding the crowdworkers' confusion about the tension and allowing us to train separate reward and cost models. We formalize the safety concern of LLMs as an optimization task of maximizing the reward function while satisfying specified cost constraints. Leveraging the Lagrangian method to solve this constrained problem, Safe RLHF dynamically adjusts the balance between the two objectives during fine-tuning. Through a three-round fine-tuning using Safe RLHF, we demonstrate a superior ability to mitigate harmful responses while enhancing model performance compared to existing value-aligned algorithms. Experimentally, we fine-tuned the Alpaca-7B using Safe RLHF and aligned it with collected human preferences, significantly improving its helpfulness and harmlessness according to human evaluations.
http://arxiv.org/pdf/2310.12773
Josef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji, Xinbo Xu, Mickel Liu, Yizhou Wang, Yaodong Yang
cs.AI, cs.LG
null
null
cs.AI
20231019
20231019
[ { "id": "2302.13971" }, { "id": "2304.05302" }, { "id": "1707.06347" }, { "id": "2305.18290" }, { "id": "2305.10403" }, { "id": "2305.03047" }, { "id": "2211.05100" }, { "id": "2110.08207" }, { "id": "2304.05335" }, { "id": "2107.03374" }, { "id": "2105.04054" }, { "id": "2209.07858" }, { "id": "2305.15324" }, { "id": "2307.09288" }, { "id": "2210.11416" }, { "id": "2212.08073" }, { "id": "2307.12950" }, { "id": "2009.11462" }, { "id": "2307.04657" }, { "id": "2204.05862" }, { "id": "2112.00861" }, { "id": "2209.14375" }, { "id": "2303.00957" }, { "id": "2306.01693" }, { "id": "2305.01937" }, { "id": "2307.15217" }, { "id": "2306.17492" }, { "id": "2112.04359" }, { "id": "1506.02438" } ]
{ "authors": "Josef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji, Xinbo Xu, Mickel Liu, Yizhou Wang, Yaodong Yang", "chunk_id": 27, "doc_id": "2310.12773", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12773", "summary": "With the development of large language models (LLMs), striking a balance\nbetween the performance and safety of AI systems has never been more critical.\nHowever, the inherent tension between the objectives of helpfulness and\nharmlessness presents a significant challenge during LLM training. To address\nthis issue, we propose Safe Reinforcement Learning from Human Feedback (Safe\nRLHF), a novel algorithm for human value alignment. Safe RLHF explicitly\ndecouples human preferences regarding helpfulness and harmlessness, effectively\navoiding the crowdworkers' confusion about the tension and allowing us to train\nseparate reward and cost models. We formalize the safety concern of LLMs as an\noptimization task of maximizing the reward function while satisfying specified\ncost constraints. Leveraging the Lagrangian method to solve this constrained\nproblem, Safe RLHF dynamically adjusts the balance between the two objectives\nduring fine-tuning. Through a three-round fine-tuning using Safe RLHF, we\ndemonstrate a superior ability to mitigate harmful responses while enhancing\nmodel performance compared to existing value-aligned algorithms.\nExperimentally, we fine-tuned the Alpaca-7B using Safe RLHF and aligned it with\ncollected human preferences, significantly improving its helpfulness and\nharmlessness according to human evaluations.", "text": "Preference Datasets. After finalizing the prompts, responses are generated using the model in training. These responses are then sent to crowdworkers for labeling. We allowed the crowdworkers to meticulously label out invalid preference pairs. Each prompt will receive between k = 3 ∼ 6 unique responses, leading to C k 2 = k(k − 1)/2 preference pairs, as shown in Figure 3b. Following the annotation scheme we designed in Section 3.1, we obtain decoupled datasets for helpfulness and harmlessness. More details and examples are available in Appendix A.\nEvaluation Datasets. Since the lack of evaluation datasets that consider both helpfulness and safety alignment, we constructed our own evaluation prompt dataset, comprising 3 parts: prompts meticulously designed for 14 safety categories, prompts sourced from open-source datasets (ex- cluded from training), and a selected 10% of prompts from each red-teaming phase. The definition of the 14 safety categories are detailed in Appendix A.3.\n4.2 EXPERIMENT RESULTS\n4.2.1 HELPFULNESS AND HARMLESSNESS EVALUATION\nTo rigorously assess the efficacy of our Safe RLHF pipeline along two alignment dimensions — helpfulness and harmlessness — we analyze models from three iterations of Safe RLHF: Beaver- v1, Beaver-v2, and Beaver-v3.", "title": "Safe RLHF: Safe Reinforcement Learning from Human Feedback", "year": 2023 }
[ 0.045495424, 0.009994776, 0.08683939, -0.005804221, -0.0073148115, -0.012752936, -0.019989552, 0.027339907, 0.029742634, 0.040945884, 0.000028254148, -0.038898587, 0.013556215, -0.019079644, 0.022349628, -0.052660953, 0.056698672, -0.026714345, -0.0376759, 0.039012328, -0.016079789, 0.021894673, 0.027410993, -0.0060779043, -0.012369068, -0.035856083, 0.03093689, 0.0051964307, 0.0103217745, -0.032614533, 0.043988388, -0.03639634, -0.044073693, 0.016932828, -0.03375192, 0.027880166, 0.004865878, 0.016548961, -0.011466268, 0.014082256, 0.014551427, 0.001781608, -0.034235306, -0.012966196, -0.03082315, 0.030169154, 0.030396631, 0.0032095602, 0.014601188, 0.016108224, -0.04839576, 0.046831854, -0.0012120266, -0.036311038, 0.021567674, -0.010179602, -0.02138285, 0.014238646, -0.006340925, -0.038983893, 0.021539241, -0.024212096, -0.038472068, -0.008992455, -0.010911793, -0.030197589, -0.076147966, -0.030254457, 0.032642968, 0.029572027, 0.033097923, 0.035372693, 0.05746641, 0.00822472, -0.025562743, 0.015525314, 0.045125775, 0.019719424, -0.03591295, 0.010023211, -0.007769766, -0.01114638, -0.011444943, -0.058006667, -0.02371449, -0.03093689, -0.039979104, -0.016463658, -0.073418245, -0.029799504, -0.053599298, -0.005473668, -0.0184683, 0.026344694, 0.018354561, -0.03136341, -0.0015452451, -0.020202812, 0.034775566, 0.048594803, 0.021894673, -0.04233918, -0.024539094, 0.0025822208, 0.024922963, -0.004716596, 0.034661826, 0.04663281, 0.00732192, -0.0053883647, -0.046974026, 0.00411236, -0.062101256, 0.025989262, 0.027041344, -0.039666325, -0.084394015, -0.05937153, 0.026230955, -0.041201796, -0.045267947, 0.0032060058, 0.028960682, -0.03454809, -0.021027416, 0.020785723, 0.010250688, -0.040348757, -0.023842447, -0.04467082, -0.029628895, 0.037533727, 0.021510806, 0.00055536407, -0.05189322, 0.014544318, -0.04057623, -0.0041692294, -0.024268966, -0.03560017, 0.0028505728, -0.028747423, -0.028733205, 0.03412157, -0.04356187, -0.012091831, -0.02143972, 0.036709122, -0.044642385, 0.022534452, -0.034349047, 0.013741041, -0.032614533, -0.015070359, -0.027951252, -0.03136341, 0.002045517, 0.01868156, -0.012688958, -0.0746125, 0.006209415, 0.008601479, -0.032557663, -0.0041194684, -0.0063480334, 0.040604666, -0.0046668355, 0.0061561, -0.06932365, -0.02361497, 0.028335119, 0.010513708, -0.02233541, -0.029173942, -0.03926824, -0.034633394, -0.036737558, -0.024695486, -0.005750906, -0.015027707, 0.014409254, 0.016079789, -0.01151603, 0.005199985, -0.020942112, 0.015567966, -0.02753895, -0.0048516607, -0.032756705, -0.03707877, -0.004769911, 0.023273753, 0.06653706, 0.0045353253, -0.0066501517, -0.039239805, 0.014572754, 0.059542138, 0.018539386, -0.0220795, -0.004759248, 0.031135932, 0.0068243137, -0.06261308, 0.017686347, -0.0042474247, -0.05931466, 0.0017176301, -0.019093862, -0.020871026, 0.044215865, 0.04691716, 0.032642968, 0.057864495, -0.008715217, 0.013115478, -0.051210787, 0.011459161, 0.0027706004, 0.01984738, -0.0033392932, 0.018240822, 0.05305904, -0.014416363, -0.028235598, 0.055532854, 0.010364426, -0.023870882, 0.034633394, -0.085133314, 0.0116368765, 0.009866821, -0.02233541, -0.016733786, -0.011771942, -0.0021272665, 0.044812992, -0.024311617, 0.02328797, -0.036652252, 0.034946173, 0.010926011, 0.016847525, -0.018638907, 0.028548378, 0.017842738, -0.0037746986, -0.019292904, -0.017999128, -0.012184244, 0.02276193, -0.011473377, 0.020544028, -0.042538222, -0.044159, -0.0036538513, -0.007634701, 0.015240967, -0.014814448, 0.009333671, -0.040661536, 0.069608, 0.0008272703, 0.059542138, -0.0054203533, 0.014601188, -0.0009187943, -0.01575279, -0.055248506, -0.0024098358, -0.007012693, 0.021269111, 0.016620047, 0.01660583, -0.060452048, -0.0057437974, 0.024851875, 0.02928768, -0.020885244, -0.033496007, -0.040604666, -0.0030638326, 0.0340647, -0.015070359, 0.0001630549, 0.013876105, 0.005978383, -0.005036486, 0.0016794209, -0.015582183, 0.0088005215, -0.037164077, 0.071541555, -0.03412157, 0.013748148, -0.003586319, 0.018653125, -0.014451906, -0.009539822, -0.010755403, 0.008736543, 0.035685476, -0.04430117, 0.021880455, 0.050841138, -0.025591176, -0.012717393, 0.0045921947, 0.011942549, 0.017672129, 0.013278977, 0.021510806, -0.006874074, 0.009731756, -0.016591612, -0.058006667, 0.044983603, -0.00790483, 0.028861161, 0.0011222797, -0.021240676, -0.0133642815, 0.018965906, 0.0033748364, 0.003934643, -0.04967532, -0.022534452, 0.0014306179, -0.039836932, -0.022491802, -0.014857099, -0.0095966915, 0.017003914, 0.016079789, 0.01623618, -0.09224197, -0.028235598, 0.0101156235, 0.020344986, 0.03412157, -0.053087473, -0.024866093, -0.013520672, 0.013705497, -0.02928768, 0.008018569, -0.00023125361, 0.03787494, 0.054367032, 0.045410123, -0.017686347, -0.0077910917, -0.021738283, 0.0036431884, -0.050698966, -0.012447264, -0.026501086, -0.03469026, 0.0022569997, 0.018283473, 0.009902364, 0.026728563, 0.010264905, 0.015184098, 0.036168862, 0.039325107, -0.04680342, -0.0027972579, -0.019648336, -0.022534452, 0.0054843314, 0.033496007, -0.0075636143, 0.005786449, -0.059542138, 0.032443926, 0.0052177566, 0.0056904824, -0.00044362483, -0.0059819375, -0.020074856, -0.03412157, -0.049476273, -0.01889482, 0.015056143, 0.059030313, -0.018582039, 0.0012848903, -0.042680398, -0.021254893, 0.020643549, -0.030595673, -0.0011107281, -0.019875813, 0.0098383855, -0.017999128, -0.042538222, 0.04700246, 0.05479355, 0.04876541, -0.00091346283, -0.033097923, -0.057494845, 0.06249934, -0.026870735, 0.03750529, -0.029259246, 0.0166627, 0.019648336, -0.0011027309, 0.036168862, -0.02340171, 0.006404903, -0.022633974, -0.006376468, -0.027311472, 0.024311617, -0.012738719, 0.013520672, 0.03909763, 0.008736543, -0.041088056, -0.0047343676, -0.0041941097, -0.017274044, 0.013492237, 0.010670099, -0.01639257, 0.0012449041, -0.04097432, -0.019335555, 0.08399593, 0.029884808, -0.009824168, -0.047514286, 0.007684462, 0.05703989, -0.012596546, -0.018226605, 0.018013345, 0.044073693, -0.04373248, -0.0370219, 0.029429853, -0.0037320466, -0.020032205, -0.0013693057, 0.014757578, -0.01963412, 0.0025395688, -0.04037719, 0.017899606, 0.029884808, 0.010314666, -0.007663136, -0.011267226, 0.033126358, -0.026629042, 0.045609165, -0.0005340381, 0.03596982, 0.024439573, -0.009667777, 0.02392775, 0.015937617, 0.015695922, -0.0340647, -0.007073117, -0.02806499, -0.027083995, 0.0009196829, -0.047997672, 0.026557954, -0.016150877, -0.03136341, -0.0028647901, -0.0040661534, 0.009219932, 0.05104018, -0.0128808925, 0.024652833, -0.0029323224, -0.0018980122, 0.015838094, 0.038500503, 0.062158126, 0.03389409, 0.004499782, 0.002690628, 0.004961845, 0.047457416, 0.009632234, 0.011828811, -0.017003914, 0.004059045, -0.01862469, 0.011551573, 0.017174523, 0.005473668, -0.0072081815, 0.0024933626, 0.00053625955, -0.0018287029, 0.023216885, 0.04657594, 0.013868996, 0.046234727, -0.003307304, -0.014842883, 0.0070553455, -0.005175105, 0.013456694, -0.031477146, -0.015255185, -0.014743362, 0.016861742, -0.0056300587, -0.005416799, -0.015169881, 0.040718406, 0.003188234, -0.0041443487, -0.0006073462, 0.016548961, -0.02010329, -0.043277524, -0.039069198, -0.06903931, -0.020131726, -0.04367561, -0.028050773, 0.016150877, 0.013257652, 0.00038253478, -0.04700246, -0.0038173506, 0.009468735, -0.02307471, -0.014985056, -0.038528938, 0.035003044, 0.009582474, 0.0035489986, -0.008772086, 0.02303206, -0.017970692, 0.047201503, -0.011587116, -0.0020224138, 0.002992746, 0.0075991577, -0.026401564, -0.023899315, -0.03130654, -0.007012693, -0.004954736, -0.010854924, -0.032131143, 0.0057366886, 0.0009596691, -0.009404757, 0.0016847525, 0.02350123, -0.002335195, -0.01687596, 0.02006064, 0.04461395, 0.056954585, 0.00546656, 0.022619756, -0.03736312, -0.0210132, 0.029486723, -0.056385893, 0.020998983, -0.010698534, -0.0037498183, -0.02488031, -0.0026106555, 0.009873929, -0.024738137, -0.028534163, -0.017473087, 0.021084286, -0.03432061, -0.020998983, 0.027439428, -0.0017940481, -0.029572027, -0.011210357, 0.01602292, -0.012042071, 0.03724938, 0.024226313, -0.0235581, -0.0012582329, 0.0020615114, -0.023785576, -0.013143913, -0.02456753, 0.006504424, -0.008374002, 0.024738137, -0.02806499, -0.017117653, 0.023060493, 0.002560895, -0.0024702593, 0.027226169, 0.005512766, -0.013506454, -0.01984738, -0.013513563, 0.01315813, 0.0054843314, -0.02350123, -0.009120411, 0.0051502245, 0.0031473592, -0.034405917, -0.027937034, 0.007364572, 0.012866675, 0.003003409, 0.021510806, -0.001798491, 0.011850136, -0.022264324, -0.023472795, -0.013129695, -0.055618156, 0.0121558085, 0.007698679, -0.023046276, -0.022264324, 0.04600725, 0.02775221, 0.011956766, -0.016193528, -0.012219787, -0.010847815, 0.025249962, -0.025477437, -0.0747831, 0.027581602, -0.010762512, 0.017387783, -0.009966342, -0.005761569, -0.038329896, -0.06284056, -0.02276193, -0.015724357, -0.028420424, 0.021510806, 0.0025466776, -0.027894383, 0.020558245, 0.00018826842, 0.014956621, -0.023046276, 0.0061987517, -0.038073983, 0.01942086, -0.018226605, 0.0058504273, 0.007556506, 0.034946173, 0.015155664, -0.026060348, -0.026017696, -0.023088928, 0.011899897, 0.012589437, -0.0026444215, -0.028150294, 0.012760045, -0.0012013636, -0.0027706004, 0.025178874, -0.033780355, 0.045410123, -0.05098331, -0.047997672, 0.013079935, 0.00012806695, 0.027624253, -0.0037142748, -0.0057651233, 0.029458288, -0.008160742, -0.016094007, 0.0333254, 0.023899315, -0.016250398, 0.06170317, -0.007272159, 0.039438847, -0.013591758, -0.04663281, -0.037164077, 0.011238792, 0.010570577, -0.00022458924, -0.0129164355, -0.048623234, -0.018965906, 0.03651008, 0.028804291, -0.019435078, -0.009568256, 0.006621717, -0.011338313, 0.010975772, -0.0017798308, 0.01745887, -0.007911939, 0.025136223, 0.01718874, -0.034405917, -0.050329313, -0.012553894, -0.042794134, 0.026444215, -0.008878716, 0.014323951, -0.03082315, 0.009148845, -0.018382994, -0.023487013, 0.043021612, 0.033552878, -0.00048960897, 0.013662845, 0.006131219, 0.0016749781, -0.025761785, 0.022591323, -0.017359348, 0.016591612, 0.030993758, 0.0030833813, 0.021340199, 0.017601043, -0.008025677, 0.025463222, -0.0068989545, 0.037590597, -0.0016269946, -0.016165093, -0.01544001, 0.014068038, -0.035458, 0.005544755, 0.03051037, -0.014068038, 0.0034796891, -0.002907442, 0.014686492, 0.056243718, 0.038898587, 0.015724357, -0.0010005439, 0.00077084533, 0.0065008695, -0.008615696, -0.01777165, 0.0029323224, 0.0051075723, -0.009945015, -0.007677353, -0.03596982, 0.033382267, 0.012212678, 0.09684838, -0.037761204, -0.004133686, -0.0318468, 0.00019537708, 0.021823587, -0.023913532, -0.012660524, 0.026031913, -0.021667195, -0.008644131, 0.008942694, -0.0040839254, 0.023885097, 0.025960827, -0.04142927, -0.046291593, 0.01761526, -0.0019459957, -0.0192076, 0.008075438, 0.0031135932, -0.01199231, -0.1288658, -0.030595673, 0.034633394, -0.04748585, -0.0042225444, 0.008480632, 0.012511242, 0.053968947, -0.016748004, -0.041685183, 0.012930653, -0.006888292, -0.016932828, -0.0034725806, -0.0012777817, -0.044414908, 0.0013710828, -0.0105990125, 0.02276193, -0.036993466, -0.0040839254, -0.024041489, -0.0034761347, 0.026103001, -0.033382267, 0.01963412, -0.018582039, -0.019719424, -0.020615114, 0.02579022, -0.023870882, 0.004034165, 0.006760336, -0.0027688232, -0.029799504, -0.0136770625, -0.005004497, 0.0010316443, -0.029401418, 0.034405917, -0.00045762, -0.0053563756, 0.024638616, -0.040661536, 0.050443053, -0.016776439, -0.008324241, 0.007385898, 0.027467864, 0.0071975184, 0.0340647, 0.0067674443, -0.0075422884, -0.032074276, -0.018169735, 0.014672275, 0.03596982, 0.008217611, 0.0123619605, -0.0098028425, -0.049021322, 0.030766282, 0.025107788, -0.01580966, -0.012980414, -0.005750906, -0.021624545, 0.021325981, -0.027368343, -0.03178993, -0.017075002, 0.015340488, -0.0166627, 0.015297837, 0.017729, 0.0012200238, 0.02010329, 0.008139416, -0.04609255, 0.021055851, 0.04993123, -0.015013491, 0.012305091, 0.016193528, 0.00084815203, 0.04026345, 0.042737264, -0.022619756, -0.014238646, 0.02006064, 0.00400573, 0.0010023211, -0.0030975987, -0.029003333, 0.017999128, -0.0068705203, -0.0003121146, -0.0048516607, -0.0043753805, -0.009056433, 0.022520235, -0.000251691, -0.005487886, -0.01257522, 0.0074285497, 0.021567674, 0.011665312, 0.01596605, 0.007933265, 0.015013491, -0.01910808, 0.015767008, -0.008644131, -0.00036231952, -0.00854461, 0.015312054, 0.012269547, 0.022648191, 0.03227332, 0.021411285, -0.0011338313, 0.029799504, -0.028662117, 0.049220365, -0.023060493, 0.0220795, -0.005349267, 0.016762221, -0.0011533801, -0.006913172, 0.03608356, 0.016961263, 0.003445923, 0.000035487763, -0.0076915706, 0.03810242, 0.035685476, -0.039381977, -0.017785868, -0.01103975, 0.00604947, 0.013350064, 0.04970375, -0.003835122, -0.0077271136, 0.0046774982, 0.0053030606, 0.002100609, 0.0020206366, 0.0045495424, -0.034206875, 0.0066394885, -0.020145943, -0.009013781, -0.010627447, 0.04885071, 0.016947046, -0.0442443, -0.016435223, -0.009618017, -0.021126939, 0.025235744, -0.024183663, 0.005839764, 0.033097923, -0.035145216, -0.004531771, 0.010300449, 0.032387055, 0.017913824, -0.020515593, -0.04956158, 0.013072826, -0.0043149567, -0.017231392, 0.056016244, 0.0067887707, 0.013719714, 0.024581747, 0.04105962, -0.028775856, 0.064205416, -0.005999709, 0.007783983, 0.055902503, -0.021681413, 0.0017265158, -0.013691279, 0.018155519, -0.00581133, 0.018880602, 0.008900043, -0.012276656, 0.066195846, 0.029856373, -0.02615987, -0.015255185, 0.006806542, -0.027354125, -0.050016534, 0.013534889, 0.03793181, 0.021553459, -0.009091976, -0.008054112, -0.008985346, 0.011167705, -0.036652252, -0.006955824, 0.020145943, -0.012333525, -0.019136513, -0.039353542, 0.030993758, 0.020714635, 0.014601188, 0.013996952, 0.008231829, -0.0139543, -0.009099085, 0.0026568617, -0.026060348, 0.0020206366, 0.006177426, -0.0019068981, -0.028292468, -0.020572463, -0.008992455, 0.01745887, 0.02091368, -0.010215145, -0.00732192, 0.00017094106, -0.016847525, -0.03596982, -0.03082315, 0.008892934, -0.0093194535, 0.011999418, 0.018382994, 0.023842447, 0.0011142825, -0.007783983, -0.018425647, 0.011921223, -0.034633394, 0.06107761, -0.014466124, -0.024510661, -0.025676481, -0.016435223, -0.016961263, 0.034036264, 0.0050258227, 0.010485274, -0.04686029, 0.023515448, 0.035941385, 0.008729435, 0.008288697, -0.026216738, -0.0028452412, -0.01544001, -0.01130277, -0.021183807, -0.022591323, -0.00859437, 0.0073930067, 0.024425356, -0.042509787, -0.04091745, 0.022534452, -0.032500796, 0.031079063, -0.036254168, 0.0003174461, 0.016904393, 0.016776439, -0.006191643, -0.032955747, -0.0192076, -0.0007188633, -0.012354852, -0.01687596, 0.005665602, -0.0046810526, 0.018653125, -0.013001739, 0.009916581, 0.017359348, 0.037419986, 0.025221527, 0.008430871, -0.012902218, 0.006998476, -0.006038807, 0.0037569269, 0.00019359992, 0.05047149, -0.019662553, 0.03130654, 0.027666906, 0.011011315, -0.004855215, 0.037220944, 0.010016102, 0.00902089, -0.02169563, -0.00018760198, -0.027553167, 0.002866567, -0.012617872, 0.028519945, 0.008189176, 0.0000084901285, -0.017672129, 0.009689104, -0.010798055, -0.019705206, -0.018951688, -0.032188013, 0.0045068907, 0.02229276, 0.020344986, -0.009952124, -0.01872421, -0.033979397, -0.00912752, -0.0036645143, 0.0043576085, -0.0070908885, 0.03639634, 0.0021645871, 0.013058608, -0.021496588, -0.018425647, -0.038187724, 0.0018749092, -0.007656027, -0.015511096, 0.014089365, -0.022577105, 0.028022338, 0.013783692, 0.00032144474, -0.0029572027, -0.0138832135, -0.013470911, -0.016520526, -0.0031686854, 0.06938052, 0.0012431269, -0.02965733, 0.014018278, -0.009397649, 0.001630549, 0.0119141145, 0.019804727, -0.0041443487, -0.03008385, -0.005651385, 0.010591904, -0.0026355358, 0.037107207, 0.007783983, -0.0079617, -0.011999418, 0.045324817, 0.01936399, -0.0037604813, 0.02186624, 0.016748004, -0.001458164, -0.025690697, 0.018980123, 0.041031186, 0.01544001, -0.023117363, 0.03963789, 0.030311327, 0.0105990125, -0.015596401, -0.0019655447, -0.006579065, -0.044329606, -0.0003894213, -0.02652952, 0.020984765, 0.015340488, -0.0012484584, 0.0047343676, -0.021027416, 0.012902218, -0.012703176, 0.0063124904, 0.019705206, -0.0075067454, -0.005214202, 0.018582039, 0.015056143, 0.017928042, 0.020344986, -0.025847089, 0.0005686928, 0.0041407947, -0.039325107, -0.0098028425, 0.03369505, 0.03383722, 0.0065115327, -0.031164367, -0.009262584, -0.008672565, 0.0017736107, 0.014053822, -0.01794226, 0.010101406, -0.009035107, -0.016591612, 0.014743362, -0.0075991577, -0.014060929, 0.009298127, -0.021198025, 0.028391989, 0.016591612, 0.026884953, 0.018112866, 0.018638907, 0.007720005, 0.03591295, 0.008686783, -0.009724647, -0.016335702, -0.0050755832, 0.009952124, 0.033496007, 0.04140084, -0.028633684, 0.010847815, -0.024098357, 0.039666325, 0.049845926, 0.01596605, -0.030226024, 0.019378208, -0.007492528, 0.03437748, 0.04313535, -0.02392775, 0.006866966, -0.015781226, -0.00822472, 0.02604613, -0.04722994, -0.024738137, -0.024155227, 0.020046422, 0.04779863, 0.01029334, 0.015169881, -0.01718874, -0.020714635, 0.033865657, -0.022306975, -0.00018438087, 0.022662409, 0.007862179, -0.011452052, 0.015909182, 0.0028843388, 0.021852022, -0.0039453064, 0.014210212, 0.019193383, -0.00080239004, -0.020785723, -0.045267947, 0.016904393, 0.027339907, -0.01989003, 0.023757143, 0.04159988, 0.023003625, 0.012191352, -0.0005091578, -0.022420714, -0.07552241, -0.0035667703, 0.009170172, -0.0038102418, 0.018212387, -0.027197734, -0.006522196, -0.014800231, -0.0038813285, 0.01018671, -0.014743362, 0.0166627, 0.009987667, -0.0035703245, -0.014494558, -0.0016820867, 0.029998546, -0.018866384, 0.0064226743, 0.018368779, -0.006628826, 0.008587262, -0.01883795, 0.011757724, 0.005441679, 0.006323153, 0.020657767, 0.03773277, -0.0044286954, 0.017928042, -0.00939054, 0.011245901, 0.009305236, -0.021055851, -0.02483766, 0.024581747, -0.025335265, -0.0029980775, 0.0063658054, -0.00467039, 0.04865167, 0.007364572, 0.005093355, -0.011594225, 0.0035063466, 0.0060423613, 0.00035521085, 0.009930798, 0.0128808925, 0.035628606, -0.0077271136, -0.00955404, -0.018525168, -0.008295806, 0.0010476388, 0.005363484, 0.015582183, 0.0045602056, 0.05851849, -0.0101156235, -0.014018278, 0.048196714, 0.01910808, -0.029742634, -0.015411575, 0.010300449, 0.03156245, -0.010065863, -0.021951543, -0.0021610328, -0.00026990694, -0.015084577, -0.021027416, 0.021027416, 0.011160596, 0.022804582, 0.023003625, 0.028306685, 0.030368196, 0.008530392, 0.0057224715, -0.04239605, 0.012297982, 0.002660416, 0.0038066874, 0.04467082, -0.0031686854, 0.024055706, 0.016563179, 0.027695341, -0.021055851, -0.016122442, 0.022463366, 0.014416363, -0.03178993, -0.019036992, -0.003639634, -0.013037283, 0.013129695, -0.0050471486, 0.008850282, -0.0026390902, -0.00081927306, -0.044130564, 0.024468008, 0.012255331, -0.00014006282, -0.042651962, 0.073418245, 0.012731611, 0.036367904, -0.046888724, 0.017444652, -0.011608442, 0.011864354, -0.028335119, -0.01794226, 0.01889482, -0.046177857, -0.0083526755, -0.0027119538, -0.007997243, 0.019292904, -0.03227332, -0.031761494, 0.00400573, -0.0017202958, 0.0031473592, 0.0038564482, -0.014345276, -0.0013950745, 0.014515884, -0.019591467, 0.01024358, 0.023686055, -0.0126036545, -0.007272159, -0.006124111, 0.025221527, 0.0012066951, 0.0018233714, -0.00089746836, -0.014032495, 0.03156245, 0.016250398, -0.018667342, -0.004784128, -0.01984738, 0.03608356, -0.008132307, -0.035685476, 0.011928332, -0.001915784, -0.044841427, 0.014124908, 0.03995067, -0.0062414035, 0.023202667, 0.014558536, 0.020245465, -0.025505872, 0.012013636, 0.030794716, -0.016548961, -0.008608587, 0.012745827, 0.006579065, 0.032188013, -0.00628761, -0.00514667, 0.025619611, 0.007051791, 0.0059357313, 0.012802697, 0.01623618, -0.000095133866, -0.0004944962, 0.009198606, 0.01172929, -0.018141301, 0.0075991577, -0.003467249, 0.009738864, -0.020302333, 0.023913532, -0.011061075, 0.021468153, 0.028633684, 0.01963412, -0.0022107933, -0.0041159145, 0.019179165, -0.01544001, 0.004691716, 0.040718406, 0.024240531, 0.044756126, -0.0057011456, 0.0019513272, 0.0035472214, -0.043419696, 0.028761638, -0.009774407, -0.01984738, 0.030737847, -0.024524877, 0.021070069, 0.01883795, 0.010854924, -0.0075636143, 0.019307122, 0.003165131, -0.011430725, 0.006177426, 0.006362251, 0.02515044, 0.008715217, 0.0059499484, 0.0047130417, 0.024894528, -0.009689104, -0.019307122, -0.0121558085, -0.032301754, -0.020174379, -0.0035170096, 0.0021805814, -0.024283184, 0.024908746, -0.010527926, 0.012937762, 0.01315813, -0.027809078, 0.009745973, 0.05209226, -0.012489916, -0.024524877, -0.02276193, -0.061361954, -0.020302333, -0.050443053, 0.004254533, -0.010200927, 0.009006673, -0.02377136, -0.0084877405, -0.03363818, -0.0068314224, 0.005619396, -0.010648773, 0.013278977, -0.016264614 ]
2310.12397
28
[12] R. Thomas McCoy, Shunyu Yao, Dan Friedman, Matthew Hardy, and Thomas L. Griffiths. Embers of autoregression: Understanding large language models through the problem they are trained to solve, 2023. [13] Stuart Russell and Peter Norvig. Artificial Intelligence: A Modern Approach (4th Edition). Pearson, 2020. [14] Tomohiro Sawada, Daniel Paleka, Alexander Havrilla, Pranav Tadepalli, Paula Vidas, Alexander Kranias, John J. Nay, Kshitij Gupta, and Aran Komatsuzaki. ARB: Advanced Reasoning Benchmark for Large Language Models. 2023. Publisher: arXiv Version Number: 2. [15] Noah Shinn, Federico Cassano, Beck Labash, Ashwin Gopinath, Karthik Narasimhan, and Shunyu Yao. Reflexion: Language Agents with Verbal Reinforcement Learning, June 2023. arXiv:2303.11366 [cs]. [16] Michael Trick. Graph Coloring Instances. Available at https://mat.tepper.cmu.edu/ COLOR/instances.html.
2310.12397#28
GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems
There has been considerable divergence of opinion on the reasoning abilities of Large Language Models (LLMs). While the initial optimism that reasoning might emerge automatically with scale has been tempered thanks to a slew of counterexamples, a wide spread belief in their iterative self-critique capabilities persists. In this paper, we set out to systematically investigate the effectiveness of iterative prompting of LLMs in the context of Graph Coloring, a canonical NP-complete reasoning problem that is related to propositional satisfiability as well as practical problems like scheduling and allocation. We present a principled empirical study of the performance of GPT4 in solving graph coloring instances or verifying the correctness of candidate colorings. In iterative modes, we experiment with the model critiquing its own answers and an external correct reasoner verifying proposed solutions. In both cases, we analyze whether the content of the criticisms actually affects bottom line performance. The study seems to indicate that (i) LLMs are bad at solving graph coloring instances (ii) they are no better at verifying a solution--and thus are not effective in iterative modes with LLMs critiquing LLM-generated solutions (iii) the correctness and content of the criticisms--whether by LLMs or external solvers--seems largely irrelevant to the performance of iterative prompting. We show that the observed increase in effectiveness is largely due to the correct solution being fortuitously present in the top-k completions of the prompt (and being recognized as such by an external verifier). Our results thus call into question claims about the self-critiquing capabilities of state of the art LLMs.
http://arxiv.org/pdf/2310.12397
Kaya Stechly, Matthew Marquez, Subbarao Kambhampati
cs.AI
18 pages, 3 figures
null
cs.AI
20231019
20231019
[ { "id": "2206.10498" }, { "id": "2306.03872" }, { "id": "2303.11366" } ]
{ "authors": "Kaya Stechly, Matthew Marquez, Subbarao Kambhampati", "chunk_id": 28, "doc_id": "2310.12397", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12397", "summary": "There has been considerable divergence of opinion on the reasoning abilities\nof Large Language Models (LLMs). While the initial optimism that reasoning\nmight emerge automatically with scale has been tempered thanks to a slew of\ncounterexamples, a wide spread belief in their iterative self-critique\ncapabilities persists. In this paper, we set out to systematically investigate\nthe effectiveness of iterative prompting of LLMs in the context of Graph\nColoring, a canonical NP-complete reasoning problem that is related to\npropositional satisfiability as well as practical problems like scheduling and\nallocation. We present a principled empirical study of the performance of GPT4\nin solving graph coloring instances or verifying the correctness of candidate\ncolorings. In iterative modes, we experiment with the model critiquing its own\nanswers and an external correct reasoner verifying proposed solutions. In both\ncases, we analyze whether the content of the criticisms actually affects bottom\nline performance. The study seems to indicate that (i) LLMs are bad at solving\ngraph coloring instances (ii) they are no better at verifying a solution--and\nthus are not effective in iterative modes with LLMs critiquing LLM-generated\nsolutions (iii) the correctness and content of the criticisms--whether by LLMs\nor external solvers--seems largely irrelevant to the performance of iterative\nprompting. We show that the observed increase in effectiveness is largely due\nto the correct solution being fortuitously present in the top-k completions of\nthe prompt (and being recognized as such by an external verifier). Our results\nthus call into question claims about the self-critiquing capabilities of state\nof the art LLMs.", "text": "[12] R. Thomas McCoy, Shunyu Yao, Dan Friedman, Matthew Hardy, and Thomas L. Griffiths. Embers of autoregression: Understanding large language models through the problem they are trained to solve, 2023.\n[13] Stuart Russell and Peter Norvig. Artificial Intelligence: A Modern Approach (4th Edition). Pearson, 2020.\n[14] Tomohiro Sawada, Daniel Paleka, Alexander Havrilla, Pranav Tadepalli, Paula Vidas, Alexander Kranias, John J. Nay, Kshitij Gupta, and Aran Komatsuzaki. ARB: Advanced Reasoning Benchmark for Large Language Models. 2023. Publisher: arXiv Version Number: 2.\n[15] Noah Shinn, Federico Cassano, Beck Labash, Ashwin Gopinath, Karthik Narasimhan, and Shunyu Yao. Reflexion: Language Agents with Verbal Reinforcement Learning, June 2023. arXiv:2303.11366 [cs].\n[16] Michael Trick. Graph Coloring Instances. Available at https://mat.tepper.cmu.edu/ COLOR/instances.html.", "title": "GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems", "year": 2023 }
[ -0.033099934, 0.00030425176, 0.020069825, -0.019379135, -0.009696209, 0.03360467, -0.016629662, 0.01318286, -0.062374517, 0.020122955, 0.0243335, -0.045054164, -0.012133543, 0.01746646, 0.002556877, -0.018927531, -0.0004127945, 0.008819565, -0.019206462, 0.00986224, 0.009988423, -0.029008932, -0.021185553, 0.032621767, 0.030416874, 0.0050672656, -0.023164641, 0.03007153, -0.011170564, -0.028557329, 0.01012789, -0.025143731, -0.031638864, -0.004389859, -0.008640252, 0.010831861, 0.021836394, -0.0014569218, -0.018688446, 0.019326005, 0.0035264979, -0.054112814, 0.0037323763, 0.04587768, -0.013866907, 0.025090601, 0.008115594, -0.03482666, -0.02138479, 0.03166543, -0.06736873, 0.014849811, -0.014650573, -0.01522172, -0.06152444, 0.001436168, -0.004423065, 0.0305497, 0.025369532, -0.028344808, -0.00041507743, -0.046223022, -0.017174244, 0.015713172, -0.075603865, -0.034135967, -0.0632246, 0.025157014, 0.0028540725, 0.0058874586, 0.0005242428, 0.019392418, 0.04412439, -0.022752885, -0.007956204, 0.003822033, -0.011290106, 0.07411623, -0.005548755, -0.01575302, -0.015567064, 0.0052930675, -0.009629796, -0.052332964, -0.039475523, -0.03227642, 0.02551564, -0.010659189, -0.051376626, -0.01730707, 0.019086922, -0.0037689032, -0.026976712, 0.0063091773, 0.09032085, 0.00044454794, 0.02465228, 0.008666817, 0.04749814, 0.0119343065, -0.059292983, -0.040777206, -0.015832715, -0.005943909, -0.0007409132, -0.013162936, 0.0007122729, -0.009643079, -0.013229348, -0.023324031, -0.14748864, 0.003081535, -0.030523134, -0.013475074, -0.02578129, -0.03493292, -0.036048647, -0.020162802, 0.00046032088, 0.0004266996, 0.0010053176, 0.033046804, 0.0039415755, -0.03737689, 0.020720666, 0.01827669, 0.03681903, -0.04255706, -0.003011802, -0.0046986765, 0.004529325, -0.029168323, 0.025210144, 0.00065374695, -0.04045843, -0.046913713, -0.005070586, -0.004904555, 0.003499933, -0.020547993, 0.04465569, 0.023456857, -0.05403312, 0.03565017, -0.03671277, 0.01506233, -0.02037532, -0.0072655156, 0.020733949, 0.009583308, 0.0061066193, 0.0010044874, 0.013362173, 0.020800361, -0.040006824, -0.052997086, 0.0066080326, 0.04765753, 0.04545264, -0.08803626, 0.043088358, 0.048109137, 0.011223694, 0.021517614, 0.01785165, 0.023111511, -0.027627554, 0.04582455, -0.022062195, -0.048109137, 0.0008152121, -0.03461414, -0.010061477, -0.04003339, 0.022407541, -0.023084946, -0.018462645, -0.009795828, 0.010181019, -0.03065596, -0.0015092216, 0.01912677, -0.049570207, 0.015142025, -0.013202783, -0.0076507074, 0.028637022, 0.0018263407, -0.02659152, 0.009078573, 0.0074647525, 0.053794038, 0.044868212, 0.04598394, 0.036951855, -0.026857171, 0.043991566, -0.040724076, 0.006893606, -0.025316402, 0.022460671, 0.025847701, -0.03286085, -0.031266954, 0.036739334, -0.025648465, 0.025263274, -0.0069135297, -0.023217771, 0.0058708554, 0.03296711, -0.010911556, 0.05297052, 0.022048913, -0.03820041, -0.0037821857, -0.05477694, -0.006926812, -0.003516536, 0.033312455, -0.0007118578, 0.032621767, 0.032993674, 0.0067508193, -0.008527351, 0.018303255, 0.056849007, -0.029168323, 0.038891096, -0.005445816, 0.06168383, -0.008381244, -0.03660651, -0.037004985, 0.014424771, -0.026604803, 0.014624008, 0.009038726, 0.019113487, -0.03493292, 0.018449362, -0.016682792, 0.034746964, -0.003692529, 0.03339215, 0.03838636, -0.02572816, -0.040724076, 0.0102939205, -0.006202917, -0.00071476336, -0.027946334, -0.018900966, -0.013415303, -0.016908595, -0.0027909807, -0.018900966, -0.00927117, -0.041069422, 0.022473954, -0.0419195, 0.034109402, -0.016045233, 0.006501773, 0.008381244, -0.006471887, -0.013707518, 0.048321657, 0.012133543, -0.026232895, 0.007644066, -0.022221586, 0.025940679, -0.021955935, -0.047684096, -0.04739188, 0.019020509, 0.042158585, 0.0060169627, 0.046568368, 0.03376406, 0.04029904, 0.0724692, 0.038173843, 0.011768276, -0.002332735, 0.006073413, -0.008793, -0.03737689, -0.011549114, 0.057114657, -0.029619927, 0.013641105, -0.057699084, 0.0068670413, -0.014039579, 0.03549078, 0.02048158, 0.009324299, -0.034242228, 0.053368997, -0.03070909, -0.018529058, 0.0036792464, -0.00026191387, 0.06651865, -0.026286025, 0.03217016, 0.06657178, 0.0075112414, 0.020946467, 0.012498812, -0.025435945, 0.0065050935, -0.046701193, -0.062055737, 0.037615977, -0.0092578875, 0.03732376, -0.019777609, -0.018608753, -0.01613821, 0.035782997, 0.009184834, -0.029540231, 0.0060866955, 0.007810097, -0.022580212, -0.0064951316, -0.02101288, 0.006335742, 0.030948173, 0.057858475, 0.0230451, 0.026631368, -0.03843949, -0.049012344, 0.023337314, -0.010134531, 0.015049048, -0.075072564, -0.0009156608, -0.03487979, -0.027707249, -0.023709223, 0.014358358, -0.035198566, 0.005558717, 0.031426344, -0.00007834587, -0.011270182, -0.08022617, 0.013800494, 0.017227374, -0.016018668, -0.02095975, -0.043991566, -0.014105991, 0.009410636, -0.0043965, -0.016443707, 0.01972448, 0.0026814002, -0.0030533096, -0.0048547457, -0.0030267446, -0.0595055, 0.019365853, 0.047630966, -0.014398206, 0.02037532, 0.021902807, -0.030895043, -0.034029707, -0.03692529, 0.0041408124, -0.020029977, -0.0027112858, -0.024864798, 0.046515238, -0.014398206, 0.019233027, 0.020029977, -0.021530896, -0.008341396, 0.0050506624, -0.042583626, -0.017320352, 0.008819565, 0.027189232, -0.019976847, 0.006275971, -0.049012344, 0.020880055, 0.017400047, 0.022354411, 0.009397353, 0.031001303, 0.029460536, 0.06396841, -0.03360467, 0.03522513, 0.026711063, 0.012153467, 0.0060700923, 0.057008397, 0.04356653, 0.04577142, -0.008646893, 0.033312455, 0.030841915, -0.038226973, 0.0049444023, -0.015075613, -0.020122955, -0.021212118, 0.045213554, 0.037562847, -0.002975275, 0.06906889, 0.014119274, -0.03902392, -0.008706665, -0.064818494, -0.0074381875, 0.0035729867, 0.03217016, -0.02648526, -0.0020720665, -0.02701656, -0.0347204, 0.026418848, 0.07257546, -0.03007153, 0.009032085, -0.036526814, 0.05419251, 0.019485395, -0.011502626, -0.043327443, 0.00241243, 0.005542114, -0.043168053, 0.026790759, 0.006239444, 0.0065881093, -0.040538125, 0.0034268794, 0.035782997, -0.005698183, 0.013747365, -0.0112768235, -0.009848958, 0.028849542, -0.013541486, -0.013249272, 0.07268172, 0.0092578875, 0.043008663, 0.024612432, 0.035304826, 0.012930492, -0.03371093, -0.017001571, 0.031134129, 0.002802603, 0.015673324, -0.017333634, 0.01516859, -0.015952256, 0.026910301, -0.010340409, -0.01999013, -0.059346113, 0.035464216, 0.0016146513, 0.0038552394, -0.052758005, 0.017346917, -0.039634913, 0.005382724, -0.00787651, 0.049862422, 0.014876375, -0.009682926, 0.041839805, -0.012319499, -0.018303255, 0.0028109045, 0.041441333, 0.0016528383, -0.0037024908, 0.0331265, -0.015540499, 0.03586269, 0.0051901285, 0.025794573, -0.044815082, 0.010632624, -0.03190451, -0.01972448, -0.0099685, -0.03737689, -0.029168323, -0.013959885, -0.029832445, 0.03217016, 0.00927117, 0.015035765, 0.071937904, -0.020640971, -0.016124928, -0.006760781, 0.012897287, 0.019326005, 0.0020919903, -0.036579944, 0.012817591, -0.009769263, 0.0123394225, -0.022022348, -0.034534443, -0.0123394225, -0.020601124, 0.025914114, -0.0143849235, -0.005429213, -0.022434106, -0.020720666, -0.003795468, 0.019751044, 0.007949563, -0.0037655826, -0.013382097, -0.026405565, 0.00092313223, -0.010705677, 0.010752166, -0.043593094, 0.0037157733, -0.016231189, 0.02214189, -0.0010891632, 0.021105858, -0.0048846314, -0.0032558674, 0.01769226, -0.013036752, 0.0029686338, 0.044522867, 0.036367424, -0.007524524, -0.032037336, -0.018914249, 0.019259593, -0.019697916, 0.0055886027, -0.023138076, -0.0048813107, -0.028690152, 0.01779852, -0.012485529, 0.010944762, 0.016284319, -0.008945749, -0.009975141, 0.025369532, -0.03971461, 0.042211715, -0.0062527265, -0.014291947, -0.029779315, 0.010333768, -0.0004053231, 0.0105197225, -0.05955863, 0.023270901, 0.022022348, 0.034959484, 0.0062958947, -0.033206195, -0.01935257, 0.0062726503, 0.029433971, -0.028849542, 0.026325872, -0.018475927, -0.0079694865, -0.026086787, 0.034853224, 0.036367424, -0.020335473, -0.031824816, -0.025196861, -0.034056272, 0.017705543, 0.046541803, -0.021517614, -0.019020509, 0.035198566, 0.008115594, -0.02980588, -0.0037821857, 0.0051469603, 0.009470407, 0.009523537, -0.02352327, 0.023974873, -0.015261567, 0.023403727, 0.006787346, -0.0008533992, 0.0117882, -0.019538525, -0.035357956, 0.014305229, -0.016417142, -0.02620633, 0.037111245, -0.04250393, 0.019976847, -0.0046820734, 0.03591582, -0.00029034668, -0.0100415535, 0.016364014, -0.022792732, 0.0035364598, 0.0022978687, -0.017280504, -0.0087531535, -0.024718693, 0.029194886, 0.00493112, -0.019658068, -0.008274984, 0.014942788, 0.0225138, 0.021823112, -0.00798941, 0.050154638, 0.00042109608, -0.02572816, 0.011867894, 0.014849811, -0.01746646, -0.025874266, 0.0034268794, -0.02802603, 0.019857304, -0.022394259, -0.039528653, -0.008832848, -0.0019674671, 0.02722908, -0.007916357, 0.016377296, -0.000002639633, -0.00010231659, -0.017386764, -0.05568015, 0.00072347996, -0.008387885, 0.0069135297, -0.0032093788, 0.03190451, 0.03195764, 0.030735655, 0.034746964, -0.021158988, -0.020056542, -0.020999597, -0.0010916537, 0.0150092, -0.016350731, -0.045160424, 0.01024079, 0.009443842, -0.020787079, -0.012990263, -0.025688313, 0.032143597, -0.06258704, -0.018874401, 0.03902392, 0.0086004045, 0.03461414, 0.015155307, 0.02230128, -0.009091856, -0.0043134848, -0.0048182188, -0.0051635634, -0.010838502, -0.008553916, 0.00015513519, -0.014663856, 0.038067583, -0.028132288, -0.09701522, -0.004379897, 0.048587304, -0.01945883, -0.011662016, -0.014650573, -0.011442855, -0.010347051, 0.0037722238, 0.035570476, -0.032515507, -0.010048195, 0.01827669, 0.014716986, 0.024957776, -0.04335401, -0.008055823, 0.035464216, 0.02786664, -0.005166884, -0.028530763, -0.06349024, 0.02127853, -0.0015781245, -0.010433386, 0.011383084, -0.01538111, -0.0136278225, 0.017160961, -0.011409649, -0.006684407, -0.005837649, 0.018887684, 0.02664465, -0.010446669, 0.008434374, 0.0039714607, -0.031160694, 0.0065416205, -0.026764194, -0.0011190488, -0.024891363, -0.028982367, -0.0121866735, 0.030470004, -0.0043533323, 0.021929372, 0.01945883, 0.0112768235, -0.027255645, 0.012824233, -0.045904245, 0.01093148, 0.010001706, -0.0066080326, 0.013176219, -0.02540938, 0.016377296, 0.0075378064, -0.030788785, 0.029035497, -0.010001706, 0.0034600855, -0.003398654, 0.015088895, 0.024917929, -0.0126183545, 0.024838233, -0.03185138, -0.018794706, 0.03998026, -0.04845448, 0.0076573486, 0.0090055205, -0.00761086, 0.007312004, 0.007179179, 0.031240389, 0.011821405, -0.0062992154, 0.006518376, -0.017346917, -0.007497959, 0.031638864, -0.024917929, -0.023217771, 0.0057214275, -0.011748352, -0.0049111964, -0.0018744897, -0.041042857, -0.02975275, -0.0150092, -0.008587122, -0.02659152, -0.002771057, -0.0041507743, 0.010273997, -0.10498471, -0.038280103, 0.032940544, 0.0072123855, 0.008905902, -0.013734083, 0.017997758, 0.016576532, 0.008029258, -0.046754323, 0.0040445146, -0.03575643, -0.014172404, -0.0027096255, 0.013435227, -0.04423065, -0.0033621273, -0.016815618, 0.007225668, 0.008500786, -0.01597882, 0.037961323, 0.017931346, 0.042424235, -0.02648526, 0.017227374, -0.005857573, 0.002807584, -0.0071194083, 0.034375053, -0.04377905, -0.042849272, -0.0029553513, 0.051164106, -0.020694101, 0.017705543, 0.0070994846, -0.010466592, 0.013587975, -0.012824233, -0.009397353, -0.0404053, 0.046435542, -0.029991835, 0.033365585, -0.012239804, 0.030948173, -0.026564956, 0.0060966574, -0.026657933, -0.013189501, 0.0362346, -0.006285933, 0.0051369984, 0.020999597, 0.012067132, 0.018303255, -0.022580212, 0.0481357, 0.011137358, -0.019644786, 0.02014952, 0.025595335, 0.005150281, -0.027547859, -0.039555218, -0.0083746025, 0.029433971, -0.027096255, -0.027547859, -0.0051270365, 0.02208876, -0.03017779, 0.021876242, 0.010805296, 0.008035899, 0.011808123, 0.026910301, -0.015766302, -0.020561276, 0.02048158, -0.032568637, -0.02277945, -0.008779718, -0.031266954, 0.008022617, 0.024625715, -0.004868028, -0.017453177, 0.046701193, 0.037111245, 0.0025070678, 0.015739737, 0.0018379629, -0.0008666817, -0.0019143372, 0.010718959, 0.032595202, 0.044761952, 0.0027478125, 0.01956509, 0.046302717, -0.031585734, 0.008520709, -0.0001615689, -0.005070586, -0.017147679, -0.009025444, -0.006999866, -0.010068119, 0.03511887, 0.02985901, -0.0086801, 0.014570879, 0.012505453, 0.0049344404, 0.033976577, 0.035836127, 0.014650573, 0.027946334, -0.020654254, 0.011974154, -0.023430292, -0.012033925, -0.018250125, -0.020800361, 0.025117166, 0.021557461, -0.016337449, -0.01361454, 0.026379002, -0.030044965, -0.023257619, -0.01753287, -0.023881895, 0.026232895, 0.006073413, -0.000118608375, -0.012824233, 0.027760379, 0.003762262, -0.010373616, 0.02004326, -0.02390846, 0.011343236, -0.008646893, -0.008135518, -0.05477694, -0.008866054, 0.0035065743, 0.009403994, -0.0017815124, 0.00052175234, 0.050898455, 0.0030466684, 0.01281095, -0.011688581, -0.05081876, -0.011529191, 0.020176085, 0.007172538, 0.056955267, -0.020521428, -0.016629662, 0.0033172988, -0.02659152, -0.014504466, -0.021743417, -0.04909204, 0.018104017, -0.018515775, -0.026113352, 0.007803456, 0.0362346, -0.0024140903, 0.032249857, 0.005671618, -0.005123716, 0.0194057, 0.016350731, 0.033259325, 0.005857573, -0.031320084, 0.002722908, 0.020189367, -0.014584161, 0.0041873013, -0.006372269, -0.01827669, 0.06694369, -0.017121114, -0.0022430785, 0.026564956, 0.06566857, 0.030151226, -0.051057845, 0.03349841, 0.049171735, -0.008288266, -0.022394259, -0.004077721, 0.019578373, -0.0024838233, 0.015713172, -0.016961724, 0.019658068, -0.014570879, -0.0316123, -0.009364147, 0.021145705, -0.020694101, 0.0133754555, -0.04433691, 0.0077901734, 0.006973301, -0.0057778778, -0.013388738, 0.0048547457, -0.02980588, 0.019073639, -0.023589682, -0.050553113, -0.05472381, 0.044575997, 0.022009065, 0.018529058, 0.018050889, 0.012405834, 0.0017997758, -0.025874266, 0.033153065, -0.014092709, -0.005279785, -0.017028136, 0.020162802, -0.0120870555, 0.011615527, 0.004442989, -0.010958045, 0.019047074, 0.028291678, 0.004731883, -0.013973167, -0.012784385, 0.017346917, -0.009483689, 0.022965405, 0.029327711, 0.0071858205, -0.010792013, 0.0033787303, -0.0022580212, 0.038333233, 0.0042371107, 0.012976981, -0.013235989, 0.028291678, 0.019910434, 0.022606777, 0.0225138, -0.011761635, 0.014876375, -0.0010435047, -0.025435945, 0.017612565, -0.0060003595, -0.011217053, 0.002010635, -0.018900966, 0.007225668, -0.044921342, 0.028637022, 0.02636572, 0.01832982, -0.008281625, 0.005867535, -0.0077901734, -0.02272632, 0.01361454, 0.011064304, -0.046143327, -0.017758673, -0.04744501, -0.018914249, 0.026511826, 0.016244471, -0.043646224, -0.033843756, 0.032595202, -0.021198835, 0.01656325, 0.023629528, -0.002915504, -0.009138345, -0.021955935, 0.006481849, -0.014119274, -0.023084946, 0.029699622, -0.0143849235, 0.03381719, 0.012505453, 0.0109514035, 0.0025917436, 0.029035497, 0.0020770475, 0.020401886, -0.046648063, 0.019697916, 0.019153334, -0.020614406, 0.023536552, -0.003692529, -0.021969218, 0.007471394, -0.029168323, -0.011715146, -0.014119274, -0.0054059685, -0.0032293026, -0.0039515374, -0.012126902, 0.019233027, 0.004077721, 0.00884613, 0.0027079652, 0.03655338, 0.015912408, 0.024306934, 0.006425399, 0.007916357, 0.017333634, -0.01666951, 0.032993674, -0.025502358, 0.012624996, -0.027760379, 0.0225138, -0.0011256901, -0.022181738, 0.054378465, 0.020401886, 0.0067076515, -0.0055022663, -0.006192955, -0.008441015, -0.0025170296, 0.0069799423, 0.0017383443, -0.019950282, 0.062321387, -0.015899125, -0.026618086, -0.0051901285, -0.04335401, 0.03076222, -0.0051071127, 0.056264576, -0.027149385, 0.0017732108, -0.015938973, 0.01603195, -0.0112768235, -0.024665562, -0.004442989, -0.014491184, -0.005482343, 0.03007153, -0.0054159304, 0.0048746695, 0.010805296, 0.036633074, -0.020122955, -0.027162667, -0.00455589, -0.010260714, 0.017333634, -0.013548127, 0.042158585, 0.04056469, 0.014517749, -0.0032060582, -0.04064438, 0.046382412, -0.024519455, 0.010606059, -0.029619927, 0.021623874, 0.00019664294, 0.008653535, 0.041892935, -0.0136278225, -0.021969218, -0.0010426745, -0.0039581787, 0.00038996525, 0.001994032, -0.00008944919, -0.00015689927, 0.005120395, -0.030098096, -0.014424771, -0.009171551, -0.0061298637, -0.024745256, 0.0012095356, -0.013494997, 0.04571829, 0.021052727, 0.026923584, -0.016217906, 0.020176085, -0.023098228, 0.028955802, -0.007132691, -0.05108441, -0.022806015, 0.005123716, 0.0052731438, 0.036367424, -0.0070928433, -0.008925825, -0.037908193, -0.0038950867, 0.018316537, 0.017373482, 0.017453177, -0.0071526146, 0.03286085, 0.026498543, -0.0033853715, -0.017572718, -0.032834284, -0.0048049362, -0.00062261615, -0.021437919, 0.026405565, -0.017652413, -0.023377161, -0.015885843, -0.0017516268, -0.0320639, 0.010592776, 0.028530763, 0.01002163, -0.014278664, -0.008441015, 0.020999597, 0.01677577, 0.021796547, -0.01055957, -0.011110793, -0.03065596, -0.01366767, -0.017572718, 0.024107698, -0.03891766, 0.010214225, 0.014225534, 0.026193047, 0.002937088, -0.020547993, 0.05408625, 0.006920171, 0.008115594, 0.0048912726, -0.029354276, -0.035172, -0.034454748, -0.053422127, 0.016443707, 0.0016868747, 0.013548127, 0.013063317, -0.009589949, -0.008460939, 0.012771103, -0.016802335, 0.00664788, -0.016842183, -0.018980661, 0.0077171195, 0.0014892978, 0.01527485, 0.03665964, 0.018582188, -0.0039581787, 0.0002563103, -0.00793628, 0.006040207, 0.0067010103, 0.039688043, 0.014238817, 0.010347051, 0.0020438414, -0.020707384, 0.021398073, -0.01366767, -0.015899125, 0.0034501236, -0.01506233, -0.016191341, -0.010845143, 0.042928968, 0.010765448, -0.0051536015, -0.010911556, -0.010918197, -0.0044363476, -0.0022364373, -0.020601124, 0.0042636753, 0.0054590986, -0.0038585598, 0.053209607, -0.021995783, -0.03129352, 0.014876375, -0.0032625087, 0.0067176134, -0.003778865, -0.005857573, 0.00031691164, 0.00027581895, -0.0037722238, -0.040006824, 0.006179673, -0.02283258, 0.0125917895, 0.0077968147, -0.037748802, -0.0119011, 0.013747365, -0.0015897466, -0.029407406, -0.011588962, 0.021902807, 0.0096364375, -0.0045658518, -0.0054790224, -0.0029935385, 0.027136102, -0.0010318825, 0.01730707, 0.013428586, 0.041521028, 0.0044263857, 0.04539951, 0.04444317, 0.009344223, -0.032648332, -0.010254073, -0.012485529, -0.018409515, -0.022181738, 0.02454602, 0.011403007, 0.024891363, -0.025050754, -0.023018535, 0.000310893, -0.018409515, 0.012173391, 0.0034534442, 0.008507427, -0.0037456588, -0.00014506957, 0.012797668, -0.037350327, -0.013946602, 0.00058069336, -0.013800494, -0.00025070677, -0.016443707, -0.02364281, 0.03466727, 0.016629662, -0.000648351, -0.00036277768, 0.012319499, 0.0021849677, -0.022553647, 0.0009115101, 0.010413463, 0.04840135, -0.024559302, -0.018728293, 0.0028557328, 0.010977968, 0.039475523, -0.023018535, 0.017732108, 0.002369262, 0.0116819395, -0.022394259, 0.04069751, 0.006442002, 0.032409247, -0.03007153, 0.0064884904, -0.0022762846, -0.0045758137, -0.029832445, -0.062427647, 0.002867355, -0.019445548, -0.008394526, -0.005269823, 0.009875522, 0.018648598, -0.0034169175, 0.0037290556, -0.012126902, 0.022806015, 0.0036194753, 0.010061477, -0.013528204, 0.025369532, 0.00846758, -0.0111772055, -0.01012789, 0.0336578, -0.05562702, -0.007690555, 0.0023842049, 0.0022829259, 0.021995783, -0.037748802, 0.014424771, -0.019711198, 0.016390579, -0.029885575, 0.0077636084, -0.020547993, 0.011070945, -0.012452323, -0.0073717753, 0.0083480375, 0.02191609, 0.020069825, -0.010499799, -0.0059937183, 0.009410636, -0.0471528, -0.013568051, 0.024081133, -0.0025684992, -0.01393332, 0.0168289, 0.012671484, -0.02256693, -0.016735923, 0.031240389, 0.006090016, -0.005070586, 0.059186723, -0.0034434823, 0.050420288, -0.00959659, 0.0008866054, -0.00970285, 0.0037888268, 0.007531165, 0.01082522, 0.0055454345, -0.016921878, 0.0054059685, 0.026232895, -0.012538659, 0.045691725, -0.016350731, -0.0028059236, -0.000059407957, -0.0016445369, 0.043141488, 0.0012742877, -0.018077452, 0.04401813, 0.018289972, -0.0032658293, 0.035836127, -0.010938121, -0.002272964, 0.006292574, -0.014982635, -0.0021633836, 0.0032658293, 0.02256693, 0.034268793, -0.00032583578, -0.023151359, -0.006790667, -0.031027868, -0.0036294372, -0.012312857, 0.007531165, 0.032595202, -0.008049182, -0.015952256, -0.002546915, 0.014557596, 0.0045791343, 0.008328114, 0.015779585, 0.031718556, 0.023204489, 0.0009546781, -0.03543765, -0.033684365, 0.02749473, -0.027029842, -0.007039713, 0.031080998, -0.0070065074, 0.009829034, 0.015832715, 0.002272964, -0.020415168, -0.04840135, -0.033684365, 0.022447389, 0.014823246, 0.026777476, 0.050340593, -0.051775098, -0.010964686, -0.031931076, -0.006451964, -0.022447389, -0.024001438, 0.012664842, -0.02653839, 0.0051901285, -0.034454748, -0.016470272, -0.009583308, -0.0021833074, 0.018236842, -0.019897152 ]
2310.12773
28
However, evaluating large language models has consistently been a challenging and unresolved problem. Traditional benchmarks often do not capture the full extent to which a model aligns with human values. This shortcoming is largely attributable to inconsistent standards and unequivocal outcomes in human alignment evaluation. Thus, we prefer to assess large language models based on their responses to specific prompts. We employ two methods for overall assessment. These include a rapid evaluation of our models using our trained unified Reward Model and Cost Model; deriving the Elo score by comparing model outputs with human judgments and GPT-4 evaluations.
2310.12773#28
Safe RLHF: Safe Reinforcement Learning from Human Feedback
With the development of large language models (LLMs), striking a balance between the performance and safety of AI systems has never been more critical. However, the inherent tension between the objectives of helpfulness and harmlessness presents a significant challenge during LLM training. To address this issue, we propose Safe Reinforcement Learning from Human Feedback (Safe RLHF), a novel algorithm for human value alignment. Safe RLHF explicitly decouples human preferences regarding helpfulness and harmlessness, effectively avoiding the crowdworkers' confusion about the tension and allowing us to train separate reward and cost models. We formalize the safety concern of LLMs as an optimization task of maximizing the reward function while satisfying specified cost constraints. Leveraging the Lagrangian method to solve this constrained problem, Safe RLHF dynamically adjusts the balance between the two objectives during fine-tuning. Through a three-round fine-tuning using Safe RLHF, we demonstrate a superior ability to mitigate harmful responses while enhancing model performance compared to existing value-aligned algorithms. Experimentally, we fine-tuned the Alpaca-7B using Safe RLHF and aligned it with collected human preferences, significantly improving its helpfulness and harmlessness according to human evaluations.
http://arxiv.org/pdf/2310.12773
Josef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji, Xinbo Xu, Mickel Liu, Yizhou Wang, Yaodong Yang
cs.AI, cs.LG
null
null
cs.AI
20231019
20231019
[ { "id": "2302.13971" }, { "id": "2304.05302" }, { "id": "1707.06347" }, { "id": "2305.18290" }, { "id": "2305.10403" }, { "id": "2305.03047" }, { "id": "2211.05100" }, { "id": "2110.08207" }, { "id": "2304.05335" }, { "id": "2107.03374" }, { "id": "2105.04054" }, { "id": "2209.07858" }, { "id": "2305.15324" }, { "id": "2307.09288" }, { "id": "2210.11416" }, { "id": "2212.08073" }, { "id": "2307.12950" }, { "id": "2009.11462" }, { "id": "2307.04657" }, { "id": "2204.05862" }, { "id": "2112.00861" }, { "id": "2209.14375" }, { "id": "2303.00957" }, { "id": "2306.01693" }, { "id": "2305.01937" }, { "id": "2307.15217" }, { "id": "2306.17492" }, { "id": "2112.04359" }, { "id": "1506.02438" } ]
{ "authors": "Josef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji, Xinbo Xu, Mickel Liu, Yizhou Wang, Yaodong Yang", "chunk_id": 28, "doc_id": "2310.12773", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12773", "summary": "With the development of large language models (LLMs), striking a balance\nbetween the performance and safety of AI systems has never been more critical.\nHowever, the inherent tension between the objectives of helpfulness and\nharmlessness presents a significant challenge during LLM training. To address\nthis issue, we propose Safe Reinforcement Learning from Human Feedback (Safe\nRLHF), a novel algorithm for human value alignment. Safe RLHF explicitly\ndecouples human preferences regarding helpfulness and harmlessness, effectively\navoiding the crowdworkers' confusion about the tension and allowing us to train\nseparate reward and cost models. We formalize the safety concern of LLMs as an\noptimization task of maximizing the reward function while satisfying specified\ncost constraints. Leveraging the Lagrangian method to solve this constrained\nproblem, Safe RLHF dynamically adjusts the balance between the two objectives\nduring fine-tuning. Through a three-round fine-tuning using Safe RLHF, we\ndemonstrate a superior ability to mitigate harmful responses while enhancing\nmodel performance compared to existing value-aligned algorithms.\nExperimentally, we fine-tuned the Alpaca-7B using Safe RLHF and aligned it with\ncollected human preferences, significantly improving its helpfulness and\nharmlessness according to human evaluations.", "text": "However, evaluating large language models has consistently been a challenging and unresolved problem. Traditional benchmarks often do not capture the full extent to which a model aligns with human values. This shortcoming is largely attributable to inconsistent standards and unequivocal outcomes in human alignment evaluation. Thus, we prefer to assess large language models based on their responses to specific prompts. We employ two methods for overall assessment. These include a rapid evaluation of our models using our trained unified Reward Model and Cost Model; deriving the Elo score by comparing model outputs with human judgments and GPT-4 evaluations.", "title": "Safe RLHF: Safe Reinforcement Learning from Human Feedback", "year": 2023 }
[ 0.006535898, 0.0039952467, 0.10556584, -0.01269347, -0.013052227, 0.0039561098, 0.00008459324, 0.021929828, 0.008792805, 0.026952425, 0.013998041, -0.06621999, -0.020860082, -0.029509382, -0.009842983, -0.061262626, -0.002511298, -0.056357443, 0.015263474, 0.010984483, 0.0023384425, 0.015067788, 0.00019527788, 0.007057726, 0.049495403, 0.00059724867, -0.037206348, 0.034179743, 0.021838509, -0.036084417, 0.02389973, -0.011180168, -0.035406042, -0.0017204023, -0.025830494, 0.010619204, -0.0011374223, 0.02346922, 0.00907981, 0.013097887, -0.025517397, 0.034518935, -0.0023824717, 0.018485762, -0.038276095, 0.0337101, 0.055105053, -0.016933324, -0.045320775, 0.023090897, -0.038745742, 0.06919441, 0.0063271667, -0.02195592, 0.038484827, -0.051739264, 0.022973485, 0.008590596, -0.024917295, 0.000027416363, -0.009425521, -0.048190832, 0.0042985594, 0.014924286, -0.0470689, -0.023964958, -0.06747238, -0.021525411, 0.013371847, -0.015524388, 0.018107437, 0.026417552, 0.022282062, -0.017872615, 0.001616852, 0.006402179, 0.03971112, 0.048243012, 0.02065135, 0.0008675393, -0.017950889, -0.0309705, -0.015889667, -0.021695007, 0.0034995102, 0.031961974, -0.005658574, -0.019581601, -0.039424118, -0.031257506, -0.030448673, 0.0018948885, -0.0010550714, -0.00496389, 0.016111445, -0.018277032, -0.009947349, -0.018785814, 0.0185249, 0.022125514, -0.008147042, 0.0067250603, 0.034753755, -0.014050223, 0.04224199, -0.0037180257, 0.0252043, -0.005903181, -0.012686947, -0.000117003656, -0.08051809, 0.047355905, -0.0810921, -0.037310712, -0.0044681537, -0.04114615, -0.04359874, -0.017337741, 0.0037180257, -0.023690999, 0.023182217, 0.038563102, 0.04693844, -0.04759073, 0.037101984, 0.012817404, 0.030213851, 0.0027412286, -0.0031978283, -0.0011920512, -0.044172753, 0.0016910494, 0.011219306, -0.028256996, -0.058079474, 0.018942362, -0.040311225, 0.009842983, -0.029535474, 0.02742207, -0.0022308154, -0.030344307, -0.04323346, 0.028544001, -0.06815076, -0.002097097, -0.03243162, 0.0057890313, -0.06778548, 0.03115314, 0.03577132, 0.006310859, -0.036710612, 0.04138097, -0.024930341, -0.04631225, -0.00081250275, 0.016828958, 0.0007069141, -0.080831185, 0.04928667, 0.01621581, 0.0012083583, 0.0031293384, 0.040102493, 0.06835949, 0.015693981, 0.00958207, -0.032353345, -0.049051847, -0.017246421, 0.0097320955, -0.029326743, -0.0413027, 0.027943898, -0.010951868, -0.038380463, -0.004239854, -0.02389973, -0.024760745, -0.012817404, 0.028048264, -0.028544001, 0.021355817, -0.00044110787, 0.009875598, -0.027735166, 0.022477748, -0.033214364, 0.0011056234, 0.018146574, 0.047329813, 0.12179469, 0.012328191, 0.034962486, -0.038589194, 0.07420397, 0.03115314, -0.051947992, 0.013867583, 0.035980053, 0.021447137, -0.0065032835, -0.08359687, 0.020677442, -0.0067250603, -0.0043213894, -0.033501368, -0.073055945, -0.027082881, 0.014350275, 0.028178722, 0.05137398, 0.022843027, -0.026678465, -0.009934303, -0.02930065, -0.005573777, 0.05111307, 0.05453104, 0.0025700037, 0.050278142, 0.068098575, 0.006914223, -0.05278292, 0.03556259, 0.048843116, -0.02639146, 0.040780872, -0.040259045, 0.041615795, -0.008923261, -0.015615708, -0.02389973, -0.010599635, -0.0044127093, 0.03778036, 0.0075665084, -0.0016095138, -0.04427712, 0.023430085, 0.00016582313, 0.031701062, -0.017898707, 0.029065829, 0.02159064, -0.009092856, -0.03446675, 0.06152354, -0.015315657, -0.0011137769, -0.02189069, 0.0012695101, -0.021342771, -0.024708563, 0.01491124, 0.010671386, 0.035666954, -0.0059521026, -0.033005632, -0.04260727, 0.04260727, -0.037545536, 0.042007167, -0.010645295, -0.038615283, -0.05137398, -0.012673901, -0.017846523, -0.0361366, 0.054687593, -0.024330238, -0.006513068, -0.0023368117, -0.036762793, -0.049417127, 0.029613748, -0.01125192, 0.015380885, -0.016189719, -0.063141204, 0.0024868373, 0.033292636, 0.018824952, 0.0066239564, 0.0021003583, 0.0065489435, -0.045868695, -0.0021672177, 0.0073708226, 0.018668402, -0.01815962, 0.03483203, -0.05296556, 0.015667891, -0.014976468, 0.044407576, 0.0055085486, -0.004409448, -0.0036397513, 0.0053878757, -0.014872103, -0.021264497, -0.009888643, -0.024552016, 0.031440146, 0.0025080366, 0.026065316, 0.01292177, 0.008179656, 0.022308154, -0.008179656, -0.002097097, 0.03869356, -0.002977682, -0.022282062, 0.011989002, -0.0063989176, 0.019046728, -0.015146063, -0.038928382, -0.025960952, -0.0032973017, -0.007957879, -0.0006298629, -0.00056218833, -0.022086376, -0.016528906, -0.041641887, 0.0060760365, -0.011075803, 0.047851644, -0.008675394, 0.016698502, 0.02547826, 0.0074164825, -0.040285133, 0.032353345, 0.0009172761, -0.0059292726, -0.06543725, -0.044042297, 0.016176673, -0.010612681, -0.00542049, 0.03295345, -0.010756183, 0.027839532, 0.06794202, 0.0012597258, 0.043990113, -0.044120573, -0.0126151955, 0.008531891, 0.009145038, 0.008186179, -0.03206634, 0.017285557, 0.0072534117, -0.018550992, -0.0054041827, -0.022803891, 0.03835437, 0.02541303, -0.0088710785, 0.0031668446, -0.028283086, 0.031805426, -0.0048497403, 0.0031603219, -0.033031724, -0.0015043328, -0.040519956, 0.026078362, -0.058757853, 0.010116943, 0.015459159, 0.022034194, -0.025908768, 0.01815962, 0.026743693, 0.025491307, -0.010143035, -0.021695007, -0.012367328, 0.049938954, 0.008336205, -0.040780872, -0.027996082, 0.0045594736, -0.008525368, 0.007846991, -0.042920366, 0.012047708, 0.05056515, 0.018459672, -0.0017497551, 0.05447886, 0.056409623, 0.045712147, -0.01463728, -0.016802866, -0.03316218, 0.030866137, -0.008571028, 0.02742207, -0.026652373, 0.010638772, 0.014076315, 0.013156593, 0.025047751, -0.013763218, 0.030109486, 0.0009588592, -0.009862552, -0.029926846, 0.026234912, 0.039502393, 0.023821456, 0.046207882, -0.024147598, -0.05854912, -0.012262962, -0.032327253, -0.0051693604, -0.010090852, -0.010371335, -0.011845499, -0.023208307, -0.018642312, -0.027552526, 0.0318837, 0.029848572, -0.04962586, -0.026821967, 0.028022172, 0.0252043, 0.057557646, 0.006829426, 0.004751898, 0.013065273, -0.023612725, -0.044407576, -0.017155102, -0.008734099, 0.019242413, -0.030813953, 0.04057214, 0.023547497, 0.0027819965, 0.034153655, 0.03631924, 0.0107235685, 0.011362808, 0.00008652971, 0.0009091225, 0.03945021, 0.011799839, 0.07263848, -0.015459159, 0.043807473, 0.0076969652, -0.020038202, -0.021942874, 0.014872103, 0.040624324, 0.0079187425, 0.017846523, -0.02639146, -0.015041697, -0.012002048, -0.036554065, 0.021173177, -0.028674457, 0.004592088, -0.016985506, 0.02796999, -0.029952936, -0.022895211, -0.026769785, -0.018668402, -0.04795601, -0.023299627, -0.0036495358, 0.0051628374, 0.094033435, -0.0070446804, -0.016202765, -0.028831007, 0.028361361, 0.023312673, -0.052704643, 0.050225962, -0.013867583, 0.018851042, -0.02760471, 0.042268082, -0.00912547, -0.0044029253, -0.016333222, -0.024917295, -0.0004500768, -0.022699526, 0.035510406, 0.008381865, 0.039137114, 0.043285646, -0.0038093457, 0.0079252655, 0.050512966, -0.024382422, 0.0088384645, -0.0062488923, 0.013345756, -0.0024754223, 0.012484739, 0.0029923583, 0.007005543, -0.0073316856, 0.024108462, 0.021147087, -0.005873828, -0.012067276, -0.023195261, 0.0010436564, -0.033214364, -0.0076773968, -0.016372358, -0.017416015, 0.011930296, 0.0056226985, -0.00025337204, 0.0069794515, -0.021629777, -0.054739773, -0.009829938, -0.020599166, -0.024212826, -0.040102493, 0.002097097, 0.0079056965, 0.008825419, 0.01797698, -0.005430274, 0.017663883, 0.017376877, 0.0065489435, -0.008251408, -0.0077230567, 0.0066794003, 0.01273913, -0.032483805, -0.02222988, -0.03965894, -0.0034766803, -0.005994501, -0.011806362, 0.014245909, 0.018146574, -0.012771744, 0.008453616, -0.013958903, 0.024343284, 0.0069337916, -0.002591203, -0.021251451, -0.00018060146, -0.0018003072, 0.030500855, 0.0071816603, -0.04315519, 0.013130501, 0.0116563365, -0.046990626, 0.019842517, 0.0033266544, 0.023338765, -0.009640776, 0.02870055, -0.00494106, -0.0053161243, -0.037180256, 0.012008571, 0.028987555, -0.03835437, 0.03611051, 0.007807854, -0.029692022, -0.022790845, 0.060114603, 0.03926757, -0.024930341, 0.02010343, -0.00019925274, -0.032301165, -0.0018818429, -0.010508315, -0.009360293, -0.021147087, 0.009745141, -0.00090259966, -0.009379861, 0.012432556, -0.016894186, -0.0022862596, 0.00027599817, -0.013091364, -0.0006298629, -0.036554065, -0.032196797, 0.013789309, -0.030344307, 0.0017660622, -0.029039737, -0.024865111, -0.003215766, 0.0071360003, 0.0028341792, 0.027161157, -0.027865624, -0.0034179746, -0.006138004, 0.041798435, -0.00953641, 0.017559517, -0.017598655, -0.0049443217, -0.010553975, -0.016007079, 0.009099378, -0.017663883, 0.0076643513, 0.014689463, -0.033997104, 0.029692022, 0.010234355, 0.015237383, -0.016372358, -0.022764754, -0.044224937, 0.021877646, 0.013143547, -0.020259978, -0.003874574, 0.0033380694, -0.027135065, 0.0034016673, -0.01605926, -0.020064292, 0.0007460512, -0.011669382, -0.02417369, 0.0058705667, -0.0015206399, 0.018824952, -0.009060241, -0.02593486, 0.014128498, -0.017990027, -0.0024493309, -0.07002934, -0.0013282157, -0.01278479, 0.022034194, 0.014232863, 0.037649903, -0.0075143254, 0.021995056, 0.020220842, -0.026339276, -0.053017743, -0.004738852, -0.01612449, -0.0041061356, -0.023156125, 0.008342728, -0.006591342, -0.053096015, 0.0021280805, 0.0098038465, -0.048764843, 0.020259978, -0.050460782, -0.07910915, 0.0011382377, -0.0024558539, 0.024956431, -0.019059774, 0.019607693, 0.0022699526, -0.015720073, -0.016724592, -0.044564124, -0.006822903, -0.04260727, -0.009497273, -0.012099891, 0.057140183, -0.029196287, -0.020599166, -0.010756183, 0.031596694, -0.042920366, -0.018303122, -0.015667891, -0.025308667, -0.044355392, 0.0024232396, 0.0144024575, -0.014793828, -0.027030699, 0.013123978, 0.017455151, 0.018185712, -0.0033315467, -0.007749148, 0.0019699014, -0.012406465, 0.020325206, -0.025021661, -0.05463541, 0.0098038465, 0.005681404, -0.008049199, 0.0031603219, -0.008518845, 0.013313141, 0.009040673, -0.00921679, -0.0009841353, -0.008336205, -0.009092856, 0.005325909, -0.030344307, 0.010169126, 0.008590596, 0.005221543, -0.016815912, -0.012112936, -0.00027029068, 0.007625214, 0.016698502, -0.031701062, -0.0048008193, 0.022112468, -0.009138516, 0.02159064, 0.025634808, 0.0125630135, -0.044955496, -0.052548096, 0.011127986, 0.0151852, 0.029509382, -0.0023955174, -0.04406839, 0.008264453, 0.010606158, -0.009053718, -0.0044518467, 0.0030526947, 0.020299116, 0.004892139, 0.0010550714, 0.026795875, -0.009066764, -0.007540417, 0.010469178, -0.011767225, -0.015720073, -0.016711546, -0.006698969, 0.017233375, 0.011675905, 0.038015183, -0.050278142, 0.024669426, 0.042268082, -0.022908257, 0.022242926, -0.010286538, 0.0043800953, 0.03668452, -0.01889018, -0.004448585, 0.031205324, -0.02584354, -0.0058151227, 0.017742157, -0.04816474, -0.02481293, 0.009197221, -0.02374318, 0.0029809433, -0.009953872, 0.027395979, -0.009131993, -0.082396664, -0.01749429, 0.030344307, -0.0107235685, -0.030605221, 0.02083399, -0.015211291, 0.03498858, 0.0016160366, -0.011597631, 0.033266544, -0.05520942, -0.0070381574, 0.016998552, 0.014363321, -0.059175313, -0.02723943, -0.014676417, 0.015537433, -0.04093742, -0.017272511, 0.0063304277, 0.0097908005, 0.0032402268, -0.023847546, 0.010390903, -0.01445464, 0.0009939196, -0.008166611, 0.010567021, -0.05369612, 0.0024966216, 0.010169126, 0.0045431666, -0.033083905, 0.0036886728, 0.010560498, -0.009177653, 0.0015565156, -0.0062032323, -0.029065829, -0.004732329, 0.006914223, -0.019816425, 0.048451744, -0.024225872, 0.033266544, -0.018172666, 0.010110421, -0.008264453, -0.020638304, 0.02119927, -0.019503327, -0.001662512, 0.010273492, -0.01834226, 0.041093968, -0.04020686, 0.016802866, -0.0065652505, -0.0025406508, -0.0042659454, -0.014715554, 0.010632249, -0.026874151, -0.008616688, 0.0022601683, 0.05168708, -0.019098911, -0.034545023, 0.010534406, 0.03167497, -0.028387452, 0.023377901, -0.006614172, -0.0065880804, 0.040859144, 0.05093043, -0.019633785, 0.041589703, 0.013971949, -0.019555511, 0.004797558, 0.019894699, 0.021147087, 0.045659963, 0.00025704113, 0.0053063403, -0.0025308665, 0.03908493, 0.03480594, -0.019007592, 0.0027689508, 0.009640776, 0.0125630135, -0.008564505, 0.030474765, 0.0040017697, 0.0065424205, -0.01791175, 0.020220842, 0.016685456, -0.060114603, -0.012119459, 0.0036951958, -0.021264497, 0.0016038063, -0.017194238, 0.014337229, -0.0043898793, 0.021068811, 0.054061398, -0.005987978, 0.02408237, -0.010325675, 0.042111535, 0.05990587, 0.0043964023, 0.046155702, -0.005723803, -0.023116987, 0.023208307, -0.011395423, 0.0067968117, -0.011943342, 0.024238918, 0.00076439674, 0.020273024, -0.030213851, -0.0028504864, 0.058079474, -0.03373619, -0.016594136, -0.04704281, -0.022269016, 0.004481199, 0.034336295, 0.008303591, 0.00007246481, 0.0073643, 0.036893252, -0.0030722632, 0.06204537, -0.036814976, 0.009236358, 0.0072403657, -0.014115452, -0.06418487, 0.009960395, -0.01621581, 0.028465725, 0.0018215064, 0.008218793, 0.034388475, 0.019881653, 0.0030657405, -0.0031293384, -0.05593998, -0.026600191, 0.0144155035, -0.02344313, 0.050695606, -0.022790845, -0.009425521, 0.06261938, -0.040128585, 0.0023482267, 0.033057813, -0.008760191, 0.015889667, -0.007051203, -0.01594185, 0.0070446804, 0.0000893325, 0.022216834, 0.02723943, -0.0056911884, 0.022008102, 0.0021378647, 0.013358801, 0.01500256, 0.038041275, 0.00058787205, -0.004523598, 0.040050313, -0.026521916, -0.007142523, -0.010338721, -0.0053454773, 0.018120483, 0.025856586, 0.026978517, 0.013371847, 0.04704281, 0.031831518, -0.06778548, 0.026626281, 0.009542933, -0.027369887, -0.020625258, -0.09283323, 0.01861622, 0.014519868, -0.012947861, -0.055626884, 0.010123466, -0.012908724, -0.010991006, -0.0067446292, 0.02726552, -0.005120439, 0.030292125, -0.013345756, 0.030161668, 0.0109323, -0.03780645, -0.0007676582, -0.002108512, -0.010403949, -0.003126077, 0.0006111097, -0.0057662013, -0.009236358, 0.012080322, 0.0058542597, 0.029848572, 0.0051563145, -0.016176673, 0.0072990716, -0.0051563145, 0.02213856, -0.013932812, 0.018550992, 0.007018589, -0.011499789, -0.0074686655, 0.00048636016, 0.004249638, -0.009569024, 0.027943898, 0.026221866, 0.0058379527, 0.014141543, -0.0076186913, 0.010814888, -0.0038778356, 0.013776263, 0.038484827, -0.010129989, -0.006245631, 0.014793828, 0.010071283, -0.012915247, -0.018277032, 0.054687593, -0.023025667, -0.0042463765, 0.004409448, 0.037884723, 0.019385917, -0.034231927, 0.02362577, -0.0018541206, -0.0072077517, 0.01870754, -0.011832453, 0.009569024, -0.008421002, 0.04093742, -0.009386384, -0.045059863, 0.023364857, 0.029796388, 0.031414054, -0.01779434, 0.020794852, 0.030213851, 0.0079187425, 0.013998041, 0.002131342, -0.02371709, 0.030657405, -0.004618179, -0.015106926, 0.013397938, -0.025987042, -0.016346266, 0.006183664, 0.0218646, 0.023690999, 0.007357777, 0.043103006, 0.0135153495, -0.0003485649, 0.017833477, 0.017376877, 0.017703021, -0.038458735, 0.031727154, -0.014102406, 0.042268082, 0.017298603, 0.012960907, -0.040154677, -0.0062782452, -0.02159064, -0.0008838464, -0.021264497, -0.029170195, -0.008414479, -0.011167123, 0.0014333967, 0.030344307, 0.018263986, -0.0007297441, -0.033475276, -0.011167123, -0.0144285485, 0.0048334333, -0.0021639562, 0.010227832, -0.025360849, -0.021838509, -0.026443642, -0.017429061, 0.010808365, 0.033631824, -0.0055835615, 0.0041746255, 0.010221309, 0.038745742, 0.006193448, 0.013450121, 0.0189815, -0.031544514, -0.005590084, -0.035249494, -0.03780645, 0.0014236125, -0.013306618, 0.06168009, 0.020938355, 0.0051400075, -0.02966593, 0.004722545, 0.0088123735, 0.010775751, 0.0057825083, -0.010854025, 0.0036169214, 0.044616308, -0.010201741, -0.020442618, 0.017703021, -0.045425143, 0.017833477, -0.013971949, -0.020351298, -0.03331873, 0.026091408, -0.016294084, 0.006340212, -0.035901777, 0.00798397, 0.012934816, -0.011180168, 0.028752731, 0.013091364, 0.025165163, 0.0144676855, -0.005384614, 0.004210501, 0.018211802, 0.021786327, -0.032927357, 0.015902713, -0.0010599635, 0.0058379527, 0.023925822, 0.042763818, -0.026926333, 0.011695473, -0.048399564, 0.03702371, -0.0059847166, 0.008858033, 0.0014676417, 0.016294084, -0.022151606, -0.014519868, 0.026495825, 0.01315007, -0.011610677, 0.0042757294, 0.0002531682, -0.00363649, 0.005841214, 0.012863064, -0.00494106, 0.0036495358, -0.04318128, -0.04391184, -0.0029988813, -0.008042676, 0.01694637, -0.026743693, -0.014298092, -0.017755203, 0.014572051, 0.020546984, -0.006245631, 0.014611188, -0.04391184, 0.030579131, 0.029692022, -0.02529562, -0.010234355, -0.0036103986, 0.0040017697, 0.034518935, -0.027761258, 0.0007876344, -0.018994546, -0.018198757, 0.022190742, 0.008381865, 0.006575035, -0.0019764241, 0.000027569242, 0.004210501, 0.017207284, -0.021916782, -0.011349763, -0.012015093, 0.0019927314, 0.005267203, 0.029431108, -0.0057368483, -0.036084417, 0.012836973, -0.0072860257, 0.0156418, 0.030866137, 0.027161157, -0.007840469, 0.013215298, -0.024330238, 0.030840045, 0.03741508, -0.006513068, -0.00763826, -0.020220842, -0.027004607, 0.0010118574, -0.0026694771, 0.0015589617, -0.01621581, 0.019685967, 0.029587656, 0.03908493, 0.02550435, -0.020990537, 0.035066854, 0.017285557, 0.0017888922, 0.0309705, -0.004203978, 0.049938954, -0.0077752396, 0.0032630567, -0.0020938355, 0.00058338756, 0.008362296, 0.012850018, 0.0040082927, 0.03389274, 0.003034757, -0.018446626, -0.011891159, -0.024486786, -0.009888643, 0.023456177, 0.014506823, -0.004399664, 0.0057955543, 0.012008571, -0.004360527, -0.05427013, 0.016385404, -0.0063826106, 0.0068881316, 0.013737126, -0.02742207, 0.0072795027, -0.0058770897, -0.025008615, 0.029535474, -0.011088848, -0.021942874, -0.0046573165, -0.0075730314, -0.00949075, -0.024278056, -0.012699993, -0.0019617477, 0.0029466983, -0.016776776, -0.016620226, 0.0027249213, -0.005211759, -0.010821411, 0.01843358, 0.013300096, 0.011551971, 0.046547074, -0.017024644, 0.01173461, 0.033005632, 0.015615708, 0.0106583405, 0.013084841, -0.028126538, -0.0035843072, 0.011682428, 0.0016714808, -0.048817024, -0.014324183, 0.00930811, -0.034884214, -0.012380373, 0.016907232, 0.0026531701, 0.0010020732, 0.0013298464, -0.03193588, 0.0007354516, 0.05823602, -0.010834457, -0.0069990205, 0.008186179, -0.0037408557, -0.04425103, -0.020142566, 0.009588593, 0.007846991, 0.056409623, 0.0144024575, -0.001726925, 0.01834226, -0.008773236, -0.03297954, -0.044564124, 0.0047127604, 0.003130969, -0.023325719, 0.03297954, -0.0031342304, 0.014389412, -0.014937331, 0.0036919343, 0.026469734, -0.035458222, -0.006046684, 0.041172244, 0.024956431, 0.0046671005, -0.0058085998, -0.027526436, -0.03018776, -0.022242926, 0.0036006144, -0.012758698, 0.0312836, 0.007540417, -0.01985556, -0.006597865, 0.015980987, 0.004158318, -0.0013200622, 0.0479821, -0.008492753, -0.027813442, 0.0062195393, 0.029352834, 0.005609653, 0.008010062, -0.021564549, 0.000025925789, 0.008120951, 0.034779847, -0.018263986, 0.023690999, 0.006216278, -0.0066337404, -0.014676417, 0.06460233, 0.044772856, 0.033370912, -0.014715554, -0.009699481, 0.033866648, -0.0079448335, -0.03391883, -0.019268505, 0.018016117, -0.031179233, -0.0318837, -0.024395466, -0.020155612, 0.0071294773, -0.037884723, -0.005528117, -0.007964402, 0.003227181, 0.032901265, 0.029874662, -0.014376366, 0.006229324, -0.0075143254, -0.0025960952, -0.0026401244, 0.0025814187, -0.015759211, -0.033605732, 0.015211291, 0.0018247679, 0.0077230567, -0.014480731, -0.007462143, -0.021877646, -0.012621718, -0.026365368, -0.022712572, -0.008623211, 0.01557657, 0.03115314, 0.012758698, -0.028648365, -0.0029238684, 0.003812607, -0.03373619, 0.012067276, 0.032849085, 0.007840469, -0.029796388, 0.030422581, 0.019516373, -0.009451613, -0.0036169214, -0.0053780917, -0.0013078318, -0.021968966, 0.03258817, 0.014950377, 0.012530399, 0.027735166, 0.021173177, 0.012106413, -0.038954474, 0.033370912, 0.0003204351, -0.021577595, -0.011421514, 0.012941338, -0.00037486016, -0.0153287025, -0.01779434, 0.014702508, -0.024525924, 0.0010632249, -0.026639327, 0.0065489435, -0.02472161, 0.019059774, 0.026247956, 0.021877646, -0.021538457, 0.0088515105, -0.00064698537, -0.0055542085, 0.012406465, 0.005802077, 0.016894186, 0.0011912358, 0.00008693739, -0.028987555, -0.025765266, 0.0015108556, 0.042450722, 0.015159108, -0.030605221, -0.018381396, -0.024369376, 0.017155102, -0.015537433, -0.009347247, 0.0035321245, -0.0005793108, -0.0046899305, 0.0014227971, 0.0156418, -0.0056292214, 0.007312117, 0.013971949, 0.0007631737, 0.030735679, -0.0057368483, -0.017324695, -0.02911801, -0.018955408, -0.039189294, -0.00272166, 0.037180256, 0.0057922928, 0.020533938, 0.02168196, -0.028570091, 0.0013233236, -0.009516841, -0.022269016, 0.006698969, 0.038563102, 0.005120439, 0.0036560586, -0.04138097, -0.00046719928, -0.009699481, -0.03146624, -0.0194381, -0.019281551, 0.032535985, -0.01088664, 0.0025276053, -0.017455151, -0.016868096, 0.008120951, -0.011180168, 0.015159108, -0.0015018866 ]
2310.12397
29
[16] Michael Trick. Graph Coloring Instances. Available at https://mat.tepper.cmu.edu/ COLOR/instances.html. [17] Karthik Valmeekam, Alberto Olmo, Sarath Sreedharan, and Subbarao Kambhampati. Large Language Models Still Can’t Plan (A Benchmark for LLMs on Planning and Reasoning about Change), apr 2023. arXiv:2206.10498 [cs]. [18] Yixuan Weng, Minjun Zhu, Fei Xia, Bin Li, Shizhu He, Kang Liu, and Jun Zhao. Large language models are better reasoners with self-verification, 2023. [19] Shunyu Yao, Dian Yu, Jeffrey Zhao, Izhak Shafran, Thomas L. Griffiths, Yuan Cao, and Karthik Narasimhan. Tree of thoughts: Deliberate problem solving with large language models, 2023. [20] Shunyu Yao, Jeffrey Zhao, Dian Yu, Nan Du, Izhak Shafran, Karthik Narasimhan, and Yuan Cao. React: Synergizing reasoning and acting in language models, 2023. 9 # A Appendix # A.1 Prompts All of following examples are built on the same graph instance.
2310.12397#29
GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems
There has been considerable divergence of opinion on the reasoning abilities of Large Language Models (LLMs). While the initial optimism that reasoning might emerge automatically with scale has been tempered thanks to a slew of counterexamples, a wide spread belief in their iterative self-critique capabilities persists. In this paper, we set out to systematically investigate the effectiveness of iterative prompting of LLMs in the context of Graph Coloring, a canonical NP-complete reasoning problem that is related to propositional satisfiability as well as practical problems like scheduling and allocation. We present a principled empirical study of the performance of GPT4 in solving graph coloring instances or verifying the correctness of candidate colorings. In iterative modes, we experiment with the model critiquing its own answers and an external correct reasoner verifying proposed solutions. In both cases, we analyze whether the content of the criticisms actually affects bottom line performance. The study seems to indicate that (i) LLMs are bad at solving graph coloring instances (ii) they are no better at verifying a solution--and thus are not effective in iterative modes with LLMs critiquing LLM-generated solutions (iii) the correctness and content of the criticisms--whether by LLMs or external solvers--seems largely irrelevant to the performance of iterative prompting. We show that the observed increase in effectiveness is largely due to the correct solution being fortuitously present in the top-k completions of the prompt (and being recognized as such by an external verifier). Our results thus call into question claims about the self-critiquing capabilities of state of the art LLMs.
http://arxiv.org/pdf/2310.12397
Kaya Stechly, Matthew Marquez, Subbarao Kambhampati
cs.AI
18 pages, 3 figures
null
cs.AI
20231019
20231019
[ { "id": "2206.10498" }, { "id": "2306.03872" }, { "id": "2303.11366" } ]
{ "authors": "Kaya Stechly, Matthew Marquez, Subbarao Kambhampati", "chunk_id": 29, "doc_id": "2310.12397", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12397", "summary": "There has been considerable divergence of opinion on the reasoning abilities\nof Large Language Models (LLMs). While the initial optimism that reasoning\nmight emerge automatically with scale has been tempered thanks to a slew of\ncounterexamples, a wide spread belief in their iterative self-critique\ncapabilities persists. In this paper, we set out to systematically investigate\nthe effectiveness of iterative prompting of LLMs in the context of Graph\nColoring, a canonical NP-complete reasoning problem that is related to\npropositional satisfiability as well as practical problems like scheduling and\nallocation. We present a principled empirical study of the performance of GPT4\nin solving graph coloring instances or verifying the correctness of candidate\ncolorings. In iterative modes, we experiment with the model critiquing its own\nanswers and an external correct reasoner verifying proposed solutions. In both\ncases, we analyze whether the content of the criticisms actually affects bottom\nline performance. The study seems to indicate that (i) LLMs are bad at solving\ngraph coloring instances (ii) they are no better at verifying a solution--and\nthus are not effective in iterative modes with LLMs critiquing LLM-generated\nsolutions (iii) the correctness and content of the criticisms--whether by LLMs\nor external solvers--seems largely irrelevant to the performance of iterative\nprompting. We show that the observed increase in effectiveness is largely due\nto the correct solution being fortuitously present in the top-k completions of\nthe prompt (and being recognized as such by an external verifier). Our results\nthus call into question claims about the self-critiquing capabilities of state\nof the art LLMs.", "text": "[16] Michael Trick. Graph Coloring Instances. Available at https://mat.tepper.cmu.edu/ COLOR/instances.html.\n[17] Karthik Valmeekam, Alberto Olmo, Sarath Sreedharan, and Subbarao Kambhampati. Large Language Models Still Can’t Plan (A Benchmark for LLMs on Planning and Reasoning about Change), apr 2023. arXiv:2206.10498 [cs].\n[18] Yixuan Weng, Minjun Zhu, Fei Xia, Bin Li, Shizhu He, Kang Liu, and Jun Zhao. Large language models are better reasoners with self-verification, 2023.\n[19] Shunyu Yao, Dian Yu, Jeffrey Zhao, Izhak Shafran, Thomas L. Griffiths, Yuan Cao, and Karthik Narasimhan. Tree of thoughts: Deliberate problem solving with large language models, 2023.\n[20] Shunyu Yao, Jeffrey Zhao, Dian Yu, Nan Du, Izhak Shafran, Karthik Narasimhan, and Yuan Cao. React: Synergizing reasoning and acting in language models, 2023.\n9\n# A Appendix\n# A.1 Prompts\nAll of following examples are built on the same graph instance.", "title": "GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems", "year": 2023 }
[ 0.021105802, -0.0119287595, 0.027335577, -0.027587002, 0.004214875, 0.023871487, -0.017432192, 0.0285508, -0.0609568, 0.03511581, 0.028355246, -0.057604454, -0.014638571, 0.006537072, 0.025002902, -0.030590143, 0.016943308, -0.008632287, -0.00218077, 0.031120932, 0.028578738, -0.015141423, -0.0031218708, 0.031037122, 0.02155278, -0.007703408, -0.0030834586, 0.024569891, 0.002596321, -0.019234076, 0.039138623, -0.026539395, -0.05215689, -0.0038866245, -0.017180765, 0.04408333, 0.0013915722, -0.023731805, -0.0020131527, 0.028131757, 0.025575595, -0.0059748557, -0.028033981, 0.015183327, 0.0040088454, 0.04335699, -0.0070119873, -0.0021318817, -0.024500052, 0.04908391, -0.041317645, 0.0142754, -0.015029678, -0.020100098, -0.04335699, -0.021077866, -0.041457325, 0.013835405, 0.028103821, -0.0059888237, 0.0058351746, -0.07397507, -0.015714115, 0.046821076, -0.036540557, -0.018074725, -0.037071344, 0.006037712, 0.03321615, 0.019262012, -0.011600508, 0.028117789, 0.046681397, -0.0054300996, 0.018731225, 0.0191363, 0.016021414, 0.050313104, -0.01729251, -0.036177386, -0.0029140953, -0.015225232, 0.036037702, -0.046765205, -0.0030956806, -0.042882074, 0.00908625, 0.0111116255, -0.07615409, -0.031092996, 0.043748096, -0.030115228, 0.014764284, 0.0022541024, 0.106660426, 0.04548014, 0.048608996, 0.031037122, 0.009135139, 0.025198456, -0.013381442, -0.058777772, 0.00820626, 0.0053462912, 0.015979508, 0.015211263, -0.009693863, 0.033607252, -0.01537888, -0.035367236, -0.14370383, -0.019890577, -0.03075776, 0.015350944, -0.01958328, -0.042351287, -0.018186469, -0.03377487, 0.032210443, 0.0071935724, 0.008688159, -0.0023466412, 0.019667087, -0.018856937, -0.012096376, 0.006376439, 0.023536252, -0.037993237, -0.006571992, 0.007940866, -0.028453024, -0.012159233, 0.023242922, -0.017613776, -0.039110687, -0.020561047, -0.05690605, 0.01067163, 0.011621461, 0.012676053, 0.01736235, -0.013130016, -0.01306716, 0.044195075, -0.0027150498, 0.015937604, -0.009149107, 0.027070181, -0.0030939346, 0.04732393, 0.0037224991, 0.01618903, 0.018130597, 0.042351287, -0.015350944, -0.071125574, -0.01618903, 0.030646017, 0.028425088, -0.049195655, 0.05989522, -0.0007673726, -0.00518915, 0.017334415, -0.0006333661, 0.042993817, -0.049000103, 0.010133858, -0.05070421, -0.06849957, -0.010064018, -0.037350707, -0.044502374, -0.017418223, 0.02362006, -0.012906526, -0.033299956, -0.020505173, 0.020910248, -0.0029612377, -0.007535791, 0.03871958, -0.045256652, -0.009400533, 0.0015687925, 0.0085903825, 0.03628913, -0.0044313804, 0.0028163185, 0.026008606, -0.0026539394, 0.03399836, 0.06442089, 0.039501794, 0.02466767, -0.06442089, 0.07771852, 0.006425327, 0.009491325, 0.0144569855, -0.0029472695, 0.032322187, -0.022069601, -0.06866719, 0.018144565, -0.017823298, 0.0149039645, 0.0011427654, -0.008450702, -0.029193334, 0.021510877, -0.008352925, 0.01699918, 0.016244903, -0.012697005, 0.03201489, -0.064365014, -0.023410538, -0.0115306685, 0.0641974, -0.02877429, 0.037350707, 0.05651494, -0.0048399474, -0.017264575, 0.051933404, 0.025505755, -0.037574194, 0.0098964, -0.0013837151, 0.05048072, -0.015588402, -0.054671153, -0.050452784, -0.011817015, -0.039613537, 0.011125593, 0.0034745655, 0.026413681, -0.0541683, 0.012948431, -0.009351645, 0.030813633, -0.0127808135, 0.058330793, 0.033719, -0.02708415, -0.037434515, -0.013800485, 0.02605051, 0.005957396, -0.0069107185, -0.041624945, -0.021985793, -0.037183087, -0.025114648, -0.019778833, -0.018186469, -0.03754626, 0.008876729, 0.00055741455, 0.02016994, -0.03754626, 0.009142123, -0.0037853557, 0.0008044754, -0.011328131, 0.053916875, -0.0029402855, -0.040311944, 0.0144709535, 0.012389706, 0.033607252, -0.034333594, -0.014987773, -0.06766149, 0.02260039, 0.037713874, -0.03363519, -0.0056570815, 0.016524265, 0.021776272, 0.055090196, 0.023354666, 0.0011218132, 0.0036247226, -0.007891978, 0.0017416477, -0.040228136, -0.016985212, 0.036345, -0.0055837487, 0.016216967, -0.045368396, 0.011314163, -0.03648468, 0.007926898, 0.020658823, 0.037713874, -0.02170643, 0.03075776, -0.024081009, -0.03106506, 0.021231515, 0.010427188, 0.03871958, -0.013667788, 0.034752637, 0.041904308, 0.0066523086, 0.022698166, -0.013123032, -0.0041555106, 0.035758343, -0.019667087, -0.049921997, 0.05048072, -0.005349783, 0.025044806, -0.015881732, -0.026846692, -0.020966122, 0.009819576, 0.017027117, -0.015225232, 0.02575718, -0.011160513, 0.006313582, 0.008059595, -0.024723541, 0.0021423576, 0.032573614, 0.035898022, 0.045675695, 0.0127808135, -0.029640313, -0.037630066, 0.026441617, 0.01789314, 0.04953089, -0.06928179, -0.0035426598, -0.027852396, -0.01898265, -0.052073084, 0.04358048, -0.00014895671, 0.047072504, 0.033886615, 0.009658943, -0.008625303, -0.057939686, -0.0025666389, 0.02510068, -0.010210683, -0.016426489, -0.046374097, 0.003425677, -0.023005465, 0.0153090395, 0.0065824683, 0.005220578, -0.008534511, -0.016147126, -0.008688159, 0.032657422, -0.05637526, 0.025659403, 0.047742974, 0.00791293, 0.033691064, 0.013653819, 0.0037539275, -0.02016994, -0.036764044, -0.021301355, -0.03193108, -0.005597717, 0.0010685598, 0.05064834, -0.04011639, -0.030534271, -0.00436154, 0.0005142008, -0.038607836, 0.00356012, -0.010329411, -0.00000922113, -0.018801065, -0.02030962, -0.008283084, -0.0063834228, -0.02406704, 0.019345822, 0.016063318, 0.005321847, 0.043608416, 0.06514723, 0.048804548, 0.047715038, -0.021832144, -0.007549759, -0.025491787, 0.033076465, 0.005458036, 0.040591303, 0.051486425, 0.030338718, -0.017264575, -0.013982071, -0.0006294376, -0.022768006, 0.010510997, -0.016887436, -0.004881852, -0.032713294, 0.03729483, 0.012808749, 0.01077639, 0.06654404, -0.0007678091, -0.03584215, -0.021035962, -0.045508076, -0.0055208923, -0.009323708, 0.049139783, -0.019303918, 0.0086043505, -0.04701663, -0.023675933, 0.028215567, 0.08866951, -0.024108944, 0.025156552, -0.04902804, 0.068276085, 0.0062297736, -0.00029573092, -0.03804911, -0.010748454, -0.00025295359, -0.008331973, 0.021231515, 0.0041869385, 0.0014561747, -0.04304969, -0.0127808135, 0.015853796, -0.017627744, 0.02443021, -0.016817596, -0.009295772, 0.042351287, -0.01994645, -0.008248164, 0.04483761, -0.0021266434, 0.06151552, 0.006296122, 0.026218127, 0.029333014, -0.04196018, -0.013032239, 0.017222669, 0.032573614, -0.017921075, -0.0040437654, 0.023564188, -0.0068129417, 0.0067465934, -0.013046207, 0.0077313446, -0.012731925, 0.046178546, -0.0009943543, 0.026287967, 0.0014849838, 0.03740658, -0.030506335, -0.005796762, -0.021524845, 0.032852978, 0.012082408, 0.024458148, 0.058330793, -0.005290419, -0.026371777, 0.00842975, 0.03679198, -0.03430566, -0.019918514, 0.011083689, -0.017041085, 0.04858106, 0.016300775, -0.004403444, -0.038524024, -0.00684437, -0.02701431, -0.020770568, 0.0034605972, -0.041988116, 0.009980209, 0.0016063318, -0.029779993, 0.047184248, 0.020644855, 0.0110976575, 0.05377719, -0.005059945, -0.01965312, 0.026413681, 0.0197928, 0.022809912, 0.028103821, -0.026036542, 0.039250366, 0.0019887085, 0.039473858, -0.013653819, -0.019024555, -0.006135489, -0.017096957, 0.013269697, 0.0031323468, 0.02030962, -0.052436255, -0.015923636, -0.013339537, 0.029612377, -0.0025055283, 0.014387145, -0.007961818, -0.043301117, -0.00008037115, -0.013416362, -0.002592829, -0.03944592, 0.008017691, 0.0068304017, 0.042993817, -0.0018298214, 0.030897442, -0.014652539, -0.015979508, 0.020644855, -0.021217547, -0.012445579, 0.056179706, 0.055006385, -0.016035382, -0.04673727, -0.0353393, 0.00087999046, 0.005035501, -0.0071446844, 0.0028163185, -0.00820626, -0.020058194, 0.019443598, -0.0001472107, 0.025421945, 0.011712254, 0.0020201367, 0.03458502, 0.03120474, -0.00572343, 0.033942487, 0.0030485382, -0.021301355, -0.02936095, 0.012759862, -0.013451282, 0.044642054, -0.048106145, 0.011803046, 0.0034745655, 0.026679074, -0.0076056314, -0.032992657, -0.036372937, 0.0074729347, 0.01994645, -0.02539401, 0.0057548583, -0.0055243843, -0.012515419, -0.013814453, 0.0027796524, 0.030059356, -0.01927598, -0.02613432, -0.01670585, -0.027726682, -0.0055278763, 0.018507736, -0.016957276, -0.025072744, 0.01708299, 0.007829121, -0.013025255, -0.0036491668, 0.0058386666, 0.008876729, 0.0016971244, -0.028215567, 0.032042827, -0.001237923, 0.0029909199, -0.0024217197, -0.021650558, 0.025659403, -0.026441617, -0.04053543, 0.011823999, -0.014247464, -0.021901984, 0.03740658, -0.049111847, 0.022041665, 0.0136119155, 0.0094354525, -0.005328831, -0.002039343, 0.014512858, -0.0032004414, -0.0019782325, -0.006201837, -0.0288581, -0.012152249, -0.035898022, 0.034193914, -0.012166217, 0.0003210481, 0.007850073, -0.009561166, 0.01648236, 0.010755438, -0.02201373, 0.039781153, -0.008730064, -0.028159695, -0.026092414, 0.02332673, -0.009107202, -0.00963799, 0.016649978, -0.0073262695, 0.016021414, -0.021538813, -0.03304853, 0.015504593, 0.008255148, 0.015756018, -0.020142004, -0.0013505409, -0.0094354525, -0.019876609, 0.023452444, -0.039501794, 0.012724941, -0.0037434513, 0.021832144, -0.01537888, 0.02023978, -0.0074729347, 0.015797924, 0.031009186, -0.011879871, -0.01773949, 0.0033698047, 0.061124414, 0.027852396, -0.015406816, -0.03120474, -0.008457686, -0.0073123015, -0.002722034, -0.0063869148, -0.027936203, 0.012606212, -0.058610156, -0.0043545556, 0.05335815, 0.0074240463, 0.012717957, -0.0019275981, 0.0017006164, 0.011467812, -0.0111116255, -0.00095245, -0.011118609, -0.003308694, -0.006379931, -0.025659403, -0.0026609234, 0.058051433, -0.048608996, -0.085708275, -0.027810492, 0.022502612, -0.012333835, -0.007214525, -0.013311601, -0.03810498, -0.02060295, 0.024444178, 0.039920837, -0.036931664, -0.024849253, 0.0051158173, 0.0023798153, 0.016133158, -0.038831323, -0.006701197, 0.026623202, 0.0051507377, -0.008038643, -0.0140658785, -0.06542659, -0.0074938866, -0.0019520422, -0.01905249, -0.010434172, 0.013779533, -0.012634148, 0.020742632, 0.0034815494, -0.014512858, 0.0029717137, 0.042658582, 0.036121514, -0.013772549, 0.0024985443, 0.017306479, -0.020295652, -0.0039424966, -0.010308459, -0.023089273, -0.016147126, -0.02296356, -0.010524965, 0.027656842, 0.011356067, 0.00956815, 0.001507682, -0.005059945, -0.042351287, 0.0036212304, -0.02575718, 0.012892558, -0.0012030028, -0.009211963, -0.01041322, 0.00011327258, -0.010483061, -0.002035851, -0.021818176, 0.01306716, -0.022781974, -0.00736119, -0.0064881835, -0.011705269, 0.0054161316, -0.011663365, -0.0014203814, -0.03304853, -0.004818995, 0.008688159, -0.033719, -0.004560585, 0.041401453, -0.0019607723, 0.018186469, -0.010071002, 0.027489224, 0.009987193, -0.019988354, 0.009665927, 0.016649978, -0.00095681497, 0.016356647, -0.032517742, -0.011977647, 0.02966825, -0.0050878813, -0.011377019, -0.01715283, -0.04363635, -0.047742974, -0.017432192, -0.021385165, -0.0059294594, -0.0037993237, -0.022754038, 0.011342099, -0.13074143, -0.017390287, 0.046318226, -0.011167497, 0.009693863, -0.011328131, 0.010504013, 0.01951344, 0.042798266, -0.038971003, 0.005901523, -0.043887775, -0.025771149, 0.0068024658, -0.004784075, -0.043692224, -0.01891281, -0.03039459, -0.0063275504, -0.0106855985, -0.00302584, 0.013535091, 0.022265155, 0.06218599, -0.012801765, 0.0008895935, -0.011307179, -0.0062332656, 0.0019887085, 0.017767426, -0.015630307, -0.03908275, -0.0054266076, 0.059727605, -0.013276681, -0.0021458496, 0.0075986474, -0.012885574, -0.0018839478, -0.016789658, -0.01456873, -0.02760097, 0.041848432, -0.030562207, 0.04335699, -0.018675353, 0.01604935, -0.015546498, 0.0066418326, -0.013325569, -0.018647416, 0.043664288, -0.0032912341, 0.012662085, 0.022628326, 0.022698166, 0.0123757385, -0.02560353, 0.02487719, 0.011817015, 0.010839247, 0.014135719, 0.028089853, 0.0067431014, -0.018870905, -0.038747516, -0.023661966, 0.02620416, -0.012717957, -0.02229309, 0.01699918, 0.035311364, -0.013416362, 0.024541955, 0.007989754, 0.0015792685, 0.0050913733, 0.034836445, -0.049307402, 0.013744612, 0.013423346, -0.000018974248, -0.012117328, 0.031679656, -0.0023728313, 0.0019502962, 0.043077625, -0.005038993, -0.011363051, 0.034612957, 0.012487483, 0.0009376088, -0.013597948, 0.023117209, -0.006156441, -0.010650678, 0.005726922, 0.02420672, 0.04894423, 0.012466531, 0.010978928, 0.059504114, -0.019108364, 0.00036098814, -0.027181927, 0.027363513, -0.00548248, -0.0022855308, 0.00092014874, 0.0030607604, 0.003830752, -0.003395995, -0.017976947, 0.0029053653, -0.01699918, -0.014135719, 0.029333014, 0.019750897, 0.033607252, 0.0052799424, 0.0148899965, 0.02089628, -0.032769166, 0.010916072, -0.03517168, 0.0050215325, 0.028830163, 0.0181725, -0.02568734, 0.007507855, 0.018563608, 0.011335115, -0.04165288, 0.009386565, -0.0075707114, 0.022111505, 0.018563608, 0.02877429, -0.016524265, 0.011900823, 0.013695724, -0.0031096488, 0.05676637, -0.037266895, 0.034193914, -0.01604935, -0.008331973, -0.0658177, -0.021287387, -0.00077653915, 0.023997199, 0.020407397, -0.0034501213, 0.03952973, -0.009805608, 0.011628445, -0.0013889532, -0.0609568, 0.0007163017, 0.00273251, -0.011572572, 0.017725522, -0.014736348, -0.00768944, 0.0018315674, -0.014233496, 0.0026679074, 0.0009253868, -0.04517284, 0.047882654, -0.045061097, -0.015546498, 0.0053951796, 0.023522284, 0.0038028157, 0.054475598, 0.0119217755, -0.01824234, -0.006851354, 0.026399713, 0.0019433122, -0.0060796165, -0.02155278, 0.02744732, 0.040144324, -0.029696185, 0.01699918, -0.0009821322, -0.0060621565, 0.034138042, 0.012759862, 0.013667788, 0.02936095, 0.034138042, 0.03422185, -0.032433935, 0.013674772, 0.023675933, 0.0019677563, -0.02863461, -0.0090164095, 0.016594104, -0.013570012, -0.0140309585, -0.021985793, 0.027335577, -0.017027117, -0.03025491, -0.045312524, 0.034696765, -0.024527987, 0.030534271, -0.029752057, 0.04003258, 0.0025579087, -0.007850073, 0.004242811, -0.008506574, -0.019750897, -0.00023964026, -0.016594104, -0.039501794, -0.04173669, 0.06246535, 0.0061739013, 0.025352105, 0.018409958, 0.00026081066, 0.0060062837, -0.02370387, 0.016286807, -0.02060295, -0.0074310303, -0.011216386, -0.017194733, -0.017334415, 0.0040961457, 0.0033523445, -0.010182747, 0.018926779, 0.016677914, -0.01368874, 0.009540213, 0.002056803, 0.011181465, -0.026595267, 0.017096957, 0.0075776954, -0.006575484, 0.0017102195, -0.02201373, -0.00078657875, 0.010608774, -0.030562207, -0.0016037127, -0.027461288, 0.022977527, 0.026902564, 0.016258871, 0.026846692, -0.009128154, 0.024919095, 0.017599808, -0.036037702, 0.0074170623, -0.000066675864, 0.003429169, -0.01870329, -0.00982656, 0.0021388656, -0.057017792, 0.055229876, 0.00518915, 0.011823999, 0.0025439407, -0.0140658785, -0.026162256, -0.004127574, 0.001656093, 0.0165522, -0.049921997, -0.008366893, 0.005608193, -0.0035828182, 0.0132208085, -0.011963679, -0.033160273, -0.057073664, -0.017110925, 0.009079266, 0.019820737, 0.02251658, 0.0051472457, 0.00465487, -0.0031655212, -0.0016290299, -0.011432892, -0.010720518, 0.023452444, -0.020128036, 0.05048072, -0.0016229189, 0.004951692, -0.0029926659, 0.023661966, 0.02605051, 0.02922127, -0.03290885, 0.026329873, 0.0009184027, -0.040200196, 0.013590964, 0.012236058, -0.011076705, 0.010510997, -0.004246303, -0.012173201, 0.00036229764, -0.02155278, 0.004057734, -0.017320447, -0.0051018493, 0.01839599, -0.019317886, -0.006987543, 0.0066662766, 0.02494703, -0.0051228013, 0.015029678, -0.00842975, -0.0035007556, 0.01927598, -0.020407397, 0.02656733, -0.012941446, -0.004246303, -0.043468732, 0.009617038, 0.0055139083, -0.02098009, 0.04128971, 0.019611215, -0.0030921886, -0.021021994, -0.008918633, 0.003416947, -0.0022052142, 0.00436154, -0.0011296703, -0.0038691643, 0.0733046, 0.015001741, -0.03835641, 0.016649978, -0.017208701, 0.05014549, -0.020183908, 0.033523444, -0.035199616, -0.01796298, -0.027475256, 0.014973805, -0.007661504, -0.017613776, 0.016091254, -0.000684437, -0.007221509, -0.010287507, 0.010036081, -0.0032301235, 0.034920257, 0.03466883, -0.0037294833, -0.0041904305, 0.005789778, 0.011370035, 0.023536252, -0.001634268, 0.004546617, 0.04710044, -0.0035269458, 0.004382492, -0.035758343, 0.028089853, -0.01158654, 0.01067163, -0.032657422, 0.020044226, -0.011467812, -0.002311721, 0.015253168, -0.013982071, -0.006442787, -0.015490625, -0.007696424, 0.0082761, 0.027349545, 0.010022113, 0.005185658, 0.0076196, -0.0181725, -0.0055243843, -0.015756018, -0.016691882, -0.022321027, -0.012731925, -0.02170643, 0.04997787, 0.023410538, 0.028131757, -0.03355138, 0.020211844, -0.013919214, 0.012417642, -0.010755438, -0.05151436, -0.026218127, 0.0026940976, -0.015476657, 0.031316485, -0.012543356, -0.015937604, -0.013835405, -0.0019363281, 0.010881151, 0.0081922915, 0.014317305, 0.0068234177, 0.03902688, 0.032350123, 0.021468973, -0.016594104, -0.036400873, -0.012040504, 0.0054964484, -0.0012064949, 0.0033628205, -0.002479338, -0.034193914, -0.015797924, -0.010050049, 0.0023955295, 0.018535672, 0.007905946, -0.013891278, -0.022279123, -0.010748454, 0.011027817, 0.0068164337, 0.0026347332, 0.00912117, 0.022530548, 0.0010545917, 0.0036701187, -0.01832615, 0.009484341, -0.047212183, 0.013297633, -0.022614358, 0.02774065, 0.0064986595, -0.02466767, 0.02560353, 0.002481084, -0.00846467, 0.0016072048, -0.038887195, 0.0033663127, -0.038244665, -0.06050982, 0.026092414, -0.000550867, 0.0067605614, 0.017781394, 0.024053073, 0.010950992, 0.006697705, -0.027265735, -0.0068932585, -0.006697705, -0.0070783356, 0.01832615, 0.010923056, 0.020365493, 0.0379653, 0.030087292, 0.00082761, -0.004546617, -0.015686179, 0.0039215446, -0.00011174482, 0.06799672, 0.003022348, 0.0110976575, 0.026930502, -0.015099518, 0.020072162, -0.014652539, -0.004798043, 0.007954834, -0.009323708, -0.027587002, -0.011439876, 0.007933882, -0.0032493297, -0.0046862983, 0.016496329, -0.002030613, -0.0051297853, -0.019485502, -0.01758584, 0.0207566, 0.01611919, -0.018787097, 0.041541137, 0.0077173766, -0.044558246, 0.015588402, 0.0061704093, -0.018116629, 0.015686179, 0.009281804, -0.015560466, -0.007933882, -0.011726222, -0.03740658, 0.0127668455, 0.006013268, 0.023885455, 0.0063485024, -0.044809673, -0.020561047, 0.028369216, -0.0021214054, -0.024346402, -0.008618319, 0.021846112, -0.0069945273, -0.007507855, -0.0047666146, 0.00070364313, 0.018437894, -0.006460247, -0.006145965, -0.001230066, 0.03229425, -0.01670585, 0.025631467, 0.041373517, -0.009456405, -0.015714115, -0.031232676, 0.010985913, -0.023117209, -0.004061226, 0.009819576, 0.022502612, 0.021804208, -0.006854846, -0.045256652, 0.021175643, -0.0046828063, 0.01008497, 0.012326851, -0.008052611, 0.00018638687, 0.0053986716, 0.016440457, -0.04246303, -0.015658243, -0.0036002784, -0.016985212, 0.013416362, -0.022209283, -0.022754038, 0.017418223, 0.02613432, 0.0019607723, 0.0026871136, 0.018214405, -0.006858338, -0.015769986, -0.014373177, -0.0036701187, 0.035227552, -0.030310782, -0.0009009426, -0.0131928725, 0.005304387, 0.02598067, -0.026260031, 0.03039459, 0.0055907327, -0.011342099, -0.032573614, 0.011886855, 0.0042812233, 0.024849253, -0.01884297, 0.01780933, -0.017278543, 0.012606212, -0.02635781, -0.028145725, 0.013374458, -0.021999761, -0.027642874, -0.008408798, 0.012075424, 0.01839599, -0.0018734717, -0.010944008, -0.016035382, 0.022055633, 0.0158957, -0.000754714, -0.02686066, 0.019317886, -0.013451282, 0.0050145485, -0.010594806, 0.032182507, -0.0334117, 0.0043301117, 0.0027883823, 0.0051786737, 0.006205329, -0.0013374458, 0.0069351625, -0.0076196, 0.03282504, -0.024933062, -0.01958328, -0.0035321838, 0.008283084, 0.01479222, -0.007389126, -0.0067326254, -0.008415782, -0.0063310424, 0.020575015, -0.01508555, 0.025128616, -0.051765785, 0.003270282, 0.031260613, 0.0056815255, -0.019625183, 0.014931901, 0.030729825, -0.047687102, -0.014114767, 0.034026295, 0.0063869148, -0.0052799424, 0.052184828, 0.0058177146, 0.023941327, 0.010455124, -0.01372366, 0.003144569, -0.0002507711, -0.005032009, 0.008862761, 0.011013849, -0.02575718, 0.009135139, 0.026818756, -0.01891281, 0.042071924, 0.00274124, -0.0055697807, 0.0036561508, 0.0003836863, 0.07073447, 0.0068024658, -0.020798504, 0.03282504, -0.008290068, 0.010916072, 0.037797686, -0.0050145485, 0.002055057, -0.00028241758, -0.0037329753, -0.020421365, 0.00736119, -0.002187754, 0.033160273, 0.0061739013, -0.02016994, 0.0049796286, -0.047854718, 0.0022610866, -0.009323708, 0.036233258, 0.03570247, 0.0044558244, -0.01729251, 0.017907107, 0.028969843, 0.0074170623, 0.010797343, 0.01479222, 0.048189953, 0.03877545, 0.0152392, -0.028606674, -0.021147707, 0.013402394, -0.028802227, -0.03709928, 0.026665106, 0.012697005, 0.0033052021, 0.005884063, 0.014540794, -0.028271439, -0.041764624, -0.043301117, 0.01670585, 0.024751477, 0.017418223, 0.02098009, -0.049000103, -0.014247464, -0.029919675, -0.02575718, -0.021971826, -0.030729825, 0.011621461, -0.029696185, 0.010105922, -0.05120706, -0.030953314, -0.0039180527, -0.013367474, 0.011314163, -0.019695023 ]
2310.12773
29
Model-based Evaluations. Despite human evaluation remaining the gold standard for aligning large language models with human values, the reliance on this method alone is neither practical nor efficient due to considerable associated time and financial costs. Such limitations necessitate alter- native assessment methods to complement human evaluation. Thus, we have developed a unified Reward Model and a unified Cost Model, utilizing training methodologies mentioned in Section 3.2. These models are trained on evenly balanced preference data originating from all iterations of Safe RLHF. With these unified models, we can rapidly evaluate subsequent new models under consistent criteria. The test accuracies for the unified models are detailed in Table 1. Note that we do not employ these unified models to train a single-round Safe RLHF process, as the preference data ac- quisition occurs iteratively. We need intermediate models for the red-teaming procedure, facilitating the collection of new prompts for the follow-up training phases. As illustrated in Figure 4, our SFT model, the Alpaca-7B model (reproduced), has the ability to produce both harmless and harmful responses that are almost evenly separated on each side of the c = 0 dividing line (Figure 4a). Following the first round of Safe RLHF training, there is an 7
2310.12773#29
Safe RLHF: Safe Reinforcement Learning from Human Feedback
With the development of large language models (LLMs), striking a balance between the performance and safety of AI systems has never been more critical. However, the inherent tension between the objectives of helpfulness and harmlessness presents a significant challenge during LLM training. To address this issue, we propose Safe Reinforcement Learning from Human Feedback (Safe RLHF), a novel algorithm for human value alignment. Safe RLHF explicitly decouples human preferences regarding helpfulness and harmlessness, effectively avoiding the crowdworkers' confusion about the tension and allowing us to train separate reward and cost models. We formalize the safety concern of LLMs as an optimization task of maximizing the reward function while satisfying specified cost constraints. Leveraging the Lagrangian method to solve this constrained problem, Safe RLHF dynamically adjusts the balance between the two objectives during fine-tuning. Through a three-round fine-tuning using Safe RLHF, we demonstrate a superior ability to mitigate harmful responses while enhancing model performance compared to existing value-aligned algorithms. Experimentally, we fine-tuned the Alpaca-7B using Safe RLHF and aligned it with collected human preferences, significantly improving its helpfulness and harmlessness according to human evaluations.
http://arxiv.org/pdf/2310.12773
Josef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji, Xinbo Xu, Mickel Liu, Yizhou Wang, Yaodong Yang
cs.AI, cs.LG
null
null
cs.AI
20231019
20231019
[ { "id": "2302.13971" }, { "id": "2304.05302" }, { "id": "1707.06347" }, { "id": "2305.18290" }, { "id": "2305.10403" }, { "id": "2305.03047" }, { "id": "2211.05100" }, { "id": "2110.08207" }, { "id": "2304.05335" }, { "id": "2107.03374" }, { "id": "2105.04054" }, { "id": "2209.07858" }, { "id": "2305.15324" }, { "id": "2307.09288" }, { "id": "2210.11416" }, { "id": "2212.08073" }, { "id": "2307.12950" }, { "id": "2009.11462" }, { "id": "2307.04657" }, { "id": "2204.05862" }, { "id": "2112.00861" }, { "id": "2209.14375" }, { "id": "2303.00957" }, { "id": "2306.01693" }, { "id": "2305.01937" }, { "id": "2307.15217" }, { "id": "2306.17492" }, { "id": "2112.04359" }, { "id": "1506.02438" } ]
{ "authors": "Josef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji, Xinbo Xu, Mickel Liu, Yizhou Wang, Yaodong Yang", "chunk_id": 29, "doc_id": "2310.12773", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12773", "summary": "With the development of large language models (LLMs), striking a balance\nbetween the performance and safety of AI systems has never been more critical.\nHowever, the inherent tension between the objectives of helpfulness and\nharmlessness presents a significant challenge during LLM training. To address\nthis issue, we propose Safe Reinforcement Learning from Human Feedback (Safe\nRLHF), a novel algorithm for human value alignment. Safe RLHF explicitly\ndecouples human preferences regarding helpfulness and harmlessness, effectively\navoiding the crowdworkers' confusion about the tension and allowing us to train\nseparate reward and cost models. We formalize the safety concern of LLMs as an\noptimization task of maximizing the reward function while satisfying specified\ncost constraints. Leveraging the Lagrangian method to solve this constrained\nproblem, Safe RLHF dynamically adjusts the balance between the two objectives\nduring fine-tuning. Through a three-round fine-tuning using Safe RLHF, we\ndemonstrate a superior ability to mitigate harmful responses while enhancing\nmodel performance compared to existing value-aligned algorithms.\nExperimentally, we fine-tuned the Alpaca-7B using Safe RLHF and aligned it with\ncollected human preferences, significantly improving its helpfulness and\nharmlessness according to human evaluations.", "text": "Model-based Evaluations. Despite human evaluation remaining the gold standard for aligning large language models with human values, the reliance on this method alone is neither practical nor efficient due to considerable associated time and financial costs. Such limitations necessitate alter- native assessment methods to complement human evaluation. Thus, we have developed a unified Reward Model and a unified Cost Model, utilizing training methodologies mentioned in Section 3.2. These models are trained on evenly balanced preference data originating from all iterations of Safe RLHF. With these unified models, we can rapidly evaluate subsequent new models under consistent criteria. The test accuracies for the unified models are detailed in Table 1. Note that we do not employ these unified models to train a single-round Safe RLHF process, as the preference data ac- quisition occurs iteratively. We need intermediate models for the red-teaming procedure, facilitating the collection of new prompts for the follow-up training phases.\nAs illustrated in Figure 4, our SFT model, the Alpaca-7B model (reproduced), has the ability to produce both harmless and harmful responses that are almost evenly separated on each side of the c = 0 dividing line (Figure 4a). Following the first round of Safe RLHF training, there is an\n7", "title": "Safe RLHF: Safe Reinforcement Learning from Human Feedback", "year": 2023 }
[ 0.008493645, 0.003659496, 0.090907305, -0.0072864634, -0.004557654, 0.0055009904, -0.009086393, 0.055718314, 0.023999065, 0.03244211, 0.024794215, -0.043689866, -0.015237961, 0.013524774, 0.003352279, -0.07298029, 0.032991488, -0.046407834, -0.009021335, 0.01704512, -0.004514282, 0.0042251367, 0.002643873, -0.0066973297, 0.039468344, 0.0039721346, -0.011146554, -0.0021487116, -0.021931676, -0.04166585, 0.051757023, -0.027280865, -0.04964626, 0.0026131512, -0.034061324, 0.026615832, -0.020832924, 0.028943451, -0.019011308, 0.040567096, 0.0060575954, 0.0017384866, 0.013835606, 0.04403684, -0.01567168, 0.026760403, 0.029926546, 0.00973697, -0.018375188, 0.038629822, -0.028090473, 0.022466594, 0.0014574734, -0.044962104, 0.021888305, -0.005298589, -0.0053058174, 0.0063973414, 0.009852628, 0.0063395123, -0.010857409, -0.026500173, -0.016119855, -0.00051684736, -0.019806458, -0.028668763, -0.08032458, -0.024056895, 0.000007758075, 0.02052932, -0.00099213, -0.022452138, 0.0755826, 0.003283607, -0.013618747, -0.019184796, 0.045598224, 0.031892736, -0.004933543, 0.020804008, -0.019343825, -0.02196059, 0.032528855, -0.031661417, 0.01598974, 0.011211611, -0.054590646, -0.01730535, -0.022885855, -0.043082662, -0.05730861, 0.00013293911, -0.026803777, 0.015628308, 0.041723676, -0.020934125, -0.036287744, -0.021367842, 0.052913602, 0.0044745244, -0.014760871, -0.014905443, 0.024519527, -0.00049967936, 0.05297143, 0.01678489, 0.035391394, 0.03975749, -0.032066222, 0.0312277, -0.032066222, -0.008782791, -0.058609765, -0.0018414946, -0.02545925, -0.050022148, -0.080382414, -0.026182113, 0.027685668, -0.015050016, -0.00056202634, 0.001293022, 0.051005244, -0.060662698, 0.0010526698, 0.0039721346, 0.024418326, -0.014768099, -0.01825953, -0.028509734, -0.030620495, 0.014298239, -0.017739069, -0.005880494, -0.05811822, 0.04996432, -0.03423481, -0.024476156, -0.015541564, 0.009520112, -0.032991488, -0.023247289, -0.0558918, -0.005049201, -0.06540468, 0.009353853, -0.017478837, 0.0195896, -0.033425204, 0.03510225, -0.010214061, -0.0001920106, -0.03631666, 0.025083361, -0.02339186, -0.0674287, -0.031314444, 0.005786522, 0.0056021917, -0.073327266, 0.030302435, 0.02164253, -0.035854027, 0.0036576889, 0.027642297, 0.022278652, -0.018201701, 0.010655007, -0.07616089, -0.021136526, 0.002723388, 0.009274337, -0.045453653, -0.054070186, -0.018447476, -0.016524658, -0.034263726, -0.028350703, -0.026789319, -0.01323563, -0.022061791, 0.0080310125, -0.027165208, 0.03359869, 0.0081539, -0.008724961, -0.0312277, -0.01069115, -0.014486183, -0.006863588, -0.0030703624, 0.02762784, 0.08286906, 0.045424737, 0.026688118, -0.008327386, 0.013148886, 0.036547974, -0.013300687, 0.0024450854, 0.005667249, -0.009686369, 0.03669255, -0.05155462, 0.022524424, 0.022582253, -0.024736386, 0.010785122, -0.0427646, -0.0038600906, 0.029116938, 0.059188057, 0.047651157, 0.028018186, -0.05129439, 0.008103299, -0.038774393, -0.011920018, 0.034842018, 0.046812635, 0.0042540515, 0.029435, 0.046060856, 0.013481403, -0.074599504, 0.039844234, 0.024230381, -0.01497773, 0.017160777, -0.064132445, 0.04921254, 0.0056600207, -0.01841856, -0.017898098, -0.029406084, 0.010112859, -0.010098402, -0.02482313, 0.009281566, -0.05129439, -0.010011658, 0.027382066, 0.028480818, -0.009679141, 0.027179664, 0.030447008, 0.0048431847, -0.009881543, 0.040624924, 0.020572692, 0.009830942, -0.015657222, 0.023362946, -0.009180365, -0.016582487, 0.017030662, -0.014529555, 0.0030016904, -0.0027884457, -0.048778825, -0.06303369, 0.019965488, -0.020485949, 0.027916985, -0.029984375, -0.008797248, -0.02884225, -0.024013523, -0.01598974, -0.032933656, 0.028538648, 0.026485715, 0.0016535501, 0.015801795, -0.058580853, -0.026586916, 0.07425253, 0.042157397, -0.01429101, -0.03504442, -0.026601374, 0.004250437, 0.0773753, -0.036374487, 0.012881426, 0.028986823, -0.0013472367, -0.008768333, -0.025574908, -0.0407695, -0.0021234113, -0.033280633, 0.053838868, -0.058609765, 0.009469511, 0.014160895, -0.005002215, -0.008356301, -0.010676693, -0.0003148974, 0.02032692, 0.0527112, -0.020500407, 0.010474291, 0.021526873, 0.010141774, -0.0098092565, 0.0030812053, 0.005873265, 0.022712369, -0.012982627, 0.03090964, -0.004105864, 0.03212405, -0.0031625275, -0.050051063, 0.047940303, -0.003990206, 0.05048478, -0.011450157, -0.011927246, -0.040942986, 0.0062202397, -0.002907718, 0.024374954, -0.0003449414, -0.027974814, 0.0020999182, -0.033164974, -0.015975282, -0.010033344, 0.0058660368, 0.012910341, -0.042301968, 0.02957957, -0.047304183, -0.05499545, 0.029015739, 0.0056925495, 0.030475922, -0.024996618, -0.07008884, -0.026109828, 0.0246641, -0.029565115, 0.0023402704, -0.02281357, 0.006596129, 0.058551937, 0.037184093, 0.019907659, -0.037039522, 0.014023551, -0.017421009, -0.011406785, -0.020110061, -0.013409116, -0.005974466, -0.010835723, 0.0065925145, 0.009932144, 0.033772178, 0.01180436, 0.005696164, 0.02657246, 0.000016391494, -0.02762784, 0.04562714, -0.04166585, -0.023319574, -0.018996852, -0.00560942, -0.053694297, 0.039815318, -0.062050596, -0.021743732, 0.019314911, 0.023579804, 0.0022987057, -0.008941821, 0.020037774, 0.016683688, -0.04467296, -0.034379385, 0.012021218, 0.009375539, 0.006256383, -0.026977263, -0.035911854, -0.01963297, 0.021237727, -0.0037552754, -0.033772178, 0.0107778935, 0.024837587, 0.0035384165, -0.009896, 0.05742427, 0.05939046, 0.05800256, -0.025864054, -0.0031842133, -0.06401678, 0.020514864, -0.039584, 0.04397901, -0.022350937, 0.020731723, -0.012368193, 0.049993236, 0.020428121, -0.039237026, 0.019835372, -0.0026908591, 0.0042576655, -0.028090473, 0.035160076, 0.021902762, 0.038282845, 0.042330883, -0.03446613, -0.07783794, 0.012158562, -0.0346107, -0.029073566, -0.016958376, -0.005753993, -0.022741284, -0.018375188, -0.033772178, 0.01609094, 0.0511209, 0.006769616, -0.05615203, -0.011442928, 0.04042252, 0.047275268, -0.013192258, -0.025213476, 0.024056895, 0.06268672, -0.0039938204, -0.040971898, 0.00606121, -0.026717031, 0.016842717, -0.040451437, 0.020182347, -0.0120067615, 0.010329719, -0.0013662119, 0.030418092, 0.011211611, 0.018664334, -0.00085071987, -0.018620962, 0.08240643, 0.016611401, 0.041087557, 0.028249502, 0.028278418, 0.022668997, 0.002609537, 0.009151451, 0.0071274335, 0.009469511, 0.023377404, 0.0066286577, -0.034379385, -0.03510225, -0.025965255, -0.061703622, 0.013553689, -0.036258828, 0.027873613, -0.016076483, 0.02535805, -0.034523956, 0.046407834, -0.005891337, 0.001993296, -0.021006411, -0.00920928, -0.012628424, 0.03319389, 0.08836283, 0.0022264193, -0.028610934, -0.009599626, 0.03223971, 0.028292874, -0.04620543, 0.046436746, -0.017565582, 0.02026909, -0.05129439, 0.027656754, 0.017449923, -0.0037335895, -0.0026149584, -0.0020457036, 0.006823831, 0.0022932843, 0.021367842, 0.029536199, 0.03171925, 0.025011074, -0.0011882067, -0.034148067, 0.04461513, -0.0043444093, 0.007351521, -0.033222802, 0.03171925, -0.02609537, -0.0072864634, -0.0053817183, -0.01672706, -0.005190159, 0.029116938, 0.0031245772, -0.018404102, -0.00455404, -0.0061587966, 0.0045323535, -0.014363296, -0.0034390227, -0.058927827, -0.019343825, -0.028567562, 0.009165908, -0.00009244745, -0.00030450622, -0.017204149, -0.036866035, -0.005190159, -0.008826163, -0.006668415, -0.018129414, -0.0026474872, 0.021194356, 0.006176868, 0.033511948, 0.00003992691, 0.010712836, -0.0045757256, 0.0062310826, 0.012028447, 0.0139368065, 0.000698015, 0.021685902, -0.043574207, -0.025372507, -0.019257082, -0.0064913137, 0.006617815, -0.024172554, -0.0018035442, 0.018245073, -0.0021577473, -0.0038600906, -0.008934592, -0.012577823, 0.0036179314, -0.03160359, -0.014392211, 0.0025932726, 0.017854726, 0.0050961873, 0.02038475, -0.0443549, -0.007633438, 0.016596945, -0.043834437, 0.015888538, 0.014681356, 0.032528855, -0.014377753, 0.03383001, 0.022712369, -0.022278652, -0.015151218, -0.006744316, -0.005034744, -0.032904744, 0.0029908475, 0.023955693, 0.0041528502, -0.056990553, 0.033511948, 0.028235046, -0.0014529555, 0.012664567, 0.011760988, -0.039497256, -0.010756208, -0.017970385, -0.0016101783, 0.00756838, 0.0125561375, 0.02667366, -0.0040408066, 0.02402798, -0.0113272695, -0.04149236, 0.019647429, -0.0071310475, 0.004116707, -0.0025625508, 0.004105864, -0.00013022836, -0.0039359913, -0.0072792345, -0.005800979, -0.0070226183, -0.016972832, 0.00054621365, 0.011710388, 0.029926546, -0.03333846, -0.05320275, 0.0213823, 0.04843185, -0.022264194, 0.005309432, -0.010994753, 0.015064474, 0.00003676438, -0.022322023, -0.020023316, -0.052422054, 0.010734522, -0.006032295, -0.034639616, -0.008103299, 0.02450507, 0.027064007, -0.010120088, 0.0003318395, -0.054243673, 0.02863985, 0.017421009, -0.017319808, -0.055718314, -0.0053636464, 0.0118694175, 0.03608534, -0.030302435, -0.028986823, -0.03160359, -0.03530465, -0.02874105, -0.008284015, -0.0040516495, 0.01164533, 0.008341844, -0.0051467875, 0.030100033, 0.005551591, -0.00756838, -0.0443549, 0.018996852, -0.029174767, 0.022900313, 0.002119797, 0.011038125, 0.006006995, 0.042938087, 0.020283548, -0.027700126, -0.056845978, -0.0040299636, -0.022856941, 0.013430802, -0.0046010255, 0.0023926778, 0.0022607553, -0.02762784, -0.018866735, 0.044470556, -0.031805992, 0.008508103, -0.063380666, -0.06176145, -0.009715284, 0.010936923, 0.01180436, -0.020052232, 0.014327153, 0.021035325, -0.015093388, 0.0057937503, -0.010604407, 0.005811822, -0.013958492, 0.018678792, -0.011920018, 0.042215224, -0.01587408, -0.06933706, -0.012050133, 0.030215692, 0.0025896581, -0.012736853, -0.020355834, -0.050571524, -0.03816719, 0.044788618, 0.016871633, -0.027598925, -0.01413198, -0.001675236, 0.005837122, 0.024476156, 0.0022083477, 0.03319389, 0.026008626, 0.016409, 0.010633321, -0.014442811, -0.038514163, 0.028813336, -0.0048395707, 0.028278418, 0.002394485, -0.004398624, -0.036750376, 0.012317593, -0.007167191, -0.03385892, 0.006079281, -0.0014005479, -0.01249108, -0.005323889, -0.0015758423, -0.010387547, -0.020428121, -0.015657222, -0.0071057472, 0.010257432, 0.008110528, -0.0026962806, -0.031834904, -0.0022625625, 0.006704558, 0.028914537, 0.0029637401, 0.039121367, -0.0054756906, -0.01609094, -0.026297772, 0.014760871, 0.008009327, 0.015078931, -0.0018740235, -0.03608534, 0.0036902179, 0.027064007, -0.023189459, 0.02096304, 0.014435583, 0.01069115, 0.0037552754, 0.00407695, 0.0006853649, -0.01804267, 0.0029709686, 0.013185029, 0.019979944, -0.0019806458, -0.020789552, -0.02243768, 0.013539232, 0.010944152, 0.03556488, -0.028379617, 0.016900547, 0.00079063186, -0.009606855, 0.010286346, -0.009187594, -0.007282849, 0.026558002, -0.012744082, -0.02217745, 0.0213823, -0.011898332, 0.0064154128, 0.00095869764, -0.03319389, -0.0027974814, 0.01710295, -0.011667016, -0.017565582, 0.0071093617, 0.030128948, -0.015223504, -0.12016881, -0.034957673, 0.02689052, -0.028437447, -0.00936831, 0.0004974204, -0.024967702, 0.042562198, 0.004810656, -0.017883642, 0.013083828, -0.0096719125, -0.0014348839, 0.014731957, 0.009296023, -0.04684155, -0.032904744, -0.009715284, 0.029839803, -0.019170338, -0.021714818, -0.01301877, 0.021179898, 0.0013382009, -0.04551148, 0.02667366, -0.019618513, 0.018302903, -0.011970619, 0.025531536, -0.04646566, -0.022538882, 0.012158562, 0.0043733236, -0.051612448, 0.019864287, -0.0026709803, 0.012216392, -0.0031245772, 0.051785935, -0.005678092, -0.013589832, 0.040711667, -0.019965488, 0.035275735, -0.024374954, 0.009079165, -0.0085731605, 0.00378419, -0.020717265, 0.009057479, -0.0020800396, -0.017594496, -0.020428121, -0.01656803, 0.0120067615, 0.008479188, 0.014428354, -0.002721581, -0.010893552, -0.010351405, 0.038600907, 0.0026998948, 0.009173137, -0.027598925, -0.014862072, -0.0033902295, 0.040306866, -0.040306866, -0.04837402, 0.0013671154, 0.040075548, -0.025256848, 0.012505537, 0.0031390344, -0.017189693, 0.015396991, 0.03174816, -0.026962806, 0.029666316, 0.021902762, -0.04658132, 0.0279459, 0.009722513, 0.005580506, 0.039786402, 0.022509968, 0.05080284, 0.0048974, 0.01804267, 0.031401187, -0.023203917, 0.022481052, 0.015050016, 0.020630522, -0.0054178615, -0.0054684617, -0.0067985305, 0.0129681695, -0.012664567, 0.027483268, 0.03154576, -0.010445377, -0.009773114, 0.012722396, 0.008392445, -0.006234697, 0.0055262907, 0.025329133, -0.009274337, -0.00048205955, 0.04562714, -0.009780342, 0.016119855, 0.0037227466, 0.022293108, 0.039728574, 0.041723676, 0.024288211, 0.00783584, -0.024317125, 0.0342059, -0.0060937386, 0.028177217, -0.022293108, -0.0096719125, 0.005121487, 0.027685668, -0.023753293, 0.01587408, 0.024765301, -0.0040046633, -0.011348955, -0.0062166257, -0.0278447, 0.015859624, 0.054590646, -0.020370292, -0.0041311644, 0.0039251484, 0.025271306, 0.024215925, 0.044759702, -0.024389412, 0.0011583887, 0.021208813, 0.0024920716, -0.030157862, -0.0020131746, 0.014023551, 0.013878978, -0.022799112, 0.007525008, 0.01778244, 0.00011599699, 0.02752664, 0.004055264, -0.07072496, -0.00087466475, 0.0213823, -0.04079841, 0.07072496, -0.018519761, -0.013712719, 0.051063072, -0.04366095, -0.014269324, 0.024562899, 0.006791302, 0.020457035, -0.019445026, -0.05034021, 0.0089851925, -0.023319574, 0.023753293, 0.01804267, -0.015686136, 0.01032249, 0.0084430445, 0.042562198, 0.0061118104, 0.028697679, 0.005219074, -0.014637984, 0.045164507, -0.02810493, -0.007915354, -0.012411565, 0.020948581, 0.023044886, 0.015642764, 0.03333846, 0.0075828373, 0.054764133, 0.03536248, -0.046350002, -0.0068563595, 0.02503999, -0.028437447, -0.054966535, -0.054359328, 0.041608017, 0.017377637, -0.01174653, -0.018924564, -0.005710621, -0.009924915, -0.019358283, -0.019676343, 0.025025532, 0.0081611285, 0.014023551, -0.0022987057, 0.024056895, 0.029724143, -0.050137807, -0.020225719, -0.002188469, -0.022408767, 0.004174536, -0.01672706, -0.036750376, -0.008081613, -0.0018351695, 0.012100734, -0.0029221755, -0.010192375, 0.023478605, 0.015050016, 0.0065599857, -0.005764836, 0.012454937, 0.010221289, -0.014262095, -0.030475922, -0.013466946, -0.0010156231, 0.006079281, -0.013025999, 0.01127667, 0.016958376, 0.015686136, -0.020312462, -0.016683688, 0.014507869, 0.0062889117, 0.042533282, 0.042475455, -0.0054323184, 0.00011402041, 0.016466828, -0.0059997663, -0.0035293808, 0.0068852743, 0.0017818584, -0.031690333, 0.022828028, 0.030938555, 0.045164507, 0.031805992, -0.0381961, 0.010329719, -0.00957794, 0.012259764, 0.010973067, -0.044007923, 0.005721464, 0.00036007634, 0.025936339, -0.030071119, -0.024649642, 0.024317125, 0.011630872, 0.04510668, -0.008551475, 0.02969523, 0.018013757, 0.01815833, 0.028408533, -0.015396991, -0.011132097, 0.0047564413, -0.028553106, -0.011348955, 0.018982394, -0.0027179664, 0.013589832, -0.015527107, 0.029507285, 0.008804477, 0.01196339, 0.031054214, 0.024635186, -0.007857526, 0.0056166486, -0.014724728, 0.013213944, -0.028032644, 0.046118688, -0.039988805, 0.046610232, 0.0165102, 0.018302903, -0.024418326, 0.009093622, -0.002381835, 0.001258686, -0.041145384, 0.0013598868, -0.004351638, -0.024996618, -0.01397295, 0.020442577, 0.017739069, -0.0059780804, -0.0427646, 0.0029492828, -0.019445026, -0.005891337, -0.01635117, 0.0044636815, -0.013025999, -0.0038600906, 0.016134312, -0.02275574, -0.004622712, 0.012187477, -0.027555553, -0.0071202046, 0.01587408, 0.001937274, 0.028972367, 0.011493528, 0.023941237, -0.019878745, -0.012772997, -0.03134336, -0.020861838, -0.010423691, -0.006704558, 0.039670743, -0.008110528, 0.002996269, -0.003214935, 0.007167191, 0.026717031, 0.014768099, 0.012989855, -0.008341844, 0.004398624, 0.06673475, -0.009288795, -0.00957794, -0.007879212, -0.04059601, 0.017811354, 0.0030920482, 0.014948816, -0.0007481637, 0.010351405, -0.005764836, 0.0069647892, -0.015845167, 0.010524891, 0.009324938, -0.007272006, 0.016654773, 0.033540864, 0.025199018, 0.02577731, 0.019575141, 0.0030125333, 0.0016192141, -0.016437914, 0.017955927, 0.023059344, -0.0027685668, 0.0035890169, 0.03137227, 0.03186382, -0.024432784, -0.0012397107, -0.047680072, 0.000029225142, -0.014370525, -0.013524774, -0.021411214, 0.03383001, -0.0009912265, -0.010452605, -0.0025715865, 0.0114646135, -0.022090707, -0.009462282, -0.019878745, 0.020052232, 0.01069115, -0.002188469, 0.035998598, 0.025473706, 0.00910808, -0.022047335, -0.009708056, -0.006596129, 0.009136993, -0.0057250783, -0.020876296, -0.0022535268, 0.020861838, 0.011703159, -0.0037444325, -0.02096304, -0.0021450971, 0.031256616, -0.0021107611, -0.015382534, 0.01376332, 0.011580272, -0.007951498, 0.048576422, -0.03174816, -0.009910458, 0.006928646, -0.015527107, 0.012729625, 0.016611401, 0.0011041738, 0.009382768, 0.011110411, 0.012866969, 0.021252185, 0.0019354668, -0.01746438, -0.017753527, -0.008450273, 0.037993703, 0.023753293, 0.014558469, -0.03926594, 0.0069250315, -0.015729507, 0.017189693, 0.05276903, 0.02090521, -0.024693014, -0.0045178966, -0.026167655, 0.020254632, 0.047188524, -0.007799696, -0.0016716217, -0.020717265, 0.0027342308, 0.009961058, -0.043747693, 0.010589949, -0.038369592, 0.0013454296, 0.0634385, 0.037964787, 0.010488749, -0.030331349, 0.03568054, 0.029478371, -0.014464498, 0.038340677, -0.0027342308, 0.036866035, -0.002360149, 0.0022987057, 0.009115308, -0.0065455283, 0.001937274, -0.01100921, -0.012845283, 0.016380085, -0.014016322, -0.010785122, -0.02021126, -0.031401187, -0.015353619, 0.00947674, 0.0113200415, -0.003910691, 0.005161245, 0.0107778935, -0.006079281, -0.0558918, 0.0020023317, 0.013907893, 0.0069322605, 0.0038347906, -0.024374954, 0.009679141, -0.0013382009, -0.019806458, 0.030793982, -0.002029439, -0.005873265, 0.00022860555, -0.0011773638, -0.01280914, -0.014139209, -0.008421359, -0.010329719, 0.0023547276, -0.010026116, -0.0381961, 0.012736853, 0.00045698523, 0.015382534, 0.0072214054, 0.011847732, 0.017074034, 0.034321554, -0.031459015, 0.018245073, 0.026630288, 0.020110061, -0.00077481923, -0.0060359095, -0.016842717, 0.018693248, -0.010120088, 0.0062166257, -0.038138274, -0.0036866034, -0.0017601724, -0.013344059, -0.006780459, -0.003773347, -0.009455053, 0.01048152, 0.027656754, 0.008334615, -0.008334615, 0.047882475, 0.004611869, -0.018490847, -0.014197038, 0.007087676, -0.019661885, -0.004752827, 0.024953246, 0.006802145, 0.07193937, -0.011927246, 0.026962806, 0.00947674, 0.0075828373, -0.020673893, -0.014059694, 0.026080912, 0.013394659, -0.023420775, -0.004181765, 0.0037299753, 0.020630522, -0.009520112, 0.006350355, 0.029926546, 0.012498309, -0.0019535385, 0.014934358, 0.024461698, 0.014298239, 0.01921371, -0.023738835, -0.04672589, 0.0045865686, -0.016437914, 0.011782674, 0.019676343, 0.0077852393, 0.004044421, 0.013199486, 0.023420775, -0.010669464, -0.012201935, 0.034408297, 0.013004313, -0.037559982, -0.0013400081, 0.044788618, 0.0036576889, 0.00055073155, -0.0026529087, 0.0154403625, -0.018852279, 0.014775328, -0.018114958, 0.0072394772, -0.013452488, 0.013025999, -0.03588294, 0.06812265, 0.026717031, 0.02571948, -0.027989272, -0.0060467524, -0.011399556, 0.01995103, -0.03767564, -0.02090521, 0.03154576, -0.044846445, 0.01360429, -0.019343825, -0.00526606, 0.024649642, -0.017739069, -0.01953177, 0.014240409, -0.009859857, 0.024172554, -0.0032564998, -0.035796195, 0.007232249, 0.004810656, -0.037820213, 0.0036215459, 0.009592398, -0.012801912, -0.023218373, 0.0034498656, 0.010156231, -0.010112859, -0.010430919, -0.02106424, -0.025271306, 0.038080446, -0.031112041, -0.022943685, -0.016915005, 0.027251951, 0.036779292, 0.015368076, -0.024374954, -0.0030269907, 0.01026466, -0.038138274, 0.0064370986, 0.027179664, -0.010828494, -0.0029456685, 0.017565582, 0.021454586, -0.021295557, 0.016857175, 0.02070281, -0.016900547, -0.0155704785, 0.026427887, 0.020558236, 0.030880725, 0.0062383115, -0.0015080738, 0.034755275, -0.0012948291, 0.035478137, 0.003111927, -0.0018035442, -0.0114863, -0.011507986, -0.013185029, 0.0084430445, 0.0024324355, -0.0024324355, -0.020370292, 0.010821265, -0.0046335547, -0.014009093, -0.009939373, 0.019560684, 0.024042437, 0.016018653, -0.0070840614, 0.029724143, -0.0004978722, 0.004868485, -0.00040864374, 0.026312228, 0.00011848183, 0.023218373, -0.0113200415, 0.011291127, -0.0065455283, -0.0025499007, 0.051034156, -0.0027776028, -0.027396524, 0.002961933, -0.031314444, 0.028437447, -0.01344526, -0.009765885, 0.022712369, 0.015310247, -0.0047925846, -0.012541681, 0.02175819, 0.011854961, 0.0049877577, -0.0040299636, -0.0136548905, 0.010214061, -0.002380028, -0.016163226, -0.027873613, -0.01724752, -0.029102482, 0.0033685435, 0.017912555, 0.0044383816, -0.00096682983, 0.032644514, -0.032673426, -0.0060359095, -0.012397108, -0.040191207, 0.004503439, 0.042041738, 0.001982453, 0.005649178, -0.009802028, -0.016264427, -0.02112207, -0.041347787, -0.0196908, -0.00862376, 0.0014529555, -0.010806808, 0.011587501, -0.05048478, -0.014833158, -0.006802145, -0.01497773, -0.006458785, -0.010351405 ]
2310.12773
30
7 Table 1: The test accuracy for the Reward Model and Cost Model for the three rounds of Safe RLHF training stages. The unified preference models are trained and tested on evenly balanced preference data from the preference dataset used in the three Safe RLHF iterations. Model Reward Model Cost Model Metric Ranking Accuracy Ranking Accuracy Safety Classification Accuracy Beaver-v1 Beaver-v2 Beaver-v3 Unified 73.95% 70.44% 85.83% 78.13% 74.47% 95.62% 75.73% 76.07% 84.54% 77.32% 74.17% 85.88% appreciable shift in the model response distribution towards the side with a lower cost, implying safer outputs (Figure 4b). During the second iteration of Safe RLHF, there is a decline in harmful content, denoted by the c > 0 region (Figure 4c). In the final iteration, the data cluster gravitates towards the higher reward direction, while successfully maintaining the majority of the responses as harmless (Figure 4d).
2310.12773#30
Safe RLHF: Safe Reinforcement Learning from Human Feedback
With the development of large language models (LLMs), striking a balance between the performance and safety of AI systems has never been more critical. However, the inherent tension between the objectives of helpfulness and harmlessness presents a significant challenge during LLM training. To address this issue, we propose Safe Reinforcement Learning from Human Feedback (Safe RLHF), a novel algorithm for human value alignment. Safe RLHF explicitly decouples human preferences regarding helpfulness and harmlessness, effectively avoiding the crowdworkers' confusion about the tension and allowing us to train separate reward and cost models. We formalize the safety concern of LLMs as an optimization task of maximizing the reward function while satisfying specified cost constraints. Leveraging the Lagrangian method to solve this constrained problem, Safe RLHF dynamically adjusts the balance between the two objectives during fine-tuning. Through a three-round fine-tuning using Safe RLHF, we demonstrate a superior ability to mitigate harmful responses while enhancing model performance compared to existing value-aligned algorithms. Experimentally, we fine-tuned the Alpaca-7B using Safe RLHF and aligned it with collected human preferences, significantly improving its helpfulness and harmlessness according to human evaluations.
http://arxiv.org/pdf/2310.12773
Josef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji, Xinbo Xu, Mickel Liu, Yizhou Wang, Yaodong Yang
cs.AI, cs.LG
null
null
cs.AI
20231019
20231019
[ { "id": "2302.13971" }, { "id": "2304.05302" }, { "id": "1707.06347" }, { "id": "2305.18290" }, { "id": "2305.10403" }, { "id": "2305.03047" }, { "id": "2211.05100" }, { "id": "2110.08207" }, { "id": "2304.05335" }, { "id": "2107.03374" }, { "id": "2105.04054" }, { "id": "2209.07858" }, { "id": "2305.15324" }, { "id": "2307.09288" }, { "id": "2210.11416" }, { "id": "2212.08073" }, { "id": "2307.12950" }, { "id": "2009.11462" }, { "id": "2307.04657" }, { "id": "2204.05862" }, { "id": "2112.00861" }, { "id": "2209.14375" }, { "id": "2303.00957" }, { "id": "2306.01693" }, { "id": "2305.01937" }, { "id": "2307.15217" }, { "id": "2306.17492" }, { "id": "2112.04359" }, { "id": "1506.02438" } ]
{ "authors": "Josef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji, Xinbo Xu, Mickel Liu, Yizhou Wang, Yaodong Yang", "chunk_id": 30, "doc_id": "2310.12773", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12773", "summary": "With the development of large language models (LLMs), striking a balance\nbetween the performance and safety of AI systems has never been more critical.\nHowever, the inherent tension between the objectives of helpfulness and\nharmlessness presents a significant challenge during LLM training. To address\nthis issue, we propose Safe Reinforcement Learning from Human Feedback (Safe\nRLHF), a novel algorithm for human value alignment. Safe RLHF explicitly\ndecouples human preferences regarding helpfulness and harmlessness, effectively\navoiding the crowdworkers' confusion about the tension and allowing us to train\nseparate reward and cost models. We formalize the safety concern of LLMs as an\noptimization task of maximizing the reward function while satisfying specified\ncost constraints. Leveraging the Lagrangian method to solve this constrained\nproblem, Safe RLHF dynamically adjusts the balance between the two objectives\nduring fine-tuning. Through a three-round fine-tuning using Safe RLHF, we\ndemonstrate a superior ability to mitigate harmful responses while enhancing\nmodel performance compared to existing value-aligned algorithms.\nExperimentally, we fine-tuned the Alpaca-7B using Safe RLHF and aligned it with\ncollected human preferences, significantly improving its helpfulness and\nharmlessness according to human evaluations.", "text": "7\nTable 1: The test accuracy for the Reward Model and Cost Model for the three rounds of Safe RLHF training stages. The unified preference models are trained and tested on evenly balanced preference data from the preference dataset used in the three Safe RLHF iterations.\nModel Reward Model Cost Model Metric Ranking Accuracy Ranking Accuracy Safety Classification Accuracy Beaver-v1 Beaver-v2 Beaver-v3 Unified 73.95% 70.44% 85.83% 78.13% 74.47% 95.62% 75.73% 76.07% 84.54% 77.32% 74.17% 85.88%\nappreciable shift in the model response distribution towards the side with a lower cost, implying safer outputs (Figure 4b). During the second iteration of Safe RLHF, there is a decline in harmful content, denoted by the c > 0 region (Figure 4c). In the final iteration, the data cluster gravitates towards the higher reward direction, while successfully maintaining the majority of the responses as harmless (Figure 4d).", "title": "Safe RLHF: Safe Reinforcement Learning from Human Feedback", "year": 2023 }
[ 0.031130606, -0.008142775, 0.0705307, -0.025702091, 0.008076085, 0.01891311, -0.01483172, 0.071491025, 0.024314951, 0.04110734, 0.0378529, -0.0044581858, -0.052071076, 0.03393156, -0.0037579471, -0.031130606, 0.027129244, -0.023928152, -0.052444536, 0.024288276, -0.02236762, -0.012677653, 0.03953347, -0.010030084, 0.008809668, 0.013657987, 0.01741927, -0.013071121, -0.0076892865, -0.03275783, 0.03465181, -0.01835292, -0.050977368, 0.010990411, -0.04268121, 0.0047716256, -0.025128562, 0.035345376, -0.021380618, 0.025675414, 0.010643627, -0.00399136, -0.024341628, 0.022154216, -0.007222461, 0.02218089, 0.03582554, -0.016832402, 0.010196808, 0.05756628, -0.04828312, 0.036252353, -0.015098478, -0.036652487, 0.025662078, 0.004518206, 0.032411043, 0.016325563, 0.021834105, -0.033478074, 0.0065889116, -0.025341969, -0.012490923, -0.03387821, 0.040920608, -0.030010225, -0.07634601, -0.01501845, 0.018459624, 0.02218089, -0.012837707, -0.044281755, 0.08525571, -0.0030193622, -0.024555033, 0.002054033, 0.035985596, -0.0042081005, 0.003076048, 0.021700727, -0.010390207, -0.021674052, 0.005838656, -0.05505876, 0.012364212, -0.020727063, -0.021513997, -0.029636765, -0.029049898, -0.04102731, -0.047242764, 0.000027014414, -0.034171645, -0.022714406, 0.008282823, -0.051750965, 0.0020890452, -0.026515702, 0.06204781, -0.012610964, 0.0064388607, -0.025608726, 0.0006297979, -0.013424574, 0.02676912, 0.014004772, 0.0076826178, 0.0467626, -0.017432606, -0.0014571631, 0.0035111965, 0.0016989122, -0.087763235, 0.04374824, -0.021100523, -0.051137425, -0.08093424, -0.042787913, 0.022087526, -0.0033328023, -0.032731153, -0.03230434, 0.02079375, -0.06375506, -0.020273574, 0.02099382, 0.042014316, -0.014444922, -0.0047849636, -0.057672985, -0.030757146, 0.051164098, 0.00754257, -0.003921336, -0.036999274, 0.03670584, -0.0448953, -0.016725698, -0.044014998, 0.0051817656, -0.033638127, -0.011083776, -0.056926064, 0.011143797, -0.037186004, 0.020193547, 0.006115417, 0.0024174904, -0.035985596, 0.030010225, -0.023114542, -0.003217763, -0.037906248, -0.0013404568, -0.044655215, -0.043588184, -0.02004683, 0.012717667, -0.0033411384, -0.061247535, 0.0024274937, 0.01501845, -0.034171645, -0.023648057, 0.015298546, 0.017099159, -0.03193088, -0.0003895077, -0.088029996, -0.019566666, 0.029049898, 0.050070394, -0.009796672, -0.06242127, -0.011717326, -0.027502704, -0.034598455, -0.019913452, 0.010076767, -0.007769314, -0.0066089183, -0.012677653, -0.023141218, 0.024741763, -0.012197489, 0.021447308, -0.02375476, 0.0050884006, 0.0039246706, -0.013437912, -0.017059145, 0.022407634, 0.07197119, 0.00021507328, 0.0128177, -0.0076225973, -0.00993005, 0.047402818, 0.022501, -0.03129066, -0.016072143, 0.009943388, 0.04028039, -0.03187753, 0.018673029, 0.00003152116, -0.07511893, 0.04217437, -0.032784503, -0.029183276, 0.03721268, 0.0634883, 0.03577219, 0.00842287, -0.041534152, 0.034731835, -0.050443854, 0.007662611, 0.025542036, 0.03539873, 0.019966803, 0.014778369, 0.022861123, 0.0040347083, -0.04140077, 0.025582049, 0.02282111, -0.012957748, 0.027289297, -0.055912383, 0.028729789, 0.0121308, -0.014685004, -0.027876165, -0.019179868, -0.0011870711, 0.0036445751, -0.042974643, 0.0058920076, -0.018339582, -0.0036945923, 0.040760554, 0.015885413, 0.00640885, 0.011110452, 0.005448523, 0.007829335, -0.010190139, 0.014484935, 0.017939446, 0.013417905, -0.023114542, 0.01735258, -0.02766276, -0.027556056, 0.012697659, -0.032037582, 0.0029526728, 0.012430903, -0.041854262, -0.023394639, 0.02155401, 0.008022734, -0.01011678, -0.0300369, 0.024274938, -0.017379254, 0.00065022154, -0.04884331, -0.023234583, 0.014551625, 0.014298205, 0.01779273, 0.04790966, -0.050603908, 0.0009928383, 0.06567571, 0.058740016, -0.0123375375, -0.04916342, -0.026595728, 0.00798272, 0.05180432, -0.024208248, 0.01628555, 0.029023223, 0.02282111, -0.0070157237, -0.003372816, -0.031157283, -0.008629607, -0.060180504, 0.037559465, -0.022034174, 0.0023758095, 0.016912429, 0.0009069757, -0.034571778, -0.008182788, -0.013858055, 0.0038446432, 0.029930199, -0.042574506, 0.036252353, 0.048176415, 0.024461668, 0.0013579627, -0.0042714556, -0.012210827, 0.036252353, -0.03502527, 0.06962372, 0.009283163, 0.028089572, -0.04180091, -0.048950013, 0.02671577, -0.013164486, 0.023994843, 0.021780755, 0.005688605, -0.029956874, 0.007529232, 0.016765712, 0.030810498, -0.018272894, -0.021353943, 0.02106051, -0.03731938, -0.030997228, -0.007722631, 0.007195785, -0.0010153459, -0.030090252, -0.0076025906, -0.02055367, -0.06551566, 0.014551625, 0.012797694, 0.008756317, -0.017872756, -0.036092296, -0.038066305, 0.03153074, -0.019633356, -0.009163122, -0.026969189, -0.0012912733, 0.060180504, 0.026382323, -0.0009986736, -0.022207567, 0.025542036, -0.011197149, -0.029343331, -0.010690309, 0.0063755056, -0.0121308, -0.015818723, 0.021353943, 0.028356329, 0.03803963, -0.008509566, 0.016979119, 0.040707204, 0.017632674, -0.0774664, 0.023488004, -0.010443558, -0.008576255, -0.024341628, -0.030090252, -0.03739941, 0.012737674, -0.060874075, -0.0035312031, 0.02414156, 0.022847785, 0.027035879, 0.0007031562, -0.00006601208, -0.026195593, -0.02627562, -0.016552307, 0.015925426, 0.03129066, -0.03318464, -0.0046982677, -0.03582554, -0.01030351, 0.028703114, 0.018312907, -0.019326584, -0.011830698, 0.019406613, 0.010343525, -0.004424841, 0.02030025, 0.066796094, 0.08733642, -0.028009543, -0.0072558057, -0.106756374, -0.0028192939, -0.00785601, 0.04097396, -0.013818041, 0.009129778, -0.008156112, 0.011683981, 0.021954147, -0.030570416, 0.020860441, -0.04473524, -0.00399136, -0.013424574, 0.019526653, -0.009269825, 0.011683981, 0.039400093, -0.0017856084, -0.08168116, 0.015005113, -0.0073958533, -0.013477925, -0.016765712, 0.0061387583, 0.013924745, -0.010050091, -0.044468485, -0.016298886, 0.05575233, 0.0017105829, -0.036999274, 0.003457845, 0.008769655, 0.018739719, -0.03147739, -0.026635742, 0.017659351, 0.080720834, -0.020166872, -0.05009707, 0.009976733, 0.011477244, 0.012650977, -0.016125495, 0.02544867, 0.002542533, 0.018993137, -0.041080665, 0.005838656, -0.013938082, 0.015672006, -0.024901818, -0.05111075, 0.08221468, 0.019953465, 0.011437231, 0.00017016215, 0.027689435, 0.027902842, -0.013584629, 0.0326778, 0.016859077, 0.0014471598, 0.016458942, -0.012164145, -0.020860441, -0.053138107, -0.005952028, -0.043641537, 0.02722261, -0.0050917347, 0.045855623, -0.031797502, -0.008602931, -0.014951761, 0.10510248, 0.0068356623, 0.00490167, -0.023488004, 0.0029643434, -0.035878893, 0.010877039, 0.06951702, 0.035718836, -0.02727596, -0.018713042, 0.0107036475, 0.02910325, -0.020460304, 0.04625576, -0.015391911, 0.015151829, -0.054471895, 0.01489841, 0.0142448535, 0.016538968, -0.0056986082, 0.017552648, -0.0023124546, 0.0073825154, -0.00009310464, 0.032197636, 0.028329654, 0.010857033, 0.009830016, -0.030890524, 0.042281073, 0.014511611, 0.008722972, -0.04198764, 0.008589594, -0.0031093927, 0.015431925, 0.0026008862, -0.020526994, -0.013057782, 0.04100064, 0.011223825, -0.01603213, 0.022407634, 0.009756657, -0.025955511, -0.008136106, 0.008409532, -0.071224265, -0.00044056677, -0.036919247, 0.0011537265, -0.006725625, 0.030997228, -0.020033492, -0.050977368, 0.0010495243, 0.0070157237, -0.033077937, -0.023514679, 0.006889014, 0.04972361, -0.005631919, 0.013084458, 0.0043581515, 0.009689968, -0.009009737, 0.026288958, -0.00008575839, 0.0029960207, -0.019313248, 0.017659351, -0.05399173, -0.013751352, -0.014258192, -0.009069757, -0.006702284, -0.013597966, -0.022674393, -0.00256254, 0.0070690755, 0.009296501, 0.0057619633, -0.01137721, -0.0017305897, -0.0502838, 0.001047857, 0.019406613, -0.0008569587, 0.014991775, 0.00090030674, -0.0033494746, 0.01791277, 0.027422678, -0.05783304, 0.012884391, 0.015591979, 0.02859641, -0.007002386, 0.05148421, 0.013091127, -0.02224758, -0.011637298, -0.0018623013, -0.000020553878, -0.03262445, 0.0048183086, 0.008376188, 0.016485617, -0.032170963, 0.028062895, 0.014511611, -0.023247922, 0.030890524, -0.00086779566, -0.048603225, -0.010970404, -0.0012270848, 0.009823347, 0.00666227, 0.010063429, 0.013898069, -0.018552989, 0.021087185, -0.01853965, -0.037986275, 0.040013634, -0.014511611, 0.002847637, -0.0023974834, 0.02004683, -0.018779732, -0.028302977, -0.007862679, 0.030223632, 0.023594705, -0.029530061, -0.0021840774, -0.015898751, 0.04526876, -0.036172327, -0.03475851, 0.0035712167, 0.009856692, -0.011237162, 0.011230493, 0.010283504, 0.0119374, -0.0035045275, 0.010983743, -0.03953347, -0.051377505, 0.023861464, -0.007815996, -0.051937696, -0.008656283, 0.0022824444, 0.015325222, 0.038439766, -0.0023608045, -0.04318805, 0.013591298, 0.020647036, -0.029129926, -0.071491025, -0.018032812, 0.0079227, 0.047296114, -0.035478756, -0.026822472, -0.024568371, -0.037906248, -0.03713265, -0.0139114065, -0.014058123, 0.0036312372, -0.00143799, 0.0055585606, 0.04417505, -0.0028676437, -0.006172103, -0.011357203, 0.022434311, -0.02590216, 0.022861123, -0.013171154, 0.0003255276, -0.0004414004, 0.04793633, 0.02068705, -0.015818723, -0.037799545, 0.005325148, -0.015978778, 0.015045126, -0.009289832, 0.0030843844, 0.0062554646, -0.020033492, -0.025795456, 0.031824175, -0.03067712, 0.022127539, -0.037346058, -0.05217778, -0.018366259, -0.003352809, 0.013044445, -0.0413741, -0.0073891846, 0.015938764, -0.024488345, -0.007775983, -0.006568905, 0.018446285, -0.021940809, 0.0441217, -0.015912088, 0.04097396, 0.015285208, -0.035798863, -0.0077826516, 0.023354623, 0.022487663, -0.028703114, -0.033531424, -0.030330334, -0.037186004, 0.04806971, 0.026075551, -0.016312225, -0.011443899, -0.01647228, 0.01772604, 0.0077159624, 0.012704329, 0.05932688, 0.025968848, 0.019913452, 0.0064555327, -0.01628555, -0.016178846, 0.020967145, -0.017392593, 0.026062213, 0.013584629, 0.02734265, -0.050390504, -0.008336173, -0.024595046, -0.032170963, 0.021900795, -0.0010995413, -0.038386412, 0.016058804, -0.008856351, 0.009143115, -0.016365577, 0.017085822, -0.00085529144, 0.009529914, 0.005618581, -0.009269825, -0.008162782, -0.019459965, -0.006045393, 0.026342308, -0.00974332, 0.03985358, 0.00037095972, -0.017312566, -0.0024241593, 0.011617292, -0.011110452, 0.021460645, 0.018566325, -0.0054218476, 0.030623768, -0.0010103442, 0.0061887754, 0.024208248, 0.0081294365, 0.021020496, 0.002535864, 0.014805044, 0.0032344353, -0.016325563, -0.012184151, -0.0006193777, 0.002420825, 0.025955511, -0.0039113327, -0.0189798, -0.00016484784, 0.027302636, 0.055165462, -0.010190139, 0.007822665, -0.017392593, -0.010650296, 0.003082717, -0.017926108, -0.018633015, 0.028463032, -0.016498955, -0.03243772, 0.018633015, 0.013951421, 0.0062387926, -0.00040138676, -0.020286912, 0.010716985, 0.02312788, 0.0013087792, -0.019940127, -0.0031810838, 0.006392178, -0.010503579, -0.09501904, -0.027062554, 0.026168916, -0.0423611, -0.0011212154, -0.01062362, -0.00823614, -0.011997421, -0.0049450183, -0.014151488, -0.007949376, -0.017686026, -0.016298886, -0.0057186154, 0.0069090207, -0.025808794, -0.0010311847, 0.0010503579, 0.026435673, -0.022020837, -0.0325711, -0.007929369, 0.02676912, 0.0046349126, -0.035318702, 0.007642604, -0.022100864, -0.011957408, 0.0040247045, 0.025435334, -0.00993005, 0.016085481, 0.017299227, 0.004631578, -0.03822636, 0.012991093, -0.011337196, 0.00036616644, -0.0026575723, 0.05783304, 0.013424574, -0.0031010567, 0.02488848, -0.037426084, 0.0370793, -0.035532106, -0.01464499, -0.030517064, 0.0046649226, -0.045028675, 0.019953465, 0.00059853727, -0.035692163, -0.00590868, -0.004224773, 0.008542911, 0.0025041865, 0.0006135424, -0.016952442, 0.0030460379, -0.022487663, 0.056179143, 0.0004234776, -0.017485958, 0.0040380424, -0.003039369, -0.01112379, 0.027876165, -0.029690117, -0.05505876, 0.00559524, 0.025408657, -0.028943196, -0.00069315283, 0.0010003408, -0.004454851, 0.0018739719, 0.041960966, -0.017139174, 0.03739941, 0.04198764, -0.03313129, 0.019846762, 0.01508514, -0.007329164, 0.024421655, 0.043961644, 0.0154852765, 0.008116099, -0.015405249, 0.011110452, 0.00064105174, 0.005701943, 0.019713383, -0.0040580495, 0.00092448166, 0.009903374, -0.04569557, 0.0045682234, -0.015511952, 0.021794092, 0.0046782605, 0.02080709, -0.012864383, 0.016699024, 0.019780073, 0.016552307, 0.035612132, 0.015551966, -0.018619677, -0.014178164, 0.022354284, -0.0048616566, 0.018619677, -0.004438179, 0.014791707, 0.020700386, 0.034198318, -0.0006510552, 0.009403204, -0.017659351, 0.027769461, 0.025195252, 0.040120337, -0.012417564, -0.015245195, -0.010003408, 0.028943196, -0.019966803, 0.026809135, 0.016912429, 0.0050617247, 0.0023057857, 0.0034911896, -0.029956874, 0.007422529, 0.043641537, -0.022954488, -0.0001966295, -0.010930391, 0.009643286, 0.018392934, 0.014858396, -0.008556249, -0.016685685, 0.019339923, -0.0045915646, -0.0011645635, 0.008589594, 0.03323799, -0.011510588, -0.0054218476, 0.00785601, 0.0017856084, -0.023794774, 0.056605954, 0.02507521, -0.050950695, 0.015231856, 0.016925767, -0.0057219495, 0.055645626, 0.008803, -0.026635742, 0.030303659, -0.04329475, -0.009129778, -0.0037579471, 0.024274938, 0.036172327, -0.014311543, -0.065088846, 0.00980334, -0.011370541, 0.036599137, 0.0163389, -0.023914816, 0.033718154, 0.034144968, 0.047802955, -0.01313781, 0.04065385, -0.010930391, -0.029556738, 0.042841263, -0.005355158, 0.0048116394, -0.023327949, 0.028463032, -0.0035678823, -0.0021907464, 0.026995866, -0.008983061, 0.06823658, 0.025208589, -0.049323473, -0.0080694165, 0.018232878, -0.031797502, -0.04897669, -0.006072069, 0.045348786, 0.029370008, 0.008202795, -0.01187738, -0.011837367, 0.00018527146, -0.025462009, -0.02752938, 0.029636765, 0.018646354, -0.009816678, -0.014978437, 0.0028159595, -0.013484594, -0.020927131, 0.017432606, -0.014671666, -0.019179868, 0.0067723077, -0.010123449, -0.014338219, -0.0014446588, -0.0074958876, 0.025248602, -0.015938764, -0.0035278688, -0.006702284, 0.023287935, 0.0035145308, -0.0014146487, -0.00027759458, -0.010290173, -0.029316656, -0.049190093, -0.0126709845, 0.0025975518, 0.012637639, -0.0031927545, -0.0037846228, 0.035558783, 0.013657987, -0.046095707, -0.023768099, 0.023794774, 0.008662952, 0.02966344, 0.017606, -0.046709247, -0.0057486254, -0.013751352, -0.0048916666, 0.0020907123, 0.010203477, -0.032357693, -0.039320063, 0.02136728, 0.04870993, 0.027822813, 0.046122383, -0.02551536, 0.007842672, -0.015005113, -0.006882345, -0.0070490683, -0.03486521, -0.011904056, 0.0145783005, 0.024528358, -0.021820769, 0.011517257, 0.040066984, -0.014604976, 0.056766007, -0.01872638, 0.015138491, 0.029636765, 0.02407487, 0.028729789, -0.004948353, -0.0065388945, 0.0039546806, -0.036252353, -0.026742445, 0.037692845, 0.004224773, 0.0022707738, -0.0070490683, 0.026755784, 0.00021986658, -0.0057586287, 0.019766735, 0.023034515, 0.0019656697, -0.0086429445, -0.005285134, -0.0014138151, 0.004041377, 0.033211317, -0.0069423653, 0.057139467, 0.006115417, 0.017192524, -0.03129066, 0.031664122, 0.034411725, 0.027315974, -0.017992798, -0.0049983696, -0.029423358, 0.0048883324, -0.020780414, -0.0077426382, 0.015178505, -0.019766735, -0.02368807, -0.0065222224, -0.018673029, -0.008829676, -0.039826903, -0.0014638321, -0.004764957, -0.0022290929, 0.004644916, -0.030143604, 0.0006581409, -0.015378573, -0.006882345, 0.012804363, 0.01948664, -0.008202795, 0.009123108, -0.016005453, 0.01865969, -0.030997228, 0.00013494182, -0.033984914, -0.012644309, -0.03150407, -0.017165849, 0.0370793, -0.006618922, 0.012277517, -0.008956385, 0.0039413427, 0.016565645, 0.024381641, 0.019780073, -0.026262281, -0.0019573336, 0.06957037, -0.0025542036, -0.0013346215, -0.0008252812, -0.02822295, -0.004521541, 0.013751352, 0.02803622, 0.004518206, 0.021767417, 0.018646354, 0.016138833, 0.006488878, 0.012610964, 0.0074625425, -0.00016703608, -0.01464499, 0.06279473, 0.0036112305, 0.02891652, 0.020526994, 0.0038479778, 0.0035245342, -0.021273915, 0.037559465, 0.030303659, -0.013804704, 0.0071557714, 0.062207863, 0.04796301, -0.02268773, -0.002067371, -0.022647716, 0.0038379743, -0.012844376, -0.015418587, -0.034998592, 0.0269025, -0.007342502, -0.017752716, -0.005448523, 0.003921336, -0.010143456, 0.0026325637, -0.019033153, 0.011177142, 0.0032144287, -0.034144968, 0.024995184, 0.009609941, 0.03934674, -0.011804022, -0.01628555, 0.00097116426, -0.0005756128, 0.00066480984, -0.018486299, 0.0060920757, 0.026262281, 0.005895342, -0.0047149397, -0.025808794, -0.00640885, 0.009676631, -0.008529573, -0.0344384, 0.014071461, 0.0036379062, -0.0065922462, 0.017766053, -0.01118381, -0.005801977, 0.025942173, -0.009856692, 0.027195932, 0.0045048683, -0.024728425, 0.012030766, 0.009263156, 0.0344384, 0.021380618, 0.011597285, -0.031610772, 0.0028393008, -0.035692163, 0.040066984, 0.044255078, 0.01647228, -0.024194911, 0.0036612474, -0.03601227, 0.02294115, 0.040066984, -0.0008969723, -0.019966803, 0.012771018, -0.009836685, 0.0019840093, 0.012390888, -0.0033861538, -0.01207078, -0.018059487, -0.0238748, 0.017766053, -0.060874075, -0.00070815795, -0.02294115, 0.011864043, 0.059006773, 0.0006735628, -0.006515553, -0.023888139, 0.018593002, 0.028543059, -0.0041013975, 0.016645672, -0.005851994, 0.007635935, 0.007976051, 0.01552529, -0.0065488983, -0.0039580152, 0.0013954755, -0.007949376, -0.0028576404, 0.0044715237, -0.020020155, -0.0006181273, -0.012464247, -0.012697659, 0.009403204, -0.008196126, 0.0035545444, 0.014778369, 0.0072824815, 0.017832743, -0.023367962, -0.037186004, -0.012424233, 0.039266713, 0.014805044, -0.015191843, 0.0040947287, 0.015538628, -0.010236821, -0.005178431, 0.03225099, -0.021473983, 0.007442536, -0.0043714894, -0.017245876, 0.01257095, 0.0044215065, 0.03777287, -0.0023541355, 0.010716985, -0.0011770678, -0.025115224, 0.005895342, -0.009649955, 0.023407975, -0.0017956118, -0.012244172, 0.011437231, 0.02407487, -0.012377551, 0.03249107, 0.0069290274, 0.0150317885, 0.015605317, -0.013644649, 0.00019412865, 0.025061872, -0.00020309004, 0.00993005, -0.015752034, -0.0011070438, 0.010970404, -0.0078026587, 0.014431584, -0.0032561095, -0.00039951113, -0.0060387244, 0.02432829, 0.025955511, 0.009116439, 0.04468189, -0.008596262, -0.006542229, -0.026702432, 0.00019464966, -0.002415823, 0.03323799, 0.012784356, 0.0018389599, 0.0688768, -0.029903522, 0.018032812, 0.0024174904, -0.012197489, -0.0042381105, -0.003104391, 0.016352238, 0.019780073, -0.004518206, -0.014324881, -0.006625591, 0.03313129, 0.01552529, -0.011030425, 0.013624642, -0.013304533, 0.0027242615, 0.01420484, 0.01865969, 0.007949376, 0.019873438, -0.029423358, -0.02470175, -0.00051684276, -0.011230493, -0.012077449, 0.026702432, 0.013791366, -0.004978363, 0.025048535, 0.040440448, 0.004298131, 0.01923322, 0.04300132, 0.01275768, -0.04977696, -0.017632674, 0.024461668, 0.014058123, 0.0027225944, -0.026822472, 0.0011203818, -0.027822813, 0.034545105, -0.032331016, 0.009029743, -0.018019473, 0.021087185, -0.025355306, 0.038066305, 0.012237503, 0.021900795, -0.051164098, -0.004068053, -0.01652563, -0.0009811677, -0.043348104, -0.02752938, 0.024114883, -0.06610252, 0.0034611793, -0.03577219, -0.008522904, -0.014818382, -0.023327949, -0.021167213, 0.01929991, -0.011824029, 0.03054374, -0.009276494, -0.038066305, 0.022020837, 0.016498955, -0.030143604, -0.027396, 0.02544867, -0.028943196, -0.025381982, -0.018179528, 0.02507521, -0.007549239, 0.006315485, -0.02451502, -0.028543059, 0.021527335, -0.02236762, -0.04084058, -0.0125776185, 0.01401811, 0.05135083, 0.0103702005, -0.00018214539, 0.008883026, -0.012297523, -0.06274138, 0.013858055, 0.01835292, -0.04028039, 0.0117306635, -0.0009219808, 0.00754257, -0.028383004, -0.000037590933, 0.02079375, 0.000101909725, -0.012410895, -0.003877988, 0.0046249093, 0.027902842, -0.01715251, -0.0009928383, 0.032357693, 0.018152852, 0.026862485, 0.0011403885, 0.0076092593, 0.00018996056, -0.0038879914, -0.0019940129, 0.036652487, 0.0037612815, 0.0016255538, -0.0035778857, 0.002265772, -0.00936319, -0.007829335, -0.007936037, 0.0007248303, 0.019633356, 0.017846081, 0.000239665, 0.014271529, 0.010296842, -0.011764009, -0.0018406272, 0.032891206, 0.010363531, 0.04129407, -0.024168234, 0.008876358, 0.006045393, -0.010290173, 0.057459578, -0.015058464, -0.027742786, 0.0071424334, -0.021660713, -0.0050517214, 0.01276435, 0.018552989, 0.008196126, 0.01828623, -0.009936719, -0.007815996, 0.0047149397, 0.010170132, -0.0031093927, 0.0028593077, 0.021980822, -0.005218445, 0.0036945923, -0.021167213, -0.013444581, -0.019339923, -0.023661396, -0.00091864634, 0.014538287, -0.00016422263, -0.007869348, 0.0065322258, -0.018432947, 0.0014671666, 0.009816678, -0.005581902, 0.01483172, 0.018446285, 0.0056085777, 0.012544274, -0.01552529, -0.0073825154, -0.027556056, -0.03854647, 0.012677653, -0.00048766617, 0.016859077, -0.0008777991, 0.011370541, -0.029450035, -0.030997228, 0.0035978926, 0.0041314075, 0.016325563, 0.00010972489 ]
2310.12397
31
# Baseline, Direct Prompt Color the following graph, described as a set of edges, such that no two vertices on the same edge <> share a color. You may use at most 3 colors. Vertex 0 is connected to vertex 7. Vertex 0 is connected to vertex 8. Vertex 0 is connected to vertex 9. Vertex 0 is connected to vertex 11. Vertex 1 is connected to vertex 13. Vertex is connected to vertex Vertex is connected to vertex Vertex is connected to vertex Vertex is connected to vertex Vertex is connected to vertex Vertex is connected to vertex Vertex is connected to vertex Vertex is connected to vertex Vertex is connected to vertex Vertex is connected to vertex Vertex 10 is connected to vertex 13. Vertex 11 is connected to vertex 13. There are a total of 14 vertices. Please label every vertex, even if it is disconnected from the <> rest of the graph.Please provide each vertex's color. Do not skip any vertices. Each color <+ must be provided on a new line in the response and should be formatted as "{VERTEX NUMBER}: <> {VERTEX COLOR ASSIGNMENT}". Please do not provide anything else in your response.
2310.12397#31
GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems
There has been considerable divergence of opinion on the reasoning abilities of Large Language Models (LLMs). While the initial optimism that reasoning might emerge automatically with scale has been tempered thanks to a slew of counterexamples, a wide spread belief in their iterative self-critique capabilities persists. In this paper, we set out to systematically investigate the effectiveness of iterative prompting of LLMs in the context of Graph Coloring, a canonical NP-complete reasoning problem that is related to propositional satisfiability as well as practical problems like scheduling and allocation. We present a principled empirical study of the performance of GPT4 in solving graph coloring instances or verifying the correctness of candidate colorings. In iterative modes, we experiment with the model critiquing its own answers and an external correct reasoner verifying proposed solutions. In both cases, we analyze whether the content of the criticisms actually affects bottom line performance. The study seems to indicate that (i) LLMs are bad at solving graph coloring instances (ii) they are no better at verifying a solution--and thus are not effective in iterative modes with LLMs critiquing LLM-generated solutions (iii) the correctness and content of the criticisms--whether by LLMs or external solvers--seems largely irrelevant to the performance of iterative prompting. We show that the observed increase in effectiveness is largely due to the correct solution being fortuitously present in the top-k completions of the prompt (and being recognized as such by an external verifier). Our results thus call into question claims about the self-critiquing capabilities of state of the art LLMs.
http://arxiv.org/pdf/2310.12397
Kaya Stechly, Matthew Marquez, Subbarao Kambhampati
cs.AI
18 pages, 3 figures
null
cs.AI
20231019
20231019
[ { "id": "2206.10498" }, { "id": "2306.03872" }, { "id": "2303.11366" } ]
{ "authors": "Kaya Stechly, Matthew Marquez, Subbarao Kambhampati", "chunk_id": 31, "doc_id": "2310.12397", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12397", "summary": "There has been considerable divergence of opinion on the reasoning abilities\nof Large Language Models (LLMs). While the initial optimism that reasoning\nmight emerge automatically with scale has been tempered thanks to a slew of\ncounterexamples, a wide spread belief in their iterative self-critique\ncapabilities persists. In this paper, we set out to systematically investigate\nthe effectiveness of iterative prompting of LLMs in the context of Graph\nColoring, a canonical NP-complete reasoning problem that is related to\npropositional satisfiability as well as practical problems like scheduling and\nallocation. We present a principled empirical study of the performance of GPT4\nin solving graph coloring instances or verifying the correctness of candidate\ncolorings. In iterative modes, we experiment with the model critiquing its own\nanswers and an external correct reasoner verifying proposed solutions. In both\ncases, we analyze whether the content of the criticisms actually affects bottom\nline performance. The study seems to indicate that (i) LLMs are bad at solving\ngraph coloring instances (ii) they are no better at verifying a solution--and\nthus are not effective in iterative modes with LLMs critiquing LLM-generated\nsolutions (iii) the correctness and content of the criticisms--whether by LLMs\nor external solvers--seems largely irrelevant to the performance of iterative\nprompting. We show that the observed increase in effectiveness is largely due\nto the correct solution being fortuitously present in the top-k completions of\nthe prompt (and being recognized as such by an external verifier). Our results\nthus call into question claims about the self-critiquing capabilities of state\nof the art LLMs.", "text": "# Baseline, Direct Prompt\nColor the following graph, described as a set of edges, such that no two vertices on the same edge <> share a color. You may use at most 3 colors. Vertex 0 is connected to vertex 7. Vertex 0 is connected to vertex 8. Vertex 0 is connected to vertex 9. Vertex 0 is connected to vertex 11. Vertex 1 is connected to vertex 13. Vertex is connected to vertex Vertex is connected to vertex Vertex is connected to vertex Vertex is connected to vertex Vertex is connected to vertex Vertex is connected to vertex Vertex is connected to vertex Vertex is connected to vertex Vertex is connected to vertex Vertex is connected to vertex Vertex 10 is connected to vertex 13. Vertex 11 is connected to vertex 13. There are a total of 14 vertices. Please label every vertex, even if it is disconnected from the <> rest of the graph.Please provide each vertex's color. Do not skip any vertices. Each color <+ must be provided on a new line in the response and should be formatted as \"{VERTEX NUMBER}: <> {VERTEX COLOR ASSIGNMENT}\". Please do not provide anything else in your response.", "title": "GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems", "year": 2023 }
[ -0.041309085, -0.01231376, 0.07852181, -0.012319929, -0.02154291, -0.049748577, 0.0064653405, -0.012505005, -0.016841965, 0.055424254, 0.046293814, -0.0015723795, 0.0017705656, -0.03859463, 0.004096361, -0.031512365, 0.047873132, 0.010129856, -0.026576992, 0.03291895, -0.014719754, -0.045479476, 0.0026496793, 0.032943625, -0.053005923, 0.04782378, 0.025836686, -0.051870786, 0.0332891, -0.0028733134, -0.010925685, -0.008976213, -0.05216691, -0.036645155, 0.009722688, 0.010388964, -0.0033313779, 0.005138959, -0.020247374, 0.020222697, 0.033017654, 0.005333289, 0.017717995, 0.007452416, 0.009796718, 0.0012585205, -0.030278523, -0.043110497, -0.021579925, 0.034202147, -0.023813182, 0.047404274, 0.013202127, -0.0018322578, -0.038101092, 0.018581685, -0.0064344946, 0.025343148, 0.048119903, -0.010641902, 0.05098242, -0.035460666, -0.039260905, 0.051031772, 0.017717995, 0.01988956, -0.02793422, 0.0339307, 0.08128562, 0.045109324, -0.0071871392, 0.05651004, 0.03741014, 0.008501182, -0.00414263, 0.008223568, 0.03274621, -0.005080351, -0.045898985, -0.02382552, 0.011450069, 0.0042259144, 0.02050648, -0.049427778, -0.024010597, -0.034769714, -0.02926677, -0.015669813, -0.0651963, -0.016990026, -0.013695665, -0.061198644, -0.0711681, 0.040297333, 0.041309085, 0.03913752, 0.018914822, 0.01949473, -0.032548796, -0.022752076, 0.02707053, -0.051870786, -0.015534092, -0.008272922, 0.012079329, 0.025737979, 0.020963004, 0.04765104, -0.010259409, -0.012671574, -0.040445395, -0.020765588, 0.014818463, 0.00812486, 0.022579338, 0.015990613, -0.077534735, -0.071859054, 0.05493072, -0.056904867, 0.013189789, 0.0055368734, 0.012733267, -0.046984766, -0.02452881, 0.031759135, 0.032129288, -0.05596715, -0.011018224, -0.025121056, 0.01632375, -0.058829665, 0.039951857, 0.032770887, -0.03045126, 0.016002951, -0.026083454, -0.004037753, 0.008655413, -0.004065515, -0.010012642, -0.00044495487, 0.030747384, 0.012757943, 0.054634597, 0.03763223, -0.043283235, 0.0823714, 0.026478285, 0.0032789395, -0.00019278807, 0.051229186, -0.028600495, 0.01744655, 0.011943607, -0.07694249, 0.04244422, 0.018125163, -0.051920142, 0.014065817, 0.043209203, -0.038841397, 0.046145752, -0.020198021, 0.02249297, -0.006638079, -0.07190841, 0.017483564, -0.049896635, -0.025392503, 0.00055985653, -0.026527638, -0.01578086, -0.032030582, 0.036694508, -0.00040601168, -0.056954224, -0.011400715, 0.050464205, -0.021259125, 0.005357966, 0.026502961, 0.011326685, 0.01696535, -0.0067614634, 0.0009585423, 0.002375149, 0.048391346, -0.0035287929, -0.025861362, -0.014423632, -0.0067429557, -0.0047780597, 0.009698011, -0.03353587, -0.06633143, 0.06504824, -0.01901353, 0.024898965, -0.028403081, -0.0096548265, 0.02746536, 0.029143387, -0.06435728, -0.02825502, -0.020950666, -0.04617043, -0.05073565, 0.019556422, -0.016434798, 0.025836686, 0.029044678, 0.028057605, 0.02793422, -0.039211553, 0.004410991, -0.032129288, -0.0102717485, 0.021444203, 0.016274398, -0.06820688, 0.01522563, 0.042271484, -0.021740325, 0.015410707, 0.022307893, 0.017027043, -0.02739133, -0.0003198354, 0.024652196, 0.037582878, -0.045158677, -0.00035453725, -0.045553505, -0.03748417, -0.02478792, 0.018334916, 0.0017520579, -0.0011852611, -0.013621634, -0.030056432, -0.032622825, 0.040840223, 0.0057867267, 0.03479439, -0.030081108, -0.023146907, -0.008815813, -0.034448914, 0.029957723, -0.017841378, 0.02154291, -0.06233378, -0.017150426, -0.014102832, -0.011110762, 0.020086974, 0.0009307808, 0.010524686, -0.010863993, -0.024948318, -0.006965047, -0.008569044, 0.000303834, -0.0028255018, 0.020025283, 0.037039988, 0.0052746814, -0.046195105, -0.029612247, -0.005688019, 0.018717408, 0.06480147, -0.064061165, -0.012794958, -0.02423269, 0.01412751, 0.009019397, 0.026404254, -0.018347254, -0.006360464, 0.031907197, 0.040223304, 0.03306701, -0.022505308, -0.0036984463, -0.03802706, 0.06346892, 0.0016903658, 0.004349299, 0.021320818, -0.015990613, -0.010376625, -0.011320516, 0.022752076, -0.007236493, -0.0042660143, 0.0008883674, 0.034350205, 0.0041333763, 0.011517931, 0.005620158, 0.00058723247, 0.032227997, -0.01215336, 0.0064344946, 0.03131495, 0.0022162916, 0.007304354, -0.059471264, -0.0032450089, 0.001199913, 0.025084041, 0.0032203319, -0.021185094, -0.05927385, 0.03629968, 0.033486515, -0.0027684367, -0.0062864334, -0.004485022, -0.041531175, 0.028501788, -0.012868989, -0.018803777, 0.0053949812, -0.05034082, -0.013313172, 0.017310826, -0.036373712, -0.020580512, -0.053992998, 0.010752947, 0.055424254, -0.0032265012, -0.016052306, -0.016582858, 0.019420698, 0.0189395, 0.042246807, -0.0658379, -0.022147493, 0.030475939, -0.020568173, -0.07373449, 0.0011891169, -0.019544084, 0.015188615, 0.036324356, 0.012400129, -0.02430672, -0.0060921027, -0.011487084, 0.0012685455, 0.054091707, -0.014065817, -0.006841663, -0.009617811, -0.055276196, 0.04836667, -0.0065763867, -0.005533789, 0.017471226, -0.010037318, -0.0071994774, 0.020198021, -0.037114017, 0.000026869837, 0.04883553, 0.021444203, -0.03131495, 0.011240316, -0.04639252, -0.020173343, -0.029784985, -0.010049656, -0.02249297, 0.009926272, -0.006952709, 0.034942452, -0.008217399, -0.04269099, -0.00044302698, 0.0018338001, 0.028180989, -0.011320516, 0.027440682, -0.014707416, -0.05912579, -0.0115241, 0.028575819, -0.024923641, 0.010648071, 0.040075243, 0.030105785, 0.0037663076, 0.008852828, 0.010475333, 0.027909543, 0.065541774, 0.009185966, -0.03415279, -0.017841378, 0.014102832, -0.031388983, -0.038150445, 0.0029905285, 0.00029284507, 0.024035273, 0.0031277935, 0.0057651345, -0.029094033, -0.027193913, -0.008661582, 0.00044379814, -0.0026928638, 0.010290256, -0.0074092313, -0.042345513, 0.047700394, 0.0075881383, 0.0002500461, -0.011943607, -0.007779384, -0.04535609, 0.03977912, 0.0007919734, -0.015200954, 0.011234147, -0.026009424, -0.017952425, 0.044467725, 0.058681604, 0.045134, 0.053746227, 0.0024414682, -0.002674356, -0.020963004, -0.0022903222, 0.004867513, -0.0038341691, -0.04964987, 0.0023581837, -0.008815813, -0.009401889, -0.0028733134, 0.010672747, -0.022678046, 0.011110762, -0.0028332134, -0.004404822, 0.02800825, -0.020925988, 0.059323203, 0.01917393, 0.025022348, 0.008482675, -0.0003296676, 0.00069827837, 0.0011012055, 0.002871771, 0.043604035, -0.02753939, 0.033585224, -0.009778211, 0.023233276, -0.0691446, 0.0022718145, 0.045010615, 0.007205647, -0.0454548, 0.029735632, 0.04639252, -0.014929508, 0.030500615, -0.0028378405, -0.022752076, 0.04394951, 0.02082728, 0.03109286, 0.034177467, -0.054881364, -0.0041703917, -0.011110762, 0.039482996, 0.06287667, 0.025935393, -0.02832905, -0.037977707, 0.029069357, -0.023393676, -0.007989137, -0.02028439, -0.012918343, -0.0008598348, 0.009247658, -0.027835513, 0.024343735, 0.01491717, -0.010469163, 0.00012656537, 0.031339627, -0.04523271, 0.04782378, 0.020148667, -0.0033745624, 0.045627538, 0.040396042, -0.066232726, 0.022850784, 0.030920122, 0.025910717, 0.0019726076, -0.04222213, -0.026206838, 0.040593456, -0.022443615, -0.007063755, -0.046812028, 0.011875745, -0.030796736, -0.014053479, -0.0046145753, -0.025762655, 0.010117518, -0.015928922, 0.011092254, -0.08094014, -0.025022348, -0.029242095, 0.022678046, 0.011437731, -0.004987813, 0.033042334, -0.02382552, 0.02674973, -0.0027946557, -0.025515886, 0.008624567, -0.028748557, 0.01215336, -0.0041210377, -0.0007106168, 0.010395133, 0.00147907, -0.022073463, 0.016743258, -0.009087258, 0.009642488, 0.04523271, 0.003575062, -0.0010055825, -0.043283235, -0.010506178, 0.0009546865, 0.02391189, -0.005974888, -0.032696858, 0.0027884867, -0.019050546, 0.030179815, 0.03533728, 0.054980073, 0.021271463, 0.011425392, 0.0355347, 0.049427778, 0.022949493, -0.01760695, -0.011777038, -0.022579338, 0.004886021, -0.0006099814, -0.001681112, 0.023406014, -0.03205526, -0.02714456, 0.020654542, 0.006810817, 0.014843139, -0.032548796, 0.018273225, 0.013510588, 0.019062884, -0.026478285, 0.00059070264, 0.0057157804, 0.020099312, -0.006341956, -0.029464185, -0.010820809, -0.0036244157, -0.018359594, 0.027588744, -0.0057497113, -0.014485325, 0.0028270443, -0.010136025, -0.007767046, -0.0015638968, 0.026552316, -0.009969456, -0.023393676, -0.069736846, 0.037607554, 0.035065837, 0.025133396, 0.033017654, 0.037360784, 0.021000018, -0.01988956, -0.01854467, 0.023023522, 0.00797063, 0.011302007, 0.025960071, 0.0040871073, 0.00986458, 0.030352553, -0.019914236, 0.028699202, 0.049205683, 0.017039381, 0.0119250985, -0.0012068533, 0.0008922232, 0.014275571, -0.02265337, 0.010685086, -0.0023165415, -0.045183353, -0.05098242, 0.029316125, -0.002754556, -0.02075325, 0.026774406, 0.02035842, -0.0020898227, 0.0052901045, -0.028526464, 0.0091366125, -0.027514713, -0.022542324, -0.045750923, -0.013350188, -0.013856064, -0.011844899, 0.03629968, -0.052018847, -0.025158072, -0.034276176, -0.017088734, 0.006816986, -0.025343148, -0.014658063, -0.027983574, -0.026576992, -0.025084041, -0.044369016, 0.0036830232, 0.013782034, -0.008797305, 0.003575062, 0.007902768, -0.03252412, 0.017878395, -0.041605208, -0.0015623545, -0.006193895, 0.010722102, 0.009549949, 0.042567607, 0.05088371, 0.033881348, -0.010759116, -0.009913933, 0.0026142062, -0.020605188, -0.020173343, -0.010351948, 0.0072611696, -0.011962114, -0.02642893, 0.034078762, 0.017792026, 0.013522927, 0.011456238, 0.043530002, 0.011339023, -0.028575819, -0.015102246, 0.03622565, 0.030303199, 0.012356944, 0.017853718, 0.0012137936, -0.013559941, 0.018519994, -0.033437163, -0.07536317, 0.0007129303, -0.016200367, 0.025984747, 0.0023180838, 0.014633385, -0.042987112, -0.00489219, 0.029316125, 0.045405447, -0.03148769, -0.0004900673, 0.04348065, -0.05221626, 0.005987226, 0.012418636, 0.013103419, -0.0002685538, -0.01578086, -0.00036764683, -0.046121076, -0.0071933083, 0.0355347, 0.01719978, -0.021370173, 0.009019397, 0.017064057, -0.0008775713, -0.0044603446, 0.023887213, -0.0021900726, -0.015534092, 0.015817875, 0.03242541, 0.0028023673, 0.015176277, 0.011110762, 0.0049693054, 0.008359291, -0.027267944, -0.015176277, -0.011764699, -0.0035966542, -0.0034917775, -0.014053479, 0.006755294, 0.039014135, -0.04308582, -0.0047780597, -0.073586434, 0.008322275, -0.00023385193, 0.009179797, -0.037903678, -0.022912476, 0.0029843594, 0.008988551, 0.015719168, -0.009358704, 0.033338454, 0.022529984, -0.019186268, -0.014349601, -0.008106353, 0.010166871, 0.0072611696, -0.022184508, 0.009950949, -0.0107035935, 0.022233862, 0.026280869, 0.0067984783, 0.018581685, 0.011653653, 0.017693318, 0.03274621, -0.014744432, 0.0007565004, -0.011968283, 0.01924796, -0.020925988, 0.034547623, 0.0149912005, -0.012770282, -0.020654542, 0.0076745073, 0.053943645, 0.015472399, 0.0102717485, -0.01002498, -0.01838427, -0.07111875, -0.023097552, -0.024380751, -0.01491717, -0.0011590419, -0.045701567, 0.009994133, -0.10699892, 0.0031432167, 0.038224477, -0.0441716, 0.01608932, 0.0029288363, 0.031512365, -0.012554359, 0.038545277, -0.03346184, -0.027909543, 0.018668054, -0.009599304, -0.01847064, 0.0018661885, -0.015632799, -0.0005263114, -0.0074030617, -0.023344321, -0.023159245, -0.01689132, -0.016940674, 0.01594126, -0.010672747, -0.011703007, 0.017631626, -0.032943625, -0.026453607, 0.03565808, 0.016582858, 0.014324925, 0.0038804382, -0.008988551, 0.01632375, -0.009759703, -0.0005602421, -0.019951252, 0.01025324, -0.0014351144, 0.03753352, 0.0030475939, -0.025318472, 0.00343317, -0.019692145, 0.021197435, 0.0039976533, 0.0031987396, -0.005191397, -0.029488863, -0.05216691, -0.005120451, 0.033634577, -0.028477112, -0.009445073, 0.011789376, 0.020111652, 0.010388964, -0.024183335, -0.039482996, 0.0030954052, -0.0072488314, 0.02897065, 0.029217416, 0.002780775, 0.0066627557, -0.029982401, -0.029439509, 0.03237606, -0.009815226, 0.024417765, 0.015793199, 0.0075943074, -0.015052892, -0.0342515, -0.015435384, 0.0026357984, 0.027366651, -0.011388376, -0.019062884, 0.009907764, 0.00090995966, 0.01908756, 0.03235138, 0.02872388, -0.006675094, -0.0078102304, 0.023776166, -0.00437706, -0.01806347, 0.029538216, -0.019815529, 0.010796132, -0.035090514, -0.0058453344, 0.0050495053, 0.004176561, 0.04390016, -0.020814942, 0.018717408, -0.025639271, -0.0021854455, 0.0016333006, 0.016039968, 0.0013348645, -0.041309085, -0.0048490055, 0.016718581, 0.018668054, -0.015694492, -0.005080351, -0.016459474, -0.016299075, 0.025737979, -0.006983555, -0.049921315, 0.0139424335, -0.014324925, -0.022900138, 0.035830818, -0.032400735, 0.01933433, 0.04355468, -0.008161875, 0.006335787, -0.01776735, 0.04434434, 0.033486515, -0.0133255115, -0.042863727, 0.020309066, 0.009401889, 0.013633972, -0.015324338, 0.0068848473, 0.008235906, -0.023973582, -0.030253846, -0.0089577045, -0.022233862, -0.016397782, 0.010068164, 0.009161289, 0.030303199, -0.034202147, -0.02588604, -0.0055245347, 0.024331396, 0.009809057, -0.014892492, 0.02832905, 0.007526446, 0.016545843, 0.012023807, -0.0046485057, 0.011413054, 0.05774388, 0.013868403, -0.04000121, -0.009334027, 0.0072303237, -0.014300248, 0.0066134017, -0.049723897, 0.0026357984, 0.025589917, -0.027514713, 0.02739133, 0.009969456, 0.0056911036, 0.027983574, -0.024886627, -0.0017428042, 0.016113998, 0.03242541, -0.012363113, 0.05478266, 0.041086994, -0.04592366, 0.01333785, 0.0071131084, -0.026626345, -0.003368393, -0.026897792, 0.022258539, 0.031586397, 0.007927446, 0.0145470165, -0.0111231, 0.017113412, -0.010191549, 0.0336099, -0.007921277, 0.027341975, 0.019605776, 0.07437609, -0.019766174, 0.016200367, -0.002860975, 0.0075881383, 0.029291447, 0.014238556, 0.004269099, 0.01073444, -0.0042413375, -0.019371346, 0.029044678, -0.032252673, -0.024911303, -0.018322578, 0.027786158, -0.0011521014, 0.02477558, -0.019062884, -0.009599304, -0.03338781, -0.024763241, 0.008507352, 0.010068164, -0.010796132, 0.008340783, -0.033190396, -0.06154412, -0.028945971, 0.045405447, 0.00091381546, -0.0018708154, 0.0052561737, -0.03511519, -0.0332891, 0.015558768, 0.019396022, 0.007131616, -0.00012878243, -0.054239765, -0.0348931, 0.035880174, 0.024454782, 0.004512783, 0.0018831538, 0.029242095, 0.008100184, -0.012363113, -0.008976213, 0.00016743643, -0.0059718033, -0.029168064, -0.0010371999, -0.026305547, -0.005734288, -0.019840205, -0.017224457, 0.0041056145, 0.030994153, -0.042098746, -0.008056999, -0.026009424, 0.018816115, 0.013695665, 0.0037601385, 0.02864985, 0.000068054185, -0.006335787, 0.015447723, -0.019371346, -0.031018829, 0.04190133, -0.025836686, -0.017779687, -0.012634559, 0.020703897, -0.01017304, -0.0069156936, 0.008840489, -0.006477679, -0.013819049, -0.0033992392, -0.020136328, -0.023159245, 0.003439339, -0.010456825, 0.0044603446, -0.024639858, 0.0037077002, 0.021752663, 0.011339023, 0.004719452, -0.014238556, -0.07008232, 0.004124122, 0.008371629, 0.039211553, -0.02107405, -0.0053302045, 0.0015284239, 0.021431863, -0.019235622, -0.0033252086, 0.00595638, 0.014793785, -0.012171867, 0.0028131634, 0.0066812634, -0.0023689799, 0.0109627005, 0.052561738, 0.019827867, 0.021752663, 0.000678614, -0.018606363, 0.014522339, 0.02739133, -0.017927747, 0.0063728024, -0.005666427, -0.010857824, 0.00052091334, 0.017434211, 0.011382207, -0.029488863, 0.04261696, -0.018692732, -0.0073166927, 0.039088167, 0.03131495, 0.0033036163, 0.011801714, 0.00568185, 0.014719754, 0.014707416, 0.0017859887, -0.032326702, 0.043974187, -0.005752796, -0.025762655, 0.002242511, -0.005854588, 0.0028054519, 0.02864985, 0.0049693054, -0.027317299, 0.00131173, -0.025540564, -0.0117523605, -0.0031463013, 0.0037200386, 0.0050217435, -0.0029226672, -0.008618398, -0.04237019, -0.02028439, 0.05458524, 0.0067121093, -0.02872388, 0.028526464, -0.0056139887, 0.026453607, 0.01010518, 0.031191567, 0.0069156936, -0.023702137, -0.027045853, 0.0031231667, 0.01207316, 0.0011058324, 0.040766194, 0.0064036483, -0.01972916, -0.000316558, 0.031216243, 0.00883432, 0.02098768, 0.01610166, -0.0036305848, 0.013893079, 0.004481937, -0.014719754, 0.045578185, 0.015299661, 0.03163575, 0.0266757, 0.014324925, -0.016767936, 0.028575819, -0.009512935, -0.019605776, -0.008908351, -0.015805537, 0.0017690234, -0.0033838162, -0.022776753, -0.014744432, 0.0020605188, 0.00453746, -0.024516473, 0.010099011, 0.014386617, 0.0062525026, 0.038940106, 0.023233276, -0.030994153, 0.022270877, 0.026157485, -0.0065517095, 0.0024753988, -0.009438904, -0.040346686, 0.009290842, 0.011369869, 0.027860189, 0.007470923, -0.02509638, 0.010561702, 0.0043678065, 0.012264405, 0.008784967, -0.0329683, -0.0010456825, 0.015558768, -0.027638098, 0.0034609314, 0.015151599, -0.03906349, -0.011647484, 0.010290256, -0.023220938, 0.029710954, 0.020802604, 0.0034825236, 0.035707437, -0.01294302, 0.026848437, -0.03763223, -0.022850784, -0.03684257, 0.009802888, -0.0059255343, 0.020802604, 0.023554076, -0.0024753988, -0.0132391425, 0.0460964, 0.0016163351, 0.0034547623, -0.027860189, -0.023381338, -0.0108763315, 0.01191276, 0.0034300853, -0.016039968, -0.007804061, 0.018606363, 0.0064530023, 0.008821982, -0.0059718033, -0.004978559, 0.011147778, -0.027341975, 0.0044942754, 0.014707416, 0.041358437, 0.04955116, -0.009895426, 0.01278262, -0.026379578, 0.002319626, 0.019852543, 0.009204473, -0.009722688, 0.0049446286, -0.016496489, 0.019975929, 0.008840489, 0.037286755, -0.028131634, 0.034226824, 0.019470053, -0.0052654278, -0.019605776, 0.01018538, -0.0006770717, -0.03069803, 0.015003539, 0.037385464, 0.04370274, 0.008186553, 0.008803475, -0.013843725, -0.007606646, 0.0009762788, 0.0043369606, -0.016348429, 0.023443028, -0.02707053, -0.018347254, 0.036916602, 0.01831024, 0.0035534697, 0.00094389037, -0.0024646027, -0.004963136, -0.02043245, -0.016706243, -0.035065837, 0.0092168115, -0.03410344, -0.00469169, 0.018285563, 0.019038208, 0.024195673, -0.030500615, -0.01412751, -0.0150775695, 0.016767936, -0.01610166, 0.043653388, 0.0039668074, 0.005000151, -0.0129800355, -0.007933615, 0.0039822306, -0.022480631, 0.009334027, 0.01641012, 0.0012438686, -0.0069342013, 0.009401889, 0.00114439, 0.0054227426, -0.026527638, -0.009660996, -0.0071377857, -0.040025886, 0.029784985, 0.007982968, -0.0034609314, -0.005697273, 0.008513521, -0.021246787, 0.0013734222, -0.0345723, 0.037188046, -0.05058759, -0.012424805, 0.00031231667, -0.013461234, 0.022900138, 0.01254819, 0.023331983, 0.033955377, 0.03590485, 0.0049230363, -0.010913347, 0.012881327, 0.013547603, 0.0017690234, 0.00044225584, -0.0026805254, -0.0004908384, -0.0011968283, -0.012844312, 0.008309937, 0.006816986, 0.0034547623, 0.018976515, -0.01294302, 0.0071624625, 0.016940674, 0.022110477, 0.013670987, 0.0011158574, -0.002993613, 0.0040192455, -0.010604886, 0.0039482997, -0.0023705221, -0.039186873, 0.034596976, -0.008396306, -0.0579413, -0.01554643, -0.048317317, 0.0059718033, -0.035238575, 0.00938955, 0.023443028, -0.014189201, -0.011770869, -0.023566414, 0.00017890733, 0.02958757, -0.027662775, 0.01759461, -0.02439309, -0.028403081, -0.044936586, -0.00084209826, 0.029464185, 0.031117536, -0.01831024, 0.003991484, -0.012585205, 0.007353708, -0.020839619, 0.006409818, -0.017952425, 0.032795563, 0.03676854, -0.018964177, 0.0032696857, 0.013868403, -0.014411294, 0.010210056, 0.023331983, -0.002071315, 0.00805083, -0.020198021, -0.015743844, -0.000739535, 0.0042968607, 0.0076683383, -0.01207316, 0.0071439547, -0.02021036, 0.0038218307, -0.0013410338, 0.0043338756, -0.0008228195, -0.015756182, 0.03227735, 0.013831387, 0.029217416, 0.040396042, -0.012134852, -0.021283804, -0.0074215694, 0.008723275, -0.036645155, 0.04362871, -0.0036213312, -0.04846538, 0.011104593, 0.010049656, 0.031290274, -0.010395133, -0.0029689362, -0.01436194, -0.017816702, -0.028032927, 0.041802622, -0.0067984783, -0.038964782, -0.016002951, 0.038792044, -0.0044695986, -0.012196545, 0.0055584656, -0.011814053, -0.0034578468, 0.0023535567, -0.033807315, -0.0017983271, 0.008852828, 0.0055368734, -0.0013711087, 0.022209186, -0.01766864, 0.007693015, 0.0097411955, -0.01554643, 0.029365478, 0.008013815, 0.008532029, -0.017039381, -0.029291447, 0.050686296, 0.009303181, -0.016940674, 0.02327029, 0.01870507, -0.0332891, 0.03968041, 0.010592547, 0.0050217435, 0.001361855, 0.014312586, 0.0050556744, -0.012208883, 0.0060921027, -0.008649244, -0.000048775382, 0.018692732, 0.0102717485, -0.0111416085, -0.0011690669, -0.017532919, 0.02423269, 0.010907178, -0.0004121809, 0.023307307, 0.008038491, 0.015534092, 0.011018224, -0.02169097, -0.0014320298, 0.0040747686, 0.01972916, 0.018359594, -0.009630149, 0.0023720644, 0.042172775, -0.006323449, -0.024059951, -0.009266166, -0.006027326, -0.024059951, -0.003377647, 0.005820657, -0.03780497, 0.017483564, -0.03662048, 0.002142261, 0.0077547072, 0.031043505, -0.012967696, 0.002993613, -0.014929508, -0.05098242, -0.03141366, -0.008889844, -0.005428912, 0.019297315, -0.0010071249, 0.000006464425, -0.022579338, 0.008538198, 0.00033988536, -0.022604015, -0.0024538066, -0.011419223 ]
2310.12773
31
GPT-4 and Human Evaluations. For more accurate assessments, we compare models against each other to generate associated Elo scores, as described in Askell et al. (2021). Specifically, evaluators compare the outputs of two models in response to the same prompt and provide their preferences regarding helpfulness and harmlessness. After obtaining pairwise win-rate relationships between all models, we fit corresponding Elo scores (with an initial score of 1200). According to Chiang & Lee (2023), GPT-4 can replace human evaluators in assessing the alignment capabilities of LLMs. Therefore, we have organized assessments involving both GPT-4 and human evaluators.
2310.12773#31
Safe RLHF: Safe Reinforcement Learning from Human Feedback
With the development of large language models (LLMs), striking a balance between the performance and safety of AI systems has never been more critical. However, the inherent tension between the objectives of helpfulness and harmlessness presents a significant challenge during LLM training. To address this issue, we propose Safe Reinforcement Learning from Human Feedback (Safe RLHF), a novel algorithm for human value alignment. Safe RLHF explicitly decouples human preferences regarding helpfulness and harmlessness, effectively avoiding the crowdworkers' confusion about the tension and allowing us to train separate reward and cost models. We formalize the safety concern of LLMs as an optimization task of maximizing the reward function while satisfying specified cost constraints. Leveraging the Lagrangian method to solve this constrained problem, Safe RLHF dynamically adjusts the balance between the two objectives during fine-tuning. Through a three-round fine-tuning using Safe RLHF, we demonstrate a superior ability to mitigate harmful responses while enhancing model performance compared to existing value-aligned algorithms. Experimentally, we fine-tuned the Alpaca-7B using Safe RLHF and aligned it with collected human preferences, significantly improving its helpfulness and harmlessness according to human evaluations.
http://arxiv.org/pdf/2310.12773
Josef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji, Xinbo Xu, Mickel Liu, Yizhou Wang, Yaodong Yang
cs.AI, cs.LG
null
null
cs.AI
20231019
20231019
[ { "id": "2302.13971" }, { "id": "2304.05302" }, { "id": "1707.06347" }, { "id": "2305.18290" }, { "id": "2305.10403" }, { "id": "2305.03047" }, { "id": "2211.05100" }, { "id": "2110.08207" }, { "id": "2304.05335" }, { "id": "2107.03374" }, { "id": "2105.04054" }, { "id": "2209.07858" }, { "id": "2305.15324" }, { "id": "2307.09288" }, { "id": "2210.11416" }, { "id": "2212.08073" }, { "id": "2307.12950" }, { "id": "2009.11462" }, { "id": "2307.04657" }, { "id": "2204.05862" }, { "id": "2112.00861" }, { "id": "2209.14375" }, { "id": "2303.00957" }, { "id": "2306.01693" }, { "id": "2305.01937" }, { "id": "2307.15217" }, { "id": "2306.17492" }, { "id": "2112.04359" }, { "id": "1506.02438" } ]
{ "authors": "Josef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji, Xinbo Xu, Mickel Liu, Yizhou Wang, Yaodong Yang", "chunk_id": 31, "doc_id": "2310.12773", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12773", "summary": "With the development of large language models (LLMs), striking a balance\nbetween the performance and safety of AI systems has never been more critical.\nHowever, the inherent tension between the objectives of helpfulness and\nharmlessness presents a significant challenge during LLM training. To address\nthis issue, we propose Safe Reinforcement Learning from Human Feedback (Safe\nRLHF), a novel algorithm for human value alignment. Safe RLHF explicitly\ndecouples human preferences regarding helpfulness and harmlessness, effectively\navoiding the crowdworkers' confusion about the tension and allowing us to train\nseparate reward and cost models. We formalize the safety concern of LLMs as an\noptimization task of maximizing the reward function while satisfying specified\ncost constraints. Leveraging the Lagrangian method to solve this constrained\nproblem, Safe RLHF dynamically adjusts the balance between the two objectives\nduring fine-tuning. Through a three-round fine-tuning using Safe RLHF, we\ndemonstrate a superior ability to mitigate harmful responses while enhancing\nmodel performance compared to existing value-aligned algorithms.\nExperimentally, we fine-tuned the Alpaca-7B using Safe RLHF and aligned it with\ncollected human preferences, significantly improving its helpfulness and\nharmlessness according to human evaluations.", "text": "GPT-4 and Human Evaluations. For more accurate assessments, we compare models against each other to generate associated Elo scores, as described in Askell et al. (2021). Specifically, evaluators compare the outputs of two models in response to the same prompt and provide their preferences regarding helpfulness and harmlessness. After obtaining pairwise win-rate relationships between all models, we fit corresponding Elo scores (with an initial score of 1200). According to Chiang & Lee (2023), GPT-4 can replace human evaluators in assessing the alignment capabilities of LLMs. Therefore, we have organized assessments involving both GPT-4 and human evaluators.", "title": "Safe RLHF: Safe Reinforcement Learning from Human Feedback", "year": 2023 }
[ -0.009191958, -0.00031615942, 0.0881265, -0.000049483806, 0.023406124, -0.033516616, 0.0036741402, 0.031216975, 0.011465168, 0.005706151, -0.010533417, -0.03573696, -0.009145701, -0.034415327, -0.002592053, -0.054927073, -0.0008289118, -0.08231131, -0.016811173, 0.026564827, -0.028573709, 0.019084383, 0.02604939, -0.024635242, 0.037930872, -0.0075993906, 0.001515748, 0.008709563, 0.0010498724, -0.02521676, 0.007645648, -0.0164279, -0.0004026851, -0.005858139, -0.006978223, 0.022229869, -0.011286748, 0.050882876, -0.011399086, 0.008663305, -0.026895234, 0.046891544, -0.01945444, 0.0042160098, -0.027225643, -0.031745628, 0.046310026, -0.0019791457, 0.0032446093, 0.011465168, -0.012786801, 0.0565659, 0.025692549, 0.022044841, 0.024357699, -0.014683344, 0.030133236, -0.029393122, -0.012740544, 0.010110494, -0.0034362462, -0.004579459, 0.028177219, 0.0026102255, -0.058310457, -0.025811495, -0.06999369, -0.0024400651, 0.028520843, 0.011663413, 0.010044412, 0.013308846, 0.03166633, -0.013011479, 0.0019328885, 0.021013968, 0.053050354, 0.04348173, 0.0190976, -0.0049462123, -0.0026118776, 0.027516402, 0.015304512, -0.02828295, 0.017419126, 0.011683237, -0.018146023, -0.020564612, -0.062169623, -0.025533952, -0.03660924, -0.005868051, -0.011432127, 0.004810745, -0.00668416, -0.02986891, -0.016520415, -0.053446844, -0.0055971164, 0.040547706, -0.013652471, 0.02709348, 0.002033663, 0.008484885, 0.032829367, 0.0013802806, -0.0065189553, 0.020339934, -0.032591473, -0.01959982, -0.05101504, 0.035366904, -0.095739104, -0.011993821, 0.017419126, -0.057728935, -0.04971984, -0.030423995, -0.014115042, -0.03386024, 0.00060093007, 0.02536214, 0.05725315, -0.04496196, 0.027384238, 0.0110686775, 0.024014074, -0.049270485, 0.0041234954, -0.024159454, -0.036159884, 0.017855264, 0.033595916, -0.027410671, -0.014485099, 0.020524964, -0.037270054, 0.0055244267, -0.038565256, -0.016639361, 0.0111678, -0.025837928, -0.04406325, 0.036371343, -0.05090931, -0.005626853, -0.013302238, 0.0079231905, -0.0920914, 0.01945444, 0.009879208, -0.015463108, -0.011055461, -0.02248098, 0.0054814736, -0.0057623205, -0.021410458, 0.035789825, -0.0012514214, -0.081412606, 0.011015813, -0.0011820357, 0.026868802, 0.015714219, 0.00900693, 0.097430795, 0.018370701, 0.0037765668, -0.048979726, -0.020749642, 0.005699543, 0.022930335, -0.025732197, 0.006132378, 0.009865992, -0.005497994, -0.0111678, -0.014247205, -0.03465322, -0.028653007, -0.031216975, 0.022243086, -0.013493875, 0.0124431765, -0.06872492, 0.016811173, 0.008570791, 0.013652471, -0.00716986, -0.0087426035, 0.038433094, 0.02078929, 0.08178266, 0.0010350039, 0.0045232894, -0.023181446, 0.03893531, 0.027622133, -0.013493875, 0.03066189, 0.030212535, 0.019256195, 0.021027183, -0.059684955, 0.02143689, -0.004579459, 0.013414577, -0.047869552, -0.07617894, 0.0132625885, 0.052257374, 0.022441331, 0.04089133, 0.0196659, -0.039490398, -0.035499066, -0.029657448, 0.012423351, 0.04694441, 0.06264541, -0.02799219, 0.03592199, 0.013586389, 0.013097385, -0.06084799, 0.002744041, 0.043719623, -0.043825354, 0.026247635, -0.04652149, 0.0121986745, -0.021621918, -0.043746058, -0.0008115654, 0.011630372, -0.01603141, 0.031402003, -0.0006934444, 0.0006219936, -0.03861812, 0.013421184, 0.0065553007, 0.030423995, -0.0032892146, 0.016811173, 0.0055508595, -0.010434294, -0.0669275, 0.03729649, -0.014088609, 0.010758094, -0.022137355, 0.025520736, -0.009139094, -0.007810852, 0.012165633, 0.020670343, 0.0028993327, -0.020009527, -0.0381159, -0.010454118, 0.033595916, -0.018079942, 0.031824928, -0.021688, -0.012079727, -0.03980759, -0.008623657, -0.038380228, -0.039860457, 0.056513034, 0.0143925855, -0.018106375, -0.009165526, -0.026274066, -0.028811604, 0.0023029458, 0.010738269, -0.032935098, -0.013692119, -0.021635136, -0.00018193107, 0.03531404, 0.010401253, -0.010606106, 0.01978485, -0.024873136, -0.017405909, -0.024093373, 0.015211998, 0.018925786, -0.030741187, 0.07020515, -0.020432448, 0.040468406, 0.034600355, 0.034415327, 0.011088503, -0.039463967, 0.008894592, 0.016454333, -0.020485314, -0.043613896, -0.026578043, -0.023577936, 0.03592199, -0.0011737754, 0.03317299, -0.0014612307, -0.012159025, 0.0030744493, -0.018978652, -0.0045596343, 0.037111457, 0.0014529704, -0.029816044, 0.00637688, -0.027067047, -0.0001570472, -0.026498744, -0.022137355, -0.040309813, 0.014485099, -0.030344697, -0.023710098, -0.003941771, -0.017062284, -0.019758416, -0.036292046, -0.011055461, -0.015040185, 0.028600141, -0.030001072, -0.008385763, 0.030609025, 0.032115687, -0.039437532, 0.06999369, -0.029393122, 0.020524964, -0.07237263, -0.046336457, -0.00015838948, -0.014709777, -0.008128044, 0.0355255, -0.014537965, 0.045094125, 0.064442836, 0.020696776, 0.026882019, -0.04305881, -0.006343839, 0.020961102, -0.022639576, 0.0069980477, 0.000111512796, 0.03195709, -0.00423253, -0.0055673798, -0.020947885, -0.0045596343, 0.026829153, -0.0016462593, 0.013903581, 0.025335709, -0.0024813663, 0.03972829, 0.0053625265, -0.012185458, -0.035684094, 0.02287747, -0.021278294, 0.0025491, -0.07787062, 0.041657876, 0.016335387, 0.028520843, -0.017141582, 0.031904224, 0.0076654726, 0.021370808, -0.004586067, -0.050354224, -0.005210539, 0.03436246, 0.01747199, -0.018648244, -0.031322706, -0.007341672, -0.0035981464, -0.0089408485, -0.07469871, -0.007784419, 0.025679333, 0.012595164, 0.014062176, 0.011405694, 0.033622347, 0.038433094, -0.06645171, -0.004308524, -0.031243408, 0.0050155977, -0.02788646, -0.001556223, -0.03047686, 0.027437104, 0.013255981, 0.03087335, 0.032908667, -0.035895556, 0.018489648, -0.012079727, -0.010817568, -0.030979082, 0.035261173, 0.03771941, 0.025983308, 0.03386024, -0.056618765, -0.031216975, 0.006694072, -0.031322706, 0.0005141979, -0.050380655, -0.004110279, -0.019256195, 0.006218284, -0.049296916, -0.010711837, 0.056830227, 0.013421184, -0.05003703, -0.03880315, 0.036979295, 0.02828295, 0.040151216, -0.009363771, 0.036001287, 0.03383381, -0.020670343, -0.011299963, -0.03314656, -0.031243408, -0.01841035, -0.054715615, 0.006885709, -0.025454655, 0.002867944, 0.024740973, 0.05497994, 0.03475895, -0.009918856, -0.0070443046, -0.025705766, 0.030001072, -0.033014398, 0.09769512, -0.045120556, 0.029393122, -0.022243086, -0.040336244, -0.00094166363, -0.0027423888, 0.030846918, -0.007850501, 0.03008037, -0.037666544, -0.023379691, -0.012185458, -0.03602772, 0.012945397, -0.04514699, -0.009971722, 0.014366153, 0.016295737, -0.030741187, -0.009984938, -0.03126984, -0.011590723, -0.032327145, -0.024000859, -0.008577399, 0.019441225, 0.0841616, 0.009423245, 0.0008582355, -0.012410135, 0.020472098, 0.022956768, -0.039834023, 0.037640113, -0.014511532, 0.011108327, -0.005897788, 0.05278603, -0.01747199, -0.023934776, -0.0011630371, -0.040944196, -0.029921776, -0.056354437, 0.024727756, -0.01444545, 0.028467977, -0.0025375357, -0.018251754, 0.0056797187, 0.028600141, -0.0051576733, 0.0013265893, -0.025983308, 0.01275376, -0.023009634, -0.0065652127, 0.013103993, 0.02928739, 0.002479714, 0.007302023, -0.0038525607, -0.017498422, -0.03541977, -0.0064693945, -0.0010036152, -0.04496196, -0.028520843, 0.004500161, -0.038829584, -0.021013968, -0.020709991, -0.019414792, -0.0020534876, -0.013381536, -0.045992833, -0.0049627325, -0.0040078526, -0.04517342, -0.026141904, -0.024370916, 0.02521676, 0.015978545, 0.02273209, -0.009225, 0.018132808, 0.0034924156, 0.022295952, -0.024595594, -0.008445236, -0.0011803836, 0.0275957, -0.038036603, -0.0025309275, -0.006172027, -0.019613037, -0.017141582, -0.012449784, 0.013969663, 0.0031207064, 0.023155013, 0.011749319, 0.015714219, 0.041790042, -0.010163359, -0.019745199, 0.010744877, -0.0033833808, 0.049191188, 0.046389323, 0.0040970626, -0.024873136, 0.029340256, 0.018344268, -0.009277864, 0.009112661, -0.011108327, 0.019031517, -0.0121325925, 0.01732661, -0.028785171, -0.0069980477, -0.030344697, -0.008207342, 0.03153417, -0.020670343, 0.014683344, -0.011537857, -0.00093340344, -0.03238001, 0.04157858, 0.049296916, -0.018476432, 0.030397562, -0.022494197, -0.0007620041, 0.0047281426, -0.018225322, -0.011940955, -0.02045888, -0.014233989, -0.018079942, 0.0065553007, 0.019533738, -0.013037911, -0.008313073, 0.007011264, 0.005778841, 0.01210616, -0.034494627, -0.048873994, -0.008887983, -0.031904224, -0.04556991, -0.009462893, -0.05857478, -0.024331266, 0.018780407, 0.019679118, 0.030846918, -0.0069055334, -0.017339827, 0.015938897, 0.019361926, -0.014075393, 0.01845, -0.027304942, 0.0150137525, 0.016652578, -0.053764038, 0.0116237635, -0.019586604, 0.019877363, 0.02907593, -0.009958506, 0.026789505, -0.009297689, 0.020339934, 0.0077381623, -0.016256088, -0.03198352, -0.008379154, 0.011782359, -0.013731768, 0.0007772855, -0.002795254, -0.031507734, 0.0057986653, -0.0063934005, -0.016837606, -0.008987105, -0.038274497, -0.046415757, 0.012013646, 0.0057986653, 0.026564827, -0.029525286, -0.041155655, 0.0102492655, -0.02849441, -0.03801017, -0.048398208, -0.009317514, -0.04924405, -0.007784419, 0.024384132, 0.037349354, -0.009436461, 0.030714754, 0.00915231, 0.0006934444, -0.044327576, 0.0005063507, -0.0030116716, -0.04416898, 0.006363664, -0.019731984, -0.012396919, -0.05212521, -0.016692227, 0.013255981, -0.016665794, 0.020154906, -0.045252718, -0.06682178, -0.008517926, -0.008967281, 0.030238967, -0.029921776, -0.002592053, -0.016163573, -0.020696776, -0.014960888, -0.007302023, -0.011333005, -0.029816044, 0.0014050612, -0.0327765, 0.064337105, -0.00096644426, -0.004582763, -0.029948207, 0.014101826, 0.00069592247, -0.0018635028, -0.017643802, -0.029102363, -0.04964054, 0.024569161, 0.028150786, -0.0210404, -0.039146774, 0.010857216, 0.017736318, 0.020035958, -0.0046488447, 0.007943016, -0.00089210237, -0.009324122, 0.011590723, -0.052891757, -0.016731875, 0.012119376, -0.0051543694, 0.017855264, 0.0042060977, -0.023617584, -0.006945182, -0.004959428, -0.034071703, -0.036662105, 0.018542513, -0.023432557, -0.0042886995, -0.019150464, 0.01653363, 0.01747199, 0.005055247, -0.026393015, 0.00022984027, 0.009476109, 0.02331361, 0.035181876, -0.026287284, -0.0051642815, -0.005306357, 0.014167908, 0.017458774, 0.04131425, 0.02986891, -0.025996525, -0.037930872, 0.011484992, 0.007605999, 0.01736626, -0.005792057, -0.024516296, -0.002311206, -0.024873136, -0.022969984, 0.033701647, 0.01603141, 0.030529726, 0.017419126, -0.026961317, 0.016097492, -0.029234525, -0.014035745, 0.01985093, 0.004794224, -0.029155228, -0.013018087, -0.01682439, 0.028256517, 0.0157803, 0.03264434, -0.06534155, 0.028970199, 0.006175331, -0.013665687, 0.022864254, -0.04107636, 0.023392906, 0.014868373, -0.021344375, 0.013877148, 0.0040441975, -0.03087335, 0.01830462, 0.007374713, -0.034600355, -0.024688108, 0.041552145, -0.010440902, -0.00756635, -0.019361926, 0.021502972, -0.028441546, -0.08098968, -0.03742865, 0.011161192, -0.030450428, -0.005263404, 0.01797421, 0.030053938, 0.038248062, 0.011835225, -0.0026878715, 0.009885816, -0.057200283, 0.014498316, 0.005144457, 0.015819948, -0.06904212, -0.022005193, -0.023115365, 0.016758308, -0.021899462, -0.04239799, 0.00030934476, 0.022679225, -0.017353043, -0.042503722, 0.015872814, 0.00065379543, 0.013969663, 0.010553241, 0.043746058, -0.05767607, 0.022639576, 0.030741187, -0.0020700078, -0.025560385, -0.00915231, 0.002190607, 0.022652792, 0.0038955137, 0.014630479, -0.022930335, -0.008095003, -0.004040893, 0.024622025, 0.037481517, -0.03623918, 0.012839667, -0.0075927824, 0.022309167, 0.008980498, 0.00009741882, -0.007447403, -0.02594366, -0.02197876, -0.0055079064, -0.006535476, 0.03512901, -0.03462679, 0.006132378, -0.020498531, -0.015701002, -0.009165526, -0.004820657, -0.012700895, -0.010057628, -0.008174301, -0.0013918449, 0.04160501, -0.020498531, -0.023657234, -0.028705873, 0.036847133, 0.0010928254, 0.022071274, 0.0022616447, -0.016123924, 0.03224785, 0.041763607, -0.0074077537, 0.045807805, 0.016758308, -0.021053616, 0.00691875, 0.033754513, 0.030238967, 0.034309596, 0.0223356, -0.014075393, 0.032300714, 0.0018453303, 0.019533738, -0.0164279, 0.013718552, 0.023221094, 0.025877578, 0.012469609, 0.013586389, 0.027807161, -0.013877148, -0.0072689825, 0.010645756, -0.021198995, -0.049666975, -0.016269304, -0.028335815, 0.001437276, 0.041922204, -0.021053616, 0.021225428, 0.0005778015, 0.028230084, 0.057041686, -0.024622025, 0.010850608, -0.015317729, 0.050962176, 0.0203928, 0.026115471, 0.05984355, -0.028573709, 0.008702954, 0.008643481, -0.014564398, -0.0042027934, -0.0053526144, 0.05698882, 0.014855157, 0.027067047, -0.02018134, 0.0076654726, 0.037190758, 0.0073945373, -0.004823961, -0.060583666, -0.030609025, -0.014683344, 0.02302285, -0.018397134, -0.011352829, -0.0064396574, 0.010652363, 0.0043217405, 0.024992082, -0.03851239, -0.0037303097, -0.008154477, 0.012833058, -0.052574567, -0.008194125, -0.008161085, 0.004427471, 0.0025937052, -0.019745199, 0.01751164, 0.025243193, 0.024701323, 0.0038558648, -0.010566457, -0.01718123, 0.007004656, 0.03356948, 0.020379584, -0.024238752, 0.0073152394, 0.03386024, -0.0369, 0.0022137356, 0.029657448, 0.007255766, 0.021317942, -0.019837713, -0.005088288, 0.031190543, 0.021516187, 0.031375572, 0.013599605, 0.008729387, 0.0038988178, -0.02957815, -0.0022484285, -0.0110686775, 0.04036268, -0.009958506, 0.016480766, 0.03383381, -0.036847133, 0.0065189553, 0.0006876623, 0.013322062, 0.020115256, 0.0040475014, 0.009277864, 0.036450643, 0.03801017, 0.021635136, -0.039093908, 0.03512901, 0.007804244, -0.031322706, -0.03245931, -0.05545573, 0.018635027, 0.0039252504, -0.01632217, -0.026842369, 0.0047281426, -0.00072607223, -0.030186102, 0.0027176081, -0.0074077537, 0.018555729, 0.057147417, -0.007929799, 0.0035089361, -0.006096033, -0.017062284, -0.020947885, 0.023300393, 0.0033206034, -0.016797958, -0.007936407, -0.013163466, 0.023300393, -0.01192774, -0.009125877, 0.0072425497, 0.022494197, -0.00882851, 0.009106052, 0.0055839, 0.00230625, -0.008478276, 0.029816044, 0.014789075, -0.026247635, -0.016679011, -0.014207557, -0.00046215858, -0.015370593, 0.002474758, 0.020591045, 0.017538073, 0.02085537, -0.00011843072, 0.011557682, -0.01999631, 0.043005943, 0.014551181, -0.025137464, -0.020881804, 0.017128365, -0.013269197, 0.004853698, -0.0014157995, 0.0075993906, -0.022692442, 0.008491493, 0.019071167, 0.0354462, 0.00053113134, -0.01776275, 0.03245931, -0.02093467, 0.004638932, 0.022454547, -0.009277864, 0.02460881, -0.012998262, 0.04327027, -0.016982986, -0.042450856, 0.028467977, 0.018595379, 0.026445879, -0.026855586, 0.0038822973, 0.044301145, 0.011524641, 0.024635242, -0.007612607, -0.0096941795, 0.030846918, -0.00756635, 0.02010204, 0.024873136, -0.007929799, -0.00972722, 0.0013662382, 0.01696977, 0.012489433, 0.0005216321, 0.035393335, -0.0057557123, 0.009932073, 0.007143427, 0.026353365, -0.0006133204, -0.036794268, 0.017683452, -0.036344912, 0.03534047, 0.0076852967, 0.0007748074, -0.055667188, -0.0040508057, -0.024833487, -0.0018255058, -0.017617371, -0.023868695, 0.011577507, -0.026895234, -0.01811959, 0.034573924, -0.0049462123, 0.014498316, 0.0055277306, -0.004457208, -0.012674462, -0.01156429, 0.013084169, -0.009733828, -0.010579674, -0.01678474, 0.011405694, 0.011630372, -0.0040012444, 0.0067172004, -0.0044869445, -0.014960888, 0.002106353, 0.03304083, 0.00653878, 0.030027505, 0.010163359, -0.05238954, -0.023300393, -0.026763072, -0.03153417, -0.046812247, -0.0062447167, 0.044697635, 0.025890794, 0.019692333, -0.014207557, 0.005220451, 0.018093158, -0.023961209, -0.011729495, 0.0034362462, -0.015555622, 0.06153524, 0.008346113, -0.022507412, 0.006938574, -0.016916905, 0.038591687, -0.0065519963, -0.027516402, -0.011934347, 0.011286748, -0.009608273, 0.0043151323, 0.0030414083, 0.0067072883, -0.0027456929, 0.004543114, 0.006806411, 0.005497994, 0.01538381, 0.0032049604, -0.035472635, -0.01757772, 0.0018783711, 0.00279195, -0.013784634, 0.012423351, 0.0062116757, 0.004784312, 0.019983094, 0.02928739, -0.008987105, 0.00094248966, -0.0064264415, 0.020908237, -0.008636872, 0.018331053, 0.0027605612, 0.027225643, 0.015251647, -0.003465983, 0.02287747, 0.007784419, 0.018820057, -0.013037911, 0.0026895234, -0.006938574, 0.004860306, 0.014709777, -0.042424425, -0.01419434, -0.022811389, -0.029895343, 0.005055247, -0.0042457464, 0.04506769, -0.012707503, -0.0007326804, 0.0055971164, 0.018198889, 0.021661568, -0.030212535, 0.021688, -0.032036386, 0.014908022, 0.00799588, -0.015304512, -0.016256088, -0.0030992297, -0.00446712, -0.0023012937, -0.00027299984, 0.0029373297, -0.03055616, -0.030133236, 0.017630586, 0.0047810078, -0.016758308, 0.025573602, -0.012046686, 0.01905795, 0.010222833, -0.02947242, -0.023445772, -0.012852883, 0.0029637623, 0.021846596, 0.0018188977, -0.013626038, -0.036054153, 0.027939325, -0.013183291, 0.019256195, 0.058416184, 0.015502757, -0.010242657, 0.004890043, -0.030344697, 0.04387822, 0.02838868, 0.019084383, -0.010282306, -0.010923298, -0.017789183, 0.039384667, -0.006181939, 0.0007677863, 0.00006117716, 0.016269304, 0.017789183, 0.021912677, 0.008233774, -0.024952434, -0.0028233388, 0.012529083, -0.018093158, 0.048873994, 0.025124246, 0.052891757, -0.00011874048, 0.028653007, 0.0008631917, 0.0256529, 0.018251754, 0.029340256, 0.0012943745, 0.04654792, -0.021846596, -0.022718875, -0.0030744493, -0.019269412, -0.029445987, -0.0031636595, 0.0077117295, -0.017960995, 0.017683452, 0.022613144, -0.0037567422, -0.0669275, 0.018436782, -0.013097385, -0.006608166, 0.018397134, -0.027965758, -0.029181661, -0.027463537, -0.032697205, 0.014881589, 0.014458667, -0.00009478588, -0.017485207, -0.010480551, 0.000916883, -0.00013298934, -0.0060993372, -0.014881589, 0.0051246327, -0.017683452, -0.008194125, 0.011432127, 0.0064826105, -0.0071632518, 0.0020105345, -0.0011291703, 0.034494627, 0.038723852, -0.017696667, 0.0040177647, 0.02788646, 0.031719197, -0.003707181, 0.014366153, -0.00972722, 0.020168122, 0.012674462, 0.0052501876, -0.05220451, 0.018727543, 0.0210404, -0.017168015, -0.009112661, 0.010784526, -0.007870326, -0.0077447705, 0.00835933, -0.027701432, -0.012277972, 0.023591151, -0.007830677, 0.0036510115, 0.004463816, -0.013850716, -0.05709455, -0.03880315, 0.00846506, 0.001985754, 0.07765917, 0.0015050097, -0.03383381, 0.036688536, 0.0018271578, -0.023221094, -0.023842262, -0.015582055, -0.014604046, -0.016520415, 0.04067987, 0.0006252977, -0.015066618, -0.005137849, 0.028335815, 0.037058596, 0.004916475, -0.011736102, 0.044591904, 0.016004978, -0.013374927, 0.0024813663, -0.022216653, -0.005504602, -0.02421232, 0.040944196, -0.01693012, -0.004579459, -0.0052865325, 0.015225214, -0.02006239, 0.027027398, 0.015093051, 0.008048746, 0.018225322, -0.0020782682, -0.03700573, 0.016097492, 0.022018408, -0.0016388252, 0.012872707, -0.013487266, -0.016216438, -0.0060299514, 0.0030397563, -0.015026969, 0.020353151, -0.00398142, 0.009482718, -0.012344054, 0.06534155, 0.058786243, -0.0029835869, 0.005270012, -0.01167002, 0.02788646, -0.006333927, -0.028362248, 0.0027969063, -0.0024912786, -0.007943016, -0.017141582, 0.0029852388, -0.03502328, -0.005210539, -0.015767084, -0.00453981, -0.023088932, -0.025124246, 0.01307756, 0.026036173, -0.022956768, -0.000011099653, -0.0037336138, -0.021780515, -0.011729495, 0.017128365, -0.0031008818, -0.00048363514, -0.0053625265, 0.015304512, -0.020154906, -0.0009647922, 0.006492523, -0.03087335, -0.0015380506, -0.0067138965, -0.010579674, -0.009145701, 0.028970199, 0.015397026, 0.016242871, -0.037111457, 0.009370379, -0.016361818, -0.030344697, 0.012740544, 0.05061855, 0.009073012, -0.03927894, 0.029498853, -0.0012035122, -0.021093266, 0.00007697481, -0.0058284025, 0.013024695, -0.0108704325, 0.027727865, 0.01891257, 0.03396597, -0.018859705, -0.004698406, -0.0060828165, -0.048873994, 0.03563123, 0.024635242, -0.0037534381, -0.017524855, 0.006102641, 0.009991547, 0.0036477076, -0.009449678, -0.010678796, 0.0009730524, -0.00925804, -0.03195709, -0.022798171, -0.011022421, 0.0008821901, 0.032036386, 0.011762535, -0.00035436288, 0.030714754, 0.012165633, -0.013322062, 0.011015813, 0.007843893, 0.012317621, -0.0080553545, 0.0048404816, 0.0031983522, -0.03095265, -0.0034098136, 0.029551718, 0.010553241, -0.04884756, -0.02986891, -0.03592199, 0.021172563, -0.005194018, 0.0049263877, 0.014524749, -0.011161192, 0.0026036173, -0.0057259756, 0.009608273, 0.0061224657, 0.013103993, 0.0012340749, -0.010652363, 0.024476646, 0.0005365005, -0.024489863, -0.025124246, -0.026564827, -0.013731768, -0.005018902, 0.05577292, 0.02154262, 0.0055079064, 0.05051282, -0.030450428, -0.0043746056, -0.018238537, -0.025282843, 0.0026994357, 0.03364878, -0.0059077004, 0.010797743, -0.025785062, -0.01473621, -0.010784526, -0.020961102, -0.021767298, 0.0069980477, -0.007645648, -0.0041201916, -0.033305157, -0.020022742, -0.0038294322, 0.009046579, -0.0012002081, 0.03732292, 0.032538608 ]
2310.12397
32
Example LLM Response 0: Color1 1: Color1 2: Color1 3: Color2 4: Color1 5: Color2 6: Color2 7: Color2 8: Color3 9: Color3 10: Color3 11: Color3 12: Color3 13: Color1 10 # Prompt To Elicit Verification The following graph, described as a set of edges, has an optimal coloring number of 3: Vertex 0 is connected to vertex 7. Vertex 0 is connected to vertex 8. Vertex is connected to vertex Vertex is connected to vertex Vertex is connected to vertex Vertex is connected to vertex Vertex is connected to vertex Vertex is connected to vertex Vertex is connected to vertex Vertex is connected to vertex Vertex is connected to vertex Vertex is connected to vertex Vertex is connected to vertex Vertex is connected to vertex Vertex is connected to vertex Vertex 10 is connected to vertex 13. Vertex 11 is connected to vertex 13. Please check if this coloring is correct:0: Colori Colort Colort : Color2 Colort : Color2 Color2 : Color2 Color3 : Color3 : Color3 : Color3 : Color3 : Colori it is, say 'Verifier confirmed success.' Do not provide anything else in your response. If it is incorrect, please point out which same-color vertices share an edge. # A.2 Backprompts
2310.12397#32
GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems
There has been considerable divergence of opinion on the reasoning abilities of Large Language Models (LLMs). While the initial optimism that reasoning might emerge automatically with scale has been tempered thanks to a slew of counterexamples, a wide spread belief in their iterative self-critique capabilities persists. In this paper, we set out to systematically investigate the effectiveness of iterative prompting of LLMs in the context of Graph Coloring, a canonical NP-complete reasoning problem that is related to propositional satisfiability as well as practical problems like scheduling and allocation. We present a principled empirical study of the performance of GPT4 in solving graph coloring instances or verifying the correctness of candidate colorings. In iterative modes, we experiment with the model critiquing its own answers and an external correct reasoner verifying proposed solutions. In both cases, we analyze whether the content of the criticisms actually affects bottom line performance. The study seems to indicate that (i) LLMs are bad at solving graph coloring instances (ii) they are no better at verifying a solution--and thus are not effective in iterative modes with LLMs critiquing LLM-generated solutions (iii) the correctness and content of the criticisms--whether by LLMs or external solvers--seems largely irrelevant to the performance of iterative prompting. We show that the observed increase in effectiveness is largely due to the correct solution being fortuitously present in the top-k completions of the prompt (and being recognized as such by an external verifier). Our results thus call into question claims about the self-critiquing capabilities of state of the art LLMs.
http://arxiv.org/pdf/2310.12397
Kaya Stechly, Matthew Marquez, Subbarao Kambhampati
cs.AI
18 pages, 3 figures
null
cs.AI
20231019
20231019
[ { "id": "2206.10498" }, { "id": "2306.03872" }, { "id": "2303.11366" } ]
{ "authors": "Kaya Stechly, Matthew Marquez, Subbarao Kambhampati", "chunk_id": 32, "doc_id": "2310.12397", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12397", "summary": "There has been considerable divergence of opinion on the reasoning abilities\nof Large Language Models (LLMs). While the initial optimism that reasoning\nmight emerge automatically with scale has been tempered thanks to a slew of\ncounterexamples, a wide spread belief in their iterative self-critique\ncapabilities persists. In this paper, we set out to systematically investigate\nthe effectiveness of iterative prompting of LLMs in the context of Graph\nColoring, a canonical NP-complete reasoning problem that is related to\npropositional satisfiability as well as practical problems like scheduling and\nallocation. We present a principled empirical study of the performance of GPT4\nin solving graph coloring instances or verifying the correctness of candidate\ncolorings. In iterative modes, we experiment with the model critiquing its own\nanswers and an external correct reasoner verifying proposed solutions. In both\ncases, we analyze whether the content of the criticisms actually affects bottom\nline performance. The study seems to indicate that (i) LLMs are bad at solving\ngraph coloring instances (ii) they are no better at verifying a solution--and\nthus are not effective in iterative modes with LLMs critiquing LLM-generated\nsolutions (iii) the correctness and content of the criticisms--whether by LLMs\nor external solvers--seems largely irrelevant to the performance of iterative\nprompting. We show that the observed increase in effectiveness is largely due\nto the correct solution being fortuitously present in the top-k completions of\nthe prompt (and being recognized as such by an external verifier). Our results\nthus call into question claims about the self-critiquing capabilities of state\nof the art LLMs.", "text": "Example LLM Response 0: Color1 1: Color1 2: Color1 3: Color2 4: Color1 5: Color2 6: Color2 7: Color2 8: Color3 9: Color3 10: Color3 11: Color3 12: Color3 13: Color1 \n10\n# Prompt To Elicit Verification\nThe following graph, described as a set of edges, has an optimal coloring number of 3: Vertex 0 is connected to vertex 7. Vertex 0 is connected to vertex 8. Vertex is connected to vertex Vertex is connected to vertex Vertex is connected to vertex Vertex is connected to vertex Vertex is connected to vertex Vertex is connected to vertex Vertex is connected to vertex Vertex is connected to vertex Vertex is connected to vertex Vertex is connected to vertex Vertex is connected to vertex Vertex is connected to vertex Vertex is connected to vertex Vertex 10 is connected to vertex 13. Vertex 11 is connected to vertex 13. Please check if this coloring is correct:0: Colori Colort Colort : Color2 Colort : Color2 Color2 : Color2 Color3 : Color3 : Color3 : Color3 : Color3 : Colori it is, say 'Verifier confirmed success.' Do not provide anything else in your response. If it is incorrect, please point out which same-color vertices share an edge.\n# A.2 Backprompts", "title": "GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems", "year": 2023 }
[ -0.010654167, -0.01584466, 0.03114295, -0.009119134, -0.007668659, -0.013372997, 0.013880338, -0.0014821846, 0.008845951, 0.058799557, 0.030284373, -0.011818451, -0.009080108, -0.01657315, -0.012761585, -0.020709932, 0.06270218, 0.012924194, -0.011642832, 0.041497916, -0.0004979913, -0.012117652, 0.013262422, 0.018043138, -0.031194987, 0.017808981, 0.028931463, -0.045998946, 0.041680038, -0.023571858, -0.0074019795, -0.027422449, -0.06270218, -0.038011573, -0.052243147, 0.040353145, 0.0011236309, 0.017861016, -0.011473719, 0.018498445, 0.02906155, 0.0034603279, 0.00034717107, -0.041107655, 0.012429862, 0.039416518, -0.021100195, -0.010556602, -0.029087568, 0.04511435, -0.04657133, 0.056145772, 0.04560868, 0.032157633, -0.049329184, 0.02396212, -0.023168586, 0.013672198, 0.033614613, -0.012748577, 0.03343249, -0.026199626, -0.026498826, 0.014543784, 0.008358123, -0.011213544, -0.014569801, 0.00796786, 0.08627404, 0.048730783, -0.0367107, 0.039364483, 0.042122338, 0.016365008, -0.009795589, 0.06082892, 0.0362684, -0.007928834, 0.0124884015, -0.0261606, 0.015636519, 0.022062842, 0.0471177, -0.056926295, 0.020579845, -0.03884413, 0.0027285856, -0.006214931, -0.08799119, -0.0570824, 0.02292142, -0.034343105, -0.018212251, 0.038401835, 0.04394356, 0.0071743266, 0.01782199, 0.009249222, -0.03168932, 0.011525754, 0.0047059157, -0.027994834, -0.02146444, -0.016742263, 0.006653976, 0.04701363, 0.026212635, 0.031247022, -0.015831651, -0.025145916, -0.04063934, -0.0029220907, 0.012228226, 0.020241618, 0.05781089, 0.0015187718, -0.057394613, -0.08731474, 0.033302404, -0.07388971, 0.0065466543, -0.028775359, 0.016208904, -0.051020324, -0.024794681, 0.0048782816, 0.030232338, -0.05791496, 0.010920847, 0.0076361373, 0.02061887, -0.012950212, 0.03980678, 0.046415225, -0.03595619, 0.01021187, -0.012130661, 0.00040042563, 0.00453355, 0.019331004, 0.002853795, -0.014712898, 0.020137547, 0.039676692, 0.04001492, 0.01990339, -0.03824573, 0.078833036, 0.0055482327, 0.023350708, -0.026798028, 0.029087568, -0.031377107, 0.048236452, 0.012937203, -0.09033277, 0.031611267, 0.011291596, -0.027760675, 0.02396212, 0.016846333, -0.029139603, 0.036580607, -0.014114495, -0.01140217, -0.00043335403, -0.05781089, 0.031533215, -0.03429107, -0.009002056, 0.03332842, -0.013607154, -0.026772011, -0.030726671, 0.032625947, -0.0004536802, -0.032469843, -0.027552536, 0.068374, 0.00012886795, 0.013984408, 0.058799557, 0.022283992, 0.00041567025, -0.016325982, -0.020475775, -0.0038766079, -0.01416653, -0.01603979, -0.033874787, -0.002268401, 0.004169305, 0.01884968, 0.00015935721, -0.01603979, -0.09355894, 0.057758857, -0.008377636, -0.0045107845, -0.04240853, -0.027760675, 0.008605289, 0.020215599, -0.044541966, -0.012254244, 0.018290304, -0.020059494, -0.031221004, 0.0117013715, -0.02240107, 0.04326711, 0.009847625, 0.027578553, 0.05697833, -0.05021378, -0.0077662244, -0.039260413, 0.0016943899, -0.005642546, 0.039234396, -0.053075705, 0.032053564, 0.068634175, -0.00074556406, -0.012943707, 0.035722032, 0.03189746, -0.0493552, -0.0073239272, -0.0084621925, 0.015831651, -0.015662536, -0.02418327, -0.06931063, -0.027344396, -0.06951877, 0.007584102, 0.02906155, 0.007115787, -0.014010426, -0.0040814956, -0.030284373, 0.018615523, -0.013171361, 0.0087548895, -0.001348845, -0.028307043, 0.01375025, -0.024781672, 0.024222296, -0.014010426, -0.0072849006, -0.030258356, -0.075554825, -0.026186617, -0.013581136, 0.015870677, -0.0019610692, -0.03717901, -0.036866803, 0.0104200095, 0.015974747, -0.05260739, 0.033822753, -0.02231001, 0.04428179, 0.018394375, 0.01937003, -0.05520914, -0.004829499, -0.023038499, 0.02219293, 0.035774067, -0.036736716, 0.0065726717, -0.04847061, -0.016625185, 0.020579845, 0.035253715, 0.0018439905, -0.009437849, 0.00076589023, 0.02543211, 0.036216363, 0.0041823136, -0.009125639, -0.025575206, 0.044463914, -0.017483762, -0.016586158, 0.022479123, -0.06879028, -0.015753599, 0.03325037, -0.018589506, -0.021828685, 0.007532067, 0.02427433, 0.043111004, 0.02530202, 0.023064516, 0.0044132187, -0.02031967, 0.031012863, -0.020085512, 0.029946147, 0.017041465, 0.011161509, -0.027682623, -0.01834234, 0.0006914964, -0.0029139603, -0.0032944663, 0.019500118, -0.034108948, -0.08018594, 0.038011573, 0.03395284, -0.00040510064, -0.0033985362, 0.0160528, -0.025653258, 0.042746756, -0.0061043566, -0.027370414, -0.011883494, -0.028515182, -0.009106126, 0.026199626, -0.028931463, -0.022908412, -0.060464676, -0.008715863, 0.052008986, 0.018199243, 0.0069141514, -0.0347854, 0.025991485, -0.009730546, 0.047169734, -0.06337864, -0.018680567, 0.02979004, -0.02636874, -0.066032425, -0.0011512745, -0.017913051, 0.021854702, 0.032782055, 0.02302549, -0.02052781, -0.003619685, 0.008039408, 0.0112070395, 0.014088478, 0.003066813, -0.04066536, 0.0028651776, -0.037152994, 0.05458472, 0.007200344, -0.02271328, -0.0073304316, 0.013555119, -0.045348506, 0.04022306, -0.055677455, 0.0056555546, 0.07227662, 0.030388443, -0.032860108, 0.0054246495, -0.016065808, -0.006679994, -0.02260921, -0.01667722, -0.021503465, 0.0028294034, 0.012345305, 0.034187, -0.010699698, -0.044099666, 0.018485436, -0.00471242, 0.020033477, -0.022375053, -0.015194221, -0.009262231, -0.058955662, -0.047794152, 0.01385432, -0.01728863, -0.011486728, 0.009893156, 0.08143479, 0.025341047, 0.014673872, 0.052451286, 0.037543256, 0.033770718, -0.0055157105, -0.056405947, -0.025952458, 0.03741317, -0.021763641, -0.01385432, -0.0074995453, -0.006371036, 0.03991085, 0.0076946765, 0.028827393, -0.032704, -0.0076556504, -0.013047778, -0.016833324, -0.0209571, 0.018524462, 0.0111485, 0.013119326, 0.004270123, 0.01166885, 0.03959864, 0.008123965, -0.005213257, 0.0008772777, -0.002213114, -0.009151656, -0.0022391314, 0.0070312303, -0.03959864, -0.03689282, 0.056249842, 0.08939614, 0.020241618, 0.030622602, -0.024443444, -0.02280434, -0.038505904, 0.036606625, -0.04407365, -0.035409823, -0.006107609, -0.01187699, -0.023610884, 0.0022651488, 0.012904681, -0.021139221, -0.023806015, 0.051124394, 0.012078626, -0.032677982, 0.0045140367, -0.013841311, 0.07456616, 0.00061872875, -0.0034570757, 0.022427088, 0.013307952, 0.009184179, -0.010595628, -0.009210196, 0.014673872, 0.010953369, 0.012111148, -0.01593572, 0.02729236, -0.07560686, -0.01960419, 0.05552135, 0.0072979094, -0.037751395, 0.005144961, 0.07441006, -0.0072783963, 0.025419101, 0.007818259, 0.009203692, 0.012332296, 0.038115643, 0.0023350709, 0.05781089, -0.025861397, 0.006234444, -0.032261703, 0.046519294, 0.020072503, 0.008995552, -0.00588646, -0.04560868, 0.029191637, -0.036502555, -0.013399014, -0.024248313, -0.0149210375, 0.0038538426, 0.01812119, 0.021828685, 0.003811564, 0.027656605, 0.0005813286, -0.019448083, 0.007083265, -0.031012863, 0.023701945, 0.033666648, -0.004156296, 0.04259065, 0.0038733557, -0.03603424, 0.005684824, 0.027396431, 0.021841694, 0.004540054, -0.024196278, -0.038089626, 0.022570184, -0.008845951, 0.010023243, -0.036372468, 0.017002437, -0.017327657, -0.02791678, 0.0050799176, -0.026134582, 0.021295326, -0.020774975, -0.009190683, -0.04066536, -0.024352383, -0.0045628194, 0.0059287385, -0.032235686, 0.0013098187, 0.0057758857, 0.000024912268, 0.0045302976, 0.0037953032, -0.031845424, -0.0017594337, -0.040769428, 0.017184561, -0.0049595865, -0.0045790807, 0.009132143, -0.005333588, -0.014803959, 0.023623893, 0.009502893, 0.0112070395, 0.028020851, 0.029191637, -0.0015659285, -0.033198334, 0.013203883, -0.009093117, 0.014517766, -0.02906155, -0.019786311, -0.011122483, -0.0040229564, 0.027578553, 0.0109143425, 0.040613323, -0.012176191, -0.0067060115, 0.055261176, 0.037725378, 0.042252425, 0.019304987, 0.011675354, -0.011935529, -0.020866036, -0.005450667, -0.0054636756, 0.05138457, -0.041003585, -0.020241618, 0.005509206, 0.0071222913, -0.0040457216, -0.024937777, -0.0051156916, 0.014322636, 0.015740588, -0.03457726, -0.009717537, 0.003496102, 0.0064295754, -0.0047384375, -0.011317614, -0.01730164, -0.034134965, -0.024638575, 0.022388062, -0.0116103105, -0.00833861, -0.009795589, -0.0031562482, -0.008241044, 0.0070182215, 0.020683914, 0.027448466, 0.015116169, -0.036398485, 0.02636874, 0.055781525, 0.023832032, 0.022427088, 0.048210435, 0.008533741, -0.029035533, -0.017145535, 0.009554928, 0.020020468, 0.014855994, 0.009802095, -0.01364618, -0.014777942, 0.032677982, -0.016482089, 0.006091348, 0.05416844, 0.012156678, 0.006679994, 0.017652875, -0.0132559175, 0.023845041, -0.0010862307, 0.009307762, -0.00094476057, -0.02417026, -0.057862926, 0.017743938, -0.012124157, 0.006458845, 0.020215599, 0.024339374, 0.028307043, -0.004344923, -0.017782964, 0.0059059733, -0.026628913, -0.015350327, -0.046024963, -0.022973455, -0.031741355, -0.0015878808, 0.0160528, -0.03931245, -0.012306279, -0.030856758, -0.056145772, 0.008306088, -0.00398393, -0.007831268, -0.0038343295, -0.020540819, -0.006712516, -0.02718829, 0.0049270648, 0.021529485, -0.0064686015, 0.017158544, -0.021373378, -0.0077467114, 0.022127885, -0.030648619, -0.007779233, -0.009210196, 0.019929407, -0.03535779, 0.031949494, 0.04074341, -0.012169687, -0.02136037, -0.0065466543, -0.015389353, -0.0068621165, -0.013906355, -0.03949457, 0.0049270648, -0.015363336, -0.020384714, -0.011174518, 0.022531157, 0.0121046435, 0.0048229946, -0.0021496962, -0.0055482327, -0.0048034815, -0.016156869, 0.0064295754, 0.015129178, -0.012182696, 0.017535796, -0.0030261609, -0.028281026, 0.020644888, -0.04448993, -0.07721995, 0.00723937, 0.005314075, 0.01938304, -0.024651583, 0.0001652518, -0.03741317, -0.019565161, 0.039676692, 0.049875554, -0.0012163182, 0.009639485, 0.013841311, -0.027110238, 0.012442871, -0.014452723, 0.018576497, 0.0027643596, -0.03749122, 0.016352, -0.02781271, -0.025471136, 0.019643215, -0.013867329, -0.024924768, 0.0075580846, 0.024131235, -0.013158352, 0.0011520876, 0.022661244, 0.015454397, -0.03356258, 0.027006168, 0.022414079, 0.0036131807, 0.011128987, 0.017665884, -0.01782199, 0.014725907, -0.019031804, -0.011376153, -0.009574441, -0.011037925, -0.0013163231, -0.015636519, 0.0225962, 0.05239925, -0.048210435, -0.007167822, -0.06072485, 0.02992013, 0.015233248, 0.010426514, -0.031845424, 0.0029481084, -0.018563488, 0.011863981, 0.025354056, -0.02009852, 0.023038499, 0.021594528, -0.011694867, -0.0038570948, -0.021503465, 0.008533741, 0.0038766079, 0.016404036, -0.0031416134, -0.029816058, 0.009086613, 0.0012211965, 0.0017675641, 0.0030603088, 0.027396431, 0.0032847098, 0.033926822, 0.006426323, -0.013984408, -0.0049270648, 0.0062897312, -0.024209287, 0.015181213, 0.010348462, -0.032912143, -0.040353145, -0.0036066764, 0.042876843, 0.018368358, 0.020540819, 0.0021155481, -0.018628532, -0.049407236, -0.04220039, -0.036632646, -0.014231574, -0.004292888, -0.010667176, -0.0003176981, -0.11010607, 0.0020667654, 0.04404763, -0.02562724, -0.0017984599, 0.0066084457, 0.047664065, -0.0067970725, -0.0028472904, -0.036502555, -0.008130469, 0.0068816296, -0.015350327, -0.02364991, 0.009340283, -0.031116933, -0.0042310962, 0.013333971, -0.010407001, -0.0067385333, -0.020553827, -0.008013391, 0.01004926, -0.019773303, -0.013262422, -0.00942484, -0.036632646, -0.030752689, 0.031507198, 0.009951695, -0.0044912715, 0.014335644, 0.026433783, 0.011929025, 0.0010480175, -0.028593237, 0.003307475, -0.013737242, -0.00588646, 0.015298292, 0.0018326079, -0.022231957, -0.0050734133, -0.021997798, 0.019031804, -0.0419142, -0.0011333874, -0.012280261, 0.010114304, -0.022726288, -0.027032185, 0.03207958, 0.0028261512, -0.008852456, -0.0053758663, 0.029998181, 0.00050856086, -0.008345114, -0.0090475865, -0.00023395427, -0.009541919, 0.007584102, 0.02448247, -0.0029529866, 0.018147208, -0.038922183, -0.045244437, 0.035774067, -0.0039676693, 0.0053400923, 0.017080491, 0.0091386475, -0.0062604616, -0.013867329, -0.017015446, 0.0039253905, 0.02543211, 0.0111159785, -0.019864364, 0.028827393, -0.017965086, 0.027838727, 0.013412023, 0.039000235, -0.015961738, -0.0035416326, 0.040379163, -0.035149645, -0.04074341, 0.027578553, -0.032131616, 0.010367975, -0.032808073, 0.009255727, 0.0031107177, 0.029842075, 0.026121574, -0.008852456, 0.023181595, -0.0061889137, 0.019213926, 0.019721268, 0.0067970725, -0.055053037, -0.016182886, -0.010459037, 0.008897986, 0.0066864984, -0.011694867, 0.021490457, 0.012312783, -0.018693576, 0.02480769, 0.0036034242, -0.025952458, 0.0011675354, 0.01979932, -0.023311682, 0.05697833, -0.0160528, 0.041315794, 0.05104634, -0.029347744, -0.01957817, -0.04521842, 0.000985413, -0.009197188, 0.00036709072, -0.030674636, 0.017848007, 0.0076361373, 0.020840019, -0.02042374, 0.0017708163, 0.00911263, -0.022531157, -0.01572758, 0.00075491413, -0.018004112, -0.012520923, 0.016273947, 0.020814002, 0.044958245, -0.03031039, -0.017626857, -0.013503084, 0.00823454, -0.000020732698, -0.005743364, 0.0013691711, 0.012631497, 0.0049270648, -0.0067775594, 0.027994834, 0.006162896, 0.04344923, 0.015402362, -0.033276387, 0.012520923, 0.0005902721, 0.01667722, 0.003270075, -0.039728727, -0.004676646, -0.01927897, -0.011467215, 0.018199243, 0.005743364, 0.00036566786, 0.033198334, -0.014712898, -0.042876843, -0.005398632, 0.016716246, 0.0042310962, 0.036086276, 0.031325072, 0.015480414, 0.027864745, 0.0011504615, -0.0347854, 0.042538617, -0.029139603, 0.024651583, 0.011011908, 0.010563106, 0.029191637, -0.020020468, 0.027162272, 0.021009134, 0.0212563, 0.011759912, 0.03200153, 0.014816968, 0.07867693, -0.021997798, -0.0034733366, 0.022791332, 0.011408675, 0.023714954, -0.007928834, -0.007063752, -0.005401884, -0.017756946, -0.021217274, 0.020462766, -0.03054455, -0.019031804, -0.059319906, 0.027318379, -0.021815676, 0.011584293, -0.0173927, 0.0016008895, -0.026537852, -0.012351809, -0.013333971, -0.019109856, -0.010491558, 0.029243674, 0.0050604045, -0.02394911, -0.04134181, 0.037829448, -0.0036229372, -0.0100362515, 0.028150938, -0.035175662, -0.017848007, 0.0079873735, -0.001420393, -0.002650533, 0.0015252761, -0.040769428, -0.034733366, 0.0035026064, 0.012709551, -0.018329332, -0.0075580846, -0.006679994, 0.008976039, -0.023936102, -0.029399779, 0.024092207, 0.002200105, -0.035722032, 0.016078817, -0.046103016, -0.025809363, -0.0038831122, -0.049016975, -0.011324118, 0.023298673, -0.032053564, 0.020280644, -0.01801712, 0.016091825, 0.035591945, 0.020241618, 0.019422065, 0.0033660145, -0.0034375626, 0.007876799, -0.024664592, -0.025093881, 0.021165239, -0.025770336, -0.017366683, -0.017808981, 0.00094801275, -0.03624238, -0.0017578076, 0.023988137, 0.020553827, -0.007649146, 0.012976229, -0.0025367066, -0.013138839, 0.026667941, -0.032235686, -0.0024846715, -0.030674636, 0.01666421, 0.0053465967, -0.0008675211, 0.030128269, -0.021750633, -0.060256537, 0.01364618, 0.0009553302, 0.042642687, -0.036632646, 0.0049758474, 0.0027708642, 0.041133672, -0.012585967, -0.010367975, 0.01447874, 0.011538763, -0.01062815, 0.0331463, 0.024755655, 0.005779138, -0.021841694, 0.025510162, 0.048912905, 0.013158352, -0.0078117554, -0.008494714, 0.0009911043, 0.019357022, -0.00266842, 0.012807116, -0.021204265, -0.011623319, 0.01291769, 0.016378017, -0.0021253047, -0.013906355, 0.026277678, -0.015467405, 0.014842985, 0.03699689, 0.019552153, 0.00442948, -0.015051126, -0.011363144, 0.0028342817, 0.010153331, -0.0043384186, -0.0017057725, 0.032157633, 0.003203405, -0.012657515, 0.0059807734, 0.02342876, 0.0033920319, 0.023584867, 0.0047384375, -0.018160217, 0.02011153, -0.0013553493, -0.0015350326, 0.00061872875, 0.0033692666, 0.00682309, 0.005853938, -0.017457744, -0.036216363, 0.011545267, 0.06858214, -0.0041237744, -0.0085727675, 0.037985556, 0.037751395, 0.025367064, 0.0016553636, 0.046961594, 0.0105305845, -0.008143478, -0.019877372, 0.036970872, -0.0015651154, -0.0049595865, 0.010998899, 0.0029058298, -0.026824046, 0.0006305179, 0.04550461, 0.013412023, 0.0011618441, 0.016104834, 0.00973705, 0.036658663, 0.0072458745, -0.0025741067, 0.044359844, 0.017561814, 0.01676828, 0.019226935, 0.019916398, 0.0039546606, 0.037335116, 0.0073499447, -0.033016212, -0.023467788, -0.0024180016, 0.01749677, 0.008533741, -0.022752305, -0.019409057, -0.004520541, -0.009658998, -0.0025854893, 0.004914056, 0.011538763, -0.016612176, 0.020840019, 0.013776268, 0.0070702564, 0.021139221, -0.033380456, -0.020072503, -0.005662059, 0.005766129, -0.032027546, 0.029842075, 0.008683342, 0.012638002, 0.02521096, -0.041523933, 0.025575206, -0.007083265, 0.014673872, 0.008976039, -0.0118119465, -0.009515902, 0.011239561, -0.03520168, 0.020800993, 0.030388443, -0.031325072, 0.0036229372, -0.0010065521, -0.024313357, 0.008013391, 0.034629297, -0.0013512841, 0.010289922, -0.024079198, 0.017887034, -0.033874787, -0.022622218, -0.04407365, 0.0030196565, 0.010023243, 0.006803577, -0.0028668037, -0.000580109, -0.038193695, 0.02033268, 0.024248313, 0.019005787, 0.0032131616, -0.015701562, -0.025028838, 0.007525563, 0.012598976, -0.009567937, -0.0030342913, 0.012462384, 0.012683532, 0.012540436, 0.007850781, 0.011805442, 0.0036814767, -0.04115969, 0.0009366301, 0.0212563, 0.03158525, 0.018147208, -0.027578553, 0.014842985, -0.013789277, -0.023819024, 0.028567217, 0.005590511, -0.02626467, -0.0111159785, -0.029217655, 0.02052781, 0.012624993, 0.0076556504, 0.00072076614, 0.029321726, -0.00014462073, 0.0012561575, 0.010426514, 0.009372805, 0.006959682, -0.029035533, 0.0053238315, 0.04300693, 0.026550861, -0.0007910947, -0.008514228, -0.012976229, -0.0042831316, 0.021750633, 0.0009715911, -0.02791678, 0.02698015, -0.010972882, -0.028255008, 0.042044286, 0.046727434, -0.0011504615, -0.001193553, -0.0031025873, 0.032053564, -0.012969725, -0.0024326365, -0.026004493, 0.01458281, -0.01343804, 0.009496389, 0.0028342817, 0.030648619, -0.015857669, -0.030986845, 0.018628532, -0.0055644936, 0.002561098, 0.032990195, 0.05250332, 0.019213926, -0.009197188, -0.011968051, 0.009685015, -0.010153331, -0.009119134, 0.031325072, 0.014309627, -0.006400306, -0.026641922, -0.008774403, 0.018914724, 0.021516474, -0.035175662, -0.020892056, -0.0007305227, -0.04259065, -0.0026879332, -0.008494714, -0.00020143238, -0.008286575, -0.009574441, -0.021516474, 0.012273757, -0.008468697, 0.058955662, -0.01520723, -0.035045575, -0.002562724, -0.00014136854, 0.018771628, -0.025393084, 0.024703618, 0.041211724, 0.0080784345, 0.015753599, -0.02417026, 0.00012490434, 0.009919173, 0.0076361373, 0.003583911, 0.0071743266, 0.00066019414, 0.002650533, -0.00848821, 0.023675928, 0.005369362, 0.002094409, 0.02063188, -0.011350135, 0.027682623, 0.009789085, 0.019396048, 0.013594145, -0.011324118, -0.00019675736, 0.001591133, -0.0012488401, 0.0015862547, -0.0115192495, -0.040691376, 0.037022907, -0.018628532, -0.035826102, 0.007935339, -0.0020667654, -0.0036912332, -0.02552317, 0.0031627526, 0.03603424, -0.008202018, -0.023910085, -0.025926441, -0.032912143, 0.030856758, -0.03200153, 0.014673872, -0.0022244966, -0.025679275, -0.022622218, 0.018992778, 0.03332842, 0.03603424, -0.026420774, 0.008475201, -0.005938495, 0.0054409103, -0.03499354, 0.0044880193, 0.023168586, 0.00072605093, 0.042538617, -0.02197178, 0.0073044137, 0.015662536, -0.004914056, -0.01510316, -0.017002437, 0.02000746, 0.021191256, 0.017314648, -0.026472809, 0.027448466, 0.022661244, -0.015558466, -0.009431344, 0.029816058, -0.0146478545, 0.005642546, -0.01979932, -0.00075369456, -0.022466114, -0.014569801, 0.013132335, 0.016404036, 0.013490075, 0.04462002, -0.017483762, 0.00024106842, -0.017210579, 0.035513893, -0.021204265, 0.009678511, -0.030700654, -0.044099666, 0.019955425, -0.0010992395, 0.007232866, -0.0013472189, -0.007532067, -0.0063287574, -0.03738715, -0.038323782, 0.017522788, 0.02293443, -0.063222535, -0.0074995453, 0.02417026, -0.011922521, 0.013333971, 0.01571457, -0.025952458, -0.0023513318, 0.0006353962, -0.046805486, 0.007707685, -0.0080264, -0.010602132, -0.00838414, 0.009932182, -0.017613849, -0.00932077, 0.008631307, -0.019539144, 0.0362684, -0.023285665, 0.018420393, -0.02385805, -0.011089961, 0.04701363, -0.0029643693, -0.0032066572, -0.0027887512, 0.019213926, -0.029321726, 0.02375398, -0.013906355, 0.008605289, -0.017756946, 0.009463866, 0.012312783, -0.0132299, 0.010641159, -0.010192357, -0.006367784, -0.0045140367, -0.00056140893, -0.01999445, 0.0020033477, -0.013698216, 0.021620546, 0.028411113, -0.021919746, 0.030024199, 0.015701562, 0.011818451, 0.016703237, -0.025054855, 0.01792606, -0.007258883, -0.010582619, 0.024833707, -0.0040847478, -0.025093881, 0.041393846, -0.012559949, -0.022440096, 0.039572623, -0.009093117, -0.010777751, 0.0069987085, -0.022518149, -0.045478594, -0.0033025967, -0.011850973, -0.0006593811, 0.042772774, 0.020787984, 0.0073434403, 0.0012935577, -0.0021610789, -0.05070811, -0.016325982, -0.021789659, -0.021607537, 0.03728308, -0.018251278, 0.031637285, -0.027448466, 0.0018082164, 0.010647663, -0.011141996, -0.0059287385, 0.010172844 ]
2310.12773
32
As shown in Figure 5a and 5b, the three rounds of Safe RLHF significantly improved the Elo scores in both helpfulness and harmlessness, as evaluated by both GPT-4 and human evaluators. When compared to Alpaca-7B, the Beaver-v3 model demonstrated an increase in the Elo score for helpful- ness (GPT-4: +244.91, Human: +363.86) and for harmlessness (GPT-4: +268.31, Human: +237.98). Comparatively, the evaluations by GPT-4 and human evaluators are almost consistent. Notably, start- ing from the second round, we initiated red teaming attacks to broaden the scope of safety-related prompts. This effectively aided in making the Safe RLHF training models more harmless. During the third round, since the model was sufficiently safe, Safe RLHF tended to prioritize maintaining the current harmlessness level over excessive optimization. This is also reflective of the dynamic adjustment characteristics inherent to Safe RLHF.
2310.12773#32
Safe RLHF: Safe Reinforcement Learning from Human Feedback
With the development of large language models (LLMs), striking a balance between the performance and safety of AI systems has never been more critical. However, the inherent tension between the objectives of helpfulness and harmlessness presents a significant challenge during LLM training. To address this issue, we propose Safe Reinforcement Learning from Human Feedback (Safe RLHF), a novel algorithm for human value alignment. Safe RLHF explicitly decouples human preferences regarding helpfulness and harmlessness, effectively avoiding the crowdworkers' confusion about the tension and allowing us to train separate reward and cost models. We formalize the safety concern of LLMs as an optimization task of maximizing the reward function while satisfying specified cost constraints. Leveraging the Lagrangian method to solve this constrained problem, Safe RLHF dynamically adjusts the balance between the two objectives during fine-tuning. Through a three-round fine-tuning using Safe RLHF, we demonstrate a superior ability to mitigate harmful responses while enhancing model performance compared to existing value-aligned algorithms. Experimentally, we fine-tuned the Alpaca-7B using Safe RLHF and aligned it with collected human preferences, significantly improving its helpfulness and harmlessness according to human evaluations.
http://arxiv.org/pdf/2310.12773
Josef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji, Xinbo Xu, Mickel Liu, Yizhou Wang, Yaodong Yang
cs.AI, cs.LG
null
null
cs.AI
20231019
20231019
[ { "id": "2302.13971" }, { "id": "2304.05302" }, { "id": "1707.06347" }, { "id": "2305.18290" }, { "id": "2305.10403" }, { "id": "2305.03047" }, { "id": "2211.05100" }, { "id": "2110.08207" }, { "id": "2304.05335" }, { "id": "2107.03374" }, { "id": "2105.04054" }, { "id": "2209.07858" }, { "id": "2305.15324" }, { "id": "2307.09288" }, { "id": "2210.11416" }, { "id": "2212.08073" }, { "id": "2307.12950" }, { "id": "2009.11462" }, { "id": "2307.04657" }, { "id": "2204.05862" }, { "id": "2112.00861" }, { "id": "2209.14375" }, { "id": "2303.00957" }, { "id": "2306.01693" }, { "id": "2305.01937" }, { "id": "2307.15217" }, { "id": "2306.17492" }, { "id": "2112.04359" }, { "id": "1506.02438" } ]
{ "authors": "Josef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji, Xinbo Xu, Mickel Liu, Yizhou Wang, Yaodong Yang", "chunk_id": 32, "doc_id": "2310.12773", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12773", "summary": "With the development of large language models (LLMs), striking a balance\nbetween the performance and safety of AI systems has never been more critical.\nHowever, the inherent tension between the objectives of helpfulness and\nharmlessness presents a significant challenge during LLM training. To address\nthis issue, we propose Safe Reinforcement Learning from Human Feedback (Safe\nRLHF), a novel algorithm for human value alignment. Safe RLHF explicitly\ndecouples human preferences regarding helpfulness and harmlessness, effectively\navoiding the crowdworkers' confusion about the tension and allowing us to train\nseparate reward and cost models. We formalize the safety concern of LLMs as an\noptimization task of maximizing the reward function while satisfying specified\ncost constraints. Leveraging the Lagrangian method to solve this constrained\nproblem, Safe RLHF dynamically adjusts the balance between the two objectives\nduring fine-tuning. Through a three-round fine-tuning using Safe RLHF, we\ndemonstrate a superior ability to mitigate harmful responses while enhancing\nmodel performance compared to existing value-aligned algorithms.\nExperimentally, we fine-tuned the Alpaca-7B using Safe RLHF and aligned it with\ncollected human preferences, significantly improving its helpfulness and\nharmlessness according to human evaluations.", "text": "As shown in Figure 5a and 5b, the three rounds of Safe RLHF significantly improved the Elo scores in both helpfulness and harmlessness, as evaluated by both GPT-4 and human evaluators. When compared to Alpaca-7B, the Beaver-v3 model demonstrated an increase in the Elo score for helpful- ness (GPT-4: +244.91, Human: +363.86) and for harmlessness (GPT-4: +268.31, Human: +237.98). Comparatively, the evaluations by GPT-4 and human evaluators are almost consistent. Notably, start- ing from the second round, we initiated red teaming attacks to broaden the scope of safety-related prompts. This effectively aided in making the Safe RLHF training models more harmless. During the third round, since the model was sufficiently safe, Safe RLHF tended to prioritize maintaining the current harmlessness level over excessive optimization. This is also reflective of the dynamic adjustment characteristics inherent to Safe RLHF.", "title": "Safe RLHF: Safe Reinforcement Learning from Human Feedback", "year": 2023 }
[ 0.02471054, -0.010590231, 0.09922038, 0.0054684673, 0.0012311932, -0.010424758, -0.034764953, 0.06451846, 0.015956264, 0.041289292, 0.02447415, -0.023371, -0.041919664, -0.015609559, 0.02341828, -0.043211926, 0.025325151, -0.061965458, -0.062312163, 0.042108774, -0.014545809, 0.015893226, 0.011937649, 0.017697662, 0.013324465, 0.0066346535, 0.028981302, 0.0062446115, 0.018674737, -0.029785024, 0.024805095, -0.028445486, -0.028886747, 0.0012686214, -0.03177069, -0.0044480544, -0.0074029183, 0.0013671168, -0.023733463, 0.034891028, 0.031487025, -0.0007076898, -0.0237965, 0.015633198, -0.0044992724, -0.00411317, 0.03634088, 0.0051296433, 0.010046536, 0.02598704, -0.015987782, 0.038042884, -0.0032858083, 0.008368174, -0.0015710024, 0.003931938, 0.019777887, -0.018548664, -0.015199818, -0.007938733, 0.015656836, -0.019636054, -0.011843093, -0.020045795, -0.026144633, -0.029958377, -0.10155275, -0.029753506, 0.038011365, 0.01906872, -0.004373198, -0.016578754, 0.05849842, -0.03854718, -0.017398236, 0.013797243, 0.05499986, 0.0005328604, 0.013355983, -0.0022200875, -0.013513576, 0.0150973825, 0.014664003, -0.046458334, 0.007426557, -0.005472407, -0.04415748, -0.017350959, -0.057206158, -0.05191104, -0.042171814, -0.02382802, -0.018674737, 0.00888823, 0.004219545, -0.028287893, -0.01082662, 0.019525738, 0.045575816, 0.034544326, 0.032148916, -0.036214806, -0.009573758, -0.003939818, 0.020108832, 0.004503212, 0.053108748, 0.058403865, -0.02211026, -0.023875298, -0.032495618, -0.00758415, -0.06587376, 0.012670455, -0.017256403, -0.046868075, -0.06581072, -0.024348076, 0.029532876, -0.019525738, -0.04500848, -0.008155423, 0.020613128, -0.07747258, -0.015318013, -0.007383219, 0.044315074, -0.04677352, -0.0054448284, -0.045733407, -0.002034916, 0.042581555, 0.020944072, -0.0017236704, -0.021968426, 0.02833517, -0.03574203, -0.020644646, -0.038830847, -0.024600225, -0.034544326, -0.043369517, -0.06240672, -0.0008613427, -0.05739527, -0.00074364064, 0.0045150314, 0.025309391, -0.0380744, 0.014585206, -0.046080112, -0.009392526, -0.05824627, -0.0018142862, -0.029501358, -0.019431183, -0.012607418, 0.02489965, -0.0044638137, -0.053991266, -0.0220945, 0.020676166, -0.043653183, -0.029485598, 0.0177607, 0.03769618, 0.009951981, 0.0025273932, -0.08037229, -0.02663317, 0.026270706, 0.018217718, -0.035395324, -0.03353573, -0.04765604, -0.011456991, -0.027657522, -0.018879607, -0.017871015, -0.010479916, -0.038893882, 0.008714877, -0.024048649, 0.032810804, -0.051406745, 0.02921769, -0.012032204, -0.029863821, -0.02598704, -0.029737746, 0.010148971, 0.044031408, 0.06782791, -0.0050153886, 0.029926857, -0.02576641, 0.018785052, 0.036624547, -0.015940504, -0.01601142, -0.009479202, 0.0011514118, 0.018454108, -0.05348697, -0.0012765011, -0.02034522, -0.019982757, 0.012457705, -0.04762452, -0.008746396, 0.045134556, 0.043211926, 0.033252064, 0.005783653, -0.04094259, 0.030163247, -0.032999914, 0.025388187, 0.0029804723, 0.02773632, -0.027121708, 0.0093216095, 0.015633198, -0.0044992724, -0.045544297, 0.03422914, 0.028272135, -0.01754007, 0.02121198, -0.047466926, 0.036214806, -0.004920833, -0.029674709, -0.037317958, 0.0059964033, 0.004629286, 0.028004227, -0.02445839, 0.007190168, -0.004570189, 0.009762869, 0.00910098, 0.023985613, -0.015641078, -0.0012489223, 0.0061145974, 0.001060796, -0.054401007, 0.017492792, -0.01062175, 0.0010085935, -0.034607362, 0.037412513, -0.048570078, -0.022583038, -0.0040422534, -0.014703401, -0.020030035, -0.016799385, -0.043337997, -0.018091645, 0.012181917, -0.0038137438, 0.025293631, -0.029138895, 0.0057403147, -0.010873898, 0.0052320785, -0.037979845, -0.023764983, 0.026916837, 0.020534331, 0.0142936595, 0.011622463, -0.03508014, -0.0130801955, 0.051595856, 0.018028608, -0.023371, -0.034670398, -0.0023008538, 0.012268594, 0.03596266, -0.019998517, -0.0031104863, 0.041635998, 0.008494248, -0.0040166443, -0.0011957348, -0.02686956, 0.010889657, -0.027673282, 0.07646399, -0.007292603, -0.001905887, 0.02467902, 0.021511406, 0.02143261, -0.045764927, -0.016626032, -0.001256802, 0.031045767, -0.051438265, 0.008210581, 0.05887664, 0.009841666, -0.00019994576, -0.004219545, 0.020975592, 0.012221316, 0.017461274, 0.038168956, -0.0044953325, 0.025136039, -0.020896794, -0.06061016, 0.05849842, -0.029075857, 0.016310846, 0.010550832, -0.0054448284, -0.052446857, 0.021858111, -0.0018349702, 0.0014567478, -0.036498476, 0.00089729356, 0.041888144, -0.03990248, -0.03983944, -0.020802239, 0.0046805036, 0.02620767, -0.015404688, -0.027105948, -0.046017073, -0.05348697, 0.033661805, 0.0081239045, 0.03356725, -0.050114486, -0.043810777, -0.020928314, 0.020077312, -0.061398126, 0.050587263, -0.003809804, 0.0037152483, 0.04481937, 0.056827936, 0.0058033518, -0.029485598, -0.0016153255, 0.004243184, -0.033283584, 0.001582822, -0.0057678935, -0.012032204, -0.0177607, 0.016531477, 0.012371029, 0.048412483, -0.004743541, -0.008699118, 0.046237703, 0.030037172, -0.031313673, 0.01646844, -0.013537215, -0.0047986982, -0.03835807, 0.021401092, -0.004069832, 0.0048380964, -0.082767695, 0.05128067, 0.025246354, 0.0055354442, -0.0074423165, 0.033472694, -0.01995124, -0.027027152, -0.029942617, -0.041730553, -0.004069832, 0.035174694, -0.008297257, -0.03854718, -0.04661593, -0.009211294, 0.015294374, -0.01687818, -0.032810804, -0.012213436, 0.02055009, 0.0057442547, -0.03630936, 0.053833675, 0.059349418, 0.0671345, -0.041257776, -0.018690497, -0.073249094, 0.011118166, -0.050303597, 0.026475577, -0.0066385935, 0.01018049, -0.009179776, 0.037034288, -0.0043692584, -0.03983944, 0.024805095, -0.03372484, 0.004290462, -0.04330648, 0.01298564, -0.029091617, -0.0077535617, 0.04661593, -0.027436893, -0.06612591, -0.014411855, 0.0077259834, 0.012859566, -0.0064179637, -0.013505696, -0.012315871, 0.013332345, -0.047309335, 0.025230594, 0.07747258, -0.0034729496, -0.023938334, -0.014577326, 0.023733463, 0.010133212, 0.041951183, -0.02617615, 0.04743541, 0.07627488, -0.01494767, -0.03788529, -0.017587347, -0.02231513, -0.015696235, -0.040217664, -0.0029824423, -0.03397699, 0.015010707, -0.0064810007, 0.007706284, 0.024584465, 0.012079482, -0.008486368, -0.04135233, 0.062028494, -0.032747768, 0.049452595, 0.004008765, 0.011386074, 0.012709853, -0.02362315, 0.03794833, 0.021133184, 0.0045544296, -0.024757817, 0.006520399, -0.023292204, -0.03054147, -0.0164842, -0.032590173, 0.012292232, -0.033062954, 0.00084509095, 0.00562606, 0.01711457, -0.017650384, 0.06681932, -0.00584669, -0.0071783485, -0.03356725, 0.019699091, -0.018690497, 0.027862392, 0.06064168, 0.03372484, -0.004180147, 0.0051335827, 0.031565823, 0.022456963, -0.029674709, 0.046269223, -0.021085907, 0.01971485, -0.022913981, 0.038830847, 0.0064810007, 0.012449825, -0.007911155, -0.00995986, -0.009857425, -0.020628888, 0.013726326, 0.013686928, -0.0058112317, 0.015325892, -0.0013592372, -0.03030508, 0.00012108785, 0.0026042198, -0.002748023, -0.0281303, 0.0033192968, -0.013923317, -0.0015079654, 0.0008096326, 0.0074974736, -0.004920833, 0.009258572, 0.012717732, -0.013466298, 0.0013897708, 0.022646073, -0.0032365606, -0.035426844, -0.02403289, -0.01408091, -0.02899706, -0.03829503, -0.017004255, -0.019005682, 0.009022184, 0.0058072917, -0.07161013, -0.0043928972, -0.014908272, -0.008738517, -0.012221316, -0.04683656, 0.053360894, 0.018958405, 0.039492738, -0.012300112, 0.025498502, -0.007737803, 0.006102778, -0.03441825, 0.011078768, 0.0006215063, 0.0402807, -0.03441825, -0.020424018, -0.016200531, -0.0027105948, -0.028256375, -0.0064416025, -0.008139664, -0.007131071, 0.028555801, 0.009211294, 0.020613128, 0.023843778, -0.012875325, -0.035836585, 0.0076156682, 0.016389644, 0.043653183, 0.02032946, -0.0021294716, -0.0044007767, 0.0048656752, 0.01840683, -0.03829503, 0.02705867, -0.014979188, 0.009116739, -0.0054921065, 0.029359523, -0.0097313505, -0.038799327, -0.02924921, -0.027468411, 0.04031222, -0.04541822, -0.017161848, 0.0064140237, 0.026932595, -0.028461246, 0.00041146475, 0.022787908, 0.012686214, 0.043653183, -0.005783653, -0.048223373, -0.0024860252, -0.031045767, -0.022220574, -0.007729923, -0.025372429, -0.018879607, -0.016499957, 0.020896794, -0.014199104, -0.02445839, 0.02704291, -0.00888035, 0.002706655, 0.006685871, -0.019730609, 0.0035359866, -0.0125443805, -0.017508551, 0.008896109, -0.03485951, -0.03983944, 0.015633198, 0.013056557, 0.021873869, -0.012757131, -0.046017073, 0.014734919, 0.006555857, -0.016767865, 0.022630315, -0.00693802, 0.0020467355, 0.015838068, -0.033283584, -0.023985613, -0.05131219, 0.025466984, -0.0049641705, -0.054653157, 0.011456991, 0.023434037, 0.038389586, 0.029989894, -0.012307991, -0.032747768, 0.029643191, 0.032495618, -0.01862746, -0.060547125, -0.0128201675, 0.005440889, 0.010369601, -0.008163303, -0.017272163, -0.028540041, -0.04352711, -0.054716192, -0.015845949, -0.00042106805, 0.0041407486, -0.021133184, -0.0042550033, 0.033031434, -0.009416165, -0.009825906, -0.019872442, -0.008982785, -0.04349559, 0.022882463, 0.009841666, 0.008691238, -0.014853114, 0.028461246, 0.025640335, -0.02598704, -0.029564396, -0.007296543, 0.0040855915, -0.020014275, 0.012016445, -0.01995124, -0.00072591146, -0.03813744, -0.0033921835, 0.03548988, -0.024931168, 0.043401036, -0.059443973, -0.052005596, -0.0040422534, 0.016499957, 0.004668684, -0.027153226, -0.016184773, 0.007032575, -0.024095926, 0.0047829393, 0.01406515, 0.015656836, -0.016578754, 0.05172193, -0.015341652, 0.047750596, -0.009636795, -0.03744403, -0.018012848, 0.019667571, 0.018501386, -0.025498502, -0.024600225, -0.047750596, -0.046647444, 0.03438673, 0.039776403, -0.008336655, -0.015412568, 0.0043692584, 0.0101253325, 0.015956264, 0.015570161, 0.026617412, 0.021070147, 0.011504268, 0.022693353, -0.024316557, -0.03181797, 0.022157537, -0.025057243, -0.0025175437, -0.010322323, 0.018595941, -0.031975564, 0.01452217, -0.018375311, -0.024017131, 0.026775004, -0.009030063, -0.0014892513, 0.021700518, 0.0032601994, 0.0041722674, -0.016105976, -0.013931196, -0.006559797, 0.0116855, 0.03961881, 0.010692666, -0.01147275, -0.01170126, -0.025325151, 0.0046647447, 0.005433009, 0.026396781, 0.0037822253, -0.010700546, -0.016042938, 0.017035773, -0.005023268, 0.014033632, 0.010866018, 0.002359951, 0.003293688, 0.016200531, -0.006343107, 0.04179359, 0.021779314, 0.010456277, 0.008179062, 0.009132498, 0.008722757, -0.011196963, -0.016066577, 0.03400851, -0.016988495, -0.015207698, 0.0033980932, -0.03337814, 0.012938363, 0.01646844, 0.05651275, -0.032148916, 0.024852373, -0.0018901277, -0.016137496, 0.034323696, -0.033094473, -0.0028425788, 0.018233478, -0.0025017844, -0.015026466, 0.010669027, 0.020849517, 0.0320386, 0.021196222, -0.026128873, -0.007643247, 0.012654696, -0.0016645731, -0.027862392, -0.007639307, 0.009928341, -0.008959146, -0.09852697, -0.018296516, 0.029201932, -0.02901282, 0.018485626, 0.011953408, -0.0045820083, 0.029075857, 0.013686928, -0.005429069, 0.029060097, -0.022661833, -0.0017197306, -0.022961259, 0.018091645, -0.052919637, 0.016279329, -0.011323037, 0.015436207, -0.0181862, -0.004054073, -0.007276844, 0.05805716, -0.021101665, -0.024363834, 0.021259258, -0.018060125, -0.0026120993, -0.017209126, 0.04242396, -0.020297943, 0.021196222, 0.014254262, -0.018769294, -0.030872414, -0.0095895175, -0.00059195765, 0.00054812717, -0.0018861879, 0.04976778, 0.017051533, -0.029926857, 0.021322295, -0.032369547, 0.03659303, -0.040974107, -0.012150398, -0.010038656, 0.031959806, -0.0020211267, 0.012867446, 0.018501386, -0.02794119, -0.030068692, -0.03142399, 0.0016438891, 0.015105262, 0.006945899, 0.003703429, -0.018911127, 0.002986382, 0.010684786, 0.007292603, -0.016972736, 0.009211294, -0.0011366375, -0.0029922917, 0.015853828, -0.029926857, -0.050524227, -0.036624547, 0.03530077, -0.02666469, 0.004999629, 0.021117425, 0.015349532, 0.026538614, 0.033441175, -0.024552947, 0.022630315, 0.04270763, -0.03640392, 0.030762099, 0.024537187, 0.018091645, 0.0040461933, 0.055031378, 0.0037408571, 0.0067883064, -0.02034522, 0.017366719, -0.0089276275, 0.017303681, 0.019620294, 0.024978446, 0.0006091944, -0.0064770607, -0.0023934394, -0.023512835, -0.012252834, 0.025356669, -0.011078768, -0.0078481175, -0.021180462, -0.016641792, 0.035174694, 0.0017482942, 0.023276445, 0.024537187, -0.016003542, -0.0039023897, 0.042392444, -0.019746369, 0.0028642477, -0.0032956577, 0.03441825, 0.017051533, 0.026396781, 0.009376767, -0.01103937, -0.0044322954, 0.015349532, 0.0027086248, 0.050114486, -0.0022929742, 0.008305136, 0.0044638137, 0.048570078, -0.015956264, 0.012040084, 0.027878152, 0.017193366, -0.029989894, -0.017004255, -0.042360924, -0.000054480297, 0.031550065, -0.029958377, -0.02274063, 0.0022141777, 0.0190372, 0.024521427, 0.0402807, -0.021306535, -0.030951211, 0.008643961, 0.02274063, -0.015302253, 0.0043574385, 0.0014488681, -0.02795695, -0.004719902, -0.007859937, 0.027436893, 0.012465584, 0.037223402, 0.03548988, -0.026396781, -0.03987096, 0.01363177, 0.0023855597, 0.050146002, -0.02471054, 0.00014331088, 0.021511406, -0.02469478, -0.011535787, 0.018879607, 0.015105262, 0.018611701, -0.011780056, -0.060515605, 0.013907557, -0.01817044, 0.008470609, 0.02469478, -0.019541498, 0.030604506, 0.0043416796, 0.05651275, -0.0015542582, 0.06385657, 0.0037960147, -0.015199818, 0.048601594, -0.022882463, 0.0070916726, -0.008636082, 0.018343793, 0.02141685, -0.0049090134, 0.016499957, 0.012434065, 0.054653157, -0.0003989066, -0.040564366, -0.004188027, 0.0039930055, -0.04998841, -0.07595969, -0.011803695, 0.059601568, 0.029280728, -0.00085888035, 0.0048105177, 0.01731944, -0.021196222, -0.030273562, -0.03766466, 0.030478433, -0.0038295032, 0.014175465, -0.006650413, 0.02620767, 0.0033192968, 0.0052320785, -0.015381049, 0.015908984, -0.022614555, -0.016358124, -0.005212379, -0.03596266, 0.02945408, -0.005046907, 0.006993177, -0.01777646, -0.036624547, 0.013190511, -0.0007273889, -0.0058348705, -0.0048183976, -0.008462729, 0.015286494, -0.020108832, -0.039524253, -0.013158992, 0.009037943, 0.0032227712, -0.010156851, 0.0021275016, 0.019115997, 0.015050105, -0.017618867, -0.0107951015, 0.009715592, -0.0056103007, 0.058372345, -0.018107403, -0.03008445, -0.03312599, -0.0061145974, -0.023701945, -0.00057964574, 0.009156137, -0.00671345, -0.048160337, 0.023103094, 0.034607362, 0.022819426, 0.020077312, -0.032369547, 0.004152568, -0.0035990237, 0.021353815, -0.0036266025, -0.033630285, 0.014577326, -0.0071113715, 0.032495618, -0.04091107, -0.014829475, 0.023323722, -0.0112048425, 0.043747738, -0.047908187, -0.013355983, 0.050965488, 0.015333772, 0.019588776, -0.0116067035, 0.0029745626, -0.006079139, -0.032180432, 0.01711457, 0.014057271, 0.010062295, -0.016058698, -0.014411855, 0.015845949, 0.027027152, 0.0018920976, 0.03599418, 0.0041446886, 0.016066577, 0.0097313505, 0.01883233, 0.008596683, -0.017934052, 0.047719076, -0.023213407, 0.030179007, 0.0040619522, 0.0058348705, -0.019604534, -0.0029351644, -0.0050075087, 0.010700546, -0.030352358, 0.0044953325, -0.01407303, -0.0011179234, -0.012528622, 0.00865972, 0.008131784, -0.0027460533, -0.03394547, 0.004030434, -0.026286466, -0.0045229113, -0.016436921, -0.021401092, 0.0026495277, 0.0005111914, 0.03400851, -0.020660406, -0.006331288, -0.03030508, -0.009361007, -0.02772056, 0.008998545, -0.003837383, 0.012883205, 0.00022555458, 0.014797957, -0.026459819, 0.011393954, -0.02318189, -0.023717705, -0.022252092, -0.012441945, -0.00018837255, -0.014088789, 0.041699033, 0.015853828, 0.0036975192, 0.014664003, -0.020660406, -0.003922089, -0.005606361, 0.0057048565, 0.07961585, -0.00016288685, -0.010196249, 0.0030415396, -0.03747555, 0.026018558, -0.012749251, 0.013324465, 0.005046907, 0.00073231367, 0.0074620154, 0.010133212, -0.0077890204, 0.026885318, -0.0034552205, 0.0063194684, -0.020912554, 0.048444003, 0.027232023, 0.0010992092, -0.0036935795, 0.0055984813, -0.0051060044, -0.027878152, -0.0010519314, 0.03511166, 0.023497075, 0.001965969, 0.048633114, 0.044346593, -0.01471128, -0.008470609, -0.0050350875, 0.016389644, -0.028587319, -0.01081874, -0.0109290555, 0.035458364, 0.014277901, -0.0035202275, -0.005243898, -0.0018694437, 0.0149555495, -0.0015020557, 0.0010844349, 0.012071602, 0.008076627, -0.008848831, 0.01234739, 0.0021550804, 0.023055816, 0.0024545067, -0.022031462, 0.0014124247, 0.02382802, 0.0075959694, -0.011945528, 0.016562995, 0.01817044, 0.004822337, -0.027373856, 0.004349559, -0.024332317, 0.018264996, -0.02471054, -0.019793646, 0.016200531, 0.009274332, -0.012835927, 0.021511406, 0.0007771291, -0.005157222, 0.017571589, -0.017524311, 0.011393954, 0.017508551, -0.019888202, 0.030667543, 0.0043377397, 0.0311876, 0.03422914, -0.0009248723, -0.017130328, -0.03188101, -0.0068592234, 0.03656151, 0.04633226, 0.029690469, -0.03224347, 0.0014813716, -0.012930483, 0.02683804, 0.030415395, 0.0039339084, -0.03555292, 0.021873869, -0.010440518, 0.03615177, 0.03419762, -0.007131071, 0.005953065, -0.034985583, -0.0075644506, 0.022220574, -0.045134556, -0.018911127, -0.009912582, 0.008959146, 0.03835807, 0.032873843, 0.00018123163, -0.025293631, -0.0046883835, 0.04519759, -0.0051690415, 0.0062052133, 0.013466298, 0.05355001, 0.010062295, 0.0094634425, 0.0041092304, 0.022961259, 0.015719874, 0.013765724, -0.018123163, 0.011094527, -0.02274063, -0.040154625, 0.024600225, -0.011094527, -0.008494248, -0.008588803, 0.023355242, -0.006165815, 0.012394668, 0.013931196, -0.0065440377, -0.050366633, 0.001885203, 0.020691924, -0.01581443, -0.009621035, 0.002860308, -0.019399663, -0.03158158, -0.024080168, 0.027815115, 0.006165815, 0.011496389, -0.026160391, -0.023497075, -0.0039969455, 0.009250693, 0.025640335, -0.023922576, 0.033220544, -0.007324122, -0.0038590517, 0.022646073, 0.0112048425, -0.0066346535, -0.0034611302, 0.0105350735, 0.024127446, 0.020865276, -0.017650384, 0.0363724, 0.027090188, 0.029532876, 0.012237075, 0.0059057875, -0.016263569, 0.028934024, -0.022409685, 0.0028504583, -0.039019957, 0.0070837927, 0.03177069, -0.015987782, 0.016216291, -0.0012833957, -0.008817313, 0.005472407, 0.01060599, 0.012481344, 0.0009987439, 0.034607362, -0.014262142, 0.0011425472, -0.017587347, 0.00063578814, -0.023875298, 0.0038295032, 0.029769266, -0.0046608048, 0.06637806, 0.003612813, -0.0212435, 0.044252038, 0.009171897, -0.0054211896, -0.015711995, 0.00007879636, 0.014120308, -0.028019985, -0.008643961, -0.008147543, -0.010684786, -0.0076787053, -0.0090931, 0.021464128, 0.03210164, -0.0038137438, 0.04110018, 0.021495648, 0.01667331, 0.01387604, -0.032306507, -0.010802981, 0.005236018, -0.008840952, 0.0105350735, 0.012615297, -0.0142857805, 0.021322295, 0.000260028, 0.005886088, 0.0009972665, -0.00908522, 0.021401092, 0.030446913, -0.029075857, -0.009022184, 0.020502813, -0.0035891742, 0.008462729, -0.02318189, -0.016815143, -0.03181797, 0.0025352729, -0.047309335, 0.02229937, -0.008273618, 0.006646473, -0.03766466, 0.051438265, 0.04207726, 0.018343793, -0.030777859, -0.004999629, -0.00389648, 0.0073083625, -0.025435464, -0.019115997, 0.013497816, -0.05739527, -0.011149685, -0.020392498, -0.019399663, -0.0013562824, -0.021889629, -0.009030063, 0.02100711, -0.016310846, 0.0042077256, -0.004188027, -0.01774494, 0.002491935, 0.019194793, -0.021117425, 0.0016389643, 0.030620266, -0.01755583, -0.03397699, -0.03419762, 0.015688356, -0.03073058, -0.016184773, -0.003441431, -0.013600252, 0.009045823, -0.012528622, -0.022551518, -0.012016445, -0.00031272304, 0.030068692, 0.010976333, -0.016562995, 0.0065519176, -0.005957005, -0.047340855, 0.0142857805, 0.039082997, -0.014900392, -0.013773604, 0.031912528, 0.015743513, -0.011196963, 0.0076944646, 0.021858111, 0.008714877, -0.013655409, 0.008974905, 0.0125443805, 0.023292204, -0.0052281385, -0.008730637, 0.016263569, 0.006784367, 0.031550065, 0.042991295, 0.00077565166, 0.0007943658, 0.0059373057, 0.002618009, 0.019604534, 0.007820539, 0.0034985584, -0.012276473, 0.0015897165, 0.002618009, -0.014128188, -0.017193366, 0.013237788, 0.010298684, 0.007930853, -0.0039260285, -0.007773261, 0.016626032, -0.010196249, -0.008525766, 0.040406775, 0.025246354, 0.013907557, -0.009628915, 0.025530022, -0.008084507, -0.011945528, 0.041226257, -0.021180462, -0.05090245, 0.023008537, -0.011401833, -0.0002371278, -0.0032621694, 0.015908984, 0.0062682503, 0.0064140237, 0.008068748, 0.008186942, -0.00039669042, 0.02882371, 0.008809433, 0.0073438208, 0.0055827224, 0.0012410426, 0.03397699, -0.01794981, -0.02512028, -0.037790734, -0.022126019, -0.0047514206, 0.015404688, 0.012205556, -0.017209126, 0.038893882, -0.023213407, 0.016263569, 0.017681904, -0.025719132, -0.001214449, 0.026522854, -0.016610272, -0.005157222, -0.025876725, -0.022630315, -0.02772056, -0.035174694, -0.013198391, -0.015184059, 0.0039969455, -0.0124025475, -0.0064179637, -0.036656067, 0.00040629372, 0.004704143, -0.0037664662, 0.014088789, 0.013584493 ]
2310.12397
33
# A.2 Backprompts Backprompt Generated From Self-Critique This is incorrect. Feedback: Vertices 0 and 3 share an edge and are both colored with Colori. Vertices 9 and 11 share an edge <>» and are both colored with Color3. Using this feedback, please try again. Please provide each vertex's color. Do not skip any <> vertices. Each color must be provided on a new line in the response and should be formatted as <> "{VERTEX NUMBER}: {VERTEX COLOR ASSIGNMENT}". Please do not provide anything else in your <> response. # Backprompt Generated From Sound Verifier (Pass/Fail) This is not correct. Using the previously provided graph, please provide a correct coloring. <> Please provide each vertex's color. Do not skip any vertices. Each color must be provided <> new line in the response and should be formatted as "{VERTEX NUMBER}: {VERTEX COLOR <> ASSIGNMENT}". Please do not provide anything else in your response. Please provide each vertex's color. Do not skip any vertices. Each color must be provided on a new line in the response and should be formatted as "{VERTEX NUMBER}: {VERTEX COLOR ASSIGNMENT}". Please do not provide anything else in your response. Backprompt Generated From Sound Verifier (First)
2310.12397#33
GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems
There has been considerable divergence of opinion on the reasoning abilities of Large Language Models (LLMs). While the initial optimism that reasoning might emerge automatically with scale has been tempered thanks to a slew of counterexamples, a wide spread belief in their iterative self-critique capabilities persists. In this paper, we set out to systematically investigate the effectiveness of iterative prompting of LLMs in the context of Graph Coloring, a canonical NP-complete reasoning problem that is related to propositional satisfiability as well as practical problems like scheduling and allocation. We present a principled empirical study of the performance of GPT4 in solving graph coloring instances or verifying the correctness of candidate colorings. In iterative modes, we experiment with the model critiquing its own answers and an external correct reasoner verifying proposed solutions. In both cases, we analyze whether the content of the criticisms actually affects bottom line performance. The study seems to indicate that (i) LLMs are bad at solving graph coloring instances (ii) they are no better at verifying a solution--and thus are not effective in iterative modes with LLMs critiquing LLM-generated solutions (iii) the correctness and content of the criticisms--whether by LLMs or external solvers--seems largely irrelevant to the performance of iterative prompting. We show that the observed increase in effectiveness is largely due to the correct solution being fortuitously present in the top-k completions of the prompt (and being recognized as such by an external verifier). Our results thus call into question claims about the self-critiquing capabilities of state of the art LLMs.
http://arxiv.org/pdf/2310.12397
Kaya Stechly, Matthew Marquez, Subbarao Kambhampati
cs.AI
18 pages, 3 figures
null
cs.AI
20231019
20231019
[ { "id": "2206.10498" }, { "id": "2306.03872" }, { "id": "2303.11366" } ]
{ "authors": "Kaya Stechly, Matthew Marquez, Subbarao Kambhampati", "chunk_id": 33, "doc_id": "2310.12397", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12397", "summary": "There has been considerable divergence of opinion on the reasoning abilities\nof Large Language Models (LLMs). While the initial optimism that reasoning\nmight emerge automatically with scale has been tempered thanks to a slew of\ncounterexamples, a wide spread belief in their iterative self-critique\ncapabilities persists. In this paper, we set out to systematically investigate\nthe effectiveness of iterative prompting of LLMs in the context of Graph\nColoring, a canonical NP-complete reasoning problem that is related to\npropositional satisfiability as well as practical problems like scheduling and\nallocation. We present a principled empirical study of the performance of GPT4\nin solving graph coloring instances or verifying the correctness of candidate\ncolorings. In iterative modes, we experiment with the model critiquing its own\nanswers and an external correct reasoner verifying proposed solutions. In both\ncases, we analyze whether the content of the criticisms actually affects bottom\nline performance. The study seems to indicate that (i) LLMs are bad at solving\ngraph coloring instances (ii) they are no better at verifying a solution--and\nthus are not effective in iterative modes with LLMs critiquing LLM-generated\nsolutions (iii) the correctness and content of the criticisms--whether by LLMs\nor external solvers--seems largely irrelevant to the performance of iterative\nprompting. We show that the observed increase in effectiveness is largely due\nto the correct solution being fortuitously present in the top-k completions of\nthe prompt (and being recognized as such by an external verifier). Our results\nthus call into question claims about the self-critiquing capabilities of state\nof the art LLMs.", "text": "# A.2 Backprompts\nBackprompt Generated From Self-Critique This is incorrect. Feedback: Vertices 0 and 3 share an edge and are both colored with Colori. Vertices 9 and 11 share an edge <>» and are both colored with Color3. Using this feedback, please try again. Please provide each vertex's color. Do not skip any <> vertices. Each color must be provided on a new line in the response and should be formatted as <> \"{VERTEX NUMBER}: {VERTEX COLOR ASSIGNMENT}\". Please do not provide anything else in your <> response.\n# Backprompt Generated From Sound Verifier (Pass/Fail)\nThis is not correct. Using the previously provided graph, please provide a correct coloring. <> Please provide each vertex's color. Do not skip any vertices. Each color must be provided <> new line in the response and should be formatted as \"{VERTEX NUMBER}: {VERTEX COLOR <> ASSIGNMENT}\". Please do not provide anything else in your response.\nPlease provide each vertex's color. Do not skip any vertices. Each color must be provided on a new line in the response and should be formatted as \"{VERTEX NUMBER}: {VERTEX COLOR ASSIGNMENT}\". Please do not provide anything else in your response.\nBackprompt Generated From Sound Verifier (First)", "title": "GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems", "year": 2023 }
[ 0.021218458, -0.005127558, 0.019632032, -0.012450618, -0.0018697174, 0.011119152, 0.018088099, -0.03702607, 0.024235504, 0.07932134, 0.03407985, 0.01001432, -0.0027550003, -0.010552571, 0.016204217, 0.0055312472, 0.038527507, -0.03141692, -0.011699898, 0.020609384, -0.006986652, -0.04801774, 0.019150438, 0.053881854, 0.008257918, 0.017663164, 0.037139386, -0.026147714, 0.03515635, -0.012160245, -0.023173163, -0.027082572, -0.020736866, -0.05762129, -0.039915632, 0.041643705, -0.021544242, 0.012925129, 0.005364814, 0.0056728926, 0.029660515, 0.009426491, 0.024150515, -0.035496302, 0.008024204, 0.030170439, -0.021770876, -0.032975014, -0.021544242, 0.007085804, -0.047847766, 0.0575363, 0.052975327, 0.023470618, -0.03102031, 0.004394544, -0.038300876, -0.024830412, 0.020609384, -0.01927792, 0.051813833, -0.0124577, -0.025552804, 0.022861544, -0.009610631, -0.010984589, -0.0056728926, -0.0053294026, 0.077055015, 0.03433481, -0.0007772783, 0.05875445, 0.015935091, -0.014532803, -0.058414504, 0.02031193, 0.062323913, -0.009320258, 0.017804809, -0.019660361, -0.00873243, 0.033938203, 0.008987391, -0.0597743, -0.011374114, -0.027436685, -0.059604324, -0.028215734, -0.04770612, -0.046884578, -0.0034047978, -0.011388279, -0.047111213, 0.032550078, 0.016572494, 0.01505689, -0.012068176, 0.0021795663, -0.0024203632, 0.010927931, 0.0045149424, -0.03189851, -0.05852782, -0.0036261184, 0.033258304, 0.020340258, 0.03161522, 0.028031595, -0.004203323, -0.005170052, -0.062097277, -0.0029586153, 0.022918202, -0.021204295, 0.007585103, 0.006940617, -0.05640314, -0.061870646, 0.002462857, -0.06408031, 0.011296209, 0.00932734, 0.0033268929, -0.036487818, 0.0041608294, 0.0019954275, 0.07082263, -0.038697485, -0.04626134, 0.0005302844, 0.03798926, -0.022592418, 0.012160245, 0.03164355, -0.053258616, 0.020892674, -0.031955168, 0.0035411313, -0.0008609376, 0.014185772, -0.016827457, 0.011699898, -0.014320335, -0.0235981, 0.0430035, 0.020538561, -0.038725812, 0.059547666, 0.006614833, 0.041587047, -0.004373297, 0.07201245, -0.056289826, 0.026940927, 0.005198381, -0.083740674, 0.04781944, -0.0033233517, -0.04396669, -0.0008724462, 0.020042803, -0.05461841, 0.03781928, -0.030255426, 0.0073797177, -0.037451006, -0.046487972, 0.020056969, -0.04949085, -0.013392558, 0.0038031752, -0.034448124, -0.02791828, -0.06289049, 0.024617946, -0.0127834845, -0.014426569, -0.045779746, 0.005779126, -0.012415206, 0.018725503, 0.0632871, 0.04172869, -0.0041856174, -0.0024841037, -0.0015510155, 0.0016970872, -0.002241536, -0.0028630048, -0.0145894615, -0.0038633742, -0.009029885, 0.02031193, 0.004344968, -0.03640283, -0.10362767, 0.058471162, -0.038839128, -0.008279165, -0.0042139464, -0.032380104, 0.0022061248, 0.016218381, -0.066629924, -0.012436453, -0.015920926, -0.021515913, -0.04781944, 0.0065156817, -0.021884192, 0.032408435, -0.0027744763, -0.0076984195, 0.04269188, -0.055439953, 0.0018608646, -0.03345661, 0.030510388, -0.006278426, 0.04000062, -0.048442677, 0.04028391, 0.051218923, -0.009022803, 0.014504474, 0.05696972, 0.046204682, -0.036884423, 0.0033676159, 0.022989025, 0.013236749, -0.023895554, -0.036091212, -0.040198922, -0.0202836, -0.038839128, 0.035043035, 0.022705734, -0.0039412794, -0.0038315041, -0.00020815212, -0.019235425, 0.032606736, -0.01139536, 0.03192684, -0.00081357494, -0.03886746, -0.009993073, 0.022776557, 0.02985882, -0.0050779823, 0.022875708, -0.03430648, -0.017507354, -0.026728459, -0.02222414, 0.0057012215, 0.0042776866, -0.0067812665, -0.045128178, -0.026530156, -0.031161956, -0.06022756, 0.017408201, -0.016034244, 0.029008947, 0.024858743, 0.009723946, -0.0078259, -0.018767996, -0.049774144, 0.022946531, 0.08017121, -0.01906545, -0.00040656613, -0.010446337, 0.0041325004, 0.03858417, 0.035128023, 0.024844578, -0.0016616759, 0.0086828545, 0.008810335, 0.027620824, -0.021884192, -0.008789088, -0.05187049, 0.03674278, 0.017818972, -0.025255349, -0.00313036, -0.03252175, -0.010857109, 0.027691647, -0.012634757, -0.023173163, -0.01342797, -0.0054037664, 0.020595219, 0.012578098, 0.046941236, 0.017124912, -0.004861973, 0.042663552, -0.020765195, -0.006951241, 0.023371467, 0.035297997, -0.025566969, -0.026827611, -0.0211618, -0.0047486573, -0.015580978, 0.0055843643, -0.01953288, -0.08068114, 0.061077435, 0.01943373, 0.027960774, -0.013463382, -0.02788995, -0.029830491, 0.045694757, -0.0057366327, -0.014277842, 0.025000388, -0.016416686, 0.0076346793, 0.019589538, -0.014646119, -0.034703087, -0.061870646, 0.010680052, 0.039349053, 0.026445169, -0.012422289, -0.0098585095, 0.015821775, -0.0025142033, 0.011806132, -0.07790489, -0.028612342, 0.030765349, 0.0019369988, -0.06464689, -0.015156042, -0.025170362, 0.033201646, 0.012025682, 0.024518793, -0.001308448, -0.0049292548, 0.049717486, -0.008335823, 0.047621135, 0.0010348957, -0.035043035, 0.0029586153, -0.047621135, 0.046063036, 0.0062678023, 0.0074009644, -0.015184371, 0.005233792, -0.005658728, 0.043201804, -0.003502179, 0.0049150903, 0.037960928, -0.0044653667, -0.0390091, 0.019986145, -0.030963652, -0.0014093702, -0.03405152, -0.03495805, -0.009136119, 0.0071070506, 0.005963265, 0.010835862, -0.02504288, -0.036856096, -0.016671646, -0.008456222, 0.019674527, -0.028683163, 0.037705965, -0.012762237, -0.0734289, -0.0014394699, 0.0076417616, -0.006529846, -0.008038368, 0.043400105, 0.08130438, 0.034249824, 0.012889718, 0.052408744, 0.055723242, 0.033513267, 0.027861621, -0.0150002325, -0.046742935, 0.045241494, -0.025850259, -0.0266718, 0.022450773, 0.0033127284, 0.017946454, -0.00945482, 0.037082728, -0.052437074, -0.0072664013, -0.027422521, -0.0011287356, -0.029943807, 0.06476021, -0.009270682, -0.0069370763, 0.037054397, -0.017861467, 0.006172192, -0.017705657, -0.036827765, -0.026374346, 0.025312006, -0.036261186, -0.0078896405, 0.044589926, -0.06277718, -0.033144988, 0.027082572, 0.053598564, 0.032040156, 0.012025682, -0.026841776, -0.025212856, -0.01762067, 0.02012779, -0.007064557, 0.004699081, -0.042890184, 0.0038421275, -0.006575881, -0.012882636, 0.009405245, 0.007393882, -0.016813291, 0.0010605688, -0.037082728, -0.005580823, 0.036232855, -0.011721144, 0.031671878, 0.03289003, -0.014674448, 0.044816557, 0.028187405, 0.0023477701, -0.010899602, -0.0025620086, 0.0033268929, -0.002462857, 0.018513035, -0.015297688, 0.014107867, -0.045553114, 0.029802162, 0.047026224, -0.0007449655, -0.03289003, 0.015736789, 0.044363294, -0.018697174, -0.023243986, -0.010602147, -0.0319835, 0.029462213, 0.02388139, 0.024334654, 0.017691493, -0.044816557, -0.002776247, 0.011983189, 0.026615143, 0.080454506, -0.013059692, -0.026685966, -0.015425168, 0.0030825548, -0.023583936, -0.007790489, -0.010623394, -0.017323215, 0.013994551, 0.029688844, 0.011671569, 0.040737174, 0.029405555, -0.040708847, -0.031105299, 0.017719822, -0.020680208, 0.08000124, 0.044589926, 0.0025779437, 0.022847379, 0.0043768384, -0.036912754, 0.02191252, 0.024462136, 0.0022592419, 0.004769904, -0.032975014, -0.020141955, 0.030425401, -0.017918125, 0.018824654, -0.03138859, 0.017266557, -0.0070716394, -0.017946454, -0.0055631176, -0.04507152, 0.0007409817, -0.039122418, 0.018413883, -0.055978205, -0.014185772, -0.014816093, 0.017351544, -0.032323446, 0.006866254, 0.0047840686, -0.029632187, 0.021020155, -0.009674371, -0.027096737, 0.00018668402, -0.029972136, 0.007655926, 0.015680129, -0.014086621, 0.015920926, -0.002037921, 0.0013057921, 0.019348742, -0.009660207, 0.0014722254, 0.047337845, -0.004660129, -0.022549924, -0.013470463, -0.021572571, -0.004500778, 0.015892597, -0.020793524, -0.022634912, 0.0050036185, -0.0033888626, 0.017167404, 0.0194054, 0.02892396, 0.003990855, -0.020637713, 0.03436314, 0.03311666, 0.027748305, -0.0033853215, 0.017039925, 0.01777648, -0.02281905, 0.00048336442, 0.0031498363, 0.006087205, -0.04416499, -0.024405478, 0.015510155, -0.0040227254, -0.0063527897, -0.019207096, -0.017479025, 0.021714218, 0.045694757, -0.054136816, 0.02763499, -0.0140441265, 0.000064625645, -0.0106517235, -0.004369756, -0.023612265, 0.008789088, -0.005580823, 0.016544165, 0.01987283, -0.010637559, 0.004564518, -0.004210405, 0.004900926, -0.0026328312, 0.021175966, 0.024235504, 0.006172192, -0.021870026, 0.012500194, 0.052182112, 0.028796481, 0.03039707, 0.04419332, 0.023017354, -0.02444797, 0.014306171, 0.014986068, -0.0000014178358, 0.014830258, -0.0118840365, -0.008059615, 0.0066360803, 0.017209899, -0.029802162, 0.00941941, 0.04175702, 0.01803144, 0.010984589, -0.012273561, 0.012542687, 0.0032436764, -0.026657637, 0.0102976095, 0.012358548, -0.04382504, -0.016232546, 0.027932445, 0.0012216903, -0.03614787, 0.021515913, 0.046318, 0.0026469957, -0.014646119, -0.024093857, 0.017549846, -0.020269437, 0.0108146155, -0.028159076, 0.005860572, -0.02062355, 0.0052975323, 0.043400105, -0.039717328, -0.025807764, -0.0405672, -0.036771107, 0.017634833, -0.009759358, -0.0013952057, -0.010850026, -0.010198458, -0.010085142, -0.04351342, -0.013874153, -0.009249435, -0.002213207, 0.014157443, -0.028116584, -0.011544088, 0.015326017, -0.044589926, 0.0032826287, -0.0045857653, 0.00075071986, -0.019136274, 0.02660098, 0.050624013, -0.004316639, -0.0055418704, -0.022266634, -0.008002956, -0.017549846, -0.0044582845, -0.02075103, 0.008434975, -0.030425401, -0.043400105, 0.010701299, 0.022507431, 0.017705657, 0.023583936, 0.0071530854, 0.012386877, -0.027875787, -0.008031286, 0.0211618, 0.013994551, 0.016954936, 0.0035942483, 0.0029320568, -0.019986145, -0.008052533, -0.016685812, -0.08595034, -0.017408201, -0.010935013, 0.04447661, -0.013725425, 0.008180014, -0.037564322, 0.0018661763, 0.03878247, 0.060397536, -0.030595375, -0.002091038, 0.02375391, -0.06538345, 0.022875708, -0.008994474, -0.017422367, 0.0065369285, -0.016685812, 0.009001556, -0.025991904, -0.0001267061, 0.011289127, -0.018357225, -0.01192653, 0.00092512055, -0.0034101096, -0.009879757, 0.004316639, 0.02704008, 0.007549692, -0.019462058, 0.03184185, 0.005393143, 0.0147736, -0.0036296595, 0.038952444, -0.029122265, 0.010609229, -0.0031533774, -0.006614833, -0.0074717873, -0.008633278, 0.028003266, -0.0019015876, 0.006685656, 0.03456144, -0.027776634, 0.009709782, -0.059207715, 0.018428048, 0.015439332, 0.013456299, -0.017365709, -0.006976029, 0.010347186, 0.01117581, 0.0124293715, -0.03141692, -0.0010658805, 0.005042571, -0.012146081, 0.011345785, -0.0388108, -0.00033618615, -0.010226787, 0.008803252, 0.008427893, -0.028428202, 0.007875476, -0.014716942, 0.017677328, -0.022450773, 0.030198768, 0.000980008, 0.030906994, -0.028654834, -0.021671724, -0.0081375195, -0.022804886, 0.0026523073, 0.016048407, 0.019207096, -0.03546797, -0.02341396, -0.0076984195, 0.023923883, -0.0011101447, 0.0154110035, -0.016473344, -0.01890964, -0.06561008, -0.036629464, -0.023243986, -0.03490139, -0.0010649953, -0.016360028, -0.013746672, -0.106177285, 0.0004638882, 0.048187714, -0.029377226, -0.028414037, 0.03345661, 0.025991904, -0.03546797, 0.010566736, 0.0006466991, -0.01805977, 0.022365786, -0.020056969, -0.027054243, 0.004985913, -0.03280504, 0.033626582, 0.006469647, -0.0033658454, -0.007861312, -0.00031648861, -0.007252237, 0.016090902, -0.0016519377, -0.02237995, 0.010545489, -0.030652033, -0.026728459, 0.009490232, 0.013371312, 0.0118840365, 0.028003266, 0.0124577, 0.02670013, -0.013371312, -0.025255349, 0.0019476223, 0.0030506847, 0.014915246, 0.0058641136, 0.0020166743, -0.03974566, -0.005279827, -0.025057046, 0.03640283, -0.011296209, 0.026346017, 0.012110669, 0.025906917, 0.0038350453, -0.012146081, 0.015949255, -0.015283523, -0.022620747, -0.0099151675, 0.043485094, 0.004259981, -0.040227253, -0.03164355, 0.014787764, 0.009029885, 0.014830258, 0.007974627, -0.020850182, 0.010276363, -0.046884578, -0.034533113, 0.02075103, -0.011600746, 0.023229823, 0.015736789, 0.022889873, -0.045014862, -0.042181958, -0.01164324, 0.003252529, 0.013697096, -0.018116428, -0.011529923, 0.033853214, -0.0039483616, 0.026515992, 0.021048484, 0.029462213, -0.022365786, -0.0071247565, 0.0047946917, -0.027578332, 0.0015138336, 0.04988746, -0.006143863, -0.027096737, -0.015949255, -0.0078259, -0.025878588, 0.030368742, 0.029915478, -0.025297843, 0.013144679, 0.004635341, 0.0067352317, 0.006784808, -0.0262327, -0.051303912, -0.03376823, -0.037507664, 0.004536189, 0.026544321, -0.044533268, 0.014419487, 0.012804731, -0.027960774, 0.021629231, 0.017804809, -0.04770612, 0.021714218, 0.022776557, -0.058641136, 0.013626274, -0.015198535, 0.024518793, 0.039830644, -0.008689936, -0.034986377, -0.029292239, 0.007868394, 0.004699081, -0.025623627, -0.029688844, 0.018952135, 0.024122186, 0.0006466991, -0.017648999, -0.015793446, 0.020014474, -0.024306325, -0.032068487, -0.007832983, -0.018229743, -0.0047946917, 0.0050284066, 0.016954936, 0.03552463, -0.032436762, -0.027408356, -0.02563779, 0.012089422, 0.017733986, 0.010970425, 0.009320258, 0.006788349, 0.0034720793, -0.041388743, 0.022649076, 0.023527276, 0.04093548, 0.014858587, -0.023654757, -0.000039865394, 0.013378394, 0.0060234643, 0.0222808, -0.055326637, -0.011983189, -0.019320413, -0.0070503927, 0.018796325, 0.017946454, 0.026969256, 0.019022958, -0.036572803, -0.015793446, 0.031161956, 0.007415129, -0.010687134, 0.053570233, 0.0009552202, -0.02002864, 0.009221106, 0.022620747, -0.006579422, 0.019886993, -0.014150361, 0.034986377, 0.019589538, -0.0055100005, 0.052946996, -0.013180091, -0.0066750324, -0.0072664013, 0.035326328, 0.0043414272, 0.013371312, 0.008413728, 0.04450494, 0.0064484, 0.016218381, 0.012266479, 0.009242353, 0.00015348592, -0.0090652965, 0.010127636, -0.025595298, -0.017054088, -0.0120186, 0.028031595, -0.042011984, -0.021459255, -0.035128023, 0.0194054, -0.03257841, 0.011296209, -0.024292162, 0.006090746, -0.04357008, -0.005641022, -0.005488754, -0.0072805663, -0.019348742, 0.0018838819, -0.00041298443, -0.0277908, -0.04988746, 0.03345661, 0.0013854676, -0.014447816, 0.016374191, -0.03640283, -0.0055100005, 0.0016838079, 0.003114425, -0.00020394703, -0.011459101, -0.032323446, -0.025411159, 0.020524397, -0.004936337, -0.024065528, -0.008895322, 0.009129036, 0.0102976095, 0.015156042, -0.0037394348, 0.009950579, 0.0024522336, -0.024887072, 0.033598255, -0.013590862, -0.026048562, 0.004394544, -0.042663552, -0.014830258, 0.020141955, -0.033314962, 0.027932445, -0.03221013, 0.009072378, 0.037762623, 0.00919986, 0.031785194, 0.00048779085, 0.0055170828, 0.0118273785, -0.038102575, -0.0147736, 0.024136351, -0.0590944, 0.0028346756, -0.012875553, 0.028258229, 0.0005227595, -0.020850182, 0.017705657, 0.024731262, -0.0039873137, -0.011784885, -0.009341504, -0.036572803, 0.010885438, -0.039604012, -0.009029885, -0.0016103295, 0.018116428, 0.008024204, -0.005577282, -0.0059951353, -0.036289513, -0.044533268, 0.006650245, 0.036204528, 0.039037433, -0.04209697, -0.002168943, -0.01968869, 0.048471007, -0.011296209, -0.0027992644, 0.03762098, 0.014058292, -0.029745502, -0.007521363, 0.028980618, 0.044363294, -0.012464782, 0.027521674, 0.021416763, 0.01179905, -0.0059455596, 0.011104988, 0.02388139, 0.02882481, 0.0061934385, -0.004741575, -0.000917153, -0.0047026225, -0.0047026225, 0.020255271, -0.009114872, -0.02729504, 0.032380104, -0.009879757, -0.0047592805, 0.035382986, 0.017294886, 0.0015563272, 0.0064802705, -0.025057046, 0.010807533, 0.021530079, -0.0028470696, -0.012181492, 0.02582193, 0.01862635, -0.024674604, -0.009440656, 0.011374114, -0.043995015, 0.011898201, 0.006551093, -0.020694371, -0.012280644, 0.0021175966, -0.0088457465, -0.0049115494, -0.014001633, 0.004500778, 0.004801774, -0.013420888, -0.033314962, -0.02043941, 0.083967306, -0.017804809, 0.012195656, -0.0011526382, 0.019816171, 0.006168651, 0.0029409095, 0.057734605, 0.017918125, 0.00010252682, -0.02788995, 0.016756633, 0.0023548524, -0.0018962758, 0.046714604, 0.0065085995, 0.004773445, 0.0014067144, 0.04841435, 0.0020697913, 0.033541597, 0.020765195, 0.02416468, 0.018258072, -0.005209004, -0.016034244, 0.042550236, 0.017578175, 0.027691647, 0.037167713, 0.019164603, 0.0015598683, 0.023258151, 0.003302105, -0.026827611, -0.0105809, -0.02988715, 0.0033074166, 0.0010959802, -0.030000465, -0.026034398, 0.0004306901, -0.00888824, -0.01924959, 0.024221338, 0.0046424232, 0.00030719314, 0.016218381, -0.007953381, -0.0053471085, 0.025057046, 0.015524319, -0.03427815, -0.0099151675, 0.004716787, -0.052380417, 0.014235348, 0.023116505, 0.040170595, 0.011508677, -0.029915478, 0.01865468, 0.0017687951, 0.0008109191, 0.00086624926, 0.0100780595, -0.0052939914, 0.015113548, -0.05937769, 0.00697957, -0.01417869, -0.02522702, 0.007946298, 0.024136351, -0.026586814, -0.001051716, 0.01805977, 0.011459101, 0.016884115, -0.0062182266, -0.002523056, -0.044051673, -0.0018644057, -0.017733986, 0.012818895, 0.025396993, 0.012882636, -0.024235504, -0.010708381, -0.033598255, 0.022153318, 0.023173163, 0.0076346793, -0.013534204, -0.0295472, -0.0062961318, -0.004529107, 0.0031339012, -0.0145894615, 0.0020432328, 0.022705734, -0.0003313171, -0.0012314285, 0.017450696, -0.018697174, -0.011289127, -0.041275427, -0.01402288, 0.00932734, 0.05699805, 0.030680362, -0.029745502, 0.005679975, -0.015850104, -0.010595065, 0.010821697, -0.0029409095, -0.009299011, -0.004008561, -0.022776557, 0.026714295, -0.004936337, 0.025836095, -0.03396653, 0.014051209, 0.010821697, 0.011083741, 0.015170206, -0.0068273013, -0.0042776866, -0.017748151, 0.004890302, 0.0421253, 0.02895229, 0.001536851, -0.002845299, -0.0036048717, -0.0052160863, -0.011515759, -0.0020662502, -0.048952598, 0.035949565, -0.008519962, -0.0016846933, 0.020666042, 0.011572417, 0.0025903375, -0.0074788695, -0.01492941, -0.0021955015, -0.014702777, 0.0038208808, -0.012061093, 0.008272083, -0.02670013, 0.0036898588, 0.0048371856, 0.00954689, -0.016360028, -0.028739821, 0.013392558, -0.022323292, -0.00029347127, 0.0016970872, 0.012627674, 0.02660098, -0.006940617, -0.018952135, -0.009985991, -0.010375515, 0.013491711, 0.02460378, -0.006143863, 0.0069477, -0.03433481, 0.0009587613, 0.012910965, 0.0211618, -0.044901546, -0.005042571, 0.004231652, -0.056828074, -0.008803252, -0.001192476, -0.013690013, -0.0132225845, 0.004483072, -0.018824654, -0.0060553346, -0.0379326, 0.042578563, -0.054561753, -0.034703087, 0.0207227, -0.008810335, 0.00024146089, -0.0057932907, 0.006876877, 0.014872751, 0.022294963, 0.009624795, -0.030878665, 0.019164603, 0.04028391, -0.017365709, -0.004529107, 0.0039448203, -0.013378394, 0.01549599, 0.0033853215, 0.012415206, -0.020821853, -0.022294963, 0.025368664, 0.008456222, 0.03467476, 0.017918125, 0.014100785, 0.013888317, 0.01402288, -0.019022958, 0.021459255, -0.00085297, -0.013342983, -0.023938049, -0.0049292548, 0.02178504, -0.0074363756, -0.05408016, 0.02419301, -0.035382986, 0.011997353, -0.043371778, 0.015665965, 0.016657481, 0.0012748073, -0.020949334, 0.011629076, -0.021671724, 0.0084916325, -0.004097089, 0.033796556, -0.023768073, -0.023300644, -0.0533436, 0.03048206, 0.01208234, 0.033144988, -0.015750952, 0.023343138, -0.0028382167, 0.019518716, -0.01311635, -0.0046955403, 0.0017174487, -0.024561288, 0.029660515, -0.03317332, 0.012436453, -0.0005152346, -0.015269359, -0.015326017, 0.000491332, -0.009334423, -0.010212623, 0.0005139067, -0.019943653, 0.0027213595, 0.01104833, -0.024646275, -0.0025867964, 0.0066360803, -0.023527276, 0.026714295, -0.009794769, -0.0067175264, -0.0077338307, -0.0015873121, -0.005046112, -0.009440656, 0.028130747, 0.004118336, -0.038612496, -0.0025177444, 0.0076346793, 0.022507431, -0.027351698, 0.0120752575, -0.02281905, -0.029377226, 0.027620824, -0.020991826, 0.012379795, 0.023059847, -0.0035942483, -0.008937815, -0.018513035, -0.017422367, 0.016260875, -0.021303447, -0.026147714, -0.030340413, 0.029122265, 0.0078259, 0.014221184, 0.010028484, -0.034136508, 0.007457623, 0.007925052, -0.02341396, 0.028428202, 0.016218381, -0.0016182971, 0.00851288, 0.015212701, -0.00941941, -0.019476222, 0.008095026, -0.043853372, 0.019674527, -0.017124912, 0.015184371, 0.007337224, -0.0027992644, 0.023711415, -0.0063988245, -0.027932445, 0.0029568446, 0.011189975, -0.0319835, 0.032691725, -0.0014713401, 0.001514719, -0.007259319, 0.021558408, -0.024844578, -0.03342828, 0.0050496534, 0.007868394, -0.000012310965, 0.015566814, -0.0064625647, 0.0065085995, 0.012953458, -0.0016537083, 0.030368742, 0.024972059, -0.00029745503, 0.0039873137, -0.0027107361, 0.0008436745, 0.011728227, -0.012762237, 0.017946454, -0.009553973, 0.009745194, 0.015099384, 0.011933613, -0.008739512, 0.02704008, -0.02341396, -0.03436314, 0.020666042, -0.02056689, -0.024986222, 0.015722623, -0.008151684, -0.03490139, 0.0008166734, -0.035014708, -0.00017052761, 0.019221261, 0.015226865, -0.015935091, -0.014731106, -0.021289282, -0.045524783, -0.029632187, -0.009433574, -0.018725503, 0.03611954, 0.008243754, 0.0040687597, -0.034221493, 0.031501904, -0.006412989, -0.027804963, 0.008307494, -0.018640516 ]
2310.12773
33
Meanwhile, our crowdworkers also labeled whether the models’ responses are safe, as shown in Figure 5c. Through three rounds of Safe RLHF training, the Beaver-v3 model’s probability of harmful responses on the evaluation set decreased from 53.08% for Alpaca-7B to 2.45%. For the specific prompts used in the GPT-4 evaluation, please refer to Appendix C.2. 4.2.2 THE DECOUPLING OF HARMLESSNESS AND HELPFULNESS In this section, we aim to demonstrate the benefits of explicitly separating harmlessness and helpful- ness in the Safe RLHF pipeline. We use the responses collected from the first round of Safe RLHF to carry out preference labeling and PPO training following the conventional RLHF methodology. During the preference labeling, the difference is that only a comprehensive preference is provided, while other aspects align with Safe RLHF.
2310.12773#33
Safe RLHF: Safe Reinforcement Learning from Human Feedback
With the development of large language models (LLMs), striking a balance between the performance and safety of AI systems has never been more critical. However, the inherent tension between the objectives of helpfulness and harmlessness presents a significant challenge during LLM training. To address this issue, we propose Safe Reinforcement Learning from Human Feedback (Safe RLHF), a novel algorithm for human value alignment. Safe RLHF explicitly decouples human preferences regarding helpfulness and harmlessness, effectively avoiding the crowdworkers' confusion about the tension and allowing us to train separate reward and cost models. We formalize the safety concern of LLMs as an optimization task of maximizing the reward function while satisfying specified cost constraints. Leveraging the Lagrangian method to solve this constrained problem, Safe RLHF dynamically adjusts the balance between the two objectives during fine-tuning. Through a three-round fine-tuning using Safe RLHF, we demonstrate a superior ability to mitigate harmful responses while enhancing model performance compared to existing value-aligned algorithms. Experimentally, we fine-tuned the Alpaca-7B using Safe RLHF and aligned it with collected human preferences, significantly improving its helpfulness and harmlessness according to human evaluations.
http://arxiv.org/pdf/2310.12773
Josef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji, Xinbo Xu, Mickel Liu, Yizhou Wang, Yaodong Yang
cs.AI, cs.LG
null
null
cs.AI
20231019
20231019
[ { "id": "2302.13971" }, { "id": "2304.05302" }, { "id": "1707.06347" }, { "id": "2305.18290" }, { "id": "2305.10403" }, { "id": "2305.03047" }, { "id": "2211.05100" }, { "id": "2110.08207" }, { "id": "2304.05335" }, { "id": "2107.03374" }, { "id": "2105.04054" }, { "id": "2209.07858" }, { "id": "2305.15324" }, { "id": "2307.09288" }, { "id": "2210.11416" }, { "id": "2212.08073" }, { "id": "2307.12950" }, { "id": "2009.11462" }, { "id": "2307.04657" }, { "id": "2204.05862" }, { "id": "2112.00861" }, { "id": "2209.14375" }, { "id": "2303.00957" }, { "id": "2306.01693" }, { "id": "2305.01937" }, { "id": "2307.15217" }, { "id": "2306.17492" }, { "id": "2112.04359" }, { "id": "1506.02438" } ]
{ "authors": "Josef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji, Xinbo Xu, Mickel Liu, Yizhou Wang, Yaodong Yang", "chunk_id": 33, "doc_id": "2310.12773", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12773", "summary": "With the development of large language models (LLMs), striking a balance\nbetween the performance and safety of AI systems has never been more critical.\nHowever, the inherent tension between the objectives of helpfulness and\nharmlessness presents a significant challenge during LLM training. To address\nthis issue, we propose Safe Reinforcement Learning from Human Feedback (Safe\nRLHF), a novel algorithm for human value alignment. Safe RLHF explicitly\ndecouples human preferences regarding helpfulness and harmlessness, effectively\navoiding the crowdworkers' confusion about the tension and allowing us to train\nseparate reward and cost models. We formalize the safety concern of LLMs as an\noptimization task of maximizing the reward function while satisfying specified\ncost constraints. Leveraging the Lagrangian method to solve this constrained\nproblem, Safe RLHF dynamically adjusts the balance between the two objectives\nduring fine-tuning. Through a three-round fine-tuning using Safe RLHF, we\ndemonstrate a superior ability to mitigate harmful responses while enhancing\nmodel performance compared to existing value-aligned algorithms.\nExperimentally, we fine-tuned the Alpaca-7B using Safe RLHF and aligned it with\ncollected human preferences, significantly improving its helpfulness and\nharmlessness according to human evaluations.", "text": "Meanwhile, our crowdworkers also labeled whether the models’ responses are safe, as shown in Figure 5c. Through three rounds of Safe RLHF training, the Beaver-v3 model’s probability of harmful responses on the evaluation set decreased from 53.08% for Alpaca-7B to 2.45%. For the specific prompts used in the GPT-4 evaluation, please refer to Appendix C.2.\n4.2.2 THE DECOUPLING OF HARMLESSNESS AND HELPFULNESS\nIn this section, we aim to demonstrate the benefits of explicitly separating harmlessness and helpful- ness in the Safe RLHF pipeline. We use the responses collected from the first round of Safe RLHF to carry out preference labeling and PPO training following the conventional RLHF methodology. During the preference labeling, the difference is that only a comprehensive preference is provided, while other aspects align with Safe RLHF.", "title": "Safe RLHF: Safe Reinforcement Learning from Human Feedback", "year": 2023 }
[ 0.025541, -0.0057049813, 0.08534281, 0.022139657, 0.002920131, -0.002551008, -0.048082635, 0.059987336, 0.028215693, 0.038960848, 0.03311672, -0.027365359, -0.016913956, -0.008820303, -0.0055851615, -0.07489141, 0.046072748, -0.039826646, -0.031153219, 0.037909523, -0.018753773, 0.040599678, 0.006528261, 0.011958816, -0.005747498, -0.011649603, 0.03172526, -0.0058518574, 0.015190093, -0.020871883, 0.020639973, -0.037507545, -0.047093153, 0.016589282, -0.0069766203, -0.0003638085, 0.0056624645, 0.015630722, -0.03500292, 0.036796357, -0.007181474, -0.0071196314, -0.039857566, 0.011363581, 0.0039811186, 0.047464207, 0.01940312, 0.019511346, 0.0062113176, 0.030828545, -0.028756816, 0.040877968, -0.017594224, -0.021072872, -0.007274238, -0.0065785083, 0.0009228078, -0.013126096, 0.009778864, -0.01466443, 0.0073592714, -0.02813839, -0.032220002, 0.008016349, -0.028153852, -0.032993037, -0.09845345, -0.019650491, 0.014896341, 0.036548987, 0.016774809, -0.020500828, 0.027241673, -0.012167535, -0.047216836, 0.0059871385, 0.047835264, 0.015112789, -0.020980109, 0.008603854, -0.012268029, -0.007834687, 0.0024060642, -0.051855035, -0.001381796, -0.0011730772, -0.05033989, -0.008905337, -0.07340719, -0.03880624, -0.062120907, -0.016465597, -0.025571922, 0.018398179, -0.0031732994, -0.046010908, 0.0004614039, 0.0075061475, 0.044062864, 0.016883034, 0.026190348, -0.03187987, 0.0013470094, -0.0051368023, 0.022077814, 0.01250767, 0.021242939, 0.05009252, -0.019356739, -0.0033395013, -0.049505014, -0.016187305, -0.060513, 0.034570023, 0.0053725773, -0.04802079, -0.089857325, -0.018382717, 0.028246615, -0.025370933, -0.04777342, -0.0054073636, 0.022804465, -0.0712427, -0.019650491, 0.022201499, 0.026143966, -0.03398252, -0.007610507, -0.039826646, -0.014146498, 0.033920676, 0.010520975, -0.0058982396, -0.038466107, 0.022526173, -0.03738386, -0.028401222, -0.03549766, -0.008518821, -0.016372833, -0.039888486, -0.040352307, 0.024195924, -0.049566858, -0.023917632, -0.004889432, 0.011239896, -0.034631867, 0.015592069, -0.050618183, 0.017053101, -0.053957682, 0.019279435, -0.04205298, -0.029854523, 0.008333293, 0.035806876, 0.00068123505, -0.05627678, -0.020315299, 0.022711702, -0.03905361, -0.01864555, 0.0015972789, 0.04916488, 0.007057789, 0.014046004, -0.077426955, -0.020145232, 0.012422635, 0.046691176, -0.04681486, -0.029483467, -0.059987336, -0.003567546, -0.035775952, -0.026453178, -0.024706125, -0.044341154, -0.017918898, 0.031555194, -0.030426567, -0.028865041, -0.02387125, 0.021861365, -0.026746932, 0.00720853, -0.024025856, -0.010412751, -0.009376886, 0.021428466, 0.054514267, 0.0062963516, 0.01393005, -0.04322799, 0.021335702, 0.044124708, -0.006995946, -0.022526173, 0.014540745, 0.023855789, -0.0039405343, -0.045578007, 0.009755673, 0.0058711832, -0.033302248, 0.01674389, -0.014231532, -0.018800156, 0.042238507, 0.024242306, 0.028169312, 0.028942345, -0.038837165, 0.0074636308, -0.037693076, 0.02881866, 0.012275759, 0.018877458, -0.011402233, 0.02881866, 0.050401732, 0.008016349, -0.038837165, 0.007189204, 0.02172222, -0.013984161, 0.022495251, -0.07495325, 0.0345391, 0.019062987, 0.0008764258, -0.04084705, -0.0098252455, -0.009253201, 0.017377775, -0.030426567, -0.004557028, -0.03187987, 0.011889243, 0.0050440384, 0.008650236, -0.027102526, 0.018861998, -0.0014996835, 0.0065050703, -0.05813206, 0.009601066, -0.0007826956, 0.0004676848, -0.029668996, 0.0302565, -0.048484612, -0.03970296, -0.0025239517, -0.0018804021, -0.012206187, -0.0049899262, -0.051174764, -0.012901916, 0.031647958, -0.0025935248, 0.035961483, -0.0005445049, 0.008889876, -0.015058677, -0.02575745, -0.05027805, 0.0028524906, -0.005507858, 0.008665697, 0.031044994, 0.012646815, -0.055843882, 0.0008546843, 0.0519478, 0.052071482, -0.027720952, -0.026190348, -0.02435053, 0.0015122453, 0.059368912, -0.023546576, 0.016001778, 0.032281846, -0.005102016, -0.0040738825, -0.016032698, -0.007513878, 0.041774686, -0.018970223, 0.06839793, -0.015035486, 0.01134039, 0.014533015, 0.031044994, 0.013272972, -0.0077960347, -0.014587128, -0.021366624, 0.041279946, -0.03096769, 0.0042903316, 0.06728477, -0.018088965, -0.010366369, -0.008820303, 0.037631232, 0.0028486254, -0.0004560893, 0.021923207, 0.0044062864, 0.015669374, -0.01938766, -0.057297185, 0.034941077, -0.025803832, 0.017145865, -0.01394551, -0.011007986, -0.027489044, 0.016481057, -0.034879237, 0.016450137, -0.03781676, 0.00803954, 0.017114945, -0.03948651, -0.02390217, -0.009508302, -0.003484445, 0.0154065415, 0.017377775, -0.016388293, -0.053741235, -0.060853135, 0.027458122, 0.031091375, 0.031276904, -0.041774686, -0.033704225, -0.032714743, 0.010575088, -0.055225458, 0.02054721, 0.011193514, 0.020732738, 0.036548987, 0.04211482, 0.016326452, -0.005963947, -0.0014281779, -0.011958816, -0.016960338, -0.0032873217, 0.0041666464, -0.014734004, -0.0020485367, 0.026205808, -0.008093652, 0.034848314, -0.0042400844, 0.014556206, 0.009492842, 0.040506914, -0.03948651, -0.020021547, -0.0020350085, -0.015313778, -0.01606362, 0.019805098, 0.0025355474, -0.004916488, -0.08466254, 0.023670262, 0.01038956, -0.009237741, -0.002033076, 0.0020620648, -0.00090348197, -0.031586118, -0.031091375, -0.025556462, 0.0065746433, 0.048855666, -0.03197263, -0.018537324, -0.044990502, -0.017037641, 0.02363934, -0.033209484, -0.019557728, 0.0008991337, 0.009964392, -0.008688888, -0.04625828, 0.04372273, 0.050958317, 0.054297816, -0.02173768, -0.02717983, -0.058781408, 0.03521937, -0.05102016, 0.019959705, -0.0236548, 0.0015499305, -0.011703715, 0.02319098, 0.016821193, -0.04233127, 0.016233686, -0.03447726, -0.0032602653, -0.040104937, 0.0117423665, -0.038929928, 0.012569512, 0.01674389, 0.019712334, -0.06740845, -0.012229377, 0.00067157217, 0.011711446, 0.01819719, 0.000032823693, -0.021691298, -0.022263343, -0.052164245, 0.00637752, 0.063326836, 0.0017364247, -0.025154484, -0.0022611206, -0.00038410063, 0.03521937, 0.0059484867, -0.0123685235, 0.015630722, 0.06505843, -0.03373515, -0.047433287, -0.018382717, -0.026917, -0.01961957, -0.0302565, -0.016249148, -0.03549766, -0.00425168, -0.034693707, 0.016156383, 0.042918775, 0.004414017, 0.002282379, -0.02079458, 0.031941712, -0.032281846, 0.041898374, 0.00803954, 0.04236219, 0.012592703, -0.018398179, 0.028787738, 0.0027887155, 0.014842228, -0.023917632, -0.006787227, -0.012453557, -0.027921941, -0.0047309604, -0.06512027, 0.02410316, -0.027040685, 0.0064432276, -0.020825502, 0.0066132946, 0.0029181985, 0.058688644, -0.012716388, 0.027736414, -0.024427833, 0.0012436163, -0.014811306, 0.03398252, 0.08435333, 0.04205298, 0.02312914, -0.0053764423, 0.012809152, 0.01629553, -0.022186039, 0.024242306, -0.020392602, 0.015143711, -0.0074481703, 0.018042583, 0.0072703725, 0.019557728, -0.010814727, -0.011943355, 0.0026882212, -0.021165635, 0.0046459264, 0.03549766, 0.006895452, 0.040785205, 0.0013470094, -0.03546674, -0.015174632, 0.0056817904, 0.007057789, -0.052628066, -0.025633765, -0.03191079, -0.008008619, 0.0062035876, -0.0017596157, -0.006478014, 0.01370587, 0.025463697, -0.008735269, 0.014022813, 0.014865419, -0.005859588, -0.02011431, -0.047958948, -0.015275126, -0.01370587, -0.046165515, -0.027272593, 0.0015383351, 0.02744266, -0.016666586, -0.0548544, -0.007077114, 0.002056267, -0.015313778, -0.004135725, -0.047958948, 0.026437718, 0.0031848948, 0.032900274, -0.025139024, 0.012615894, -0.005488532, 0.0023596822, -0.030596634, 0.0007039429, 0.010513245, 0.037507545, -0.04805171, -0.019418582, -0.030673938, -0.0063504637, -0.008712078, 0.015383351, -0.027937401, 0.013620837, 0.021629455, 0.0029413893, 0.02009885, 0.014208341, 0.007424979, -0.017594224, 0.0136440275, 0.004630466, 0.047154997, 0.023206443, -0.012453557, -0.023283744, 0.0009604931, 0.027937401, -0.050958317, 0.030998612, -0.014324296, 0.014169689, 0.0035926695, 0.03778584, -0.000008583381, -0.02292815, -0.03262198, -0.0039656577, 0.019434042, -0.032560136, -0.024706125, 0.03401344, 0.023964014, -0.04539248, -0.019171212, 0.015955394, -0.00300903, 0.022325184, 0.010830188, -0.046722095, -0.019665953, -0.008101382, -0.011355851, -0.021196557, -0.024489677, 0.004062287, -0.009098595, 0.008797112, -0.015738945, -0.030689398, 0.007498417, -0.019480424, 0.0038477704, 0.03376607, -0.002195413, -0.004348309, -0.009044482, -0.0048430497, 0.009291853, -0.016249148, -0.036796357, -0.016573822, -0.015120519, 0.029375242, -0.019093908, -0.022773543, 0.020871883, 0.008140034, -0.029931827, -0.0011827401, 0.007946776, 0.0065205307, 0.016280068, -0.03552858, -0.022665318, -0.06419264, 0.015530227, 0.010258144, -0.052102406, -0.00035704448, 0.032250926, 0.03121506, 0.025711067, -0.014061465, -0.024860732, -0.0003879658, 0.015151441, -0.015460654, -0.071428224, 0.00095952686, 0.013667218, 0.019681413, -0.0035404898, -0.015808519, -0.03664175, -0.028571289, -0.03237461, -0.036827277, -0.022603476, -0.0004099489, -0.007293564, -0.027349897, 0.03404436, 0.014138768, 0.013257511, -0.020578131, -0.016929416, -0.032436453, 0.028509445, 0.0014668296, 0.0031075915, 0.007830821, 0.032560136, 0.020377142, -0.036548987, -0.03589964, 0.00070104405, 0.03286935, -0.015661642, -0.0079081245, -0.013110635, -0.005531049, -0.02388671, 0.008109113, 0.02317552, -0.028045626, 0.06623344, -0.046722095, -0.048515532, -0.008920797, 0.002929794, 0.024520598, -0.026406797, -0.02172222, 0.014950452, -0.023361048, -0.012337602, 0.018289953, 0.020980109, -0.014270184, 0.053246494, -0.012492209, 0.038929928, -0.0006773699, -0.028741356, -0.039826646, -0.0053030043, 0.0142933745, -0.012700927, -0.003803321, -0.045052346, -0.046629332, 0.048484612, 0.051422134, -0.013597645, -0.006006464, 0.0042671408, -0.0029124008, 0.010057155, -0.0034303325, 0.026267651, 0.0115800295, 0.023670262, 0.020748198, -0.028262075, -0.034693707, 0.0058441274, -0.022866307, 0.004885567, 0.0017209641, 0.02034622, -0.056369543, -0.0070500583, -0.027782796, -0.01793436, 0.03546674, 0.007660754, -0.012956028, -0.0006879991, -0.0027713221, 0.0069225077, -0.018614627, 0.010026234, -0.0018146943, -0.0118274, 0.036208853, 0.014100117, 0.014239263, 0.003063142, -0.0070268675, 0.015383351, 0.009029022, 0.023361048, -0.0044990503, -0.024891654, -0.021382084, 0.016465597, -0.027767334, 0.007962237, 0.016898494, -0.007842417, 0.019171212, 0.006164936, -0.006099228, 0.028540367, 0.032714743, 0.013071983, 0.007969967, -0.006091498, 0.0073592714, -0.004178242, -0.010760616, 0.026808774, 0.011487266, -0.01890838, 0.006837474, -0.03667267, 0.02339197, 0.03404436, 0.08206515, -0.034353573, 0.0106214695, -0.0072703725, -0.017810674, 0.026808774, -0.02744266, -0.0022843117, 0.029978208, -0.017207708, -0.015066408, 0.0021760871, 0.0024485812, 0.043660887, 0.018970223, -0.024443295, -0.030210119, 0.02104195, -0.011641872, -0.02932886, -0.0064896094, 0.01181194, -0.0018485144, -0.12677737, -0.016975798, 0.036703594, -0.0240877, -0.0014909868, 0.0037492085, 0.012739579, 0.04375365, 0.00020883961, -0.030302882, 0.028710434, -0.011487266, -0.0127705, -0.016728427, 0.002999367, -0.044835895, 0.021119254, -0.028571289, 0.03002459, -0.023608418, 0.0028814794, -0.01466443, 0.03172526, -0.01347396, -0.03778584, 0.027736414, -0.019001143, 0.010281335, 0.0017683123, 0.029699916, -0.02388671, 0.013860476, 0.005616083, -0.021443928, -0.03803321, -0.0036429167, 0.00041139833, -0.0031617037, 0.0029839063, 0.051391214, 0.016465597, -0.021892287, 0.017903438, -0.034600943, 0.040135857, -0.02598936, -0.016944878, -0.019495884, 0.017980741, 0.003557883, 0.018599167, 0.0016195035, -0.015545688, -0.03546674, -0.01866101, 0.031014072, 0.015460654, 0.017656067, -0.005604487, -0.015050947, -0.040043093, 0.040537834, 0.017099483, -0.0128478035, 0.0013547398, -0.0075757205, -0.011866052, 0.03311672, -0.04282601, -0.048082635, -0.028432142, 0.008356484, -0.0019345144, 0.017439619, 0.0245979, 0.017130405, 0.02501534, 0.03051933, -0.055287298, 0.02008339, 0.03169434, -0.040599678, 0.019124828, 0.015074138, 0.009523763, 0.008943988, 0.05371031, 0.0008015383, -0.014332026, -0.008325562, 0.016233686, -0.003474782, -0.003969523, 0.0017296607, -0.0025123563, -0.009430999, -0.011162592, -0.00875073, -0.009902549, -0.027009763, 0.022464331, -0.0016436608, -0.015074138, -0.019573187, 0.023036374, -0.005670195, 0.013767713, 0.036765434, 0.036023322, -0.013999622, -0.0023558172, 0.024304148, -0.013311624, -0.003919276, -0.009392347, 0.029112412, 0.023268284, 0.0068142833, 0.015700294, 0.01229895, -0.0014243127, 0.026824234, -0.011858322, 0.05763732, -0.0012484478, -0.0033491643, -0.006543722, 0.03923914, -0.0016890764, 0.008936258, 0.010575088, 0.008874415, -0.022850847, 0.0011721108, -0.0154065415, 0.019681413, 0.032652903, -0.01680573, -0.042145744, -0.008310102, 0.01323432, 0.025896596, 0.02413408, 0.0024756372, -0.040723365, 0.0155998, 0.03047295, -0.007069384, -0.006601699, 0.0020717278, -0.0420839, -0.011208974, -0.002943322, -0.0042207586, 0.00061601045, 0.035559505, 0.039517432, -0.038249657, -0.024613362, 0.0036429167, -0.021536691, 0.05030897, -0.036085166, -0.020160694, 0.023809407, -0.027025223, 0.01134039, 0.03000913, 0.011641872, 0.023453813, -0.035806876, -0.06716108, 0.011850592, -0.0109384125, 0.002601255, 0.037631232, -0.008820303, 0.037600312, 0.017145865, 0.04016678, 0.0026379742, 0.06524396, 0.017315933, -0.0072665075, 0.026391337, -0.030998612, -0.000059457085, -0.014393869, 0.014865419, 0.0073592714, 0.024984417, 0.019434042, -0.011038907, 0.049474094, 0.027813716, -0.020361682, -0.008650236, 0.015955394, -0.028169312, -0.06796504, -0.016712967, 0.06076037, 0.03753847, -0.006760171, -0.008441517, 0.0021470983, -0.0060412507, -0.014393869, -0.035559505, 0.035343055, -0.015522497, -0.010258144, -0.024999877, 0.024211384, 0.022325184, -0.004815994, 0.009570145, 0.03169434, -0.016960338, -0.030921308, 0.0067060585, -0.030148275, 0.0020775255, 0.0010551896, -0.0085420115, -0.024396911, -0.033858832, 0.007069384, 0.0073399455, 0.007397923, -0.006381385, -0.014254723, 0.020840961, -0.02363934, -0.038837165, -0.015970856, 0.0028524906, 0.010482323, -0.0053493865, 0.00897491, 0.029004186, -0.008928528, -0.019434042, -0.011131671, 0.021583073, -0.019480424, 0.059894573, -0.009778864, -0.03376607, -0.048515532, 0.007181474, -0.0047696116, 0.00082424615, 0.008905337, -0.0006686733, -0.058688644, 0.041032575, 0.033889756, 0.022649858, 0.008920797, -0.031106835, 0.006435497, 0.0155688785, -0.010474593, 0.007397923, -0.023051836, 0.01205158, 0.002846693, 0.041279946, -0.03778584, -0.019016605, 0.044341154, -0.029035108, 0.03333317, -0.033302248, -0.0035636807, 0.016883034, 0.02269624, 0.0016253013, -0.023268284, -0.019032065, -0.010513245, -0.032189082, -0.0027249402, 0.010567357, 0.011085289, 0.0048121284, -0.00095807743, 0.01938766, 0.022959072, 0.019001143, 0.018011661, 0.0068645305, 0.0012706725, -0.0044758595, -0.001222358, 0.007931315, -0.016032698, 0.036765434, -0.007707136, 0.030086434, 0.017362315, 0.021691298, -0.029282479, 0.021954129, -0.0006773699, 0.0062654302, -0.023809407, 0.0085342815, -0.007293564, 0.010142189, -0.0098252455, 0.01774883, 0.0010938413, -0.0020369412, -0.016898494, 0.00732835, -0.033178564, -0.018274494, -0.015105059, -0.032065395, -0.003557883, 0.016017238, 0.027133448, -0.021845905, -0.010853379, -0.027968323, -0.0012445827, -0.0043328484, 0.01393005, 0.004282601, 0.024938036, -0.0038071861, 0.023608418, -0.025231788, 0.0018185595, -0.046660256, -0.013767713, -0.00520251, -0.0136517575, 0.013752252, -0.010428212, 0.039115455, 0.02433507, 0.010490054, 0.014579397, -0.021907747, -0.019557728, 0.000069995695, 0.006543722, 0.08002435, -0.0015422002, -0.021598535, -0.0130178705, -0.03095223, 0.012662276, 0.01112394, 0.013976431, 0.0031172545, 0.014424791, 0.012731848, 0.007846282, -0.026314033, 0.026406797, 0.0012629422, -0.0009527628, -0.016218226, 0.038218737, 0.028432142, 0.012306681, 0.0024118621, 0.010134459, -0.0013837286, -0.03123052, 0.018506402, 0.032776587, 0.018088965, 0.001607908, 0.030426567, 0.034075283, 0.006029655, -0.0054073636, -0.00200602, 0.021242939, -0.03738386, 0.011525918, -0.026963381, 0.02578837, 0.0038187816, -0.011665064, -0.0073206197, 0.006860665, 0.017099483, -0.0039250734, 0.016140923, 0.030766701, -0.005558105, -0.0149349915, 0.02501534, 0.00461114, 0.031137757, 0.0029916365, -0.008642506, 0.004653657, 0.014842228, -0.0061842618, -0.032652903, 0.021072872, 0.036456224, 0.011386772, -0.027102526, 0.011131671, -0.020299839, -0.0003860332, 0.01134812, -0.022201499, 0.015878092, 0.011610951, -0.0037897928, 0.022464331, -0.0023770756, -0.0014745599, 0.006478014, -0.024041317, 0.0090212915, 0.024922574, -0.0062963516, 0.026298573, 0.0033240407, 0.021660376, 0.03738386, -0.0038149164, -0.01086884, -0.032807507, -0.007606642, 0.020207075, 0.020639973, 0.034817394, -0.024396911, 0.0071969344, -0.019233054, 0.04230035, 0.045052346, -0.005457611, -0.02172222, 0.023051836, -0.010103538, 0.0278601, 0.042887855, 0.00018709808, -0.0063156774, -0.030101893, -0.0057513635, 0.014749464, -0.034879237, -0.02527817, -0.022572555, 0.011997468, 0.042485878, 0.006292486, -0.013203398, -0.018877458, -0.007772844, 0.03373515, -0.009299584, -0.0010348975, 0.01298695, 0.03373515, 0.0077883047, -0.00048797688, 0.0018417505, 0.005836397, 0.008170956, 0.020408064, -0.012414905, 0.014803576, -0.012878725, -0.034168046, 0.036548987, 0.0012561781, -0.010575088, 0.016156383, 0.014471172, 0.021814983, -0.0013663353, 0.0011179985, -0.021830443, -0.054730717, -0.017779753, 0.021459388, 0.0016958405, -0.0024485812, 0.012136613, -0.004213028, -0.013752252, 0.015321508, 0.022758083, -0.014726273, 0.009036752, -0.017486, -0.008851225, -0.010984795, -0.0058711832, 0.006644216, -0.008719809, -0.0006068307, 0.01156457, 0.004688443, 0.0043676347, -0.007606642, 0.013126096, -0.0013402455, -0.008302371, 0.02033076, 0.020609053, -0.0042671408, 0.025541, 0.010227223, 0.011541379, 0.012670006, -0.015746675, -0.015909012, 0.02431961, -0.030302882, 0.0046768477, -0.024427833, -0.0029471873, 0.037352942, 0.0059446213, 0.018800156, -0.0074365744, 0.0013846948, 0.018243572, 0.00011752513, 0.0069572944, 0.013280702, 0.038342424, -0.0072201253, 0.004885567, -0.0046923086, -0.011935625, -0.014030543, 0.016759349, 0.013141556, -0.016249148, 0.055905726, 0.007772844, -0.02079458, 0.054297816, -0.00034762314, -0.01159549, -0.0069341036, 0.011912434, 0.009477381, -0.04270233, -0.020825502, 0.0046459264, -0.013852746, -0.011657333, -0.008155495, 0.0077844393, 0.026097585, -0.010443672, 0.021428466, 0.01536789, 0.010227223, 0.016481057, -0.01254632, -0.036981884, 0.0035598157, -0.009090865, 0.025401855, 0.015700294, -0.006161071, 0.011270816, 0.009840706, 0.005836397, -0.016125463, -0.004680713, 0.029174255, 0.026113044, -0.05176227, 0.0029336591, 0.015267396, -0.012824613, 0.019047527, -0.000019265424, -0.0039173434, -0.02056267, -0.0038690288, -0.049566858, 0.033023957, -0.00156829, 0.0034863774, -0.052133325, 0.03973388, 0.015414272, 0.025200866, -0.04443392, 0.016635664, -0.0018079303, 0.014950452, -0.02224788, -0.029267019, 0.025370933, -0.059368912, 0.001175976, -0.011688255, 0.012453557, -0.018800156, -0.039579276, -0.032220002, 0.025927518, 0.0017383572, 0.0003398928, -0.002800311, -0.015924474, 0.00087835843, 0.03503384, -0.022557095, 0.008085922, 0.023082757, -0.025200866, -0.01818173, -0.011263086, 0.021799522, -0.023051836, -0.00011208974, 0.012670006, -0.018367257, 0.03995033, 0.0019982895, -0.017903438, -0.00768008, -0.008565202, 0.043042462, 0.014316565, -0.031508815, -0.0072201253, 0.010822458, -0.06413079, 0.01394551, 0.038713478, -0.011927894, 0.00401204, 0.024520598, 0.038002286, -0.015955394, 0.008317832, 0.025602844, 0.011386772, -0.014989104, 0.01372133, 0.00803954, 0.029653534, -0.014386139, -0.013095174, 0.017779753, 0.02577291, 0.0065050703, 0.024505137, 0.007513878, -0.0038593658, 0.008719809, -0.0068413396, 0.02390217, -0.0065089352, 0.0014204476, -0.010551897, -0.00336849, -0.00047299938, 0.0079042595, -0.0025954572, 0.022819925, 0.05182411, -0.001455234, -0.004062287, -0.0041318596, 0.008116843, -0.020052468, -0.019233054, 0.023747565, 0.02716437, 0.046691176, -0.0064625535, 0.011757827, 0.0040777475, -0.021443928, 0.026190348, -0.008008619, -0.026205808, 0.04625828, -0.025819292, 0.011665064, 0.0021818848, 0.016110001, 0.0058093406, 0.0054073636, 0.007204665, 0.0023306936, -0.004634331, 0.03617793, 0.017779753, 0.025417315, -0.00224566, 0.006076037, 0.035806876, -0.021954129, -0.027226212, -0.028401222, -0.05182411, 0.0018523796, -0.009253201, 0.007092575, -0.00921455, 0.02294361, -0.02977722, 0.0128555335, 0.007969967, -0.020732738, -0.003766602, 0.037693076, -0.011201244, -0.010946143, -0.038095053, -0.036239773, -0.026375877, -0.058503114, -0.0025142888, -0.012863264, 0.014301105, -0.025340011, -0.010443672, -0.054297816, -0.0059407563, 0.005159993, -0.0037646692, 0.034600943, -0.0016359305 ]
2310.12397
34
Backprompt Generated From Sound Verifier (First) Vertex 9 and vertex 11 were both colored Color3 despite being connected by an edge. This is wrong. Please recolor. Please provide each vertex's color. Do not skip any vertices. Each <+ color must be provided on a new line in the response and should be formatted as "{VERTEX <> NUMBER}: {VERTEX COLOR ASSIGNMENT}". Please do not provide anything else in your response. 11 Backprompt Generated From Sound Verifier (Full) Vertex 9 and vertex 11 were both colored Color3 despite being connected by an edge. Vertex 10 and <> vertex 13 were both colored Color3 despite being connected by an edge. Vertex 11 and vertex <+ were both colored Color3 despite being connected by an edge. This is wrong. Please recolor. Please provide each vertex's color. Do not skip any vertices. Each <+ color must be provided on a new line in the response and should be formatted as "{VERTEX <> NUMBER}: {VERTEX COLOR ASSIGNMENT}". Please do not provide anything else in your response. 13 A.3 Complete Example of Iterative Prompt Sequence Full Sequence of 15 (LLM-Generated) Backprompts
2310.12397#34
GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems
There has been considerable divergence of opinion on the reasoning abilities of Large Language Models (LLMs). While the initial optimism that reasoning might emerge automatically with scale has been tempered thanks to a slew of counterexamples, a wide spread belief in their iterative self-critique capabilities persists. In this paper, we set out to systematically investigate the effectiveness of iterative prompting of LLMs in the context of Graph Coloring, a canonical NP-complete reasoning problem that is related to propositional satisfiability as well as practical problems like scheduling and allocation. We present a principled empirical study of the performance of GPT4 in solving graph coloring instances or verifying the correctness of candidate colorings. In iterative modes, we experiment with the model critiquing its own answers and an external correct reasoner verifying proposed solutions. In both cases, we analyze whether the content of the criticisms actually affects bottom line performance. The study seems to indicate that (i) LLMs are bad at solving graph coloring instances (ii) they are no better at verifying a solution--and thus are not effective in iterative modes with LLMs critiquing LLM-generated solutions (iii) the correctness and content of the criticisms--whether by LLMs or external solvers--seems largely irrelevant to the performance of iterative prompting. We show that the observed increase in effectiveness is largely due to the correct solution being fortuitously present in the top-k completions of the prompt (and being recognized as such by an external verifier). Our results thus call into question claims about the self-critiquing capabilities of state of the art LLMs.
http://arxiv.org/pdf/2310.12397
Kaya Stechly, Matthew Marquez, Subbarao Kambhampati
cs.AI
18 pages, 3 figures
null
cs.AI
20231019
20231019
[ { "id": "2206.10498" }, { "id": "2306.03872" }, { "id": "2303.11366" } ]
{ "authors": "Kaya Stechly, Matthew Marquez, Subbarao Kambhampati", "chunk_id": 34, "doc_id": "2310.12397", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12397", "summary": "There has been considerable divergence of opinion on the reasoning abilities\nof Large Language Models (LLMs). While the initial optimism that reasoning\nmight emerge automatically with scale has been tempered thanks to a slew of\ncounterexamples, a wide spread belief in their iterative self-critique\ncapabilities persists. In this paper, we set out to systematically investigate\nthe effectiveness of iterative prompting of LLMs in the context of Graph\nColoring, a canonical NP-complete reasoning problem that is related to\npropositional satisfiability as well as practical problems like scheduling and\nallocation. We present a principled empirical study of the performance of GPT4\nin solving graph coloring instances or verifying the correctness of candidate\ncolorings. In iterative modes, we experiment with the model critiquing its own\nanswers and an external correct reasoner verifying proposed solutions. In both\ncases, we analyze whether the content of the criticisms actually affects bottom\nline performance. The study seems to indicate that (i) LLMs are bad at solving\ngraph coloring instances (ii) they are no better at verifying a solution--and\nthus are not effective in iterative modes with LLMs critiquing LLM-generated\nsolutions (iii) the correctness and content of the criticisms--whether by LLMs\nor external solvers--seems largely irrelevant to the performance of iterative\nprompting. We show that the observed increase in effectiveness is largely due\nto the correct solution being fortuitously present in the top-k completions of\nthe prompt (and being recognized as such by an external verifier). Our results\nthus call into question claims about the self-critiquing capabilities of state\nof the art LLMs.", "text": "Backprompt Generated From Sound Verifier (First)\nVertex 9 and vertex 11 were both colored Color3 despite being connected by an edge. This is wrong. Please recolor. Please provide each vertex's color. Do not skip any vertices. Each <+ color must be provided on a new line in the response and should be formatted as \"{VERTEX <> NUMBER}: {VERTEX COLOR ASSIGNMENT}\". Please do not provide anything else in your response.\n11\nBackprompt Generated From Sound Verifier (Full)\nVertex 9 and vertex 11 were both colored Color3 despite being connected by an edge. Vertex 10 and <> vertex 13 were both colored Color3 despite being connected by an edge. Vertex 11 and vertex <+ were both colored Color3 despite being connected by an edge. This is wrong. Please recolor. Please provide each vertex's color. Do not skip any vertices. Each <+ color must be provided on a new line in the response and should be formatted as \"{VERTEX <> NUMBER}: {VERTEX COLOR ASSIGNMENT}\". Please do not provide anything else in your response.\n13\nA.3 Complete Example of Iterative Prompt Sequence\nFull Sequence of 15 (LLM-Generated) Backprompts", "title": "GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems", "year": 2023 }
[ 0.02637388, -0.0059820088, 0.030911956, 0.0074775107, -0.019787777, 0.021216976, 0.021894742, -0.014483533, 0.013201674, 0.04499767, 0.019301554, 0.007436992, 0.0014605089, -0.025622446, -0.008199478, -0.0068181637, 0.0442315, -0.0406364, -0.03786641, 0.03011632, 0.00210328, -0.038956728, -0.004224978, 0.040606935, -0.0025231994, 0.022439899, 0.0005889, -0.019198418, 0.054928396, -0.024517395, -0.0018804282, -0.036186732, -0.023736492, -0.040164914, -0.036275137, 0.05740371, -0.01766608, -0.00260792, -0.011396758, 0.019213151, 0.02802409, -0.020966498, 0.010173835, -0.03371142, 0.013540557, 0.053543396, -0.019183682, -0.02288192, -0.017312463, -0.0020701287, -0.018800598, 0.059348598, 0.030234192, 0.0406364, -0.039722893, -0.011625135, -0.03132451, -0.024929948, 0.011271519, -0.029924776, 0.049683087, -0.020951765, -0.04485033, 0.014129917, -0.011846146, -0.0131132705, -0.010895802, 0.011986118, 0.08852194, 0.032709505, -0.008066871, 0.045822777, -0.0015986402, 0.007333854, -0.041785657, 0.045469157, 0.06418135, 0.0034035565, 0.026285477, -0.0253425, 0.0043023312, 0.021467455, 0.017238794, -0.066361986, 0.0019319972, -0.0009724448, -0.02383963, -0.00905405, -0.048032876, -0.03830843, -0.0017091454, -0.017415602, -0.059879024, 0.023427079, 0.03491961, 0.012126091, -0.01857959, -0.00067822495, 0.0063614096, 0.03164866, 0.032562166, -0.028009355, -0.040724806, -0.029880576, 0.014240422, 0.0030573073, 0.016192678, 0.01729773, 0.0011289936, -0.0065234834, -0.07019283, 0.0049985135, 0.016325284, -0.0013675004, 0.022601973, 0.008810939, -0.06335625, -0.07655793, 0.0045896447, -0.06288476, -0.004762769, -0.0005364101, -0.01682624, -0.052659355, -0.019375226, -0.0012376569, 0.0477382, -0.056578603, -0.03530269, 0.0009208757, 0.039575554, -0.015927466, 0.015662255, 0.050743934, -0.05183425, 0.0188448, -0.043848418, -0.0037387554, -0.008103706, 0.037483323, -0.02012666, 0.01961097, -0.0007159809, -0.0065161167, 0.017725015, 0.020539211, -0.045380756, 0.06259008, -0.0010184885, 0.03459546, -0.027979888, 0.05366127, -0.052954037, 0.035862584, -0.0031328192, -0.09341363, 0.043789484, -0.020156128, -0.048032876, 0.00072104565, 0.0022764048, -0.05189319, 0.049712554, -0.014424597, 0.0056799613, -0.04243395, -0.04084268, 0.018167036, -0.07166623, -0.013238509, 0.014454065, -0.020524478, -0.033917695, -0.053602334, 0.029394353, -0.0017570308, -0.018211238, -0.036746625, 0.0003358894, -0.029630097, 0.03698237, 0.058317218, 0.017017784, -0.003794008, -0.006965504, 0.0039966004, -0.0024237449, -0.0037166544, -0.023043994, -0.023191335, 0.0011308354, 0.0066929245, 0.040931083, 0.012487074, -0.038396835, -0.11356976, 0.07078219, -0.036717158, 0.024399523, -0.035862584, -0.016885176, 0.016119009, 0.03978183, -0.046618413, 0.0014144651, -0.011013674, -0.018417515, -0.012929095, 0.004666998, -0.018432248, 0.058169875, 0.009717081, 0.005418433, 0.033799823, -0.057138495, 0.022690378, -0.03757173, 0.009938091, -0.003482752, 0.004534392, -0.027552601, 0.030381532, 0.052512016, 0.004880641, 0.013768934, 0.037601195, 0.020450808, -0.017282994, 0.01773975, 0.034831204, 0.009938091, -0.02666856, -0.0134595195, -0.051952124, -0.020657085, -0.036599286, 0.017061986, 0.023780694, 0.0072196657, -0.011286253, -0.0021290646, -0.0108442325, 0.039988108, -0.009333996, 0.044054694, 0.0074001574, -0.024222715, 0.0004245237, 0.0018380679, 0.021541124, -0.0024955731, 0.012126091, -0.012796489, -0.013982577, -0.021069637, 0.011249417, -0.007764824, -0.007764824, -0.023972236, -0.026034998, -0.020215064, -0.021467455, -0.049300004, 0.042640228, -0.007786925, 0.018314376, 0.033416737, 0.0009567899, -0.024163779, -0.010645323, -0.054191694, -0.006092514, 0.06930879, -0.028407173, -0.0085751945, -0.041608848, 0.012236596, 0.007742723, 0.04691309, 0.027906217, -0.03055834, -0.010483249, -0.00040035072, 0.008855141, -0.03309259, -0.008354184, -0.025298297, 0.03185493, 0.0148666175, -0.026403349, -0.0007721543, -0.037188645, 0.010674791, 0.0029578528, -0.015853796, -0.021025434, 0.0021309063, -0.000037525686, 0.016074806, 0.019522564, 0.06871943, 0.022837717, 0.00013064925, 0.0016750729, -0.018122833, 0.031972803, 0.012192395, -0.0004940498, -0.031236105, -0.013201674, -0.018196505, 0.014188853, -0.008545727, 0.0013896015, -0.016398955, -0.09105619, 0.046412136, 0.038102154, 0.024443725, -0.02684537, -0.01166197, -0.0123397345, 0.018712195, -0.022012614, -0.0057388972, 0.014829783, -0.042905442, -0.0065382174, 0.017548207, -0.03471333, -0.03727705, -0.052718293, -0.0038860955, 0.028259834, 0.02435532, -0.01928682, -0.018240707, 0.017990228, -0.0031751795, 0.029968979, -0.071194746, -0.03742439, 0.01788709, -0.008825673, -0.062059656, 0.0114483265, -0.019846713, 0.020583414, 0.0074443594, 0.029453289, -0.024428992, -0.005705746, 0.049388405, -0.0004387973, 0.03875045, -0.016281083, -0.0071459957, -0.017754484, -0.04532182, 0.069957085, 0.0023998022, 0.016369486, -0.02578452, 0.012332368, -0.00012362757, 0.029232278, -0.003689028, 0.026418082, 0.036687687, 0.002340866, -0.02890813, 0.008332083, -0.011485162, 0.01980251, -0.0340945, -0.027228452, -0.025887659, 0.0012063471, 0.014188853, 0.022734579, -0.0003089538, -0.034624927, -0.013069068, 0.0057094293, 0.012199761, -0.026830634, 0.020922296, -0.006854999, -0.06282582, -0.008125807, 0.01434356, -0.029173343, 0.020259265, 0.034683865, 0.07514346, 0.043111715, 0.010240138, 0.055959776, 0.03875045, 0.028893396, 0.052718293, -0.027419996, -0.04411363, 0.0026116036, -0.032326423, -0.029512225, 0.03651088, 0.008987747, 0.040194385, -0.026786434, 0.052276272, -0.041373104, 0.008545727, -0.028554514, 0.009680245, -0.0015949567, 0.06264902, -0.008221579, -0.0066192546, 0.051952124, -0.031088764, -0.019404693, -0.020185595, -0.031206636, -0.01707672, 0.0025545093, -0.03356408, 0.0032543747, 0.046618413, -0.05292457, -0.0478266, 0.039398745, 0.065301135, 0.0024882061, 0.029703766, -0.027213719, -0.015927466, -0.00477382, 0.014800315, -0.018859535, 0.011595667, -0.03530269, -0.014424597, -0.0072565004, 0.016148476, 0.0105569195, 0.010660057, -0.021806337, 0.008560461, -0.01847645, -0.019890916, 0.034890138, 0.0057241633, 0.035685774, 0.025283564, -0.014085715, 0.02431112, 0.008376285, 0.016428422, 0.009068784, -0.002326132, -0.00088404067, -0.0034477587, 0.014947655, -0.022616707, 0.022263091, -0.073257506, 0.011470428, 0.060822, 0.011013674, -0.049300004, 0.01601587, 0.036422476, -0.014247789, -0.011418859, -0.0018785865, -0.007934265, 0.018830067, 0.027302124, 0.0056541767, 0.04874011, -0.021570593, 0.013223776, 0.007514346, 0.023530217, 0.07090006, 0.0041697253, -0.012067155, -0.040459596, 0.02578452, -0.005985692, -0.00954764, -0.024885746, -0.019213151, 0.03294525, 0.02504782, 0.02839244, 0.022867186, 0.008339451, -0.02927648, -0.01557385, -0.0058052004, -0.0046191127, 0.028893396, 0.052865632, -0.0010626905, 0.0326211, 0.02935015, -0.02846611, 0.025430903, 0.016177945, 0.006291423, -0.009930723, -0.032591633, -0.019227885, 0.055812433, -0.035862584, 0.024340587, -0.021128573, 0.021688465, -0.0033390953, -0.009208757, -0.0108442325, -0.03085302, 0.00964341, -0.050655533, -0.0011980593, -0.07378793, -0.018019697, -0.020391872, 0.030823551, -0.03562684, 0.022204155, -0.0088625075, -0.012730186, 0.017548207, 0.0055952407, -0.013017499, -0.004022385, -0.032738972, 0.006059362, 0.037129708, -0.004372318, 0.02042134, -0.0100706965, 0.01579486, 0.04037119, 0.0059967428, -0.0038271595, 0.030352063, 0.017459804, -0.0071238945, -0.0019688322, -0.013547923, 0.0063282577, 0.022955589, -0.021423252, -0.037070774, 0.017017784, -0.0048769577, 0.025283564, 0.006107248, 0.029335417, -0.005274776, -0.007875329, 0.016944112, 0.04187406, 0.029733235, -0.001652972, 0.02563718, -0.002289297, -0.021983145, 0.0101591, 0.023456546, 0.013768934, -0.0485633, -0.017165123, 0.019389959, -0.005127436, -0.006232487, -0.020598147, -0.025622446, 0.02490048, 0.041166827, -0.043848418, 0.010004394, -0.024650002, 0.011971384, -0.0086857, 0.013032233, -0.02383963, -0.006810797, -0.01471191, 0.028967066, 0.016693635, -0.007867962, 0.0013739466, -0.019935118, -0.015809594, -0.024045907, 0.02078969, 0.023500748, 0.009245592, -0.0065382174, 0.027935686, 0.055547222, 0.021673732, 0.0061403993, 0.042699166, 0.015912732, -0.04146151, 0.013275344, 0.016060073, 0.019242618, -0.012906994, 0.004759086, -0.011698805, -0.00043096984, 0.02817143, -0.008309983, 0.013665795, 0.04429044, 0.02211575, 0.010630589, 0.008096339, 0.0062214364, -0.009606576, -0.038426302, 0.0071828305, 0.011801943, -0.045351285, -0.028259834, 0.020215064, 0.017857622, -0.026992708, 0.025755052, 0.049712554, 0.018388046, -0.015441244, -0.019006874, 0.019272087, -0.028583983, 0.009672878, -0.03220855, 0.0015369415, -0.004755402, 0.00084352214, 0.030411, -0.034359716, -0.029851107, -0.048828512, -0.046942562, 0.036717158, -0.010741094, 0.009974926, -0.011949283, 0.0022377279, -0.002956011, -0.029998448, -0.006762911, -0.00746646, -0.019566767, 0.027670473, -0.014159385, -0.010601121, 0.042522356, -0.033593547, 0.011175748, -0.00066717446, -0.013253244, 0.0036724524, 0.043170653, 0.05395595, 0.009112986, -0.009997027, -0.013916274, -0.014012045, -0.011573566, 0.010173835, -0.028186163, 0.03235589, -0.013393217, -0.03830843, 0.021069637, 0.029394353, 0.0195815, 0.026064467, -0.00040955946, -0.0012772547, -0.022174688, -0.015986402, 0.008810939, 0.00817001, 0.013754199, 0.020008788, -0.005506837, -0.0137468325, -0.005237941, -0.022764048, -0.08144961, -0.034065034, 0.004600695, 0.025386702, -0.0008711484, -0.002125381, -0.04305278, -0.008162642, 0.04364214, 0.045557562, -0.008715168, 0.0049911463, -0.003068358, -0.05884764, -0.00023183046, -0.008383652, 0.001185167, -0.003482752, -0.04099002, -0.017872356, -0.033947162, -0.015131829, 0.020391872, 0.0006455339, -0.010836866, -0.00022492389, 0.00841312, 0.010520084, 0.0050574495, 0.008501524, 0.028657652, -0.011698805, 0.028230365, 0.008022669, 0.002578452, -0.009304528, 0.023412345, -0.037188645, 0.0017837363, -0.012538644, -0.009518172, -0.017695548, -0.02957116, 0.010144367, 0.0054257996, 0.02078969, 0.041225765, -0.036540348, 0.007993201, -0.072019845, 0.010969471, 0.003882412, 0.014233055, -0.021776868, -0.03176653, 0.007683787, 0.014815048, 0.04614692, -0.02684537, -0.0041881427, 0.011824044, -0.0028583982, -0.0029062838, -0.0253425, -0.006762911, -0.016045338, 0.020981232, 0.002118014, -0.033917695, 0.017636612, 0.006029894, 0.009031949, -0.014159385, 0.036451943, 0.0018831908, 0.03309259, -0.038986195, -0.0054515842, 0.00022446345, -0.020303467, 0.0017100662, 0.0064866487, 0.03144238, -0.031884402, -0.044791393, -0.010748461, 0.032915782, -0.0007307149, 0.03176653, -0.016958848, -0.025209894, -0.06152923, -0.035155352, -0.015131829, -0.036451943, 0.010969471, -0.026948506, 0.008899343, -0.1326061, -0.005186372, 0.04205087, -0.04308225, -0.02659489, 0.021703199, 0.036039393, -0.025445638, 0.0080005685, 0.010733727, 0.0045749107, 0.013503721, 0.0105569195, -0.03639301, 0.00053180574, -0.026860103, 0.017533474, -0.012560745, -0.004180776, -0.041019488, 0.0012938303, -0.010129632, 0.0049837795, -0.0012118724, -0.0188448, -0.0019540982, -0.034978542, -0.023603886, 0.020509744, -0.004729618, -0.0067260764, 0.024266917, 0.0013868388, 0.018373312, -0.000866544, -0.036157265, 0.0025508257, -0.016988315, 0.01759241, -0.0071975645, -0.006000426, -0.03992917, 0.010328542, -0.030175256, 0.0060630455, -0.0031180852, 0.016973581, 0.028804991, 0.037748538, -0.009989659, -0.018874269, 0.032444295, -0.01660523, -0.017356666, -0.0031954388, 0.043023314, 0.0017469012, -0.0260792, -0.01975831, 0.024561597, 0.029173343, 0.014947655, 0.017194591, -0.027773611, 0.010836866, -0.050567128, -0.022263091, 0.034978542, -0.0047333012, 0.015603318, 0.009451868, 0.030499404, -0.042640228, -0.030072117, -0.018388046, 0.0097244475, 0.014041513, -0.001511157, 0.016325284, 0.026329678, 0.008081606, 0.016192678, 0.009076151, 0.032915782, -0.018078633, -0.0058862376, 0.0017459803, -0.037188645, -0.0033667216, 0.03545003, -0.0063024736, -0.030911956, -0.033858757, 0.003556422, 0.0011308354, 0.01825544, 0.0137468325, -0.0053152945, 0.016958848, -0.0034164488, 0.02593186, 0.0023206067, -0.044909265, -0.056372326, -0.031118233, -0.02376596, -0.011212583, 0.026285477, -0.024738405, -0.006379827, 0.014888719, -0.025592977, 0.013547923, 0.010306441, -0.019876182, 0.021261178, 0.042522356, -0.04187406, 0.023088196, -0.0036521931, 0.014026779, 0.030263659, -0.029188076, -0.021570593, -0.024650002, -0.0051090186, 0.004578594, -0.017091453, -0.03250323, 0.01456457, 0.010372744, 0.0061735506, -0.016973581, -0.029747969, 0.0068476317, -0.0188448, -0.040194385, 0.0034238158, -0.021290647, -0.004777503, 0.005967275, -0.004740668, 0.033888225, -0.027537867, -0.020804424, -0.01281859, -0.0033372536, 0.0025010984, -0.008656232, 0.026447551, 0.017975494, 0.0203182, -0.040459596, 0.019728841, 0.018594323, 0.059702214, 0.013356381, -0.019507831, 0.032886315, 0.022454632, 0.026801167, 0.024812074, -0.025180425, -0.007639585, -0.021408519, -0.013886806, 0.002296664, 0.0065013827, -0.00047333012, 0.013385849, -0.025475105, -0.026020264, 0.029792171, -0.009415033, 0.02034767, 0.04767926, 0.0369529, -0.011971384, 0.027022177, 0.02957116, -0.02233676, 0.05145117, -0.01857959, 0.045793306, 0.011868246, -0.0069544534, 0.043465335, -0.022749314, 0.0070428574, -0.002394277, 0.022631442, 0.027184252, 0.010682158, 0.037011836, 0.04408416, 0.017120922, 0.018874269, 0.010394845, 0.0036116745, 0.0042618127, 0.009319263, 0.016413689, -0.04187406, -0.02185054, -0.030735148, 0.027419996, -0.021511657, -0.025077287, -0.021880006, 0.031707592, -0.043288525, 0.0049837795, -0.016074806, 0.0037903243, -0.036481414, -0.024708938, -0.021717932, -0.008737269, -0.030676212, 0.0017211167, -0.014122549, -0.021113839, -0.03250323, 0.033298865, -0.0019301554, -0.017120922, 0.009569741, -0.033740886, -0.011411492, 0.00702444, -0.005525254, -0.025622446, -0.017238794, -0.019669905, -0.04818022, 0.019935118, -0.0188448, -0.03070568, -0.009761282, 0.00016840514, 0.011765108, 0.00097152387, 0.0038271595, 0.016428422, 0.017356666, -0.034772266, 0.016796773, -0.013120637, -0.024325853, 0.0071459957, -0.03683503, -0.008744636, 0.01441723, -0.034890138, 0.03185493, 0.0011676704, 0.0063024736, 0.03872098, 0.009341363, 0.036304604, -0.008914077, 0.006965504, 0.006611888, -0.02989531, -0.024738405, 0.009208757, -0.03857364, 0.00013410252, 0.007510662, 0.023147132, -0.015455978, -0.02233676, 0.023972236, 0.030587807, -0.004972729, -0.0114483265, -0.006214069, -0.040577468, 0.0055620894, -0.019920383, -0.0041071055, -0.010969471, 0.0063614096, 0.0028620816, -0.007359639, 0.007514346, -0.040665872, -0.04947681, 0.015367574, 0.0068623656, 0.03503748, -0.02964483, -0.001311327, -0.021261178, 0.044820864, -0.021835804, -0.002904442, 0.037895877, 0.015441244, -0.045351285, -0.0024568965, 0.05036085, 0.034182906, -0.0070796926, 0.029512225, 0.027316857, 0.028436642, 0.007713255, 0.014704543, 0.02012666, 0.0029320682, 0.022690378, 0.0013822344, 0.002200893, 0.0015129988, -0.004899059, 0.0070133894, -0.010387478, -0.014704543, 0.039457683, -0.015883265, 0.00767642, 0.019846713, 0.026801167, 0.015080261, -0.00228193, -0.030263659, 0.007860595, 0.034949075, -0.023854364, 0.000008043274, 0.01781342, 0.015308638, -0.025651913, -0.0049690455, 0.0046412135, -0.018343844, 0.024708938, -0.00011297994, -0.015618052, 0.0062951064, -0.020332936, -0.00077767955, 0.0016538928, 0.00804477, 0.005691012, -0.008162642, -0.0005691012, -0.031118233, -0.007867962, 0.08940598, -0.013805768, 0.0018260966, -0.0017864989, 0.017975494, -0.0018804282, 0.010409579, 0.03845577, 0.0108737005, -0.0072343997, -0.022263091, 0.025622446, -0.0007551181, -0.008914077, 0.04143204, 0.008855141, 0.027434729, 0.016104275, 0.043671608, -0.008516259, 0.030013181, 0.017120922, 0.01656103, -0.00012500888, -0.019434161, -0.0025618763, 0.026491752, 0.021511657, 0.03830843, 0.032061208, 0.0023519166, -0.0016262665, 0.028068291, -0.0074885613, -0.025371967, -0.010365377, 0.0031309775, 0.0032709506, 0.012472341, -0.008147908, -0.038779918, 0.0075069787, -0.02093703, -0.00093100534, 0.0049543115, 0.00066210964, 0.0024071692, 0.016192678, -0.013724731, -0.011043142, 0.011065243, -0.004541759, 0.00065059867, -0.0022358862, -0.008022669, -0.07367006, 0.018019697, 0.023500748, 0.016266348, 0.007639585, -0.039575554, 0.0111610135, -0.013982577, 0.0039081965, -0.004177092, 0.003230432, -0.0065382174, 0.012575478, -0.06158817, 0.013341648, -0.0026281793, -0.033446208, 0.005632076, 0.02935015, -0.030101586, 0.0017671605, 0.023058727, -0.0034146071, 0.010365377, 0.022277825, 0.012848058, -0.03312206, 0.005816251, -0.033917695, 0.008670966, 0.020229798, 0.003578523, -0.018167036, -0.010564286, -0.033446208, 0.011654603, 0.02905547, -0.0009770491, 0.008516259, -0.022218889, -0.012096623, -0.010262239, 0.012973297, -0.021865273, -0.01608954, 0.01215556, -0.0047664526, -0.00065428216, 0.019183682, -0.014174119, -0.01404888, -0.045203947, -0.013989944, 0.0021161723, 0.058641367, 0.022130486, -0.025666649, 0.015853796, -0.024473192, -0.0016916487, 0.009952825, 0.0002675144, -0.00081313326, 0.0057020625, -0.035597373, 0.01862379, -0.002066445, 0.005757315, -0.01855012, 0.018225972, -0.0012883052, -0.008015302, 0.010483249, 0.004081321, -0.016619965, 0.00082878815, -0.0063319416, 0.041549914, 0.038396835, 0.009938091, 0.0036908698, -0.009348731, -0.026093934, -0.002526883, 0.006622938, -0.02659489, 0.03147185, -0.004191826, 0.0053484463, 0.014070981, 0.013658429, -0.0035895735, 0.01006333, -0.0038639945, 0.003556422, -0.029247012, -0.0024974148, -0.017017784, 0.005727847, -0.02115804, 0.012759654, 0.01318694, -0.0063687763, -0.008368919, -0.022911388, 0.010247505, -0.020229798, 0.00057232426, 0.012848058, 0.023574417, 0.01586853, -0.022469368, -0.015632786, 0.0028639236, -0.004394419, -0.007779558, 0.0026944822, -0.017209325, -0.022690378, -0.0362162, 0.00093238667, -0.0027442097, 0.039015662, -0.042993844, -0.027257921, -0.0014853725, -0.06347412, -0.008752002, -0.01326061, 0.00024265076, 0.010276973, 0.0074112075, -0.01166197, 0.0009019978, -0.01550018, 0.053012975, -0.043907356, -0.031501316, 0.014122549, 0.0035748396, -0.008928811, -0.017209325, 0.0097539155, 0.025946595, 0.015131829, -0.002644755, -0.017400868, 0.0054221163, 0.034949075, 0.0034643344, 0.0048880083, -0.004899059, -0.021511657, 0.008133174, -0.010615855, 0.01144096, -0.0015314163, 0.00089831423, -0.000024863644, -0.0050058803, 0.037306517, 0.0027202668, 0.01983198, -0.009304528, 0.0033722469, -0.007300703, 0.02049501, -0.013010132, -0.005064816, -0.016870443, -0.0105863875, 0.023559684, -0.01353319, -0.02886393, 0.0376896, -0.01909528, -0.010829498, -0.049241066, 0.014483533, 0.019552033, -0.007727989, -0.008656232, 0.005179005, -0.026963241, 0.027316857, -0.027935686, 0.014174119, -0.013584758, -0.03350514, -0.038544174, 0.033888225, 0.030072117, 0.045852244, -0.025990795, 0.037748538, 0.0041292068, 0.018152302, 0.0056504933, 0.015220234, 0.01050535, -0.021555858, 0.020627616, -0.02571085, 0.0010801872, 0.020038255, -0.008147908, -0.034772266, 0.003747964, 0.0145498365, -0.0020701287, 0.0040776376, -0.016649432, 0.0004452434, 0.029114407, -0.0021806336, 0.008508892, 0.027125316, -0.015706455, 0.018167036, -0.00976865, 0.0061882846, -0.0068770996, -0.025917126, -0.0062214364, 0.013651062, 0.016398955, 0.01980251, -0.014778214, 0.0047038333, -0.015883265, 0.024001705, -0.022425165, 0.006670824, 0.0015553591, -0.040901616, 0.020612882, 0.0021382733, -0.009194023, 0.0032801593, -0.0072049317, 0.017474538, 0.00028984563, -0.024031173, 0.009326629, 0.0029689034, -0.019051077, -0.01840278, 0.029305948, 0.024237448, 0.01729773, 0.022439899, -0.033446208, 0.005223207, -0.002771836, -0.020362403, 0.04320012, 0.015912732, -0.01180931, 0.022999791, 0.021437986, -0.012899627, -0.020627616, 0.017459804, -0.031678125, 0.048239153, -0.017931292, 0.024841543, 0.015883265, 0.004037119, 0.030175256, -0.023942769, -0.018653259, 0.0023500747, 0.022322027, -0.03754226, 0.024885746, 0.009731814, -0.0014734011, -0.0053815977, 0.0067518605, -0.008177376, -0.01675257, 0.013592126, 0.027243188, -0.015676988, 0.01899214, 0.010129632, -0.0038271595, -0.0035361627, -0.0038713615, 0.035597373, -0.007727989, -0.004177092, 0.018270174, -0.00853836, 0.009783383, 0.009157188, -0.01623688, 0.021482188, 0.007772191, -0.011698805, 0.024045907, 0.025622446, -0.00020903879, 0.020524478, -0.020097192, -0.03819056, 0.02310293, 0.0041844593, -0.022233624, 0.023972236, -0.016708368, -0.031707592, 0.0033722469, -0.022277825, -0.011772475, 0.035391096, 0.021924209, -0.010755829, -0.017415602, -0.027493665, -0.040135447, -0.019876182, -0.02361862, -0.02431112, 0.036687687, 0.0025895026, 0.00912772, -0.022852452, 0.022999791, 0.009871787, -0.030764615, 0.0033096273, -0.012089256 ]
2310.12773
34
Compared to single-dimensional annotation and training, we observe the following advantages of Safe RLHF: First, decoupling the annotations for helpfulness and harmlessness results in higher Inter-Rater Agreement Rate among crowdworkers, which is Helpfulness: 69.00% and Safety: 66.53% compared to 61.65%. Second, the agreement between crowdworkers and researchers (i.e. approval rate) is also increased. In single-dimensional annotation, the average approval rate dur- ing a 10% quality inspection drops from at least 90% accuracy to below 80%. Third, as shown in Figure 6a, using the above data for PPO training results in a notable improvement in helpfulness. However, the enhancement in harmlessness is significantly less than that achieved by Safe RLHF. In contrast, Safe RLHF allows a subjective adjustment in the training phase to balance helpfulness and harmlessness. 8
2310.12773#34
Safe RLHF: Safe Reinforcement Learning from Human Feedback
With the development of large language models (LLMs), striking a balance between the performance and safety of AI systems has never been more critical. However, the inherent tension between the objectives of helpfulness and harmlessness presents a significant challenge during LLM training. To address this issue, we propose Safe Reinforcement Learning from Human Feedback (Safe RLHF), a novel algorithm for human value alignment. Safe RLHF explicitly decouples human preferences regarding helpfulness and harmlessness, effectively avoiding the crowdworkers' confusion about the tension and allowing us to train separate reward and cost models. We formalize the safety concern of LLMs as an optimization task of maximizing the reward function while satisfying specified cost constraints. Leveraging the Lagrangian method to solve this constrained problem, Safe RLHF dynamically adjusts the balance between the two objectives during fine-tuning. Through a three-round fine-tuning using Safe RLHF, we demonstrate a superior ability to mitigate harmful responses while enhancing model performance compared to existing value-aligned algorithms. Experimentally, we fine-tuned the Alpaca-7B using Safe RLHF and aligned it with collected human preferences, significantly improving its helpfulness and harmlessness according to human evaluations.
http://arxiv.org/pdf/2310.12773
Josef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji, Xinbo Xu, Mickel Liu, Yizhou Wang, Yaodong Yang
cs.AI, cs.LG
null
null
cs.AI
20231019
20231019
[ { "id": "2302.13971" }, { "id": "2304.05302" }, { "id": "1707.06347" }, { "id": "2305.18290" }, { "id": "2305.10403" }, { "id": "2305.03047" }, { "id": "2211.05100" }, { "id": "2110.08207" }, { "id": "2304.05335" }, { "id": "2107.03374" }, { "id": "2105.04054" }, { "id": "2209.07858" }, { "id": "2305.15324" }, { "id": "2307.09288" }, { "id": "2210.11416" }, { "id": "2212.08073" }, { "id": "2307.12950" }, { "id": "2009.11462" }, { "id": "2307.04657" }, { "id": "2204.05862" }, { "id": "2112.00861" }, { "id": "2209.14375" }, { "id": "2303.00957" }, { "id": "2306.01693" }, { "id": "2305.01937" }, { "id": "2307.15217" }, { "id": "2306.17492" }, { "id": "2112.04359" }, { "id": "1506.02438" } ]
{ "authors": "Josef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji, Xinbo Xu, Mickel Liu, Yizhou Wang, Yaodong Yang", "chunk_id": 34, "doc_id": "2310.12773", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12773", "summary": "With the development of large language models (LLMs), striking a balance\nbetween the performance and safety of AI systems has never been more critical.\nHowever, the inherent tension between the objectives of helpfulness and\nharmlessness presents a significant challenge during LLM training. To address\nthis issue, we propose Safe Reinforcement Learning from Human Feedback (Safe\nRLHF), a novel algorithm for human value alignment. Safe RLHF explicitly\ndecouples human preferences regarding helpfulness and harmlessness, effectively\navoiding the crowdworkers' confusion about the tension and allowing us to train\nseparate reward and cost models. We formalize the safety concern of LLMs as an\noptimization task of maximizing the reward function while satisfying specified\ncost constraints. Leveraging the Lagrangian method to solve this constrained\nproblem, Safe RLHF dynamically adjusts the balance between the two objectives\nduring fine-tuning. Through a three-round fine-tuning using Safe RLHF, we\ndemonstrate a superior ability to mitigate harmful responses while enhancing\nmodel performance compared to existing value-aligned algorithms.\nExperimentally, we fine-tuned the Alpaca-7B using Safe RLHF and aligned it with\ncollected human preferences, significantly improving its helpfulness and\nharmlessness according to human evaluations.", "text": "Compared to single-dimensional annotation and training, we observe the following advantages of Safe RLHF: First, decoupling the annotations for helpfulness and harmlessness results in higher Inter-Rater Agreement Rate among crowdworkers, which is Helpfulness: 69.00% and Safety: 66.53% compared to 61.65%. Second, the agreement between crowdworkers and researchers (i.e. approval rate) is also increased. In single-dimensional annotation, the average approval rate dur- ing a 10% quality inspection drops from at least 90% accuracy to below 80%. Third, as shown in Figure 6a, using the above data for PPO training results in a notable improvement in helpfulness. However, the enhancement in harmlessness is significantly less than that achieved by Safe RLHF. In contrast, Safe RLHF allows a subjective adjustment in the training phase to balance helpfulness and harmlessness.\n8", "title": "Safe RLHF: Safe Reinforcement Learning from Human Feedback", "year": 2023 }
[ 0.024461718, 0.042116445, 0.078034185, 0.03145699, -0.0022901178, -0.0019986483, -0.033165976, 0.0074225166, 0.010920151, 0.036989477, 0.024563098, 0.0012663538, -0.017843006, 0.03554118, 0.021116154, -0.060944293, 0.02349136, -0.040030897, -0.0022448585, 0.014106402, -0.017553346, 0.04536063, 0.029096264, 0.013910882, 0.004352129, -0.041044705, 0.032847352, -0.014859516, 0.010594284, -0.0015750218, -0.0012437241, -0.020015448, -0.0071871686, -0.020478904, -0.04165299, 0.013447427, -0.0020276143, 0.024287922, -0.029747998, -0.01042773, 0.016901612, -0.015670562, -0.003906778, 0.008269769, -0.048546877, 0.009573236, 0.041537125, 0.03192044, 0.018002318, 0.014381578, -0.04620064, 0.038292944, -0.042319205, -0.03710534, 0.006383364, 0.0074514826, 0.007864247, 0.013715362, 0.0048771366, -0.0029183163, 0.024635512, -0.035686012, -0.007523897, -0.024823792, -0.031283192, -0.030588008, -0.09674617, -0.03919089, 0.037916385, 0.022984456, 0.028039008, -0.03832191, 0.038727432, -0.0077411416, -0.043941297, -0.014917448, 0.005145071, 0.025185866, -0.032123204, 0.010355315, 0.014157092, 0.020638216, -0.015511249, -0.050111037, -0.0076832096, -0.040320557, -0.054397993, -0.037452932, -0.056280777, -0.01904509, -0.04492614, 0.013823984, 0.0021670128, -0.010051173, 0.0012527759, -0.05561456, -0.03881433, 0.007647002, 0.051153813, 0.018668534, 0.025388626, -0.0251569, 0.00007603553, -0.047562037, 0.003088491, 0.02153616, 0.020594768, 0.024707928, -0.0025924495, 0.0007015183, -0.018827846, -0.018074732, -0.08892537, 0.06505745, 0.017843006, -0.06158154, -0.06928647, 0.0038597086, 0.008791156, 0.011883268, -0.05462972, -0.034382544, 0.031283192, -0.022549966, -0.016032636, 0.0048047216, 0.007828039, -0.026547264, 0.0037764315, -0.059438065, -0.011644299, 0.016974028, 0.010854978, 0.008682534, -0.066100225, 0.03811915, 0.0012174738, -0.023752052, -0.033021145, -0.036439124, -0.008465289, -0.014511925, -0.06465193, 0.03840881, -0.038495705, -0.022622382, -0.018871296, 0.006930096, -0.020725114, 0.038206045, -0.077454865, 0.012745004, -0.05074829, 0.0019352854, -0.02961765, -0.008226321, -0.0072233756, 0.010203244, -0.017336102, -0.045099933, 0.028357634, 0.036641885, -0.02334653, -0.01037704, 0.020276142, 0.04095781, -0.012607416, -0.043188184, -0.06459399, -0.02089891, 0.0038597086, 0.023230666, -0.015120209, -0.01752438, -0.0386695, -0.03319494, -0.0022575313, 0.0046417885, -0.0053514536, -0.023230666, -0.0017117047, 0.024099644, -0.0023263253, 0.009696341, -0.021130636, -0.02433137, -0.025576906, 0.0031880613, -0.026228638, 0.0009604012, 0.007277687, 0.022231342, 0.033600464, -0.023824468, -0.013599498, -0.01806025, 0.011376364, 0.033745293, -0.0021905475, -0.05995945, 0.03244183, 0.029038332, -0.014989862, -0.022390654, -0.017408516, -0.010058415, -0.043970264, 0.0005254599, -0.040755045, -0.0206527, 0.050082073, 0.04845998, 0.021014774, 0.042666797, -0.012194651, 0.002892971, -0.04145023, 0.030964566, 0.014779859, 0.016438158, -0.03470117, 0.0023914985, 0.029342474, 0.01806025, -0.06343536, -0.00015784163, 0.067490585, -0.0069735446, 0.06326156, -0.072183065, 0.029719032, 0.03924882, -0.02756107, -0.023259632, 0.016076084, -0.0012672589, 0.033339772, -0.03351357, -0.01042773, -0.00015229736, 0.020681666, 0.013729845, 0.028502462, -0.023998262, -0.011325674, 0.012730521, 0.00984117, -0.030472146, 0.028473496, -0.010695665, -0.003754707, 0.0023426185, 0.026764508, -0.056020085, -0.04008883, 0.013838467, -0.017263686, -0.027025202, -0.0064775036, 0.01493193, -0.014120885, 0.019407164, 0.018987158, 0.021420296, 0.01581539, -0.00012287886, 0.006401468, 0.021999614, -0.018639568, 0.025910014, -0.0010590664, 0.009884619, 0.022825142, 0.0057352516, -0.058308393, 0.01596022, 0.05633871, 0.042464036, -0.06957614, -0.054687653, -0.009254611, 0.05717872, 0.06685334, -0.031254224, -0.0049567926, 0.016800232, 0.013925365, -0.01023221, 0.013432944, 0.007777349, 0.0074080336, -0.05697596, 0.10120691, -0.016669886, 0.0026395193, 0.0046128226, 0.018393358, -0.015887806, -0.0033636673, -0.028111422, 0.019030608, 0.058018733, -0.026764508, 0.036873613, 0.07253066, 0.014033987, -0.005315246, -0.019320266, -0.016365744, 0.011832577, 0.018871296, 0.048633777, -0.009703582, 0.026634162, -0.01238293, -0.04582408, 0.08052525, -0.036468092, 0.036149465, -0.0028368495, 0.011289466, -0.035367385, 0.032673556, -0.03945158, 0.011629816, -0.04272473, 0.00070785463, -0.00085539976, -0.02036304, -0.0045838566, -0.010616009, -0.027198996, 0.019856136, 0.00013249644, -0.01635126, -0.044230957, -0.032181136, 0.023665154, 0.011484986, 0.005742493, -0.022303756, -0.05775804, -0.026503814, 0.024056194, -0.026663128, -0.02281066, 0.011289466, 0.012889833, 0.050603457, 0.038640533, 0.023230666, 0.0025833978, -0.025316212, -0.003303925, -0.045534424, 0.036178432, -0.0015324781, -0.022796178, 0.00018115013, 0.024490684, -0.032296997, 0.015380902, -0.01713334, -0.015366419, 0.017596794, 0.02628657, -0.04405716, 0.025490008, 0.010978083, -0.03223907, -0.029690066, 0.032036304, 0.0033256495, 0.010543594, -0.07450034, 0.05237038, 0.015598147, 0.0013586826, 0.011303949, 0.01962441, -0.019494062, -0.027010718, -0.059669793, -0.038292944, 0.0059597376, 0.04996621, -0.026445882, -0.017509898, -0.056020085, 0.006383364, 0.012078788, -0.017785074, -0.0045657526, 0.0054419716, 0.0024204645, -0.026474848, -0.03507773, 0.051935893, 0.06488366, 0.042840593, -0.0034596168, -0.024360336, -0.059380133, 0.047793765, -0.020812012, 0.033050112, -0.05819253, -0.0016193759, -0.0056230086, 0.033948056, 0.012665347, -0.026083808, 0.015453317, -0.023245148, 0.002212272, -0.05584629, 0.0069771656, -0.016134016, -0.0027083133, 0.0054311096, -0.001718041, -0.06123395, 0.002016752, -0.036004636, 0.027010718, 0.025605872, -0.00939944, -0.024461718, -0.011151878, -0.0347591, -0.0011740249, 0.08266873, 0.012846384, -0.017944386, -0.022231342, 0.030616974, 0.0076832096, -0.0040950566, 0.003588153, 0.03426668, 0.030066622, -0.022535484, -0.02809694, -0.008168389, -0.025678286, -0.017162306, -0.02501207, 0.014649513, -0.011608091, 0.01042773, -0.0515883, 0.020565802, 0.051385537, 0.042116445, -0.02227479, -0.025446558, 0.010941875, -0.034440476, -0.002525466, 0.01982717, 0.03435358, 0.006061118, -0.0035447043, 0.05179106, 0.019103022, -0.012230859, -0.046461333, -0.016264362, -0.01987062, -0.016539538, -0.032818384, -0.08284252, 0.034527373, -0.0028748673, -0.008639085, -0.021478228, 0.006843198, -0.04095781, 0.061349813, 0.020942358, -0.0025580525, -0.03122526, 0.021507194, -0.019595444, 0.06129188, 0.042869557, 0.03525152, 0.025837598, -0.0024965, -0.0068214736, 0.02281066, -0.0024295163, 0.057381485, -0.01777059, -0.016293328, -0.025736218, 0.018074732, -0.003910399, 0.010072898, -0.007581829, 0.011962924, 0.0050292076, -0.019160954, 0.012520518, -0.010529111, 0.035309453, 0.033687364, -0.027546588, -0.002344429, 0.016380226, -0.013396737, 0.02354929, -0.011007049, -0.014772618, -0.036468092, -0.015308487, 0.0154678, 0.004435406, -0.022376172, 0.006662161, 0.028516946, 0.00024439994, 0.0029979725, 0.003939365, -0.00047069616, -0.017857488, -0.034730136, -0.03278942, -0.019146472, -0.039770205, -0.0413054, 0.008161147, 0.023824468, 0.008385633, -0.06024911, -0.02422999, 0.0010563508, -0.018711982, -0.022738246, -0.029747998, 0.03499083, -0.0003953395, 0.0579608, -0.05506421, 0.035657045, -0.0017126099, -0.006075601, -0.0070459596, 0.008559429, -0.016568504, 0.006386985, -0.03499083, 0.009928068, -0.020580284, -0.024925172, -0.033079077, -0.0061697406, -0.0024946898, -0.0013613981, -0.0019425269, -0.009435648, -0.019421648, -0.019378198, -0.0019914068, -0.05153037, 0.032876316, -0.00041095397, -0.0033057353, 0.024505166, 0.01865405, -0.010883943, -0.026373468, 0.020478904, -0.045968913, 0.012230859, 0.0026395193, 0.035106692, -0.014091919, 0.045505457, -0.019349232, -0.035801876, -0.023795502, -0.011253259, 0.012201893, -0.023781018, -0.022941006, 0.020145796, 0.02168099, -0.04683789, -0.003798156, 0.02731486, 0.015149175, 0.04336198, 0.0016537729, -0.032847352, 0.004851791, 0.0014609685, 0.004047987, -0.0028802985, -0.0006603324, -0.0029943518, -0.019247852, 0.039799172, -0.041681956, -0.0011468693, 0.019204404, 0.0010780753, -0.0074876896, 0.015105726, -0.003465048, -0.010514628, -0.049068265, -0.014714686, 0.013165009, -0.01845129, -0.008342184, -0.0014374336, 0.01968234, 0.01155016, -0.03429565, -0.050777253, -0.00061507314, 0.00567732, -0.015800908, 0.02785073, 0.007922178, 0.0186975, -0.010463938, -0.04562132, -0.017900938, -0.059901517, 0.029197644, -0.011629816, -0.049357925, 0.017857488, 0.019160954, 0.02614174, 0.0016112291, -0.0051414506, -0.014960896, 0.003895916, 0.037510864, -0.009855653, -0.04987931, 0.022651348, -0.007965627, 0.02330308, -0.021579608, 0.010239452, -0.047243413, -0.0502269, -0.043043353, -0.044694412, -0.02476586, 0.008161147, -0.00876219, -0.02281066, 0.029632134, 0.0041493676, 0.017944386, -0.02050787, -0.021463744, -0.02188375, 0.02437482, -0.017437482, 0.007458724, -0.0005702665, 0.031138362, -0.0050581736, -0.029313508, -0.035106692, -0.01884233, -0.01199189, -0.005869219, -0.011246017, -0.0077845906, 0.013693637, 0.00012491552, 0.0066585406, 0.020985808, -0.01752438, 0.05819253, -0.020522352, -0.04229024, -0.027908662, 0.023954814, 0.039335717, -0.024606546, -0.0068106116, 0.011007049, -0.028705224, -0.013918123, 0.031138362, 0.031601816, 0.0056266296, 0.07154582, -0.0032930628, 0.016293328, 0.0046779956, -0.048025493, -0.018494738, -0.0039864345, 0.03817708, -0.029501786, -0.007994593, -0.025446558, -0.027083132, 0.019711306, 0.047243413, 0.0023082215, 0.008407358, 0.01703196, 0.0048083425, 0.009319784, 0.009269094, 0.022825142, 0.0040552285, 0.013346046, 0.022636864, -0.019291302, -0.020478904, 0.0050726566, -0.03606257, 0.013635706, -0.021738922, 0.025779666, -0.056106985, -0.012889833, -0.03223907, 0.009022883, 0.010507387, -0.00440644, -0.002755383, -0.015178141, -0.024258956, 0.02188375, -0.02354929, 0.03200734, -0.008610119, -0.008001835, 0.03235493, 0.00047160135, 0.0022412378, 0.0018954573, 0.0011133775, 0.010167037, 0.028227286, 0.030472146, -0.0028078838, -0.020044414, -0.014475717, 0.014794342, -0.01933475, 0.0052536936, 0.030732838, -0.027691418, 0.0076180366, -0.0046671336, -0.0023824468, 0.025345178, 0.023332046, 0.007201651, 0.014352612, 0.006426813, 0.02207203, -0.002706503, 0.007820798, 0.010673941, 0.0015623491, -0.019696824, -0.007118374, -0.020913392, 0.015771942, 0.015279521, 0.049647585, -0.033397704, 0.00651009, -0.0071111326, -0.015742976, 0.02266583, -0.040407456, -0.031312156, 0.024287922, 0.022578932, -0.030530078, -0.009471855, -0.027329344, -0.0006843198, 0.015308487, -0.022216858, -0.028401082, 0.06470986, 0.008733224, -0.033397704, -0.015047794, 0.03270252, -0.018610602, -0.09402337, -0.037423965, 0.03215217, -0.03200734, 0.012658106, 0.024287922, 0.02887902, 0.04298542, 0.0009024694, -0.012904316, 0.017307136, -0.0076325196, -0.023042388, -0.00817563, -0.013816743, -0.033050112, 0.008834605, -0.0030178865, 0.04171092, -0.011593608, -0.026214156, -0.0257507, 0.009080815, 0.022578932, -0.019407164, 0.004478855, -0.023621706, 0.0017270929, -0.02667761, 0.022969972, -0.009450131, 0.0043304046, 0.0005050932, -0.024954138, -0.032036304, -0.018132664, 0.004772135, 0.009370474, -0.015945738, 0.023954814, 0.029574202, -0.0075745876, 0.039828137, -0.026445882, 0.024736894, -0.02564932, -0.0069735446, -0.020840978, 0.0056954236, 0.013324322, 0.012752245, -0.009689099, 0.0016094188, -0.021217534, -0.017263686, 0.009971517, 0.020623734, 0.028545912, -0.012310515, -0.015974704, -0.034961864, 0.04023366, 0.018480256, -0.019856136, 0.0077339, 0.017582312, -0.007078546, 0.03029835, -0.01918992, -0.04788066, -0.0048916196, 0.0010862219, -0.013896399, 0.022796178, 0.02026166, 0.01727817, 0.03817708, 0.003332891, -0.028140388, 0.026880372, 0.04492614, -0.046374433, 0.036960512, -0.007136478, 0.023708604, 0.006647678, 0.041102637, -0.002266583, -0.003235131, 0.021608574, 0.015873322, -0.013845709, 0.010007724, 0.003582722, -0.0052355896, -0.0012935093, -0.015120209, -0.012933282, 0.019030608, -0.034382544, 0.03583084, -0.02599691, 0.029501786, -0.03507773, 0.011318432, 0.012535001, 0.027184514, 0.006010428, 0.027546588, 0.005101622, -0.014692962, 0.021130636, -0.012868109, -0.03244183, -0.0065607806, -0.0007531139, 0.006730955, 0.02564932, 0.0048445496, 0.009508062, 0.000107377564, 0.01307087, 0.009276335, 0.02614174, 0.01904509, 0.00079113164, 0.000682962, 0.015844356, -0.002134426, 0.0067671626, 0.043101285, -0.016134016, -0.018740948, 0.0006182413, -0.012375688, 0.015380902, 0.045592356, -0.024881724, -0.045476492, 0.0023969298, 0.01908854, 0.016872646, 0.029443856, 0.008059767, -0.048575845, -0.010485662, 0.007914937, -0.0015062278, -0.0012219996, 0.018509222, -0.0075166556, -0.011231535, 0.018436806, 0.013990538, -0.017437482, 0.06592643, 0.035888772, -0.01762576, -0.045302697, -0.010898426, -0.013425703, 0.038263977, -0.02046442, -0.029342474, 0.025634836, 0.0077121756, -0.027010718, -0.0056700786, 0.023216182, -0.018625084, 0.005101622, -0.06882302, -0.0024439993, -0.015627112, -0.0077990736, 0.036207397, -0.014960896, 0.035454284, 0.02085546, 0.04689582, -0.019856136, 0.051356573, -0.0015035121, 0.00577508, 0.047011685, -0.002706503, -0.00063362945, -0.03919089, 0.04492614, 0.03919089, 0.00066621613, 0.006886647, -0.0018972676, 0.055469733, 0.015308487, -0.014787101, -0.02089891, 0.023925848, -0.03391909, -0.07270446, -0.02476586, 0.04116057, 0.022332722, -0.021478228, 0.01908854, 0.0035772908, -0.001683644, -0.019059574, -0.000038215778, -0.0021941683, -0.005952496, 0.0038922953, -0.03626533, 0.011658782, 0.03371633, -0.00288754, -0.019204404, 0.008088732, 0.0061516366, -0.015873322, -0.0025236555, -0.009290818, 0.021724438, 0.015945738, 0.00019314383, -0.0077990736, -0.032296997, -0.004884378, 0.0011070411, 0.012057063, -0.0053080046, 0.005119726, 0.011086705, -0.037858456, -0.046779957, -0.011854302, 0.017162306, 0.014569856, 0.0013487255, 0.0034922035, 0.03936468, -0.010319108, -0.04866274, -0.019508546, -0.009355991, -0.009515304, 0.03554118, -0.0010192383, -0.025837598, -0.036004636, -0.02863281, -0.026807956, 0.037018444, 0.025432076, -0.03406392, -0.0515883, 0.009537028, 0.05350005, 0.017683692, 0.019001642, -0.025533456, 0.0044969586, 0.010529111, 0.019117506, -0.0025960703, -0.03000869, -0.00973979, 0.031572852, 0.020348558, -0.024244472, -0.034034953, 0.00563025, -0.016829198, 0.026460366, -0.029690066, -0.0018900261, 0.010731872, 0.03910399, -0.01042773, -0.02922661, -0.011897751, -0.008537704, -0.044201992, -0.0006005902, -0.000024680434, -0.0029002125, 0.011723955, 0.014504683, 0.009587719, 0.037916385, 0.012020856, 0.006506469, 0.016800232, 0.0015252366, 0.0024856378, 0.0036967753, -0.0035772908, 0.010775321, 0.03641016, 0.009290818, 0.024809308, 0.016467124, 0.030501112, -0.014084677, 0.017292652, 0.017408516, -0.024418268, -0.020739596, -0.016076084, -0.008291494, 0.0034578065, -0.0020583905, 0.034150817, 0.01429468, -0.0066404366, -0.029834896, 0.0053586946, -0.041334365, -0.020840978, -0.015047794, -0.020000966, 0.012708796, 0.024794826, 0.036873613, -0.02599691, -0.029284542, -0.04281163, -0.009942551, -0.034874965, 0.018248528, 0.004033504, 0.033339772, -0.013005697, 0.0024439993, -0.02241962, 0.02756107, -0.012976731, -0.028763156, -0.013679155, 0.003274959, 0.016481608, -0.012477069, 0.026054842, 0.013968814, -0.0068395776, -0.0005399428, -0.039567444, -0.019421648, -0.016771266, -0.023925848, 0.06783818, -0.013346046, -0.006553539, 0.001355967, -0.024780342, 0.02437482, 0.0054854206, 0.0074225166, 0.02593898, 0.02256445, -0.0077556246, 0.0026594333, -0.03661292, 0.011043256, -0.028430048, 0.0050980016, -0.014200541, 0.06957614, 0.009174954, 0.01723472, 0.017104374, -0.0002883014, 0.0013785966, -0.016191948, 0.031399056, 0.010210486, 0.026909338, 0.014309163, 0.048344117, 0.014316405, 0.029545236, -0.0009441079, -0.0059199096, -0.015409868, -0.0425799, 0.008559429, -0.03163078, 0.015742976, 0.012998455, -0.012520518, 0.009964276, -0.0060719806, 0.01987062, 0.011564643, -0.007690451, 0.028864536, -0.00056664576, 0.0010047553, 0.009906344, 0.0035845323, 0.021579608, 0.009131505, -0.005355074, 0.015786426, 0.00787873, 0.012245342, -0.014975379, 0.020580284, 0.029979724, 0.011238776, -0.023954814, 0.0025435698, -0.015004345, -0.008849088, -0.014403302, 0.011666023, 0.008820122, 0.0044173026, -0.014164334, 0.005691803, -0.00342703, 0.024635512, 0.00939944, -0.005594043, 0.032876316, 0.023172734, -0.0023263253, 0.027329344, -0.005050932, -0.0022828763, 0.0016438159, -0.0015279521, -0.010275659, -0.011036015, -0.042493, 0.015786426, 0.013440186, 0.01120981, -0.007857005, 0.014374337, -0.015598147, 0.015192624, 0.049068265, 0.007581829, -0.019030608, 0.008725983, -0.0041964375, 0.011832577, 0.002628657, 0.008783914, -0.006506469, -0.023027904, -0.002947282, 0.014323646, -0.013049146, -0.024678962, -0.00094591826, -0.005061794, 0.018827846, 0.0064630206, -0.00489524, -0.010282901, -0.0011812664, 0.0309356, -0.019943034, -0.002760814, 0.006734576, 0.017118858, -0.0073790676, -0.004714203, -0.0056374916, 0.031022498, -0.02007338, 0.028618326, 0.0015840736, -0.014215024, -0.01859612, -0.034903932, 0.023534808, 0.017162306, 0.0018864054, -0.0018719224, 0.018581636, -0.0070713046, -0.01575746, 0.01624988, 0.0076397606, -0.039335717, -0.014765376, 0.0067418176, -0.008204596, -0.01698851, 0.0122381, -0.01698851, -0.023665154, 0.008197355, -0.0038162598, -0.00592353, 0.009942551, 0.0019497684, -0.016438158, 0.013360529, -0.021232018, 0.021521676, -0.019638892, -0.011897751, -0.005956117, -0.022723762, 0.0040407456, 0.002927368, 0.020015448, -0.00037429397, -0.01713334, 0.01062325, 0.039625376, -0.018480256, 0.019943034, -0.00095768564, 0.03241286, 0.008646326, -0.008747707, 0.001737955, 0.0251569, -0.030414214, -0.01076808, -0.013519842, -0.019595444, 0.009066332, 0.009174954, 0.027445206, -0.0019316647, 0.01933475, -0.009428406, -0.0016908854, 0.020319592, -0.00455127, 0.029646616, -0.009580477, 0.015540215, -0.0022195135, -0.0014908396, 0.006539056, 0.019204404, 0.03919089, -0.0026467608, 0.06274018, 0.015091243, -0.017929902, 0.0065752636, 0.012324998, -0.03945158, 0.0021326158, 0.004022642, 0.007704934, -0.0065426766, -0.011868785, -0.0007503983, 0.004189196, 0.016365744, 0.0050545526, 0.017060926, 0.019349232, 0.016322294, 0.017509898, 0.01429468, 0.011151878, -0.019928552, -0.0021380468, -0.0007612605, 0.011528435, -0.0039321235, 0.008660809, 0.02202858, -0.020681666, 0.021811336, 0.04428889, -0.00034419657, 0.009066332, -0.017365068, 0.006303708, 0.012955007, -0.049589653, -0.003906778, -0.007064063, -0.015742976, 0.013874674, -0.004576615, -0.002281066, -0.03478807, -0.0019751135, -0.021478228, 0.021188568, 0.013621223, 0.0012473449, -0.044810276, 0.022347206, 0.021347882, 0.029487304, -0.051211745, 0.03446944, -0.019537512, 0.023114802, -0.006966303, -0.054397993, 0.0071400986, -0.050893117, 0.010616009, -0.011318432, 0.01859612, 0.006242155, -0.033861157, -0.01463503, 0.02227479, -0.008117698, -0.005159554, 0.007900454, 0.0031934925, 0.01057256, 0.03171768, -0.0010844115, -0.003837984, 0.011557401, -0.0057823216, 0.005883702, -0.007288549, 0.009645651, 0.00714734, -0.0037366033, -0.00973979, -0.020681666, 0.0071002706, -0.010558077, 0.00030301066, -0.039770205, 0.00460196, 0.03704741, 0.02394033, -0.024360336, -0.012426379, -0.0038452256, -0.04043642, 0.018291976, 0.020189244, -0.019856136, 0.0018882158, 0.008110457, 0.018509222, -0.022607898, -0.0021181328, 0.03194941, 0.03713431, -0.004920585, 0.0072269966, 0.028169354, 0.036149465, 0.008421841, 0.00013068608, 0.041855752, 0.003484962, 0.026214156, 0.029950758, 0.017538864, -0.013244666, -0.01703196, 0.013353288, 0.05071932, -0.013679155, 0.016235396, 0.00077393313, -0.010775321, -0.0013912693, -0.002011321, -0.023389978, 0.03015352, 0.01698851, -0.007893213, 0.0051957616, -0.0019370958, 0.022622382, -0.022361688, -0.0058366326, 0.015771942, 0.02163754, 0.02011683, -0.008255286, 0.00075492426, -0.01076808, -0.034150817, 0.03525152, -0.025461042, -0.02231824, 0.055324905, -0.0067092306, 0.015105726, 0.010702907, 0.004073332, -0.026865888, -0.009088057, 0.016220914, 0.011854302, 0.006759921, 0.026634162, 0.004229024, 0.016626436, -0.00025526216, 0.0071147536, 0.015525732, -0.03478807, -0.013367771, -0.024432752, -0.02369412, -0.009812205, 0.0025417593, -0.020696148, -0.02281066, 0.029501786, -0.01575746, 0.01908854, 0.027937628, -0.0060321526, 0.014352612, 0.024534132, -0.029385924, -0.01737955, -0.019812688, -0.046722025, -0.0076542436, -0.021753404, -0.0007155487, -0.009232886, 0.0005824865, -0.022506518, -0.017046442, -0.03655499, 0.0027390895, -0.0017687314, -0.008668051, 0.0064449166, -0.014475717 ]
2310.12397
35
Color the following graph, described as a set of edges, such that no two vertices on the same edge <> share a color. You may use at most 3 colors. Vertex 0 is connected to vertex 7. Vertex 0 is connected to vertex 8. Vertex 0 is connected to vertex 9. Vertex 0 is connected to vertex 11. Vertex 1 is connected to vertex 13. Vertex is connected to vertex Vertex is connected to vertex Vertex is connected to vertex Vertex is connected to vertex Vertex is connected to vertex Vertex is connected to vertex Vertex is connected to vertex Vertex is connected to vertex Vertex is connected to vertex Vertex is connected to vertex Vertex 10 is connected to vertex 13. Vertex 11 is connected to vertex 13. There are a total of 14 vertices. Please label every vertex, even if it is disconnected from the <> rest of the graph.Please provide each vertex's color. Do not skip any vertices. Each color <+ must be provided on a new line in the response and should be formatted as "{VERTEX NUMBER}: <> {VERTEX COLOR ASSIGNMENT}". Please do not provide anything else in your response. 0: Color1 Colort : Colort Colort : Colort Color2 Color2 Color2 Color2 Color3 :
2310.12397#35
GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems
There has been considerable divergence of opinion on the reasoning abilities of Large Language Models (LLMs). While the initial optimism that reasoning might emerge automatically with scale has been tempered thanks to a slew of counterexamples, a wide spread belief in their iterative self-critique capabilities persists. In this paper, we set out to systematically investigate the effectiveness of iterative prompting of LLMs in the context of Graph Coloring, a canonical NP-complete reasoning problem that is related to propositional satisfiability as well as practical problems like scheduling and allocation. We present a principled empirical study of the performance of GPT4 in solving graph coloring instances or verifying the correctness of candidate colorings. In iterative modes, we experiment with the model critiquing its own answers and an external correct reasoner verifying proposed solutions. In both cases, we analyze whether the content of the criticisms actually affects bottom line performance. The study seems to indicate that (i) LLMs are bad at solving graph coloring instances (ii) they are no better at verifying a solution--and thus are not effective in iterative modes with LLMs critiquing LLM-generated solutions (iii) the correctness and content of the criticisms--whether by LLMs or external solvers--seems largely irrelevant to the performance of iterative prompting. We show that the observed increase in effectiveness is largely due to the correct solution being fortuitously present in the top-k completions of the prompt (and being recognized as such by an external verifier). Our results thus call into question claims about the self-critiquing capabilities of state of the art LLMs.
http://arxiv.org/pdf/2310.12397
Kaya Stechly, Matthew Marquez, Subbarao Kambhampati
cs.AI
18 pages, 3 figures
null
cs.AI
20231019
20231019
[ { "id": "2206.10498" }, { "id": "2306.03872" }, { "id": "2303.11366" } ]
{ "authors": "Kaya Stechly, Matthew Marquez, Subbarao Kambhampati", "chunk_id": 35, "doc_id": "2310.12397", "primary_category": "cs.AI", "published": 20231019, "source": "http://arxiv.org/pdf/2310.12397", "summary": "There has been considerable divergence of opinion on the reasoning abilities\nof Large Language Models (LLMs). While the initial optimism that reasoning\nmight emerge automatically with scale has been tempered thanks to a slew of\ncounterexamples, a wide spread belief in their iterative self-critique\ncapabilities persists. In this paper, we set out to systematically investigate\nthe effectiveness of iterative prompting of LLMs in the context of Graph\nColoring, a canonical NP-complete reasoning problem that is related to\npropositional satisfiability as well as practical problems like scheduling and\nallocation. We present a principled empirical study of the performance of GPT4\nin solving graph coloring instances or verifying the correctness of candidate\ncolorings. In iterative modes, we experiment with the model critiquing its own\nanswers and an external correct reasoner verifying proposed solutions. In both\ncases, we analyze whether the content of the criticisms actually affects bottom\nline performance. The study seems to indicate that (i) LLMs are bad at solving\ngraph coloring instances (ii) they are no better at verifying a solution--and\nthus are not effective in iterative modes with LLMs critiquing LLM-generated\nsolutions (iii) the correctness and content of the criticisms--whether by LLMs\nor external solvers--seems largely irrelevant to the performance of iterative\nprompting. We show that the observed increase in effectiveness is largely due\nto the correct solution being fortuitously present in the top-k completions of\nthe prompt (and being recognized as such by an external verifier). Our results\nthus call into question claims about the self-critiquing capabilities of state\nof the art LLMs.", "text": "Color the following graph, described as a set of edges, such that no two vertices on the same edge <> share a color. You may use at most 3 colors. Vertex 0 is connected to vertex 7. Vertex 0 is connected to vertex 8. Vertex 0 is connected to vertex 9. Vertex 0 is connected to vertex 11. Vertex 1 is connected to vertex 13. Vertex is connected to vertex Vertex is connected to vertex Vertex is connected to vertex Vertex is connected to vertex Vertex is connected to vertex Vertex is connected to vertex Vertex is connected to vertex Vertex is connected to vertex Vertex is connected to vertex Vertex is connected to vertex Vertex 10 is connected to vertex 13. Vertex 11 is connected to vertex 13. There are a total of 14 vertices. Please label every vertex, even if it is disconnected from the <> rest of the graph.Please provide each vertex's color. Do not skip any vertices. Each color <+ must be provided on a new line in the response and should be formatted as \"{VERTEX NUMBER}: <> {VERTEX COLOR ASSIGNMENT}\". Please do not provide anything else in your response. 0: Color1 Colort : Colort Colort : Colort Color2 Color2 Color2 Color2 Color3 :", "title": "GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems", "year": 2023 }
[ -0.02584383, -0.026824664, 0.06938829, -0.007875184, -0.0028484098, -0.026254412, 0.01760939, -0.03072519, -0.005827978, 0.06459817, 0.0386631, 0.008240145, 0.0124885235, -0.013343902, 0.02801079, -0.027463347, 0.0608117, 0.014518621, -0.028809141, 0.034329183, -0.0078124553, -0.01885254, 0.015579291, 0.01643467, -0.017369883, 0.052417584, 0.035150345, -0.036929533, 0.020517675, -0.016742606, -0.021019496, -0.01279646, -0.041924942, -0.03606275, -0.0051750387, 0.008958663, -0.019696511, -0.0013579131, -0.021589749, 0.04333917, 0.022878518, 0.020677345, 0.018476171, -0.010156192, -0.0014712508, -0.00078552245, -0.024247125, -0.03378174, -0.039872035, 0.05602158, -0.020825611, 0.03273248, 0.023904974, 0.022102976, -0.05077526, 0.01926312, -0.018316502, 0.04452529, 0.03077081, 0.001427769, 0.046760682, -0.025250768, -0.02190909, 0.046806302, 0.008377005, 0.015362595, -0.023927784, -0.0045163976, 0.04840301, 0.047353745, -0.016332023, 0.044297192, 0.01885254, 0.0093179215, -0.0035868865, 0.026687805, 0.0116901705, -0.027052766, -0.023026785, -0.033302728, 0.018419147, 0.0061302115, 0.011450665, -0.035766218, 0.010053547, -0.03841219, 0.0007712661, -0.022741659, -0.078557946, -0.023859354, 0.013070181, -0.050592776, -0.052828167, 0.021087928, 0.024498036, 0.031477924, 0.030063698, 0.031227011, -0.0510946, -0.037476975, -0.007578652, -0.044844635, -0.0148721775, -0.01795154, 0.009865363, 0.024817377, 0.0132754715, 0.020951066, 0.0009615878, -0.010207515, -0.039370213, -0.013161422, 0.020768587, 0.014929203, 0.0377507, 0.00035088332, -0.052417584, -0.07002697, 0.048038047, -0.08001779, 0.03136387, 0.0060560787, 0.022262646, -0.02071156, -0.01885254, 0.04881359, 0.0280336, -0.0565234, 0.014621267, -0.013412332, 0.016138138, -0.05579348, 0.029949646, 0.052554443, -0.03375893, 0.013195637, -0.02541044, 0.022353888, 0.008810397, -0.0058621927, 0.0108519, -0.0148607725, 0.041559983, 0.021487104, 0.09206152, 0.016183758, -0.021179168, 0.08056524, 0.0280336, 0.016001277, -0.010606691, 0.057025224, -0.031546354, 0.013640434, 0.00705402, -0.0560672, 0.04931541, 0.0038149874, -0.05684274, 0.01887535, 0.024862997, -0.03772789, 0.037020773, -0.023722492, 0.012363068, 0.0038777152, -0.06386825, 0.013617623, -0.011416449, -0.028946003, 0.016286403, -0.050136574, -0.010441318, -0.023859354, 0.032321896, 0.0111142155, -0.05159642, -0.018670058, 0.0723536, -0.0103158625, 0.00034411158, 0.04021419, -0.013423737, 0.008188822, -0.006957077, -0.011895461, 0.021738015, 0.023859354, -0.009335029, -0.00888453, -0.016138138, -0.0194456, -0.023186455, 0.028786331, -0.017107567, -0.05935185, 0.052828167, -0.021589749, -0.0070141023, -0.042289905, -0.016742606, 0.012693815, 0.016537314, -0.054881074, -0.041856512, 0.007293526, -0.040351048, -0.062454022, 0.03533283, -0.030246178, 0.02561573, 0.021612559, 0.031956933, 0.029310964, -0.026185982, -0.00352701, -0.03861748, -0.0089301495, 0.03339397, 0.026436893, -0.0716693, 0.05378619, 0.06829341, 0.004048791, 0.007213691, 0.019947423, 0.021122143, -0.043977853, 0.017837489, 0.027280867, 0.004168544, -0.016639959, -0.009118333, -0.07103062, -0.027531777, -0.046760682, 0.000056980673, 0.008941554, -0.017483933, 0.03289215, -0.05588472, -0.03886839, 0.034055464, 0.03088486, 0.04030543, -0.028786331, -0.01684525, -0.0021883429, -0.024383985, 0.016217973, -0.016217973, 0.031797264, -0.044114713, -0.029516255, -0.001447015, 0.0032475863, 0.020209739, -0.006335502, 0.031523544, -0.009346434, -0.020426435, -0.011804221, -0.040351048, -0.0019017912, -0.044639345, 0.048950452, 0.032002553, -0.013138611, -0.042837348, -0.014906393, 0.00034696283, 0.0194456, 0.038435, -0.06884085, -0.022365293, -0.021783635, 0.005374627, 0.034215134, 0.046486963, -0.024475226, 0.015066064, 0.023209266, 0.031249821, 0.036769863, -0.023209266, -0.015773177, -0.037476975, 0.04849425, -0.0077155125, 0.0033017604, 0.05643216, -0.00012082219, -0.010515451, 0.019206095, 0.010538261, -0.0028740712, 0.011906866, 0.038138468, 0.036701433, 0.0018761298, -0.0055171903, -0.003296058, -0.00226105, 0.057070844, -0.0102930525, -0.004630448, 0.024977047, 0.028649472, -0.0009565981, -0.035173155, -0.011781411, -0.013492168, 0.029470636, 0.020392219, -0.046715062, -0.050090954, 0.019548247, 0.029082863, -0.022285458, 0.009910984, -0.001813402, -0.048083667, 0.040761627, -0.0011476326, -0.029675925, 0.0029567578, -0.030633949, -0.009996521, 0.0097285025, -0.041947752, -0.009745611, -0.05360371, 0.0011583249, 0.05853069, 0.01150769, -0.006860134, -0.03093048, 0.040556338, 0.022285458, 0.016286403, -0.0626365, -0.02794236, 0.011770006, -0.040624768, -0.07787365, 0.022935545, -0.026801854, 0.020266764, 0.0029111376, -0.0051037576, -0.039187733, 0.002037226, -0.0024278488, -0.0014683994, 0.06824779, -0.020369409, -0.020221144, 0.005942028, -0.06523685, 0.037545405, 0.0044793314, -0.022456532, -0.010754957, -0.0030622545, -0.03777351, 0.024703326, -0.05948871, 0.029926836, 0.08950679, -0.001528276, -0.026847474, 0.012602574, -0.043111067, -0.035036296, -0.03590308, -0.010732147, -0.023003975, 0.0006026853, -0.0024677664, 0.028968813, 0.011519095, -0.02538763, 0.013332497, 0.0010157618, 0.009842553, -0.031227011, -0.02837575, -0.019810563, -0.05383181, -0.03877715, 0.020916851, -0.017883109, 0.015533671, 0.032299086, 0.032116607, -0.026049122, 0.017221617, 0.0058735977, 0.017803274, 0.03343959, 0.015123089, -0.058028866, -0.014438787, 0.015875822, -0.020392219, -0.021316027, 0.024680516, 0.009876768, 0.015157304, -0.004236974, 0.028831953, -0.022867113, -0.03291496, 0.013389522, -0.032458756, -0.0026573753, 0.013822914, -0.01028735, -0.037659455, 0.021977521, -0.007088235, 0.028512612, -0.0023437366, -0.0050952034, -0.016046898, 0.024041833, -0.012408689, 0.0064324453, -0.008810397, -0.038001608, -0.016138138, 0.047490604, 0.05114022, 0.03791037, 0.058667548, -0.02009569, 0.0094947, -0.026870284, 0.02538763, -0.0128648905, -0.020186929, -0.060492355, 0.0018433403, -0.015145899, 0.00012251512, 0.0136632435, 0.018225262, -0.024840187, 0.016742606, 0.004194205, -0.00060482376, 0.040556338, -0.019000804, 0.0510946, 0.018396337, 0.014632672, -0.0072479057, 0.0094947, -0.008565188, -0.023859354, -0.015031849, 0.010207515, -0.037271686, 0.05387743, -0.015807392, 0.016468884, -0.06852151, -0.022673229, 0.06683356, 0.019160476, -0.019160476, 0.016149543, 0.044434052, -0.021532724, 0.03284653, -0.009580238, -0.013150016, 0.014427382, 0.003977509, 0.024498036, 0.012157777, -0.02552449, -0.012591169, -0.02048346, 0.038184088, 0.015659126, 0.02545606, -0.0048956154, -0.011256779, 0.04858549, -0.047673088, 0.0015482348, -0.021601154, -0.00960875, 0.015681935, 0.014530026, -0.04267768, -0.008245847, 0.008548081, -0.018670058, -0.0012203398, 0.031112961, -0.018544603, 0.016947895, -0.0050952034, 0.0038064336, 0.044662155, 0.016582934, -0.05848507, 0.027782688, 0.05173328, 0.014997633, 0.015157304, -0.015385405, -0.034716956, 0.019696511, 0.004610489, -0.007276418, -0.044548105, 0.011456368, -0.023904974, -0.024840187, 0.0042882967, -0.024475226, 0.002742913, 0.0054801237, 0.008359898, -0.059716813, -0.036655813, -0.027759878, -0.009848256, 0.0064324453, -0.008337088, 0.004661812, -0.017643604, 0.01272803, 0.0017663563, -0.029926836, 0.015761772, -0.012328853, 0.005383181, -0.014587052, -0.00513227, 0.0004800811, -0.003834946, 0.0024021876, 0.025136719, -0.015932847, 0.019890398, 0.05091212, 0.012785055, 0.015453835, -0.04625886, -0.0015154453, -0.024885807, 0.022422317, -0.01155331, -0.029333774, 0.0030280394, -0.013902749, 0.03145511, 0.030109318, 0.04030543, 0.0140168, 0.0009708544, 0.032390326, 0.025068287, 0.016069708, -0.03088486, -0.00761857, -0.023973403, -0.017347073, 0.0023993363, -0.03341678, 0.036450524, -0.014997633, -0.024657706, 0.011216861, 0.00847965, 0.008171714, -0.04117221, 0.03042866, 0.010720742, 0.009671478, -0.034625717, -0.0014769533, 0.014393166, -0.010367186, -0.009061308, -0.01638905, -0.00902139, 0.001315857, 0.007316336, 0.008240145, -0.0058621927, -0.030679569, 0.011205456, 0.002249645, 0.0045049926, 0.0009387777, 0.036975153, 0.024452416, -0.016765416, -0.05342123, 0.01157612, 0.02552449, 0.017233022, 0.018841133, 0.037454166, 0.0095289145, -0.039529882, -0.03334835, 0.020654535, 0.0201185, 0.007607165, 0.027394917, -0.0017164592, 0.0016537315, 0.0284898, -0.012739435, 0.013936964, 0.061039798, 0.007829563, -0.001856171, 0.017130377, 0.013914154, 0.021783635, -0.009859661, 0.0065693054, -0.0060389712, -0.02043784, -0.05666026, 0.023722492, -0.013788699, -0.018829728, 0.0035754815, 0.01781468, 0.017780464, -0.0066776536, -0.01668558, 0.010697932, -0.038252518, -0.016468884, -0.029037243, -0.0074531967, 0.0058336803, -0.009238086, 0.040122945, -0.0619522, -0.013914154, -0.02550168, -0.01636624, 0.012967535, -0.029242534, -0.023403151, -0.018099805, -0.02550168, -0.0072193933, -0.0379788, 0.020243954, 0.026915904, 0.0038320948, 0.02177223, 0.0018975142, -0.026779044, 0.0176322, -0.029607495, 0.003920484, -0.0132868765, 0.029584685, -0.00051500904, 0.039256163, 0.031888504, 0.014974823, -0.0008667834, -0.0071908804, 0.0024649152, -0.018544603, -0.006860134, -0.019913208, 0.012043727, 0.012659599, -0.008759074, 0.041924942, 0.046464153, -0.0014185024, 0.0064267428, 0.010754957, 0.005981946, -0.024338365, -0.012020917, 0.032435946, 0.0282617, 0.0024706176, 0.0019160474, 0.0045135464, -0.028672282, 0.02810203, -0.03886839, -0.06592116, 0.0054943804, -0.012032322, 0.002604627, 0.005092352, 0.010395698, -0.034260754, -0.0057852087, 0.017540958, 0.027463347, -0.026824664, 0.018168235, 0.05182452, -0.022274053, 0.011011571, 0.0070255073, -0.002566135, 0.008057664, -0.0117015755, 0.020312384, -0.05123146, -0.011724385, 0.032093797, 0.00818312, -0.005981946, 0.013925559, 0.018350717, -0.034032654, -0.0087077515, 0.01567053, 0.008952959, -0.017803274, 0.022205621, 0.029561875, 0.021395864, 0.018556008, 0.010201813, 0.008576593, -0.0033872982, -0.029196914, -0.02582102, -0.01817964, -0.005029625, 0.011872651, -0.039301783, -0.013024561, 0.052052625, -0.03533283, -0.018761298, -0.06975325, 0.0097228, 0.007019805, 0.0067631914, -0.045734227, -0.0136746485, -0.030086508, 0.019342955, 0.02184066, -0.017620794, 0.029447826, 0.009106928, -0.017130377, -0.01689087, 0.002204025, 0.01417647, 0.025113909, -0.00009008203, 0.0005998341, -0.019069234, -0.013503573, 0.00888453, 0.020312384, 0.0049212766, 0.016092518, 0.014632672, 0.0027928103, -0.01270522, -0.013172827, -0.023585632, 0.003789326, -0.03777351, 0.029402204, -0.02059751, -0.018977994, -0.022023141, -0.003079362, 0.02563854, 0.03280091, 0.02835294, 0.01146207, -0.03619961, -0.045323648, -0.0148607725, -0.031546354, -0.031751644, -0.012442904, -0.04343041, 0.0019046424, -0.06304709, -0.00834279, 0.044684965, -0.029721545, 0.018191045, -0.009990819, 0.039963275, -0.02842137, 0.05894127, -0.01657153, -0.03325711, 0.011998107, -0.015841607, -0.021738015, 0.004564869, -0.00050681166, -0.004171395, 0.011045786, -0.02303819, -0.008548081, -0.017153187, -0.012397284, 0.045300838, -0.018749893, 0.00007555842, 0.024041833, -0.031546354, -0.021612559, 0.024999857, 0.017096162, -0.00089886005, -0.008724859, 0.012990345, 0.03613118, 0.0053004944, -0.03394141, -0.012454309, 0.0047530523, 0.0025561557, 0.024315555, 0.0075273295, -0.021076523, -0.010486938, -0.006027566, 0.01281927, -0.012659599, 0.014233495, -0.001917473, -0.0194456, -0.03635928, -0.024247125, 0.032367516, -0.005711076, -0.012043727, 0.0169593, 0.011975297, -0.008034854, -0.018327907, -0.016263593, -0.010766362, 0.005537149, 0.024862997, 0.035173155, -0.0050096656, 0.010760659, -0.040145755, -0.04593952, 0.021920495, -0.00028316586, -0.0022296861, 0.026049122, -0.005240618, -0.014336141, -0.025250768, -0.004293999, 0.0120893475, 0.023003975, -0.002161256, -0.020209739, -0.004179949, -0.04117221, 0.03556093, 0.05159642, 0.026026312, -0.018727083, -0.0048186313, 0.03603994, 0.004125775, -0.0033188679, 0.027303677, -0.007544437, 0.018225262, -0.013891344, 0.0077269175, 0.010492641, 0.009215276, 0.030246178, -0.025113909, 0.028991623, -0.021612559, -0.0069057546, 0.008793289, 0.029516255, -0.021327432, -0.048174907, -0.020426435, 0.015955657, 0.014393166, -0.023745302, -0.01930874, -0.032504376, -0.030314608, 0.024383985, -0.011051488, -0.024498036, -0.0010022182, -0.01284208, -0.020312384, 0.04628167, -0.031637594, 0.019548247, 0.055565376, 0.011650253, 0.007242203, -0.013480763, 0.010646609, 0.0142449, -0.0165031, -0.024383985, 0.034694146, 0.019023614, -0.0031078747, -0.010452723, 0.011005868, 0.011861246, -0.0379788, -0.014507216, 0.0006982026, 0.011439259, -0.011348019, 0.0070939376, 0.02184066, 0.048220526, -0.050684016, -0.023654062, 0.0052463203, 0.018362122, -0.0018476172, 0.0042854454, 0.017233022, 0.02833013, 0.013503573, 0.024885807, 0.0044394135, 0.025296388, 0.043019827, 0.00883891, -0.034146704, 0.004610489, 0.026482513, -0.027394917, 0.0030822132, -0.021498509, -0.015556481, 0.00020190493, -0.008673537, 0.01541962, 0.009329326, 0.0109032225, 0.03373612, -0.03040585, -0.018384932, 0.007196583, 0.04881359, -0.026642185, 0.05182452, 0.042882968, -0.021167763, 0.015818797, 0.030542709, -0.027326487, 0.009409161, -0.015750367, 0.02819327, 0.008605106, 0.024406794, 0.022604799, -0.03524159, 0.0045392076, -0.024201505, 0.0083199795, 0.007687, 0.018578818, 0.013435142, 0.055246036, -0.03086205, 0.005668307, -0.00474735, 0.0040972624, 0.040396668, 0.04110378, -0.009888173, 0.010589584, -0.00160526, -0.017860299, 0.005029625, -0.052828167, -0.026664995, -0.029630305, 0.01567053, -0.013514978, 0.034602907, -0.010121977, 0.0025803912, -0.043225117, -0.011142729, 0.01419928, -0.0012766522, 0.013686053, 0.023061, -0.03095329, -0.039689556, -0.027098386, 0.02168099, -0.01564772, -0.004485034, -0.0005923495, -0.039484262, -0.029516255, 0.022410912, 0.021521319, -0.02179504, -0.006626331, -0.047308125, -0.028717902, 0.015100279, 0.026049122, 0.017210212, 0.009078415, 0.0063811224, -0.0024748947, -0.006717571, -0.0013828616, 0.010840495, 0.0008617937, -0.047490604, 0.0014712508, -0.024520846, 0.001948837, 0.00024805972, -0.03635928, 0.0021698098, 0.02568416, -0.03788756, -0.0005552831, -0.032162227, 0.027166815, 0.0219319, -0.0004526377, 0.019434195, 0.0014883582, -0.010623799, 0.0067517865, -0.03270967, -0.011655956, 0.038001608, -0.03608556, -0.030633949, -0.014678292, 0.018419147, -0.011804221, 0.00078409683, 0.00038527665, -0.0061188065, -0.0020300979, 0.014267711, -0.02819327, -0.008582296, 0.025296388, 0.0031848587, -0.0015439579, -0.024178695, 0.0072707157, 0.031797264, -0.0018804068, 0.023882164, -0.030063698, -0.073859066, 0.023859354, 0.01035578, 0.044411242, -0.052417584, -0.0035013487, -0.0111028105, 0.03852624, 0.000057069774, 0.010367186, 0.0011747195, 0.010213218, -0.000906701, 0.007795348, 0.00843403, -0.0045677205, 0.004892764, 0.04133188, 0.013423737, 0.0044251573, 0.0016138138, -0.017894514, 0.011524797, 0.04698878, -0.020335194, 0.0059990534, 0.0076413797, -0.012659599, 0.022194216, 0.027645828, 0.002095677, -0.016297808, 0.029105673, -0.02041503, -0.0046931757, 0.0513227, 0.019958828, 0.008473948, -0.00644385, 0.00074916886, 0.0076527847, 0.013378117, -0.025319198, -0.036815483, 0.036678623, 0.018350717, -0.021270407, 0.01892097, -0.005981946, -0.009648668, 0.017324263, -0.00044194548, -0.031683214, 0.0144615965, -0.03852624, -0.022730254, -0.009209573, -0.012944725, 0.011838436, -0.0069399695, -0.007379064, -0.02835294, -0.0029653115, 0.047490604, 0.019388575, -0.018168235, 0.0379788, 0.025136719, 0.009483295, 0.0045791254, 0.034853816, 0.018430552, -0.01693649, -0.013537788, 0.016662769, 0.0140852295, -0.0047701597, 0.017392693, 0.012602574, -0.021156358, -0.03131825, 0.02174942, -0.0018804068, -0.0063069896, 0.0036838294, 0.0026003502, 0.03077081, 0.02344877, -0.015978467, 0.059671193, 0.020517675, 0.006603521, 0.027623018, 0.005668307, -0.024406794, 0.0364049, -0.011416449, -0.032002553, -0.00323333, -0.025319198, -0.015613506, -0.016765416, -0.02586664, -0.00834279, -0.007669892, 0.008485353, -0.013480763, 0.0012360216, 0.008422625, 0.01942279, 0.02586664, 0.014404571, -0.036610194, 0.011524797, 0.011439259, -0.0031135771, -0.016662769, -0.0012167757, -0.039666746, 0.024019023, 0.0136632435, 0.027417727, 0.003110726, -0.032367516, 0.0064153373, 0.0050267735, 0.024862997, 0.011849841, -0.020289574, 0.016252188, 0.037476975, -0.009220978, 0.014530026, 0.029219724, -0.040031705, -0.01272803, 0.0034357696, -0.03385017, 0.030519899, 0.012363068, 0.010179002, 0.013925559, -0.0026759086, 0.01541962, -0.038115658, -0.026870284, -0.032299086, 0.0052377665, 0.0051750387, 0.017620794, 0.03081643, 0.0048442925, -0.034990676, 0.04587109, 0.012294638, 0.013514978, -0.045506127, -0.01670839, -0.009255193, 0.009922389, -0.011159836, -0.008633618, 0.0032361813, 0.005636943, 0.019593867, 0.021316027, 0.003538415, 0.009397756, 0.007162368, -0.016115328, 0.025182338, 0.01417647, 0.044000663, 0.04388661, -0.0017107567, 0.0072250958, -0.0148607725, 0.000868209, 0.028626662, -0.0058137216, -0.027759878, -0.03608556, -0.020734372, 0.029835597, 0.008103284, 0.037203256, -0.030063698, 0.040396668, 0.008348493, -0.00037921773, 0.012283233, 0.0076927026, -0.02048346, -0.029539065, 0.019046424, 0.030497089, 0.032162227, 0.011849841, 0.005360371, -0.0027300825, 0.008029152, -0.011747195, 0.008850315, -0.02794236, 0.021236192, -0.022319673, -0.019548247, 0.07030069, 0.029379394, 0.013058776, 0.0047815647, -0.016662769, 0.0017863151, -0.010070655, -0.018282287, -0.039666746, 0.02014131, -0.037659455, -0.024064643, 0.017278641, 0.013435142, 0.022308268, -0.031774454, -0.00091169076, -0.008245847, 0.015100279, -0.013640434, 0.0379788, 0.0034044057, -0.010948842, -0.0021826404, -0.009968009, 0.010019331, -0.015887227, 0.002107082, 0.01541962, 0.000690718, -0.0017335668, 0.00073918945, 0.01638905, 0.012625384, -0.017118972, -0.016240783, -0.012374473, -0.0257754, 0.001037859, 0.00028583893, -0.010253135, -0.012967535, 0.0035184561, -0.022581987, -0.014301926, -0.03375893, 0.047034405, -0.040122945, -0.01772344, -0.013537788, -0.0255473, 0.014894988, 0.011513392, 0.027144006, 0.03629085, 0.029858407, -0.005622687, -0.02168099, 0.014404571, -0.010064952, 0.015887227, -0.02543325, 0.010766362, 0.02062032, -0.008548081, 0.0128762955, 0.019548247, 0.0012937597, 0.012112157, 0.005240618, -0.028740712, 0.018784108, 0.02561573, 0.028170459, 0.030337417, 0.012066537, 0.011804221, 0.0036153991, -0.0140852295, -0.005220659, -0.015362595, -0.04698878, 0.026231602, -0.023608442, -0.05159642, -0.013868534, -0.017233022, 0.006860134, -0.023220671, -0.014575647, 0.03309744, -0.0024606383, -0.016149543, -0.03353083, 0.0070141023, 0.049999714, -0.023277696, 0.0067346785, -0.032344706, -0.009968009, -0.01815683, -0.004225569, 0.030177748, 0.0083199795, -0.024041833, -0.016160948, -0.019958828, -0.0051465263, -0.026322844, -0.01535119, 0.0025433248, 0.04030543, 0.03042866, -0.003472836, -0.0016879466, 0.001242437, -0.008964365, 0.0110914055, 0.014415977, 0.0024663408, 0.019479817, 0.002959609, -0.02050627, 0.021988926, -0.008736264, 0.0030052292, -0.0009501828, 0.034443233, -0.031956933, 0.0148721775, -0.017837489, -0.0007067564, -0.010213218, -0.0132754715, 0.027098386, 0.020837016, 0.031865694, 0.050592776, -0.013378117, -0.0284898, -0.008793289, 0.012545549, -0.03289215, 0.026642185, -0.009431972, -0.041605603, 0.006860134, 0.0015068915, 0.02225124, -0.012682409, -0.0006197929, -0.009534617, -0.032572806, -0.032299086, 0.04019138, -0.022536367, -0.010772064, -0.012294638, 0.036815483, -0.0002282791, 0.015043254, 0.008502461, -0.010424211, -0.024498036, 0.013218447, -0.027737068, 0.0017663563, 0.014530026, -0.008245847, -0.024817377, 0.021920495, -0.009688585, 0.018362122, 0.0016195163, -0.0032903554, 0.03275529, 0.004958343, 0.0057053734, -0.02046065, -0.010926032, 0.037157636, -0.007162368, -0.01399399, -0.004707432, -0.0059762434, -0.022775874, 0.03592589, -0.0023280547, -0.0030280394, -0.008405518, 0.03286934, 0.006113104, 0.00070212304, 0.011302399, -0.0062841796, 0.004727391, 0.011017273, 0.005688266, -0.00027799795, 0.006113104, -0.028581042, 0.007744025, 0.036450524, -0.013936964, 0.005371776, 0.024178695, 0.002851261, 0.010173299, -0.029242534, 0.021521319, -0.008097582, 0.009323624, 0.017392693, -0.016126733, -0.0068088113, 0.0309761, -0.0051522288, -0.030040886, 0.016982112, -0.02584383, -0.032572806, -0.003920484, -0.0043253633, -0.050182197, 0.019536842, -0.024589276, 0.029698735, 0.0012067963, 0.027782688, 0.014689697, -0.015476645, -0.031842884, -0.04388661, -0.027531777, -0.0042740405, -0.006198642, 0.0132868765, -0.002075718, 0.024543656, -0.03343959, 0.0035241588, 0.023357531, -0.004456521, -0.012511333, 0.00782386 ]